Next Article in Journal
Correction: Calisi et al. Integrated Surveying, from Laser Scanning to UAV Systems, for Detailed Documentation of Architectural and Archeological Heritage. Drones 2023, 7, 568
Next Article in Special Issue
Design, Modeling, and Control of a Composite Tilt-Rotor Unmanned Aerial Vehicle
Previous Article in Journal
Low Contrast Challenge and Limitations of Thermal Drones in Maritime Search and Rescue—Pilot Study
Previous Article in Special Issue
Modular Reinforcement Learning for Autonomous UAV Flight Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Distributed Dynamic Surface Control for a Class of Quadrotor UAVs with Input Saturation and External Disturbance

1
School of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
2
Jilin Province International Research Center of Precision Drive and Intelligent Control, Jilin 132012, China
*
Author to whom correspondence should be addressed.
Drones 2024, 8(3), 77; https://doi.org/10.3390/drones8030077
Submission received: 4 February 2024 / Revised: 21 February 2024 / Accepted: 22 February 2024 / Published: 23 February 2024
(This article belongs to the Special Issue A UAV Platform for Flight Dynamics and Control System)

Abstract

:
An adaptive dynamic surface trajectory tracking control method based on the Nussbaum function is proposed for a class of quadrotor UAVs encountering unknown external disturbances and unidentified nonlinearities. By transforming controller expressions into numerical solutions, the challenge of overly complex controller design expressions is addressed, simplifying the overall controller design process and enhancing the efficiency of simulation programs. Additionally, an adaptive controller based on Nussbaum gain is introduced to effectively resolve actuator saturation issues. This approach mitigates complexities associated with traditional control design and ensures smooth operation of the quadrotor UAVs. The proposed methodology offers promising prospects for enhancing the robustness and performance of quadrotor UAVs under uncertain operating conditions. Finally, to validate the effectiveness of the proposed control scheme, a hardware-in-the-loop experimental setup is constructed. The dynamic model of the quadrotor UAVs and the proposed controller scheme are implemented on the Rapid Control Prototype (RCP) and Real-Time Simulator (RTS), respectively. This facilitates a semi-physical simulation experiment, providing a basis for the subsequent application of the control scheme to actual aerial vehicles. The concluding experimental results affirm the effectiveness of the proposed control scheme and highlight its potential for practical applications.

1. Introduction

In recent years, drones have garnered increasing attention, with their applications expanding significantly across both civilian and military domains. In the civilian sector, they are frequently employed for tourism photography [1], formation flight performances [2,3], air quality monitoring [4], forest fire surveillance [5], remote sensing imagery for precision agriculture [6], and other civilian applications. In the military realm, drones serve as military relay networks [7] and are also utilized in swarming combat systems [8]. The role of UAVs is becoming increasingly prominent. Compared to fixed-wing UAVs, the primary advantage of rotorcraft is their ability to vertically take off and land in confined spaces, as well as hover at designated target locations. This is complemented by benefits such as a simple structure, affordable cost, and flexible operational control.
The quadrotor UAV is a complex, nonlinear, and strongly coupled system with multiple inputs and outputs. Specifically, the vehicle achieves pitch and roll motions by controlling the increase or decrease in the rotational speeds of its four rotors, and yaw motion by altering the speed differential between pairs of rotors. The simultaneous realization of attitude and position control during flight poses a significant challenge in the design of its control system.
The earliest method for trajectory tracking control of quadrotors was PID control [9], which is most widely used in the industrial field. Subsequently, LQR control [10] and sliding mode control [11] emerged. Later on, back-stepping control [12], widely applied in the field of algorithms, appeared, followed by dynamic surface control [13] based on the back-stepping method. Currently, the most popular control algorithms include fuzzy control [14], neural network control [15], and adaptive control [16], etc., and the issues considered are response speed, interference immunity, internal model uncertainty, dynamic compensation, overshooting amount, tracking accuracy, and so on.
Numerous control algorithms have been employed for trajectory tracking of quadrotor UAVs. The most common control algorithm is PID control, introduced by Javier et al. [17] as a control algorithm for quadrotor UAVs. However, the simplicity and poor robustness of PID control, along with its slow response, limit its widespread application in the field of quadrotor UAVs. Besnard et al. [18] introduced a sliding mode control algorithm to quadrotor systems, which is advantageous for its insensitivity to model errors, parameter uncertainties, and other disturbances, but the chattering problem is challenging to address. Almakhles et al. [19] introduced a back-stepping control algorithm, which is suitable for systems with a strict feedback control structure. Due to the requirement of prior knowledge of the system model for back-stepping control, model errors significantly impact the control precision. To enhance steady-state performance, Razmi et al. [20] introduced a neural network control algorithm for attitude control, which also exhibits excellent disturbance immunity. Similarly, to improve steady-state performance, Razmi et al. [21] introduced an H nonlinear control algorithm, achieving zero steady-state error under continuous disturbances. Zhang et al. [22] introduced fuzzy control to overcome the underactuation and strong coupling issues of quadrotor UAVs; however, fuzzy processing may lead to reduced control precision of the system, and controller design often relies on empirical verification, lacking theoretical methods for guidance. Cohen et al. [23] introduced LQR control, which linearizes the model but loses the nonlinear characteristics of the model, reducing the robustness of the control system. However, none of the aforementioned articles address the issue of actuator input saturation, and their effectiveness in reducing unknown external disturbances is limited. Therefore, the design goal of this paper is to develop a controller with disturbance rejection capability that can solve the actuator input saturation problem.
The control scheme proposed in this paper is referenced from [24], where Chen et al. discussed the actuator saturation problem during the re-entry phase of moving mass hypersonic vehicles (HSVs). The saturation nonlinearity was modeled using a hyperbolic tangent function, and the accompanying time-varying coefficients were addressed using the Nussbaum gain technique. A Nussbaum gain adaptable controller was constructed to overcome the actuator saturation problem, based on a disturbance observer, which enhances the disturbance resistance of the controller. Additionally, the dynamic surface technique was introduced to effectively counteract the differential explosion phenomenon. The reference literature also introduces a saturation function represented by the hyperbolic tangent function [25] to model the nonlinearity of saturation, thereby obtaining a continuously differentiable form of the saturation model. However, the Nussbaum gain technique is rarely used in UAVs. To incorporate the Nussbaum gain technique into UAVs, this paper introduces a saturation function in conjunction with the Nussbaum function to address the input saturation [26] problem of the actuator.
In light of the preceding discussions, this paper presents an adaptive anti-jamming control strategy for a class of quadrotor UAVs that are subject to input saturation and unknown disturbances. The Nussbaum gain technique is employed to tackle the challenge of system coefficients that are not predetermined. The distinctive features of the proposed control scheme are as follows:
(1)
To address the system uncertainties and the aggregate of unknown external disturbances, a nonlinear disturbance observer is introduced, and the unknown disturbances can be tracked and compensate the controller, speeding up the convergence of the tracking.
(2)
The Nussbaum gain technique is employed to address the time-varying system dynamics associated with the actuator saturation and system uncertainties. A Nussbaum gain-based adaptive controller is developed, which effectively mitigates the design challenges arising from these factors, achieving the desired control performance.
(3)
By transforming six second-order systems into six third-order systems, the analytical solutions of the controller are converted into numerical solutions, thereby circumventing the complexity associated with traditional controller forms. This approach simplifies the controller design process and enhances the operational efficiency of the control system.
The subsequent sections of this paper are organized as follows: Section 2 describes the modeling of the quadrotor UAV. Section 3 outlines the design of the nonlinear disturbance observer and the controllers for position and attitude. Section 4 provides a stability analysis of the proposed controller. Section 5 presents the simulation results and analysis, and finally, Section 6 concludes with some remarks on the findings.

2. Materials and Methods

