The Scientific World Journal

The Scientific World Journal / 2015 / Article
Special Issue

Modeling, Control, and Optimization in Aeronautical Engineering

View this Special Issue

Research Article | Open Access

Volume 2015 |Article ID 403236 | https://doi.org/10.1155/2015/403236

J. López, R. Dormido, S. Dormido, J. P. Gómez, "A Robust Controller for an UAV Flight Control System", The Scientific World Journal, vol. 2015, Article ID 403236, 11 pages, 2015. https://doi.org/10.1155/2015/403236

A Robust Controller for an UAV Flight Control System

Academic Editor: Zheng Zheng
Received27 Nov 2014
Revised14 Jan 2015
Accepted19 Feb 2015
Published09 Jun 2015

Abstract

The objective of this paper is the implementation and validation of a robust controller for an UAV to track all types of manoeuvres in the presence of noisy environment. A robust inner-outer loop strategy is implemented. To design the robust controller in the inner loop, control methodology is used. The two controllers that conform the outer loop are designed using the Loop Shaping technique. The reference vector used in the control architecture formed by vertical velocity, true airspeed, and heading angle, suggests a nontraditional way to pilot the aircraft. The simulation results show that the proposed control scheme works well despite the presence of noise and uncertainties, so the control system satisfies the requirements.

1. Introduction

There is a considerable and great interest in using unmanned air vehicles (UAVs) to perform a multitude of tasks [1]. UAVs are gaining more powerful skills to accomplish a wide range of missions with high efficiency and high accuracy rate. They are becoming vital warfare and homeland security platforms because they significantly reduce both the costs and the risk to human life and first-responder capabilities. UAVs have many typical applications such as intervention in industrial plants, natural disasters intervention, cooperation with other ground robots in demining operations, through aerial mapping, remote environmental research, pollution assessment and monitoring, fire-fighting management, security, for example, border monitoring, law enforcement, scientific missions, agricultural and fisheries applications, oceanography, or communications relays for wideband applications. Due to their numerous benefits, it would be nice to decrease the global cost of this type of aircraft. In this sense, the flight control design problem for low cost UAV still requires significant efforts, being the control and dynamic modeling of UAVs which is an attractive field of research.

The control of UAVs is not an easy task as the UAV is a multi-input multioutput (MIMO), under actuated, unstable, and highly coupled system. Many traditional control strategies have been used over the years for the control of UAVs, such as linear quadratic regulator (LQR) [2, 3].

Robust techniques have also been applied to design controllers to achieve robust performance and simultaneously guarantee stability when system deviates from its nominal design condition and/or is subjected to exogenous disturbances. In particular, robust control method by Zames [4, 5] has been used in flight control systems for both lateral and longitudinal dynamics of aircraft [68].

In this work, an inner-outer loop control architecture applied to the longitudinal and lateral flight motions is implemented using the Loop Shaping Design procedure [9, 10] to synthesize the inner-loop controller. The technique decouples the longitudinal and lateral dynamics and minimizes the cross effects involved. The feasibility of the controller is analyzed.

The control scheme is implemented on a 6-DOF nonlinear simulation model. Different simulation results are presented to show the robustness of the proposed control architecture. The paper is structured as follows. Section 2 presents the aircraft model and its linearization. Section 3 describes the control problem, presenting the control objectives and the control scheme. Design results are analyzed in Section 4. Flight test results are presented in Section 5.

2. Aircraft Model

2.1. Fully Nonlinear Dynamic Model

The UAV is a 1/3 scaled down model of a Diamond Katana DA-20 shown in Figure 1.

The main characteristics of the aircraft are as follows:(i)span 3.9 m,(ii)wing surface 1.47 square meters,(iii)mean aerodynamic chord 0.39 m,(iv)mass 18–30 kg,(v)cruise velocity 130 km/h,(vi)maximum velocity 200 km/h,(vii)engine power 8 HP,(viii)centre of gravity between 15 and 31% of mean aerodynamic chord.

