This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Hybrid stability augmentation control of multi-rotor UAV in confined space based on adaptive backstepping control

Zhan Quanxi1, Zhang Junrui1, Sun ChenYang1, Shen Runjie1, He Bin1,
Corresponding Author: Shen Runjie, E-mail:[email protected]. 1Tongji University
Abstract

This paper applies the UAV to the inspection of water diversion pipelines in hydropower stations. The diversion pipeline is an enclosed space, so the airflow disturbance caused by the rotation of the UAV blades and the strong air convection from the chimney effect have a great impact on the flight control of the UAV. Although the traditional linear control PID flight control algorithm has been widely used and can meet the requirements of general flight tasks, it cannot guarantee the stability of the system over a wide range. The inspection of a diversion line in an enclosed space requires high system stability and robustness of the UAV controller. In this paper, a hybrid stabilised adaptive backstepping control method is proposed. Firstly, a multi-rotor UAV model is analysed and transformed into a strict feedback form with external disturbances; then adaptive techniques are used to estimate the airflow disturbances caused by the blades, and the attitude and position tracking controllers are designed by combining backstepping control and PID control respectively; finally, the asymptotic stability of the system is ensured by constructing a Lyapunov function. The experimental data show that the flight controller designed in this paper has good robustness and tracking performance, and can better resist the disturbance caused by airflow disturbance in confined space.

Index Terms:
UAV, penstock, airflow disturbance, adaptive backstepping control

I Introduction

In recent years, compared with fixed-wing UAVs, multi-rotor UAVs have unique flight capabilities such as vertical takeoff and landing and hovering in the air. It has been widely used in agriculture, industry, military, civil civil applications such as search and rescue [1, 2], disaster response [3, 4], safety monitoring [5, 6], infrastructure inspection [7, 8], precision agriculture [9, 10], exploration and mapping [11, 12]. The rapid development of multi-rotor UAVs has played an irreplaceable role in these fields. A multi-rotor UAV is a non-linear system with non-linear, statically unstable, underdynamic, inter-axis coupling, multiple input and multiple output characteristics [13]. A quadrotor UAV has six degrees of freedom when flying in space (displacement motion in three directions in a rectangular coordinate system and rotational motion about three axes of the coordinate system). However, there are only four controllable variable inputs, making the control complex and susceptible to uncertainty. The design and implementation of high quality flight controllers has been a new challenge due to the tedious parameter tuning of non-linear control and the performance analysis involved.

Since the development of multi-rotor aircraft,there are three main types of flight control algorithms: 1) Flight control method based on linear flight control theory [14]; 2) Learning-based flight control method [15]; 3) Model-based nonlinear control method [16]. At present, the flight control of multi-rotor UAV systems mainly adopts linear controller or combined with an optimization algorithm to improve the fast response and steady-state error of control to improve flight control performance. The flight control methods based on linear flight control theory include the classical cascade PID method [17]. Classical cascade PID control algorithms are one of the most successful and widely used control methods, for example, classical PID control  [17], fuzzy PID controller [18], neural network based PID control  [19]. Pixhawk flight control [20] is a cascade PID controller and has achieved a good control effect,which is the most classical and general flight control method at present; The possible reasons are as follows: 1. After tuning, the cascade PID controller can meet the needs of conventional flight missions; 2. The principle of PID controller is intuitive, simple structure and easy to implement; Although the PID controller occupies a high proportion in practical application, it is a single input single output controller designed for hovering balance point, which can meet the requirements of general flight missions, but can not ensure the large-scale stability of the system. In the case of extensive external interference, the nonlinear characteristics of the controlled object will cause the decline of control quality, and the cascade PID controller generally includes multiple control loops. For the new model without setting experience, there are problems of cumbersome parameter setting and strong experience dependence.

With the rapid development of sensors and drone technology, humans can use multi-rotor drones to carry data collection equipment to inspect hard-to-reach areas. For example, the Swiss company flyability’s Elios drone  [21] inspects sewers and performs maintenance on many indoor industrial facilities. A full inspection takes 20-30 minutes, but the drone’s endurance is only 7 minutes. Vijay R. Kumar at the University of Pennsylvania studied the automated flight of drones in dam aqueducts over five years, from semi-autonomous in 2014 to fully automated in 2019 [22, 23, 24, 25].However, the UAVs developed by the team had a short endurance and detected the lower bend and lower horizontal sections of the dam aqueduct, rather than the entire area of the diversion pipeline. In this paper, the entire area of the Three Gorges Hydropower Station diversion pipeline was inspected. The automatic inspection area includes:

  • Lower horizontal section.

  • Lower bend section.

  • Oblique straight section.

  • Upper bend section.

  • Upper flat section.

The presence of strong air convection from the chimney effect and turbulent wind fields caused by the rotation of the UAV blades inside the hydropower station’s diversion pipes can cause significant disruption to the UAV’s flight control. A high quality controller with solid stability and robustness over a wide range needs to be designed for the UAV.As the GPS signal is shielded in the confined space of the diversion pipeline, the positioning of the UAV depends on sensors such as LIDAR, optical flow and IMU. The navigation method on UAV positioning is not the focus of this paper and is not described in detail in this paper. In this paper, a high quality controller based on a hybrid stabilisation method with adaptive backstepping control is proposed. First, a model of a quadrotor UAV is developed and transformed into a strict feedback form with uncertainty. Then, an adaptive method is used to estimate the upper limit of delay due to large airflow disturbances and an adaptive backstepping controller is designed for attitude loop control. a PID controller is used to control the altitude and position of the aircraft. Finally, the stability of the closed-loop system is analysed in conjunction with Lyapunov stability theory. A dual closed-loop controller with an inner-loop attitude and an outer-loop position achieves hybrid stability-enhanced control of a multi-rotor UAV.

