Abstract

The purpose of this article is to explore a dual-loop problem regarding the trajectory tracking control of a quadrotor unmanned aerial vehicle, applying a linear active disturbance rejection and conditional integrator sliding mode controller, namely, LARC-CISMC. The quadrotor system model is derived through Newton–Euler method and consists of two subsystems. The hybrid controller for position and attitude loops is constructed. An evaluation of the proposed controller is presented in comparison with the linear active disturbance rejection controller. Simulation comparisons and experimental tests illustrate that the proposed controller has a satisfied robustness and accuracy under lumped disturbances.

1. Introduction

Recently, with the development of automation and unmanned aerial vehicle, the researchers have focused on flight controller design to enhance the performance of the aircraft in operating autonomous flight missions. They have been applied in both civilian and military applications such as aerial photography, target location, disaster management, and agricultural care [13]. Quadrotors are special kinds of UAVs that are capable of vertical take-offs and landings, hovering at a low altitude, and flying in all directions. In particular, the high levels of automation, flexibility, and complexity of intelligent aerial equipment present new challenges to controller design. Significantly, the control, operation, and interaction of the quadrotors are quite challenging due to their inherently unstable, highly nonlinear, and underactuated dynamics [4]. The external disturbances in the harsh environment are inevitable to impact the stability of the quadrotors, which leads to the difficult controller design. Meanwhile, the controller is sensitive to the coupled dynamics of the quadrotors. Besides the modelled characteristics, unmodeled characteristics are another important consideration in controller design. Moreover, the existing uncertain conditions (external disturbances such as wind gusts), modelling errors (internal uncertainty), and structural parameter variation make the design of the flight control architecture particularly challenging. Consequently, it is imperative to develop robust, efficient, and high-performance control approaches capable of addressing all of the issues above and improving control performance and stability.

Recently, numerous achievements have been reported about the control methods for the quadrotors. In the closed-loop control system of a microquadrotor, a linear quadratic controller is used to realize the goal of trajectory tracking control [5]. Ma et al. proposed a model predictive control method to solve the trajectory tracking problem under external disturbances [6]. A linear quadratic Gaussian with integral action is applied to stabilize a quadrotor’s attitude with good results in the hover phase [7]. Ansari and Bajodah proposed a two-loop robust generalized dynamical inversion controller for quadrotor attitude and position control, which provides a robust trajectory tracking strategy subjected to model uncertainties and parametric variations [8]. Despite the fact that the aforementioned control strategies offer a good balance among control performance, operational costs, and computational complexity, they tend to be restricted by the predictive mathematical models’ accuracy. Furthermore, the controllers are also vulnerable to lumped disturbances, where the performance of these strategies will be significantly reduced under the uncertain conditions.

Researchers have also focused attention on model-free control strategies that need no information of the model. For example, Tian et al. [9] proposed a multivariable supertwisting sliding mode control (SMC) method for finite-time attitude control of a quadrotor, and numerical simulation and experimental verification illustrate the efficiency of the proposed controller. A high-performance trajectory tracking controller using the backstepping technique is developed for the quadrotor using a disturbance observer [10]. While relying only on a nominal model and its limits, the disturbance observer can estimate disturbances. Najm and Ibraheem [11] used linear active disturbance rejection control (LADRC) method to stabilize the altitude and attitude of a quadrotor. LADRC has a linear extended disturbance observer which can reject the lumped disturbances. However, there are two control loops (attitude loop and position loop) in the quadrotor system. A single controller may not be suitable for the cascade structure. Sometimes, the outputs produced from the position loop may cause undesirable transients, bringing unexpected damage to the system’s components. Therefore, approaches that consider a combination of multiple control strategies are favoured by scholars.

Ding et al. [12] combined LADRC and integral backstepping control to realize trajectory tracking of a multicopter. In the above control system, the LADRC has more advantages in rejecting the inner-loop disturbances, and the integral backstepping control can eliminate the static errors in the position loop well. Similarly, Mohd Basri et al. [13] proposed a hybrid controller combining the backstepping technique and adaptive fuzzy method to realize the complex trajectory tracking of a quadrotor, which effectively suppresses the time-varying perturbations. To stabilize the dual-loop state variables of a quadrotor, a novel controller combining robust generalized dynamic inversion and adaptive nonsingular terminal sliding mode is proposed [14]. Motivated by the above controllers, we will develop a hybrid dual-loop controller for a quadrotor. The main goal in this article is to demonstrate and show an improvement in the tracking performance of a quadrotor control by a hybrid approach. The main contributions of this article are listed as follows:(i)The principle and composition of the hybrid controller are studied. More specially, a LADRC is introduced to stabilize the position loop, and a CISMC is used to stabilize the attitude loop.(ii)The proposed controller is investigated in terms of simulation and real-world application in the context of quadrotor trajectory tracking. To the best of the authors’ knowledge, no reports on the LADRC-CISMC trajectory tracking control technique for quadrotors are available until now.(iii)Good robustness is provided against various lumped disturbances, including modelling errors, external disturbances, and noise measurements.

