A Data-Driven Adaptive Method for Attitude Control of Fixed-Wing Unmanned Aerial Vehicles ()

Meili Chen^{}, Yuan Wang^{}

Key Laboratory of Fundamental Science for National Defense-Advanced Design Technology of Flight Vehicle, Nanjing University of Aeronautics and Astronautics, Nanjing, China.

**DOI: **10.4236/aast.2019.41001
PDF
HTML XML
1,339
Downloads
2,588
Views
Citations

Key Laboratory of Fundamental Science for National Defense-Advanced Design Technology of Flight Vehicle, Nanjing University of Aeronautics and Astronautics, Nanjing, China.

In this paper, a real-time online data-driven adaptive method is developed to deal with uncertainties such as high nonlinearity, strong coupling, parameter perturbation and external disturbances in attitude control of fixed-wing unmanned aerial vehicles (UAVs). Firstly, a model-free adaptive control (MFAC) method requiring only input/output (I/O) data and no model information is adopted for control scheme design of angular velocity subsystem which contains all model information and up-mentioned uncertainties. Secondly, the internal model control (IMC) method featured with less tuning parameters and convenient tuning process is adopted for control scheme design of the certain Euler angle subsystem. Simulation results show that, the method developed is obviously superior to the cascade PID (CPID) method and the nonlinear dynamic inversion (NDI) method.

Keywords

Data-Driven, Adaptive Method, Attitude Control, Unmanned Aerial Vehicles (UAV), Internal Model Control

Share and Cite:

Chen, M. and Wang, Y. (2019) A Data-Driven Adaptive Method for Attitude Control of Fixed-Wing Unmanned Aerial Vehicles. *Advances in Aerospace Science and Technology*, **4**, 1-15. doi: 10.4236/aast.2019.41001.

1. Introduction

The performance of the attitude controller of a fixed-wing UAV determines the quality of its autonomous flight. Some accurate mathematical model-based methods were proposed for the attitude control, for example, PID and LQR methods (linearized model based) [1] [2] [3] , adaptive control method [4] , feedback linearization method [5] [6] and nonlinear dynamic inversion method [7] [8] . For some other methods, perturbation within a small range is allowed [9] [10] or accurate mathematical model is not a necessity [11] [12] .

Though these methods have achieved their purpose, there are still some drawbacks. Firstly, as the UAV system is strongly coupled, highly nonlinear and time variant, etc., approximated models cannot fully represent all characteristics of plant model. In the meantime, accurate model is hard to obtain, too costly or even inapplicable; secondly, designing controller is complex and tuning is tedious due to too many parameters.

A data-driven control method for designing attitude control law of fixed-wing UAV is thus developed. The control system is divided into two cascade subsystems, including an inner loop system for angular velocity control and an outer loop system for Euler angle control. As the angular velocity control system contains all model information (certainties and uncertainties), a novel data-driven MFAC [13] [14] method is adopted for the inner loop angular velocity control law design. MFAC has been wildly used in some fields [15] [16] , but hardly in aeronautic field. As we know of, only one paper [17] studied the application of MFAC to design control law for tracking horizontal trajectory of fixed-wing UAV, but it took no consideration of attitude control, which is an unneglectable problem. The method developed in our paper uses no model information, but only I/O data of UAV to obtain control law by optimizing the deflection angles of control surfaces in real-time. The model of outer loop control system, which is universal and contains no uncertainty, depicts the kinematic relationship between Euler angel and angular velocity. Thus the IMC method, which was hardly used in fixed-wing UAV application but widely in other fields [18] [19] [20] , is used to design outer loop Euler angle control law. IMC based controller is featured with less tuning parameters and simple tuning process, for example, only one parameter needs to be tuned for each channel of the roll, pitch, and yaw Euler angles.

2. Theory of the Model Free Adaptive Control

2.1. Full Formation Dynamic Linearization Method

Consider the following general single-input-single-output (SISO) nonlinear system:

$\Sigma :\text{\hspace{0.17em}}\text{\hspace{0.17em}}y\left(k+1\right)=f\left(y\left(k\right),\cdots ,y\left(k-{n}_{y}\right),u\left(k\right),\cdots ,u\left(k-{n}_{u}\right)\right)$ (1)

which satisfies the following two assumptions:

A1: Function $f(*)$ is smooth; and its continuous and bounded partial derivatives $\frac{\partial f}{\partial y\left(k-i\right)},0\le i\le {n}_{y}$ and $\frac{\partial f}{\partial u\left(k-j\right)},1\le j\le {n}_{u}$ exists;

A2: The system $\Sigma $ satisfies generalized Lipschitz condition, that is, for two real numbers ${k}_{1}\ne {k}_{2}\left({k}_{1}\ge 0,{k}_{2}\ge 0\right)$ , and a positive number b, the system $\Sigma $ satisfies:

$\left|y\left({k}_{1}+1\right)-y\left({k}_{2}+1\right)\right|\le b\Vert H\left({k}_{1}\right)-H\left({k}_{2}\right)\Vert $ (2)

In above, $u\left(k\right)\in R$ and $y\left(k\right)\in R$ represent input and output of the system, respectively. ${n}_{y}$ and ${n}_{u}$ are two integers. $f(*):{R}^{{n}_{y}+{n}_{u}+2}\mapsto R$ is a nonlinear mapping.

Denote

$H\left(k\right)={\left[y\left(k\right),\cdots ,y\left(k-{L}_{y}+1\right),u\left(k\right),\cdots ,u\left(k-{L}_{u}+1\right)\right]}^{\text{T}}$ (3)

and

$\begin{array}{l}\u25b3y\left(k\right)=y\left(k\right)-y\left(k-1\right)\\ \u25b3u\left(k\right)=u\left(k\right)-u\left(k-1\right)\\ \u25b3H\left(k\right)=H\left(k\right)-H\left(k-1\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.05em}}={\left[\u25b3y\left(k\right),\cdots ,\u25b3y\left(k-{L}_{y}+1\right),\u25b3u\left(k\right),\cdots ,\u25b3u\left(k-{L}_{u}+1\right)\right]}^{\text{T}}\end{array}$ (4)

where, ${L}_{y}$ and ${L}_{u}$ $\left(0\le {L}_{y}\le {n}_{y},1\le {L}_{u}\le {n}_{u}\right)$ are integers called pseudo order (PO).

Theorem [13] : For the nonlinear system $\Sigma $ mentioned above that satisfies the A1 and A2, at a given condition of $0\le {L}_{y}\le {n}_{y}$ and $1\le {L}_{u}\le {n}_{u}$ , when $\Vert \u25b3H\left(k\right)\Vert \ne 0$ , there must be a time-varying vector called pseudo gradient (PG) $\Phi \left(k\right)\in {R}^{{L}_{y}+{L}_{u}}$ , which can transform the system $\Sigma $ into the following FFDL model:

$\u25b3y\left(k+1\right)={\Phi}^{\text{T}}\left(k\right)\u25b3H\left(k\right)$ (5)

and for an arbitrary time k, $\Phi \left(k\right)={\left[{\varphi}_{1}\left(k\right),\cdots ,{\varphi}_{{L}_{y}}\left(k\right),{\varphi}_{{L}_{y}+1}\left(k\right),\cdots ,{\varphi}_{{L}_{y}+{L}_{u}}\left(k\right)\right]}^{\text{T}}$ is bounded.

Proof: See [13] .

2.2. Control Law Design

Denote ${y}_{d}\left(k\right)$ as reference signal. The cost function of input signal is selected as:

$J\left(u\left(k\right)\right)={\left|{y}_{d}\left(k+1\right)-y\left(k+1\right)\right|}^{2}+\lambda {\left|u\left(k\right)-u\left(k-1\right)\right|}^{2}$ (6)

where, $\lambda >0$ is a weighting factor.

According to Equations (5) and (6) and let $\frac{\partial J\left(u\left(k\right)\right)}{\partial u\left(k\right)}=0$ , the control law can be derived as:

$u\left(k\right)=u\left(k-1\right)+\frac{{\varphi}_{{L}_{y}+1}(k)\left\{{\rho}_{{L}_{y}+1}\left[{y}_{d}\left(k+1\right)-y\left(k\right)\right]-{\displaystyle \underset{i=1}{\overset{{L}_{y}}{\sum}}{\rho}_{i}{\varphi}_{i}\left(k\right)\u25b3y\left(k-i+1\right)}-{\displaystyle \underset{i={L}_{y}+2}{\overset{{L}_{y}+{L}_{u}}{\sum}}{\rho}_{i}{\varphi}_{i}\left(k\right)\u25b3u\left(k-{L}_{y}-i+1\right)}\right\}}{\lambda +{\left|{\varphi}_{{L}_{y}+1}\left(k\right)\right|}^{2}}$ (7)

where, ${\rho}_{i}\in \left(0,1\right]$ , $1\le i\le {L}_{y}+{L}_{u}$ .

In Equation (7), only PG is unknown and needs to be updated online.

To obtain PG, the following cost function is adopted:

$J\left(\Phi \left(k\right)\right)={\left|y\left(k\right)-y\left(k-1\right)-{\Phi}^{\text{T}}\left(k\right)\u25b3H\left(k-1\right)\right|}^{2}+\mu {\Vert \Phi \left(k\right)-\Phi \left(k-1\right)\Vert}^{2}$ (8)

where, $\mu >0$ is a weighting factor.

Letting $\frac{\partial J\left(\Phi \left(k\right)\right)}{\partial \Phi \left(k\right)}=0$ yields

$\Phi \left(k\right)=\Phi \left(k-1\right)+\frac{\gamma \u25b3H\left(k\right)\left[y\left(k\right)-y\left(k-1\right)-{\Phi}^{\text{T}}\left(k-1\right)\u25b3H\left(k-1\right)\right]}{\mu +{\Vert \u25b3H\left(k-1\right)\Vert}^{2}}$ (9)

