Computers, Materials & Continua DOI:10.32604/cmc.2022.025247 | |
Article |
An Adaptive Real-Time Third Order Sliding Mode Control for Nonlinear Systems
1Computer Engineering Department, Prince Sattam Bin Abdelaziz University, Alkharj, 24567, KSA
2Department of Computers and Control Engineering, Tanta University, Tanta, 13457, Egypt
*Corresponding Author: Ahmed M. Elmogy. Email: A.elmogy@psau.edu.sa
Received: 17 November 2021; Accepted: 16 March 2022
Abstract: As most real world systems are significantly nonlinear in nature, developing robust controllers have attracted many researchers for decades. Robust controllers are the controllers that are able to cope with the inherent uncertainties of the nonlinear systems. Many control methods have been developed for this purpose. Sliding mode control (SMC) is one of the most commonly used methods in developing robust controllers. This paper presents a higher order SMC (HOSMC) approach to mitigate the chattering problem of the traditional SMC techniques. The developed approach combines a third order SMC with an adaptive PID (proportional, integral, derivative) sliding surface to overcome the drawbacks of using PID controller alone. Moreover, the presented approach is capable of adaptively tuning the controller parameters online to best fit the real time applications. The Lyapunov theory is used to validate the stability of the presented approach and its feasibility is tested through a comparison with other conventional SMC approaches.
Keywords: SMC; uncertain nonlinear systems; PID; lyapunov theory
Nonlinear control covers a wide range of systems that exist in many real world applications. These applications include robot control [1], satellite control [2], and spacecraft control [3]. These nonlinear systems are often modeled by nonlinear differential equations. Several rigorous techniques have been developed to handle these systems. Examples of these techniques are feedback linearization control (FLC) [4], back-stepping control (BSC) [5], intelligent control (e.g., neural networks, and fuzzy logic) [6,7], adaptive control [6,7], and SMC [1,8]. Each technique can be applied to certain systems and characteristics. Thus, there is no general solution for all types of nonlinear control systems.
Generally, feedback linearization is the one of the most attractive techniques used to tackle nonlinear systems as it is based on transforming nonlinear systems into simpler forms. However, this technique does not provide efficient solutions for significant nonlinear systems which have high nonlinearities and uncertainties. Backstepping control (BSC) is also one of the most popular techniques used to control higher order systems. Nevertheless, the main disadvantage of BSC is the requirement of exact system model which cannot be guaranteed for nonlinear systems with inherent uncertainties. Thus, adaptive control is combined with BSC to mitigate the requirement of exact model. On the other hand, SMC shows great capabilities of dealing with nonlinearity and uncertainties [9–11]. The more the degree of nonlinearity and uncertainty, the more need to design robust controllers for control systems.
Tackling uncertain nonlinear systems is very challenging especially for real time control systems [12]. Uncertainties occur mainly due to un-modeled high frequency dynamics, and neglected nonlinearities [13]. These uncertainties usually affect the system performance, and stability [14]. Accordingly, many researchers have been working towards developing robust controllers that are able to mitigate these uncertainties [15–17]. Among many developed solutions, SMC is one of the most popular and effective solutions that can cope with significant uncertainties, and parameters’ variations [9–11]. Moreover, SMC technique shows a strong capability to compensate for external perturbations.
As SMC techniques are very efficient in dealing with significant uncertainties, and nonlinearities, they have been widely used for decades especially for nonlinear control applications [18,19]. The first order SMC is the simplest structure used in the literature to cope with uncertainties and external disturbances [20]. Although, the conventional (first order) SMC presents a good solution for uncertainties compensation in the control system design process, it is suitable only for systems with output of degree of one. Furthermore, it suffers from the chattering problem which sometimes degrades the system performance, and affects the system stability. Thus, many attempts have been seen to replace the conventional SMC with higher order SMC (HOSMC) techniques that are suitable for higher order systems and able to attenuate the chattering occurred with conventional SMC. Super-twisting SMC (STSMC) is one popular extension of the conventional SMC [21]. The STSMC is a second order structure of SMC that is able to reduce the oscillations that occurs around the sliding surface during the switching control phase of the SMC. The main power of STSMC is that it does not require the implementation of the derivative of the sliding variable which is the main challenge of other HOSMC techniques [22–24]. Nevertheless, STSMC design process requires the accurate setting of many control gains as it affects the performance and stability of the control system. This is a very challenging process. Accordingly, many STSMC techniques have been developed to tackle this challenge such as adaptive STSMC [25], adaptive dual layer STSMC [26], and integral STSMC [27].
Ensuing in the same path, this paper presents a new HOSMC approach that is able to overcome the chattering problem occurred in the conventional SMC. The developed approach uses a third order SMC combined with an adaptive PID sliding surface. This combined approach overcomes the drawbacks of using PID controller alone. Furthermore, the presented approach is capable of adaptively tuning the controller parameters online which is perfectly fit with real time applications. By the combination of adaptive control with the SMC, the developed approach allows of the relaxation of the boundness condition of uncertainty level. The proposed approach shows a better performance than other SMC approaches in terms of chattering attenuation, and tracking error. The stability of the developed control approach is validated through Lyapunov theory. The main contributions of this work can be summarized as follows:
[1] Presenting a real time third order SMC approach for nonlinear systems able to mitigate the chattering problem associated with other conventional SMC approaches. The proposed approach is capable of achieving excellent performance even with the existence of all types of uncertainties and disturbances. The proposed approach is capable of estimating uncertainties and thus no worries about the upper bound problem associated with working withuncertainties.
[2] An adaptive PID tuning algorithm is presented to reach the optimal estimation of PID controller parameters which are adaptively changing during the online control process.
[3] A quadratic Lyapunov function is suggested and used to validate the proposed approach stability considering the estimated uncertainties. The developed control law guarantees that the system will reach the sliding surface in a finite time.
The rest of this paper is organized as follows. Section 2 presents the proposed adaptive third order SMC approach. Some simulations are introduced in Section 3. Conclusions and some future directions are drawn in Section 4.
The proposed Adaptive Real Time PID-based Third Order SMC (APID-TOSMC) is vindicated in this section.
A controlled system can be modeled as [19,28]:
where
where
The lumped uncertainty is defined as:
The switching surface for the APID-TOSMC can be demarcated as:
The addressed problem in this paper is to design an adaptive online Tuned PID-based APID-TOSMC for nonlinear systems such that the system response x(t) strongly follows a reference desired signal xd(t).
The control effort of APID-TOSMC is designed as:
where
The third derivative of
Substituting
The equivalent control effort
To prove the system stability, a Lyapunov function is chosen as:
where
The derivative of Lyapunov function
Substituting for
Using Eqs. (8) and (12) becomes:
The switching control effort
where the switching control gain
For
Substituting from Eq. (16) into Eq. (15) and eliminating similar terms yields:
By using
The switching gain
With the aim to assess the performance of (APID-TOSMC) approach, some simulations are done using Matlab software considering the stabilization of the inverted pendulum system. Different types of uncertainties are considered. Two problems are assessed; setpoint control and path following control.
The developed APID-TOSMC approach in this paper is analyzed in comparison with the second order SMC approach in [28] and the adaptive third order SMC (ATOSMC) approach in [29]. The simulation parameters and conditions are set exactly as in [28] and the algorithm in [29] is implemented with same parameters and conditions. The desired angular position is set as:
Figs. 2 and 3 illustrate that the APID-TOSMC controller can achieve favorable and satisfied trajectory tracking control performance. Additionally, the proposed APID-TOSMC control methodology is able to perfectly control the inverted pendulum. The results show the developed controller is very robust even in the existence of external perturbations and uncertainties compared to other approaches.
Figs. 4–6 show the adaptive PID sliding surface values for the set point tracking control of APID-TOSMC controller.
To more evaluate the developed approach, three parameters are used; integral absolute error (IAE), integral time absolute error (ITAE), and integral of squared error. Tab. 1 shows the obtained results of our approach is excellent compared with the approach proposed in [28] and has a better performance than the approach in [29].
Also, Fig. 7 shows a comparison between the control signal of the presented APID-TOSMC approach and the approach proposed in [28,29]. As shown, the control signal for our proposed approach has less chattering than the other approaches.
The second case of control to consider in this section is the trajectory tracking control of the inverted pendulum. Again, the simulation parameters and conditions are set exactly as in [28] and the algorithm in [29] is implemented with same parameters and conditions. The external perturbation is set to:
Figs. 10–12 show how the PID sliding surface values are adaptively changing over time.
Fig. 13 demonstrates the control signals of the APID-SOSMC and APID-TOSMC approaches.
It has been shown in this section that the developed controller (APID-TOSMC) attained better path following response than the controllers in [28,29]. It is also obvious that the proposed controller reduces the chattering and thus yields favorable path following response.
Performance comparison for path following control problem is shown in Tab. 2. As shown, the proposed controller achieves better performance compared with the controllers proposed in [28,29] in the case of path following control.
An adaptive PID-based higher order SMC approach for nonlinear systems is presented in this paper. The proposed approach integrates a third order SMC with PID controller with a view of combining their advantages and overcoming their drawbacks. The proposed approach is adaptively tuning the PID parameters in the real time to be used properly for any real time applications. By combining the adaptive control with the SMC, the developed approach allows for the relaxation of the boundness condition of uncertainty level in conventional SMC. The robustness and efficiency of the developed approach is validated mathematically and through simulations. The developed approach achieves lower chattering and error that other conventional SMC approaches. Future work may consider working toward finding a generalized SMC approach to able to vary the order of the SMC to any value as needed.
Acknowledgement: The authors extend their appreciation to the Deputyship for Research & Innovation, Ministry of Education in Saudi Arabia for funding this research work through the Project Number (IF-PSAU-2021/01/17796).
Funding Statement: This work is funded by the Deputyship for Research & Innovation, Ministry of Education in Saudi Arabia through the project number (IF-PSAU-2021/01/17796).
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the present study.
1. W. Elawady, Y. Bouteraa and A. Elmogy, “An adaptive second order sliding mode inverse kinematics approach for serial kinematic chain robot manipulators,” Robotics Journal, MDPI, vol. 9, no. 1, pp. 1–29, 2020. [Google Scholar]
2. S. Alshamali and E. Aljuwaiser,“Design of robust observer-based backstepping control for a satellite control system, ” Mathematical Problems in Engineering, vol. 2019, pp. 1–9, 2019. [Google Scholar]
3. X. Zhu, J. Chen and Z. Zhu, “Adaptive sliding mode disturbance observer-based control for rendezvous with non-cooperative spacecraft,” Acta Astronautica, vol. 183, pp. 59–74, 2021. [Google Scholar]
4. A. Akbarimajd, M. Olyaee, B. Sobhani and H. Shayeghi, “Nonlinear multi-agent optimal load frequency control based on feedback linearization of wind turbines,” IEEE Transactions on Sustainable Energy, vol. 10, no. 1, pp. 66–74, 2019. [Google Scholar]
5. M. Khan, I. Ahmad and F. Abideen, “Output voltage regulation of fc-uc based hybrid electric vehicle using integral backstepping control,” IEEE Access, vol. 7, pp. 65693–65702, 2019. [Google Scholar]
6. Z. Ma and H. Ma, “Adaptive fuzzy backstepping dynamic surface control of strict-feedback fractional order uncertain nonlinear systems,” IEEE Transactions on Fuzzy Systems, vol. 28, no. 1, pp. 122–133, 2019. [Google Scholar]
7. H. Mo and G. Farid, “Nonlinear and adaptive intelligent control techniques for quadrotor uav a survey,” Asian Journal of Control, vol. 21, no. 3, pp. 1–20, 2019. [Google Scholar]
8. A. Vo and H. Kang, “Adaptive neural integral full-order terminal sliding mode control for an uncertain nonlinear system,” IEEE Access, vol. 7, pp. 42238–42246, 2019. [Google Scholar]
9. Y. Zhang and Z. Shi, “Sliding mode control for uncertain t-s fuzzy singular biological economic system,” IEEE Access, vol. 7, pp. 14387–14395, 2019. [Google Scholar]
10. C. Liu, B. Jiang, R. Patton and K. Zhang, “Decentralized output sliding-mode fault-tolerant control for heterogeneous multiagent systems,” IEEE Transactions on Cybernetics, vol. 50, no. 12, pp. 4934–4945, 2020. [Google Scholar]
11. C. Jiao, W. Jiangyun and W. Weihong, “Robust adaptive control for nonlinear aircraft system with uncertainties,” Applied Sciences, vol. 10, no. 12, pp. 1–16, 2020. [Google Scholar]
12. D. Fontanelli, L. Palopoli and L. Abeni, “The continuous stream model of computation for real-time control,” in 2013 IEEE 34th Real-Time Systems Symposium, Vancouver, BC, Canada, pp. 150–159, 2013. [Google Scholar]
13. L. Zhang, Y. Wang and Y. Hou, “Fixed-time sliding mode control for uncertain robot manipulators,” IEEE Access, vol. 7, pp. 149750–149763, 2019. [Google Scholar]
14. M. Sarfraz, F. Rehman and I. Shah, “Robust stabilizing control of nonholonomic systems with uncertainties via adaptive integral sliding mode: An underwater vehicle example,” International Journal of Advanced Robot Systems, vol. 14, pp. 1–11, 2017. [Google Scholar]
15. C. Chin and W. Lin, “Robust genetic algorithm and fuzzy inference mechanism embedded in sliding-mode controller for uncertain underwater robot,” IEEE/ASME Transactions on Mechatronics, vol. 23, no. 2, pp. 655–666, 2018. [Google Scholar]
16. W. Dong and K. Kuhnert, “Robust adaptive control of nonholonomic mobile robot with parameter and nonparameter uncertainties,” IEEE Transactions on Robotics, vol. 21, no. 2, pp. 261–266, 2005. [Google Scholar]
17. G. Bartolini, A. Pisano and E. Usai, “On the finite time stabilization of uncertain nonlinear systems with relative degree three,” IEEE Trans. on Automatic Control, vol. 52, no. 11, pp. 2134–2141, 2007. [Google Scholar]
18. X. Zheng, X. Jian, X. Wenzheng and H. Du, “Nonlinear integral sliding mode control for a second order nonlinear system,” Journal of Control Science and Engineering, vol. 2015, pp. 1–7, 2015. [Google Scholar]
19. J. Iqbal, M. Khan, B. Said and C. Khelifa, “Nonlinear control systems–a brief overview of historical and recent advances,” Nonlinear Engineering, vol. 6, no. 4, pp. 301–312, 2017. [Google Scholar]
20. V. Utkin, A. Poznyak, Y. Orlov and A. Polyakov, “Conventional and high order sliding mode control,” Journal of the Franklin Institute, vol. 357, no. 15, pp. 10244–10261, 2020. [Google Scholar]
21. Y. Li and C. Peng, “Super-twisting sliding mode control law design for attitude tracking task of a spacecraft via reaction wheels,” Mathematical Problems in Engineering, vol. 2021, pp. 1–13, 2021. [Google Scholar]
22. D. Michael, F. Thierry, K. Annemarie and P. Wilfrid, “A novel higher order sliding mode control scheme,” Systems and Control Letters, Elsevier, vol. 58, no. 2, pp. 102–108, 2008. [Google Scholar]
23. A. Ianagui and A. Tannuri, “High order sliding mode control and observation for dp systems,” IFAC, vol. 51, no. 29, pp. 110–115, 2018. [Google Scholar]
24. Y. Zhao and W. Qiao, “A Third-order sliding-mode controller for DC/DC converters with constant power loads,” in 2011 IEEE Industry Applications Society Annual Meeting, Orlando, FL, USA, pp. 1–8, 2011. [Google Scholar]
25. H. Ren, L. Zhang and C. Su, “Adaptive super twisting sliding mode control with fractional order sliding surface for trajectory tracking of a mobile robot,” Journal of Control Science and Engineering, vol. 2020, pp. 1–13, 2020. [Google Scholar]
26. J. Filho and E. Nunes, “Multivariable adaptive dual layer super-twisting algorithm,” IFAC, vol. 53, no. 2, pp. 6219–6224, 2020. [Google Scholar]
27. F. Tria, K. Srairi, B. Mohamed and M. Benbouzid,“An integral sliding mode controller with super-twisting algorithm for direct power control of wind generator based on a doubly fed induction generator,” International Journal of Systems Assurance Engineering and Management, vol. 8, pp. 762–769, 2017. [Google Scholar]
28. N. Moawad, W. Elawady and A. Sarhan, “Adaptive PID sliding surface-based second order sliding mode controller for perturbed nonlinear systems,” in 2017 12th Int. Conference on Computer Engineering and Systems (ICCES), Egypt, 2017. [Google Scholar]
29. M. Van, S. S. Ge and H. Ren, “Robust fault-tolerant control for a class of second-order nonlinear systems using an adaptive third-order sliding mode control,” in IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 47, no. 2, pp. 221–228, 2017. [Google Scholar]
This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |