Design of Formation Control Algorithm for Drone Light Shows Based on Consensus Theory

In recent years, the rapid advancement of technology has led to an increasing complexity in tasks performed by unmanned aerial vehicles (UAVs). Single drones are often insufficient to meet the dynamic demands of modern applications, making the use of multi-drone formations a prevailing trend. Among these applications, formation drone light shows have emerged as a captivating spectacle, where multiple drones coordinate to create intricate aerial displays with synchronized lights. These shows require precise formation control to maintain geometric patterns while ensuring safety and efficiency. In this paper, we focus on the cooperative flight problem in formation drone light shows, designing a distributed control protocol based on consensus theory. We derive the cooperative control laws for drones and validate the strategy through simulations in Matlab/Simulink. Using a realistic six-degree-of-freedom (6-DOF) drone model, we conduct comprehensive simulations to verify the algorithm. Our results demonstrate that the proposed control law effectively ensures formation keeping, which is crucial for stunning and reliable formation drone light show performances.

UAVs, or drones, are unmanned aircraft controlled either autonomously or via remote radio signals, designed for specific missions. Compared to manned aircraft, drones offer advantages such as high maneuverability, low cost, simplicity of operation, and enhanced efficiency. Consequently, drones are widely used in various fields, including border patrol, disaster monitoring, battlefield reconnaissance, and target engagement. Formation drone light shows leverage these benefits to create artistic and technological displays, where multiple drones fly in predefined three-dimensional formations, dynamically adjusting patterns based on show requirements. This enhances the flexibility and机动性 of the performance. The cooperative control technology for drone formations has become a hot research topic in recent years and represents the future direction of drone development. Despite the superiority of multi-drone formations over single drones, practical engineering applications involve challenges such as formation assembly, keeping, transformation, and disbandment, along with issues like communication delays and safety. Addressing these, we study control algorithms for small drones in formation drone light shows, providing theoretical foundations for autonomous协同编队 and practical value for real-world deployments.

Consensus theory serves as a foundational framework for multi-drone systems, describing communication relationships among drones and enabling overall system modeling. This theory is an emerging intelligent algorithm with simple structure, low computational cost, ease of optimization, and practical implementability, making it increasingly applied in multi-agent协同 control, especially in drone formation flight for light shows. Consensus is defined as the gradual convergence of certain states of all agents in a multi-agent system over time. For a system with \(n\) agents, the state of the \(i\)-th agent is denoted as \(x_i\). When time \(t \rightarrow \infty\), \(\| x_i – x_j \| \rightarrow 0\) for all \(i \neq j\), indicating that the system states achieve consensus. The consensus protocol describes the interaction process among agents, detailing how each agent exchanges information with others. In formation drone light shows, this theory facilitates synchronized movements and pattern maintenance, essential for captivating displays.

To model information interaction among multiple drones, we use graph theory. A system with \(n\) agents can be represented by a graph \(G = (V, E)\), where \(V = \{v_1, \cdots, v_n\}\) is a finite non-empty set of nodes (each representing a drone), and \(E = \{e_1, \cdots, e_m\} \subseteq V \times V\) is the set of edges describing communication links. For formation drone light shows, this graph captures the connectivity between drones, which is vital for coordinated light patterns. We summarize key concepts in Table 1.

Table 1: Graph Theory Notations for Drone Formations
Symbol Description Role in Formation Drone Light Show
\(G\) Graph representing the drone network Models communication topology for light show synchronization
\(V\) Set of nodes (drones) Each node corresponds to a drone in the formation drone light show
\(E\) Set of edges (communication links) Defines how drones exchange position and light data
\(a_{ij}\) Adjacency matrix element Indicates communication from drone \(i\) to \(j\); crucial for consensus in light shows

For first-order agent systems, the mathematical model is given by:
$$\dot{\xi}_i(t) = u_i(t)$$
where \(\xi_i\) is the state of drone \(i\), and \(u_i\) is the control input. The standard consensus algorithm for first-order integrator systems is:
$$u_i(t) = -\sum_{j \in N_i} a_{ij} [\xi_i(t) – \xi_j(t)]$$
Here, \(a_{ij}\) is the element of the adjacency matrix \(A\) at time \(t\), and \(N_i\) denotes the neighbors of drone \(i\). Under time-invariant conditions, the system achieves stability if and only if the directed communication topology has a spanning tree. In formation drone light shows, this ensures that drones can align their positions for pattern formation.