As depicted in Figure 1, disregarding the Earth’s rotation, a specific location on the Earth’s surface is chosen as the origin to establish an inertial coordinate system ( e x , e y , e z ) . The center of the starting bracket O is selected as the reference point, and the geometric center of the airframe is taken as the origin to define the airframe coordinate system ( e 1 , e 2 , e 3 ) . The transformation from the airframe coordinate system to the inertial coordinate system can be achieved through coordinate system rotation. The position vector ( x , y , z ) of the quadrotor is defined within the inertial coordinate system, whereas the attitude vector ( ϕ , θ , ψ ) , composed of roll, pitch, and yaw angles, is defined under the airframe coordinate system. The dynamic model of the quadrotor is decoupled into two subsystems: position and attitude.
The position dynamic subsystem is described as
X ˙ 11 = X 12 X ˙ 12 = u t z e g D 1 X 12 + d X
where X 11 = [ x , y , z ] T is the vehicle position vector, X 12 = [ x ˙ , y ˙ , z ˙ ] T is the linear velocity vector of the vehicle in the inertial coordinate system, z e = ( 0 , 0 , 1 ) T is a space vector in the inertial coordinate system, g is the acceleration due to gravity, and d X = [ d 1 , d 2 , d 3 ] T represent external unknown disturbances of the position subsystem. The u t = [ u x , u y , u z ] T denote the control quantities in the x , y , z directions, D 1 X 12 represent the internal uncertain disturbance, and u t and D 1 X 12 can be expressed as
u t = ( cos ϕ sin θ cos ψ + sin ϕ sin ψ ) U 1 ( cos ϕ sin θ sin ψ sin ϕ cos ψ ) U 1 ( cos ϕ cos θ ) U 1 , D 1 X 12 = d x x ˙ / m d y y ˙ / m d z z ˙ / m .
where ( d x , d y , d z ) is the air-damping coefficient, m is the mass of the quadrotor, and U 1 is the total lift generated by the four rotors.
The attitude dynamic subsystem is described as follows
X ˙ 21 = X 22 X ˙ 22 = u τ D 2 X 22 Θ H + d A
where X 21 = [ ϕ , θ , ψ ] T is the vehicle angle vector, X 22 = [ ϕ ˙ , θ ˙ , ψ ˙ ] T is the vehicle angular velocity vector in the inertial coordinate system, and u τ = [ U 2 , U 3 , U 4 ] T is the airframe input moment vector, which represents the torques of roll, pitch, and yaw angles. d A = [ d 4 , d 5 , d 6 ] T is an unknown external disturbance, and D 2 X 22 , Θ , and H can be described as
D 2 X 22 = d ϕ ϕ ˙ / J x d θ θ ˙ / J y d ψ ψ ˙ / J z , Θ = ( J y J z ) θ ˙ ψ ˙ / J x ( J z J x ) ϕ ˙ ψ ˙ / J y ( J x J y ) ϕ ˙ θ ˙ / J z , H = J r θ ˙ / J x J r ϕ ˙ / J y 0 .
where ( d ϕ , d θ , d ψ ) are the corresponding air resistance coefficients, ( J x , J y , J z ) are the moment of inertia of the quadrotor in X, Y, and Z axes, respectively, and J r is the moment of inertia of the four rotors.
In summary, the dynamic model of a quadrotor [27,28] can be formulated as follows:
x ¨ = ( C ϕ S θ C ψ + S ϕ S ψ ) U 1 a 1 x ˙ + d 1 y ¨ = ( C ϕ S θ S ψ S ϕ C ψ ) U 1 a 2 y ˙ + d 2 z ¨ = ( C ϕ C θ ) U 1 g a 3 z ˙ + d 3 ϕ ¨ = a 4 θ ˙ ψ ˙ + a 5 θ ˙ a 6 ϕ ˙ + U 2 + d 4 θ ¨ = a 7 ϕ ˙ ψ ˙ + a 8 ϕ ˙ a 9 θ ˙ + U 3 + d 5 ψ ¨ = a 10 ϕ ˙ θ ˙ a 11 ψ ˙ + U 4 + d 6
where S and C denote s i n and c o s , respectively, a i , i = 1 , 2 , , 11 are the internal parameters of the quadrotor system, the parameters are defined as:
a 1 = d x m , a 2 = d y m , a 3 = d z m , a 4 = J y J z J x , a 5 = J r J x , a 6 = d ϕ J x , a 7 = J z J x J y , a 8 = J r J y , a 9 = d θ J y , a 10 = J x J y J z , a 11 = d ψ J z .
For the purpose of subsequent controller design and stability analysis, the following assumptions and definitions are made here:
Assumption A1.
The desired position X 11 d = [ x d , y d , z d ] T and desired attitude X 21 d = [ ϕ d , θ d , ψ d ] T are continuously derivable, and their derivatives exist and are bounded. The X ˙ 11 d , X ¨ 11 d , X ˙ 21 d , and X ¨ 21 d exist. For the positive real numbers σ 1 and σ 2 , the inequalities X 11 d 2 + X ˙ 11 d 2 + X ¨ 11 d 2 σ 1 and X 21 d 2 + X ˙ 21 d 2 + X ¨ 21 d 2 σ 2 hold.
Definition 1.
A function is called a Nussbaum-type function [29] if it has the following properties:
lim s sup s 0 s N ( χ ) d χ = + lim s inf s 0 s N ( χ ) d χ =
The Nussbaum function chosen for this paper is N ( χ ) = χ 2 cos ( χ ) .
Definition 2
([21]). Assume S be a subset of R n , and then the set S is called an open subset of R n , if for every χ in the set S, there exists ε > 0 makes N ( χ , ε ) = { z R n : | z χ | < ε } is a subset of S. A set S is called closed if and only if the complementary set of S in R n is open. If there exists r > 0 makes | χ | < r holds for all χ S , we call the set S bounded.
Then, if and only if a set S is closed and bounded, we call the set S compact.
Definition 3
([30]). For the system χ ˙ = f ( t , χ ) , where f : [ 0 , ) × D R n is piecewise continuous in t and locally Lipschitz in χ on [ 0 , ) × D , and D R n is a domain, which contains the origin. If ς > 0 , there is δ ( t 0 , ς ) > 0 , which makes
| χ ( t 0 ) | δ ( t 0 , ς ) | χ ( t ; χ 0 , t 0 ) | ς , t t 0 .
Then the system is semiglobal stable.
Lemma 1
([24]). Let V(·) and χ(·) be smooth functions defined on [ 0 , t f ) with V ( t ) 0 , t [ 0 , t f ) . For t [ 0 , t f ) , if the following inequality holds:
V ( t ) c 0 + e c 1 t 0 t [ κ ( τ ) N ( χ ) 1 ] χ ˙ e c 1 t d τ
where the constant c 1 > 0 , κ ( τ ) is a time-varying parameter which takes a value in the intervals I : = ( 0 , 1 ] , and c 0 denotes some appropriate positive constant, then V ( t ) , χ ( t ) and 0 t κ ( τ ) N ( χ ) χ ˙ d τ must be bounded on [ 0 , t f ) .
In this paper, the control goal is to design an adaptive trajectory tracking strategy, given any desired trajectory X 11 d and yaw angle ψ d that satisfy Assumption 1, combined with the dynamic surface control technique, enabling the quadrotor to track the given desired trajectory and ensuring the closed-loop system is stable and linear as well as the boundedness of the system state signals.

3. Controller Design

In this paper, an adaptive dynamic surface control scheme based on the Nussbaum function is proposed to decompose the quadrotor system into two dynamic subsystems, position subsystems and attitude subsystems, and design the controllers separately. The design scheme is shown in Figure 2.

3.1. Design of Nonlinear Disturbance Observer

In this subsection, a nonlinear disturbance observer for the quadrotor system is first designed, divided into two parts: the position disturbance observer and the attitude disturbance observer.

3.1.1. Design of a Position Disturbance Observer

In order to estimate the unknown disturbances of the positioning subsystem, the design nonlinear disturbance observer [31] of the form (1) as
p ˙ X = L X p X L X [ L X X 12 u t z e g D 1 X 12 ] d ^ X = p X + L X X 12
where L X = d i a g { [ l x , l y , l z ] } , l x , l y , l z > 0 are designed gain matrix parameters, p X = [ p x , p y , p z ] T is the internal state, and d ^ X = [ d ^ 1 , d ^ 2 , d ^ 3 ] T is the estimate of the external disturbances.

3.1.2. Design of an Attitude Disturbance Observer

Similarly, in order to estimate the unknown disturbances of the attitude subsystem design the nonlinear disturbance observer [32] of (3) as:
p ˙ A = L A p A L A [ L A X 22 u τ Θ H D 2 X 22 ] d ^ A = p A + L A X 22
where L A = d i a g { [ l ϕ , l θ , l ψ ] } is the gain matrix, and l ϕ , l θ , l ψ > 0 , p A = [ p ϕ , p θ , p ψ ] T is the internal state, and d ^ A = [ d ^ 4 , d ^ 5 , d ^ 6 ] T is the estimate of the external disturbances.

3.2. Design of Position and Attitude Controllers

In this subsection, we will design the controllers for both the position and attitude subsystems of the quadrotor. First, we will design the controller for the position subsystem; then, based on the output of the position subsystem controller, we will derive the desired roll, pitch, and total lift. Finally, we will proceed with the design of the attitude subsystem.

3.2.1. Design of Position Controller

