Abstract

Quadrotor UAV has a strong mobility and flexibility in flight and has been widely used in military and civil fields in recent years. An adaptive backstepping sliding mode control (ABSMC) method is proposed to address the trajectory tracking control problem of quadrotor UAV based on actuator fault and external disturbance. In the proposed method, the switching gain of adaptive sliding mode control is constructed in the backstepping design process in order to suppress the chattering effect of sliding mode control effectively by differential iteration. Firstly, the dynamic model of quadrotor UAV with actuator fault and external disturbance is proposed, and then the controllers are designed based on the ABSMC method. Finally, the comparison experiments between sliding mode control (SMC) method and ABSMC method show that the ABSMC method can not only effectively suppress the chattering problem for the SMC method but also perform a perfect control effect.

1. Introduction

In recent years, UAVs have been widely used in military and civilian applications, such as environmental supervision, geological analysis, agricultural operations, search and rescue, and mail delivery [1, 2]. In particular, due to its simple mechanical structure and good maneuverability, the quadrotor UAV can take off vertically, land vertically, hover, or move in a small and disorderly area, which has been developed rapidly [3, 4].

The control problems of a quadrotor UAV are complicated, which contain some parts: its own highly coupled nonlinear problems, unstable and multivariable nature, possibly nonminimum phase, underactuated, existence parameter uncertainties and external disturbances, and the actuator fault [5, 6]. Aiming at the external disturbance encountered during the flight of quadrotor UAV, a double closed-loop active disturbance rejection control scheme was proposed and the extended state observer was used to estimate the external disturbance online and in real time [7]. However, if the observer was used to obtain the external disturbance information in the high-order system, noises can always be introduced. The sliding mode control method [8] was often used to control the nonlinear system with random noise because it was insensitive to noise and did not need to estimate the disturbance online.

And the sliding mode control (SMC) method is widely used in the field of UAV control because it has a strong robustness to disturbance and unmodeled dynamics and good control effect to nonlinear systems [912]; however, the setting of its switching gain often causes severe chattering on the control input signal, which often generates a huge burden on the operation of the actuator [1315]. Usually, setting a small gain can reduce the chattering of the control signal, but it can weaken the robustness of the sliding mode control method under disturbance. Therefore, it is necessary to make the switching gain follow the disturbance or adjust it adaptively according to the corresponding criteria so that it can select the switching gain adaptively under different disturbances. To construct an adaptive switching gain method, the sliding surface was used as a benchmark [16]. The size of the switching gain changes following the change of the sliding surface to ensure that there is an appropriate switching gain corresponding to the tracking error when the tracking error is large or small, which can avoid over adaptation of the gain. In addition, with the help of the neural network model, the switching gain can be considered as a dynamic model approximation value, and the tracking error can be reduced. Neural network was used to estimate unknown dynamics and disturbances [17].

As a kind of controller design method, the backstepping method is widely used because of its brief design process. The designed controller can guarantee the system convergence in finite time, and the convergence time can be proved. Moreover, the combination of the backstepping method and other methods can organically integrate the advantages of the two methods. Accordingly, the backstepping method and sliding mode method were combined to ensure the system convergence [18], where the fuzzy control method combined with the backstepping method was used to control a multi input multi output nonlinear input saturation system [19] so that the controller can make the system converge to the expected value in finite time within a given range. In addition, there are a lot of research studies on controller design [2025].

Considering that the traditional sliding mode control method is insensitive to the nonlinear problems such as disturbance and failure in the flight of the quadrotor UAV system and the setting of its switching gain can cause huge chattering of input, an adaptive backstepping sliding mode control (ABSMC) method is proposed in this paper, which can estimate the upper bound of the sliding mode switching gain in real time and modify the sliding mode controller in combination with the backstepping method to suppress the chattering of the sliding mode control. The switching gain adaptive method proposed in this paper can update the switching gain adaptively when the upper bound of disturbance is unknown so as to ensure the robustness of sliding mode control as well as the control tracking accuracy. Finally, the effectiveness of the proposed method is verified by comparing the control effect of the ABSMC method with the SMC method.

2. Dynamics Model of Quadrotor UAV

