Next Article in Journal
A Visual-Based Approach for Driver’s Environment Perception and Quantification in Different Weather Conditions
Next Article in Special Issue
MRAS Using Lyapunov Theory with Sliding Modes for a Fixed-Wing MAV
Previous Article in Journal
High-Precision Manufacture and Alignment of Image Slicer Based on Thin Glass Bonding
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Trajectory Tracking Outer Loop Regressor-Based Adaptive Controller for a Quadrotor

by
Ivan Lopez-Sanchez
1,
Jerónimo Moyrón
1,
Luis Rodolfo García Carrillo
2,
Alejandro Dzul
3 and
Javier Moreno-Valenzuela
1,*
1
Centro de Investigación y Desarollo de Tecnología Digital, Instituto Politécnico Nacional, Ave. Instituto Politécnico Nacional No. 1310, Tijuana 22435, Baja California, Mexico
2
Klipsch School of Electrical and Computer Engineering, New Mexico State University, Las Cruces, NM 88011, USA
3
División de Estudios de Posgrado e Investigación, TecNM/Instituto Tecnológico de la Laguna, Torreón 27000, Coahuila, Mexico
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(22), 12177; https://doi.org/10.3390/app132212177
Submission received: 5 September 2023 / Revised: 4 November 2023 / Accepted: 6 November 2023 / Published: 9 November 2023
(This article belongs to the Special Issue Aerial Robotics and Vehicles: Control and Mechanical Design)

Abstract

:
A high-level control strategy for a quad rotorcraft Unmanned Aircraft System to perform trajectory tracking tasks is presented, which is based on a regressor-based adaptive approach. The high-level control is designed to interact with a low-level (internal) control loop that cannot be modified to suit the needs of academic researchers. Hence, the proposed control framework computes the appropriate high-level inputs for the inner controller, enabling the trajectory tracking task. The controller includes an integral action to overcome steady-state errors that may occur due to parameter estimation errors or constant disturbances. The stability of the equilibrium point is analyzed using Lyapunov theory, which shows that the tracking errors converge to zero and the parameter estimation errors remain bounded. The proposed control framework was tested on a real-time quad rotorcraft platform, and its performance was compared with four different control strategies. The results indicate that the proposed controller exhibits high accuracy and has better performance with respect to the other controllers.

1. Introduction

Among the different types of unmanned aerial vehicles, quadrotors became the most popular. There are many reasons for this: mechanical simplicity, compact size, maneuverability, vertical takeoff and landing, and hover are the most representative. Added to this, several applications have been found for them [1,2,3,4], and new ones will probably appear soon. Nevertheless, controlling such vehicles still represents a challenging task, especially considering their applications and the changing environments where they operate. Quadrotors are nonlinear underactuated systems with strongly coupled dynamics; hence, controllers must be able to ensure both stability and task accomplishment. Aiming to solve the trajectory tracking task of quadrotors, different control techniques have been employed [5,6,7,8,9,10,11].

1.1. Literature Review

Linear control schemes like proportional–integral–derivative (PID), H, linear quadratic regulator, and some others have been reported. Nonetheless, the development of linear controllers requires a simple approximation of the system dynamics, which neglects nonlinear aerodynamic phenomena. Thus, the real behavior of the quadrotor is not portrayed with fidelity. This is an issue for real outdoor applications where the environment interacts with the vehicle in uncertain ways and when the vehicle needs to perform tasks that require higher velocities. To overcome the aforementioned issues, nonlinear schemes have been employed to address the trajectory tracking task of quadrotors. For example, control algorithms based on feedback linearization, backstepping, model-based control, neural networks, and sliding mode control are reported in the literature. Many of the nonlinear schemes aim to provide robustness against parameter uncertainties, unmodeled dynamics, and external disturbances. However, only a few of them address the control of a quadrotor with an internal loop controller; the clearest examples of this are commercial quadrotors for recreational purposes. These platforms are mainly designed to be operated by a pilot. Owing to this condition, manufacturers include an inner controller that cannot be modified and which helps the pilot maintain the stability of the vehicle during the flying tasks. As discussed in [12,13,14], this fixed inner controller is not an impediment to employing them as platforms for testing control algorithms or even implementing them for real applications. These commercial platforms represent an affordable and economical option for actual implementation and experimental tests of controllers for quadrotors.
The works in references [15,16,17,18,19,20,21,22,23,24,25] addressed the control of a quadrotor under the assumption that an inaccessible and unmodifiable inner controller is present. Schemes such as inverse dynamic control, adaptive neural PID, cascade control, and adaptive generalized regression neural networks were introduced. In spite of the robustness of these controllers, some of the system parameters are required. To the best of the authors’ knowledge, regressor-based adaptive control has yet to be applied to a quadrotor equipped with an embedded controller. Thus, this is a novel regressor-based adaptive controller since an accurate knowledge of the system parameters is not needed and the control law is system-parameter-free. Additionally, in contrast with the neural network-based approaches, the proposed scheme is simpler and easier to implement.

1.2. Contribution