When designing the controller, input saturation [26] problem is considered and u t is replaced by the saturation function S a t ( v t ) = S a t u t M ( u t ) , the saturation function is defined as
S a t ( v t ) = u t M , u t u t M u t , u t M < u t < u t M u t M , u t u t M
where u t M is the upper input limit of the quadrotor. The saturation function defined by (11) is not differentiable everywhere within its domain. To ensure that the designed backstepping control strategy can be implemented, the hyperbolic tangent function is introduced to replace the saturation function, ensuring that ut is differentiable everywhere within its domain; its form [25] can be expressed as
p ( v t ) = u t M tanh u t u t M
Particularly, for the convenience of obtaining the control law, an augmented position subsystem [33] is introduced as
X ˙ 11 = X 12 X ˙ 12 = p ( v t ) z e g D 1 X 12 + d X u ˙ t = Λ u t + Υ
where Λ = d i a g ( [ Λ 1 , Λ 2 , Λ 3 ] ) denotes the gain matrix and the parameters Λ 1 , Λ 2 , Λ 3 > 0 , Υ is an auxiliary variable.
With this, the preparatory work is concluded, and below are the detailed design steps for the position subsystem controller.
Step 1: Set the first error surface S 1 , and the derivation of S 1 yields
S 1 = X 11 X 11 d
S ˙ 1 = X 12 X ˙ 11 d
Set the virtual control input X ¯ 12 d as
X ¯ 12 d = K 1 S 1 + X ˙ 11 d
where K 1 = d i a g ( [ k 11 , k 12 , k 13 ] ) , k 11 , k 12 , k 13 > 0 are the parameters to be designed. Let X 12 d be the output of X ¯ 12 d through the low-pass filter
T 1 X ˙ 12 d + X 12 d = X ¯ 12 d X 12 d ( 0 ) = X ¯ 12 d ( 0 )
where T 1 is the time constant, the initial values of X 12 d and X ¯ 12 d are equal. Then, the filter error y 1 and filter X ˙ 12 d can be expressed as
y 1 = X 12 d X ¯ 12 d
X ˙ 12 d = T 1 1 ( X ¯ 12 d X 12 d ) = T 1 1 y 1
Step 2: Set the first error surface S 2 , and the derivation of S 2 yields
S 2 = X 12 X 12 d
S ˙ 2 = p ( v t ) z e g D 1 X 12 + d X X ˙ 12 d
Set the virtual control law p ¯ ( v t ) as
p ¯ ( v t ) = X ˙ 12 d + z e g + D 1 X 12 d ^ X K 2 S 2
where K 2 = d i a g ( [ k 21 , k 22 , k 23 ] ) is a positive diagonal constant matrix, d ^ X is the observed value from the disturbance observer, serving as compensation for the controller. Let p c ( v t ) be the output of p ¯ ( v t ) through the low-pass filter
T 2 p ˙ c ( v t ) + p c ( v t ) = p ¯ ( v t ) p c ( v t ) ( 0 ) = p ¯ ( v t ) ( 0 )
where T 2 is the time constant, the initial values of p c ( v t ) and p ¯ ( v t ) are equal. Then, the filter error y 2 and filter p ˙ c ( v t ) can be expressed as
y 2 = p c ( v t ) p ¯ ( v t )
p ˙ c ( v t ) = T 2 1 ( p ¯ ( v t ) p c ( v t ) ) = T 2 1 y 2
Step 3: Set the third error surface S 3 , and differentiating S 3 yields
S 3 = p ( v t ) p c ( v t )
S ˙ 3 = λ ( Λ u t + Υ ) p ˙ c ( v t )
where λ = p ( v t ) / u t = d i a g ( [ λ 1 , λ 2 , λ 3 ] ) is a time-varying matrix and its elements are within ( 0 , 1 ] . For system stability, the auxiliary variable Υ is designed as
Υ = N ( χ 1 ) Υ ¯ Υ ¯ = λ Λ u t + p ˙ c ( v t ) K 3 S 3
where K 3 = d i a g ( [ k 31 , k 32 , k 33 ] ) is a positive constant matrix. The adjustment parameters χ 1 = [ χ 11 , χ 12 , χ 13 ] T and Nussbaum gain N ( χ 1 ) = d i a g ( [ N ( χ 11 ) , N ( χ 12 ) , N ( χ 13 ) ] ) is introduced to deal with the time-varying λ with an adaptive law as
χ ˙ 1 = M α S 3
where M α = d i a g ( [ α 1 Υ ¯ 1 , α 2 Υ ¯ 2 , α 3 Υ ¯ 3 ] ) , and α 1 , α 2 , α 3 > 0 are designed parameters.

3.2.2. Design of Attitude Decoupler

Through the previous subsection, we have obtained u t . In this subsection, we design an attitude decoupler to solve for the desired roll and pitch angles of the quadrotor, and thus, we define it as follows:
U x = ( cos ϕ sin θ cos ψ + sin ϕ sin ψ ) U 1 U y = ( cos ϕ sin θ sin ψ sin ϕ cos ψ ) U 1 U z = ( cos ϕ cos θ ) U 1
According to (30), the desired yaw angle in the formula is known, multiplying the first equation in (30) by cos ψ d , plus the second equation in (30) by sin ψ d and combining the third equation in (30) to obtain the desired pitch angle. Similarly, multiplying the first equation in (30) by sin ψ d minus the second equation in (30) by cos ψ d and combining the third equation in (30) to obtain the desired roll angle. Finally, the total lift is obtained through the third equation in (30). The desired roll( ϕ d ) and pitch( θ d ) angle and the total lift [34] can be expressed as following:
θ d = arctan ( U x cos ψ d + U y sin ψ d U z ) ϕ d = arctan ( cos θ d U x sin ψ d U y cos ψ d U z ) U 1 = U z cos ϕ d cos θ d

3.2.3. Design of Attitude Controller

While designing the controller, the input saturation [26] problem is considered and u τ is replaced by the saturation function S a t ( v τ ) = S a t u τ M ( u τ ) ; the saturation function is defined as
S a t ( v τ ) = u τ M , u τ u τ M u τ , u τ M < u τ < u τ M u τ M , u τ u τ M
where u τ M is the upper input limit of the quadrotor. Similarly, to ensure that ut is differentiable everywhere within its domain, the hyperbolic tangent function is introduced to replace the saturation function; the form [25] can be expressed as
p ( v τ ) = u τ M tanh u τ u τ M
Particularly, in order to facilitate the acquisition of control laws, an augmented attitude subsystem [33] is introduced and the system is rewritten as
X ˙ 21 = X 22 X ˙ 22 = p ( v τ ) D 2 X 22 Θ H + d A u ˙ τ = Γ u τ + Φ
where Γ = d i a g ( [ Γ 1 , Γ 2 , Γ 3 ] ) is gain matrix and the parameters Γ 1 , Γ 2 , Γ 3 > 0 , Φ is an auxiliary variable.
At this point, the preparatory phase is complete and the subsequent steps detail the design process for the attitude subsystem controller.
Step 1: Set the first error surface S 4 and obtain the derivative
S 4 = X 21 X 21 d
S ˙ 4 = X 22 X ˙ 21 d
Set the virtual control input X ¯ 22 d as
X ¯ 22 d = K 4 S 4 + X ˙ 21 d
where K 4 = d i a g ( [ k 41 , k 42 , k 43 ] ) and k 41 , k 42 , k 43 > 0 are designed parameters. Let X 22 d be the output of X ¯ 22 d through the low-pass filter
T 3 X ˙ 22 d + X 22 d = X ¯ 22 d X 22 d ( 0 ) = X ¯ 22 d ( 0 )
where T 3 is the time constant, the initial values of X 22 d and X ¯ 22 d are equal. Then, the filter error y 3 and filter X ˙ 22 d can be expressed as
y 3 = X 22 d X ¯ 22 d
X ˙ 22 d = T 3 1 ( X ¯ 22 d X 22 d ) = T 3 1 y 3
Step 2: Set the second error surface S 5 and obtain the derivative
S 5 = X 22 X 22 d
S ˙ 5 = p ( v τ ) D 2 X 22 Θ H + d A X ˙ 22 d
Let the virtual control law p ¯ ( v τ ) be:
p ¯ ( v τ ) = X ˙ 22 d + D 2 X 22 + Θ + H d ^ A K 5 S 5
where K 5 = d i a g ( [ k 51 , k 52 , k 53 ] ) , k 51 , k 52 , k 53 > 0 are designed parameters and d ^ A is the observed value from the disturbance observer, serving as compensation for the controller. Let p c ( v τ ) be the output of p ¯ ( v τ ) through the low-pass filter
T 4 p ¯ c ( v τ ) + p c ( v τ ) = p ¯ ( v τ ) p c ( v τ ) ( 0 ) = p ¯ ( v τ ) ( 0 )
where T 4 is the time constant, the initial values of p c ( v τ ) and p ¯ ( v τ ) are equal. Then, the filter error y 4 and filter p ˙ c ( v τ ) can be expressed as
y 4 = p c ( v τ ) p ¯ ( v τ )
p ˙ c ( v τ ) = T 4 1 ( p ¯ ( v τ ) p c ( v τ ) ) = T 4 1 y 4
Step 3: Set the third error surface S 6 and obtain the derivative
S 6 = p ( v τ ) p c ( v τ )
S ˙ 6 = γ ( Γ u τ + Φ ) p ˙ c ( v τ )
where γ = p ( v τ ) / u τ = d i a g ( [ γ 1 , γ 2 , γ 3 ] ) is a time-varying matrix, and its elements are within ( 0 , 1 ] . For stabilizing the system, the auxiliary variable Φ is designed as
Φ = N ( χ 2 ) Φ ¯ Φ ¯ = γ Γ u τ + p ˙ c ( v τ ) K 6 S 6
where K 6 = d i a g ( [ k 61 , k 62 , k 63 ] ) is a positive constant matrix. The adjustment parameters χ 2 = [ χ 21 , χ 22 , χ 23 ] T and the Nussbaum gain N ( χ 2 ) = d i a g ( [ N ( χ 21 ) , N ( χ 22 ) , N ( χ 23 ) ] ) is introduced to deal with the time-varying γ with an adaptive law as
χ ˙ 2 = M β S 6
where M β = d i a g ( [ β 1 Φ ¯ 1 , β 2 Φ ¯ 2 , β 3 Φ ¯ 3 ] ) , and β 1 , β 2 , β 3 > 0 are designed parameters.
The above control scheme is shown in Figure 3 below.

