Keywords

Flight control system as the “brain” of the aircraft, its performance has an important impact on the stability and safety of the UAV. The current control methods for UAVs are mainly linear and nonlinear methods. The classical PID, LQR and other linear control methods are generally weak against model uncertainty. Nonlinear control methods such as dynamic inverse and backstepping generally require high model accuracy, and it is difficult to exclude the problem of insufficient system robustness caused by errors and external disturbances.

To solve the above problems, L1 adaptive control theory was proposed by Cao Chengyu and Naria Hovakimyan in 2006 [1]. It decouples fast adaptability and robustness, defines adaptive law with error input, introduces feedback loop into low-pass filter, and improves the transient performance of the system by increasing high adaptive gain. Therefore, it has been widely used in wing flutter suppression [2], path tracking [3], longitudinal control design [4], super maneuver control law [5], etc. At present, the research on lateral control of UAV mainly focuses on linear UAV control system [6, 7].

This paper focuses on the linear longitudinal control problem of UAV. In the paper, a laboratory type of scaled-down UAV is used as the research object, and the UAV pitch angle rate controller is designed based on the L1 adaptive theory, and compared with the MRAC method and PID control method under disturbance respectively, and the effectiveness and robustness of the L1 adaptive control algorithm are verified by simulation.

1 Construction of the Controlled Object Model

First of all, at the state point of velocity V = 30 m/s and altitude H = 2000 m, a certain type of UAV in the laboratory is leveled and linearized, and the mathematical model of the longitudinal motion of the aircraft is obtained as follows:

$$ \dot{x} = Ax + bu $$
(1)

Selecting one set of state vectors, i.e., \(x = \left[ {\begin{array}{*{20}c} \alpha & q \\ \end{array} } \right]^{T}\) and \(u = \left[ {\delta_{e} } \right]\), the collocation linearization results in a longitudinal linear model of the aircraft calculated as follows:

$$ A = \left[ {\begin{array}{*{20}c} {{ - 6}{\text{.1426}}} & {{0}{\text{.9599}}} \\ {{ - 74}{\text{.0624}}} & {{ - 6}{\text{.4824}}} \\ \end{array} } \right],b = \left[ {\begin{array}{*{20}c} {{ - 0}{\text{.4454}}} \\ {{ - 123}{\text{.5795}}} \\ \end{array} } \right] $$
(2)

where, \(\alpha\) denotes the angle of approach, \(q\) denotes the pitch rate, and \(\delta_{e}\) denotes the elevator deflection. The simulation analysis of the longitudinal L1 adaptive longitudinal pitch angle rate flight control law design can be done based on the above linear model.

2 Design of Pitch Angle Rate Control Law Based on L1 Adaptive Control Theory

Pitch rate maintenance means that the aircraft system is given a pitch reference input \(q_{REF}\), the system output can track well on the system input, and the control system works to maintain this attitude according to the pilot's demand.

2.1 Design of the State Predictor

The uncertain mathematical model of the aircraft system is constructed as follows.

$$ \left\{ \begin{gathered} \dot{x}(t) = Ax(t) + b(wu(t) + \theta^{T} (t)x(t) + \delta (t)) \hfill \\ y(t) = c^{T} x(t)\begin{array}{*{20}c} {} & {} \\ \end{array} x(0) = x_{0} \hfill \\ \end{gathered} \right. $$
(3)

where, \(x(t) \in R^{2 \times 1}\) is the observable system state vector; \(b,c \in R^{2 \times 1}\) is the known constant vector; \(A \in R^{2 \times 2}\) is the known system matrix; \(w \in R\) is the unknown input gain; \(\theta_{1} (t) \in R^{2 \times 1}\) is the unknown time-varying parameter vector; \(\delta (t) \in R\) is the time-varying disturbance; \(y(t) \in R\) is the system output; \(u(t) \in R\) is the control signal.

Because the system matrix does not satisfy the Hurwitz matrix condition, the control law \(u(t) \in R\) of the controller can be divided into two parts, the linear state feedback control law \(u_{1} (t)\) and the adaptive law \(u_{2} (t)\) as follows.

$$ u(t) = u_{1} (t) + u_{2} (t) $$
(4)

where, \(u_{1} (t) = - K^{T} x(t),u_{2} (s) = kD(s)\overline{r}(s)\).

2.2 Design of the Adaptation Lows

From Eqs. (1) and (2), the model of the controlled object at the state point of velocity V = 30 m/s, height H = 2000 m can be described as:

$$ \left[ {\begin{array}{*{20}c} {\dot{\alpha }} \\ {\dot{q}} \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{ - 6}{\text{.1426}}} & {{0}{\text{.9599}}} \\ {{ - 74}{\text{.0624}}} & {{ - 6}{\text{.4824}}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} \alpha \\ q \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {{ - 0}{\text{.4454}}} \\ {{ - 123}{\text{.5795}}} \\ \end{array} } \right]\left[ {\delta_{e} } \right] $$
(5)

