PSO-Optimized LQR and Energy-Based Swing-Up Control for Reaction Wheel Inverted Pendulum

Dinh Dat Tran 1*, Binh Hau Nguyen 1, Bao Quoc Mai 1, Duc-Anh-Quan Nguyen 2

1 Posts and Telecommunications Institute of Technology (PTIT)
11-Nguyen Dinh Chieu Street, Da Kao Ward, District 1, Ho Chi Minh City, Vietnam.

2 Ho Chi Minh City University of Technology and Education (HCMUTE)
01-VoVanNgan Str, Thu Duc city, Ho Chi Minh City, Vietnam
* Corresponding author. E-mail: dattd@ptit.edu.vn

Robotica & Management, Vol. 29, No. 2, pp. 32-42
DOI: https://doi.org/10.24193/rm.2024.2.5

Abstract: The Reaction Wheel Inverted Pendulum (RWIP) system presents challenges in balancing and swing-up control due to its nonlinear, underactuated nature. This study introduces an energy-based control approach for the swing-up phase, along with an optimized Linear Quadratic Regulator (LQR) for stabilization. Through simulations and experiments, we demonstrate the effectiveness of these methods on an RWIP system with a reaction wheel mounted on a shaft supported by two ball bearings. Particle Swarm Optimization (PSO) is utilized to optimize the parameters of the LQR controller, aiming to improve both the stability and performance of the system. The control algorithms are implemented on an STM32F407 microcontroller, enabling real-time control and processing. Experimental results validate the control strategies under various external disturbances, proving their robustness and efficacy.

Keywords: RWIP, parameter optimization, energy-based control, swing-up mechanism, LQR, PSO, STM32F407 microcontroller.

Full text

References

[1] Valenzuela J.M. , Avelar C.A.: “Motion Control of Underactuated Mechanical Systems,“ Part of the book series: Intelligent Systems, Control and Automation: Science and Engineering (ISCA, volume 88), 2018.
DOI:10.1007/978-3-319-58319-8

[2] Medina I., Santiago L., Hernández Gómez J.J., Castillo R., Castaned C.C.:” Speed PID controller simulation of a reaction wheel for CubeSat orientation applications,” Journal of Physics Conference Series 1723(1):012013.
DOI:10.1088/1742-6596/1723/1/012013

[3] Astrom K., Hagglund T.: “PID controllers: theory, design and tuning”, Instrument Society of America; 1995.

[4] Astrom K.J. and Furuta K.:’’ Swinging up a pendulum by energy control,” Automatica Volume 36, Issue 2, Pages 287-295, February 2000.
DOI: 10.1016/S0005-1098(99)00140-5

[5] Sowman J., Laila D. S. and Longo S.:” Real-Time Approximate Explicit Nonlinear Model Predictive Control for the Swing-Up of a Reaction Wheel Pendulum,” 2015 IEEE 54th Annual Conference on Decision and Control (CDC) , 12/2015. Osaka, Japan.
DOI: 10.1109/CDC.2015.7402891

[6] Srinivas K.N., Behera L.:” Swing-up control strategies for a reaction wheel pendulum,” International Journal of Systems Science Vol. 39, No. 12, 1165–1177, 12/2008.
DOI: 10.1080/00207720802095137

[7] Andrievsky B.R.:” Global stabilization of the unstable Reaction-Wheel Pendulum”, Autom Remote Control 72, 1981–1993, Copyright 2011.
DOI: 10.1134/S0005117911090189

[8] Kiattisin K.: “ Lqr and MPC Controller Design and Comparison for a Stationary Self-Balancing Bicycle Robot with a ReactionWheel”, Kybernetika 51 no. 1, 173-191, 2015. DOI: 10.14736/kyb-2015-1-0173

[9] Murdock D.D. and Taylor D.G.:“ Balancing a Reaction Wheel Pendulum with PM Synchronous Motor Actuation”, IECON 2014 – 40th Annual Conference of the IEEE Industrial Electronics Society, 2014.
DOI: 10.1109/IECON.2014.7048483

[10] David M.:” in Chapter 6, The Lagrangian Method,” Harvard University, Copyright 2007.

[11] Benedetti M., Azaro R., Franceschini D. and Massa A.:” PSO-Based Real-Time Control of Planar Uniform Circular Arrays,” IEEE Antennas and Wireless Propagation Letters, Vol. 5, 2006 DOI: 10.1109/LAWP.2006.887553

[12] Howimanporn S., Thanok S., Chookaew S., and Sootkaneung W.:” Design and Implementation of PSO Based LQR Control for Inverted Pendulum through PLC,” Proceedings of the 2016 IEEE/SICE International Symposium on System Integration, Sapporo Convention Center, Sapporo, Japan,December 13-15, 2016.
DOI: 10.1109/SII.2016.7844075

[13] Juneja M., Nagar S.K.:” Particle swarm optimization algorithm and its parameters: A review,” International Conference on Control, Computing, Communication and Materials (ICCCCM), 2016.
DOI: 10.1109/ICCCCM.2016.7918233

[14] Farnaz Z, Sajith H.S., Abeysekara A.D., Welikala S., Binduhewa P.J., Ekanayake P.B., Samaranayake L.:”Dc Motor Torque Control Using State Estimation.”, Control and Intelligent Systems, Vol. 44, No. 3, 2016.
DOI: 10.2316/Journal.201.2016.3.201-2762

[15] Spong M.W., Corke P., Lozano R.:” Nonlinear control of the Reaction Wheel Pendulum,” Automatica Volume 37, Issue 11, Pages 1845-185, November 2001.
DOI:10.1016/S0005-1098(01)00145-5