An overview of this article can be found as follows. The quadrotor system model is presented in Section 2. In Sections 3 and 4, a hybrid controller is developed, as well as stability analysis. In Section 5, the results of simulations and experiments are presented. The main conclusions are presented in Section 6.

2. System Description

A quadrotor aircraft is driven by the propellers mounted at the ends of an X-shaped frame as shown in Figure 1. Each propeller offers thrust and moment . The motion of the aircraft is described with two coordinate frames, i.e., the earth-fixed coordinate frame () and body-fixed coordinate frame (). The symbols , , and indicate the Euler angles (roll, pitch, and yaw), respectively. denotes the propeller speed.

Based on the mechanical structure and driven mechanism, the control signals of the quadrotor are calculated as follows:where is the distance between a propeller and the mass of the aircraft and is the control signal.

The rigid body dynamical model of the quadrotor is derived by applying Newton–Euler’s equations [15]:where is the mass of the aircraft, is the gravitational acceleration, is the Euler angle vector, is the position vector, is the rotational inertia, and and are the unit vector in the body-fixed coordinate frame and earth-fixed coordinate frame, respectively. The matrix maps from earth-fixed coordinates to body-fixed coordinates, which is governed by yaw-pitch-yaw Euler angles:where and are the simplified forms of and .

Furthermore, model (2) can be described into translational and rotational submodels that denote its linear and angular positions, respectively:where , , and are the air drag coefficient. The mathematical relation between the control inputs and angular velocities is given bywhere and are termed as thrust coefficient and moment coefficient, respectively, and is the distance between the center of the propeller hub and the quadrotor mass counter.

The thrusts and moments applied to the quadrotor can be calculated by the propeller speed as follows:where denotes the density of air, represents the disk area of the propeller, and is the radius of the propeller.

The dynamic model (4) can be simplified when the quadrotor flies in hover or in low-speed cruise [15]. At this case, , , , and . Meanwhile, due to the fact that the small rotary inertia and symmetrical structure of the quadrotor result in a small and insignificant term [16], hence, model (4) can be reduced into

The control structure of the quadrotor is illustrated in Figure 2. The system is composed of two loops, a position loop and an attitude loop. Furthermore, the closed-loop system has four channels: altitude channel, position channel, attitude channel, and yaw channel. It is evident that the position channel and the attitude channel are interdependent; namely, the outputs of the position channel are the reference of the attitude channel. The controller design in our work requires no information of the dynamical model and relies only on input and output data. Besides, each state variable in (7) is related to the control input as a second-order derivative.

3. Position Loop Control Strategy

The purpose of the position control loop is to stabilize the states and ensure their tracking errors approach zeros. However, there are lumped disturbances in the position loop which can reduce the control performance. LADRC incorporates lumped disturbances into system states, removes disturbances by a linear extended state observer (LESO), and uses feedback control law so that no detailed and accurate mathematical modelling is required. Consider a second-order system is in its general form as [17]where and are system input and system output, respectively, are the lumped disturbances, are state variables, and are the control terms.

Remark 1 (see [18]). The lumped disturbances are another type of the term that includes parametric variations, environmental disturbances, and complex unmodeled features [18].

Assumption 1. Suppose that is bounded and differentiable. As a result, one gets , , and their bounds satisfies and .
Rewrite (8) asA differential equation can be derived from the above equation by rewriting it as follows:with added as an augmented state, . Transform model (9) into state-space form aswhere

Remark 2. Compared with (7), system (9) represents a general class of systems since it is not limited to the integral-chained form.
Then, we design the following disturbance observer, which is called LESO [19], to estimate the state that contains the lumped disturbances:where denotes the estimation of the state . The observer gain can be calculated aswhere denotes the observer bandwidth. , , and are selected to ensure the eigenvalues of are in the left complex plane. The characteristic equation can be given asFrom equation (15), the coefficients are calculated as

Remark 3. All the eigenvalues of are in the left half-plane, and the LESO is a bounded-input bounded-output (BIBO) system. It is necessary to select an appropriate observer gain to ensure is Hurwitz [20].

