Abstract

A robust flight controller based on linear active disturbance rejection control (LADRC) is proposed for stability control of an aerial robot quadrotor under wind gusts. The nonlinear dynamical model of the quadrotor, considering the wind disturbance, is firstly established through Newton-Euler method. Subsequently, a robust LADRC technique is proposed to design the controllers for the inner loop and outer loop of the aircraft. In this control scheme, the linear extended state observer (LESO) serves as a compensator which can effectively reject the wind gusts. Then, a method of parameter tuning is introduced to obtain the optimized control performance. Finally, the effectiveness and advantages of the proposed controller are demonstrated through series of simulation case.

1. Introduction

Quadrotor is the most popular configuration of multirotor unmanned aerial robot, extensively for civilian applications [1, 2]. In recent years, significant growth of interest is witnessed towards the academic research of the quadrotor. This is possibly attributed to their certain features, such as simple mechanical structure, hovering, and agile maneuverability. With the increasing requirement of autonomous flight under different conditions, control of the quadrotor is an important challenge. Complex rotation and translation operations are also commonly encountered in the mathematical model, resulting in complex equations that have to be taken into account when designing control laws. On the other hand, the position control and attitude control of the quadrotor are extremely sensitive to external disturbance, such as wind gusts. Particularly, robustness issues may be critical for the control of quadrotor since they are subjected to the complicated dynamics and external disturbances. Several proper control methodologies for the quadrotor have been reported in the literatures, such as proportion integration differentiation (PID) control [3], backstepping control [4], sliding mode control [5], and model predictive control [6]. Nevertheless, there are a few researches about the robust control of the quadrotor, especially under the wind gusts.

In order to weaken the effect of wind gusts, some authors have proposed complicated control techniques to achieve stability. In the literatures [7, 8], adaptive controllers of different structures were verified by simulations and experiments on test bench. For control of a multirotor aircraft, Salazar et al. [9] proposed a novel mathematical model of the wind gusts and designed a simple nonlinear control law to resist the wind disturbance. The effect of wind disturbance was discussed towards the issue of (unmanned air vehicle) UAV path planning in the literatures [10, 11]. From the analysis, compensation control for the aircraft may be an effective method. Dong et al. [12] designed a flight controller with disturbance observer (DOB) to guarantee the high-performance trajectory tracking of a quadrotor. The DOB-based controller is robust to wind gusts without the use of high control gain or extensive computational power.

Our team has proposed in previous articles, like [13], the use of LADRC to control a small-scale unmanned helicopter. This control strategy is rooted in active disturbance rejection control (ADRC) which was firstly proposed by Han [14]. LADRC is a simplified implementation of the ADRC, in which bandwidth is the only adjustable parameter of the control performance. A previous contribution from our team presented the parameter tuning towards the LADRC based on the artificial bee colony algorithm [15]. Detailed background and principles on the ABC can be found in the literatures [16, 17], and the authors analyzed the performance of the ABC on optimization problem.

The content is organized in the following manner: Section 2 presents the mathematical model of the quadrotor under the wind gusts. In Section 3, the robust controller is described using the LADRC strategy. And the proof of the stability analysis for the proposed controller is given in Section 4. A method of parameter tuning is applied in Section 5, to optimize the performance of our proposed controller. The control law with wind gusts is simulated and illustrated in Section 6. Finally, our conclusions and contributions are discussed in Section 7.

2. Mathematical Model

The free body diagram and coordinate systems for the quadrotor are given in Figure 1. It is controlled by the angular speeds of four electric motors. Each motor produces a thrust and a torque   (), whose combination generates the main thrust input , pitch input , roll input , and yaw input . Two reference frames are subjected to the quadrotor, namely, the earth-fixed frame and the body-fixed frame . The position (), attitude (pitch , roll and yaw ), and motion can be achieved through the two frames. According to Newton-Euler method. The six-degrees-of-freedom dynamics of the quadrotor are modeled as [18]where , , and are the moment of inertia, is the mass, and is the gravitational acceleration. And and are the abbreviations for and .

The thrust of each propeller is calculated by   () with being the thrust coefficient and being the angular speeds. The relationship between the four inputs and angular speed is expressed bywhere denotes the distance from the center of mass to the center of the propeller and is termed as antitorque coefficient.

In the outdoor flight, the quadrotor is generally exposed to lateral wind gusts. The aircraft will be yawed or overturned if it is subjected to the lateral wind gusts. Stating precisely, this leads to additional lateral air flow acting on the propeller, as shown in Figure 2. Hence, the total thrust   () could be described as [19]where is the air density and is the propeller area. is the induced wind speed of the propeller and is the total wind induced speed of the rotor. The relationship between them is given bywhere represents the angle between the propeller axis and the lateral wind gusts. Since the latter is perpendicular to the former, = 90°. At this moment, the additional lateral forces are expressed by

Moreover, the aerodynamics drag is defined as , where is a constant depending on the parameter , shape of the blade, and other factors. When the aircraft is disturbed by the lateral wind gusts, the additional torques acting on the propellers are represented by

Using (1), (5), and (6), the integrated quadrotor dynamical model can be rewritten as

3. Robust Controller Design

According to (7), the input and output of each control channel present second-order derivative relation. Thus, we use the second-order system in the following form for describing the LADRC:where and denote input and output, respectively. is the external disturbance. is state variables and is the control function.

Suppose is the approximate value of , and (8) is written equivalently as

By rewriting the above equation in the form of differential equation, one haswith added as an augmented state and as unknown disturbance. Now can be estimated through a state observer based on a state space model:where

