Journal of Applied Mathematics

Volume 2013, Article ID 452653, 12 pages

http://dx.doi.org/10.1155/2013/452653

## Adaptive Neural Network Dynamic Inversion with Prescribed Performance for Aircraft Flight Control

^{1}College of Information and Electrical Engineering, Shandong University of Science and Technology, Qingdao 266590, China^{2}Science and Technology on Aircraft Control Laboratory, Beihang University, Beijing 100191, China

Received 16 July 2013; Revised 23 September 2013; Accepted 4 October 2013

Academic Editor: Dewei Li

Copyright © 2013 Wendong Gai 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.

#### Abstract

An adaptive neural network dynamic inversion with prescribed performance method is proposed for aircraft flight control. The aircraft nonlinear attitude angle model is analyzed. And we propose a new attitude angle controller design method based on prescribed performance which describes the convergence rate and overshoot of the tracking error. Then the model error is compensated by the adaptive neural network. Subsequently, the system stability is analyzed in detail. Finally, the proposed method is applied to the aircraft attitude tracking control system. The nonlinear simulation demonstrates that this method can guarantee the stability and tracking performance in the transient and steady behavior.

#### 1. Introduction

Flight control design for aircraft continues to be one of the most important problems in the world of automatic control. The problem is driven by the nonlinear and uncertain nature of aircraft dynamics. Traditionally, the solution to this problem is to design the linear controller using linearized aircraft models at multiple trimmed conditions. And this procedure is time consuming and expensive.

Control of aircraft by dynamic model inversion is well known and has been applied to the control of high angle of attack fighter aircraft [1, 2]. The primary drawback of dynamic inversion for aircraft flight control is the need for high-fidelity nonlinear model which must be inverted in real time. However, it is difficult to obtain the exact aircraft dynamic model in practice. The neural network augmented model inversion in the attitude angular loop is implemented to compensate the model inversion error, and it uses proportional-derivative desired dynamics to design the attitude control system for the helicopter [3] and tilt-rotor aircraft [4].

The asymptotic tracking can be achieved using this method. However, the transient behavior of the output signals could be oscillatory when the tracking error magnitude is decreased by increasing the adaption rate. Several solutions [5–8] have been proposed to overcome this problem. These methods guarantee the convergence of tracking error, but the required tracking error upper bounds can’t be accurately computed. A new adaptive control method with prescribed performance is presented in [9], and this method guarantees the transient state tracking error in the prespecified performance bound. And this method is used to improve the performance of the planar two-link articulated manipulator [10, 11] and the 6-DOF PUMA 560 arm [12].

It is very important for aircraft to track the attitude command with a desired transient and steady performance, when the aircraft finishes the special flight tasks, such as automated aerial refueling [13, 14] and transition flight control [15, 16].

In this paper, we will investigate the aircraft attitude control problem of guaranteeing transient and steady performance in the adaptive compensation control system. By employing the prescribed performance bounds proposed in [9], we propose a new adaptive neural network dynamic inversion method. With certain transformation method, a new transformed error system is obtained through considering the prescribed performance bound into the original attitude control system. An adaptive dynamic inversion controller is designed for the transformed system. It is ensured that the tracking error is guaranteed inside the prescribed error bound as long as the transformed error system is stable.

The paper is organized as follows: the problem and the control configuration are introduced in Section 2. Section 3 presents the adaptive neural network dynamic inversion with prescribed performance design, stability analysis, model error analysis, and neural network structure. And the simulations are described in Section 4. Finally, this paper concludes in Section 5.

#### 2. Aircraft Nonlinear Attitude Angle Model

The aircraft nonlinear attitude dynamic model can be presented as where , , and are the roll, pitch, and yaw attitude angles. , , and are the roll, pitch, and yaw angular rates. can be found in [17]. , , and are the roll, pitch, and yaw moments, which can be described as where is the air density, is the wing reference area, is the wing span, is the flight velocity, and is the wing mean geometric chord. , , and are the rolling, pitching, and yawing moment coefficients described as where is the aerodynamic derivatives. and are the angles of attack and sideslip. , , and are the aileron, elevator, and rudder deflections, which are the control actuators of the aircraft. , , , and are defined by and is the derivative of the angle of attack.