where, $\gamma \in \left(0,2\right]$ .

The reset conditions for PG are:

$\Phi \left(k\right)=\Phi \left(1\right)$ , if $\Vert \Phi \left(k\right)\Vert \le \epsilon $ or $\Vert \u25b3H\left(k-1\right)\Vert \le \epsilon $ or

$sign\left({\varphi}_{{L}_{y}+1}\left(k\right)\right)\ne sign\left({\varphi}_{{L}_{y}+1}\left(1\right)\right)$ (10)

where, $\epsilon $ is a small positive number.

3. Model for Unmanned Aerial Vehicles

The model described here is only used to generate flight data for simulations. The nonlinear model of a UAV [21] used in the research as a studying case is listed as follows.

Rotational equations:

$\left[\begin{array}{c}\stackrel{\dot{}}{\varphi}\\ \stackrel{\dot{}}{\theta}\\ \stackrel{\dot{}}{\psi}\end{array}\right]=\left[\begin{array}{l}{v}_{1}\\ {v}_{2}\\ {v}_{3}\end{array}\right]=R\cdot \left[\begin{array}{c}p\\ q\\ r\end{array}\right]=\left[\begin{array}{ccc}1& \mathrm{sin}\varphi \mathrm{tan}\theta & \mathrm{cos}\varphi \mathrm{tan}\theta \\ 0& \mathrm{cos}\varphi & -\mathrm{sin}\varphi \\ 0& \mathrm{sin}\varphi \mathrm{sec}\theta & \mathrm{cos}\varphi \mathrm{sec}\theta \end{array}\right]\left[\begin{array}{c}p\\ q\\ r\end{array}\right]$ (11)

${\left[\stackrel{\dot{}}{p},\stackrel{\dot{}}{q},\stackrel{\dot{}}{r}\right]}^{\text{T}}={\left[{f}_{p},{f}_{q},{f}_{r}\right]}^{\text{T}}+{\left[{w}_{1},{w}_{2},{w}_{3}\right]}^{\text{T}}$ (12)

In which ${v}_{1}$ , ${v}_{2}$ and ${v}_{3}$ are virtual inputs which are used in the following of the design of Euler angle control law. And

(13)

$\left[\begin{array}{l}{w}_{1}\\ {w}_{2}\\ {w}_{3}\end{array}\right]=\frac{\rho {V}_{a}^{2}S}{2}\left[\begin{array}{ccc}\frac{b}{{I}_{x}{I}_{z}-{I}_{xz}^{2}}\cdot \left({I}_{z}{C}_{{l}_{{\delta}_{a}}}+{I}_{xz}{C}_{{n}_{{\delta}_{a}}}\right)& 0& \frac{b}{{I}_{x}{I}_{z}-{I}_{xz}^{2}}\cdot \left({I}_{z}{C}_{{l}_{{\delta}_{r}}}+{I}_{xz}{C}_{{n}_{{\delta}_{r}}}\right)\\ 0& \frac{c}{{I}_{y}}\cdot {C}_{{m}_{{\delta}_{e}}}& 0\\ \frac{b}{{I}_{x}{I}_{z}-{I}_{xz}^{2}}\cdot \left({I}_{xz}{C}_{{l}_{{\delta}_{a}}}+{I}_{x}{C}_{{n}_{{\delta}_{a}}}\right)& 0& \frac{b}{{I}_{x}{I}_{z}-{I}_{xz}^{2}}\cdot \left({I}_{xz}{C}_{{l}_{{\delta}_{r}}}+{I}_{x}{C}_{{n}_{{\delta}_{r}}}\right)\end{array}\right]\left[\begin{array}{c}{\delta}_{a}\\ {\delta}_{e}\\ {\delta}_{r}\end{array}\right]$ (14)

Translational equations:

(15)

and

${V}_{a}=\sqrt{{u}^{2}+{v}^{2}+{w}^{2}},\text{\hspace{0.17em}}\text{\hspace{0.17em}}\alpha ={\mathrm{tan}}^{-1}\left(\frac{w}{u}\right),\text{\hspace{0.17em}}\text{\hspace{0.17em}}\beta ={\mathrm{sin}}^{-1}\left(\frac{v}{{V}_{a}}\right)$ (16)

