Abstract
To address the issue of low trajectory tracking accuracy in six-degree-of-freedom robotic arms, this study proposes a trajectory tracking control strategy that integrates a Radial Basis Function Neural Network (RBFNN) with non-singular fast terminal sliding mode (NFTSM) control. (1) The Lagrangian method is utilized to develop the dynamic model of the robotic arm. At the same time, a non-singular fast terminal sliding surface is designed to accelerate trajectory convergence and resolve the singularity problem commonly associated with traditional sliding mode control by integrating nonlinear and fast terminal terms. (2) The RBF neural network is employed to globally approximate and compensate for uncertainties in the model and variations in the parameters of the robotic arm. (3) To confirm the overall stability of the control system with the proposed NFTSM control strategy, the Lyapunov stability theory is applied to formulate a Lyapunov function. (4) The six-degree-of-freedom robotic manipulator is simulated in the MATLAB/Simulink environment to assess the effectiveness of the proposed control method. In addition, experimental validation is carried out on a real robotic manipulator to verify the effectiveness of the proposed method. The simulation and experimental results show that, compared with NFTSM and RBFNN-SMC, the proposed control strategy significantly enhances the trajectory tracking accuracy of the six-degree-of-freedom robotic manipulator, thereby offering an effective and practical solution for its trajectory tracking control.
1. Introduction
The six-degree-of-freedom manipulator is an advanced, automated mechanical device comprising a mechanical structure, a drive system, a control system, and sensors. Multiple inputs and outputs, high nonlinearity, and high coupling characterize this system. This technology has extensive applications across various fields, including industry, medical and healthcare, and aerospace. The manipulator can be used to track the desired trajectories with high accuracy. However, achieving this precision is challenging due to the dynamics of the manipulator, which are affected by model errors and parameter uncertainties.
To address the issue of slow trajectory tracking speed and low accuracy in the six-degree-of-freedom manipulator, various types of manipulator control methods have been proposed both domestically and internationally. These include fuzzy control [1,2,3], disturbance observer control [4,5,6], robust control [7], sliding mode control, and other methods. Wu et al. [8] proposed a control strategy that combines a Radial Basis Function Neural Network (RBFNN) with terminal sliding mode control. The method facilitates model-free control and achieves a maximum steady-state tracking error of merely 0.005 rad. However, its high computational complexity presents challenges for real-time implementation, limiting its practical applicability. Jia et al. [9] proposed a control approach that combines a block-wise approximated neural network with terminal sliding mode control based on the dynamic model of the manipulator. This technique enables model reconstruction and achieves a maximum average steady-state tracking error of 0.0073 rad. However, the high design complexity and insufficient coordination among subnetworks may result in systemic errors. Li et al. [10] proposed a novel adaptive neural network-based sliding mode control strategy. The method effectively mitigates excessive chattering while maintaining high tracking accuracy, achieving a maximum average steady-state error of 0.0372 rad. However, the inability to precisely identify the nominal model embedded in the controller may compromise overall system performance. Zhou et al. [11] proposed a fuzzy sliding mode control scheme with adaptive switching gains. While this approach significantly enhances tracking stability, its dependence on expert knowledge limits its robustness and generalizability. Jiang et al. [12] developed a fractional-order PID (FOPID) control strategy to enhance the tracking accuracy of manipulators. The proposed method significantly enhances tracking performance, achieving a maximum average steady-state error of 0.0088 rad. However, it is susceptible to being trapped in local optima, which could limit overall system performance.
In summary, researchers worldwide have proposed various control strategies to improve the trajectory tracking accuracy of manipulators, with most being validated on six-degree-of-freedom systems. However, these methods often involve high computational complexity and significant design challenges. To address this issue, a control strategy is developed for a six-degree-of-freedom manipulator that integrates a Radial Basis Function (RBF) neural network with non-singular fast terminal sliding mode control. The RBF network is utilized to globally approximate and compensate for nonlinear dynamics, thereby enhancing the accuracy of trajectory tracking. The main contributions are as follows:
- This paper proposes a symmetrically designed non-singular fast terminal sliding surface with a reduced number of parameters, ensuring consistent convergence rates for both positive and negative joint errors, thereby enhancing control accuracy.
- A Radial Basis Function Neural Network compensation mechanism with symmetrically distributed centers and a uniform width is introduced, which reduces the number of network parameters and enhances generalization capability, thereby lowering computational complexity.
- A Lyapunov function is constructed to verify the overall stability of the system.
- Simulations and experimental validation are performed, and the proposed method with the RBFNN-SMC and NFTSM control algorithms are compared.
2. Manipulator Control System
2.1. The Dynamic Model of the Manipulator Is Constructed
Taking the JAKA Zu 5 collaborative manipulator as our control object, this six-degree-of-freedom industrial robot is characterized by its high flexibility and strong adaptability.
The three-dimensional structure of the manipulator, along with its corresponding joint coordinates, is illustrated in Figure 1.
Figure 1.
The overall structure model and joint coordinate diagram of the manipulator.
The definitions of the system parameters are presented in Table 1.
Table 1.
The definitions of the system parameters.
The dynamic equation of the manipulator is as follows:
in Equation (1), is the positive definite symmetric inertia matrix of the manipulator; is expressed as the joint angle of the manipulator. The unit is rad; represents the angular velocity of each joint of the manipulator. The unit is ; is expressed as the angular acceleration of each joint of the manipulator. The unit is ; is expressed as the Coriolis force and centrifugal force matrix of the manipulator; is expressed as the gravity matrix of the manipulator; is expressed as the sum of the model error and parameter uncertainty factors of the manipulator; and is expressed as the control input of the manipulator.
The dynamic model of the manipulator exhibits the following two properties:
Property 1: The inertia matrix is symmetric and positive definite. There exist positive constants and such that the following inequality is satisfied:
Property 2: is a skew-symmetric matrix. There exists a real number x satisfying
2.2. Controller Design
2.2.1. Design of Non-Singular Fast Terminal Sliding Mode Controller
The expected angle of each joint of the manipulator is ; the actual joint angle is ; the joint angle error is e, the joint angular velocity error is , and the joint angular acceleration error is .
The calculation method of joint error is as follows:
to enhance the tracking speed of the manipulator and to resolve the singularity issue in sliding model control, a non-singular fast terminal sliding mode surface [13] is designed as follows:
in Equation (5), S denotes the function of the sliding surface . Both p and k are positive odd numbers, and c is a constant.
When the joint error e is particularly large, the nonlinear term is the dominant term, and the system state quickly approaches the equilibrium state. When e is small, the nonlinear term can be ignored. At this time, the linear term plays a leading role in ensuring that the system’s state converges quickly to the equilibrium point.
Based on the sliding surface, the control law is designed. The time derivative of the sliding surface S is given by
in Equation (6), represents that the diagonal matrix is generated by taking the elements of the vector as diagonal elements.
It can be concluded from Equation (2):
based on Equation (4), the expression of is obtained as
let , then the equivalent control rate of the equivalent control term can be obtained as follows:
in Equation (9), I denotes the unit matrix of 6 × 6.
In a sliding mode control system, the switching control term is essential for ensuring the effectiveness of the control process. A crucial aspect of the switching control law is the reaching law. The typical standard approach rates are the constant approach rate, exponential approach rate, and power approach rate [14].
Constant approach rate:
in Equation (10), , whereby the greater the value of , the faster the system reaches the switching surface.
Exponential approach rate:
in Equation (11), ; the exponential approach rate is suitable for solving the corresponding control problem of a large step.
Power approach rate:
in Equation (12), ; the system state can be guaranteed to approach at a larger speed when the system state is far away from the synovial surface by adjusting .
To accelerate convergence and enhance system robustness, a switching control law is designed:
the function in Equation (13) is the hyperbolic tangent function, which is continuous and differentiable. It helps reduce chattering in the system while maintaining a balance between control accuracy and chattering suppression .
In summary, the control rate of the controller can be designed as
the Lyapunov function [15] is constructed as
derivation of time:
from the above equations, we can obtain
because c, , and are positive scalars and M is a positive definite matrix, P is also positive definite. Let
in Equation (18), . It is guaranteed that , when , .
According to the Lyapunov stability theory, the system is stable. However, in practice, the parameters required in the equivalent control law for a six-degree-of-freedom manipulator are challenging to obtain. Therefore, the control law requires further modification.
2.2.2. RBF Neural Network Controller Design
The Radial Basis Function Neural Network (RBFNN) is highly effective in approximating nonlinear functions. Therefore, it is employed to perform a global approximation of the system’s nonlinearities. The RBFNN consists of an input layer, a hidden layer, and an output layer [16], as illustrated in Figure 2.
Figure 2.
RBF neural network structure diagram.
The RBF neural network structure shown in Figure 2 consists of nnn input layer neurons, mmm hidden layer neurons, and a single output neuron. represent the output signals of the input layer. In practical applications, these input signals typically include joint angles, angular velocities, and joint angle errors. Let denote the outputs of the hidden layer, and let f represent the output of the output layer, which corresponds to the result of the overall approximation. The hidden layer outputs are determined using radial basis functions, described by the following equation:
in Equation (18), denotes the Gaussian basis function center vector of the mth neuron node; denotes the width of the Gaussian basis function of the mth neuron node.
Let f denote the ideal output of the RBF neural network used for the global approximation of the equivalent control law, which can be expressed as
in Equation (20), is the weight value of the RBF neural network.
Set the adaptive rate of neural network weights as follows:
in Equation (21), is a 6 × 6 positive definite diagonal learning rate matrix.
The modified total control law is
in Equation (22), can promote the system state of the manipulator to converge to the sliding mode surface quickly, thereby improving the convergence speed. The term can make the control input smoother and enhance the robustness and stability of the system.
2.2.3. Stability Proof of Control System
The Lyapunov function is constructed as
in Equation (23), denotes the trace of the matrix; , where W represents the current weight and represents the ideal weight; denotes a positive definite diagonal matrix and a positive definite symmetric matrix, respectively; and in the function, is introduced to enhance the description of the dynamic characteristics of the system.
The time derivative of Equation (23) is obtained as
according to the RBF neural network framework, the dynamic terms of the manipulator are globally approximated to steer the system toward the ideal sliding mode, while ensuring overall stability.
in Equation (26), the variable denotes the ideal weight.
substituting Equations (26) and (27) into Equation (24) yields
substituting Equation (29) into Equation (28), and with a suitable selection of the parameter , we can obtain
since in the sliding surface design corresponds to the linear feedback of the error derivative, according to the sliding surface reaching condition , can be chosen to cancel out the error derivative term in the system. Consequently, we obtain
since M is a positive definite inertia matrix and consists of design parameters, can be regarded as a positive definite gain. This does not affect the negative definiteness of the resulting equation.
2.2.4. The Overall Schematic Design of Cooperative Controller
The block diagram illustrating the trajectory tracking principle of the manipulator, which is controlled by the RBF neural network and the non-singular fast terminal sliding mode control, is illustrated in Figure 3.
Figure 3.
The overall principle block diagram of cooperative controller.
Figure 3 primarily consists of two components: the global approximation term and the switching control term, both of which are based on the RBF neural network. The expected and actual joint angles, angular velocities, and angular accelerations of the manipulator serve as input signals for training the RBF neural network. Furthermore, the non-singular fast terminal sliding mode surface is employed to constrain the error dynamics and enhance system robustness.
3. Simulation and Experimental Validation
3.1. Simulation
To verify the effectiveness and feasibility of the proposed control algorithm, a six-degree-of-freedom collaborative robot is selected as the control object. The trajectory tracking control model is developed within the MATLAB R2021b/Simulink environment, utilizing Simscape in conjunction with an S-Function module. The arm model is constructed based on the URDF file of the manipulator. Although the simulations are conducted across all six joints of the manipulator, the trajectory tracking performance of the last three joints closely mirrors that of the first three. Therefore, only the trajectory tracking results for the first three joints are presented for analysis.
The simulation parameters are configured as follows: the expected trajectory for the six joints is set to . The sliding surface parameters are set as follows: . The parameters for the neural network are established as follows: the hidden layer node node is set to 10; the radial basis function center value of neural network center = [−1.0, −0.7778, −0.5556, −0.3333, −0.1111, −0.1111, 0.3333, 0.5556, 0.7778, 1.0]; the width of the radial basis function is set to 10; the parameter in the weight adaptive rate of the neural network; the parameter setting in the switching control law is ; and the simulation time t is set to 10 s.
The proposed control algorithm, which combines an RBF neural network with non-singular fast terminal sliding mode control, has been assessed through simulations and compared with two other methods for six-degree-of-freedom manipulator trajectory tracking: (1) an RBF neural network paired with traditional sliding mode control, as reported in [10], and (2) the NFTSM. The simulation results are illustrated in Figure 4, Figure 5 and Figure 6.
Figure 4.
Position tracking of joint1.
Figure 5.
Position tracking of joint2.
Figure 6.
Position tracking of joint3.
Figure 4, Figure 5 and Figure 6 illustrates the tracking performance of the first three joints of the manipulator using the three different control algorithms. Notably, the proposed method produces the smoothest response curves and demonstrates the highest consistency with the desired trajectories, indicating superior tracking accuracy. The tracking error for each joint is illustrated in Figure 7, Figure 8 and Figure 9.
Figure 7.
Position tracking error of joint1.
Figure 8.
Position tracking error of joint2.
Figure 9.
Position tracking error of joint3.
As illustrated in Figure 7, Figure 8 and Figure 9, the trajectory tracking errors of the manipulator using the RBF neural network in conjunction with traditional sliding mode control and those under NFTSM exhibit considerable fluctuations. The proposed control method achieves a maximum tracking error of approximately 0.05 rad, compared to 0.1 rad for the RBFNN with traditional sliding mode control and 0.15 rad for the NFTSM. These results indicate that the proposed method offers superior tracking accuracy compared to both the approach presented in [10] and the NFTSM. Additionally, the average absolute errors of the first three joints are presented in Table 2.
Table 2.
Mean absolute errors for the first three joints.
As illustrated in the table, the maximum average absolute joint tracking error under the RBF neural network combined with traditional SMC is 0.04 rad, whereas NFTSM reaches 0.05 rad. In stark contrast, the proposed controller achieves a maximum average absolute tracking error of just 0.03 rad. These results indicate that the RBFNN-NFTSM control method offers superior trajectory tracking accuracy, underscoring its effectiveness in managing complex joint motion control tasks.
The expected joint angular velocity for each manipulator is set to , and the actual operating angular velocity effect of each joint is illustrated in Figure 10, Figure 11 and Figure 12.
Figure 10.
Velocity tracking of joint1.
Figure 11.
Velocity tracking of joint2.
Figure 12.
Velocity tracking of joint3.
As illustrated in Figure 10, Figure 11 and Figure 12, the manipulator controlled by the RBF neural network in conjunction with traditional sliding mode control displays an excessively high initial angular velocity, resulting in a notable deviation from the desired trajectory. While the NFTSM typically follows the desired angular velocity, it is plagued by noticeable fluctuations in the control output. In contrast, the proposed controller facilitates more accurate and smoother tracking, demonstrating superior dynamic performance.
Figure 13.
Velocity tracking error of joint1.
Figure 14.
Velocity tracking error of joint2.
Figure 15.
Velocity tracking error of joint3.
As illustrated in Figure 13, Figure 14 and Figure 15, the maximum angular velocity error for the first three joints reaches 0.5 when using the RBF neural network in combination with traditional sliding mode control, and 0.18 with NFTSM. In stark contrast, the proposed controller demonstrates a significantly reduced error of only 0.03 , further confirming its superior performance.
3.2. Experimental Validation
To validate the practical effectiveness of the proposed RBFNN-NFTSM control method, experimental tests are conducted on the six-degree-of-freedom robotic arm platform (JAKA Zu5) illustrated in Figure 16. The robotic arm is commanded to move from an initial joint configuration of to a target configuration of , with the motion trajectory planned using the fifth-degree polynomial interpolation method.
Figure 16.
Starting and ending postures.
To visualize the tracking performance, the spatial coordinates of the robotic arm’s end-flange are selected as the tracking reference and compared with those obtained using the RBFNN-SMC and NFTSM algorithms. As illustrated in Figure 17, Figure 18 and Figure 19, the tracking results along the X, Y, and Z axes of the end-flange are presented.
Figure 17.
End-flange X-axis value.
Figure 18.
End-flange Y-axis value.
Figure 19.
End-flange Z-axis value.
4. Conclusions
In this paper, domestic and foreign scholars solve the problem of poor trajectory tracking accuracy. An RBF neural network and a non-singular fast terminal sliding mode cooperative control method are proposed for systems with six degrees of freedom. The main contributions are as follows: (1) The proposed control method is used to complete the modeling of the manipulator and the overall approximation equivalent control law of the uncertain factors. Combined with the switching control law, the control input for each joint torque of the manipulator and the system’s stability are demonstrated. (2) A trajectory tracking simulation model is constructed for the manipulator using the Simscape and S-function modules within a MATLAB/Simulink environment. (3) The integration of RBFNN with NFTSM effectively approximates system uncertainties and external disturbances, mitigates chattering, and enhances control robustness. A comparative analysis is performed, showing that the proposed controller significantly improves trajectory tracking accuracy when juxtaposed with NFTSM algorithms and the combination of RBF neural networks with traditional sliding mode control. The simulation and experimental results demonstrate that the proposed controller significantly enhances trajectory tracking accuracy, offering a feasible and effective solution for the trajectory tracking control of the six-degree-of-freedom manipulator. (4) Although the proposed control method has been experimentally validated on a real robotic manipulator, the experiments were conducted primarily in a controlled laboratory environment and have not yet been tested in real-world industrial scenarios. In practical applications, more complex external factors may arise, each of which could potentially affect the robustness of the manipulator control. In future work, we plan to conduct further validations in environments that more closely resemble real-world operating conditions.
Author Contributions
Conceptualization, Z.X. and Z.L.; methodology, D.L. and Z.X.; software,
D.L.; validation, D.L. and S.Z.; investigation, J.L., X.L. and X.Z.; data curation, D.L. and S.Z.; writing—original draft, D.L. and M.L.; writing—review and editing, Z.X., D.L. and M.L. All authors have
read and agreed to the published version of the manuscript.
Funding
This research was supported by the National Natural Science Foundation of China Grant (62241304); the Natural Science Foundation of Guangxi Grant (2018JJB170055, 2025GXNSFAA069293); Research on key technology of non-destructive information detection for special equipment (Horizontal Topic); and Research on dynamic mechanism and fault identification method of key friction pairs of aerospace high-speed hydraulic pumps (TS2024111).
Data Availability Statement
The original contributions presented in this study are included in the article; further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Tao, Y.; Lan, J.B.; Liu, H.T. Trajectory tracking method of human-robot cooperative robot based on sliding mode and fuzzy algorithm. J. Mech. Eng. 2022, 58, 181–191. [Google Scholar] [CrossRef] [Scilit]
- Lin, L.; Wang, H.; Ren, H. Manipulator control based on fuzzy variable structure. Control Theory Appl. 2007, 4, 643–645. [Google Scholar]
- Guo, Y.; Yu, L.; Xu, J. Trajectory tracking control of manipulator based on fuzzy active disturbance rejection technology. J. Shaanxi Norm. Univ. (Nat. Sci. Ed.) 2017, 45, 42–48. [Google Scholar] [CrossRef]
- Yang, G.; Chen, S.; Huang, H. Decoupled fast terminal sliding mode control based on disturbance observer. Control Eng. China 2022, 29, 61–69. [Google Scholar]
- Luo, G.S.; Gao, S.M.; Jiang, Z. ROV trajectory tracking control based on disturbance observer and combinatorial reaching law of sliding mode. Ocean Eng. 2024, 304, 117744–117756. [Google Scholar] [CrossRef] [Scilit]
- Zhou, M.; Liao, Z. Manipulator tracking control based on disturbance observer and sliding mode control. Mach. Des. Manuf. 2021, 12, 215–219. [Google Scholar] [CrossRef]
- Wang, S.; Yu, L.; Xu, J. Robotic arm adaptive robust trajectory tracking control. Control Eng. China 2015, 2, 241–245. [Google Scholar] [CrossRef]
- Wu, A.; Dong, N. Neural network-based non-singular fast terminal sliding mode control for robotic manipulators. Trans. Chin. Soc. Agric. Mach. 2018, 49, 395–404. [Google Scholar] [CrossRef]
- Jia, H.; Liu, Y. Neural network-based adaptive terminal sliding mode control for a six-axis robotic manipulator. J. Xi’an Jiaotong Univ. 2022, 56, 21–30. [Google Scholar] [CrossRef]
- Li, Q.; Xu, X. Sliding mode trajectory tracking control of robotic manipulators based on adaptive neural networks. Chin. J. Eng. Des. 2023, 30, 512–520. [Google Scholar] [CrossRef]
- Zhou, M.; Jin, X. Trajectory tracking control of a six-degree-of-freedom robotic manipulator based on fuzzy sliding mode with switching gains. J. Chongqing Technol. Bus. Univ. (Nat. Sci. Ed.) 2024, 24, 1–9. [Google Scholar]
- Jiang, Z. Trajectory tracking control of a 6-DOF robotic arm based on improved FOPID. Int. J. Dyn. Control 2025, 13, 137–151. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Li, K.; Wang, J. Nonsingular and Fast Terminal Sliding Mode Control Method. Inf. Control 2009, 38, 543–550. [Google Scholar]
- Zhang, R.; Luo, G.; Yuan, B. Adaptive Sliding Mode Control of Disturbance Observer for Multi-joint Manipulator. Mech. Sci. Technol. Aerosp. Eng. 2021, 40, 1595–1602. [Google Scholar]
- Zhang, W.; Qi, N.M.; Yin, H. Neural-network tracking control of space robot based on sliding-mode variable tructure. Control Theory Appl. 2011, 28, 1141–1144. [Google Scholar]
- Xu, K.; Wang, Z. The design of a neural network-based adaptive control method for robotic arm trajectory tracking. Neural Comput. Appl. 2022, 30, 539–553. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).


















