Hostname: page-component-848d4c4894-4hhp2 Total loading time: 0 Render date: 2024-05-20T02:24:29.453Z Has data issue: false hasContentIssue false

Lyapunov-based Robust Adaptive Configuration of the UAS-S4 Flight Dynamics Fuzzy Controller

Published online by Cambridge University Press:  11 February 2022

S.M. Hashemi
Affiliation:
École de technologie supérieure, Laboratory of Applied Research in Avionics, Active Controls and AeroServoElasticity LARCASE, 1100 Notre Dame West, Montreal, QC, H3C-1K3, Canada
R.M. Botez*
Affiliation:
École de technologie supérieure, Laboratory of Applied Research in Avionics, Active Controls and AeroServoElasticity LARCASE, 1100 Notre Dame West, Montreal, QC, H3C-1K3, Canada
Rights & Permissions [Opens in a new window]

Abstract

In tandem with the fast-growing demand for Unmanned Aerial Vehicles (UAVs) for surveillance and reconnaissance, advanced controllers for these critical systems are needed. This paper proposes a flight dynamics controller design that considers various uncertainties for the Hydra Technologies UAS-S4 Ehécatl. In order to be realistic, in addition to flight dynamics nonlinearities, three main sources of uncertainties are considered, as those caused by unknown controller’s parameters, modeling errors, and external disturbances. A Robust adaptive fuzzy logic controller is designed, in charge of nonlinear flight dynamics in presence of a variety of uncertainties. The nonlinear flight dynamics is modeled based on the Takagi-Sugeno method relying on the soft association of local linear models. Since this controller is model-based, an optimal reference model is defined, which is stabilised by the Linear Quadratic Regulator procedure. A fuzzy logic controller is then designed for the nonlinear model. Lastly, with the aim to handle the uncertainties, the gains of the fuzzy controller are reconfigured, and are continuously adjusted by Lyapunov-based robust adaptive laws. The performance of the UAS-S4 Robust adaptive fuzzy logic controller is evaluated in terms of lateral and longitudinal flight dynamics stabilisation, and the reference model state variables tracking under various uncertainties.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press on behalf of Royal Aeronautical Society

Nomenclature

Symbols

${A_{lon}},\;{B_{lon}}$

Longitudinal flight dynamics state and control matrices of the UAS-S4

${A_{lat}},\;{B_{lat}}$

Lateral flight dynamics state and control matrices of the UAS-S4

${A_i},\;{B_i}$

State and control matrices of the UAS-S4 Takagi-Sugeno fuzzy model

${A_r},\;{B_r}$

State and control matrices of the reference model

$d\left( {X,t} \right)$

Bounded external disturbance

$E$

Tracking error

${G_u},\;{G_w},{H_u},{H_w},{M_u},{M_w},{M_q}$

Longitudinal state matrix dimensional stability derivatives

${G_\delta },{H_\delta },{M_\delta }\;$

Longitudinal control matrix dimensional stability derivatives

${K_i}_{1 \times n}$ , ${Z_i}$

Takagi-Sugeno fuzzy logic controller gains

${k_i}_{1 \times n}$ , ${z_i}$

Desired fuzzy logic controller gains based on the reference model

$p$

Roll rate

$q$

Pitch rate

${\mathcal{Q}},R$

Linear Quadratic Regulator cost function weights

$\eta $

Yaw rate

$u$

Axial velocity

$v$

Side velocity

$V$

Lyapunov function

$w$

Vertical velocity

$X$

The UAS-S4 state variables vector

${X_r}$

Reference model state variables vector

${Y_v},\;{Y_p},\;{Y_r},\;{L_v},\;{L_p},\;{L_r},\;{N_v},\;{N_p},\;{N_r}$

Lateral state matric dimensional stability derivatives

${Y_\delta },{L_\delta },{N_\delta }$

Lateral control matric dimensional stability derivatives

Greek letters

$\theta $

Pitch angle

$\varphi $

Roll angle

$\delta $

Control input vector

${\delta_a}$

Aileron angle

${\delta_e}$

Elevator angle

${\delta_r}$

Rudder angle

${\phi_i}$

Fuzzy rule activator

${\rm{{\rm K}}}$

Linear Quadratic Regulator gain

${\rm{\Gamma }}_j^i$

Membership function’s collected grades in fuzzy subsystems

${\gamma_1},{\gamma_2}$

Constant weights of the Lyapunov function

${\epsilon_{{A_i}}},\;{\epsilon_{{B_i}}}$

UAS-S4 model uncertainties

Abbreviation

FDM

Flight Dynamics Model

FLM

Fuzzy Logic Model

FLC

Fuzzy Logic Control

LQR

Linear Quadratic Regulator

RAFLC

Robust Adaptive Fuzzy Logic Control

SATE

Sum of Absolute Tracking Errors

T-S FL

Takagi-Sugeno Fuzzy Logic

UAV

Unmanned Aerial Vehicles

1.0 Introduction

Unmanned Aerial Vehicles (UAVs) are remotely controlled aircraft designed to perform specific tasks. Due to the fast-growing demand for UAVs aimed at a variety of applications, the design of UAVs has remained a dynamic research field [Reference Cir1]. In most cases, UAVs have been produced for military and disaster relief purposes, as well as for surveillance and reconnaissance [Reference Watts, Ambrosia and Hinkley2]. The UAS-S4 Ehecatl is such an UAV, designed and manufactured by the Hydra Technologies company in Mexico to perform military and civilian surveillance [Reference Kuitche and Botez3].

Critical UAV systems are equipped with accurate flight dynamics controllers [Reference Chen, Wang and Li4]. Designing an efficient controller requires an accurate flight dynamics model [Reference Tuzcu, Marzocca, Cestino, Romeo and Frulla5]. In fact, the access to the flight dynamics model enhances our ability to evaluate the controller performance in the early phases of the UAV development instead of relying mainly on flight test phases, which dramatically improves flight safety while reducing both costs and time [Reference Yu, Guo, Zhang and Jiang6]. The present work seeks to design a fully functional controller for the UAS-S4 based on its flight dynamics model. In this context, the model refers to the mathematical representation of the UAS-S4 flight dynamics system, which is basically used for its better understanding, prediction and control.

Since fixed-wing UAS-S4s have the minimum number of required control surfaces, only a few actuators should provide a safe and reliable flight. While utilising a fewer number of actuators results in a simpler UAV flight dynamics model, flight stability may become more affected in the presence of uncertainties [Reference Borello, Cestino and Frulla7]. These uncertainties may be external disturbances (dues to environmental conditions) [Reference Ghommam, Saad, Mnif and Zhu8], unknown controller parameters (affected by actuator and sensor imperfections) [Reference Cao and Hovakimyan9], and model imperfections (dues to model approximation and to experimental errors) [Reference Bucolo, Buscarino, Famoso, Fortuna and Frasca10]. Additionally, following changes in flight conditions, the flight dynamics behave nonlinearly [Reference Wang and Stengel11]. In order to provide stable flight, it is essential to obtain an accurate mathematical flight dynamics model for the UAS-S4, and then to design an efficient controller that can consider flight dynamics nonlinearities and uncertainties.

Basically, any UAV flight dynamics model depends on its geometrical data, aerodynamic performance estimation, onboard actuators and sensors model, controller model, signal processing, and environmental functioning conditions [Reference Stengel12]. By conducting flight tests, the model parameters can be determined. The interpretation of UAV propulsion and actuation systems in terms of its mass and inertia are the essential requirements for obtaining an accurate UAV model. To that end, both linear and nonlinear representations of aircraft models are shown in [Reference Etkin and Reid13]. When obtaining an accurate flight dynamics model is possible, a model-based controller will be highly successful in performing the intended tasks [Reference Brosilow and Joseph14]. Thanks to the equipment available at our LARCASE (The Active Control, Avionics and Aeroservoelasticity Research Laboratory), including the UAS-S4, the Price-Païdoussis subsonic blow down wind tunnel, and the tow Research Aircraft Flight Simulators (RAFS) level-D for the [R]-too and Cessna Citation X [Reference Botez15], the accurate modeling of UAS-S4 flight dynamics is possible. Thus, the model-based control approach can be used to design the desired UAS-S4 controller.

From the classical control theory aspect, the PID approach is known as the generic and standard industrial control law [Reference Amoroso, Liverani, Francia and Ceruti16]. Basically, this controller operates via the feedback mechanism with the objective of reducing the stabilisation and tracking error by modifying its signal. Although the PID technique can stabilise UAS-S4 flight dynamics without needing complex calculations for tuning the corresponding controller gains [Reference Kuitche and Botez3], performing the stabilisation tasks requires major control signal efforts. The need of such a controller that gives the desired output while considering a cost function led us at our LARCASE to investigate the LQR approach. The LQR methodology controls the state variables by using an optimal state-feedback law computed while minimising a fine-tuned energy-like cost function [Reference Minchala-Avila, Garza-Castañón, Vargas-Martínez and Zhang17]. This method showed high efficiency when it was utilised for our UAS-S4 flight dynamics control [Reference Yañez-Badillo, Kuitche and Botez18]. However, state variables estimation decreases the LQR’s effectiveness, which worsens with increasing distance from the equilibrium point [Reference Hashemi, Menhaj and Amani19]. With respect to the designed PID and LQR controllers for our UAS-S4, we need to design an efficient flight dynamics controller that can solve challenges including, parametric and nonparametric uncertainties while flight dynamics behaves nonlinearly.

A control strategy is expected to be designed, such that it could work very well despite uncertainties [Reference Lungu, Lungu and Grigorie20]. These issues led us to choose the Fuzzy Logic Control (FLC) method, which has proven its ability to handle nonlinearities in a broad range of operation [Reference Grigorie and Botez21]. Fuzzy Logic can provide a nonlinear model constructed by the soft association of several local linear models, while reduces computational complexity for the controller in real time operations. Then, a Fuzzy Logic Controller can be designed based on the provided Fuzzy Logic Model (FLM). Where, the classical feedback control technique aimed at flight dynamics stabilisation and tracking can be employed to control each local model. The designed Fuzzy Logic Controller (FLC) can be developed into the Adaptive FLC that can solve uncertainties due to unknown controller parameters (affected by actuator and sensor imperfections) [Reference Cho, Seo and Lee22].

The objective of this article is the adaptive fuzzy methodology reconfiguration aimed at UAVs flight dynamics control for a wide range of uncertainties that may be caused by unknown controller’s parameters. The novelty of this study is to modify the adaptive laws in order to make them robust against external disturbances (e.g., wind turbulence, wind shear, wind gust) or model imperfections (dues to fuzzification and defuzzification process errors), which were not considered in [Reference Doyle, Francis and Tannenbaum44]. Moreover, a general Theorem, followed by its stability proof is given to be useful for flight dynamics control of a variety of UAVs.