Aircraft dynamics is described as a full 6-degree-of-freedom (DOF) 13-state high fidelity UAV nonlinear model. The nonlinear model has been developed in standard body axes centered at the aircraft center of gravity where points forward, through the aircraft noise, is directed to the starboard (right), and is directed through the belly of the aircraft.

Using the notation given by Stevens and Lewis [11], the flight dynamic model that describes the rigid body motion of the aircraft is given by the following equations.

Force equations are as follows:

Moment equations are as follows:

Kinematic equations are as follows:

Navigation equations are as follows:where is the mass; are the body axis velocity states; are the body axis rates; are the roll, pitch, and yaw angles, respectively; and are the north, east, and height positions. represents the aerodynamic force vector and represents the moment vectors. is the aircraft inertia: is the inertial top body transformation matrix; is the gravity vector, which is the transformation of the NED-frame gravity vector to the body axis frame, as shown below:where

The resulting model is described by a thirteen-state order model [12]. Due to the complexity and the uncertainty inherent to aerodynamic systems, the dynamic model was identified by a complete identification flight set through the full envelope. See Stevens and Lewis for details [11].

2.2. Linearized Dynamic Model

The nonlinear dynamic model described in Section 2.1. is linearized about certain trimmed operating conditions. This process is accomplished by perturbing the state and control variables from steady state.

The mathematical formulation of the dynamic system is modeled with standard continuous time invariant state space formulation given by (8). Where is a 13 × 13 matrix, a 13 × 4 matrix, a 12 × 13 matrix, and is a 12 × 4 matrix,and the state, output, and control vectors are, respectively,

The state vector components are true airspeed , angle of attack , sideslip angle , roll angle , pitch angle , yaw angle , roll rate , pitch rate , yaw rate , north position , east position , altitude , and power .

The output vector is formed by -component of acceleration , -component of acceleration , -component of acceleration , roll rate , pitch rate , yaw rate , longitude , latitude , altitude , north position derivative, east position derivative, and altitude derivative.

The control vector is defined by throttle , elevator , aileron , and rudder .

The dynamics are linearized about a representative flight condition. This nominal condition is  ms−1, centre of gravity position equal to 25% of mean aerodynamic chord, rad, rad, rad, rad, rad, rate of climb = 0 rad, and lateral acceleration = 0 rad.

3. Control Technique

3.1. Control Objectives

The main objective is the design of a robust controller to track all types of input commands in a noisy environment. The controller has to be designed as a trade-off robustness and performance in order to fulfill the specifications described in this section.

3.1.1. Closed Loop Specifications

Stability of the aircraft, minimal overshoot, and reasonably long settling time are important constraints in the design. Translated into physical design goals, the controller must perform the following specifications:(i)altitude response: overshoot < 5%, rise time < 5 s, and settling time < 20 s,(ii)heading angle response: overshoot < 5%, rise time < 3 s, and settling time < 10 s,(iii)flight path angle response: overshoot < 5%, rise time < 1 s, and settling time < 5 s,(iv)airspeed response: overshoot < 5%, rise time < 3 s, and settling time < 10 s,(v)cross coupling between airspeed and altitude: for a step in commanded altitude of 30 m, the peak value of the transient of the absolute error between airspeed and commanded airspeed should be smaller than 0.5 ms−1; conversely, for a step in commanded airspeed of 2 ms−1, the peak value of the transient of the absolute error between altitude and commanded altitude should be smaller than 5 m.

3.1.2. Gust Rejection

Second objective of the control system is to include robustness to gust effects on the aircraft. In this sense, turbulence can be considered as a stochastic process defined by its velocity spectra. For an aircraft flying at a cruise speed , a commonly used velocity spectra for turbulence model is the Dryden spectra [13]:where is the frequency in rad s−1, is the turbulence standard deviation, and is the turbulence scale length. The turbulence parameters values for severe gust conditions are given by [14]where is the altitude. Our gust rejection specification is to reject all disturbances below 13 rad s−1.

3.1.3. Noise Rejection

