Adaptive Formation Control for Rotorcraft Drones Using Delay State Observers

In recent years, the advancement of unmanned aerial vehicles (UAVs), particularly rotorcraft drones, has revolutionized numerous fields due to their cost-effectiveness, maneuverability, and versatility. Among various applications, drone formation flying has emerged as a critical technology for tasks such as payload delivery, surveillance, disaster response, and environmental monitoring. However, achieving precise and robust drone formation control remains challenging due to inherent issues like communication delays and dynamic changes in system parameters, such as mass and inertia during operations. In this paper, we address these challenges by proposing an adaptive formation control method based on delay state observers. Our approach leverages a leader-follower structure, where formation control is transformed into trajectory tracking of virtual drones, and incorporates a variable delay state observer to compensate for time-varying communication delays. Additionally, an adaptive sliding mode controller is designed to estimate and adapt to changes in mass and inertia, ensuring formation stability and accuracy. Through extensive simulations, we demonstrate the effectiveness of our method in handling variable delays and inertia variations, with errors converging to zero and adaptive estimates achieving high precision. This work contributes to the field of drone formation control by providing a resilient framework that enhances operational reliability in real-world scenarios.

The concept of drone formation involves coordinating multiple drones to maintain a specific geometric pattern while executing collective tasks. This coordination is essential for improving efficiency, coverage, and redundancy in missions. However, drone formation systems are often susceptible to communication delays, which can arise from network latency, packet loss, or hardware limitations. These delays, if unaddressed, can lead to formation dispersion, collisions, or mission failure. Moreover, drones frequently undergo changes in mass and inertia during operations, such as when releasing payloads or spraying materials, further complicating control dynamics. Traditional formation control methods, including leader-follower, virtual structure, behavior-based, and consensus-based approaches, have limitations in handling such uncertainties. For instance, consensus algorithms offer robustness but may suffer from slow convergence under delays, while leader-follower methods are simple yet require accurate state information. Therefore, there is a need for integrated solutions that combine delay compensation with adaptive parameter estimation. In our research, we focus on developing a comprehensive control strategy that addresses both time-varying delays and inertia changes in drone formation. By designing a delay state observer, we estimate the leader’s real-time state from delayed measurements, and through adaptive sliding mode control, we adjust to parametric variations. This dual mechanism ensures that follower drones accurately track virtual trajectories, maintaining formation integrity even under adverse conditions.

To formalize the problem, consider a drone formation system consisting of a leader drone and multiple follower drones. The leader follows a predefined path, while followers aim to maintain relative positions based on formation parameters. The overall goal is to achieve consensus in position and attitude, minimizing tracking errors. Let the state vector for each drone be defined as $\mathbf{X} = [\phi, \dot{\phi}, \theta, \dot{\theta}, \psi, \dot{\psi}, x, \dot{x}, y, \dot{y}, z, \dot{z}]^T$, where $\phi, \theta, \psi$ are roll, pitch, and yaw angles, and $x, y, z$ are positional coordinates in an inertial frame. The dynamics of a quadrotor drone, derived from Newton-Euler principles, can be expressed as:

$$ \ddot{\phi} = \dot{\theta} \dot{\psi} \frac{I_y – I_z}{I_x} – \frac{J_r}{I_x} \dot{\theta} \Omega_r – \frac{K_{\phi}}{I_x} \dot{\phi}^2 + \frac{d}{I_x} u_2 $$

$$ \ddot{\theta} = \dot{\phi} \dot{\psi} \frac{I_z – I_x}{I_y} – \frac{J_r}{I_y} \dot{\phi} \Omega_r – \frac{K_{\theta}}{I_y} \dot{\theta}^2 + \frac{d}{I_y} u_3 $$

$$ \ddot{\psi} = \dot{\phi} \dot{\theta} \frac{I_x – I_y}{I_z} – \frac{K_{\psi}}{I_z} \dot{\psi}^2 + \frac{K_D}{I_z} u_4 $$

$$ \ddot{x} = (\cos \phi \sin \theta \cos \psi + \sin \phi \sin \psi) \frac{1}{m_0} u_1 – \frac{K_{fdx}}{m} \dot{x} + d_{Fx} $$