Substituting (3)-(4) into (2), and (2) can be rewritten in the affine nonlinear form as where , , , and are and According to (1), we can derive the second derivatives of attitude angles as follows: where

Substituting (6) into (10), we obtain

#### 3. Prescribed Performance-Based Adaptive Neural Network Dynamic Inversion Design

The aircraft attitude model shown in (13) can be represented in the following shorthand notation: where the controlled state and the control vector . and are nonlinear functions.

The state tracking error is defined as where is the desired state vector.

The proposed control architecture of the aircraft attitude control system is shown in Figure 1.

##### 3.1. Dynamic Inversion

This section will show a brief introduction of dynamic inversion. And the readers could derive much more details from the reference [2].

We seek to linearize a nonlinear system through computing dynamic inversion to cancel the nonlinearities in the system. The aircraft dynamics are shown in (14). The number of control inputs and controlled states must be the same; that is to say, the nonlinear function is invertible. Then, the control input can be calculated by where is the desired response of . Replacing the in the right of (14) by the from (16), we derive and any nonlinearities in and are cancelled.

The achieved system dynamics will match the chosen desired dynamics when there are no errors between the design model and real object. However, the model error is inevitable. So a new method is proposed to compensate the model error and guarantee the system performances in the transient and steady behavior.

##### 3.2. Performance Function and Error Transformation

*Definition 1 (see [9]). *A smooth function can be called a performance function if the following conditions are satisfied:

For example, a performance function is
where , and are positive constants, is the initial tracking error , and is the maximum allowable tracking error at the steady state. The decrement of tracking error will decrease when the parameter decreases. And we can derive the first and second derivatives of as follows:

Then by satisfying the following condition:
where , and are prescribed scalars; the objective of guaranteeing transient and steady performance can be derived.

*Remark 2. *According to (21), and are the lower bound of the negative overshoot and upper bound of the positive overshoot of , respectively. And a lower bound of the convergence speed of is introduced by the decreasing rate of .

*Remark 3. *By changing the parameters of performance function and the positive prescribed scalars , and , the maximum overshoot and convergence rate of can be modified.

To transform the original system with the constrained tracking error performance (in (21)) into an equivalent constrained one, an error transformation is introduced. And the error transformation is defined as
where is the transformed error and a smooth and strictly increasing function has the following properties:

According to the first property in (23) and , we have

According to (19), we obtain

In addition, from the third property in (25), can be achieved if is satisfied.

Then (22) can be described as

Lemma 4 (see [9]). *Consider system in (14), the transient and steady state tracking error behavior bounds described by the performance function and the error transformation equation (22). The following results hold.*(a)*The system in (14) is invariant under the error transformation equation (22).*(b)*Stabilization of the transformed system using (28) is sufficient to guarantee the prescribed performance.*

In what follows, an adaptive neural network dynamic inversion method is proposed to stabilize the transformed system using (28).

##### 3.3. Controller Design and Stability Analysis

*Assumption 5. *The desired states are known bounded time functions, with known bounded derivatives.

*Assumption 6. *The states of the nonlinear system in (14) are available for measurement.

We define the following error function , which describes the dynamics of the new error system using the error transformation equation (28). where , , and are positive constants to be chosen.

We define

The derivative of (28) is where

And the second derivative of (28) is

Then we compute the time derivative of for the roll error as

And the pitch and yaw errors are derived by the similar method.

Substituting (30)–(33) into (34), we obtain where

Then we can derive where , , , and is where , , , and , , , are

To simplify the controller design progress, we linearize (2) in an equilibrium point which is the steady wings-level flight state. where the and are the appropriate dimension constant matrixes, . And , , and are the flight velocity, angle of attack and elevator deflection in some equilibrium point, respectively. The symbol represents the small perturbation from the equilibrium value.

According to (2), (13), (14), and (40), we can obtain where , and where is the model error which will be analyzed in Section 3.4.

The formula in (41) is named as the design model in some equilibrium point, which is different from the real nonlinear model in (14). And the difference between the design model and the nonlinear model is represented by the symbol , which will be compensated by the adaptive neural network.

