Next Article in Journal
Imagery Synthesis for Drone Celestial Navigation Simulation
Next Article in Special Issue
Active Disturbance Rejection Control for the Robust Flight of a Passively Tilted Hexarotor
Previous Article in Journal
Payload Capacities of Remotely Piloted Aerial Application Systems Affect Spray Pattern and Effective Swath
Previous Article in Special Issue
Modeling Fuzzy and Adaptive Human Behavior for Aircraft with Dynamic-Pitch-Control Envelope Cue
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Neural-Network-Based Nonsingular Fast Terminal Sliding Mode Control for a Quadrotor with Dynamic Uncertainty

1
College of Aerospace Science and Engineering, National University of Defense Technology, Changsha 410073, China
2
College of Intelligence Science and Technology, National University of Defense Technology, Changsha 410073, China
*
Author to whom correspondence should be addressed.
Drones 2022, 6(8), 206; https://doi.org/10.3390/drones6080206
Submission received: 5 July 2022 / Revised: 9 August 2022 / Accepted: 9 August 2022 / Published: 12 August 2022

Abstract

:
This paper proposes an adaptive neural-network-based nonsingular fast terminal sliding mode (NN-NFTSMC) approach to address the trajectory tracking control problem of a quadrotor in the presence of model uncertainties and external disturbances. First, the dynamic model of the quadrotor with uncertainty is derived. Then, a control scheme using nonsingular fast terminal sliding mode control (NFTSMC) is proposed to guarantee the finite-time convergence of the quadrotor to its desired trajectory. NFTSMC is firstly formulated for the case that the upper bound of the lumped uncertainty is known in advance. Under this framework, a disturbance observer by using the hyperbolic tangent nonlinear tracking differentiator (TANH-NTD) is designed to estimate the external interference, and a neural network (NN) approximator is used to develop an online estimate of the model uncertainty. Subsequently, adaptive algorithms are designed to compensate the approximation error and update the NN weight matrix. An NN-NFTSMC algorithm is formulated to provide the system with robustness to the model uncertainty and external disturbance. Moreover, Lyapunov-based approach is employed to prove the global stability of the closed-loop system and the finite-time convergence of the trajectory tracking errors. The results of a comparative simulation study with other recent methods illustrate the proposed control method reduces the chattering effectively and has remarkable performance.

1. Introduction

Quadrotors have broad applications on military and civilian areas, such as environmental supervision, geological analysis, agricultural operations, search and rescue, and mail delivery [1,2]. In particular, they have promptly garnered special attention from the aviation research due to their advantageous characteristics such as lightweight structure, vertical take-off and landing, simple mechanical design, good maneuverability [3]. However, the trajectory tracking control of a quadrotor unmanned aerial vehicle (UAV) is a complicated problem. On the one hand, the quadrotor is an inherently nonlinear and multiple-input multiple-output (MIMO) system. On the other hand, the under-actuated properties lead to strong coupling among state variables. Furthermore, quadrotor dynamics involve parameter uncertainties and external disturbances, leading to potentially unstable flight trajectories [4].
There are several control methods for the trajectory tracking problem of quadrotors that have been explored in previous research. Linear control methods, such as proportional-derivative (PD), proportional integral derivative (PID) and linear quadratic (LQR) are presented in Refs [5,6,7]. However, these linear control techniques cannot ensure the stability of the system when the vehicle moves away from the operating domain. In addition, these control approaches have limited capabilities of coupling alleviation and interference suppression.
To obtain an accurate flight path trajectory when the quadrotor maneuvers rapidly, a variety of nonlinear flight control methods have been developed, which can overcome the drawbacks of the linear control approaches, such as backstepping control [8], feedback linearization [9], sliding mode control (SMC) [10]. Of these methods, SMC has been proved to be an attractive method for trajectory tracking control, which can compensate for the model uncertainties and external disturbances. In other words, the main benefit of the SMC technique is low sensitivity to parameter variations and dynamic uncertainties. Based on the quadrotor model subjected to parametric uncertainties and external disturbances, the fuzzy logic system (FLS) was employed in the structure of SMC to schedule the switching gain and suppress the chattering [11]. The SMC method with the optimized radial basis function neural networks (RBFNN) approximator was proposed for a 6-DOF quadrotor [12]. In addition, the SMC technique also has been applied in other fields, such as attitude tracking control of spacecraft [13], trajectory tracking for robotic airships [14] and autonomous underwater vehicles [15].
For many practical systems like the quadrotor, it is required that the designed control system must fulfill some performance index, such as convergence speed and steady-state error [16]. Whereas, the ordinary sliding mode control can only drive the system state converge progressively, it cannot quickly reach the origin within a finite-time. To obtain the finite-time convergence, terminal sliding mode control (TSMC) has been developed, which adopt nonlinear sliding surfaces. Based on a quadrotor system in the presence of external disturbance, a robust fuzzy TSMC method is developed to track the predefined flight path [17]. To further improve the convergence speed, a fast terminal sliding mode (FTSMC) has been proposed. In Ref. [18], a robust control method which consisted of the FTSMC method and super twisting reaching law, is proposed for the quadrotor position and attitude tracking. However, the traditional FTSMC method suffers from the singularity problem due to the terms with negative fraction power. To handle the singularity problem, a nonsingular fast terminal sliding mode control (NFTSMC) method is recently developed. Based on the orbit-coupling spacecraft model, an improved NFTSMC method combined with a continuous differentiable constraint function was designed to solve the problem of the spacecraft final approach [19]. Further, an adaptive NFTSMC method for controlling the position and attitude of the smart flexible satellite [20]. Combined with the fully tuned RBFNN, a finite-time control scheme using NFTSMC algorithm is proposed for redundant parallel manipulators [21].
Motivated by the aforementioned analysis and inspired by Refs. [22,23], this paper presents an adaptive neural-network-based nonsingular fast terminal sliding mode control (NN-NFTSMC) scheme, to address the problem of trajectory tracking for a quadrotor in the presence of inertial uncertainties and external disturbances. First, this paper presents a quadrotor dynamic model with parametric uncertainty and unknown disturbances. For the inertial uncertainties and external disturbances, the NFTSMC method can guarantee convergence of the tracking errors in finite-time. However, the quadrotor dynamic model is usually uncertain and the bounds of the uncertainties and disturbances are often unknown. Therefore, under the framework of NFTSMC, a nonlinear disturbance observer is designed by using a hyperbolic tangent nonlinear tracking differentiator (TANH-NTD) to estimate the external disturbance. The neural network (NN) technique is utilized to estimate the model uncertainties due to its strong nonlinear fitting ability. Furthermore, adaptive algorithms are applied to automatically adjust the parameters of the controller to estimate the unknown upper bound of the approximation error. Also, by employing the designed controller, the chattering generated obviously in the conventional SMC is alleviated, without losing the tracking precision and robustness property.
The main contributions and the key features of this paper are summarized as follows:
(1) A NFTSMC method is adopted to guarantee that the quadrotor system acquires high-speed response, accurate tracking and strong robustness. Furthermore, the NFTSMC method can overcome the singularity problem that exists in the normal FTSMC approach.
(2) A TANH-NTD disturbance observer and an NN approximator are formulated to provide an online estimate of the external disturbance and model uncertainties, which can allows for the relaxation of the requirement of prior knowledge about the bound of the uncertainties and disturbances, thus reducing the difficulty in modeling the system in practice.
(3) The NN-NFTSMC control method acquire high-speed response, accurate tracking and strong robustness, but also alleviate the negative effect of chattering.
The remainder of the paper is organized as follows. Section 2 describes the preliminaries and problem formulation. Section 3 presents the formulation of the controller NN-NFTSMC to be used in the trajectory tracking of the quadrotor. Section 4 presents the results of simulations to illustrate the effectiveness of the designed control method. Finally, Section 5 concludes the paper.