4. Stability Analysis

In this section, a stability analysis is conducted on the provided control scheme to ensure that all signals in both the position and attitude subsystems are ultimately bounded.
From (15), (16), (18), and (20), we have
S ˙ 1 = X 12 X ˙ 11 d = ( X 12 X 12 d ) + ( X 12 d X ¯ 12 d ) + ( X ¯ 12 d X ˙ 11 d ) = S 2 + y 1 K 1 S 1
Invoking (21), (22), (24), and (26) to obtain
S ˙ 2 = p ( v t ) z e g D 1 X 12 + d X X ˙ 12 d = ( p ( v t ) p c ( v t ) ) + ( p c ( v t ) p ¯ ( v t ) ) + ( p ¯ ( v t ) z e g D 1 X 12 + d X X ˙ 12 d ) = S 3 + y 2 K 2 S 2
Combine (27) and (28) to obtain
S ˙ 3 = λ ( Λ u t + Υ ) p ˙ c ( v t ) = λ ( Λ u t + Υ ) Υ ¯ + Υ ¯ p ˙ c ( v t ) = λ Λ u t + ( λ N ( χ 1 ) Υ ¯ Υ ¯ ) + ( λ Λ u t + p ˙ c ( v t ) K 3 S 3 ) p ˙ c ( v t ) = ( λ N ( χ 1 ) I ) Υ ¯ K 3 S 3
Calling formulas (36), (37), (39), and (41) can gain
S ˙ 4 = X 22 X ˙ 21 d = ( X 22 X 22 d ) + ( X 22 d X ¯ 22 d ) + ( X ¯ 22 d X ˙ 21 d ) = S 5 + y 3 K 4 S 4
Refer to Equation (42) and consider (43), (45), and (47) to obtain
S ˙ 5 = p ( v τ ) D 2 X 22 Θ H + d A X ˙ 22 d = ( p ( v τ ) p c ( v τ ) ) + ( p c ( v τ ) p ¯ ( v τ ) ) + ( p ¯ ( v τ ) D 2 X 22 Θ H + d A X ˙ 22 d ) = S 6 + y 4 K 5 S 5
Based on (48) and (49), we have
S ˙ 6 = γ ( Γ u τ + Φ ) p ˙ c ( v τ ) = γ ( Γ u τ + Φ ) Φ ¯ + Φ ¯ p ˙ c ( v τ ) = γ Γ u t + ( γ N ( χ 2 ) Φ ¯ ) Φ ¯ + ( γ Γ u τ + p ˙ c ( v τ ) K 6 S 6 ) p ˙ c ( v τ ) = ( γ N ( χ 2 ) I ) Φ ¯ K 6 S 6
Differentiating y 1 in (18) and using (16), (19), and (51), this yields
y ˙ 1 = T 1 1 y 1 + η 1
where η 1 is a function of S 1 , S 2 , y 1 , X 11 d , X ˙ 11 d , X ¨ 11 d and has the following form:
η 1 = K 1 ( S 2 + y 1 K 1 S 1 ) X ¨ 11 d
Differentiating y 2 in (24) and using (22), (25), and (52), we have
y ˙ 2 = T 2 1 y 2 + η 2
where η 2 is a function of S 1 , S 2 , S 3 , y 1 , y 2 , X 11 d , X ˙ 11 d , X ¨ 11 d and has the following form:
η 2 = K 2 ( S 3 + y 2 K 2 S 2 ) ( D 1 X ˙ 12 d + X ¨ 12 d + z e g ˙ d ^ X )
Differentiating y 3 in (39) and using (37), (40), and (54), we can obtain
y ˙ 3 = T 3 1 y 3 + η 3
where η 3 is a function of S 4 , S 5 , y 3 , X 21 d , X ˙ 21 d , X ¨ 21 d and has the following form:
η 3 = K 4 ( S 5 + y 3 K 4 S 4 ) X ¨ 21 d
Differentiating y 4 in (45), and using (43), (46), and (55), we obtain
y ˙ 4 = T 4 1 y 4 + η 4
where η 4 is a function of S 4 , S 5 , S 6 , y 3 , y 4 , X 21 d , X ˙ 21 d , X ¨ 21 d and has the following form:
η 4 = K 5 ( S 6 + y 4 K 5 S 5 ) ( Θ + H + D 2 X ˙ 22 d + X ¨ 22 d d ^ A )
The Lyapunov function for the entire system is constructed as follows:
V = V 1 + V 2 + V 3 + V 4
where V 1 and V 2 are the Lyapunov functions for the position subsystem, and similarly, V 3 and V 4 are the Lyapunov functions for the attitude subsystem, represented as follows:
V 1 = 1 2 S 1 T S 1 + 1 2 S 2 T S 2 + 1 2 S 3 T S 3
V 2 = 1 2 y 1 T y 1 + 1 2 y 2 T y 2
V 3 = 1 2 S 4 T S 4 + 1 2 S 5 T S 5 + 1 2 S 6 T S 6
V 4 = 1 2 y 3 T y 3 + 1 2 y 4 T y 4
Theorem 1.
Consider a closed-loop system expanded by position subsystem (13) and attitude subsystem (34). The semi-global stability of the closed-loop system is ensured with appropriate design parameters with the initial condition V ( 0 ) μ , μ > 0 holding, the error of position tracking e X 11 = S 1 and the error of attitude tracking e X 21 = S 4 converging with arbitrarily small errors, and the control inputs, states, and all closed-loop system signals being bounded.
Proof. 
Based on (51)–(53) and (66), differentiating V 1 yields
V ˙ 1 = S 1 T S ˙ 1 + S 2 T S ˙ 2 + S 3 T S ˙ 3 S 1 S 2 + S 1 y 1 ρ 1 S 1 T S 1 + S 2 S 3 + S 2 y 2 ρ 2 S 2 T S 2 + S 3 T ( λ N ( χ 1 ) I ) Υ ¯ ρ 3 S 3 T S 3
In a similar way, from (54)–(56) and (68), to take the derivative of V 3
V ˙ 3 = S 4 T S ˙ 4 + S 5 T S ˙ 5 + S 6 T S ˙ 6 S 4 S 5 + S 4 y 3 ρ 4 S 4 T S 4 + S 5 S 6 + S 5 y 4 ρ 5 S 5 T S 5 + S 6 T ( γ N ( χ 2 ) I ) Φ ¯ ρ 6 S 6 T S 6
where ρ i ( i = 1 , 2 , 3 , 4 , 5 , 6 ) denotes the smallest eigenvalue of K i ( i = 1 , 2 , 3 , 4 , 5 , 6 ) . Define a collection:
Ω 1 = { ( X 11 d , X ˙ 11 d , X ¨ 11 d ) : X 11 d 2 + X ˙ 11 d 2 + X ¨ 11 d 2 σ 1 }
From Definition 2 and Assumption 1, one has that Ω 1 is a compact set on R 3 . Consider two compact sets:
Ω 2 = { ( S 1 , S 2 , y 1 ) : i = 1 2 S i 2 + y 1 2 2 μ 1 }
Ω 3 = { ( S 1 , S 2 , S 3 , y 1 , y 2 ) : i = 1 3 S i 2 + i = 1 2 y i 2 2 μ 1 }
Therefore, Ω 1 × Ω 2 is a compact set on R 6 and Ω 1 × Ω 3 is a compact set on R 8 . Furthermore, η 1 , η 2 are bounded on Ω 1 × Ω 2 and Ω 1 × Ω 3 , respectively. Then, there must exist positive constants M 1 , M 2 that satisfy η 1 M 1 , η 2 M 2 . Then, define another collection:
Ω 4 = { ( X 21 d , X ˙ 21 d , X ¨ 21 d ) : X 21 d 2 + X ˙ 21 d 2 + X ¨ 21 d 2 σ 2 }
From Definition 2 and Assumption 1, one has that Ω 4 is a compact set on R 3 . Consider two compact sets:
Ω 5 = { ( S 4 , S 5 , y 3 ) : i = 4 5 S i 2 + y 3 2 2 μ 2 }
Ω 6 = { ( S 4 , S 5 , S 6 , y 3 , y 4 ) : i = 4 6 S i 2 + i = 3 4 y i 2 2 μ 2 }
Therefore, Ω 4 × Ω 5 is a compact set on R 6 and Ω 4 × Ω 6 is a compact set on R 8 . Furthermore, η 3 , η 4 are bounded on Ω 4 × Ω 5 and Ω 4 × Ω 6 , respectively. Then, there must exist positive constants M 3 , M 4 that satisfy η 3 M 3 , η 4 M 4 .
Invoking (57), (59), and (67) to derive V 2 :
V ˙ 2 = y 1 T y ˙ 1 + y 2 T y ˙ 2 τ 1 1 y 1 T y 1 + y 1 M 1 τ 2 1 y 2 T y 2 + y 2 M 2
Similarly, from (61), (63), and (69) to derive V 4 :
V ˙ 4 = y 3 T y ˙ 3 + y 4 T y ˙ 4 τ 3 1 y 3 T y 3 + y 3 M 3 τ 4 1 y 4 T y 4 + y 4 M 4
where τ i 1 ( i = 1 , 2 , 3 , 4 ) denotes the smallest eigenvalue of T i 1 . According to Young’s inequality and Theorem 1, the following time derivative can be obtained:
V ˙ ( ρ 1 1 ) S 1 T S 1 ( ρ 2 3 / 2 ) S 2 T S 2 ( ρ 2 1 / 2 ) S 3 T S 3 + S 3 T ( λ N ( χ 1 ) I ) Υ ¯ ( ρ 4 1 ) S 4 T S 4 ( ρ 5 3 / 2 ) S 5 T S 5 ( ρ 6 1 / 2 ) S 6 T S 6 + S 6 T ( γ N ( χ 2 ) I ) Φ ¯ ( τ 1 1 ) y 1 T y 1 ( τ 2 1 ) y 2 T y 2 ( τ 3 1 ) y 3 T y 3 ( τ 4 1 ) y 4 T y 4 + ( M 1 2 + M 2 2 + M 3 2 + M 4 2 ) 2 ρ V + S 3 T ( λ N ( χ 1 ) I ) Υ ¯ + S 6 T ( γ N ( χ 2 ) I ) Φ ¯ + M
where ρ = min [ ρ 1 1 , ρ 2 3 / 2 , ρ 3 1 / 2 , ρ 4 1 , ρ 5 3 / 2 , ρ 6 1 / 2 , τ 1 1 1 , τ 2 1 1 , τ 3 1 1 , τ 4 1 1 ] , and M = 1 2 i = 1 4 M i 2 .
For the stability of the closed-loop system, the relevant design parameters K i ( i = 1 , 2 , 3 , 4 , 5 , 6 ) and T i ( i = 1 , 2 , 3 , 4 ) should be chosen to make sure that ρ 1 1 > 0 , ρ 2 3 / 2 > 0 , ρ 3 1 / 2 > 0 , ρ 4 1 > 0 , ρ 5 3 / 2 > 0 , ρ 6 1 / 2 > 0 , τ 1 1 1 > 0 , τ 2 1 1 > 0 , τ 3 1 1 > 0 , τ 4 1 1 > 0 .
Thus, we can obtain:
V V ( 0 ) e 2 ρ t + M 2 ρ ( 1 e 2 ρ t ) + e 2 ρ t 0 t [ χ ˙ 1 T M α 1 ( λ N ( χ 1 ) I ) Υ ¯ + χ ˙ 2 T M β 1 ( γ N ( χ 2 ) I ) Φ ¯ ] e 2 ρ t d τ
Invoking (28), (49) and noting that:
V N = e 2 ρ t 0 t [ χ ˙ 1 T M α 1 ( λ N ( χ 1 ) I ) Υ ¯ + χ ˙ 2 T M β 1 ( γ N ( χ 2 ) I ) Φ ¯ ] d τ = e 2 ρ t α 1 0 t [ ( λ 1 N ( χ 11 ) 1 ) χ ˙ 11 e 2 ρ t ] d τ + e 2 ρ t α 2 0 t [ ( λ 2 N ( χ 12 ) 1 ) χ ˙ 12 e 2 ρ t ] d τ + e 2 ρ t α 3 0 t [ ( λ 3 N ( χ 13 ) 1 ) χ ˙ 13 e 2 ρ t ] d τ + e 2 ρ t β 1 0 t [ ( γ 1 N ( χ 21 ) 1 ) χ ˙ 21 e 2 ρ t ] d τ + e 2 ρ t β 2 0 t [ ( γ 2 N ( χ 22 ) 1 ) χ ˙ 22 e 2 ρ t ] d τ + e 2 ρ t β 3 0 t [ ( γ 3 N ( χ 23 ) 1 ) χ ˙ 23 e 2 ρ t ] d τ
From Lemma 1, we know χ , 0 t [ χ ˙ 1 T M α 1 ( λ N ( χ 1 ) I ) Υ ¯ + χ ˙ 2 T M β 1 ( γ N ( χ 2 ) I ) Φ ¯ ] e 2 ρ t d τ and V N are bounded on [ 0 , t f ) .
From the initial condition V ( 0 ) μ and (81), we can obtain that V is bounded on Ω 1 × Ω 3 × Ω 4 × Ω 6 and guarantees semi-global stability. Therefore, S 1 , S 2 , S 3 , S 4 , S 5 , S 6 , y 1 , y 2 , y 3 , y 4 is bounded. In addition, the closed-loop system signal X 11 d , X 21 d , X ¯ 12 d , X ¯ 22 d , p ¯ ( v t ) , p ¯ ( v τ ) and the control input u t , u τ are bounded.
Define: S = [ S 1 T , S 2 T , S 3 T , S 4 T , S 5 T , S 6 T ] T , and
S [ 0 , T ] = 1 T 0 T S T S d t
For integrating both sides of the inequality (80), one obtains:
S [ 0 , T ] 1 2 ρ { V ( T ) + V ( 0 ) T + M + 1 T 0 T ( χ ˙ 1 T M α 1 λ N ( χ 1 ) Υ ¯ + χ ˙ 2 T M β 1 γ N ( χ 2 ) Φ ¯ ) d t }
Considering the inequalities on [ 0 , T ] , i.e., e 2 ρ T 1 , e 2 ρ ( T t ) 1 and ( 1 e 2 ρ T ) / 2 ρ T . Let t = T , from (81) we can have:
V ( T ) + V ( 0 ) T 2 V ( 0 ) T + M + 1 T 0 T ( χ ˙ 1 T M α 1 λ N ( χ 1 ) Υ ¯ + χ ˙ 2 T M β 1 γ N ( χ 2 ) Φ ¯ ) d t
Noting that S 1 [ 0 , T ] S [ 0 , T ] , and substituting (85) into (84) yields:
S 1 [ 0 , T ] 1 ρ { V ( 0 ) T + M + 1 T 0 T ( χ ˙ 1 T M α 1 λ N ( χ 1 ) Υ ¯ + χ ˙ 2 T M β 1 γ N ( χ 2 ) Φ ¯ ) d t }
Then, the tracking errors of position and attitude are bounded and converge to arbitrarily small errors with suitable parameters. This is the end of the proof. □

