Next Article in Journal
Enzymatic Pretreatment of Slaughterhouse Wastewater: Application of Whole Lipolytic Cells of Rhizopus oryzae Produced from Residual Vegetable Oil
Previous Article in Journal
Determination of 24 Trace Aromatic Substances in Rosemary Hydrosol by Dispersed Liquid–Liquid Microextraction–Gas Chromatography
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Neural Network Tracking Control of Robotic Manipulators Based on Disturbance Observer

1
School of Electrical Engineering, Anhui Polytechnic University, Wuhu 241000, China
2
Anhui Undergrowth Crop Intelligent Equipment Engineering Research Center under Grant, Lu’an 237012, China
*
Author to whom correspondence should be addressed.
Processes 2024, 12(3), 499; https://doi.org/10.3390/pr12030499
Submission received: 22 January 2024 / Revised: 20 February 2024 / Accepted: 26 February 2024 / Published: 28 February 2024
(This article belongs to the Section Automation Control Systems)

Abstract

:
This article presents an adaptive neural network (ANN) control scheme based on a disturbance observer that can achieve trajectory tracking control of robotic manipulators under external disturbances and dynamic model uncertainties. Firstly, an ANN controller based on full-state feedback is derived using the backstepping technique to achieve an online approximation of uncertainty. The integral sliding mode surface with a position error is introduced into the controller, which reduces the steady-state error of the system and enhances robustness. Then, a novel disturbance observer is designed to estimate both the approximation errors of the ANN and external disturbances, and to provide compensation for the controller, effectively suppressing the trajectory tracking errors caused by approximation errors and disturbances. Subsequently, the Lyapunov stability theory is utilized to demonstrate the stability of the developed control strategy and the boundedness of all closed-loop signals. Finally, numerical simulations are used to confirm the efficacy of the proposed control method.

1. Introduction

With the improvement of robot technology and automation levels, the research on robot control systems has attracted widespread attention [1,2,3,4,5]. The robotic manipulator can be regarded as a multivariable, strongly coupled, and uncertain nonlinear system, which is susceptible to model parameter perturbations and unknown nonlinearities. In recent years, adaptive neural networks (ANNs) have received increasing attention and have been designed as approximation controllers for nonlinear uncertain systems. Furthermore, ANN control methods have been successfully applied to the full-state feedback control and output feedback control of nonlinear systems [6], the asymptotic stability of tracking errors for aircraft and autonomous underwater vehicles [7,8], and robot motion control [9], etc.
Many control schemes have been successfully applied to robotic systems with complex control problems. Based on the calculation torque control method, a linear model of the robotic system was obtained, and a fractional order PID controller was designed to improve the anti-interference ability of the tracking system [10]. However, PID controllers do not meet the high-precision control requirements of robot systems with nonlinear and time-varying characteristics. In [11,12], a robust control method was introduced into the nonlinear mechanical system of constrained robots, but [12] can only guarantee that the time-varying bounded constraints were satisfied. To achieve accuracy in tracking the position of human hands, an adaptive impedance control was proposed by combining nonlinear control theory with dynamic models to guarantee the safety of human–robot interaction [13]. In [14], it uses saturation functions instead of sign functions and quasi-sliding modes, and compared with the sign function with ideal switching characteristics, the input torque curve based on the saturation function is smoother and can weaken the system’s chattering. A new sliding mode controller has been developed considering the kinematic and dynamic models of nonlinear robots, which can meet the requirements of motion speed and direction [15]. Although the above methods can meet the control requirements, the uncertainty of the model and the external unknown disturbances remain challenging issues.
In recent years, sliding mode control (SMC) has been widely used due to its strong robustness to external disturbances and model uncertainties [14,16]. Furthermore, in order to improve the adaptive control design of systems, neural network (NN) control and fuzzy control have been studied due to their strong approximation ability. The adaptive fuzzy SMC was studied for robots [17,18,19]. A fuzzy control design lacks systematicity and may reduce the control accuracy of the system, while ANN control has a simple structure and can approximate nonlinear functions with arbitrary precision. In [20], a comprehensive description was given of a composite control strategy combining SMC and NNs, which can be used to improve the tracking control of nonlinear robot systems. In [21,22], an ANN scheme for the trajectory tracking control of robotic manipulators was designed, and the barrier Lyapunov function was introduced to handle output error constraints/full state constraints. Moreover, [21] used a RBFNN to approximate the lumped uncertainty including external disturbances, and add an auxiliary system to the controller to reduce the impact of input saturation. In [22], the effects of actuator saturation and time-varying delay were eliminated. A neural network-based backstepping SMC method was studied, which utilized backstepping SMC to compensate for input saturation and applied NN control to approximate model uncertainty online [23]. Ref. [24] presented a neural network-based SMC for n-link robots with an input dead zone and delay constraints. Furthermore, error translation functions were added to the sliding surface to improve tracking accuracy, and obstacle functions were used to solve state constraint problems. Ref. [25] designed an ANN controller combined with symmetric barrier Lyapunov function, which utilizes the continuous updating of network weights to approximate unknown nonlinear dynamics. In addition, SMC was added to the backstepping design to eliminate the chattering phenomenon of the system. From the above analysis, the method of combining ANNs with SMC makes the system have strong anti-interference ability and robustness.
Disturbance observers are widely used to handle uncertain disturbances in nonlinear systems, typically combined with control methods. Uncertain nonlinear systems with linear parameters can be solved by combining the NN control techniques that have been presented recently with conventional adaptive control and backstepping control. Based on the above research, it is necessary to combine disturbance observer technology with NN control to solve the tracking control problem of nonlinear robot systems. A composite controller combining the observer control method with a sliding mode control and a neural network was designed to achieve control objectives for nonlinear systems [26,27,28,29]. In [26], it introduces the use of optimization methods to obtain the optimal weights of the NN observer, which reduces the workload of adjusting parameters. Then, the position and speed of the robot were estimated using observers. This scheme makes the changes in control inputs smoother. In [27,29], disturbance observers were utilized to handle unknown models and disturbances, but [27] was not applicable in the presence of measurement noise. To achieve the feedback control of gyroscope output, Ref. [30] developed ANNs and disturbance observers to address the problems of nonlinear dynamics, environmental fluctuations, and external disturbances. To enhance robustness, the SMC method was introduced. An observer-based ANN impedance control method was studied for constrained robotic manipulators [31], where the disturbance observer was used to eliminate unknown disturbances and the ANN was employed to solve unknown dynamic models. Under the action of the controller, the robot exhibits a given ideal impedance relationship in its interaction with the outside world. In the above discussion, most control methods require a large amount of online computation, and disturbance observers are only utilized to handle external disturbances without fully considering the approximation errors of ANNs. Based on this, an ANN control strategy based on disturbance observer compensation is studied in this paper. This article first uses an ANN controller to approximate model uncertainty. We further design a new disturbance observer to simultaneously estimate approximation errors and external disturbances, which is different from previous work. Subsequently, we update this estimated value into the designed controller to provide compensation.
By combining the recently proposed neural network control methods with adaptive control and backstepping techniques, uncertain nonlinear systems with linear parameters can be solved. The main contributions of the algorithm proposed in this article are as follows:
(1)
A novel adaptive neural network controller combining a disturbance observer is designed to simultaneously solve the uncertain parts of the model and environmental disturbances. Compared to [6], an ANN controller is derived using backstepping technology, and a sliding mode surface with an integral term is added to the virtual control law. This reduces the steady-state errors of the system and enhances its robustness without increasing its energy consumption.
(2)
The bounded value of approximation error is introduced in the observer structure, which can accurately estimate the approximation error of the ANN and ensure the stability of the observer. When designing the observer, considering the online approximation of uncertainty by the adaptive update law, the state equation of the system is rewritten.
(3)
Unlike [27,29,31], in addition to estimating external disturbances, the designed disturbance observer can also handle the approximation errors of NNs. The uniform boundedness of all signals in the closed-loop system is proved using the Lyapunov stability theorem.
The rest of this article is constructed as follows: Section 2 introduces the description of the problem and preparation. Section 3 provides a detailed process and stability analysis of the control law design. The numerical simulation of a robotic manipulator with two degrees is presented in Section 4. Finally, the conclusions of the research are drawn in Section 5.