The contribution of this work is the development and design of an outer loop regressor-based adaptive controller for a quadrotor equipped with an inner loop controller to achieve trajectory tracking. In this regard, the procedure is performed in two major steps: First, similar to previous works [15,16,17,18,19,20,21,22,23,24,25], we assume the presence of an inaccessible and unmodifiable inner loop controller that not only guarantees internal stability but also allows one to transform the inputs from forces and torques to kinematic commands and represents the dynamics of the quadrotor as a general second-order system. Second, we design an outer loop controller directly on the already-obtained second-order system, thus achieving trajectory tracking and simplifying the analysis. As the outer loop is a regressor-based adaptive controller, the uncertainties coming from the inner loop are compensated in real time. In addition, the proposed outer loop scheme includes an integral action that increases the robustness of the controller and helps to cope with constant external disturbances. The proposed outer loop controller aims to provide a simpler adaptive solution in comparison with [24,25], which are more elaborated adaptive neural network-based controllers. Furthermore, the proposed scheme’s regression matrix is simpler in contrast to the proposed schemes in [19,21].

1.3. Organization and Notation

The organization of the document is the following. The dynamic model and the control objective are described in Section 2. In Section 3, the design and stability analysis of the proposed regressor-based adaptive controller are presented. The results of the experimental comparative study are shown in Section 4 and the conclusions are given in Section 5.
Notation: The notation adopted along this document is the following. x = x x is the Euclidean norm of the vector x R n , given a symmetric positive definite matrix A R n × n ; its minimum and maximum eigenvalues are denoted as λ min A and λ max A . d i a g n x R n × n stands for diagonal matrices with x in each diagonal element.

2. Preliminaries

2.1. Quadrotor Dynamic Model

The dynamic model of a quadrotor in the inertial reference frame is given as [24,25]
m p ¨ + m g z + D p ( η ) p ˙ = R 3 ( η ) F ,
M ( η ) η ¨ + C ( η , η ˙ ) η ˙ + D η ( η ) η ˙ = W ( η ) τ ,
where (1) and (2) represent the position and attitude dynamics, respectively; p = [ x y z ] R 3 is the cartesian position; η = [ ϕ θ ψ ] R 3 is the attitude; m R is the mass of the vehicle; g z = [ 0 0 g ] R 3 , with g being the gravitational acceleration constant; D p ( η ) R 3 × 3 and D η ( η ) R 3 × 3 are matrices that model the aerodynamic drag and damping effects, respectively; R 3 ( η ) R 3 is the third column of matrix R ( η ) R 3 × 3 , which is a rotation matrix; M ( η ) R 3 × 3 is the inertia matrix; C ( η , η ˙ ) R 3 × 3 is the Coriolis matrix; W ( η ) R 3 × 3 is a transformation matrix; and F R and τ R 3 are the control inputs in the body reference frame. It is worth mentioning that representation (1)–(2) is valid for | θ | < π / 2 and ϕ , ψ R .

2.2. Inner Loop Controller

Based on [16,18,19,21,24,25,26], an inner loop controller serving as a stabilization system and acting as an intermediate between outer commands and the inputs of the quadrotor dynamic model is assumed to be
F = m cos ( ϕ ) cos ( θ ) g + z ˙ max u z ˙ z ˙ τ z ˙ ,
τ = W ( η ) T [ M ( η ) τ ˜ + C ( η , η ˙ ) η ˙ ] ,
τ ˜ = ω ϕ 2 ϕ max u ϕ 2 ξ ϕ ω ϕ ϕ ˙ ω ϕ 2 ϕ , ω θ 2 θ max u θ 2 ξ θ ω θ θ ˙ ω θ 2 θ , ψ ˙ max u ψ ˙ ψ ˙ τ ψ ˙ .
The parameters ω ϕ , ω θ , ξ ϕ , ξ θ , τ z ˙ , τ ψ ˙ , θ max , ϕ max , z ˙ max , and ψ ˙ max are strictly positive constants, and their physical meaning can be consulted in [25]. The variables u θ , u ϕ , u z ˙ , and u ψ ˙ are the inputs for the inner loop controller.

2.3. Quadrotor under Inner Loop Controller

In agreement with [16,18,19,21,24,25,26], the inner loop controller in (3)–(5) applied to dynamic models (1) and (2) leads to the second order system
q ¨ = T ( ψ ) K u u K v q ˙ + δ ,
where
q = [ x y z ψ ] R 4
contains the position in three-dimensional space ( x , y , z ) and the yaw angle ψ , K u R 4 × 4 and K v R 4 × 4 are positive definite diagonal matrices containing the parameters of the vehicle and the inner controller, explicitly given as
K u = diag g θ max g ϕ max z ˙ max / τ z ˙ ψ ˙ max / τ ψ ˙
and
K v = diag d x d y 1 / τ z ˙ + d z 1 / τ ψ ˙ + d ψ ,
the matrix T ( ψ ) R 4 is a transformation matrix given by
T ( ψ ) = cos ( ψ ) sin ( ψ ) 0 0 sin ( ψ ) cos ( ψ ) 0 0 0 0 1 0 0 0 0 1 ,
and δ R 4 represents constant external disturbances that are bounded by δ δ B R with δ B > 0 . Finally, the vector [24,25]
u = [ u θ u ϕ u z ˙ u ψ ˙ ] R 4
is a nondimensional input vector for the inner control loop with the following parameters:
  • u θ is an angular position command related to the displacement along the x-axis.
  • u ϕ is an angular position command related to the displacement along the y-axis.
  • u z ˙ is a velocity command related to the displacement along the z-axis.
  • u ψ ˙ is a velocity command related to the rotation around the z-axis.
