Nonlinear optimal control of the planar inverted pendulum

G. Rigatos , G. Cuccurullo , P. Siano , M. Abbaszadeh , Z. Gao , F. Zouari

Autonomous Intelligent Systems ›› 2026, Vol. 6 ›› Issue (1) : 11

PDF
Autonomous Intelligent Systems ›› 2026, Vol. 6 ›› Issue (1) :11 DOI: 10.1007/s43684-026-00133-4
Original Article
research-article
Nonlinear optimal control of the planar inverted pendulum
Author information +
History +
PDF

Abstract

The control and stabilization problem of the 4-DOF planar inverted pendulum is nontrivial due to the complex nonlinear dynamics and the underactuation of this dynamical system. In this article, a new nonlinear optimal control method is proposed for solving the problem of control and stabilization of the 4-DOF planar (XY) inverted pendulum. To apply the proposed nonlinear optimal control method, the dynamic model of the planar inverted pendulum undergoes first approximate linearization around a temporary operating point that is updated at each iteration of the control algorithm. The linearization takes place through first-order Taylor series expansion and through the computation of the Jacobian matrices of the pendulum’s state-space description. For the approximately linearized model of the planar inverted pendulum an H-infinity feedback controller is designed. Actually, the H-infinity controller stands for the solution of the optimal control problem for the planar inverted pendulum under uncertainty and external perturbations. For the computation of the feedback gains of the H-infinity controller an algebraic Riccati equation is solved at each time-step of the control method. The stability properties of the control algorithm are proven through Lyapunov analysis. The proposed control method achieves fast and accurate tracking of setpoints under moderate variations of the control inputs.

Keywords

4-DOF planar inverted pendulum / Underactuated robot / Nonlinear optimal control / H-infinity control / Lyapunov analysis / Global asymptotic stability

Cite this article

Download citation ▾
G. Rigatos, G. Cuccurullo, P. Siano, M. Abbaszadeh, Z. Gao, F. Zouari. Nonlinear optimal control of the planar inverted pendulum. Autonomous Intelligent Systems, 2026, 6(1): 11 DOI:10.1007/s43684-026-00133-4

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Wang J.J., Kumbasar T.. Optimal PID control of spatial inverted pendulum with Big-Bang crunch optimization. IEEE/CAA J. Autom. Sin., 2020, 7(3): 822-832

[2]

Jiang S., Cho H.T., Hsia T.C.. Neural network control for position tracking of a two-axis inverted pendulum system: expert neural studies. IEEE Trans. Neural Netw., 2007, 18(4): 1042-1048

[3]

Wai R.J., Chang L.J.. Adaptive stabilizing and tracking control for a nonlinear inverted pendulum system via sliding-mode techniques. IEEE Trans. Ind. Electron., 2006, 53(2): 674-692

[4]

Wai R.J., Kuo M.A., Lee J.D.. Design of cascade adaptive fuzzy sliding-mode control for nonlinear two-axis inverted pendulum servomechanism. IEEE Trans. Fuzzy Systems, 2008, 10(5): 1232-1244

[5]

Wai R.J., Kuo M.A., Lee J.D.. Cascade direct adaptive fuzzy control design for a nonlinear two-axis inverted pendulum servomechanism. IEEE Trans. Syst. Man Cybern., Part B, Cybern., 2008, 38(2): 439-455

[6]

Wang J.J.. Simulation studies of inverted pendulum based on PID controller. Simul. Model. Pract. Theory, 2011, 19: 440-449

[7]

B. Yuan, G. Zhao, J. Kang, Fuzzy optimal controller design of spatial single inverted pendulum, in IEEE CSIS-IAC 2024, IEEE 2024 Intl. Annual Conference on Complex Systems and Intelligent Science, Guangzhou, China, Sep. 2024

[8]

Wang J.J., Kumbasar T.. Big-Bang - Big Crunch optimized hierarchical sliding-mode control of an inverted pendulum. Simul. Model. Pract. Theory, 2018, 86: 25-35

[9]