However, first-order systems may not fully capture real-world dynamics. Many drones can be modeled as second-order integrator systems, described by:
$$
\begin{cases}
\dot{\xi}_i = \zeta_i \\
\dot{\zeta}_i = u_i
\end{cases}
$$
where \(\xi_i\) and \(\zeta_i\) are the position and velocity states of drone \(i\), respectively. The basic consensus algorithm for second-order systems is:
$$u_i(t) = -\sum_{j \in N_i} a_{ij} [\xi_i(t) – \xi_j(t) + \gamma(t) (\zeta_i(t) – \zeta_j(t))]$$
Here, \(\gamma(t)\) is a positive proportional coefficient at time \(t\). For a formation drone light show, \(a_{ij} = 1\) if drone \(U_i\) communicates with drone \(U_j\), else \(a_{ij} = 0\). When \(t \rightarrow \infty\), \(\|\xi_i(t) – \xi_j(t)\| \rightarrow 0\) and \(\|\zeta_i(t) – \zeta_j(t)\| \rightarrow 0\), indicating consensus in position and velocity, essential for maintaining precise formations in light shows. We summarize these protocols in Table 2.

Table 2: Consensus Protocols for Drone Formations
System Order Model Consensus Algorithm Application in Formation Drone Light Show
First-order \(\dot{\xi}_i = u_i\) \(u_i = -\sum a_{ij} (\xi_i – \xi_j)\) Basic position alignment for simple light patterns
Second-order \(\dot{\xi}_i = \zeta_i, \dot{\zeta}_i = u_i\) \(u_i = -\sum a_{ij} [\xi_i – \xi_j + \gamma (\zeta_i – \zeta_j)]\) Enhanced control for dynamic formations in complex light shows

The control law design for formation drone light shows requires drones to fly in specific formations while maintaining predetermined distances, forming a cohesive moving unit. During performances, formation keeping is paramount. Each drone relies on its own information and inter-drone communication. We first establish a complete drone model using a 6-DOF representation for realism. The formation keeping control system consists of two parts: the formation保持 controller and the drone attitude control system, as illustrated in the control structure. The formation keeper acts as the outer loop, computing attitude angles based on预定航线指令 and position-velocity information, which are passed to the inner loop—the attitude control system. This inner loop tracks the input commands by adjusting control surfaces and throttle to achieve desired attitudes and speeds.

For attitude control, we use PID controllers due to their simplicity, robustness, and抗干扰能力. The pitch rate for fixed-wing drones in short-period motion approximates a second-order system; thus, we employ proportional-integral (PI) control to retain rapid response. The yaw angle loop controls航向, critical for formation keeping in light shows, using proportional-integral-derivative (PID) control. The speed loop adjusts engine thrust via throttle with PID control to maintain velocity consistency. These controllers ensure stable flight, which is vital for synchronized movements in formation drone light shows.

In formation drone light shows, maintaining合理的队形 expands the performance scope, reduces show time, and enhances efficiency. Formations can be fixed (e.g., parallel, line, diamond, wedge) or free, where drones fly without fixed constraints but avoid collisions. Formation keeping is the core of formation control, enabling transformations and assembly. After defining the formation, the positional relationships among drones are specified. Using a reference point \(F\), we describe the desired distances and angles with a matrix:
$$F = \begin{bmatrix} \|L_{F1d}\| & \theta_{1d} & \psi_{1d} \\ \|L_{F2d}\| & \theta_{2d} & \psi_{2d} \\ \vdots & \vdots & \vdots \\ \|L_{Fnd}\| & \theta_{nd} & \psi_{nd} \end{bmatrix}$$
where for drone \(U_i\), \(L_{Fid} = (x_{Fid}, y_{Fid}, z_{Fid})^T\) is the desired distance to reference point \(F\), \(\theta_{id}\) is the vertical angle, and \(\psi_{id}\) is the horizontal angle. In a formation drone light show, this matrix defines the geometric pattern for the light display.

