Robust Iterative Learning Control for Trajectory Tracking of Quadrotor Drones

In the field of autonomous systems, achieving high-precision trajectory tracking for quadrotor drones remains a significant challenge due to external disturbances, model uncertainties, and nonlinear dynamics. As an enthusiast and researcher in control systems, I have explored various intelligent control methods to address these issues. Iterative learning control (ILC) has emerged as a promising approach for repetitive tasks, leveraging past experiences to refine control inputs over iterations. In this article, I present a robust iterative learning control algorithm tailored for quadrotor drone trajectory tracking, incorporating a forgetting factor and variable learning gains to enhance convergence and robustness. The design integrates a feedforward ILC with a feedback proportional-derivative (PD) controller, ensuring stability and accuracy. Through theoretical analysis and simulation experiments, I demonstrate the effectiveness of this method in handling disturbances and improving tracking performance for quadrotor drones.

The quadrotor drone is a popular unmanned aerial vehicle (UAV) due to its agility, simple structure, and versatility in applications like surveillance, delivery, and inspection. However, its underactuated nature and sensitivity to environmental factors such as wind gusts necessitate advanced control strategies. Traditional methods like PID control often struggle with nonlinearities and repetitive disturbances, prompting the need for learning-based approaches. ILC, in particular, excels in repetitive operations by iteratively updating control signals to minimize tracking errors. My work focuses on combining ILC with robustness mechanisms to tackle real-world challenges for quadrotor drones.

To set the stage, let’s define the dynamics of a quadrotor drone. Consider a standard model with six degrees of freedom: position coordinates (x, y, z) and Euler angles (φ, θ, ψ) for roll, pitch, and yaw. The equations of motion account for external disturbances, which are critical for realistic simulations. The state vector is given as:

$$ \mathbf{x} = [x, y, z, \phi, \theta, \psi, \dot{x}, \dot{y}, \dot{z}, \dot{\phi}, \dot{\theta}, \dot{\psi}]^T $$

where the derivatives represent velocities. The output vector for tracking is typically the altitude and angles:

$$ \mathbf{y} = [z, \phi, \theta, \psi]^T $$

The nonlinear dynamics can be expressed in state-space form as:

$$ \dot{\mathbf{x}}_k(t) = f(\mathbf{x}_k(t), t) + B(\mathbf{x}_k(t), t) \mathbf{u}_k(t) + \mathbf{D}_k(t) $$

$$ \mathbf{y}_k(t) = C \mathbf{x}_k(t) $$

Here, k denotes the iteration index, f is a nonlinear function vector, B is the input gain matrix, $\mathbf{u}_k$ is the control input vector, and $\mathbf{D}_k$ represents external disturbances. For a quadrotor drone, the control inputs correspond to thrust and moments generated by the rotors. The matrix C selects the output states, defined as:

$$ C = \begin{bmatrix}
0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0
\end{bmatrix} $$

The goal is to track a desired trajectory $\mathbf{y}_d(t)$ over a time interval t ∈ [0, T], despite disturbances and model imperfections. This problem is central to many applications of quadrotor drones, such as precise maneuvering in cluttered environments.

In designing the control scheme, I propose a feedforward-feedback robust iterative learning control algorithm with a forgetting factor and variable learning gains. This approach addresses limitations of traditional ILC, such as sensitivity to non-repetitive disturbances and slow convergence. The control law for the k-th iteration is formulated as:

$$ \mathbf{u}_k(t) = \mathbf{u}^{\text{ILC}}_k(t) + \mathbf{u}^{\text{FB}}_k(t) + \mathbf{u}^{\text{R}}_k(t) $$

where $\mathbf{u}^{\text{ILC}}_k$ is the feedforward ILC component, $\mathbf{u}^{\text{FB}}_k$ is the feedback PD controller, and $\mathbf{u}^{\text{R}}_k$ is a robust term to handle uncertainties. The feedback controller is given by:

$$ \mathbf{u}^{\text{FB}}_k(t) = K_p \mathbf{e}_k(t) + K_d \dot{\mathbf{e}}_k(t) $$

with $\mathbf{e}_k(t) = \mathbf{y}_d(t) – \mathbf{y}_k(t)$ as the tracking error, and $K_p$ and $K_d$ as positive gain matrices. The robust term uses a sign function for disturbance rejection:

$$ \mathbf{u}^{\text{R}}_k(t) = \zeta \cdot \text{sgn}(\boldsymbol{\eta}_k(t)), \quad \boldsymbol{\eta}_k(t) = \mu \mathbf{e}_k(t) + \dot{\mathbf{e}}_k(t) $$

where ζ and μ are tunable robustness coefficients. The feedforward ILC updates via a selective learning scheme with a forgetting factor α:

$$ \mathbf{u}^{\text{ILC}}_{k+1}(t) = (1 – \alpha) \mathbf{u}_k(t) + \alpha \mathbf{u}_{k-j}(t) + \Gamma_k \mathbf{e}_k(t) + L_k \dot{\mathbf{e}}_k(t) $$

Here, j is a selection index from previous iterations, Γk and Lk are variable learning gains that evolve with iterations to accelerate convergence. For instance, Lk can increase linearly up to a maximum $L_{\text{max}}$ to adapt to error reduction. This design ensures that the quadrotor drone learns from past experiences while maintaining robustness against perturbations.

The convergence of this algorithm is analyzed through a theorem. Under certain conditions, the tracking error asymptotically bounds to a small residual set. Key assumptions include Lipschitz continuity of the system dynamics and bounded disturbances. For the quadrotor drone model, these hold in practical flight envelopes. The proof leverages Lyapunov-like methods and norm analysis, showing that the control input error decreases over iterations. Specifically, if the initial state error is bounded, the algorithm guarantees stability and convergence for the quadrotor drone trajectory tracking task.

To validate the approach, I conducted simulation experiments using MATLAB. The quadrotor drone parameters are summarized in Table 1, reflecting a typical small UAV platform.

Parameter Symbol Value
Mass m 0.52 kg
Arm length l 0.23 m
Moment of inertia (x-axis) I_x 0.0062 kg·m²
Moment of inertia (y-axis) I_y 0.0062 kg·m²
Moment of inertia (z-axis) I_z 0.0110 kg·m²
Gravity acceleration g 9.8 m/s²

The desired trajectory for the quadrotor drone is a smooth path to test tracking capabilities:

$$ x_d(t) = \frac{t}{2} \cos\left(\frac{t}{2}\right), \quad y_d(t) = \frac{t}{2} \sin\left(\frac{t}{2}\right), \quad z_d(t) = \frac{t}{10} $$

with ψ_d = 0. The corresponding desired roll and pitch angles are derived from the dynamics to ensure feasibility. External disturbances are modeled to simulate real-world conditions: in x and y directions, a Gauss-Markov process represents wind gusts, while in z and angular directions, sinusoidal and random components are added. This mimics the challenges faced by a quadrotor drone in outdoor environments.

The control parameters were tuned as follows: forgetting factor α = 0.1, feedback gains $K_p = 10I$ and $K_d = 10I$, robustness coefficients ζ = 0.5 and μ = 1, and variable learning gains with $L_{\text{max}} = 20$, $\Gamma_0 = 10$, γ = 0.1. The selection period j was set to 1 for simplicity. The simulation ran for multiple iterations, and the tracking performance improved significantly. The error convergence is shown in Figure 1, where the Euclidean norm of position errors decreases over iterations, approaching zero after about 10 iterations for the quadrotor drone.

To quantify the results, Table 2 lists the maximum tracking errors across iterations for the quadrotor drone outputs.

Iteration Max Error in z (m) Max Error in φ (rad) Max Error in θ (rad) Max Error in ψ (rad)
1 0.15 0.10 0.12 0.05
5 0.03 0.02 0.03 0.01
10 0.005 0.004 0.005 0.002

The trajectories in 3D space illustrate that the quadrotor drone closely follows the reference after learning, with near-perfect overlap. The control inputs remained within practical limits, ensuring feasibility for real quadrotor drone platforms. The robust term effectively countered disturbances, as seen in the error plots where spikes were suppressed. Compared to standard ILC, this algorithm showed faster convergence and better disturbance rejection for the quadrotor drone, highlighting its superiority.

In conclusion, the proposed robust iterative learning control algorithm offers a reliable solution for high-precision trajectory tracking of quadrotor drones. By integrating a forgetting factor, variable gains, and a selective learning scheme, it balances learning speed and robustness. The feedback PD controller ensures stability, while the robust term handles non-repetitive disturbances. Simulations confirm that the quadrotor drone achieves accurate tracking even in perturbed conditions. Future work may involve experimental validation on physical quadrotor drones and extension to formation control or adaptive tuning. This approach paves the way for more autonomous and resilient quadrotor drone operations in dynamic environments.

The mathematical formulation and analysis underscore the generality of this method. For instance, the convergence theorem can be applied to other UAVs with similar dynamics. The key equations are restated here for clarity. The quadrotor drone dynamics in compact form:

$$ \dot{\mathbf{x}} = f(\mathbf{x}) + B(\mathbf{x}) \mathbf{u} + \mathbf{D} $$

The control law:

$$ \mathbf{u}_k = \mathbf{u}^{\text{ILC}}_k + K_p \mathbf{e}_k + K_d \dot{\mathbf{e}}_k + \zeta \text{sgn}(\mu \mathbf{e}_k + \dot{\mathbf{e}}_k) $$

$$ \mathbf{u}^{\text{ILC}}_{k+1} = (1-\alpha) \mathbf{u}_k + \alpha \mathbf{u}_{k-j} + \Gamma_k \mathbf{e}_k + L_k \dot{\mathbf{e}}_k $$

The error dynamics evolve as:

$$ \dot{\mathbf{e}}_k = C \dot{\mathbf{x}}_d – C (f(\mathbf{x}_k) + B(\mathbf{x}_k) \mathbf{u}_k + \mathbf{D}_k) $$

Through iterations, these equations drive the quadrotor drone toward the desired path. The variable gains adapt based on error magnitude, exemplified by:

$$ L_k = \min(k, L_{\text{max}}), \quad \Gamma_k = \Gamma_0 – e^{-\gamma k} $$

This adaptive mechanism is crucial for handling the nonlinearities of a quadrotor drone. Overall, this work demonstrates the potential of iterative learning control in enhancing the performance of quadrotor drones for complex tasks. As quadrotor drones become more prevalent, such advanced control strategies will be essential for safety and efficiency.

Scroll to Top