2. Preliminaries and Problem Description

2.1. Preliminaries

Notation 1.
  T   denotes the transpose matrix,     represents the absolute value, and     means the Euclidean norm.
Lemma 1
([32]). If there exists a continuous positive differentiable function   V x   that satisfies   κ 1 x < V x < κ 2 x   (   κ 1   and   κ 2   belong to class   K   functions) and has a bounded initial condition, if   V ˙ x ρ V x + C   , where   ρ , C > 0   , then   V x   is bounded and the solution   x t   is uniformly bounded.
Lemma 2
([32]). Let   Q R n × n   be a positive semi-definite symmetric matrix; therefore, all the eigenvalues of   Q   are positive real numbers. There exists   λ min x 2 x T Q x λ max x 2   ,   x R n   , where   λ min   and   λ max   are the minimum and maximum eigenvalues of   Q   .
Definition 1
([33]). Semi-globally uniformly bounded (SGUB): Consider a generalized nonlinear system   ψ ˙ = f ψ , t   ,   ψ R n   ,   t t 0   . For any compact set   Ω i   and initial state   ψ t 0   Ω i   , if there is a constant   μ > 0   and a time constant   T ξ , ψ t 0   , it satisfies   ψ t μ   ,   t t 0 + T ξ , ψ t 0   . We define the system state   ψ t   as SGUB.

2.2. Neural Networks

Any continuous function f i Z can be approximated by a neural network, which can be represented as
f i Z : R q R , f i Z = W i T S i Z , i = 1 , 2 , , n
where Z = [ Z 1 , , Z q ] T is the input of NNs, W i = [ ω 1 , , ω n ] T is the weight vector, and N > 1 denotes the number of nodes in the NN, S i Z = [ S 1 Z , , S N Z ] T represents the basis function vector.
According to the definition [6], we know that there exists an optimal weight W i * = W i * , , W n * R N × n , and given the function f i Z on the compact set Z Ω R q , it can be approximated with arbitrary accuracy through the output of the NNs.
f i Z = W i * T S i Z + ε i Z , i = 1 , 2 , , n
where ε i Z = ε 1 Z , , ε n Z T is the approximation error, which is bounded and satisfies ε i Z ε ¯ i , Z Ω , where ε ¯ i is an unknown positive constant. And W i * satisfies W i * : = arg   min W i R N sup Z Ω f i Z W i T S i Z .
The selected Gaussian function is represented as
S i Z = exp z μ i 2 η i 2 , i = 1 , , N
where μ i and η i are the center position and width of the i-th neuron, respectively.
Remark 1.
According to the expression of W i * , which is defined as the value W i that minimizes ε i Z , the selection of parameters in Gaussian functions will have an impact on ε i Z . Considering the optimal weight W i * , we can obtain f i Z f ^ i Z , W * = ε i Z ε ¯ i .

2.3. Problem Description

