Next Article in Journal
A Multi-Scale Attention Mechanism Based Domain Adversarial Neural Network Strategy for Bearing Fault Diagnosis
Next Article in Special Issue
Development of a Deformable Water-Mobile Robot
Previous Article in Journal
Improvements on the Dynamical Behavior of a HiL-Steering System Test Bench
Previous Article in Special Issue
Design and Coverage Path Planning of a Disinfection Robot
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Parallel Network-Based Sliding Mode Tracking Control for Robotic Manipulators with Uncertain Dynamics

1
School of Mechanical and Electrical Engineering, Changchun University of Science and Technology, Changchun 130022, China
2
School of Mechatronic Engineering and Automation, Foshan University, Foshan 528225, China
3
School of Computer Science and Technology, Changchun University of Science and Technology, Changchun 130022, China
*
Authors to whom correspondence should be addressed.
Actuators 2023, 12(5), 187; https://doi.org/10.3390/act12050187
Submission received: 28 March 2023 / Revised: 20 April 2023 / Accepted: 25 April 2023 / Published: 27 April 2023
(This article belongs to the Special Issue Modeling, Optimization and Control of Robotic Systems)

Abstract

:
Robot dynamics model uncertainty and unpredictable external perturbations are important factors that influence control accuracy and stability. To accurately compensate for the dynamics model in sliding mode control (SMC), a new parallel network (PCR) is proposed in this paper. The network parallelizes the radial basis function and convolutional neural network, which gives it the advantage of making full use of one-dimensional data fitting results and two-dimensional data feature information, realizing the deep learning of multidimensional data and improving the model’s compensation accuracy and anti-interference ability. Meanwhile, based on the integration of adaptive control techniques and gradient descent, a new weight update algorithm is designed to realize the online learning of PCR networks under loss-free functions. Then, a new sliding mode controller (PCR-SMC) is established. The model-free intelligent control of the robot is accomplished without knowledge of the predetermined upper bounds. Additionally, the stability analysis of the control system is proved by the Lyapunov theorem. Lastly, robot tracking control simulations are performed on two trajectories. The results demonstrate the high-precision tracking performance of this controller in comparison with the RBF-SMC controller.

1. Introduction

Robotic manipulators are multi-input and -output nonlinear systems with an uncertain model, due to payload changes, friction, external disturbances [1], etc. Therefore, it is difficult to acquire accurate knowledge of robotic systems, resulting in the inability to design a universal and accurate motion controller [2,3], however rapid the development of robot technology or the complexity of work tasks. The focus of much engineering’ research is to design a controller that is suitable for uncertain robotic model systems [4]. Mainstream control methods include proportional integral derivative control [5], adaptive control [6], neural network control [7], and sliding mode control (SMC) [8].
Among the above methods, the SMC algorithm has a special nonlinear control, known as a variable structure controller. It is insensitive to the uncertainty of inherent parameters and has high robustness to external disturbances [9]. If the control system has many unknown parameters, the SMC design becomes complicated, and its performance degrades. Meanwhile, the SMC method is prone to the chatter phenomenon in the control process [10]. Therefore, to obtain a high-performance SMC, much intelligent control research has been conducted, such as combining intelligent control with a neural network [11,12]. The fusion of computational intelligence methods and robotics can improve the accuracy, reliability, efficiency, cost-effectiveness, and competitiveness of systems.
The radial basis function neural network (RBFNN) has the advantages of simple structure and strong generalization ability [13]. The intelligent RBFNN method and SMC integration can considerably reduce chattering and improve the control performance by approximating the system model in real time [14]. Yin et al. [15] proposed an adaptive terminal SMC strategy using an RBFNN, which achieved model-free and chatter-free high-precision tracking control for stone-carving robot manipulators. Fang et al. [16] combined an RBFNN with a brain emotional nesting network and applied it to the robot’s object grasping task. Chen et al. [17] designed a fixed-time fractional sliding mode controller, which improved the convergence speed and control accuracy in the trajectory tracking control field of unmanned aerial vehicles. However, an RBF neural network has a fixed-structure problem. To improve the control system’s performance, Ye et al. [18] combined two controllers (the fuzzy neural network and compensation controllers) and verified their feasibility for robot control. Yen et al. [19] designed robust controllers through sliding mode control techniques, RBFNN models, and adaptive algorithms. This method effectively improved the tracking control accuracy by independently compensating for joint uncertainty. Wang et al. [20] improved the input of an RBFNN using a nearest-neighbor clustering algorithm, and then applied it to the uncertainty compensation of robotic systems.
However, RBF neural networks and their variants can only handle one-dimensional data. To overcome this limitation, using a CNN has allowed for new prospects in the field of system identification and control [21]. Yao and Chen [22] proposed a deep CNN-SMC controller. The simulation of the 5DOF system showed that the controller had high robustness and a high response tracking control effect. Zhou et al. [23] compensated for the uncertainty of the robot control system by using a CNN. The gradient descent method was used for weight learning. By combining it with the fractional-order terminal SMC, the control performance of the rigid robot was effectively improved. The CNN-SMC controller realized the processing of multidimensional data and real-time compensation of the model; however, it ignores real-time one-dimensional data feedback. In recent years, scholars in different fields combined a CNN and an RBFNN, producing excellent research results. Hemalakshmi et al. [24] used a hybrid serial CNN-RBF model to improve the classification accuracy of retinal fundus images. Hong et al. [25] connected a CNN and an RBFNN in a series and used it for 24-h wind power prediction. Sideratos et al. [26] proposed a series network structure (RBF-CNN model) for power system load forecasting. Compared with existing load forecasting methods, the proposed model had higher forecasting performance. The combination of a CNN and an RBF has produced high performance in other fields; however, it still suffers from the drawback that it can only handle one-dimensional data. How to realize the parallel processing of one- and two-dimensional data using a neural network for application to a control system is a new research direction.
In the above methods, an RBF and its improved method are used to approximate the dynamic model online, and the input is one-dimensional feedback data; a CNN and its improved scheme can estimate the dynamic model online, and its input is mainly two-dimensional history data. How to realize the parallel combination of two neural networks, taking into account the full utilization of the feature information of one-dimensional data and two-dimensional data, has not yet been reported. Therefore, a new sliding mode controller (PCR-SCM) using parallel neural networks is proposed, and then applied to the trajectory tracking control of two-link robots. The PCR network is a combination of a CNN and an RBF to achieve its parallel computation, and the weight adaptive online learning algorithm is designed. Briefly, the main contributions of this paper are as follows:
  • In this paper, we study the data mining capability of a CNN and the infinite approximation characteristics of an RBFNN. Additionally, a new PCR network is proposed. This network fully integrates information from different dimensional data, realizing the synchronization of data fitting and time series prediction.
  • A weight learning method for PCR networks in real-time control systems is designed, which integrates gradient descent and adaptive techniques, realizing the online learning of the PCR network’s weight.
  • A new PCR-SMC controller is proposed and applied to the trajectory tracking control of a two-link robot. Simulations are conducted on two trajectories to verify that the controller has superior control performance in comparison with the RBF-SMC controller.
