Next Article in Journal
Comparative FT-IR Prospecting for Cellulose in Stems of Some Fiber Plants: Flax, Velvet Leaf, Hemp and Jute
Next Article in Special Issue
Emergency Planning for UAV-Controlled Crowd Evacuations
Previous Article in Journal
2D Solid-State HETCOR 1H-13C NMR Experiments with Variable Cross Polarization Times as a Tool for a Better Understanding of the Chemistry of Cellulose-Based Pyrochars—A Tutorial
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Tracking with Adaptive Robust Control for Quadrotor

1
Faculty of Engineering, Sciences and Architecture, Juarez University of the State of Durango, Gómez Palacio 35070, Mexico
2
Faculty of Accounting and Management, Autonomous University of Coahuila, Torreon 27000, Mexico
3
Interdisciplinary Professional Unit of Engineering Campus Coahuila, National Polytechnic Institute (IPN), Mexico City 07310, Mexico
4
Institute of Robotics and Machine Intelligence, Faculty of Control, Robotics and Electrical Engineering, University of Technology, Piotrowo 3a, 60-965 Poznan, Poland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(18), 8571; https://doi.org/10.3390/app11188571
Submission received: 9 August 2021 / Revised: 3 September 2021 / Accepted: 7 September 2021 / Published: 15 September 2021
(This article belongs to the Special Issue Recent Advances in Unmanned Aerial Vehicles)

Abstract

:
This work proposes three robust mechanisms based on the MIT rule and the sliding-mode techniques. These robust mechanisms have to tune the gains of an adaptive Proportional-Derivative controller to steer a quadrotor in a predefined trajectory. The adaptive structure is a model reference adaptive control (MRAC). The robust mechanisms proposed to achieve the control objective (trajectory tracking) are MIT rule, MIT rule with sliding mode (MIT-SM), MIT rule with twisting (MIT-Twisting), and MIT rule with high order sliding mode (MIT-HOSM).

1. Introduction

Unmanned aerial vehicles (UAVs) have a lot of acceptance in the control theory research due to the challenge of getting a stable flight and finding some application to solve some science and engineering problems. Some applications with these unmanned aerial vehicles are: forest fire detection, in civil engineering (topography, analysis structural and others) [1], photogrammetry, and military applications [2], car detection [3] or for landing [4]. We can find different strategies to resolve the trajectory tracking with a quadrotor; for example, ref. [5] was proposed a flight controller with a hierarchical structure designed to control the altitude and the position. The controllers used in [5] are proportional-derivative (PD) and proportional-integral-derivative (PID) with a genetic algorithm method. In [6], a nonlinear system error was proposed for trajectory tracking of a six-degree of freedom quadrotor, and to stabilize the quadrotor attitude a backstepping approach and a nonlinear disturbance observer/sliding mode control approach are used. Likewise, a nonlinear adaptive state feedback technique as presented in [7,8] was applied to an adaptive algorithm for steering a quadrotor in a trajectory with parametric uncertainty. Then, trajectory tracking with a quadrotor is a problem of accuracy in the position, and in [9] a solution based on trajectory planning algorithm with a genetic algorithm (GA) and A * algorithm is presented. On the other hand, in [10] a novel 3D path planning technique to steer a sinusoidal path for a quadrotor is presented.
Some scientific research, before resolving the problem of trajectory tracking with a quadrotor, first resolves the problem of the disturbances acting in unmanned aerial vehicles such as in [11], where an estimator considers the sliding mode techniques to attenuate the translational disturbance. In [12], an optimal controller in a quadrotor is applied considering external perturbations in the system and a quadrotor linear mathematical model is considered; that is, the control law is working in some quadrotor operating pue with input constraints to avoid the external disturbances and even is demonstrated finite-time convergence. In [13], a backstepping control and integral sliding mode is proposed to eliminate external perturbations. A novel multivariable super-twisting algorithm to avoid the chattering effect generated by the integral sliding mode is presented in [13]. On the other hand, in [14], a robust controller to stabilize a quadrotor is proposed; the control law was based on the proportional-derivative control, and to obtain a better flight performance a disturbance compensation was introduced. The mathematical model that defines the UAV in [14] is rotation in SO(3). It is worth mentioning that in [11,12,13,14,15] do not applying any adaptive controller.
Other authors suggest that adaptable techniques are better to stabilize a quadrotor. For instance, in [16] an adaptive controller applied to attitude tracking is presented for an unmanned aerial vehicle to eliminate the adverse effect of measurement noises. Even in [17], a robust adaptive neural network controller is proposed, and is applied to a quadrotor UAV. This control law is not necessary for the prior information of disturbances to stabilize the quadrotor. Meanwhile, in [18] an adaptive backstepping is presented with an extended state observer applied to a quadrotor to follow and maintain trajectory, even if it is subject to external disturbances. The perturbations in [16,17,18] are considered as a noise in the measurement from the sensors that feedback the control law. On the other hand, Ref [19] presented the adaptive tracking control for a quadrotor in different or multiple operating conditions. These conditions are when the quadrotor deals with system uncertainties or unknown parameters; the control objective is to obtain a uniform update law for the controller parameters based on the Model Reference Adaptive Control (MRAC). Otherwise, MRAC modification in [20] is used to catch possibly dangerous UAVs mid-air using a net carried by two drones. The modification proposed in [20] is adding a compensation with a proportional-derivative-integral action to avoid instability of the system due to abrupt changes in altitude. Besides, a comparative between Proportional-Integral-Derivative and MRAC control for a quadrotor to stabilize the Euler angles roll, pitch, and yaw was analyzed in [21]. On the other hand, in [22] neural networks were employed to design an indirect MRAC to work for any quadrotor system. The neural networks have to learn the system parameters online (during the flight), and the challenge is to keep the quadrotor stable during online learning. In [23], it is shown how to apply the sliding mode control theory, MRAC, and the adaptive sliding mode control to design flight controllers for quadrotors; these proposals are evaluated and compared in numerical simulations. In [24], a study of multivariable output feedback MRAC applied to a quadrotor with parameter uncertainties is presented. The feedback solution requires one-third the number of measurements as full state feedback. In [25], a baseline MRAC controller applied to a quadrotor is shown with parameter changes or uncertainty parameters during the quadrotor flight, and the recursive least squares method is used with a forgetting factor to identify or estimate the unknown parameters. Otherwise, to solve the problem of parametric and nonparametric uncertainties in quadrotors, a decentralized adaptive controller with the methodology of Lyapunov and with an MRAC structure is presented in [26]. The controller is applied to achieve the desired angles (yaw, pitch, roll) and the desired altitude. Even in [27], the MRAC is used to try with the uncertainties, but it involves the adaptive control only in the Euler angles defined by the approximation of the quadrotor dynamics.
Then the general problem is the trajectory tracking with a quadrotor, and this implies, based on the research presented before, that a controller is necessary for attitude, position, and with enough robustness for the quadrotor to achieve the desired trajectory for some applications as mentioned at the beginning of this introduction. Thus, we proposed resolving this problem with a robust mechanism for an adaptive control law to steer a quadrotor UAV in a predefined trajectory by equations to obtain an adequate trajectory and avoid some physics singularity of the system in the position and the quadrotor attitude.
Then, the controller in this work is an adaptive proportional-derivative control, starting from the methodologies MIT rule and sliding modes. The MIT rule is the original approach to model-reference adaptive control; the name is from the Instrumentation Laboratory (now the Draper Laboratory) at MIT [28].
Specifically, the main contribution of this work is the robustness in the design of the adjustment mechanism that has to adjust the adaptive gains. With this, we can obtain better results in time convergence, reduce the oscillations in the steering trajectory, and obtain a stable flight during some applications. Several simulations are presented to show that the adaptive control law with a robust adjustment mechanism is effective. Other contributions of this work are
  • The obtention of robust adaptive controller considering a Proportional-Derivative structure.
  • Design only two adjustment mechanisms for two gains and achieve the control objective.
  • The obtention of a robust adjustment mechanism with the use of the sliding mode theory.
  • Achieve the desired trajectory with a reduced aerodynamic model.
  • The modification of the MIT rule is different that that presented in [5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28].