5. Experimental Verification

In this section, the controllers designed above are validated. Section 5.1 presents the experimental platform related to the experiments, Section 5.2 displays the relevant parameters and initial states of the quadrotor for the semi-physical simulation experiments, Section 5.3 conducts experiments with the designed controllers and compares them with other controllers, and Section 5.4 shows the error analysis of the three controllers from Section 5.3.

5.1. Modeling Tech Experimental Platform

Through the StarSim Modeling Tech semi-physical simulation experiments of the traditional dynamic surface control (DSC), adaptive dynamic surface control based on the Nussbaum function (NGAC), and the control scheme of this paper (NGACDOB) are carried out by the real-time simulation experimental platform of power electronics. The hardware structure of the experimental platform is shown in Figure 4 and Figure 5.
The simulation results of the NGACDOB controller are shown as follows.
Experimental environment: (1) NI PXIe-1071, MTRCP (Rapid Control Prototype), the equipment adopts Kintex-7 325 T FPGA@Xilinx, and it has 16 analog input/output channels with a transmission rate of 1Ms/s. The device is used to run the proposed control algorithm in order to run the control code in real time and to run the control signals generated by the proposed control algorithm on the MT real-time simulator. (2) NIPXIe1082, the MT Real-Time Simulator (RTS) with a Kintex 7325T FPGA chip has 16-bit synchronous analog I/O channels and a data transfer rate of 1 MS/s. It is capable of performing FPGA simulations of large-scale power systems. The simulator receives the control signals, calculates the real-time response through the power electronics system, and outputs it to the control box. The RTS, RCP, and signal adapter form a closed-loop experimental system. (3) Experimental adapter board: used to connect signals between the control device and the model device. (4) Host: Matlab/Simulink system model and controller algorithms are downloaded to the Rapid Control Prototype and Real-Time Simulator, respectively, via Star SIM RCP software.
Remark 1.
It should be noted that the experimental validation in this paper is conducted on a semi-physical simulation platform, which is a real-time simulation technology that combines physical hardware with simulation software. This simulation method integrates physical components into the simulation loop of the system, allowing for a comprehensive examination and verification of system performance. The core feature of this method is embedding physical components into the simulation loop and requiring real-time operation, which solves the interface issues between the controller and the simulation computer, making the experimental results more realistic than pure mathematical simulation. The Modeling Tech experimental platform shown in Figure 4 runs the controller program, whereas the hardware structure of the experimental platform shown in Figure 5 runs the model program, with communication between the model and controller facilitated by a relay board. We aim to validate the control algorithm proposed in this paper through this semi-physical simulation experiment, laying the groundwork for physical experiments on flight vehicles.

