Abstract

The modeling and attitude stabilization control problems of a four-rotor vertical takeoff and landing unmanned air vehicle (UAV) known as the quadrotor are investigated. The quadrotor’s attitude is represented by the unit quaternion rather than Euler angles to avoid singularity problem. Taking dynamical behavior of motors into consideration and ignoring aerodynamic effect, a nonlinear controller is developed to stabilize the attitude. The control design is accomplished by using backstepping control technique. The proposed control law is based on the compensation for the Coriolis and gyroscope torques. Applying Lyapunov stability analysis proves that the closed-loop attitude system is asymptotic stable. Moreover, the controller can guarantee that all the states of the system are uniformly ultimately bounded in the presence of external disturbance torque. The effectiveness of the proposed control approach is analytically authenticated and also validated via simulation study.

1. Introduction

In the past decade, the small UAV market has grown rapidly. Small UAVs are applied in various areas such as surveillance, reconnaissance, and aerial photography. In particular, quadrotor helicopters are an emerging rotorcraft concept for UAV platforms. The particular interest of the research community in the quadrotor design can be linked to two main advantages over comparable vertical takeoff and landing (VTOL) UAVs, such as helicopters. First, quadrotors do not require complex mechanical control linkages for rotor actuation, relying instead on fixed pitch rotors and using variation in motor speed for vehicle control. This simplifies both the design and maintenance of the vehicle. Second, the use of four rotors ensures that individual rotors are smaller in diameter than the equivalent main rotor on a helicopter, relative to the airframe size. Consequently, the last decade has seen many successfully developed platforms of micro-UAVs, especially the quadrotor UAV, such as Australia National University’s X-4 flyer aircraft prototype [1], the Stanford University’s STARMAC quadrotor [2], the Swiss Federal Institute’s OS4 aircraft prototype [3], and the University of Pennsylvania’s Grasp micro-UAV test bed [4].

To guide a quadrotor to accomplish the planned mission, a control system needs to be designed. It consists of position control for translational motion and attitude control for rotation motion. In this study, the design of controller for attitude control is investigated. One distinct feature of attitude dynamics of a quadrotor is that its configuration manifold is not linear; it evolves on a nonlinear manifold, referred to as the special orthogonal group. This yields important and unique properties that cannot be observed from dynamic systems evolving on a linear space. As a result, the attitude control problem of a rigid body has been investigated by several researchers, and a wide class of controllers based on classic or modern control theory has been proposed. For instance, based on the conventional proportional-integer-derivative (PID) approach, an model-independent PD controller by using quaternion-based feedback was proposed to stabilize the quadrotor attitude system [5]. In [6], the design of a PID control algorithm for the quadrotor attitude system was presented. The model of the vehicle was modified to simplify the controller design. Considering faults occurring on the mounted motors, a control strategy by using gain scheduling incorporating PID was developed in [7]. It successfully achieved attitude and position control even in the presence of actuator faults. In another recent work [8], the problem of stabilization and disturbance rejection of attitude subsystem of a quadrotor was addressed. The controller was designed in the framework of PID control scheme; similar control methods also can be found in [913].

In addition to the above PID-based attitude control design, many modern control approaches have also been applied to quadrotor attitude controller design. In [14], an attitude control law was proposed for triple tilting rotor mini-UAV. It was robust with respect to dynamical couplings and adverse torques. The work in [15] investigated the application of model reference adaptive control for quadrotor even in the presence of actuator uncertainties. An adaptive law and control laws based on adaptive technique were developed and applied for quadrotor UAV in case of actuator partial loss of effectiveness faults [16]. In [17], the problem of fault tolerant control for quadrotor was addressed by using backstepping control approach. In [18], the output-feedback control system design for a quadrotor was discussed. The position and attitude control was designed by using model reference control and nonlinear control allocation techniques. The position control of vertical take-off and landing UAV without linear velocity measurements was also investigated in [19]. In [20], an adaptive nonlinear attitude stabilization control scheme was synthesized for a quadrotor. The problem of parametric uncertainties in the quadrotor model was investigated, and the controller was designed based on model reference adaptive control technique. In [21], an attitude free position control design was proposed for a quadrotor by using dynamic inversion. In another related study [22], an adaptive law was designed to asymptotically follow an attitude command without the knowledge of the inertia matrix. The proposed control was verified by using a quadrotor UAV model. In [23], a quaternion-based feedback was developed for the attitude stabilization of quadrotor. The control design took into account a priori input bound and is based on nested saturation approach. It forced the closed-loop trajectories to enter in some a priori fixed neighborhood of the origin in a finite time and remain thereafter.