Because there are three channels in the attitude control and the form of each channel is the same, consider the following Theorem 7 for the roll channel. And the pitch and yaw channels are similar.

Theorem 7. *Considering Assumption 5, Assumption 6, and the nonlinear system in (14), all the signals are bounded, and the tracking error satisfies the performance described by the performance function , if the control input of system satisfies the following formula.**The control input of roll channel is
**The adaptive signal of roll channel is
**The neural network weight update law of roll channel is
**
where the vector is a set of basis functions to approximate the uncertainty and the neural network weight vector is the set of coefficients of each basis function in the roll channel. The adaptation gain determines the learning rate of neural network. The is a modification term to limit the growth of the neural network weights. The constant is positive. And the positive constant is the neural network approximate error which is bounded. The neural network weight error is
**
where the is the true value of the neural network weight in the roll channel.*

*Proof. *A suitable Lyapunov function of roll channel will be
where and is to be defined later.

Firstly, if is satisfied, then the time derivative of (47) is given by

Substituting (37) into (48), we derive

Considering (41)-(42) and (49), we have

Let the control input satisfy (43), then (50) can be described as

Substituting (44)–(46) into (51), we obtain

By using the norms of the terms on the right side of (52), we obtain the following inequality:

In addition, the approximate error of neural network is bounded, so the following equation is satisfied:

The maximum weight of ideal neural network in the roll channel is , so we have

Substituting (46) and (54)-(55) into (53), we get

Considering (56), we obtain

If the system is stable, then . And (57) can be transformed to the following formula:
Then we can derive

Next, if is satisfied, then the time derivative of (47) is derived by

Here the weight update law is , and . Therefore, the system is stable, and all the signals are bounded. Considering Lemma 4, the tracking error satisfied the performance described by the performance function .

This completes the proof.

##### 3.4. Analysis of the Model Error

According to (2)–(5), the moment model is nonlinear, complicated, and must be continuously varying with the flight condition. For simplicity, the linear model of (40) in an equilibrium point is used to replace the nonlinear model of (2).

We define the model error , which is the error between the linear model Equation (40) and the nonlinear model equation (6). And the is

Then (6) can be rewritten as

Substituting (62) into (10), we have

Comparing (63) to (41), we obtain

Therefore, the model error mainly depends on the different equilibrium points, attitude angles, actuator deflections, and so on.

##### 3.5. Neural Network Structure

The first step in determining the appropriate network structure is identifying the network inputs. Based on the analysis of model error sources described in Section 3.3, there are three main categories of inputs: the attitude angles, attitude angle rates, and actuator deflections.

A Sigma-Pi neural network [18] is used to compensate the model error , and the basis function of the pitch channel is where represents the Kronecker products and is defined as follows: where , , and are normalized variables between −1 and 1. The normalization function is where is the input parameter and is the output parameter.

And a general description of the neural network is shown in Figure 2.

And the basis function of roll channel and the basis function of yaw channel can be derived similarly as follows: where . Then , is

#### 4. Simulation Results

In this section, we consider the attitude angles control problem for a fixed-wing aircraft, and the initial flight state is the wings-level flight. Then the attitude angles commands in three channels will be tracked, respectively.

In the following simulation, the initial flight height and velocity are 6000 m and 190 m/s, and the initial attitude angles and angular rates including , , , , , and are zeros. In addition, all the initial actuator deflections are zeros.

The error transformation function [19] in the simulation is described as where . It can be shown that satisfies the properties in (23)–(25).

The attitude angles commands of three channels are transformed into the desired attitude angles commands through the command filters. And the structure of command filter for the roll channel is shown in Figure 3. In addition, the desired attitude angles commands for yaw and pitch channels can be obtained by the similar command filters.

The command filter parameters are set as , , and .

Design the control inputs with prescribed performance for three channels through the procedures in Section 3.2. The performance and controller parameters are shown in Tables 1 and 2.

*Remark 8. *For the performance function , is derived by subtracting the attitude command from the initial attitude angle. is the allowable attitude tracking error at the steady state. And the decrement of tracking error will decrease when the parameter decreases.