Basically, the measured variables for the lateral control are the lateral acceleration and the yaw and roll rates measured in body fixed axis. For the selected sensors, the noise is high and concentrated in the frequency range above 30 rad s−1. Thus, high frequency specification is that in which all noise spectra, which normally occur above 30 rad s−1, should be rejected.

3.1.4. Robustness Specifications

The controller designed has to be robust against uncertainty in the plant model. The robust specifications are defined as follows.(i)Centre of gravity variation is as follows: stability and sufficient performance should be maintained for horizontal centre of gravity variations between 15% and 31% cbar (mean aerodynamic chord).(ii)Vertical centre of gravity must not suffer variations: it should remain at 0% cbar.(iii)Mass variations are as follows: stability and sufficient performance should be maintained for aircraft mass variations between 18 and 30 kg.(iv)Time delay is as follows: stability and sufficient performance should be maintained for transport delays from 0 to 60 ms.(v)Speed variations are as follows: stability and sufficient performance should be maintained for speed variations from 1.23VS (stall velocity) to 55 m s−1 (200 Km/h).

3.2. Controller Design

The control architecture is based on that proposed by Tucker and Walker [13]. As Figure 2 shows, basically, it consists of two loops: an inner-loop controller to achieve stability and robustness to expected parameter uncertainty and an outer loop for tracking reference performances.

The design of the inner loop is focused on maintaining the vertical velocity deviation, the heading angle deviation, and the airspeed deviation near zero.

Two different controllers conform to the outer loop: the altitude controller and the heading angle-lateral deviation controller. Both controllers are synthesized using the Loop Shaping technique (see [9, 15, 16]).

Figure 3 shows the general framework used in the design process.

3.2.1. The Inner Loop Synthesis Procedure

Figure 4 shows the inner loop architecture. Its main goal is to minimize both the deviation to desired output and the control effort. is the reference input vector, whose components are the vertical speed, airspeed, and the roll angle. is the control signal. is the vector of performance outputs. is the vector of weighted control inputs. The feedback variables are the vertical speed, airspeed, the roll angle, the pitch rate, the yaw rate, the roll rate, and the sideslip.

The total plant is formed by the plant (the linearized UAV model), the actuators model, and the corresponding delays. These delays are modelized using the first order Pade approximations. They are used to represent plant uncertainties in the high frequency range such as modeling errors and neglected actuator dynamics. Four delays of 100 ms are included in the plant model, one in each input including the throttle.

The actuator model for , , and is given by the first-order linear approximation and the engine model is represented by .

The sensor noise is represented by means of white noise model. The standard deviations of the sensor noise corresponding to the output vector are 0.1 ms−2 for accelerations, 0.005 rad s−1 for angular velocity, 5 m for position, and 0.5 ms−1 for velocity.

The controller is designed using the technique. It must guarantee the stability and follow an ideal model, the so called matching model . That is, the closed loop system output is expected to match , the output of the ideal model .

The matching model , which defines the behaviour of the vertical speed, the true speed, and the heading angle, consists of the following three second-order systems:

The matching model is selected to accomplish desired behaviour of the vertical speed, airspeed, and roll angle to achieve the closed loop specifications detailed in Section 3.1. The cross coupling terms are zero, thus, defining the requirement for closed loop system as decoupled.

Four weights () are used in the inner loop to accomplish the frequency dependent specifications on performance and robustness. They are added to maximize disturbances rejection and to minimize wind gusts effects and sensor noises.

is related with reference tracking. So, its elements are selected as low pass filters. The yaw rate and roll rate are selected as pass band filters.

is devoted to minimize the control effort. This is why it is selected as a high pass filter, where its gain and bandwidth are chosen to allow low frequency control effort and to minimize high frequency control effort.

and are unity matrix. They weight turbulences and output disturbances, respectively.

The controller’s synthesis is accomplished using an iterative procedure. First, the weights are selected; then the controller is synthesized and finally the resulting system performances are analysed.

After this iterative process, the weights selected are the following:

