A Study of Optimized-LQR Control for Rotary Inverted Pendulum by Particle Swarm Optimization
DOI:
https://doi.org/10.59247/jfsc.v3i2.301Keywords:
PSO, Genetic Algorithm, Rotary Inverted Pendulum, SIMO SystemAbstract
Rotary Inverted Pendulum (RIP) is a classical but effective model in testing control algorithms. Besides designing controllers, it can also be a model for testing the evolution algorithms (EAs) in optimizing control parameters. In this paper, we apply particle swarm optimization (PSO), which is an EA, to optimize the parameters of the LQR controller for this model. In the study, an experimental model in which system parameters are already measured and identified in former studies is used. The LQR control method is inherited from former results, and the weighing matrices (Q and R) are optimized by the PSO method. In each case, the control matrix K is obtained from Q and R to apply for RIP. Through both simulation and experiment, LQR control parameters are found better through generations by using PSO. The responses of RIP, in which controllers are designed under optimized Q and R in later generations, are better in quality, and values of the fitness function also supports that opinion. Thence, through this study, beside genetic algorithm (GA), this study proves that PSO is a suitable searching algorithm that can be applied for balancing this single input- multi output (SIMO) system. Also, the experimental platform of RIP in this research confirms its ability to control tests.
References
S. Gezici and Z. Sahinoglu, "Ranging in a Single-Input Multiple-Output (SIMO) System," in IEEE Communications Letters, vol. 12, no. 3, pp. 197-199, 2008, https://doi.org/10.1109/LCOMM.2008.071691.
S. Jadlovská and J. Sarnovský, "A complex overview of the rotary single inverted pendulum system," 2012 ELEKTRO. 305-310, 2012, https://doi.org/10.1109/ELEKTRO.2012.6225609.
M. Roman, E. Bobasu and D. Sendrescu, "Modelling of the rotary inverted pendulum system," 2008 IEEE International Conference on Automation, Quality and Testing, Robotics, pp. 141-146, 2008, https://doi.org/10.1109/AQTR.2008.4588810.
T.-B. Dang et al., “PID Control for Cart and Pole system: Simulation and Experiment,” JFSC, vol. 2, no. 1, pp. 29–35, 2024, https://doi.org/10.59247/jfsc.v2i1.165.
C.-H. Nguyen et al., “ANFIS-based LQR Control for Rotary Double Parallel Inverted Pendulum”, JFSC, vol. 2, no. 2, pp. 109–116, 2024, https://doi.org/10.59247/jfsc.v2i2.214.
N.-C. Tran et al., “LQR Control for Experimental Double Rotary Inverted Pendulum”, JFSC, vol. 2, no. 2, pp. 104–108, 2024. https://doi.org/10.59247/jfsc.v2i2.212.
A. L. M, A. Kunjumuhammed, J. Tomy, U. G, M. Sivadas and A. Mohan, "Stabilization of Rotary Inverted Pendulum using PID Controller," 2021 8th International Conference on Smart Computing and Communications (ICSCC), pp. 376-380, 2021, https://doi.org/10.1109/ICSCC51209.2021.9528290.
Fahmizal, Geonoky, and H. Maghfiroh, “Rotary Inverted Pendulum Control with Pole Placement”, JFSC, vol. 1, no. 3, pp. 90–96, 2023, https://doi.org/10.59247/jfsc.v1i3.152.
Mojtaba Ahmadieh Khanesar, Mohammad Teshnehlab and Mahdi Aliyari Shoorehdeli, "Sliding mode control of Rotary Inverted Pendulm," 2007 Mediterranean Conference on Control & Automation, pp. 1-6, 2007, https://doi.org/10.1109/MED.2007.4433653.
P. A. Vikhar, "Evolutionary algorithms: A critical review and its future prospects," 2016 International Conference on Global Trends in Signal Processing, Information Computing and Communication (ICGTSPICC), pp. 261-265, 2016, https://doi.org/10.1109/ICGTSPICC.2016.7955308.
B. Yang et al., “Optimizing PID Controller Based on Genetic Algorithm for Industrial Microwave Heating Device”, International Journal of Digital Content Technology and its Applications, vol. 6, no. 23, pp. 475-483, 2012, https://doi.org/10.4156/jdcta.vol6.issue23.54.
S. Tiwari et al., "Control of DC Motor Using Genetic Algorithm Based PID Controller," 2018 International Conference and Utility Exhibition on Green Energy for Sustainable Development (ICUE), pp. 1-6, 2018, https://doi.org/10.23919/ICUE-GESD.2018.8635662.
B.-H. Nguyen et al., “Application of Genetic Algorithm for Optimizing Continuous and Discrete PID to Control Antenna Azimuth Position”, JFSC, vol. 2, no. 1, pp. 1–5, 2024, https://doi.org/10.59247/jfsc.v2i1.154.
H.-G.-B. Pham et al, “Trajectories Tracking Control for Rotary Inverted Pendulum using Back-stepping Method”, JFSC, vol. 3, no. 1, pp. 57–63, 2025, https://doi.org/10.59247/jfsc.v3i1.276.
T. M. Shami et al., "Particle Swarm Optimization: A Comprehensive Survey," in IEEE Access, vol. 10, pp. 10031-10061, 2022, https://doi.org/10.1109/ACCESS.2022.3142859.
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Thanh-Tri-Dai Le, Thanh-Cong Pham, Duc-Thanh-Long Bui, Quang-Truong Nguyen, Van-Nhat-Truong Vo, Quoc-Lap Dinh, Le-Hieu Tran, Thien-Bao Truong, Tan-Loc Nguyen, Duy-Tan Nguyen, Tuan-Anh Nguyen, Viet-Anh Nguyen, Thi-Thanh-Hoang Le

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