Abstract
This paper presents a novel robust adaptive dual layer sliding mode control (ADLSMC) for the problem of high accuracy tracking trajectory of robot manipulator in the presence of uncertainties and external disturbances. This new control scheme has a dual layer structure. The first layer drives the robot manipulator system reaches the global nonlinear sliding surface in finite time, and the second layer tackles the values of the two control gains overestimation problem. Moreover, compared with the traditional super-twisting with time delay estimation algorithm, the proposed controller can realize not only set-point tracking but also dynamic tracking, which is very widely used in practice. The stability of the closed–loop system and the finite time convergence are analyzed using Lyapunov techniques. The effectiveness of the proposed method is demonstrated by simulations and experimental studies.
Keywords
Introduction
In the last two decades, robotic manipulators have attracted a great deal of attention because of their extensive use in various sophisticated tasks, such as chirurgical ones, industrial ones and others (Hu et al., 2012; Huang et al., 2016; Mehdi and Boubaker, 2011; Van et al., 2019; Yang et al., 2018; Zhang et al., 2018). Meanwhile, the requirements for high control performance are also increasing, including fast convergence, robust control, and high trajectory tracking accuracy. How to deal with the complexity of the internal robot model dynamics and the presence of external disturbance has always been a challenge for robotic manipulator (Golestani et al., 2016; Zhang et al., 2018).
Therefore, to achieve high tracking performance in the presence of uncertainties for robotic manipulator becomes inevitable, which needs further study and improvement (Cuong and Wang, 2016). Until now, to cope with the trajectory tracking control of these complex systems, lots of advanced nonlinear control strategies have been widely employed, such as a backstepping control (BC) (Hu et al., 2012; Van et al., 2019), finite time control (FTC) (Galicki, 2016; Golestani et al., 2016; Yang et al., 2018; Zhang et al., 2018; Zhao et al., 2010), neural network control (NNC) (Chen et al., 2020; Cuong and Wang, 2016; Sun et al., 2011), observer-based control (OBC) (Chen et al., 2012; Chen et al., 2019; Sun and Liu, 2020; Yang et al., 2012), adaptive control (AC) (Ankur and Akhilesh, 2017; Mobayen et al., 2017; Utkin and Poznyak, 2013; Hu et al., 2020), and active disturbance rejection control (ADRC) (Castaneda and Juarez, 2015). These control schemes are conceptually straightforward and have obtained great popularity theoretically as well as practically.
One potential control method to appear, due to its simplicity structure and robustness against system uncertainties, is sliding mode control (SMC) (Ankur and Akhilesh, 2017; Feng et al., 2002; Mobayen et al., 2017; Moreno and Osorio, 2008; Shtessel et al., 2010; Utkin and Poznyak, 2013; Yu et al., 2005). Conventional sliding mode controller is called the first-order sliding mode controller (1-SMC). Its design is based on a chosen slide surface function in system state space and the system trajectories to converge to the chosen surface by a high gain switching law. It should be noted that the high gains of the SMC controllers are usually chosen to be larger than the upper-bound of uncertainties (Guo et al., 2017; Guo, 2018). This excessive choice can ensure fast convergence and superior robustness but may cause the sever control chattering phenomenon, which is the major drawback of SMC. Consequently, in order to eliminate chattering phenomenon, so-called second order sliding mode controller (2-SMC) appeared. In particular, the super twisting is a popular second order sliding mode control algorithm since its inception (Edwards and Shtessel, 2014, 2015, 2016a, 2016b).
Recently, there is more interest in the adaptive super twisting algorithm (ASTA) and new researches have been proposed (Barth et al., 2016; Kali et al., 2018; Mobayen et al., 2017; Yassine et al., 2018). The amplitude of chattering is proportional to the magnitude of switching gain. From the perspective of eliminating chattering, one possible adaptation scheme is to reduce this amplitude to the minimum admissible value dictated by the conditions for guaranteeing a sliding motion (Kobayshi and Furuta, 2007; Plestan et al., 2010). However, in a succession of promising papers, Lyapunov methods have been discovered successfully to analyze the properties of the super twisting algorithm for uncertain systems for the first time (Moreno and Osorio, 2008; Shtessel et al., 2010). The existing literature on adaptive approaches can be broadly split into two broad categories. The first one most extensively researched is involved in developing adaptive terms to increase the switching control gains so that a second order sliding is established. Numerous publications relating to such control structures can be found (Alwi and Edwards, 2013; Shtessel et al., 2012). The second category of research papers tries to find the smallest gain values whilst guaranteeing a sliding motion. This idea has been subsequently pursued by Guo et al. (2017), Guo (2018), and Edwards and Shtessel (2014, 2015, 2016a, 2016b) through a so-called adaptive dual concept.
Most of them presented are only simulation results and, generally, the control methods are based on simplified models without modeling errors and external disturbances. In this paper, the design methodology is motivated by Edwards and Shtessel (2014), a novel robust adaptive dual layer sliding mode control (ADLSMC) for the problem of high accuracy tracking trajectory of robot manipulator in the presence of uncertainties and external disturbances is proposed. The main contribution of this paper in comparison with the related are listed as follows:
A novel robust ADLSMC for the problem of high accuracy tracking trajectory of robot manipulator in the presence of uncertainties and external disturbances is proposed. The control scheme allows the magnitude and rate of change of the two gains to adapt whilst guaranteeing a sliding motion.
By introducing the equivalent control technique, the proposed ADLSMC method can guarantee the adaptive gain minimization, which is quite different from holding the constant value gain like other existing adaptive sliding mode controls.
A new control technique has been suggested to establish strong robust performance and finite time convergence, the proposed controller can realize not only set-point tracking, but also dynamic tracking, which is very widely used in practice.
The remainder of this article is organized as follows. Section 2 introduces mathematical modeling of n-link robotic manipulator and problem formulation. In Section 3, the proposed ADLSMC controller is designed and applied in robotic manipulator. The closed-loop stability analysis of robotic manipulator system is also presented in this section. In Section 4, numerical simulations on a 2-Degree of Freedom (DOF) robot manipulator are proposed. Besides, practical implementation strategy are performed on 2-DOF robot arm and compared with the classical STA with time delay to demonstrate the proposed controller efficacy. Finally, concluding remarks are drawn in Section 5.
Mathematical modeling and control objective
Mathematical model of robot manipulator
The dynamic equation of n-DOF robotic manipulator with external disturbances is given by the following general equations (Chen et al., 2019)
where
where the notations
Consequently, the dynamic robot manipulator equation (1) can be rewritten as
Then, in the presence of the uncertainties and disturbances, the dynamic equation (3) can be expressed as
From equation (4), the simplified dynamical model can be written as
where
Problem formulation
The control objective is to design a robust ADLSMC for high accuracy tracking a desired known trajectory of robot manipulator in the presence of uncertainties and external disturbances
where
Consider system (6), suppose there is a continuous function
(1) is positive definite function on
(2) There exist real numbers
then system (6) is locally finite time stable. If
Robust ADLSMC
In this section, a robust ADLSMC will be designed to ensure the finite time convergence of the error to zero and tracking a desired known trajectory even in the presence of uncertainties and external disturbances. Figure 1 show the architecture of the closed-loop system.