*Remark 9. *For the controller parameters, the adaptation gain will improve the attitude tracking performance, especially, when there are much larger model errors. The is a modification term to limit the growth of the neural network weights; therefore, it is small. The transient performance of attitude tracking error can be improved by increasing the parameter ; however, the increase will increase the magnitude of the control input. Then a compromise must be reached.

The design model I is derived at the trimmed flight condition of 6000 m and 190 m/s, and the model error is small.

The aircraft tracks the attitude angles commands from the initial flight state. And the attitude angles tracking responses and tracking errors are shown in Figures 4 and 5.

The two methods have achieved the attitude angles command tracking. Figure 4 shows the better attitude responses are achieved by the proposed method compared to the method in [20]. And the coupling among different channels is smaller when the proposed method is used. For example, the roll angle response has a less change when the aircraft tracks the yaw command. In Figure 5, the attitude angles tracking errors satisfy the prescribed performance bound with the proposed method in the dynamic and steady state. The main reason is that the method in [20] does not consider the performance bound defined by the performance function in the design process.

In the real flight control system, there must be the model error. In order to verify that the similar tracking performance is also achieved when there is the large model error, we have conducted the following simulation study.

The flight condition is the same, and the initial flight height and velocity are 6000 m and 190 m/s. However, the design model II used to design the attitude angles controllers is derived at the trimmed flight condition of 4000 m and 150 m/s. Apparently, the model error is large.

And the attitude angles tracking responses and tracking errors are shown in Figures 6 and 7.

Figures 6 and 7 show the attitude angles tracking errors still satisfy the prescribed performance bound, although the model error is large in this situation. In addition, Figures 6 and 7 show the track performance is similar when the different design models are used.

The control actuators deflections for three channels are compared in Figure 8 when the two design models are used.

Figure 8 shows the deflections of the control actuators using the design model II increase to derive the desired attitude angles tracking performance. In addition, the outputs of neural network in three channels are shown in Figure 9.

Figure 9 shows the outputs of neural network using the design model II are larger than the one using the design model I. The main reason is that the model error is larger when the design model II is used, and the larger outputs of neural network are used to compensate the large model error.

#### 5. Conclusion

In this paper, an adaptive neural network dynamic inversion with prescribed performance method is proposed for aircraft attitude control. By incorporating the adaptive neural network dynamic inversion with the prescribed performance concept, the proposed method guarantees the system tracking error satisfies the prescribed performance bound in the transient and steady behavior. The nonlinear simulation of the aircraft also verifies the effectiveness of the proposed approach.

Further investigation is needed for the situations in the presence of the external wind disturbance and unmodeled dynamics. And, these design parameters in this method should be decreased and optimized to achieve a real application.

#### Acknowledgments

This work was supported by the Program for New Century Excellent Talents in University (Grant no. NCET-10-0032) and by the National Natural Science Foundation of China (Grant no. 61175084).

#### References