The dynamics of an n-link rigid robotic manipulator are as follows [6].
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = τ ( t ) J T ( q ) f ( t )
where q R n represents the position vector, M q R n × n is the inertia matrix of the robotic manipulator, which is positively definite and symmetric, C q , q ˙ q ˙ R n × n , G q R n denotes the Coriolis-centripetal torque and the gravity vector, respectively. τ t R n denotes the control input torque of the system. J q f t is the product of the Jacobian matrix and the external forces exerted by humans and the environment.
Property 1
([6]).  M ˙ q 2 C q , q ˙ is a skew-symmetric matrix.
Assumption 1.
The nonlinear term   f ( t )   is supposed to be constrained, bounded and slowly varying, it satisfies   f ( t ) f ¯   , where   f ¯   is a positive constant.
Let   x 1 = q = x 11 , , x 1 n T   and   x 2 = q ˙ = x 21 , , x 2 n T   , and the integrated system can be rewritten as
x ˙ 1 = x 2 x ˙ 2 = M 1 x 1 τ J T x 1 f t C ( x 1 , x 2 ) x 2 G ( x 1 )
The control objective is to design a controller that enables the system variable q to accurately track the set desired trajectory x d t = q d 1 t , , q d n t T while ensuring that the error of constraint converges to the zero domain. The desired trajectory x d t is bounded and differentiable. In the following, we abbreviate M x 1 as M , C x 1 , x 2 as C , and G x 1 as G .
Remark 2.
In actual operation, robotic manipulators are easily affected by parameter perturbations and external disturbances, so it is necessary to consider the uncertainty of  C q , q ˙ q ˙  and  G q  in their models. The forces that interact between the robot and its surroundings are mostly responsible for the external disturbances of the model. Due to the extremely short duration of the interaction force, it does not affect the system’s overall convergence; rather, it solely influences the estimated value or tracking error of the disturbance during the operating time. The force  f ( t )  is bounded because of the constraints imposed by the robot’s physical structure. The above Assumption 1 is reasonable. We reasonably assume that the model errors, desired trajectories, and disturbances are limited because the joint angles and velocities of the robotic manipulator are bounded.

3. Main Results

3.1. Controller Design