The organization of this paper is as follows: Section 2 presents the rigid robot dynamics model; Section 3 shows our design for the PCR-SMC controller, as well as proposes the adaptive weight online learning algorithm; Section 4 presents the simulation results; lastly, the conclusion and future research direction are given in Section 5.

2. Preliminaries

2.1. Robot Dynamic Model

The n-link robot is analyzed using the Lagrange method, and the closed dynamic model is shown in Equation (1) [27,28].
M r θ θ ¨ + C r θ , θ ˙ θ ˙ + G r θ + d t = τ t ,
where θ R n represents the joint angles, θ ˙ R n represents the angular velocities, and θ ¨ R n represents the angular acceleration. τ R n is the driving torque of the joints, M r θ R n is the symmetric positive definite inertia matrix, C r θ , θ ˙ R n is the Coriolis and centrifugal force matrix, G r θ R n represents the gravitational force vector, and d t R n is the external disturbances vector. θ , τ , d t , and G r θ are the n × 1 vectors, and M r θ and C r θ , θ ˙ are the n × n matrices [29]. The n-link mechanism model of the robot is shown in Figure 1.
Property 1 [30,31].  M r θ 2 C r θ , θ ˙ is a skew symmetric matrix, and if the variable is ξ R n , it satisfies Equation (2).
ξ T M r θ 2 C r θ , θ ˙ ξ = 0 .
Property 2 [32].  M r θ is a symmetric positive definite matrix of n × n and bounded; if ψ 1 and ψ 2 are positive numbers, it satisfies Equation (3).
ψ 1 x 2 x T M r θ x ψ 2 x 2   x R n .
Compared with the actual model, the established dynamic system model based on the theoretical structure of the robotic manipulator will have errors in the calculation process. Therefore, the actual dynamic model is established in Equation (4).
M r 0 θ θ ¨ + C r 0 θ , θ ˙ θ ˙ + G r 0 θ = τ + f r θ , θ ˙ , t ,
where M r 0 θ , C r 0 θ , θ ˙ , and G r 0 θ are the nominal values of M r θ , C r θ , θ ˙ , and G r θ , respectively. f r θ , θ ˙ , t = M r θ C r θ , θ ˙ G r θ d t is the uncertain part of the model, where M r θ = M r θ M r 0 θ , C r θ , θ ˙ = C r θ , θ ˙ C r 0 θ , θ ˙ , and G r θ = G r θ G r 0 θ , are assumed to have upper bounds. However, in some practical engineering problems, it is easy to choose a larger estimated value for the upper bound. As a result, the control gain is large, which affects the control accuracy and performance. Therefore, it may be a better solution to study model-free control methods that do not require prior knowledge of the upper bound.

2.2. Sliding Mode Control

Under the feedback of the discontinuous state control law function, the control output of an SMC can be continuously switched between two smooth states, which has the characteristics of not requiring an accurate model and being insensitive to parameter changes [33,34]. In this paper, according to the control model’s state feedback error, the function of the sliding surface is used, as shown in Equation (5) [33,35]. The robot’s ideal target trajectory vectors are θ d and θ ˙ d . The robot’s actual output trajectory vectors are θ and θ ˙ . The angular tracking error is e = e 1 , e 2 , , e n T , and the angular velocity tracking error is e ˙ = e ˙ 1 , e ˙ 2 , , e ˙ n T .
S r = e ˙ + Λ e ,
where Λ = Λ T > 0 .
According to Equations (1) and (5), the dynamic model error expression is shown in Equation (6).
M r θ S r ˙ = f θ C r θ , θ ˙ S r + d t τ ,
where f θ = M r θ θ ¨ d + Λ e ˙ + C r θ , θ ˙ θ ˙ d + Λ e + G r θ is the model’s basic information, which is a nonlinear function about θ , θ ˙ , θ d , θ ˙ d , and θ ¨ d .
The design control rate is shown in Equation (7).
τ = f ¯ θ + K e S r ,
where f ¯ θ is the theoretical nominal value of f θ for nominal model control. Equation (8) is obtained by substituting Equation (7) into Equation (6).
M r θ S r ˙ = K e + C r S r + f ~ θ + d t ,
where f ~ θ = f θ f ¯ θ . The Lyapunov function [36] is defined as V = 1 2 S r T M r θ S r , and its derivative is shown in Equation (9).
V ˙ = S r T M r S r ˙ + 1 2 S r T M r ˙ S r .
Equation (10) is obtained by substituting Equation (8) into Equation (9).
V ˙ = S r T K e S r + 1 2 S r T M r ˙ 2 C r S r + S r T η ,
where η = f ~ θ + d t .
According to the dynamic model’s oblique symmetry properties, S r T M r ˙ 2 C r S r = 0 and V ˙ = S r T η S r T K e S r are obtained. The estimation error and disturbance of model information affect the control accuracy and stability. Therefore, in the absence of an accurate dynamic model and accurate judgment of disturbance, researching model approximation and disturbance compensation algorithms is an effective way to achieve high-performance model-free control.