- S. A. Snell, D. F. Enns, and W. L. Garrard Jr., “Nonlinear inversion flight control for a supermaneuverable aircraft,”
*Journal of Guidance, Control, and Dynamics*, vol. 15, no. 4, pp. 976–984, 1992. View at Google Scholar · View at Scopus - D. Enns, D. Bugajski, R. Hendrick, and G. Stein, “Dynamic inversion: an evolving methodology for flight control design,”
*International Journal of Control*, vol. 59, no. 1, pp. 71–91, 1994. View at Publisher · View at Google Scholar - J. Leitner, A. Calise, and J. V. R. Prasad, “Analysis of adaptive neural networks for helicopter flight control,”
*Journal of Guidance, Control, and Dynamics*, vol. 20, no. 5, pp. 972–979, 1997. View at Google Scholar · View at Scopus - R. Rysdyk and A. J. Calise, “Robust nonlinear adaptive flight control for consistent handling qualities,”
*IEEE Transactions on Control Systems Technology*, vol. 13, no. 6, pp. 896–910, 2005. View at Publisher · View at Google Scholar · View at Scopus - C. Cao and N. Hovakimyan, “Design and analysis of a novel ${L}_{1}$ adaptive control architecture with guaranteed transient performance,”
*IEEE Transactions on Automatic Control*, vol. 53, no. 2, pp. 586–591, 2008. View at Publisher · View at Google Scholar · View at MathSciNet - W. Gai, H. Wang, and D. Li, “Trajectory tracking for automated aerial refueling based on adaptive dynamic inversion,”
*Journal of Beijing University of Aeronautics and Astronautics*, vol. 38, no. 5, pp. 585–590, 2012 (Chinese). View at Google Scholar - H. Xu and P. A. Ioannou, “Robust adaptive control for a class of MIMO nonlinear systems with guaranteed error bounds,”
*IEEE Transactions on Automatic Control*, vol. 48, no. 5, pp. 728–742, 2003. View at Publisher · View at Google Scholar · View at MathSciNet - V. Stepanyan and K. Krishnakumar, “Adaptive control with reference model modification,”
*Journal of Guidance, Control, and Dynamics*, vol. 35, no. 4, pp. 1370–1374, 2012. View at Google Scholar - C. P. Bechlioulis and G. A. Rovithakis, “Adaptive control with guaranteed transient and steady state tracking error bounds for strict feedback systems,”
*Automatica*, vol. 45, no. 2, pp. 532–538, 2009. View at Publisher · View at Google Scholar · View at MathSciNet - C. P. Bechlioulis and G. A. Rovithakis, “Prescribed performance adaptive control for multi-input multi-output affine in the control nonlinear systems,”
*IEEE Transactions on Automatic Control*, vol. 55, no. 5, pp. 1220–1226, 2010. View at Publisher · View at Google Scholar · View at MathSciNet - A. Kostarigka and G. Rovithakis, “Adaptive dynamic output feedback neural network control of uncertain MIMO nonlinear systems with prescribed performance,”
*IEEE Transactions on Neural Networks and Learning Systems*, vol. 23, no. 1, pp. 138–149, 2012. View at Publisher · View at Google Scholar - C. P. Bechlioulis, Z. Doulgeri, and G. A. Rovithakis, “Guaranteeing prescribed performance and contact maintenance via an approximation free robot force/position controller,”
*Automatica*, vol. 48, no. 2, pp. 360–365, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - M. L. Fravolini, A. Ficola, G. Campa, M. R. Napolitano, and B. Seanor, “Modeling and control issues for autonomous aerial refueling for UAVs using a probe-drogue refueling system,”
*Aerospace Science and Technology*, vol. 8, no. 7, pp. 611–618, 2004. View at Publisher · View at Google Scholar · View at Scopus - J. P. Nalepka and J. L. Hinchman, “Automated aerial refueling: extending the effectiveness of unmanned air vehicles,” in
*Proceedings of the AIAA Modeling and Simulation Technologies Conference and Exhibit*, pp. 240–247, August 2005, AIAA Paper 2005-6005. View at Scopus - Y. Xili, F. Yong, and Z. Jihong, “Transition flight control of two vertical/short takeoff and landing aircraft,”
*Journal of Guidance, Control, and Dynamics*, vol. 31, no. 2, pp. 371–385, 2008. View at Publisher · View at Google Scholar · View at Scopus - W. Gai and H. Wang, “Closed-loop dynamic control allocation for aircraft with multiple actuators,”
*Chinese Journal of Aeronautics*, vol. 26, no. 3, pp. 676–686, 2013. View at Publisher · View at Google Scholar - B. Stevens and L. Lewis,
*Aircraft Control and Simulation*, Wiley, New York, NY, USA, 2nd edition, 2003. - B. S. Kim and A. J. Calise, “Nonlinear flight control using neural networks,”
*Journal of Guidance, Control, and Dynamics*, vol. 20, no. 1, pp. 26–33, 1997. View at Google Scholar · View at Scopus - W. Wang and C. Wen, “Adaptive actuator failure compensation control of uncertain nonlinear systems with guaranteed transient performance,”
*Automatica*, vol. 46, no. 12, pp. 2082–2091, 2010. View at Publisher · View at Google Scholar · View at MathSciNet - R. T. Rysdyk and A. J. Calise, “Adaptive model inversion flight control for tilt-rotor aircraft,”
*Journal of Guidance, Control, and Dynamics*, vol. 22, no. 3, pp. 402–407, 1999. View at Google Scholar · View at Scopus