This work is organized as follows: Section 2 shows the equations that define the dynamical model of the quadrotor; Section 3 presents the equation to obtain the desired trajectory and Section 4 presents the adaptive controller and robust mechanisms design. In Section 4.1, the simulation results and an analysis of the error signals and the efforts of the control inputs are shown. Section 5 presents the discussion of this work. Finally, in the Appendix A the stability proof of the adaptive PD controller is presented.

2. Mathematical Model

The mathematical model to describe the quadrotor UAV is in three sets of vectors; the first defines the accelerations, the second defines the Euler rates, and the last vector represents the angular accelerations [29]. Then, the accelerations in the body frame (BF) [30] of the unmanned MAV are given by:
a = a x a y a z = g sin θ g sin ϕ cos θ g cos ϕ cos θ + 2 ( v z w y v y w z ) 2 ( v x w z v z w x ) 2 ( v y w x v x w y ) +
+ 2 m w m ( v y · ( w 1 + w 2 + w 3 + w 4 ) ) 2 m w m ( v y · ( w 1 + w 2 + w 3 + w 4 ) ) 0 + 0 0 1 m b ( w 1 2 + w 2 2 + w 3 2 + w 4 2 )
where g is the gravitational constant, θ is the rotation in the axis-Y, ψ rotation in axis-Z, and ϕ rotation in the axis-X, such rotations correspond to pitch, yaw, and roll, respectively, [29]. The angular velocities are defined as w x , w y , w z and the linear velocity is given by v x , v y , v z about the axis-X, Y and Z, respectively, (see Figure 1). The constant b represents the reaction torque gain coefficient in the Z axis direction, m corresponds to the mass of the vehicle, and m w is the mass of propellers and rotors is equal to m w .
Thus, the second vector defines the Euler rates; these are used to determine the changes in the quadrotor BF, and local system orientation relative to the auxiliary system is SF:
Θ ˙ = ϕ ˙ θ ˙ ψ ˙ = w x + w y sin ϕ tan θ + w z cos ϕ tan θ w y cos ϕ w z sin ϕ w y sin ϕ cos θ + w z cos ϕ cos θ
The last vector represents the angular accelerations in the unmanned MAV; this vector is given by:
Ω ˙ = w x ˙ w y ˙ w z ˙ = 1 I x l · b ( w 4 2 w 2 2 ) 1 I y l · b ( w 3 2 w 1 2 ) 1 I z d ( w 2 2 + w 4 2 w 1 2 w 3 2 )
1 I x ( w y w z ( I z I y ) ) 1 I y ( w x w z ( I x I z ) ) 1 I z ( w x w y ( I y I x ) ) 1 I x ( w y I w ( w 1 + w 2 + w 3 + w 4 ) ) 1 I y ( w x I w ( w 1 + w 2 + w 3 + w 4 ) ) 0
where I w is the inertia moment in the rotor. I x , I y , and I z represent the inertia for the x-axis, y-axis, and z-axis, respectively. l is the length of the unmanned aerial vehicle arm [29]. Figure 2 is presented the 4 thrust forces that act in the unmanned aerial vehicle or quadrotor.
Remark 1.
The vector a as well as the vector Ω ˙ describe the relationship that exist in the local coordinate system BF. Euler rates vector Ω ˙ describes the relationship between systems BF and SF.

3. Trajectory Planner