Kumar S., Ajmeri M.. Sliding-mode control architecture for stabilization and tracking control of planar inverted pendulum. Int. J. Dyn. Control, 2024, 12: 374-384

[10]

Yang L., Dai M., Amieu A., Tedrake R.. Approximate optimal controller synthesis for cart-poles and quadrotors via sums of squares. IEEE Robot. Autom. Lett., 2025, 8(11): 7376-7383

[11]

L. Feng, Y. Yangcnuan, Q. Qian, Stabilize the planar single inverted pendulum based on LQR, in IEEE 2011 Intl. Conf. on Automation and Logistics, Changqing, China, Aug. 2011

[12]

Wang J.J., Liu C.Y.. Hierarchical sliding-mode control of spatial inverted pendulum with homogeneous comprehensive learning particle swarm optimization. Inf. Sci., 2019, 495: 14-36

[13]

I. Ananyevsky, N. Anokhin, Control of a multi-link inverted pendulum by a single torque, in 7th IFAC Mathmod Intl. Conference, Vienna, Austria, Sep. 2012

[14]

S. Kumar, M. Ajmeri, Stabilizing x-z Inverted Pendulum via Fractional Order PID Controller, in IEEE ICEFE 2020, IEEE 2020 Intl. Conf. on Emerging Frontiers in Electrical and Electronic Engineering, Patna, India, July 2020

[15]

Silva Trantin J.P., Santos D.A., da Silva S., Schamb H.. Dynamic modelling and control of a spherical pendulum with a VSC MG. J. Braz. Soc. Mech. Sci. Eng., 2022, 34(335): 1-14

[16]

Viet T.D., Doun P.T., Giang H., Kim H.K., Kim S.B.. Control of a 2-DOF omnidirectional mobile inverted pendulum. J. Mech. Sci. Technol., 2012, 26(9): 2921-2928

[17]

Kumar S., Ajmeri M.. Stabilizing xy inverted pendulum via variable structure control. Lecture Notes in Mechanical Engineering, 2021553-562

[18]

Bayram A., Kara F.. Design and control of spatial inverted pendulum with two degrees of freedom. J. Braz. Soc. Mech. Sci. Eng., 2020, 42(501): 1-14

[19]

Miao Z.H., Li Z.H., Zhang Y.L., Li H.Y.. Design of optimal cost fuzzy controller for spatial double inverted pendulum system. Advances in Intelligent and Soft Computing, 2012BerlinSpringer129-138147

[20]

Soto I., Campa R.. Modelling and control of a spherical inverted pendulum on a four-bar mechanism. Int. J. Adv. Robot. Syst., 2015, 12: 1-16

[21]

Hu J., Xin X.. Equilibrium postural control of a spatial underactuated robot based on angular movement. IEEE Robot. Autom. Lett., 2025, 10(9): 2414-2423

[22]

X. Xinjefu, V. Hayward, H. Michalska, Stabilization of the spatial double inverted pendulum using stochastic programming seen as a model of standing posture control, in IEEE RAS 2009 Intl. Conf. on Humanoid Robotics, Paris, France, Dec. 2009

[23]

Xinjefu X., Hayward V., Michalska H.. Hybrid stabilizing control for the spatial double inverted pendulum. Advances in Intelligent and Soft Computing, 2010BerlinSpringer201-21583

[24]

S.T. Kao, W.J. Chiu, M.T. Ho, Balancing of a spherical inverted pendulum with an omnidirectional mobile robot, in IEEE 2019 Intl. Conference on Control Applications, Hyderabad, India, Aug. 2013

[25]

Kumar S., Ajmeri M.. Robust stabilization and tracking control of spatial inverted pendulum using super-twisting sliding-mode control. Int. J. Dyn. Control, 2023, 11: 1178-1189

[26]

Wang J.J.. Stabilization and tracking control of xz inverted pendulum with sliding-mode control. ISA Trans., 2012, 51: 763-770

[27]

Chang L.H., Lee A.C.. Design of nonlinear controller for bi-axial inverted pendulum system. IET Control Theory Appl., 2007, 1(4): 979-986

[28]