The sliding mode control (SMC) is a powerful theory for controlling uncertain systems [24]. The main advantages are that the SMC system has great robustness with respect to uncertain parameters and external disturbances. Hence, applying SMC to design attitude control for quadrotor has been intensively carried out in recent years. In [25] integral SMC and reinforcement learning control were presented as two design techniques for accommodating the nonlinear disturbances of an outdoor quadrotor. In [26], SMC was used to control a quadrotor UAV in the presence of disturbance and actuator fault. The proposed approach was able to achieve disturbance rejection in the fault-free condition and also able to recover some of performances when a fault occurred. To regulate the attitude angle of a quadrotor to the desired signals, an SMC-based attitude controller was proposed in [27]. In that approach, an adaptive estimator was incorporated, and the adaptive technique was used to estimate the upper bound of the virtual command. The work in [28] explained the developments of the use of SMC for a fully actuated subsystem of a quadrotor to obtain attitude control stability. In [29], an SMC attitude controller was developed for a quadrotor. It allowed for a continuous control robust to external disturbance and model uncertainties to be computed without the use of high control gain. In another work [30], an augmented SMC-based fault-tolerant control was designed theoretically, implemented practically, and tested experimentally in a quadrotor. The problems of propeller damage and actuator fault conditions for tracking control were discussed. Moreover, many other nonlinear control techniques based controller design were also proposed for quadrotor, as suggested in [3133].

Based on the results available in the literature, this work will investigate the attitude control design of a quadrotor UAV. The attitude orientation of the quadrotor is represented by using unit quaternion. Backstepping technique is adopted to develop the controller. It is shown that the controller can asymptotically stabilize the attitude system. Explicitly taking external disturbance torque acting on the quadrotor into consideration, the controller is able to guarantee the uniformly ultimately bounded stability of the attitude system. All the states of the closed-loop attitude system are governed to be uniformly ultimately bounded. The remainder of this paper is organized as follows. In Section 2, mathematical model of a quadrotor UAV attitude system and problem statement are summarized. A backstepping-based attitude control approach is presented in Section 3, and also the stability of closed-loop system is provided. In Section 4, simulation results with the application of the designed control scheme to a quadrotor are presented. Section 5 presents some concluding remarks and future work.

2. Mathematical Model and Control Problem Statement

2.1. Attitude Dynamic Model of a Quadrotor

The quadrotor UAV under consideration consists of a rigid cross frame equipped with four rotors as shown in Figure 1. Those four rotors are divided into front (), back (), left (), and right () motors. Motors and rotate in counter-clockwise direction, while the other two in clockwise direction. All of the movements can be controlled by the changes of each rotor speed. If a yaw motion is desired, one has to reduce the thrust of one set of rotors and increase the thrust of the other set while maintaining the same total thrust to avoid an up-down motion. Hence, the yaw motion is then realized in the direction of the induced reactive torque. To accomplish roll motion, it should decrease (increase) the speed of motor and increase (decrease) the speed of motor . On the other hand, pitch motion can be maneuvered by decreasing (increasing) the speed of motor while increasing (decreasing) the speed of motor .

Let fixed with the Earth denote an inertial frame, and let denote a frame rigidly attached to the quadrotor body as shown in Figure 1. The vector is the orientation of body frame with respect to called Euler angles. These angles are bounded as follows:

When using Euler angles to represent quadrotor attitude, direction cosine matrix will be used to describe the kinematic motion of attitude. However, one of the drawbacks with application of the direction cosine matrix is the inherent geometric singularity. It is known that the four-parameter description of the orientation called the quaternion representation can be applied to avoid that drawback. Consequently, the unit quaternion will be used in this work for attitude representation of quadrotor UAV. Ignoring aerodynamic effect, the mathematical model of quadrotor attitude system can be described as follows [5]: where with is the unit quaternion denoting the attitude of quadrotor with respect to the inertial frame . It is subject to the equation . denotes the angular velocity of the quadrotor with respect to and expressed in . is the positive-definite, symmetric inertia matrix of the UAV. and are the moment of inertia and the speed of the rotor , respectively. denotes the gyroscope torques due to the combination of the rotation of the quadrotor and the four motors; it is given by and denotes the unit vector in . The matrix is a skew-symmetric matrix such that for any vector for , where “” denotes the vector cross-product. denotes the identity matrix.

In (4), is the total torque acting on the UAV, and it is generated by four motors.

Consider the following: where is the distance from the rotors to the center of mass of the quadrotor and and are two positive parameters depending on the density of air, the radius of the propeller, the number of blades and the geometry, lift, and drag coefficients of the blades [34]. The reaction torque in (5) generated in free air by the motor due to motor drag is given by Moreover, the four-control input of the attitude system is , , which denotes the torques produced by the rotors.

2.2. Problem Statement

Given any initial attitude and angular velocity , the control objective to be achieved can be stated as: consider the quadrotor UAV attitude dynamics described by (2) and (5); design an control law for the motor , , to stabilize the resulting closed-loop attitude system; that is,

3. Attitude Stabilization Control Design

Define new state variables as , , and . Then, the attitude system equations (2)–(5) can be rewritten as follows: where ,  ,  ,  , and is defined as the nonzero sigum function as follows:

For the transformed system equations (10)–(12), backstepping control technique will be applied in this section to design attitude controller, and the following change of coordinates will be firstly introduced: where and are virtual control inputs to be designed later.

Based on the preceding coordinates changes, the following procedures can be followed to design a controller to stabilize the attitude of the considered quadrotor UAV.

Step 1. We start with (14) by considering as the control variable. It is obtained from (2), (3), and (10) that where .
The task in this step is to design a virtual control law to guarantee . Choose a Lyapunov candidate function as , and design the virtual control as , where is a positive scalar. Then, applying (15) and (17) yields Hence, if , then for all . By using Lyapunov stability theory [35], it can prove that
On the other hand, it can be obtained from the definition of that Hence, it leaves (19)-(20) as . Then, using (13) leads to .

The quadrotor UAV actually is an underactuated system because it has six degrees of freedom while it has only four inputs. The collective input (or throttle input) is the sum of the thrusts of each motor. Hence, the control structure of an rigid quadrotor is illustrated in Figure 2. Position control and attitude control are included. Assumed that the desired total thrust supplied by the position control is , which is generated by the four rotors and given by

Accordingly, the desired speed of the four motors can be obtained from (7) and (21); that is, with and where is nonsingular as long as .

Step 2. From (22), one has , where We now differentiate the second error, , using (15) to give Choose another Lyapunov candidate function , and design the virtual control law as where is a positive constant and denotes the pseudo inverse of a full-row rank matrix.
Differentiating both sides of and inserting (24) and (25) yield Again, if , one has , and thus both and will converge to zero asymptotically.

According to the analysis in Steps 1 and 2, if can be driven to zero by designing an appropriate controller, then and will also be governed to zero, and thus the quadrotor attitude will be stabilized. In the following theorem, we summarize our control solution to drive to zero by incorporating backstepping-based control action.

Theorem 1. Consider the quadrotor attitude system described by (2)–(5); design a nonlinear backstepping controller as follows: where is an positive control gain. Then, the closed-loop attitude system is asymptotically stable; that is, , .

Proof. It can be obtained from (12) and (16) that Consider another candidate Lyapunov function as follows: Differentiating (29) and inserting (26) and (28) result in With the developed controller equation (27), (30) can be simplified into the following form: Investigating of in (29) shows clearly that for all , and also that when . Therefore, in accordance with LaSalle-Yoshizawa’s theorem [35], from (31) fulfills where is a continuous function. Then, all solution are uniformly globally bounded and Hence, the controller is uniformly globally asymptotically stable since additionally . Moreover, it can be concluded from (31)–(33) that
To this end, it can be obtained from (14)–(16), the definition of and , and (34) that Summarizing the above analysis, it can come to the conclusion that the closed-loop attitude system of the considered quadrotor UAV is asymptotically stable. Thereby the proof is completed here.

