Abstract
Herein, the design optimization of multi-objective controllers for the lateral–directional motion using proportional–integral–derivative controllers for a twin-engine, propeller-driven airplane is presented. The design optimization has been accomplished using the genetic algorithm and the main goal was to enhance the handling quality of the aircraft. The proportional–integral–derivative controllers have been designed such that not only the stability of the lateral–directional motion was satisfied but also the optimum result in longitudinal trim condition was achieved through genetic algorithm. Using genetic algorithm optimization, the handling quality was improved and placed in level 1 from level 2 for the proposed aircraft. A comprehensive sensitivity analysis to different velocities, altitudes and centre of mass positions is presented. Also, the performance of the genetic algorithm has been compared to the case where the particle swarm optimization tool is implemented. In this work, the aerodynamic coefficients as well as the stability and control derivatives were predicted using analytical and semi-empirical methods validated for this type of aircraft.
Keywords
Introduction
Propeller effects and power contribution to the trim condition and stability of a propeller-driven airplane are significant. Since the beginning of the airplane introduction in 1909, this has always been of interest where a propeller provided significant force in the presence of side wind.1–3 Initial analytical behaviour of this phenomenon was investigated by Harris4 in 1918 where he showed the resulting pitching moment due to the side wind effect. Later, Glauert5,6 expanded this investigation to the other stability derivatives. In the United States, studies on propeller behaviour began in the 1920s and enhanced over World War II where new and more powerful engines were implemented. Since then, most of the methods were based on the linear classic momentum theory.7 Later in 1972, the National Aeronautics and Space Administration (NASA) of the United States did great research to investigate the aerodynamic coefficients and stability and control derivatives of twin-engine propeller-driven airplanes. The resulting investigations were published as longitudinal and lateral–directional aerodynamic characteristics of twin-engine propeller-driven airplanes.8,9 Recently, several studies have been done to enhance semi-empirical methods to investigate aerodynamic characteristics of propeller-driven airplanes and their effects on the handling quality.10–15
Generally, in single-engine light propeller-driven airplanes, in order to decrease the asymmetrical propeller thrust, one can use a small side angle (i.e. typically to the right-hand side for a clockwise rotating propeller from a pilot field of view). However, in the case of twin-engine propeller-driven airplanes with propellers turning in the same direction (i.e. clockwise from a pilot field of view), using a side angle results in an asymmetry in the design and should be avoided. Consequently, in order to compensate the propeller effects in these types of aircraft, usually a very small permanent deflection (∼1°–2°) is considered for the fixed part of the vertical stabilizer.16,17
In the previous work, an enhanced semi-empirical method is developed to calculate longitudinal and lateral–directional stability and control derivatives of light airplanes.10 In this study, using the previous tool to estimate the aerodynamic characteristics of the proposed airplane which is a twin-engine propeller-driven aircraft, in the first place, the aircraft has been trimmed for the longitudinal motion and then the lateral–directional stability has been guaranteed. Due to the significant effect of propellers and corresponding power contribution on aerodynamic characteristics, the overall handling quality of the aircraft decreased and placed in level 2 for the Dutch-Roll mode. As mentioned, in twin-engine aircraft, in order to compensate the propeller effects, usually a very small permanent deflection is considered for the vertical tail. However, the proposed permanent deflection cannot guarantee the handling quality level 1 in all cruise flight conditions as it is designed for the conventional cruise flight condition. Consequently, pilots require to use controller surfaces to compensate the propeller effect in other flight conditions and this will increase their workload.16,17 On the other side, passenger will also not fill very comfortable throughout the flight if handling quality level 1 is not guaranteed. Accordingly, the main goal of the proportional–integral–derivative (PID) controllers designed and optimized in this study has been to improve the overall handling quality of the proposed aircraft. In the following, the modelling process and the mathematical method are presented in detail and the corresponding results are investigated and compared.
Mathematical model
The airplane equations of motion are modelled in accordance with small perturbations equations as follows18
Considering the fact that here the main goal is to implement the PID controller to control the lateral–directional motion, the corresponding equations for
On the other hand, the airplane moments of inertia are defined in the body-fixed axis system. Since the equations of motion are defined in the stability axis system, these moments are also needed to be defined in the same axis system. Accordingly, the transformation can be defined as follows18
With respect to the perturbed lateral–directional equations of motion provided in equations (1)–(3), the corresponding Laplace transforming equations for zero initial conditions can be defined as follows18
And writing equation (8) in the matrix and transfer function format will result in the following equations18
Finally, the corresponding transfer functions of the aircraft can be defined as follows18