Before designing the controller is necessary to generate the desired trajectory that must follow the UAV (Unmanned Aerial Vehicle). Then, we have defined a model that represents the acceleration of a particle or solid in the x y axis given by
x ¨ = g ( θ cos ϕ + ϕ sin ψ )
y ¨ = g ( θ sin ψ ϕ cos ψ )
Thus, Equations (6) and (7) can be seen as the reference trajectory that the UAV must achieve. To generate the desired trajectory, it is necessary to define two other equations:
x ¨ c = k p 1 ( x d x ) + k d 1 ( x ˙ d x ˙ ) + x ¨ d
y ¨ c = k p 2 ( y d y ) + k d 2 ( y ˙ d y ˙ ) + y ¨ d
with k p 1 , 2 , k d 1 , 2 > 0 . Finally, with Equations (8) and (9), it is possible to obtain the Euler angles that will be the reference inputs for the control law to move the unmanned aerial vehicle toward the desired trajectory. The equations to obtain desired angles are:
ϕ c = 1 c ( x ¨ c sin ψ d y ¨ c cos ψ d )
θ c = 1 c ( x ¨ c cos ψ d y ¨ c sin ψ d )
ψ c = ψ d
with ϕ c as roll angle reference, θ c and ψ c are the pitch and yaw angle references, respectively.

4. Adaptive Controller and Robust Mechanisms Design

To achieve the desired trajectory by the quadrotor, we have reduced the mathematical model; this can help demonstrate the effectiveness of the robust mechanisms to achieve the control objective despite the reduced mathematical model. The design of the adjustment mechanisms is with the gradient method used by the MIT rule with sliding mode control theory to give robustness to the adjustment mechanisms. The controller is a PD with adaptive gains, and the critical part of this adaptive law is the adjustment mechanism. Then, the control law is given by
u Θ = k ^ p Θ a l ( Θ c ( t ) Θ ( t ) ) k ^ d Θ a l ( Θ ˙ c ( t ) Θ ˙ ( t ) )
with Θ c ( t ) = [ θ c , ϕ c , ψ c ] and Θ ( t ) = [ θ , ϕ , ψ ] . Then, u Θ = u θ , u ϕ , u ψ are the adaptive controllers defined to achieve the desired angles and in consequence attain the desired trajectory. The adaptive proportional gain is given as k ^ p Θ a l and the adaptive derivative gain is k ^ d Θ a l . The acronym ” a l ” is used to indicate the adjustment mechanism that schedules the controller gains ( l 1 , , 4 ):
  • a 1 : The MIT rule.
  • a 2 : The MIT rule with first-order sliding mode (MIT-SM).
  • a 3 : The MIT rule with twisting (MIT-Twisting).
  • a 4 : The MIT rule with high order sliding mode (MIT-HOSM).
The adaptive controller (13) is applied at a reduced model (pure motion Euler angles) obtained fromf Equations (3) and (4). Then, based on the MIT methodology presented in [28], the mathematical model that represents the unmanned aerial vehicle and the adaptive law is defined in a close-loop transfer function and is given by
Θ ( t ) = ( k ^ p Θ a l + k ^ d Θ a l s ) C 2 s 2 + ( C 2 k ^ d Θ a l C 1 ) s + C 2 k ^ p Θ a l Θ c ( t )
In order to avoid redundancy in the definition of (14), let us define, C 2 = 1 I y · l · b when is applied the closed-loop transfer for the pitch angle C 2 = 1 I x · l · b for the roll angle, and C 2 = 1 I z · d for the yaw angle. Furthermore, C 1 is considered such an aerodynamic damping coefficient. Thus, the reference model is:
Θ m c ( t ) = ω n 2 s 2 + 2 ζ ω n s + ω n 2 Θ c ( t )
The adjustment mechanism should minimize a cost function that was defined as
J = 1 2 e Θ m c
with e Θ m c = Θ m c ( t ) Θ ( t ) , and the vector Θ m c ( t ) = [ θ m c , ϕ m c , ψ m c ] Thus, combining (14) with (15) and calculating the partial derivatives with respect to k ^ p Θ a l and k ^ d Θ a l it is obtained
e Θ m c k ^ p Θ a l = C 2 s 2 + ( C 2 k ^ d Θ a l C 1 ) s + C 2 k ^ p Θ a l ( Θ ( t ) Θ m c ( t ) )
e Θ m c k ^ d Θ a l = C 2 s s 2 + ( C 2 k ^ d Θ a l C 1 ) s + C 2 k ^ p Θ a l ( Θ ( t ) Θ m c ( t ) )
In general, the expressions (17) and (18) cannot be used due to the unknown parameters k p Θ a l and k d Θ a l , but let us defined an optimal case given by
s 2 + ( C 1 + C 2 l k ^ d Θ a l ) s + C 2 l k ^ p Θ a l = s 2 + 2 ζ ω n s + ω n 2
After this approximation, the differential equations for the adaptive control law obtained are
k ^ ˙ p Θ a 1 = γ 1 l C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( e Θ m c )
k ^ ˙ v Θ a 1 = γ 2 l s C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( e Θ m c )
From this, we propose a robust adjustment mechanism with the MIT rule and first-order sliding-mode (MIT-SM) [28,31]. Thus, the sliding manifold is defined as σ Θ = Θ ˙ m c ( t ) w l + k Θ e Θ m , where w l = [ w x , w y , w z ] , that is, the sliding-manifold is denoted for the three angle of movement of the unmanned aerial vehicle, thus, w x corresponds to angular rate in x-axis, w y corresponds to angular rate in y-axis, and w x that corresponds to angular rate in z-axis.
k ^ ˙ p Θ a 2 = γ 1 l C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( β p Θ sign ( σ Θ ) )
k ^ ˙ d Θ a 2 = γ 2 l s C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( β v Θ sign ( σ Θ ) )
where the gains β p Θ , β v Θ are defined as positive. The first-order sliding mode generates the undesired chattering effect. Thus, we propose an MIT rule with twisting (MIT-Twisting) to reduce the chattering effect [31]. The twisting technique needs to know the values of σ Θ and σ ˙ Θ , to calculate such variables [32]. It is necessary to define a first-order robust differentiator which is given by:
x ˙ 0 = v 0 = λ 0 | x 0 σ Θ | 1 / 2 sign ( x 0 σ Θ ) + x 1 x ˙ 1 = λ 1 sign ( x 1 v 0 )
where x 0 σ Θ and x 1 σ ˙ Θ . The values of λ 1 , λ 2 > 0 . Then, the differential equations obtained by the MIT rule [28] with twisting technique [31] to obtain a robust adaptive law, are defined as:
k ^ ˙ p Θ a 3 = γ 1 l C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( δ Θ )
k ^ ˙ d Θ a 3 = γ 2 l s C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( δ Θ )
where
δ Θ = β x sign ( σ Θ ) + δ Θ x
and
δ Θ x = δ ˙ Θ x = δ Θ i f | σ Θ | > S x δ ˙ Θ x = α x sign ( σ Θ ) i f | σ Θ | S x
with α x and S x are design parameters, and β x > 0 . Finally, we propose the MIT rule with high order sliding mode (MIT-HOSM), we need a second-order robust differentiator to calculate σ Θ , σ ˙ Θ and σ ¨ Θ , such differentiation is given by [32]:
x ˙ 0 = v 0 = λ 0 | x 0 σ Θ | 2 / 3 sign ( x 0 σ Θ ) + x 1 x ˙ 1 = v 1 = λ 1 | x 1 v 0 | 1 / 2 sign ( x 1 v 0 ) + x 2 x ˙ 2 = λ 2 sign | x 2 v 1 |
where x 0 σ Θ , x 1 σ ˙ Θ and x 2 σ ¨ Θ , with λ 0 , λ 1 , λ 2 > 0 . Thus, the differential equations in the adaptive law MIT-HOSM are defined by:
k ^ ˙ p Θ a 4 = γ 1 l C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( α p Θ [ σ ¨ Θ + 2 ( | σ ˙ Θ | 3 + | σ Θ | 2 ) 1 / 6
× sign ( σ ˙ Θ + | σ Θ | 2 / 3 sign ( σ Θ ) ) ] ) k ^ ˙ d Θ a 4 = γ 1 l C 2 s 2 + 2 ζ ω n s + ω n 2 ( Θ ( t ) Θ m c ( t ) ) ( α v Θ [ σ ¨ Θ + 2 ( | σ ˙ Θ | 3 + | σ Θ | 2 ) 1 / 6
× sign ( σ ˙ Θ + | σ Θ | 2 / 3 sign ( σ Θ ) ) ] )
where the gains are α p Θ , α v Θ > 0 . Thus, with the MIT-HOSM, a robust adjustment mechanism is obtained and is reduced or almost eliminates the undesired chattering effect. In Figure 3, the block diagram of the adaptive robust system is shown.