3. Design of PCR-SMC Controller

3.1. Overall Design

A new PCR-SMC controller is proposed in this paper, and its principle is shown in Figure 2. This controller uses a CNN and an RBFNN to parallel trajectory information of different dimensions, so that it can compensate for the robot uncertainty model online and improve the control performance of robot trajectory tracking.
In Figure 2, the errors e and e ˙ are the inputs, and the control torque τ of each joint is the output of the PCR-SMC controller. The input of an RBFNN is composed of five kinds of trajectory information, which are the expected angle θ d , expected angular velocity θ ˙ d , expected angular acceleration θ ¨ d , actual angle θ , and actual angular velocity θ ˙ . The input of the CNN is the information of the trajectory being retraced. f ^ θ is the calculation result of the dynamic model identified online by the PCR network, and it participates in trajectory tracking sliding mode control.

3.2. Design of PCR Network

A CNN has the advantages of convolution calculation, local perception, and weight sharing, and it can quickly extract features during data processing. Therefore, its application scenarios gradually penetrate into the field of intelligent industry, which requires a rapid response [37,38]. An RBFNN has the advantages of fast convergence speed, strong robustness, simple structure, and good approximation ability, and it is often used in the field of real-time control [39].
The PCR network structure is designed as shown in Figure 3. In the PCR network, the parallel calculation of an RBFNN and a CNN is performed, and then the calculation results are recomposed into a new network hidden layer; finally, the results are calculated through the output layer. The establishment of the network model and the design of the weight learning algorithm are described in detail below.

3.2.1. Convolutional Neural Network

Trajectory information constantly generates changes during the joint motion. Including θ d , θ ˙ d , θ ¨ d , θ , and θ ˙ , this information affects the system approach and control stability. Therefore, the two-dimensional data of four backtracking moments are selected as the CNN input matrix, with a size of 5 × 5, as shown in Equation (11).
U C = θ t θ t 1 θ t 4 θ ˙ t θ ˙ t 1 θ ˙ t 4 θ d t θ d t 1 θ d t 4 θ ˙ d t θ ˙ d t 1 θ ¨ d t θ ¨ d t 1   θ ˙ d t 4 θ ¨ d t 4 .
The calculation model of the convolutional layer is shown in Equation (12).
C i t = f σ σ C t = f U C t x * M C , i + B C , i = 1,2 , , M C , n u m ,
where M C represents the convolution kernel, and M C , n u m represents the number of M C . B C is the bias, f σ is the ReLU function, and its partial derivatives are shown in Equations (13) and (14).
f σ σ C = m a x 0 , σ C .
f σ ˙ σ c = 0 σ C 0 1 σ C > 0 .
The output H C of the fully connected layer is shown in Equation (15).
H C , i = f σ σ F = f σ M F , i C i + B F ,
where M F represents the weight of the full connection layer, B F represents the bias, and f σ selects the sigmoid function.

3.2.2. RBF Neural Network

In the PCR network, the dynamic variables U R = θ t 1 , θ ˙ t 1 , θ d t 1 , θ ˙ d t 1 , θ ¨ d t 1 of the dynamic model are selected as the input vector of the RBFNN. The nonlinear approximation of the model is realized through a Gaussian hidden layer and output layer [40,41]. The output result H R of the Gaussian hidden layer is shown in Equation (16).
H R , i = e x p U R O i 2 2 D i 2 ,
where O i is the center point vector, and D i is the width of the Gaussian.
The hidden layer vector H of the PCR network consists of two kinds of information, which are the result H C of the CNN and the result H R of the RBFNN. The output of the PCR network is shown in Equation (17).
Y x = W T × H ,
where H = H C ; H R , and W = W 1 , W 2 , , W m T is the weight of the PCR network output layer.

3.2.3. Weight Update of PCR Network

Gradient descent is a commonly used weight update algorithm in a neural network. The mean square error E = 1 / 2 Y d Y 2 is used as the loss function. The weight gradient is defined as the partial derivative of the loss function, as shown in Equation (18).
W t = E W , Y , H / W = Y d Y H t .
The weight update is shown in Equation (19).
W t = W t 1 μ W t ,
where μ is the learning rate.
The PCR network output is used to compensate for an important parameter of the controller, and the loss function cannot be obtained during the system operation. As a result, conventional methods cannot be used for the weight update. To realize the online learning of weight, the adaptive algorithm and the gradient descent are combined. According to Equation (5) and the Lyapunov stability principle [36], the adaptive learning rate of the output layer of the PCR network is designed as shown in Equation (20).
W ^ ˙ = Γ H S r T ,
where Γ = Γ T > 0 is the fixed coefficient, and S r is the sliding mode surface output.
According to the combined features of the PCR network’s hidden layer and the adaptive learning rate, the initial weight update gradient of the CNN can be obtained as W C = W ^ ˙ C W C . Then, the gradient values of each layer in the CNN are calculated by gradient backpropagation. The gradient calculation model of the fully connected layer is shown in Equation (21).
M F = H C 1 H C W C T W C .
According to the weight gradient calculated using the above formula, the fully connected layer weight can be updated as shown in Equation (22).
M F = M F μ × M F .
In the PCR network structure, the input vector of the fully connected layer is obtained by reducing the dimension of the last convolutional layer. Therefore, the learning gradient M C , 2 model of the convolution kernel is shown in Equation (23).
M C , 2 = f σ ˙ σ F M F T M F ,
where f σ ˙ σ F = C 2 1 C 2 is the partial derivative of the sigmoid function, and C 2 is the input data of the second convolution layer; the vector form of M F needs to be converted to matrix form. According to the convolution kernel weight gradient M C , 2 , a new convolution kernel can be calculated as shown in Equation (24).
M C , 2 = C 2 × M C , 2 .
The weight gradient M C , 1 of the previous convolution kernel can be calculated through the gradient backpropagation algorithm, as shown in Equation (25).
M C , 1 = M C , 2 × r o t 180 M C , 2 × f σ ˙ σ C ,
where r o t 180 M C , 2 means that the matrix M C , 2 is flipped 180°. f σ ˙ σ C is the derivative of the ReLU function in the convolutional layer. Given the convolution kernel weight gradient M C , 1 , the convolution kernel M C , 1 can be updated, as shown in Equation (26).
M C , 1 = U C x × M C , 1
The weight of the PCR network is combined with the adaptive technology and the gradient descent algorithm to realize the online update of the network weight.

