Hostname: page-component-cd9895bd7-gbm5v Total loading time: 0 Render date: 2024-12-27T09:49:06.141Z Has data issue: false hasContentIssue false

Enhanced backstepping control for an unconventional quadrotor under external disturbances

Published online by Cambridge University Press:  28 July 2022

A. Belmouhoub*
Affiliation:
Materials and Electronic Systems Laboratory, University of Mohamed El Bachir El Ibrahimi, Bordj Bou Arreridj, Algeria
S. Medjmadj
Affiliation:
Laboratory of Control University of Setif and University of Bordj Bou Arreridj, Algeria
Y. Bouzid
Affiliation:
Complex Systems Control and Simulators (CSCS) laboratory, Ecole Militaire Polytechnique, Bordj el Bahri, Algiers, Algeria
S. H. Derrouaoui
Affiliation:
Complex Systems Control and Simulators (CSCS) laboratory, Ecole Militaire Polytechnique, Bordj el Bahri, Algiers, Algeria
M. Guiatni
Affiliation:
Complex Systems Control and Simulators (CSCS) laboratory, Ecole Militaire Polytechnique, Bordj el Bahri, Algiers, Algeria
*
*Corresponding author. Email: belmouhoub.amina@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

Robust control of non-linear systems is a challenging task, notably in the presence of external disturbances and uncertain parameters. The main focus of this paper is to solve the trajectory tracking problem of an unconventional quadrotor with rotating arms (also known as a foldable drone), while overcoming some of the challenges associated with this type of vehicle. Therefore, in a first step, the model of this vehicle is presented, taking into account the change of the inertia, the centre of gravity, and the control matrix. The theoretical foundations of backstepping control, based on the finite time Lyapunov stability theory and enhanced by a Super-Twisting algorithm, are then discussed. Numerical simulations are performed to demonstrate the efficiency of the suggested control approach. Finally, a qualitative and quantitative comparative study of the proposed controller with the conventional backstepping controller is performed. Overall, the obtained results show that the proposed control strategy outperforms in terms of accuracy and resilience.

Type
Research Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press on behalf of Royal Aeronautical Society

Nomenclature

UAVs

Unconventional Unmanned Aerial Vehicles

PID

Proportional Integral Derivative

LQR

Linear Quadratic Regulator

ADRC

Active Disturbance Rejection Controller

SUAV

Subminiature UAV

MPC

Model Predictive Control

MRAC

Model Reference Adaptive Control

CoG

Center of Gravity

ST

Super Twisting

1.0 Introduction

Automation and robotisation in the aeronautical field are opening up new perspectives in terms of rescue, observation, inspection and reconnaissance [Reference Derafa, Ouldali, Madani and Benallegue1, Reference Yuan, Wang and Xie2, Reference Mokhtari and Cherki3]. Research in this field has been very active recently, and this growing interest is due to technological advances, particularly in the field of miniaturisation of actuators and onboard electronics.

Unconventional Unmanned Aerial Vehicles (UAVs) (called reconfigurable UAVs) are a new class of drones. They have a variable structure during flight. In recent years, they have gained great popularity and have been the subject of scientific researchers, and this is due to their ability to change their morphologies to different flight conditions [Reference Derrouaoui, Bouzid, Guiatni, Kada, Dib and Moudjari4] and optimise their shape to achieve multitask missions [Reference Desbiez, Expert, Boyron, Diperi, Viollet and Ruffier5, Reference Derrouaoui, Bouzid, Guiatni and Belmouhoub6]. Changing the configuration during flight enables critical tasks that are difficult to complete with conventional quadrotors.

Unconventional UAVs are reliable in enclosed areas and dangerous places [Reference Falanga, Mueggler, Faessler and Scaramuzza7]. Infrastructure inspection and cave discoveries also require this type of vehicle [Reference Mintchev and Floreano8, Reference Floreano and Wood9]. Furthermore, the ability to grasp and transfer large objects without the use of extra mechanisms and with minimum energy use is a significant advantage [Reference Caballero, Suarez, Real, Vega, Bejar, Rodriguez-Castaño and Ollero10, Reference Yilmaz, Zaki and Unel11]. Another key element is that modifying the configuration allows new movements like roll, pitch, yaw, and translation to be introduced without impacting the motors’ rotation velocities [Reference Derrouaoui, Bouzid, Guiatni, Dib and Moudjari12]. Different structures have already been proposed by introducing changes to the classic drone such as the length and the number of arms [Reference Kamil, Hazry, Wan, Razlan and Shahriman13, Reference Hazry, Wan and Razlan14], control of the orientation of propellers and rotors, and other structures [Reference Derrouaoui, Bouzid, Guiatni and Dib15, Reference Sheng and Sun16].

Since the UAV is exposed to an unfavorable atmospheric environment and external conditions, reliable and robust control algorithms are required. In the literature, a large number of publications on multi-copters address this control problem. There are several control laws based on the linearisation of the dynamic model [Reference Muliadi17], although these approaches have limitations when the system moves away from its operating point. Some studies propose the development of linear controllers such as Proportional Integral Derivative (PID) and Linear Quadratic Regulator (LQR) [Reference Invernizzi, Giurato, Gattazzo and Lovera18, Reference Farrell, Jackson, Nielsen, Bidstrup and McLain19], while others suggest the development of non-linear methods to maintain the stability of the system [Reference Hamadi, Lussier, Fantoni, Francis and Shraim20, Reference Sartori, Quagliotti, Rutherford and Valavanis21]. In Ref. [Reference Gao, Wang, Tao and Ge22], Gao et al. design an Active Disturbance Rejection Controller (ADRC), which is developed from the non-linear PID controller and applied to an unconventional Subminiature UAV (SUAV) system. Authors in Ref. [Reference De Almeida and Raffo23] implement a linearisation control law based on the input-output feedback. The proposed control aims to stabilise both the tilt-rotor aircraft and the load over the entire trajectory. Another controller, Model Predictive Control (MPC), was presented by Richard et al. in reference [Reference Andrade, Raffo and Normey-Rico24] to solve the trajectory tracking problem of a linearised titled rotor drone when carrying a suspended load. Research [Reference Willis, Johnson and Beard25] shows a controller based on state-dependent LQR for the high-level and a PID control for the low-level tilt-rotor. In the work of Desbiez et al. [Reference Desbiez, Expert, Boyron, Diperi, Viollet and Ruffier5], a Model Reference Adaptive Control (MRAC) and a PID that controls the attitude have been applied to a multirotor with two independent rotating arms. The MRAC law has been used to manage the uncertainties due to the variable architecture of the quadrotors. In Ref. [Reference Wallace26], Wallace et al. opted for a controller based on a LQR to stabilise the entire model of the folding arm drone initially, and then control the vehicle in a trirotor configuration in which the vehicle can transform. This controller is supposed to provide stability to the vehicle, but it did not generate consistent returns to the origin. Barbaraci et al. [Reference Barbaraci27] also discussed the control algorithm using a LQR on a quadrotor with variable arm geometry, to stabilise the UAV and recover the error with respect to the reference, but in their case, they implemented the controller after linearising the system. Another study was made by Falanga et al. [Reference Falanga, Kleber, Mintchev, Floreano and Scaramuzza28] to ensure stable flight at all times with any morphology transition, in which they exploit an adaptive LQR controller that adapts to the drone’s morphology during the flight. A new and first design of a self-foldable and self-deployable drone is proposed by Tuna et al. [Reference Tuna, Ovur, Gokbel and Kumbasar29], where the arms are rotated at the same time by a single servomotor. Recently, optimising energy consumption during flight has become an area of interest for Xiong. To ensure a best energy efficiency, they have proposed the rotation of the quadrotor’s arms, to achieve the desired movements, while keeping the same thrust for each rotor. In Ref. [Reference Chanzy and Keane30], authors proposed a new set of morphing wings for drones, these wings provide an energy-efficient method of roll control.

The studied system in this paper is highly non-linear and has a variable structure during flight, which makes the control of this type of vehicle difficult and complex. Recent work has focused on conventional controllers for unconventional drones. The majority of the existing literature focuses on classical backstepping. However, this control law does not guarantee stability in the presence of uncertain parameters and unknown disturbances.

In this paper and following our previous work [Reference Derrouaoui, Bouzid, Guiatni, Kada, Dib and Moudjari4], we are interested in a nonlinear robust controller to ensure better tracking of a drone with rotating arms in the presence of unknown disturbances, taking into account the change of its Center of Gravity (CoG), the variation of the inertia, and the allocation matrix. The backstepping controller is used in combination with the Super-Twisting (ST) algorithm. The control law of ST is composed of two parts: the first one represents a convergence term, while the second one is a disturbance estimation term.

The main contributions of this work are summarised as follows:

  • An enhanced backstepping controller with a correction term based on the ST algorithm is proposed. It has the particularity of solving the trajectory tracking problem in finite time and ensures quicker convergence, better performance, high accuracy, and robustness against disturbances.

  • Tests are performed to demonstrate the performance of the developed controller. They are made under disturbances.

  • A quantitative and qualitative comparative study involving our control strategy with a classical backstepping controller is provided to highlight the performance of our method.

The remainder of the paper is structured as follows: In Section II, a brief modeling of the unconventional quadrotor using the Newton-Euler formalism is presented, while in Section III the proposed non-linear control based on the hierarchical robust finite-time control approach and backstepping method is designed and applied to the studied quadrotor. In Section IV, the numerical simulation results are carried out. Finally, some concluding remarks are drawn.

Notation

The following notations will be used throughout this document:

Let $\mathbb{R}$ and $\mathbb{R}_+$ denote the set of real and positive real numbers respectively.

$\mathfrak{Sig}^{\beta}(r)= \begin{bmatrix} \vert r_1 \vert^{\beta} \text{sign}(r_1) & \!\!\!\quad \vert r_2 \vert^{\beta} \text{sign}(r_2)& \!\!\!\quad \vert r_3 \vert^{\beta} \text{sign}(r_3) \end{bmatrix}^T$ , $\mathfrak{Int} (r)= \begin{bmatrix}\int \text{sign}(r_1)& \!\!\!\!\quad \int \text{sign}(r_2) & \!\!\!\!\quad \int \text{sign}(r_3) \end{bmatrix}^T$ , $ r= \begin{bmatrix} r_1 & \quad r_2 & \quad r_3\end{bmatrix}^T $ , where $\text{sign}(\Theta)=\dfrac{\Theta}{\mid \Theta \mid}$ is the standard signum function and $\vert \Theta \vert$ refers to the absolute value of $\Theta$ . The notation $\Vert r \Vert$ refers to the Euclidean norm of vector r. The symbol $\wedge$ denotes the cross product. For the symmetric matrix $P \in \mathbb{R}^{n \times n} , \delta_{{min}} (P)$ and $\delta_{{max}} (P)$ are its minimum and maximum eigenvalues, respectively. $\text{diag} (a_1, a_2, ..., a_n)$ denotes the corresponding diagonal matrix. The notations $c(.)$ and $s(.)$ symbolise the functions $\text{cos}(.)$ and $\text{sin}(.)$ , respectively.

2.0 Geometric description and modeling of the unconventional quadrotor

This section briefly presents the geometric description of the rotating arm drone and discusses its modeling.

Figure 1. Design of the quadrotor with rotating arms. (1) Propeller. (2) Rotating arm. (3) Servo-arm junction. (4) Servomotor.

2.1 Dynamic model of the disturbed attitude and translation of the unconventional quadrotor

The foldable drone can change the angles $\sigma_i(t)\vert_{i=1,...,4}$ between its arms via the servomotors, these latter are linked to a central body as shown in Fig. 1. Each arm contains a rotor placed at its extremity. Changing the angular velocity of the rotors $\omega_i(t)\vert_{i=1,...,4}$ and rotating the arms can change the shape of the foldable drone and produce other more complex configurations from the basic X configuration.

In this paper, we have chosen six different configurations of the quadrotor with rotating arms in this order (X, Y, YI, H, T, O) as shown in Fig. 2 and Table 1.

Figure 2. Different configurations of the quadrotor with rotating arms: (a) X configuration, (b) Y configuration, (c) YI configuration, (d) H configuration, (e) T configuration, (f) O configuration.

Table 1. The arm angles of each configuration

The quadrotor with rotating arms is considered as a rigid body of which its motion in space can be represented by two coordinate frames: $B=(o,x_m,y_m,z_m)$ is the body-fixed frame attached to the centre of gravity of the aerial vehicle and $E=(o_i,x_i,y_i,z_i)$ is the earth-fixed frame as shown in Fig. 3.

Hypothesis

The following basic hypothesis are considered in quadrotor with rotating arms modeling:

  • The quadrotor is a rigid body whose mass is constant.

  • The propellers are rigid.

  • The transition from one configuration to another is long so as not to generate abrupt phenomena.

  • The angle of manoeuverability of the arms is assumed to be small.

  • The rotation velocities of the arms are not too high.

We elaborate the dynamic equations of the system by using the Newton-Euler formalism.

The system can be written in the following form [Reference Derrouaoui, Bouzid, Guiatni, Kada, Dib and Moudjari4]:

(1) \begin{equation}\small{\begin{cases}\dot{\xi} = V \\[5pt]m\ddot{\xi} = R_{\eta}(F_t-F_g) + F_d + F_{ext} \\[5pt]\dot{R}_\eta=R_{\eta} \, Sk(\Omega) \\[5pt]J(\sigma(t))\dot{\Omega}=-Sk(\Omega)J(\sigma(t)) \Omega + \Gamma_f - \Gamma_a - \Gamma_{gy} + \Gamma_{ext}\end{cases},}\end{equation}

where $\xi \in \mathbb{R}^{3}$ and $V \in \mathbb{R}^{3}$ are respectively the position and velocity of the quadrotor with rotating arms. m is the total mass of the quadrotor, which is supposed to be constant and $\Omega \in \mathbb{R}^{3}$ its angular velocity expressed in the body frame.

$F_t$ , $F_g$ and $F_d$ belong to $\mathbb{R}^{3}$ are respectively the total force generated by the four rotors, the gravity force along the z-axis and the drag force along the three axes (x,y,z).

(2) \begin{equation} F_t=R \begin{bmatrix} 0\;\;\;\; &\quad 0\;\;\;\; & \quad \sum _{i=1}^4 F_i \end{bmatrix}^T, \end{equation}

where

(3) \begin{equation} F_i = b \,w_i^2, \end{equation}
(4) \begin{equation} F_g= \begin{bmatrix} 0\;\;\;\; &\quad 0\;\;\;\; & \quad -mg \end{bmatrix}^T, \end{equation}
(5) \begin{equation} F_d=-\text{diag} \begin{pmatrix} K_{dfx}\;\;\;\; &\quad K_{dfy}\;\;\;\; & \quad K_{dfz} \end{pmatrix}\dot{\xi}, \end{equation}

with b is the aerodynamic coefficients and $K_{df(x,y,z)}$ are the translation drag coefficients.

$F_{ext} \in \mathbb{R}^{3}$ represents the disturbances according to the translation movement.

Figure 3. Schematic of the quadrotor with rotating arms.

$\Gamma_f$ , $\Gamma_{gy}$ and $\Gamma_a$ belong to $\mathbb{R}^{3}$ are the moment caused by the thrust and drag forces, the gyroscopic torque of the propellers and the moment resulting from aerodynamic friction.

(6) \begin{equation}\Gamma_f= \begin{bmatrix} \Gamma_x\;\;\;\; & \quad \Gamma_y\;\;\;\; & \quad \Gamma_z \end{bmatrix}^T,\end{equation}
(7) \begin{equation} \Gamma_{gy}= \sum _{i=1}^4 \Omega \wedge J_r \begin{bmatrix} 0\;\;\;\;&\quad 0\;\;\;\;&\quad (-1)^{i+1}w_i \end{bmatrix}^T, \end{equation}

$J_r$ is the rotor inertia

(8) \begin{equation} \Gamma_a=\text{diag} \begin{pmatrix} K_{afx}\;\;\;\; & \quad K_{afy}\;\;\;\; & \quad K_{afz} \end{pmatrix}^T \Omega^2, \end{equation}

$\Gamma_{ext}\in \mathbb{R}^{3}$ is the disturbances according to the rotation movement.

$R_\eta \in \mathbb{R}^{3\times3}$ is the rotation matrix connecting the two frames of reference, it can be parameterised by Euler angles $\eta=(\phi,\theta,\psi)$ :

(9) \begin{equation}R_{\eta}=\begin{bmatrix} c\psi c\theta\;\;\;\; &\quad s\phi s\theta c\psi-s\psi c\phi\;\;\;\; &\quad c\phi s \theta c \psi +s\psi s\phi \\[5pt] s \psi c\theta\;\;\;\; & \quad s\phi s \theta s \psi + c\psi c\phi\;\;\;\; & \quad c \phi s \theta s \psi - s \phi c \psi \\[5pt] - s \theta\;\;\;\; &\quad s\phi c \theta\;\;\;\; & \quad c \phi c \theta \end{bmatrix},\end{equation}

$Sk \in \mathbb{R}^{3\times3}$ is the skew-symmetric matrix related to the angular velocity $\Omega$

(10) \begin{equation}Sk=\begin{bmatrix} 0\;\;\;\; & \quad -r\;\;\;\; & \quad q \\[5pt] r\;\;\;\; & \quad 0\;\;\;\; & \quad -p \\[5pt] -q\;\;\;\; & \quad p\;\;\;\; & \quad 0 \\[5pt] \end{bmatrix}.\end{equation}

