A Fuzzy LQR PID Control for a Two-Legged Wheel Robot with Uncertainties and Variant Height
DOI:
https://doi.org/10.18196/jrc.v4i5.19448Keywords:
Fuzzy LQR Control, Two-Legged Wheeled Balancing Robot, PID Control, Fuzzy Logic System.Abstract
This paper proposes a fuzzy LQR PID control for a two-legged wheeled balancing robot for keeping stability against uncertainties and variant heights. The proposed control includes the fuzzy supervisor, LQR, PID, and two calibrations. The fuzzy LQR is conducted to control the stability and motion of the robot while its posture changes with respect to time. The fuzzy supervisor is used to adjust the LQR control according to the robotic height. It consists of one input and one output. The input and output have three membership functions, respectively, to three postures of the robot. The PID control is used to control the posture of the robot. The first calibration is used to compensate for the bias value of the tilting angle when the robot changes its posture. The second calibration is applied to compute the robotic height according to the hip angle. In order to verify the effectiveness of the proposed control, a practical robot with the variant height is constructed, and the proposed control is embedded in the control board. Finally, two experiments are also conducted to verify the balancing and moving ability of the robot with the variant posture.References
S. Harapanahalli, N. O. Mahony, G. V. Hernandez, S. Campbell, D. Riordan, and J. Walsh, "Autonomous Navigation of mobile robots in factory environment," Procedia Manufacturing, vol. 38, pp. 1524-1531, 2019.
D. Di Paola, D. Naso, A. Milella, G. Cicirelli, and A. Distante, "Multi-sensor surveillance of indoor environments by an autonomous mobile robot," International Journal of Intelligent Systems Technologies and Applications, vol. 8, no. 1-4, pp. 18-35, 2010, doi: 10.1504/IJISTA.2010.030187.
S. Srinivas, S. Ramachandiran, and S. Rajendran, "Autonomous robot-driven deliveries: A review of recent developments and future directions," Transportation Research Part E: Logistics and Transportation Review, vol. 165, p. 102834, 2022.
C. H. G. Li, L. P. Zhou, and Y. H. Chao, "Self-Balancing Two-Wheeled Robot Featuring Intelligent End-to-End Deep Visual-Steering," IEEE/ASME Transactions on Mechatronics, vol. 26, no. 5, pp. 2263-2273, 2021, doi: 10.1109/TMECH.2020.3036579.
W. Bauer, M. Bender, M. Braun, P. Rally, and O. Scholtz, "Lightweight robots in manual assembly–best to start simply," Frauenhofer-Institut für Arbeitswirtschaft und Organisation IAO, Stuttgart, vol. 1, 2016.
H. W. Kim and S. Jung, "Fuzzy logic application to a two-wheel mobile robot for balancing control performance," International Journal of Fuzzy Logic and Intelligent Systems, vol. 12, no. 2, pp. 154-161, 2012.
S. Kim and S. Kwon, "Nonlinear Optimal Control Design for Underactuated Two-Wheeled Inverted Pendulum Mobile Platform," IEEE/ASME Transactions on Mechatronics, vol. 22, no. 6, pp. 2803-2808, 2017, doi: 10.1109/TMECH.2017.2767085.
K. V. Chate García, O. E. Prado Ramírez, and C. F. Rengifo Rodas, "Comparative analysis between fuzzy logic control, lqr control with kalman filter and pid control for a two wheeled inverted pendulum," in Advances in Automation and Robotics Research in Latin America: Proceedings of the 1st Latin American Congress on Automation and Robotics, pp. 144-156, 2017.
A. A. Bature, S. Buyamin, M. N. Ahmad, and M. Muhammad, "A comparison of controllers for balancing two wheeled inverted pendulum robot," International Journal of Mechanical & Mechatronics Engineering, vol. 14, no. 3, pp. 62-68, 2014.
N. G. M. Thao, D. H. Nghia, and N. H. Phuc, "A PID backstepping controller for two-wheeled self-balancing robot," International Forum on Strategic Technology 2010, pp. 76-81, 2010, doi: 10.1109/IFOST.2010.5668001.
T. Nikita and K. T. Prajwal, "PID Controller Based Two Wheeled Self Balancing Robot," 2021 5th International Conference on Trends in Electronics and Informatics (ICOEI), pp. 1-4, 2021, doi: 10.1109/ICOEI51242.2021.9453091.
F. Sun, Z. Yu, and H. Yang, "A design for two-wheeled self-balancing robot based on Kalman filter and LQR," in 2014 International Conference on Mechatronics and Control (ICMC), pp. 612-616, 2014, doi: 10.1109/ICMC.2014.7231628.
J. Fang, "The LQR Controller Design of Two-Wheeled Self-Balancing Robot Based on the Particle Swarm Optimization Algorithm," Mathematical Problems in Engineering, vol. 2014, p. 729095, 2014, doi: 10.1155/2014/729095.
H. F. Murcia and A. E. González, "Performance comparison between PID and LQR control on a 2-wheel inverted pendulum robot," in 2016 IEEE Colombian Conference on Robotics and Automation (CCRA), pp. 1-6, 2016, doi: 10.1109/CCRA.2016.7811420.
C. Xu, M. Li, and F. Pan, "The system design and LQR control of a two-wheels self-balancing mobile robot," in 2011 International Conference on Electrical and Control Engineering, pp. 2786-2789, 2011, doi: 10.1109/ICECENG.2011.6057680.
M. Muhammad, S. Buyamin, M. N. Ahmad, S. Nawawi, and A. Bature, "Multiple Operating Points Model-Based Control of a Two-Wheeled Inverted Pendulum Mobile Robot," International Journal of Mechanical & Mechatronics Engineering, vol. 13, pp. 1-9, 2013.
A. I. Glushchenko, K. A. Lastochkin, and V. A. Petrov, "Development of Two-Wheeled Balancing Robot Optimal Control System based on Its Feedback Linearization," in 2019 International Multi-Conference on Industrial Engineering and Modern Technologies (FarEastCon), pp. 1-6, 2019, doi: 10.1109/FarEastCon.2019.8934245.
J. Kedzierski and K. Tchoń, "Feedback Control of a Balancing Robot," IFAC Proceedings Volumes, vol. 42, no. 13, pp. 495-500, 2009.
V. B. V. Nghia, T. Van Thien, N. N. Son, and M. T. Long, "Adaptive neural sliding mode control for two wheel self balancing robot," International Journal of Dynamics and Control, vol. 10, no. 3, pp. 771-784, 2022, doi: 10.1007/s40435-021-00832-1.
S. Yuan, G. Lei, and X. Bin, "Dynamic modeling and sliding mode controller design of a two-wheeled self-balancing robot," in 2016 IEEE International Conference on Mechatronics and Automation, pp. 2437-2442, 2016, doi: 10.1109/ICMA.2016.7558948.
M. Hou, X. Zhang, D. Chen, and Z. Xu, "Hierarchical Sliding Mode Control Combined with Nonlinear Disturbance Observer for Wheeled Inverted Pendulum Robot Trajectory Tracking," Applied Sciences, vol. 13, no. 7, p. 4350, 2023.
E. Ahmad, A. U. Rehman, O. Khan, M. Haseeb, and N. Ali, "Backstepping control design for two-wheeled self balancing robot," in 2018 1st International Conference on Power, Energy and Smart Grid (ICPESG), pp. 1-6, 2018, doi: 10.1109/ICPESG.2018.8384494.
N. Esmaeili, A. Alfi, and H. Khosravi, "Balancing and Trajectory Tracking of Two-Wheeled Mobile Robot Using Backstepping Sliding Mode Control: Design and Experiments," Journal of Intelligent & Robotic Systems, vol. 87, no. 3, pp. 601-613, 2017, doi: 10.1007/s10846-017-0486-9.
A. J. Humaidi et al., "Algorithmic Design of Block Backstepping Motion and Stabilization Control for Segway Mobile Robot," in Mobile Robot: Motion Control and Path Planning, pp. 557-607, 2023.
S. Sekiguchi, A. Yorozu, K. Kuno, M. Okada, Y. Watanabe, and M. Takahashi, "Human-friendly control system design for two-wheeled service robot with optimal control approach," Robotics and Autonomous Systems, vol. 131, p. 103562, 2020.
M. M. Azimi and H. R. Koofigar, "Model predictive control for a two wheeled self balancing robot," in 2013 First RSI/ISM International Conference on Robotics and Mechatronics (ICRoM), pp. 152-157, 2013, doi: 10.1109/ICRoM.2013.6510097.
R. Cui, J. Guo, and Z. Mao, "Adaptive backstepping control of wheeled inverted pendulums models," Nonlinear Dynamics, vol. 79, no. 1, pp. 501-511, 2015, doi: 10.1007/s11071-014-1682-9.
W. Sun, S. F. Su, J. Xia, and Y. Wu, "Adaptive Tracking Control of Wheeled Inverted Pendulums With Periodic Disturbances," IEEE Transactions on Cybernetics, vol. 50, no. 5, pp. 1867-1876, 2020, doi: 10.1109/TCYB.2018.2884707.
C. Yang, Z. Li, and J. Li, "Trajectory Planning and Optimized Adaptive Control for a Class of Wheeled Inverted Pendulum Vehicle Models," IEEE Transactions on Cybernetics, vol. 43, no. 1, pp. 24-36, 2013, doi: 10.1109/TSMCB.2012.2198813.
I. Gandarilla, J. Montoya-Cháirez, V. Santibáñez, C. Aguilar-Avelar, and J. Moreno-Valenzuela, "Trajectory tracking control of a self-balancing robot via adaptive neural networks," Engineering Science and Technology, an International Journal, vol. 35, p. 101259, 2022.
S. Jung and S. S. Kim, "Control Experiment of a Wheel-Driven Mobile Inverted Pendulum Using Neural Network," IEEE Transactions on Control Systems Technology, vol. 16, no. 2, pp. 297-303, 2008, doi: 10.1109/TCST.2007.903396.
J. S. Noh, G. H. Lee, H. J. Choi, and S. Jung, "Robust control of a mobile inverted pendulum robot using a RBF neural network controller," 2008 IEEE International Conference on Robotics and Biomimetics, pp. 1932-1937, 2009, doi: 10.1109/ROBIO.2009.4913296.
W. Junfeng and Z. Wanying, "Design of fuzzy logic controller for two-wheeled self-balancing robot," in Proceedings of 2011 6th International Forum on Strategic Technology, vol. 2, pp. 1266-1270, 2011, doi: 10.1109/IFOST.2011.6021250.
J. Wu, W. Zhang, and S. Wang, "A Two-Wheeled Self-Balancing Robot with the Fuzzy PD Control Method," Mathematical Problems in Engineering, vol. 2012, p. 469491, 2012, doi: 10.1155/2012/469491.
K. Nader and D. Sarsri, "Modelling and Control of a Two-Wheel Inverted Pendulum Using Fuzzy-PID-Modified State Feedback," Journal of Robotics, vol. 2023, p. 4178227, 2023, doi: 10.1155/2023/4178227.
C. H. Huang, W. J. Wang, and C. H. Chiu, "Design and Implementation of Fuzzy Control on a Two-Wheel Inverted Pendulum," IEEE Transactions on Industrial Electronics, vol. 58, no. 7, pp. 2988-3001, 2011, doi: 10.1109/TIE.2010.2069076.
T. Zhao, Q. Yu, S. Dian, R. Guo, and S. Li, "Non-singleton General Type-2 Fuzzy Control for a Two-Wheeled Self-Balancing Robot," International Journal of Fuzzy Systems, vol. 21, no. 6, pp. 1724-1737, 2019, doi: 10.1007/s40815-019-00664-4.
Y. Zhang, L. Zhang, W. Wang, Y. Li, and Q. Zhang, "Design and Implementation of a Two-Wheel and Hopping Robot With a Linkage Mechanism," IEEE Access, vol. 6, pp. 42422-42430, 2018, doi: 10.1109/ACCESS.2018.2859840.
V. Klemm et al., "Ascento: A Two-Wheeled Jumping Robot," 2019 International Conference on Robotics and Automation (ICRA), pp. 7515-7521, 2019, doi: 10.1109/ICRA.2019.8793792.
H. Zhou, X. Li, H. Feng, J. Li, S. Zhang, and Y. Fu, "Model Decoupling and Control of the Wheeled Humanoid Robot Moving in Sagittal Plane," 2019 IEEE-RAS 19th International Conference on Humanoid Robots (Humanoids), pp. 1-6, 2019, doi: 10.1109/Humanoids43949.2019.9035069.
S. Wang et al., "Balance Control of a Novel Wheel-legged Robot: Design and Experiments," 2021 IEEE International Conference on Robotics and Automation (ICRA), pp. 6782-6788, 2021, doi: 10.1109/ICRA48506.2021.9561579.
C. Zhang, T. Liu, S. Song, and M. Q. . -H. Meng, "System Design and Balance Control of a Bipedal Leg-wheeled Robot," 2019 IEEE International Conference on Robotics and Biomimetics (ROBIO), pp. 1869-1874, 2019, doi: 10.1109/ROBIO49542.2019.8961814.
F. Raza and M. Hayashibe, "Towards Robust Wheel-Legged Biped Robot System: Combining Feedforward and Feedback Control," 2021 IEEE/SICE International Symposium on System Integration (SII), pp. 606-612, 2021, doi: 10.1109/IEEECONF49454.2021.9382678.
J. Dong, R. Liu, B. LU, X. Guo, and H. Liu, "LQR-based Balance Control of Two-wheeled Legged Robot," 2022 41st Chinese Control Conference (CCC), pp. 450-455, 2022, doi: 10.23919/CCC55666.2022.9902200.
Y. Xin, H. Chai, Y. Li, X. Rong, B. Li, and Y. Li, "Speed and Acceleration Control for a Two Wheel-Leg Robot Based on Distributed Dynamic Model and Whole-Body Control," in IEEE Access, vol. 7, pp. 180630-180639, 2019, doi: 10.1109/ACCESS.2019.2959333.
V. Klemm et al., "LQR-Assisted Whole-Body Control of a Wheeled Bipedal Robot With Kinematic Loops," in IEEE Robotics and Automation Letters, vol. 5, no. 2, pp. 3745-3752, 2020, doi: 10.1109/LRA.2020.2979625.
S. Xin and S. Vijayakumar, "Online Dynamic Motion Planning and Control for Wheeled Biped Robots," 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 3892-3899, 2020, doi: 10.1109/IROS45743.2020.9340967.
H. Chen, B. Wang, Z. Hong, C. Shen, P. M. Wensing, and W. Zhang, "Underactuated Motion Planning and Control for Jumping With Wheeled-Bipedal Robots," IEEE Robotics and Automation Letters, vol. 6, no. 2, pp. 747-754, 2021, doi: 10.1109/lra.2020.3047787.
T. Guo et al., "Design and dynamic analysis of jumping wheel-legged robot in complex terrain environment," Frontiers in Neurorobotics, vol. 16, p. 1066714, 2022.
H. G. Lee, "Linearization of Nonlinear Control Systems," Linearization of Nonlinear Control Systems, pp. 1-589, 2022.
Downloads
Published
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This journal is based on the work at https://journal.umy.ac.id/index.php/jrc under license from Creative Commons Attribution-ShareAlike 4.0 International License. You are free to:
- Share – copy and redistribute the material in any medium or format.
- Adapt – remix, transform, and build upon the material for any purpose, even comercially.
The licensor cannot revoke these freedoms as long as you follow the license terms, which include the following:
- Attribution. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
• Creative Commons Attribution-ShareAlike (CC BY-SA)
JRC is licensed under an International License