Trajectory Following

The control objective is for the quadrotor to follow a predefined trajectory generated by a trajectory planner to develop an adequate flight plan for the quadrotor. In Section 3, the trajectory to follow and the trajectory planner are described mathematically. The angles with more dynamics to follow the desired trajectory are the pitch and roll angles, these angles change between ± 10 , and the yaw angle is 5 during the trajectory. Figure 4 presents the response of the adaptive controller with the different adjustment mechanisms proposed in this work; significant oscillations over the desired position are appreciated in axis-x by the adaptive controller based on the MIT, MIT with sliding modes (MIT-SM), and MIT with twisting (MIT-Twisting). The adjustment mechanism MIT with high order sliding mode (MIT-HOSM) presented smaller oscillations, and the convergence time to the desired reference is less than the adjustment mechanism MIT, MIT-SM, and MIT-Twisting; see Figure 4.
Figure 5 presents the results obtained with the PD adaptive controller and the adjustment mechanism based on the MIT and sliding mode techniques. Oscillations are appreciated before converging to the desired reference with the adjustment mechanism based on MIT, MIT with sliding mode (MIT-SM), and MIT with twisting (MIT-Twisting). On the other hand, the adjustment mechanism MIT with high order sliding mode presented a better response with minor oscillations and convergence to the desired position in less time over the y axis. In Figure 6, a top perspective or top 3D view is presented to appreciate the oscillations mentioned before the desired trajectory (reference) that is followed by the quadrotor; in this figure, the PD adaptive control with the four different adjustment mechanisms proposed in this work is represented. Figure 7 presents a 3D image that represents the flight of the quadrotor with the PD adaptive controller with the different adjustment mechanisms proposed in this work.
In this work, the L 2 -norm [33] is used to know the error and control signal response in a numerical form. Thus, the definition of the L 2 [ e Θ m c ] correspond to analyze error signals and the L 2 [ u Θ ] correspond to controller output signals:
L 2 [ e Θ m c ] = 1 T t 0 t 0 T e Θ m c | 2 d t
L 2 [ u Θ ] = 1 T t 0 t 0 T u Θ 2 d t
Figure 8 presents the results obtained with the PD adaptive controller with the adjustment mechanism based on the methodology MIT rule and the theory by sliding modes (MIT-SM), twisting (MIT-Twisting), and high order sliding mode (MIT-HOSM). Considering the analysis with the L 2 [ e Θ m c ] to know the error presented in the pitch angle, the adjustment mechanism with MIT rule the error in pitch angle is bigger than MIT with sliding mode (MIT-SM), MIT with twisting (MIT-Twisting), and MIT with high order sliding modes (MIT-HOSM). Then, the adaptive controller based on the MIT with high order sliding mode (MIT-HOSM) presented a more minor error than MIT, MIT-SM, and MIT-Twisting (see Table 1).
On the other hand, for pitch angle, the PD adaptive controller, which applied a bigger control response to achieve the control objective, is the adjustment mechanism based on the MIT rule. The controller that applied smaller effort to achieve the control objective is MIT’s adjustment mechanism with high order sliding mode. This is verified by the analysis results obtained with L 2 [ u Θ ] in Table 1.
On the other hand, for pitch angle, the PD adaptive controller, which applied a bigger control response to achieve the control objective, is the adjustment mechanism based on the MIT rule. The smaller effort to achieve the control objective is MIT’s adjustment mechanism with high order sliding mode. It is verified by the analysis results obtained with L 2 [ u Θ ] in Table 1.
Thus, the adjustment mechanism based on the MIT rule of the control effort L 2 [ u Θ ] to achieve the control objective is bigger than the MIT-SM, MIT-Twisting, and MIT-HOSM. On the other hand, the adjustment mechanism based on the MIT-HOSM presented a smaller effort to achieve the desired roll angle than the based on MIT, MIT-SM, and MIT-Twisting. The results obtained are present in Table 2, and in Figure 9 the response of the roll angle is presented with the PD adaptive controller with the different adjustment mechanism proposed in this work.
Analyzing the yaw angle with (30) and (31), the PD adaptive controller which presented a smaller error is the adjustment mechanism based on the MIT with sliding modes (MIT-SM) than the MIT, MIT-Twisting, and MIT-HOSM; see Table 3. Furthermore, the adaptive control based on the adjustment mechanism for the yaw angle with a bigger error is the MIT with Twisting (MIT-Twisting). On the other hand, the adaptive controller’s adjustment mechanism, which presented a greater control effort to achieve the control objective, is based on the MIT with high order sliding mode (MIT-HOSM). The MIT rule showed a smaller control effort than the MIT-SM, MIT-Twisting, and MIT-HOSM. In Figure 10 the response of the yaw angle is presented with the PD adaptive controller with the different adjustment mechanism proposed in this work.
In Figure 11, the control response of the PD adaptive controller is presented with the adjustment mechanism based on the MIT rule, and Figure 12 shows the minimization of the cost function with the adaptive control law and the adjustment mechanism based on the MIT rule. Figure 13 and Figure 14 present the convergence of the adaptive gains with the adjustment mechanism based on the MIT rule.
Figure 15 shows the control response of the adaptive controller based on the MIT rule with sliding mode (MIT-SM). Figure 16 presents the minimization of the cost function with MIT-SM, and Figure 17 and Figure 18 presents the convergence of the adaptive gains with the adaptive mechanism based on the MIT rule with sliding mode (MIT-SM).
The control response to achieve the desired trajectory with the adaptive control law with MIT rule with twisting (MIT-Twisting) is presented in Figure 19. The minimization of the cost function with MIT-Twisting illustrates in Figure 20. Figure 21 and Figure 22 present the convergence of the adaptive gains with the adjustment mechanism MIT-Twisting.
Figure 23 shows the control response with the adaptive control and the adjustment mechanism based on the MIT rule with high order sliding mode (MIT-HOSM). Figure 24 presents the minimization of the cost function with the adaptive controller and MIT-HOSM-like adjustment mechanism. Figure 25 and Figure 26 present the convergence of the adaptive control gains.