5.2. Experimental Preparation

In order to verify the effectiveness of the control scheme proposed in this paper, a quadrotor with external perturbations and model uncertainties is considered, and the nominal parameters are shown in Table 1.
The initial position is set as ( 0 , 0 , 0.25 ) and the initial attitude angle is ( 0 , 0 , 0 ). In order to accomplish the tracking target, the position controller parameters are selected as: k 11 = k 12 = k 13 = 22 , k 21 = k 22 = k 23 = 5 , k 31 = k 32 = k 33 = 2 , a 1 = a 2 = a 3 = 0.05 , Λ 1 = Λ 2 = Λ 3 = 3 , T 1 = T 2 = 0.01 , l x = l y = l z = 10 . The attitude controller parameters are selected as: k 41 = k 42 = k 43 = 20 , k 51 = k 52 = k 53 = 5 , k 61 = k 62 = k 63 = 2 , b 1 = b 2 = b 3 = 0.05 , Γ 1 = Γ 2 = Γ 3 = 3 , T 3 = T 4 = 0.01 , l ϕ = l θ = l ψ = 10 . The reference trajectory of the quadrotor is 0 . 5 cos ( 0 . 5 t ) , 0 . 5 sin ( 0 . 5 t ) , 0 . 1 t and the desired yaw angle is π / 3 . Disturbances were added to the position and attitude subsystems at the 18th second, the duration of the disturbances lasted 1 s, and both position and attitude disturbances were 0.5 sin ( ( t 18 ) π ) . Then, disturbances were added to the position and attitude subsystems at the 25th second, the duration of the disturbances lasted 1 s, and both position and attitude disturbances were 0.5 sin ( ( t 25 ) π ) .

5.3. Experimental Results

In this subsection, based on the experimental platform and the initial states and corresponding parameters of the model mentioned above, we will conduct three sets of experiments as follows: Experiment 1, Adaptive Dynamic Surface Control with Nussbaum Gain and Disturbance Observer (NGACDOB), Experiment 2, a comparative experiment between Traditional Dynamic Surface Control (DSC) and Adaptive Dynamic Surface Control with Nussbaum Gain and Disturbance Observer (NGACDOB), and Experiment 3, a comparative experiment between Adaptive Dynamic Surface Control based on Nussbaum Gain (NGAC) and Adaptive Dynamic Surface Control with Nussbaum Gain and Disturbance Observer (NGACDOB).
Experiment 1: The simulation results of NGACDOB
Figure 6 demonstrates the 3D tracking effect of the quadrotor, which follows a reference trajectory in the form of an ascending spiral during a 30 s simulation. It can be observed from the figure that the quadrotor is able to quickly track the reference trajectory. Figure 7 shows the changes in the input state of the quadrotor. Due to the introduction of input saturation in the controller design (Equations (12) and (33)), with the saturation values u t M and u τ M both set to 300, the four input state values of the quadrotor are kept within 300 to prevent the input state values from being too high, which could result in the quadrotor’s actual lift and torque inputs from reaching the required conditions. The simulation results demonstrate the effectiveness of the input saturation control. Figure 8, Figure 9 and Figure 10 show the tracking and errors of the quadrotor in the X, Y, and Z directions. To be realistic, the actual starting point is aligned with the reference trajectory’s starting point on the same horizontal plane, with only the initial value in the X direction being different; Figure 8 indicates that the aircraft tracks the reference signal after 0.6 s, and the tracking signals in all three directions show minimal fluctuations after disturbances at the 18th and 25th seconds, reflecting the effectiveness of the control algorithm and its good disturbance rejection capability. Figure 11, Figure 12 and Figure 13 show the tracking and errors of the quadrotor’s roll, pitch, and yaw angles. In practical applications, large fluctuations in the roll and pitch angles are not allowed. The maximum roll angle in Figure 11 is less than 0.2 rad (approximately 11 . 46 ), which is well within the permissible range. The maximum pitch and yaw angles in Figure 12 and Figure 13 are both less than 0.1 rad (approximately 5 . 73 ), indicating very small oscillations in the Y and Z directions, and the deviations after disturbances at the 18th and 25th seconds are also very small (disturbance errors are within 0.1 rad). Figure 14, Figure 15 and Figure 16 show the tracking and errors of disturbances in the X, Y, and Z directions. In Figure 14, there is an overshoot of about 0.3 m in the X direction during the initial 0.2 s. The Y and Z directions can track the external unknown disturbance signals well from the initial position, and the deviations after disturbances at the 18th and 25th seconds are also very small (tracking errors are within 0.1 m), indicating that the disturbance observer can effectively track external unknown disturbances. Figure 17, Figure 18 and Figure 19 show the tracking and errors of disturbances in the roll, pitch, and yaw angles. Due to the presence of the attitude decoupler, the desired angle changes are large and fast, leading to significant initial overshoot in the disturbance observers for the roll, pitch, and yaw angles. However, after 0.4 s, they all track the external unknown disturbance signals, and the deviations after disturbances at the 18th and 25th seconds are also very small (tracking errors are within 0.1 rad), fully demonstrating that the designed observer can effectively track external unknown disturbances.
Experiment 2: The simulation results of DSC vs. NGACDOB
Figure 20 demonstrates the trajectory tracking performance of the DSC and NGACDOB controllers, where the blue line is able to track the red reference trajectory faster after the simulation starts, indicating that the NGACDOB controller has a faster response compared to the DSC controller. In Figure 21, the NGACDOB controller exhibits a faster response after the simulation begins, reaching steady-state at 0.6 s. When subjected to unknown external disturbances at the 18th and 25th seconds, the DSC controller shows a significant deviation, suggesting that the NGACDOB controller has better disturbance rejection performance. Figure 22 and Figure 23 show that the NGACDOB controller has a faster response and less overshoot in both the Y and Z directions, especially noticeable in the Z direction at the beginning. When disturbed at the 18th and 25th seconds, the NGACDOB controller demonstrates a much stronger disturbance rejection capability and a stronger recovery ability after the disturbance compared to the DSC controller.
Experiment 3: The simulation results of NGAC vs. NGACDOB
The difference between the NGAC controller and the NGACDOB controller lies in the fact that the NGAC controller does not have a disturbance observer, and the impact of having or not having a disturbance observer can be seen in the experimental results. In Figure 24, the blue line shows a faster response, and at the 25th second, it is clear that the green line deviates from the red line, indicating that the NGACDOB controller has better disturbance rejection performance. Figure 25, Figure 26 and Figure 27 show that the NGACDOB controller has a faster response, but the advantage is not significant. When the system is disturbed at the 25th second, the difference in deviation between the two controllers in Figure 25 and Figure 27 is small, whereas the difference in Figure 26 is larger. Combining the four figures, it can be concluded that the NGACDOB controller has a slight advantage over the NGAC controller in terms of response speed and disturbance rejection capability.

5.4. Results Analysis

