New Trends in Networked Control of Complex Dynamic Systems: Theories and ApplicationsView this Special Issue
Research Article | Open Access
Design of Attitude Control System for UAV Based on Feedback Linearization and Adaptive Control
Attitude dynamic model of unmanned aerial vehicles (UAVs) is multi-input multioutput (MIMO), strong coupling, and nonlinear. Model uncertainties and external gust disturbances should be considered during designing the attitude control system for UAVs. In this paper, feedback linearization and model reference adaptive control (MRAC) are integrated to design the attitude control system for a fixed wing UAV. First of all, the complicated attitude dynamic model is decoupled into three single-input single-output (SISO) channels by input-output feedback linearization. Secondly, the reference models are determined, respectively, according to the performance indexes of each channel. Subsequently, the adaptive control law is obtained using MRAC theory. In order to demonstrate the performance of attitude control system, the adaptive control law and the proportional-integral-derivative (PID) control law are, respectively, used in the coupling nonlinear simulation model. Simulation results indicate that the system performance indexes including maximum overshoot, settling time (2% error range), and rise time obtained by MRAC are better than those by PID. Moreover, MRAC system has stronger robustness with respect to the model uncertainties and gust disturbance.
The applications of unmanned aerial vehicles (UAVs) have dramatically extended in both military and civilian fields around the world in the last twenty years. UAVs are used currently in all branches of military ranging from investigation, monitoring, intelligence gathering, and battlefield damage assessment to force support. Civilian applications include remote sensing, transport, exploration, and scientific research. Because of the diversified mission in the aviation field, UAVs play a more and more important role.
The attitude dynamic model of UAVs is nonlinear and three attitude channels are coupled. Nonlinearity and coupling dynamic characteristics will become more disturbing under flight condition with big angle of attack so that more obstacles will be brought during the design of attitude control system for UAVs.
In recent years, some advanced control theories are gradually introduced into the design of attitude control system for UAVs with the development of computer technology [1–17]. In , the output feedback control method was used to design the attitude control system for UAV. An observer was designed to estimate the states online. In , in order to provide a basis for comparison with more sophisticated nonlinear designs, a PID controller with feedforward gravity compensation was derived using a small helicopter model and tested experimentally. In , a roll-channel fractional order proportional integral () flight controller for a small fixed-wing UAV was designed and time domain system identification methods are used to obtain the roll-channel model. In , a second-order sliding structure with a second-order sliding mode including a high-order sliding mode observer for the estimation of the uncertain sliding surfaces was selected to develop an integrated guidance and autopilot scheme. In , the fuzzy sliding mode control based on the multiobjective genetic algorithm was proposed to design the altitude autopilot of UAV. In , the attitude tracking system was designed for a small quad rotor UAV through model reference adaptive control method. In , to control the position of UAV in three dimensions, altitude and longitude-latitude location, an adaptive neurofuzzy inference system was developed by adjusting the pitch angle, the roll angle, and the throttle position. In , an adaptive controller as autopilot inner loop controller candidate was designed and tested based on piecewise constant adaptive laws. Navigation outer loop parameters are regulated via PID control. The main contribution of this study is to demonstrate that the proposed control design can stabilize the nonlinear system. In , an altitude hold mode autopilot for UAV which is nonminimum phase was designed by combination of classic controller as the principal section of autopilot and the fuzzy logic controller to increase the robustness. The multiobjective genetic algorithm is used to mechanize the optimal determination of fuzzy logic controller parameters based on an efficient cost function that comprises undershoot, overshoot, rise time, settling time, steady state error, and stability. In [10, 11], a novel intelligent control strategy based on a brain emotional learning (BEL) algorithm was investigated in the application of attitude control of UAV. Time-delay phenomenon and sensor saturation are very common in practical engineering control and is frequently a source of instability and performance deterioration [18–20]. Taking time delay into consideration, the influence of time delay on the stability of the low-altitude and low-speed small Unmanned Aircraft Systems (UAS) flight control system had been analyzed . There are still some other methods [22, 23]; no details will be listed here.
The design method based on characteristic points can obtain multiple control gains. To realize the gain scheduling, look-up table is one common way applied in practice. Actually, the gains between characteristic points do not exist but can be obtained only by interpolation method. It is hard to ensure the control satisfaction between characteristic points . As for sliding control method, it is difficult to select the intermediate control variables for partial derivatives of a sliding surface. As for the intelligent control method, though the stability of control system can be verified, the algorithm is too complicated and it is unable to guarantee the control timeliness in application. In a word, the attitude control system design of UAVs is an annoying task. Multi-input multioutput (MIMO), nonlinearity, and coupling dynamic characteristics will cause more difficulties during the design of attitude control system. In addition, model uncertainties and external disturbances should be taken into account also.
Feedback linearization method can be used to realize linearization and decoupling of a complicated model. Model reference adaptive control (MRAC) system can suppress model uncertainties and has stronger robustness with respect to gust disturbances. With these considerations, feedback linearization method and MRAC method are integrated to design the attitude control system for a fixed wing UAV. As far as we know, there is only few research in which the above two methods are integrated. Moreover, this design principle is simple and the control performance is superior. The maximum overshoot, settling time, and rise time of the system can satisfy the desired indexes, and the system has strong robustness with respect to the uncertainties of aerodynamic parameters variation and gust disturbance.
This paper is organized as follows. firstly, the complicated attitude dynamic model is decoupled into three independent channels by feedback linearization method; secondly, according to the control performance indexes of each attitude channel, such as maximum overshoot, settling time, and rise time, reference model is established and MRAC is used to design the adaptive control law; thirdly, the control performance comparison between MRAC and PID control is given; finally, conclusions are presented.
2. Attitude Dynamic Model of UAV
The origin of UAV body coordinate system is located at mass center. Axis coincides with aircraft longitudinal axis and points to the nose. Axis is perpendicular to aircraft longitudinal symmetric plane and points to the right side. Axis is defined following the right-hand rule. The dynamic models of three attitude channels including roll, pitch, and yaw are given as follows: The models describe the behavior of aircraft following control input, where , , and represent roll angle, pitch angle, and yaw angle, respectively; , , and represent the angle velocity components on body axis , , and ; , , and represent the inertia moment of body axis; denotes the inertia product against axis and ; , , and represent the resultant moment components on body axis , , and , and where is the atmosphere density relative to height; is airspeed of UAV; , , and represent wing area, span, and mean aerodynamic chord, respectively; and represent sideslip angle and attack angle, respectively. , , and represent the deflection angle of aileron, elevator, and rudder, respectively; represents the aerodynamic moment coefficient and its subscript is composed of corresponding moments and variables, where represents the aerodynamic moment coefficient at 0° attack angle.
It is obvious that attitude dynamic model of UAV is nonlinear and there are strong coupling among three channels. Substitute the aerodynamic moment equations (7) into attitude dynamic model equations (4)~(6) and rewrite them as follows: where
3. Linearization and Decoupling of Model
In order to obtain the SISO form of the three attitude channels, feedback linearization method is used in this paper. As for nonlinear equations (8), we can obtain the following equation according to Lie derivative: where and represent Lie derivative of with respect to and . Superscript represents the derivative order. The new input is .
Let We can get
Expressions of , , and are more complicated and can be obtained by referring to the literature .
The system relative order is according to Lie derivative. The input and output linearization of MIMO nonlinear system is realized by the above derivation. There is no internal dynamic state in new system that asymptotic stability and tracking control can be realized. The feedback linearization diagram is shown as Figure 1.
It is visible that the nonlinear dynamic model is transformed into one equivalent linear model with state variables as follows:
State equations are rewritten in matrix form:
Remark 1. Although new errors are not produced in the process of decoupling the dynamic equations by feedback linearization, it is impossible to describe all dynamic characteristics of attitude moment precisely, the reason for this is modeling errors and model uncertainties cannot be eliminated in dynamic model.
4. Control Laws Design
Aiming at the above three independent two-order systems and according to the performance indexes of attitude response, MRAC is used in this paper to design the attitude control law.
4.1. MRAC Law Design
The differential equation for each channel in (14) can be written as
The adaptive control law is designed by taking the pitch channel as an example. Suppose the form of control law is where is the feedforward gain, is the reference input, and are feedback gains. The approach of MRAC is to adjust parameters , , and so that the system output can track the output of the reference model.
Select the same order of reference model as that of pitch channel model and the differential equation is
Coefficients , , and should be determined according to control performance indexes of pitch channel.
Consider the standard form of two-order system:
We can get where denote damping ratio; and denote natural oscillation angular frequency and damping oscillation angular frequency, respectively; and denote settling time and rise time, respectively; denotes overshoot; set , ; it is easy to get , .
Let Equation (21) can be rewritten as
Define parameter error vector and generalized error vector , respectively, as
Then error expression equation (23) can be written in matrix-vector form: where
Select the Lyapunov function: where is positive definite symmetric matrix, is 3-dimensional positive definite diagonal matrix:
Let and ; we can get the derivative of with respect to time:
Select positive definite symmetric matrix and make
Select the adaptive laws:
Obviously, is negative definite; therefore the closed-loop system is asymptotically stable. Calculate the derivative of each equation in (24) with respect to time with considering (31), the adaptive laws of feedback gains , and feedforward gain can be obtained:
The MRAC laws of roll and yaw channels can be designed in the same way. However, different reference model for each channel is selected based on the performance index of respective channel. The MRAC system diagram of attitude control system is shown as Figure 2.
Remark 2. The control performance indexes of each channel determine the form of the reference model. Although model uncertainties and gust disturbances exist in the actual system, only if the output of system can track the output of reference model, the performance can be guaranteed. Therefore, MRAC system has strong robustness with respect to the model uncertainties and external disturbances.
4.2. PID Control Law Design
For the simplified model of pitch channel, PID control law can be obtained. The expression of control law is where is the error between reference input and system output; Gains , , and can be determined by root locus according to the control performance indexes of pitch channel.
In the same way, the control laws of roll and yaw channels can be designed by PID method and the control diagram of attitude control system for UAV is shown as Figure 3.
5. Mathematics Simulations
In order to verify the performance of attitude control system for UAV, the PID control law and the MRAC law are applied to the coupling and nonlinear attitude dynamic model of UAV, respectively.
The reference motion states are as follows:
The initial conditions of simulation are
The allowed maximum deflection angles of three actuators in simulation are: The reference inputs of three attitude channels are 10° step signals. The control performance of attitude control system will be verified through below three cases: Case 1, there is no uncertainty in the system; Case 2, aerodynamic parameters vary within the range of 0~30%; Case 3, gust disturbance is considered as the external disturbance.
Figures 4, 5, and 6 show the output responses of roll, pitch, and yaw channels for the above three cases, respectively, wWhere solid line represents the attitude angle under MRAC law and dashed line represents the attitude angle under PID control law.
The performance indexes of attitude control system under all cases are listed in Table 1.
We can see from above that there is almost no difference for attitude angle response under MRAC laws for all cases shown in Figures 4 to 6. In other words, the control performance indexes still can be satisfied even with parameter perturbation and external disturbance. Adjust PID control law parameters and make the control performance under Case 1 to satisfy the design index. However, the maximum overshoot and settling time of output response will increase while the same PID parameters are applied to Case 2 and Case 3. The control performance becomes worse.
The design of attitude control system for UAV is presented by integrating feedback linearization and MRAC methods. The complicated coupling nonlinear dynamic model was decoupled into three independent SISO systems by feedback linearization. Then, the control law of each channel was designed using MRAC method and PID method, respectively. The mathematics simulation results indicate that the attitude control system can achieve better control performance including maximum overshoot, settling time, and rise time under MRAC law than that under PID control law. In addition, a stronger robustness with respect to aerodynamic parameter perturbation and gust disturbance has been obtained in MRAC system.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
- M. Lorenzo, N. Roberto, and I. Alberto, “High-gain output feedback for a miniature UAV,” Journal of Robust and Nonlinear Control, 2013.
- B. Godbolt, N. I. Vitzilaios, and A. F. Lynch, “Experimental validation of a helicopter autopilot design using model-based PID control,” Journal of Intelligent and Robotic Systems, vol. 70, pp. 385–399, 2013.
- H. Chao, Y. Luo, L. Di, and Y. Q. Chen, “Roll-channel fractional order controller design for a small fixed-wing unmanned aerial vehicle,” Control Engineering Practice, vol. 18, no. 7, pp. 761–772, 2010.
- T. Yamasaki, S. N. Balakrishnan, and H. Takano, “Integrated guidance and autopilot design for a chasing UAV via high-order sliding modes,” Journal of the Franklin Institute, vol. 349, no. 2, pp. 531–558, 2012.
- A. R. Babaei, M. Mortazavi, and M. H. Moradi, “Classical and fuzzy-genetic autopilot design for unmanned aerial vehicles,” Applied Soft Computing Journal, vol. 11, no. 1, pp. 365–372, 2011.
- B. T. Whitehead and S. R. Bieniawski, “Model reference adaptive control of a quadrotor UAV,” in Proceedings of the AIAA Guidance, Navigation, and Control Conference, Toronto, Canada, 2010.
- S. Kurnaz, O. Cetin, and O. Kaynak, “Adaptive neuro-fuzzy inference system based autonomous flight control of unmanned air vehicles,” Expert Systems with Applications, vol. 37, no. 2, pp. 1229–1234, 2010.
- E. Capello, G. Guglieri, F. Quagliotti, and D. Sartori, “Design and validation of an L1 adaptive controller for mini-UAV autopilot,” Journal of Intelligent and Robotic Systems, vol. 69, pp. 109–118, 2013.
- A. R. Babaei, M. Mortazavi, and M. H. Moradi, “Fuzzy sliding mode autopilot design for nonminimum phase and nonlinear UAV,” Journal of Intelligent and Fuzzy Systems, vol. 24, pp. 499–509, 2013.
- H. Pu, Z. Zhen, and D. Wang, “Modified shuffled frog leaping algorithm for optimization of UAV flight controller,” International Journal of Intelligent Computing and Cybernetics, vol. 4, no. 1, pp. 25–39, 2011.
- H. Z. Pu, Z. Y. Zhen, J. Jiang, and D. B. Wang, “UAV flight control system based on an intelligent BEL algorithm,” Journal of Advanced Robotic Systems, vol. 10, no. 121, pp. 1–8, 2013.
- C. X. Lu and Q. Huang, “Design of the platform for a UAV flight control system based on STM32,” Journal of Digital Content Technology and Its Applications, vol. 7, no. 5, pp. 1033–1041, 2013.
- I. Yavrucuk and V. Kargin, “Autolanding controller strategies for a fixed wing UAV in adverse atmospheric conditions,” in Proceedings of the AIAA Guidance, Navigation and Control Conference and Exhibit, Portland, Ore, USA, August 2008.
- Y. C. Paw and G. J. Balas, “Development and application of an integrated framework for small UAV flight control development,” Mechatronics, vol. 21, no. 5, pp. 789–802, 2011.
- A. B. Milhim and Y. M. Zhang, “Quad-rotor UAV: high-fidelity modeling and nonlinear PID control,” in Proceedings of the AIAA Modeling and Simulation Technologies Conference, Toronto, 2010.
- M. Lungu and R. Lungu, “Adaptive backstepping flight control for a mini-UAV,” International Journal of Adaptive Control and Signal Processing, vol. 27, no. 8, pp. 635–650, 2013.
- J. Shin, H. Jin Kim, and Y. Kim, “Adaptive support vector regression for UAV flight control,” Neural Networks, vol. 24, no. 1, pp. 109–120, 2011.
- H. Gao, T. Chen, and J. Lam, “A new delay system approach to network-based control,” Automatica, vol. 44, no. 1, pp. 39–52, 2008.
- H. Yan, Z. Su, H. Zhang, and F. Yang, “Observer-based control for discrete-time stochastic systems with quantisation and random communication delays,” IET Control Theory & Applications, vol. 7, no. 3, pp. 372–379, 2013.
- H. Zhang, H. Yan, F. Yang, and Q. Chen, “Distributed average filtering for sensor networks with sensor saturation,” IET Control Theory & Applications, vol. 7, no. 6, pp. 887–893, 2013.
- S. Y. Yang, S. J. Tang, C. Liu, and J. Guo, “Design and verification the simulation system of UAS flight control considering the effects of time delay,” Applied Mechanics and Materials, vol. 278–280, pp. 1746–1753, 2013.
- H. Zhang, H. Yan, F. Yang, and Q. Chen, “Quantized control design for impulsive fuzzy networked systems,” IEEE Transactions on Fuzzy Systems, vol. 19, no. 6, pp. 1153–1162, 2011.
- L. X. Zhang, H. J. Gao, and O. Kaynak, “Network-induced constraints in networked control systems-a survey,” IEEE Transactions on Industrial Informatics, vol. 9, no. 1, pp. 403–416, 2013.
- J.-P. Gao and Z.-J. Chen, “Study on gain-scheduling problem in flight control,” Chinese Journal of Aeronautics, vol. 12, no. 4, pp. 217–221, 1999.
Copyright © 2014 Wenya Zhou et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.