After some iterations, a stabilizing controller is determined. This controller minimizes the variables y (see Figure 3) which corresponds to deviation between the desired output, provided by the matching model and the real aircraft output and control effort. The subresulting suboptimal robust stability margin is .

3.2.2. The Outer Loop Synthesis Procedure

Two different controllers conform to the outer loop: the altitude controller (see Figure 5) and the heading angle-lateral deviation controller (see Figure 6). The two outer-loop controllers are synthesized using the Loop Shaping technique [16].

Figure 5 shows the first problem to be solved, where is the controller and and are the weights used to tune the optimization. The simplified models of the plant used to synthesize these controllers are those defined in the matching model.

In the design of the altitude controller, an output integrator is used to provide height and vertical velocity outputs. An input integrator is used to improve the low frequency behaviour.

In a similar way in the heading angle-lateral deviation controller design an output integrator is used to provide yaw angle and its derivative outputs. An input integrator is used to improve the low frequency behaviour.

The gamma values encountered are 3.18 and 2.5 for the altitude controller and the heading angle-lateral deviation controller, respectively.

The heading angle and lateral deviation controllers have been built together due to the hard interaction between the variables implied which motivates a tedious iterative process when individual controllers were designed. In this approach, these two controllers are synthesized jointly.

4. Design Results

The performance of a system can be represented by the sensitivity function . The maximum singular value of is an important boundary in this case. By using the largest singular value, we are effectively assessing the worst case scenario. Performance specification means the minimization of the sensitivity function as much as possible for low frequencies. At the same time, control effort should be small in the high frequency range.

Figure 7 shows the sensitivity function. It is easy to see that our goal of minimising the sensitivity at low frequencies has been achieved. At high frequencies, the gain is unity and around the bandwidth there is a peak in the response.

This behaviour of the sensitivity enables good tracking reference at the low frequency range and noise reduction and robustness in the high frequency range.

Figure 8 shows the control effort behaviour which is lower in the high frequency range as it was expected.

Since the controller designed produces a 46-size state space realization, it is necessary to apply controller reduction techniques. A final state realization for the controller of dimension 27 is achieved using Hankel minimum degree approximation (MDA) without balancing reduction method [17].

This method has been applied iteratively checking the frequency and time responses every step to evaluate the performance of the proposed UAV control scheme. One example of the time response in one step of this iterative process is shown in Figure 9.

Figure 10 shows the effect of an incorrect order reduction. This performance is obtained when an order reduction is forced and the reduced controller is not able to maintain the desired specifications.

5. Simulation Tests Results

In order to validate the controller designed, a set of test cases have been developed. Below, an experience corresponding to 45-degree heading angle step response is shown. The results allow checking the performance of the aircraft in a noisy environment along this type of manoeuvre.

The airplane desired reference is illustrated in Figure 11. The dashed line is the desired trajectory.

Figure 12 shows the airplane simulated trajectory tracked. The dashed line is the desired trajectory and the continuous line is the real one.

The controller is able to manage adequately the output and to calculate the control vector. Control variables evolutions are shown in Figure 13. The throttle varies around 2% and elevator, ailerons, and rudder present a smooth behaviour. The aileron and rudder are deflected by the controller to order the 45-degree change of direction. Immediately, a sustentation loose typical in this type of manoeuvers is suffered by the aircraft. To compensate this trend, the elevator acts to raise the noise of the aircraft and slightly increase the throttle to maintain the velocity.

Figure 13 confirms that the control variables remain far from its saturation values. The power demand is less than 40% and the elevator, aileron, and rudder demanded deflections are less than 5 degrees. In this case, if the altitude holder is not connected, in 5 s, the airplane suffers an altitude loss of 3 m and rapidly it recovers the desired altitude, in about 5 s more. The UAV quickly corrects its heading angle turning to reduce the error. In about 4.5 s, the error is null; however, the airplane continues turning. This is produced because of the lateral deviation. If the airplane stops its turning movement in 4.5 s, it would continue straight ahead along a parallel line to the desired trajectory. To reduce the lateral deviation, it must continue turning and augmenting, in a first stage, the heading angle error. Following this strategy, the controller gains its tracking heading angle and its lateral deviation reduction goal.