Remark 4. Suppose the derivative of in (10) meets the condition ; the estimation error in (13) will approach zero asymptotically.
The disturbance observer tracks the system states with appropriate observer bandwidth and yields , , and .
According to the feedback linearization method, we can offset the total disturbance by simply defining the controller aswhere we need to determine the error feedback and by substituting (17) into system (10), one haswhere is the reference. The estimation error can be ignored if the disturbance observer is approximately treated as an ideal observer. Then, the relationship between and becomes a simple linear double-integrator:Here, the lumped disturbances are estimated and eliminated. And the control law isA second-order plant also has the following transfer function:Here, the gains can be calculated as [21]Next, the stability of LADRC will be proved.
The tracking errors of the position loop are defined as follows:The error matrix is obtained by subtracting (10) from (9):whereObviously, the LESO is a bounded-input bounded-output (BIBO) stable system since all characteristic polynomial roots are located in the left half-plane.

Theorem 1. The LADRC design process from (8)–(22) leads to a BIBO stable closed-loop system since the control law and LESO are stable.
Recalling (11)∼(14), one haswhere .
Rewriting the closed-loop system, one gets

The above system can be written into a state-space formula as follows:

The controller is BIBO stable if the eigenvalues of (28) are in the left half-plane. It is obvious that is bounded since is differentiable.

According to the design concept of the LADRC, there are four independent controllers in the position loop, which is depicted in Figure 3.

4. Attitude Loop Controller Designs

In the attitude loop, the control goal is to stabilize the states and ensure their tracking errors approach zeros. The CISMC derived from SMC is robust, accurate, and easier to implement when compared to other controllers [22]. The integral term in CISMC can increase the accuracy of static error and hold the transient response. Consider a second-order dual-integral system:where denotes the system variable, is the control input, is the system output, is the control gain, and is the system function.

Design sliding mode surface aswhere and are the tracking error and its derivative, and are positive numbers, and denotes the output of the “conditional integrator” which is described as follows:where is the hyperbolic tangent function which can degree the chattering well [23] and is the boundary and results from the continuous approximation of the hyperbolic tangent function. The CISMC by means of the conditional integrator ensures an improvement in transient response of ISMC and recovers the SMC performance without chattering.

Since , the integral loop (31) will be converted into an exponential stability system with external inputs . Since , the integral loop (31) will be converted into an error function:

A conditional integral sliding mode controller can be introduced to provide robust regulation:where represents a control gain which is selected sufficiently large to suppress uncanceled terms in and is selected sufficiently small to recover the performance of ideal SMC without an integrator.

The stability analysis of the conditional integral sliding mode controller will be proved as follows.

Substituting (29), (31), and (32) into the derivative of the sliding mode surface, one getswhere and denotes the referenced signals.

Consider a Lyapunov function:and its first derivative is

Substituting (34) into the above formula, one has

Suppose the error and its derivative are bounded and satisfy that (); then (37) can be rewritten as

Select an appropriate control gain to satisfy the conditionwhere is a positive number. In this article, we select .

Combining (38) and (39), we can obtain that . This implied that the tracking error of the system will asymptotically decrease by using the proposed control law CISMC.

Remark 5 (see [24]). In equation (39), the smaller boundary can be obtained by selecting the larger parameters . The larger parameters are chosen, the smaller boundary will be reached [24].
With the design concept of CISMC, the attitude controllers can be obtained. The tracking errors of the attitude loop are expressed asThe conditional integrator sliding mode surfaces deduced by the tracking errors are given using (30):The first-order derivative of the sliding mode surfaces can be calculated asThe control laws of the attitude loop can be obtained by synthesizing (7), (42), and (43):The control structure of the attitude loop using CISMC is depicted in Figure 4.

5. Simulation and Experimental Results

5.1. Simulation Results

In this section, a simulator developed with the MATLAB/SIMULINK environment has been used to test the proposed hybrid controller for a quadrotor system. The main parameters of the quadrotor are , , , , , , , , and . It should be noted that the structural parameters can be identified by direct and indirect measurement approaches [25, 26], and these parameters are derived from the actual quadrotor. The purpose of the simulation is to find suitable parameters for the controller using adaptive fruit fly optimization algorithm (AFOA) [27]. The references using step signals are set as and . During parameter tuning, the attitude loop is tuned first because the position loop cannot work independently. The tuned controller parameters of the attitude loop are applied for the position loop. In addition, an improved error function [28] is introduced as an evaluation index to evaluate the optimized result:where denotes the tracking error of the system state, denotes the settling time, denotes the overshoot, and , and are the weight factors.

