Skip to main content

Self-balancing Robot Modeling and Control Using Two Degree of Freedom PID Controller

  • Conference paper
  • First Online:
Proceedings of the International Conference on Advanced Intelligent Systems and Informatics 2018 (AISI 2018)

Abstract

This paper represents the control of a two-wheel self-balancing robot based on the theory of controlling the inverted pendulum. This paper dividing the system modeling into two main parts. The first part is the dc motor and the second part are the whole mechanical design and its characteristics as a function in the motor speed and the torque depending on the system, creating two control closed loops inner and outer. The study uses conventional proportional–integral–derivative (PID) and two degree of freedom PID controllers to obtain a robust controller for the system. The inner loop controls the motor speed use the motor speed feedback signal from the encoder. The outer loop keeps the robot always in the accepted vertical angle boundary, using a six-degree of freedom gyroscope and accelerometer as a feedback signal. A state space model is obtained considering some assumptions and simplifications. The results are verified through simulations and experiments. Numerical simulation results indicate that the 2-DOF PID controller is superior to the traditional PID controller.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Azar, A.T., Serrano, F.E.: Adaptive sliding mode control of the furuta pendulum. In: Azar, A.T., Zhu, Q. (eds.) Advances and Applications in Sliding Mode Control systems. Studies in Computational Intelligence, vol. 576, pp. 1–42. Springer, Heidelberg (2015)

    Google Scholar 

  2. Azar, A.T., Vaidyanathan, S.: Handbook of Research on Advanced Intelligent Control Engineering and Automation. Advances in Computational Intelligence and Robotics (ACIR). IGI Global, Pennsylvania (2015). ISBN 9781466672482

    Book  Google Scholar 

  3. Deng, M., Inoue, A., Sekiguchi, K., Jiang, L.: Two-wheeled mobile robot motion control in dynamic environments. Robot. Comput. Integr. Manuf. 26(3), 268–272 (2010)

    Article  Google Scholar 

  4. Bui, T.H., Nguyen, T.T., Chung, T.L., Kim, S.B.: A simple nonlinear control of a two-wheeled welding mobile robot. Int. J. Control Autom. Syst. (IJCAS) 1(I), 35–42 (2003)

    Google Scholar 

  5. Kim, Y., Kim, S.H., Kwak, Y.K.: Dynamic analysis of a nonholonomic two-wheeled inverted pendulum robot. J. Intell. Robot. Syst.: Theory Appl. 44(1), 25–46 (2005)

    Article  Google Scholar 

  6. Juang, H.S., Lurrr, K.Y.: Design and control of a two-wheel self-balancing robot using the arduino microcontroller board. In: 2013 10th IEEE International Conference on Control and Automation (ICCA), 12–14 June 2013, Hangzhou, China (2013)

    Google Scholar 

  7. Thibodeau, B.J., Deegan, P., Grupen, R.: Static analysis of contact forces with a mobile manipulator. In: Proceedings 2006 IEEE International Conference on Robotics and Automation, 15–19 May 2006, Orlando, FL, USA, pp. 4007–4012 (2006)

    Google Scholar 

  8. Sun, C., Lu, T., Yuan, K.: Balance control of two-wheeled self-balancing robot based on linear quadratic regulator and neural network. In: 2013 Fourth International Conference on Intelligent Control and Information Processing (ICICIP), 9–11 June 2013, Beijing, China (2013)

    Google Scholar 

  9. Lin, S.C., Tsai, C.C.: Develop of a self-balancing human transportation vehicle for the teaching of feedback control. IEEE Trans. Educ. 52(1), 157–168 (2009)

    Article  Google Scholar 

  10. Sugie, T., Fujimoto, K.: Controller design for an inverted pendulum based on approximate linearization. Int. J. Robust Nonlinear Control 8(7), 585–597 (1998)

    Article  MathSciNet  Google Scholar 

  11. Takei, T., lmamura, R., Yuta, S.: Baggage transportation and navigation by a wheel inverted pendulum mobile robot. IEEE Trans. Ind. Electr. 56(10), 3985–3994 (2009)

    Article  Google Scholar 

  12. Araki, M., Taguchi, H.: Two-degree-of-freedom PID controllers. Int. J. Control Autom. Syst. 1(4), 401–411 (2003)

    Google Scholar 

  13. Sánchez, H.S., Visioli, A., Vilanova, R.: Optimal nash tuning rules for robust PID controllers. J. Franklin Inst. 354(10), 3945–3970 (2017)

    Article  MathSciNet  Google Scholar 

  14. Azar, A.T., Serrano, F.E.: Robust IMC-PID tuning for cascade control systems with gain and phase margin specifications. Neural Comput. Appl. 25(5), 983–995 (2014)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ahmad Taher Azar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Azar, A.T., Ammar, H.H., Barakat, M.H., Saleh, M.A., Abdelwahed, M.A. (2019). Self-balancing Robot Modeling and Control Using Two Degree of Freedom PID Controller. In: Hassanien, A., Tolba, M., Shaalan, K., Azar, A. (eds) Proceedings of the International Conference on Advanced Intelligent Systems and Informatics 2018. AISI 2018. Advances in Intelligent Systems and Computing, vol 845. Springer, Cham. https://doi.org/10.1007/978-3-319-99010-1_6

Download citation

Publish with us

Policies and ethics