Abstract

In this article, a singularity-free terminal sliding mode (SFTSM) control scheme based on the radial basis function neural network (RBFNN) is proposed for the quadrotor unmanned aerial vehicles (QUAVs) under the presence of inertia uncertainties and external disturbances. Firstly, a singularity-free terminal sliding mode surface (SFTSMS) is constructed to achieve the finite-time convergence without any piecewise continuous function. Then, the adaptive finite-time control is designed with an auxiliary function to avoid the singularity in the error-related inverse matrix. Moreover, the RBFNN and extended state observer (ESO) are introduced to estimate the unknown disturbances, respectively, such that prior knowledge on system model uncertainties is not required for designing attitude controllers. Finally, the attitude and angular velocity errors are finite-time uniformly ultimately bounded (FTUUB), and numerical simulations illustrated the satisfactory performance of the designed control scheme.

1. Introduction

Due to the advantages of a large range of applications of QUAVs, the attitude control of QUAVs has received extensive attention in many fields. Designing a suitable control law according to the type of flight mission is important for the study of QUAVs attitude control [1]. However, the control scheme proposed in [1] only achieves the asymptotic convergence of the attitude or tracking error, which means that the system states converge to zero within an infinite time. In practical applications, the controller design needs specific requirements for convergence speed and control accuracy. Thus, finite-time control (FTC) methods have been proposed to deal with the control problems of different nonlinear systems [24]. In [2], a parameter update law was constructed to compensate for parameter uncertainty, and an adaptive sliding mode control (SMC) scheme was constructed to ensure the finite-time convergence of the tracking error of QUAV. In [3], combining integral backstepping technology and terminal SMC, a FTC method was designed to guarantee the position and attitude tracking stability of QUAVs, such that the system states are semiglobal practical FTUUB. In [4], a FTC scheme was proposed to guarantee the finite-time convergence of position and attitude states in the QUAV tracking error system.

To solve the dependence of the FTC on a nonlinear system model, multiple control methods have the capability to approximate nonlinear functions, which is used to implement the estimation task of the nonlinear system, i.e., adaptive control [5] and optimal control [6]. In the past years, a method called RBFNN has been widely introduced to approximate the dynamic parameters of nonlinear systems, such that no prior knowledge of model information is required in [7, 8]. In [7], a RBFNN method was devolved to estimate the unknown model uncertainties of robot manipulators. In [8], a RBFNN-based SMC scheme was presented to guarantee the asymptotic convergence of the system states under the model uncertainties. Compared with other estimation methods [5, 6], RBFNN has faster convergence speed and local approximation capability to avoid local minima problems. Thus, RBFNN is more suitable for real-time control, such as QUAV attitude control.

Moreover, for complex coupled systems, extended state observer (ESO) as an alternative approach to solve the bounded disturbances is used to decouple the system by treating the coupling terms as a part of the lumped uncertainties. Due to its satisfactory disturbance estimation, ESO-based controllers are widely applied in different practical nonlinear systems, such as rigid spacecrafts [9] and robot manipulators [10]. In [9], a SMC based on backstepping and ESO methods was used to achieve a faster convergence in the rigid spacecraft attitude control system. In [10], an FTC with the model-assisted ESO was used to compensate the bounded uncertainties and guarantee the finite-time convergence of the system states. Although RBFNN and ESO have been successfully applied to a variety of uncertain nonlinear systems [710], it is less used in QUAVs.

Inspired by the above discussions, an RBFNN-based finite-time adaptive attitude tracking controller is designed for the attitude tracking problem of QUAVs with inertial uncertainty and unknown external disturbances, and the main contributions are summarized in the following:(i)Instead of employing any piecewise continuous functions, a SFTSMS is proposed to avoid the singularity directly in the differential of the sliding variable(ii)An auxiliary function is designed to handle a potential singularity resulted from the use of the error-related inverse matrix in the attitude controller design(iii)By employing RBFNN and ESO to estimate the unknown dynamics, prior knowledge on system model uncertainties is not required in the controller design, and the tracking errors are FTUUB by the proposed control law

The structure of this article is given as follows. The attitude model and necessary preliminaries are given in Section 2. Section 3 shows the detailed design process of SFTSMS. Controller design and rigorous theoretical proofs are depicted in Sections 4 and 5, respectively. Section 6 shows the effective simulations, and the conclusion is given in Section 7.

2. Model Description and Preliminaries

2.1. Quadrotor Attitude Dynamics