In this section, an ANN full-state feedback control strategy for nonlinear robotic systems is proposed to handle uncertainty. Subsequently, under the action of the newly designed observer, disturbances and approximation errors are resolved, which is different from existing research. The block diagram of the tracking control scheme is depicted in Figure 1.
To begin with, we define the generalized tracking errors z 1 t and z 2 t as
z 1 t = z 11 t , , z 1 n t T = x 1 t x d t = x 11 t q d 1 t , , x 1 n t q d n t T
z 2 t = z 21 t , , z 2 n t T = x 2 t α t = x 21 t α 1 t , , x 2 n t α n t T
where α t = α 1 t , α 2 t , , α n t T is the virtual controller to be introduced, which will be provided below.
The linear sliding surface can be designed as
S 1 t = z 1 t + K 1 0 t z 1 t d t
Design the virtual controller α as
α = K 1 z 1 K s S 1 + x ˙ d
where K 1 and K s are positive-definite diagonal matrices, and we have
z ˙ 1 = z 2 + α x ˙ d = z 2 K 1 z 1 K s S 1
According to (5) and (9), the derivative of z 2 is
z ˙ 2 = M 1 τ J T f t C x 2 G α ˙
Then, the time derivative of S 1 t is
S ˙ 1 = z ˙ 1 + K 1 z 1 = z 2 + α x ˙ d + K 1 z 1
A model-based controller τ 0 is designed as
τ 0 = S 1 K 2 z 2 + J T f t + C α + G + M α ˙
where K 2 is the positive-definite diagonal matrix.
The Lyapunov function candidate V 1 is chosen as
V 1 = 1 2 S 1 T S 1 + 1 2 z 2 T M z 2
Differentiating V 1 yields
V ˙ 1 = S 1 T K s S 1 + S 1 T z 2 + 1 2 z 2 T M ˙ 2 C z 2 + z 2 T τ 0 J T f t C α G M α ˙ = S 1 T K s S 1 + S 1 T z 2 + z 2 T τ 0 J T f t C α G M α ˙
Remark 3.
According to Property 1 and the definition of skew-symmetric matrices, we have  1 2 z 2 T M ˙ 2 C z 2 = 0  . By substituting (13) into (15), we have  V ˙ 1 = S 1 T K s S 1 z 2 T K 2 z 2  , and the sliding mode surface  S 1 t  will converge to zero, that is,  S 1 t = 0  . Subsequently, according to (12), we have  S ˙ 1 = z ˙ 1 + K 1 z 1 = 0  , and the tracking error    z 1    will converge to zero.
A robotic manipulator is a nonlinear and complex system. In actual control processes, it is difficult to obtain accurate dynamic models, and uncertainty exists in C ( x 1 , x 2 ) , G ( x 1 ) , and f t . In the actual operation process, the model-based controller τ 0 designed in (13) may not be able to achieve the control objectives. Therefore, ANNs are introduced to compensate for unknown dynamic model parameters and improve tracking accuracy. The ANN controller τ is designed as
τ = S 1 K 2 z 2 + J T f t + W ^ T S Z + M x 1 α ˙ t
where S Z is the radial basis function, and Z = x 1 T , x 2 T , α T , α ˙ T are the input variables of the NN. W ^ and W * are the estimated and optimal weights of the NN, and the error between them is defined as W ˜ = W ^ W * . The optimal weight is constructed for the convenience of derivation and analysis, and W ^ T S Z is utilized to estimate W * T S Z ,
C x 1 , x 2 α t + G x 1 = W * T S Z ε Z
where ε Z R n is the approximation error.
The weight adaptive law W ^ ˙ i of NNs is designed as
W ^ ˙ i = Γ i S Z z 2 , i + σ i W ^
where σ i is a small positive constant used to improve robustness, and Γ i is a positive definite gain matrix.
Remark 4.
Due to the boundedness of    x 1    ,    x 2    ,    x d    , and    x ˙ d    , it can be concluded that the sliding mode surface    S 1 t    and virtual control  α  given in (8) and (9) are bounded. Considering that the NN    W ^ T S Z    is bounded, the adaptive controller  τ  in (16) is also bounded. It is worth mentioning that if the value of one of    C ( x 1 , x 2 )    and    G ( x 1 )    is precisely known, we can exclude this term from (17) and rewrite this part in (16).
To handle the approximation error and time-varying disturbance of the ANN in (16), a new disturbance observer is proposed to accurately estimate ε Z and J T f t . Firstly, based on the research in the previous chapter, the state Equation (5) can be rewritten as
x ˙ 1 = x 2 x ˙ 2 = M 1 x 1 τ W ^ T S Z + M 1 x 1 ϖ
where ϖ = J T f t ε Z represents the external disturbances of the system and the approximation errors of ANNs.
Remark 5.
While ensuring the convergence of    z 2    , according to (7), (16), and (17), we have    C ( x 1 , x 2 ) x 2 + G ( x 1 ) C x 1 , x 2 α t + G x 1 = W ^ T S Z + ε Z    .    x 2    exists in model uncertainty, and the ANN control processes it first to make the tracking error    z 2 = x 2 α    converge to the small neighborhood of zero. Therefore, when designing the observer, we can reasonably approximate    x 2    as    α    .
Then, the disturbance observer is designed as
ϖ ^ ˙ = l x M x 1 x ˙ 2 + W ^ T S Z + ε ¯ τ ϖ ^
where l x = diag l 11 , l 12 , , l 1 n > 0 is a nonlinear gain matrix, to simplify the derivation, l x is designed as a linear function vector. ϖ ^ is the estimated observation value of ϖ . The designed disturbance observer (20) may not complete the control goal, and this is because it requires angular acceleration signals of the state, and system instability may result from obtaining acceleration signals by differentiating velocity signals. Therefore, this article has designed the following three steps to solve the above problems.
Step 1. Construct auxiliary functions and define the internal state variables of the observer as
γ = ϖ h x
where γ R n is the internal state variable of the observer, and h x R n represents the function vector to be designed. To avoid introducing acceleration signals, the gain matrix l x and the h x of the disturbance observer have the following relationship:
l x M x 1 x ˙ 2 = d h x d x
Step 2. Design disturbance observer structure. According to (20)–(22), we have
γ ^ ˙ = l x W ^ T S Z + ε ¯ τ γ ^ h x
We can obtain a disturbance observer without acceleration as
ϖ ^ = γ ^ + h x γ ^ ˙ = l x W ^ T S Z + ε ¯ τ γ ^ h x
Remark 6.
In the design process of the disturbance observer, in order to ensure the stability of the observer structure, an approximation error bounded value    ε ¯    is added. Based on prior knowledge, we know that    ε Z ε ¯    ,    Z Ω    . The disturbance observer designed in [29] is    ϖ ^ ˙ = l x M x 1 x ˙ 2 + C x 1 , x 2 x 2 + G x 1 τ ϖ ^    , which only estimates and compensates for external friction without considering the approximation error    ε Z    . Unlike in [29], the observer designed in this article can simultaneously process    ε Z    and    f t    .
Step 3. We define the observation error of the disturbance observer as
ϖ ˜ = ϖ ϖ ^
According to (22)–(25), the derivative of ϖ ˜ is
ϖ ˜ ˙ = ϖ ˙ ϖ ^ ˙ = ϖ ˙ γ ˙ d h x d x = l x ϖ ^ l x W ^ T S Z + ε ¯ τ l x M x ˙ 2 = l x ϖ ^ l x W ^ T S Z + ε ¯ τ l x τ W ^ T S Z + ϖ = l x ϖ ˜ l x ε ¯
It is difficult to obtain prior knowledge of disturbance differentiation in practical situations. We assume that the characteristic change of ϖ with respect to the disturbance observer is slow, there is ϖ ˙ = 0 .
The design of an ANN controller τ based on the disturbance observer is as follows
τ = S 1 K 2 z 2 + W ^ T S Z + M x 1 α ˙ t ϖ ^
Theorem 1.
For the robot system described in (4), under the action of the adaptive neural network controller (27), all state variables can be measured and globally stable. For the initial compact set    Ω 0    , where    x 1 0 , x 2 0 , ϖ ^ 0 , W ^ i 0 , S 1 0 Ω 0    , the error signals    z 1    ,    z 2    ,    ϖ ˜    , and    W ˜    and the sliding mode vector    S 1    will always be in the compact sets    Ω z 1    ,    Ω z 2    ,    Ω ϖ ˜    ,    Ω W    , and    Ω S 1    :
Ω z 1 = z 1 D Ω z 2 = z 2 D λ m i n M Ω ϖ ˜ = ϖ ˜ D Ω W = W ˜ D λ m i n Γ 1 Ω S 1 = S 1 D
where    D = 2 V 2 0 + C / ρ    ,    ρ    and    C    are constants and satisfy    ρ > 0    and    C > 0    .
Proof. 
A Lyapunov function   V 2   is constructed as follows:
V 2 = 1 2 S 1 T S 1 + 1 2 z 2 T M z 2 + 1 2 i = 1 n W ˜ i T Γ i 1 W ˜ i + 1 2 ϖ ˜ T ϖ ˜
By substituting (18), (19), (26), and (27) into the derivative of V 2 , we can obtain
V ˙ 2 = S 1 T K s S 1 + S 1 T z 2 + z 2 T τ W ^ T S Z + ϖ M α ˙ + i = 1 n W ˜ i T Γ i 1 W ˜ ˙ i + ϖ ˜ T ϖ ˜ ˙ S 1 T K s S 1 + S 1 T z 2 + z 2 T S 1 K 2 z 2 + ϖ ϖ ˜ + i = 1 n W ˜ i T Γ i 1 W ^ ˙ i + ϖ ˜ T ϖ ˜ ˙ S 1 T K s S 1 z 2 T K 2 z 2 z 2 T ϖ ˜ i = 1 n W ˜ i T σ i W ^ i + ϖ ˜ T l x ϖ ˜ l x ε ¯ S 1 T K s S 1 z 2 T K 2 1 2 I z 2 i = 1 n σ i 2 W ˜ i 2 + i = 1 n σ i 2 W i * 2 ϖ ˜ T 1 2 l x 1 2 I ϖ ˜ + 1 2 l x ε ¯ 2 ρ V 2 + C
where
ρ = min 2 λ min K s , 2 λ min K 2 1 2 I λ max M , min σ i λ max Γ i 1 , λ min l x I
C = i = 1 n σ i 2 W i * 2 + 1 2 l x ε ¯ 2
Through the above analysis, we can prove that signals z 1 , z 2 , ϖ ˜ , W ˜ , and S 1 are semi-globally uniformly bounded.
By multiplying the left and right ends of the Equation (30) by e ρ t and integrating them on 0 , t , we can obtain
V ˙ 2 e ρ t ρ V 2 e ρ t + C e ρ t d d t V 2 e ρ t C e ρ t V 2 e ρ t C ρ e ρ t + V 2 0 C ρ V 2 V 2 0 C ρ e ρ t + C ρ V 2 0 + C ρ
Then, we have
1 2 z 1 2 V 2 0 + C ρ
From the above analysis, it can be found that z 1 converges to the compact set Ω z 1 , and similarly, it can be proven that z 2 , ϖ ˜ , W ˜ , and S 1 converge to the compact sets Ω z 2 , Ω ϖ ˜ , Ω W , and Ω S 1 , respectively.
The proof is completed. □