3.3. Controller Design

In practical engineering applications, accurate robot dynamic models do not exist, and nominal models are often used for robot trajectory tracking control. However, different nominal models may affect the transformation laws of system errors and degrade control performance. Therefore, the PCR network is used for the online approximation of the dynamic model and compensation for external disturbances, thus achieving model-free control.
The control rate of the PCR-SMC controller is designed as shown in Equation (27).
τ = f ^ θ + K e S r ,
where f θ is composed of the robot dynamics model ( M r q ¨ r + C r q ˙ r + G r + f r ) and external disturbance d t ; f ^ θ is the online approximation of f θ by the PCR network.
Submitting the control rate (Equation (27)) of the controller and the adaptive rate (Equation (20)) of the neural network into Equation (8) yields
M r S r ˙ = C r + K e S r + W ~ T H ,
and we have
M r S r ˙ = C r + K e S r + ζ 1 ,
where ζ 1 = W ~ T H , W ~ = W W ^ .
Proof. 
The Lyapunov function is shown in Equation (30) [36].
L = 1 2 S r T M r S r + 1 2 t r W ~ T F 1 W ~ ,
where F = F T > 0 is the fixed coefficient. □
Deriving Equation (30), we can obtain Equation (31).
L ˙ = S r T M r S r ˙ + 1 2 S r T M r ˙ S r + t r W ~ T F 1 W ~ ˙ .
Submitting the control rate (Equation (27)) and the neural network’s adaptive rate (Equation (20)) into Equation (31) yields
L ˙ = S r T K e S r + 1 2 S r T M r ˙ 2 C r S r + t r W ~ T F 1 W ~ ˙ + H S r T .
According to the oblique symmetry characteristic (Equation (2)) of the robot dynamics model, Equation (32) becomes
L ˙ = S r T K e S r + t r W ~ T F 1 W ~ ˙ + H S r T ,
where W ~ = W W ^ ; the ideal weight W is a constant, an W ~ ˙ = 0 W ^ ˙ = Γ H S r T . According to the operational property of the trace of the matrix S r T W ~ T H = t r W ~ T H S r T , which transforms Equation (33), we can obtain
L ˙ = S r T K e S r .
According to Equation (34), the Lyapunov function is L 0 , and its derivative is L ˙ 0 . According to the LaSalle invariance principle, when t 0 , r 0 , e 0 and e ˙ 0 . This shows that the control system is asymptotically stable.

4. Numerical Simulation

4.1. Simulation Model and Parameter Setting

This paper organizes numerical simulations for the PCR-SMC controller in the trajectory tracking task of a two-link robot, and the robot is widely used to verify the control algorithm’s performance [42]. The theoretical model of robot dynamics is shown in Equation (35).
M r θ θ ¨ + C r θ , θ ˙ θ ˙ + G r θ + d t = τ t ,
where θ = θ 1 θ 2 T , τ = τ 1 τ 2 T , and the inertia matrix is M r ; the centrifugal force, Coriolis force matrix C r θ , θ ˙ , and gravity matrix G r θ are shown in Equations (36)–(38), respectively, where m i is the mass of link i ( m 1 = 0.5 k g , and m 2 = 1.5 k g ), and l i is the length of link i ( l 1 = 1 m and l 2 = 0.8 m ) [43,44]. θ i and θ ˙ i represent the angle and angular velocity of link i, respectively; g = 9.81 m/s2.
M r θ = Z 1 + Z 2 + 2 Z 3 cos θ 2 Z 2 + Z 3 cos θ 2 m 2 l 2 2 + m 2 l 1 l 2 cos θ 2 m 2 l 2 2 ,
C r θ , θ ˙ = Z 3 θ ˙ 2 sin θ 2 Z 3 θ ˙ 1 + θ ˙ 2 sin θ 2 Z 3 θ ˙ 1 sin θ 2 0 ,
G r θ = Z 4 cos θ 1 + θ 2 + Z 5 cos θ 1 Z 4 cos θ 1 + θ 2 ,
where Z 1 = m 1 + m 2 l 1 2 , Z 2 = m 2 l 2 2 , Z 3 = m 2 l 1 l 2 , Z 4 = m 2 l 2 g , and Z 5 = m 1 + m 2 l 1 g .
The parameters of SMC are set as follows: K e = [ 24,0 ; 0,24 ] , Λ = [ 13,0 ; 0,13 ] , and Γ = [ 20,0 ; 0,20 ] . Table 1 gives the parameters of the PCR network structure. The input of RBFNN is U R = θ t 1 , θ ˙ t 1 , θ d t 1 , θ ˙ d t 1 , θ ¨ d t 1 . The input data of CNN are composed of the two-dimensional information of joint trajectories in the past five iterations, as shown in Equation (11). In addition, the RBF-SMC controller is a contrast control algorithm, and its network structure is 5–7–1. The parameters of the RBFNN part of the PCR-SMC and RBF-SMC controllers are set identically.

4.2. Simulation Results and Analysis