$$ \ddot{y} = (\cos \phi \sin \theta \sin \psi – \sin \phi \cos \psi) \frac{1}{m_0} u_1 – \frac{K_{fdy}}{m} \dot{y} + d_{Fy} $$

$$ \ddot{z} = (\cos \phi \cos \theta) \frac{1}{m_0} u_1 – g – \frac{K_{fdz}}{m} \dot{z} + d_{Fz} $$

Here, $I_x, I_y, I_z$ are moments of inertia, $m$ is the mass, $J_r$ is rotor inertia, $K$ terms are drag coefficients, $d$ is distance from center of mass to rotor axis, $\Omega_r$ is overall rotor speed, $u_1, u_2, u_3, u_4$ are control inputs, and $d_{Fx}, d_{Fy}, d_{Fz}$ are disturbances. The system is underactuated, controlling position $[x, y, z]^T$ and yaw $\psi$ while stabilizing roll $\phi$ and pitch $\theta$. For drone formation, we adopt a leader-follower approach, where followers track virtual drones generated from formation parameters. The virtual drone position $\mathbf{\xi}_v = [x_v, y_v, z_v, \psi_v]^T$ is given by:

$$ x_v = x_l – h_d \cos(h_{\phi_1}) \cos(h_{\phi_2}) $$

$$ y_v = y_l – h_d \sin(h_{\phi_1}) \cos(h_{\phi_2}) $$

$$ z_v = z_l – h_d \sin(h_{\phi_2}) $$

$$ \psi_v = \psi_l $$

where $[x_l, y_l, z_l, \psi_l]^T$ is the leader’s state, and $h_d, h_{\phi_1}, h_{\phi_2}$ are formation distance and angles. The control objective is to minimize tracking error $\mathbf{e}(t) = \mathbf{\xi}_f(t) – \mathbf{\xi}_v(t)$, ensuring asymptotic stability. However, communication delays introduce delayed leader states $\tilde{\mathbf{\xi}}(t) = \mathbf{\xi}_l[t – \delta(t)]$, where $\delta(t) \in [0, \Delta]$ is a bounded time-varying delay. This delay can degrade formation performance, necessitating a state observer for compensation.

Our method begins with the design of a delay state observer. Considering the nonlinear drone dynamics, we analyze observability using differential geometry. A system is weakly observable if the observability matrix $\mathcal{O}_m$ is full rank. For our drone model, with output $\mathbf{\xi} = [\phi, \theta, \psi, x, y, z]^T$, we compute Lie derivatives to construct $\mathcal{O}_m$. For example, the Lie derivative of $h_1 = \phi$ with respect to the vector field $\mathbf{f}$ is $L_f h_1 = \dot{\phi}$. The observability matrix is derived as:

$$ \mathcal{O}_m = \frac{\partial}{\partial \mathbf{X}} [h_1, h_2, \dots, h_6, L_f h_1, \dots, L_f h_6]^T $$

which results in a full-rank matrix, proving weak local observability. This allows us to design an observer for the leader’s state. The system dynamics can be rewritten in state-space form:

$$ \dot{\mathbf{X}}(t) = A \mathbf{X}(t) + M(\mathbf{X}, t, \mathbf{u}) $$

$$ \mathbf{\xi}(t) = C \mathbf{X}(t – \delta(t)) $$

where $A$ is a matrix capturing linear terms, $M$ encapsulates nonlinearities, and $C$ is the output matrix. We propose a variable delay state observer:

$$ \dot{\hat{\mathbf{X}}}(t) = A \hat{\mathbf{X}}(t) + M(\hat{\mathbf{X}}, t, \mathbf{u}) + K \left( \tilde{\mathbf{\xi}}(t) – C \hat{\mathbf{X}}[t – \delta(t)] \right) $$

Here, $\hat{\mathbf{X}}$ is the estimated state, and $K$ is the observer gain matrix designed to ensure stability. Under Lipschitz continuity of $M$ and bounded delay $\delta(t)$, we prove that $\lim_{t \to \infty} \| \hat{\mathbf{X}}(t) – \mathbf{X}(t) \| = 0$. The gain $K$ is selected via pole placement; for instance, for a second-order subsystem, we set eigenvalues as $-\kappa$ with $\kappa > 0$, yielding $k_1 = 2\kappa$ and $k_2 = \kappa^2$. Through parameter tuning, we achieve fast convergence with minimal overshoot, enabling accurate state estimation despite delays.

