Nomenclature
- $cla,{\rm{\;}}cda$
-
lift and drag parameters in fixed-wing mode
- ${C_{de}},{\rm{\;}}{C_{le}}$
-
drag and lift coefficient of the elevator
- ${d_{mc\_i}}$
-
model uncertainty and unknown disturbances of the UAV in multi-rotor mode
- ${d_{fw\_i}}$
-
model uncertainty and unknown disturbances of the UAV in fixed-wing mode
- D
-
drag applied to the UAV in fixed-wing mode
- F
-
tensile force exerted on the UAV in multi-rotor mode
- g
-
gravitational acceleration
- ${I_x},{\rm{\;}}{I_y},{\rm{\;}}{I_z}$
-
three-axis rotational moment of inertia of the UAV
- l
-
half-wheelbase of the UAV
- ${L_e},{\rm{\;}}{D_e}$
-
lift force and drag force on the elevator
- m
-
quality of the UAV
- ${M_{ia1}},{\rm{\;}}{M_{ia2}},{\rm{\;}}{M_{ie}}$
-
aerodynamic moments generated by the left aileron, right ailero, and elevator in
-
fixed-wing mode
- ${M_p},{\rm{\;}}{M_q},{\rm{\;}}{M_r}$
-
combined moment applied to each channel in the airflow coordinate system in
-
fixed-wing mode
- ${M_{peD}},{\rm{\;}}{M_{qeD}},{\rm{\;}}{M_{reD}}$
-
three-axis aerodynamic moment generated by the DRAG force acting on the elevator in
-
fixed-wing mode
- ${M_{peL}},{\rm{\;}}{M_{qeL}},{\rm{\;}}{M_{reL}}$
-
three-axis aerodynamic moment generated by the lift force acting on the elevator in
-
fixed-wing mode
- ${M_{pn}},{\rm{\;}}{M_{qn}},{\rm{\;}}{M_{rn}}$
-
three-axis aerodynamic moment of each rudder surface in fixed-wing mode
- ${M_{Ti}}$
-
thrust moment applied to each channel in fixed-wing mode
- ${M_{wi}}$
-
aerodynamic moment applied to each channel in fixed-wing mode
- p, q, r
-
angular velocity of the UAV in the body coordinate system
- Q
-
dynamic pressure
- ${S_{a1}},{\rm{\;}}{S_e}$
-
area of left aileron and elevator
- T
-
thrust applied to the UAV in fixed-wing mode
- u, v, w
-
velocity of the UAV in the body coordinate system
- ${x_{a1}},{\rm{\;}}{y_{a1}},{\rm{\;}}{z_{a1}}$
-
position of the force centre of the left aileron relative to the centre of gravity of the UAV
- ${x_e},{\rm{\;}}{y_e},{\rm{\;}}{z_e}$
-
position of the force centre of the elevator relative to the centre of gravity of the UAV
Greek symbol
- $\alpha $
-
attack angle of the UAV
- $\beta $
-
sideslip angle of the UAV
- ${\delta _{a1}},{\rm{\;}}{\delta _{a2}},{\rm{\;}}{\delta _e}$
-
deflection of left aileron, right aileronthe and elevator
- $\phi, {\rm{\;}}\theta, {\rm{\;}}\psi $
-
roll angle, pitch angle, and yaw angle of the UAV
- ${\tau _p},{\rm{\;}}{\tau _q},{\rm{\;}}{\tau _r}$
-
torque of the attitude angular channel
1.0 Introduction
The use of unmanned aerial vehicle (UAV) has become increasingly widespread in both military and civilian applications due to the continuous development of UAV technology. Fixed-wing UAV has longer endurance, better load capacity and wider operating space than multi-rotor UAV due to their unique structure [Reference Wu1]. However, their work scenarios are limited due to the need for longer runways for takeoff. To overcome these difficulties, vertical take-off and landing (VTOL) UAV has gained more attention. The VTOL UAV combines the advantages of both fixed-wing and multi-rotor UAV. It does not require a runway for vertical take-off and landing manoeuvers. The ability to switch between the two modes allows it to hover at specific locations for high-altitude operations, making it more convenient for tasks such as photo-taking and recording. Common types of VTOL UAVs include tilt-wing, tail-sitter, and composite models [Reference Ducard and Allenspach2, Reference Rehan, Akram, Shahzad, Shams and Ali3]. The composite VTOL UAV is chosen as the research object due to its stability in flight mode switching, simpler design and more flexible control algorithm building compared to other options.
Composite VTOL UAVs use two main classes of control algorithms: model-independent and model-dependent. Model-independent algorithms, such as PID control algorithm [Reference Matušů and Prokop4], high order differential feedback control algorithm (HODFC) [Reference Guo, Qi, Li and Ma5] and total energy control (TECS) [Reference Lu6] are simple to design but cannot adapt to new data and are difficult to scale. The second class of control algorithms are model-based control algorithms. These algorithms use the known model of the system for controller design. Examples of such algorithms include model predictive control (MPC) [Reference Manzoor, Xia, Zhai and Ma7], sliding mode control algorithm [Reference Mughees, Ahmad, Mughees and Mughees8], linear quadratic regulator (LQR) [Reference Yang, Zhu, Yuan, Wang, Kuang and Shi9] control, model compensation control (MCC) [Reference Qi, Deng, Li and Yu10, Reference Yao and Qi11] and active disturbance rejection control (ADRC) [Reference Yu, Kim and Suk12, Reference He and Duan13]. The core of ADRC is the extended state observer (ESO) [Reference Han14, Reference Sun, Zhou and Zhu15]. ESO belongs to the type I system, and its estimation error is finite. However, it cannot achieve zero error estimation convergence for second-order and higher functions. Nevertheless, ESO still faces problems such as estimation lag, difficult convergence proof and low estimation accuracy. The MCC algorithm [Reference Qi, Li and Chen16] involves the compensation function observer (CFO), which can address these issues. The CFO belongs to the type III system and can estimate the constant, slope and acceleration functions without error. MCC effectively improves disturbance suppression by observing external disturbances and the unknown part of the model through the highly accurate CFO. Meanwhile, MCC utilises the known part of the model to improve the tracking effect of each channel [Reference Qi, Deng, Li and Yu10, Reference Yao and Qi11]. The fields of UAV path planning and obstacle avoidance have widely adopted intelligent technology theory, including neural network [Reference Niu, Yan, Wang and Niu17] and reinforcement learning [Reference Xia, Shao, Ding and Liu18]. These methods are adaptable but also more complex in design.
In summary, the composite VTOL UAV is vulnerable to external disturbances due to the unknown part of its model. Therefore, this paper utilises MCC for the underlying flight control, which can incorporate all model information, including external disturbances and the unknown part of the model.
The paper is structured as follows: Section 2 presents the establishment of the composite VTOL model. Section 3 demonstrates the design of the MCC and its stability analysis. Sections 4 and 5 carry out numerical simulation and hardware-in-loop simulation experiments, comparing the tracking effects of the MCC, ADRC and PID algorithms, and verifying the superiority of the MCC. Section 6 summarises the innovations and contributions made in this paper.
2.0 Composite vertical take-off and landing UAV modeling
The composite VTOL UAV combines both multi-rotor and fixed-wing structures. The multi-rotor propellers, arranged in an ‘X’ pattern, primarily provide lift for the UAV during multi-rotor flight mode. The fixed-wing propellers, perpendicular to the ground, provide forward thrust for the UAV during fixed-wing flight mode. Figure 1 illustrates the composition of the composite VTOL UAV airframe.
2.1 Multi-rotor section model
The equations for the position and attitude dynamics of the multi-rotor section of the composite VTOL UAV are as follows:
where $u,{\rm{\;}}v,{\rm{\;}}w$ denote the velocity of the UAV in the body coordinate system, $p,{\rm{\;}}q,{\rm{\;}}r$ the angular velocity of the UAV in the body coordinate system, $\phi, {\rm{\;}}\theta, {\rm{\;}}\psi $ the roll angle, pitch angle and yaw angle of the UAV, respectively, $m$ the mass of the UAV, $g$ the gravitational acceleration, $F$ the tensile force exerted on the UAV, ${\tau _i}\left( {i = p,{\rm{\;}}q,{\rm{\;}}r} \right)$ the torque of the attitude angular channel, ${I_i}\left( {i = x,{\rm{\;}}y,{\rm{\;}}z} \right)$ the three-axis rotational moment of inertia of the UAV [Reference Quan19], and ${d_{mc\_i}}{\rm{\;}}\left( {i = u,{\rm{\;}}v,{\rm{\;}}w,{\rm{\;}}p,{\rm{\;}}q,{\rm{\;}}r} \right)$ the total disturbances of the UAV in multi-rotor mode, including model uncertainty and unknown disturbances, such as electromagnetic disturbance, str(ong)winds and rain and other severe weather effects [Reference Li, Sun and Talpur20]. Additionally, it should be noted that the model is not entirely accurate and relies on small angle assumptions to avoid singularity issues. These assumptions can be considered modeling errors within the system.
2.2 Fixed wing section model
To facilitate the control of the airspeed of the composite VTOL UAV in fixed-wing mode, the dynamics model of the UAV in the airflow coordinate system is introduced [Reference Wu1, Reference Beard and McLain21], i.e.
where $V$ denotes the airspeed of the UAV, $\alpha, {\rm{\;}}\beta $ the attack angle and sideslip angle of the UAV, $T$ the thrust applied to the UAV, $D$ the drag applied to the UAV and ${d_{fw\_V}}$ the unknown disturbed part of the UAV in the airspeed channel of the fixed-wing mode, which is mainly the strong wind and the disturbances of the wake [Reference Lu, Gao, Yan, Hou and Wang22].
The attitude dynamics model of the UAV is introduced to facilitate the control of the attitude channel of the composite VTOL UAV in fixed-wing mode [Reference Wu1, Reference Beard and McLain21], i.e.
where ${d_{fw\_i}}\left( {i = p,{\rm{\;}}q,{\rm{\;}}r} \right)$ denotes the unknown part of the UAV in the fixed-wing mode and the external disturbances, ${M_i}\left( {i = p,{\rm{\;}}q,{\rm{\;}}r} \right)$ the combined moment applied to each channel in the airflow coordinate system, which consists of the following two main parts, i.e.
where ${M_{wi}}$ denotes the aerodynamic moment applied to each channel and ${M_{Ti}}$ the thrust moment applied to each channel. The moment generated by the thrust system is small and can be grouped together into the unknown part of the model when designing the controller due to the small bias angle of the fixed-wing motor. The aerodynamic moment ${M_{wi}}$ can be expressed as
where ${M_{ia1}},{\rm{\;}}{M_{ia2}},{\rm{\;}}{M_{ie}}$ denote the aerodynamic moments generated by the left aileron, right aileron and elevator. The three-axis aerodynamic moment of each rudder surface ${[\begin{array}{*{20}{l}}{{M_{pn}}{\rm{\;\;\;\;}}{M_{qn}}{\rm{\;\;\;\;}}{M_{rn}}}\end{array}]^T}$ are mainly obtained by the lift and drag forces respectively with the corresponding force arms for the cross-product operation and then accumulate up. The traditional modeling approaches of the composite VTOL UAV obtains the aerodynamic moment of the UAV by multiplying the aerodynamic moment parameters of the three-axis with the dynamic pressure. Cross-product operation is used to model the three-axis aerodynamic moments of the UAV in this paper, which solves the problem of over-reliance on aerodynamic moment parameters in traditional modeling approaches by eliminating the need to identify aerodynamic moment parameters [Reference Durán-Delfín, García-Beltrán, Guerrero-Sánchez, Valencia-Palomo and Hernández-González23], and makes the model construction more convenient and accurate. Take elevator as an example, i.e.
where ${M_{ieL}}\left( {i = p,{\rm{\;}}q,{\rm{\;}}r} \right)$ denotes the three-axis aerodynamic moment generated by the lift force acting on the elevator, ${M_{ieD}}\left( {i = p,{\rm{\;}}q,{\rm{\;}}r} \right)$ the three-axis aerodynamic moment generated by the drag force acting on the elevator, ${x_e},{\rm{\;}}{y_e},{\rm{\;}}{z_e}$ the position of the elevator force centre with respect to the aircraft’s centre of gravity and ${L_e},{\rm{\;}}{D_e}$ the lift force and drag force on the elevator, which are expressed respectively as follows:
where $Q$ denotes the dynamic pressure, ${S_e}$ the area of the elevator, the elevator lift coefficient ${C_{le}}$ and drag coefficient ${C_{de}}$ are expressed as follows:
where $cla,{\rm{\;}}cda$ denote the lift and drag parameters and are constants, and ${\delta _e}$ the deflection of the elevator, i.e. the control input. Other rudders and ailerons are the same and do not be repeated here.
Combining Equations (3)–(8) yields model expressions specific to the roll angle and pitch angle channels:
where ${\delta _{a1}},{\rm{\;}}{\delta _{a2}}$ denote the deflection of the left aileron and right aileron, ${x_{a1}},{\rm{\;}}{y_{a1}},{\rm{\;}}{z_{a1}}$ the position of the force centre of the left aileron relative to the centre of gravity of the UAV. Since the right aileron only $y$ -axis relative position is opposite to the left aileron, the remaining positions are all the same as the left aileron. ${S_{a1}}$ the area of the left wing. Equation (9) expresses the relevant parameters in terms of the relative parameters of the left aileron for design convenience. Since the UAV design used in this paper does not include a rudder, the yaw channel is not controlled in fixed-wing mode.
3.0 Composite VTOL UAV model compensation controller design and stability analysis
Either channel of a composite VTOL UAV can be written in the form of a second-order system. Here, as an example, the roll channel in fixed-wing mode is used to rewrite the first line of Equation (9) in the following form, i.e.
where $p$ is the state variable, denoted by $x$ , $\left( {{I_y} - {I_z}} \right)qr/{I_x}$ is the known part of the model, denoted by ${f_k}$ , ${d_{fw\_p}}$ is the external disturbances and the unknown part of the model, denoted by ${f_{uk}}$ , ${\delta _{a1}}$ is the control input, denoted by $u$ , $ - 2Q{S_{a1}}{y_{a1}}/{I_x}$ is the control input coefficient, denoted by $b$ . For the roll angular velocity channel, the general first-order form is as follows:
The other angular velocity and velocity channels for the composite VTOL UAV can be expressed as the first-order form of Equation (11).
For the roll angle channel $\dot \phi = p$ , proportional control can be used:
where ${k_{fw\_\phi }}$ denotes the roll angle control gain in fixed wing mode.
The MCC consists of three main components: the HOD, the CFO and the model compensation control module.
3.1 Model compensation controller
The block diagram of the model compensation controller is shown in Fig. 2.
For the first-order system Equation (11), the second-order model compensation control law is designed as
where ${x_r}$ denotes the tracked target, ${\hat{\dot{x}}_{r}}$ denotes the estimation of ${\dot{x}_{r}}$ obtained through HOD, the unknown part of the model ${f_{uk}}$ is obtained through CFO, denoted by ${\hat{f}_{uk}}$ . The fixed-wing roll channel as an example, the expression for the controller of the roll angular velocity can be obtained as follows:
The design of the controllers for the remaining channels of the composite VTOL UAV follows the same approach as the roll channel and will not be reiterated here.
3.2 High order differentiator
To estimate ${\dot{x}_r}$ in Equation (13), we choose the HOD proposed by Qi et al. [Reference Qi, Chen and Yan24] in this paper, the dynamic equation of HOD is
The output equation of HOD is
where ${x_r}$ denotes the reference input, ${x_{hi}}\left( {i = 1,{\rm{\;}}2,{\rm{\;}}3} \right)$ the internal state variable of the HOD system, ${l_i}\left( {i = 1,{\rm{\;}}2,{\rm{\;}}3} \right)$ the adjustable parameter, ${\hat{\dot{x}}_r}$ the estimation of the ${\dot{x}_r}$ . Assuming the HOD system is stabilised, the parameter ${l_i}$ is uniquely determined by $a$ using the root trajectory method, i.e.
3.3 Compensation function observer
The second-order CFO [Reference Qi, Hu, Li and Li25] proposed by Qi et al. has the specific form
Define ${e_c} = {[\begin{array}{*{20}{l}}{{e_o}{\rm{\;\;\;\;}}{e_f}}\end{array}]^T}$ as the observation error of the CFO, and ${e_o},{\rm{\;}}{e_f}$ are denoted as
Its characteristic equation is designed by the method of zero-pole configuration as
Yield $l = 2\omega, {\rm{\;}}\lambda = 1/2\omega .$ Figure 3 shows the overall control block diagram of the composite VTOL UAV.
3.4 Stability analysis of the model compensated controller
Lemma 1. 25: When the Taylor expansion of ${f_{uk}}$ is second-order infinitesimal, the estimation error of the CFO ${e_f} = {f_{uk}} - {\hat f_{uk}}$ can achieve zero steady-state convergence.
Lemma 2. 10: When ${x_r}$ is a second-order infinitesimal function and its first-order derivative is constant and bounded, the estimation error of HOD $\tilde e = {\dot{x}_r} - {\hat{\dot{x}}_r}$ can achieve zero steady-state convergence.
Theorem 1. When Lemmas 1 and 2 hold and $k \gt 0$ , the error of the closed-loop system $e = {x_r} - x$ based on the model-compensated controller tends to zero.
The proof of Theorem 1 refers to the literature author10. The idea in the paper is given here as a simple proof procedure.
Proof: define a Lyapunov function
Derivation of Equation (20) yields
Substituting Equation (13) into the above equation
According to Lemma 1, the estimation error of HOD tends to zero and the estimation error of CFO tends to zero. Therefore holds.
Proof complete.
4.0 Numerical simulation and analysis
This paper presents a numerical simulation experiment based on an Eagle UAV. Table 1 shows the main parameters of the UAV.
This paper focuses on the following numerical simulation experiments:
-
Experiments comparing the estimation performance of two observers, CFO and ESO, with the same parameters, for the same external disturbance are shown in Fig. 4.
-
The composite VTOL UAV took off in multi-rotor mode and maintained a sinusoidal motion. After 15s, it was kept at a certain altitude, and external disturbance were introduced between 20s and 50s. The experiments plot and analysed the $x$ -axis velocity tracking performance of PID, MCC and ADRC in multi-rotor mode, as well as the estimation performance of CFO and ESO for the perturbation in the $x$ -axis velocity channel in multi-rotor mode. Additionally, the overall flight trajectory of the UAV based on MCC in multi-rotor mode was examined. The results are presented in Figs. 5 and 6.
-
The composite VTOL UAV flew at a high altitude with an initial speed of 15m/s in fixed-wing mode and made a spiral upward motion with a speed of 23m/s afterward. An external disturbance was introduced between 20s-50s. The experiments plot and analysed the tracking effects of PID, MCC and ADRC on the roll angle in fixed-wing mode; the estimation effects of CFO and ESO on disturbances in the roll angle loop in the fixed-wing mode; the overall flight trajectory of the UAV based on MCC in fixed-wing mode. The results are presented in Figs. 7 and 8.
-
The composite VTOL UAV took off in multi-rotor mode and switched to fixed-wing mode after 15s, then it ascended in a spiral upward motion at 23m/s. The overall MCC-based flight trajectory was finally plotted, as shown in Fig. 9.
This paper is based on the MATLAB/Simulink platform to realise the construction of the control algorithms. Based on this various numerical simulation experiments of composite VTOL UAV can be realised.
4.1 Observer performance analysis
Setting $bu = 1$ , the parameters to be rectified of CFO and ESO $\omega = 5$ , the nonlinear term is
Figure 4 shows that the CFO estimation almost coincides with the disturbances, while the ESO estimation curve is obviously lagging and the estimation at the peak is seriously underestimated. The error curves reveal the estimation performance of the two observers. This paper analyses the control performance using the mean absolute error (MAE). The MAE is 0.0031 for CFO and 0.1073 for ESO. The estimation effect of CFO is 97 ${\rm{\% }}$ more effective compared to ESO. Meanwhile, the observation error of ESO is between $ \pm $ 0.22 and CFO is between $ \pm $ 0.03, CFO improves by 86 ${\rm{\% }}$ compared to ESO.
4.2 MCC control tracking performance analysis in multi-rotor mode
Sett the initial velocity of the composite VTOL UAV as $\left[ {{v_{x0}},{\rm{\;}}{v_{y0}},{\rm{\;}}{v_{z0}}\left] = \right[0,{\rm{\;}}0,{\rm{\;}}0} \right]\left( {{\rm{m}}/{\rm{s}}} \right)$ and the initial attitude angular velocity as $\left[{v_{\phi 0}},{\rm{\;}}{v_{\theta 0}},{\rm{\;}}{v_{\psi 0}}\right] = \left[0,{\rm{\;}}0,{\rm{\;}}0 \right]\left( {{\rm{rad}}/{\rm{s}}} \right)$ . The velocity of channel $x$ is used as an example to illustrate the tracking and anti-disturbance effects, the desired velocity of each channel are as follows:
A disturbance is injected into each channel between 20s-50s for the
The simulation time is 70s. Table 2 shows the control parameters of MCC, ADRC and PID, where $h$ denotes the HOD parameter, $r,{\rm{\;}}{h_0}$ denote the tracking differentiator (TD) parameters, $\omega $ denotes the observer parameter, $b$ denotes the control input parameter, ${k_1}$ denotes the controller gain, ${k_j}\left( {j = p,{\rm{\;}}i,{\rm{\;}}d} \right)$ denotes the PID control parameter and ${k_\phi } = {k_\theta } = 5$ denote the attitude loop P gains.
Figure 5(a) displays the tracking curves for channel ${v_x}$ . The MCC controller can accurately track the given airspeed. The PID controller exhibits the worst tracking and anti-disturbance capability because it does not utilise feedforward from a known model or feedback from an unknown model. The overshoot of the ADRC is more pronounced due to the lag in the estimation of the disturbances by ESO and the inaccuracy of the peak estimation. During the 30s of external disturbances, the MCC shows only minimal fluctuations due to its excellent anti-disturbance performance. The MAEs are 0.0210 for PID, 0.0021 for MCC and 0.0095 for ADRC, MCC improves 90 ${\rm{\% }}$ compared to PID, 78 ${\rm{\% }}$ compared to ADRC. It is evident that the MCC has a fast-tracking speed and strong anti-disturbance capabilities.
Figure 5(b) displays the estimation effect curves of the two observers. The CFO estimation closely fits the disturbances, while the ESO exhibits a certain lag, since the ESO is a type I system, in contrast to the CFO is a type II system. Therefore, the CFO can more accurately compensate for external disturbances and the unknown part of the model. The MAEs are 0.0030 for CFO and 0.0248 for ESO, CFO improves 88 ${\rm{\% }}$ compared to ESO, CFO improves 88 ${\rm{\% }}$ compared to ESO, indicating that the observer’s estimation accuracy significantly impacts control performance.
The final UAV flight trajectory is shown in Figure 6.
4.3 MCC control tracking performance analysis in fixed-wing mode
Setting the initial position of the composite VTOL UAV as $\left[ {x,{\rm{\;}}y,{\rm{\;}}z} \right] = \left[ {0,{\rm{\;}}0,{\rm{\;}}45} \right]\left( {\rm{m}} \right)$ , the initial velocity as $\left[ {v_{x0}},{\rm{\;}}{v_{y0}},{\rm{\;}}{v_{z0}}\right] = \left[15,{\rm{\;}}0,{\rm{\;}}0 \right]\left( {{\rm{m}}/{\rm{s}}} \right)$ , and the initial attitude angular velocity as $\left[ {v_{\phi 0}},{\rm{\;}}{v_{\theta 0}},{\rm{\;}}{v_{\psi 0}}\right] = \left[0,{\rm{\;}}0,{\rm{\;}}0 \right]\left( {{\rm{rad}}/{\rm{s}}} \right)$ . Using the roll channel as an example to illustrate the tracking and anti-disturbance effect, the desired airspeed and attitude angle are as follows:
An external disturbance is injected into each channel between 20s-50s for the
The simulation time is 70s. Table 3 shows the control parameters of MCC, ADRC and PID, where ${k_\phi } = 30$ denotes the roll channel P gain and ${k_\theta } = 50$ denotes the pitch channel P gain.
Figure 7(a) displays the tracking curve of the roll channel. The MCC controller is basically free of overshoot and almost unaffected by disturbances. PID has the worst tracking effect and anti-disturbance capability, which is due to the poor capability to disturbances of the control algorithm that does not depend on the model. ADRC has a large overshoot and has an average estimation of disturbances. For a clearer comparison of tracking performance, we have chosen the data after all of the controllers are stabilised after 5s to make a comparison. The MAEs are 0.0049 for PID, 0.0014 for MCC and 0.0025 for ADRC, MCC improves 71 ${\rm{\% }}$ compared to PID, 44 ${\rm{\% }}$ compared to ADRC. These results indicate that MCC has the best tracking effect and is more robust.
Figure 7(b) displays the estimation curves of the two observers. The estimation of CFO almost coincides with the disturbances and the estimation of ESO has a large lag. This indicates that the CFO estimation outperforms the ESO estimation with the same observer parameters. To facilitate a clearer comparison of the observation performance, we have chosen the data after both observers are stabilised after 5s to make a comparison. The MAEs are 0.0015 for CFO, 0.0389 for ESO, CFO improves 96 ${\rm{\% }}$ compared to ESO, which shows that the lag of the observer is an important factor affecting the observation accuracy of the observer.
The final overall flight trajectory of the UAV under the MCC method is shown in Figure 8.
4.4 Composite vertical takeoff and landing UAV overall flight trajectory
Setting the initial position of the composite VTOL UAV as $\left[ {x,{\rm{\;}}y,{\rm{\;}}z} \right] = \left[ {0,{\rm{\;}}0,{\rm{\;}}0} \right]\left( {\rm{m}} \right)$ , the initial speed as $\left[ {{v_{x0}},{\rm{\;}}{v_{y0}},{\rm{\;}}{v_{z0}}\left] = \right[0,{\rm{\;}}0,{\rm{\;}}0} \right]\left( {{\rm{m}}/{\rm{s}}} \right)$ . At the beginning of the simulation, the UAV takes off in multi-rotor mode and climbs upwards with the speed of ${v_z} = 3\!\left( {{\rm{m}}/{\rm{s}}} \right)$ , reaches an altitude of 45m in 15s and switches to the fixed-wing mode, and then carries out the spiral climbing movement with the airspeed of 23(m/s). The specific desired commands are shown as follows:
Figure 9 shows the overall flight trajectory of the UAV under the MCC method.
5.0 Hardware-in-loop simulation experiment and analysis
This paper focuses on semi-physical hardware-in-loop simulation experiments. The experiments simulate the scenario of a UAV taking off in multi-rotor mode, switching to fixed-wing mode after 10 seconds, and performing a spiral upward flight.
To simulate disturbances in real flight, this hardware-in-loop experiment uses the Simulink/Uniform Random Number module to randomly generate three types of disturbances. These disturbances are then superimposed and input into the composite VTOL UAV. The upper and lower limits of the three kinds of disturbances are selected as [−1, 1], [−1, 1], [−0.5, 0.5], respectively, and the sampling time is selected as 0.001s. The three kinds of disturbance seeds are selected as 564,565, 6,846,798, 46,545, respectively, the sampling time is selected as 0.001s.
This paper presents simulation experiments that are conducted based on the Rflysim platform. The designed control algorithm is compiled to generate custom C/C++ code through the Pixhawk Support Package (PSP) toolbox in MATLAB/Simulink and downloaded to the real Pixhawk self-pilot system. The hardware-in-loop simulator is formed by the real-time motion simulation software of CopterSim and the 3D visualisation view software of RFlySim3D. The UAV simulation model is configured on CopterSim, which is connected to the Pixhawk autopilot system via USB serial port. The flight data is transmitted in real-time to RflySim3D via UDP to display the UAV’s positional status. The Q Ground Control (QGC) is primarily used for initialisation tasks, such as sensor calibration, remote control calibration, and parameter adjustment of the Pixhawk self-pilot before UAV takeoff. The remote-control system comprises a remote controller and a receiver for sending control commands. Based on this hardware-in-loop simulation verification of the algorithm can be achieved. The UAV takes off in multi-rotor mode and climbs upwards with the speed of ${v_z} = 2\left( {{\rm{m}}/{\rm{s}}} \right)$ , and after 10s switches to the fixed-wing mode, and then carries out the spiral climbing movement with the airspeed of 25(m/s). The specific desired commands are shown as follows:
Figure 10 shows the tracking effect of the roll channel in fixed-wing mode under three control algorithms: PID, MCC and ADRC. MCC can almost track the desired roll angle in the case of the whole access to the disturbances. ADRC exhibits some overshoot when it first receives the command due to the lag in estimating the unknown disturbances by ESO. Meanwhile, ADRC can’t respond quickly when it just receives the command. The PID controller is negatively impacted by larger disturbances, the curve is more fluctuating and has the worst anti-disturbance capability. The MAEs are 0.0251 for PID, 0.0111 for MCC, 0.0163 for ADRC, MCC improves 56 ${\rm{\% }}$ compared to PID, 32 ${\rm{\% }}$ compared to ADRC. It is evident that the MCC controller exhibits the best tracking performance in the semi-physical simulation and is the least affected by disturbances.
6.0 Conclusion
This paper presents the use of the MCC control algorithm to address the nonlinearity, strong coupling and sensitivity to external disturbances of the composite VTOL UAV system. The stability of the MCC algorithm is also demonstrated. The composite VTOL UAV model is constructed using the modeling approach of calculating the cross product of force and force arm. This approach addresses the issue of relying too heavily on aerodynamic identification parameters in traditional modeling approaches, resulting in increased model accuracy. Numerical and hardware-in-loop simulation experiments are conducted using MATLAB/Simulink and Rflysim simulation platforms. The results indicate that the CFO has a better observation effect than the ESO, and the MCC tracking effect is superior to PID and ADRC. Future work will focus on designing a more reasonable mode switching strategy to prevent unnecessary energy loss when switching between multi-rotor and fixed-wing modes. Additionally, efforts will be made to design a more accurate control algorithm. Outdoor flights will be conducted to verify the effectiveness of the proposed algorithm.
Acknowledgements
This work was supported by the National Natural Science Foundation of China (62303350).
Supplementary material
To view supplementary material for this article, please visit https://doi.org/10.1017/aer.2024.64