Second-Order Nonsingular Terminal Sliding Mode Control for Tracking and Stabilization of Cart–Inverted Pendulum
Abstract
1. Introduction
- The SONTSMC is proposed for CIP to enhance tracking accuracy and reduce the chattering of the control input. Motivated by [26], the parameters of the sliding surface are designed to meet the desired system dynamic, with the derivative of the sliding surface directly determined without the need for estimation methods.
- CIP model is employed to design a sliding surface without using any transformation methods to convert it to a regular form, thereby simplifying the control design. By including the integral of the cart position error in the augmented model, the sliding mode controller effectively mitigates cart position offsets caused by pendulum angle calibration errors.
- The effectiveness and implementation of the proposed control are verified through a stabilization and tracking control experiment with an inverted pendulum in practical environment.
2. Modeling Cart–Inverted Pendulum
3. Controller Design
4. Experimental Validation
4.1. Experimental Setup
4.2. Experimental Results
4.2.1. Stabilizing the Cart–Inverted Pendulum
4.2.2. Reference Tracking Control for the Cart–Inverted Pendulum
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| SONTSMC | second-order nonsingular terminal sliding mode control |
| LQRSMC | linear quadratic regulator sliding mode control |
| ILQRSMC | integral linear quadratic regulator sliding mode control |
| UMS | underactuated mechanical systems |
| DOF | degree of freedom |
| CIP | cart–inverted pendulum |
| SMC | sliding mode control |
| IAE | integral absolute error |
| ISE | integral squared error |
| IAC | integral absolute control |
References
- Emran, B.J.; Najjaran, H. A review of quadrotor: An underactuated mechanical system. Annu. Rev. Control 2018, 46, 165–180. [Google Scholar] [CrossRef]
- Xiong, J.J.; Wang, X.Y.; Li, C. Recurrent neural network based sliding mode control for an uncertain tilting quadrotor UAV. Int. J. Robust Nonlinear Control 2025, 35, 8030–8046. [Google Scholar] [CrossRef]
- Xiong, J.J.; Chen, Y. RBFNN-Based Parameter Adaptive Sliding Mode Control for an Uncertain TQUAV with Time-Varying Mass. Int. J. Robust Nonlinear Control 2025, 35, 4658–4668. [Google Scholar] [CrossRef]
- Gupta, S.; Kumar, A. A brief review of dynamics and control of underactuated biped robots. Adv. Robot. 2017, 31, 607–623. [Google Scholar] [CrossRef]
- Zhao, B.; Ouyang, H.; Iwasaki, M. Motion trajectory tracking and sway reduction for double-pendulum overhead cranes using improved adaptive control without velocity feedback. IEEE/ASME Trans. Mech. 2021, 27, 3648–3659. [Google Scholar] [CrossRef]
- Xu, J.X.; Guo, Z.Q.; Lee, T.H. Design and implementation of integral sliding-mode control on an underactuated two-wheeled mobile robot. IEEE Trans. Ind. Electron. 2013, 61, 3671–3681. [Google Scholar] [CrossRef]
- Huang, J.; Wen, C.; Wang, W.; Jiang, Z.P. Adaptive output feedback tracking control of a nonholonomic mobile robot. Automatica 2014, 50, 821–831. [Google Scholar] [CrossRef]
- Yang, S.; Xian, B. Energy-based nonlinear adaptive control design for the quadrotor UAV system with a suspended payload. IEEE Trans. Ind. Electron. 2019, 67, 2054–2064. [Google Scholar] [CrossRef]
- Wei, C.; Chai, T.; Xin, X.; Chen, X.; Wang, L.; Chen, Y.H. A signal compensation-based robust swing-up and balance control method for the Pendubot. IEEE Trans. Ind. Electron. 2021, 69, 3007–3016. [Google Scholar] [CrossRef]
- Wu, X.; Gu, M. Adaptive control of the TORA system with partial state constraint. Trans. Inst. Meas. Control 2019, 41, 1172–1177. [Google Scholar] [CrossRef]
- Zhai, M.; Sun, N.; Yang, T.; Fang, Y. Underactuated mechanical systems with both actuator and actuated/unactuated state constraints: A predictive control-based approach. IEEE/ASME Trans. Mechatronics 2022, 28, 1359–1371. [Google Scholar] [CrossRef]
- Lu, B.; Fang, Y. Online trajectory planning control for a class of underactuated mechanical systems. IEEE Trans. Autom. Control 2023, 69, 442–448. [Google Scholar] [CrossRef]
- Nisar, L.; Koul, M.H.; Ahmad, B. Controller Design Aimed at Achieving the Desired States in a 2-DOF Rotary Inverted Pendulum. IFAC-PapersOnLine 2024, 57, 256–261. [Google Scholar] [CrossRef]
- Boubaker, O. The inverted pendulum: A fundamental benchmark in control theory and robotics. In Proceedings of the International Conference on Education and e-Learning Innovations, Sousse, Tunisia, 1–3 July 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 1–6. [Google Scholar]
- Dai Le, H.; Nestorović, T. Integral Linear Quadratic Regulator for Inverted Pendulum System Actuated by a Step Motor. In Proceedings of the 2024 10th International Conference on Control, Decision and Information Technologies (CoDIT), Vallette, Malta, 1–4 July 2024; IEEE: Piscataway, NJ, USA, 2024; pp. 367–370. [Google Scholar]
- Utkin, V. Variable structure systems with sliding modes. IEEE Trans. Autom. Control 1977, 22, 212–222. [Google Scholar] [CrossRef]
- Huang, J.; Guan, Z.H.; Matsuno, T.; Fukuda, T.; Sekiyama, K. Sliding-mode velocity control of mobile-wheeled inverted-pendulum systems. IEEE Trans. Robot. 2010, 26, 750–758. [Google Scholar] [CrossRef]
- Ashrafiuon, H.; Erwin, R.S. Sliding mode control of underactuated multibody systems and its application to shape change control. Int. J. Control 2008, 81, 1849–1858. [Google Scholar] [CrossRef]
- Le, H.D.; Nestorović, T. Integral Linear Quadratic Regulator Sliding Mode Control for Inverted Pendulum Actuated by Stepper Motor. Machines 2025, 13, 405. [Google Scholar] [CrossRef]
- Li, S.; Zhou, M.; Yu, X. Design and implementation of terminal sliding mode control method for PMSM speed regulation system. IEEE Trans. Ind. Inform. 2012, 9, 1879–1891. [Google Scholar] [CrossRef]
- Gao, W. Variable structure control of nonlinear systems: A new approach. IEEE Trans. Ind. Electron. 1993, 40, 45–55. [Google Scholar] [CrossRef]
- Fallaha, C.J.; Saad, M.; Kanaan, H.Y.; Al-Haddad, K. Sliding-mode robot control with exponential reaching law. IEEE Trans. Ind. Electron. 2010, 58, 600–610. [Google Scholar] [CrossRef]
- Levant, A. Higher-order sliding modes, differentiation and output-feedback control. Int. J. Control 2003, 76, 924–941. [Google Scholar] [CrossRef]
- Behnamgol, V.; Asadi, M.; Aphale, S.S.; Sohani, B. Recursive PID-NT Estimation-Based Second-Order SMC Strategy for Knee Exoskeleton Robots: A Focus on Uncertainty Mitigation. Electronics 2025, 14, 1455. [Google Scholar] [CrossRef]
- Liu, Y.C. Disturbance-observer-based second-order sliding-mode position control for permanent-magnet synchronous motors: A continuous twisting algorithm-based approach. Energies 2024, 17, 2974. [Google Scholar] [CrossRef]
- Veselić, B.; Milosavljević, Č.; Draženović, B.; Huseinbegović, S. Sliding manifold design for higher-order sliding mode control of linear systems. Int. J. Control Autom. Syst. 2021, 19, 2652–2663. [Google Scholar] [CrossRef]
- Utkin, V.I. Sliding Modes in Control and Optimization; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Utkin, V. Methods for constructing discontinous planes in multidimensional variable structure systems. Autom. Remote Control 1977, 31, 1466–1470. [Google Scholar]
- Malkapure, H.G.; Chidambaram, M. Comparison of two methods of incorporating an integral action in linear quadratic regulator. IFAC Proc. Vol. 2014, 47, 55–61. [Google Scholar] [CrossRef]
- Feng, Y.; Yu, X.; Man, Z. Non-singular terminal sliding mode control of rigid manipulators. Automatica 2002, 38, 2159–2167. [Google Scholar] [CrossRef]
- Moulay, E.; Perruquetti, W. Finite time stability and stabilization of a class of continuous systems. J. Math. Anal. Appl. 2006, 323, 1430–1443. [Google Scholar] [CrossRef]
- Zheng, J.; Wang, H.; Man, Z.; Jin, J.; Fu, M. Robust motion control of a linear motor positioner using fast nonsingular terminal sliding mode. IEEE/ASME Trans. Mechatronics 2014, 20, 1743–1752. [Google Scholar] [CrossRef]
- Yu, S.; Yu, X.; Shirinzadeh, B.; Man, Z. Continuous finite-time control for robotic manipulators with terminal sliding mode. Automatica 2005, 41, 1957–1964. [Google Scholar] [CrossRef]
- Ghosh, A.; Krishnan, T.; Subudhi, B. Robust proportional–integral–derivative compensation of an inverted cart–pendulum system: An experimental study. IET Control Theory Appl. 2012, 6, 1145–1152. [Google Scholar] [CrossRef]
- Draženović, B.; Milosavljević, Č.; Veselić, B.; Gligić, V. Comprehensive approach to sliding subspace design in linear time invariant systems. In Proceedings of the 2012 12th International Workshop on Variable Structure Systems, Mumbai, India, 12–14 January 2012; IEEE: Piscataway, NJ, USA, 2012; pp. 473–478. [Google Scholar]
- Draženović, B.; Milosavljević, Č.; Veselić, B. Comprehensive approach to sliding mode design and analysis in linear systems. In Advances in Sliding Mode Control: Concept, Theory and Implementation; Springer: Berlin/Heidelberg, Germany, 2013; pp. 1–19. [Google Scholar]
- Smaeilzadeh, S.M.; Golestani, M. Finite-time fault-tolerant adaptive robust control for a class of uncertain non-linear systems with saturation constraints using integral backstepping approach. IET Control Theory Appl. 2018, 12, 2109–2117. [Google Scholar] [CrossRef]
- Wang, S.; Na, J.; Xing, Y. Adaptive optimal parameter estimation and control of servo mechanisms: Theory and experiments. IEEE Trans. Ind. Electron. 2020, 68, 598–608. [Google Scholar] [CrossRef]