In the above equations, m and g represent mass and gravitational constant, respectively; ${I}_{x}$ , ${I}_{y}$ , ${I}_{z}$ , and ${I}_{xz}$ represent moments of inertia; $\varphi $ , $\theta $ , and $\psi $ represent roll, pitch, and yaw angle, respectively; p, q, and r represent roll, pitch, and yaw angular velocity, respectively; ${\delta}_{a}$ , ${\delta}_{e}$ , and ${\delta}_{r}$ are deflection angles of aileron, elevator, and rudder, respectively; ${\delta}_{t}$ is throttle, ranging from 0 to 1; b represents wing span; c represents chord length; S represents wing area; ${V}_{a}$ represents air speed; $\rho $ represents air density; $\alpha $ and $\beta $ are attack and sideslip angle, respectively; ${S}_{prop}$ and ${C}_{prop}$ are coefficients with respect to propeller. ${C}_{{l}_{0}}$ , ${C}_{{l}_{\beta}}$ , ${C}_{{l}_{p}}$ , ${C}_{{l}_{r}}$ , ${C}_{{l}_{{\delta}_{a}}}$ , and ${C}_{{l}_{{\delta}_{r}}}$ are aerodynamic derivatives with respect to roll moment; ${C}_{{m}_{0}}$ , ${C}_{{m}_{\alpha}}$ , ${C}_{{m}_{q}}$ , and ${C}_{{m}_{{\delta}_{e}}}$ are aerodynamic derivatives with respect to pitch moment; ${C}_{{n}_{0}}$ , ${C}_{{n}_{\beta}}$ , ${C}_{{n}_{p}}$ , ${C}_{{n}_{r}}$ , ${C}_{{n}_{{\delta}_{a}}}$ , and ${C}_{{n}_{{\delta}_{r}}}$ are aerodynamic derivatives with respect to yaw moment; ${C}_{{L}_{0}}$ , ${C}_{{L}_{\alpha}}$ , ${C}_{{L}_{q}}$ , and ${C}_{{L}_{{\delta}_{e}}}$ are aerodynamic derivatives with respect to lift; ${C}_{{Y}_{0}}$ , ${C}_{{Y}_{\beta}}$ , ${C}_{{Y}_{p}}$ , ${C}_{{Y}_{r}}$ , ${C}_{{Y}_{{\delta}_{a}}}$ , and ${C}_{{Y}_{{\delta}_{r}}}$ are aerodynamic derivatives with respect to side force; ${C}_{{D}_{0}}$ , ${C}_{{D}_{\alpha}}$ , ${C}_{{D}_{q}}$ , and ${C}_{{D}_{{\delta}_{e}}}$ are aerodynamic derivatives with respect to drag. Appendix E of Reference [21] also gives specific values of the above symbols.

4. Brief Introduction of Internal Model Control

The general structure of an IMC-based control system [18] is depicted in Figure 1; where, ${G}_{m}\left(s\right)$ is called internal model. ${G}_{p}\left(s\right)$ represents the plant, $R\left(s\right)$ represents reference signal, $Y\left(s\right)$ represents the output signal, $U\left(s\right)$ represents input signal of the plant, $D\left(s\right)$ is disturbances and ${G}_{IMC}\left(s\right)$ is the internal model controller. ${G}_{IMC}\left(s\right)$ is the internal model controller that has an expression like

${G}_{IMC}\left(s\right)={G}_{p-}^{-1}\left(s\right)f\left(s\right)$ (17)

where, ${G}_{p-}\left(s\right)$ includes the parts with minimum phase of ${G}_{p}\left(s\right)$ . $f\left(s\right)$ is a low pass filter that has a formation like

$f\left(s\right)=\frac{1}{{\left({\lambda}_{f}s+1\right)}^{n}}$ (18)

Figure 1. The general structure of internal model control.

${\lambda}_{f}$ is called filter coefficient. Rationality of ${G}_{IMC}\left(s\right)$ can be guaranteed by selecting appropriate value of n.

Thus, the two transfer functions of the above system can be obtained as:

$\frac{Y\left(s\right)}{R\left(s\right)}=\frac{{G}_{IMC}\left(s\right){G}_{p}\left(s\right)}{1+{G}_{IMC}\left(s\right)\left[{G}_{p}\left(s\right)-{G}_{m}\left(s\right)\right]}$ (19)

$\frac{Y\left(s\right)}{D\left(s\right)}=\frac{\left[1-{G}_{IMC}\left(s\right){G}_{m}\left(s\right)\right]{G}_{p}\left(s\right)}{1+{G}_{IMC}\left(s\right)\left[{G}_{p}\left(s\right)-{G}_{m}\left(s\right)\right]}$ (20)

Hence, if ${G}_{m}\left(s\right)$ and ${G}_{IMC}\left(s\right)$ satisfy the following two conditions:

${G}_{p}\left(s\right)={G}_{m}\left(s\right)$ (21)

${G}_{IMC}\left(s\right)={G}_{p}^{-1}\left(s\right)$ (22)

Equations (19) and (20) turn into:

$\frac{Y\left(s\right)}{R\left(s\right)}=1$ (23)

$\frac{Y\left(s\right)}{D\left(s\right)}=0$ (24)

Therefore, building on conditions (23) and (24), the system can track the reference signal and at the same time, would theoretically not be influenced by disturbances.

5. Control Scheme

In this part, the attitude control laws are derived. In controlling a fixed-wing UAV, usually, deflecting aileron generates roll movement, deflecting elevator generates pitch movement, and deflecting rudder generates yaw movement. The overall control scheme is shown as:

Applying Equations ((7), (9), and (10)) yields the control laws of roll, pitch, and yaw angular rates, shown as:

Roll rate:

${\Phi}_{p}\left(k\right)={\Phi}_{p}\left(k-1\right)+\frac{{\gamma}_{p}\u25b3{H}_{p}\left(k\right)\left[p\left(k\right)-p\left(k-1\right)-{\Phi}_{p}^{\text{T}}\left(k-1\right)\u25b3{H}_{p}\left(k-1\right)\right]}{{\mu}_{p}+{\Vert \u25b3{H}_{p}\left(k-1\right)\Vert}^{2}}$ (25)

${\Phi}_{p}\left(k\right)={\Phi}_{p}\left(1\right)$ , if $\Vert {\Phi}_{p}\left(k\right)\Vert \le {\epsilon}_{p}$ or $\Vert \u25b3{H}_{p}\left(k-1\right)\Vert \le {\epsilon}_{p}$ or

$sign\left({\varphi}_{{L}_{py}+1}^{p}\left(k\right)\right)\ne sign\left({\varphi}_{{L}_{py}+1}^{p}\left(1\right)\right)$ (26)

$\begin{array}{l}{\delta}_{a}\left(k\right)={\delta}_{a}\left(k-1\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\varphi}_{{L}_{py}+1}^{p}\left(k\right)\left\{{\rho}_{{L}_{py}+1}^{p}\left[{p}_{d}\left(k+1\right)-p\left(k\right)\right]-{\displaystyle \underset{i=1}{\overset{{L}_{py}}{\sum}}{\rho}_{i}^{p}{\varphi}_{i}^{p}\left(k\right)\u25b3p\left(k-i+1\right)}-{\displaystyle \underset{i={L}_{py}+2}{\overset{{L}_{py}+{L}_{pu}}{\sum}}{\rho}_{i}^{p}{\varphi}_{i}^{p}\left(k\right)\u25b3{\delta}_{a}\left(k-{L}_{py}-i+1\right)}\right\}}{{\lambda}_{p}+{\left|{\varphi}_{{L}_{py}+1}^{p}\left(k\right)\right|}^{2}}\end{array}$ (27)

Pitch rate:

${\Phi}_{q}\left(k\right)={\Phi}_{q}\left(k-1\right)+\frac{{\gamma}_{q}\u25b3{H}_{q}\left(k\right)\left[q\left(k\right)-q\left(k-1\right)-{\Phi}_{q}^{\text{T}}\left(k-1\right)\u25b3{H}_{q}\left(k-1\right)\right]}{{\mu}_{q}+{\Vert \u25b3{H}_{q}\left(k-1\right)\Vert}^{2}}$ (28)

${\Phi}_{q}\left(k\right)={\Phi}_{q}\left(1\right)$ , if $\Vert {\Phi}_{q}\left(k\right)\Vert \le {\epsilon}_{q}$ or $\Vert \u25b3{H}_{q}\left(k-1\right)\Vert \le {\epsilon}_{q}$ or

$sign\left({\varphi}_{{L}_{qy}+1}^{q}\left(k\right)\right)\ne sign\left({\varphi}_{{L}_{qy}+1}^{q}\left(1\right)\right)$ (29)

$\begin{array}{l}{\delta}_{e}\left(k\right)={\delta}_{e}\left(k-1\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\varphi}_{{L}_{qy}+1}^{q}\left(k\right)\left\{{\rho}_{{L}_{qy}+1}^{q}\left[{q}_{d}\left(k+1\right)-q\left(k\right)\right]-{\displaystyle \underset{i=1}{\overset{{L}_{qy}}{\sum}}{\rho}_{i}^{q}{\varphi}_{i}^{q}\left(k\right)\u25b3q\left(k-i+1\right)}-{\displaystyle \underset{i={L}_{qy}+2}{\overset{{L}_{qy}+{L}_{qu}}{\sum}}{\rho}_{i}^{q}{\varphi}_{i}^{q}\left(k\right)\u25b3{\delta}_{e}\left(k-{L}_{qy}-i+1\right)}\right\}}{{\lambda}_{q}+{\left|{\varphi}_{{L}_{qy}+1}^{q}\left(k\right)\right|}^{2}}\end{array}$ (30)

Yaw rate:

${\Phi}_{r}\left(k\right)={\Phi}_{r}\left(k-1\right)+\frac{{\gamma}_{r}\u25b3{H}_{r}\left(k\right)\left[r\left(k\right)-r\left(k-1\right)-{\Phi}_{r}^{\text{T}}\left(k-1\right)\u25b3{H}_{r}\left(k-1\right)\right]}{{\mu}_{r}+{\Vert \u25b3{H}_{r}\left(k-1\right)\Vert}^{2}}$ (31)