The reconfiguration of the quadrotor, during the flight, generates a displacement of its CoG, a change of its inertia $J_{3\times3}(\sigma(t))$ and requires a readjustment of the allocation matrix. The calculation of the inertia matrix is mainly based on the theorem of Huygens-Steiner, the analytical details of calculation is presented in the works of Derrouaoui et al. [Reference Derrouaoui, Bouzid and Guiatni31, Reference Derrouaoui, Guiatni, Bouzid, Dib and Moudjari32], in which some approximations are made to simplify the development.

2.2 Developed model

Dynamic model (1) can be written in terms of position, rotation and input as follow:

(11) \begin{equation}\begin{cases}\ddot{\phi} = f_{\phi}(t)+g_{\phi}(t)U_2 \\[5pt]\ddot{\theta} =f_{\theta}(t)+g_{\theta}(t)U_3\\[5pt]\ddot{\psi} =f_{\psi}(t)+g_{\psi}(t)U_4\\[5pt]\ddot{x}=f_x(t)+g_x(t)U_x U_1\\[5pt]\ddot{y}= f_y(t)+g_y(t)U_y U_1\\[5pt]\dot{z}=f_z(t)+g_z(t)U_1\end{cases},\end{equation}

with

(12) \begin{equation}\begin{cases}f_{\phi}(t)=\dfrac{J_{yy}(\sigma(t))-J_{zz}(\sigma(t))}{J_{xx}(\sigma(t))}\dot{\theta}\dot{\psi}-\dfrac{J_r\;\omega_r}{J_{xx}(\sigma(t))}\dot{\theta}-\dfrac{K_{afx}}{J_{xx}(\sigma(t))} \dot{\phi}^2 \\[10pt] g_{\phi}(t)=\dfrac{1}{J_{xx}(\sigma(t))} \\[5pt] \\ f_{\theta}(t)=\dfrac{J_{zz}(\sigma(t))-J_{xx}(\sigma(t))}{J_{yy}(\sigma(t))}\dot{\phi}\dot{\psi}+\dfrac{J_r\;\omega_r}{J_{yy}(\sigma(t))}\dot{\phi}-\dfrac{K_{afy}}{J_{yy}(\sigma(t))}\dot{\theta}^2 \hfill \\[10pt] g_{\theta}(t)=\dfrac{1}{J_{yy}(\sigma(t))}\\[5pt] \\ f_{\psi}(t)=\dfrac{J_{xx}(\sigma(t))-J_{yy}(\sigma(t))}{J_{zz}(\sigma(t))}\dot{\phi}\dot{\theta}-\dfrac{K_{afz}}{J_{zz}(\sigma(t))}\dot{\psi}^2 \hfill\quad \\[10pt] g_{\psi}(t)=\dfrac{1}{J_{zz}(\sigma(t))}\\[5pt] \\ f_x(t)=-\dfrac{K_{dfx}}{m}\dot{x} \hfill \quad \quad \quad \\[10pt] g_x(t)=\dfrac{1}{m}\\[5pt] \\ f_y(t)=-\dfrac{K_{dfy}}{m}\dot{y} \hfill \quad \quad \quad \\[10pt] g_y(t)=\dfrac{1}{m}\\[5pt] \\ f_z(t)=-\dfrac{K_{dfz}}{m}\dot{z}-g \hfill \quad \quad \quad \\[10pt] g_z(t)=\dfrac{\text{cos} \phi\: \text{cos}\theta}{m}\end{cases},\end{equation}

and

(13) \begin{equation}\begin{cases}U_x=(c\phi s\theta c\psi + s\phi s\psi)\\[5pt]U_y=(c\phi s\theta s\psi - s\phi c\psi)\\[5pt]\omega_r=\omega_1 - \omega_2 +\omega_3 - \omega_4\end{cases}.\end{equation}

The model given by (11) can be generalised for two subsystems, one is designed for the position $\Sigma_P$ and the other is for the attitude $\Sigma_A$ in which the translational and rotational dynamics are considered as disturbed non-linear second-order systems. The following subsystems will be used in the control design:

(14) \begin{equation}\Sigma_P:\begin{cases}\dot{x}_{1} = x_{2}\\[5pt]\dot{x}_{2} = f_1(x)+g_1(x)T, \\[5pt]\end{cases}\end{equation}
(15) \begin{equation}\Sigma_A:\begin{cases}\dot{x}_{3} = x_{4}\\[5pt]\dot{x}_{4} = f_2(x)+g_2(x)U, \\[5pt]\end{cases}\end{equation}

with $f_1=\begin{bmatrix} f_x & \quad f_y & \quad f_z \end{bmatrix}^T$ is written as:

(16) \begin{equation} f_1(x)=f_{01}+ d_1, \end{equation}

and $f_2= \begin{bmatrix} f_{\phi} & \quad f_{{\theta}} & \quad f_{{\psi}} \end{bmatrix}^T$ is written as:

(17) \begin{equation}f_2(x)=f_{02}+ d_2,\end{equation}

where $x_{\xi}=\begin{bmatrix} x_1 & \quad x_2\end{bmatrix} \in \mathbb{R}^{3 \times 2} $ is the vector of states for position, $x_1 = \begin{bmatrix} x & \quad y & \quad z\end{bmatrix}^T \in \mathbb{R}^{3}$ , $ x_2 = \begin{bmatrix} \dot{x} & \quad \dot{y} & \quad \dot{z}\end{bmatrix}^T \in \mathbb{R}^{3}$ , $T = \begin{bmatrix}U_x & \quad U_y & \quad U_1 \end{bmatrix}^T$ is the vector of control inputs and the bounded disturbance $d_1= \begin{bmatrix} d_x & \quad d_y & \quad d_z \end{bmatrix} \in \mathbb{R}^{3} $

$x_{\eta}=\begin{bmatrix} x_3 & \quad x_4\end{bmatrix} \in \mathbb{R}^{3 \times 2} $ is the vector of states for attitude, $x_3 = \begin{bmatrix} \phi & \quad \theta & \quad \psi\end{bmatrix}^T \in \mathbb{R}^{3} $ and $ x_4 = \begin{bmatrix} \dot{\phi} & \quad \dot{\theta} & \quad \dot{\psi}\end{bmatrix}^T \in \mathbb{R}^{3} $ , $U = \begin{bmatrix}U_2 & \quad U_3 & \quad U_4 \end{bmatrix}^T$ is the vector of control inputs and the bounded disturbance $d_2= \begin{bmatrix} d_{\phi} & \quad d_{\theta} & \quad d_{\psi} \end{bmatrix} \in \mathbb{R}^{3} $ . $g_1(x)$ and $g_2(x))$ belong to $\mathbb{R}^{3 \times 3}_*$ . The functions $f_{01}$ and $f_{02}$ represent the known terms of $f_1(x)$ and $f_2(x)$ respectively.

2.3 Control objective

The main objective is to design a control laws T and U such that the variable ( $x_{\xi}(t), x_{\eta}(t)$ ) track robustly the desired signals ( $x_{\xi d}(t)$ , $x_{\eta d}(t)$ ), i.e. to render the tracking error

$\begin{pmatrix}\varrho_1(t) \\[5pt] \varrho_3(t)\end{pmatrix}$ $\equiv$ $ \begin{pmatrix} x_{\xi}(t) - x_{\xi d}(t) \\[5pt] x_{\eta}(t) - x_{\eta d}(t)\end{pmatrix}$ $\equiv$ $\begin{pmatrix}0 \\[5pt] 0\end{pmatrix} $ in finite time $t_R$ .

3.0 Adopted control architecture

The dynamics of the unconventional quadrotor are strongly non-linear and relatively complex because of the difficulty of modeling aerodynamic forces (aerodynamic coefficient, air density, and apparent surface) and the uncertainty of the physical constants of the drone. Robust control techniques are used to ensure the stability of the vehicle in the presence of external disturbances, despite the complexity of the aerodynamic forces and the impossibility of directly measuring the wind speed. These unknown terms are considered disturbances.

3.1 Backstepping design

The backstepping control technique performs successive relations to make the looped system equivalent to stable cascaded first-order sub-systems in the Lyapunov sense, thus building a control law and a stabilising Lyapunov function. This method begins with the definition of the Lyapunov function. The principle is to construct at each step a gap between the current state of the system and a virtual controller that would guarantee the negativity of the derivative of the Lyapunov function. At the end of each step, the Lyapunov function compensates this gap, to ensure the convergence to zero. The process ends when the real control of the system appears, guaranteeing the convergence of the real states to the desired states.

The control laws by backstepping combined with the ST algorithm are designed as:

(18) \begin{equation}T=g_1^{-1}(x)\;(-f_{01}(x)+\dot{\upsilon}_{1}+\upsilon_{2}),\;\end{equation}

with

(19) \begin{equation} \begin{cases}\upsilon_{1}=\dot{x}_{1d}-\kappa_1\;\varrho_{1} \\[5pt]\upsilon_2=-\lambda _1\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_2)-\lambda _2\;\mathfrak{Int}(\varrho_2),\end{cases}\end{equation}
(20) \begin{equation}U=g_2^{-1}(x)\;(-f_{02}(x)+\dot{\upsilon}_{3}+\upsilon_{4}),\;\end{equation}

with

(21) \begin{equation}\begin{cases}\upsilon_3=\dot{x}_{3d}-\kappa_2\;\varrho_{3} \\[5pt]\upsilon_4=-\lambda _3\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_4)-\lambda _4\;\mathfrak{Int}(\varrho_4),\end{cases}\end{equation}

where $\left(\kappa_1=\text{diag} \begin{bmatrix} \kappa_x\;\;\;\; & \quad \kappa_y\;\;\;\; & \quad \kappa_z \end{bmatrix}, \kappa_2 =\text{diag} \begin{bmatrix} \kappa_{\phi}\;\;\;\; &\quad \kappa_{\theta}\;\;\;\; & \quad \kappa_{\psi} \end{bmatrix}\right) \in \mathbb{R}^{3 \times 3}_{+*}$

and $ \lambda_1 = \text{diag} \begin{bmatrix} \lambda_{1x}\;\;\;\; & \quad \lambda_{1y}\;\;\;\; & \quad \lambda_{1z} \end{bmatrix}, \lambda_2 = \text{diag} \begin{bmatrix} \lambda_{2x}\;\;\;\; & \lambda_{2y}\;\;\;\; & \quad \lambda_{2z} \end{bmatrix},\\[5pt] \lambda_3 = \text{diag} \begin{bmatrix} \lambda_{1\phi}\;\;\;\; & \quad \lambda_{1\theta}\;\;\;\; & \quad \lambda_{1\psi} \end{bmatrix}, \lambda_4 = \text{diag} \begin{bmatrix} \lambda_{2\phi}\;\;\;\; & \quad \lambda_{2\theta}\;\;\;\; & \quad \lambda_{2\psi} \end{bmatrix} $

Theorem 1. Considering the disturbed systems (14) and (15) with bounded condition (25) and the applied control inputs (18) and (20). The state variables ( $x_{\xi}$ , $x_{\eta}$ ) of systems (14) and (15), respectively, can track exactly the desired references ( $x_{\xi d}$ , $x_{\eta d}$ ) and converge in a finite time $t_R$ .

The following Lemma is used for the stability analysis

Lemma 1. [Reference Bhat and Bernstein33, Reference Bhat and Bernstein34] Considering the continuous system

(22) \begin{equation}\dot{x}=f(x),\quad f(0)=0,\quad x \in \mathbb{R}^n.\end{equation}

We suppose that there is a continuous positive definite function V: $ \mathbb{R}^n \rightarrow \mathbb{R}^+,$ a real number $ \gamma > 0$ , $0 < \alpha < 1$ and an open $ U \subseteq \mathbb{R}^n$ in the neighbourhood of the origin so that the following inequalities are satisfied:

(23) \begin{equation}\dot{V}(x)+ \gamma\;V^\alpha(x)\leq 0, \quad x \in V\setminus\lbrace0\rbrace.\end{equation}

Then, the origin of the system (22) is a stable equilibrium in finite time. If $ U =\mathbb {R}^n $ , the origin is a globally stable equilibrium in finite time.

Moreover, the settling time is given by:

(24) \begin{equation}t_R \leq \frac{1}{\gamma(1-\alpha)} V^{1-\alpha}.\end{equation}

Assumption 1. The perturbation terms $d_{1}$ and $d_{2}$ are assumed to be bounded, such that:

(25) \begin{equation} \dot{ \parallel d_1 \parallel} < h_{1{max} } \quad \quad and \quad \quad \dot{\parallel d_2 \parallel} < h_{2{max} }, \end{equation}

where $h_{1{max} } $ and $h_{2{max} }$ are strictly positive constants supposed to be known.

Proof. We follow these steps to prove the previous theorem:

3.1.1 First step

Consider system (14)

Let us define the tracking error $\varrho_1$ :

(26) \begin{equation}\varrho_{1}= x_{1}-x_{1d}.\end{equation}

The first Lyapunov candidate function $\mathcal{L}_1$ , associated with $\varrho_1$ is given by:

(27) \begin{equation}\mathcal{L}_1=\frac{1}{2}\varrho_1^T\varrho_1.\end{equation}

Its temporal derivative:

(28) \begin{equation}\dot{\mathcal{L}}_1=\varrho_{1}^T\;\dot{\varrho}_{1}=\varrho^T_{1}(\dot{x}_1-\dot{x}_{1d})=\varrho_{1}^T\left(\dot{x}_1-\upsilon_{1}\right)+\varrho_{1}^T\left(\upsilon_{1}-\dot{x}_{1d}\right).\end{equation}

The term $(\dot{x}_{1d})$ represents the velocity set point and $\upsilon_1$ is the stabilising controller of $\varrho_1$ .

(29) \begin{equation}\upsilon_{1}=\dot{x}_{1d}-\kappa_1\;\varrho_{1}.\end{equation}

Replacing (29) in (28), we obtain:

(30) \begin{equation}\dot{\mathcal{L}}_1=-\varrho_{1}^T\;\kappa_{1}\;\varrho_{1}+\varrho_{1}^T (\dot{x}_1-\upsilon_{1}).\end{equation}

3.1.2 Second step

The error $\varrho_2$ is defined as the difference between the real velocity and the virtual velocity control. The convergence of $\varrho_2$ will naturally lead to the convergence of $\varrho_1$ , since the velocity will tend towards the virtual velocity and the derivative of $\mathcal{L}_1$ will be strictly negative.

Let us define the error $\varrho_2$ :

(31) \begin{equation}\varrho_{2}=\dot{x}_1-\upsilon_{1}.\end{equation}

We define the second Lyapunov candidate function $\mathcal{L}_2$ , associated with $\varrho_2$ .

(32) \begin{equation}\mathcal{L}_2=\frac{1}{2}\;\varrho_2^T \varrho_2.\end{equation}

The derivative of the Lyapunov function is given by:

(33) \begin{equation}\dot{\mathcal{L}}_2=\varrho_{2}^T\;\dot{\varrho}_{2}=\varrho_{2}^T\;\left(f(x)+g(x)\;T-\dot{\upsilon}_{1}\right).\end{equation}

The control law is given by:

(34) \begin{equation}T=g^{-1}(x)\;\left(-f_0(x)+\dot{\upsilon}_{1}+\upsilon_{2}\right).\;\end{equation}

Replacing (34) in (33), we obtain

(35) \begin{equation}\dot{\mathcal{L}}_2=\varrho_2^T\;\left(d_{1} +\upsilon_2\right).\end{equation}

We take $\upsilon_2$ as

(36) \begin{equation}\upsilon_2=-\lambda _{1}\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_2)-\lambda _{2}\;\mathfrak{Int}(\varrho_2).\end{equation}

We replace (36) in (35), we find

(37) \begin{equation}\dot{\mathcal{L}}_2=\varrho_2^T\left(-\lambda _{1}\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_2)-\lambda _{2}\;\mathfrak{Int}(\varrho_2) + d_{1}\right).\end{equation}

We make the following change of variable

(38) \begin{equation}z=\begin{bmatrix}z_1 & \quad z_2\end{bmatrix}^T,\end{equation}
(39) \begin{equation} \begin{cases} z_{1}=\varrho_{2}\\[5pt]z_{2}=-\lambda _{2}\;\mathfrak{Int}(\varrho_2)+d_{1}\end{cases}.\end{equation}

Which implies

(40) \begin{equation}\begin{cases}\dot{z}_{1}=-\lambda _{1}\;\mathfrak{Sig}^{\frac{1}{2}}(z_1)+z_{2}\\[5pt]\dot{z}_{2}=-\lambda _{2}\;\dot{\mathfrak{Int}}(z_1)+\dot{d}_{1}\end{cases}.\end{equation}

The convergence of $z_1$ and $z_2$ to zero ensures the convergence of $\varrho_2$ and $\dot{\varrho}_2$ to zero.

We choose now the following Lyapunov function to analyse the stability:

(41) \begin{equation}V(z)=v^T P\;v.\end{equation}

The vector v and the symmetric matrix $P \in \mathbb{R}^{2\times2}$ are given by:

(42) \begin{equation} v=\begin{bmatrix}\;\mathfrak{Sig}^{\frac{1}{2}}(z_1)& \quad z_2\end{bmatrix}^T\quad \text{and} \quad P=\frac{1}{2}\begin{bmatrix}4 \lambda_2+\lambda_1^2 & \quad -\lambda_1\\[5pt]-\lambda_1 & \quad 2\end{bmatrix},\end{equation}

this function is defined positive if $\lambda_2$ is defined positive.

(43) \begin{equation}\delta_{{min} } (P)\Vert v \Vert^2 \;\leq\; V(z) \;\leq \; \delta_{{max} }(P)\Vert v \Vert^2,\end{equation}

where v is given by:

(44) \begin{equation} \Vert v \Vert^2 =\Vert z_1 \Vert+z_2^2, \end{equation}

$\delta_{{min}} (P)$ and $\delta_{{max}}(P)$ are respectively the minimal and maximal eigenvalues of P.

Knowing that $\dot{\parallel d_1 \parallel} \leq h_{1{max} }$ (see Assumption 1), the temporal derivative of the candidate Lyapunov function verify that:

(45) \begin{equation}\dot{V} \leq -\frac{1}{\Vert z_1 \Vert^\frac{1}{2}} \;\delta_{{min} } (Q)\;\Vert v \Vert ^2\; + h_{1{max} } \;\Vert \xi \Vert \Vert v \Vert,\end{equation}

where

(46) \begin{equation}Q=\frac{\lambda_1}{2}\begin{bmatrix}2 \lambda_2+\lambda_1^2 & \quad -\lambda_1\\[5pt]-\lambda_1 & \quad 1\end{bmatrix}\quad \quad ;\quad \xi=\begin{bmatrix}-\lambda_1 & \quad 2\end{bmatrix}.\end{equation}

Using (44), we can deduce that

(47) \begin{equation}\frac{1}{\Vert z_1 \Vert^\frac{1}{2}} \geq \frac{1}{\Vert v \Vert}.\end{equation}

We find

(48) \begin{equation}\dot{V} \leq (-\delta_{{min} }(Q)+h_{1{max} } \Vert \xi \Vert)\;\Vert v \Vert.\end{equation}

Using (43), we can see that:

(49) \begin{equation}\frac{V}{\delta_{{max} }(P)}\leq \Vert v \Vert ^2 \leq\frac{V}{\delta_{{min} }(P)}.\end{equation}

We find

(50) \begin{equation}\dot{V} \leq - (\delta_{{min} }(Q)-h_{1{max} } \Vert \xi \Vert)\;\frac{V^\frac{1}{2}}{\sqrt{\delta_{{max} }(P)}}.\end{equation}

To conclude on the negativity of $\dot{V}(z)$ , it is necessary that:

(51) \begin{equation}\delta_{{min} }(Q) \geq h_{1{max} } \Vert \xi \Vert.\end{equation}

The matrix Q will be defined positive with a minimal eigenvalue $ \delta_{{min} }(Q) \geq h_{1{max} } || \xi || $ , $ \lambda _1$ defined positive and $h_{1{max} } > 0$ , hence:

(52) \begin{equation}\lambda_2 \geq \frac{2 \, h_{1{max} }^2 \Vert \xi \Vert^2}{\lambda _1^2 }.\end{equation}

Therefore, we get

(53) \begin{equation}\dot{V}\leq - \gamma\; V ^{\frac{1}{2}}.\end{equation}

with

(54) \begin{equation} \gamma= \frac{\delta_{{min} }(Q)- h_{1{max} } \Vert \xi \Vert}{\sqrt{\delta_{{max} }(P)}}.\end{equation}

The solution is

(55) \begin{equation}\int_0^{t_R} \frac{dV}{V^\frac{1}{2}}\leq -\gamma \int_0^{t_R} dt \Longrightarrow t_R= \frac{2 V^\frac{1}{2}z(0)}{\gamma}.\end{equation}

So, we have demonstrated the stability in finite time. i.e. $z_1 $ and $z_2 $ tend to zero in a finite time.

(56) \begin{equation}z_2=0\;\Longrightarrow \quad d_1=\lambda _2 \;\mathfrak{Int}(z_1),\end{equation}

where $ \lambda _2 \;\mathfrak{Int}(z_1) $ represents the perturbation estimation term.

As soon as $z_1=z_2=0 \in \mathbb{R}_3 $ and according to Equation (56), then:

(57) \begin{equation}\begin{split}\quad\Longrightarrow \dot{\mathcal{L}}_2=\varrho_2^T\left(-\lambda _{1}\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_2)\right) \\[5pt]\quad \quad \quad \Longrightarrow \dot{\mathcal{L}}_2=- \sum^3_{i=1} \lambda_{1i} \mid \varrho_{2i} \mid \mid \varrho_{2i} \mid ^{\frac{1}{2}} \\[5pt]\quad \Longrightarrow \dot{\mathcal{L}}_2=- \sum^3_{i=1} \lambda_{1i} \mid \varrho_{2i} \mid ^{\frac{3}{2}},\end{split}\end{equation}

we define $\tilde{\lambda}_1={min} \lbrace \lambda_{11}, \lambda_{12}, \lambda_{13}\rbrace $ , we get

(58) \begin{equation}\begin{split}\quad \Longrightarrow \dot{\mathcal{L}}_2 \leq - \tilde{\lambda}_1 \sum^3_{i=1} \mid \varrho_{2i} \mid ^{\frac{3}{2}} \\[5pt]\quad \quad \quad \Longrightarrow \dot{\mathcal{L}}_2 \leq - \tilde{\lambda}_1 \sum^3_{i=1} \left( \frac{1}{2} 2 \mid \varrho_{2i} \mid ^{\frac{3}{2}} \right) \\[5pt]\quad \quad \quad \Longrightarrow \dot{\mathcal{L}}_2 \leq - \tilde{\lambda}_1 2^{\frac{3}{4} } \sum^3_{i=1} \left( \frac{1}{2} \mid \varrho_{2i} \mid ^{\frac{3}{2}}\right).\end{split}\end{equation}

Let $\tilde{\kappa}_1=2^{\frac{3}{4}}\tilde{\lambda}_1$

(59) \begin{equation}\begin{split}\Longrightarrow \dot{\mathcal{L}}_2\leq - \tilde{\kappa}_1 \mathcal{L}_2^{\frac{3}{4}} \\[5pt]\Longrightarrow \dot{\mathcal{L}}_2\leq - \tilde{\kappa}_1 \mathcal{L}_2^{\alpha} \end{split},\end{equation}

with $\alpha = \frac{3}{4} \in\;[0 , 1] $

According to Lemma 1, $\mathcal{L}_2$ is stable, so the error $\varrho_2 \rightarrow 0$ .

This implies that $\dot{\mathcal{L}}_1= - \kappa_1\parallel\varrho_1\parallel^2$ is stable. Then, the error $\varrho_1 \rightarrow 0$ .

Desired Euler angles

The unconventional quadrotor can be separated into two connected subsystems, based on the hierarchical backstepping. According to (13), we can calculate the desired Euler angles $\phi_d$ and $\theta_d$ , which will introduce the next error variable:

(60) \begin{equation}\begin{cases}\phi _d= \sin ^{-1}(s \psi _d U_x - c \psi _d U_y) \\[5pt]\theta _d= \sin ^{-1}\left(\dfrac{c \psi _d U_x +s \psi _d U_y}{c \phi _d}\right)\end{cases}.\end{equation}

3.1.3 Third step

Consider system (15), a new error variable is defined as:

(61) \begin{equation}\varrho_{3}= x_{3}-x_{3d}.\end{equation}

Consider the Lyapunov candidate function $\mathcal{L}_3$ , associated with the error $\varrho_3$ :

(62) \begin{equation}\mathcal{L}_3=\frac{1}{2}\varrho_3^T \varrho_3.\end{equation}

Its derivative with respect to time yields:

(63) \begin{equation}\dot{\mathcal{L}}_3=\varrho_{3}^T\;\dot{\varrho}_{3}=\varrho_{3}^T(\dot{x}_3-\dot{x}_{3d})=\varrho_{3}^T(\dot{x}_3-\upsilon_{3})+\varrho_{3}^T(\upsilon_{3}-\dot{x}_{3d}).\end{equation}

The term $(\dot{x}_{3d})$ represents the velocity set point and $\upsilon_3$ is the stabilising controller of $\varrho_3$ .

(64) \begin{equation}\upsilon_{3}=\dot{x}_{3d}-\kappa_2\;\varrho_{3}.\end{equation}

Replacing (64) in (63), we obtain:

(65) \begin{equation}\dot{\mathcal{L}}_3=-\varrho_{3}^T\;\kappa_{2}\;\varrho_{3}+\varrho_{3}^T(\dot{x}_3-\upsilon_{3}),\end{equation}

the second term will be eliminated in the next step.

3.1.4 Fourth step