3.2. Design Procedure

The design procedure of this scheme is summarized as follows:
  • Rewrite the system into the form of (5) using (4).
  • Set x d = 0.14 sin 0.5 t ; 0.14 cos 0.5 t in (6) and choose K 1 , K 2 , K S > 0 .
  • Determine S 1 t and α from (8) and (9), and design τ 0 as the structure in (13), so that (15) satisfies V ˙ 1 < 0 .
  • Reconstruct C x 1 , x 2 α t and G x 1 in (13) to obtain the form of (16), and select appropriate values for Γ i and σ i in (18).
  • Build the system in the form of (19) using (5) and (17).
  • Choose l x > 0 , and rebuild ϖ ^ form (24).
  • Feedback the value of ϖ ^ in (24) to (16) to obtain the structure of (27).

4. Simulations

In this section, to illustrate the efficacy of the proposed control, simulation experiments were carried out on a robotic manipulator with two rotating joints in the vertical plane, as Figure 2 displays [22].
The position vector is defined as q = q 1 q 2 T . According to reference [22], the correlation matrixes of dynamics equations are given below:
M ( q ) = M 11 M 12 M 21 M 22
C ( q , q ˙ ) = C 11 C 12 C 21 C 22
G ( q ) = G 11 G 21 T
J ( q ) = ( l 1 sin q 1 + l 2 sin ( q 1 + q 2 ) ) l 2 sin ( q 1 + q 2 ) l 1 cos q 1 + l 2 cos ( q 1 + q 2 ) l 2 cos ( q 1 + q 2 )
with
M 11 = m 1 l c 1 2 + m 2 ( l 1 2 + l c 2 2 + 2 l 1 l c 2 cos q 2 ) + I 1 + I 2 M 12 = m 2 ( l c 2 2 + l 1 l c 2 cos q 2 ) + I 2 M 21 = m 2 ( l c 2 2 + l 1 l c 2 cos q 2 ) + I 2 M 22 = m 2 l c 2 2 I 2 C 11 = m 2 l 1 l c 2 q ˙ 2 sin q 2 C 12 = m 2 l 1 l c 2 ( q ˙ 1 + q ˙ 2 ) sin q 2 C 21 = m 2 l 1 l c 2 q ˙ 1 sin q 2 C 22 = 0 G 11 = ( m 1 l c 2 + m 2 l 1 ) g cos q 1 + m 2 l c 2 g cos ( q 1 + q 2 ) G 21 = m 2 l c 2 g cos ( q 1 + q 2 )
The parameter selection for the robot is m 1 = 2.00   kg , m 2 = 0.85   kg , l 1 = 0.35   m , l 2 = 0.31   m , I 1 = 0.25 m 1 l 1 2   kgm 2 , and I 2 = 0.25 m 2 l 2 2   kgm 2 .
The initial conditions set in the simulation are as follows
q 1 ( 0 ) = 0.1 , q 2 ( 0 ) = 0.2 q ˙ 1 ( 0 ) = q ˙ 2 ( 0 ) = 0
The setting of the reference path is the same as [6], x d 1 = 0.14 sin 0.5 t , x d 2 = 0.14 cos 0.5 t . Select system disturbance as f t = sin t + 1 ; 2 cos t + 0.5 . The parameters of the controller in the experiment are set as K 1 = diag [ 30 , 30 ] , K 2 = diag [ 30 , 30 ] , K s = 5 . The neural network parameters are selected as follows: Γ 1 = 0.1 I 256 × 256 , Γ 2 = 0.1 I 256 × 256 , σ 1 = 0.2 , and σ 2 = 0.2 , the initial weights W ^ 1 , i = 0 , W ^ 2 , i = 0 , i = 1 , 2 , 256 , the number of nodes is N = 256 , and the width of the NN is η = 10 . The gain matrix of the disturbance observer is selected as l x = 0.01   0 ;   0   0 . 1 1 M 1 x 1 . We set the simulation time to 40 s. The controller design for comparison is τ = z 1 K 2 z 2 sgn z 2 T J T x 1 f ¯ + W ^ T S Z [6].
The results of the simulation are depicted in Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10. Figure 3 and Figure 4 show the trajectory tracking and errors of the two joints. Both methods can guarantee that the tracking error converges to the small neighborhood of zero in a short period of time. After the system reaches a stable state, the tracking error of joint 1 is z 11 9.0 × 10 6 , and the tracking error of joint 2 is z 12 1.2 × 10 5 , which is a relatively small value, reflecting the superiority of the proposed method. We can see that the two control algorithms have a significant difference in their position tracking performance. Compared to the method in [6], the tracking errors of z 11 and z 12 triggered by the presented control have a higher accuracy. On the one hand, this is attributed to the integral sliding mode surface with the positional error in the adaptive controller (27), which effectively reduces the system’s steady-state error. On the other hand, approximate errors can be accurately estimated and compensated by the designed disturbance observer. The velocity-tracking curve is plotted in Figure 5. The control inputs are given in Figure 6. The blue and green lines denote the control input of joint 1, while the red and blue lines denote the control input of joint 2. We can see that even with model uncertainties and disturbances, the inputs of both control methods are smooth and without chatter. Within 0 , 0.1 seconds, the compared amplitude is greater than the proposed amplitude, indicating that the compared controller needs to consume more energy during the initial tracking stage. In addition, the preset initial position q 0 is not at the expected position q d 0 , which leads to a large initial input value, but it can ensure that the system quickly achieves the desired control effect. Through the further analysis of Figure 3, Figure 4 and Figure 6, it can be concluded that the developed controller improves its tracking accuracy without increasing its energy consumption, which also reflects the superiority of the presented ANN control scheme. The adaptive weights of W ^ 1 and W ^ 2 are presented in Figure 7. This indicates that the proposed adaptation weights can converge to a positive constant in a short time and achieve a reasonably stable state faster than [6], which also demonstrates the boundedness of the adaptation weights. Figure 8 shows the approximation errors of the two control strategies. It is evident that the presented method has a smaller error and can converge to near zero within 0.3 s. The true value ϖ i and the observed value ϖ ^ i are shown in Figure 9 and Figure 10. The designed disturbance observer (24) can accurately estimate the approximation errors ε Z and external disturbances J T f t , perform real-time compensation on the control input (27), and achieve the expected tracking effect after 0.5 s. This also verifies that the proposed adaptive neural network control algorithm based on the disturbance observer can achieve a good tracking control response in this paper.