${\Phi}_{r}\left(k\right)={\Phi}_{r}\left(1\right)$ , if $\Vert {\Phi}_{r}\left(k\right)\Vert \le {\epsilon}_{r}$ or $\Vert \u25b3{H}_{r}\left(k-1\right)\Vert \le {\epsilon}_{r}$ or

$sign\left({\varphi}_{{L}_{ry}+1}^{r}\left(k\right)\right)\ne sign\left({\varphi}_{{L}_{ry}+1}^{r}\left(1\right)\right)$ (32)

$\begin{array}{l}{\delta}_{r}\left(k\right)={\delta}_{r}\left(k-1\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\varphi}_{{L}_{ry}+1}^{r}(k)\left\{{\rho}_{{L}_{ry}+1}^{r}\left[{r}_{d}\left(k+1\right)-r\left(k\right)\right]-{\displaystyle \underset{i=1}{\overset{{L}_{ry}}{\sum}}{\rho}_{i}^{r}{\varphi}_{i}^{r}\left(k\right)\u25b3r\left(k-i+1\right)}-{\displaystyle \underset{i={L}_{ry}+2}{\overset{{L}_{ry}+{L}_{ru}}{\sum}}{\rho}_{i}^{r}{\varphi}_{i}^{r}\left(k\right)\u25b3{\delta}_{r}\left(k-{L}_{ry}-i+1\right)}\right\}}{{\lambda}_{r}+{\left|{\varphi}_{{L}_{ry}+1}^{r}\left(k\right)\right|}^{2}}\end{array}$ (33)

The Euler angle control laws are included in Equation (11) and Figure 2.

6. Numerical Validation

Simulation was carried out in the MATLAB environment by writing .m file to demonstrate the feasibility and superiority of the method developed by making

Figure 2. Illustration of the overall control scheme.

comparison with CPID and NDI methods. In the simulation, the UAV was under external disturbances.

6.1. Value of Variables and Parameters

Parameter values of algorithms are shown as (Table 1):

Reference signals:

$\{\begin{array}{l}{\varphi}_{d}=0.1\mathrm{sin}\left(0.5\text{\pi}t\right)\text{\hspace{0.17em}}\text{rad}\\ {\theta}_{d}=0.1\mathrm{sin}\left(0.5\text{\pi}t\right)\text{\hspace{0.17em}}\text{rad}\\ {\psi}_{d}=0.1\mathrm{sin}\left(0.5\text{\pi}t\right)\text{\hspace{0.17em}}\text{rad}\end{array}$ (34)

6.2. Numerical Validation

In this part, the control simulation of the small UAV was performed with the UAV under external low frequency disturbances. Simulation results are as follows:

From the figures the following conclusions can be drawn:

Figures 3-5 reveal that, without using any model information of the UAV, the developed data-driven method is obviously superior to the CPID method (also a data-driven method) and the NDI method (requires detailed model information) in control performance. The fundamental reason is that the method develop has a better control performance on body rate control, namely, realizing a better performance in dealing with uncertainties, which is revealed in Figures 6-11.

The essential difference between the MFAC method and the CPID method is the acquisition of dynamic model, see Equations (9) and (10). In the MFAC method, because of the identification of PG, a dynamic model can be obtained, which is foundation for optimal control law design, making deflection angles of control surfaces at each time point are optimum. This is also why the varying frequency of the control surfaces of the method developed is so high in Figures 6-8. The optimum control laws take into account of all uncertainties, thus even they may disturb the system, these control laws will make the output of UAV system track and approximate reference signal (see Figures 9-11). While for the

Table 1. Parameters of the control scheme.

Figure 3. Roll angle response.

Figure 4. Pitch angle response.

Figure 5. Yaw angle response.

Figure 6. Deflection angle of aileron.

Figure 7. Deflection angle of elevator.

Figure 8. Deflection angle of rudder.

Figure 9. Angular rate of data-driven method.

Figure 10. Angular rate of CPID method.

Figure 11. Angular rate of NDI method.

most widely used CPID-based controller that lacks dynamic model obtaining capabilities, its deflection angles at each sampling point are not optimum and thus cannot cover the whole flight envelop with best performance (the control law may be optimal in a certain short time range, see 0 - 2.3 seconds in first and third enlarged figures in Figure 10, but not in the whole range). As for the NDI method, it relies on accurate model information and some of them such as the external disturbances are hard to be obtained, resulting in poor robustness of this method. Besides, the deflection angles by NDI are not necessarily optimum at each sampling point under unmodeled uncertainties.

7. Conclusion

The attitude control of fixed wing UAVs is studied based on the characteristics of inner loop and outer loop control systems, and realized by using MFAC to design the control law of inner loop angular velocity system and IMC to design that of Euler angle system. Firstly, the MFAC based controller has achieved inner loop angular velocity control using only I/O data without any model information. The IMC based controller has realized outer loop Euler angle control using a few tuning parameters (only one for each channel) and easy tuning process. Secondly, compared with conventional model-free CPID method and detailed model-based NDI method, it is discovered that the method developed is capable of dealing with strong coupling and highly nonlinear system such as that of fixed-wing UAVs; and it shows superiority in dealing with disturbances.

Acknowledgements

This publication was supported by the Priority Academic Program Development of Jiangsu Higher Education Institutions and the Advanced Research Project of Army Equipment Development (No.301020803).

Nomenclature

$D\left(s\right)$ Laplace transforms of disturbance signal

${f}_{p},{f}_{q},{f}_{r}$ unknown nonlinear parts, rad/s^{2}

g gravitational constant, m/s^{2}

${G}_{m}\left(s\right)$ transfer function of internal model

${G}_{p}\left(s\right)$ transfer function of plant model

${G}_{IMC}\left(s\right)$ Internal model controller

${I}_{x},{I}_{y},{I}_{z}$ roll, pitch and yaw moments of inertial, kg∙m^{2}

${I}_{xz}$ product of inertial, kg∙m^{2}

${L}_{y},{L}_{u}$ pseudo order

${L}_{py},{L}_{pu}$ pseudo order for roll rate control law

${L}_{qy},{L}_{qu}$ pseudo order for pitch control law

${L}_{ry},{L}_{ru}$ pseudo order for yaw rate control law

m mass of UAV, kg

$p,q,r$ fuselage roll, pitch and yaw angular rates, rad/s

${p}_{d},{q}_{d},{r}_{d}$ reference signals for fuselage roll, pitch and yaw angular rates, rad/s

$R\left(s\right)$ Laplace transforms of reference signal

$u,v,w$ velocity components for fuselage, m/s

$U\left(s\right)$ Laplace transforms of input signal

${\nu}_{1},{\nu}_{2},{\nu}_{3}$ virtual inputs for control systems of roll, pitch and yaw angular rates, rad/s^{2}

${V}_{a}$ velocity of UAV in air coordinate, m/s

$Y\left(s\right)$ Laplace transforms of output signal

$\alpha $ angle of attack, rad

$rad$ angle of sideslip, rad

${\delta}_{a},{\delta}_{e},{\delta}_{r},{\delta}_{t}$ deflection angles for aileron, elevator, rudder and throttle, rad

${\eta}_{p},{\eta}_{q},{\eta}_{r}$ parameters in MFAC algorithm

${\epsilon}_{p},{\epsilon}_{q},{\epsilon}_{r}$ lower limit for resetting PG

$\varphi ,\theta ,\psi $ roll, pitch and yaw angles of UAV, rad

${\varphi}_{d},{\theta}_{d},{\psi}_{d}$ reference signals for roll, pitch and yaw angles, rad

${\lambda}_{p},{\lambda}_{q},{\lambda}_{r}$ parameters in MFAC algorithm

${\lambda}_{f}^{\varphi},{\lambda}_{f}^{\theta},{\lambda}_{f}^{\psi}$ filter coefficient of internal model controller for Euler angle

${\mu}_{p},{\mu}_{q},{\mu}_{r}$ parameters in MFAC algorithm

${\rho}_{p},{\rho}_{q},{\rho}_{r}$ parameters in MFAC algorithm

${\Phi}_{p},{\Phi}_{q},{\Phi}_{r}$ pseudo gradient in MFAC algorithm

Conflicts of Interest

The authors declare no conflicts of interest.

[1] |
Bagheri S., Jafarov T., Freidovich L. and Sepehri, N. (2016) Beneficially Combining LQR and PID to Control Longitudinal Dynamics of a SmartFly UAV. Proceedings of the 7th Annual IEMCON, Vancouver, 13-15 October 2016, 1-6.
https://doi.org/10.1109/IEMCON.2016.7746309 |

[2] | Peng, Z. and Liu, J.K. (2011) On New UAV Flight Control System Based on Kalman & PID. Proceedings of the 2th International Conference on Intelligent Control and Information Processing, Harbin, 25-28 July 2011, 819-823. |

[3] |
Escande B. (1998) Nonlinear Dynamic Inversion and Linear Quadratic Techniques. AIAA Journal, 98, 4245-4254. https://doi.org/10.2514/6.1998-4245 |

[4] | Di C., Geng Q., Hu Q. and Wu W. (2015) High Performance L1 Adaptive Control Design for Longitudinal Dynamics of Fixed-Wing UAV. Proceedings of the 27th Chineset Control and Decision Conference, Qingdao, 17 July 2015, 1514-1519. |

[5] |
Saraf A., Deodhare G. and Ghose D. (1998) A Feedback Linearisation Based Nonlinear Controller Synthesis to Recover an Unstable Aircraft from Post-Stall Regime. Proceedings of the AIAA Guidance, Navigation, and Control Conference, Boston, 10-12 August 1998, 4206-4215. https://doi.org/10.2514/6.1998-4206 |

[6] | Prasad, B.B. and Pradeep, S. (2007) Automatic Landing System Design Using Feedback Linearization Method. Proceedings of the AIAA Infotech@Aerospace 2007 Conference and Exhibit, Rohnert Park, 7-10 May 2007, 2733-2752. |

[7] |
Da Costa, R.R., Chu, Q.P. and Mulder, J.A. (2003) Reentry Flight Controller Design Using Nonlinear Dynamic Inversion. Journal of Spacecraft and Rockets, 40, 64-71.
https://doi.org/10.2514/2.3916 |

[8] |
Miller, C.J. (2011) Nonlinear Dynamic Inversion Baseline Control Law: Architecture and Performance Predictions. Proceedings of the AIAA Guidance, Navigation, and Control Conference, Portland, 8-11 August 2011, 6467-6491.
https://doi.org/10.2514/6.2011-6467. |

[9] |
Paw, Y.C. and Balas, G.J. (2008) Uncertainty Modeling, Analysis and Robust Flight Control Design for a Small UAV system. Proceedings of the AIAA Guidance, Navigation, and Control Conference, Honolulu, 18-21 August 2011, 7434-7449.
https://doi.org/10.2514/6.2008-7434 |

[10] |
Lombaerts, T.J.J., Mulder, J.A., Voorsluijs, G.M. and Decuypere, R. (2005) Design of a Robust Flight Control System for a Mini-UAV. Proceedings of the AIAA Guidance, Navigation, and Control Conference, San Francisco, 15-18 August 2005, 5608-5626. https://doi.org/10.2514/6.2005-6408 |

[11] |
Yueyong, L.Y.U., Runchi, W.A.N.G., Guangfu, M.A. and Chen, C.H.E.N. (2017) Disturbance Observer Based Back-stepping Attitude Control for the Flexible Hypersonic Vehicle. Proceedings of the 21st AIAA International Space Planes and Hypersonics Technologies Conference, Xiamen, 6-9 March 2017, 2285-2294.
https://doi.org/10.2514/6.2017-2285 |

[12] |
Wang, X., Kong, W., Zhang, D. and Shen, L. (2015) Active Disturbance Rejection Controller for Small Fixed-Wing UAVs with Model Uncertainty. Proceedings of the 2015 the IEEE International Conference on Information and Automation, Lijiang, 8-10 August 2015, 2299-2304. https://doi.org/10.1109/ICInfA.2015.7279669 |

[13] | Hou, Z. and Jin, S. (2013) Model Free Adaptive Control: Theory and Applications. CRC Press, Boca Raton. |

[14] |
Hou, Z., Chi, R. and Gao, H. (2017) An Overview of Dynamic-Linearization-Based Data-Driven Control and Applications. IEEE Transactions on Industrial Electronics, 64, 4076-4090. https://doi.org/10.1109/TIE.2016.2636126 |

[15] |
Cheng, Z., Hou, Z. and Jin, S. (2015) MFAC-Based Balance Control for Freeway and Auxiliary Road System with Multi-Intersections. Proceedings of the 2015 10th Asian Control Conference, Kota Kinabalu, 31 May-3 June 2015, 1-6.
https://doi.org/10.1109/ASCC.2015.7244439 |

[16] | Liu, S., Hou, Z. and Zheng, J. (2016) Attitude Adjustment of Quadrotor Aircraft Platform via a Data-Driven Model Free Adaptive Control Cascaded with Intelligent PID. Proceedings of IEEE 2016 CCDC, Yinchuan, 28-30 May 2016, 4971-4976. |

[17] | Zhao, S., Wang, X., Kong, W., Zhang, D. and Shen, L. (2015) A Novel Data-Driven Control for Fixed-Wing UAV Path Following. Proceedings of the IEEE International Conference on Information and Automation, Lijiang, 8-10 August 2015, 3051-3056. |

[18] |
Garcia, C.E. and Morari, M. (1982) Internal Model Control. A Unifying Review and Some New Results. Industrial & Engineering Chemistry Process Design and Development, 21, 308-323. https://doi.org/10.1021/i200017a016 |

[19] |
Liu, G., Chen, L., Zhao, W., Jiang, Y. and Qu, L. (2013) Internal Model Control of Permanent Magnet Synchronous Motor Using Support Vector Machine Generalized Inverse. IEEE Transactions on Industrial Informatics, 9, 890-898.
https://doi.org/10.1109/TII.2012.2222652 |

[20] | Alina, B. and Madalina, C. (2016) Internal Model Control for Wastewater pH Neutralization Process. Proceedings of the 8th IEEE International Conference on ECAI, Ploiesti, 30 June-2 July 2016, 1-6. |

[21] |
Beard, R.W. and McLain, T.W. (2012) Small Unmanned Aircraft: Theory and Practice. Princeton University Press, Princeton. https://doi.org/10.1515/9781400840601 |

Journals Menu

Contact us

+1 323-425-8868 | |

customer@scirp.org | |

+86 18163351462(WhatsApp) | |

1655362766 | |

Paper Publishing WeChat |

Copyright © 2024 by authors and Scientific Research Publishing Inc.

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.