Consider the second term $\varrho_{3}(\dot{x}_3-\upsilon_{3})$ to continue the process of backstepping. The error $\varrho_4$ is defined as the difference between the real velocity and the virtual velocity control. The convergence of $\varrho_4$ will naturally lead to the convergence of $\varrho_3$ , since the velocity will tend towards the virtual velocity and the derivative of $\mathcal{L}_3$ will be strictly negative.

Let define the error $\varrho_4$ :

(66) \begin{equation}\varrho_{4}=\dot{x}_3-\upsilon_{3}.\end{equation}

The Lyapunov candidate function $\mathcal{L}_4$ associated with $\varrho_4$ is defined as:

(67) \begin{equation}\mathcal{L}_4=\frac{1}{2}\;\varrho_4^T \varrho_4.\end{equation}

Its temporel derivative is given by:

(68) \begin{equation}\dot{\mathcal{L}}_{4}=\varrho_{4}^T\;\dot{\varrho}_{4}=\varrho_{4}^T\;(f(x)+g(x)\;U-\dot{\upsilon}_{3}).\end{equation}

The controller is given by:

(69) \begin{equation}U=g^{-1}(x)\;(-f_0(x)+\dot{\upsilon}_{3}+\upsilon_{4}).\;\end{equation}

Replacing (69) in (68), we obtain

(70) \begin{equation}\dot{\mathcal{L}}_4=\varrho_4^T\;(d_2 +\upsilon_4).\end{equation}

We take $\upsilon_4$ as

(71) \begin{equation}\upsilon_2=-\lambda _{3}\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_4)-\lambda _{4}\;\mathfrak{Int}(\varrho_4).\end{equation}

We replace (71) in (70), we find

(72) \begin{equation}\dot{\mathcal{L}}_4=\varrho_4^T\left(-\lambda _{3}\;\mathfrak{Sig}^{\frac{1}{2}}(\varrho_4)-\lambda _{4}\;\mathfrak{Int}(\varrho_4) + d_2\right).\end{equation}

Consider the following change of variable

(73) \begin{equation}\bar{z}=\begin{bmatrix}z_3 & \quad z_4\end{bmatrix}^T,\end{equation}
(74) \begin{equation} \begin{cases} z_3=\varrho_4\\[5pt]z_4=-\lambda _{4}\;\mathfrak{Int}(\varrho_4)+d_2\end{cases}.\end{equation}

Which implies

(75) \begin{equation}\begin{cases}\dot{z}_{1}=-\lambda _{3}\;\mathfrak{Sig}^{\frac{1}{2}}(z_3)+z_{4}\\[5pt]\dot{z}_{2}=-\lambda _{4}\;\dot{\mathfrak{Int}}(z_3)+\dot{d}_{2}\end{cases}.\end{equation}

The convergence of $z_3$ and $z_4$ to zero ensures the convergence of $\varrho_4$ and $\dot{\varrho}_4$ to zero. Therefore, the disturbance $d_2$ will be estimated in finite time.

As soon as $z_3$ = $z_4$ =0 and the disturbance is estimated, then:

(76) \begin{equation}\Longrightarrow \dot{\mathcal{L}}_4\leq - \tilde{\kappa}_2 \mathcal{L}_4^{\alpha},\end{equation}

where $\alpha = \frac{3}{4} $ , $\tilde{\kappa}_2 = 2^{\frac{3}{4}}\tilde{\lambda}_3$ and $\tilde{\lambda}_3={min} \lbrace \lambda_{31}, \lambda_{32}, \lambda_{33}\rbrace $

According to Lemma 1, $\mathcal{L}_4$ is stable $\Rightarrow$ the error $\varrho_4 \rightarrow 0$ .

which implies that $\dot{\mathcal{L}}_3= - \kappa_2\parallel\varrho_3\parallel^2$ is stable. Then, the error $\varrho_3 \rightarrow 0$

3.2 Control architecture

Hierarchical control is known in aeronautics as guidance and piloting control. The system is decomposed into two cascaded subsystems: one for translation corresponding to the slow dynamics called the high level (outer loop) and the other for rotation corresponding to the fast dynamics called the low level (inner loop) (see Fig. 4).

Figure 4. Control architecture.

The reference trajectories $(x_d, y_d, z_d$ and $\psi_d)$ are generated by the guidance system block. $U_1$ controls the attitude while the two other translation variables x and y are controlled indirectly by controlling the two rotation angles $(\phi$ and $\theta)$ with the virtual controllers $U_x$ and $U_y$ . The correction block will generate the desired roll and pitch angles. The foldable drone is controlled by the velocity of the motors. These velocities are obtained from the control matrix. The CoG and the inertia matrix are instantly calculated according to the variation of the angles $\sigma_i$ . The different configurations of the quadrotor are generated by the switching block.

The main difficulty of this control structure is to demonstrate the stability of the global system in a closed loop and to guarantee good performance as well as robust behaviour towards disturbances. Servomotors are controlled by a classical PID to turn the arms, where:

(77) \begin{equation}U_s=k_pe_{\sigma_i}(t)+k_I\int e_{\sigma_i}(t)dt+k_D \dot{e}_{\sigma_i}(t),\end{equation}

with $e_{\sigma_i}(t)$ is the tracking error. $k_p, k_I$ and $k_D$ are the controller’s gains.

The studied quadrotor is controlled by a backstepping controller with a correction term based on the super-twisting algorithm, which is designed to follow the desired trajectory $(x_d, y_d, z_d)$ and the angle $\psi_d$ in the presence of disturbances.

3.3 Control inputs

Applying the control laws (34) and (69) on the systems (14) and (15) respectively, we obtain the final control inputs as:

Altitude control (z)

$\begin{cases}\varrho_{11}=z-z_d\\[5pt]\varrho_{21}=\dot{z}-\upsilon_{11}\\[5pt]\upsilon_{11}=\dot{z}_d-\kappa_z\;\varrho_{11}\\[5pt]\upsilon_{21}=-\lambda _{1z}\;|\varrho_{21}|^{\frac{1}{2}}\; \text{sign} (\varrho_{21})-\lambda _{2z}\;\int \text{sign}(\varrho_{21}(z))dz\end{cases}$
(78) \begin{equation}U_1=\frac{1}{g_z(x)}\left(-f_z(x)+\dot{\upsilon}_{11}+\upsilon_{21}\right).\end{equation}

Roll control ( $\phi$ )

$\begin{cases}\varrho_{12}=\phi -\phi _d\\[5pt]\varrho_{22}=\dot{\phi}-\upsilon_{12}\\[5pt]\upsilon_{12}=\dot{\phi}_d-\kappa_{\phi}\;\varrho_{12}\\[5pt]\upsilon_{22}=-\lambda _{1\phi}\;|\varrho_{22}|^{\frac{1}{2}}\; \text{sign}(\varrho_{22})-\lambda _{2\phi}\;\int \text{sign}(\varrho_{22})(z)dz\end{cases}$
(79) \begin{equation}U_2=\frac{1}{g_{\phi}(x)}\left(-f_{\phi}(x)+\dot{\upsilon}_{12}+\upsilon_{22}\right).\end{equation}

Pitch control ( $\theta$ )

$\begin{cases}\varrho_{13}=\theta -\theta _d\\[5pt]\varrho_{23}=\dot{\theta}-\upsilon_{13}\\[5pt]\upsilon_{13}=\dot{\theta}_d-\kappa_{\theta}\;\varrho_{13}\\[5pt]\upsilon_{23}=-\lambda _{1\theta}\;|\varrho_{23}|^{\frac{1}{2}}\; \text{sign}(\varrho_{23})-\lambda _{2\theta}\;\int \text{sign}(\varrho_{23}(z))dz\end{cases}$
(80) \begin{equation}U_3=\frac{1}{g_{\theta}(x)}\left(-f_{\theta}(x)+\dot{\upsilon}_{13}+\upsilon_{23}\right).\end{equation}

Yaw control ( $\psi$ )

$\begin{cases}\varrho_{14}=\psi -\psi _d\\[5pt]\varrho_{24}=\dot{\psi}-\upsilon_{14}\\[5pt]\upsilon_{14}=\dot{\psi}_d-\kappa_{\psi}\;\varrho_{14}\\[5pt]\upsilon_{24}=-\lambda _{1\psi}\;|\varrho_{24}|^{\frac{1}{2}}\; \text{sign}(\varrho_{24})-\lambda _{2\psi}\;\int \text{sign}(\varrho_{24}(z))dz\end{cases}$
(81) \begin{equation}U_4=\frac{1}{g_{\psi}(x)}(-f_{\psi}(x)+\dot{\upsilon}_{14}+\upsilon_{24}).\end{equation}

Virtual controllers

Control of (x)

