- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
International Journal of Aerospace Engineering
Volume 2013 (2013), Article ID 289357, 25 pages
Adaptive and Resilient Flight Control System for a Small Unmanned Aerial System
Department of Aerospace Engineering, University of Kansas, 2120 Learned Hall 1530 W 15th Street, Lawrence, KS 66045, USA
Received 2 October 2012; Revised 18 February 2013; Accepted 18 February 2013
Academic Editor: Nicolas Avdelidis
Copyright © 2013 Gonzalo Garcia and Shahriar Keshmiri. 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.
The main purpose of this paper is to develop an onboard adaptive and robust flight control system that improves control, stability, and survivability of a small unmanned aerial system in off-nominal or out-of-envelope conditions. The aerodynamics of aircraft associated with hazardous and adverse onboard conditions is inherently nonlinear and unsteady. The presented flight control system improves functionalities required to adapt the flight control in the presence of aircraft model uncertainties. The fault tolerant inner loop is enhanced by an adaptive real-time artificial neural network parameter identification to monitor important changes in the aircraft’s dynamics due to nonlinear and unsteady aerodynamics. The real-time artificial neural network parameter identification is done using the sliding mode learning concept and a modified version of the self-adaptive Levenberg algorithm. Numerically estimated stability and control derivatives are obtained by delta-based methods. New nonlinear guidance logic, stable in Lyapunov sense, is developed to guide the aircraft. The designed flight control system has better performance compared to a commercial off-the-shelf autopilot system in guiding and controlling an unmanned air system during a trajectory following.
The effectiveness of aircraft flight control systems in off-nominal conditions is heavily dependent upon the quality and accuracy of physics-based models and numerical simulations. The accuracy of these models depends on the mathematical formulation that describes the true physics, how uncertainty affects the outputs, and whether the model mismatch can be identified and estimated. In classical flight dynamics, the measured aerodynamic forces and moments are represented by differentiable functions and expanded in Taylor series. Although it is effective in benign portions of the flight envelope, this mathematical structure is incapable of modeling nonlinear and unsteady aerodynamics associated with hazardous and adverse onboard conditions. Adverse onboard conditions include vehicle impairment; system faults, failures, and errors and vehicle damage. External hazards and disturbances include wind shear and poor visibility; wake vortices; thunderstorms; snow and icing conditions. Aircraft robust control systems are designed to deal with uncertainty in dynamic models due to modeling errors, noise, and disturbances.
The motivation of this work is to develop a robust flight control system to improve control, stability, and survivability of a small unmanned aerial system (UAS) in hazardous and abnormal flight conditions. The presented flight control system consists of guidance, navigation, and control modules with adaptive control technologies and incorporated real-time learning-based system identification using artificial neural networks (ANNs) to update the physics-based model of UAS. An extended Kalman filter (EKF) is used to improve the measurements and to estimate inaccessible variables including the inertial wind components. The research is aimed at advancing flight control systems by the integration of functionalities required to update the physics-based model and adapt the control-law in presence of model uncertainties due to unsteady and nonlinear aerodynamics. The overall configuration comprises a set of stabilizing robust H-infinity controllers in the inner loop for adjacent trim points, to be scheduled when required. New nonlinear guidance logic, stable in Lyapunov sense, is developed to guide the aircraft. The new guidance law can achieve a stable and steady-state error-free guidance through the use of integral effect and by lifting constraints related to maximum distances and relative position with respect to the trajectory, expanding them to the entire state space.
Significant research has been carried out in areas of nonlinear guidance, navigation, adaptive control, and estimation. A broad range of research can be found on trajectory tracking, path following, and robust nonlinear controllers [1–9]. In , authors presented the design of guidance and control algorithms for autonomous vehicles through a simultaneous process that achieved a zero steady-state error about a trim point and, at the same time, guaranteed stability by avoiding possible cross-coupling between loops. In , a lateral track control-law for an autonomous aerial system that handles a larger range of wind disturbance was presented. A different approach is presented in  where the tracking control problem is formulated as a constrained nonlinear optimization problem. Unlike receding horizon methods, the minimization must be performed at the current instant. Reference  introduced nonlinear guidance logic for curved trajectory tracking reducing to a proportional-derivative control when applied to straight lines. In [5, 6], waypoint guidance was improved by including the horizontal wind estimation, allowing the aircraft to smoothly converge to a new course after switching to the next trajectory segment. A different approach for path following is presented in  where vector fields are used to represent desired ground track and to direct the aircraft to the desired track. More recently, in , a Lyapunov-based adaptive back stepping approach is used to design a flight-path controller for a nonlinear F-16 model. A nonlinear lateral guidance law, introduced in , is extended and modified by the authors to the longitudinal plane in  and tested in simulation.
Estimation of unmeasured states from noisy observations has become an essential part of flight control systems. The Kalman filter, either with an adaptive matrix gain or a fixed one, appears to be the most widely used observer (see [10–13]). Different versions of the Kalman filter ranging from linear to nonlinear, with static or time-varying Kalman gains, have been used. More refined filters such as Particle Filtering  and Sigma-Point  are designed to achieve better estimations. Another interesting approach is detailed in , where a nonlinear filter is designed using the state-dependent Riccati equation (SDRE) method. This technique is applicable whenever the UAS is describable in a time-varying linear format. Reference  estimates the external wind component in the horizontal plane to correct the velocity transformations between the respective coordinate systems. Reference  presents application of Kalman filters in estimation of wind components.
Different approaches using ANN for estimation of aerodynamic coefficients have been reported. In references [19–25], ANNs were propagated in a feedforward manner and their weights and biases were numerically searched by back propagating the estimation quadratic error. References [22, 23] extract the stability and control derivatives of an unstable aircraft under closed loop using a technique called Delta method. In [26–29], the fuzzy logic method was used as an alternative to ANN. The fuzzy logic modeling is used to capture nonlinear unsteadiness aerodynamic. In [26–28], fuzzy logic was used as an alternative to ANN to capture nonlinearities and unsteadiness in aerodynamics. In , using postflight fuzzy logic analysis, instability, high nonlinearity, and time-dependency were found in aircraft dynamics in crosswind.
The paper is structured as follows. Section 2 presents the nonlinear modeling of the aircraft and its linear equivalent at equilibrium points. Section 3 describes the inner loop and the H-infinity controller design, techniques for gain scheduling, the outer loop and its attitude guidance logics, and assessment of guidance logic inherent stability. Section 4 describes the design of the extended Kalman filter and its main properties, and Section 5 describes the ANN and its role in aerodynamic coefficient estimation. The paper is finalized with results from comparison of the designed flight control system (FCS) with flight test data obtained from a commercial off-the-shelf (COTS) autopilot.
2. Aircraft Modeling
Following , a 33% scale Yak-54, shown in Figure 1(a), is modeled using Newton-Euler equations for 6-DOF rigid-body motion, as detailed in Appendix A. Its dynamics, defined in the coordinate systems shown in Figure 1(b), is a function of the states , that is, airflow angles , airspeed , attitude angles , body angular rates , and inertial position . Throttle, elevator, aileron, and rudder servos are modeled as a first-order system with time constants and states , respectively. Wind components are included as uncontrollable, but measurable, disturbances to the model and will be estimated by an extended Kalman filter.
Controllable inputs to the system are propulsive and aerodynamic forces and moments, and gravity is understood as an uncontrollable input. By assuming perfect alignment with -axis in body frame , propulsion or thrust is modeled parametrically as a polynomial function on , as shown in Appendix B; consequently, no moments are induced. The aerodynamic forces and moments , defined in body frame , are not directly measurable, and they need to be estimated from accessible data. It is customary to express them in a normalized way as a function of coefficients and , as follows: where and are the wing span and wing geometric mean chord, is the wing reference area, and is the dynamic pressure, with air density .
Although limited, a widely accepted parametric modeling is the component build-up approach, a time quasisteady and linear (in perturbed states around the trim condition ) model. Given its linearity and time-invariant structure, the model is valid in close proximity to the selected trim point. The present work chooses this method, based on , to assemble and compute these aerodynamic coefficients, as detailed in Appendix C. All constant coefficients, called stability and control derivatives, are obtained offline for selected trim conditions . A useful tool, used to obtain stability and control derivatives in this work, is the engineering level software Advanced Aircraft Analysis (AAA) , developed by Design, Analysis, and Research Corporation (DARcorporation) that has a built-in aerodynamic database for different types of aircraft models. The AAA modeling is based on the chosen trim condition and the aircraft geometric parameters.
Designing a set of linear time-invariant controllers requires linear and time-invariant representations of the UAS in each equilibrium or trim point. For this purpose, a UAS nonlinear state space model derived from previous development and denoted and with , with and , is linearized at each equilibrium , indexed by superscript . Subscript refers to the equilibrium point. The following truncated Taylor series expansion of the state space equation up to a first-order derivative, at each equilibrium point, gives the linear representation of the system at equilibrium. After cancellation of constant terms and defining the partial derivatives evaluated at each equilibrium point, the following linear time-invariant model, denominated , is obtained for control design purposes:
The work done in  employed the vortex lattice model (VLM) as a second method for estimation of some of the stability and control derivatives. For uncertainty analysis, results from the AAA and VLM estimations were compared with results from flight tests system identification. Table 2 shows stability and control derivatives, the level of uncertainty (maximum and minimum), and the resultant center values and half range of each uncertainty derived from comparison. In order to switch trim conditions using gain scheduling, the same set of information and analysis had to be generated at those different trim points. In this research, and for the sake of abstraction, only information for one trim point, at (knots), is presented.
At the chosen trim condition, the linear model is stable in the roll, dutch roll, phugoid, and short period modes and is unstable in the spiral mode. Figure 2 shows the linearized system poles, zeros and modes.
3. Inner and Outer Loops Design
3.1. Inner Loop
The inner loop is constituted by a set of robust H-infinity controllers and a mechanism to perform gain scheduling among them based on current dynamic conditions. The linear time-invariant plant, given in (3), is augmented with design weighting matrices , and , as shown in Figure 3(a), with inputs and outputs , becoming the augmented plant .
This is done in order to harmonize otherwise conflicting performance objectives, as low frequency reference tracking and disturbance rejection, and high frequency noise cancellation, by appropriately shaping particular closed loop sensitivity functions through these frequency-dependent weighting matrices. Plant is then expressed as where superscript continues to be an index among the set of augmented plants corresponding to each linearized plant . One of the main requirements of the chosen gain scheduling procedure is to have a homogeneous augmented plant set in terms of same structure, states, inputs, and outputs. This is achieved by having a homogeneous linearized plant set, in terms of the similar nature of zeros and poles, same weighting matrices, and same controller calculation method.
The state vector is constructed by adding the states of the linearized plant and the states of the weighting matrices. In particular, the inertial positions are left out of the augmented state vector as they will be used in the guidance, and also yawing angle is not included for being superfluous.
If the conditions detailed in Appendix D are met, then the suboptimal control problem [34, 35] provides a controller that internally stabilizes the closed-loop system such that for a given , where is the closed-loop transfer function from exogenous inputs (including references, disturbances, and noises) to error responses (including weighted error, control, and output signals). In the present work, is constructed as follows: as a combination of desired weighted closed loop objectives, , , and , that is, sensitivity, output sensitivity, and complementary sensitivity, respectively. Weighting allows their joint minimization. For an effective low frequency reference tracking and disturbance rejection, the weighting matrix is built to have high singular values at the required range. For high frequency noise cancelation, is designed to have high singular values in those higher frequencies. The weighting matrix is designed as a constant matrix to uniformly penalize the control effort from getting unfeasible values and saturate actuators. Figure 3(b) shows singular values of the dynamic weightings chosen for the current trim condition.
In order to characterize parameter uncertainty (see Table 2), a linear fractional transformation (LFT) is employed. Uncertainties are extracted and packed into , as shown in Figure 4(a), leaving a deterministic plant , as opposed to the previous uncertain plant . This LFT interconnection can be defined as or as , where corresponds to the lower LFT and to the upper LFT. Assuming that , then by the Small Gain Theorem, the interconnected system shown in Figure 4(a) is internally stable if and only if , .
For each derivative given in Table 2, an uncertainty range is built considering the highest and lowest values. These extreme values are used to calculate the central value and half range value. With this information, a normalized uncertainty range is constructed and pulled out of the plant. Figure 4(b) shows the arrangement for which is extensible to remaining uncertain derivatives. Rearrangement of in terms of central value and half range value leaves its uncertainty block with . From pulling out of the system each uncertainty block, an overall block , from to , is assembled as shown in Figure 4(a).
The knots trim condition is labeled as , where, utilizing a set of weighting matrices as described before, a robust controller , with , is achieved. For this closed-loop configuration, after extracting the uncertainties blocks, the infinity norms , for each uncertain derivative, are shown in Table 3. The last row shows the worst case, the infinity norm for all uncertainties together; that is, . As by construction of , the Small Gain Theorem ensures that the controller robustness keeps stability facing the parameter uncertainty.
The flight control system’s inner loop is equipped with a moderate fault tolerant capability. It is based on the ability to detect and identify dynamic changes due to faults that are characterized by changes in the aerodynamic forces and moment’s causal functions. The implicitly assumed that static relation from aircraft states and state derivatives and controls to forces and moments is monitored through an online ANN. Changes in the network’s parameters indicate unsteadiness in the aircraft dynamics, or an important trim condition transition. This information is utilized to adapt the current controller (and potentially the extended Kalman filter’s model) for the new known dynamic condition, implementing a gain scheduling technique. The management of the ANN is addressed in Section 5.
Following the approach used in , the idea is to update the current controller based on an updated linear representation of the system , as described in (3). Its matrices are then used to compute a new robust controller through a new parameterization of , utilizing initially the same design parameters used in the computation of (i.e., same weighting matrices and same ). Some simulation results are presented in Section 6. Before applying the new controller, assumptions in Appendix D should be assessed.
3.2. Outer Loop
The overall task of the inner loop, through the robust controller, is to drive the aircraft to follow external commands generated by the outer loop, by minimizing the error between the commanded and the actual state. This minimization is performed over the error in airspeed, pitch angle, bank angle, and side slip angle; that is,
The outer loop’s task is to follow a trajectory path integrated by a set of waypoints , the straight segments subtended between them , and their assigned inertial speed . To this end, it has two main subsystems; one is to generate the attitude commands based on the current inertial position and speed , , , and the relative location of the aircraft with respect to the path to follow; a second subsystem is to generate the airspeed command based on the path inertial speed corrected with the estimated wind. The sideslip command does not require any specific logic, and it is set to zero for the entire flight.
The logic in the generation of attitude commands , to keep the aircraft on path, is based on a nonlinear guidance logic developed in  for lateral guidance, which for small errors and straight lines approximates a proportional-derivative controller acting on the cross-track error. It generates the . To calculate the , a novel extension to the longitudinal plane from  is developed and employed. This extension also adds new features to the original guidance idea, ensuring its stability for any location and any attitude of the aircraft. Stability in the sense of Lyapunov is proven hereinafter for the extended logic. Figure 5 shows the quantities involved for each plane separately.
The guidance logic calculates the angles and between the lateral and longitudinal components of the inertial velocity vector and and the corresponding components vectors and from the position vector subtended from the current UAS position and an imaginary point . Point is located in the current segment between to ; see Figure 5.
This point is also located at a fixed distance , a numerical value which is closely dependent on the dynamic characteristics of the aircraft. The intersection between the perpendicular line from the UAS position to the current segment is called . Point moves as moves in the direction of point . From the geometry seen in Figure 5, it is evident that a small or zero angle or is equivalent to a small or zero lateral or longitudinal cross-track error (distance between points and ) and the UAS flying in the segment direction, or that the UAS is off-track, but flying toward the trajectory. Once point reaches a predetermined distance to the end of the segment, the segment switches to the next waypoint, now between to , and the error angles are recalculated, based on the new position vectors.
These error angles and (being both negative as shown in Figure 5) are translated into attitude commands through the following nonlinear relations (see ): where gains and are convenient gains resembling PI controllers. The integral action has been added to force the steady state angle error to zero. The arctangent function acts as a smooth limiter, avoiding unrealistic growth of the commands. The adaptive gains and are used to adequately neutralize changes in the aircraft’s speed due to external disturbances, such as a wind gusts; see . For the particular geometry of the nonlinear logic, errors will be zero only when both vectors are aligned and the UAS is flying with zero cross-distance or when it is pointing toward the trajectory.
As the inner loop controller also works with the airspeed state error , the predefined segment inertial speed is converted from inertial to wind coordinate systems and adapted for the current wind estimation. So, when the aircraft, driven by the controller, is reaching the commanded airspeed and is on the track, it will also be flying closer to the desired inertial speed.
3.3. Stability in the Sense of Lyapunov
In order to test the stability of the guidance law (similar to ), a state space representation is developed in terms of the variables and , the shortest distance from the UAS to the trajectory. Then, its stability in the sense of Lyapunov is assessed. From Figure 6(a), relations are defined among guidance variables, where the time dependence has been included for clarity. Rate of change of distance is described as follows: where positive distance is as shown and is defined as . As a sign convention, angles measured counterclockwise are taken positive.
For the dynamics of the centripetal acceleration , shown in Figure 6(a), is defined as
By assuming the inner controller accomplishes a close tracking of , and assuming , which is valid for coordinated turns, the following dynamics holds: where the speed is assumed to be constant; that is, , , , and [ft]. The dynamics from (10) and (12) are used to form an autonomous nonlinear state space system and to evaluate its stability. Using a numerical and graphical solution, these equations are propagated in time for different initial conditions. Figure 6(b) shows phase portrait of the autonomous system, where all trajectories converge to the origin. It is clear that the lateral guidance logic is asymptotically stable in the sense of Lyapunov for any initial distance and .
4. Extended Kalman Filter
To improve the quality of measurements and to provide estimations of unmeasured quantities, an EKF is designed based on  (method briefly reviewed in Appendix E) for the following dynamic model composed of the aircraft modeling defined in Section 2. Biases and wind components are defined as new stateswhere body velocities and their time rate of changes are defined as in Section 2 and Appendix A. The EKF model also utilizes the following output equation , designed based on available sensors including inertial position (GPS), Euler angles (IMU), body angular rates (IMU), airflow angles vane and airspeed probe, 3D magnetic flux, body angular rate (3D gyros), translational accelerations (3D accelerometers), and elevator, aileron, and rudder deflection sensors
State vector , input vector , equivalent to the system input, and measurement vector are defined as where the subscript refers to bias, refers to acceleration, and indicates magnetic flux. Subscripts are defined in body frame and the subscript zero denotes the inertial reference magnetic flux for the flying area, assumed fixed. Variable is defined as a function of estimated states, as follows: where is the estimated dynamic pressure and are the estimated body aerodynamic force coefficients. The calculated accelerations plus the estimated biases , as shown in (15), are used as the estimated accelerations. They do not include gravity effects to keep consistency to accelerometer measurements. As in Section 2 and Appendix A, the same relations apply to the estimated stability and body aerodynamic coefficients and to the estimated thrust . The body magnetic flux is related to the inertial magnetic flux as follows: where corresponds to the direction cosine matrix for rotation from inertial reference to body reference . The inertial magnetic flux is a known fixed data obtained for the area to be flown.
5. Artificial Neural Network
A feedforward ANN with a single hidden layer, containing a finite number of neuron cells with sigmoid-type activation functions and a linear activation functions at the output cells, intrinsically materializes the universal approximation theorem. It approximates any multivariate continuous function on a compact domain subset of to any degree of accuracy. Based on this theorem, proven originally in , for any given continuous function , with , both normalized within the range and for , there exist an integer and a set of parameters (weights and biases) , and and with and a fixed value from the set indicating a particular function within a set of related functions, as is the case of aircraft accelerations, such that is as an approximation of the function ; that is, , where is a bounded monotonically increasing activation function. Figure 7 shows the general structure of the ANN and its interconnections.
To develop an iterative adaptive online algorithm, one learning epoch at each sample time is performed. This is done using a sliding window of data. This moving window has a constant length in time, but as new data is measured, the oldest data is discarded and the new is added as the most recent (concept similar to shift registering). Using the concept of sliding mode learning, the ANN is kept permanently in the training stage adapting its parameters to reflect changes in the dynamics of the aircraft.
For vertical acceleration estimation (reducing the ANN to one single output), the sliding windows of input and target data, and , are defined as follows, where sets the window’s length:
The training is done by minimizing the accumulated quadratic error between and the estimated ANN vertical accelerations , that is, minimizing the cost function , where where the line subscript is used to identify the ANN estimations, and where is the parameter vector with . Using a Newton-type search method, the following iterative update is defined as where and are the gradient and the Hessian of the cost function with respect to the parameter vector, defined as follows:
These quantities are approximated numerically at each iteration where the error vector can be approximated by a first-order Taylor series where the rows of , the Jacobian of , include the gradients of each element of with respect to the parameter vector as follows:
Then, the cost function , evaluated at , is expressed as
As a way to improve the numerical search, the Levenberg approach is chosen (see ), where a factor called Levenberg adaptive parameter is introduced. This method permits a transition from a steepest descent to a quadratic method when closer to the minimum. Based on this approach, (27) is modified as
Under Levenberg’s logic, this adaptive parameter is adjusted during each iteration based on the cost function evolution. In this paper, the logic is modified to reset the Levenberg’s adaptive parameter, that is, , when reaching predefined extreme values to avoid unbounded growing specially when the cost function has reached a minimum and consecutive iterations remain closer to it (a common occurrence in one-shot offline minimizations). This modification is required to keep the ANN under permanent training. The modification is as follows: where are the minimum and maximum allowed values, and and are the decrement and increment correction factors. All these factors are empirically obtained after extensive simulations.
6. Simulation and Testing
This section is devoted to test previous designs in simulation, by employing stored flight test data, and also by comparing the designed FCS performance in contrast with a COTS autopilot under similar conditions, for the same aircraft. The manufacture of COTS system cannot be revealed due to contractual obligations.
6.1. ANN Simulation Results
The ANN estimation capability is evaluated for a window length of (samples), which corresponds to seconds of past flight for a sampling interval seconds. For the logic defined in (29), , , , , and .
Two simulations are run for a 33% Yak-54 UAS, with and without measurement noise. Figures 8 and 9 show the convergence of the parameters, the cost function minimization, the Levenberg adaptive parameter, and the measured and estimated vertical acceleration, considering noise. Figures 10 and 11 show the same information for the case without noise.
By using the Delta method, which is a numerical technique to approximate partial derivatives, stability and control derivatives can be extracted.
The standard application of this technique, in previous cited articles, is generally offline postprocessing analysis. The idea presented here is to allocate a specific logic and to compute these approximate partial derivatives online. Two identical structures of the ANN are kept in parallel. They are fed incoming measurements, similar to the ANN under training. Also, these two structures are updated with the current weight and biases from the ANN. One of these structure is fed with a perturbed input (i.e., measured angle of attack plus a small added perturbation), while the second structure is kept fed by unperturbed inputs. By taking the quotient between the differences of the two structures outputs, with respect to the magnitude of the added perturbation, an approximation of the partial derivative is obtained in real time.
For this case, the partial derivative of the vertical acceleration with respect to some input of the ANN is obtained. These quantities can then be used to calculate more specific stability and control derivatives by converting from body to stability coordinates. This allows the capability of detecting dynamic changes due to internal or external changing conditions, or due to failures, by monitoring the time tendency of these values.
By comparing Figures 8 and 9, with Figures 10 and 11, the effect of measurement noise is clear. Cost function values are considerably higher. Also, the parameter vector does not settle permanently and it adjusts continuously due to the inherent variability condition of the Levenberg parameter.
As shown in Figure 11(b), a fairly good prediction is achieved. Further precaution needs to be observed to avoid deep changes, as seen between seconds and when a steep readjustment occurred. Using a desktop, each iteration took less than seconds; this means that a dedicated microprocessor must be used for real-time estimations.
6.2. Adaptive Artificial Neural Network Testing
To verify the performance of ANN’s adaptive capability in the modeling of unsteady aerodynamic forces, actual 33% scale Yak-54 UAS flight test data from the 2009 flight test at Pegasus Airfield in Antarctica is used. The data was collected with a sampling frequency of (Hz). For comparison and validation purposes, the same ANN for -axis acceleration is trained and tested with and without adaptiveness. This ANN is constructed from twenty cells () in the hidden layer and fed with same inputs as defined earlier for online ANN. Figure 12 shows the flight test data and the estimations with and without adaptiveness.
The flight had a well-defined pattern. From a prolonged circular autonomous period of flight, the aircraft is switched to remote control for landing around second . During autonomous flight, the nonadaptive ANN is trained. It is then tested in both the remaining autonomous flight segment and during the remote controlled period. The adaptive ANN is tested in the same interval as the nonadaptive ANN.
Figure 12 shows a close estimation of both types of ANN before mode switching. After changing control sources, a significant dynamic behavior experienced by the aircraft left nonadaptive ANN outdated.
6.3. Gain Scheduling Simulation Results
To assess the gain scheduling techniques, hypothetical failures are induced through changes in the numerical value of stability and control derivatives. The gain scheduling adapts controllers to guarantee the aircraft stability and performance in the event of an adverse condition (e.g., servo failure or damage). Extreme changes could be a result of system failure or a result of damage to the aircraft. An adaptive flight control system must have the potential to adjust for failure or damage to maintain control in flight and meet the required handling qualities that allow for safe recovery of the airplane. As a condition for successful gain scheduling, the FCS is expected to achieve a similar level of performance and required uncertainty management before and after detection of dynamic changes.
To replicate a major change in the lateral-directional dynamics of UAS due to a failure or unsteady aerodynamics, at seconds of a horizontal level flight, the numerical value of (Table 1) is reduced by a factor of . This reflects a sudden change in the UAS dynamics, affecting the stability of UAS directionally. After inducing this change, the current controller loses its stabilizing capability and oscillation can be traced in the aircraft’s lateral-directional states. As it was demonstrated in Section 6.2, the adaptive ANN allows identification of sudden changes in the aircraft dynamics in real time.
At seconds and after detection of an unexpected change in the aircraft’s stability and control derivative (i.e., change in ), the adaptive controller replaced the old controller with a new one and successfully mitigated sudden change in the aircraft’s dynamics. The growing amplitude of oscillation is damped out and the roll and yaw rates and sideslip angle are effectively controlled.
The resultant period of time taken to implement the gain scheduling ( seconds) is affected by the fact that the failure does not show up immediately and the vehicle remains mostly unaffected. The induced failure is an alteration of the rate of change in yaw rate with respect to changes in sideslip angle, that is, , so for an original constant and close to zero sideslip (horizontal level flight), no immediate effect is observed. After sideslip angle starts to change, the failure has a multiplicative effect and grows faster. This is evident after second .
It is important to point out that although the closed loop remains (linearly) stable, the uncertainty robustness is lost, as the infinity norm grows over the unity . In other words, a well-designed flight control system is robust to a fairly large range of uncertainty or changes in aircraft dynamics, however, if the changes become more extreme the performance degrades and the aircraft may go unstable. An adaptive system has the ability to readjust the controller to achieve desired performance or regain robustness about the new point.
In transition between controllers and to avoid significant sensitivity, the gain scheduling must be coupled with the ANN output. Figures 13 and 14 show the failure and consequent gain scheduling effects, on primarily involved states. All simulations were performed with the full FCS.
To broaden the applicability of FCS technologies and to extend assessment process, a failure which degrades aircraft’s longitudinal stability is modeled. It is assumed that at seconds of a horizontal level flight, a failure in the aircraft caused a major change in the magnitude of (Table 1). The numerical value of is reduced by a factor of . As it is shown in Figures 15, 16, and 17 and after the failure took place, the longitudinal robust stability is severely affected; that is, .
Detection of the failure, calculation of a new controller, and gain scheduling are assumed to happen after seconds (200–205 (sec)). At seconds, the new controller is online modifying control surface commands. Severe impact is seen in all major longitudinal variables, as shown in Figures 15, 16, and 17.
The abrupt change in the angle of attack stability coefficient () increases the pitch angle and subsequently reduces the airspeed. To mitigate these effects, the elevator is commanded to quickly recover the equilibrium about pitch axes and restoring the pitch angle. To restore the airspeed, the throttle is also commanded. As demonstrated with the simulated failure, the system without adaptation cannot achieve the desired tracking or performance.
6.4. Functionality Tests and Comparison with Flight Test Data
The purpose of this subsection is to assess different functionalities of the designed FCS and to compare its performance in closed loop with autonomous flight test data obtained using a COTS autopilot system. It is known that the COTS system uses an H-infinity controller. For comparison purposes, similar flight conditions are induced in the simulation, and same waypoints/trajectory are used for path following. Superficially, performances of the designed FCS and the COTS autopilot are compared in the following categories: (i)extended Kalman filter performance (flight measurements versus EKF estimation);(ii)inner loop: H-infinity robust controller performance (e.g., the maximum commanded bank angle);(iii) outer loop: accuracy of guidance logic and path following in tight turns in presence of crosswind (e.g., deviation from the desired trajectory);(iv) airspeed and altitude control;(v)saturation of controls.
6.4.1. Extended Kalman Filter Testing
A slow update rate GPS position sampled at (Hz) is employed to test the smooth interpolation capability of the EKF. Figure 18 shows the measured and estimated geographical position and altitude.
6.4.2. Flight Control System Testing
As part of the comparison, inner and outer loops and extended Kalman filter, as defined before, are included in testing. In this subsection, no gain scheduling and no ANN estimations are performed. These two features are tested independently and presented in previous two subsections.
The FCS controls the aircraft to follow a trajectory autonomously flown by a 33% Yak-54 UAS equipped with a COTS autopilot. This system contains an H-infinity robust controller in the inner loop, an outer loop logic for waypoint following, and an extended Kalman filter, running at (Hz). Its sensors include a GPS, an IMU, a 3D accelerometer, a 3D gyro, a 3D magnetometer, a barometer, and a pitot tube.
For the similarity of the flight test and simulation comparisons, same initial conditions are extracted and used from the flight test data. To replicate external disturbance, COTS estimated wind information was also injected.
Figure 19 shows 3D views, and Figures 20 and 21 show the control signals for both the designed FCS and COTS autopilot. The top view of 3D simulation in Figure 19 demonstrates superior performance of new nonlinear guidance logic in guiding UAS on curved and tight trajectories in presence of a crosswind. The wind was blowing from the west, and the maximum deviation from the desired trajectory happened when the UAS equipped with a COTS autopilot was in a crosswind (magenta line Figure 19).
By design, the COTS autopilot does not command rudder. This imposed extra demand on the aileron causing higher banking angles when initiating turns. Despite dissimilarity of COTS system and the designed FCS, some basic but important comparisons can be made. As it is shown in Figures 20 and 21, the COTS autopilot and the designed FCS are not subject of control saturation issues.
Figure 22(a) shows the comparison between the COTS autopilot and the designed FCS in airspeed command following. For the sake of unbiased comparison, the COTS autopilot wind estimation is used in the simulation (ft/sec) from 291°. The airspeed command has a step increment around seconds.
The ground speed is shown in Figure 22(b) in a wider portion of the flight. The error in airspeed control of the COTS autopilot is seen as the result of bias. This presumption is confirmed by adding a bias of about 10–12 (ft/sec) to the measured airspeed and disabling the FCS’s Kalman filter for an even comparison. After inducing the bias, ground speeds achieve higher similarity.
Figure 23 shows the attitude angles. It is important to notice that the extended Kalman filter takes a few seconds to converge from the given initial conditions affecting the first part of the estimation, but showing a good command following after possible transients.
An adaptive control comprising a robust inner controller, stable outer nonlinear guidance logic, and neural network fault detection is designed to provide increased resiliency to mitigate effects of on-board adverse conditions and unsteady aerodynamics. The aerodynamic models of UAS associated with hazardous weather or on-board adverse conditions are inherently nonlinear and unsteady. Under these conditions, although the closed-loop H-infinity is still linearly stable, the controller does not have uncertainty robustness and the infinity norm can grow over unity. A modified artificial neural network is successfully implemented for real-time nonlinear estimations of the aerodynamic forces. The Levenberg’s adaptive parameter resets when reaching predefined extreme values. This modification allows avoiding unbounded growing when the cost function has reached a minimum. The sliding mode learning concept is used to keep the artificial neural network in learning phase continuously. A dynamic learning process of artificial neural networks increases the robustness against on-board adverse conditions and external disturbances. New nonlinear guidance logic which is extended from the lateral plane to the longitudinal plane has demonstrated superior performance in guiding unmanned air systems on curved trajectories in presence of external disturbances such as crosswind. The new logic adds new features ensuring its stability for any location and any attitude of the aircraft. The flight control system shows a satisfactory level of adaptability and resilience which is achieved by the adaptive nonlinear modeling, noise rejection, and biases attenuation. The robustness is assured by the proper gain scheduling between predefined trim points and for identified dynamic changes. It was found that in transition between gains and to avoid significant sensitivity, the gain scheduling must be coupled with the ANN output.
A. Aircraft Dynamic Modeling
Based on a Newton-Euler modeling approach, the aircraft dynamic model comprises a 6-DOF rigid-body set of equations for a fixed-wing aircraft in flat earth. Referred to the aircraft’s center of gravity CG, as shown in Figure 1(b), it is defined in four interrelated coordinate systems, that is, the inertial coordinate system aligned with the inertial local flat earth coordinate system , the body coordinate system fixed to the aircraft, the wind coordinate system oriented toward the relative wind, and the stability coordinate system oriented as shown. Consider where moments of inertia , product of inertia , mass , and gravity acceleration are assumed constant. Body velocities in body frame are define by , , and , and their rate of change as where aerodynamic forces and moments , together with the engine thrust , act in the system as controllable inputs.
B. Polynomial Time-Invariant Engine Thrust Modeling
Highly dependent on the type and configuration of the engine, thrust is modeled parametrically as a polynomial function on as where are constant parameters to be estimated from flight test data for the trim point .
C. Linear and Time-Invariant Aerodynamic Coefficient Modeling
The following relations, defined in the stability axis , are used to model the aerodynamic coefficients as where are the deviations of the body angular velocities from their constant trim values , and is the deviation from the constant trim speed . Aerodynamic coefficients in the stability coordinate system are transformed into body axes coefficients by a rotation in the amount of angle of attack trim value .
D. H-Infinity Robust Controller Design Conditions
Conditions to obtain a stabilizing H-infinity controller are(a) stabilizable and detectable;(b) and ;(c) and , and is expressible as (d);(e);(f),
where assumption , if not achieved by the chosen weighting matrices, can be obtained via scaling of and together with a unitary transformation of and . After previous assumptions are met, there is , for which the following relations holds:
This is equivalent to the existence of an internal stabilizing controller whose components are given by and and are any matrices satisfying the relation and the relation . The feedback and state feedback matrices are where
Matrices and are the solutions of the following Riccati equations:
E. Extended Kalman Filter Algorithm
The filter’s functions and represent the observed system. They incorporate all available information of the aircraft characterized by functions and and other variables to be estimated as biases and wind; that is, and . Model mismatch and sensor noise are included through the Kalman gain calculation as shown later. The continuous-time observer is defined as where is the filter state vector and is the filter input vector.
Aircraft dynamics and observation equations and are assumed to be additively corrupted by uncorrelated Gaussian noise signals and . Applying the Euler discretization method, the order discrete version is obtained and , valid at each sampling time interval , where index corresponds to time sampled at . The discrete extended Kalman filter algorithm is defined in two phases:
No new information is considered in the prediction stage, and the one-step ahead prediction state vector is obtained by propagating the equation from previous state and input vectors at time . The correction phase delivers by adjusting based on the difference between measurements and prediction, that is, , through the Kalman gain . In (E.2), acts as the state error covariance, and matrices and constitute the Jacobian of the propagation equation and observation equation , respectively; that is, and . and are the covariance matrices of and , respectively.
This research was supported by the NSF Center for Remote Sensing of Ice Sheet (CReSIS) Grant NSF-0066685, at the University of Kansas.
- I. Kaminer, A. Pascoal, E. Hallberg, and C. Silvestre, “Trajectory tracking for autonomous vehicles: an integrated approach to guidance and control,” Journal of Guidance, Control, and Dynamics, vol. 21, no. 1, pp. 29–38, 1998.
- M. Niculescu, “Lateral track control law for Aerosonde UAV,” in Proceedings of the 39th AIAA Aerospace Sciences Meeting and Exhibit, Reno, Nev, USA, 2001.
- D. Boyle and G. Chamitoff, “Robust nonlinear lasso control: a new approach for autonomous trajectory tracking,” in Proceedings of the AIAA Guidance, Navigation, and Control Conference and Exhibit, Austin, Tex, USA, 2003.
- S. Park, J. Deyst, and J. How, “A new nonlinear guidance logic for trajectory tracking,” in Proceedings of the AIAA Guidance, Navigation, and Control Conference and Exhibit, Providence, RI, USA, 2004.
- J. Osborne and R. Rysdyk, “Waypoint guidance for small UAVs in wind,” in Proceedings of the AIAA Infotech, Aerospace Conference, Arlington, Va, USA, 2005.
- R. Rysdyk, “Unmanned aerial vehicle path following for target observation in wind,” Journal of Guidance, Control, and Dynamics, vol. 29, no. 5, pp. 1092–1100, 2006.
- D. R. Nelson, D. B. Barber, T. W. McLain, and R. W. Beard,