Block diagram of the closed-loop system.
Design of global nonlinear sliding surface
The global nonlinear sliding surface for system (5) can be defined as
with
where
where considering
The above equation can be rewritten as
where
Design of adaptive dual layer sliding mode
Then, the classical super twisting algorithm is formulated as (Levant, 2003, 2006)
where
If the boundary
Equivalent control
Introduce a new variable
where
where
The time varying scalar
where
where
Then, a robust ADLSMC is proposed in the following theorem.
if the gains
whilst the adaptive law (18)–(21) can make the adaptive gain
Then, the proof is split into three steps (Guo et al., 2017; Moreno and Osorio, 2008).
Step 1: If the gain satisfies
When the system is on the reaching phase, we can obtain
Hence
The gain
Step 2: If the gain satisfies
In this step, for the stability analysis, a Lyapunov function in quadratic form is selected
where
then, let us calculate the time derivative of
where
From the above condition
where
Using equation (24),the obtained matrix
One has
where
Combining with equation (34), we can obtain
where
From Lemma1
Step 3: On the sliding surface
Introduce an error variable
where
There always exists
The following Lyapunov function candidate is considered for the system (17) and (40)
The derivate of the above equation is obtained as follows
In order to prove
Step 1: Derive the expression of
From equation (42), we can get
where
It is easy to get
If
From equation (46), the following inequality holds
If
It follows that
If
Similarly, from equation (46), the following inequality holds
Combining equation (47), equation (48) and equation (49), we can get the following important inequality
Step 2: Derive the expression of
The proof is complete.
Substituting equation (49) and equation (51) into equation (44) yields
From the above equation, we can see that both
hence
and therefore
This completes the proof of Theorem 1.
where
Based on the above results and analysis, the proposed robust ADLSMC of the robot manipulator is presented as follows
where the adaptive gains
Analysis of closed loop stability of robot manipulator
The stability of the closed loop of robot manipulator system is analyzed in the following Theorem 2.
Let
From Assumption 2, we can obtain
where the above equation is the solution of the following first order differential equation
Since
Simulation and experiment
Simulation results
To prove the effectiveness of the proposed control scheme, simulations are conducted on a robot manipulator, as shown in Figure 2. The simulation is divided into two studies. Case 1 verifies the set-point tracking, and Case 2 demonstrates the dynamic tracking.