2. Preliminaries and Problem Formulation

2.1. Preliminaries

The following notations are adopted throughout this paper. |     | represent the absolute value of each element of a vector.     denotes the Euclidean norm of a vector. λ max ( ) denotes the maximum element of a vector or the maximum eigenvalue of a matrix; λ min ( ) denotes the minimum element of a vector or the minimum eigenvalue of a matrix. For a variable vector q = [ q 1 , , q n ] T R n , the function sign α ( q ) is denoted as
sign α ( q ) = | q | α sign ( q ) = [ | q 1 | α sign ( q 1 ) , , | q n | α sign ( q n ) ] T
Then, it is easy to obtain
d ( sign α ( q ) ) d t = α | q | α 1 q ˙

2.2. Kinematics and Dynamics

The structure of the studied quadrotor model is shown in Figure 1, which consists of a rigid cross-frame and four propellers. The kinematics model that describes the position and attitude of the quadrotor is given by [4]:
{ ξ ˙ = R t v a η ˙ = R r ω b
where ξ = [ x , y , z ] T and η = [ ϕ , θ , ψ ] T denote the quadrotor position and attitude in the inertial frame ( O e x e y e z e ), v a = [ u , v , w ] T   and ω b = [ p , q , r ] T represent the speed and angular velocity with respect to the body frame ( O b x b y b z b ), R t and R r is the direction cosine matrix and transformation matrix respectively, whose expressions can be found in Ref. [24].
The rigid quadrotor system modeling described by Euler dynamic equations can be expressed as follows [25].
{ J η ¨ = η T × J η + τ τ c τ a + d η m ξ ¨ = R t u m g e z f D + d ξ
where e z = [ 0 , 0 , 1 ] T . m is the total mass, J is the symmetric inertia matrix, u denotes the gross thrust generated by four rotors with respect to the body frame, g denotes the vector of gravity acceleration, τ denotes the rotation torque produced by four propellers, τ c denotes the resultant moment generated by the gyroscopic effects. τ a denotes the resultant of aerodynamic friction torque, f D denotes the aerodynamic force, d η and d ξ are the unknown external disturbances.
In this study, the additional parameter uncertainties of the quadrotor system can be expressed as follows:
J = J 0 + Δ J ,   m = m 0 + Δ m
where J 0 and m 0 denote the known inertial matrix and mass; Δ J and Δ m represent the bounded uncertainties.
Then, the dynamic system described by Equation (4) can be rewritten as:
{ J 0 η ¨ = η ˙ T × J 0 η ˙ + τ τ c τ a + d η Δ J η ¨ η ˙ T × Δ J η ˙ m 0 ξ ¨ = R t u m 0 g e z f D + d ξ Δ m g e z Δ m ξ ¨

2.3. Problem Formulation

The quadrotor is an under-actuated system, which has six outputs and four control inputs. In order to facilitate the controller design, a virtual control input v = [ v x , v y , v z ] T is introduced as:
[ v x v y v z ] = [ ( cos ϕ sin θ cos ψ + sin ϕ sin ψ ) u m ( cos ϕ sin θ sin ψ sin ϕ cos ψ ) u m cos ϕ cos θ u m g ]
For simplicity, the quadrotor system can be deformed as follows:
x ¨ = F + G u + D + d
with
F = [ η ˙ T × J 0 η ˙ τ c τ a J 0 m g e z f D m 0 ] , G = [ 1 J 0 0 3 × 3 0 3 × 3 R t m 0 ] ,   D = [ Δ J η ¨ η ˙ T × Δ J η ˙ J 0 Δ m g e z Δ m ξ ¨ m 0 ] , d = [ d η d ξ ]
where, x = [ η T , ξ T ] T is the state vector; u = [ τ ϕ , τ θ , τ ψ , v x , v y , v z ] T is the input vector; D is the model uncertainty term; d denotes the external disturbance vector.
Then, by setting the desired pitch angle ψ d , the desired roll angle ϕ d , desired pitch θ d angle can be obtained [25]:
ϕ d = sin 1 ( v x sin ( ψ d ) v y cos ( ψ d ) v z + g ) ,   θ d = tan 1 ( v x cos ( ψ d ) + v y sin ( ψ d ) v z + g )
By setting the desired state x d = [ ϕ d , θ d , ψ d , x d , y d , z d ] T , the tracking errors are defined as:
E 1 = x x d ,   E 2 = x ˙ x ˙ d
The control purpose of this work is formulated as follows: given the initial system state x 0 , and the desired state x d , design a robust controller to stabilize the vehicle subjected to the model uncertainties and external disturbances. The vectors of tracking errors given by Equation (11), are required to converge to zero in a finite-time, i.e.,:
lim t t f E 1 = 0 , lim t t f E 2 = 0

3. NN-NFTSMC Controller Design

This section is devoted to the controller system design of the quadrotor. NFTSMC technique is adopted to design the trajectory tracking controller. Under this control framework, the hyperbolic tangent nonlinear tracking differentiator (TANH-NTD) and RBFNN are developed to respectively approximate external disturbances and system uncertainties. Adapting algorithms are introduced to update the weight matrix of RBFNN and estimate the upper bound of the approximation errors.

3.1. NFTSMC Design

The trajectory tracking errors are defined as:
e = x x d
The first derivative of the trajectory tracking errors is given by:
e ˙ = x ˙ x ˙ d
A nonsingular fast terminal sliding surface is chosen as follows:
s = e + α sign γ 1 ( e ) + β sign γ 2 ( e ˙ )
where α = diag ( α 1 , α 2 , α 3 , α 4 , α 5 , α 6 ) and β = diag ( β 1 , β 2 , β 3 , β 4 , β 5 , β 6 ) are positive definite matrices, γ 1 and γ 2 are positive odd constants, satisfying 1 < γ 1 < 2 and γ 1 > γ 2 .
Remark 1.
In the above-mentioned sliding manifold design, when the system states are far from the equilibrium states,  α sign γ 1 ( e ) has a dominant position and ensures a high convergence rate, compared with β sign γ 2 ( e ˙ ) ; when the system states approach the equilibrium states,  β sign γ 2 ( e ˙ ) guarantees the finite-time convergence.
The time derivative of the sliding surface can be calculated as:
s ˙ = e ˙ + α γ 1 | e | γ 1 1 e ˙ + β γ 2 | e ˙ | γ 2 1 ( F + G u + D + d     x ¨ d )
Assumption 1.
The total dynamic uncertainties are assumed to be bounded, satisfying the following inequalities:
D + d ρ
where ρ is a finite positive constant.
Based on the sliding surface given by Equation (15), the equivalent control law is designed as follows
u e q = G 1 ( F + x ¨ d     1 β γ 2 | e ˙ | 2 γ 2 ( 1 + α γ 1 | e | γ 1 1 ) sign ( e ˙ ) )
Based on Assumption 1, the switching control law is given by:
u s = K 1 s K 2 sign ( s )
where K 1 = diag ( K 11 , K 12 , K 13 , K 14 , K 15 , K 16 ) is a positive definite matrix K 1 i > 0 (i = 1,2,3,4,5,6) is the design parameter, K 2 = diag ( K 21 , K 22 , K 23 , K 24 , K 25 , K 26 ) is the switching gain matrix, and K 2 i > 0 (i = 1,2,3,4,5,6) is a positive constant, which satisfies:
K 2 i = λ max ( D ) + λ max ( d ) + δ
where δ is a small positive constant.
Hence, the NFTSMC control law for the quadrotor system is designed as:
u = G 1 ( F x ¨ d + 1 γ 2 | e ˙ | 2 γ 2 β 1 ( 1 + α γ 1 | e | γ 1 1 ) sign ( e ˙ ) + K 1 s + K 2 sign ( s ) )
The control scheme of the NFTSMC technique for trajectory tracking is indicated in Figure 2.
Lemma 1.
[26] Suppose there exists a positive definite Lyapunov function V ( χ ) , which fulfills the inequation V ˙ ( χ ) + k 1 V ( χ ) + k 2 V k 3 ( χ ) 0 where k 1 , k 2 > 0 and 0 < k 3 < 1 . Let V 0 ( χ ) be the initial value of V ( χ ) , then the system state χ ( t ) converges to zero in finite time. The settling time T satisfies:
T 1 k 1 ( 1 k 3 ) ln k 1 V 0 1 k 3 ( χ ) + k 2 k 2
Theorem 1.
Considering the nonlinear dynamic system given by Equation (8) and the sliding surface chosen as Equation (15), if the NFTSMC controller is designed as Equation (21), then the closed-loop system is stable and the tracking error can converge to zero in finite time.
Proof. 
The candidate Lyapunov function is considered as:
V 1 = 1 2 s T s
Differentiating Equation (23) with respect to time yields:
V ˙ 1 = s T s ˙
Substituting Equations (16) and (21), the above equation is converted to:
V ˙ 1 = s T ( e ˙ + α γ 1 | e | γ 1 1 e ˙ + β γ 2 | e ˙ | γ 2 1 ( F + G u + D + d x ¨ d ) ) = β γ 2 | e ˙ | γ 2 1 K 1 s T s + β γ 2 | e ˙ | γ 2 1 ( s T ( D + d ) s T K 2 sign ( s ) )
After simple calculation, the following can be obtained:
V ˙ 1 γ 2 β | e ˙ | γ 2 1 K 1 s T s γ 2 δ β | e ˙ | γ 2 1 s 2 γ 2 λ min ( K 1 ) λ min ( β ) λ min ( | e ˙ | γ 2 1 ) V 1 2 γ 2 δ λ min ( β ) λ min ( | e ˙ | γ 2 1 ) V 1 1 / 2
By defining μ 1 = 2 γ 2 λ min ( K 1 ) λ min ( β ) λ min ( | e ˙ | γ 2 1 ) and μ 2 = 2 γ 2 δ λ min ( β ) λ min ( | e ˙ | γ 2 1 ) , the following inequation is obtained:
V ˙ 1 μ 1 V 1 μ 2 V 1 1 / 2
Consequently, according to Lemma 1 and Lyapunov stability theory, it can be said that the NFTSM sliding manifold s ( t ) can converge to zero in finite time. This completes the proof. □

3.2. NN-NFTSMC Design

The proposed NFTSMC has provided an effective control method for the quadrotor system. In the design of NFTSMC, it is assumed that the upper bound of the lumped uncertainties is known in advance. In practical applications, the precise upper bound information is usually difficult to obtain. In order to compensate for the uncertainties existing in the actual system, the disturbance observer and the RBFNN approximator are designed to estimate the external disturbances d and the model uncertainties D respectively. Under the structure of NFTSMC, the NN-NFTSMC is designed with the disturbance observer and the RBFNN approximator.
A nonlinear disturbance observer using the TANH-NTD is designed as follow [27]:
{ x ^ ¨ = F + G u + D + d ^ d ^ ˙ = R T R ( a 1 tanh ( b 1 ( x ^ ˙ x ˙ ) ) + a 2 tanh ( R 1 b 2 d ^ ) )
where R, a 1 , a 2 , b 1 and b 2 are positive definite diagonal matrices, x ^ ˙ and d ^ are respectively estimates of x ˙ and d .
The approach of self-stable region is provided to prove the convergence of the disturbance observer designed as Equation (28) in Ref. [28].
Remark 2.
The existence of the unknown disturbances makes the stabilization of the quadrotor more difficult. In this study, a disturbance observer based on TANH-NTD is proposed to compensate the external disturbance in real time. By selecting the proper values of R, a 1 , a 2 , b 1 and  b 2 , the disturbance observer can estimate the corresponding disturbance  d . Then, the approximation error  ε n of the disturbance observer is defined as  ε n = d d ^ .
RBFNN is a well-known approach for the approximation of a nonlinear function. An RBFNN is a three-layer feedforward neural networks, which includes an input layer, a hidden layer with a nonlinear activation function and an output layer. The activation function h, which is selected as Gaussian function, is expressed as:
h j ( r ) = exp ( r c j 2 σ j 2 ) , j = 1 , 2 , , m
where r is the input of the RBFNN, c j is the center of the neuron, and σ j is the width of Gaussian function for neural net j.
Lemma 2.
[29] For any positive constant ε , there always exists a RBFNN, which guarantees the approximation error ultimately converges to an adequate small compact.
sup χ o | f ( χ ) y ( χ ) | < ε
where f ( χ ) is a continuous function which is defined on a compact set o, and y ( χ ) is the output of the RBFNN.
According to Lemma 2, the RBFNN is adopted to compensate for the model uncertainties D, which can be expressed as follow:
D = W T h + ε m
where W is the optimal weight matrix, and ε m denotes the approximation error.
The input vector of the RBFNN is chosen as:
r = [ x , x ˙ , x ¨ ]
Then, the output vector of the RBFNN is
D ^ = W ^ T h
where W ^ is the estimation of the best weight matrix W.
Assumption 2.
It is assumed that there exists a positive constant η , which satisfies the following inequation:
ε m + ε n η
where ε m and ε n denote the approximation errors of RBFNN and the disturbance observer respectively.
Based on the Equations (33) and (28), the control law in Equation (21) is rewritten as follows:
u = G 1 ( F + D ^ + d ^ x ¨ d + 1 β γ 2 | e ˙ | 2 γ 2 ( 1 + α γ 1 | e | γ 1 1 ) sign ( e ˙ ) + K 1 s + K 2 sign ( s ) )
With the adapting laws:
W ^ ˙ = γ 2 Γ β | e ˙ | h s T   ,   η ^ ˙ = λ β | s | T | e ˙ | γ 2 1
where Γ is a positive definite matrix, and λ is a positive constant.
The block diagram of the NN-NFTSMC technique for trajectory tracking is illustrated in Figure 3.
Theorem 2.
For the quadrotor system subjected to the disturbances and model uncertainties described by Equation (8), if the nonsingular terminal sliding surface is selected as Equation (15) and the NN-NFTSMC controller is designed as Equation (35), in which the total dynamic uncertainties are estimated by Equations (28) and (33), and the adaption laws are selected as Equation (36), then the stability of the closed-loop system is guaranteed and the tracking errors converge to zero in finite time.
Proof. 
Select following Lyapunov function candidate V 2
V 2 = 1 2 s T s + 1 2 tr ( W ˜ T Γ 1 W ˜ ) + γ 2 1 2 λ η ˜ 2
where W ˜ = W W ^ and η ˜ = η η ^ . Through the previous analysis, it is clear that W ˜ ˙ = W ^ ˙ and η ˜ ˙ = η ^ ˙ .
Differentiating Equation (37) yields:
V ˙ 2 = s T s ˙ + tr ( W ˜ T Γ 1 W ˜ ˙ ) + γ 2 1 λ η ˜ η ˜ ˙
By substituting Equation (16) into the Equation (38), the following equation can be obtained:
V ˙ 2 = s T ( e ˙ + α γ 1 | e | γ 1 1 e ˙ + β γ 2 | e ˙ | γ 2 1 e ¨ ) + tr ( W ˜ T Γ 1 W ˜ ˙ ) + γ 2 1 λ η ˜ η ˜ ˙
By placing the NN-NFTSMC control law in Equation (35) and the adaptive laws in Equation (36) into the above equation, the following equation is obtained.
V ˙ 2 = γ 2 β | e ˙ | γ 2 1 s T ( ( ε m + ε n ) K 1 s η ^ sign ( s ) ) + tr W ˜ T ( γ 2 β T | e ˙ | γ 2 1 h s T + Γ 1 ( Γ γ 2 β T | e ˙ | γ 2 1 h s T ) ) + γ 2 1 λ η ˜ β | s | T | e ˙ | γ 2 1
Simplifying Equation (40) leads to the following relation.
V ˙ 2 = γ 2 β | e ˙ | γ 2 1 ( K 1 s T s η ^ | s | + ( ε m + ε n ) s η ˜ | s | )
Considering the constraint in Equation (34) yields
V ˙ 2 γ 2 β | e ˙ | γ 2 1 s T ( K 1 s η ^ sign ( s ) + η sign ( s ) η ˜ sign ( s ) ) γ 2 β | e ˙ | γ 2 1 K 1 s T s 0
According to the Lyapunov stability criterion, it is concluded that the system’s error variables will converge to zero along the sliding manifold in a finite-time. The proof is completed. □
Remark 3.
Without the disturbance observer and RBFNN approximator being introduced, substituting Equation (21) into Equation (16) leads to Equation (44); With the TANH-NTD disturbance observer and RBFNN approximator being adopted, substituting the Equation (35) into (16) leads to Equation (45). Comparing with Equations (44) and (45), it can be seen that the total dynamic uncertainties change from  D + d to  D D ^ + d d ^ by the compensatory effect of the disturbance observer and RBFNN. Therefore, the switching gain of the control law can be decreased from  K 2 , the upper bound of the lumped uncertainties, to the estimation of the upper bound  η ^ , and the approximation error  D D ^ + d d ^ , which can alleviate chattering.
s ˙ = β γ 2 | e ˙ | γ 2 1 ( D + d K 1 s K 2 sign ( s ) )
s ˙ = β γ 2 | e ˙ | γ 2 1 ( D D ^ + d d ^ K 1 s η ^ sign ( s ) )
Given the proceeding analysis, the detailed computational procedure of designing the NN-NFTSMC approach is described in Algorithm 1.
Algorithm 1 NN-NFTSMC
Input:
(1) The desired trajectory x d
(2) The present position and attitude x
(3) Model parameters of the quadrotor
Output: Control inputs for trajectory tacking
Step 1: Design of the control input
(1) Compute the state errors: e = x x d , e ˙ = x ˙ x ˙ d ;
(2) Define the sliding surface: s = e + α sign k 1 ( e ) + β sign k 2 ( e ˙ ) ;
(3) Design adaptive laws: W ^ ˙ = γ 2 Γ β | e ˙ | h s T , η ^ ˙ = λ β | s | T | e ˙ | γ 2 1
(4) Construct neural network approximation and disturbance observer: D ^ = W ^ T h , d ^
(5) Calculate the control signal u
Step2: Proof of the closed-loop system stabilization
(1) Select the Lyapunov candidate function V
(2) Calculate the first-order derivative of Lyapunov function V ˙
(3) Check the sign of V ˙
(4) Analyze the convergence of the state variables
Step3: Ending
If the state errors satisfy the requirement, terminate the algorithm and output the control signal u. Otherwise, go to step1

4. Simulation Results

In this section, numerical simulations are presented to illustrate the effectiveness of the designed control method. The physical parameters of the studied quadrotor are replicated from Ref. [24] and the reference trajectories are adopted from Ref. [30]. Subsequently, to study the performance of the designed NN-NFTSMC scheme, the global fast terminal sliding mode control (GFTSMC) method [31] and second order sliding mode control (SOSMC) method [32] will be compared by using numerical simulations. The controller parameters of NN-NFTSMC are listed in Table 1.

4.1. Simulation 1

This simulation is conducted considering the case for Δ J = 0.05 J 0 , Δ m = 0.05 m 0 , d ξ = 0.1 N and d η = 0.1 N m . To evaluate the effectiveness of the proposed controller, the GFTSMC controller is employed for comparison. The initial state of the quadrotor is x 0 = [ 0 , 0 , 0 , 0 , 0 , 0 ] T , and the desired trajectory, which consists of taking-off, hovering and landing, is listed in Table 2 in terms of the reference position and yaw angle.
The trajectory tracking results of both methods are shown in Figure 4 and Figure 5, and the tracking errors of the proposed method is displayed in Figure 6. It can be seen that both the NN-NFTSMC and GFTSMC methods are able to hold the quadrotor position and attitude steady, even though the desired position and angle are modified in every moment. However, it is obvious that the GFTSMC technique is unable to maintain the null steady error due to the coupling relationship between these state variables. The designed NN-NFTSMC controller is able to maintain the system state variables on their references without oscillation. In addition, compared with the GFTSMC technique, NN-NFTSMC can provide more rapid response speed and take less time to drive the state errors to zero. The control inputs are displayed in Figure 7, which include the total thrust u, rotation torques τ ϕ , τ θ and τ ψ . These results fully prove that the proposed NN-NFTSMC controller has advantages over the GFTSMC controller in terms of suppressing coupling, tracking accuracy and convergence rate.

4.2. Simulation 2

The tracking performance of the SOSMC method is given in the comparative simulation. The values of inertias and total mass are up to 15% overstated, i.e., Δ J = 0.15 J 0 and Δ m = 0.15 m 0 . The external disturbance is imposed on the accelerations of position and attitude, whose expressions are given by:
d = [ 0.5 sin ( 0.7 t ) 0.5 sin ( 0.5 t ) 0.5 cos ( 0.7 t ) 0.5 sin ( 0.7 t ) 0.5 sin ( 0.4 t ) 0.5 sin ( 0.7 t ) ]
The initial condition of the vehicle is x 0 = [ 0 , 0 , 0.5 , 0.5 , 0.5 , 0.5 ] T .The desired trajectory is given as:
x d = { 0 t [ 0 , 55 ) 0.3 cos ( π t 6 ) m t [ 55 , 120 ] y d = { 0 t [ 0 , 55 ) 0.3 sin ( π t 6 ) m t [ 55 , 120 ] z d = { 1 m t [ 0 , 42 ) 0.7 m t [ 42 , 87 ) 0.8 m t [ 87 , 120 ] ψ d = 0 rad
The trajectory tracking results are depicted in Figure 8 and Figure 9. It should be noted that, despite the presence of the dynamic uncertainties and external disturbances, the proposed controller demonstrates the better tracking performance than the SOSMC technique. It is noticeable that, starting from the initial position far from the desired trajectory, the NN-NFTSMC succeeds in maneuvering the quadrotor along the reference trajectory in a short time and small amplitude oscillation observed. However, during flight phase involving hovering and sine-wave maneuver in the trajectory, the proposed method can maintain a satisfactory level of precision, due to the strong nonlinear fitting ability of the designed disturbance observer and RBFNN approximator. The position tracking errors are displayed in Figure 10. It can be seen that the NN-NFTSMC method is able to reject the model uncertainties and disturbances. These figures successfully illustrate that the remarkable performance of the proposed NN-NFTSMC controller.

4.3. Simulation 3

In this simulation, the values of inertias and total mass are undervalued by 15%, i.e., Δ J = 0.15 J 0 and Δ m = 0.15 m 0 . The external disturbances are the same as those in Simulation 2. The quadrotor is initially located at x 0 = [ 0 , 0 , 0.5 , 0.5 , 0.5 , 0.5 ] T , and the desired trajectory is given as:
x d = { 1 2 cos ( t 2 )   m t [ 0 , 4 π ) 0.5   m t [ 4 π , 20 ) 0.25 t 4.5   m t [ 20 , 30 ) 3   m t [ 30 , 80 ] y d = { 1 2 sin ( t 2 )   m t [ 0 , 4 π ) 0.25 t 3.14   m t [ 4 π , 20 ) 5 π   m t [ 20 , 30 ) 0.2358 t + 8.94   m t [ 30 , 40 ) 0.5   m t [ 40 , 80 ] z d = { 0.125 t + 1   m t [ 0 , 4 π ) 0.5 π + 1   m t [ 4 π , 40 ) exp ( 0.2 t + 8.944 )   m t [ 40 , 80 ] ψ d = 0   rad
The trajectory tracking performances under the model uncertainties and time-varying disturbances are presented in Figure 11 and Figure 12. It can be seen that the proposed NN-NFTSMC method achieves the desired trajectory tracking with a faster convergence rate than that of the SOSMC method. The trajectory tracking using the NN-NFTSMC approach has much lower oscillations and overshoots. However, the SOSMC approach can hardly handle the chattering well, which is aggravated by parameter uncertainties and disturbances. Figure 13 shows the time histories of the position tracking errors with the NN-NFTSMC. The position tracking errors converge to the neighborhood of zero in finite time. During the steady state, the error accuracy of the position is on the order of 10 3 .Based on above analysis, it is clear that the proposed method can provide better tracking accuracy and faster convergence rate.

5. Conclusions

A NN-NFTSMC approach was designed to address the problem of quadrotor trajectory tracking control while being subjected to model uncertainties and disturbances. The proposed method combined the merits of NFTSMC, TANH-NTD and NN. The NFTSMC technique guaranteed the rapid finite-time convergence of all state variables with high accuracy, in which the singularity problem was avoided. Furthermore, a TANH-NTD disturbance observer and NN approximator were adopted provide an online estimate of the external disturbances and dynamic uncertainties acting on all degrees of freedom of the system. Comprehensive simulations were conducted to illustrate the enhanced performance of the proposed method.

Author Contributions

Conceptualization, S.H. and Y.Y.; methodology, S.H.; software, S.H.; validation, S.H. and Y.Y.; formal analysis, S.H.; investigation, S.H.; resources, S.H.; data curation, S.H.; writing-original draft preparation, S.H.; writing-review and editing, Y.Y.; visualization, S.H.; supervision, Y.Y.; project administration, S.H.; funding acquisition, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research is funded by Chinese Postdoctoral Science Foundation (No. 47661), Fund Project of Foundation Strengthening Plan (No. 2019-JCJQ-JJ-229) and Support Program of Young Talents of Huxiang (No. 470 2019RS2029).

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Institutional Review Board of National University of Defense Technology.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mohd, M.A. Trajectory tracking control of autonomous quadrotor helicopter using robust neural adaptive backstepping approach. J. Aerosp. Eng. 2018, 31, 04017091. [Google Scholar] [CrossRef]
  2. Hu, L.; Chen, F.; Jiang, B. Control strategy for a quadrotor helicopter with state delay via improved guaranteed cost control and quantum adaptive control. J. Aerosp. Eng. 2017, 30, 04017004. [Google Scholar] [CrossRef]
  3. Mo, H.; Farid, G. Nonlinear and adaptive intelligent control techniques for quadrotor UAV—A survey. Asian J. Control 2019, 21, 989–1008. [Google Scholar] [CrossRef]
  4. Li, Z.; Ma, X.; Li, Y. Robust tracking control strategy for a quadrotor using RPD-SMC and RISE. Neurocomputing 2019, 331, 312–322. [Google Scholar] [CrossRef]
  5. Tayebi, A.; McGilvray, S. Attitude stabilization of a VTOL quadrotor aircraft. IEEE Trans. Control Syst. Technol. 2006, 14, 562–571. [Google Scholar] [CrossRef]
  6. Atheer, L.S.; Haider, A.F. Flight PID controller design for a UAV quadrotor. Sci. Res. Essays 2010, 5, 3660–3667. [Google Scholar]
  7. Rinaldi, F.; Chiesa, S.; Quagliotti, F. Linear quadratic control for quadrotors UAVs dynamics and formation flight. J. Intell. Robot. Syst. 2013, 70, 203–220. [Google Scholar] [CrossRef]
  8. Aboudonia, A.; El-Badawy, A. Disturbance observer-based feedback linearization control of an unmanned quadrotor helicopter. Proc. Inst. Mech. Eng. Part I J. Syst. Control Eng. 2016, 230, 877–891. [Google Scholar] [CrossRef]
  9. Yang, Y.; Wu, J.; Zheng, W. Station-keeping control for a stratospheric airship platform via fuzzy adaptive backstepping approach. Adv. Space Res. 2013, 51, 1157–1167. [Google Scholar] [CrossRef]
  10. Yang, Y.; Wu, J.; Zheng, W. Trajectory tracking for an autonomous airship using fuzzy adaptive sliding mode control. J. Zhejiang Univ. Sci. C 2012, 13, 534–543. [Google Scholar] [CrossRef]
  11. Yang, Y.; Yan, Y. Attitude regulation for unmanned quadrotors using adaptive fuzzy gain-scheduling sliding mode control. Aerosp. Sci. Technol. 2016, 54, 208–217. [Google Scholar] [CrossRef]
  12. Li, P.; Lin, Z.; Shen, H. Optimized neural network based sliding mode control for quadrotors with disturbances. Math. Biosci. Eng. 2021, 18, 1774–1793. [Google Scholar] [CrossRef]
  13. 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]
  14. Yang, Y.; Wu, J.; Zheng, W. Adaptive fuzzy sliding mode control for robotic airship with model uncertainty and external disturbance. J. Syst. Eng. Electron. 2012, 23, 250–255. [Google Scholar] [CrossRef]
  15. Vu, Q.V.; Dinh, T.A.; Nguyen, T.V. An Adaptive Hierarchical Sliding Mode Controller for Autonomous Underwater Vehicles. Electronics 2021, 10, 2316. [Google Scholar] [CrossRef]
  16. Jiang, T.; Lin, D.; Song, T. Finite-time backstepping control for quadrotors with disturbances and input constraints. IEEE Access 2018, 6, 62037–62049. [Google Scholar] [CrossRef]
  17. Nekoukar, V.; Dehkordi, N.M. Robust path tracking of a quadrotor using adaptive fuzzy terminal sliding mode control. Control Eng. Pract. 2021, 110, 104763. [Google Scholar] [CrossRef]
  18. Tripathi, V.K.; Kamath, A.K.; Verma, N.K. Fast Terminal Sliding Mode Super Twisting Controller for Position and Altitude Tracking of the Quadrotor. In Proceedings of the 2019 International Conference on Robotics and Automation, Montreal, QC, Canada, 20–24 May 2019. [Google Scholar]
  19. Wu, G.Q.; Song, S.M. Anti-saturation attitude and orbit-coupled control for spacecraft final safe approach based on fast nonsingular terminal sliding mode. J. Aerosp. Eng. 2019, 32, 04019002. [Google Scholar] [CrossRef]
  20. Nguyen, V.T.; Su, S.F.; Wang, N. Adaptive finite-time neural network control for redundant parallel manipulators. Asian J. Control 2020, 22, 2534–2542. [Google Scholar] [CrossRef]
  21. Ghorbani, H.; Vatankhah, R.; Farid, M. Adaptive nonsingular fast terminal sliding mode controller design for a smart flexible satellite in general planar motion. Aerosp. Sci. Technol. 2021, 119, 107100. [Google Scholar] [CrossRef]
  22. Yang, Y. Positioning control for stratospheric satellites subject to dynamics uncertainty and input constraints. Aerosp. Sci. Technol. 2019, 86, 534–541. [Google Scholar] [CrossRef]
  23. Labbadi, M.; Cherkaoui, M. Robust adaptive backstepping fast terminal sliding mode controller for uncertain quadrotor UAV. Aerosp. Sci. Technol. 2019, 93, 105306. [Google Scholar] [CrossRef]
  24. Eliker, K.; Grouni, S.; Tadjine, M. Quadcopter nonsingular finite-time adaptive robust saturated command-filtered control system under the presence of uncertainties and input saturation. Nonlinear Dyn. 2021, 104, 1363–1387. [Google Scholar] [CrossRef]
  25. Labbadi, M.; Cherkaoui, M. Adaptive fractional-order nonsingular fast terminal sliding mode based robust tracking control of quadrotor UAV with Gaussian random disturbances and uncertainties. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 2265–2277. [Google Scholar] [CrossRef]
  26. Yu, S.; Yu, X.; Shirinzadeh, B. Continuous finite-time control for robotic manipulators with terminal sliding mode. Automatica 2005, 41, 1957–1964. [Google Scholar] [CrossRef]
  27. Chen, S.; Liu, W.; Huang, H. Nonsingular fast terminal sliding mode tracking control for a class of uncertain nonlinear systems. J. Control Sci. Eng. 2019, 2019, 8146901. [Google Scholar] [CrossRef]
  28. Lu, L.; Wang, J. Design and application of tracking differentiator based on inverse hyperbolic tangent function. Syst. Eng. Electron. 2020, 42, 9. [Google Scholar]
  29. Chen, T.; Chen, H. Approximation capability to functions of several variables, nonlinear functionals, and operators by radial basis function neural networks. IEEE Trans. Neural Netw. 1995, 6, 904–910. [Google Scholar] [CrossRef]
  30. Labbadi, M.; Cherkaoui, M. Robust adaptive nonsingular fast terminal sliding-mode tracking control for an uncertain quadrotor UAV subjected to disturbances. ISA Trans. 2020, 99, 290–304. [Google Scholar] [CrossRef]
  31. Xiong, J.J.; Zhang, G.B. Global fast dynamic terminal sliding mode control for a quadrotor UAV. ISA Trans. 2017, 66, 233–240. [Google Scholar] [CrossRef]
  32. Zheng, E.H.; Xiong, J.J.; Luo, J.L. Second order sliding mode control for a quadrotor UAV. ISA Trans. 2014, 53, 1350–1356. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Structure of the quadrotor.
Figure 1. Structure of the quadrotor.
Drones 06 00206 g001
Figure 2. Block diagram of NFTSMC.
Figure 2. Block diagram of NFTSMC.
Drones 06 00206 g002
Figure 3. Block diagram of NN-NFTSMC.
Figure 3. Block diagram of NN-NFTSMC.
Drones 06 00206 g003
Figure 4. Position (x, y, z) in simulation 1.
Figure 4. Position (x, y, z) in simulation 1.
Drones 06 00206 g004
Figure 5. Attitude (ϕ, θ, ψ ) in simulation 1.
Figure 5. Attitude (ϕ, θ, ψ ) in simulation 1.
Drones 06 00206 g005
Figure 6. Position tracking errors in simulation 1.
Figure 6. Position tracking errors in simulation 1.
Drones 06 00206 g006
Figure 7. Control inputs in simulation 1.
Figure 7. Control inputs in simulation 1.
Drones 06 00206 g007
Figure 8. Position (x, y, z) in Simulation 2.
Figure 8. Position (x, y, z) in Simulation 2.
Drones 06 00206 g008
Figure 9. Attitude (ϕ, θ, ψ ) in simulation 2.
Figure 9. Attitude (ϕ, θ, ψ ) in simulation 2.
Drones 06 00206 g009
Figure 10. Position (x, y, z) tracking errors in Simulation 2.
Figure 10. Position (x, y, z) tracking errors in Simulation 2.
Drones 06 00206 g010
Figure 11. Position (x, y, z) in simulation 3.
Figure 11. Position (x, y, z) in simulation 3.
Drones 06 00206 g011
Figure 12. Attitude (ϕ, θ, ψ ) in simulation 3.
Figure 12. Attitude (ϕ, θ, ψ ) in simulation 3.
Drones 06 00206 g012
Figure 13. Position (x, y, z) tracking errors in simulation 3.
Figure 13. Position (x, y, z) tracking errors in simulation 3.
Drones 06 00206 g013
Table 1. Control parameters of NN-FTSMC.
Table 1. Control parameters of NN-FTSMC.
ParameterValue
αdiag (6, 6, 6, 0.5, 0.5, 0.5)
βdiag (0.3, 0.3, 0.3, 0.8, 0.8, 0.8)
γ11.3
γ21.1
K1diag(20, 20, 20, 10, 10, 10)
Γdiag(15, 15, 15, 35, 35, 35)
λ20
Table 2. Reference position and yaw angle of the desired trajectory.
Table 2. Reference position and yaw angle of the desired trajectory.
VariableValueTimes
[xd(m), yd(m), zd(m)][0.6, 0.6, 0.6]0
[0.3, 0.6, 0.6]10
[0.3, 0.3, 0.6]20
[0.6, 0.3, 0.6]30
[0.6, 0.6, 0.6]40
[0.6, 0.6, 0.0]50
ψ[(rad)][0.5]0
λ[0.0]50
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Huang, S.; Yang, Y. Adaptive Neural-Network-Based Nonsingular Fast Terminal Sliding Mode Control for a Quadrotor with Dynamic Uncertainty. Drones 2022, 6, 206. https://doi.org/10.3390/drones6080206

AMA Style

Huang S, Yang Y. Adaptive Neural-Network-Based Nonsingular Fast Terminal Sliding Mode Control for a Quadrotor with Dynamic Uncertainty. Drones. 2022; 6(8):206. https://doi.org/10.3390/drones6080206

Chicago/Turabian Style

Huang, Shurui, and Yueneng Yang. 2022. "Adaptive Neural-Network-Based Nonsingular Fast Terminal Sliding Mode Control for a Quadrotor with Dynamic Uncertainty" Drones 6, no. 8: 206. https://doi.org/10.3390/drones6080206

APA Style

Huang, S., & Yang, Y. (2022). Adaptive Neural-Network-Based Nonsingular Fast Terminal Sliding Mode Control for a Quadrotor with Dynamic Uncertainty. Drones, 6(8), 206. https://doi.org/10.3390/drones6080206

Article Metrics

Back to TopTop