This paper is arranged in five sections. Following Section 1 on Introduction, the UAS-S4 flight dynamics model and its fuzzy logic representation are stated in Section 2. The fuzzy controller developed for the desired reference model is described, and then its robustness and adaptive aspects are developed in Section 3. Section 4 presents the simulation results and their numerical analysis. The research contributions and achievements are summarised in Section 5, and they are followed by an outline of proposed future works.

2.0 UAS-S4 flight dynamics modeling

The first essential step towards the design of an efficient controller for a flight dynamics system is the calculation of an appropriate model that accurately expresses the system dynamics behaviour. In this way, the UAS-S4 is considered as the case study which is equipped with elevators, ailerons and rudders that are controlling its loads through the pitch, roll and yaw axes. Figure 1 shows Hydra Technologies UAS-S4 Ehecatl, and Table 1 lists its specifications.

Table 1. UAS-S4 specifications (geometrical and flight data).

Figure 1. Hydra Technologies UAS-S4 Ehecatl.

For an UAV that flies in a broad operating range, a vast number of internal and external factors could affect its flight dynamics behaviour. To obtain an accurate model for the design of an efficient controller, the flight dynamics data was mapped in a Mach-altitude flight envelope. A scheduled model was provided to represent the flight envelope containing nodes associated to the flight dynamics trim models. For each node, the flight dynamics model nonlinearities and parametric uncertainties were reduced.

The model in charge of each node was mathematically represented using differential equations with respect to the time-varying mass, and then linear models were designed around several equilibrium points. The controller was allocated to all nodes, in which a time-varying mass existed. Figure 2 depicts step-by-step procedure followed to reach the research objective.

Figure 2. The followed procedure to control the UAS-S4 flight dynamics.

Firstly, the flight envelope schedules the UAS-S4 flight dynamics model for nine altitudes and four speeds. Then, the nonlinear model considering time-varying mass is linearised around several equilibrium points. Linearised models apply to the defined membership functions in order to obtain the UAS-S4 Fuzzy Logic Model (FLM). Next, the Fuzzy Logic Controller (FLC) computes the control signal based on the provided UAS-S4 FLM. Finally, the desired and controlled flight dynamics values are compared, and the error is used by the adaptation block for adjusting FLC gains. The UAS-S4 flight dynamics model and its controller design are explained in details in the following sections.

2.1 UAS-S4 linear local models

By considering the aircraft differential equations of motion [Reference Caughey23], UAS-S4 state variables can be linearly modeled about its several equilibrium points. The UAS control problem can be solved for both its lateral and longitudinal motions. In this paper, the state variables of the UAS-S4 both lateral and longitudinal motions are controlled.

The state variables of the longitudinal flight dynamics are represented by ${X_{lon}} = {\left[ {u\quad w\quad q\quad \theta } \right]^T}$ , with the axial velocity $u$ , vertical velocity $\;w$ , pitch rate $q$ , and pitch angle $\theta $ while the control input is ${\delta_{lon}} = {\left[ {\begin{array}{cccccc}{{\delta_e}}\quad {{\delta_T}}\end{array}} \right]^T}$ . Even though the control vector is formed by the elevator deflection ${\delta_e}$ and thrust ${\delta_T}$ , the former plays the key role for the pitch control. The lateral flight dynamics state variables represented by ${X_{lat}} = {\left[ {v\quad p\quad \eta\quad \varphi } \right]^T}$ , with the side velocity $v$ , roll rate $p$ , yaw rate $\eta $ , and roll angle $\varphi $ . Based on the aileron and ruder deflections, ${\delta_{lat}} = {\left[ {\begin{array}{cccccc}{{\delta_a}}\quad {{\delta_r}}\end{array}} \right]^T}\;$ is in charge of lateral controls input.

Knowing that the linearised state-space representation of the model around an equilibrium pointis [Reference Nelson24]:

(1) \begin{align}\dot X(t) = A{\rm{\;}}X(t) + B{\rm{\;}}\delta (t)\end{align}

where the longitudinal state-space matrices are:

(2) \begin{align} {A_{lon}} & = \left[ \begin{array}{c@{\quad}c@{\quad}c@{\quad}c} {G_u} & {{G_w}} & 0 & - {g}\cos {\theta_0}\\ {{H_u}} & {{H_w}} & {{u_0}} & - {g}\sin {\theta_0}\\ {{M_u} + {M_{\dot w}}{H_u}} & {{M_w} + {M_{\dot w}}{H_w}} & {{M_q} + {u_0}{H_{\dot w}}} & 0\\ 0 & 0 & 1 & 0 \\ \end{array} \right]\nonumber\\[10pt] {B_{lon}} & = \left[ \begin{array}{c@{\quad}c} {{G_{{\delta_e}}}} & {{G_{{\delta_T}}}}\\ {{H_{{\delta_e}}}} & {{H_{{\delta_T}}}}\\ {{{\delta_e}} + {M_{\dot w}}{H_{{\delta_e}}}} & {{M_{{\delta_T}}} + {M_{\dot w}}{H_{{\delta_T}}}}\\ 0 & 0 \end{array} \right]\end{align}

and the lateral state-space matrices are:

(3) \begin{align}{A_{lat}} = \left[ {\begin{array}{c@{\quad}c@{\quad}c@{\quad}c} {{Y_v}} & {{Y_p}} & { - \left( {{u_0} - {Y_r}} \right)} & {{g}\cos {\theta_0}}\\[5pt] {{L_v}} & {{L_p}} & {{L_r}} & 0\\[5pt] {{N_v}} & {{N_p}} & {{N_r}} & 0\\[5pt] 0 & 1 & 0 & 0 \end{array}} \right],\ {B_{lat}} = \left[ {\begin{array}{c@{\quad}c} 0 & {{Y_{{\delta_r}}}}\\[5pt] {{L_{{\delta_a}}}} & {{L_{{\delta_r}}}}\\[5pt] {{N_{{\delta_a}}}} & {{N_{{\delta_r}}}}\\[5pt] 0 & 0 \end{array}} \right]\end{align}

where ${G_u},\;{G_w},{H_u},{H_w},{M_u},{M_w},{M_q}\;$ are the UAS-S4 longitudinal state matric dimensional stability derivatives, and ${G_\delta },{H_\delta },{M_\delta }\;$ are its longitudinal control matric dimensional stability derivatives. In addition, ${Y_v},\;{Y_p},\;{Y_r},\;{L_v},\;{L_p},\;{L_r},\;{N_v},\;{N_p},\;{N_r}$ are the UAS-S4 lateral state matric dimensional stability derivatives, and $\;{Y_\delta },{L_\delta },{N_\delta }$ are its lateral control matric dimensional stability derivatives.

In order to obtain the UAS-S4 state-space matrices’ elements, it is needed to compute the dimensional aerodynamic coefficients and their derivatives. While several research projects on aircraft modeling have been conducted at the LARCASE [Reference Botez, Hamel, Ghazi, Boughari, Theel and Mendoza25Reference Bardela and Botez27], the most comprehensive study on the UAS-S4 modeling was detailed in [Reference Kuitche and Botez3]. The UAS-S4 model was obtained at the LARCASE using four sub-models representatives of aerodynamics, actuator, propulsion, and mass and inertia.

The first sub-model (aerodynamics) was set up according to the Fderivatives in-house code; this code was based on new aerodynamics methodologies added to DATCOM [Reference Anton, Botez and Popescu28]. The second sub-model (propulsion) was built using a two-stroke engine integration model relying on the operation of an internal combustion engine (Otto Cycle), and on the propeller analysis (Blade Element Theory) [Reference Kuitche, Botez, Viso, Maunand and Moyao29, Reference Romeo, Cestino, Pacino, Borello and Correa30]. Raymer and DATCOM techniques were used to implement the third sub-model (mass and inertia) [Reference Tondji and Botez31]. Finally, the fourth sub-model (a control surface actuation system) was designed using the servomotors’ characteristics, and the final UAS-S4 model was obtained by the sub-models integration [Reference Kuitche and Botez3].

In this way, the UAS-S4 flight dynamics related to both longitudinal and lateral motions was represented using several linear state-space models. Each state-space model expresses the linearised state variables about a specific equilibrium point corresponding to a certain range of altitudes and speeds. However, by increasing the operational range about an equilibrium point, the modeling error due to the linearisation also increases. In order to enhance the models’ accuracy, several equilibrium points can be considered, and consequently, several local linear models can be better fitted into the actual flight dynamics model. Therefore, a fuzzy logic approach is utilised for the UAS-S4 modeling.

2.2 UAS-S4 Fuzzy Logic Model

Basically, an aircraft nonlinear Flight Dynamics Model (FDM) can be represented through its affine system formulation [Reference Lin32] by the equation $ \dot{X} = \mathbb{F}(X) + \mathbb{G}(X) \delta $ , where the control input vector $\delta $ is adjusting the state vector variables $X$ using $\mathbb{F}: \mathbb{R}^{n} \rightarrow \mathbb{R}^{n} $ and $\mathbb{G}: \mathbb{R}^{n} \rightarrow \mathbb{R}^{n} $ functions, that are unknown. A simple nonlinear FDM was found to be more efficient than a complex nonlinear system for the design of a model-based controller, which was our main objective. The higher efficiency of the simple nonlinear FDM was due to its reduced computational complexity, while providing fast control signal calculations in real-time operations [Reference Ying33]. Therefore, the fuzzy logic approach was chosen, as it provided this procedure for approximating affine nonlinear systems [Reference Zeng, Keane and Wang34].

Fuzzy logic offers the type of models that can be used to support the impression of partial truths, where the truth concept may range between completely true and entirely false [Reference Zadeh35]. Fuzzy logic provides a tool for assembling several local linear models, relying on membership functions, with the objective of approximating a nonlinear model. The Takagi-Sugeno Fuzzy Logic modeling method is known as a practical and user-friendly technique for modeling real physical systems [Reference Takagi and Sugeno36] and was chosen in this study.

The Takagi-Sugeno Fuzzy Logic Model (T-S FLM) consists of a set of models that have been locally linearised about their equilibrium points. Based on the expert-defined fuzzy rules in Equation (4), the association of local models can approximate the actual nonlinear continuous-time flight dynamics model. According to the T-S procedure for generating rules, the $i$ th rule of the fuzzy model is defined as the following [Reference Takagi and Sugeno36].