Applying consensus theory, we select协同 variables for control. Since drone positions cannot coincide in reality, we use position协同 variables \(P_i^C = (x_i^C, y_i^C, z_i^C)^T\), computed by each drone and converging to the same value at steady state. The预定 coordinates relative to \(F\) are:
$$
\begin{cases}
x_i^F = x_F – \|L_{Fid}\| \cos \theta_{id} \cos \psi_{id} \\
y_i^F = y_F – \|L_{Fid}\| \cos \theta_{id} \sin \psi_{id} \\
z_i^F = z_F – \|L_{Fid}\| \sin \theta_{id}
\end{cases}
$$
Combining this with the drone’s current coordinates yields the position consistency variable. Using second-order consensus, the control law for ground-speed commands is:
$$
\begin{cases}
\dot{V}_{gxi} = -\sum_{j \in N_i} a_{ij} [x_i^C – x_j^C – \gamma \dot{x}_{ij}] \\
\dot{V}_{gyi} = -\sum_{j \in N_i} a_{ij} [y_i^C – y_j^C – \gamma \dot{y}_{ij}] \\
\dot{V}_{gzi} = -\sum_{j \in N_i} a_{ij} [z_i^C – z_j^C – \gamma \dot{z}_{ij}]
\end{cases}
$$
Initially,协同 variables differ; this law provides velocity commands to achieve consensus, ensuring formation stability in a formation drone light show. These accelerations are converted to angle commands (pitch and yaw) as control inputs, enabling precise pattern maintenance. Table 3 summarizes the control variables and their roles.

Table 3: Control Variables for Formation Drone Light Shows
Variable Description Role in Formation Keeping
\(P_i^C\) Position consistency variable Ensures drones converge to common reference points for light show patterns
\(\dot{V}_{gxi}, \dot{V}_{gyi}, \dot{V}_{gzi}\) Ground-speed acceleration commands Adjust drone velocities to achieve consensus in 3D space
\(a_{ij}\) Communication adjacency element Determines information flow for synchronized movements in light shows
\(\gamma\) Proportional coefficient Tunes the response for smooth formation transitions

To validate the algorithm’s effectiveness for formation drone light shows, we simulate a three-drone人字形 formation (a common pattern in light displays) in Matlab/Simulink. The overall model comprises three identical drone models and a formation controller. Each drone model includes an attitude control law module, aerodynamic force calculation, and output module. The formation controller processes inputs and uses S-functions for guidance, sending attitude commands to each drone. Our simulations demonstrate that under the consensus-based control protocol, drones adjust their positions and heights by controlling attitude angles and speeds, reducing formation errors and achieving steady state. This is critical for flawless formation drone light show performances, where even minor deviations can disrupt visual effects.

The simulation results show that the drones successfully maintain the formation over time. In the 3D trajectory plot, the drones follow closely aligned paths, indicating precise position control. The height response curves reveal that all drones stabilize at desired altitudes with minimal oscillation, essential for maintaining elevation consistency in formation drone light shows. Similarly, the speed response curves demonstrate convergence to a common velocity, ensuring synchronized motion. These outcomes confirm that the control law guarantees formation keeping, a cornerstone for reliable and captivating formation drone light show displays. The integration of consensus theory enables robust performance even with dynamic pattern changes, such as those required in complex light shows.

In conclusion, we have focused on fixed-wing drones for formation drone light shows, addressing formation keeping through consensus theory. Using second-order consensus protocols, we designed control laws for formation maintenance and validated them via simulations. The results prove the effectiveness of our approach in ensuring stable formations. However, due to experimental limitations, our验证 relies on simulation models without real drone platforms. Future work should incorporate real-world errors and uncertainties, such as wind disturbances or communication latency, to enhance the robustness of formation drone light show systems. Additionally, expanding to larger formations and more complex patterns will further test the scalability of our algorithm. The potential applications extend beyond light shows to areas like aerial surveillance and delivery, but the immediate impact lies in advancing the artistry and reliability of formation drone light show performances. By leveraging consensus theory, we pave the way for more sophisticated and synchronized aerial displays, captivating audiences worldwide.

Scroll to Top