5. Discussion

The problem of trajectory tracking with a quadrotor after several simulations is that the PD adaptive controller with the adjustment mechanism based on the MIT rule methodology, and the model reference adaptive control for MRAC, is not enough to resolve the problem due to the oscillations at the beginning of the desired trajectory. This implies that the quadrotor flight is so far from the desired trajectory and the convergence time is too slow (see Figure 6 and Figure 7); for that reason, it is necessary to design a robust adjustment mechanism with a robust theory like that based on sliding modes.
Then, the adjustment mechanism MIT rule with sliding mode (MIT-SM) reduced the oscillations in the trajectory tracking with the quadrotor and a better convergence time. Besides, the MIT rule with the twisting (MIT-Twisting) adjustment mechanism presents a better response in convergence time and oscillation reduction. To obtain the best response in this work to reduce the oscillations (almost eliminate), a short convergence time to the desired trajectory was obtained with the adjustment mechanism based on the MIT rule with high order sliding modes (MIT-HOSM) (see Figure 6 and Figure 7).
Even analyzing the pitch and roll angles, the MIT rule with high order sliding modes (MIT-HOSM) has better error correction. An exception occurs in the yaw angle where the MIT rule with sliding mode (MIT-SM) has a better response in error. On the other hand, we took into account the control effort response with the four proposed adjustment mechanisms. The MIT rule with high order sliding mode (MIT-HOSM) presents the smallest control effort compared to the adjustment mechanisms MIT rule, MIT-Twisting and MIT-HOSM proposed for the pitch and roll angle, except for the yaw angle where the MIT-HOSM applies the biggest control effort to steer the quadrotor for the desired trajectory (see Table 1, Table 2 and Table 3).
Thus, for future work, we have to develop a construction and electronic embedded system for a quadrotor to do real flight tests with the PD adaptive control law with the different robust adjustment mechanisms proposed in this work.

Author Contributions

Conceptualization, T.E.-F. and A.S.; methodology, T.E.-F.; software, A.S.; validation, F.S., R.J. and A.S.; formal analysis, W.G.; investigation, T.E.-F.; resources, F.S. and R.J.; data curation, A.S. and W.G.; writing—original draft preparation, T.E.-F.; writing—review and editing, A.S.; visualization, R.J.; supervision, T.E.-F., W.G.; project administration, T.E.-F.; funding acquisition, T.E.-F. All authors have read and agreed to the published version of the manuscript.

Funding

PROFEXCE 2020.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available on request due to restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MITMassachusetts Institute of Technology
SMSliding mode
HOSMHigh Order Sliding Mode
PDProportional-Derivative
MRACModel Reference Adaptive Control
UAVUnmanned Aerial Vehicle