The motion of a quadrotor UAV in space has six degrees of freedom, which are roll, pitch, and yaw around its center of mass and its translational motion in three-dimensional space with two horizontal and one vertical direction. The quadrotor UAV can be regarded as an underactuated rigid body with four inputs. Its thrust is generated by four propellers, which can be controlled by command to keep the UAV in a certain attitude and follow the desired trajectory. Figure 1 shows the structural diagram of the quadrotor UAV. According to reference [20, 21], the expression of its dynamic equation is shown in equation (1) based on the actuator fault and external disturbance.in whichwhere are the control input of UAV; denote the unknown actuator fault; are defined as the unknown external interference; , , and present the inertia matrix; and are the drag coefficient and lift coefficient, respectively; is the mass of the quadrotor UAV; is the gravity acceleration; represents the length of the quadrotor UAV from the end of each rotor to the center of gravity; is the moment of inertia of the motor rotor; represent the roll angle, pitch angle, and yaw angle, respectively; are the position coordinates of the center of mass of the quadrotor UAV relative to the fixed coordinate system; and are the rotation speed of four propellers of quadrotor UAV.

3. Adaptive Backstepping Sliding Mode Control for Quadrotor UAV

3.1. Control Strategy

The quadrotor UAV is a nonlinear system with strong coupling and is an underactuated system. As an underactuated system, it has only four control inputs, but it has to control six states. The control strategy adopted in this paper is double loop control, and the outer loop is position control, which is composed of altitude and horizontal position. The difference between the real value and the expected value is calculated, and then the altitude and level control of the ABSMC method are used to design control input terms, the desired attitude angle is obtained by inverse solution, and then the inner loop is used for attitude control, which mainly controls the pitch, yaw, and roll motion of UAV. The specific control flow is shown in Figure 2.

3.2. Controller Design

Firstly, the design process of the controller is given based on the ABSMC method, and then the controllers , , , , and are obtained based on the same design process.

3.2.1. The Design of the Altitude Controller

Firstly, the controller for quadrotor UAVs’ height based on the adaptive backstepping sliding mode method is designed.

In equation (1), the second-order system controlling the height of quadrotor UAV can be equivalent as follows:

In equation (3), z represents the height of quadrotor UAV and . Let and , equation (3) can be rewritten as follows:

Firstly, an integral sliding surface is defined as follows:

In equation (5), is a positive constant and , where is the reference height. The first and second derivatives of equation (5) are defined as follows:

In particular, we use the sliding mode differentiator to obtain the differential value of the state as follows:where and are normal numbers, and the differentiator can ensure that converges to in finite time. In the following controller design process, is used instead of to construct the sliding surface and related error terms.

It can be obtained by combining equations (3), (6), and (7):

Then, according to the backstepping method, combine equations (5)–(7), with following transformation:where and are the virtual controllers to be designed.

Combining equation (11) and deriving equation (10), we can get

A Lyapunov function is defined as Let the virtual controller , and we can get the derivative of as follows:

In equation (14), is a positive constant. When and , can be asymptotically stable.

Similar to equation (13), by combining equations (11) and (12) with derivation, we can get the following equation:

A Lyapunov function is defined as follows:

According to equation (15), the virtual controller can be defined as the following equation:

In equation (17), is a positive constant. Combined with equation (17), we can get equation (18) through the differential of equation (16), which is the Lyapunov function as follows:

Similar to equation (14), when and , and can be asymptotically stable.

According to the above derivation, we define a Lyapunov function with the following equation:

Then, combining equations (9) and (19), we obtain the following equation by deriving equation (19):

Thus, the controller can be designed as follows:

In equation (21), and can be given as equations (22) and (23), respectively.

In equations (22) and (23), and are positive constant and is the gain of sliding mode switching. Substituting equation (21) into equation (20) yields the following:

In particular, it can be seen from equation (24) that if no switching gain is set to counteract the influence of interference, equation (24) needs to be rewritten as follows:

In the above equation, ; under the influence of interference term , cannot converge to zero but can only converge to the neighbourhood . Therefore, by setting the switching gain, i.e., introducing formula (23), the tracking error can be guaranteed to converge to zero.

In equation (24), ; when , is strictly negative, in which . As a result, the proposed control method can ensure that the tracking error converges to zero.

However, uncertain fault or external disturbance is usually time-varying in the actual control system, and the upper bound of function cannot be obtained accurately. If the value of switching gain is too large, it can counteract the influence of interference and ensure the robustness of the control method, but it will cause chattering to the control input because of the too large switching gain.

If in equation (23) is a tiny fixed constant, it cannot well counteract the effect of . Thus, we construct an adaptive switching gain function, and then equation (23) can be updated as follows:where is the adaptive switching gain, and the adaptive law is shown in following equation:

In equation (27), is a positive constant. Let , where is the optimal switching gain, and ; then, combined with equation (19), we define a Lyapunov function as follows:

Then, we can obtain the following equation through deriving equation (28):

Substituting equations (20) and (21) and equation (26) into equation (29), then equation (29) can be updated as follows:in which , so we have . It can be concluded that is strictly negative. Therefore, , , and can converge to zero in limited time eventually, and the system can be asymptotically stable; finally, the UAV can track the expected position accurately.

3.2.2. The Design of Horizontal Plane Motion Controller

The horizontal motion control includes two parts: -axis and -axis. The derivation process of horizontal plane motion controller is the same as that of altitude controller; therefore, only the derivation of the and direction controller is given here.

The controller in the direction can be expressed as follows:

The controller in the direction can be expressed as follows:where in equations (31) and (32),where and are the reference values in direction and direction, respectively.

3.2.3. The Design of Attitude Controller

Likewise, the design process of attitude controller is the same as that of altitude controller. Therefore, only the derivation of the controllers of attitude , , and is given here.

According to equation (2) and combined with equations (31) and (32), the expected values of pitch angle and roll angle can be obtained as follows:

The controller of attitude is as follows:

The controller of attitude is as follows:

The controller of attitude is as follows:where in equations (33) to (35),

4. Simulation Results

To verify the effectiveness of the proposed ABSMC method, the SMC method and ABSMC method are used to perform trajectory tracking control of quadrotor UAV based on MATLAB 2019b. The expected trajectory of the UAV is set as shown in equation (39). Actuator fault and external disturbance of the aircraft are set as shown in equation (40). The relevant physical parameters of quadrotor UAV are shown in Table 1, and the control parameters are shown in Table 2.

It can be seen that the sliding mode control method has a good control effect in the case of actuator failure and external interference, as shown in Figures 36; however, since its switching gain is fixed, it still has disadvantages in the face of interference beyond the upper bound of its gain. At this time, the adaptive backstepping sliding mode control method with adaptive switching gain can adaptively adjust its switching. Compared with the SMC method, it is clear that the ABSMC method significantly suppresses the chattering phenomenon of sliding mode control input after the adaptive switching gain being introduced and the backstepping method being used for correction, as shown in Figures 7 and 8. And the chattering caused by the SMC method is limited in a small range. Therefore, the adaptive backstepping sliding mode control method shows better control performance from the pose tracking effect in Figures 3 to 6.

5. Conclusion

Aiming at the trajectory tracking control problem of quadrotor UAV based on actuator fault and external disturbance, the ABSMC method is proposed in this paper by constructing the switching gain of adaptive sliding mode control in the backstepping design process and using differential iteration scheme to suppress the chattering effect of sliding mode control, then the dynamic model of quadrotor UAV is setup, and the control strategy and controllers are designed based on the proposed method. In order to verify the effectiveness of the proposed method, the sliding mode control method and the adaptive stepping sliding mode control method proposed in this paper are used to simulate the actuator fault and external disturbance during the flight of the quadrotor UAV, and the control effect of the two methods is compared. According to the simulation results, it is found that the adaptive backstepping sliding mode control method proposed in this paper not only guarantees the convergence performance of the sliding mode control method but also effectively suppresses the chattering problem caused by the gain of the switching reaching rate. Therefore, the accuracy of trajectory tracking control for quadrotor UAV during external flight disturbances and uncertainties can be improved by the proposed method.

Data Availability

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors acknowledge the National Natural Science Foundation of China (Grant 61772225), the Major Projects of Guangdong Education Department for Foundation Research and Applied Research (Grants 2017KZDXM081 and 2018KZDXM066), the Featured Innovative Projects of Department of Education of Guangdong Province (Grant 2019KTSCX175), the Key-Area Research and Development Program of Guangdong Province (Grant 2019B010137002), the Guangdong Higher Education Teaching Reform Project (Grant: 2019566) and the Teaching Reform Project of Huizhou University (Grant YYXKC2019003).