5. Conclusions

An ANN control strategy based on a disturbance observer was developed for the trajectory tracking control of robotic manipulators while considering the dynamic model uncertainties and external disturbances. It has been demonstrated that the proposed control method can ensure the error signal of the closed-loop system is bounded based on the Lyapunov stability theory. An ANN controller based on full-state feedback was designed, which approximates the model uncertainty online and compensates for the controller by adjusting the adaptive update law. When using backstepping technology to derive the controller, an integral sliding mode surface was added to reduce the steady-state error of the system. Then, the state equation of the system was redefined to guarantee the rationality of the observer structure. The bounded values of approximation errors are considered in the observer, which makes the structural design more rational and ensures the overall stability of the system. Furthermore, a disturbance observer was used for the first time to achieve the accurate estimation of both approximation errors and environmental disturbances, and compensation was provided to the controller to improve tracking performance. Our future work will concentrate on the tracking control of robots with state constraints and unknown time-varying delays.

Author Contributions

Conceptualization, T.L. and G.Z.; methodology, T.L.; software, T.L. and T.Z.; validation, T.L., T.Z. and J.P.; formal analysis, T.L.; investigation, T.L. and J.P.; resources, T.L. and T.Z.; data curation, T.L.; writing—original draft preparation, T.L.; writing—review and editing, T.L.; visualization, T.L. and G.Z.; supervision, G.Z. and T.Z.; project administration, T.L.; funding acquisition, G.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the University Synergy Innovation Program of Anhui Province under Grant No. GXXT-2021-026, and the Smart Agriculture and Forestry and Smart Equipment Scientific Research and Innovation Team (Anhui Undergrowth Crop Intelligent Equipment Engineering Research Center) under Grant No. 2022AH010091.

Data Availability Statement