Next, we develop an adaptive sliding mode controller for the follower drones. The controller must handle uncertainties in mass $m$ and inertia $I_x, I_y, I_z$, which vary during operations. We redefine dynamic equations in terms of unknown parameters $\lambda_i$. For the roll channel:

$$ \ddot{\phi} = \frac{1}{\lambda_0} u_2 + \lambda_1 \dot{\theta} \dot{\psi} + \lambda_2 \dot{\phi}^2 + \lambda_3 \Omega_r \dot{\theta} $$

where $\lambda_0 = I_x / d$, $\lambda_1 = (I_y – I_z)/d$, $\lambda_2 = -K_{\phi}/d$, $\lambda_3 = -J_r/d$. Similar parameterizations apply to pitch, yaw, and altitude channels. We design sliding surfaces for each controlled variable:

$$ \sigma_1 = \dot{e}_{\phi} + c e_{\phi}, \quad e_{\phi} = \phi – \phi_d $$

$$ \sigma_2 = \dot{e}_{\theta} + c e_{\theta}, \quad e_{\theta} = \theta – \theta_d $$

$$ \sigma_3 = \dot{e}_{\psi} + c e_{\psi}, \quad e_{\psi} = \psi – \psi_d $$

$$ \sigma_4 = \dot{e}_{z} + c e_{z}, \quad e_{z} = z – z_d $$

with $c > 0$. The control laws are formulated as:

$$ u_1 = \frac{1}{\cos \phi \cos \theta} \left[ \hat{\lambda}_{11} \dot{z} + \hat{m} (g + \ddot{z}_d – c \dot{e}_z – c_4 \sigma_4) \right] $$

$$ u_2 = \hat{\lambda}_0 (\ddot{\phi}_d – c \dot{e}_{\phi} – c_1 \sigma_1) – \hat{\lambda}_1 \dot{\theta} \dot{\psi} – \hat{\lambda}_2 \dot{\phi}^2 – \hat{\lambda}_3 \Omega_r \dot{\theta} $$

$$ u_3 = \hat{\lambda}_4 (\ddot{\theta}_d – c \dot{e}_{\theta} – c_2 \sigma_2) – \hat{\lambda}_5 \dot{\phi} \dot{\psi} – \hat{\lambda}_6 \dot{\theta}^2 – \hat{\lambda}_7 \Omega_r \dot{\phi} $$

$$ u_4 = \hat{\lambda}_8 (\ddot{\psi}_d – c \dot{e}_{\psi} – c_3 \sigma_3) – \hat{\lambda}_9 \dot{\phi} \dot{\theta} – \hat{\lambda}_{10} \dot{\psi}^2 $$

where $\hat{\lambda}_i$ and $\hat{m}$ are estimates of unknown parameters. Adaptive laws are derived using Lyapunov stability theory:

$$ \dot{\hat{\lambda}}_0 = -\alpha_1 \text{sgn}(\lambda_0) \sigma_1 (\ddot{\phi}_d – c \dot{e}_{\phi}) $$

$$ \dot{\hat{\lambda}}_1 = \alpha_1 \text{sgn}(\lambda_0) \sigma_1 \dot{\theta} \dot{\psi} $$

$$ \dot{\hat{\lambda}}_2 = \alpha_1 \text{sgn}(\lambda_0) \sigma_1 \dot{\phi}^2 $$

$$ \dot{\hat{\lambda}}_3 = \alpha_1 \text{sgn}(\lambda_0) \sigma_1 \Omega_r \dot{\theta} $$

$$ \dot{\hat{\lambda}}_4 = -\alpha_2 \text{sgn}(\lambda_4) \sigma_2 (\ddot{\theta}_d – c \dot{e}_{\theta}) $$

$$ \dot{\hat{\lambda}}_5 = \alpha_2 \text{sgn}(\lambda_4) \sigma_2 \dot{\phi} \dot{\psi} $$

$$ \dot{\hat{\lambda}}_6 = \alpha_2 \text{sgn}(\lambda_4) \sigma_2 \dot{\theta}^2 $$

$$ \dot{\hat{\lambda}}_7 = \alpha_2 \text{sgn}(\lambda_4) \sigma_2 \Omega_r \dot{\phi} $$

$$ \dot{\hat{\lambda}}_8 = -\alpha_3 \text{sgn}(\lambda_8) \sigma_3 (\ddot{\psi}_d – c \dot{e}_{\psi}) $$

$$ \dot{\hat{\lambda}}_9 = \alpha_3 \text{sgn}(\lambda_8) \sigma_3 \dot{\phi} \dot{\theta} $$

$$ \dot{\hat{\lambda}}_{10} = \alpha_3 \text{sgn}(\lambda_8) \sigma_3 \dot{\psi}^2 $$

$$ \dot{\hat{\lambda}}_{11} = \alpha_4 \sigma_4 \dot{z} $$

$$ \dot{\hat{m}} = -\alpha_4 \sigma_4 (g + \ddot{z}_d – c \dot{e}_z – c_4 \sigma_4) $$

with adaptive gains $\alpha_i > 0$. The Lyapunov function $V = \frac{1}{2} \sigma^T \sigma + \frac{1}{2\alpha_1} \sum \tilde{\lambda}_i^2 + \cdots$ ensures asymptotic stability, as $\dot{V} \leq 0$. This controller enables real-time parameter estimation, adapting to changes in mass and inertia during drone formation tasks.

To validate our approach, we conduct simulation studies in MATLAB. Two scenarios are designed: continuous mass change (simulating dry ice spraying) and discrete mass change (simulating payload drops). The drone formation involves a leader and followers tracking virtual trajectories. Initial parameters are set as shown in Table 1.

Table 1: Simulation Initial Parameters
Parameter Value
Initial moments of inertia $I_{x0}, I_{y0}$ (kg·m²) 0.04
Initial moment of inertia $I_{z0}$ (kg·m²) 0.08
Nominal mass $m_0$ (kg) 3
Air friction coefficient $K_{fa0}$ (N·s/m) 0.05
Drag coefficient $K_{D0}$ (N·s/m) 0.1
Rotor inertia $J_{r0}$ (kg·m²) 0.01
Distance from center $d$ (m) 0.5
Observer gain $\kappa$ 0.6
Time-varying delay $\delta(t)$ (s) [0, 1]
Adaptive gains $\alpha_i$ 1
Sliding surface coefficient $c$ 0.6

In the first scenario, the virtual drone follows a helical path: $P_d = [0.5 \cos(0.5t), 0.5 \sin(0.5t), 2 + 0.1t]$. Mass decreases linearly as $m = (3 – 0.03t)$ kg, and inertia changes proportionally. Disturbances are added to all axes. The delay state observer quickly converges within 3 seconds, and the follower achieves precise tracking after 7 seconds. The adaptive estimates for mass and inertia parameters converge to true values with errors below 6%, as summarized in Table 2.

Table 2: Adaptive Estimation Errors in Scenario 1
Parameter True Value Estimated Value Error (%)
$m$ (kg) at $t=20$ s 2.4 2.38 0.83
$I_x$ (kg·m²) 0.028 0.0275 1.79
$I_z$ (kg·m²) 0.068 0.066 2.94
$\lambda_0$ 0.056 0.055 1.79

The second scenario involves a mountainous terrain path with discrete payload drops every 6 seconds, each reducing mass by 0.5 kg and inertia $I_z$ by 0.005 kg·m². The drone formation maintains accurate tracking, and the adaptive controller handles step changes effectively, with steady-state mass error around 0.17 kg. The observer compensates for delays without lag, ensuring formation cohesion. These results highlight the robustness of our method in diverse drone formation applications.

Our approach offers several advantages for drone formation control. First, the delay state observer actively compensates for time-varying communication delays, unlike passive methods that may only guarantee bounded errors. Second, the adaptive sliding mode controller provides real-time parameter estimation, accommodating changes in mass and inertia without requiring prior knowledge. This is crucial for missions involving payload manipulation. Third, the integration of observer and controller ensures overall system stability, as proven via Lyapunov analysis. However, there are limitations. The observer design assumes Lipschitz continuity of nonlinearities, which may not hold in extreme conditions. Additionally, the leader-follower structure may face scalability issues in large-scale formations. Future work could explore extending this framework to consensus-based drone formation, where distributed observers and adaptive protocols enhance scalability. Moreover, incorporating machine learning techniques for delay prediction could further improve performance. Experimental validation with physical drones is also planned to assess real-world applicability.