Lumped disturbances simulated by random signals are added to the output ports of the position loop. The simulation time of the parameters tuning in attitude loop and position loop is 5 s, and sampling time is 1 ms. The simulation results are summarized in Figures 58. We observe that the AFOA can help LADRC-CISMC to find suitable control parameters. More specifically, Figure 5 shows the system’s attitude response, while the static tracking errors approach zero. It indicates the LADRC-CISMC presents a good tracking performance during the transient response. Figure 7 shows the system’s position response, wherein track the reference well despite existing lumped disturbances. The results demonstrate that the LADRC-CISMC is capable of superior performance under lumped disturbances. Figures 6 and 8 show the iteration curves of AFOA. As can be observed, the IITAE index has the ability to perform in-depth data mining, whereas the AFOA is capable of helping LADRC-CISMC to obtain desired tracking performance. Furthermore, the simulation provides a set of probable control parameters that can be manually adjusted during the experimental testing phase.

The optimized control parameters of the proposed controller by AFOA are listed in Table 1.

5.2. Experimental Results

In this section, an experimental flight test has been conducted to validate the performance of our proposed controller. As depicted in Figure 9, the experimental platform includes an X450 quadrotor, a remote controller, a ground operational station, a global positioning system (GPS), and a flight controller called Pixhawk. The quadrotor is equipped with a flight controller that includes an embedded processor, sensors and propulsion components, and a wireless data link connected to a device capable of transmitting data wirelessly. Ground station programs process flight data for information extraction and retrace data regarding the quadrotor’s status. The quadrotor’s actual position is collected by GPS. Meanwhile, the quadrotor adopted HOBBYWING eagle 20A electronic speed controllers (ESC), SUNNYSKY A2212-980 kV brushless motors, 2200 mAh lithium battery, and 9450 carbon fibre propellers. The experimental data are collected at a frequency of 50 Hz, which is transformed into the ground operational station. The proposed hybrid controller has been embedded into the Pixhawk hardware from the simulation platform by a plug-in named PX4 autopilots support [29].

We use a Lissajous curve in the form of [30] as the reference tracking trajectory. The wind gusts are measured by an AR816 digital anemometer, and the maximum gust measured in the experiments is . Meanwhile, the performance of the proposed LADRC-CISMC compared to the PID is discussed. The optimized control parameters of the PID are listed in Table 2. Figures 1016 depict the results of 20 seconds of experimental data collection (LADRC-CISMC is called controller 1; PID is called controller 2). It is shown in Figure 10 that the quadrotor can follow a predetermined trajectory. However, the position controlled by PID fluctuates obviously compared to the hybrid controller in the presence of the lumped disturbances. It indicates that the PID control method has no disturbance rejection ability. Due to the delay in GPS signals, the actual position is slightly different from the predetermined trajectory. Nevertheless, our controller performs better than PID. Figures 1116 show the behavior of the quadrotor’s pose, and it is evident a reduction in position and Euler angles amplitude in our proposed controller compared to PID.

Furthermore, two evaluation functions of maximum error and mean square error [31, 32] are proposed to evaluate the performance of the LADRC-CISMC (controller 1) and the LADRC (controller 2), which are described as follows:where is the gap between the referenced and experimental trajectories at sampling time and is the sampling length. The calculated results are listed in Table 3. The maximum error value of controller 1 in the position loop is 67.68%, 87.56%, and 22.17% less than that of controller 2, respectively. The mean square error of controller 1 in the position loop is 55.67%, 87.56%, and 16.81% less than that of controller 2, respectively. It indicates that the proposed controller has a higher tracking precision than the LADRC.

It can be concluded from the above comparison experimental results that the LADRC-CISMC can achieve greater performance than PID in trajectory tracking. Moreover, the proposed hybrid controller exhibits a higher ability to reject lumped disturbances.

6. Conclusions

The issue of trajectory tracking control for quadrotors subjected to lumped disturbances has been investigated in this article. A novel hybrid controller is presented for the dual-loop system. On the basis of this design, a robust controller named LADRC is proposed for the position loop, and a conditional integrator sliding mode controller is designed for the attitude loop. The proposed controller provides high precision and a fast convergence rate for the proposed control strategy since the quadrotor is subjected to lumped disturbances. Moreover, Lyapunov theory is used to analyze the stability of a closed-loop system. Simulation and experimental results confirm the effectiveness and robustness of the proposed hybrid controller LADRC-CISMC. Our future works will focus on the fault-tolerant control for the quadrotor.

Symbols

:Propeller thrust
:Thrust coefficient
:Propeller moment
:Moment coefficient
:Propeller speed
:Density of air
:Control torque
:Radius of the propeller
:Euler angle
:Mass of the aircraft
:Position
:Gravitational acceleration
:Rotational inertia
:Disk area of propeller
, , :Air drag coefficient
:Distance between the center of the propeller hub
:Observer bandwidth
and :Positive numbers
:Control bandwidth
:Conditional integrator
:Control gain
:Parameter
:Positive number
:Observer gain
:Error feedback
:Settling time
:Overshoot
:Weight factors.

Data Availability

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

Conflicts of Interest

The authors declare that they have no conflicts of interest.