Abstract

The main objective of the current investigation is to provide a simple procedure to select the controller gains for an aircraft with a largely wide complex flight envelope with different source of nonlinearities. The stability and control gains are optimally devised using genetic algorithm. Thus, the gains are tuned based on the information of a single designed mission. This mission is assigned to cover a wide range of the aircraft’s flight envelope. For more validation, the resultant controller gains were tested for many off-designed missions and different operating conditions such as mass and aerodynamic variations. The results show the capability of the proposed procedure to design a semiglobal robust stability and control augmentation system for a highly maneuverable aircraft such as F-16. Unlike the gain scheduling and other control design methodologies, the proposed technique provides a semi-global single set of gains for both aircraft stability and control augmentation systems. This reduces the implementation efforts. The proposed methodology is superior to the classical control method which rigorously requires the linearization of the nonlinear aircraft model of the investigated highly maneuverable aircraft and eliminating the sources of nonlinearities mentioned above.

1. Introduction

Due to stringent performance and robustness requirements, modern control techniques have been widely used to design the flight control systems (). However, researchers have been facing the difficulties of the complex nature and the nonlinearity strength embedded in the aircraft’s dynamical model. For example, inertia coupling and attitude representations (Euler angles representation or quaternion representation) of the aircraft rigid body motions require nonlinear mathematical models [1]. Special impact on aircraft model comes from the nonlinear aerodynamic submodel such that aerodynamics coefficients significantly change with operating conditions. This leads to a significant change in the stability and performance of the aircraft dynamics. In addition, many other sources of nonlinearities appear in actuator nonlinear subsystems, sensor nonlinear subsystem, and engine nonlinear subsystems.

In order to address the designing FCS, gain scheduling, one of the popular methodologies to design controllers for nonlinear systems has been adopted to design stability augmentation system (SAS), and control augmentation system (CAS) [24]. In the conventional gain scheduling approach, the nonlinear system is linearized at several equilibrium operation conditions. Local linear controllers are designed at each of these points. The linear controller gains are then scheduled between the selected equilibrium points to obtain a semiglobal nonlinear controller. There is, however, still a difficulty as to how to schedule the gain from point to point in the operation regime. Even though the gain scheduling method breaks down the nonlinear model into linear models, operating point might have a significant nonlinearity, which cannot be overlooked in the control design. Besides, the selection of the operating points and the design of interpolation scheme remain a time-consuming procedure. There are several approaches to resolve the issue of highly nonlinear operating conditions such as the dynamic inversion [5], adaptive control [6], and sliding mode control [7]. The more nonlinearity these approaches account for, the more complicated it is to implement the resultant controller on-board. The main goal of this paper is to provide a simple procedure to select the controller gains for an aircraft with a largely wide complex flight envelope such as F-16 with different sources of nonlinearities. Thus, the gains are optimally tuned using genetic algorithm (GA) based on the information for a single designed mission [811]. This mission is assigned to cover a wide range of the aircraft’s flight envelope. The resultant controller is a semiglobal robust controller and not restricted to any approximation regarding the system’s nonlinearity.

Since GA has advantages such as global optimization performance and the ease of distributing its calculations among several processors or computers as it operates on the population of solutions that can be evaluated concurrently, GA is used as an efficient search technique to tune the value of the SAS and CAS controller gains. Thus, there is no need to linearize the model around prescribed patches to design the gains that are only valid for a certain range inside the flight envelope. In other words, the proposed control methodology replaces the classical techniques that depend on scheduling the gains to track the trajectory. Hence, it will be computationally efficient and more realistic because it is based on the nonlinear dynamics of the studied aircraft. To further validate the proposed technique, another mission is tracked using the optimal gains designed by GA to study how close the response of the aircraft is to the off-design mission.

The rest of paper is organized as follows. Section 2 presents the nonlinear dynamic model of F-16 fighter aircraft. Section 3 provides the representation of SAS and CAS. Section 4 reviews the designed flight mission information. Section 5 shows a genetic algorithm to tune the SAS and CAS gains. Section 6 gives the simulation results obtained from the associated nonlinear aircraft model to illustrate the designed-mission/off-designed mission.

2. F-16 Nonlinear Dynamic Model

The F-16 model is considered under many assumptions: the aircraft is a rigid body with six degrees of freedom except for an internal constant spinning engine rotor, the aircraft mass is constant, the aircraft body is symmetric about the XZ plane, the atmosphere is stationary, and the earth is flat with constant gravity. Based on those assumptions, the nonlinear dynamic equations of the F-16 model are first-order ordinary differential equations and can be classified into the following [12, 13] (note that the following variables are listed in the Nomenclature at the end of the paper).

Force equations: Motion equations: Kinematic equations: Navigational equations:

In (2) to (4), the constants s,where , are defined in terms of the moments of inertias; , and and the product of inertia are defined as where .

The parameter that exists in the moments equations represents the engine angular momentum which is supposed to be a variable. In the current model, the value of is 160 slugft2/s considering full throttle opening; that is, = 100% [1]. The vehicle mass is denoted by that is assumed to be constant all the time. represents the gravitational acceleration = 32.2 ft/s2. We assume that the thrust produced by the engine, , acts parallel to aircraft’s -body axis, which makes the thrust vector have only one component acting in the -body axis. In (3), the constant , which represents the offset distance of the thrust vector away from the cm, is assumed to be zero.

The aerodynamic forces and moments acting on the aircraft , and are well described in Roskam [12] and Stevens and Lewis [13]. Force in -body axis, for example, can be obtained as follows: where is collected from wind tunnel and flight tests.

The total aerodynamic coefficients , and are computed based on the high fidelity aerodynamic data tables in Nguyen et al. (1979). These coefficients are expressed as a baseline component plus a correction terms that are denoted by the symbol . The baseline component is primarily a function of angle of attack , sideslip angle , and Mach number . Mach number dependency can be removed from the baseline component and treated as a correction term in the case of data for subsonic speeds. As the available aerodynamic tables (Nguyen et al., 1979) were conducted at subsonic flow conditions, the effect of Mach number was neglected. In this model, the aerodynamic data shows strong dependency on the horizontal stabilizer deflection ; therefore, was included as an independent variable for the baseline component. Normally, total coefficient equations have been used to sum the various aerodynamic contributions to given force or moment coefficients as listed in (8). The force coefficient , for example, is defined as (see [1]) where In general, the basic rigid dynamics model will contain 12 state variables that are collected in the state vector , where The aircraft model has four inputs represented in the control vector : Note that the lower limit of the throttle position is set to 5% to prevent the engine surge. Both of and are frozen to their neutral positions as they do not have tangible effect on the aircraft dynamics.

3. Autopilot and Augmented Flight Control System

In this research, inner-loop feedback control systems can be grouped into three broad categories which include SAS, CAS, and Fly-by-Wire (FBW) [14]. The SAS was proposed to give suitable damping and natural frequencies to improve the dynamic stability characteristics as they are referred to as dampers, stabilizers, and stability augmenters. However, SAS itself does not provide efficient control output since there might exist undesired output between the pilot’s stick input and aircraft response and nonredundancy of the sensors and control circuits which are not able to make the system reliable. Thus, in order to eliminate these phenomena, the CAS added a pilot command input to the flight control computer using a force sensor on the control stick. With CAS, the aircraft dynamic response is typically welldamped, and control response is scheduled with the control system gains to maintain desirable characteristics throughout the flight envelope. With CAS, both dynamic stability and control response characteristics could be tailored and optimized to the mission of the aircraft.

The F-16 aircraft model under investigation has FBW system as a major part of its flight control system. Therefore, the inner-loop feedback control system of the studied model will be referred to as the digital flight control systems (DFCS) throughout the remaining part of this paper [13, 14].

The overall autopilot system shown in Figure 1 needs three commands in each time step, and the system generates horizontal stabilizer, aileron, and throttle command signals that replace pilot commands. At the same time, the rudder control surface is frozen at the neutral position. The autopilot system receives the three commands from the mission generating logic which provides altitude, velocity, and heading angle. In each time step, these three commands are calculated from the flight trajectory that is generated based on the required vehicle motion of each section of the mission [14].

The controller receives 4 input signals, , and that . Note is zero in this research. The difference between and signal is passed to a PI controller, . The controller, then, accounts for pitch angle and rate with the two gains and . The signal is then passed to the actuator dynamic system, which includes position and rate saturation. Also the actuator includes a lag elevator-actuator with time constant  sec. The feedback loop in the yaw rate channel provides the wash-out filter so that it operates only transiently and does not contribute to a control law when a high frequency is present. Also, in this loop cross-connection called aileron-rudder interconnection (ARI) is implemented via an alpha-dependent gain to achieve a stability axis roll. In heading angle channel, one static gain is chosen to control the heading angle error signal of the actual and desired heading angle. In the feedback loop of velocity channel, error signals of the command and total velocities are tuned with PI controller; .

Addressing the problem, designer needs to find these gains indicated in Figure 1. Linearization of a large system is applicable, but it needs to overlook the different source of nonlinearities such as saturation. Thus, the mission-based controller design is proposed. Upon these considerations, GA will be employed to find such gains in Section 5.

4. Mission Design