In conclusion, drone formation control is a pivotal area in autonomous systems, enabling coordinated operations in complex environments. Our proposed method, combining delay state observers and adaptive sliding mode control, addresses key challenges of communication delays and parameter variations. Through simulations, we demonstrate effective tracking and adaptation, with errors converging to zero. This work contributes to advancing drone formation technologies, offering a resilient solution for practical deployments. As drone applications expand, such adaptive control strategies will play a vital role in ensuring reliable and efficient formation flying, paving the way for innovative uses in logistics, agriculture, and public safety.

To further elaborate on the mathematical foundations, consider the stability proof for the adaptive controller. Define parameter estimation errors $\tilde{\lambda}_i = \lambda_i – \hat{\lambda}_i$. For the roll channel, using the control law $u_2$, the closed-loop dynamics become:

$$ \lambda_0 \dot{\sigma}_1 + c_1 \sigma_1 = \tilde{\lambda}_1 \dot{\theta} \dot{\psi} + \tilde{\lambda}_2 \dot{\phi}^2 + \tilde{\lambda}_3 \Omega_r \dot{\theta} – \tilde{\lambda}_0 (\ddot{\phi}_d – c \dot{e}_{\phi}) $$

Choosing Lyapunov function $V_2 = \frac{1}{2|\lambda_0|} \sigma_1^2 + \frac{1}{2\alpha_1} \sum_{i=0}^3 \tilde{\lambda}_i^2$, its derivative yields:

$$ \dot{V}_2 = \frac{\sigma_1}{|\lambda_0| \lambda_0} \left[ \tilde{\lambda}_1 \dot{\theta} \dot{\psi} + \tilde{\lambda}_2 \dot{\phi}^2 + \tilde{\lambda}_3 \Omega_r \dot{\theta} – \lambda_0 (\ddot{\phi}_d – c \dot{e}_{\phi}) – c_1 \sigma_1 \right] – \frac{1}{\alpha_1} \sum_{i=0}^3 \tilde{\lambda}_i \dot{\hat{\lambda}}_i $$

Substituting adaptive laws, we obtain $\dot{V}_2 = -c_1 \sigma_1^2 \leq 0$, proving asymptotic stability. Similar derivations apply to other channels, ensuring overall system stability. This theoretical guarantee underpins the practical efficacy of our drone formation control method.

In terms of implementation, the computational complexity of our algorithm is manageable for onboard processors. The observer requires solving a differential equation with gain matrices, while the adaptive laws involve simple integrations. For real-time execution, optimization techniques such as embedded systems or FPGA acceleration can be employed. Additionally, the method can be extended to heterogeneous drone formations, where drones have different dynamics, by customizing observer and controller parameters. This flexibility enhances its applicability across various drone platforms.

Another aspect is the impact of environmental factors on drone formation. Wind gusts, turbulence, and electromagnetic interference can introduce additional disturbances. Our controller’s robustness stems from the sliding mode component, which inherently rejects matched disturbances. However, for unmatched disturbances, further enhancements like disturbance observers or robust adaptive control could be integrated. These extensions will be explored in subsequent research to fortify drone formation systems against diverse external factors.

From a broader perspective, drone formation technology is evolving rapidly, with trends toward swarm intelligence and autonomous decision-making. Our work aligns with these trends by providing a low-level control solution that ensures precise formation keeping. Higher-level planners can then focus on task allocation, path planning, and collision avoidance, creating a hierarchical control architecture. For instance, in search-and-rescue missions, drone formations can cover large areas efficiently, with our method maintaining formation integrity despite communication dropouts or payload releases. This synergy between low-level control and high-level coordination is key to advancing autonomous drone swarms.

In summary, we have presented a comprehensive approach to adaptive formation control for rotorcraft drones. By addressing both communication delays and parameter variations, our method enhances the reliability and accuracy of drone formation flying. The integration of delay state observers and adaptive sliding mode control offers a novel solution that is both theoretically sound and practically viable. As drone technologies continue to permeate various sectors, such control strategies will be instrumental in unlocking their full potential, enabling sophisticated applications that require coordinated multi-agent systems. We believe this research contributes significantly to the field and opens avenues for future innovations in drone formation control.

Scroll to Top