All data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Li, C.; Zhao, L.; Xu, Z. Finite-Time Adaptive Event-Triggered Control for Robot Manipulators with Output Constraints. IEEE Trans. Circuits Syst. II Express Briefs 2022, 69, 3824–3828. [Google Scholar] [CrossRef]
  2. Arteaga-Peréz, M.A.; Pliego-Jiménez, J.; Romero, J.G. Experimental Results on the Robust and Adaptive Control of Robot Manipulators without Velocity Measurements. IEEE Trans. Control Syst. Technol. 2020, 28, 2770–2773. [Google Scholar] [CrossRef]
  3. Xu, B. Composite neural dynamic surface control of a class of uncertain nonlinear systems in strict-feedback form. IEEE Trans. Cybern. 2017, 44, 2626–2634. [Google Scholar] [CrossRef] [PubMed]
  4. Zhang, G.; Pan, J.; Li, T.; Wang, Z.; Wang, D. Fixed-Time Control of a Robotic Arm Based on Disturbance Observer Compensation. Processes 2024, 12, 93. [Google Scholar] [CrossRef]
  5. Jin, L.; Li, S.; Yu, J.; He, J. Robot manipulator control using neural networks: A survey. Neurocomputing 2018, 285, 23–34. [Google Scholar] [CrossRef]
  6. He, W.; Ge, S.S.; Li, Y.; Chew, E.; Ng, Y.S. Neural Network Control of a Rehabilitation Robot by State and Output Feedback. J. Intell. Robot. Syst. 2015, 80, 15–31. [Google Scholar] [CrossRef]
  7. Ivan, L.-S.; Ricardo, P.-A.; Javier, M.-V. Trajectory tracking double two-loop adaptive neural network control for a Quadrotor. J. Frankl. Inst. 2023, 360, 3770–3799. [Google Scholar]
  8. Zhang, Y.; Liu, J.; Yu, J.; Liu, D. Single neural network-based asymptotic adaptive control for an autonomous underwater vehicle with uncertain dynamics. Ocean Eng. 2023, 286, 115553. [Google Scholar] [CrossRef]
  9. Hassan, N.; Saleem, A. Neural Network-Based Adaptive Controller for Trajectory Tracking of Wheeled Mobile Robots. IEEE Access 2022, 10, 13582–13597. [Google Scholar] [CrossRef]
  10. Angel, L.; Viola, J. Fractional order PID for tracking control of a parallel robotic manipulator type delta. ISA Trans. 2018, 79, 172–188. [Google Scholar] [CrossRef]
  11. Zhao, H.; Liu, W.; Chen, X.; Sun, H. Adaptive robust constraint-following control for underactuated unmanned bicycle robot with uncertainties. ISA Trans. 2023, 143, 144–155. [Google Scholar] [CrossRef] [PubMed]
  12. Zhen, S.; Meng, C.; Xiao, H.; Liu, X.; Chen, Y.-H. Robust approximate constraint following control for SCARA robots system with uncertainty and experimental validation. Control Eng. Pract. 2023, 138, 105610. [Google Scholar] [CrossRef]
  13. Yu, X.; Li, B.; He, W.; Feng, Y.; Cheng, L.; Silvestre, C. Adaptive-Constrained Impedance Control for Human–Robot Co-Transportation. IEEE Trans. Cybern. 2022, 52, 13237–13249. [Google Scholar] [CrossRef] [PubMed]
  14. Duan, J.J.; Gan, Y.H.; Chen, M.; Dai, X.Z. Symmetrical adaptive variable admittance control for position/force tracking of dual-arm cooperative manipulators with unknown trajectory deviations. Robot. Comput.-Integr. Manuf. 2019, 57, 357–369. [Google Scholar]
  15. Liu, Y.; Wang, Y.; Guan, X.; Hu, T.; Zhang, Z.; Jin, S.; Wang, Y.; Hao, J.; Li, G. Direction and Trajectory Tracking Control for Nonholonomic Spherical Robot by Combining Sliding Mode Controller and Model Prediction Controller. IEEE Robot. Autom. Lett. 2022, 7, 11617–11624. [Google Scholar] [CrossRef]
  16. Truong, T.N.; Vo, A.T.; Kang, H.-J. A Backstepping Global Fast Terminal Sliding Mode Control for Trajectory Tracking Control of Industrial Robotic Manipulators. IEEE Access 2021, 9, 31921–31931. [Google Scholar] [CrossRef]
  17. Hu, H.; Wang, X.; Chen, L. Impedance Sliding Mode Control with Adaptive Fuzzy Compensation for Robot-Environment Interacting. IEEE Access 2020, 8, 19880–19889. [Google Scholar] [CrossRef]
  18. Yin, X.X.; Pan, L.; Cai, S.B. Robust adaptive fuzzy sliding mode trajectory tracking control for serial robotic manipulators. Robot. Comput.-Integr. Manuf. 2021, 72, 101884. [Google Scholar] [CrossRef]
  19. Zaare, S.; Soltanpour, M.R. Adaptive fuzzy global coupled nonsingular fast terminal sliding mode control of n-rigid-link elastic-joint robot manipulators in presence of uncertainties. Mech. Syst. Signal Process. 2022, 163, 108165. [Google Scholar] [CrossRef]
  20. Truong, T.N.; Vo, A.T.; Kang, H.-J. Neural network-based sliding mode controllers applied to robot manipulators: A review. Neurocomputing 2023, 562, 126896. [Google Scholar] [CrossRef]
  21. Yang, C.; Huang, D.; He, W.; Cheng, L. Neural Control of Robot Manipulators with Trajectory Tracking Constraints and Input Saturation. IEEE Trans. Neural Netw. Learn. Syst. 2022, 32, 4231–4242. [Google Scholar] [CrossRef] [PubMed]
  22. Sun, W.; Wu, Y.; Lv, X. Adaptive Neural Network Control for Full-State Constrained Robotic Manipulator with Actuator Saturation and Time-Varying Delays. IEEE Trans. Neural Netw. Learn. Syst. 2022, 33, 3331–3342. [Google Scholar] [CrossRef] [PubMed]
  23. Liu, E.; Yan, Y.; Yang, Y. Neural network approximation-based backstepping sliding mode control for spacecraft with input saturation and dynamics uncertainty. Acta Astronaut. 2022, 191, 1–10. [Google Scholar] [CrossRef]
  24. Zhang, Y.; Kong, L.; Zhang, S.; Yu, X.; Liu, Y. Improved Sliding Mode Control for a Robotic Manipulator with Input Deadzone and Deferred Constraint. IEEE Trans. Syst. Man Cybern. Syst. 2023, 53, 7814–7826. [Google Scholar] [CrossRef]
  25. Singh, P.; Giri, D.K.; Ghosh, A.K. Ghosh, Robust backstepping sliding mode aircraft attitude and altitude control based on adaptive neural network using symmetric BLF. Aerosp. Sci. Technol. 2022, 126, 107653. [Google Scholar] [CrossRef]
  26. Vijay, M.; Jena, D. Backstepping terminal sliding mode control of robot manipulator using radial basis functional neural networks. Comput. Electr. Eng. 2018, 67, 690–707. [Google Scholar] [CrossRef]
  27. Gao, X.; Yu, H.; Yang, Q.; Meng, X.; Zhang, P. Neural network based dynamic surface integral nonsingular fast terminal sliding mode control for manipulators with disturbance rejection. J. Frankl. Inst. 2023, 360, 11032–11054. [Google Scholar] [CrossRef]
  28. Ding, Z.; Wang, H.; Sun, Y.; Qin, H. Adaptive prescribed performance second-order sliding mode tracking control of autonomous underwater vehicle using neural network-based disturbance observer. Ocean Eng. 2022, 260, 111939. [Google Scholar] [CrossRef]
  29. Men, X.; Guo, Z. Adaptive composite control of an upper limb compliant exoskeleton robot based on RBF neural network. Control Eng. China 2023, 6, 1–9. [Google Scholar]
  30. Zhang, R.; Xu, B.; Shi, P. Output Feedback Control of Micromechanical Gyroscopes Using Neural Networks and Disturbance Observer. IEEE Trans. Neural Netw. Learn. Syst. 2022, 33, 962–972. [Google Scholar] [CrossRef]
  31. Li, G.; Yu, J.; Chen, X. Adaptive Fuzzy Neural Network Command Filtered Impedance Control of Constrained Robotic Manipulators with Disturbance Observer. IEEE Trans. Neural Netw. Learn. Syst. 2023, 34, 5171–5180. [Google Scholar] [CrossRef]
  32. He, W.; Dong, Y.; Sun, C. Adaptive neural impedance control of a robotic manipulator with input saturation. IEEE Trans. Syst. Man Cybern. Syst. 2016, 46, 334–344. [Google Scholar] [CrossRef]
  33. Li, Y.N.; Yang, C.G.; Ge, S.S.; Lee, T.H. Adaptive output feedback NN control of a class of discrete-time MIMO nonlinear systems with unknown control directions. IEEE Trans. Syst. Man Cybern. Part B 2011, 41, 507–517. [Google Scholar]