To accomplish the searching process for one semiglobal set of SAS and CAS gains, there is a need to design a special mission called a “designed mission.” Thus this designed-mission should be assigned to cover a wide flight range of interest. Generating the design mission is considered under the aircraft performance limitations such as maximum rate of climb, maximum roll rate, minimum/maximum speed, actuator limitations, and maximum g-load. Most of these limitations are nonlinearly defined by the operational flight conditions (total velocity, altitude, etc.) with coupled hypersurfaces. For example, the definition of maximum rate of climb changes with the altitude is defined as the locus of the weight normalized excess power curve over the energy diagram. Counting these types of such nonlinear constrains leads to increase in the complexity of assigning the designed-mission. For that reason, the mission is initially designed without any extreme attitude that leads to violating the above-listed limits. This mission consists of a set of steering points. The steering points or any combination of the velocity and altitude at any instance of the mission is designed to be completely enclosed inside the flight envelope in order not to violate the structural limit, the stall limit, the propulsive limit, and the atmospheric limits of the flight envelope.

Figure 2, considering these characteristics of aircraft, illustrates the overall flight profile for the aircraft with steering points in terms of time, . The trajectory, , was assigned by four variables, , , , and , in terms of four input variables, , and , respectively. Since trajectories of the aircraft can be calculated in terms of time step, profile of total velocity and altitude also can be obtained by the following equations:

5. Genetic Algorithm

The genetic algorithm (GA) is used as a global constrained and unconstrained optimization technique which is traced back to 1962 when the algorithm was introduced for studying adaptive systems [9, 10]. The other big advantage of this technique is the ease of distributing its calculations among several processors which is the cornerstone of parallel computation. Moreover, the algorithm is more suited to discontinuous problems unlike the conventional gradient-based searching algorithms.

Fundamentally, the algorithm logic is based on the process that drives biological evolution (natural selection), where the procedure starts by coding the variables to chromosomes. Every chromosome has genes. The procedure of the GA is controlled by reproduction, crossover, and mutation processes. Through the reproduction process, the parent is selected from a generation, where the selection process is based on survival of the highest performance index individual. The crossover process is then used to swap between two chromosomes using specific probabilistic decisions. The latter process generates offspring carrying mixed information from swapped parents. To prevent the algorithm from centering on local optimal points, the mutation process is implemented by alternation of the gene from zero to one or from one to zero with the mutation point determined uniformly at random. The mutation rate should be selected carefully such that the algorithm convergence will not last long due to high rate and the algorithm will not converge to a local minimum due to selection of low mutation rate. Roughly, a genetic algorithm works as shown in Figure 3.

The objective function to be optimized is a function in terms of the differences between the desired and the actual values of altitudes, total velocities, and heading angles, respectively, at each designated time step. The objective function is represented as where represents the number of points along the whole mission. Note that can be arbitrary set that fully describes the mission. In this paper, this set is chosen to be where the commanded yaw rate was frozen to zero during the whole mission. Such set was chosen to avoid further prekinematic calculations which are out of the scope of the current research. However, for the most of flight motion, the trajectory is defined in terms of the navigation variables that include position and orientation. In (14), the vector denotes the gains of the SAS and CAS. Searching for optimum is bounded between and where the system is expected to be stable. Assigning these limits is an iterative process as the system is nonlinear.

6. Results

The results of design mission and off-design missions are discussed in detail in this section.

6.1. Results of Design Mission

An air-to-surface mission for a fixed target is designed to simulate a realistic mission of the studied aircraft. This mission represents a simple striking mission that can be training or real mission. The mission consists of climb, cruise, descent, releasing bomb, another sharp climb to escape from the enemy fires followed by very short cruise at relatively high altitude, descent to the original cruise level, and then final descent at the take-off station. The steering points are listed in Table 1. The continuous flight path is generated based on the mission profile, where, at each time step, the path consists of sets of three commands—total velocity, altitude, and heading angle. These sets of the three commands are direct input to the autopilot system described before. The autopilot system will follow the prescribed flight path commands through generating the necessary maneuvers for the vehicle. The climb and descent rates and their accelerations are constrained within ±150 ft/s and ±40 ft/s2, respectively. The heading rate is limited within ±0.027 rad/s, while the angular acceleration of heading angle is limited within ±0.004 rad/s2. In this research, a nonlinear simulation is developed in order to simulate both systems dynamics and control dynamics using the 4th Runge-Kutta solver. The code of this simulation is executed in the environment of Matlab R2010a through high performance cluster called “Zorka,” which has two dual cores of 2.992 GHz Intel Xeon with 8 GB RAM per node. The selected time step is 0.1 second. The time window for simulating the designed-mission is 45 minutes.