Schematic diagram of the open-loop transfer functions of the aircraft in the presence of a single input.
PID controller
The PID controller is a kind of controller usually used for practical purposes. Recently, over 85% of the controllers in dynamic systems are of this type. Each one of the P, I and D terms are representative of a controlling algorithm term used for a specific purpose. In some cases, one can use only one or two terms instead of the rest of the terms like PI, PD or even P controllers.19–29
PID controllers can be schematically presented in Figure 2, where the control signal

Schematic use of a PID controller in a closed-loop system.
In order to introduce each term, one can assume that the rest of the terms are zero. Therefore, assuming
Assuming
Assuming
The ‘non-interacting form’ PID controllers are defined based on the past, present and future values of the control value error in accordance with
Genetic algorithm
Overall, analytical optimizations in spite of being so powerful in solving analytical problems are facing several limitations to be used for real engineering problems. These methods are usually used for simple problems or in higher levels they have been used to provide the general solution of a real case. Conversely, numerical optimization methods have significant capabilities to solve complex problems. However, numerical optimizations are also suffering from providing analytical concepts. As numerical optimization methods have several advantages, different numerical optimizations are described in this section. Generally, in most scientific and technical problems, optimum product design depends on finding the best solution in available cases under specific conditions. Accordingly, a practical and suitable solution is required to find the optimum result.
Numerous evolutionary algorithms have been developed to solve global optimization problems. These algorithms are designed such a way that with precise parameters they can provide the general optimum working solution. However, unsuitable parameter selection can result in higher run time to find the optimum solution and consequently a reduction in the performance in terms of accuracy and time complexity.30 Recently, several researches have been focused on extremal optimization (EO) which avoids elite collection while trying to change the bad members by mutation. Multi-objective population-based EO is a variation of EO that have been widely used by researchers in this regard.31–33
More than a dozen stochastic algorithms have been developed over the past decades which in this study, the focus is on the genetic algorithm (GA) and more details will be provided in this regard. It is interesting to note that among current evolutionary algorithms, the best-known method is the GA. As this type of algorithm assesses numerous working solutions at the same time in the search space, it is more likely to find the global working solution of a certain problem. In addition, it has a simple scalar performance measure without derivative information enquiry which makes the GA as easy as to be used and implemented in most scenarios.34
The GA is a computational method to obtain suitable working solutions while tracking future generations based on the structure of the biological organisms. This evolutionary search heuristic implements natural selection and nature-inspired operators to recognize optimum solutions.35 The evolutionary algorithms idea was first suggested by Rechenberg, in the 1960s.36,37 After that, GAs were developed by Holland38 in the 1970s and recently, they are very popular for solving optimization problems.
In the GA, the design environment is changing to the genetic environment. Therefore, GAs are working with the coded parameters. The main advantage of the coded parameters is that they are able to change the continuous variables to the discrete ones.39–41 GAs are stochastic search algorithms that act on a population of possible solutions and leading the solutions towards the most optimum one.42 It should be noted that the GAs are not usually able to solve very complex problems where one is facing complex fitness functions or high scale of iterations. Therefore, in such cases, the GAs are facing a significant reduction in performance due to the complexity of time and lower accuracy.43,44
In order to implement the GA, three concepts are important to be defined and implemented:
Cost functions; Genetic environment; GA functions.
The GA has been developed based on Darwin’s evolutionary theory which in the beginning starts with stochastic chromosomes called population. The possible working solutions are programmed as chromosomes and new working solutions can be achieved either by mutating members of the current population or by mating two answers together to produce a better working solution. The better answers are nominated to exist and mutate and the inferior ones are rejected. This procedure will be repeated until finding the best working solution.42
Flying quality
As discussed earlier in the introduction, herein the aerodynamic characteristics of the airplane have been estimated through NAMAYEH.10 The investigated airplane is a six-place, low wing, twin-engine, propeller-driven general aviation airplane. General characteristics of the airplane are presented in Table 1. For this purpose, the cruise condition considering power on condition and propeller effects is investigated in this study. Properties of the investigated flight condition are presented in Table 2. Considering the cruise flight condition, the aircraft has been trimmed for the longitudinal motion. The longitudinal trim characteristics are provided for the proposed airplane in Table 3.
General characteristics of the investigated airplane.
Properties of the investigated flight conditions.
Properties of the investigated trim condition.
With respect to the trim condition provided in Table 3, the flying quality characteristics have been investigated and presented in Table. 4. As can be seen, the handling quality placed in level 2 for the Dutch-Roll mode. Accordingly, in the next step, the design and optimization of the PID controllers have been accomplished to increase the Dutch-Roll mode level while keeping all other flying quality characteristics in level 1.
Properties of the investigated longitudinal trim condition.
Controller design
Herein, controllers were designed for the cases where the aircraft is in longitudinal trim and calculations have been accomplished for the lateral–directional motions. Accordingly, two sets of control surfaces including the rudder and ailerons have been designed such that yaw and roll motions of the aircraft to be controlled, respectively. Simultaneously, disturbance from each surface has also been considered to increase the accuracy of the controller design. Besides, during the design process, the sideslip angle has also been optimized. Consequently, two PID controllers have been designed to control the lateral–directional motion in longitudinal trim which can be discussed as block diagrams provided in Figure 3.

PID controllers design configuration as block diagrams.
Accordingly, the controller design procedure can be defined as follows in four phases:
Over phase 1, the controllers with respect to the desired phase margin and gain margin were designed such that the stability of the system was guaranteed. Consequently, the desired results using a multi-objective the GA were achieved to satisfy the GA function perquisites. In this phase, simple functions were used to investigate desired results with GA. Therefore, the corresponding cost function is as follows
where 2. Since results in phase 1 were based on the simple equations for GA functions, in phase 2 smarter equations were used. Therefore, this time the fuzzy equations were used as the cost function of the GA and the corresponding results showed lower overshoot. The corresponding cost function used in this phase is given as follows
3. In phase 3, as in Dutch-Roll mode, the proposed aircraft was in level 2 of handling quality, the controllers were designed such that the handling quality placed in level 1. Therefore, the related GA was defined to assure level 1 of handling quality for all lateral–directional flight modes. It should be noted that although the results achieved from phases 1 and 2 guaranteed stability of the system, they were not able to assure the performance of the aircraft. On the other hand, the non-coupled transfer function of the lateral–directional modes is just reliable in cases where the roots of the transfer functions stand below than 3.45,46 Hence, the new cost function to guarantee stability and performance of the proposed aircraft is given as follows
where 4. Over phase 4, as the sideslip angle increased drastically in phase 3 comparing to the results from phases 1 and 2, the new cost functions for GA were defined such that the best results for sideslip to be achieved as well. Consequently, at the end of phase 4, all stability and performance terms compared to the first results placed in a better condition resulting in a higher handling quality (e.g. level 1) for all lateral–directional modes. The corresponding cost function used in this step can be expressed as follows
It should be noted that in all cases, the population size of the GA was considered equal to 100 and the average relative change in the best fitness function value over max stall generations was equal to 1e–6.
Results and discussion
Herein, results for different controllers in different phases are provided and compared for the twin-engine propeller-driven aircraft. As can be seen in Figures 4–6, the first controller showed ∼50% and ∼30% overshoot for ϕ and ψ, respectively. Over the second phase, the corresponding overshoot of ϕ decreased and reached ∼20% but in the case of ψ remained at ∼30%. However, considering the handling quality of the lateral–directional modes, the results were not desirable. Hence, in phase 3, the main goal was to compensate for the handling quality issue and reach level 1 in all lateral–directional modes. However, the corresponding results showed a drastic increase of ∼40% in the overshoot of ψ. Therefore, in phase 4 with the new controller design, the overshoot for ψ decreased to less than 30% while the overshoot of ϕ remained at ∼20%.