First check the controllability of the system and whether \(A\) satisfies the Hurwitz condition, and then configure the poles of the closed-loop system according to the desired system stability and dynamic quality so that \(A_{m} = A - bK^{T}\) satisfies the Hurwitz condition.

Since \(rank\left( {\left[ {b,Ab} \right]} \right) = 2\), the system is controllable by L1 adaptive theory, and thus the poles of the matrix \(A_{m} = A - bK^{T}\) can be arbitrarily configured. The LQR method is used to determine the feedback gain and to configure the poles of \(A_{m} = A - bK^{T}\) in a reasonable way. Letting Q = diag(50,300) and R = 90, the calculation is able to obtain K as follows.

$$ K^{T} = [0.6250{ - 1}{\text{.7382}}] $$
(6)

At this time, the matrix \(A_{{\text{m}}}\) satisfies the Hurwitz matrix.

Since the goal of system control is to enable output \(y(t)\) to track a given bounded segmented continuous input signal \(r(t) \in R\) by selecting the control signal \(u(t)\) of the state feedback controller, the state observer model is as follows.

$$ \left\{ \begin{gathered} \dot{x}_{m} (t) = A_{m} x_{m} (t) + bk_{g} r(t) \hfill \\ y_{m} (t) = c^{T} x_{m} (t)\begin{array}{*{20}c} {} \\ \end{array} x_{m} (0) = x_{0} \hfill \\ \end{gathered} \right. $$
(7)

where the role of \(k_{g}\) is to ensure that \(y_{m} (t)\) can track the upper step reference control input with zero static error.

From Eqs. (5), (6) and (7), calculate the value of \(k_{g}\) as follows.

$$ k_{g} = - \frac{1}{{c^{T} A_{m}^{ - 1} b}} = - 1.7180 $$
(8)

2.3 Design of the Low-Pass-Filter

In the case where the system control gain is unknown, the low-pass filter cannot be applied directly to the control signal. To solve this problem, the control signal is transformed into a form containing a filter. Using the L1 adaptive controller to generate the control signal, the control input can be described as:

$$ u_{2} (s) = kD(s)\overline{r}(s) $$
(9)

where \(\overline{r}(s)\) is the Rasch transform of \(\overline{r}(t)\), \(u_{2} (s)\) is the Rasch transform of \(u_{2} (t)\), \(k > 0\) is the feedback gain and \(D(s)\) is a strictly canonical transfer function.

In order to make the selected filter strictly canonical and stable, the filter can be described as:

$$ C(s) = \frac{kwD(s)}{{1 + kwD(s)}}\begin{array}{*{20}c} {} & {} \\ \end{array} \forall w \in \Omega $$
(10)

Here \(D(s) = 1/s\) is chosen, then \(C(s)\) is a first order filter and satisfies:

$$ C(s) = \frac{kw}{{s + kw}}\begin{array}{*{20}c} {} & {} \\ \end{array} \forall w \in \Omega $$
(11)

Further determination of the parameters in the low-pass filter, using the L1 gain stabilization requisite.

$$ \lambda = \left\| {G(s)} \right\|_{{L_{1} }} L < 1 $$
(12)

\(L = 20\) can be calculated. Let \(\omega_{c} = k\omega\), Fig. 1 shows the relationship curve between \(\lambda\) and \(\omega_{c}\):

Fig. 1.
figure 1

The relationship curve between \(\lambda\) and \(\omega_{c}\).

As the bandwidth value \(\omega_{c}\) of \(C(s)\) gradually increases, the value of \(\lambda\) decreases accordingly, and \(\omega_{c} = 90\) can be chosen in the simulation.

2.4 L1 Control Structure and Parameter Setting

The L1 adaptive pitch angle rate control structure consisting of Eqs. (1), (4), (7) and (11) is shown in Fig. 2.

Fig. 2.
figure 2

L1 adaptive pitch angle rate control structure

Further set the range of unknown parameters:

$$ w \in \Omega = \left[ {w_{l} ,w_{u} } \right],\begin{array}{*{20}c} {} \\ \end{array} \theta (t) \in \Theta ,\begin{array}{*{20}c} {} \\ \end{array} \left| {\delta (t)} \right| \le \Delta ,\begin{array}{*{20}c} {} \\ \end{array} \left\| {\dot{\theta }} \right\| \le d_{\theta } ,\begin{array}{*{20}c} {} \\ \end{array} \left\| {\dot{\delta }} \right\| \le d_{\delta } $$
(13)

where \(\Theta\) is a given convex set when \(t \ge 0\); \(0 < w_{l} < w_{u} < \infty\) and \(d_{\theta } ,d_{\delta }\) is a known boundary. So the convex set of set uncertainty parameters is chosen to be \(\Omega = \left[ {0,1,2} \right]\), \(\Theta = \left[ { - 10,10} \right]\), \(\Delta = 10\).

As the L1 adaptive control effect is to be verified and compared with other control methods. Set the unknown input gain \(w = 1\) for the aircraft uncertainty mathematical model of Eq. (2), and the corresponding uncertainty parameter \(\theta (t)\) is:

$$ \theta (t) = [0.1\sin (\pi t + {\raise0.7ex\hbox{$\pi $} \!\mathord{\left/ {\vphantom {\pi 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}){\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} 0.3\sin (0.1\pi t)]^{T} $$
(14)

The time-varying perturbation \(\delta (t)\) is:

$$ \delta (t) = 0.1\sin (\pi /2t) $$
(15)

3 Simulation Comparison

Taking a UAV as the research object, the L1 adaptive control structure established above is used to control the UAV. The initial state of UAV is set as:

$$ \begin{gathered} V = 30\;{\text{m/s}},\,\,\alpha = 0.024\,rad,\,\,\beta = 0,\,\,p = q = r = 0 \hfill \\ \phi = 0,\,\,\theta = 0.024\,rad,\,\psi = 0,\,\,x = 0,\,\,y = 0,\,\,z = 2000\;{\text{m}} \hfill \\ \delta_{e} = 0.049\;rad,\delta_{a} = \delta_{r} = 0 \hfill \\ \end{gathered} $$

Further collocation linearization yields the longitudinal state matrix of the aircraft as follows: \(A = \left[ {\begin{array}{*{20}c} {{ - 6}{\text{.1426}}} & {{0}{\text{.9599}}} \\ {{ - 74}{\text{.0624}}} & {{ - 6}{\text{.4824}}} \\ \end{array} } \right],b = \left[ {\begin{array}{*{20}c} {{ - 0}{\text{.4454}}} \\ {{ - 123}{\text{.5795}}} \\ \end{array} } \right]\).

The L1 longitudinal control model is simulated using Matlab/Simulink, and the following scenarios are analyzed.

3.1 Comparison of the Effect of L1 Adaptive Control in the Case of System Without and with Disturbance Factors

The controlled object is the object defined by Eq. (1), the adaptive law takes \(\Gamma = 100000\), the input pitch angle rate signal is selected as a square wave signal with \(5/57.3\). If the system has disturbance, the selection of the object uncertainty parameter \(\theta (t)\) and external time-varying disturbance \(\delta (t)\) are shown in Eqs. (14) and (15), respectively; otherwise, both \(\theta (t)\) and \(\delta (t)\) are made to be 0.

The effect of L1 adaptive control in the case of system without and with disturbance is compared as follows (The left figure shows the system without disturbance).

Fig. 3.
figure 3

Comparison of the pitch rate tracking effect of L1 adaptive control in the case of system without and with disturbance

Fig. 4.
figure 4

Comparison of the rudder response effect of L1 adaptive control in the case of system without and with disturbance

Fig. 5.
figure 5

Comparison of parameter estimation results of L1 adaptive control in the case of system without and with disturbance

Fig. 6.
figure 6

Comparison of aircraft output response results of L1 adaptive control in the case of system without and with disturbance

From Fig. 3, it can be seen that the system with L1 adaptive control method can ensure good robustness, system output response and rudder adaptive deflection in both the system without and with disturbance, and the system output response can track the reference input well with zero static difference and can achieve fast adaption. Figure 4 shows that the rudder deflections of the elevator are in the controllable range and consistent and bounded when the system without and with disturbance. The rudder deflection is higher when the disturbance is added to the system than when it is not, to counteract the effect of the disturbance. Figure 5 shows that all parameter estimation results are consistently bounded and are guaranteed to vary within the set parameters. Figure 6 shows that all the aircraft output response results are stable and reliable, and all are within the acceptable range.

3.2 Comparison of the Effect of L1 Adaptive Control with Other Control Methods in the Case of System with Disturbance Factors

In order to fully illustrate the superiority of the L1 adaptive control method, the L1 adaptive algorithm is compared with the conventional model-referenced adaptive (MRAC) and PID in the case of the disturbance is added to the system.

The controlled object still selects the object defined in formula (1), the object uncertainty parameter \(\theta (t)\) and external time-varying disturbance \(\delta (t)\) are shown in Eqs. (14) and (15), the adaptive law is \(\Gamma = 100000\) and the given input of the system is \(q_{g} = 5/57.3\), The results of the comparison of L1 adaptive control method with MRAC control and PID control respectively are as follows.

Fig. 7.
figure 7

Comparison of pitch rate control of the L1 adaptive control method with the traditional model-referenced adaptive (MRAC) method and PID method

Fig. 8.
figure 8

Comparison of the rudder output effect of the L1 adaptive control method with the traditional model-referenced adaptive (MRAC) method and PID method

Figure 6 shows that after adding the disturbance, the pitch angle rate output of the system with L1 adaptive control method and MRAC method can track the input command signal well without overshoot and the control effect is excellent, while the PID method has been unable to control the controlled object and the pitch angle rate output of the control system cannot track the upper reference input.

Figure 7 shows that the system with MRAC control method showed obvious high-frequency oscillation of the rudder surface, and the control effect was poor. Comparing MRAC method and PID method, the rudder output of the system with L1 adaptive control method has slow rudder response without spikes, smaller maximum peak of rudder deflection, and higher rudder efficiency (Fig. 8).

Thus, the L1 adaptive control method is superior to the MRAC method and the PID method on balance.

4 Conclusion

In the paper, a pitch angle rate controller based on L1 adaptive theory is designed with a laboratory type of scaled-down UAV as the research object, and the comparison of different disturbance conditions and different methods is carried out. From the simulation results, we can see that the L1 adaptive control method can still control the pitch angle rate well and the rudder adaptive deflection is stable and effective, which can reduce the influence caused by the disturbance well under the condition of adding model uncertainty and disturbance again. In contrast, after the disturbance is added, the traditional MRAC control method shows high frequency oscillation of the rudder surface, and the PID control can no longer control the pitch rate effectively under the disturbance addition. The effectiveness and superiority of the designed L1 adaptive theory algorithm are verified.