The optimal tuning of the controller gains using genetic algorithms starts by generating random initial populations of the controller gains , , , , , , ,, , and . The fitness of each individual is evaluated from the inversion of (14). Thus, a genetic algorithm works for maximizing and the control-tuning problem aims to minimize the error. The new generation is selected from the current population and passed to the next iteration of the algorithm. There is a possibility of receiving an unstable behavior for some randomly chosen control gains. In order to avoid such an unstable response, a two-second test simulation is initially conducted to each individual set of gains. If the error during these first 30 seconds violates a specific threshold limit, the simulation will stop and set the fitness value to zero. The parameters of the genetic algorithm are set as follows: the mutation rate is 10%, each generation has a fixed population size of 100 or no generation overlap, and the maximum number of generations is 500. The optimization code was conducted many times with a different starting point (initial solution). In the initial five runs, GA reaches the maximum number of generations without convergence. Starting from the sixth run, GA converges and this convergence is passed to the next run. After the 8th run, even with changing the mutation rate, the gains keep converging at the same values as listed in Table 2.

The responses of the aircraft in tracking the designed trajectory are listed in Figures 4, 5, and 6. The variations of elevator, aileron, and rudder are, respectively, plotted in Figure 7. In Figure 7, although the frequencies of variations of the aileron or the rudder look high, the zoom-in views show that the cycle time is about 10 sec. Moreover, the maximum range of the cycle is almost 0.15 deg for the aileron and 0.07 deg for the rudder (see Figure 7). For insight analysis of the variations of the aircraft’s states during the mission, the time history of each state is plotted in a separate figure. Based on these results, it can be noticed that variation in the control surfaces is close to the deflection values at the trimming conditions. The variations of the roll and pitch angles during the whole missions are plotted in Figure 8. The angular rates , and are plotted versus the time for the whole mission in Figure 9. Notice that none of the control surfaces approaches its mechanical limits [1].

6.2. Results for Off-Design Missions

Now, the resultant mission-based controller using GA is validated for an off-designed mission. Figure 10 shows the difference between the selected off-designed mission and the designed mission in terms of the trajectories of altitudes, total velocities, and the heading angles of the off-design mission. These two mission start from the same position, “O,” and end at different ones based on missions.

In order to provide a more realistic simulation of the off-designed mission, system uncertainties and sensor noises are considered [15]. Table 3 shows the standard deviations of sensor noise for the total velocity, altitude, attack angle, and rates of roll, pitch, and yaw. Note that uncertainty was chosen of only 10% increments for the certain parameters which are mass and moment of inertia about X-body axis , while considering 5% decrements of pitching moment coefficient “” and thrust. In Figures 11 and 12, the normalized deviations between actual and desired values of total velocity, altitude, and heading angle were shown with or without noise and uncertainty. Overall, there exists sharp change in certain time frame for velocity and heading angle of the aircraft, while the altitude keeps smooth change over the time range. Figure 13 represents how actual velocity response including noise and uncertainty behaves comparing to command velocity.

7. Conclusion

Using the genetic algorithm to select constant gains during the prescribed missions within a specific patch inside the flight envelope is more efficient than the traditional gain scheduling control scheme. The steps of gain scheduling process make it numerically costly as the control system is based upon linearization of the aircraft nonlinear motions around various points along the mission. Moreover, more insight analysis of the dynamics model is mandatory for the acceptable results. On the contrary, the genetic-optimized cost function depends on the errors between the desired and the actual trajectories of the prescribed mission without the time-consuming profound analysis of the aircraft dynamics at various points along certain mission. The genetic-select gains can be used with different off-design missions inside the envelope of the design mission.

Nomenclature

:Velocity components in , and body axes (ft/s)
:Airplane roll, pitch, and yaw rates (rad/s or deg/s)
:Mach number (dimensionless)
:Total instantaneous engine thrust, horizon time (Ib)
: Altitude (ft)
: Aircraft position in north and east (ft)
: Engine angular momentum (slugft2/s)
: Aerodynamic force in body axis (Ib)
: Aerodynamic moment in body axis (Ib.ft)
: Free stream aerodynamic pressure (Ib/ft2)
:Angle of attack (deg)
:Sideslip angle (deg)
:Heading angle (deg)
:Roll and pitch angles (deg)
: Moment of inertia about , and body axes (slugft2)
: Product of inertia with respect to and body axes (slugft2)
: Aircraft total velocity (ft/s)
: Elevator deflection (deg)
: Leading edge flap deflection (deg)
: Speed breaker deflection (deg)
: Throttle percentage (dimensionless)
, , : Total , and axis force coefficients (dimensionless)
, , :  Total rolling, pitching, and yawing moment coefficients (dimensionless).

Disclosure

The second and third authors would like to acknowledge that the presented work in this paper does not belong or represent their current affiliations at any level.

Conflict of Interests

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