A Self-Tuning Fuzzy Logic Controller For Aircraft Roll Control System
A Self-Tuning Fuzzy Logic Controller For Aircraft Roll Control System
DOI: 10.5923/j.control.20120206.06
1
Surmene Abdullah Kanca VHS, Karadeniz Technical University, Trabzon, Turkey
2
Dept. of Electrical and Electronics Engineering, Karadeniz Technical University, Trabzon, Turkey
Abstract In this paper, an aircraft roll control system based on autopilot operating conditions is modeled and simu lated
using Matlab/Simulink. The modeling phase begins with the derivation of required mathematical model to describe the
lateral d irectional motion of an aircraft. Then, Linear Quadratic Regulator (LQR), Fuzzy Logic Controller (FLC) and
Self-Tuning Fu zzy Logic Controller (STFLC) are applied for controlling the roll angle o f the modeled aircraft system.
Simu lation results of ro ll controllers are presented in time do main and the results obtained with STFLC are co mpared with
the results of FLC and LQR. Finally, the performances of roll control systems are analysed in order to decide which control
method gives better performance with respect to the desired roll angle. According to simu lation results, it is shown that
STFLC deliver better performance than FLC and LQR.
Keywords Aircraft Ro ll Control, Linear Quadratic Regulator (LQR), Fu zzy Logic Controller (FLC) and Self-Tuning
Fuzzy Logic Controller (STFLC)
wing is decreased. So, the aircraft performs a rolling motion rrepresent the angular rates components of roll, pitch and
to the right as viewed fro m the rear of the aircraft. yaw axis and the term u, v and w represent the velocity
The rolling motion of an aircraft is controlled by adjusting components of roll, p itch and yaw axis.
the roll angle. In this study, an autopilot is designed to Referring to Figure 2 and Figure 3, the rig id body
control the roll angle of an aircraft. In aircraft modeling equations of motion are obtained fro m Newton’s second
phase, the aerodynamic forces (lift and drug) as well as the law, see[1]. But, a few assumption and approximation need
aircraft’s inert ia are taken into account[4]. The actual model to be considered before obtaining the equations of motion.
is a third order nonlinear system, which is linearized about Assume that the aircraft is in steady-cruise at constant
the operating point[4]. A modern linear quadrature regulator altitude and velocity, thus, the thrust and drag cancel out
(LQR) and intelligent controllers (FLC and STFLC) are and the lift and weight balance out each other. Also, assume
developed for the roll control of the modeled aircraft system. that change in pitch angle does not change the speed of an
Performances of these controllers are analysed with respect aircraft under any circumstance[4]. Under these
to the desired roll angle. Co mparison of these control theory assumptions, the lateral directional motion of an aircraft is
is presented and discussed in terms of performance analysis. well described by the following kinematic and dynamic
differential equations.
•
Using this relationship and if the product of inertia Ixz =0, system. So, the rudder deflection g iven in equation (10) is
the lateral equations of motion can be rearranged and not used.
reduced into the state space form in the following manner. • − 0.254 0 − 1 0.183 ∆β 0
Yp ∆ β• (11)
• Yβ Y g cos θ 0 Yδr ∆ p − 15.969 − 8.395 2.19 0 ∆p − 28.916
∆ β• u − 1 − r ∆β 0 •= [∆δ a ]
u0 u 0 u ∆p u0 (10) +
∆ p 0 ∆δ ∆ r 4.549 − 0.349 − 0.76 0 ∆r − 0.224
Lδr a
0
• = Lβ Lp Lr 0 + Lδa
∆r ∆δ • 0 1 0
0 ∆φ 0
∆ r N Np Nr 0 N δa N δr r ∆φ
• β ∆φ
∆ φ 0 1 0 0 0 0 Transfer function fro m aileron deflect ion angle to roll
For this system, the input will be the aileron deflection angle is given by the follo wing equation.
angle and the output will be the roll angle. In this study, the ∆φ ( s) − 28.92s 2 − 29.81s − 140.8 (12)
= 4
data from General Aviation Airplane: NA VIONa [1] is used ∆δ a ( s) s + 9.409s 3 + 14.02s 2 + 48.5s + 0.3979
in system analysis and modeling. The lateral direct ional
derivatives stability parameters for this airplane are given
Table I. 3. Design Process of The Proposed
Table 1.The lateral directional derivatives stability parameters
Controller
The Dynamic Pressure Ԛ and t Fuzzy Logic Controller (FLC), Self-Tun ing Fuzzy Logic
Controller (STFLC) and Linear Quadratic Regulator (LQR)
−
Q = 36.8 Ib / ft 2 QS c = 38596 ft ⋅ Ib are proposed for the roll control system and in this section;
General these controllers are described in detail.
Aviation QS = 6771 Ib c 2u 0 = 0.016 s
Airplane: 3.1. Linear Quadratic Regul ator (LQR)
NAVIONa Components
Yawing Rolling During last decades, a new approach to control system
Y-Force
Moment Moment design has evolved. This approach is co mmonly called
Derivatives
Derivatives Derivatives modern control theory. Linear Quadratic Regulator (LQR) is
Pitching
Yv=-0.254 Nv=0.025 Lv=-0.091 a method in modern control theory and it is an alternative and
Velocities
Side Slip
very powerful method for flight control system designing.
Yβ =-44.665 Nβ =4.549 Lβ =-15.969 The method is based on the manipulation of the equations of
Angle
motion in state space form and makes full use of the
Rolling Rate Yp =0 Np =-0.349 Lp =-8.395
appropriate computational tools in the analytical process[5].
Yawing Rate Yr=0 Nr=-0.76 Lr=2.19 LQR control system for the lateral direct ional control of an
aircraft is shown in Figure 4.
Rudder
Deflection
Yδr=12.433 Nδr=-4.613 Lδr=23.09 The state and output matrix equations describing the
Aileron lateral d irectional equations of motion can be written as the
Yδa=0 Nδa=-0.224 Lδa=-28.916
Deflection following equation.
•
Before obtaining transfer function, let’s plug in nu merical x(t ) = Ax(t ) + Bu (t )
values given Table I by using equation (10). This work y (t ) = Cx (t ) + Du (t ) (13)
presents the roll control schemes for roll angle of an aircraft
Δβ
Δδa + u(t) Lateral Aircraft Δp
N
Dynamics Δr
− Δφ
Kβ
+
+
Kp
+ Kr
+
Kφ
And that all of the four states x are available for the mechanis m and defu zzification. A block diagram o f a fu zzy
controller. The feedback gain is a mat rix K of the optimal control system is shown in Figure 6.
control vector. In Figure 6, the values of error (e(k)) and its change (Δe(k))
K = [K β K p K r Kϕ ] occurring during the operation of the system form the crisp
u (t ) = − K ⋅ x(t ) + ∆δ a ⋅ N (14) inputs of the system. These two inputs defined as in (16) and
(17).
So as to minimize the perfo rmance index,
∞
e( k ) = r ( k ) − y ( k ) (16)
( )
J = ∫ x T Qx + u T Ru ⋅dt (15) ∆e(k ) = e(k ) − e(k − 1) (17)
0 r(k), y(k) and k are exp ressed as the reference input, the
Where Q is state-cost matrix and R is performance index actual output of the system and the sampling step
matrix. For this study, R=1 and Q=CT xC where C is the respectively. These crisp inputs e(k) and Δe(k) are converted
matrix fro m state equation (13) and CT is the matrix to fuzzy membership value on the fu zzy subsets. There are
transpose of C. For designing LQR controller, the value of three main fu zzy subsets defined as negative (N), zero (Z)
the feedback gain matrix, K, must be determined. The and positive (P). Depending on these subsets the number of
following block is shown how to determine the values of K. rules can be derived.
These fuzzy membership values are used in the rule base
A Modern Control Systems in order to execute the related rules so that an output can be
B Design Package generated. A rule base consists of a data table which includes
MATLAB K informat ion related to the system. As an examp le, if a fu zzy
Q
logic controller with nine rules is desired to realize, these
R [K]=lqr(A,B,Q,R)
rules can be defined in Tab le II.
Figure 5.Determine the values of matrix K. Table 2.Rules for the fuzzy logic controller
Δu(k)
Δe(k) Inference
3.3. Self-Tuning Fuzzy Logic Controller (STFLC) difference between system output and reference signal.
STFLC is developed to improve the controller Structure of self-tuning FLC is shown in Figure 8.
performance by tuning the range values of fuzzy subsets of
error and its change used in direct fuzzy controller. The 4. Simulation and Results
symbols of on-line changing fuzzy gains are G1 and G2
respectively for error (e) and change of error (Δe). In order to An aircraft roll control system is simu lated using LQR,
adjust the gain parameters G1 and G2, two d ifferent fu zzy FLC and Self-Tuning FLC in order to present and discuss
logic controllers are used[8]. The inputs of gain-adjusting simu lation results. Simu link model of the system with these
FLCs are system output and error signal which is the controllers is shown in Figure 9.
186 Omur Akyazi et al.: A Self-Tuning Fuzzy Logic Controller for Aircraft Roll Control System
For all simu lations, the reference value is selected as 0.15 radian wh ich is equal to 8.625 degrees. Firstly, the various
membership functions of FLC are examined and the best membership function for this system is determined. Figure 10
shows the comparison of membership functions.
It is observed that the triangle membership function gives examined to understand which fu zzy rule table gives better
the best response as compared to others. After determining response. FLC with nine rules gives better response than
the membership function, the various rule tables of FLC is others. It is shown in Figure 11.
International Journal of Control Science and Engineering 2012, 2(6): 181-188 187
Figure 11. The system response with various fuzzy rule tables
Obtained fu zzy ru le table and membership function which g ives the best response for this system is used with both FLC
and Self-Tuning FLC. Then the system responses of LQR, FLC and Self-Tuning FLC are p lotted on the same graph for a
better comparison. The system responses with these controllers are shown in Figure 12.
It is observed that STFL controller gives faster response system. LQR, FLC and Self-Tuning FLC are successfully
as compared to FLC and LQR in terms of rising time. But, designed and presented for this system. As a result, among
the results clearly demonstrate that LQR controller is these controllers, STFLC gives the best performance in
occurred overshoot more than FLC and STFLC. terms of rising time, settling time, steady-state error and
percent overshoot. According to the results from
simu lation and analysis, STFLC has good and acceptable
5. Conclusions performances.
In this paper, the model of an aircraft roll control system
that is helpful in developing the control strategy for an actual
aircraft system was designed for Matlab/Simulink
environment and control methods were proposed for this REFERENCES
188 Omur Akyazi et al.: A Self-Tuning Fuzzy Logic Controller for Aircraft Roll Control System
[1] R. C. Nelson, 1998, Flight Stability and Automatic Control, [5] M ıchael V. Cook, 2007, Flight Dynamics Prıncıples, Elsevıer,
M cGraw Hill, Second Edition. Second Edition.
[2] Lucio R. Riberio and Neusa M aria F. Oliveira, “UAV [6] I. H. Altas and A. M . Sharaf, “A Generalized Direct Approach
Autopilot Controllers Test Platform Using M atlab/Simulink for Designing Fuzzy Logic Controllers in M atlab/Simulink
and X-Plane”, 40th ASEE/IEEE Frontiers in Education GUI Environment”, Accepted for publication in International
Conference, October 27-30, 2010, Washington, DC. Journal of Information Technology and Intelligent
Computing, Int. J. IT&IC no.4 vol.1.
[3] M . A. Usta, O. Akyazi and A. S. Akpinar, “Aircraft Roll
Control System Using LQR and Fuzzy Logic Controller”, [7] Joao P. Hespanha, April 1,2007, Umdergraduate Lecture
International Symposium on INnovations in Intelligent Notes on LQG/LQR Controller Design.
SysTems and Applications (INISTA 2011), pp. 223-227, June
15-18, 2011, Istanbul, Turkey. [8] S. Ramesh and A. Krishnan, “A Self –Tuning Fuzzy Logic
Controller for a Frequency Stabilization in a Parallel AC –
[4] Nurbaiti Wahid and M ohdFua’adRahmat, “Pitch Control DC Two Area Interconnected Power System”, European
System Using LQR and Fuzzy Controller”, 2010 IEEE Journal of Scientific Research ISSN 1450-216X Vol.51 No.1
Symposium on Industrial Electronics and Applications (2011), pp.6-17, © Euro Journals Publishing, Inc. 2011
(ISIEA 2010), October 3-5, 2010, Penang, M alaysia