Optimization of Linear Quadratic Regulator for Reaction Wheel Inverted Pendulum using Particle Swarm Optimization: Simulation and Experiment
DOI:
https://doi.org/10.59247/jfsc.v3i1.271Keywords:
Reaction Wheel Inverted Pendulum, Nonlinear, Upright Position, Linear Quadratic Regulator, Particle Swarm Optimization, Single Input-Multiple OutputAbstract
This paper presents an optimization approach for the Linear Quadratic Regulator (LQR) applied to a Reaction Wheel Inverted Pendulum (RWIP) system, utilizing Particle Swarm Optimization (PSO). The study involves both simulation and real-world experimental verification. A mathematical model of the system is first developed using the Euler Lagrange method, and the LQR controller is designed to stabilize the highly nonlinear system, specifically a Single Input-Multiple Output (SIMO) system. PSO is employed to fine-tune the LQR parameters, optimizing performance metrics such as overshoot, settling time, and steady-state error. Simulation results, performed in MATLAB, are compared with experimental results obtained using an STM32F407 microcontroller-based hardware setup. PSO optimized LQR demonstrates significant improvements in stability and response time, outperforming standard optimization. The results confirm the efficiency of PSO in optimizing control systems for nonlinear dynamics, with potential applications in balancing robotics and self-stabilizing vehicles.
References
M.F. Hamza et al, “Inverted Pendulum as a benchmark for testing linear and nonlinear control algorithms,” Mechanical Systems and Signal Processing, vol. 116, pp. 347-369, 2019, https://doi.org/10.1016/j.ymssp.2018.06.054.
W. Vega et al., "Conceptual Mechatronics Design and Prototyping of Autonomous Inverted Pendulum-System applied on Two-Wheeled Mobile Robot," 2023 Third International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), pp. 1-6, 2023, https://doi.org/10.1109/ICAECT57570.2023.10118071.
V. Tudić, D. Kralj, J. Hoster, and T. Tropčić, “Design and Implementation of a Ball-Plate Control System and Python Script for Educational Purposes in STEM Technologies,” Sensors, vol. 22, no. 5, p. 1875, 2022, https://doi.org/10.3390/s22051875.
Scott C. Brown, Kevin M. Passino, “Intelligent Control for an Acrobot,” Journal of Intelligent and Robotic System, vol. 18, pp. 209-248, 1997, https://doi.org/10.1023/A:1007953809856.
D. J. Block, K. J. Åström, K. J., & Spong, M. W. (2007). The reaction wheel pendulum (No. 1). Morgan & Claypool Publishers. 2007. https://doi.org/10.2200/S00085ED1V01Y200702CRM001.
H. -W. Kim, J. -W. An, H. d. Yoo and J. -M. Lee, "Balancing control of bicycle robot using PID control," 2013 13th International Conference on Control, Automation and Systems (ICCAS 2013), Gwangju, pp. 145-147, 2013, https://doi.org/10.1109/ICCAS.2013.6703879.
E. V. Kumar and J. Jerome, “Robust LQR controller design for stabilizing and trajectory tracking of inverted pendulum,” Procedia Engineering, vol. 64, pp. 169-178, 2013, https://doi.org/10.1016/j.proeng.2013.09.088.
S. Istiqphara et al., "Enhanced Equation Discovery of 3-DoF Robotic Manipulator Dynamics Using LASSO Model Selection Criteria With Variable Segregation Algorithm," in IEEE Access, vol. 12, pp. 20574-20590, 2024, https://doi.org/10.1109/ACCESS.2024.3354374.
A. Sutradhar et al., "Identification of servo-driven inverted pendulum system using neural network," 2010 Annual IEEE India Conference (INDICON), pp. 1-4, 2010, https://doi.org/10.1109/INDCON.2010.5712589.
S. Howimanporn et al., “Design and Implementation of PSO Based LQR Control for Inverted Pendulum through PLC,” IEEE/SICE International Symposium on System Integration, pp. 13-15, 2016, https://doi.org/10.1109/SII.2016.7844075.
M. Benedetti, R. Azaro, D. Franceschini, A. Massa, "PSO-Based Real-Time Control of Planar Uniform Circular Arrays," IEEE Antennas and Wireless Propagation Letters, vol. 5, no. 1, pp. 545 548, 2006, https://doi.org/10.1109/LAWP.2006.887553.
A. Ibrahim, N. Hassan, O. Shomer, “Optimal PID control of a brushless DC motor using PSO and BF techniques,” Ain Shams Eng, vol. 5, no. 2, pp. 391–398, 2014, https://doi.org/10.1016/j.asej.2013.09.013.
R. Yazgan et al., “Comparison performances of PSO and GA to tuning PID controller for the DC motor,” Sakarya Univ. J. Sci., vol. 23, no. 2, pp. 162–174, 2019, https://doi.org/10.16984/saufenbilder.376464.
F. Loucif et al., “Whale optimizer algorithm to tune PID controller for the trajectory tracking control of robot manipulator,” J. Braz. Soc. Mech. Sci. Eng., vol. 42, no. 1, pp. 1–11, 2020, https://doi.org/10.1007/s40430-019-2074-3.
M. Juneja and S. K. Nagar, "Particle swarm optimization algorithm and its parameters: A review," 2016 International Conference on Control, Computing, Communication and Materials (ICCCCM), pp. 1-5, 2016, https://doi.org/10.1109/ICCCCM.2016.7918233.
P. L. Nguyen, et al., “Adaptive Evaluation of LQR Control using Particle Swarm Optimization for Pendubot,” Journal of Fuzzy Systems and Control, vol. 2, no. 2, pp. 58-66, 2024, https://doi.org/10.59247/jfsc.v2i2.203.

Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Hau Nguyen Binh, Dat Tran Dinh , Anh Doan Cong

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.