In this subsection, we analyze the data from the aforementioned experiments. To better analyze the tracking performance of different controllers, we employ two types of errors for a qualitative analysis of the three controllers discussed in the previous section.
The first error introduced is the Mean Absolute Error (MAE), which is a measure of the average magnitude of the errors between the reference values and the actual values. It is calculated by taking the absolute value of the difference between each pair of reference and actual values, summing these absolute differences, and then dividing by the number of data points. The formula for MAE is:
MAE = 1 n i = 1 n y i y ^ i
where n is the number of data points, y i is the actual value of the i-th data point, y ^ i is the reference value for the i-th data point. MAE is a non-negative value, and a lower MAE indicates a better fit of the model to the data, meaning the actual values are closer to the reference values.
To better describe the stability of the controller, the second error introduced is the Root Mean Square Error (RMSE), which represents the standard deviation of the differences between reference values and actual values in a dataset. RMSE is calculated by squaring the differences between each reference value and the actual value, averaging these squared differences, and then taking the square root of the result. The formula for RMSE is:
RMSE = 1 n i = 1 n ( y i y ^ i ) 2
where n is the number of data points, y i is the actual value of the i-th data point, and y ^ i is the reference value for the i-th data point. The value of RMSE reflects the degree of dispersion of actual values relative to reference values; a smaller RMSE indicates that the differences between actual and reference values are smaller, suggesting that the system is more stable.
Through the above two kinds of errors, the data of the three controllers in the above section are analyzed, and the comparison of data results is shown in Figure 28 and Figure 29.
Figure 28 presents the MAE comparisons among the three controllers, where the NGACDOB controller, compared to the DSC controller, reduces the error by 44.88% in the X direction, by 32.66% in the Y direction, and increases the error by 31.91% in the Z direction. When compared to the NGAC controller, the NGACDOB controller reduces the error by 29.09% in the X direction, by 19.72% in the Y direction, and by 7.90% in the Z direction. Therefore, the NGACDOB controller improves tracking in the X and Y directions but performs poorly in the Z direction. Figure 29 shows the RMSE comparisons among the three controllers, where the NGACDOB controller, compared to the DSC controller, reduces the error by 20.11% in the X direction, by 62.24% in the Y direction, and by 60.53% in the Z direction. When compared to the NGAC controller, the NGACDOB controller reduces the error by 13.78% in the X direction, by 22.80% in the Y direction, and by 6.99% in the Z direction. Thus, the NGACDOB controller exhibits better stability relative to the other two controllers.

6. Conclusions

In conclusion, this article presents an adaptive dynamic surface trajectory tracking control method employing a Nussbaum function for quadrotor UAVs facing unknown external disturbances and unidentified nonlinearities. The decomposition of the quadrotor dynamics model into two subsystems, focusing on position and attitude, expanded into six third-order subsystems, simplifies controller design expressions and enhances simulation program efficiency. The introduced adaptive controller based on Nussbaum gain effectively addresses actuator saturation, whereas a disturbance observer manages unknown disturbances within the system. Through hardware-in-the-loop experiments, conducted on the Rapid Control Prototype and Real-Time Simulator, the proposed control scheme demonstrates its effectiveness in trajectory tracking. These findings highlight the potential practical application of the proposed control method for quadrotor UAVs in uncertain environments.

Author Contributions

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

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant 52376096, 62373092 and in part by the Natural Science Foundation of Jilin Province, China under Grant 20230101240JC.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Klosterman, S.; Melaas, E.; Wang, J.A.; Martinez, A.; Frederick, S.; O’Keefe, J.; Orwig, D.A.; Wang, Z.; Sun, Q.; Schaaf, C.; et al. Fine-scale perspectives on landscape phenology from unmanned aerial vehicle (UAV) photography. Agric. For. Meteorol. 2018, 248, 397–407. [Google Scholar] [CrossRef]
  2. Fang, X.; Xie, L. Distributed Formation Maneuver Control Using Complex Laplacian. IEEE Trans. Autom. Control 2023. [Google Scholar] [CrossRef]
  3. Fang, X.; Xie, L.; Li, X. Integrated relative-measurement-based network localization and formation maneuver control. IEEE Trans. Autom. Control 2023. [Google Scholar] [CrossRef]
  4. Gao, J.; Hu, Z.; Bian, K.; Mao, X.; Song, L. AQ360: UAV-Aided Air Quality Monitoring by 360-Degree Aerial Panoramic Images in Urban Areas. IEEE Internet Things J. 2021, 8, 428–442. [Google Scholar] [CrossRef]
  5. Zhang, H.; Dou, L.; Xin, B.; Chen, J.; Gan, M.; Ding, Y. Data Collection Task Planning of a Fixed-Wing Unmanned Aerial Vehicle in Forest Fire Monitoring. IEEE Access 2021, 9, 109847–109864. [Google Scholar] [CrossRef]
  6. Huang, H.; Tang, Y.; Tan, Z.; Zhuang, J.; Hou, C.; Chen, W.; Ren, J. Object-Based Attention Mechanism for Color Calibration of UAV Remote Sensing Images in Precision Agriculture. IEEE Trans. Geosci. Remote Sens. 2022, 60, 4416013. [Google Scholar] [CrossRef]
  7. Orfanus, D.; de Freitas, E.P.; Eliassen, F. Self-Organization as a Supporting Paradigm for Military UAV Relay Networks. IEEE Commun. Lett. 2016, 20, 804–807. [Google Scholar] [CrossRef]
  8. Jia, N.; Yang, Z.; Yang, K. Operational Effectiveness Evaluation of the Swarming UAVs Combat System Based on a System Dynamics Model. IEEE Access 2019, 7, 25209–25224. [Google Scholar] [CrossRef]
  9. Moreno-Valenzuela, J.; Pérez-Alcocer, R.; Guerrero-Medina, M.; Dzul, A. Nonlinear PID-Type Controller for Quadrotor Trajectory Tracking. IEEE/ASME Trans. Mechatron. 2018, 23, 2436–2447. [Google Scholar] [CrossRef]
  10. Yoo, J.; Jang, D.; Kim, H.J.; Johansson, K.H. Hybrid Reinforcement Learning Control for a Micro Quadrotor Flight. IEEE Control Syst. Lett. 2021, 5, 505–510. [Google Scholar] [CrossRef]
  11. Mofid, O.; Mobayen, S.; Wong, W.K. Adaptive Terminal Sliding Mode Control for Attitude and Position Tracking Control of Quadrotor UAVs in the Existence of External Disturbance. IEEE Access 2021, 9, 3428–3440. [Google Scholar] [CrossRef]
  12. Huang, J.T.; Jiang, Y.W. Robust Adaptive Backstepping Control of Quadrotors With Unknown Input Gains. IEEE Access 2023, 11, 33069–33079. [Google Scholar] [CrossRef]
  13. Liu, N.; Shao, X.; Yang, W. Integral Barrier Lyapunov Function Based Saturated Dynamic Surface Control for Vision-Based Quadrotors via Back-Stepping. IEEE Access 2018, 6, 63292–63304. [Google Scholar] [CrossRef]
  14. Chen, Q.; Tao, M.; He, X.; Tao, L. Fuzzy Adaptive Nonsingular Fixed-Time Attitude Tracking Control of Quadrotor UAVs. IEEE Trans. Aerosp. Electron. Syst. 2021, 57, 2864–2877. [Google Scholar] [CrossRef]
  15. Bisheban, M.; Lee, T. Geometric Adaptive Control With Neural Networks for a Quadrotor in Wind Fields. IEEE Trans. Control Syst. Technol. 2021, 29, 1533–1548. [Google Scholar] [CrossRef]
  16. Imran, I.H.; Stolkin, R.; Montazeri, A. Adaptive Control of Quadrotor Unmanned Aerial Vehicle With Time-Varying Uncertainties. IEEE Access 2023, 11, 19710–19724. [Google Scholar] [CrossRef]
  17. Lopez-Sanchez, I.; Moreno-Valenzuela, J. PID control of quadrotor UAVs: A survey. Annu. Rev. Control 2023, 56, 100900. [Google Scholar] [CrossRef]
  18. Besnard, L.; Shtessel, Y.B.; Landrum, B. Quadrotor vehicle control via sliding mode controller driven by sliding mode disturbance observer. J. Frankl. Inst. 2012, 349, 658–684. [Google Scholar] [CrossRef]
  19. Almakhles, D.J. Robust Backstepping Sliding Mode Control for a Quadrotor Trajectory Tracking Application. IEEE Access 2020, 8, 5515–5525. [Google Scholar] [CrossRef]
  20. Razmi, H.; Afshinfar, S. Neural network-based adaptive sliding mode control design for position and attitude control of a quadrotor UAV. Aerosp. Sci. Technol. 2019, 91, 12–27. [Google Scholar] [CrossRef]
  21. Raffo, G.V.; Ortega, M.G.; Rubio, F.R. An integral predictive/nonlinear H∞ control structure for a quadrotor helicopter. Automatica 2010, 46, 29–39. [Google Scholar] [CrossRef]
  22. Zhang, X.; Wang, Y.; Zhu, G.; Chen, X.; Li, Z.; Wang, C.; Su, C.Y. Compound Adaptive Fuzzy Quantized Control for Quadrotor and Its Experimental Verification. IEEE Trans. Cybern. 2021, 51, 1121–1133. [Google Scholar] [CrossRef]
  23. Cohen, M.R.; Abdulrahim, K.; Forbes, J.R. Finite-Horizon LQR Control of Quadrotors on SE2(3). IEEE Robot. Autom. Lett. 2020, 5, 5748–5755. [Google Scholar] [CrossRef]
  24. Chen, H.; Zhou, J.; Zhou, M.; Zhao, B. Nussbaum gain adaptive control scheme for moving mass reentry hypersonic vehicle with actuator saturation. Aerosp. Sci. Technol. 2019, 91, 357–371. [Google Scholar] [CrossRef]
  25. Wen, C.; Zhou, J.; Liu, Z.; Su, H. Robust adaptive control of uncertain nonlinear systems in the presence of input saturation and external disturbance. IEEE Trans. Autom. Control 2011, 56, 1672–1678. [Google Scholar] [CrossRef]
  26. Zhang, G.; Dong, X.; Liu, J.; Zhang, X. Nussbaum-type function based robust neural event-triggered control of unmanned surface vehicle subject to cyber and physical attacks. Ocean Eng. 2023, 270, 113664. [Google Scholar] [CrossRef]
  27. Chen, F.; Jiang, R.; Zhang, K.; Jiang, B.; Tao, G. Robust backstepping sliding-mode control and observer-based fault estimation for a quadrotor UAV. IEEE Trans. Ind. Electron. 2016, 63, 5044–5056. [Google Scholar] [CrossRef]
  28. Kim, J.; Kang, M.S.; Park, S. Accurate modeling and robust hovering control for a quad-rotor VTOL aircraft. In Selected Papers from the 2nd International Symposium on UAVs, Reno, NV, USA, 8–10 June 2009; Springer: Berlin/Heidelberg, Germany, 2010; pp. 9–26. [Google Scholar]
  29. Nussbaum, R.D. Some remarks on a conjecture in parameter adaptive control. Syst. Control Lett. 1983, 3, 243–246. [Google Scholar] [CrossRef]
  30. Khalil, H.; Grizzle, J. Nonlinear Systems, 2nd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 1996. [Google Scholar]
  31. Gao, Z.; Ding, L.; Zheng, X. Attitude control for a quadrotor based on nonlinear disturbance observer. J. Electron. Meas. Instrum. 2019, 33, 427–435. [Google Scholar]
  32. Yang, J.; Li, S.; Yu, X. Sliding-Mode Control for Systems With Mismatched Uncertainties via a Disturbance Observer. IEEE Trans. Ind. Electron. 2013, 60, 160–169. [Google Scholar] [CrossRef]
  33. Yu, Z.; Zhang, Y.; Jiang, B.; Su, C.Y.; Fu, J.; Jin, Y.; Chai, T. Nussbaum-based finite-time fractional-order backstepping fault-tolerant flight control of fixed-wing UAV against input saturation with hardware-in-the-loop validation. Mech. Syst. Signal Process. 2021, 153, 107406. [Google Scholar] [CrossRef]
  34. Zhang, Y.; Xu, N.; Zhu, G.; Sun, L.; Cao, S.; Zhang, X. Adaptive robust dynamic surface integral sliding mode control for quadrotor UAVs under parametric uncertainties and external disturbances. Complexity 2020, 2020, 8879364. [Google Scholar] [CrossRef]