The result obtained from Theorem 1 can only be guaranteed when the quadrotor UAV is free of external disturbance. However, this case will never be true in practical flying, especially when the quadrotor flies outdoor. Assume that the external disturbance torque acting on the quadrotor is ; then the dynamics of the quadrotor equation (4) or (11) will be changed as follows:

Although the disturbance torque is inevitable, it is always bounded in practice. Hence, it is reasonable to assume that there exists a positive scalar such that .

Theorem 2. Consider the quadrotor attitude system described by (2)–(5) in the presence of external disturbance torque , with application of the controller equation (27); suppose that the control gain is chosen to satisfy where is a positive scalar specified by the designer. Then, the closed-loop attitude system is uniformly ultimately bounded stable.

Proof. Using the almost the same analysis as in the proof of Theorem 1, one has Then, it leaves in (30) as Applying the Young’s inequality, the following inequality can be established: It is thus obtained from (40) that is bounded by With the choice of control gains in (37), it leads to where , and denote the minimum and the maximum eigenvalue of matrix, respectively. Using Theorem 4.18 (page 172) in [35], it can be concluded from (42) that is uniformly ultimately bounded together with the states , . More precisely, there exists a finite-time such that , for any and , . In other words, the closed-loop attitude system is uniformly ultimately bounded stable. Hence, the proof of Theorem 2 is completed.

4. Numerical Example

In this section the properties of the proposed attitude stabilization approach is evaluated and simulated numerically by the quadrotor model presented in [5]. The physical parameters of this model are listed in Table 1. At time , the initial attitude of the quadrotor is deg, corresponding to the unit quaternion values ; the initial angular velocity is of  rad/sec. The control gains for the controller equation (27) are chosen as , , and . Moreover, attitude and angular velocity sensor noises (): 0.0001() are modeled as zero-mean Gaussian random variables with variance .

In the ideal case that the quadrotor is free of external disturbance torques, with application of the controller equation (27), it leads to the control performance shown in Figures 35. It is observed from the response of the unit quaternion and the Euler attitude angles shown in Figures 3 and 4, respectively, that the attitude is successfully accomplished, while the resulted angular velocity is illustrated in Figure 5.

For a quadrotor flying outdoor, it is always under the effect of external disturbances such as induced by wind. Therefore, simulation is further carried out in the presence of external disturbances. Here, disturbances are introduced on the pitch, roll, and yaw at the 3th, 6.5th, and the 8th seconds, respectively. The attitude control performance obtained from the developed controller equation (27) is shown in Figures 68. From Figures 6-7, it is known that the disturbance torque has little effect on the performance of the attitude and that is because the controller equation (27) is able to guarantee the uniformly ultimately bounded stability of the closed-loop system in the presence of disturbance. It is seen in Figure 8 that although there exists some overshoot for the angular velocity when disturbance is introduced to the quadrotor, the angular velocity can be stabilized soon.

5. Conclusions

In this work, the design of a quadrotor UAV attitude stabilization controller using quaternion feedback and integrator backstepping was presented. With appropriate choice of integrator backstepping variables, both equilibrium points in the closed-loop system are proved to be asymptotically stable. Furthermore, taking external disturbance torque into consideration, the attitude and the angular velocity of the quadrotor were governed to be uniformly ultimately bounded by the proposed controller. Simulations of a quadrotor UAV were also presented to illustrate the performance of the controller and that the attitude of the UAV was regulated to the closest equilibrium point. Future work will emphasize the position or path following control of the quadrotor even in the presence of external disturbance.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This present work was supported partially by National Natural Science Foundation of China (Project no. 61304149) and Natural Science Foundation of Liaoning, China (Project no. 2013020044). The authors highly appreciate the above financial supports.