Figure 1. Block diagram of ANN control.
Figure 1. Block diagram of ANN control.
Processes 12 00499 g001
Figure 2. Schematic diagram of a dual-joint robot manipulator. m i and l i are the weight and length of the link i , respectively. l c i represents the distance between the center of mass of link i 1 and joint i , i = 1 , 2 .
Figure 2. Schematic diagram of a dual-joint robot manipulator. m i and l i are the weight and length of the link i , respectively. l c i represents the distance between the center of mass of link i 1 and joint i , i = 1 , 2 .
Processes 12 00499 g002
Figure 3. Trajectory tracking of joint 1 and its errors.
Figure 3. Trajectory tracking of joint 1 and its errors.
Processes 12 00499 g003
Figure 4. Trajectory tracking of joint 2 and its errors.
Figure 4. Trajectory tracking of joint 2 and its errors.
Processes 12 00499 g004
Figure 5. Velocities of joint 1 and joint 2.
Figure 5. Velocities of joint 1 and joint 2.
Processes 12 00499 g005
Figure 6. The control inputs for the two methods.
Figure 6. The control inputs for the two methods.
Processes 12 00499 g006
Figure 7. Norms of the adaptation weights under the two methods.
Figure 7. Norms of the adaptation weights under the two methods.
Processes 12 00499 g007
Figure 8. The approximation errors under the two methods.
Figure 8. The approximation errors under the two methods.
Processes 12 00499 g008
Figure 9. Observation effect of joint 1.
Figure 9. Observation effect of joint 1.
Processes 12 00499 g009
Figure 10. Observation effect of joint 2.
Figure 10. Observation effect of joint 2.
Processes 12 00499 g010
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

Li, T.; Zhang, G.; Zhang, T.; Pan, J. Adaptive Neural Network Tracking Control of Robotic Manipulators Based on Disturbance Observer. Processes 2024, 12, 499. https://doi.org/10.3390/pr12030499

AMA Style

Li T, Zhang G, Zhang T, Pan J. Adaptive Neural Network Tracking Control of Robotic Manipulators Based on Disturbance Observer. Processes. 2024; 12(3):499. https://doi.org/10.3390/pr12030499

Chicago/Turabian Style

Li, Tianli, Gang Zhang, Tan Zhang, and Jing Pan. 2024. "Adaptive Neural Network Tracking Control of Robotic Manipulators Based on Disturbance Observer" Processes 12, no. 3: 499. https://doi.org/10.3390/pr12030499

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