(4) \begin{align}{\rm{Rul}}{{\rm{e}}^i}:\;\left\{ {\begin{array}{cccccc}{{\rm{\;if}}\;\;\;\;\;\;{x_1}\;{\rm{is}}\;\;\Gamma_1^i\;{\rm{and}} \ldots {\rm{and}}\;{x_n}\;{\rm{is}}\;\Gamma_n^i}\\[5pt] {\;{\rm{then}}\;\;\dot X(t) = {A_i}X(t) + {B_i}\delta (t)}\\[5pt] {{\rm{where}}\;i = 1, \ldots ,j}\end{array}} \right.\;\end{align}

where the state variables vector $X(t) \in {R^n}$ is controlled by the input $\delta (t) \in R$ for a $j$ number of defined rules. The state-space matrices for the UAS-S4 model should then be converted into their controllable Canonical form, as shown in Equation. (5).

(5) \begin{align}{A_{{i_{n \times n}}}} = \left[ \begin{array}{c@{\quad}c@{\quad}c@{\quad}c@{\quad}c@{\quad}c} 0 && 1 & \ldots & & 0\\[5pt] 0 & & 0 &&&\\[5pt] & \vdots & &\ddots &&\vdots\\[5pt] 0 & & 0 & & 0 & 1\\[5pt] {a_i^n} && {a_i^{n - 1}}& \cdots & {a_i^2} & {a_i^1} \end{array} \right]\end{align}

The fuzzy logic model representation based on the first-order models relying on $j$ rules is [Reference Takagi and Sugeno36]:

(6) \begin{align}\dot X(t) = \frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t)\left( {{A_i}X(t) + {B_i}\delta (t)} \right)}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}\end{align}

It should be mentioned that ${\phi_i}(t) = \prod\nolimits_{h = 1}^n \Gamma_h^i\left( {X(t)} \right)$ activates the $i$ th rule by considering the collected grades $\Gamma_h^i\left( {X(t)} \right)$ that are associated with the membership of $X(t)$ in $\Gamma_h^i$ . An appropriate algorithm is further designed for flight dynamics control by utilising the fuzzy model presented in this section.

3.0 Flight dynamics control

Having effective control over a UAV’s flight dynamics would allow efficient flights in terms of their costs and safety. This section first defines the desired reference model for the chosen model-based control strategy by utilising the LQR controller that performed very well under ideal conditions for the UAS-S4 [Reference Yañez-Badillo, Kuitche and Botez18]. The controlled model specifications (using the LQR methodology) about the equilibrium point are considered as the reference specifications for the controlled model using the Robust Adaptive Fuzzy Logic Control (RAFLC) methodology.

3.1 Reference model

Basically, a reference model should define the desirable response of the controlled system to the input command. The design of the reference model is one of the basic aspects of an adaptive control strategy. In addition to offering performance index values (whether for frequency-domain or time-domain characteristics), the reference model should also satisfy its constraints, such as its relative degree and order.

According to the above-mentioned concerns regarding the reference model definition, the desired reference model specifications are determined using the Linear Quadratic Regulator (LQR) procedure applied around the equilibrium point. An LQR controls the state variables using an optimal state-feedback law, that is computed while minimiSing a fine-tuned cost function [Reference Boughari and Botez37]. The design of an LQR is based on the linear state-space model representation, as given in Equation (1). The LQR algorithm calculates the control signal while minimising the following energy-based cost function:

(7) \begin{align}J = \frac{1}{2}\smallint\nolimits_0^\infty {X^T}(t)Q\;X(t) + {\delta ^T}(t)\;R\;\delta (t)\;dt\end{align}

where $Q$ and $R$ are the weight matrices (positive-semi-definite or positive-definite), that clarify the importance of cost function related to the state vector and the control vector, respectively.

Consequently, the LQR control law is:

(8) \begin{align}\delta (t) = - {\rm{{\rm K}}}\;X(t)\end{align}

Following the state feedback gain ${\rm{{\rm K}}}$ and state variables vector $X$ values, the LQR procedure stabilises the flight dynamics of the closed-loop model with respect to the state-space variables usingEquation (9):

(9) \begin{align}\dot X(t) = \left( {A - B{\rm{{\rm K}}}} \right)\;X(t) + B{\rm{{\rm K}}}\;\delta (t)\end{align}

The feedback gain ${\rm{{\rm K}}}$ is computed by:

(10) \begin{align}{\rm{{\rm K}}} = {R^{ - 1}}{B^T}{\mathcal{P}}\end{align}

where matrix ${\mathcal{P}}$ is obtained by solving the following algebraic Riccati equation:

(11) \begin{align}{A^T}{\mathcal{P}} + {\mathcal{P}}A + {\mathcal{Q}} - {\mathcal{P}}PB{R^{ - 1}}{B^T}{\mathcal{P}} = 0\end{align}

Next, the control block of the UAS-S4 model needs to be designed by taking into account the controlled reference model. The Fuzzy Logic Control (FLC) approach is employed in order to solve the challenge of model nonlinearities, as well as to outperform linear controllers.

3.2. Fuzzy Logic Controller (FLC)

Over the past two decades, the use of fuzzy logic for systems control has been developed for a variety of industrial applications. In most comparison studies, the FLC outperforms classical controllers in solving the challenges of nonlinearities, mathematical complexities, and in uncertainties removal [Reference Lin, Zhou, Lu, Wang and Yi38Reference Radhakrishnan and Swarup40]. In fact, FLC allowed obtaining accurate inputs from approximate inputs through an intuitive converting process [Reference Babaei, Mortazavi and Moradi39].

Basically, the FLC implementation is done in three fundamental steps: fuzzification, fuzzy interface, and defuzzification [Reference Mehrjerdi, Saad and Ghommam41]. The fuzzification block converts crisp data into fuzzy data using proper membership functions. The prepared data is then fed to the Fuzzy Inference System (FIS), which processes the fuzzy data and performs the control tasks according to the IF-THEN rules. Finally, the computed fuzzy control signal is converted into its real signal values through the defuzzification block. The FLC signal is applied to the UAS-S4 flight dynamics, which is modeled using FLM. This control signal is computed as function of the error (the difference between the measured and the desired flight dynamics values). Figure 3 shows the concept of FLC utilised in the closed-loop architecture in charge of the UAS-S4 flight dynamics.

Figure 3. The fuzzy logic controller utilised for the UAS-S4 flight dynamics.

Regarding the Takagi-Sugeno Fuzzy Logic Model (T-S FLM) described in subsection 2.2, the UAS-S4 FLM should be controlled by use of a compatible FLC. Hence, the T-S Fuzzy Logic Controller (T-S FLC) is needed to be designed.

3.3. T-S Fuzzy Logic Controller

Takagi-Sugeno Fuzzy Logic Control (T-S FLC) method can manage nonlinearities and time-varying parameters while avoiding control algorithm complexity [Reference Tseng, Chen and Uang42]. T-S FLC proved its efficiency on nonlinear systems in terms of state variables regulation and reference model tracking [Reference Kamalasadan and Ghandakly43]. The T-S FLC is structured based on the classical feedback compensator theory [Reference Doyle, Francis and Tannenbaum44], that is established for each local model. The rule-based control law can be mathematically represented by Equation (12) [Reference Takagi and Sugeno36].

(12) \begin{align} {\rm{Rul}}{{\rm{e}}^i}:\;\left\{ \begin{array}{c} {\rm{if}}\ {x_1}\ is\ \acute{\Gamma}_1^i\ {\rm{and}}\ \ldots\ {\rm{and}}\ {x_n}\ {\rm{is}}\ \acute{\Gamma}_n^i \\[4pt] {\;{\rm{then}}\;\;\delta (t) = - {K_i}X(t) + {Z_i}r(t)} \\[4pt] {{\rm{where}}\;i = 1, \ldots ,j} \end{array}\right.\end{align}

where the state variables are controlled by $\delta (t)$ , and rely on the reference signal $r(t)\;$ and adjustable gains denoted by ${K_i}_{1 \times n}$ and ${Z_i}_{1 \times 1}$ .

The T-S FLC output is given by Equation (13):

(13) \begin{align}\delta (t) = {{\sum\nolimits_{i = 1}^j {{\acute{\phi}}_i}(t)\left( { - {K_i}X(t) + {Z_i}r(t)} \right)} \over {\sum\nolimits_{i = 1}^j {{\acute{\phi}}_i}(t)}}\end{align}

By considering $\acute{\phi}_{i}(t) = \prod_{h=1}^{n} \acute{\Gamma}_h^{i} (X(t)) $ , which activates the $i^{\text{th}}$ rule of the fuzzy controller based on the collected grades $\acute{\Gamma}_h^{i}(X(t))$ associated with the membership of $X(t)$ in $\acute{\Gamma}_h^{i}$ . With the aim of obtaining a zero-value tracking error $\acute{\phi}_i(t) = \phi_i(t)|Z_i^{-1}|$ , should be determined in order to formulate Lyapunov function for the system to become asymptotically stable; when the gain of the reference signal value was 1, the controller could fires the proper rule with the same collected grade in the fuzzy model.

The T-S control law can be reproduced, as shown in Equation (14):

(14) \begin{align}\sum \limits_{i = 1}^j {\phi_i}(t)Z_i^{ - 1}\delta (t) - \sum \limits_{i = 1}^j {\phi_i}(t)Z_i^{ - 1}\left( { - {K_i}X(t) + {Z_i}r(t)} \right) = 0\end{align}

Even though the FLC handles nonlinearities, it is affected by the adverse effects of parameters uncertainties. Since the concept of adjustable gains is supposed to overcome these problems, the modified Adaptive Fuzzy Logic Controller (AFLC) is employed, as it relies on adjustable gains. Additionally, we consider the other two main sources of uncertainties, namely external disturbance, and model imperfection. The robust adaptive configuration of the T-S FLC is our solution.

3.4. Adaptive T-S Fuzzy Logic Controller

In Control Systems Engineering, uncertainty is an issue that may appear due to a variety of reasons, and it can adversely affect controller performance. Uncertainty presence may reduce controller robustness, and may lead to systems dynamics instabilities. Therefore, an algorithm should control the nonlinear flight dynamics model while remaining efficient in the presence of uncertainties. To fulfill this objective, a reference model is defined by applying the T-S FLC. Then, the errors are measured by subtracting the UAS-S4 state variables values from the reference model’s state variables values [Reference Cho, Seo and Lee22]. Finally, using a Lyapunov function (which relies on the measured error) for guaranteeing the flight dynamics asymptotic stability, the adaptation laws for gain tuning are calculated. Equation (15) defines the reference model containing the desired state variables, as follows:

(15) \begin{align}{\dot X_r}(t) = {A_r}{X_r}(t) + {B_r}r(t)\end{align}

If ${k_i}_{1 \times n}$ and ${z_i}_{1 \times 1}$ are assumed to be the gains of the desired compensator corresponding to each fuzzy rule, which can regulate the closed-loop response, such that the UAS-S4 state variables exactly follow the reference model state variables, then ${A_r} = {A_i} - {B_i}{k_i}$ and ${B_r} = {B_i}{z_i}$ need to be satisfied. By rearrangingthese last formulations as ${A_i} = {A_r} + {B_i}{k_i}$ and ${B_r} = {B_i}{z_{}}$ , and then, by substituting them into Equation (6), the aircraft’s T-S fuzzy logic representation using the reference model is given in Equation (16).

(16) \begin{align}{\dot{X}}(t) = \left( {{A_r} + \frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}{k_i}}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){X}(t) + \left( {\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){\delta}(t)\end{align}

The error is defined as $E(t) = X(t) - {X_r}(t)$ . This error is further obtained by subtracting Equation (16) from Equation (15). Therefore, the next Equation (17) represents this error.

(17) \begin{align}{\dot E_j}(t) = {A_r}{E_j}(t) + \left( {\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}{k_i}}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){X}(t) + \left( {\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){\delta}(t) - \left( {\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){r}(t)\end{align}

By replying Equation (14) into Equation (17), the error can be obtained using next Equation (18):

(18) \begin{align}{\dot E_j}(t) = {A_r}{E_j}(t) + \left( {\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}\!\left( {{k_i}z_i^{ - 1} - {K_i}Z_i^{ - 1}} \right)}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){X}(t) + \left( {\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}\!\left( {z_i^{ - 1} - Z_i^{ - 1}} \right)}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){\delta}(t)\end{align}