2-DOF robot manipulator.
The dynamic equation of robot manipulator is given as (Feng et al., 2002)
The parameters of the robotic manipulator are listed in Table 1.
Parameters of 2-DOF robot manipulator.
The control objective aims to design a controller to enable the angles of the joints to track desired reference trajectory well while time extends infinitely. The effectiveness of the proposed robust ADLSMC scheme is shown through simulations and comparisons with a super twisting algorithm with time delay estimation control in Yassine et al. (2018). The simulations are performed by ignoring
Simulation parameters for both controllers.
Case 1. The desired trajectory is defined by
The simulation results are given in Figure 3. The two used controllers guarantee high trajectory tracking accuracy even in the presence of uncertainties and disturbances. However, it is noteworthy that the chattering phenomenon is significantly larger with super twisting algorithm with TDE. As we can see, both the proposed control scheme and the control method in Yassine et al. (2018) demonstrate good dynamic performances, in the presence of external disturbances. However, the significant difference is that the proposed method can find the smallest gain values that will maintain sliding and counteract uncertainties. Generally speaking, larger controller gains can lead to larger chattering, therefore it has advantage of reducing the chattering. This proves the superiority of the proposed control scheme.

Simulation results via proposed ADLSMC controller and super twisting algorithm with TDE.
Case 2. The desired trajectory is selected dynamic tracking as follows
Under the dynamic tracking conditions, the trajectory tracking simulation results and corresponding analysis are as follows.
Figure 4 shows the tracking errors under super twisting algorithm with TDE controller. As we can see, the positions of joints 1 and 2 cannot be tracking the known desired trajectory. Furthermore, the tracking errors do not converge to a neighborhood around the zero as well, and large oscillations of the tracking errors appear. Obviously, the chattering in STA with TDE algorithm is larger than that in the proposed ADLSMC controller, which may lead to the robotic manipulator system instability and poor performance. The proposed controller in Figure 4 also demonstrates the positions of joints 1 and 2 in comparison with the STA with TDE algorithm. It is noted that using the proposed controller, the positions of joints 1 and 2 track the desired trajectory quickly and achieve efficient tracking performance in contrast with the super twisting algorithm with TDE controller. In general, larger control gains can lead to faster transient response and robustness against uncertainties and disturbances, which may also result in larger chattering phenomenon. The control method presented in this paper can find the smallest control gain values whilst still will guarantee a sliding motion. That is to say, it has advantage from the chattering mitigation viewpoint. As a result, the robotic system under the proposed controller has better control accuracy and dynamic property.