As depicted in Figure 1, the dynamics of the QUAV is represented as follows [11]:where and denote the scalar and vector elements of the unit quaternion , respectively, and is the identity matrix, and the skew-symmetric matrix is given by

The reference attitude vector is defined as , and and are bounded. The attitude tracking error isand the dynamics model is expressed aswhere denotes the angular velocity, is a positive definite inertia matrix, represents the generalized control torque produced by rotating propellers, and denotes the unknown but bounded continuous external disturbances.

Defining , (4) is expressed aswhere and are denoted as the nominal and the unknown inertia matrix, respectively.

The angular velocity tracking error iswhere is given by

From (5)–(7), the tracking error model is expressed as

Remark 1. Unit quaternion is able to represent the attitude uniquely because the equilibrium states correspond to a unique physical equilibrium orientation [12] in the QUAV.

2.2. RBFNN

In practical systems, neural networks (NNs) are online estimation techniques for unknown nonlinear uncertainties. Due to the approximation characteristics and faster learning convergence, RBFNN is widely used in the estimation of nonlinear functions in the field of control. This section will introduce the structure of RBFNN.

RBFNN consists of three parts: input layer, output layer, and hidden layer. As shown in Figure 2, is the neural network input vector, is the weight of the th network node, represents the output vector, and is the basis function, which can approximate nonlinear uncertainties with high precision through the linear combination of Gaussian functions, which is given by the following [7]:where is the center of the RBF and means the scaling parameter of the network node .

Thus, the output vector is expressed as

Considering that RBFNN has good nonlinear approximation ability [13], the approximate system model of the nonlinear function iswhere represents the estimation error.

2.3. Useful Lemmas

Lemma 1 (see [14]). For , , and , a Lyapunov condition of finite-time stability is expressed as , where the settling time satisfies , where represents the initial state of .

Lemma 2 (see [15]). Given and , the following relationships hold:

Lemma 3 (see [16]). Given a continuous function with , for any , there exists the following inequality:

3. SFTSMS and Auxiliary Function Design

3.1. SFTSMS

A SFTSMS is constructed aswhere , , , and , and are positive odd integers, and the term is given bywhere and .

The time derivative of (14) is expressed as

Due to the facts that , the singularity will not occur in (16).

When , (14) is rewritten as

According to , the following equation is obtained as

From (18), the equivalent equation of (14) is obtained as follows [12]:

From (8) and (19), one has

To illustrate is finite-time convergent, a Lyapunov function is chosen as

From (20), the time derivative of iswhere , , and .

According to Lemma 1 and (8), and converge to the equilibrium within a finite-time satisfyingwhere represents the initial states of .

This completes the proof.

3.2. Auxiliary Function Design

Substituting (8) into (16) yieldswhere , with , , , and .

Due to the existence of the term of in the expression of , it may cause the potential singularity issue when . Consequently, an auxiliary function is constructed to solve the singularity caused by in the controller design.

Thus, (24) is expressed as

From the definition of and , it has

From (26), the auxiliary function is defined asand (25) can be rewritten aswhere denotes the lumped uncertainties presented by

4. Controller Design

4.1. ESO

The bounded external disturbances in (28) are estimated by the ESO. Considering the disturbances as an extended state, system (28) is rewritten aswhere represents the derivative of .

Then, the second-order ESO for (30) is constructed aswhere means the ESO’s estimation error, denote the observer outputs, and and represent the observer gains. The function is given by the following [17]:where , , and .

Define the observer error

According to the analysis in [18], the observer error satisfies , where .

4.2. Finite-Time Controller Design

Use (11) to approximate the nonlinear uncertainties (29).where is the NN input vector, represents the ideal weight vector, is the approximation error satisfying , , and denotes the Gaussian function (9).

An exponential reaching law is given by the following [19]:where , , and .

With the unknown nonlinear uncertainties and the disturbances estimated by the RBFNN and ESO, respectively, the finite-time control law is given bywhere , , and is used to estimate with .

The update law of is given bywhere and with .

5. Stability Analysis

Theorem 1. Considering the tracking error system (8) and the control schemes (36) and (37), all the signals of the closed-loop system are UUB, and the sliding variable and the tracking errors and are FTUUB, respectively.