In order to converge the error to zero, the following Lyapunov function for the stabilisation analysis and reference signal tracking was employed:

(19) \begin{align}V = E_j^TP{E_j} + \sum \limits_{i = 1}^j \left( {\frac{1}{{{\gamma_1}}}{{\left( {{k_i} - {K_i}} \right)}^T}\left| {z_i^{ - 1}} \right|\left( {{k_i} - {K_i}} \right) + \frac{1}{{{\gamma_2}}}{{\left( {{z_i} - {Z_i}} \right)}^T}\left| {z_i^{ - 1}} \right|\left( {{z_i} - {Z_i}} \right)} \right)\end{align}

where $P = {P^T} \gt 0$ is positive-definite matrices and ${A_r}$ stability assumption is guaranteed by use of $A_{{r_i}}^TP + PA_{{r_i}} \lt - Q_{{i}} $ for all matrices $Q_{{i}} = Q_i^T \gt 0$ . In addition, ${\gamma_1}$ and ${\gamma_2}$ are positive constant parameters that are used to finely tune the gains. The gains of the fuzzy controller in Equation (13) can be adjusted via the following adaptation laws (based on FLC gains and their derivatives), obtained by solvingEquation (19) [Reference Cho, Seo and Lee22].

(20) \begin{align}{\dot K_i} = {\gamma_1}sign\!\left( {z_i } \right)\frac{{{\phi_i}B_r^TP{E_j}{X^T}}}{{\sum\nolimits_{i = 1}^j {\phi_i}}},\;\;{\dot Z_i} = - {\gamma_2}sgn\!\left( {z_i } \right)\frac{{{\phi_i}B_r^TP{E_j}\!\left( {\delta + {K_i}X} \right)}}{{{Z_i}\sum\nolimits_{i = 1}^j {\phi_i}}}\end{align}

The stability theorem of adaptive gains is given in [Reference Cho, Seo and Lee22]. Uncertainties dues to the unknown controller’s parameters could affect the adaptive gain ${Z_i}$ , and may approach it to zero value. Since adaptive gain ${Z_i}$ appears in the denominator of Equation (20), in order to guarantee the model stability, the adaptation laws should be modified in cases when the denominator approaches to zero. Therefore, the modified tuning law for an adaptive fuzzy controller is represented in Equation (21) [Reference Hashemi, Botez and Grigorie45]:

(21) \begin{align} & {\dot Z_i} = \left\{\begin{array}{c@{\quad}c} {{w_i},} & {{\rm{if}}\ \left| {{Z_i}} \right| \gt {Z_i}_0\ \ or\ \ {Z_i} = {Z_i}_0\ {\rm{and}}\ {w_i}\ {\rm{sign}}\!\left( {{Z_i}}\right) \lt 0}\\[5pt] {0}, & {\rm{otherwise}} \end{array} \right.\nonumber\\[5pt] & {\rm{where}}\qquad\qquad\qquad\qquad {w_i} = - {\gamma_2}\ {\rm{sign}}\!\left( {z_i } \right)\frac{{B_r^TP{E_j}\!\left( {\delta + {K_i}X} \right)}}{{{Z_i}\sum\nolimits_{i = 1}^j {\phi_i}}}\end{align}

With respect to the stability proof given in [Reference Cho, Seo and Lee22], by assuming a uniformly bounded reference input while analysing the stable reference model, the control law $(K_{i}, Z_{i}, \acute{\phi}_i)$ and tracking error $E$ were guaranteed bounded for all $j\;$ fuzzy logic rules. The convergence of the reference model was ensured, such that $lim_{t \to \infty } {E_j}(t) = 0$ , as the tracking error $E$ converges to zero. This assumption is clarified in the mathematical proof of the general theorem formulated for the designed robust adaptive fuzzy logic laws after Equation (26). Although the presented Adaptive Fuzzy Logic Controller (AFLC) can control nonlinear flight dynamics in the presence of uncertainties, that are dues to unknown controller’s parameters, it remains sensitive against other sources of uncertainties. Model imperfection and external disturbances are the two main causes of uncertainties that adversely affect controller performance, and both of them can be solved using robust control theory.

3.5 Robust Adaptive T-S Fuzzy Logic Controller

Robust control is a static approach that deals explicitly with uncertain parameters and disturbances. In other words, it is utilised to guarantee stability and to obtain robust performance while taking into account disturbances and modeling errors (both of which are assumed to be bounded) [Reference Chabir, Boukhnifer, Bouteraa, Chaibet and Ghommam46].

The uncertainties dues to external disturbances, such as wind shear, gust, and turbulence can be considered mathematically as bounded functions $d\left( {X,t} \right)$ , in which ${D_{{{n \times 1}}}} = {\left[ {0\;\;0\; \ldots 0\;\;1} \right]^T}$ .

(22) \begin{align}\dot X(t) = \frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t)\left( {_i\;X(t) + {B_i}\;\delta (t)} \right)\;}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}} + Dd\!\left( {X,t} \right)\end{align}

Additionally, even if an aircraft is modeled by a skilled expert, relying on perfect aircraft data, uncertainties in modeling may be dues to other causes:

  1. Time-varying parameters, where a fixed controller can not always stabilise its state variables

  2. Ignoring high-order dynamics for the nominal model simplification

  3. Nonlinearities, where systems contain nonlinear dynamics, and models are represented approximately (such as our aircraft nonlinear dynamics, which is approximated using Fuzzy Logic modeling)

Eventually, uncertainties associated with modeling errors of system dynamics can be added mathematically into the state-space matrices of a T-S fuzzy model, as shown in Equation (23):

(23) \begin{align}\dot X(t) = {{\sum\nolimits_{i = 1}^j {\phi_i}(t)\left( {[{A_i} + {\epsilon_{{A_i}}}\left] {\;X(t) + [{B_i} + {\epsilon_{{B_i}}}} \right]\;\delta (t)} \right)\;} \over {\sum\nolimits_{i = 1}^j {\phi_i}(t)}} + Dd\!\left( {X,t} \right)\end{align}

where the errors are bounded, such as $\|{\epsilon_A}_{i}\|_{\infty} \lt \varepsilon$ and $\|{\epsilon_{B}}_{i}\|_{\infty} \lt \varepsilon$ for $i = 1, \ldots ,j$ .

Equation (23) can be written under the following form:

(24) \begin{align}{\dot X}(t) = \left( {{A_r} + {{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}{k_i}} \over {\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){X}(t) + \left( {{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}} \over {\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){\delta}(t) + \epsilon \left( {X,\delta } \right) + Dd\!\left( {X,t} \right)\end{align}

and then by considering the uncertainties defined as $f(\epsilon,d) = \epsilon(X,\delta) + Dd(X,t)$ the model would be:

(25) \begin{align}{\dot X}(t) = \left( {{A_r} + {{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}{k_i}} \over {\sum\nolimits_{i = 1}^j {\phi_i}(t)}}} \right){X}(t) + \left( {{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}z_i^{ - 1}} \over {\sum\nolimits_{ = 1}^j {\phi_i}(t)}}} \right){\delta}(t) + f\!\left( {\epsilon ,d} \right)\end{align}

Following a procedure for computing adaptive gains similar to the ones used in the previous subsection, and based on a robust control strategy [Reference Dullerud and Paganini47], the modified adaptation laws are:

\begin{align*}{\dot K_i} = {\gamma_1}\;\left[ {{\rm{sign}}\!\left( {z_i } \right)\frac{{{\phi_i}B_r^TP{E_j}{X^T}}}{{\sum\nolimits_{i = 1}^j {\phi_i}}} - \vartheta {K_i}\|{E_j}}\| \right],\end{align*}
(26) \begin{align} {\dot Z_i} = \left\{ \begin{array}{c@{\quad}c} {{w_i}}, & {{\rm{if}}\ \left| {{Z_i}} \right| \gt {Z_i}_0\ \ {\rm{or}}\ \ {Z_i} = {Z_i}_0\ \ {\rm{and}}\ \ {w_i}\ {\rm{sign}}\!\left( {{Z_i}} \right) \lt 0}\\[5pt] 0, & {\rm{otherwise}} \end{array}\right.\nonumber\\[5pt] {w_i} = - {\gamma_2}\left[ {\rm{sign}}\!\left( {z_i } \right)\frac{{B_r^TP{E_j}\!\left( {\delta + {K_i}X} \right)}}{{{Z_i}\sum\nolimits_{i = 1}^j {\phi_i}}} - \vartheta {Z_i}\|{E_j}\| \right]\end{align}

Theorem: Considering a UAV flight dynamics model represented by Equation (25); its desired reference flight dynamics model is given in Equation (15) (which respects $A_{{r_i}}^TP + PA_{{r_i}} \lt - Q_{{i}} $ Inequality), in which the control function is represented by Equation (13), which is tuned by the robust adaptive laws, shown in Equation (26). By assuming uniformly bounded reference input and stable reference model, signals corresponding to the control law $(K_{i},Z_{i},\acute{\phi}_i)$ and ${E_j}$ are guaranteed to be bounded for all fuzzy rules. The reference-model tracking convergence is ensured, so that $lim_{t \to \infty } {E_j}(t) = 0$ , as the tracking error $E$ converges to zero.

Proof. The stability analysis is done based on the designed adaptive laws, as seen in Equations (20) and (21), by use of the Lyapunov function, described in Equation (19). The conditions $\left| {{Z_i}} \right| \gt {Z_i}_0\;\;{\rm{or}}\;\;{Z_i} = {Z_i}_0\;\;{\rm{and}}\;{w_i}{\rm{\;sign}}\!\left( {{Z_i}} \right) \lt 0$ were considered, and $\dot V = - E_j^TQ{E_j}$ was obtained.

In the condition expressed by ${Z_i} = {Z_i}_0$ , when the Lyapunov function is represented with Equation (19), its time derivative is given by:

(27) \begin{align}\dot V = - E_j^TQ{E_j} + 2E_j^TP\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}\!\left( {z_i^{ - 1} - Z_0^{ - 1}} \right)\left( {{K_i}X + \delta } \right)}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}}\end{align}

