Skip to main content

Comparative Analysis Between Fuzzy Logic Control, LQR Control with Kalman Filter and PID Control for a Two Wheeled Inverted Pendulum

  • Conference paper
  • First Online:
Advances in Automation and Robotics Research in Latin America

Abstract

The aim of this article is to make a comparison between the performance of a fuzzy logic controller (FLC) and two linear controllers: a classical PID and a LQR with Kalman filter when they are applied to the two-wheeled mobile inverted pendulum robot InstaBot SRAT-2. The research is focused on determining the best controller for the mobile platform using three different performance indexes: (i) the standard deviation of the tilt angle, (ii) the root mean square value of the signal sent to the electrical motors and (iii) the region of convergence of the tilt angle. From the experimental test was observed that the LQR with Kalman filter controller presents a lower energy consumption and lower standard deviation of the error with respect to the PID controller; however the fuzzy controller presents a greater region of convergence than the two linear controllers. From the performance indexes it was concluded that fuzzy control is best suited for the mobile robot InstaBot SRAT-2.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.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

Notes

  1. 1.

    Kalman filter library. Available at https://github.com/TKJElectronics/KalmanFilter.

References

  1. Akeson, J., Blomdell, A., Braun, R.: Design and control of yaip- an inverted pendulum on two wheels robot. In: Proceedings of the 2006 IEEE International Conference on Control Applications, Munich, October 2006

    Google Scholar 

  2. Astrom, K.J., Hagglund, T.: Control PID Avanzado. Pearson Prentice Hall, Upper Saddle River (2009)

    Google Scholar 

  3. Azimi, M., Koofigar, H.: Model predictive control for a two wheeled self balancing robot. In: Proceeding of the lnternational Conference on Robotics and Mechatronics (RSIIISM), Tehran, February 2013

    Google Scholar 

  4. Bature, A.A., Buyamin, S., Ahmad, M.N., Muhammad, M.: A comparison of controllers for ballancing two wheeled inverted pendulum robot. Int. J. Mech. Mechatron. Eng. IJMME - IJENS 14(3), 62–68 (2014)

    Google Scholar 

  5. Brisilla, R.M., Sankaranarayanan, V.: Nonlinear control of mobile inverted pendulum. Rob. Auton. Syst. 70, 145–155 (2015)

    Article  Google Scholar 

  6. Chih-Hui Chiu, You-Wei Lin, and Chun-Hsien Lin. Real-time control of a wheeled inverted pendulum based on an intelligent model free controller. Mechatronics, 21(3):523–533, 2011.

    Article  Google Scholar 

  7. Chiu, Chih-Hui, Peng, Ya-Fu, Lin, You-Wei: Intelligent backstepping control for wheeled inverted pendulum. Exp. Syst. Appl. 38(4), 3364–3371 (2011)

    Article  MATH  Google Scholar 

  8. Chiu, C.-H., Tsai, W.-R., Chou, M.-H., Peng, Y.-F.: Two - wheeled robot control based on self-tuning output recurrent CMAC. In: Proceedings of the International MultiConference of Engineers and Computer Scientists, Hong Kong, vol. 1, March 2009

    Google Scholar 

  9. Jamil, O., Jamil, M., Ayaz, Y., Ahmad, K.: Modeling, control of a two-wheeled self-balancing robot. In: International Conference on Robotics and Emerging Allied Technologies in Engineering (iCREATE 2014), pp. 191–199, April 2014

    Google Scholar 

  10. Mahler, B., Haase, J.: Mathematical model and control strategy of a two-wheeled self-balancing robot. In: 39th Annual Conference of the IEEE Industrial Electronics Society, (IECON), pp. 4198–4203, November 2013

    Google Scholar 

  11. Nakpong, N., Yamamoto, S.: Just-in-time predictive control for a two-wheeled robot. In: 10th International Conference on ICT and Knowledge Engineering (ICT Knowledge Engineering 2012), pp. 95–98, November 2012

    Google Scholar 

  12. Nasir, A.N.K., Ahmad, M.A., Ghazali, R., Pakheri, N.S.: Performance comparison between fuzzy logic controller FLC and PID controller for a highly nonlinear two-wheels balancing robot. In: First International Conference on Informatics and Computational Intelligence (ICI), pp. 176–181, December 2011

    Google Scholar 

  13. Peng, K., Ruan, X., Zuo, G.: Dynamic model and balancing control for two-wheeled self-balancing mobile robot on the slopes. In: Proceedings of the 10th World Congress on Intelligent Control and Automation, Beijing, July 2012

    Google Scholar 

  14. Raffo, Guilherme V., Ortega, Manuel G., Madero, Vicente, Rubio, Francisco R.: Two-wheeled self-balanced pendulum workspace improvement via underactuated robust nonlinear control. Control Eng. Pract. 44, 231–242 (2015)

    Article  Google Scholar 

  15. Ren, Tsai-Jiun, Chen, Tien-Chi, Chen, Chun-Jung: Motion control for a two-wheeled vehicle using a self-tuning PID controller. Control Eng. Pract. 16(3), 365–375 (2008)

    Article  Google Scholar 

  16. Sun, F., Yu, Z., Yang, H.: A design for two-wheeled self-balancing robot based on kalman filter and LQR. In: International Conference on Mechatronics and Control (ICMC), Jinzhou, July 2014

    Google Scholar 

  17. Sun, L., Gan, J.: Researching of two-wheeled self-balancing robot base on LQR combined with PID. In: 2nd International Workshop on Intelligent Systems and Applications (ISA 2010), pp. 1–5, May 2010

    Google Scholar 

  18. Wang, W.-J., Huang, C.-H.: Model-based fuzzy control application to a self-balancing two-wheeled inverted pendulum. In: IEEE Control Applications, (CCA) and Intelligent Control, (ISIC), pp. 1158–1163, July 2009

    Google Scholar 

  19. Wen, Y.-H., Lin, Y.-S., Leu, Y.-G.: Design and implementation of the balance of two-wheeled robots. In: International Conference on Advanced Robotics and Intelligent Systems (ARIS 2013), pp. 130–134, May 2013

    Google Scholar 

  20. Wu, J., Zhang, W.: Design of fuzzy logic controller for two-wheeled self-balancing robot. In: 6th International Forum on Strategic Technology (IFOST 2011), vol. 2, pp. 1266–1270, August 2011

    Google Scholar 

  21. Xu, C., Li, M., Pan, F.: The system design and lqr control of a two-wheels self-balancing mobile robot. In: International Conference on Electrical and Control Engineering (ICECE), pp. 2786–2789, September 2011

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Karen Viviana Chate García , Oscar Eduardo Prado Ramírez or Carlos Felipe Rengifo Rodas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Chate García, K.V., Prado Ramírez, O.E., Rengifo Rodas, C.F. (2017). Comparative Analysis Between Fuzzy Logic Control, LQR Control with Kalman Filter and PID Control for a Two Wheeled Inverted Pendulum. In: Chang, I., Baca, J., Moreno, H., Carrera, I., Cardona, M. (eds) Advances in Automation and Robotics Research in Latin America. Lecture Notes in Networks and Systems, vol 13. Springer, Cham. https://doi.org/10.1007/978-3-319-54377-2_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-54377-2_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-54376-5

  • Online ISBN: 978-3-319-54377-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics