Abstract
In this paper, the finite-time stabilization of the disturbed and uncertain rotary-inverted-pendulum system is studied based on the adaptive backstepping sliding mode control procedure. For this purpose, first of all, the dynamical equation of the rotary-inverted-pendulum system is obtained in the state-space form in the existence of external disturbances and model uncertainties with unknown bound. Afterward, a novel command filter is defined to enhance the control strategy by consideration of a virtual control input. Therefore, the differential signal is replaced by the output of the command filter to reduce the complicated computing in the control process. Hence, the finite-time convergence of the sliding surface to the origin is attested by using the backstepping sliding mode control scheme according to the Lyapunov theory. Besides, the unknown upper bound of the exterior perturbation and uncertainty is approximated providing the adaptive control technique. Finally, simulations and experimental results are done to demonstrate the impression and proficiency of the suggested method.
Keywords
1. Introduction
The inverted-pendulum (IP) system was first introduced as cart-inverted pendulum which has limitation related to its length (Huang et al., 2010, 2019a, 2019b; Roose et al., 2017; Vassiliou et al., 2017). For this reason, the IP system was extended by introducing the Rotary-IP (RIP) system which has two main components including the arm which can rotate in the horizontal plane and the pendulum connected to the arm which can rotate in the vertical plane (Dwivedi et al., 2017; Du et al., 2019; Fukushima et al., 2014; Nath and Dewan, 2017; Watson et al., 2019), whereas the RIP system is an underactuated system with interesting features including nonlinear characteristics and availability, so it is considered as an experimental case study (Kim et al., 2019; Mehedi et al., 2020; Park and Chwa, 2009; Pujol-Vazquez et al., 2018; Roy et al., 2021; Wang et al., 2014). All in all, stability of the position and angular velocity of the arm and up-right balancing of the pendulum are the fundamental control objectives concerned to the RIP system (Hamza et al., 2019; Huang et al., 2012; Li et al., 2017; Wang et al., 2020b; Yiğit, 2017). Due to this reason, some control methods have been applied in the target of stability and swing-up control of the RIP system (Hazem et al., 2020; Patil et al., 2018; Sun et al., 2018; Wasiwitono et al., 2021; Rahmani et al., 2021). In Govind and Kumar (2020), an LQR-based PID state-feedback controller for the stability and balancing control of the RIP system was designed. In addition, the experimental results based on the recommended method were provided to acknowledge the efficiency of this method. Nevertheless, finite-time stability control of the RIP system is not considered in this research. An optimal control technique based on the LQR scheme for the stability of the RIP system was introduced in Wang et al. (2020a) though the influence of the model uncertainty and external disturbance is not investigated in this article. In Sarkar et al. (2020), the stability and swing-up control for the RIP system was planned based on the trial and error LQR technique, and some experimental results for this suggested technique were implemented to confirm the proficiency. However, this method does not offer fast convergence and does not study the effects of the model uncertainty and exterior perturbation. In Al-Araji (2019), the finite-time swing-up control of the RIP system was designed and implemented based on the adaptive sliding mode control (ASMC) technique. Also, an intelligence culture-bees algorithm was used for the adjustment of control parameters even though this article does not present the experimental results to validate the proposed method. In Dhouibi et al. (2019), a second-order ASMC was proposed for the nonlinear system with unknown bounded uncertainties. Also, the IP system is considered as a case study to illustrate the effectiveness of the proposed method. However, the recommended method is not able to overcome the model uncertainties. In Dao and Nguyen (2021), an adaptive control technique based on the sliding mode observer was presented for the finite-time convergence of the wheeled IP system though the experimental results are not presented in the studied research. In Goswami et al. (2017), for the stability control of the wheeled IP system, an adaptive backstepping sliding mode control (SMC) technique was designed. Also, the control strategy was presented in two subsystems, so the control laws for each subsystem have been obtained based on the backstepping SMC combined Lyapunov theory. But the method of this paper suffers from the complicated computation, which is created because of employment of the backstepping technique. In Yang and Zheng (2018), the swing-up and stability control procedures of the RIP system are considered as two separate subsystems. An adaptive neural network method using linear matrix inequality (LMI) is designed for each subsystem. However, the proficiency of the suggested method is not investigated using experimental results. In Nguyen et al. (2020), a fuzzy algorithm based on the super-twisting SMC technique is proposed for the stability and swing-up control of the underactuated RIP system. Also, the efficiency of this method is acknowledged by experimental results. Nevertheless, the impression of external disturbance and model uncertainty is not considered in this work. In Guo et al. (2020), position control of the electro-hydraulic system is presented based on the adaptive backstepping procedure combined with the block-strict-feedback model. Moreover, an adaptive control scheme is adopted for high-robustness and performance of the system against hydraulic parametric uncertainties and external load. Also, this article presented a desirable performance using prescribed performance control. In Guo et al. (2018b), an adaptive neural network technique combined with the backstepping procedure and prescribed performance control is recommended for the control of the robot manipulator driven by the electro-hydraulic system. In Guo et al. (2018a), the finite-time tracking control of the electro-hydraulic system under both hydraulic parametric uncertainties and the external load is investigated using the backstepping scheme and fractional-type Lyapunov function.
From the review of the above researches which have investigated the stability control of the pendulum system, it can be found that no work has considered the problem of stabilization control of the uncertain RIP system with external disturbances by means of backstepping sliding mode control based on the command-filtered technique and it is still open in literature. In this paper, the command filter combined with the virtual control input is adopted to eliminate high-order derivatives of the virtual control inputs. Furthermore, for the removal of differential signals of the command filter, the compensation error system is employed. After that, the sliding mode variables based on the tracking errors and compensation error system are presented. Afterward, finite-time convergence of sliding surfaces is demonstrated by applying the backstepping strategy and Lyapunov stability theory. Furthermore, for high-robustness of the closed-loop system against external disturbances and parameter uncertainties, the unknown upper bounds of the perturbations are estimated via the adaptive control technique. Therefore, the substantial innovations of this study can be listed as follows: Recommendation of ASMC based on the finite-time backstepping procedure for stabilization of the perturbed and uncertain RIP system; presentation of the command filter system mixed with the compensation error system based on the virtual control input for the simplification of the control strategy; definition of the sliding mode variable based on the tracking errors and the compensation error system; and finite-time reachability of the sliding surface to the origin based on the Lyapunov concept and backstepping method.
The remainder of this paper can be reported as follows: In Section 2, the nonlinear dynamic model of the RIP system is obtained. In Section 3, the state-space form of the RIP system as well as the fundamental lemmas and assumptions are given. The control strategy with respect to the finite-time backstepping ASMC is presented in Section 4. Simulation and experimental results on the real RIP system are reported in Section 5. Conclusions of this paper are explained in Section 6.
2. Dynamic model of the RIP s ystem
The structure of the RIP system is illustrated in Figure 1. As one can observe that Diagram of the RIP system.
Presume dynamic equation of the rotary-inverted-pendulum is given as
3. Problem formulation and preliminaries
Based on this part, state-space formation of the disturbed and uncertain RIP system is defined first. Then, some assumptions and lemmas related to the control strategy are presented.
Assume that the state-space vector
For the bounded uncertainty and external disturbances
(Qian and Lin, 2001): If
(Huang et al., 2005): If
(Yu et al., 2018): For any system with the form of
4. D esign of adaptive command-filtered backstepping SMC
According to this section, the problem of stabilization for the disturbed and uncertain RIP system is examined. Due to this reason, a method based on the adaptive backstepping SMC scheme is designed. First, the command filter is offered as
(Dong et al., 2011): The responses of the compensation error system (29) and (30) are bounded and satisfy the following inequality Here, the sliding surface is proposed as Now, it can be pointed that the objective of this study is the finite-time stability control of the disturbed and uncertain RIP system applying the adaptive backstepping SMC technique.
If the disturbed and uncertain rotary-inverted-pendulum system is considered as (11–14) and adaptive laws are designed as equations (46) and (47), it can be proved that the sliding surfaces (32) and (33) converge to the region near the origin in the finite-time based on the adaptive backstepping SMC method. Therefore, the stabilization of rotary-inverted-pendulum is satisfied.
Presume that the candidate Lyapunov functional is constructed as
As it can be observed from the above-designed control strategy, the advantages of the proposed method are the decrease of high-order derivative of the virtual control input because of employment of a command filter system and removal of differential signals produced by the command-filter system due to the proposition of the compensation error system. The disadvantage of the suggested method is the existence of a little chattering in the control signals.
For the improvement and decrease of the chattering phenomenon in the command filter (22–24) and control input (43), the hyperbolic tangent function
5. Simulation and experimental results
5.1 Simulation results
In this section, first, the block diagram of the control strategy based on the finite-time backstepping ASMC procedure is shown in Figure 2. In addition, the values of the parameters related to the RIP as well as the design parameters are given in Tables 1 and 2, respectively. Simulation results are compared with the existed method in Huang et al. (2019b) (which is represented by [1] in the simulation figures). From Figure 3, it can be observed that trajectories related to the position of the arm and its velocity are stabilized in the finite time. Also, the stability of the pendulum and its velocity are accomplished as shown in Figure 4. Hence, the stability control of the RIP system is done based on the finite-time backstepping by means of ASMC. According to Figures 5 and 6, it is found that trajectories of the tracking error and compensating error system are converged to zero in the finite time. Besides, according to Figure 7, the trajectories of sliding surfaces are converged to the origin in the finite time by means of the finite-time backstepping ASMC method. The applied torque as control input of the RIP system is displayed in Figure 8, which possess no chattering phenomenon. Estimation of the upper bound of model uncertainties and external disturbance is shown in Figure 9, so it can be said that the approximation operation is done completely. Finally, with respect to Figure 10, the output of command filter Schematic of the proposed method applying finite-time backstepping. RIP system’s parameters. Control parameters. Time responses of stabilization of the arm. Time responses of position and velocity of the pendulum. Trajectories of the tracking error. Trajectories of the compensation error. Trajectories of the sliding surface. Applied torque by means of adaptive finite-time backstepping SMC. Estimation of the upper bound of disturbance. Time responses of tracking between 








5.2 Experimental results
In this part, some experimental outcomes are implemented on the real electro-mechanical engineering control system which is run by TeraSoft company in our research center at National Yunlin University of Science and Technology. The components of this system are shown in Figure 11. Moreover, this system has a support package in MATLAB® software as an embedded coder toolbox, which supports the processors Texas Instruments C2000. The laboratory environment for implementation of the suggested method on the real RIP system is displayed in Figure 12. The applied voltage for the motor in the control of the RIP system is calculated by the subsequent equation Components of the practical system. Experimental framework.

The following experimental results are performed in two different cases. In the first case, the external disturbances are ignored, while the impact of the external disturbances are considered in the second case. In Figure 13(a), the position and velocity of the arm are displayed, while Figure 13(b) shows the results in the existence of external disturbances which have been entered to the system in different directions as specified in the figure. It can be understood that the stability of the system is suitable under exterior perturbations. In Figure 14(a), the position and velocity related to the pendulum are illustrated, while Figure 14(b) presents the results in the appearance of the external disturbance with various direction. It can be observed that the pendulum is stabilized completely using the proposed method against exterior perturbation. In Figure 15, time responses of the applied voltage in the DC motor is displayed. Hence, the validation of the suggested method is proved. According to these experimental results, it can be observed that the recommended method possesses high efficiency in practice. Position and velocity of the arm: (a) without external disturbance and (b) with external disturbance. Position and velocity of the pendulum: (a) without external disturbance and (b) with external disturbance. Motor input voltage: (a) without external disturbance and (b) with external disturbance.


6. Conclusion
In this study, an adaptive command filter based backstepping sliding mode control technique has been recommended for finite-time stabilization control of the perturbed and uncertain rotary-inverted-pendulum system. Whereas the complex calculation leads to the difficulty in the control strategy, a command filter based on the virtual control input has been considered. Consequently, the output of the command filter is replaced instead of the differential virtual control signal. In addition, the command-filtered backstepping sliding mode control technique is adopted to prove the finite-time reaching of the sliding surface to the origin. Finally, the efficiency of the suggested method has been demonstrated using simulation and experimental results. The extension of the advised control technique for event trigger-based nonlinear dynamical systems in the presence of model uncertainty, input saturation, and exterior disturbance will be investigated in the future research work.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