| Controller | Tuning Parameters |
|---|---|
| LQRSMC | |
| ILQRSMC | |
| SONTSMC |
| (m) | (m) | (rad) | (rad) | IAC (m/s2) | |
|---|---|---|---|---|---|
| LQRSMC | 1.2750 | 0.1286 | 0.0847 | 0.0014 | 18.4326 |
| ILQRSMC | 0.6233 | 0.0666 | 0.1292 | 0.0025 | 16.0692 |
| SONTSMC | 0.5275 | 0.044 | 0.0938 | 0.0019 | 13.3387 |
| (m) | (m) | (rad) | (rad) | IAC (m/s2) | |
|---|---|---|---|---|---|
| LQRSMC | 1.5670 | 0.1436 | 0.0935 | 0.0015 | 18.4257 |
| ILQRSMC | 0.7055 | 0.0766 | 0.1348 | 0.0027 | 15.3816 |
| SONTSMC | 0.572 | 0.0482 | 0.1 | 0.0019 | 13.4628 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Le, H.D.; Nestorović, T. Second-Order Nonsingular Terminal Sliding Mode Control for Tracking and Stabilization of Cart–Inverted Pendulum. Machines 2026, 14, 111. https://doi.org/10.3390/machines14010111
Le HD, Nestorović T. Second-Order Nonsingular Terminal Sliding Mode Control for Tracking and Stabilization of Cart–Inverted Pendulum. Machines. 2026; 14(1):111. https://doi.org/10.3390/machines14010111
Chicago/Turabian StyleLe, Hiep Dai, and Tamara Nestorović. 2026. "Second-Order Nonsingular Terminal Sliding Mode Control for Tracking and Stabilization of Cart–Inverted Pendulum" Machines 14, no. 1: 111. https://doi.org/10.3390/machines14010111
APA StyleLe, H. D., & Nestorović, T. (2026). Second-Order Nonsingular Terminal Sliding Mode Control for Tracking and Stabilization of Cart–Inverted Pendulum. Machines, 14(1), 111. https://doi.org/10.3390/machines14010111

