Mathematical Modeling, Analysis, and Advanced Control of Complex Dynamical SystemsView this Special Issue
The Quadrotor Dynamic Modeling and Indoor Target Tracking Control Method
A reliable nonlinear dynamic model of the quadrotor is presented. The nonlinear dynamic model includes actuator dynamic and aerodynamic effect. Since the rotors run near a constant hovering speed, the dynamic model is simplified at hovering operating point. Based on the simplified nonlinear dynamic model, the PID controllers with feedback linearization and feedforward control are proposed using the backstepping method. These controllers are used to control both the attitude and position of the quadrotor. A fully custom quadrotor is developed to verify the correctness of the dynamic model and control algorithms. The attitude of the quadrotor is measured by inertia measurement unit (IMU). The position of the quadrotor in a GPS-denied environment, especially indoor environment, is estimated from the downward camera and ultrasonic sensor measurements. The validity and effectiveness of the proposed dynamic model and control algorithms are demonstrated by experimental results. It is shown that the vehicle achieves robust vision-based hovering and moving target tracking control.
As an emerging platform for unmanned aerial vehicle (UAV) research, the quadrotor has recently gained most attention from the community. With some specific capabilities, such as vertical take-off and landing (VTOL), hovering, fly alone or in team, autonomously fly, it has been envisaged for a wide of applications including military reconnaissance, search and rescue, meteorological survey, environmental monitoring, and wireless mobile senor networks . The quadrotor has several advantages compared to other rotorcrafts. First, the quadrotor does not require swash plate and mechanical linkages as it equips fixed pitch propellers and uses speed variation for vehicle control. This makes it more convenient to design, manufacture, maintain, and recover from incidents. Second, its propellers are smaller in diameter relative to the airframe size and can be enclosed within a frame. This makes it safer and brings more benefit for indoor flight and in obstacle-dense environments. In addition, the quadrotor has greater thrust-weight ratio and thus better maneuver performance. All these advantages promote the development of a number of commercial and research quadrotor platforms [2–5].
Although the quadrotor has a series of advantages, it is an absolutely unstable and underactuated dynamic system with sophisticated nonlinearity and strong coupling. Moreover, it is easily affected by near-surface airstream. Because of these difficulties, the intensive study on dynamical modeling, analysis, and advanced control of quadrotor needs to be done to improve the flight quality. In particular, the actuator dynamic and aerodynamic effects must be investigated to establish a reliable dynamic model of quadrotor. Control method dealing with the nonlinearity and coupling property of quadrotor has to be proposed for precise flight control. Bouabdallah and Siegwart mentioned the importance of actuator dynamic and analyzed forces and moments caused by aerodynamic effects. But they simplified the dynamic model and omitted those effects . Huang et al. researched two important aerodynamic effects and presented control techniques compensating for them accordingly. However, only the altitude controller was designed based on nonlinear method . Minh and Ha linearized the nonlinear dynamic model about a trim in hover and applied the LQG method to stabilize the quadrotor with vision-based pose estimation. Nevertheless, only simulation results were displayed . A variety of control algorithms have been attempted to handle the nonlinearity and coupling property, such as neural networks control , integral predictive/nonlinear control , sliding mode control [11, 12], and fuzzy tracking control . Although simulation results demonstrated effectiveness of those control algorithms, most of them were developed based on dynamic model without the actuator dynamic and aerodynamic effect. Besides, the stochastic method and fault detection algorithms are investigated [14–18], whereas those methods are difficult to be implemented in the real system. As the quadrotor is a cascade system, it is proven that the backstepping control method has an excellent performance . Recently, interests in the quadrotor research have transferred to autonomous flight. While the success of laser-based autonomous indoor flight [20–22] has made a huge impact on the development of quadrotor, the vision-based autonomous indoor flight  is an immediate area of research focus. Moreover, heterogeneous multiagent problems such as UAV and unmanned ground vehicle (UGV) indoor/outdoor coordination control are expected to be the next technical breakthrough. Based on the research actuality and trend on quadrotor, this paper studies the quadrotor dynamic modeling and indoor target tracking control method. These research results will build foundations for precise flight control and heterogeneous multiagent study.
The main contributions of this paper are the following. First, a reliable nonlinear dynamic model is presented based on the analysis of actuator dynamic, aerodynamic effect, and rigid body dynamic. The gyroscope effect of the rotors is considered by dividing the quadrotor into body part and rotor part. It makes the dynamic model more reliable to take actuator dynamic and aerodynamic effect into account. Second, the PID controllers with feedback linearization and feedforward control are proposed to control both the attitude and position of the quadrotor. The dynamic model is explicitly expressed as a cascade system of three subsystems to be suitable for the backstepping method. The control algorithms are realized on a fully custom quadrotor and vision-based autonomous indoor moving target tracking flight is achieved.
This paper is structured as follows. In Section 2, we first analyze the actuator dynamic and aerodynamic effect. The actuator dynamic is the derivation of the Kirchhoff laws and the law of rotation. The aerodynamic effect is mainly about blade flapping which has a significant effect on attitude tracking control. Then, a reliable nonlinear dynamic model is addressed using Newton-Euler method. The dynamic model is a combination of actuator dynamic, aerodynamic effect, and rigid body dynamic. In Section 3, a general PID controller with feedforward control is proposed. Then, based on the simplified nonlinear dynamic model, decoupling nonlinear control laws are presented using feedback linearization and the backstepping control strategy is applied to the position control. Section 4 describes the system design of our fully custom quadrotor and discusses the experimental results. The fully custom quadrotor is equipped with an IMU, a downward camera, and a downward ultrasonic sensor. Full control experiments are executed in the order of attitude control, altitude control, hovering control, and tracking control. At last, we outline the conclusion in Section 5.
2. Mathematical Modeling
Most researchers used to regard the whole quadrotor as a rigid model , neglecting the propeller gyroscope effect and aerodynamic effect. Moreover, models containing actuator dynamic are rarely investigated. However, studies show that aerodynamic effect is obvious even with moderate speed  and that actuator dynamic has a strong influence on the attitude stabilization . Thus, a detailed analysis of those effects is necessary.
The coordinate system is defined in Figure 1. is an earth-fixed frame and is a body-fixed frame. The body fixed coordinates origin locates at the center of gravity (CoG) of the quadrotor. is the distance between propeller plane and CoG.
2.1. Actuator Dynamic
Actuator dynamic describes the relationship between rotor speed and actuator voltage. The latter is our real control input. Basically, the actuator response speed is most interested by designers. Based on Kirchhoff laws and the law of rotation, the simplified actuator dynamic model is  where , , and represent the speed of actuator , delay coefficient, and gain coefficient, respectively.
Actuator delay is curial especially when the attitude control loop runs at a low frequency.
2.2. Aerodynamic Effect
Aerodynamic effect dramatically increases with the variation from equilibrium state. Some literatures show excellent performance on a test bench . Whereas, the attitude control result without the test bench is worse than the attitude control result on the test bench. This is because the aerodynamic effect occurs when flight without the test bench. Aerodynamic effect is mainly caused by blade flapping, as shown in Figure 2.
During forward flight, the advancing blade has a higher velocity relative to the free stream and the retreating blade sees a lower effective airspeed. This brings imbalance of lift and results in the propeller plane deflecting from position 1 to position 2. The deflection angle is proportional to the velocity in body -axis :
The deflection of the propeller plane causes an extra moment on the -axis : where is the total thrust and and are experimentally measured constants. The blade flapping effect on the -axis is the same.
Air friction is relative to the velocity of quadrotor and can be expressed as where , , , and represent damping coefficient, active area, air density, and relative speed, respectively.
Theoretical and experimental results demonstrate that aerodynamic effect is not trivial even with moderate speed and will be crucially important in aerobatic flight.
2.3. Nonlinear Dynamic Model
We separate the quadrotor into two portions, the body part and the rotor part. The body part includes the frame structure and equipments. The rotor part includes motors and propellers. Manifestly, the relative position between the rotor part and the body part varies as the rotor spins. Hence we cannot assume the whole quadrotor as a rigid body. The mathematical model is based on following assumptions.(1)The body part and rotor part are rigid, respectively.(2)The quadrotor is symmetric.(3)Thrust and drag are proportional to the square of propeller’s speed.(4)Actuator dynamic is identical.(5)The center of gravity (CoG) coincides with the body fixed coordinates origin.
Apply Newton-Euler equation to body part: where is the total force and is the position of the quadrotor expressed in earth-fixed frame . is the total moment expressed in body-fixed frame . is the rotational inertia of the body part. is the angular speed expressed in body-fixed frame.
Here we employ the Euler angle representation of orientation. We consequently rotate about axes by yaw angle , roll angle . and pitch angle .
Let ; the relationship between and is where and represent and , respectively.
According to the third assumption, rotor thrust and drag are
Utilizing the analysis of aerodynamic effect, the total force and moment on the body part are where is rotational inertia of the rotor part and is the sum of rotor speed. Note that the moment for the rotor angular acceleration is produced by electromagnetic force and unrelated to the body part. Based on the second assumption, , ; and . We regard the body part as controlled object and by integrating the body part dynamic and actuator dynamic we can reach the global nonlinear dynamic model. Here we simplify the nonlinear dynamic model about the hovering operating point. is the speed of rotor at the hovering operating point
3. Control Implementation
First, we define a general PID controller with feedforward control in which is the feedforward part.
Then we apply feedback linearization to design the attitude and position controllers. Finally, we describe the backstepping control scheme.
3.1. Position Controllers
The outputs of the position controllers are , , . During the hovering and tracking flight, ; thus, we choose the control law as
This guarantees asymptotic stability and has robustness to some uncertainties. Solving (14), we get the decoupling form:
3.2. Attitude Controllers
The outputs of the position controllers are the inputs of the attitude controllers. The outputs of the attitude controllers are , , and . Utilizing the similar design method, we choose the control law as
3.3. Backstepping Control Algorithms
The outputs of attitude controllers are the inputs of the actuator controllers. The outputs of the actuator controllers are . Considering the relationship between position controllers, attitude controllers, and actuator controllers, we proposed the backstepping control scheme shown in Figure 3.
4. Verification and Results
The nonlinear dynamic model and control algorithms are verified on a fully custom quadrotor. First, the design and manufacture of our fully custom quadrotor is briefly described. Then, results of different experiments are discussed consequently.
We developed a fully custom quadrotor using the optimal design algorithm, shown in Figure 4. The frame is made from carbon fiber composite (CFC), and the structure is designed with CATIA v5. The inherent frequency of the frame is more than 100 Hz while the vibration frequency caused by actuators is about 60 Hz. This avoids resonance and reduces the accelerometer measurement noise. The downward camera and ultrasonic sensor are utilized to obtain the physical position, running at 25 Hz and 10 Hz, respectively. The image is off-board processed as shown in Figure 4. Furthermore, there is a remote control UGV with a colored mark, playing the role as a moving target, Figure 5.
The parameters of the rigid body dynamic are calculated during the design process. The parameters of the aerodynamic effect are estimated by empirical model and data fitting. The actuator dynamic is obtained by system identification. The parameters used in the verification experiments are listed in Table 1.
4.2. Experiment Results
The hardware in loop (HIL) simulation is executed before flight experiment. Manually change the pitch angle, roll angle, and yaw angle of the quadrotor; the speed command of each motor changes, respectively. Manually change the altitude of the quadrotor; the throttle command for four motors changes. Manually change the position of the quadrotor; the attitude commands change. The simulation results verify the correctness of the dynamic model and control algorithms. The HIL simulation is shown in Figure 6.
Attitude control, altitude control, hovering control, and moving target tracking control experiments are consequently performed. As shown in Figure 7, the pitch and roll control error is less than 2 degrees while yaw control error is less than 5 degrees. Altitude control experiment is executed with a switch. The quadrotor takes off manually and then switches to autoaltitude control. From Figure 8 we can know that the altitude control error is less than 5 cm. Hovering and moving target tracking control experiments are conducted with a switch too. As shown in Figures 9 and 10, both the hovering control and tracking control errors are less than 10 cm.
5. Conclusions and Future Works
We aim at precise modeling, analysis, and control of a sophisticated nonlinear system. This paper presented the newest research on quadrotor of our project. First, we analyzed the actuator dynamic and aerodynamic effect of the quadrotor. Then, we established a reliable nonlinear dynamic model of the quadrotor. As the backstepping control algorithm is well fit for the cascaded structured systems such as the quadrotor, we designed a series of PID controllers with feedforward control and feedback linearization using the backstepping method. Real experiments were executed and the effectiveness of the proposed dynamic model and control method is demonstrated by the experimental result. The future works include two directions. Firstly, the quaternion representation of orientation needs to be employed since the Euler angle representation is subject to problematic singularities. The global stable controllers are expected to be proposed based on the quaternion representation. Secondly, more efforts need to be done to promote the moving target tracking system more like a heterogeneous multiagent system. Problems within heterogeneous multiagent system are expected to be the next technical breakthrough.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work is partially funded by the Fundamental Research Funds for the Central Universities (no. HEUCF021318), the Natural Science Foundation of Heilongjiang Province (no. A201312), the Harbin Science and Technology Innovation Talent Youth Fund (no. RC2013QN001007), the National High Technology Research and Development Program of China (no. 2013AA122904), and the National Natural Science Fund (no. 11372080).
H. Huang, G. M. Hoffmann, S. L. Waslander, and C. J. Tomlin, “Aerodynamics and control of autonomous quadrotor helicopters in aggressive maneuvering,” in Proceedings of the IEEE International Conference on Robotics and Automation (ICRA '09), pp. 3277–3282, May 2009.View at: Publisher Site | Google Scholar
L. Astudillo, P. Melin, and O. Castillo, “Chemical optimization paradigm applied to a fuzzy tracking controller for an autonomous mobile robot,” International Journal of Innovative Computing, Information and Control, vol. 9, no. 5, pp. 2007–2018, 2013.View at: Google Scholar
S. Yin, H. Luo, and S. Ding, “Real-time implementation of fault-tolerant control systems with performance optimization,” IEEE Transactions on Industrial Electronics, vol. 64, no. 5, pp. 2402–2411, 2014.View at: Google Scholar
A. Bachrach, R. J. He, and N. Roy, “Autonomous flight in unknown indoor environments,” International Journal of Micro Air Vehicles, pp. 217–228, 2009.View at: Google Scholar
S. J. Shen, N. Michael, and V. Kumar, “Autonomous indoor 3D exploration with a micro-aerial vehicle,” in Proceedings of IEEE International Conference on Robotics and Automation, pp. 14–18, Saint Paul, Minnesota, USA, May.View at: Google Scholar
M. Blösch, S. Weiss, D. Scaramuzza, and R. Siegwart, “Vision based MAV navigation in unknown and unstructured environments,” in Proceedings of the IEEE International Conference on Robotics and Automation (ICRA '10), pp. 21–28, Anchorage, Alaska, USA, May 2010.View at: Publisher Site | Google Scholar
S. Bouabdallah, A. Noth, and R. Siegwart, “PID vs LQ control techniques applied to an indoor micro Quadrotor,” in Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), vol. 3, pp. 2451–2456, October 2004.View at: Google Scholar