\begin{equation*}\begin{cases}\varrho_{1x}=x-x_d\\[5pt]\varrho_{2x}=\dot{x}-v_{1x}\\[5pt]\upsilon_{1x}=\dot{x}_d-\kappa_x\;\varrho_{1x}\\[5pt]\upsilon_{2x}=-\lambda _{1x}\;|\varrho_{2x}|^{\frac{1}{2}}\; \text{sign}(\varrho_{2x})-\lambda _{2x}\;\int \text{sign}(\varrho_{2x}(z))dz\end{cases}\end{equation*}
(82) \begin{equation}U_x=\frac{m}{U_1}(\dot{\upsilon}_{1x}+\upsilon_{2x}).\end{equation}

Control of (y)

\begin{equation*}\begin{cases}\varrho_{1y}=y-y_d\\[5pt]\varrho_{2y}=\dot{y}-v_{1y}\\[5pt]\upsilon_{1y}=\dot{y}_d-\kappa_y\;\varrho_{1y}\\[5pt]\upsilon_{2y}=-\lambda _{1y}\;|\varrho_{2y}|^{\frac{1}{2}}\; \text{sign} (\varrho_{2y})-\lambda _{2y}\;\int \text{sign}(\varrho_{2y}(z))dz\end{cases}\end{equation*}
(83) \begin{equation}U_y=\frac{m}{U_1}(\dot{\upsilon}_{1y}+\upsilon_{2y}).\end{equation}

4.0 Simulation results

In this section, we will present a series of simulations of two flight scenarios resulting from the application of the backstepping control previously seen on our drone to test the efficiency and robustness of the tracking problem.

To validate the efficiency of the proposed control, a qualitative comparison with a classical backstepping controller has been made in the presence of external disturbances. The ordinary backstepping control law applied to a reconfigurable UAV is detailed in [Reference Derrouaoui, Bouzid, Guiatni, Kada, Dib and Moudjari4].

We performed the simulations under MATLAB/Simulink. The numerical values of the main physical parameters of the quadrotor are provided in Table 2.

Table 2. Parameters of the unconventional quadrotor

The servomotors are controlled by a PID, the parameters of this latter are given in Table 3 as:

Table 3. Parameters of PID controller.

We note that the simulations were done in the presence of external disturbances that are noted as $d_1 = 0.5$ N.kg–1 for translation and $d_2=0.01$ N.(kg.m)–1 for rotation.

The main controller parameters are summarised in Table 4.

Table 4. Parameters of the controller.

4.1 Scenario 1

In this scenario, we make a square trajectory where the foldable drone changes its configuration during the flight. Simulation results are presented in Figs 5 to 11. Figure 5 represents the absolute position of the quadrotor during its flight. The translation and attitude responses are displayed in Figs 6 and 7, while the control signals are illustrated in Fig. 10.

Figure 5. Absolute position of the quadrotor under disturbances.

Figure 6. Trajectory of positions.

Figure 7. Euler angles.

Figure 8. Quadrotor tracking errors.

Figure 9. Quadrotor attitude errors.

According to Figs 6 and 7, the quadrotor follows the reference trajectories. It is observed in Figs 8 and 9 that the tracking error converges to zero due to the effectiveness of the proposed controller. Figure 10 shows the evolution of the control signals. We notice that $U_2$ and $U_3$ contain chattering. This is due to the discontinuous function sign in control laws, this switching in control excites the unmodeled dynamics, which leads to oscillations of the state vector. From Fig. 11, the servomotors’ output follows the desired angles with some error in the descent and ascent, which is generated by the rotation of their arms.

Figure 10. Evolution of control signals.

Figure 11. Servomotors outputs.

The efficiency of the proposed control method is illustrated in Figs 5 to 10 via the comparison between the results obtained using the proposed controller and the classical backstepping presented in [Reference Derrouaoui, Bouzid, Guiatni, Kada, Dib and Moudjari4] in the presence of external disturbances. In comparison to the classical backstepping controller provided, the simulation results clearly indicate better performance, quicker convergence, high precision tracking, and resilience.

Figure 12. Absolute position of the quadrotor under disturbances.

Figure 13. Trajectory of positions.

Figure 14. Euler angles.

In the light of these results, we have demonstrated the efficiency of this control approach to follow the desired trajectories and simulate them in the presence of disturbances.

Figure 15. Quadrotor tracking errors.

Figure 16. Quadrotor attitude errors.

Figure 17. Evolution of control signals.

4.2 Scenario 2

In this scenario, we make a circular trajectory, which is more complex. The obtained results are displayed in Figs 12 to 17. Figure 12 shows the absolute position of the quadrotor during the flight in the circular trajectory. Figures 13 and 14 represent the evolution of the position and orientation of the vehicle. The actuator force controls are displayed in Fig. 17.

On the basis of these results, we can clearly see from Figs 12, 13 and 14 a good tracking of the desired trajectories. We can also see that the outputs of the system converge towards the setpoint trajectories quickly. We notice the presence of chattering in the evolution of the control signals due to the switching in control laws.

The comparison between the results obtained using the proposed controller and the classical backstepping is illustrated in Figs 12 to 17 in the presence of external disturbances. When compared to the classical backstepping controller presented in Ref.(Reference Derrouaoui, Bouzid, Guiatni, Kada, Dib and Moudjari4), the simulation results clearly demonstrate satisfactory performance, faster convergence, high accuracy tracking and robustness.

Using the simulation results, we have demonstrated the efficiency of this control approach to follow the desired trajectories and to adapt to the change in the flight configuration. Furthermore, simulations have shown the robustness of the proposed control in the presence of disturbances. We interpret this by the introduction of the correction term based on the super-twisting algorithm.

To better clarify the comparison and strengthen our results, we have opted for a quantitative comparison with respect to the trajectory error and the control inputs.

The Mean Squared Error MSE and the Mean Squared Input MSI are calculated for N points as follows:

(84) \begin{equation}\begin{cases}MSE_{\text{position}}=\dfrac{1}{N}\left(\varrho_x^T\varrho_x+\varrho_y^T\varrho_y+\varrho_z^T\varrho_z\right)\\[9pt]MSE_{\text{attitude}}=\dfrac{1}{N}\left(\varrho_{\phi}^T\varrho_{\phi}+\varrho_{\theta}^T\varrho_{\theta}+\varrho_{\psi}^T\varrho_{\psi}\right)\\[9pt]MSI=\dfrac{1}{N}\left(U_1^TU_1+U_2^TU_2+U_3^TU_3+U_4^TU_4\right)\end{cases}.\end{equation}

In addition to the results found previously, the comparison between the two control laws in terms of error and input shows the efficiency of our proposed controller, in which the calculated values of the controller based on the super-twisting algorithm are lower than the classical backstepping controller, and this is proven in both scenarios (see Tables 5 and 6). The two values, MSE and MSI are considered, respectively, as the tracking error and the energy consumed during the flight.

Table 5. Quantitative comparison for the $1^{st}$ scenario

Table 6. Quantitative comparison for the $2^{nd}$ scenario

5.0 Conclusion and future works

In this paper, we have examined the problem of flight path tracking of the unconventional quadrotor in the presence of disturbances. We have briefly presented the mathematical model of the studied UAV. This step is crucial to obtain simulation results as close as possible to those of the real system. Then, a robust control strategy is developed and applied to a model of our foldable drone. This control law is robust, non-linear, and based on the Lyapunov stability theorem. The backstepping control with a correction term based on the super-twisting algorithm ensures stability in finite time and cancels the effect of the perturbation. The simulation results have shown that the proposed controller is able to improve the control performance of the quadrotor with rotating arms subjected to external disturbances. To provide faster convergence, a better ability to reject disturbances and improve robustness level to uncertainties and disturbances in the model of the quadrotor, we propose, in future, to enhanced the proposed controller by adding finite-time disturbance observer.

References