Z. Chang, H. Che, Y. Shao, X. Zhang, A synthetic LQR control for the planar inverted pendulum, in IEEE CAC 2019, IEEE 2019 Chinese Automation Congress, Hangzhou China, Nov. 2019

[29]

I. Chawla, V. Rayankula, V. Chopra, A. Singla, Bond graph modelling and LQR-based neurofuzzy control of spatial inverted pendulum, in ACM AIR 2023, Proceedings of the 2023 6th Intl. Conf. on Advances in Robotics, Raipur, India, July 2023

[30]

Kao S.Y., Ho M.T.. Tracking control of a spherical inverted pendulum with an omnidirectional mobile robot. IEEE 2017 Intl. Cond. on Advanced Robotics and Intelligent Systems, 2017

[31]

Miao J., Wang J., Li Z.. Design of fuzzy control system with optimal guaranteed cost for planar inverted pendulum. Advances in Intelligent and Soft Computing, 2010BerlinSpringer169-18078

[32]

Rigatos G., Busawon K.Robotic Manipulators and Vehicles: Control, Estimation and Filtering, 2015BerlinSpringer

[33]

Rigatos G., Abbaszadeh M., Siano P., Cuccurullo G., Pomares J., Sari B.. Nonlinear optimal control for the rotary double inverted pendulum. Adv. Control Appl.: Eng. Ind. Syst., 2024, 6(2): Article ID: e140

[34]

Rigatos G., Abbaszadeh M., Siano P.Nonlinear Optimal and Flatness-Based Control Methods and Applications for Complex Dynamical Systems, 2025IET Publications

[35]

Singh O., Kumar-Ray A., Pratap A., Chakraborty C.. Tracking control of inverted pendulum-inspired robotic systems using optimized integrator-based LQR. Int. J. Dyn. Control, 2025, 13 Article ID: 375

[36]

Ahn N.D., Matsuhisa H., Viet L.D., Yasuda M.. Vibration control of an inverted pendulum type structure by passive mass-spring pendulum vibration absorber. J. Sound Vib., 2007, 307: 187-201

[37]

Huang J., Zhang T., Fan Y., Sun J.Q.. Control of rotary inverted pendulum using model-free backstepping technique. IEEE Access, 2019, 7: 96965-96973

[38]

Polekhin I.. Asymptotically stable non-falling solutions of the Kapitza-Whitney pendulum. Meccanica, 2023, 58: 105-115

[39]

Zhang J.L., Zhang W.. LQR self-adjusting based control for the planar double inverted pendulum. Phys. Proc., 2012, 24: 1669-1676 2012 Intl. Conference on Applied Physics and Industrial Engineering

[40]

Pan J., Wang Y.. Stabilization and tracking control of XZ inverted pendulum using flatness-based active disturbance rejection control. Asian J. Control, 2016, 18(5): 1714-1737

[41]

Abedzadeh Maafi P., Etemadi-Hoghighi S., Mahmoodabadi M.J.. Pareto optimal design of a fuzzy adaptive hierarchical sliding-mode controller for a XZ inverted pendulum system. IETE J. Res., 2023, 69(5): 3052-3069

[42]

Cheng S., Li H., Guo Y., Pan T., Fan Y.. Event-triggered optimal nonlinear systems control based on state observer and neural networks. J. Syst. Sci. Complex., 2023, 36: 222-238

[43]

Raymundo C., Perez-Zuniga G., Yapangui J.. Phase-dependent nonlinear MPC for stair climbing: edge-pivot control with double-pendulum model. Results Control Optim., 2026, 22 Article ID: 100675

[44]

Morazumi D., Sumiak T., Shin H.. Energy-based closed form selection of the divergent component of motion for nonlinear inverted pendulum trajectories. IEEE Robot. Autom. Lett., 2026, 11(3): 2754-2761

[45]

Eid R., Baleanu D., Asad J.. Dynamic behavior of a dual-spring pendulum: a physics-informed neural network approach. J. Low Freq. Noise Vib. Act. Control, 2025, 45(1): 135-149

[46]