Case 1. The control performance of the PCR-SMC controller is verified in a normal trajectory and compared with the RBF-SMC controller. The desired trajectory is shown in Equation (39) [45].
θ d t = 1.25 7 / 5 e t + 7 / 20 e 4 t 1.25 + e t 1 / 4 e 4 t .
The initial values of the joint angle are θ 1 0 = 0.3 and θ 2 0 = 1.9 , and the angular velocity is 0. During the 20 s simulation, random disturbance is added, and the amplitude is set to 0.1, which is used to simulate the external disturbance in the actual working condition. In addition, to effectively judge the response speed, convergence ability, and stability of the control algorithm, the externally changing load disturbance is added during the simulation for 5–10 s, as shown in Equation (40) [46]. After 15 s, the fixed load disturbance is added as [−15; −10] [47].
2.14 cos 10 t + 2 4.15 sin 20 t π / 4 .
Figure 4, Figure 5, Figure 6 and Figure 7 show the trajectory tracking simulation results and absolute errors. The estimated performance of the PCR network is shown in Figure 8, and the output control torque is shown in Figure 9. Both the PCR-SMC and RBF-SMC controllers have obvious convergence trends before applying the load. However, the tracking error of the RBF-SMC controller is larger than that of the PCR-SMC controller. After 5 s, a continuously varying load is applied. The tracking error of the RBF-SMC controller has a large oscillation, while the PCR-SMC controller has strong anti-interference ability, and the control error is in a small interval. After 15 s, the fixed load is applied, and the control torque and network output gradually converge to a new value. The control output and trajectory tracking process of the PCR-SMC controller are more stable. This shows that the PCR-SMC controller has strong control stability and superior control performance to the RBF-SMC controller.
Table 2, Table 3 and Table 4 show the mean absolute error (MAE) and standard deviation (SD) of the tracking results, including the overall control process (0–20 s), the control of variable disturbances (5–10 s), and the control of fixed disturbances (15–20 s). The MAE evaluates the tracking accuracy, and the SD evaluates the tracking stability of the trajectory. By analyzing the simulation results in the tables, we determined that the PCR-SMC controller reduces the trajectory tracking error and improves stability compared with the RBF-SMC method.
Case 2. The starfish-shaped trajectory is a more complex robot trajectory, which can further verify the effectiveness and stability of the PCR-SMC controller. The starfish-shaped trajectory model is shown in Equation (41).
0.8 + 0.2 × s i n 5 t × c o s t + 4 π / 3 0.8 + 0.2 × s i n 5 t × s i n t + 4 π / 3 .
The initial values of θ and θ ˙ are set to 0, and the others are the same as those in Case 1. The tracking results of the starfish trajectory at the robot’s end-effector are shown in Figure 10. Figure 11 and Figure 12 show the trajectory tracking results of the links. The model uncertainty approximation results based on the neural network are shown in Figure 13. The PCR-SMC controller has high tracking accuracy, and the output of the PCR network is more stable, showing better control performance. The effectiveness and versatility of the PCR-SMC controller are fully verified.
From the simulation results of the above two trajectory tracking control methods (see Figure 8 and Figure 13), we determined that, in the online approximation process of system model uncertainty, the output of the PCR network can converge rapidly, and the process is more stable, compared with the RBFNN. This shows that the feature value extracted by the CNN in the historical trajectory data is an important parameter for system model identification. Historical feature information is reasonably used, and it can effectively improve the identification accuracy and control stability of the dynamic model, improving the system’s control performance.
The simulation results of the PCR-SMC controller proposed in this study were compared with other controllers, and the comparison results are shown in Table 5. In the case of varying load and fixed load interference, the proposed PCR-SMC controller achieved excellent control results and demonstrated excellent competitiveness.

5. Conclusions

This paper proposed a new PCR-SMC controller and applied it to the trajectory tracking control problem of a two-link robot. We considered factors affecting trajectory tracking accuracy, including mechanical model uncertainties and external disturbances. The effective approximation and compensation of the model was realized by constructing a PCR network. Meanwhile, a new online learning algorithm was designed, by integrating adaptive control and the gradient descent method. The online learning mechanism can effectively adjust the connection weight of PCR network in real time, and the stability of the control system was proven by Lyapunov’s theory. The simulation was performed with normal and starfish-shaped trajectories. The results showed that the PCR-SMC controller effectively reduced the trajectory tracking errors on both trajectories, compared with the RBF-SMC controller. This shows that the PCR-SMC controller has higher tracking accuracy, strong stability to model uncertainty and external disturbance, and excellent control performance.
In future work, we will further improve the control performance of the sliding mode controller based on the PCR network by compensating for the uncertainty of the dynamic model, and enriching the controller’s application field.

Author Contributions