The LESO of (11) can be constructed aswhere is the observer gain. It is calculated as [17]where is the observer bandwidth. It results in the characteristic polynomial of (13) being

From the polynomial, one obtains

The observer can track the state variables with well-tuned observer bandwidth and yield ,  , and  .

With the estimate of , the LADRC can actively compensate for effect of the external disturbance in real time as

The closed-loop control system is converted into a unit double integral plant. And the control law is [20, 21]where is the reference signal.

The transfer function of the second-order plant is given as

Here, the gains can be calculated as [17]

4. Stability Analysis

Define the error as

Subtracting (13) from (11), the error equation is obtained aswhereObviously, the LESO is bounded-input bounded-output (BIBO) stable if the roots of the characteristic polynomial, namely (15), are all in the left half plane and is bounded.

Theorem 1. The design of LADRC from (13) to (18) yields a BIBO stable closed-loop system if the LESO and the control law for the unit double integral plant are stable.

Proof. According to (17) and (18), one haswhereThe closed-loop control system is rewritten asUsing the state space equation to represent the closed-loop control system, one getsSimilarly, the control system is BIBO stable if the eigenvalues of (28) are in the left half plane. Since the reference signal is always bounded, with the condition that the disturbance satisfies differentiable, is bounded.

5. Parameter Tuning

According to the previous analysis, the control structure of the quadrotor is divided into two loops, i.e., inner loop and outer loop. The block diagram of such a structure is schematically shown in Figure 3. In the outer loop, the position vector and yaw angle are chosen as the reference signals. In the inner loop, the reference signal () comes from the outer loop. Moreover, the four inputs generated by the two loops are converted into the angular speeds of motors.

The evaluation function is crucial for the parameter tuning. Consequently, an improved integral of time multiplied by absolute error (IITAE) is employed as performance index. The evaluation function of the performance index is defined aswhere is the error signal in the time domain, is the settling time, is the overshoot, and , , , and are the weight coefficients. Note that the parameter tuning of the LADRC is conducted by the ABC algorithm, and the exhaustive process is reported in the literature [13], and here repeating is unnecessary.

As taking the inner loop as an instance, the reference signal is set to 1 rad, 1 rad, 1 rad. There are three second-order LADRC in the inner loop, i.e., -, -, and -. The physical parameters of the quadrotor are listed in Table 1. We use the ABC algorithm to tune the unknown control parameters under a unit step response case. The number of the iterations is 100. In addition, the simulation parameters of the wind gusts are given as g/L, m2, m/s, and m/s. And a white noise with the amplitude of 0.2 rad is added to the measured ports. The simulation time lasts for 6s. Figure 4 displays the evolving curves of the control parameters, which indicates the process of the parameter tuning by ABC. The attitude response is shown in Figure 5. It is obvious that the LADRC has a satisfactory performance of wind resistance, and the steady state error is less than 2%. Furthermore, the responses of the three attitude channels are fast and accurate.

6. Simulation Results

In order to validate the robustness and wind resistance of the proposed control scheme for stabilizing the quadrotor at trajectory tracking, the simulation is conducted in MATLAB 2017a programming environment on an Intel Core i7-4720 PC running Windows 10. Similarly, random wind gusts are added to the input of the outer loop.

As pointed out in Section 5, the control parameters of the outer loop controller are also tuned by the ABC algorithm. The tuned parameters are shown in Figure 6 using a unit step response case.

Moreover, we introduce a PID controller from the literature [22] as a comparison to test the robustness of our proposed controller. In the comparative simulation, the quadrotor follows a referenced trajectory of z direction as shown in Figure 7. Meanwhile, lateral wind gusts are applied with different wind speeds at a specific time period 8 s-12 s. The PID and LADRC are applied to stabilize the position of the aircraft, respectively. From the result, the response of LADRC is slightly faster than that of PID. As the wind speed increases, the tracking error becomes bigger. Nevertheless, it is obvious that the steady state error of LADRC is smaller than that of PID due to the LESO. In conclusion, the LADRC has a strong ability of wind disturbance compensation.

Lastly, a visual simulation is run in the MATALB/Simscape environment to display the trajectory tracking of the quadrotor. Note that the Simscape link utility creates a physical modeling XML file that represents the quadrotor’s parts as bodies and maps the constraints between the parts into joints [23]. In this case, the task requires that the quadrotor takes off from the ground and flies in hover. The simulation time lasts for 8s. From the result in Figure 8, the quadrotor has a stable flight performance based on the proposed controller.

7. Conclusion

A new LADRC control scheme is given for the stability control of an aerial robot quadrotor under wind gusts in this article. The proposed controller roughly has two parts: the LESO part applied to properly estimate and compensate the wind disturbance leading to an attractive model-free feature and a PD part applied to ensure satisfactory control performance. Moreover, corresponding stability of the closed-loop control plant is analyzed and an ABC algorithm is applied for parameter tuning of the LADRC. Finally, all the simulation results show the proposed controller has a better ability of resisting wind gusts comparing to the traditional PID.

In the future, more advanced control strategies such as that reported in the literature [24] will be studied to control the movement of the quadrotor under wind gusts.

Data Availability

Figure 4 displays the variation of the tuning parameters. There is no need to give the detailed parameters searched by ABC. In addition, the data of quadrotor is listed in Table 1.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

Helpful discussions with Professor Wu Hongtao from Nanjing University of Aeronautics and Astronautics on his guidance in dynamical modeling of aerial robots are gratefully acknowledged. This work was partially supported by the Foundation Research Project of Jiangsu Province (The Natural Science Fund no. BK20170315) and Changzhou Sci&Tech Program of China (Grant no. CJ20179017).