A graphical representation of the quadrotor dynamics (1)–(2) under the inner loop controller (3)–(5), which result in (6), is provided in Figure 1.
It is worth noticing that the inner loop controller given in Equations (3)–(5) is used only for demonstrative purposes, and any other inner loop controller can be used. In this sense, as long as the second-order system in Equation (6) is recovered, the proposed outer loop controller (presented in the next section) can be applied.

2.4. Control Objective

Let us assume that the matrices K u and K v in (8) and (9) are unknown, and the vectors q R 4 in (7) and q ˙ R 4 are available for measurement. Defining the trajectory tracking error as
e ( t ) = q d ( t ) q R 4 ,
and its derivative
e ˙ ( t ) = q ˙ d ( t ) q ˙ R 4 ,
where q is defined in (7) and q d = [ x d ( t ) y d ( t ) z d ( t ) ψ d ( t ) ] R 4 is the reference signal, which is assumed to be three times continuously differentiable. The objective is to design an outer loop controller u ( t ) = [ u θ ( t ) u ϕ ( t ) u z ˙ ( t ) u ψ ˙ ( t ) ] R 4 so that the limit
lim t e ( t ) e ˙ ( t ) = 0
is guaranteed.

3. Main Result

3.1. Outer Loop Design

The outer loop controller derivation is carried out for the system described in (6). The given outer loop scheme computes the required commands for the inner loop controller in order to achieve the objective (12).
Defining the variable
s = Γ e + e ˙ ,
where Γ R 4 × 4 is a positive definite diagonal matrix, the dynamics of the variable s R 4 are given by
s ˙ = Γ e ˙ + q ¨ d + K v q ˙ d e ˙ T ( ψ ) K u u δ ( t ) .
Assuming θ max = ϕ max from (8), it holds that [25]
T ( ψ ) K u = K u T ( ψ ) ,
allowing one to multiply (14) by K u 1 , obtaining
Λ 1 s ˙ = Λ 1 f 1 ( q ¨ d , e ˙ ) + Λ 2 q ˙ T ( ψ ) u Λ 1 δ ( t ) ,
being Λ 1 = K u 1 , Λ 2 = K u 1 K v , and f 1 ( q ¨ d , e ˙ ) = Γ e + q ¨ d . Equation (15) is linearly parameterizable as follows:
Λ 1 s ˙ = Φ ( q ¨ d , q ˙ d , e ˙ ) Θ T ( ψ ) u Λ 1 δ ( t ) ,
where
Θ = 1 g θ max 1 g ϕ max τ z ˙ z ˙ max τ ψ ˙ ψ ˙ max d x g θ max d y g ϕ max d z τ z ˙ + 1 z ˙ max d ψ τ ψ ˙ + 1 ψ ˙ max R 8
is the vector containing the system parameters which is bounded as Θ Θ B R with Θ B > 0 , and
Φ ( q ¨ d , q ˙ d , e ˙ ) = Φ 11 0 0 0 Φ 15 0 0 0 0 Φ 22 0 0 0 Φ 26 0 0 0 0 Φ 33 0 0 0 Φ 37 0 0 0 0 Φ 44 0 0 0 Φ 48 R 4 × 8 ,
where
Φ 11 = Γ 11 e ˙ x + x ¨ d , Φ 33 = Γ 33 e ˙ z + z ¨ d , Φ 15 = x ˙ , Φ 37 = z ˙ , Φ 22 = Γ 22 e ˙ y + y ¨ d , Φ 44 = Γ 44 e ˙ ψ + ψ ¨ d , Φ 26 = y ˙ , Φ 48 = ψ ˙ ,
is the regression matrix.
In order to stabilize systems (13) and (16), the following regressor-based adaptive controller is proposed:
(17) u = T ( ψ ) 1 K s s + K i ξ + Φ ( q ¨ d , q ˙ d , e ˙ ) Θ ^ , (18) ξ ˙ = s ,
where K s and K i R 4 × 4 are positive definite diagonal matrices and Θ ^ R 8 is the estimation of the parameter vector Θ R 8 , which is obtained through the following update law:
Θ ^ ˙ = N Φ ( q ¨ d , q ˙ d , e ˙ ) s ,
where N R 8 × 8 is a positive definite diagonal matrix containing the adaptation gains. The dynamics of s in (16) in a closed-loop with the proposed controller (17)–(19) is given by
Λ 1 s ˙ = K s s K i ξ Λ 1 δ + Φ ( q ¨ d , q ˙ d , e ˙ ) Θ ˜ ,
where
Θ ˜ ( t ) = Θ Θ ^ ( t ) R 8
is the parameter estimation error.
Notice that (20) can be rewritten as
Λ 1 s ˙ = K s s K i ξ ¯ + Φ ( q ¨ d , q ˙ d , e ˙ ) Θ ˜ ,
where ξ ¯ = ξ + K i 1 Λ 1 δ R 4 . Furthermore, recalling that δ is assumed to be constant ξ ¯ ˙ = ξ ˙ and based on (18),
ξ ¯ ˙ = s .

3.2. Convergence Analysis