Conceptualization, H.W. and L.G.; methodology, H.W. and C.W.; software, H.W.; validation, Y.Z. and C.W.; resources, X.Z. (Xinming Zhang); writing—original draft preparation, H.W. and Y.Z.; writing—review and editing, X.Z. (Xinming Zhang) and L.S.; supervision, X.Z. (Xiaonan Zhao); project administration, L.S.; funding acquisition, L.G. and X.Z. (Xiaonan Zhao). All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Key Research and Development Project of Jilin Province Science and Technology Development Plan, grant number 20200401098GX. The Jilin Provincial Department of Education Science and Technology Project, grant number JJKH20220778KJ.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are included within the article and are also available from the corresponding authors upon request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yu, X.; He, W.; Li, H.; Sun, J. Adaptive fuzzy full-state and output-feedback control for uncertain robots with output constraint. IEEE Trans. Syst. Man Cybern. Syst. 2020, 51, 6994–7007. [Google Scholar] [CrossRef]
  2. Ghafarian, M.; Shirinzadeh, B.; Al-Jodah, A.; Das, T.K. Adaptive fuzzy sliding mode control for high-precision motion tracking of a multi-DOF micro/nano manipulator. IEEE Robot. Autom. Lett. 2020, 5, 4313–4320. [Google Scholar] [CrossRef]
  3. Sharma, R.; Kumar, V.; Gaur, P.; Mittal, A.P. An adaptive PID like controller using mix locally recurrent neural network for robotic manipulator with variable payload. ISA Trans. 2016, 62, 258–267. [Google Scholar] [CrossRef] [PubMed]
  4. Malik, A.A.; Masood, T.; Bilberg, A. Virtual reality in manufacturing: Immersive and collaborative artificial-reality in design of human-robot workspace. Int. J. Comput. Integr. Manuf. 2020, 33, 22–37. [Google Scholar] [CrossRef]
  5. Wei, B. Adaptive control design and stability analysis of robotic manipulators. Actuators 2018, 7, 89. [Google Scholar] [CrossRef]
  6. Tang, F.; Niu, B.; Wang, H.; Zhang, L.; Zhao, X. Adaptive fuzzy tracking control of switched MIMO nonlinear systems with full state constraints and unknown control directions. IEEE Trans. Circuits Syst. II Express Briefs 2022, 69, 2912–2916. [Google Scholar] [CrossRef]
  7. Galvan-Perez, D.; Yañez-Badillo, H.; Beltran-Carbajal, F.; Rivas-Cambero, I.; Favela-Contreras, A.; Tapia-Olvera, R. Neural Adaptive Robust Motion-Tracking Control for Robotic Manipulator Systems. Actuators 2022, 11, 255. [Google Scholar] [CrossRef]
  8. Chen, L.; Yan, B.; Wang, H.; Shao, K.; Kurniawan, E.; Wang, G. Extreme-learning-machine-based robust integral terminal sliding mode control of bicycle robot. Control. Eng. Pract. 2022, 121, 105064. [Google Scholar] [CrossRef]
  9. Hu, H.; Bei, S.; Zhao, Q.; Han, X.; Zhou, D.; Zhou, X.; Li, B. Research on Trajectory Tracking of Sliding Mode Control Based on Adaptive Preview Time. Actuators 2022, 11, 34. [Google Scholar] [CrossRef]
  10. Xu, C.Z. Research on Intelligent Backstepping Sliding Mode Control of Nonlinear Robots. Doctoral Dissertation, Huaqiao University, Quanzhou, China, 2012. [Google Scholar]
  11. Zhao, T.; Liu, J.; Dian, S.; Guo, R.; Li, S. Sliding-mode-control-theory-based adaptive general type-2 fuzzy neural network control for power-line inspection robots. Neurocomputing 2020, 401, 281–294. [Google Scholar] [CrossRef]
  12. Yang, Z.Y.; Wu, J.; Mei, J.P. Motor-mechanism dynamic model based neural network optimized computed torque control of a high speed parallel manipulator. Mechatronics 2007, 17, 381–390. [Google Scholar] [CrossRef]
  13. Gao, H.; Xiong, L. Research on a hybrid controller combining RBF neural network supervisory control and expert PID in motor load system control. Adv. Mech. Eng. 2022, 14, 16878132221109994. [Google Scholar] [CrossRef]
  14. Cheng, X.; Liu, H.; Lu, W. Chattering-suppressed sliding mode control for flexible-joint robot manipulators. Actuators 2021, 10, 288. [Google Scholar] [CrossRef]
  15. Yin, F.C.; Ji, Q.Z.; Wen, C.W. An adaptive terminal sliding mode control of stone-carving robotic manipulators based on radial basis function neural network. Appl. Intell. 2022, 52, 1–18. [Google Scholar] [CrossRef]
  16. Fang, W.; Chao, F.; Lin, C.M.; Zhou, D.; Yang, L.; Chang, X.; Shen, Q.; Shang, C. Visual-guided robotic object grasping using dual neural network controllers. IEEE Trans. Ind. Inform. 2020, 17, 2282–2291. [Google Scholar] [CrossRef]
  17. Chen, D.; Zhang, J.; Li, Z. A novel fixed-time trajectory tracking strategy of unmanned surface vessel based on the fractional sliding mode control method. Electronics 2022, 11, 726. [Google Scholar] [CrossRef]
  18. Ye, T.; Luo, Z.; Wang, G. Adaptive sliding mode control of robot based on fuzzy neural network. J. Ambient. Intell. Humaniz. Comput. 2020, 11, 6235–6247. [Google Scholar] [CrossRef]
  19. Yen, V.T.; Nan, W.Y.; Van Cuong, P. Robust adaptive sliding mode neural networks control for industrial robot manipulators. Int. J. Control. Autom. Syst. 2019, 17, 783–792. [Google Scholar] [CrossRef]
  20. Wang, D.H.; Zhang, S.J. Improved neural network-based adaptive tracking control for manipulators with uncertain dynamics. Int. J. Adv. Robot. Syst. 2020, 17, 1729881420947562. [Google Scholar] [CrossRef]
  21. Zhang, C.; Huang, Q.; Zhang, C.; Yang, K.; Cheng, L.; Li, Z. ECNN: Intelligent Fault Diagnosis Method Using Efficient Convolutional Neural Network. Actuators 2022, 11, 275. [Google Scholar] [CrossRef]
  22. Yao, X.; Chen, Z. Sliding mode control with deep learning method for rotor trajectory control of active magnetic bearing system. Trans. Inst. Meas. Control. 2019, 41, 1383–1394. [Google Scholar] [CrossRef]
  23. Zhou, M.; Feng, Y.; Xue, C.; Han, F. Deep convolutional neural network based fractional-order terminal sliding-mode control for robotic manipulators. Neurocomputing 2020, 416, 143–151. [Google Scholar] [CrossRef]
  24. Hemalakshmi, G.R.; Santhi, D.; Mani, V.R.S.; Geetha, A.; Prakash, N.B. Classification of retinal fundus image using MS-DRLBP features and CNN-RBF classifier. J. Ambient. Intell. Humaniz. Comput. 2021, 12, 8747–8762. [Google Scholar] [CrossRef]
  25. Hong, Y.Y.; Rioflorido, C.L.P.P. A hybrid deep learning-based neural network for 24-h ahead wind power forecasting. Appl. Energy 2019, 250, 530–539. [Google Scholar] [CrossRef]
  26. Sideratos, G.; Ikonomopoulos, A.; Hatziargyriou, N.D. A novel fuzzy-based ensemble model for load forecasting using hybrid deep neural networks. Electr. Power Syst. Res. 2020, 178, 106025. [Google Scholar] [CrossRef]
  27. Liu, J. Robot Control System Design and Matlab Simulation: Basic Design Method; Press of Tsinghua University: Beijing, China, 2016; pp. 20–35. [Google Scholar]
  28. Liu, A.; Zhao, H.; Song, T.; Liu, Z.; Wang, H.; Sun, D. Adaptive control of manipulator based on neural network. Neural Comput. Appl. 2021, 33, 4077–4085. [Google Scholar] [CrossRef]
  29. Lu, P.; Huang, W.; Xiao, J.; Zhou, F.; Hu, W. Adaptive Proportional Integral Robust Control of an Uncertain Robotic Manipulator Based on Deep Deterministic Policy Gradient. Mathematics 2021, 9, 2055. [Google Scholar] [CrossRef]
  30. Yu, X.; Zhang, S.; Fu, Q.; Xue, C.; Sun, W. Fuzzy Logic Control of an Uncertain Manipulator with Full-State Constraints and Disturbance Observer. IEEE Access 2020, 8, 24284–24295. [Google Scholar] [CrossRef]
  31. Nohooji, H.R. Constrained neural adaptive PID control for robot manipulators. J. Frankl. Inst. 2020, 357, 3907–3923. [Google Scholar] [CrossRef]
  32. Özyer, B. Adaptive fast sliding neural control for robot manipulator. Turk. J. Electr. Eng. Comput. Sci. 2020, 28, 3154–3167. [Google Scholar]
  33. Feng, H.; Song, Q.; Ma, S.; Ma, W.; Yin, C.; Cao, D.; Yu, H. A new adaptive sliding mode controller based on the RBF neural network for an electro-hydraulic servo system. ISA Trans. 2022, 129, 472–484. [Google Scholar] [CrossRef] [PubMed]
  34. Zhang, F.; Xiao, H.; Zhang, Y.; Gong, G. Distributed Drive Electric Bus Handling Stability Control Based on Lyapunov Theory and Sliding Mode Control. Actuators 2022, 11, 85. [Google Scholar] [CrossRef]
  35. Zhang, X.; Xu, W.; Lu, W. Fractional-order iterative sliding mode control based on the neural network for manipulator. Math. Probl. Eng. 2021, 2021, 1–12. [Google Scholar] [CrossRef]
  36. Gao, L.; Xiong, L.; Lin, X.; Xia, X.; Liu, W.; Lu, Y.; Yu, Z. Multi-sensor fusion road friction coefficient estimation during steering with lyapunov method. Sensors 2019, 19, 3816. [Google Scholar] [CrossRef]
  37. Gabdullin, N.; Madanzadeh, S.; Vilkin, A. Towards end-to-end deep learning performance analysis of electric motors. Actuators 2021, 10, 28. [Google Scholar] [CrossRef]
  38. Abdou, M.A. Literature review: Efficient deep neural networks techniques for medical image analysis. Neural Comput. Appl. 2022, 34, 5791–5812. [Google Scholar] [CrossRef]
  39. Ding, S.; Zhao, H.; Zhang, Y.; Xu, X.; Nie, R. Extreme learning machine: Algorithm, theory and applications. Artif. Intell. Rev. 2015, 44, 103–115. [Google Scholar] [CrossRef]
  40. Van Cuong, P.; Nan, W.Y. Adaptive trajectory tracking neural network control with robust compensator for robot manipulators. Neural Comput. Appl. 2016, 27, 525–536. [Google Scholar] [CrossRef]
  41. Nadeem, F.; Alghazzawi, D.; Mashat, A.; Fakeeh, K.; Almalaise, A.; Hagras, H. Modeling and predicting execution time of scientific workflows in the grid using radial basis function neural network. Clust. Comput. 2017, 20, 2805–2819. [Google Scholar] [CrossRef]
  42. Yang, X.; Sun, W.; Dong, H.; Wu, X. Adaptive Prescribed Performance Fuzzy Control for n-Link Flexible-Joint Robots Under Event-Triggered Mechanism. Int. J. Fuzzy Syst. 2022, 25, 1019–1033. [Google Scholar] [CrossRef]
  43. Feng, Y.; Yu, X.; Man, Z. Non-singular terminal sliding mode control of rigid manipulators. Automatica 2002, 38, 2159–2167. [Google Scholar] [CrossRef]
  44. Nojavanzadeh, D.; Badamchizadeh, M. Adaptive fractional-order non-singular fast terminal sliding mode control for robot manipulators. IET Control. Theory Appl. 2016, 10, 1565–1572. [Google Scholar] [CrossRef]
  45. Wang, H.; Fang, L.; Song, T.; Xu, J.; Shen, H. Model-free adaptive sliding mode control with adjustable funnel boundary for robot manipulators with uncertainties. Rev. Sci. Instrum. 2021, 92, 065101. [Google Scholar] [CrossRef] [PubMed]
  46. Zhang, X.; Shi, R. Adaptive Fractional-Order Nonsingular Fast Terminal Sliding Mode Control for Manipulators. Complexity 2021, 2021, 1–13. [Google Scholar] [CrossRef]
  47. Liu, Q.; Li, D.; Ge, S.S.; Ji, R.; Ouyang, Z.; Tee, K.P. Adaptive bias RBF neural network control for a robotic manipulator. Neurocomputing 2021, 447, 213–223. [Google Scholar] [CrossRef]
  48. Chang, Z.; Hao, L.; Yan, Q.; Ye, T. Research on manipulator tracking control algorithm based on RBF neural network. J. Phys. Conf. Ser. 2021, 1802, 032072. [Google Scholar] [CrossRef]
  49. Lin, C.J.; Sie, T.Y.; Chu, W.L.; Yau, H.T.; Ding, C.H. Tracking control of pneumatic artificial muscle-activated robot arm based on sliding-mode control. Actuators 2021, 10, 66. [Google Scholar] [CrossRef]
Figure 1. The model of n-link robotic manipulator.
Figure 1. The model of n-link robotic manipulator.
Actuators 12 00187 g001
Figure 2. Schematic of the PCR-SMC controller.
Figure 2. Schematic of the PCR-SMC controller.
Actuators 12 00187 g002
Figure 3. Structure of PCR network.
Figure 3. Structure of PCR network.
Actuators 12 00187 g003
Figure 4. Desired and actual tracked trajectories of links on a normal trajectory.
Figure 4. Desired and actual tracked trajectories of links on a normal trajectory.
Actuators 12 00187 g004
Figure 5. Trajectory tracking absolute error on a normal trajectory.
Figure 5. Trajectory tracking absolute error on a normal trajectory.
Actuators 12 00187 g005
Figure 6. Desired and actual tracking speeds of links on a normal trajectory.
Figure 6. Desired and actual tracking speeds of links on a normal trajectory.
Actuators 12 00187 g006
Figure 7. Speed tracking absolute error on a normal trajectory.
Figure 7. Speed tracking absolute error on a normal trajectory.
Actuators 12 00187 g007
Figure 8. Network estimation output on a normal trajectory.
Figure 8. Network estimation output on a normal trajectory.
Actuators 12 00187 g008
Figure 9. Control torque on a normal trajectory.
Figure 9. Control torque on a normal trajectory.
Actuators 12 00187 g009
Figure 10. Robot end-effector trajectory tracking results.
Figure 10. Robot end-effector trajectory tracking results.
Actuators 12 00187 g010
Figure 11. Desired and actual tracked trajectories of links on a starfish-shaped trajectory.
Figure 11. Desired and actual tracked trajectories of links on a starfish-shaped trajectory.
Actuators 12 00187 g011
Figure 12. Desired and actual tracking speeds of links on a starfish-shaped trajectory.
Figure 12. Desired and actual tracking speeds of links on a starfish-shaped trajectory.
Actuators 12 00187 g012
Figure 13. Network estimation output on a starfish-shaped trajectory.
Figure 13. Network estimation output on a starfish-shaped trajectory.
Actuators 12 00187 g013
Table 1. Parameters of PCR network.
Table 1. Parameters of PCR network.
ParametersValue
Number of convolution kernels ( M C , n u m )2
Size ( M C , 1 ) 2 × 2
Size ( M C , 2 ) 3 × 3
Learning rate ( μ )0.005
Number of hidden layers ( H )7
Table 2. Overall tracking error (0–20 s).
Table 2. Overall tracking error (0–20 s).
ErrorPCR-SMCRBF-SMC
Link 1Link 2Link 1Link 2
Position errorMAE0.00390.00310.00660.0041
SD0.01350.01300.01530.0134
Speed errorMAE0.02150.02410.05010.0366
SD0.03660.09410.10140.1050
Table 3. Tracking error with variable disturbance (5–10 s).
Table 3. Tracking error with variable disturbance (5–10 s).
ErrorPCR-SMCRBF-SMC
Link 1Link 2Link 1Link 2
Position errorMAE0.00540.00370.01170.0064
SD0.00610.00430.01350.0078
Speed errorMAE0.05170.06630.11310.0969
SD0.06610.13610.07610.1157
Table 4. Tracking error with fixed interference (15–20 s).
Table 4. Tracking error with fixed interference (15–20 s).
Error PCR-SMCRBF-SMC
Link 1Link 2Link 1Link 2
Position errorMAE0.00180.00120.00500.0023
SD0.00640.00380.00940.0046
Speed errorMAE0.01090.00650.04200.0184
SD0.03690.07410.02020.0337
Table 5. Controller comparison results.
Table 5. Controller comparison results.
ControllerRobot TypeMaximum ErrorMAEExternal Interference
PCR-SMC controller2DOF0.1 rad0.0039 radVarying and fixed load
Adaptive controller [28]2DOFNear 0.2 rad-No
RFISMSC [35]2DOF0.1 rad-No
AISMC-TDE [45]2DOFNear 0.43 rad0.0149 radVarying load
Adaptive controller [47]2DOFNear 0.4 rad-Fixed load
Robust control system [48]2DOF0.28 rad-No
HOSMC [49]2DOFNear 0.7 rad-Lower load
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.

Share and Cite

MDPI and ACS Style

Wu, H.; Zhang, X.; Song, L.; Zhang, Y.; Wang, C.; Zhao, X.; Gu, L. Parallel Network-Based Sliding Mode Tracking Control for Robotic Manipulators with Uncertain Dynamics. Actuators 2023, 12, 187. https://doi.org/10.3390/act12050187

AMA Style

Wu H, Zhang X, Song L, Zhang Y, Wang C, Zhao X, Gu L. Parallel Network-Based Sliding Mode Tracking Control for Robotic Manipulators with Uncertain Dynamics. Actuators. 2023; 12(5):187. https://doi.org/10.3390/act12050187

Chicago/Turabian Style

Wu, Honggang, Xinming Zhang, Linsen Song, Yufei Zhang, Chen Wang, Xiaonan Zhao, and Lidong Gu. 2023. "Parallel Network-Based Sliding Mode Tracking Control for Robotic Manipulators with Uncertain Dynamics" Actuators 12, no. 5: 187. https://doi.org/10.3390/act12050187

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop