Abstract
To achieve high-performance trajectory tracking for a manipulator, this study proposes a novel sliding mode control strategy incorporating a nonlinear disturbance observer. The observer is designed to estimate unknown models in real-time, enabling feedforward compensation for various uncertainties such as modeling errors, joint friction, and external torque disturbances. The control law is formulated by integrating the Backstepping method, Lyapunov theory, and global fast terminal sliding mode theory, ensuring global convergence to zero within finite time and enhancing system robustness. To address the inherent chattering issue in sliding mode control, a hybrid reaching law is developed by combining the exponential and power reaching laws. Additionally, the improved-fal (Imp-fal) function replaces the sign function in the switching control law, improving system response speed, preventing overshoot, and optimizing gain beyond the threshold value. Through simulation and comparative experiments conducted using MATLAB/Simulink, the controller model exhibited a 16.4% average reduction in the mean square value of tracking errors compared to existing control strategies, with improvements observed in various performance indicators. When applied to a self-developed three-degree-of-freedom manipulator experimental platform, the controller demonstrated a roughly 55% increase in tracking accuracy and a decrease in response time by approximately 45% compared to existing strategies. The experimental results validate the effectiveness, superiority, and practicality of the control strategy, providing a feasible solution for high-performance trajectory tracking in robotic arm systems.
Similar content being viewed by others
Introduction
With the ongoing advancement of scientific and technological innovations, manipulators have gained widespread utilization across numerous sectors and domains, such as industry, the military, aerospace, and medical treatment, and have higher requirements for the stability, accuracy, and rapidity of their trajectory tracking. However, due to the manipulator system’s intricate nature, encompassing multivariable, strong coupling, time-varying, and profound nonlinearity, it poses a complex controlled system. It will be affected by many uncertain factors, such as modeling error, joint friction, and external unknown torque disturbances in the actual control process, so it is difficult to establish an accurate dynamic model, which will cause trouble to realize the trajectory tracking control of the manipulator.
Addressing the challenges encountered in the trajectory tracking control process of manipulators, numerous control methods have been put forward by researchers to enhance its efficiency. These include PID control1,2, model predictive control (MPC)3,4, adaptive control5,6, backstepping control7,8, fuzzy control9, neural network control10, H∞ control4 and sliding mode control11,12. Amongst these, sliding mode control (SMC) stands out as a discontinuous nonlinear approach that categorizes the system’s state into sliding mode motion and approaching motion. This is achieved by designing a sliding mode surface and dynamically adjusting the controller’s structure based on the system’s current state, ensuring it follows the desired trajectory. SMC’s discontinuous switching and its resilience against changes in system parameters and disturbances contribute significantly to its robust nature, making it a popular choice for motion control in nonlinear systems. However, traditional SMC relies on a linear sliding mode surface. While this ensures that the system state ultimately approaches the desired trajectory, it only guarantees periodic asymptotic convergence to the equilibrium point and fails to eliminate the inherent chattering issue associated with SMC. To address this, a fast-terminal sliding mode controller is introduced in13. This controller builds on the strengths of traditional SMC, approximating the inverse dynamic solution of the manipulator and compensating for external, unknown disturbances. It achieves rapid convergence of the manipulator system state within a finite time. Nevertheless, this control algorithm falls short of demonstrating global convergence. In14,15, a second-order model uncertainty and disturbance estimator (UDE) is crafted to assess the disturbance term, while an adaptive technique is employed to regulate the estimation error. Additionally, a continuous and nonsingular fast-terminal sliding mode control algorithm is introduced, enabling the manipulator to achieve swift convergence and precise trajectory tracking within a limited timeframe. Nevertheless, there is a need to enhance the tracking stability of the controller once it reaches the sliding mode surface. In16, the manipulator’s intricate system is decomposed into low-order subsystems using the backstepping method, Lyapunov theory, and global fast terminal sliding mode theory. This approach not only guarantees the robustness and global convergence of the system but also boosts its response speed and stability.
While the global fast terminal sliding mode control effectively addresses the issue of the system state asymptotically converging to zero within a finite time, it does not eliminate the chattering problem resulting from high-frequency switching. Currently, the primary methods to tackle this challenge involve designing an enhanced reaching law or substituting the sign (sgn) function in the switching control term with a continuous smooth function. In17, an improved double power reaching law with variable coefficients is chosen to expedite the convergence speed of the state variable during the reaching motion phase and mitigate the chattering phenomenon in the controller output. In18, an advanced reaching law sliding mode control strategy leveraging time delay estimation is introduced. The integration of the saturation (sat) function with the fast power-reaching law effectively enhances the system’s dynamic response speed and suppresses the chattering phenomenon. Furthermore, in19, the nonlinear fal function is introduced during controller design as a replacement for the sgn function, thereby reducing the chattering effect of sliding mode control and enhancing both system stability and tracking accuracy. In20, advancements have been made to enhance the performance of the nonlinear fal function, thereby boosting the system’s response speed and anti-interference capabilities. Additionally, the literature21 introduces a novel fuzzy adaptive hyperspiral second-order sliding mode trajectory tracking control method. This innovative approach enables the manipulator to achieve precise trajectory tracking in complex environments and effectively suppresses the system’s chattering phenomenon. In22,23, a novel hybrid reaching law is designed that combines the power reaching law with the constant speed reaching law. This integration reduces the time and variable-speed delay associated with the system state approaching the sliding mode surface. Furthermore, the tangent (tan) function is employed as a replacement for the sign (sgn) function, effectively mitigating the inherent chattering phenomenon associated with sliding mode control.
Simultaneously, aiming to negate the impact of uncertain factors, including modeling inaccuracies in the manipulator system, joint friction, and external, unpredictable torque disturbances, and to facilitate feedforward compensation24, introduced a novel sliding mode control approach grounded in an extended state observer (ESO). This approach eliminates the need for a precise manipulator model. By enlarging the state space to accommodate unknown disturbances and parameter perturbations, the unmodeled dynamics and coupling components are promptly estimated and compensated. In25, a nonlinear disturbance observer (NDO) is employed to instantly assess the observable segment of the overall disturbance. The observer’s estimated value is then utilized to adjust the controller’s output torque, enabling feedforward compensation.In26, a robust controller is designed by combining sliding mode control with adaptive algorithms, addressing the issue of finite-time convergence. Furthermore, an adaptive mechanism is devised through an auxiliary system with bounded compensation terms, effectively solving the problem of input saturation. However, the research is limited to numerical simulations and lacks real-world experimental validation. In22, two control laws, namely H ∞ and Model Predictive Control (MPC), are proposed to achieve high-performance trajectory tracking for a six-degree-of-freedom robotic arm. However, the drawback is that it results in significant overshoot in controlling the robotic arm, and the proposed method has not been validated on a physical platform.
In conclusion, with the objective of enhancing the dynamic quality of sliding mode and approach motions and addressing challenges such as the system state’s inability to converge to zero within a finite timeframe and the chattering phenomenon observed in the system’s control torque, this paper introduces a novel sliding mode control approach for manipulators that relies on a nonlinear disturbance observer. This method fulfills the control prerequisites for stability, precision, and swiftness in intricate manipulator systems. The primary contributions and innovations of this work are outlined as follows:
-
(1)
The nonlinear gain matrix form is improved upon, and a Nonlinear Disturbance Observer (NDO) is extended and designed to achieve real-time feedforward compensation for unknown external disturbance torques.
-
(2)
Utilizing the recursive concept of the Backstepping method and Lyapunov theory, complex robotic arm systems are decomposed into lower-order subsystems. Based on stability principles, virtual control variables are constructed, leading to the proposal of a Backstepping Global Fast Terminal Sliding Mode Control (BGFTSMC) strategy, accompanied by the design of an equivalent control law. Analysis of the sliding surface characteristics validates its global fast convergence, fortifying the system’s robustness against external disturbances and parametric uncertainties.
-
(3)
A hybrid reaching law is introduced by weighted combination of exponential and power reaching laws. This innovative method ensures effective time convergence during the reaching process. Furthermore, the traditional sign (sgn) function within the switching control law is replaced with an improved-fal (Imp-fal) function. This modification effectively mitigates the chattering issue during the control process and optimizes the gain when the system error exceeds the threshold value.
Dynamics model of the manipulator
-
The Lagrange modeling method can be employed to simplify the dynamic model of the spatial 3-DOF manipulator system, resulting in Eq. (1):
where \(q, \dot{q}, \ddot{q}\) are the angle, angular velocity and angular acceleration of each joint of the manipulator respectively, \(M\left(q\right)\in {R}^{3\times 3}\) is the positive definite inertia matrix, \(C\left(q,\dot{q}\right)\in {R}^{3\times 3}\) is the Coriolis force and centrifugal force matrix, \(G\left(q\right)\in {R}^{3\times 1}\) is the joint gravity vector, and \(\tau \in {R}^{3\times 1}\) is the joint driving torque vector.
Considering that the manipulator is a multi-variable, strong coupling, time-varying, and highly nonlinear complex controlled system, there are many uncertain factors in the dynamic model, such as modeling error, joint friction, and external unknown torque disturbance. The actual dynamic model is expressed as Eq. (2):
where \({M}_{0}=\hslash M, {C}_{0}=\hslash C, {G}_{0}=\hslash G\) are the nominal value, \(\hslash\) is the modeling coefficient, \(\varDelta M, \varDelta C, \varDelta G\) are the unmodeled and modeling error value, \({F}_{d}\left(\dot{q}\right)\in {R}^{3\times 1}\) is the joint friction torque, and \({\tau }_{d}\) is the external unknown torque disturbance.
If the modeling error, joint friction, and external unknown torque disturbance in the actual dynamic model are combined and defined as the total disturbance, the actual dynamic model can be rewritten as Eq. (3):
where \(D={\tau }_{d}-{F}_{d}\left(\dot{q}\right)-\varDelta M\left(q\right)\ddot{q}-\varDelta C\left(q,\dot{q}\right)\dot{q}-\varDelta G\left(q\right)\) is the total disturbance of the system, which is estimated by the nonlinear disturbance observer.
The manipulator system shown in Eq. (3) generally has the following dynamic characteristics:
-
(1)
\({M}_{0}\left(q\right)\) represents a positive, definite, and symmetric matrix that possesses bounded properties. There are known normal numbers \({c}_{1}\), \({c}_{2}\) and the column vector \(\text{x}\). It satisfies: \({c}_{1}{\left|\right|x\left|\right|}^{2}\le {x}^{T}{M}_{0}\left(q\right)x\le {c}_{2}{\left|\right|x\left|\right|}^{2}\).
-
(2)
Matrix \({\dot{M}}_{0}-2{C}_{0}\) is a skew-symmetric matrix with column vector \(\text{x}\), which satisfies \({x}^{T}({\dot{M}}_{0}-2{C}_{0})x=0\).
In order to better control the manipulator system, the state space method in modern control theory is introduced, so that \({x}_{1}=q\), \({x}_{2}=\dot{q}\), and the dynamics equation of the manipulator represented by Eq. (3) is transformed into a state space expression, as shown in Eq. (4).
Considering the follow-up control strategy, the following assumptions are made, and the assumptions do not affect the effectiveness of the control:
-
(1)
The anticipated angle (\({q}_{d}\)) and angular acceleration (\({\dot{q}}_{d}\)) of each joint in the manipulator are predetermined, while the actual angle (\(q\)) and angular acceleration (\(\dot{q}\)) of each joint can be measured and are continuously constrained within certain limits.
-
(2)
The unknown total disturbance (\(D\)) is bounded and continuously differentiable, and its upper bound is \(\left|\right|D\left|\right|<\widehat{D}\).
Design and stability analysis of a new sliding mode controller
The control system structure is shown in Fig. 1, which is mainly composed of the following parts: (1) Nonlinear disturbance observer (section “Nonlinear disturbance observer design and convergence analysis”); (2) The equivalent control term designed by the new sliding mode surface (section “Backstepping global fast terminal sliding mode controller design and stability analysis”); (3) The switching control term is improved by hybrid reaching law and Imp-fal function (section “Design of hybrid reaching law and Imp-fal function”).
Control system structure.
Nonlinear disturbance observer design and convergence analysis
-
A nonlinear disturbance observer (NDO) is proposed in reference24, which effectively achieves feedforward compensation for torque. In this paper, by improving and extending its nonlinear gain matrix form, a novel NDO is designed, enabling real-time compensation for uncertain disturbances. It can be seen from Eq. (3) that the total disturbance is combined by modeling error, joint friction, and an external unknown torque disturbance. Using the above basic idea, the nonlinear disturbance observer is designed as Eq. (5):
where \(\widehat{D}\) is the estimated value of the nonlinear disturbance observer, \({D}_{NL}\left(q,\dot{q}\right)\) is the nonlinear disturbance gain matrix.
According to Eq. (5), considering that it is difficult to obtain the angular acceleration signal of each joint in practical application, the angular acceleration signal obtained by differentiating the angular velocity signal will introduce noise to increase the instability of the system. Therefore, it is necessary to further design the nonlinear disturbance observer.
Step 1.
An auxiliary function is constructed to define the internal state variables of the observer, as shown in Eq. (6).
where \(Z\) is the internal state variable of the observer, \(p\left(q,\dot{q}\right)\) is the nonlinear function vector to be designed.
In order to avoid the introduction of an angular acceleration signal, the nonlinear disturbance gain matrix has the following relationship with the nonlinear function, as shown in Eq. (7):
Step 2.
The state variables are determined by deriving from both sides of Eq. (6) and combining with Eqs. (5) and (7). The nonlinear disturbance observer without angular acceleration can be designed as Eq. (8):
Step 3.
The observation error of a nonlinear disturbance observer is defined by Eq. (9):
The dynamic equation of observation error can be obtained by deriving from both sides of Eq. (9) and combining with Eqs. (5)–(8), as shown in Eq. (10).
Since the total disturbance is unknown, assuming that the characteristic change speed of \(D\) relative to the nonlinear disturbance observer is slow, i.e.\(\dot{D}=0\), the dynamic equation of observation error is sorted out as Eq. (11):
Step 4.
In order to prove that the observation error converges asymptotically, the Lyapunov function is defined as shown in Eqs. (12) and (13).
Analyze Eq. (13): when \(\xi =0\), \({V}_{ndo}=0\); When \(\xi \ne 0\), because \({D}_{NL}\left(q,\dot{q}\right)\) is a positive definite matrix, \(\dot{{V}_{ndo}}\le 0\), satisfies the second method of Lyapunov theory, and the observation error converges asymptotically.
In essence, once the nonlinear disturbance observer compensates for the disturbance, the overall disturbance within the manipulator system can be effectively substituted by the observation error. Consequently, the dynamics model of the manipulator can be expressed as Eq. (14):
Backstepping global fast terminal sliding mode controller design and stability analysis
Define the expected values of each joint angle, angular velocity and angular acceleration of the manipulator as \({q}_{d}\), \({\dot{q}}_{d}\), \({\ddot{q}}_{d}\), then the tracking error of the controller can be expressed as Eq. (15):
Step 1.
The complex system of the manipulator is disassembled into low-order subsystems by using the recursive idea of the Backstepping method and Lyapunov theory32,33,34. Concurrently, to uphold the stability of the control system, the Lyapunov function is defined as outlined in Eqs. (16) and (17):
In order to make the first subsystem converge to \({q}_{d}\), a virtual control variable \({d}_{var}\) is constructed, whose expression is Eq. (18):
where \(k\) is a constant greater than 0, \(s\) is the sliding mode surface designed in this paper.
Combining Eqs. (15) and (18), the tracking error can be simplified as Eq. (19):
Therefore, the stability criterion of the first subsystem is Eq. (20):
Analyze Eq. (20): when \(s\to 0\), \({\dot{V}}_{1}=-k{e}^{T}e\le 0\). According to the theorem, the tracking error of the closed-loop control system of the manipulator meets the requirements of stability.
Step 2.
In order to solve the problem that the system state fails to converge to 0 within the effective time, this paper proposes a global fast terminal sliding mode (GFTSM)27,28, as shown in Eq. (21).
where \(\alpha\), \(\beta\) are constants greater than 0, \(p/o>1\), and \(sgn\left(e\right)\) is a symbolic function.
In order to make the second subsystem converge to 0, the convergence of the proposed sliding mode surface is analyzed. Let \({t}_{1}\) be the time from the initial state to the equilibrium state, and there is a constant \(\theta\) greater than 0, so that \({t}_{1}\le \frac{s}{\theta }\) holds. At this time, the system state can reach the sliding surface at \({t}_{1}\); Let \({t}_{2}\) be the time from \(e\left({t}_{1}\right)\) to \(e\left({t}_{1}+{t}_{2}\right)=0\) of the system, and set appropriate parameter values to make \({t}_{2}=W(\alpha ,\beta ,p,o)\) known. At this time, the system state can converge to the equilibrium point in a finite time, \({t}_{2}\).
By deriving both sides of Eq. (21) at the same time, Eq. (30) can be obtained:
Step 3.
In order to ensure the stability of the closed-loop system and keep the system state always on the sliding mode surface, the Lyapunov function is defined as follows, as shown in Eq. (23).
Therefore, the stability criterion of the second subsystem is Eq. (24):
Analyze Eq. (24): when \(s\to 0\), \({\dot{V}}_{2}\le 0\). According to the theorem, the tracking error of the closed-loop control system of the manipulator meets the requirements of stability.
To sum up, the equivalent control term \({\tau }_{eq}\) of the controller is designed according to Eqs. (4), (19), and (24), as shown in Eq. (25).
Design of hybrid reaching law and imp-fal function
In this paper, an effective hybrid reaching law is proposed, which combines the exponential reaching law with the power reaching law in a weighted way30,31, and its expression is shown in Eq. (26).
where \({\mu }_{1}\), \({\mu }_{2}\) are weight coefficients, which can be adjusted according to the control requirements of the system, \({k}_{1}\), \({k}_{2}\) are positive diagonal matrices, and \(z\) is power value.
The controller switching control item \({\tau }_{sw}\) is designed according to Eq. (26), as shown in Eq. (27).
In order to solve the chattering problem of the system output control torque, the sign (sgn) function in the switching control term is replaced. Therefore, further improvements are made on the basis of the fal function39, so the Imp-fal function is Eq. (28).
where \(b, c\), and \(d\) are constant greater than 0, \({f}_{1}\) is the gain of linear feedback, and \({f}_{2}\) is the gain of exponential error.
The Imp-fal function not only retains the characteristics of the fal function but also optimizes its gain when the error is large. The value of \(b\) determines the linearity of the function. The smaller the value of \(b\), the stronger the nonlinearity of the function; The value of \(c\) determines the linear interval of the function. The larger the value of \(c\), the larger the linear interval of the function; The value of \(d\) determines the valve range from linear to nonlinear and can be properly controlled according to the gain selected by the controller. At the same time, when the error exceeds the valve range value, the anti-interference ability is also strengthened.
Further improve the switching control item \({{\tau }_{sw}}^{\ast }\) according to Eqs. (27) and (28), as shown in Eq. (29).
To sum up, according to the equivalent control design idea of the manipulator, the output control torque \(\tau\) of the manipulator is composed of equivalent control \({\tau }_{eq}\) and switching control \({{\tau }_{sw}}^{\ast }\)[35,36,37,38], which is shown in Eq. (30).
Numerical simulation and physical verification
Numerical simulation
In order to verify the effectiveness of the control strategy proposed in this paper, the 3-DOF manipulator model derived in section “Dynamics model of the manipulator” is taken as the controlled object, and the controller is simulated.
The specific forms of each matrix in the dynamics equation of the manipulator are as follows:
of which:
Considering that the viscous friction coefficient is \({\eta }_{fi}\) and the Coulomb friction coefficient is \({\mu }_{fi}\), the total external disturbance \(D\) is designed as:
The model parameters and controller parameters of the manipulator are shown in Tables 1 and 2, respectively:
In this paper, the simulation experiment is carried out in MATLAB/Simulink, and the built model is shown in Fig. 2. During the simulation experiment, the ode45 differential equation solver was used, the simulation time was set to 10s, and the solving step was a variable step.
Controller model.
For the nonlinear disturbance observer, if the form of the nonlinear function vector is set to \(p\left(q,\dot{q}\right)=456\left[\dot{{q}_{1}};\dot{{q}_{1}}+\dot{{q}_{2}};\dot{{q}_{1}}+\dot{{q}_{2}}+\dot{{q}_{3}}\right]\), then the disturbance gain matrix \({D}_{NL}\left(q,\dot{q}\right)=456 L{{M}_{0}\left(q\right)}^{-1}\),where \(L\) is the third-order unit lower triangular matrix.
For the dynamic equation of the controller, the modeling coefficient \({\hslash }=0.98\), the modeling error is \(2\%\).
Set the initial state of the system as: joint angle \({q}_{1}={q}_{2}={q}_{3}=0.5\,rad\), joint angular velocity \(\dot{{q}_{1}}=\dot{{q}_{2}}=\dot{{q}_{3}}=0\).
Set the desired trajectory of the three joints as:
In order to reflect the advantages of the controller (NDO-BGFTSMC) designed in this paper, ablation experiments were carried out on it. It was divided into a new sliding mode controller without a nonlinear disturbance observer (BGFTSMC), a traditional linear sliding mode controller with a nonlinear disturbance observer (NDO-LSMC), and a nonsingular fast terminal sliding mode controller (NDO-NFTSMC).
BGFTSMC: In order to reflect the observation effect of the nonlinear disturbance observer, only the new sliding mode controller designed in this paper is used to investigate the improvement of the tracking effect of the observer.
NDO-LSMC: In order to reflect the global convergence of the new sliding mode controller and suppress the chattering effect, a traditional linear sliding mode control law is designed:
where \(L=\left[5\:0\:0;0\:5\:0;0\:0\:5\right]\) and other parameters are consistent with Table 2.
NDO-NFTSMC: In order to reflect the response speed, reduce overshoot, and suppress the chattering effect of the new sliding mode controller, a nonsingular fast terminal sliding mode control law is designed:
Among them, \(\alpha =7\), \(\beta =2\), \(\gamma =2\), \(p=9\), \(q=5\), and other parameters are consistent with Table 2.
The simulation results are as follows: The observation effect of the nonlinear disturbance observer on the total disturbance is shown in Fig. 3; The output torque compensation of the manipulator by the nonlinear disturbance observer is shown in Fig. 4; The output torque of the controller is shown in Fig. 5; The final tracking effect for the desired trajectory and desired speed is shown in Figs. 6 and 7; The trajectory tracking error is shown in Fig. 8.
Observation effect of nonlinear disturbance observer on total disturbance.
It can be seen from Fig. 3 that the maximum total disturbance torque \(D\) of the three joints are \(40 N\cdot m\), \(30 N\cdot m\), \(20 N\cdot m\) respectively, accounting for about \(75\%\) of the peak output torque of the controller, so it is particularly important to weaken the total disturbance. From the overall observation trend, the estimated value of the nonlinear disturbance observer basically coincides with the actual total disturbance. It can be seen from the local enlarged figure that the total disturbance generates a step disturbance at 1.57s, the observer quickly tracks the target trajectory within 0.04s, and the overshoot is less than \(5\%\) of the total disturbance value. Therefore, the nonlinear disturbance observer accurately estimates and compensates for the total disturbance, which enhances the control accuracy and robustness of the manipulator system.
Output torque compensation of manipulator by nonlinear disturbance observer.
It can be seen from Fig. 4 that if the output torque before correction is used as the driving torque, the system cannot be accurately controlled. It can be seen from the local enlarged drawing that even if the direction of the driving torque is changed, the corrected output torque is closer to the output torque under the idealized model. Therefore, the observer can effectively suppress the influence of chattering and improve the control accuracy of the system.
Output torque of controller.
Figure 5 shows the output torque comparison diagram of four different controllers. By comparing the NDO-BGFTSMC designed in this paper with the NDO-LSMC and the NDO-NFTSMC, it can be seen that the NDO-BGFTSMC responds quickly to the change of joint velocity direction, the output torque is stable, and the other two controllers produce an obvious chattering phenomenon. This experiment shows that the Imp-fal function can effectively weaken the system chattering phenomenon. It can be seen from the local enlarged drawing that the convergence speed of NDO-BGFTSMC is faster than that of BGFTSMC when the driving direction changes, and there is no overshoot.
Track tracking effect.
It can be seen from Figs. 6 and 7 that the tracking performance of the NDO-BGFTSMC designed in this paper is superior to the other three controllers in all aspects. Among them, in the initial stage of 0–0.8 s, due to the too large amplitude of the output torque of the NDO-NFTSMC, there is a large deviation between the tracking trajectory and the expected trajectory, and the overshoot phenomenon occurs when the speed tracking is 0.4s. The other three controllers track the target trajectory and speed better. When the speed direction changes (1.55–1.88 s), the BGFTSMC using a single sliding mode control cannot compensate for the unknown disturbance in the speed tracking process, resulting in a large deviation, while the other three controllers with nonlinear disturbance observers can better track the speed, reflecting their stronger anti-interference ability. At the same time, it can be further concluded from the local enlarged view that the tracking accuracy of NDO-BGFTSMC is higher than that of NDO-NFTSMC and NDO-LSMC. Therefore, from the final tracking effect, it can be concluded that the tracking performance of NDO-BGFTSMC is better.
Speed tracking effect.
Tracking error of controller.
It can be seen more intuitively from Fig. 8 that, compared with other controllers, NDO-BGFTSMC has faster convergence speed, minimum steady-state error, no overshoot, and is almost unaffected by the total disturbance torque, indicating that the controller has good robustness. The mean square deviation is used as the measurement index of control accuracy in quantitative analysis, and its calculation method is formula (31):
where \(N=500\) is the number of samples, and \(\sigma \left(e\right)\) is the mean square deviation of the tracking error.
Because the initial state of the system is not zero and the controller itself has tracking characteristics, which will affect the mean square error. Therefore, the tracking error is sampled after 0.245s when each controller first realizes tracking, and the final result is shown in Table 3. Compared with BGFTSMC, the mean square deviation of the joint tracking error of NDO-BGFTSMC decreased by \(1.3\%\), \(2.5\%\), and \(6.8\%\), respectively; compared with NDO-LSMC, the mean square deviation of the joint tracking error of NDO-BGFTSMC decreased by \(1.7\%\), \(1\%\), and \(0.8\%\), respectively; compared with NDO-NFTSMC, the mean square deviation of the joint tracking error of NDO-BGFTSMC decreased by \(15.3\%\), \(9.8\%\), and \(24.1\%\), respectively. According to the data in the table and the above analysis, the superiority of NDO-BGFTSMC is verified.
Physical verification
The practical control effectiveness of the NDO-BGFTSMC was validated on a self-developed robotic manipulator experimental platform. This platform comprises a upper computer, the robotic arm itself, and articulated motors32. The experimental procedure encompasses the following steps: Initially, a three-degree-of-freedom robotic arm model was constructed using the Robotics Toolbox in MATLAB/Simulink, with the desired tracking trajectory being solved through inverse dynamics. Subsequently, the desired tracking trajectory was initialized on the host computer interface, and the control algorithm was executed. Finally, the output torque values were transmitted to the articulated motors via the CAN bus to drive the motion of the robotic arm. Simultaneously, encoders on the articulated motors detected the actual rotor angles and converted them into joint angles, which were then transmitted back to the host computer’s receiving function in real-time through CAN communication, forming a closed-loop control system40, as illustrated in Fig. 9.
Closed-loop control system.
The relevant parameters of the experimental platform are detailed as follows: the masses of the three connecting rods are 0.2 kg, 0.52 kg, and 0.1 kg, respectively, with corresponding lengths of 80 mm, 190 mm, and 140 mm. The controller parameters remain consistent with those utilized in the simulation experiments, with the joint angles initialized at 0.5 rad. The experimental sampling period is set to 1 ms. Figure 10 depicts the experimental platform.
Experimental platform.
Figure 11 illustrates the performance of the controller in the trajectory tracking experiment. The upper computer interface clearly demonstrates that the NDO-BGFTSMC exhibits robustness in controlling the robotic arm, achieving precise tracking of the target trajectory with a steady-state error maintained within 0.1 radians, thereby validating the effectiveness of the control strategy. Through multiple experimental validations, it is observed that compared to the LSMC controller, the NDO-BGFTSMC controller reduces the mean square error by approximately 55%. Furthermore, when the direction of trajectory tracking changes, the response time of the NDO-BGFTSMC is shortened by 45% compared to the LSMC. Figure 11 also presents the performance of the controller in terms of the output torque of Joint 2. The experimental results indicate that the NDO-BGFTSMC significantly suppresses output chattering within a certain range in the presence of disturbances, resulting in a more stable and smooth output torque. This fully demonstrates its superior anti-disturbance performance.
Upper computer interface.
In summary, the superiority of the NDO-BGFTSMC can be attributed to its unique algorithm design and optimized parameter tuning. In practical production and daily life, the high precision and rapid response of the NDO-BGFTSMC hold promise for enhancing productivity and reducing error rates, making it particularly suitable for applications such as automated production lines and robot navigation scenarios.
Summary
In this paper, a novel sliding mode control approach for the manipulator, grounded in a nonlinear disturbance observer, is introduced. This approach addresses the challenge of trajectory tracking control in manipulator systems where the upper bound of total disturbance is known. The controller is derived through a fusion of the Backstepping method, Lyapunov theory, and global fast terminal sliding mode theory, thereby guaranteeing system stability and achieving global asymptotic convergence. Subsequently, the inclusion of a nonlinear disturbance observer and an enhanced reaching law not only compensates for the system’s output torque but also suppresses chattering. Through simulation experiments, it is demonstrated that the nonlinear disturbance observer designed in this paper can swiftly and accurately estimate disturbance values, significantly reducing reliance on specific model information. The results derived from both numerical simulations and physical validation experiments clearly indicate that the controller possesses substantial advantages in control accuracy, response swiftness, and tracking proficiency. This methodology not only augments the convergence velocity of tracking errors but also appreciably diminishes overshoot and output torque vibrations, thereby bolstering the stability and robustness of the control system against disturbances. In order to further investigate the problem of trajectory tracking in scenarios where the upper bound of total disturbances is unknown, subsequent research will proceed along two avenues. On one hand, the integration of an extended state observer, adaptive techniques, and sliding mode control will be considered in future experiments. On the other hand, the research will extend to the control of multi-degree-of-freedom manipulators, aiming to provide a more versatile and generalizable control strategy within the field of robotic manipulators.
Data availability
Data availability: Since this experimental data is the basis for the subsequent experimental platform, the data set generated and analyzed during the current study is not public but can be obtained from the corresponding author according to reasonable requirements.
References
Pan, Y., Li, X. & Yu, H. Efficient PID tracking control of robotic manipulators driven by compliant actuators. IEEE Trans. Control Syst. Technol.27(2), 915–922 (2018).
Khan, A. H. & Li, S. Sliding mode control with PID sliding surface for active vibration damping of pneumatically actuated soft robots. IEEE Access8, 88793–88800 (2020).
Faroni, M. et al. Predictive inverse kinematics for redundant manipulators with task scaling and kinematic constraints. IEEE Trans. Robot.35(1), 278–285 (2018).
Zhu, Y., Qiao, J. & Guo, L. Adaptive sliding mode disturbance observer-based composite control with prescribed performance of space manipulators for target capturing. IEEE Trans. Ind. Electron.66(3), 1973–1983 (2018).
Iqbal, J. Modern control laws for an articulated robotic arm. Eng. Technol. Appl. Sci. Res.9(2), 4057–4061 (2019).
Nikdel, N. et al. Adaptive backstepping control for an n-degree of freedom robotic manipulator based on combined state augmentation. Robot. Comput. Integr. Manuf.44, 129–143 (2017).
Wai, R. J. & Muthusamy, R. Fuzzy-neural-network inherited sliding-mode control for robot manipulator including actuator dynamics. IEEE Trans. Neural Netw. Learn. Syst.24(2), 274–287 (2012).
Spong, M. W. & Ortega, R. On adaptive inverse dynamics control of rigid robots. IEEE Trans. Autom. Control35(1), 92–95 (1990).
Zhang, S. et al. Neural networks-based fault tolerant control of a robot via fast terminal sliding mode. IEEE Trans. Syst. Man. Cybern. Syst.51(7), 4091–4101 (2019).
Fallaha, C. et al. Sliding mode control with model-based switching functions applied on a 7-DOF exoskeleton arm. IEEE/ASME Trans. Mechatron.26 (1), 539–550 (2020).
Yu, X. & Zhihong, M. Fast terminal sliding-mode control design for nonlinear dynamical systems. IEEE Trans. Circ. Syst. I Fundam. Theory Appl.49(2), 261–264 (2002).
Petit, F., Daasch, A. & Albu-Schäffer, A. Backstepping control of variable stiffness robots. IEEE Trans. Control Syst. Technol.23(6), 2195–2202 (2015).
Shendge, P. D., Suryawanshi, P. V. & Patre, B. M. Robust sliding mode control for systems with noise and unmodeled dynamics based on uncertainty and disturbance estimation (UDE). Int. J. Comput. Appl.1(9), 37–43 (2010).
Van, M., Ge, S. S. & Ren, H. Finite time fault tolerant control for robot manipulators using time delay estimation and continuous nonsingular fast terminal sliding mode control. IEEE Trans. Cybern.47(7), 1681–1693 (2016).
Eliker, K. & Zhang, W. Finite-time adaptive integral backstepping fast terminal sliding mode control application on quadrotor UAV. Int. J. Control Autom. Syst.18, 415–430 (2020).
Pan, J., Li, W. & Zhang, H. Control algorithms of magnetic suspension systems based on the improved double exponential reaching law of sliding mode control. Int. J. Control Autom. Syst.16, 2878–2887 (2018).
Xie, M. et al. Improved sliding mode control with time delay estimation for motion tracking of cell puncture mechanism. IEEE Trans. Circ. Syst. I Regul. Pap.67(9), 3199–3210 (2020).
Boiko, I. & Fridman, L. Analysis of chattering in continuous sliding-mode controllers. IEEE Trans. Autom. Control50(9), 1442–1446 (2005).
Xie, J. et al. Design of adrc controller for induction motor based on improved fal function. In 2022 14th International Conference on Advanced Computational Intelligence (ICACI), 216–220 (IEEE, 2022).
Xie, K. et al. Super-spiral sliding mode controller design for single‐winding bearingless switched reluctance motor. IET Electr. Power Appl.16(12), 1492–1501 (2022).
Brahmi, B. et al. Improvement of sliding mode controller by using a new adaptive reaching law: theory and experiment. ISA Trans.97, 261–268 (2020).
Gandikota, G. & Das, D. K. Disturbance observer–based adaptive boundary layer sliding mode controller for a type of nonlinear multiple-input multiple‐output system. Int. J. Robust Nonlinear Control29(17), 5886–5912 (2019).
Le, Q. D. & Kang, H. J. Finite-time fault-tolerant control for a robot manipulator based on synchronous terminal sliding mode control. Appl. Sci.10(9), 2998 (2020).
Guo, K. et al. Non-singular terminal sliding mode controller with nonlinear disturbance observer for robotic manipulator. Electronics12(4), 849 (2023).
Huang, B. et al. Finite-time distributed formation control for multiple unmanned surface vehicles with input saturation. Ocean Eng.233, 109158 (2021).
Zhang, F. et al. Global adaptive output feedback tracking control of robot manipulators. IEEE Trans. Autom. Control45(6), 1203–1208 (2000).
Vo, A. T. & Kang, H. J. An adaptive terminal sliding mode control for robot manipulators with non-singular terminal sliding surface variables. IEEE Access7, 8701–8712 (2018).
Jie, W. et al. Trajectory tracking control using fractional-order terminal sliding mode control with sliding perturbation observer for a 7-DOF robot manipulator. IEEE/ASME Trans. Mechatron.25(4), 1886–1893 (2020).
Lu, P., Sandy, T. & Buchli, J. Adaptive unscented Kalman filter-based disturbance rejection with application to high precision hydraulic robotic control. In 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 4365–4372 (IEEE, 2019).
Lu, Q., Ren, B. & Parameswaran, S. Uncertainty and disturbance estimator-based global trajectory tracking control for a quadrotor. IEEE/ASME Trans. Mechatron.25(3), 1519–1530 (2020).
Lee, J., Chang, P. H. & Jin, M. Adaptive integral sliding mode control with time-delay estimation for robot manipulators. IEEE Trans. Ind. Electron.64(8), 6796–6804 (2017).
Baek, J., Jin, M. & Han, S. A new adaptive sliding-mode control scheme for application to robot manipulators. IEEE Trans. Ind. Electron.63(6), 3628–3637 (2016).
Huang, B. et al. Energy Tradeoff-oriented Quasi-optimal Distributed Affine Formation Maneuver Control for Electric Marine Surface vehicles (IEEE Transactions on Transportation Electrification, 2024).
Hameed, A. H. et al. Backstepping-based quasi-sliding mode control and observation for electric vehicle systems: a solution to unmatched load and road perturbations. World Electr. Veh. J.15(9), 419 (2024).
Huang, B. et al. Distributed optimal coordinated control for unmanned surface vehicles with interleaved periodic event-based mechanism. IEEE Trans. Veh. Technol. (2024).
Abdul-Adheem, W. R. et al. Novel active disturbance rejection control based on nested linear extended state observers. Appl. Sci.10 (12), 4069 (2020).
Hameed, A. H., Al-Samarraie, S. A. & Humaidi, A. J. A novel control solution to nonlinear systems of unmatched perturbations with unknown bounds. Meas. Control (2024).
ul Islam, R., Iqbal, J. & Khan, Q. Design and comparison of two control strategies for multi-DOF articulated robotic arm manipulator. J. Control Eng. Appl. Inform.16(2), 28–39 (2014).
Ullah, M. I. et al. Non-linear control law for articulated serial manipulators: Simulation augmented with hardware implementation. Elektronika Ir. Elektrotechnika22(1), 3–7 (2016).
Iqbal, J. et al. Towards sophisticated control of robotic manipulators: an experimental study on a pseudo-industrial arm. Strojniški vestnik-J. Mech. Eng.61(7–8), 465–470 (2015).
Funding
1. The Key Research and Development Program of the National Science and Technology Program Application Center. Number: 2100041. 2. The Research Capacity Enhancement Initiative of Beijing Technology and Business University. Number: 19008024042.
Author information
Authors and Affiliations
Contributions
All authors have contributed to the conceptualization and design of this study. Literature collection, formula derivation, model construction, and data analysis were conducted by Keyou Guo and Haoze Zhang. The initial draft of the manuscript was written by Haoze Zhang, and all authors have commented on the first few versions of the manuscript. All authors have read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Guo, K., Zhang, H., Wei, C. et al. Novel sliding mode control of the manipulator based on a nonlinear disturbance observer. Sci Rep 14, 30656 (2024). https://doi.org/10.1038/s41598-024-77125-y
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41598-024-77125-y
Keywords
This article is cited by
-
Disturbance-tolerant quadrotor control using a hybrid LQR and super-twisting sliding mode approach
Scientific Reports (2026)
-
Lyapunov-Barrier-Enabled Neural Control for Guaranteed Precision in Dual-Arm Robot Manipulation
International Journal of Control, Automation, and Systems (2026)
-
Direct torque control for a six phase induction motor using a fuzzy based and sliding mode controller
Scientific Reports (2025)