6. Flight Test Results

For testing the whole system and the performance of the controller in flight, many real tests are accomplished. These tests are scheduled to validate in essence the physical design of the UAV, communications equipment, engine capabilities, and onboard software. A very important part of onboard software is the flight control system.

To manage the UAV platform, a ground station is developed (see Figure 14). It enables following the position and the attitude of the aircraft directly on a map shown in the computer. It also allows showing the main variables of the UAV which are sent through a radio link. The ground station allows introducing a set of waypoints. The autopilot takes care of both navigation and stability of the plane. The mission is planned via waypoints, placing on a geo referred map the position of each waypoint at the beginning of the mission. This mission can be easily modified during its execution by adding/changing/removing waypoints in the map.

The system provides a user-friendly interface used to display the plane position in real time on a map during the mission and to monitor some UAV parameters such as battery levels, speed, position and orientation, or the sensors measurements. The system also provides a radio link which allows a continuous exchange of data between the plane and the control station.

In an emergency case, the aircraft can switch to a PIL (pilot in the loop) mode in which the plane can be teleoperated from the control station by using a control-stick while the onboard autopilot remains on sleep mode.

The selected test to illustrate the aptitudes of the autopilot designed is a circuit formed by four waypoints which is shown in Figure 15. The tracking reference trajectory is shaped for the waypoints labelled from one to four. The circles around the waypoint determine the instance when the reference input changes to the next waypoint (goal condition).

The reference is provided to the autopilot as a psi angle function and is built in a soft way using a combination of a step and a ramp. The reference is shown in the Figure 16.

Figure 17 shows how the UAV is capable of managing adequately the uncertainties and disturbances introduced by the modelling inaccuracies and the noisy output provided by the sensor. The response of the aircraft is not oscillating and it reaches the correct trajectory quickly when covering 600 m approximately which means 20 s at 30 ms−1 of mean velocity.

The entire trajectory covered is around 160 s and the psi angle and lateral deviation error are minimized satisfactorily. A desired decoupling between lateral and longitudinal dynamics is achieved.

Figure 18 shows the noisy accelerations output provided by the inertial sensors to the controller.

Figure 19 shows the onboard equipment mounted on the UAV. In Figure 20, the UAV during the test cases is shown.

7. Conclusions

The dynamics of the UAVs are highly nonlinear and continuously vary with time. Also, it is subjected to severe external disturbances. Due to this, dynamic and parametric uncertainties arise in the mathematical model of the UAVs over different operating conditions. This paper addresses the problem of designing a robust control system for UAVs in the presence of uncertainties using technique. The controller implemented allows the UAV to track all types of manoeuvres in the presence of noisy environment. The reference vector used, formed by vertical velocity, true airspeed, and heading angle, suggests a nontraditional way to pilot the aircraft that is based on commanding the desired reference vector and lets the controller select throttle position and surfaces deflections. This kind of pilot-machine interaction appears to be a more intuitive approximation.

The frequency domain analyses show that the proposed controller guarantees good performance, attenuating high frequency noise and also supplying suitable control signals. The tracking performance of the UAV is within the desired tracking performance range. The control efforts during soft manoeuvres are in the same way moderated. The first results obtained with the real UAV with the controller designed appeared to be very suitable.

The desired behaviour is introduced using a matching model . This architecture allows modifying the desired performances without varying the controller architecture.

The architecture selected to decouple the longitudinal and lateral dynamics provides very good performances. The outer-loop controller gives a very good behaviour in case of step responses, ramp responses, and combinations of these two input types. It is important to note that the outer loop shows a signal derivative at the input and this should be avoided. This signal derivative is not part of the real implementation. In this case, the inputs of the outer loop are provided directly by the GPS (height and vertical velocity). The specifications and robustness performances have been validated by mean of simulation and real tests.

Conflict of Interests

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

Acknowledgments