Figure 1. Quadrotor UAV structure diagram.
Figure 1. Quadrotor UAV structure diagram.
Drones 08 00077 g001
Figure 2. Quadrotor UAV control system.
Figure 2. Quadrotor UAV control system.
Drones 08 00077 g002
Figure 3. The block diagram of the quadrotor UAV control scheme.
Figure 3. The block diagram of the quadrotor UAV control scheme.
Drones 08 00077 g003
Figure 4. The diagram of Modeling Tech experimental platform.
Figure 4. The diagram of Modeling Tech experimental platform.
Drones 08 00077 g004
Figure 5. Hardware structure diagram of experiment platform.
Figure 5. Hardware structure diagram of experiment platform.
Drones 08 00077 g005
Figure 6. A 3D trajectory tracking diagram of quadrotor UAVs.
Figure 6. A 3D trajectory tracking diagram of quadrotor UAVs.
Drones 08 00077 g006
Figure 7. Quadrotor UAV input state changes.
Figure 7. Quadrotor UAV input state changes.
Drones 08 00077 g007
Figure 8. Tracking and error in X-direction.
Figure 8. Tracking and error in X-direction.
Drones 08 00077 g008
Figure 9. Tracking and error in Y-direction.
Figure 9. Tracking and error in Y-direction.
Drones 08 00077 g009
Figure 10. Tracking and error in Z-direction.
Figure 10. Tracking and error in Z-direction.
Drones 08 00077 g010
Figure 11. Roll angle tracking and error.
Figure 11. Roll angle tracking and error.
Drones 08 00077 g011
Figure 12. Pitch angle tracking and error.
Figure 12. Pitch angle tracking and error.
Drones 08 00077 g012
Figure 13. Yaw angle tracking and error.
Figure 13. Yaw angle tracking and error.
Drones 08 00077 g013
Figure 14. Disturbance tracking and error in X-direction.
Figure 14. Disturbance tracking and error in X-direction.
Drones 08 00077 g014
Figure 15. Disturbance tracking and error in Y-direction.
Figure 15. Disturbance tracking and error in Y-direction.
Drones 08 00077 g015
Figure 16. Disturbance tracking and error in Z-direction.
Figure 16. Disturbance tracking and error in Z-direction.
Drones 08 00077 g016
Figure 17. Roll angle disturbance tracking and error.
Figure 17. Roll angle disturbance tracking and error.
Drones 08 00077 g017
Figure 18. Pitch angle disturbance tracking and error.
Figure 18. Pitch angle disturbance tracking and error.
Drones 08 00077 g018
Figure 19. Yaw angle disturbance tracking and error.
Figure 19. Yaw angle disturbance tracking and error.
Drones 08 00077 g019
Figure 20. DSC and NGACDOB trajectory tracking.
Figure 20. DSC and NGACDOB trajectory tracking.
Drones 08 00077 g020
Figure 21. Tracking and errors of DSC and NGACDOB in X-direction.
Figure 21. Tracking and errors of DSC and NGACDOB in X-direction.
Drones 08 00077 g021
Figure 22. Tracking and errors of DSC and NGACDOB in Y-direction.
Figure 22. Tracking and errors of DSC and NGACDOB in Y-direction.
Drones 08 00077 g022
Figure 23. Tracking and errors of DSC and NGACDOB in Z-direction.
Figure 23. Tracking and errors of DSC and NGACDOB in Z-direction.
Drones 08 00077 g023
Figure 24. NGAC and NGACDOB trajectory tracking.
Figure 24. NGAC and NGACDOB trajectory tracking.
Drones 08 00077 g024
Figure 25. Tracking and errors of NGAC and NGACDOB in X-direction.
Figure 25. Tracking and errors of NGAC and NGACDOB in X-direction.
Drones 08 00077 g025
Figure 26. Tracking and errors of NGAC and NGACDOB in Y-direction.
Figure 26. Tracking and errors of NGAC and NGACDOB in Y-direction.
Drones 08 00077 g026
Figure 27. Tracking and errors of NGAC and NGACDOB in Z-direction.
Figure 27. Tracking and errors of NGAC and NGACDOB in Z-direction.
Drones 08 00077 g027
Figure 28. Average absolute error.
Figure 28. Average absolute error.
Drones 08 00077 g028
Figure 29. Root mean square error.
Figure 29. Root mean square error.
Drones 08 00077 g029
Table 1. Quadrotor UAV main parameters.
Table 1. Quadrotor UAV main parameters.
SymbolValueUnitsSymbolValueUnits
m1.4kg d x , d y , d z 1 10 2   N · s 2 · rad 1
k2.98 10 6   N · s 2 · ra d 2 d ϕ , d θ , d ψ 0.5 10 2   N · s · rad 1
l0.2m J x , J y 1.25 N · s 2 · ras 1
J r 2.1 10 3   N · s 2 · rad 2 J z 2.5 N · s 2 · rad 1
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

Zhu, G.; Lv, L.; Sun, L.; Zhang, X. Distributed Dynamic Surface Control for a Class of Quadrotor UAVs with Input Saturation and External Disturbance. Drones 2024, 8, 77. https://doi.org/10.3390/drones8030077

AMA Style

Zhu G, Lv L, Sun L, Zhang X. Distributed Dynamic Surface Control for a Class of Quadrotor UAVs with Input Saturation and External Disturbance. Drones. 2024; 8(3):77. https://doi.org/10.3390/drones8030077

Chicago/Turabian Style

Zhu, Guoqiang, Laiping Lv, Lingfang Sun, and Xiuyu Zhang. 2024. "Distributed Dynamic Surface Control for a Class of Quadrotor UAVs with Input Saturation and External Disturbance" Drones 8, no. 3: 77. https://doi.org/10.3390/drones8030077

APA Style

Zhu, G., Lv, L., Sun, L., & Zhang, X. (2024). Distributed Dynamic Surface Control for a Class of Quadrotor UAVs with Input Saturation and External Disturbance. Drones, 8(3), 77. https://doi.org/10.3390/drones8030077

Article Metrics

Back to TopTop