Changes in the results of each phase in

Changes in the results of each phase in

Changes in the results of each phase in sideslip angle considering the corresponding controller.
In Figure 7, root locus plots of the results for

Root locus plot for
Finally, with respect to Figure 8, root locus plots of the results for

Root Locus plot for
Also, in order to compare the performance of the GA, the particle swarm optimization (PSO) tool has been used and the corresponding results for ψ, ϕ and β using the cost function provided in phase 4 are illustrated. PSO is a direct global optimization solver and is based on a model for the flocking behaviour of birds, where each bird is representative of a ‘particle’ in the solution space.47,48 As can be seen in Figure 9, using the PSO tool, one can design the desired PID controllers capable of guaranteeing system stability, performance and handling quality. In comparison, the PSO tool was almost three times faster than the GA tool. However, results for

Comparison of the results for
Proportional, integral and differential terms corresponding to each controller at different phases.
PID: proportional–integral–derivative; PSO: particle swarm optimization.
Sensitivity analysis
Also, in order to check the performance of the designed PID controllers in other flight conditions, a sensitivity analysis has been done using the PID controller designed in phase 4. The sensitivity analysis presented here contains all cruise flight conditions available for the aircraft type used in this study. Accordingly, different velocities as well as the highest and lowest altitudes and most forward and most aft centre of gravity (CG) positions have been studied.
In the following, Figure 10 shows the variation of the results for

Variation of the results for
With respect to Figure 11, increasing or decreasing the altitude will not affect the controller response for

Variation of the results for
Finally, variation of the CG position will not affect the PID controllers’ response. Here, the most forward CG position and most aft position have been shown in Figure 12.

Variation of the results for
Considering all flight scenarios presented in Figures 10–12, one can conclude that the designed PID controllers with the help of GA is capable of providing handling quality of level 1 at all cruise flight conditions for the proposed aircraft.
Conclusion
In this article, it is demonstrated that with the use of multi-objective GAs, one can optimize and regulate the PID controller particularly in cases where several controllers are used and perturbation of each one affects the other ones. Also, a comparison between the GA and PSO tools presented which showed a higher accuracy of GA against the higher speed of PSO. The advantages and disadvantages of each controller used in each phase as well as their time response are provided in Table. 6.
Advantages and disadvantages of different controllers designed in each phase.
PSO: particle swarm optimization.
Also, the sensitivity analysis to different flight conditions showed performance of the proposed controllers for various scenarios. All in all, results showed that the proposed PID controllers using GA technique is capable of providing handling quality level 1 in all cruise flight conditions.
Future work
As mentioned, several evolutionary algorithms have been developed so far to solve global optimization problems, especially for multi-objective problems. Another evolutionary algorithm that can be suggested for future work is multi-objective population-based EO which is an improved multi-objective population-based EO algorithm.31–33
Multi-objective GA is essential a stochastic algorithm. Another area that can be of interest for future investigation is to compare the results from GA algorithms to some non-parametric statistical tests. Several works have been performed in this area on the basis of EO to how to extend the multi-objective problems to more complex practical engineering systems.49–52
Footnotes
Handling Editor: James Baldwin
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship and/or publication of this article: This work was supported by the Mitacs through the Mitacs Accelerate Programme and Columbiad Launch Services Inc.