Simulation results via proposed ADLSMC controller and STA with TDE algorithm.
Experiment results
In this section, to further prove the effectiveness of the proposed controller, experiments are implemented in real time using joint 2 and joint 3 of the QJR6S industrial manipulator. The rated torques are 1.9 N.m and 1.3 N.m, and gear reduction rations are 80.8008:1 and 81.0008:1 for joints 1 and joint 2, respectively. But the other joints are locked during the experiments (Chen et al., 2019). Joint positions can be obtained by using the encoders. The servo drivers can provide estimate of joint velocities by means of its internal algorithm. We used an ARM-A8 control system with Texas Instruments operating system (TIOS) to conduct the experiments. The TIOS can improve the real time performance and the stability of control system. The ADLSMC controller is written in C++ under Windows 10 operating system. The control system utilizes EtherCAT to transfer data between the controller and servo drivers. The layout of the experimental system is demonstrated in Figure 5.

Layout of the experimental system.
To verify the advantages of the proposed ADLSMC controller, super-twisting with time delay estimation algorithm is still tested for comparison in experiments. The desired known trajectory
From Figure 6, we can see that the proposed ADLSMC controller ensures the finite time convergence of measured trajectory to the desired trajectory with high precision due to the good performance overcomes the system uncertainties. The control torque with our designed controller can tracking the actual control torque appropriately after 2.8 seconds without chattering phenomenon. The values of the control torque are acceptable for our robot manipulator. Comparing the obtained results shown in Figure 6, it is obvious that the proposed ADLSMC controller gave a better performance than the STA with TDE algorithm in the presence or absence of uncertainties and external disturbances rejection and chattering reduction.

Experiment results via proposed ADLSMC controller and STA with TDE algorithm.
To evaluate the performance of the four controllers and make a quantitative comparison, we employ two performance indices as follows. Integral of the time multiplied by the absolute value of the error (ITAE)
Integral of the square value (ISV) of the control input
ITAE is an error criterion to evaluate the entire error track tracking performance, where tr is the total running time. ITAE penalizes errors that last for a long time because time is an important factor in it. ISV represents energy consumption. The performance indices obtained from simulations are shown in Table 3.
Comparison of the controller performance.
Obviously, the robotic system under the proposed ADLSMC controller has better control accuracy, and less energy consumption than STA with TDE method.
Conclusion
In this paper, we investigate a novel robust ADLSMC with global nonlinear sliding surface for the problem of high accuracy tracking trajectory of robot manipulator in the presence of uncertainties and external disturbances. This new control scheme has a dual layer structure. The first layer drives the robot manipulator system to reach the global nonlinear sliding surface in finite time, and the second layer tackles the values of the two control gains overestimation problem. Moreover, compared with the traditional super-twisting with time delay estimation algorithm, the proposed controller can realize not only set-point tracking, but also dynamic tracking, which is very widely used in practice. The stability of the closed –loop system and the finite time convergence are analyzed using Lyapunov techniques. The effectiveness of the proposed method is demonstrated by simulations and experimental studies. It should be noted that the proposed technique can be applied to a large class of nonlinear control problems even in the presence of uncertainties and external disturbances.
Footnotes
Acknowledgements
The authors wish to thank the Editor and anonymous reviewers for their time and their constructive comments and suggestions to review and improve the quality of this paper.
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) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This research project was supported by Tianjin Science and Technology Support Key Project, China, under Grant No. 19YFZCSN00360; China Postdoctoral Science Foundation, under Grant No. 2020M680445; Postdoctoral Science Foundation of Beijing Academy of Agriculture and Forestry Sciences of China, under Grant No. 2020-ZZ-001.