This work has been funded by the National Plan Project DPI2012-31303 of the Spanish Ministry of Economy and Competitiveness and FEDER funds.

References

  1. Office of the Secretary of Defense, “Unmanned aircraft systems roadmap 2005–2030,” Tech. Rep., United States Department of Defence, 2005. View at: Google Scholar
  2. S. Franko, “Lqr based trajectory control of full envelope, autonomous helicopter,” in Proceedings of the World Congress on Engineering, vol. 1, London, UK, July 2009. View at: Google Scholar
  3. V. G. Nair, M. V. Dileep, and V. I. George, “Aircraft yaw control system using lqr and fuzzy logic controller,” International Journal of Computer Applications, vol. 45, no. 9, pp. 25–30, 2012. View at: Google Scholar
  4. G. Zames, “Feedback and complexity, special plenary lecture addendum,” in Proceedings of the IEEE Conference on Decision and Control, 1976. View at: Google Scholar
  5. G. Zames, “Optimal sensitivity and feedback: weighted seminorms, approximate inverses, and plant invariant schemes,” in Proceedings of the 17th Allerton Conference, pp. 744–752, 1979. View at: Google Scholar
  6. M. Giacomn-Zarzar, R. Ramirez-Mendoza, P. J. Fleming, I. Griffin, and A. Molina-Cristbal, “Robust H controller design for aircraft lateral dynamics using multi-objective optimization and genetic algorithms,” in Proceedings of the 17th IFAC World Congress, The International Federation of Automatic Control, Seoul, Republic of Korea, July 2008. View at: Google Scholar
  7. R. J. Adams and S. S. Banda, “Robust flight control design using dynamic inversion and structured singular value synthesis,” IEEE Transactions on Control Systems Technology, vol. 1, no. 2, pp. 80–92, 1993. View at: Publisher Site | Google Scholar
  8. J. C. Doyle, K. Glover, P. P. Khargonekar, and B. A. Francis, “State-space solutions to standard H2 and H control problems,” IEEE Transactions on Automatic Control, vol. 34, no. 8, pp. 831–847, 1989. View at: Publisher Site | Google Scholar | MathSciNet
  9. D. McFarlane and K. Glover, “A loop shaping design procedure using H synthesis,” IEEE Transactions on Automatic Control, vol. 37, no. 6, pp. 759–769, 1992. View at: Publisher Site | Google Scholar | MathSciNet
  10. K. Zhou, J. C. Doyle, and K. Glover, Robust and Optimal Control, Prentice-Hall, 1996.
  11. B. L. Stevens and F. L. Lewis, Aircraft Control and Simulation, Wiley-Interscience, New York, NY, USA, 1992.
  12. P. Lambrechts, S. Bennani, G. Looye, and A. Helmersson, Robust Flight Control Design Challenge. Problem Formulation and Manual: The Research Civil Aircraft Model (RCAM), GARTEUR, 1997.
  13. M. R. Tucker and D. J. Walker, “RCAM design challenge presentation document: an H infinite approach,” Tech. Rep. GARTEUR TP-088-21, 1997. View at: Google Scholar
  14. U.S. Military Handbook MIL-HDBK-1797, Flying Qualities of Piloted Aircraf, 1997.
  15. J. López, R. Dormido, S. Dormido, J. P. Gómez, and I. Gómez, “An H-infinite robust tracker controller for an UAV under realistic simulated environmental effects,” in Proceedings of the 17th World Congress, International Federation of Automatic Control (IFAC '08), pp. 6136–6141, July 2008. View at: Google Scholar
  16. S. Skogestad and I. Postlethwaite, Multivariable Feedback Control, Wiley, 1996.
  17. G. J. Balas, J. C. Doyle, K. Glover, A. Packard, and R. Smith, μ-Analysis and Synthesis Toolbox: User's Guide, The MathWorks, 2001.

Copyright © 2015 J. López 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.


More related articles

 PDF Download Citation Citation
 Download other formatsMore
 Order printed copiesOrder
Views4662
Downloads1030
Citations

Related articles

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.