The closed-loop system resulting from the dynamics of the quadrotor with an inner controller (6), the outer loop regressor-based adaptive controller (17)–(18), the update law (19), and the change in variable in (21)–(22) is given by
d d t e = Γ e + s , Λ 1 d d t s = K s s K i ξ ¯ + Φ ( q ¨ d , q ˙ d , e ˙ ) Θ ˜ , d d t ξ ¯ = s , d d t Θ ˜ = N Φ ( q ¨ d , q ˙ d , e ˙ ) s .
Notice that the origin ϱ = [ e s ξ ¯ Θ ˜ ] = 0 R 20 is an equilibrium point of the overall closed-loop system (23).
Proposition 1.
Assume that matrices Γ and K s are selected such that the inequality
λ min Γ > 1 4 λ min K s
is satisfied.
Then, the equilibrium point ϱ = 0 is uniformly stable in the sense of Lyapunov. Moreover, the signals Θ ˜ ( t ) and ξ ¯ ( t ) are bounded, t t 0 , and the limit (12) is fulfilled.
Proof. 
Consider the following Lyapunov function candidate
V ( ϱ ) = 1 2 e e + 1 2 s Λ 1 s + 1 2 ξ ¯ K i ξ ¯ + 1 2 Θ ˜ N 1 Θ ˜ ,
which is globally positive definite, radially unbounded, and decrescent.
The time derivative of (25) is given by
V ˙ = e e ˙ + s Λ 1 s ˙ + ξ ¯ K i ξ ¯ ˙ + Θ ˜ N 1 Θ ˜ ˙ .
By substituting the closed-loop dynamics in (23) into (26) and using the fact that
s Φ ( q ¨ d , q ˙ d , e ˙ ) Θ ˜ = Θ ˜ Φ ( q ¨ d , q ˙ d , e ˙ ) s ,
the following is obtained:
V ˙ ( e , s ) = e Γ e + e s s K s s ,
which can be rewritten as
V ˙ ( χ ) = χ Q χ ,
where χ = [ e s ] R 8 and
Q = Γ 1 2 I 4 1 2 I 4 K s R 8 × 8 ,
where I 4 R 4 × 4 is the identity matrix. Notice that (27) is always a negative function if Q is a positive definite matrix. In agreement with the Schur complement [27], Q is a positive definite matrix if Γ > 0 and K s 1 4 Γ 1 > 0 . This condition is satisfied with Γ selected as in (24). Therefore, by fulfilling (24), V ˙ ( χ ) is guaranteed to be a negative semidefinite function.
Based on Lyapunov’s method [28], we have that ϱ = 0 is a uniformly stable equilibrium point of the overall closed-loop system (23), which implies that ϱ ( t ) , ϱ ˙ ( t ) L 20 .
To assess the convergence of the error variables, consider the upper bound of (27), given by
V ˙ ( χ ) λ min Q χ 2 .
Integrating both sides of (28), the following is obtained:
t 0 t e ( τ ) s ( τ ) 2 d τ t 0 t χ ( τ ) 2 d τ V ( t 0 ) λ min Q ,
leading to sufficient conditions to invoke Barbalat’s lemma [28], concluding that e ( t ) , s ( t ) 0 as t , implying that e ˙ ( t ) 0 as t as well, satisfying the control goal in (12). □

4. Experimental Results

The functionality of the proposed controller was demonstrated through an experimental test. Furthermore, its performance was assessed through comparison with other controllers reported in the literature. The comparison consists of achieving the trajectory tracking task. Four controllers were used in the comparison, an outer-loop PD scheme, a neural network-based scheme with integral sliding modes, an adaptive generalized regression neural network-based scheme, and an adaptive neural network-based scheme.

4.1. Benchmarking Platform

The benchmarking platform comprises two systems: a quadrotor and a motion capture system. The quadrotor employed in this work is s QBall 2 from Quanser® (Markham, ON, Canada), which is an off-the-shelf platform widely used in related research [24,25,29,30]. Figure 2 depicts a picture of the Qball 2. Figure 3 shows the motion capture system Optitrack® (Corvallis, OR, USA), which is employed to measure the cartesian position of the quadrotor and the yaw angle through an array of six Flex 3 cameras. Under this setup, the data are sent to a ground station through Wi-Fi. The benchmarking platform was configured and arranged in the same manner as in previous studies [24,25]. See [24,25] for a detailed description.
The parameters of the QBall 2 with the controller (3)–(5) are [24,25]:
K u = diag 15.812 15.812 10.6 2.38 , m = 1.79 [ kg ] , K v = diag 0.02 0.02 1.4136 1.4036 , g = 9.81 [ m / s 2 ] , ω θ = ω ϕ = 13.944 ,   ξ θ = ξ ϕ = 1.593 , τ z ˙ = τ ψ ˙ = 0.728 .
All the tested controllers were implemented using MATLAB® R2014b and Simulink® 8.4 with a sample frequency of 500 [Hz].

4.2. Implemented Controllers

4.2.1. Outer Loop PD Controller

The performance of all the other tested schemes was evaluated based on the performance of the outer loop PD controller, which will be denoted hereafter as the PDC (PD controller). The PDC scheme is defined in [24] and was implemented using the gain matrices
K P = diag 4.5 3.0 7.5 3.0 , K D = diag 1.5 1.5 1.5 1.5 .

4.2.2. GRNNC

A generalized regression neural network belongs to the category of radial basis function neural networks (RBFNNs) [31,32]. The generalized regression neural network-based controller hereafter denoted as GRNNC was introduced in [24]. The GRNNC scheme was implemented with the following gains
K r = diag 4 0.001 , Υ = diag 3 2 5 2 , b 1 = 1.5 , b 2 = 1.0 , b 3 = 15 , b 4 = 0.1 , b 5 = 0.1 , l = 5 ,
whose definitions are reported in [24].

4.2.3. ANNISMC

This controller was presented in [33] and was developed for the dynamic models in (1)–(2). Hence, it is not only an outer loop controller but has a two-loop configuration. In this scenario, controlling both position and attitude dynamics without access restrictions is possible. In this control scheme, the outer loop is an adaptive RBFNN scheme that governs the position dynamics and the inner loop is an integral sliding mode scheme that handles the attitude dynamics. This scheme will be referred to as ANNISMC (Adaptive neural network integral sliding modes control) in the remainder of this document. The ANNISMC was implemented using the following gains
c = [ 1.5 1 0.5 0 0.5 1 1.5 ] , k w = 4.5 , σ = [ 5 5 5 5 5 5 5 ] , ρ w = 1 × 10 6 , Λ = diag 2.55 2.55 3.55 , k η = 15 , A = 0.15 , ρ η = 1 × 10 4 , k v = 1.257 .
The definition of each gain can be consulted in [24].

4.2.4. ANNC

This controller was introduced in [25], and it can be considered a PID-type controller with an adaptive neural compensation. The scheme is based on adaptive neural networks using the hyperbolic tangent function as an activation function. Similarly to [24], it computes the control inputs for an inner loop controller to achieve the trajectory tracking task. This scheme will be denoted as ANNC (adaptive neural networks controller) from now on in the document. The ANNC was implemented with the following gains
K p = diag 0.22 0.165 0.3 0.5 , K ζ = diag 0.0041 0.0041 0.1655 0.1655 , K d = diag 0.165 0.1375 0.32 0.1 , Δ = diag 4 0.001 ,   κ = 2.5 ,   L N = 10 , B = diag 10 0.189 ,     α = 0.2417 ,
where the definition of each gain can be consulted in [25].

4.2.5. ARBC

The proposed controller (17)–(19) will be referenced as ARBC (adaptive regressor-based controller) in the remainder of this paper. The ARBC scheme was implemented with the following gains:
Γ = diag 1.5 1.5 6 4.5 , K s = diag 0.3675 0.3675 0.342 0.657 , k i = diag 0.001 0.001 0.002 0.001 , N = diag 8 0.06 ,
and the vector of estimated parameters was initialized as zero, i.e., Θ ^ ( 0 ) = [ 0 0 0 0 0 0 0 0 ] .

4.3. Trajectory Tracking Task

The task concerns tracking an eight-shaped path while the height and the yaw angle remain constant. The following equations describe the desired trajectory:
x d ( t ) = 0.5 sin 2 π 4 t [ m ] , y d ( t ) = cos 2 π 8 t [ m ] , z d ( t ) = 1 0.7 e 0.1 t 3 [ m ] , t 5 [ s ] , 1 [ m ] , t > 5 [ s ] , ψ d = 0 [ ] ,
where p d ( t ) = [ x d ( t ) y d ( t ) z d ( t ) ] is the desired trajectory in the three-dimensional cartesian space. The paths obtained through the experimental tests for the PDC, ANNISMC, GRNNC, ANNC, and ARBC schemes are depicted in a three dimensional fashion in Figure 4. Additionally, a top view of the same paths showing the drawn trajectories along with the desired trajectory in the ( x , y ) plane is given in Figure 5.
The tracking of each of the desired signals is shown in Figure 6, where it seems that the performance of all the tested schemes is similar, except for the PDC in the z coordinate and the yaw angle ψ .
In Figure 7, the tracking errors obtained with the tested schemes are presented. It can be observed from it that the GRNN, ANNC, and ARBC have better performances than the PDC and ANNISMC in the x and y coordinates.
The obtained velocity errors are depicted in Figure 8. Notice that the closest to zero for the x, y coordinates and the yaw angle ψ are the ones obtained with the ARBC.
The provided control inputs by each controller are shown in Figure 9, these signals are the total thrust F ( t ) and the torques τ ( t ) = [ τ ϕ ( t ) τ θ ( t ) τ ψ ( t ) ] .
The time evolution of the estimated parameters for the ARBC scheme during the trajectory tracking task are shown in Figure 10.
The root mean square (RMS) value of e ( t ) and e ˙ ( t ) was computed in the time interval 10 t 35 [s] to quantitatively assess the performance of all the tested controllers. Additionally, for every scheme, the relative percentage of improvement (PI%) was computed considering the performance of the PDC scheme as the comparison base point. Furthermore, the average of the PI% values regarding position and velocity errors was calculated. Table 1 presents the quantitative results, where the highest PI% values are in blue, and the lowest are in red. The values in blue mean that the performance on that specific feature was the best, while those in red mean that the performance was the worst. Although the ARBC scheme provided the best results for most features, it did not provided the best average results for position and velocity errors. It is worth mentioning that the ANNISMC, GRNNC, and ANNC schemes are all neural network-based schemes, while the ARBC is a regressor-based adaptive scheme with a much simpler structure and fewer parameters to be set up. Despite its simplicity, it significantly outperformed the other schemes in some features. These results indicate that with the ARBC scheme, a similar performance compared to other complex schemes can be achieved.

5. Conclusions

In this work, a regressor-based adaptive controller was introduced. The proposed scheme was developed as an outer loop scheme for a quadrotor that has an inaccessible and unmodifiable inner controller. The proposed controller was designed exploiting the structure of the dynamic model of the quadrotor with an inner controller. In addition, an integral action was included to overcome the steady-state error resulting from the parameter estimation error and constant disturbances. The stability analysis of the closed-loop system was presented, guaranteeing the fulfillment of the control goal and assuring the boundedness of the parameter estimation errors. An experimental comparative study regarding a PD scheme and other three neural network-based schemes was presented. The proposed scheme showed competitive performance since similar position and velocity errors compared to the tested controllers were obtained with it.

Author Contributions

Conceptualization, I.L.-S., J.M., L.R.G.C., A.D. and J.M.-V.; methodology, I.L.-S., J.M., L.R.G.C., A.D. and J.M.-V.; software, I.L.-S. and J.M.; validation, L.R.G.C., A.D. and J.M.-V.; formal analysis, I.L.-S. and J.M.-V.; investigation, I.L.-S., J.M., L.R.G.C., A.D. and J.M.-V.; data curation, I.L.-S. and J.M.-V.; writing—review and editing, I.L.-S. and J.M.-V.; visualization, I.L.-S.; supervision, L.R.G.C., A.D. and J.M.-V.; project administration, L.R.G.C., A.D. and J.M.-V.; funding acquisition, J.M.-V. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by Consejo Nacional de Ciencia y Tecnología, CONACYT-Fondo Sectorial de Investigación para la Educación under Project A1-S-24762 and in part by Secretaría de Investigación y Posgrado-Instituto Politécnico Nacional, México. Proyecto Apoyado por el Fondo Sectorial de Investigación para la Educación.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ANNsAdaptive Neural Networks;
ANNCAdaptive Neural Network Control;
ANNISMCAdaptive Neural Network Integral Sliding Mode Control;
ARBCAdaptive Regressor-Based Control;
GRNNCGeneralized Regression Neural Network Control;
IMUInertial Measurement Unit;
NNsNeural Networks;
PDCProportional-Derivative Control;
PIDProportional–Integral–Derivative;
RBFNNsRadial Basis Function Neural Networks;
RMSRoot Mean Square.

References

  1. Chen, A.Y.; Huang, Y.N.; Han, J.Y.; Kang, S.C.J. A review of rotorcraft unmanned aerial vehicle (UAV) developments and applications in civil engineering. Smart Struct. Syst. 2014, 13, 1065–1094. [Google Scholar]
  2. Dupont, Q.F.; Chua, D.K.; Tashrif, A.; Abbott, E.L. Potential applications of UAV along the construction’s value chain. Procedia Eng. 2017, 182, 165–173. [Google Scholar] [CrossRef]
  3. Wang, N.; Ahn, C.K. Coordinated Trajectory-Tracking Control of a Marine Aerial-Surface Heterogeneous System. IEEE/ASME Trans. Mechatron. 2021, 26, 3198–3210. [Google Scholar] [CrossRef]
  4. Kourani, A.; Daher, N. Marine locomotion: A tethered UAV-buoy system with surge velocity control. Robot. Auton. Syst. 2021, 145, 103858. [Google Scholar] [CrossRef]
  5. Wang, N.; Su, S.F.; Han, M.; Chen, W.H. Backpropagating constraints-based trajectory tracking control of a quadrotor with constrained actuator dynamics and complex unknowns. IEEE Trans. Syst. Man Cybern. Syst. 2018, 49, 1322–1337. [Google Scholar] [CrossRef]
  6. Mo, H.; Farid, G. Nonlinear and adaptive intelligent control techniques for quadrotor uav—A survey. Asian J. Control 2019, 21, 989–1008. [Google Scholar] [CrossRef]
  7. Kim, J.; Gadsden, S.A.; Wilkerson, S.A. A comprehensive survey of control strategies for autonomous quadrotors. Can. J. Electr. Comput. Eng. 2019, 43, 3–16. [Google Scholar] [CrossRef]
  8. Wang, N.; Deng, Q.; Xie, G.; Pan, X. Hybrid finite-time trajectory tracking control of a quadrotor. ISA Trans. 2019, 90, 278–286. [Google Scholar] [CrossRef]
  9. Nguyen, H.T.; Quyen, T.V.; Nguyen, C.V.; Le, A.M.; Tran, H.T.; Nguyen, M.T. Control algorithms for UAVs: A comprehensive survey. EAI Endorsed Trans. Ind. Netw. Intell. Syst. 2020, 7, e5. [Google Scholar] [CrossRef]
  10. Nguyen, H.; Kamel, M.; Alexis, K.; Siegwart, R. Model predictive control for micro aerial vehicles: A survey. In Proceedings of the European Control Conference, Delft, The Netherlands, 29 June– 2 July 2021; pp. 1556–1563. [Google Scholar]
  11. Idrissi, M.; Salami, M.; Annaz, F. A Review of Quadrotor Unmanned Aerial Vehicles: Applications, Architectural Design and Control Algorithms. J. Intell. Robot. Syst. 2022, 104, 22. [Google Scholar] [CrossRef]
  12. Krajník, T.; Vonásek, V.; Fišer, D.; Faigl, J. AR-drone as a platform for robotic research and education. In Proceedings of the International Conference on Research and Education in Robotics, Prague, Czech Republic, 15–17 June 2011; pp. 172–186. [Google Scholar]
  13. Engel, J.; Sturm, J.; Cremers, D. Camera-based navigation of a low-cost quadrocopter. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Algarve, Portugal, 7–12 October 2012; pp. 2815–2821. [Google Scholar]
  14. Falcón, P.; Barreiro, A.; Cacho, M.D. Modeling of Parrot Ardrone and passivity-based reset control. In Proceedings of the 9th Asian Control Conference, Istanbul, Turkey, 23–26 June 2013; pp. 1–6. [Google Scholar]
  15. Santana, L.V.; Brandao, A.S.; Sarcinelli-Filho, M.; Carelli, R. A trajectory tracking and 3D positioning controller for the AR.Drone quadrotor. In Proceedings of the International Conference on Unmanned Aircraft Systems, Orlando, FL, USA, 27–30 May 2014; pp. 756–767. [Google Scholar]
  16. Santos, M.C.; Santana, L.V.; Martins, M.M.; Brandão, A.S.; Sarcinelli-Filho, M. Estimating and controlling UAV position using RGB-D/IMU data fusion with decentralized information/Kalman filter. In Proceedings of the IEEE International Conference on Industrial Technology, Seville, Spain, 17–19 March 2015; pp. 232–239. [Google Scholar]
  17. Santana, L.V.; Brandão, A.S.; Sarcinelli-Filho, M. Navigation and cooperative control using the AR.Drone quadrotor. J. Intell. Robot. Syst. 2016, 84, 327–350. [Google Scholar] [CrossRef]
  18. Santos, M.C.; Sarcinelli-Filho, M.; Carelli, R. Trajectory tracking for UAV with saturation of velocities. In Proceedings of the International Conference on Unmanned Aircraft Systems, Arlington, VA, USA, 7–10 June 2016; pp. 643–648. [Google Scholar]
  19. Santos, M.C.P.; Rosales, C.D.; Sarcinelli-Filho, M.; Carelli, R. A novel null-space-based UAV trajectory tracking controller with collision avoidance. IEEE/ASME Trans. Mechatron. 2017, 22, 2543–2553. [Google Scholar] [CrossRef]
  20. Rosales, C.; Rossomando, F.; Soria, C.; Carelli, R. Neural control of a Quadrotor: A state-observer based approach. In Proceedings of the International Conference on Unmanned Aircraft Systems, Dallas, TX, USA, 12–15 June 2018; pp. 647–653. [Google Scholar]
  21. Santos, M.C.P.; Rosales, C.D.; Sarapura, J.A.; Sarcinelli-Filho, M.; Carelli, R. An adaptive dynamic controller for quadrotor to perform trajectory tracking tasks. J. Intell. Robot. Syst. 2019, 93, 5–16. [Google Scholar] [CrossRef]
  22. Sarapura, J.A.; Roberti, F.; Toibero, J.M.; Sebastián, J.M.; Carelli, R. Visual Servo Controllers for an UAV Tracking Vegetal Paths. In Machine Vision and Navigation; Springer: Cham, Switzerland, 2020; pp. 597–625. [Google Scholar]
  23. Rubio Scola, I.; Guijarro Reyes, G.A.; Garcia Carrillo, L.R.; Hespanha, J.P.; Burlion, L. A Robust Control Strategy with Perturbation Estimation for the Parrot Mambo Platform. IEEE Trans. Control Syst. Technol. 2021, 29, 1389–1404. [Google Scholar] [CrossRef]
  24. Lopez-Sanchez, I.; Rossomando, F.; Pérez-Alcocer, R.; Soria, C.; Carelli, R.; Moreno-Valenzuela, J. Adaptive trajectory tracking control for quadrotors with disturbances by using generalized regression neural networks. Neurocomputing 2021, 460, 243–255. [Google Scholar] [CrossRef]
  25. Lopez-Sanchez, I.; Moyrón, J.; Moreno-Valenzuela, J. Adaptive neural network-based trajectory tracking outer loop control for a quadrotor. Aerosp. Sci. Technol. 2022, 129, 107847. [Google Scholar] [CrossRef]
  26. Santos, M.C.; Santana, L.V.; Brandão, A.S.; Sarcinelli-Filho, M.; Carelli, R. Indoor low-cost localization system for controlling aerial robots. Control Eng. Pract. 2017, 61, 93–111. [Google Scholar] [CrossRef]
  27. Zhang, F. The Schur Complement and Its Applications; Numerical Methods and Algorithms; Springer: Boston, MA, USA, 2006; Volume 4. [Google Scholar]
  28. Khalil, H.K. Nonlinear Systems, 3rd ed.; Prentice-Hall: Upper Saddle River, NJ, USA, 2002. [Google Scholar]
  29. Yang, P.; Liu, Z.; Wang, Y.; Li, D. Adaptive sliding mode fault-tolerant control for uncertain systems with time delay. Int. J. Autom. Technol. 2020, 14, 337–345. [Google Scholar] [CrossRef]
  30. Wang, B.; Shen, Y.; Zhang, Y. Active fault-tolerant control for a quadrotor helicopter against actuator faults and model uncertainties. Aerosp. Sci. Technol. 2020, 99, 105745. [Google Scholar] [CrossRef]
  31. Specht, D.F. A general regression neural network. IEEE Trans. Neural Netw. 1991, 2, 568–576. [Google Scholar] [CrossRef]
  32. Seng, T.L.; Khalid, M.; Yusof, R. Adaptive GRNN for the modelling of dynamic plants. In Proceedings of the IEEE Internatinal Symposium on Intelligent Control, Vancouver, BC, Canada, 30 October 2002; pp. 217–222. [Google Scholar]
  33. Li, S.; Wang, Y.; Tan, J.; Zheng, Y. Adaptive RBFNNs/integral sliding mode control for a quadrotor aircraft. Neurocomputing 2016, 216, 126–134. [Google Scholar] [CrossRef]
Figure 1. Block diagram of a quadrotor with inner loop controller, which leads to system (6).
Figure 1. Block diagram of a quadrotor with inner loop controller, which leads to system (6).
Applsci 13 12177 g001
Figure 2. Experimental platform: Qball 2 quadrotor from Quanser®.
Figure 2. Experimental platform: Qball 2 quadrotor from Quanser®.
Applsci 13 12177 g002
Figure 3. Optitrack® motion capture system and communication protocol.
Figure 3. Optitrack® motion capture system and communication protocol.
Applsci 13 12177 g003
Figure 4. Paths drawn by the quadrotor obtained with the tested controllers.
Figure 4. Paths drawn by the quadrotor obtained with the tested controllers.
Applsci 13 12177 g004
Figure 5. Paths drawn by the quadrotor on the ( x , y ) plane obtained with the tested controllers.
Figure 5. Paths drawn by the quadrotor on the ( x , y ) plane obtained with the tested controllers.
Applsci 13 12177 g005
Figure 6. Closed -loop system time response. Signals x ( t ) , y ( t ) , z ( t ) , and ψ ( t ) obtained with the tested controllers.
Figure 6. Closed -loop system time response. Signals x ( t ) , y ( t ) , z ( t ) , and ψ ( t ) obtained with the tested controllers.
Applsci 13 12177 g006
Figure 7. Time response of the tracking error obtained with the tested controllers.
Figure 7. Time response of the tracking error obtained with the tested controllers.
Applsci 13 12177 g007
Figure 8. Time response of the velocity error obtained with the tested controllers.
Figure 8. Time response of the velocity error obtained with the tested controllers.
Applsci 13 12177 g008
Figure 9. Control input signals computed by the tested controllers.
Figure 9. Control input signals computed by the tested controllers.
Applsci 13 12177 g009
Figure 10. Parameter estimation over time obtained with the ARBC algorithm.
Figure 10. Parameter estimation over time obtained with the ARBC algorithm.
Applsci 13 12177 g010
Table 1. RMS values of e ( t ) and e ˙ ( t ) for all the tested controllers.
Table 1. RMS values of e ( t ) and e ˙ ( t ) for all the tested controllers.
SignalPDCANNISMCPI%GRNNCPI%ANNCPI%ARBCPI%
e x [m]0.09810.09522.930.048051.110.047551.630.030269.22
e y [m]0.11040.063742.360.034868.470.033070.120.026576.00
e z [m]0.05250.025651.290.012576.170.013274.810.038626.47
e ψ [°]0.94440.456651.650.342663.720.493447.760.270971.32
Average 37.06 64.87 61.08 60.75
e ˙ x [m/s]0.06540.0773−18.230.044432.150.041336.810.024362.90
e ˙ y [m/s]0.05370.041323.140.035134.610.024953.560.016469.38
e ˙ z [m/s]0.01660.0384−132.040.0257−55.060.011530.760.0219−32.39
e ˙ ψ [°/s]1.07230.765128.651.0781−0.550.838221.831.03583.40
Average −24.62 2.78 35.74 25.82
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lopez-Sanchez, I.; Moyrón, J.; García Carrillo, L.R.; Dzul, A.; Moreno-Valenzuela, J. Trajectory Tracking Outer Loop Regressor-Based Adaptive Controller for a Quadrotor. Appl. Sci. 2023, 13, 12177. https://doi.org/10.3390/app132212177

AMA Style

Lopez-Sanchez I, Moyrón J, García Carrillo LR, Dzul A, Moreno-Valenzuela J. Trajectory Tracking Outer Loop Regressor-Based Adaptive Controller for a Quadrotor. Applied Sciences. 2023; 13(22):12177. https://doi.org/10.3390/app132212177

Chicago/Turabian Style

Lopez-Sanchez, Ivan, Jerónimo Moyrón, Luis Rodolfo García Carrillo, Alejandro Dzul, and Javier Moreno-Valenzuela. 2023. "Trajectory Tracking Outer Loop Regressor-Based Adaptive Controller for a Quadrotor" Applied Sciences 13, no. 22: 12177. https://doi.org/10.3390/app132212177

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