Derafa, L., Ouldali, A., Madani, T. and Benallegue, A. Non-linear control algorithm for the four rotors UAV attitude tracking problem, Aeronaut. J., 2011, 115, (1165), pp 175185.CrossRefGoogle Scholar
Yuan, S., Wang, H. and Xie, L. Survey on localization systems and algorithms for unmanned systems, Unmanned Syst., 2021, 9, (2), pp 129163.CrossRefGoogle Scholar
Mokhtari, M.R. and Cherki, B. A new robust control for minirotorcraft unmanned aerial vehicles, ISA Trans., 2015, 56, pp 86101.CrossRefGoogle ScholarPubMed
Derrouaoui, S.H., Bouzid, Y., Guiatni, M., Kada, H., Dib, I. and Moudjari, N. Backstepping controller applied to a foldable quadrotor for 3d trajectory tracking, In ICINCO, pp 537544, 2020.CrossRefGoogle Scholar
Desbiez, A., Expert, F., Boyron, M., Diperi, J., Viollet, S. and Ruffier, F. X-morf: A crash-separable quadrotor that morfs its x-geometry in flight, In 2017 Workshop on Research, Education and Development of Unmanned Aerial Systems (RED-UAS), pp 222227. IEEE, 2017.CrossRefGoogle Scholar
Derrouaoui, S.H., Bouzid, Y., Guiatni, M. and Belmouhoub, A. Trajectory tracking of a reconfigurable multirotor using optimal robust sliding mode controller, 2022.Google Scholar
Falanga, D., Mueggler, E., Faessler, M. and Scaramuzza, D. Aggressive quadrotor flight through narrow gaps with onboard sensing and computing using active vision, In International Conference on Robotics and Automation (ICRA), pp 57745781. IEEE, 2017.CrossRefGoogle Scholar
Mintchev, S. and Floreano, D. Adaptive morphology: A design principle for multimodal and multifunctional robots, Robot. Automat. Mag., 2016, 23, (3), pp 4254.CrossRefGoogle Scholar
Floreano, D. and Wood, R.J., technology and the future of small autonomous drones, Nature, 2015, 521, (7553), pp 460466.CrossRefGoogle ScholarPubMed
Caballero, A., Suarez, A., Real, F., Vega, V.M., Bejar, M., Rodriguez-Castaño, A. and Ollero, A. First experimental results on motion planning for transportation in aerial long-reach manipulators with two arms, In International Conference on Intelligent Robots and Systems (IROS), pp 84718477. IEEE, 2018.CrossRefGoogle Scholar
Yilmaz, E., Zaki, H. and Unel, M. Nonlinear adaptive control of an aerial manipulation system, In 18th European Control Conference (ECC), pp 39163921. IEEE, 2019.CrossRefGoogle Scholar
Derrouaoui, S.H., Bouzid, Y., Guiatni, M., Dib, I. and Moudjari, N. Design and modeling of unconventional quadrotors, In 28th Mediterranean Conference on Control and Automation (MED), pp 721726. IEEE, 2020.CrossRefGoogle Scholar
Kamil, Y., Hazry, D., Wan, K., Razlan, Z.M. and Shahriman, A.B. Design a new model of unmanned aerial vehicle quadrotor using the variation in the length of the arm, In International Conference on Artificial Life and Robotics (ICAROB), Miyazaki, Japan, pp 1922, 2017.CrossRefGoogle Scholar
Hazry, D., Wan, K. and Razlan, Z.M. A novel val: Quadrotor control technique for trajectory tracking based on varying the arm’s length, ARPN J. Eng. Appl. Sci., 2016, 11, (15), pp 91959204.Google Scholar
Derrouaoui, S.H., Bouzid, Y., Guiatni, M. and Dib, I. A comprehensive review on reconfigurable drones: Classification, characteristics, design and control technologies, Unmanned Syst., 2021, pp 127.Google Scholar
Sheng, S. and Sun, C. Control and optimization of a variable-pitch quadrotor with minimum power consumption, Energies, 2016, 9, (4), p 232.CrossRefGoogle Scholar
Muliadi, J. The analysis of unconventional aircraft flight dynamics model by linearizing its equation of motion as applied in BPPT’s V-tail configuration UAV “Gagak”, In AIP Conference Proceedings, p 020060. AIP Publishing LLC, 2016.Google Scholar
Invernizzi, D., Giurato, M., Gattazzo, P. and Lovera, M. Full pose tracking for a tilt-arm quadrotor UAV, In Control Technology and Applications (CCTA), pp 159164. IEEE, 2018.CrossRefGoogle Scholar
Farrell, M., Jackson, J., Nielsen, J., Bidstrup, C. and McLain, T. Error-state LQR control of a multirotor UAV, In International Conference on Unmanned Aircraft Systems (ICUAS), pp 704711. IEEE, 2019.CrossRefGoogle Scholar
Hamadi, H., Lussier, B., Fantoni, I., Francis, C. and Shraim, H. Observer-based super twisting controller robust to wind perturbation for multirotor UAV. In International Conference on Unmanned Aircraft Systems (ICUAS), pp 397405. IEEE, 2019.CrossRefGoogle Scholar
Sartori, D., Quagliotti, F., Rutherford, M.J. and Valavanis, K.P. Design and development of a backstepping controller autopilot for fixed-wing uavs. Aeronaut. J., 2021, 125, (1294), pp 20872113.CrossRefGoogle Scholar
Gao, T.Y., Wang, D.D., Tao, F. and Ge, H.L. Control of small unconventional UAV based on an on-line adaptive ADRC system, In Applied Mechanics and Materials, pp 12061211. Trans Tech Publ, 2014.Google Scholar
De Almeida, M.M. and Raffo, G.V. Nonlinear control of a Tiltrotor UAV for load transportation, IFAC-PapersOnLine, 2015, 48, (19), pp 232237.CrossRefGoogle Scholar
Andrade, R., Raffo, G.V. and Normey-Rico, J.E. Model predictive control of a tilt-rotor UAV for load transportation, In European Control Conference (ECC), pp 2165–2170. IEEE, 2016.CrossRefGoogle Scholar
Willis, J., Johnson, J. and Beard, R.W. State-dependent LQR control for a Tilt-rotor UAV, In American Control Conference (ACC), pp 41754181. IEEE, 2020.Google Scholar
Wallace, D.A. Dynamics and control of a quadrotor with active geometric morphing, PhD thesis, 2016.Google Scholar
Barbaraci, G. Modeling and control of a quadrotor with variable geometry arms, Unmanned Veh. Syst., 2015, 3, (2), pp 3557.CrossRefGoogle Scholar
Falanga, D., Kleber, K., Mintchev, S., Floreano, D. and Scaramuzza, D. The foldable drone: A morphing quadrotor that can squeeze and fly, Robot. Automat. Lett., 2018, 4, (2), pp 209216.CrossRefGoogle Scholar
Tuna, T., Ovur, S.E., Gokbel, E. and Kumbasar, T. Folly: A self foldable and self deployable autonomous quadcopter, In 2018 6th International Conference on Control Engineering & Information Technology (CEIT), pp 1–6. IEEE, 2018.CrossRefGoogle Scholar
Chanzy, Q. and Keane, A.J. Analysis and experimental validation of morphing uav wings, Aeronaut. J., 2018, 122, (1249), pp 390408.CrossRefGoogle Scholar
Derrouaoui, S.H., Bouzid, Y. and Guiatni, M. Towards a new design with generic modeling and adaptive control of a transformable quadrotor, Aeronaut. J., 2021, 125, (1294), pp 131.CrossRefGoogle Scholar
Derrouaoui, S.H., Guiatni, M., Bouzid, Y., Dib, I. and Moudjari, N. Dynamic modeling of a transformable quadrotor, In International Conference on Unmanned Aircraft Systems (ICUAS), pp 17141719. IEEE, 2020.CrossRefGoogle Scholar
Bhat, S.P. and Bernstein, D. Finite-time stability of continuous autonomous systems. Cont. Optimiz., 2000, 38, (3), pp 751766.CrossRefGoogle Scholar
Bhat, S.P. and Bernstein, D. Continuous finite-time stabilization of the translational and rotational double integrators, Automat. Cont., 1998, 43, (5), pp 678682.Google Scholar
Figure 0

Figure 1. Design of the quadrotor with rotating arms. (1) Propeller. (2) Rotating arm. (3) Servo-arm junction. (4) Servomotor.

Figure 1

Figure 2. Different configurations of the quadrotor with rotating arms: (a) X configuration, (b) Y configuration, (c) YI configuration, (d) H configuration, (e) T configuration, (f) O configuration.

Figure 2

Table 1. The arm angles of each configuration

Figure 3

Figure 3. Schematic of the quadrotor with rotating arms.

Figure 4

Figure 4. Control architecture.

Figure 5

Table 2. Parameters of the unconventional quadrotor

Figure 6

Table 3. Parameters of PID controller.

Figure 7

Table 4. Parameters of the controller.

Figure 8

Figure 5. Absolute position of the quadrotor under disturbances.

Figure 9

Figure 6. Trajectory of positions.

Figure 10

Figure 7. Euler angles.

Figure 11

Figure 8. Quadrotor tracking errors.

Figure 12

Figure 9. Quadrotor attitude errors.

Figure 13

Figure 10. Evolution of control signals.

Figure 14

Figure 11. Servomotors outputs.

Figure 15

Figure 12. Absolute position of the quadrotor under disturbances.

Figure 16

Figure 13. Trajectory of positions.

Figure 17

Figure 14. Euler angles.

Figure 18

Figure 15. Quadrotor tracking errors.

Figure 19

Figure 16. Quadrotor attitude errors.

Figure 20

Figure 17. Evolution of control signals.

Figure 21

Table 5. Quantitative comparison for the $1^{st}$ scenario

Figure 22

Table 6. Quantitative comparison for the $2^{nd}$ scenario