Appendix A

Assume the following variables
x 1 θ , ϕ , ψ x 2 θ ˙ , ϕ ˙ , ψ ˙ ,
The position error is
e x d x 1
where x d is the reference. The closed-loop system is re-written like
e ˙ x 2 ˙ = x 2 c 1 x 2 + c 2 k ^ p e c 2 k ^ d x 2
The control aim is the asymptotic stability, i.e.,
lim t e = 0
The Lyapunov candidate function proposed is:
V ( e , x 2 ) = e x 2 P ( k ^ p , c 2 ) e x 2
where
P ( k ^ p , c 2 ) k ^ p c 2 1 4 1 4 1 .
The function V ( e , x 2 ) is defined as positive if k ^ p , c 2 > 0 (i.e., V ( e , x 2 ) > 0 k ^ p , c 2 > 0 ). The time derivative of (A5) is
V ˙ ( e , x 2 ) = e x 2 P ( k ^ p , c 2 ) e ˙ x ˙ 2
The closed-loop of state space is substituting in (A7), the derivative along the trajectories system is:
V ˙ = c 1 x 2 2 x ˜ 1 x 2 x 2 2 4 + c 2 k ^ p x ˜ 1 2 4 c 2 k ^ d x 2 2 + c 1 x ˜ 1 x 2 4 c 2 k ^ d x ˜ 1 x 2 4 + c 2 k ^ p x ˜ 1 x 2
Assume that c 1 0 , 1 , c 2 > 0 . A tuning criteria is proposed in order to find the stability region. The tuning criteria is
k ^ p > 0 , k ^ d R 2 2 k ^ p ( 9 + 4 k ^ d ) + 5 k ^ d c 1 4 2 c 2
Equation (A7) is locally semidefinite-negative in the following region
V ˙ ( e , x 2 ) 0 x 2 R , e σ 2 σ 1 , σ 2 + σ 1
with
σ 1 = x 2 2 2 c 1 + c 2 k ^ d + x 2 2 x 2 c 1 + 2 x 2 c 2 k ^ d x 2 c 2 k ^ p 2 8 c 2 k ^ p 2 c 2 k ^ p
σ 2 = x 2 2 x 2 c 1 + x 2 c 2 k ^ d x 2 c 2 k ^ p 2 2 c 2 k ^ p
This guarantees a local asymptotic stability around the origin. Increasing the value of k p increases the range of values for k ^ d , including negative values. The parameter c 1 is a coefficient with uncertainty because is measured by experimental tests. So, assume a upper bound c 1 m (i.e., c 1 m c 1 ) the inequality (A9) is rewritten like
2 2 k ^ p ( 9 + 4 k d ) + 5 k ^ d c 1 m 4 2 c 2
The same tuning guaranteed stability for higher values of c 1 ; therefore, robustness to uncertainties in c 1 is demonstrated.

