Abstract
Morphing aircraft are able to keep optimal performance in diverse flight conditions. However, the change in geometry always leads to challenges in the design of flight controllers. In this paper, a new method for designing a flight controller for variable-sweep morphing aircraft is presented—dynamic inversion combined with adaptive control. Firstly, the dynamics of the vehicle is analyzed and a six degrees of freedom (6DOF) nonlinear dynamics model based on multibody dynamics theory is established. Secondly, nonlinear dynamic inversion (NDI) and incremental nonlinear dynamic inversion (INDI) are then employed to realize decoupling control. Thirdly, linear quadratic regulator (LQR) technique and adaptive control are adopted to design the adaptive controller in order to improve robustness to uncertainties and ensure the control accuracy. Finally, extensive simulation experiments are performed, wherein the demonstrated results indicate that the proposed method overcomes the drawbacks of conventional methods and realizes an improvement in control performance.
1. Introduction
Morphing aircraft are flight vehicles that change their surface geometry to adapt to a range of flight conditions and provide mission flexibility and versatility [1,2]. Compared to conventional fixed-shape aircraft, morphing aircraft are able to provide more benefits and play a very important role in military and civil aviation as the future advanced aircraft. Recent years have seen increased research attention being given to morphing aircraft owing to their capability to diminish the compromises required in multiple flight conditions [3,4].
Nevertheless, morphing solutions lead to large changes in geometrical parameters and aerodynamic parameters, which also generate additional forces and moments during the morphing phase. Such increasing system uncertainty and complexity of the system significantly [5] and makes it more difficult to maintain stable flight. These problems have to be solved in order to get better performance throughout a flight. Therefore, it is of considerable significance to design a high-performance flight control system for morphing aircraft.
Currently, a large number of studies have been dedicated to developing a flight controller for morphing aircraft. Considering that an aircraft is a typical time-varying nonlinear system, many early researchers assumed that the vehicle dynamics could be described by a linear parameter varying (LPV) model. This approach simplifies and transforms the nonlinear dynamics model to an LPV model by using Jacobian linearization, and then many well-established linear control methods can be used [5]. Wang et al. proposed a robust LPV controller using velocity-based linearization [6], which lifted the restriction on the equilibrium point in the traditional method. Lu et al. utilized multiple parameter-dependent Lyapunov functions (MPDLFs) to design a switching LPV controller [7]. However, parameter uncertainties existing in the controller always have an impact on control performance. Cheng et al. designed a non-fragile switched LPV controller to eliminate the negative effects caused by uncertainties and to ensure stability under the asynchronous switching phenomenon [8]. Yue et al. proposed a gain self-scheduled controller, whose gains are adjusted automatically as a function of time and operating conditions to guarantee flight stability and performance [4]. And in [9], a controller based on MPDLFs with low computational complexity was presented, and the control matrix of the LPV system was not limited to being constant. But in the linear control methods mentioned above, the nonlinear dynamics system was approximated by a linear model. The process of linear approximation ignored the higher-order nonlinear terms and this would never represent the true behavior completely and accurately. Considering that a morphing aircraft in flight is a very complicated dynamic system, the loss of some important nonlinear characteristics would seriously affect the control performance [10].
Therefore, more and more researchers have employed nonlinear control methods to control morphing aircraft in recent years. Chen et al. transformed the nonlinear dynamics equations of the vehicle into an affine nonlinear form, and then a backstepping method was applied to design the controller [11]. Yuan et al. presented an adaptive controller designed by backstepping and based on the gain [12]. In [13,14], an adaptive backstepping controller has been proposed, in which a radial basis function (RBF) neural network was used to estimate the uncertain terms of the aircraft. However, backstepping can involve intricate mathematics caused by the differentiation of nonlinear functions and requires a deep understanding of nonlinear system dynamics. The recursive structure that backstepping relies on can lead to cascading errors or the amplification of uncertainties. Even with the addition of a neural network, the uncertain nonlinearity of the vehicle cannot be accurately approximated, which limits the practical application of this method.
NDI is a well-known flight control technique with advantages of precise decoupling and quick response without the need for complicated gain scheduling over a wide flight envelope [15], which transforms the nonlinear system dynamics into a set of linear equations without ignoring any higher-order nonlinear terms. However, an NDI-based controller is extremely model-dependent, and subtle uncertainties such as unmodeled dynamics and external disturbances can reduce the robustness of the controller. Therefore, numerous extensions to NDI have been proposed to overcome these limitations and enhance the control performance. INDI is a variation on NDI, which retains the high-performance advantages of the latter while decreasing the dependency on the model and enhancing the robustness to model uncertainties [16]. Besides INDI, adaptive control is a control approach that aims to automatically adjust the control parameters in real-time based on the system’s dynamic behavior or changes in operating conditions to adapt to changes in system dynamics, parameter variations, and external disturbances. Xu et al. adopted NDI and INDI to design a basic flight controller of morphing aircraft [2]. Zhou et al. presented an incremental filtered nonlinear control method considering actuator dynamic compensation [17] and Li et al. presented an angular acceleration control method based on INDI and adaptive control [18].
On the one hand, many researchers have simplified the 6DOF nonlinear vehicle model into three degrees of freedom (3DOF), which limited the practical application of the proposed control methods. On the other hand, for some conventional nonlinear control methods, the design process of the controller is cumbersome, especially when the model complexity is increasing. In addition, model uncertainties and measurement errors may also seriously affect the control accuracy [19]. Compared to other control methods, adaptive control is relatively model-free and its addition can compensate for the effects of possible faults or unexpected uncertainties and achieve a substantial improvement in performance; however, it is difficult for conventional adaptive control methods to achieve the trade-off between control performance and robustness [20,21,22]. adaptive control, an improvement of model reference adaptive control (MRAC) presented by Cao and Hovakimyan, appears to be beneficial both for robustness and performance [22,23,24], resolving the trade-off between the two by selecting a low-level filtering structure. By decoupling adaptation from robustness via continuous feedback, this control architecture enables fast adaptation with guaranteed robustness [22].
In this paper, a practical approach to the design of the flight controller of a variable-sweep morphing aircraft has been proposed. Firstly, the vehicle dynamics model with 6DOF has been established, in which the variables of the system were divided into different sets by the time-scale separation principle and the mathematical expressions were described in a state-space form. Secondly, INDI and NDI have been employed to design the basic controller to achieve the decoupling control of attitude angles , , and . Then, LQR and adaptive control have been adopted to design the adaptive controller in order to enhance the control performance. Thirdly, a series of simulations have been conducted in the pre-designed scenarios. The results indicate the superiority of the proposed method. It is proved that the approach presented in this paper has realized an improvement in control performance and overcomes the drawbacks of conventional methods. The main contributions of our work are summarized as follows:
- Many other researchers focus on the 3DOF vehicle dynamics model, which is simply based on the longitudinal dynamics that generates pitching and forward motion. Different from them, we establish a 6DOF dynamics model which can fully describe the dynamic characteristics of the vehicle. This expands the application scope of our method.
- Compared to the traditional LPV-based morphing aircraft controller, we adopt a nonlinear control method to realize the design of our flight controller, which improves the control precision. The combination of dynamic inverse and adaptive control provides a balance between control performance and robustness.
- Different from many other works that only adopt NDI to design the basic controller, we use NDI and INDI, respectively, to design it. In addition, the adaptive controller we proposed aims at the error dynamics system instead of the vehicle system itself, which is distinct from nearly all other works adopting this method and can ensure the desired command tracking to the maximum extent.
The rest of this paper is structured as follows: Section 2 establishes the 6DOF nonlinear dynamics model of our morphing aircraft. Section 3 and Section 4 introduce the design of the dynamic inversion controller and the adaptive controller, respectively. Section 5 gives the stability analysis of our controller. In Section 6, simulations are performed and results presented. Finally, Section 7 concludes this paper.
2. Model Description
In this paper, BQM-34 Firebee UAV designed by NextGen Aviation is chosen as the baseline aircraft. Configuration variants were constructed in [25,26] to enable a better aerodynamic performance and accommodate various mission requirements, in which sweep angle ranges from to . Some configuration specifications are provided in Table 1.
Table 1.
Parameters of two different configurations.
2.1. Equations of Force and Moment
It is assumed that the origin of the body-fixed frame is fixed to the rigid fuselage (definitions of different frames can be found in [27] and are shown in Figure 1). In the symmetrical wing morphing process, geometry alteration produces a shift in the center of gravity (CG) of the aircraft that is no longer located at the origin point. According to the multi-body dynamics theory in [28], the dynamics equations of an aircraft with variable wings can be expressed in vector form as:
where stands for the left and right wings, respectively. and are resultant external force and moment. and , where , and are aerodynamic force, gravity, and thrust, respectively, and , are aerodynamic moment and the moment caused by gravity, respectively. is the flight velocity and the angular velocity; is the inertia matrix; is the static moment. and are the rotational angular velocity and static moment of each wing, respectively. As the mass distribution and the shape changes of the left and right wings are symmetrical, and can be expressed as [1]:
Figure 1.
Reference frames and transformation [2].
2.2. Dynamics Model of Morphing Aircraft
The dynamics model of an aircraft is often considered to be a typical singular perturbation system due to the presence of distinct time scales in its dynamics, which means that the motion states of an aircraft exhibit multi-temporal properties. Inspired by [29], flight states variables are divided into three groups: the fast variables of angular velocity p, q, r, the slow variables of attitude angle , , , and the slowest variables of speed and track angle V, , . Accordingly, the equations of motion of the vehicle are depicted as three sets of nonlinear differential equations.
2.2.1. Dynamics Equations of V, , and
In the flight path frame, Equation (1) can be rearranged in the following form:
where , , and are components of resultant force vector on the flight path frame, where is the inertial force. and are flight path angle and kinematic azimuth angle, respectively. Then, the derivatives of V, , and can be derived as:
including aerodynamic force, gravity, thrust, and inertial force can be derived as:
where , , and are transformation matrices between different frames, which have been defined in Figure 1 and:
and
where , , and are the angle of attack, sideslip angle, and kinematic bank angle, respectively. Further, , , and and , , and are components of inertial force and thrust in a body-fixed frame:
and
where T is the value of thrust and the engine mounting angle (in this paper, ). Furthermore, the aerodynamic force drag D, side force Y, and lift L in the wind-axes frame can be obtained as follows:
where is the dynamic pressure and is the Mach number, , , and are aerodynamic force coefficients, and , , , , , are aerodynamic derivatives, which are principally functions of , , and and can be obtained by Datcom directly [30] (to be illustrated shortly). The drag coefficient is given by a function of [31], in which the two parameters and K are functions of and ; they can be obtained by fitting the values of and calculated by Datcom.
2.2.2. Dynamic Equations of , , and
The dynamics equations of , , and can be expressed as follows (see [32] for more details):
2.2.3. Dynamic Equations of p, q, and r
The dynamic equations of can be obtained by rewriting Equation (1):
Denote , , and ; the components can be expressed as [1]:
where , , and are aerodynamic moment coefficients:
where , , , , , , , , , , , , and are the aerodynamic moment derivatives, , , and represent control surface input.
and are roll and pitch angle.
2.3. Data Acquisition in Symmetry Morphing Process
During the shape variation process, the configuration parameters and aerodynamic derivatives are changing. The geometric parameters related to different configurations, such as the CG position, the root and tip chord of wings, b, , and can be found in [25,26]; then we construct one-dimensional lookup tables based on the geometric parameters of six configurations, and interpolation is used to obtain the datas during configuration transition. In addition, the derivatives of , , , and can be calculated by the method in [2,33].
The aerodynamic derivatives of six configurations () are calculated by Datcom [30] and the data required in the Datcom input files have been provided in Appendix B of [25,26]. The data obtained from Datcom output files form multi-dimension lookup-tables with respect to Mach number, , and , which are combined with an interpolation algorithm and may then be constructed for simulation purposes.
Figure 2 and Figure 3 show the changes of , , and under different flight conditions and sweep angle . At the condition of = 0.5 and attitude = 5000 m, and increase with the growing of when . Additionally, , , and decrease when the sweep angle is increasing at the same ; when rises to 0.8, the values of and at the same have increased but the relative changes are generally the same. The difference is mainly reflected in . Figure 4 shows some typical lateral aerodynamic derivatives. It demonstrates that sweep angle has a significant effect on lateral parameters, especially , the value of which changes from positive to negative as the sweep angle increases. But the variation trend of lateral parameters under different sweep angles is generally the same.
Figure 2.
, , and at = 0.5, attitude = 5000 m.
Figure 3.
, , and at = 0.8, attitude = 5000 m.
Figure 4.
, , and at = 0.5, attitude = 5000 m.
3. Dynamic Inversion (DI) Design for Decoupling
As compared to conventional aircraft, a morphing aircraft is a more complicated nonlinear system requiring a flight controller with outstanding robustness and control accuracy. The typical design approach of a flight control system is to establish a control loop to stabilize vehicle attitude , , and angular rates p, q, r in an inner loop, while an outer loop tracks vehicle position (V, , and x, y, z).
Section 2 has established a complete dynamics model of a morphing aircraft, considering that the attitude stability of the inner loop is the basis of position tracking. In this section, we mainly focus on the control of attitude angles , , and and angular velocity p, q, and r to realize decoupling control of vehicle attitude. We use INDI and NDI to design a dynamic inversion controller, which is based on a cascaded design with an angular rate control loop and an attitude control loop. Each loop involves one set of equations in Section 2, with three inputs and three outputs.
3.1. Dynamic Inversion Design for the Attitude Control Loop
The objective of the attitude loop controller is to obtain expected . The relation between , , and p, q, r is based on a kinematic equation independent of vehicle dynamics, so NDI is employed to design the control law instead of INDI [34]. Equation (13) can be expanded as follows:
where is the flight state and , , and are the inverse of and , respectively. and are the matrices of the attitude control loop. The method to calculate and in actual flight are given in (A1) and (A2) in Appendix A. Then, the NDI control law is derived:
where the is the desired dynamics of , which is computed by the adaptive controller from the outer layer, to be introduced shortly.
3.2. Dynamic Inversion Design for the Angular Rate Control Loop
The objective of the angular rate control loop controller is to generate the expected control surface input , , and INDI is adopted to design the control law. Nonlinear dynamics equations of this loop can be written as:
where is the control surface input, and , , and are the aerodynamic moments when the deflections of are zero. denotes the control independent state matrix and is the control matrix, and represents the sum of undesired dynamics in the inner loop.
In sampling time , Equation (14) is rewritten into a first-order Taylor series expansion, as shown in Equation (22):
Note that , and Equation (22) can be further simplified as follows:
When the sampling time is small enough, the high-order items and the increment of uncertainties are small. According to the time-scale separation principle, term can be neglected [35] and the desired deflection of the control surface is obtained as follows:
where and are the derivatives of angular rates and control surface inputs in the previous moment, respectively, which can be calculated by using a second-order filter introduced in [27]. Further, the input of the angular rate control loop is , which represents the desired dynamics of and is obtained as follows:
where is the matrix of bandwidth and the command signal generated by the attitude control loop.
So far, the model inversion has been achieved and the pseudo-linear composite system is illustrated in Figure 5.
Figure 5.
Pseudo-linear composite system architecture.
3.3. Analysis of Dynamic Inversion Controller
In fact, unknown nonlinear disturbances always exist. Here, we assume that there are disturbances that satisfies the following conditions:
Assumption 1.
The unknown nonlinear disturbance existing in the attitude control loop is continuous and globally bounded.
Assumption 2.
According to [5], the undesired state response in the angular rate loop can be effectively reduced when the sample rate is sufficiently high. However, and , including undesired disturbances, cannot be canceled out. Consequently, the desired response dynamics cannot be fully achieved.
4. Adaptive Flight Controller Design
It can be proven that the nonlinear parts and are continuous and globally bounded; however, they cannot be eliminated by NDI or INDI completely. As a result of that, the control effect will be decreased greatly. In this section, a linear quadratic regulator (LQR) and adaptive control are adopted to overcome this problem and enhance the benefits from the existing DI controller.
4.1. Error Dynamic System
The ideal linearized system is a simple first-order system, whose transfer function is equivalent to , and the structure is shown in Figure 5. Inspired by [35], the design of the adaptive controller begins by coordinate transformations. The tracking error is defined as , is the actual response, and is the command of the channel, channel, or channel, where i represents , , or . And the error vector of each channel is defined as . Then, the single error dynamics system can be defined as follows:
where , , and are known constant matrices. And
then,
Now, we can obtain the control command signal of the attitude loop by (34), in which the control input of error dynamics system is composed of two parts:
where is the LQR control law and the adaptive control law, to be defined shortly.
4.2. Linear Quadratic Regulator Controller Design
The LQR controller for , , and is designed by employing the LQR method. This method aims at obtaining an optimal feedback gain by minimizing the following objective function [36]:
where is the state weight matrix and the input weight matrix. The expected control input is:
where is the symmetric definite solution of Riccati matrix differential equation as follows:
Thus, the feedback gain matrix is obtained as:
Then, the linear feedback control law can be written as:
The state weight matrices of , , and are selected as , , and , respectively. And the input weight matrices are selected as . Then, we can get the feedback gain of the LQR controller: , , and .
4.3. Adaptive Controller Design
Inspired by [20,22], the feedback gain leads the closed-loop error dynamics system as follows:
where renders Hurwitz matrix. Meanwhile, the uncertainty and disturbance are considered, then the error dynamics system takes the form as follows:
where , , and are unknown parameters related to time-varying unknown disturbances. Here are some assumptions for adaptive controller design:
Assumption 3.
Unknown parameters and are uniformly bounded:
Assumption 4.
The rate of variation of unknown parameters and is uniformly bounded:
Assumption 5.
The uncertain system input gain has known upper and lower bounds:
According to the assumptions above, the adaptive controller can be obtained.
State predictor
For the error dynamics system proposed in (42), the following state predictor can be established:
where and are the estimations of states, , , and are adaptive estimations of , and , respectively.
Adaptation laws
The estimations , , and are updated by the following projection-based adaptation laws:
where represents the estimation error of , is the adaptation rate and the solution of the algebraic Lyapunov equation (), Proj is the projection operator.
Control Law
The control signal of the adaptive controller is generated by the following control law:
where and are the Laplace transformations of command signal and , is the feed-forward filter adopted to eliminate the zero steady-state error of the output response, is the filter gain, and the transfer function of strict true partition:
Actually, the objective of control is making the states track the command signal well, so the desired value of is 0, which means . Then, the adaptive control law can be simplified as follows:
Additionally, the following norm condition is required to satisfy to ensure the stability of the closed-loop system:
where
In this paper, the control parameters of , , and are same. The transfer function and the filter gain . In the adaptation laws, the parameters are selected as and . Besides that, the projection range of the adaptation laws are set as , , and .
So far, we have finished the design of the adaptive controller composed of an LQR controller and a adaptive controller, as shown in Figure 6.
Figure 6.
The structure of the adaptive controller based on LQR and adaptive control.
5. Stability Analysis
Focus on the tracking error of , , and and consider the following estimation error:
then, we can get the following prediction-error dynamics:
where
Then, the estimation error in frequency domain can be written as:
where
Lemma 1.
The estimation error is uniformly bounded,
where
and and are the minimum and maximum eigenvalues of , respectively.
Proof.
Select the Lyapunov function candidate
Firstly, we prove that
The derivative of is
combined with (60) and
and (71) can be further written as
The property of the projection operator ensures that [37]
Thus, (72) satisfies the following conditions:
Assumptions 3 and 4 ensure the boundary and the rate of variation of and for all and we get
Then, (76) can be simplified to
When , , we can prove that
Then, we assume that if at any time ,
then it follows from (67) and (68) that
The eigenvalues and norms of the matrix satisfy the following conditions:
and thus we can get
Hence, if (80) is true, (78) can be written as
So it will follow from (84) that, for all ,
Finally,
which leads to (66). For analysis purposes, a reference system is introduced as follows, which represents the desired performance the error dynamics system can achieve:
where and represent the state and the input of the closed-loop reference system, represents the Laplace transform of expected reference tracking error and , respectively. For error dynamics system and (89) can be written as:
□
Lemma 2.
The closed-loop reference system above is a bounded-input bounded-state (BIBS) stable response to and .
Proof.
Theorem 1.
The following upper bounds can be verified:
where
Proof.
Let
It follows from (53) and (54) that
and (91) can be written as
We can get the Laplace transform of from (91), then the error between and can be written as follows:
In a similar way as with (92), we can get the following upper bound:
From the definition of and , we can get
So, (101) can be rewritten as
Solving for , with the upper bound of from Lemma 1, one obtains
Then, we obtain the bound of , similar to the derivation of , one can derive
Quoting Lemma A.12.1 in [22] and combining (103), one gets:
Using the upper bounds of and proved before, we have
Then, we conclude that for all , the bounds of (94) are satisfied. The proof is completed. □
6. Simulation
To demonstrate the performance and stability of the proposed controller, a series of flight simulations based on BQM-34 Firebee UAV were presented in this section and MATLAB/Simulink R2022a was used as the simulation software in this study. All the simulations were implemented in MATLAB/Simulink and more details about the implementation are provided in Table 2:
Table 2.
Experiment implementation details.
6.1. Comparison
In order to obtain an overall assessment of control performance, the -NDI/INDI controller designed in this paper is compared with other control methods, which are based on well-known control techniques like NDI, sliding mode control (SMC), and multilayer perceptron (MLP).
- The NDI method is based on a cascade design with an angular rate control loop and an attitude control loop, the same as that in Figure 5. But the NDI method only uses NDI to realize decoupling control and adds an LQR controller to maintain the desired tracking performance.
- SMC is a classical nonlinear control methodology which is widely used for flight controller design. It introduces a discontinuous switching term associated with a sliding variable, which can not only ensure the system reaches the sliding manifold in finite time, but also approximates and compensates the unknown interference effectively. Referring to [1,38], and based on the multi-loop cascade control structure similar to the aforementioned NDI, sliding surfaces employing first and second-order dynamic sliding mode technologies have been constructed in both an angular rate loop and an attitude loop, which are then used to derive SMC control law.
- MLP is a kind of artificial neural network with forward architecture with a simple connection, which can deal with nonlinear separable problems. In this section, the MLP control method is also NDI-based, in which multi-layer neural networks are added in the control channels of , , and , respectively, to compensate for tracking errors caused by NDI (details can be found in [29]). The addition of MLP can improve control performance in the presence of morphing.
The overall architecture of -DI, SMC, MLP, and NDI are demonstrated in Appendix B.
6.1.1. Scenario 1
The initial condition of the simulation is horizontal cruise ( = 150 m/s, = 5000 m, = , = ). The wings of the aircraft started to sweep symmetrically from at the time of t = 0 s and reached a maximum sweep angle of at t = 15 s. While the shape was changing, the aircraft was required to keep the initial horizontal flight for 3 s. Then, the step commands of = and = were given to realize the roll maneuver. Further, at t = 8 s, the angle of attack and bank angle were allowed to return back to their initial values. The expected value of was always 0. All the commands mentioned above would pass through a filter and the reference signals are shown in the Figure 7.
Figure 7.
Command signals in Scenario 1.
Figure 8, Figure 9 and Figure 10 show the command tracking performance of different control methods in Scenario 1. During , due to the shape of the aircraft starting to change from t = 0 s, CG movement and parameter variations make it difficult for the aircraft to remain stable. Compared to SMC, -DI and MLP exhibit a distinct state change at the beginning, especially MLP, for they have an adaptive process to model variation at the beginning. However, the tracking error of MLP is much higher than that of -DI during this period, which means the adaptive speed of the neural network is slower. Furthermore, the tracking error of -DI reduces to the minimum rapidly before t = 3 s and, contrarily, that of NDI increases steadily, for it is generally sensitive to model variation during the morphing phase and may not provide robustness against such uncertainties.
Figure 8.
Command signals tracking of , , and in Scenario 1.
Figure 9.
Tracking error of , , and in Scenario 1.
Figure 10.
RMSE for different control methods.
When the maneuver commands are given at s, the tracking error of each controller begins to increase, especially NDI. However, -DI can cope with such a situation and always follows the reference command closely. The control performance indicators like overshoot and the tracking accuracy of -DI are obviously superior to those of the other controllers. At the time s, the attitude angles are supposed to turn back to the initial values, and the state responses under -DI can follow the commands quickly and accurately. Finally, after s, the steady-state errors of -DI are minimal (as shown in Figure 10), followed by MLP, SMC, and NDI.
Figure 10 demonstrates the root mean square errors (RMSE) of different controllers during simulations, the value of each box represents the average value of square errors at each time interval (1 s) and it shall be calculated by the formula below:
where s is the simulation step size and represent the beginning of fifteen time intervals. represents the tracking error calculated by the ith step during n to s.
To help to compare the controller performance, the tracking errors of each controller were evaluated and summarized in Table 3 including minimal errors, max errors, and RMSE () throughout the overall simulation period (mark the values less than as 0). Results indicate that all controllers have guaranteed tracking performance and -DI achieves the best, for its minimal values of all types of error.
Table 3.
Error information of different controllers.
In addition, Figure 11 shows the change of the estimate of parameters , , and in the adaptive controller. Here, the parameters of the channel are taken as an example:
Figure 11.
The estimate of parameters , , and .
The results indicate that the estimated parameters governed by the adaptive law in Section 4.3 are capable of adjusting their values adaptively according to the tracking error and then the adaptive controller can generate the control law immediately and autonomously to ensure stable reference tracking.
6.1.2. Scenario 2
To help evaluate different strategies under varied circumstances, we designed an enriched test scenario covering a wide range of situations and conditions, which included cruise, expedite climbing, coordinated turning, and diving. Meanwhile, shape variation instructions were given during the flight. The above maneuvers were performed by tracking the following flight path command of V, , and , which passed through filters and are given in Table 4 and Figure 12.
Table 4.
Command signals given in Scenario 3.
Figure 12.
Command signals and ideal flight trajectory in Scenario 2.
It should be noted that the control approach proposed in this paper is aimed at vehicle attitude control, which cannot realize flight path control. In order to realize the flight path command tracking and verify the effectiveness of the presented controller after incorporating a complete flight control system, a flight path control loop was designed and then replaced the command signals generator in Figure 6 to calculate the expected , , and as the input of the attitude controller according to the flight path command of , , and . The same flight path control loop was added to the outermost loop of the controllers based on -DI, SMC, MLP, and NDI. The the development of the flight path control loop has been given in [29,39] in detail. The overall architecture of -DI, SMC, MLP, and NDI after adding the flight path controller are demonstrated in Appendix B.
Figure 13 and Figure 14 show the V, , and commands and responses for different controllers. The results demonstrate that the tracking performances of different controllers are slightly different, which is caused by the distinct attitude control strategies employed by the inner layer. This indicates the importance of designing an effective attitude controller to realize the desired attitude responses. Specifically, in V and channels, there is little difference in tracking performance between the four controllers. However, in the channel, SMC shows performance degeneration in the channel for steady-state error, and the buffeting effect is always present; consistent with the results in Scenario 1, NDI has the worst tracking performance in the morphing phase (during 0∼15 s, 30∼45 s, 60∼75 s and 90∼105 s) with the highest tracking error and a poor convergence performance.
Figure 13.
Command signals tracking of V, , and in Scenario 2.
Figure 14.
Tracking errors of V, , and in Scenario 2.
Figure 15 and Figure 16 show the responses of , , and and the tracking errors of the responses. The results demonstrate that -DI, MLP, and NDI are able to maintain a relatively stable state response and -DI achieves the best tracking performance of the three. SMC performs the best tracking performance in the channel (the tracking error of SMC shown in Figure 16 is the smallest). However, in and channels, the responses of SMC exhibit more unpleasant jitters and chattering behavior compared to other three controllers, as the ideal sliding mode implies an infinite switching frequency; however, this cannot be attained in practice [40], which means the actual system states cannot reach the predefined sliding surface. Overall, -DI yields satisfactory results in the flight control system architecture, for it maintains a stable state response with smaller tracking errors.
Figure 15.
Command signals tracking of , , and in Scenario 2.
Figure 16.
Tracking errors of , , and in Scenario 2.
The overall flight trajectories of the four controllers are shown in Figure A5.
6.2. Sensitivity Analysis
To illustrate the good robustness and performance of the proposed controller in some other cases, the same attitude commands in Scenario 1 were given in the following scenarios:
- In Scenario 3, the uncertainties were introduced, which included sensor measurement errors and control surface disturbances, shown in Table 5.
Table 5. The type and range of uncertainties. - In Scenario 4, aiming at the model uncertainties, aerodynamic coefficient perturbation was considered, and aerodynamic forces and moments coefficients were increased by 30% to check if the controller can still achieve a satisfactory performance.
- In Scenario 5, the morphing rates were changed and the aircraft was allowed to change from the loiter configuration () to the dash configuration in 8 s, 15 s, and 20 s to observe whether the control performance was affected.
Figure 17, Figure 18 and Figure 19 show the control performance of the proposed scheme in three situations. Figure 17 illustrates that the -DI controller can offset the deviation caused by uncertainties to guarantee the low command tracking errors and the convergence within an acceptable range. Figure 18 and Figure 19 show very consistent performances for increased aerodynamic forces and moments and different shape variation speeds. The influence in Scenarios 4 and 5 is almost negligible.
Figure 17.
Signal tracking of , , and in Scenario 3.
Figure 18.
Signal tracking of , , and in Scenario 4.
Figure 19.
Tracking error of , , and in Scenario 5.
The simulation results in Scenarios 1 and 2 indicate that the control approach based on adaptive control and dynamic inversion has improved the performance in the presence of shape change compared to that of other well-known controllers. Additionally, in Scenarios 3–5, the robustness of the controller to external disturbances and model uncertainties is satisfactory.
7. Conclusions
An implementation of a adaptive controller based on dynamic inversion has been presented and demonstrated with a validated simulation of a variable-sweep morphing aircraft. Results show that the proposed control method has a more satisfactory command tracking performance compared to that of other popular controllers. While tracking the maneuver commands in Scenario 1, the maximum tracking error and the RMSE of -DI in the channel are and , respectively, followed by an SMC with a maximum tracking error and RMSE of and , respectively. In the and channels, -DI also achieves the best control performance, as the maximum error and RMSE of the former are and , followed by and , respectively, while those of the latter are and , followed by and , respectively. In Scenario 2, the effectiveness of the proposed controller after adding a flight path control loop has been verified. As an attitude controller in the inner loop, -DI has a smaller tracking error, a smaller overshoot, and a more satisfactory convergence performance in , , and channels than those of MLP and NDI, and, compared to SMC, it yields guaranteed stable responses of , , and . Finally, a sensitivity analysis of Scenarios 3–5 has proven the strong robustness of the controller to uncertainties. The control scheme proposed in this paper is feasible and effective. In the future, physical verification can be carried out on the basis of simulation to prove that the proposed scheme has practical value.
Author Contributions
The individual contributions of each authors are as follow: Conceptualization, L.C. and J.A.; methodology, L.C., Y.L. and J.Y.; software, L.C., Y.L. and J.Y.; validation, L.C., Y.L. and J.Y.; formal analysis, L.C.; investigation, L.C. and Y.D.; resources, Y.D.; data curation, L.C.; writing—original draft preparation, L.C.; writing—review and editing, L.C. and Y.D.; visualization, L.C.; supervision, Y.D.; project administration, Y.D.; funding acquisition, Y.D. All authors have read and agreed to the published version of the manuscript.
Funding
This work was sponsored by Shanghai Sailing Program (20YF1402500), and Natural Science Foundation of Shanghai (22ZR1404500).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| NDI | Nonlinear dynamic inversion |
| INDI | Incremental nonlinear dynamic inversion |
| LQR | Linear quadratic regulator |
| LPV | Linear parameter varying |
| MPDLF | Multiple parameter-dependent Lyapunov function |
| RBF | Radial basis function |
| 6DOF | Six degrees of freedom |
| 3DOF | Three degrees of freedom |
| MRAC | Model reference adaptive control |
| CG | Center of gravity |
| DI | Dynamic inversion |
| SMC | Sliding mode control |
| MLP | Multilayer perceptron |
| RMSE | Root mean square errors |
Appendix A
As aforementioned in Section 3.1, and are required for calculating the NDI control law of the attitude control loop. Denote , , and the specific force components along the body-fixed frame axis, the equations of and can be expressed as another form (see [34] for more details):
In actual flight, , , and can be directly measured by accelerometers, so the values of and can be calculated by states feedback and the NDI control law (19) can be obtained.
Appendix B
Appendix B.1
This appendix contains the structure of -DI, SMC, MLP, and NDI controller to help understand how to develop this controllers.
Figure A1.
Schematic of the proposed -DI method.
Figure A2.
Schematic of the SMC control method.
Figure A3.
Schematic of the MLP method.
Figure A4.
Schematic of the NDI method.
Appendix B.2
The flight trajectories of the four controllers are shown in Figure A5.
Figure A5.
The flight trajectory of different controllers.
References
- Yue, T.; Zhang, X.; Wang, L.; Ai, J. Flight dynamic modeling and control for a telescopic wing morphing aircraft via asymmetric wing morphing. Aerosp. Sci. Technol. 2017, 70, 328–338. [Google Scholar] [CrossRef]
- Xu, W.; Li, Y.; Pei, B.; Yu, Z. Coordinated intelligent control of the flight control system and shape change of variable sweep morphing aircraft based on dueling-DQN. Aerosp. Sci. Technol. 2022, 130, 107898. [Google Scholar] [CrossRef]
- Barbarino, S.; Bilgen, O.; Ajaj, R.M.; Friswell, M.I.; Inman, D.J. A review of morphing aircraft. J. Intell. Mater. Syst. Struct. 2011, 22, 823–877. [Google Scholar] [CrossRef]
- Yue, T.; Wang, L.; Ai, J. Gain self-scheduled H∞ control for morphing aircraft in the wing transition process based on an LPV model. Chin. J. Aeronaut. 2013, 26, 909–917. [Google Scholar] [CrossRef]
- Li, Y.; Liu, X.; He, Q.; Ming, R.; Huang, W.; Zhang, W. Adaptive Structure-Based Nonlinear Dynamic Inversion Control for Aircraft with Center of Gravity Variations. J. Intell. Robot. Syst. 2022, 106, 4. [Google Scholar] [CrossRef]
- Wang, Q.; Wang, T.; Hou, D.; Dong, C. Robust LPV control for morphing vehicles via velocity-based linearization. J. Syst. Eng. Electron. 2014, 36, 1130–1136. [Google Scholar]
- Lu, B.; Wu, F. Switching LPV control designs using multiple parameter-dependent Lyapunov functions. Automatica 2004, 40, 1973–1980. [Google Scholar] [CrossRef]
- Cheng, H.; Chaoyang, D.; Jiang, W.; Qing, W.; Yanze, H. Non-fragile switched H∞ control for morphing aircraft with asynchronous switching. Chin. J. Aeronaut. 2017, 30, 1127–1139. [Google Scholar] [CrossRef]
- Jiang, W.; Wu, K.; Wang, Z.; Wang, Y. Gain-scheduled control for morphing aircraft via switching polytopic linear parameter-varying systems. Aerosp. Sci. Technol. 2020, 107, 106242. [Google Scholar] [CrossRef]
- Xu, W.; Li, Y.; Lv, M.; Pei, B. Modeling and switching adaptive control for nonlinear morphing aircraft considering actuator dynamics. Aerosp. Sci. Technol. 2022, 122, 107349. [Google Scholar] [CrossRef]
- Wei, C.; Jingchao, L.; Xiaoguang, W.; Weiguo, Z. Design of a controller for morphing aircraft based on backstepping/RHO. J. B. Univ. Aeronaut. Astronaut. Univ. Aeronaut. Astronaut. 2014, 40, 1060–1065. [Google Scholar]
- Yuan, L.; Wang, L.; Xu, J. Adaptive fault-tolerant controller for morphing aircraft based on the L2 gain and a neural network. Aerosp. Sci. Technol. 2023, 132, 107985. [Google Scholar] [CrossRef]
- Qiao, F.; Shi, J.; Zhang, W.; Lyu, Y.; Qu, X. A high precision adaptive back-stepping control method for morphing aircraft based on RBFNN method. J. Northwest. Polytechnical. Univ. 2020, 38, 540–549. [Google Scholar] [CrossRef]
- Qiao, F.; Zhang, W.; Li, G.; Shi, J.; Qu, X.; Che, J.; Zhou, H. Robust Adaptive Back-stepping Control Design Based on RBFNN for Morphing Aircraft. In Proceedings of the 2018 IEEE CSAA Guidance, Navigation and Control Conference (CGNCC), Xiamen, China, 10–12 August 2018; pp. 1–7. [Google Scholar]
- Horn, J.F. Non-linear dynamic inversion control design for rotorcraft. Aerospace 2019, 6, 38. [Google Scholar] [CrossRef]
- Sieberling, S.; Chu, Q.; Mulder, J. Robust flight control using incremental nonlinear dynamic inversion and angular acceleration prediction. J. Guid. Control. Dynam. 2010, 33, 1732–1742. [Google Scholar] [CrossRef]
- Zhou, C.; Zhu, H.; Yuan, X. Incremental filtered nonlinear control for aircraft with actuator dynamics compensation. Control Theory Appl. 2017, 34, 594–600. [Google Scholar]
- Li, Y.; Liu, X.; Lu, P.; He, Q.; Ming, R.; Zhang, W. Angular acceleration estimation-based incremental nonlinear dynamic inversion for robust flight control. Control Eng. Pract. 2021, 117, 104938. [Google Scholar] [CrossRef]
- Efremov, A.; Efremov, E.; Tiaglik, M.; Irgaleev, I.K.; Shcherbakov, A.; Mbikayi, Z. Adaptive flight control system for flight safety improvement in reentry and other high-velocity vehicles. Acta Astronaut. 2023, 204, 900–911. [Google Scholar] [CrossRef]
- Chen, Q.; Ai, J. Design of adaptive augmented control system for six degrees of freedom hypersonic vehicle model. Sci. Chin. Ser. F Inf. Sci. 2018, 38, 2134. [Google Scholar]
- Hellmundt, F.; Wildschek, A.; Maier, R.; Osterhuber, R.; Holzapfel, F. Comparison of adaptive augmentation strategies for a differential PI baseline controller on a longitudinal F16 aircraft model. In Advances in Aerospace Guidance, Navigation and Control: Selected Papers of the Third CEAS Specialist Conference on Guidance, Navigation and Control Held in Toulouse; Springer: Berlin/Heidelberg, Germany, 2015; pp. 99–118. [Google Scholar]
- Hovakimyan, N.; Cao, C. Adaptive Control Theory: Guaranteed Robustness with Fast Adaptation; SIAM: Philedelphia, PA, USA, 2010. [Google Scholar]
- Cao, C.; Hovakimyan, N. adaptive controller for a class of systems with unknown nonlinearities: Part I. In Proceedings of the 2008 American Control Conference, Seattle, WA, USA, 11–13 June 2008; pp. 4093–4098. [Google Scholar]
- Cao, C.; Hovakimyan, N. adaptive controller for nonlinear systems in the presence of unmodelled dynamics: Part II. In Proceedings of the 2008 American Control Conference, Seattle, WA, USA, 11–13 June 2008; pp. 4099–4104. [Google Scholar]
- Seigler, T.M. Dynamics and Control of Morphing Aircraft. Ph.D. Thesis, Virginia Tech, Blacksburg, VA, USA, 2005. [Google Scholar]
- Yan, B.; Li, Y.; Dai, P.; Liu, S. Aerodynamic analysis, dynamic modeling, and control of a morphing aircraft. J. Aerosp. Eng. 2019, 32, 04019058. [Google Scholar] [CrossRef]
- Lu, P.; Van Kampen, E.J.; De Visser, C.; Chu, Q. Aircraft fault-tolerant trajectory control using incremental nonlinear dynamic inversion. Control Eng. Pract. 2016, 57, 126–141. [Google Scholar] [CrossRef]
- Yue, T.; Wang, L.; Ai, J. Longitudinal linear parameter varying modeling and simulation of morphing aircraft. J. Aircr. 2013, 50, 1673–1681. [Google Scholar] [CrossRef]
- Li, Y.; Cheng, L.; Yuan, J.; Ai, J.; Dong, Y. Neural Network and Dynamic Inversion Based Adaptive Control for a HALE-UAV against Icing Effects. Drones 2023, 7, 273. [Google Scholar] [CrossRef]
- Hoak, D.; Finck, R. USAF Stability and Control Datcom Flight Control Division. In Air Force Flight Dynamics Laboratory; Global Engineering Documents: Irvine, CA, USA, 1978. [Google Scholar]
- Etkin, B.; Reid, L.D. Dynamics of Flight: Stability and Control; John Wiley & Sons: Hoboken, NJ, USA, 1995; p. 19. [Google Scholar]
- Stevens, B.L.; Lewis, F.L. Aircraft Control and Simulation; John Willey & Sons, Inc.: New York, NY, USA, 1992; pp. 309–316. [Google Scholar]
- Xia, F.; Jing, B.; Xu, W. Analysis of the Short-Term Dynamics of Morphing Aircraft Caused by Shape Change Based on the Open-Loop Response and the Reachable Set Theory. Aerospace 2023, 10, 448. [Google Scholar] [CrossRef]
- van’t Veld, R. Incremental Nonlinear Dynamic Inversion Flight Control: Stability and Robustness Analysis and Improvements. Master’s Thesis, TU Delft, Delft, The Netherlands, 2016. [Google Scholar]
- Wang, Q. Research on fligHt Control System Designing Theories and Simulation for a Hypersonic Vehicle. Ph.D. Thesis, Fudan University, Shanghai, China, 2011. [Google Scholar]
- Elkhatem, A.S.; Engin, S.N. Robust LQR and LQR-PI control strategies based on adaptive weighting matrix selection for a UAV position and attitude tracking control. Alex. Eng. J. 2022, 61, 6275–6292. [Google Scholar] [CrossRef]
- Chen, H.; He, K.; Qian, W. Attitude control of flight vehicle based on a nonlinear adaptive dynamic inversion approach. Control Theory Appl. 2016, 33, 1111–1118. [Google Scholar]
- Pu, M.; Wu, Q.; Jiang, C.; Dian, S.; Wang, Y. Recursive terminal sliding mode control for higher-order nonlinear system with mismatched uncertainties. Acta Autom. Sin. 2012, 38, 1777–1793. [Google Scholar] [CrossRef]
- Xie, Z.; Xia, Y.; Fu, M. Robust trajectory-tracking method for UAV using nonlinear dynamic inversion. In Proceedings of the 2011 IEEE 5th International Conference on Cybernetics and Intelligent Systems (CIS), Qingdao, China, 17–19 September 2011; pp. 93–98. [Google Scholar]
- Utkin, V.; Lee, H. Chattering Problem in Sliding Mode Control Systems. In Proceedings of the International Workshop on Variable Structure Systems, 2006. VSS’06, Alghero, Sardinia, 5–7 June 2006; pp. 346–350. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).