II Basic Model of Multi-rotor UAV

The quadrotor UAV is the most typical multi-rotor UAV and the dynamics model of the quadrotor UAV is used as an example in this paper.The quadrotor UAV can establish body coordinate system 𝑩(Obxbybzb)\bm{B}(O_{b}-x_{b}y_{b}z_{b}) and geographic coordinate system 𝑬(Oexeyeze)\bm{E}(O_{e}-x_{e}y_{e}z_{e}). In the body coordinate system, the coordinate origin (Ob)(O_{b}) is located in the center of mass of the drone. The axis xbx_{b} and axis yby_{b} point to the center of the propellers 1 and 2 respectively, and the axis (zb)(z_{b}) is oriented perpendicular to the plane upwards, as shown in Fig 1(a). In the geographic coordinate system, the coordinate origin OeO_{e} is located at the takeoff point of the quadrotor UAV, and the positive direction of (xe,ye,ze)(x_{e},y_{e},z_{e}) can be recorded as the north, east and up respectively, as shown in Fig 1(b).

Refer to caption
(a) The body coordinate system.
Refer to caption
(b) The geographic coordinate system.
Figure 1: The body coordinate system and the geographic coordinate system of the UAV.

The position and attitude of the drone in the geographic coordinate system are 𝝃=[x,y,z]T\bm{\xi}=[x,y,z]^{T} and 𝜼=[ϕ,θ,ψ]T\bm{\eta}=[\phi,\theta,\psi]^{T}, where the roll angle (ϕ)(\phi), pitch angle (θ)(\theta), and yaw angle (ψ)(\psi) of the drone are represented, respectively. In the body frame, the four-rotor UAV’s line velocity and angular velocity are represented by 𝒗=[vx,vy,vz]T\bm{v}=[v_{x},v_{y},v_{z}]^{T} and ϖ=[ϖxb,ϖyb,ϖzb]T\bm{\varpi}=[\varpi_{xb},\varpi_{yb},\varpi_{zb}]^{T}.

Then, the kinematic model of the quadrotor UAV can be represented as:

{𝝃˙=Rt𝒗𝜼˙=Rtϖ\left\{\begin{array}[]{@{}l}\dot{\bm{\xi}}=R_{t}\bm{v}\\ \dot{\bm{\eta}}=R_{t}\bm{\varpi}\end{array}\right. (1)

Among them, the line velocity transfer matrix RtR_{t} indicates the rotation relationship of the body coordinate system relative to the geographical coordinate system, and the angular velocity transfer matrix RrR_{r} represents the rotational relationship between the velocity vector and Euler angular velocity in the body coordinate system.The velocity vector is ϖ=[ϖxb,ϖyb,ϖzb]T\bm{\varpi}=[\varpi_{xb},\varpi_{yb},\varpi_{zb}]^{T} and the Euler angular velocity is 𝜼˙=[ϕ˙,θ˙,ψ˙]T\dot{\bm{\eta}}=[\dot{\phi},\dot{\theta},\dot{\psi}]^{T}. According to the literature [26, 27], the specific expressions RtR_{t}, RrR_{r} are (2) and (3):

Rt=[cθcψsϕsθcψcϕsψcϕsθcψ+sϕsψcθsψsϕsθcψ+cϕsψcϕsθcψsϕsψsθsϕcθcϕcθ]R_{t}=\begin{bmatrix}c\theta c\psi&s\phi s\theta c\psi-c\phi s\psi&c\phi s\theta c\psi+s\phi s\psi\\ c\theta s\psi&s\phi s\theta c\psi+c\phi s\psi&c\phi s\theta c\psi-s\phi s\psi\\ -s\theta&s\phi c\theta&c\phi c\theta\\ \end{bmatrix} (2)
Rr=[10sθ0cϕcθsϕ0sϕcθcϕ]R_{r}=\begin{bmatrix}1&0&-s\theta\\ 0&c\phi&c\theta s\phi\\ 0&-s\phi&c\theta c\phi\end{bmatrix} (3)

Among them, cθc\theta is cosθ\cos\theta, cψc\psi is cosψ\cos\psi, cϕc\phi is cosϕ\cos\phi, sθs\theta is sinθ\sin\theta, sψs\psi is sinψ\sin\psi, sϕs\phi is sinϕ\sin\phi.

The kinematic model of the multi rotor UAV is composed of translational motion and rotation. As shown in formula (1), it represents the motion characteristics of the position and attitude of the multi rotor UAV. However, the kinematic equations only reflect changes in the state of motion of the UAV and do not include the force and moment factors that cause the changes in motion, such as strong air convection due to the chimney effect and turbulent wind field perturbations due to paddle rotation in the diversion pipeline.The flight controller of UAV needs a dynamic model to describe the motion including wind disturbance. Assuming that the drone is a rigid body and the center of mass is the origin of the body coordinate system, ignoring the gyro effect of the blade, the translation equation and rotation equation are finally established from Newtonian mechanics or Euler Lagrange equation, such as literature [27, 26].The dynamic model of four rotor UAV is shown in equations (4) and (5):

{mx¨=u1(cψsθcϕ+sψsϕ)Kfx˙my¨=u1(sψsθcϕsψsϕ)Kfy˙mz¨=u1cθcϕKfz˙g\left\{\begin{array}[]{@{}l}m\ddot{x}=u_{1}(c\psi s\theta c\phi+s\psi s\phi)-K_{f}\dot{x}\\ m\ddot{y}=u_{1}(s\psi s\theta c\phi-s\psi s\phi)-K_{f}\dot{y}\\ m\ddot{z}=u_{1}c\theta c\phi-K_{f}\dot{z}-g\end{array}\right. (4)
{Ixϕ¨=θ˙ψ˙(IyIz)+Jrθ˙Ωr+lu2dϕIyθ¨=θ˙ϕ˙(IzIx)Jrϕ˙Ωr+lu3dθIzψ¨=θ˙ϕ˙(IxIy)+lu4dψ\left\{\begin{array}[]{@{}l}I_{x}\ddot{\phi}=\dot{\theta}\dot{\psi}(I_{y}-I_{z})+J_{r}\dot{\theta}\Omega_{r}+lu_{2}-d_{\phi}\\ I_{y}\ddot{\theta}=\dot{\theta}\dot{\phi}(I_{z}-I_{x})-J_{r}\dot{\phi}\Omega_{r}+lu_{3}-d_{\theta}\\ I_{z}\ddot{\psi}=\dot{\theta}\dot{\phi}(I_{x}-I_{y})+lu_{4}-d_{\psi}\end{array}\right. (5)

Among them, l is the distance between the quadrotor center of mass and the rotation axis of propeller, mm is the total load weight of the UAV; IxI_{x}, IyI_{y}, IzI_{z} are the rotational inertia around each axis; KfK_{f} is the wind disturbance coefficient;JrJ_{r} is the total rotational inertia of the entire motor rotor and propeller around the body’s rotational axis;di(i=/phi,/theta,/psi)istheairflowdisturbancemomentd_{i}(i=/phi,/theta,/psi)istheairflowdisturbancemoment; u1u_{1} is the total thrust of the UAV, u2u_{2} is the roll motion control torque, u3u_{3} is the pitch motion control torque, u4u_{4} is the yaw motion control torque.Ωr\Omega_{r} is the combined speed of each rotor of the drone, it satisfy the following relationship:

Ωr=ϖ1ϖ3+ϖ2+ϖ4\Omega_{r}=-\varpi_{1}-\varpi_{3}+\varpi_{2}+\varpi_{4} (6)

The flight control algorithm of the UAV can be divided into internal and external rings, including the attitude ring and position ring, as shown in Figure 2.

Refer to caption
Figure 2: Flight control algorithm structure

Corresponding dividing the formula (4) and (5) into two-part subsystems

{mx¨=u1(cψsθcϕ+sψsϕ)Kfx˙my¨=u1(sψsθcϕsψsϕ)Kfy˙\left\{\begin{array}[]{@{}l}m\ddot{x}=u_{1}(c\psi s\theta c\phi+s\psi s\phi)-K_{f}\dot{x}\\ m\ddot{y}=u_{1}(s\psi s\theta c\phi-s\psi s\phi)-K_{f}\dot{y}\end{array}\right. (7)
{mz¨=u1cθcϕKfz˙gIxϕ¨=θ˙ψ˙(IyIz)+Jrθ˙Ωr+lu2dϕIyθ¨=ψ˙ϕ˙(IzIx)Jrϕ˙Ωr+lu3dθIzψ¨=θ˙ϕ˙(IxIy)+lu4dψ\left\{\begin{array}[]{@{}l}m\ddot{z}=u_{1}c\theta c\phi-K_{f}\dot{z}-g\\ I_{x}\ddot{\phi}=\dot{\theta}\dot{\psi}(I_{y}-I_{z})+J_{r}\dot{\theta}\Omega_{r}+lu_{2}-d_{\phi}\\ I_{y}\ddot{\theta}=\dot{\psi}\dot{\phi}(I_{z}-I_{x})-J_{r}\dot{\phi}\Omega_{r}+lu_{3}-d_{\theta}\\ I_{z}\ddot{\psi}=\dot{\theta}\dot{\phi}(I_{x}-I_{y})+lu_{4}-d_{\psi}\end{array}\right. (8)

From (7) and (8),it can be seen that the controller consists of two parts: the attitude controller and the position controller.When the total rotor lift u1 is a definite value, the displacement acceleration depends on the magnitude of the attitude angle, so the attitude angle can determine the flight path. Therefore, the general design idea of the control system is:

  • The position controller receives the desired position(xd,yd,zdx_{d},y_{d},z_{d}) and desired yaw(ψd\psi_{d}) from the input and outputs the desired attitude(ϕd,θd\phi_{d},\theta_{d}) and total lift of the UAV(u1u_{1})

  • The attitude controller receives the input desired attitude and outputs the attitude control torque(u2,u3,u4u_{2},u_{3},u_{4}) of the UAV.

  • The motor distribution model and the motor efficiency model convert the total lift control and the attitude control torque (u1,u2,u3,u4u_{1},u_{2},u_{3},u_{4}) of the UAV into the speed of each rotor of the UAV and thus control the motion of the UAV.

The objective of this paper is therefore to design a control law for the control total lift control and the attitude control torque (u1,u2,u3,u4u_{1},u_{2},u_{3},u_{4}) of the UAV

III Design a hybrid stability-increasing controller based on adaptive backstepping

III-A Attitude controller design

The following assumptions are made before designing the controller:

Assumption 1: During the movement of UAVs, (xdx_{d}, ydy_{d}, zdz_{d}), (ϕd\phi_{d}, θd\theta_{d}, ψd\psi_{d}) are continuously steerable.

Assumption 2: For the airflow disturbance moment uncertain term did_{i} (i=ϕ,θ,ψi=\phi,\theta,\psi), there is a constant ri>0r_{i}>0, so that |di|ri|d_{i}|\leqslant r_{i}

(1)Pitch angle subsystem design:

Firstly,the pitch angle equation of state model in the dynamics model equation (5) is transformed into a strict feedback form so that it meets the backstepping controller design requirements.

{x1=θx2=θ˙\left\{\begin{array}[]{@{}l}{x_{1}}=\theta\\ {x_{2}}=\dot{\theta}\end{array}\right. (9)
{x1˙=x2x2˙=a1U3+fθ+dθ\left\{\begin{array}[]{@{}l}\dot{x_{1}}=x_{2}\\ \dot{x_{2}}=a_{1}U_{3}+f_{\theta}+d_{\theta}\end{array}\right. (10)

Among them, a1=lIya_{1}=\frac{l}{I_{y}}, fθ=ϕ˙ψ˙(IzIz)Iy+JrIyϕ˙Ωr{f}_{\theta}=\dot{\phi}\dot{\psi}\frac{(I_{z}-I_{z})}{I_{y}}+\frac{J_{r}}{I_{y}}\dot{\phi}\Omega_{r}

The tracking error of the roll angle is:

e1=θdθ\mathrm{e}_{1}=\theta_{d}-\theta (11)

There is the derivative for the error e1\mathrm{e}_{1}:

e1˙=θd˙θ˙\dot{\mathrm{e}_{1}}=\dot{\theta_{d}}-\dot{\theta} (12)

This paper constructs Lyapunov functionV1V_{1}:

V1=12e12V_{1}=\frac{1}{2}\mathrm{e}_{1}^{2} (13)

There is the derivative for the V1V_{1}:

V1˙=e1e1˙=e1(θd˙θ˙)\dot{V_{1}}=\mathrm{e}_{1}\dot{\mathrm{e}_{1}}=\mathrm{e}_{1}(\dot{\theta_{d}}-\dot{\theta}) (14)

To ensure the stability of the system, i.e. V1˙<0\dot{V_{1}}<0, introduce the virtual control quantity xvx_{v}.

xv=c1e1+θd˙x_{v}=c_{1}\mathrm{e}_{1}+\dot{\theta_{d}} (15)

where c1c_{1} is a positive constant and there is an error between xvx_{v} and x2x_{2}, noted as e2\mathrm{e}_{2}.

e2=x2xv=c1e1e1˙\mathrm{e}_{2}=x_{2}-x_{v}=-c_{1}\mathrm{e}_{1}-\dot{\mathrm{e}_{1}} (16)

To ensure the stability of the system V1V_{1} at e1\mathrm{e}_{1} = 0, this paper constructs another the Lyapunov function V2V_{2}:

V2=V1+12e22+12β1r1~2V_{2}=V_{1}+\frac{1}{2}\mathrm{e}_{2}^{2}+\frac{1}{2\beta_{1}}\tilde{r_{1}}^{2} (17)

In the formula (17), r1^\hat{r_{1}} is the estimation of r1r_{1}, r1~\tilde{r_{1}} is the estimation error of r1r_{1}(r1~=r1r1^\tilde{r_{1}}=r_{1}-\hat{r_{1}}), β1\beta_{1} is a positive adaptive constant.

There is the derivative for the Lyapunov function V2V_{2}:

V2˙\displaystyle\dot{V_{2}} =V1˙+e2e2˙1β1r1~r1^˙\displaystyle=\dot{V_{1}}+\mathrm{e}_{2}\dot{\mathrm{e}_{2}}-\frac{1}{\beta_{1}}\tilde{r_{1}}\dot{\hat{r_{1}}}
=c1e12+e2(x2˙e1xv˙)1β1r1~r1^˙\displaystyle=-c_{1}\mathrm{e}_{1}^{2}+\mathrm{e}_{2}(\dot{x_{2}}-\mathrm{e}_{1}-\dot{x_{v}})-\frac{1}{\beta_{1}}\tilde{r_{1}}\dot{\hat{r_{1}}}
=c1e12+e2(a1U3+fθ+dθe1xv˙)1β1r1~r1^˙\displaystyle=-c_{1}\mathrm{e}_{1}^{2}+\mathrm{e}_{2}(a_{1}U_{3}+f_{\theta}+{d_{\theta}}-\mathrm{e}_{1}-\dot{x_{v}})-\frac{1}{\beta_{1}}\tilde{r_{1}}\dot{\hat{r_{1}}} (18)

In order to ensure the stability of the pitch angle subsystem,i.e. V2˙<0\dot{V_{2}}<0, the control law of the pitch angle controller is designed as formula (19).

{U3=1a1(e1+xv˙fθdθ^c2e2)dϕ^˙=β1e2\left\{\begin{array}[]{@{}l}U_{3}=\frac{1}{a_{1}}(\mathrm{e}_{1}+\dot{x_{v}}-f_{\theta}-\hat{d_{\theta}}-c_{2}\mathrm{e}_{2})\\ \dot{\hat{d_{\phi}}}=\beta_{1}\mathrm{e}_{2}\end{array}\right. (19)

Where, β1>0\beta_{1}>0, c1>0c_{1}>0, c2>0c_{2}>0. Substituting the above control law equation (19) into equation (17) yields:

V2˙=c1e12c2e220\dot{V_{2}}=-c_{1}\mathrm{e}_{1}^{2}-c_{2}\mathrm{e}_{2}^{2}\leqslant 0 (20)

Therefore,from Lyapunov stability theory, the pitch angle controller subsystem designed in this paper is stable.

(3)Design of roll angle controller and yaw angle controller subsystems

Based on formulas (7) and (8), The Roll control torque u2u_{2} and yaw control torque u4u_{4} can be designed:

{U2=1a2(e3+x2v˙fϕdϕ^c4e4)dϕ^˙=β2e4\left\{\begin{array}[]{@{}l}U_{2}=\frac{1}{a_{2}}(\mathrm{e}_{3}+\dot{x_{2v}}-f_{\phi}-\hat{d_{\phi}}-c_{4}\mathrm{e}_{4})\\ \dot{\hat{d_{\phi}}}=\beta_{2}\mathrm{e}_{4}\end{array}\right. (21)
{U4=1a3(e5+x3v˙fψdψ^c6e6)dψ^˙=β3e6\left\{\begin{array}[]{@{}l}U_{4}=\frac{1}{a_{3}}(\mathrm{e}_{5}+\dot{x_{3v}}-f_{\psi}-\hat{d_{\psi}}-c_{6}\mathrm{e}_{6})\\ \dot{\hat{d_{\psi}}}=\beta_{3}\mathrm{e}_{6}\end{array}\right. (22)

In the formula (21)and (22) , the expected roll angle and yaw angle are ϕd\phi_{d} and ψd\psi_{d}. The tracking error is e3=ϕdϕ\mathrm{e}_{3}=\phi_{d}-\phi, e5=ψdψ\mathrm{e}_{5}=\psi_{d}-\psi, :

V3=12e32+12e42+12β2r2~2,V4=12e52+12e62+12β3r3~2V_{3}=\frac{1}{2}\mathrm{e}_{3}^{2}+\frac{1}{2}\mathrm{e}_{4}^{2}+\frac{1}{2\beta_{2}}\tilde{r_{2}}^{2},\quad V_{4}=\frac{1}{2}\mathrm{e}_{5}^{2}+\frac{1}{2}\mathrm{e}_{6}^{2}+\frac{1}{2\beta_{3}}\tilde{r_{3}}^{2} (23)

Refer to the analysis process of V2V_{2} above, and we can get:

V3˙c3e32c4e420,V4˙c5e52c6e620\dot{V_{3}}\leqslant-c_{3}\mathrm{e}_{3}^{2}-c_{4}\mathrm{e}_{4}^{2}\leqslant 0,\quad\dot{V_{4}}\leqslant-c_{5}\mathrm{e}_{5}^{2}-c_{6}\mathrm{e}_{6}^{2}\leqslant 0 (24)

In the formula (24), e4=c3e3e3˙\mathrm{e}_{4}=-c_{3}\mathrm{e}_{3}-\dot{\mathrm{e}_{3}}, e6=c5e5e5˙\mathrm{e}_{6}=-c_{5}\mathrm{e}_{5}-\dot{\mathrm{e}_{5}}, c3c_{3}, c4c_{4}, c5c_{5}, c6>0c_{6}>0, so the attitude subsystem is asymptotically stable.

III-B Position PID controller design

The stability controller designed in this paper uses a double closed-loop structure: PID control for the height and horizontal position of the UAV and the backstepping adaptive control for the attitude control of the UAV.

Taking P=(xd,yd,zd,ψd)P=(x_{d},y_{d},z_{d},\psi_{d}) input control parameters, three virtual control parameters (Ux,Uy,Uz)(U_{x},U_{y},U_{z}) can be obtained:

Ux=Kpx(xdx)+Kdx(xdx)U_{x}=K_{px}(x_{d}-x)+K_{dx}(x^{\prime}_{d}-x^{\prime}) (25)
Uy=Kpy(ydy)+Kdy(ydy)U_{y}=K_{py}(y_{d}-y)+K_{dy}(y^{\prime}_{d}-y^{\prime}) (26)
Uz=Kpz(zdz)+Kdz(zdz)U_{z}=K_{pz}(z_{d}-z)+K_{dz}(z^{\prime}_{d}-z^{\prime}) (27)

To make full use of acceleration information and strengthen adjustment, this article adopts the following form:

Ux=Kpx(xdx)+kdx(xdx)+Kddxx′′U_{x}=K_{px}(x_{d}-x)+k_{dx}(x^{\prime}_{d}-x^{\prime})+K_{ddx}x^{\prime\prime} (28)
Uy=Kpy(ydy)+kdy(ydy)+Kddxy′′U_{y}=K_{py}(y_{d}-y)+k_{dy}(y^{\prime}_{d}-y^{\prime})+K_{ddx}y^{\prime\prime} (29)
Uz=Kpz(zdz)+kdz(zdz)+Kddxz′′U_{z}=K_{pz}(z_{d}-z)+k_{dz}(z^{\prime}_{d}-z^{\prime})+K_{ddx}z^{\prime\prime} (30)

Taking (Ux,Uy,Uz)(U_{x},U_{y},U_{z}) as the resultant force in the three-axis directions of the E(X,Y,Z)E(X,Y,Z) system, from Newton’s second law, the following formula can be obtained:

[00mg]+Rt[00u1]=m[axayaz]\begin{bmatrix}0\\ 0\\ mg\end{bmatrix}+R_{t}\begin{bmatrix}0\\ 0\\ u_{1}\end{bmatrix}=m\begin{bmatrix}a_{x}\\ a_{y}\\ a_{z}\end{bmatrix} (31)

From the above formula (31):

[axayaz]=1m[(cϕsθcψ+sϕsψ)u1(cϕsθsψsϕcψ)u1cϕcθu1mg]\begin{bmatrix}a_{x}\\ a_{y}\\ a_{z}\end{bmatrix}=\frac{1}{m}\begin{bmatrix}(c\phi s\theta c\psi+s\phi s\psi)u_{1}\\ (c\phi s\theta s\psi-s\phi c\psi)u_{1}\\ c\phi c\theta u_{1}-mg\end{bmatrix} (32)

Then the three-axis resultant force is:

[UxUyUz]=1m[(cϕsθcψ+sϕsψ)u1(cϕsθsψsϕcψ)u1cϕcθu1mg]\begin{bmatrix}U_{x}\\ U_{y}\\ U_{z}\end{bmatrix}=\frac{1}{m}\begin{bmatrix}(c\phi s\theta c\psi+s\phi s\psi)u_{1}\\ (c\phi s\theta s\psi-s\phi c\psi)u_{1}\\ c\phi c\theta u_{1}-mg\end{bmatrix} (33)

For the UAV inspection process, the UAV always keeps the nose still, that is, ψd\psi_{d} is a fixed value, which can be inversely solved to obtain:

u1=mUx2+Uy2+(Uz+g)2u_{1}=m\sqrt{U_{x}^{2}+U_{y}^{2}+(U_{z}+g)^{2}} (34)
θd=arcsin[Uxmu1sϕdsψd]u1cψdcϕd\theta_{d}=\frac{\arcsin[U_{x}m-u_{1}s\phi_{d}s\psi_{d}]}{u_{1}c\psi_{d}c\phi_{d}} (35)
ϕd=arcsin[UxsψdUycψd]mu1\phi_{d}=\arcsin[U_{x}s\psi_{d}-U_{y}c\psi_{d}]\frac{m}{u_{1}} (36)

In the process of controlling the pitch angle to move along the x-axis, it can be assumed that the pitch (ψ)(\psi) and yaw (ϕ)(\phi) angles of the UAV are fixed at this time, so ax=(f1sinθf2)u1ma_{x}=(f_{1}\sin\theta-f_{2})\frac{u_{1}}{m}, where f1=cϕdcψdf_{1}=c\phi_{d}c\psi_{d}, f2=sϕdsψdf_{2}=s\phi_{d}s\psi_{d}, both are constants, then

θ\displaystyle\theta =arcsin{u1m[f1[Kpx(xdx)+Kix(xdx)dt+Kdxxd˙\displaystyle=\arcsin\bigg{\{}\frac{u_{1}}{m}\bigg{[}f_{1}\bigg{[}K_{px}(x_{d}-x)+K_{ix}\int(x_{d}-x)dt+K_{dx}\dot{x_{d}}
x˙)]+f2]}\displaystyle\quad~{}-\dot{x})\bigg{]}+f_{2}\bigg{]}\bigg{\}} (37)

For the process of controlling the roll angle along the y-axis direction, a derivation similar to the above can be done, and this article will not repeat it.

For the height control of the UAV, the PID control is linear, and the tracking error is e7=zdz\mathrm{e}_{7}=z_{d}-z, where zdz_{d} is the desired height, then:

az=1mcϕcθu1ga_{z}=\frac{1}{m}c\phi c\theta u_{1}-g (38)

Where gg represents the local acceleration of gravity, when the drone is hovering, the pitch and roll angles of the drone are 0, which can be simplified to:

az=u1mga_{z}=\frac{u_{1}}{m}-g (39)

From the above formula, the height direction control input is:

u1=[Kpz(zdz)+Kiz(zdz)dt+Kdz(zd˙z˙)]mgu_{1}=[K_{pz}(z_{d}-z)+K_{iz}\int(z_{d}-z)\mathrm{d}t+K_{dz}(\dot{z_{d}}-\dot{z})]-mg (40)

According to the above attitude loop design functions (19) (21) (22) and Lyapunov function proof of the stability , combined with the position and height loop design functions (35)(36)(40), a high-quality UAV controller in a confined space is finally obtained.

IV Experiment

This paper uses a self-assembled multi-rotor UAV as the airborne platform. The flight control uses CuavV5+, and the attitude loop is rewritten based on the open-source APM firmware. The attitude loop controller adopts the adaptive backstepping control method described above. The drone’s airborne platform is equipped with Velodyne16 lidar for environmental information perception. The Insta360-OneX2 camera collects image information for 3D pipeline reconstruction and defect recognition; The onboard processor of DJI Manifold 2-C is used for multi-sensor fusion and navigation, VIJIM-VL66 fill light enhances lighting, and other equipment, as shown in Figure 3 below. The water pipe diameter is 12.4 m, and the elevation is 64.3 m. The specific details of the model are shown in Figure 4 below.

Refer to caption
Figure 3: Schematic diagram of drone equipment
Refer to caption
Figure 4: Diversion pipeline model of hydropower station

The experimental scenario in this paper is a water diversion pipeline of a hydropower station, and the inside of the water diversion pipeline is GPS rejection space. The GPS position cannot be obtained as the true value to compare the control effects of the position loop controller. In order to obtain the actual reference value of the position loop controller, the test is carried out under the condition of outdoor wind force 5 (wind speed 8m//s-10m//s), and the expected position and actual position of the position ring are compared, as shown in Figure 5 below. This paper uses the following three parameters to evaluate the position loop control effect: 1. The average value of the tracking error of the position loop is the average value of the difference between the expected position and the actual position; 2. The standard deviation of the tracking error; 3. The tracking error The percentage of the mean value of the actual position relative to the mean value of the actual position. The position loop’s x-direction and y-direction horizontal directions use the same parameters. This article uses the x-direction expected position and actual position to compare the control effect in the horizontal direction. The comparison diagram of the horizontal desired position and the actual position is shown in Figure 6(a). The percentage of the tracking error relative to the average actual position is shown in Figure 6(c). The comparison chart between the desired height position and the actual height position is shown in 6(b) below, the percentage of the tracking error relative to the average actual position, As shown in Figure 6(d).

Refer to caption
Figure 5: Comparison of expected and actual positions of drones
Refer to caption
Figure 6: Comparison of tracking errors in the horizontal direction and the height direction
TABLE I: The evaluation index of the position loop control effect in the horizontal direction
Mean tracking error(/m) The standard deviation of tracking error The percentage of the mean value of the tracking error relative to the mean value of the actual position
Takeoff 0.1228 0.1225 1.3%
Flight 0.0444 0.0872 0.47%
Land 0.272 0.522 2.88%
TABLE II: Evaluation index of position loop control effect in the height direction
Mean tracking error(/m) The standard deviation of tracking error The percentage of the mean value of the tracking error relative to the mean value of the actual position
Takeoff 1.665 0.3218 26.67%
Flight 0.204 0.1067 3.26%
Land 0.337 0.2349 5.43%

This article divides the drone’s flight into three stages: 1. 0–200 s is the takeoff phase; 2. 200–1250 s is the flight phase; 3. 1250–1500 s is the landing phase. The z-direction starts to be pulled up to the desired height while keeping the x-direction motionless; during the landing phase, the z-direction gradually reduces the desired height to 0 and keeps the x-direction still.As can be seen from figures 5 and 6, even in the case of level 5 wind interference, the actual position of the drone and the desired position follow better in the flight phase, the drone achieves an ideal control effect. During the takeoff and landing phases, the drone will have large fluctuations that will likely cause the UAV to roll over, which is a relatively dangerous moment. From Tables I and II, it can be seen that the tracking error in the takeoff and landing phases is large, and the tracking error in the Z direction is bigger than that in the X-direction. For the x-direction, the desired position during the takeoff phase is always 0, and the drone’s position during the unlocked takeoff will have a sudden change. The drone’s position during the landing phase will be unstable and fluctuate to a certain extent, resulting in large errors. The UAV can fly smoothly during the flight phase. The mean value and standard deviation of the tracking error are small, providing a better guarantee for the UAV attitude loop control. For the Z direction, in the UAV before unlocking, its desired position is 2 m, and the actual position of the drone is about 0.5 m. After the drone is unlocked, its desired position becomes 8m, and then it is pulled up to 9 m, and the corresponding drone will climb upward, which gradually reaches the desired position. As a result, the difference between the desired position in the climbing phase and the actual position in the z-direction is large, and the average tracking error is enormous. In the flight phase, the UAV has better followability, with the three evaluation indicators of the attitude control loop are all small, and can achieve the desired control effect. The three evaluation indicators in the landing phase are smaller than those in the takeoff stage. The positioning error mainly causes the tracking error in the height direction of the UAV.

In this paper, the flight data inside the water pipeline of the Three Gorges Hydropower Station is used to evaluate the control effect of the attitude loop. When taking off, the wind speed at a distance of 2m around the UAV measured by the anemometer is about 6.5m/s.Three parameters similar to the evaluation of the position loop are used as evaluation indicators for the evaluation of the attitude loop control effect: 1. the mean value of the attitude loop’s tracking error is the mean value of the difference between the expected attitude and the actual attitude; 2. the standard deviation of the attitude tracking error; 3. the percentage of the average attitude tracking error relative to the actual average attitude. As shown in Table III below, it is the evaluation index of the attitude loop control effect.

TABLE III: Evaluation index of the position loop control effect in the height direction
Mean value of attitude tracking error (/deg) The standard deviation of attitude tracking error The percentage of the average tracking error relative to the average actual attitude
pitch 0.028 0.3218 0.16%
roll 0.037 0.1067 0.32%
yaw 0.193 0.2349 0.62%
Refer to caption
Figure 7: Comparison of UAV attitude tracking error

From the comparison of the expected attitude and the actual attitude in Figure 7 , the pitch angle and roll angle follow better, the mean value and standard deviation of the tracking error are small. The tracking error of the yaw angle is more extensive, and the convergence speed is relatively slow. This is because penstocks splice the water pipeline of the Three Gorges Hydropower Station, and there is a strong magnetic shield inside the pipeline. The magnetometer carried by the drone fails. This paper uses the yaw estimated by the RCFIC algorithm. The yaw has a specific error, so the yaw direction control’s tracking error and standard deviation are larger than the pitch and roll angles. In order to avoid the tracking error fluctuation of the UAV’s yaw from causing interference to the flight of the UAV, it is necessary to keep the UAV’s yaw constant during the flight. From an overall point of view, the adaptive backstepping control adopted by the attitude loop controller has a better effect. Although there is a large airflow disturbance in the enclosed space of the water pipeline, the dynamic response is still good, and the overshoot and fluctuation of the actual position are slight. Realize the smooth flight of the UAV in the water diversion pipeline.

V Conclusion

When the multi-rotor UAV is inspecting the water diversion pipeline of the hydropower station, because of the problem that the airflow caused by the rotation of the UAV blade has a greater impact on the flight motion, this paper proposes a hybrid stabilized flight algorithm with adaptive backstepping control. The algorithm designs the outer loop position controller into a PID controller, and the inner loop controller adopts adaptive backstepping control, which achieves hybrid stability enhancement by combining the two. The interior of the Three Gorges Hydropower Station is GPS-rejected space, and GPS positioning and navigation cannot be carried out, so the outer loop controller test was performed outdoors. The interior of the Three Gorges Hydropower Station is GPS-rejected space, and GPS positioning and navigation cannot be carried out, so the outer loop controller test was performed outdoors. Comparing the actual position of the GPS positioning and navigation system with the expected position, from the horizontal and altitude evaluation indicators in Table I and Table II, it can be seen that the real-time followability and error fluctuation of the UAV during the flight phase are slight. In contrast, during the takeoff and landing phases, the tracking error of the drone is relatively large, which is a dangerous phase in the drone’s flight. In this paper, the attitude loop controller is tested in the water diversion pipeline of the Three Gorges Hydropower Station. The tracking attitude error of the pitch and roll angles is small. Due to the failure of the magnetic compass carried by the UAV, the yaw angle estimated by the RCFIC algorithm is used. There is a certain error, so the tracking attitude error and standard deviation of the yaw angle are relatively large. The water pipeline of the hydropower station is a confined space, the rotation of the blades of the UAV will cause large airflow disturbances during the flight. Still, the adaptive backstepping control hybrid stability control algorithm proposed in this paper can ensure that the UAV dynamic response is still good. The overshoot and fluctuation of the flight position are slight so that the UAV can fly smoothly in the water diversion pipe to reach an ideal robust and stable tracking control.

References

  • [1] E. T. Alotaibi, S. S. Alqefari, and A. Koubaa, “Lsar: Multi-uav collaboration for search and rescue missions,” IEEE Access, 2019.
  • [2] T. Tomic, K. Schmid, P. Lutz, A. Domel, M. Kassecker, E. Mair, I. L. Grixa, F. Ruess, M. Suppa, and D. Burschka, “Toward a fully autonomous uav: Research platform for indoor and outdoor urban search and rescue,” IEEE robotics & automation magazine, 2012.
  • [3] N. E. C. K. R. A. I. F. Erdelj, M., “Help from the sky: Leveraging uavs for disaster management,” IEEE Pervasive Computing, 2017.
  • [4] V. Mayor, R. Estepa, A. Estepa, and G. Madinabeitia, “Deploying a reliable uav-aided communication service in disaster areas,” Wireless Communications & Mobile Computing, 2019.
  • [5] N. H. Motlagh, M. Bagaa, and T. Taleb, “Uav-based iot platform: A crowd surveillance use case,” Ieee Communications Magazine, 2017.
  • [6] J. L. Sun, F. Liu, Y. Z. Zhou, G. Gui, T. Ohtsuki, S. Guo, and F. Adachi, “Surveillance plane aided air-ground integrated vehicular networks: Architectures, applications, and potential,” Ieee Wireless Communications, 2020.
  • [7] A. K. . Khattak S, Papachristos C, “Change detection and object recognition using aerial robots,” International Symposium on Visual Computing., 2016.
  • [8] Y. P. Ma, Q. W. Li, L. L. Chu, Y. Q. Zhou, and C. Xu, “Real-time detection and spatial localization of insulators for uav inspection based on binocular stereo vision,” Remote Sensing, 2021.
  • [9] V. Puri, A. Nayyar, and L. Raja, “Agriculture drones: A modern breakthrough in precision agriculture,” Journal of Statistics & Management Systems, 2017.
  • [10] C. Potena, R. Khanna, J. Nieto, R. Siegwart, D. Nardi, and A. Pretto, “Agricolmap: Aerial-ground collaborative 3d mapping for precision farming,” Ieee Robotics and Automation Letters, 2019.
  • [11] T. Dang, S. Khattak, F. Mascarich, K. Alexis, and Ieee, “Explore locally, plan globally: A path planning framework for autonomous robotic exploration in subterranean environments,” in 19th International Conference on Advanced Robotics (ICAR), 2019, Conference Proceedings.
  • [12] S. Khattak, C. Papachristos, and K. Alexis, “Vision-depth landmarks and inertial fusion for navigation in degraded visual environments,” in 13th International Symposium on Visual Computing (ISVC), 2018, Conference Proceedings.
  • [13] B. Rao, A. G. Gopi, and R. Maione, “The societal impact of commercial drones,” Technology in Society, 2016.
  • [14] M. A. Elsadig and M. Elbakri, “Design of autopilot platform using hils approach,” 2017 International Conference on Communication, Control, Computing and Electronics Engineering (ICCCCEE), 2017.
  • [15] Kimathi, Kang’ethe, and Kihato, “Application of reinforcement learning in heading control of a fixed wing uav using x-plane platform,” International Journal of Scientific & Technology Research, vol. 6, pp. 285–290, 2017.
  • [16] R. Wang, L. Gao, C. R. Bai, and H. Sun, “U-model-based sliding mode controller design for quadrotor uav control systems,” Mathematical Problems in Engineering, 2020.
  • [17] Y. Kartal, P. Kolaric, V. Lopez, A. Dogan, and F. Lewis, “Backstepping approach for design of pid controller with guaranteed performance for micro-air uav,” Control Theory and Technology, 2020.
  • [18] J. Dong and B. He, “Novel fuzzy pid-type iterative learning control for quadrotor uav,” Sensors, 2019.
  • [19] S. Islam, P. X. Liu, and A. El Saddik, “Nonlinear adaptive control for quadrotor flying vehicle,” Nonlinear Dynamics, 2014.
  • [20] PIXHAWK. [Online]. Available: http://www.Pixhawk.com
  • [21] “Elios 2 - indoor drone for confined space inspections.” [Online]. Available: http://www.flyability.com
  • [22] T. Ozaslan, S. J. Shen, Y. Mulgaonkar, N. Michael, and V. Kumar, “Inspection of penstocks and featureless tunnel-like environments using micro uavs,” in Field and Service Robotics, ser. Springer Tracts in Advanced Robotics, 2015, Conference Proceedings.
  • [23] T. Özaslan, K. Mohta, J. F. Keller, Y. Mulgaonkar, C. J. Taylor, V. R. Kumar, J. M. Wozencraft, and T. Hood, “Towards fully autonomous visual inspection of dark featureless dam penstocks using mavs,” 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pp. 4998–5005, 2016.
  • [24] T. Özaslan, G. Loianno, J. F. Keller, C. J. Taylor, V. R. Kumar, J. M. Wozencraft, and T. Hood, “Autonomous navigation and mapping for inspection of penstocks and tunnels with mavs,” IEEE Robotics and Automation Letters, 2017.
  • [25] T. Özaslan, G. Loianno, J. F. Keller, C. J. Taylor, and V. R. Kumar, “Spatio-temporally smooth local mapping and state estimation inside generalized cylinders with micro aerial vehicles,” IEEE Robotics and Automation Letters, 2018.
  • [26] P. Castillo, A. Dzul, and R. Lozano, “Real-time stabilization and tracking of a four-rotor mini rotorcraft,” IEEE Transactions on Control Systems Technology, 2004.
  • [27] C. H. Tan, D. S. B. Shaiful, W. J. Ang, S. K. H. Win, and S. Foong, “Design optimization of sparse sensing array for extended aerial robot navigation in deep hazardous tunnels,” IEEE Robotics and Automation Letters, 2019.