Proof. Design a Lyapunov function where .
From (28), differentiating (38) leads toSubstituting (34) and (36) into (39), one haswhere .
From (33), (40) is modified asSubstituting (37) into (40) yieldswhere .
From Young’s inequality, the following relationships hold:Substituting (43) into (42) yieldswhere and .
According to (38)–(44), one can conclude that , , , and are UUB. From (20) and the bounded values , , and , the uniform ultimate boundedness of , , , , and is guaranteed, and thus is also UUB. Due to (8) and (36), and both are UUB. Since is bounded in (9), one can conclude , , and , where , , and are positive constants.
Then, design a Lyapunov functionand from (28), isSubstituting (36) into (46) yieldswhere , , and .
Thus, (47) can be transformed into the following form:Due to Lemma 2 and (48), can converge into satisfyingwithin a finite-time bounded bywhere is the initial value of .
From (14), one haswhere .
The terms and are both positive or negative. Considering only positive case and Lemma 3, the following relationship exists without loss of generality:Multiplying and adding on both sides of (52), it hasSubstituting (53) into (51) yieldswhere .
From (54), the attitude tracking errors and angular velocity are finite-time stable. Thus, and converge into small regions:within a finite-time, respectively.
From the above discussion, the convergence time of closed-loop system states in (8) is bounded, which satisfiesConsequently, the sliding variable and the tracking errors and are FTUUB.
This completes the proof.

Remark 2. The convergence time is determined by the parameters , , , , and . From (56), we can find that when the parameters , , , and are selected to be larger, the convergence speed will become faster while it will cause some chattering issues. Thus, the choice of , , , and should be set appropriately to keep a balance between convergence speed and chattering.

6. Simulations Results

In this section, numerical simulations are displayed to show the attitude tracking performance. To indicate the superiority of the designed control scheme, two different control schemes are given for comparison, i.e., SFTSM controller [20] and adaptive linear sliding mode (ALSM) controller [21].

To intuitively display the physical meaning of the reference attitude trajectories, the reference attitude quaternion is expressed aswhere are the desired Euler angles.

The parameters in (8) are , , and , and the external disturbances are set as , and .

In SFTSM, the parameters in (14) are set as , , and . The parameters in (36) are chosen as , , , and . The number of RBFNN nodes is 10. The corresponding parameters in (9) and adaptive update law (37) are chosen as , , , , and .

In ALSM, the linear sliding variable is given bywhere , and the controller isin which the updating law of is given bywhere , and the other parameters in the ALSM are set the same as those of SFTSM.

To illustrate the better tracking performance and transient convergence performance in SFTSM, the fixed initial Euler angles are selected with as the reference trajectories. Figures 3 and 4 show the time response of control inputs in SFTSM and ALSM, respectively. It is concluded that the maximum amplitude of the control input is . The comparative results of the Euler angle tracking performance are shown in Figures 57. From Figure 5, the convergence time of in SFTSM is 0.5 s, and the convergence time of in ALSM is 1.5 s. Due to the same analysis in Figures 6 and 7, SFTSM can achieve faster convergence rate and better transient performance of Euler angles than ALSM.

For the purpose of showing the superiority of SFTSM, the corresponding attitude quaternion tracking performance in ALSM is presented in Figures 811. The convergence time of SFTSM is faster almost 1 s than ALSM, which means SFTSM can realize the better transient performance than ALSM. Based on the mentioned analysis, quaternion-based tracking performance in SFTSM is still outperformed than ALSM. According to Figures 311, it is illustrated that SFTSM can guarantee faster convergence speed and better tracking performance in the QUAV’s attitude tracking control.

7. Conclusion

In this study, a finite-time convergent RBFNN-based adaptive controller has been constructed to resolve a tracking problem of quadrotor UAVs. Firstly, a SFTSMS is proposed to realize the finite-time convergence of the tracking errors, which can directly avoid the potential singularity problem without requiring any piecewise continuous functions. Besides, an auxiliary function is proposed to purposely prevent the hidden singularity issue caused by the error-related matrix in the controller design. Then, a finite-time attitude controller is designed to guarantee that the system states were FTUUB. With the presented control scheme by RBFNN and ESO, prior knowledge about the unknown nonlinear uncertainties and external disturbances is not required. Finally, comparative simulations have shown the effectiveness of the designed control scheme.

Data Availability

The data used to support the findings of the study are available from the corresponding author upon request.

Disclosure

Preprint is submitted to Computational Intelligence and Neuroscience.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China under Grant Nos. 61973274 and 61803216 and the Ministry of Education Key Laboratory Open Project Fund under Grant No. GDSC202010.