As $\left| {{z_i}} \right| \gt {Z_0},\;$ so that $\left( {z_i^{ - 1} - Z_0^{ - 1}} \right)sign\!\left( {z_i^{ - 1}} \right) \lt 0$ , therefore:

(28) \begin{align}E_j^TP\frac{{\sum\nolimits_{i = 1}^j {\phi_i}(t){B_r}\!\left( {z_i^{ - 1} - Z_0^{ - 1}} \right)\left( {{K_i}X + \delta } \right)}}{{\sum\nolimits_{i = 1}^j {\phi_i}(t)}} \lt 0\end{align}

which means that $\dot V \lt 0$ . Hence, for both conditions shown in Equation (21):

\begin{align*}{\dot Z_i} = \left\{\begin{array}{c@{\quad}c} {{w_i},} & {{\rm{if}}\;\left| {{Z_i}} \right| \gt {Z_i}_0\;\;\;\;or\;\;\;\;\;{Z_i} = {Z_i}_0\;\;{\rm{and}}\;{w_i}{\rm{\;sign}}\!\left( {{Z_i}} \right) \lt 0}\\[5pt] {0,} & {{\rm{otherwise}}} \end{array} \right.\end{align*}
(21) \begin{align}{\rm{where}}\;\;\;\;\;\;\;\;\;{w_i} = - {\gamma_2}{\rm{\;sign}}\!\left( {z_i } \right)\frac{{B_r^TP{E_j}\!\left( {\delta + {K_i}X} \right)}}{{{Z_i}\sum\nolimits_{i = 1}^j {\phi_i}}}\end{align}

it obtains:

(29) \begin{align}\dot V \gt - E_j^TQ{E_j}\end{align}

Therefore:

(30) \begin{align}\smallint\nolimits_0^\infty E_j^T{E_j}\; \le \;\frac{{V\!\left( 0 \right) - V\!\left( \infty \right)}}{{{\lambda_{min}}(Q)}}\end{align}

while relying on the Barbalat’s lemma, $lim_{t \to \infty } {E_j}(t) = 0.$

Then, by considering that the adaptive laws contain a robust term represented by Equation (26) in the conditions expressed by $\;\left| {{Z_i}} \right| \gt {Z_i}_0\;\;{\rm{or}}\;\;{Z_i} = {Z_i}_0\;\;{\rm{and}}\;{w_i}{\rm{\;sign}}\!\left( {{Z_i}} \right) \lt 0$ , the Lyapunov function is expressed by Equation (19), therefore, its time derivative becomes:

(31) \begin{align}\dot{V} \le & - {\lambda_{min}}\;(Q)\left\|{E_j}\right\|^2 + 3{\lambda_{max}}\;(P)\varepsilon \!\left\|{E_j}\right\|^2 + {\lambda_{max}}\;(P)\varepsilon\! \left\|{X_r}\right\|^2 + 2{\lambda_{max}}\;(P)\varepsilon \sum \nolimits_{i = 1}^j \left\|{K_i}\right\|\left\|{E_j}\right\|^2\nonumber\\[3pt] & + 2{\lambda_{max}}(P)\varepsilon\! \left\|{E_j}\right\| \sum \nolimits_{i = 1}^j \left[ {\left| {{Z_i}r} \right| + \left\|{K_i}\right\|\left\|{E_j}\right\|} \right] - \vartheta \sum \nolimits_{i = 1}^j {\left( {{k_i} - {K_i}} \right)^T}\left| {z_i^{ - 1}} \right|\left( {{k_i} - {K_i}} \right)\nonumber\\[3pt] & - \vartheta \sum \nolimits_{i = 1}^j \left| {z_i^{ - 1}} \right|{\left( {{z_i} - {Z_i}} \right)^2} + \vartheta \sum \nolimits_{i = 1}^j \left\|\left( {{k_i} - {K_i}} \right)\left| {z_i^{ - 1}} \right| - {K_i}\left\|{E_j}\right\|\right\|^2\nonumber\\[3pt] & + \vartheta \sum \nolimits_{i = 1}^j \left\|\left( {{z_i} - {Z_i}} \right)\left| {z_i^{ - 1}} \right| - {Z_i}\left\|{E_j}\right\|\right\|^2\end{align}

We can determine, so that $6{\lambda_{max}}(P)\varepsilon \lt {\lambda_{min}}(Q)$ . Therefore:

(32) \begin{align} & \dot{V} \le - \frac{1}{2}{\lambda_{min}}\;(Q)\left\|{E_j}\right\|^2 + {\lambda_{max}}\;(P)\varepsilon \left\|{X_r}\right\|^2 + 2{\lambda_{max}}\;(P)\varepsilon \sum \nolimits_{i = 1}^j \left\|{K_i}\right\|\left\|{E_j}\right\|^2\nonumber\\ & + 2{\lambda_{max}}\;(P)\varepsilon \left\|{E_j}\right\| \sum \nolimits_{i = 1}^j \left[ \left| {{Z_i}r} \right| + \left\|{K_i}\right\|\left\|{E_j}\right\| \right] - \vartheta \sum \nolimits_{i = 1}^j {\left( {{k_i} - {K_i}} \right)^T}\left| {z_i^{ - 1}} \right|\left( {{k_i} - {K_i}} \right)\nonumber\\ & - \vartheta \sum \nolimits_{i = 1}^j \left| {z_i^{ - 1}} \right|{\left( {{z_i} - {Z_i}} \right)^2} + \vartheta \sum \nolimits_{i = 1}^j \left\|\left( {{k_i} - {K_i}} \right)\left| {z_i^{ - 1}} \right| - {K_i}\!\left\|{E_j}\right\|\right\|^2 + \vartheta \sum \nolimits_{i = 1}^j \left\|\left( {{z_i} - {Z_i}} \right)\left| {z_i^{ - 1}} \right| - {Z_i}\!\left\|{E_j}\right\|\right\|^2\end{align}

If we consider that:

(33) \begin{align}\dot V \le - \alpha V + \beta \end{align}

where:

(34) \begin{align}\alpha = \frac{{\min\limits \left\{ {\dfrac{1}{2}{\lambda_{min}}(Q),\vartheta } \right\}}}{{\max\limits \left\{ {{\lambda_{min}}(Q),\gamma_1^{ - 1},\gamma_2^{ - 1}} \right\}}}\end{align}

and

(35) \begin{align}\beta & = {\lambda_{max}}\;(P)\varepsilon\!\left\|{X_r}\right\|^2 + 2{\lambda_{max}}\;(P)\varepsilon \sum \nolimits_{i = 1}^j \left\|{K_i}\right\|\left\|{E_j}\right\|^2 + 2{\lambda_{max}}\;(P)\varepsilon \!\left\|{E_j}\right\| \sum \nolimits_{i = 1}^j \left[ {\left| {{Z_i}r} \right| + \left\|{K_i}\right\|\left\|{E_j}\right\|} \right]\nonumber\\[4pt] & + \vartheta \sum \nolimits_{i = 1}^j \left\|\left( {{k_i} - {K_i}} \right)\left| {z_i^{ - 1}} \right| - {K_i}\left\|{E_j}\right\|\right\|^2 + \vartheta \sum \nolimits_{i = 1}^j \left\|\left( {{z_i} - {Z_i}} \right)\left| {z_i^{ - 1}} \right| - {Z_i}\left\|{E_j}\right\|\right\|^2\end{align}

Therefore, $V \le \dfrac{\beta }{\alpha }$ causes exponentially convergence of the Lyapunov function, and feasible stable region in order to guarantee the flight dynamics stability is:

(36) \begin{align}{\mathbb {O}} = \left\{ {x\left| {\;{\beta \over \alpha }} \right. < V} \right\}\end{align}

In other words, adaptive gains guarantee the flight dynamics stability, as long as the amount of bounded uncertainties respect the threshold (the border of Equation (36) as the feasible stable region). Additionally, the leakage factor $\vartheta $ in the robust term should be carefully tuned based on a trade-off; a larger value for $\vartheta $ improves the controller robustness, while a smaller value provides more accurate reference model state variables tracking [Reference Blažič, Matko and Škrjanc48]. The mechanism of our designed T-S-based Robust Adaptive Fuzzy Logic Controller (RAFLC) block diagram is depicted in Fig. 4.

Figure 4. The designed Robust Adaptive T-S Fuzzy Logic Controller (RAFLC) mechanism.

4.0 Results

The effectiveness of the designed RAFL controller is evaluated in terms of UAS-S4 state variables stabilisation and reference model state variables tracking. The efficiency of adaptation laws can be assessed by the convergence of the reference model’s state variables tracking error. The designed RAFL controller was utilised for all trim conditions and showed very good servo-accuracy performance. The numerical results corresponding to several trim conditions were utilised to demonstrate the controller’s functioning in details. By assuming that the aircraft is in the trim condition at the $speed = 45\;m/s$ , $altitude = 6,100\;m$ , and its mass is varying in time between $53{\rm{\;kg}}$ and $55\;kg$ , the trim for the local models of the UAS-S4 are obtained through the following two Fuzzy Logic rules:

\begin{align*} & {Rule{\rm{\;}}1:{\rm{\;\;\;\;if\;}}{E_{{\rm{\;\;}}}}{\rm{is\;positive\;\;\;\;then\;}}\dot X(t) = {A_1}X(t) + {B_1}\delta (t)}\\ & {Rule{\rm{\;}}2:{\rm{\;\;\;\;if\;}}{E_{\rm{\;}}}{\rm{\;is\;negative\;\;\;then\;}}\dot X(t) = {A_2}X(t) + {B_2}\delta (t)} \end{align*}

Knowing that, the UAS-S4 Fuzzy model was designed using 216 local FDMs. If a reference model was not employed, we had to calculate the membership functions using state variables. But, since we first designed the desired reference model, and the UAS-S4 FDM was supposed to track the reference model, we utilised the tracking error for calculating membership functions (which were used for all trim conditions). Hence, we defined the membership functions such that:

\begin{align*}M{F_1} = \left\{ {\begin{array}{cccccc}{0,\;\;{E_j} \lt - 0.1}\\[5pt] {0.5 + 5{E_j}}\\[5pt] {1,\;\;{E_j} \gt + 0.1}\end{array}\;\;} \right.,\;\;M{F_2} = \left\{ {\begin{array}{cccccc}{1,\;\;{E_j} \lt - 0.1}\\[5pt] {0.5 - 5{E_j}}\\[5pt] {0,\;\;{E_j} \gt + 0.1}\end{array}\;\;} \right.\end{align*}

The corresponding longitudinal and lateral state-space matrices are:

\begin{align*}{A_1}_{lon} = \left[\!\! {\begin{array}{c}{\begin{array}{c}{ - 0.0726}\\ {\begin{array}{c}{ - 0.3729}\\ {\begin{array}{c}{ - 0.1308}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{c}{\begin{array}{c}{0.2346}\\ {\begin{array}{c}{ - 4.5992}\\ {\begin{array}{c}{ - 1.3599}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{c}{\begin{array}{c}{ - 0.9547}\\ {\begin{array}{c}{43.3325}\\ {\begin{array}{c}{0.4664}\\ 1\end{array}}\end{array}}\end{array}} {\begin{array}{c}{ - 9.7830}\\ {\begin{array}{c}{ - 0.2240}\\ {\begin{array}{c}{ - 0.0118}\\ 0\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\!\! \right],\;\,{B_1}_{lon} = \left[\!\! {\begin{array}{c}{ - 0.0133}\\ {\begin{array}{c}{0.0631}\\ {\begin{array}{c}{ - 0.1525}\\ 0\end{array}}\end{array}}\end{array}} \!\! \right]\end{align*}
\begin{align*}{A_2}_{lon} = \left[\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 0.0640}\\ {\begin{array}{cccccc}{ - 0.3616}\\ {\begin{array}{cccccc}{ - 0.1369}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{0.2434}\\ {\begin{array}{cccccc}{ - 4.2617}\\ {\begin{array}{cccccc}{ - 1.2685}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 1.0870}\\ {\begin{array}{cccccc}{43.8266}\\ {\begin{array}{cccccc}{0.4455}\\ 1\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{ - 9.7844}\\ {\begin{array}{cccccc}{ - 0.2514}\\ {\begin{array}{cccccc}{ - 0.0126}\\ 0\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\!\! \right],\;\,\,{B_2}_{lon} = \left[\!\! {\begin{array}{cccccc}{ - 0.0124}\\ {\begin{array}{cccccc}{0.0592}\\ {\begin{array}{cccccc}{ - 0.1454}\\ 0\end{array}}\end{array}}\end{array}} \!\! \right]\end{align*}
\begin{align*}{A_1}_{lat} = \left[\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 0.2423}\\ {\begin{array}{cccccc}{ - 0.0619}\\ {\begin{array}{cccccc}{0.0870}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{0.2954}\\ {\begin{array}{cccccc}{ - 12.8788}\\ {\begin{array}{cccccc}{ - 0.2368}\\ 1\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 50.3286}\\ {\begin{array}{cccccc}{0.8274}\\ {\begin{array}{cccccc}{ - 0.1602}\\ {0.0060}\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}\ \ {9.7613}\\ {\begin{array}{cccccc}\ \ 0\\ {\begin{array}{cccccc}\ \ 0\\ \ \ 0\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\end{array}} \!\! \right],\;\,\,{B_1}_{lat} = \left[\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}0\\ {\begin{array}{cccccc}{0.6512}\\ {\begin{array}{cccccc}{ - 0.0078}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{0.0386}\\ {\begin{array}{cccccc}{0.0074}\\ {\begin{array}{cccccc}{ - 0.1628}\\ 0\end{array}}\end{array}}\end{array}}\end{array}}\!\! \right]\end{align*}
\begin{align*}{A_2}_{lat} = \left[\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 0.2473}\\ {\begin{array}{cccccc}{ - 0.0594}\\ {\begin{array}{cccccc}{0.0955}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{0.0629}\\ {\begin{array}{cccccc}{ - 14.2328}\\ {\begin{array}{cccccc}{ - 0.1886}\\ 1\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 56.0717}\\ {\begin{array}{cccccc}{0.8345}\\ {\begin{array}{cccccc}{ - 0.1748}\\ {0.0013}\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}\ \ {9.7615}\\ {\begin{array}{cccccc}\ \ 0\\ {\begin{array}{cccccc}\ \ 0\\ \ \ 0\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\!\! \right],\;\,{B_2}_{lat} = \left[ \!\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}0\\ {\begin{array}{cccccc}{0.8058}\\ {\begin{array}{cccccc}{ - 0.0081}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{0.0440}\\ {\begin{array}{cccccc}{0.0091}\\ {\begin{array}{cccccc}{ - 0.1993}\\ 0\end{array}}\end{array}}\end{array}}\end{array}} \!\! \right]\end{align*}

and the reference model state-space matrices for longitudinal and lateral flight dynamics are expressed by:

\begin{align*}{A_r}_{lon} = \left[ {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 0.07073}\\ {\begin{array}{cccccc}{ - 0.3818}\\ {\begin{array}{cccccc}{ - 0.1093}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{0.2392}\\ {\begin{array}{cccccc}{ - 4.621}\\ {\begin{array}{cccccc}{ - 1.307}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 0.9704}\\ {\begin{array}{cccccc}{43.41}\\ {\begin{array}{cccccc}{0.2867}\\ 1\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}\ \ { - 9.9760}\\ {\begin{array}{cccccc}\ \ {0.6919}\\ {\begin{array}{cccccc}\ \ { - 2.225}\\ \ \ 0\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\! \right],\;\,\,{B_r}_{lon} = \left[ {\begin{array}{cccccc}{0.17770}\\ {\begin{array}{cccccc}{ - 0.843}\\ {\begin{array}{cccccc}{2.037}\\ 0\end{array}}\end{array}}\end{array}} \right]\end{align*}

\begin{align*}{A_r}_{lat} = \left[\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 0.2423}\\ {\begin{array}{cccccc}{ - 0.0655}\\ {\begin{array}{cccccc}{0.0869}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{0.2992}\\ {\begin{array}{cccccc}{ - 13.227}\\ {\begin{array}{cccccc}{ - 0.2488}\\ 1\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{\begin{array}{cccccc}{ - 50.3243}\\ {\begin{array}{cccccc}{0.5562}\\ {\begin{array}{cccccc}{ - 0.1751}\\ {0.0060}\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{9.8117}\\ {\begin{array}{cccccc}{ - 4.6161}\\ {\begin{array}{cccccc}{ - 0.1573}\\ 0\end{array}}\end{array}}\end{array}}\end{array}}\end{array}}\end{array}} \!\!\right],\;\,{B_r}_{lat} = \left[\!\! {\begin{array}{cccccc}{\begin{array}{cccccc}0\\ {\begin{array}{cccccc}{4.6072}\\ {\begin{array}{cccccc}{ - 0.055}\\ 0\end{array}}\end{array}}\end{array}} {\begin{array}{cccccc}{0.2777}\\ {\begin{array}{cccccc}{0.0532}\\ {\begin{array}{cccccc}{ - 1.171}\\ 0\end{array}}\end{array}}\end{array}}\end{array}} \!\!\right]\end{align*}

To analyse the designed controller effectiveness, the convergence of state variables (flight dynamics) for the reference model and controlled UAS-S4 model are evaluated during the flight dynamics stabilisation. Regarding the initial state variables vectors ${X_{{0}}} = {\left[ {0\;\;0\;\;0\;\;0.1} \right]^T}$ and ${X_r}_{{0}} = {\left[ {0\;\;0\;\;0\;\;0.08} \right]^T}$ , Fig. 5 depicts the Robust Adaptive Fuzzy Logic Controller (RAFLC) performance in terms of pitch angle, pitch rate, roll angle and yaw rate stabilisation while tracking those of the reference model, with respect to the control surfaces angles deflection limits ( $ - 20 \lt {\delta_e} \lt 15,\;\; - 40 \lt {\delta_a} \lt 40,\;\;and - 30 \lt {\delta_r} \lt 30\;$ ).

Figure 5. RAFL controller performance in terms of longitudinal and lateral state variables stabilisation.

For the longitudinal flight dynamics study, Fig. 5(a) and 5(c) show that the RAFL controller can stabilise the UAS-S4 pitch angle and the pitch rate, respectively. Figure 5(b) shows the elevator deflection during the pitch angle stabilisation. For the lateral flight dynamics study, Fig. 5(d) and 5(f) illustrate the UAS-S4 roll angle and yaw rate regulation, respectively. Figure 5(e) shows the aileron deflection during the roll angle stabilisation.

State variables stabilisation using the RAFL control mechanism was performed very well, while the UAS-S4 state variables track the reference model’s state variables as well. Tracking the reference model state variables including pitch angle, pitch rate, roll angle and yaw rate are shown in Fig. 6 during stablisation.

Figure 6. RAFL controller performance in terms of convergence error.

Figure 6(a) indicates the pitch angle and pitch rate convergence during stabilisation. Figure 6(b) depicts the convergence error, that is expressed as the difference between the controlled UAS-S4 pitch angle and its reference pitch angle. Figure 6(c) shows the roll angle and yaw rate convergence towards stabilisation. The convergence error obtained between the reference model and the controlled UAS-S4 model for the roll angle is shown in Fig. 6(d).

It should be noted that this work is a part of an ongoing research project to design a novel aerial collision avoidance system. This project will predict the future trajectory of an aircraft, and if a conflict will detected, then the system will provide a new safe trajectory for the aircraft to follow [Reference Hashemi, Botez and Grigorie49]. According to the Traffic Collision Avoidance System (TCAS) criteria [Reference Munoz, Narkawicz and Chamberlain50], our UAS-S4 has to change its altitude using its elevator in order to avoid collisions. Hence, we analysed our RAFL controller performance in terms of reference pitch angle tracking. With this aim, soft time-varying bounded signals are considered as the controller reference inputs in order to to evaluate the controller’s performance. For evaluating this model-based RAFL controller, the tracking error (the error obtained when the controlled UAS-S4 state variables track the reference model state variables) is considered as the performance index. In this approach, a valid bounded reference input excites both the UAS-S4 and its reference model state variables, and the tracking error should converge to zero. Assuming the reference state as ${\theta_{{r}}} = 1.7\cos 0.5t\;,\;$ and initial condition given as ${X_{{0}}} = {\left[ {0\;\;0\;\;0\;\;0.2} \right]^T}$ and ${X_r}_{{0}} = {\left[ {0\;\;0\;\;0\;\;0.18} \right]^T}$ , the RAFL controller performance is shown in Fig. 7, where its task is to control the UAS-S4 state variables, such that they track the reference model state variables accurately.

Figure 7. RAFLC performance in terms of pitch angle and pitch rate tracking in the absence of uncertainties.

As seen in Fig. 7(a) and 7(b), the designed controller for UAS-S4 is able to perform its task in terms of reference model state variables tracking.

The adaptive gains effectiveness is well identified when uncertainties are considered. We therefore incorporated the uncertainties dues to the unknown controller’s parameters $(f = \;0.02\cos t)$ , and the controller performance was quantified in terms of pitch angle as state variable. Figure 8 shows the controller effectiveness in terms of the reference model state variables tracking by the controlled UAS-S4 state variables (Fig. 8(a)), and tracking errors (Fig. 8(b)). Figure 8(a) shows that, even though the RAFL controller efficiency was slightly degraded in terms of integrated tracking error (especially at the extremums), the RAFL controller could still handle the unknown controller’s parameters uncertainties. Its performance is very good accordingly the reference model’s tracking error, as shown inFig. 8(b).

Figure 8. RAFL controller performance in terms of the reference model pitch angle tracking in the presence of uncertainties caused by unknown controller’s parameters.

In addition to the uncertainties related to the controller, model external disturbances and modeling errors are other sources of uncertainties that the controller is designed to remove their adverse effects. By assuming Fig. 9 shows the efficiency of the controller when all above-mentioned uncertainties are considered. As shown in Fig. 9, the controlled UAS-S4 state variables (pitch angle and pitch rate) followed the reference model state variables quite accurately. Although the controller performance slightly decreased compared to the case of controller’s uncertainty (Fig. 8), especially at the extremums, the robust terms $\vartheta {K_i}\left\|{E_j}\right\|$ and $\vartheta {Z_i}\left\|{E_j}\right\|$ in the adaptation laws could handle all uncertainties dues to the controller parameters, such as model external disturbances and modeling errors.

Figure 9. The RAFL controller performance in presence of external disturbances and modeling errors.

Figure 10. Comparing the AFLC with the Robust AFLC (RAFLC) in terms of reference model tracking for different uncertainties situations (from none to unbounded).

The next challenge is the controller robustness threshold required to respect a feasible region for guarantying UAS-S4 stability. Figure 10 displays a visual representation of the uncertainties surpassing the feasible region. This figure shows three separate time varying regions. The first region $\left( {0 - 20\;sec} \right)$ shows the quality of the reference model state variables tracking (by controlled UAS-S4 state variables) when it is not affected by uncertainties. The second region $\left( {20 - 42\;sec} \right)\;$ depicts the controller performance when uncertainties (unknown controller’s parameters, external disturbances and modeling errors) are considered in which $f(\epsilon,d) = 0.05\ \text{cos}\ 0.9t + 0.01\ \text{cos}\ 7t $ , and indicates that the controller does manage the bounded uncertainties after a short initial adjustment period. The third region $\left( {42 - 50{\rm{\;sec}}} \right)$ illustrates the state variables trajectories when the uncertainties surpass their boundaries, and therefore, the controller can not guarantee the stability and convergence of the UAS-S4 state variables, as the uncertainties moved the state variables outside the feasible region.

Table 2. Sum of Absolute Tracking Errors ( $time = 40\;sec\;$ and $sampling\;time = 0.01\;sec$ ) while the controlled UAS-S4 state variables are tracking the reference model state variables

For comparison purposes, the RAFLC and AFLC approaches were chosen in the flight dynamics control algorithm. As seen on Fig. 10, when uncertainties were dues to the external disturbances and model imperfection, the RAFLC approach could track the reference state variable with less fluctuations than the AFLC approach. The average time delays for the RAFLC and AFLC approaches were 0.3 sec and 0.01 sec, respectively. In real-time operations, these average time delays are acceptable. Therefore, it can be concluded that the RAFLC outperformed the AFLC, and has provided a stabler flight in presence of uncertainties.

In addition to the above approaches for controller performance evaluation, the controller effectiveness can be assessed based on the tracking error value. In this approach, the differences between the controlled UAS-S4 and its reference model state variables are measured; they are further considered for evaluation the RAFL controller performance. In details, by considering the sampling time (0.01 seconds), the Sum of Absolute Tracking Errors (SATE) while the controlled UAS-S4 state variables are tracking the reference model state variables (during 40 seconds) characterizes the performance index.

The SATEs for two types of reference models in three trim conditions are represented on Tables 24. Concretely, each individual reference model was stabilised using the LQR procedures by determining both proper weighting matrices ( ${\mathcal{Q}}$ and $R$ ). The stabilised reference model by assuming ${\mathcal{Q}} = 1$ and $R = 1$ is named moderate, and the stabilised reference model by assuming ${\mathcal{Q}} = 50$ and $R = 1$ is named rigorous.

According to the recorded tracking error for both pitch angle and pitch rate, it can be inferred that there is a proportional relationship between the SATE value and the reference model rigorousness. When the reference model is tuned such that it strictly concerns fast time-domain response, tracking the reference model state variables becomes more difficult for RALF controlled UAS-S4, and consequently, the tracking accuracy decreases.

Table 3. Sum of Absolute Tracking Errors ( $time = 40\;sec\;$ and $sampling\;time = 0.01\;sec$ ) while the controlled UAS-S4 state variables are tracking the reference model state variables in the presence of various uncertainties

Another observation is that although the robust adaptive fuzzy controller can guide the UAS-S4 state variables to track very well the reference model state variables, its accuracy degrades when large uncertainties occur. This inference is obtained from Table 3 that lists the SATEs for different uncertainties $f(\epsilon,d)$ in three flight conditions, and for two types of reference models.

Table 4. Sum of Absolute Tracking Errors ( $time = 40\;sec\;$ and $sampling\;time = 0.01\;sec$ ) the controlled UAS-S4 state variables are tracking the reference model state variables in the presence of uncertainties for different adaptation weight values

For instance, in the second flight condition (Altitude = $3000\;m$ , Speed = $39\;m/s$ , Mass = $65 - 67\;kg$ ), by considering rigorous reference model ( ${\mathcal{Q}} = 50$ and $R = 1$ ), the pitch rate SATE is 27.63 $rad/s$ for smaller uncertainties ( $0.05{\rm{\;}}\sin 0.9{\rm{t}}$ ) and the pitch rate SATE is 28.52 $rad/s$ for larger uncertainties ( $0.07{\rm{\;}}\sin 0.9{\rm{t}}$ ).

Finally, according to the RAFLC architecture, adaptation weights are assigned to the adaptive laws in order to regulate the RAFL controller gain. The SATE for different adaptation weights values are listed in Table 4.

Table 4 shows that small values for the weights of adaptation laws result in lower SATE. For instance, in the first flight condition (Altitude = $6,100\;m$ , Speed = $45\;m/s$ , Mass = $53 - 55\;kg$ ), by considering Moderate reference model ( ${\mathcal{Q}} = 1$ and $R = 1$ ), the pitch angle SATE is 26.67 $\;rad$ if the adaptation weights are small ( ${\gamma_1} = {\gamma_2} = 0.0001$ if the adaptation weights are large ( ${\gamma_1} = {\gamma_2} = 0.001$ ), and pitch angle SATE is 25.96 $rad$ if the adaptation weights are small ( ${\gamma_1} = {\gamma_2} = 0.0001$ ). However, these weights must be carefully tuned, as if they would be too-small, they could cause the UAS-S4 state variables to drift outside the feasible region.

5.0 Conclusion

A Robust Adaptive Fuzzy Logic (RAFL) flight dynamics controller was designed for Hydra Technologies UAS-S4 Ehecatl. The UAS-S4 was mathematically modeled using the Takagi-Sugeno fuzzy logic method to design its corresponding controller. Adaptive gains were assigned to the fuzzy controller to ensure that it could perform very well despite uncertainties. For the adaptive control mechanism, a reference model was defined, which was stabilised through the LQR method. The numerical results show that there is an inverse relationship between the reference model rigorousness and the RALF controller performance. When the controlled UAS-S4 state variables track the reference model state variables, the tracking errors increase if the reference model strictly determines ideal time-domain response properties, such as rise-time or settling-time. The tuneable controller gains were adjusted utilising Lyapunov-based adaptation laws, that became robust against uncertainties. The controller’s performance was evaluated in terms of reference model state variables tracking for a variety of uncertainties. In-line with the requirements for cruise conditions, the RAFL controller was able to stabilise the UAS-S4 lateral and longitudinal flight dynamics, as well as the reference model state variables; the tracking error converged to zero. In addition, Sum of Absolute Tracking Errors (SATE) results proved that the RAFL controller could handle uncertainties that were dues to the controller’s unknown parameters, modeling errors, and external disturbances. Small values for the weights of adaptation laws resulted in lower SATE. Based on numerical studies, for higher values of uncertainties, the controller performance degraded slightly; however, the controller could maintain the UAS-S4 state variables in the asymptotically stable region. The robust control algorithms showed that if the uncertainties surpass their boundaries, the controller cannot guarantee the reference model state variables’ tracking. For further studies, we recommend the RALF controller development by utilising a fuzzy logic reference model to improve the RAFLC efficiency in order to reduce reference state variables tracking error.

Acknowledgements

Special thanks are dues to the Natural Sciences and Engineering Research Council of Canada (NSERC) for the Canada Research Chair Tier 1 in Aircraft Modelling and Simulation Technologies funds. We would also like to thankMrs. Odette Lacasse and Mr. Oscar Carranza for their support at the ETS, as well as to Hydra Technologies’ team members Mr. Carlos Ruiz, Mr. Eduardo Yakin and Mr. Alvaro Gutierrez Prado in Mexico.

References

Cir, I. 328 AN/190. Unmanned Aircraft Systems (UAS) Circular, 2011, 10.Google Scholar
Watts, A.C., Ambrosia, V.G. and Hinkley, E.A. Unmanned aircraft systems in remote sensing and scientific research: Classification and considerations of use. Remote Sens., 2012, 4, pp 16711692.Google Scholar
Kuitche, M.A.J. and Botez, R.M. Modeling novel methodologies for unmanned aerial systems–Applications to the UAS-S4 Ehecatl and the UAS-S45 Bálaam. Chinese J. Aeronaut., 2019, 32, 5877.CrossRefGoogle Scholar
Chen, H. Wang, X.-m. and Li, Y. A survey of autonomous control for UAV. In Proceedings of 2009 International Conference on Artificial Intelligence and Computational Intelligence; pp. 267–271.Google Scholar
Tuzcu, I., Marzocca, P., Cestino, E., Romeo, G. and Frulla, G. Stability and control of a high-altitude, long-endurance UAV. J. Guid. Control Dyn., 2007, 30, pp 713721.Google Scholar
Yu, X., Guo, L., Zhang, Y. and Jiang, J. Autonomous Safety Control of Flight Vehicles. CRC Press, 2021.Google Scholar
Borello, F., Cestino, E. and Frulla, G. Structural uncertainty effect on classical wing flutter characteristics. J. Aerosp. Eng., 2010, 23, pp 327338.Google Scholar
Ghommam, J., Saad, M., Mnif, F. and Zhu, Q.M. Guaranteed performance design for formation tracking and collision avoidance of multiple USVs with disturbances and unmodeled dynamics. IEEE Syst. J., 2020.Google Scholar
Cao, C. and Hovakimyan, N. Guaranteed transient performance with L1 adaptive controller for systems with unknown time-varying parameters and bounded disturbances: Part I. In Proceedings of 2007 American Control Conference; pp. 3925–3930.CrossRefGoogle Scholar
Bucolo, M., Buscarino, A., Famoso, C., Fortuna, L. and Frasca, M. Control of imperfect dynamical systems. Nonlinear Dyn., 2019, 98, pp 29892999.CrossRefGoogle Scholar
Wang, Q. and Stengel, R.F. Robust nonlinear flight control of a high-performance aircraft. IEEE Trans. Control Syst. Technol., 2004, 13, pp 1526.CrossRefGoogle Scholar
Stengel, R.F. Flight dynamics. Princeton University Press, 2015.Google Scholar
Etkin, B. and Reid, L.D. Dynamics of flight. Wiley, 1959, New York, Vol. 2.Google Scholar
Brosilow, C. and Joseph, B. Techniques of model-based control. Prentice Hall Professional, 2002.Google Scholar
Botez, R. Morphing wing, UAV and aircraft multidisciplinary studies at the Laboratory of Applied Research in Active Controls, Avionics and AeroServoElasticity LARCASE. Aerosp. Lab, 2018, pp 111.Google Scholar
Amoroso, C., Liverani, A., Francia, D. and Ceruti, A. Dynamics augmentation for high speed flying yacht hulls through PID control of foiling appendages. Ocean Eng., 2021, 221, 108115.CrossRefGoogle Scholar
Minchala-Avila, L.I., Garza-Castañón, L.E., Vargas-Martínez, A. and Zhang, Y. A review of optimal control techniques applied to the energy management and control of microgrids. Procedia Comput. Sci., 2015, 52, pp 780787.Google Scholar
Yañez-Badillo, H., Kuitche, M.A.J. and Botez, R.M. Disturbance rejection in longitudinal control for the UAS-S4 ehecatl design. In Proceedings of AIAA AVIATION 2020 FORUM; p. 3196.Google Scholar
Hashemi, S.M., Menhaj, M.B. and Amani, A.M. RECONFIGURABLE FAULT-TOLERANT CONTROL BY LINEAR QUADRATIC VIRTUAL ACTUATOR UNDER CONTROL SIGNAL CONSTRAINT. 2006.Google Scholar
Lungu, R., Lungu, M. and Grigorie, L.T. Automatic control of aircraft in longitudinal plane during landing. IEEE Trans. Aerosp. Electron. Syst., 2013, 49, pp 13381350.CrossRefGoogle Scholar
Grigorie, T.L. and Botez, R.M. New Applications of Fuzzy Logic Methodologies in Aerospace Field. In Fuzzy Controllers, Theory and Applications, IntechOpen: 2011.Google Scholar
Cho, Y.-W., Seo, K.-S. and Lee, H.-J. A direct adaptive fuzzy control of nonlinear systems with application to robot manipulator tracking control. Int. J. Control Autom. Syst., 2007, 5, pp 630642.Google Scholar
Caughey, D.A. Introduction to aircraft stability and control course notes for M&AE 5070. Sibley School of Mechanical & Aerospace Engineering Cornell University 2011.Google Scholar
Nelson, R.C. Flight stability and automatic control. WCB/McGraw Hill, 1998, New York, Vol. 2.Google Scholar
Botez, R.M., Hamel, C., Ghazi, G., Boughari, Y., Theel, F. and Mendoza, A.M. Level D research aircraft flight simulator use for novel methodologies in aircraft modeling and simulation. In Proceedings of Third International Workshop on Numerical Modelling in Aerospace Sciences NMAS.Google Scholar
Rodriguez, L.F. and Botez, R.M. Generic new modeling technique for turbofan engine thrust. J. Propuls. Power, 2013, 29, pp 14921495.CrossRefGoogle Scholar
Bardela, P.A. and Botez, R.M. Identification and validation of the Cessna Citation X engine component level modeling with flight tests. In Proceedings of AIAA modeling and simulation technologies conference; p. 1942.Google Scholar
Anton, N., Botez, R.M. and Popescu, D. Stability derivatives for a delta-wing X-31 aircraft validated using wind tunnel test data. Proc. Inst. Mech. Eng. G J. Aerosp. Eng., 2011, 225, pp 403416.Google Scholar
Kuitche, M.A.J., Botez, R.M., Viso, R., Maunand, J.C. and Moyao, O.C. Blade element momentum new methodology and wind tunnel test performance evaluation for the UAS-S45 Bàlaam propeller. CEAS Aeronaut. J., 2020, 11, pp 937953.Google Scholar
Romeo, G., Cestino, E., Pacino, M., Borello, F. and Correa, G. Design and testing of a propeller for a two-seater aircraft powered by fuel cells. Proc. Inst. Mech. Eng. G J. Aerosp. Eng., 2012, 226, pp 804816.CrossRefGoogle Scholar
Tondji, Y. and Botez, R. Semi-empirical estimation and experimental method for determining inertial properties of the Unmanned Aerial System–UAS-S4 of Hydra Technologies. Aeronaut. J., 2017, 121, pp 16481682.Google Scholar
Lin, Z. Gain scheduling of aircraft pitch attitude and control of discrete, affine, linear parametrically varying systems, Iowa State University, 2002.Google Scholar
Ying, H. Constructing nonlinear variable gain controllers via the Takagi-Sugeno fuzzy control. IEEE Trans. Fuzzy Syst., 1998, 6, pp 226234.Google Scholar
Zeng, X.-J., Keane, J.A. and Wang, D. Fuzzy systems approach to approximation and stabilization of conventional affine nonlinear systems. In Proceedings of 2006 IEEE International Conference on Fuzzy Systems; pp. 277–284.Google Scholar
Zadeh, L.A. Fuzzy logic. Computer, 1988, 21, pp 8393.CrossRefGoogle Scholar
Takagi, T. and Sugeno, M. Fuzzy identification of systems and its applications to modeling and control. IEEE Trans. Syst. Man Cybern., 1985, pp 116132.Google Scholar
Boughari, Y. and Botez, R.M. Optimal flight control on the hawker 800 XP business aircraft. In Proceedings of IECON 2012-38th Annual Conference on IEEE Industrial Electronics Society; pp. 5471–5476.Google Scholar
Lin, J., Zhou, J., Lu, M., Wang, H. and Yi, A. Design of robust adaptive fuzzy controller for a class of single-input single-output (siso) uncertain nonlinear systems. Math. Probl. Eng., 2020, 2020.Google Scholar
Babaei, A.R., Mortazavi, M. and Moradi, M.H. Classical and fuzzy-genetic autopilot design for unmanned aerial vehicles. Appl. Soft Comput., 2011, 11, pp 365372.CrossRefGoogle Scholar
Radhakrishnan, C. and Swarup, A. Performance Comparison for Fuzzy based Aircraft Pitch using Various Control Methods. In Proceedings of 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA);pp. 428–433.Google Scholar
Mehrjerdi, H., Saad, M. and Ghommam, J. Hierarchical fuzzy cooperative control and path following for a team of mobile robots. IEEE/ASME Trans. Mechatron., 2010, 16, pp 907917.CrossRefGoogle Scholar
Tseng, C.-S., Chen, B.-S. and Uang, H.-J. Fuzzy tracking control design for nonlinear dynamic systems via TS fuzzy model. IEEE Trans. Fuzzy Syst., 2001, 9, pp 381392.Google Scholar
Kamalasadan, S. and Ghandakly, A.A. Multiple fuzzy reference model adaptive controller design for pitch-rate tracking. IEEE Trans. Instrum. Meas., 2007, 56, pp 17971808.CrossRefGoogle Scholar
Doyle, J.C., Francis, B.A. and Tannenbaum, A.R. Feedback control theory, Courier Corporation, 2013.Google Scholar
Hashemi, S.M., Botez, R.M. and Grigorie, L.T. Adaptive fuzzy control of chaotic flapping relied upon lyapunov-based tuning laws. In Proceedings of AIAA AVIATION 2020 FORUM; p. 3193.CrossRefGoogle Scholar
Chabir, A., Boukhnifer, M., Bouteraa, Y., Chaibet, A. and Ghommam, J. Modelling and fixed order robust H∞ control of aerial vehicle: simulation and experimental results. Compel Int. J. Comput. Math. Electr. Electron. Eng., 2016, 35, pp 10641085.CrossRefGoogle Scholar
Dullerud, G.E. and Paganini, F. A course in robust control theory: a convex approach, Springer Science & Business Media, 2013; Vol. 36.Google Scholar
Blažič, S., Matko, D. and Škrjanc, I. Adaptive law with a new leakage term. IET Control Theory Appl., 2010, 4, pp 15331542.Google Scholar
Hashemi, S.M., Botez, R.M. and Grigorie, T.L. New reliability studies of data-driven aircraft trajectory prediction. Aerospace, 2020, 7, 145.Google Scholar
Munoz, C., Narkawicz, A. and Chamberlain, J. A TCAS-II resolution advisory detection algorithm. In Proceedings of AIAA Guidance, Navigation, and Control (GNC) Conference; p. 4622.Google Scholar
Figure 0

Table 1. UAS-S4 specifications (geometrical and flight data).

Figure 1

Figure 1. Hydra Technologies UAS-S4 Ehecatl.

Figure 2

Figure 2. The followed procedure to control the UAS-S4 flight dynamics.

Figure 3

Figure 3. The fuzzy logic controller utilised for the UAS-S4 flight dynamics.

Figure 4

Figure 4. The designed Robust Adaptive T-S Fuzzy Logic Controller (RAFLC) mechanism.

Figure 5

Figure 5. RAFL controller performance in terms of longitudinal and lateral state variables stabilisation.

Figure 6

Figure 6. RAFL controller performance in terms of convergence error.

Figure 7

Figure 7. RAFLC performance in terms of pitch angle and pitch rate tracking in the absence of uncertainties.

Figure 8

Figure 8. RAFL controller performance in terms of the reference model pitch angle tracking in the presence of uncertainties caused by unknown controller’s parameters.

Figure 9

Figure 9. The RAFL controller performance in presence of external disturbances and modeling errors.

Figure 10

Figure 10. Comparing the AFLC with the Robust AFLC (RAFLC) in terms of reference model tracking for different uncertainties situations (from none to unbounded).

Figure 11

Table 2. Sum of Absolute Tracking Errors ($time = 40\;sec\;$ and $sampling\;time = 0.01\;sec$) while the controlled UAS-S4 state variables are tracking the reference model state variables

Figure 12

Table 3. Sum of Absolute Tracking Errors ($time = 40\;sec\;$ and $sampling\;time = 0.01\;sec$) while the controlled UAS-S4 state variables are tracking the reference model state variables in the presence of various uncertainties

Figure 13

Table 4. Sum of Absolute Tracking Errors ($time = 40\;sec\;$ and $sampling\;time = 0.01\;sec$) the controlled UAS-S4 state variables are tracking the reference model state variables in the presence of uncertainties for different adaptation weight values