Pasin L., Bruschetta M., Chiusso A.. Taming nonlinearity with local data-driven predictive control. IFAC J. Syst. Control, 2026, 35 Article ID: 100396

[47]

Diehl M., Reuter J.. Millisecond NMPC for swing-up and stabilization of the Furuta pendulum in real world. IEEE Trans. Control Syst. Technol., 2026, 34(1): 545-551

[48]

J. Tamimi, Y. Sweiti, L. Shurabati, Y. Tahboub, Design, modelling and control of a ball-on T-shaped inverted pendulum system with experimental validation. Meas. Control, 1–10 (2026)

[49]

Abahumer M.K., Amer T.S., Abdelhafeez S.A., Ellawoody D.A., Elbaz R.T.. Vibration analysis, stability assessment and chaotic behavior of a damped oscillator coupled with a spherical pendulum and a piezoelectric transducer. Nonlinear Dyn., 2025, 113: 24343-24381

[50]

A.H. Martinez-Vasquez, R. Castro-Linares, H. Sira-Ramirez, An equivalence of ADRC flat filters: an application to a quadrotor UAV with a spherical inverted or suspended pendulum. Int. J. Control, 1–23 (2024)

[51]

Alvarez P., Avalos-Alvarez E.F.. Comprehensive modelling and LQR control of the double wheel-on-wheel system. J. Control Autom. Electr. Syst., 2025, 36: 53-71

[52]

Thos H.D., Terashima K., Miyashi T.. Passivity-based control of a double pendulum crane using propagation of vibration suppression. Automatica, 2026, 186 Article ID: 112818

[53]

Rigatos G.G., Tzafestas S.G.. Extended Kalman filtering for fuzzy modelling and multi-sensor fusion. Math. Comput. Model. Dyn. Syst., 2007, 13: 251-266

[54]

Basseville M., Nikiforov I.Detection of Abrupt Changes: Theory and Applications, 1993New JerseyPrentice-Hall

[55]

Rigatos G., Zhang Q.. Fuzzy model validation using the local statistical approach. Fuzzy Sets Syst., 2009, 60(7): 882-904

[56]

Rigatos G., Abbaszadeh M., Siano P.Control and Estimation of Dynamical Nonlinear and Partial Differential Equation Systems: Theory and Applications, 2022IET Publications

[57]

Rigatos G., Karapanou E.Advances in Applied Nonlinear Optimal Control, 2020Cambridge Scholars Publishing

[58]

Rigatos G., Abbaszadeh M., Siano P., Wira P.Autonomous Electric Vehicles: Nonlinear Control, Traction and Propulsion, 2024AmsterdamElsevier

[59]

Rigatos G., Abbaszadeh M., Hamida M.A., Siano P.Intelligent Control for Electric Power Systems and Electric Vehicles, 2024CRC Publications

[60]

Rigatos G.Nonlinear Control and Filtering Using Differential Flatness Theory Approaches: Applications to Electromechanical Systems, 2015BerlinSpringer

[61]

Rigatos G.Intelligent Renewable Energy Systems: Modelling and Control, 2016BerlinSpringer

[62]

Toussaint G.J., Basar T., Bullo F.. H∞\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$H_{\infty}$\end{document} optimal tracking control techniques for nonlinear underactuated systems. Proc. IEEE CDC 2000, 39th IEEE Conference on Decision and Control, 2000

[63]

Grimble M.J., Majeski P.Nonlinear Industrial Control Systems: Optimal Polynomial Systems and State-Space Approach, 2020BerlinSpringer

[64]

Corriou J.P.Numerical Methods and Optimization: Theory and Practice for Engineers, 2021BerlinSpringer

[65]

Tao K.L., Li B., Rehbock Y.Applied and Computational Optimal Control: A Control Parametrization Approach, 2021BerlinSpringer

Funding

Uniit of Industrial Automation / Industrial Systems Institute(Grant Ref 040425 on ”Advanced nonlinear control for robotics and cyber-physical systems)

RIGHTS & PERMISSIONS

The Author(s)

PDF

12

Accesses

0

Citation

Detail

Sections
Recommended

/