References

  1. Espinoza, T.; Saenz, A.; Del Rio, S.; Gómez, F.; López, V. Aplicaciones de los Drones en Ingeniería Civil; Alfaomega: Mexico City, Mexico, 2021. [Google Scholar]
  2. Espinoza, T.; Dzul, A.; Lozano, R.; Parada, P. Backstepping-Sliding Mode Controllers Applied to a Fixed-Wing UAV. J. Int. Robotic. Syst. 2008, 73, 67–79. [Google Scholar] [CrossRef]
  3. ElMikaty, M.; Stathaki, T. Car Detection in Aerial Images of Dense Urban Areas. IEEE Trans. Aerosp. Electron. Syst. 2018, 54, 51–63. [Google Scholar] [CrossRef]
  4. Shen, Y.F.; Rahman, Z.; Krusienski, D.; Li, J. A vision-based automatic safe landing-site detection system. IEEE Trans. Aerosp. Electron. Syst. 2013, 49, 294–311. [Google Scholar] [CrossRef]
  5. Siti, I.; Mjahed, M.; Ayad, H.; El Kari, A. New Trajectory Tracking Approach for a Quadcopter Using Genetic Algorithm and Reference Model Methods. Appl. Sci. 2019, 9, 1780. [Google Scholar] [CrossRef] [Green Version]
  6. Wang, L.; Jia, H. The trajectory tracking problem of quadrotor UAV: Global stability analysis and control design based on the cascade theory. Asian J. Control 2014, 16, 574–588. [Google Scholar] [CrossRef]
  7. Cabecinhas, D.; Cunha, R.; Silvestre, C. A nonlinear quadrotor trajectory tracking controller with disturbance rejection. Control Eng. Pract. 2014, 26, 1–10. [Google Scholar] [CrossRef]
  8. Sun, L.; Zuo, Z. Nonlinear adaptive trajectory tracking control for a quad-rotor with parametric uncertainty. rejection. Proc. Inst. Mech. Eng. Part G J. Aerosp. 2015, 229, 1709–1721. [Google Scholar] [CrossRef]
  9. Zhou, H.; Xiong, H.; Liu, Y.; Tan, N.; Chen, L. Trajectory Planning Algorithm of UAV Based on System Positioning Accuracy Constraints. Electronics 2020, 9, 250. [Google Scholar] [CrossRef] [Green Version]
  10. Herath, M.; Samer, H. UAV Path Planning for Reconnaissance and Look-Ahead Coverage Support for Mobile Ground Vehicles. Sensors 2021, 21, 1–25. [Google Scholar]
  11. Kabiri, M.; Atrianfar, H.; Menhaj, M. 3D Trajectory Tracking Control for a Thrust-Propelled Vehicle with Time-varying Disturbances. Int. J. Control Autom. Syst. 2019, 17, 1978–1986. [Google Scholar] [CrossRef]
  12. Alexis, K.; Nikolakopoulos, G.; Tzes, A. Experimental Constrained Optimal Attitude Control of a Quadrotor Subject to Wind Disturbances. Int. J. Control Autom. Syst. 2014, 12, 1289–1302. [Google Scholar] [CrossRef]
  13. Jiang, T.; Song, T.; Lin, D. Integral Sliding Mode based Control for Quadrotors with Disturbances: Simulations and Experiments. Int. J. Control Autom. Syst. 2019, 17, 1987–1998. [Google Scholar] [CrossRef]
  14. Sandiwan, P.; Cahyadi, A.; Herdjunanto, S. Robust Proportional-derivative Control on SO(3) with Disturbance Compensation for Quadrotor UAV. Int. J. Control Autom. Syst. 2017, 15, 1–14. [Google Scholar] [CrossRef]
  15. Jiang, T.; Zhang, F.; Lin, D. Finite-time Backstepping for Attitude Tracking with Disturbances and Input Constraints. Int. J. Control Autom. Syst. 2020, 18, 1–11. [Google Scholar] [CrossRef]
  16. Sheng, S.; Sun, C. An Adaptive Attitude Tracking Control Approach for an Unmanned Helicopter with Parametric Uncertainties and Measurement Noises. Int. J. Control Autom. Syst. 2016, 14, 217–228. [Google Scholar] [CrossRef]
  17. Doukhi, O.; Lee, D. Neural Network-based Robust Adaptive Certainty Equivalent Controller for Quadrotor UAV with Unknown Disturbances. Int. J. Control Autom. Syst. 2019, 17, 1–10. [Google Scholar] [CrossRef]
  18. Liu, J.; Gai, W.; Zhang, J.; Li, Y. Nonlinear Adaptive Backstepping with ESO for the Quadrotor Trajectory Tracking Control in the Multiple Disturbances. Int. J. Control Autom. Syst. 2019, 17, 1–15. [Google Scholar] [CrossRef]
  19. Sheng, Y.; Gang, T. System Characterization and Adaptive Tracking Control of Quadrotors under Multiple Operating Conditions. Guia. Nav. Control 2021, 1, 1–39. [Google Scholar]
  20. Rothe, J.; Severing, J.; Strohmeier, M.; Montenegro, S. A Modified Model Reference Adaptive Controller (M-MRAC) Using an Updated MIT-Rule for the Altitude of a UAV. Electronics 2020, 9, 1104. [Google Scholar] [CrossRef]
  21. Thusoo, R.; Jain, S.; Bangia, S. PID and MRAC control of a Quadrotor. Proc. Int. Conf. Rec. Dev. Control Autom. Power Eng. 2019, 229, 1709–1721. [Google Scholar]
  22. Le, A. Adaptive Robust Control Systems; IntechOpen: London, UK, 2018. [Google Scholar]
  23. L’Afflito, A.; Aderson, B. An Introduction to Nonlinear Robust Control for Unmanned Quadrotor Aircraft: How to Design Control Algorithms for Quadrotors Using Sliding Mode Control and Adaptive Control Techniques. IEEE Control Syst. 2018, 38, 102–121. [Google Scholar] [CrossRef]
  24. Selfridge, M.; Gang, T. Multivariable Output Feedback MRAC for A Quadrotor UAV. Am. Control Conf. 2016, 1, 492–499. [Google Scholar]
  25. Fan, F.; Lin, M.; Ding, R.; Zheng, Z.; Liu, Y. Augmented-MRAC for quadrotor UAVs with parameter change. IEEE Int. Conf. Adv. Int. Mech. 2016, 1, 501–506. [Google Scholar]
  26. Mohammadi, M.; Shahri, M. Adaptive Nonlinear Stabilization Control for a Quadrotor UAV: Theory, Simulation and Experimentation. J. Intell. Robot. Syst. 2013, 73, 105–122. [Google Scholar] [CrossRef]
  27. Whitehead, B.; Bieniawski, R. Model Reference Adaptive Control of a Quadrotor UAV. AIAA Guid. Nav. Control. Conf. 2010, 1–13. [Google Scholar]
  28. Åström, K.; Wittenmark, B. Adaptive Control; Prentice Hall: Hoboken, NJ, USA, 1994. [Google Scholar]
  29. Gardecki, S.; Wojciech, W.; Goslinski, J.; Kasinski, A. An Adequate Mathematicl Model of Four-Rotor Flying Robot in the Context of Control Simulations. J. Autom. Mob. Robot. Intell. Syst. 2014, 8, 9–16. [Google Scholar]
  30. Bak, T. Lecture Notes-Modeling of Mechanical Systems. Available online: https://www.scribd.com/document/102554672/Lecture-Notes-Modeling-of-Mechanical-Systems (accessed on 6 September 2021).
  31. Shtessel, Y.; Edwards, C.; Fridman, L.; Levant, A. Sliding Mode Control and Observation; Birkhäuser: Basel, Switzerland, 2014. [Google Scholar]
  32. Levant, A. Robust exact differentition via sliding mode technique. Automatica 1998, 34, 379–384. [Google Scholar] [CrossRef]
  33. Khalil, H. Nonlinear Systems; Prentice Hall: Hoboken, NJ, USA, 1996. [Google Scholar]
Figure 1. Euler angles.
Figure 1. Euler angles.
Applsci 11 08571 g001
Figure 2. Forces in quadrotor.
Figure 2. Forces in quadrotor.
Applsci 11 08571 g002
Figure 3. Robust adaptive control scheme.
Figure 3. Robust adaptive control scheme.
Applsci 11 08571 g003
Figure 4. Trajectory following in axis-x.
Figure 4. Trajectory following in axis-x.
Applsci 11 08571 g004
Figure 5. Trajectory following in axis-y.
Figure 5. Trajectory following in axis-y.
Applsci 11 08571 g005
Figure 6. 3D Trajectory following responses (Top perspective).
Figure 6. 3D Trajectory following responses (Top perspective).
Applsci 11 08571 g006
Figure 7. 3D Trajectory following responses.
Figure 7. 3D Trajectory following responses.
Applsci 11 08571 g007
Figure 8. Pitch angle responses.
Figure 8. Pitch angle responses.
Applsci 11 08571 g008
Figure 9. Roll angle responses.
Figure 9. Roll angle responses.
Applsci 11 08571 g009
Figure 10. Yaw angle responses.
Figure 10. Yaw angle responses.
Applsci 11 08571 g010
Figure 11. Controller response with MIT rule.
Figure 11. Controller response with MIT rule.
Applsci 11 08571 g011
Figure 12. Minimization of J θ , ψ , ϕ with MIT rule.
Figure 12. Minimization of J θ , ψ , ϕ with MIT rule.
Applsci 11 08571 g012
Figure 13. Convergence k ^ p response with MIT rule.
Figure 13. Convergence k ^ p response with MIT rule.
Applsci 11 08571 g013
Figure 14. Convergence k ^ d response with MIT rule.
Figure 14. Convergence k ^ d response with MIT rule.
Applsci 11 08571 g014
Figure 15. Controller response with MIT rule.
Figure 15. Controller response with MIT rule.
Applsci 11 08571 g015
Figure 16. Minimization of J θ , ψ , ϕ with MIT rule with sliding modes (MIT-SM).
Figure 16. Minimization of J θ , ψ , ϕ with MIT rule with sliding modes (MIT-SM).
Applsci 11 08571 g016
Figure 17. Convergence k ^ p with MIT rule with sliding modes (MIT-SM).
Figure 17. Convergence k ^ p with MIT rule with sliding modes (MIT-SM).
Applsci 11 08571 g017
Figure 18. Convergence k ^ d with MIT rule with sliding modes (MIT-SM).
Figure 18. Convergence k ^ d with MIT rule with sliding modes (MIT-SM).
Applsci 11 08571 g018
Figure 19. Controller response with MIT rule.
Figure 19. Controller response with MIT rule.
Applsci 11 08571 g019
Figure 20. Minimization of J θ , ψ , ϕ with MIT rule with twisting (MIT-Twisting).
Figure 20. Minimization of J θ , ψ , ϕ with MIT rule with twisting (MIT-Twisting).
Applsci 11 08571 g020
Figure 21. Convergence k ^ p with MIT rule with twisting (MIT-Twisting).
Figure 21. Convergence k ^ p with MIT rule with twisting (MIT-Twisting).
Applsci 11 08571 g021
Figure 22. Convergence k ^ d with MIT rule with twisting (MIT-Twisting).
Figure 22. Convergence k ^ d with MIT rule with twisting (MIT-Twisting).
Applsci 11 08571 g022
Figure 23. Controller response with MIT rule.
Figure 23. Controller response with MIT rule.
Applsci 11 08571 g023
Figure 24. Minimization of J θ , ψ , ϕ with MIT rule with high order sliding modes (MIT-HOSM).
Figure 24. Minimization of J θ , ψ , ϕ with MIT rule with high order sliding modes (MIT-HOSM).
Applsci 11 08571 g024
Figure 25. Convergence k ^ p with MIT rule with high order sliding modes (MIT-HOSM).
Figure 25. Convergence k ^ p with MIT rule with high order sliding modes (MIT-HOSM).
Applsci 11 08571 g025
Figure 26. Convergence k ^ d with MIT rule with high order sliding modes (MIT-HOSM).
Figure 26. Convergence k ^ d with MIT rule with high order sliding modes (MIT-HOSM).
Applsci 11 08571 g026
Table 1. Numerical results with L 2 of the adaptive robust controllers in pitch angle.
Table 1. Numerical results with L 2 of the adaptive robust controllers in pitch angle.
ControllerPitch [deg]
L 2 [ e θ c ] L 2 [ u θ ]
MIT0.54520.1565
MIT-SM0.53330.1528
MIT-Twisting0.00510.0170
MIT-HOSM0.00260.0097
Table 2. Numerical results with L 2 of the adaptive robust controllers in roll angle.
Table 2. Numerical results with L 2 of the adaptive robust controllers in roll angle.
ControllerRoll [deg]
L 2 [ e ϕ c ] L 2 [ u ϕ ]
MIT0.51911.15806
MIT-SM0.35711.12103
MIT-Twisting0.00290.0094
MIT-HOSM0.00110.0033
Table 3. Numerical results with L 2 of the adaptive robust controllers in yaw angle.
Table 3. Numerical results with L 2 of the adaptive robust controllers in yaw angle.
ControllerYaw [deg]
L 2 [ e ψ c ] L 2 [ u ψ ]
MIT0.02490.0135
MIT-SM0.01340.0292
MIT-Twisting2.05464.8103
MIT-HOSM1.47526.6313
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Espinoza-Fraire, T.; Saenz, A.; Salas, F.; Juarez, R.; Giernacki, W. Trajectory Tracking with Adaptive Robust Control for Quadrotor. Appl. Sci. 2021, 11, 8571. https://doi.org/10.3390/app11188571

AMA Style

Espinoza-Fraire T, Saenz A, Salas F, Juarez R, Giernacki W. Trajectory Tracking with Adaptive Robust Control for Quadrotor. Applied Sciences. 2021; 11(18):8571. https://doi.org/10.3390/app11188571

Chicago/Turabian Style

Espinoza-Fraire, Tadeo, Armando Saenz, Francisco Salas, Raymundo Juarez, and Wojciech Giernacki. 2021. "Trajectory Tracking with Adaptive Robust Control for Quadrotor" Applied Sciences 11, no. 18: 8571. https://doi.org/10.3390/app11188571

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop