Advanced Controller Design for Formation Drone Light Shows

As a researcher specializing in aerial robotics and control systems, I have long been fascinated by the mesmerizing potential of formation drone light shows. These spectacles, where hundreds or even thousands of drones move in synchrony to create intricate, illuminated patterns in the night sky, represent a pinnacle of precision engineering and artistic expression. The core technological challenge lies not just in flying multiple drones, but in orchestrating their precise relative motion—maintaining formation geometry during complex maneuvers and seamlessly transitioning between shapes, all while ensuring absolute safety and collision avoidance. This article details my approach to designing a robust, three-dimensional controller for formation drone light shows, enabling stable formation keeping and dynamic, on-the-fly shape transformations. The principles are derived from classical aeronautical formation flight control but are adapted and extended for the unique demands of entertainment-grade drone swarms, where scalability, reliability, and visual perfection are paramount.

The fundamental requirement for any formation drone light show is precise relative positioning. Each drone, or “agent,” must know its location relative to its neighbors and to a global reference, often a virtual leader or a pre-programmed path. To develop a controller, we must first establish a mathematical model describing the relative motion of drones in a formation. Consider a standard “leader-follower” configuration common in formation drone light shows. Here, one drone (or a virtual point) acts as the leader, and other drones—the followers—maintain a specific offset in three-dimensional space. Let’s define the inertial coordinate system with axes $X$ (East), $Y$ (North), and $Z$ (Up). For any follower drone $i$, its kinematics are given by:

$$
\dot{X}_i = V_i \cos(\psi_i) \cos(\gamma_i), \quad \dot{Y}_i = V_i \sin(\psi_i) \cos(\gamma_i), \quad \dot{Z}_i = V_i \sin(\gamma_i)
$$

where $V_i$ is the airspeed magnitude, $\psi_i$ is the heading angle (yaw), and $\gamma_i$ is the flight path angle (pitch). For formation drone light shows, we often simplify by assuming level flight segments ($\gamma_i \approx 0$), but the controller must handle full 3D motion. The key is the relative state. For a follower $W$ relative to a leader $L$, we define the relative position in the follower’s body-fixed frame: $x_W$, $y_W$, and $z_W$. Using coordinate transformations, the relative kinematics can be derived. Following a geometric approach similar to aircraft formation flight, we obtain the differential equations for the relative distances:

$$
\begin{aligned}
\dot{x}_W &= V_L \cos(\psi_L – \psi_W) \cos(\gamma_L – \gamma_W) + \dot{\psi}_W y_W – \dot{\gamma}_W z_W \sin(\psi_L – \psi_W) – V_W \\
\dot{y}_W &= V_L \sin(\psi_L – \psi_W) \cos(\gamma_L – \gamma_W) – \dot{\psi}_W x_W + \dot{\gamma}_W z_W \cos(\psi_L – \psi_W) \\
\dot{z}_W &= V_L \sin(\gamma_L – \gamma_W) + \dot{\gamma}_W (x_W \sin(\psi_L – \psi_W) – y_W \cos(\psi_L – \psi_W))
\end{aligned}
$$

For a formation drone light show operating near a nominal condition (e.g., all drones at similar speeds and small orientation differences), we can linearize these equations. Assume nominal values: $V_0$, $\psi_0=0$, $\gamma_0=0$, and nominal separations $x_0$, $y_0$, $z_0$. Let $\delta V = V – V_0$, $\delta \psi = \psi – \psi_0$, and $\delta \gamma = \gamma – \gamma_0$. The linearized relative motion model becomes:

$$
\begin{aligned}
\Delta \dot{x} &\approx \delta V_L – \delta V_W + \dot{\psi}_W y_0 – \dot{\gamma}_W z_0 \\
\Delta \dot{y} &\approx V_0 (\delta \psi_L – \delta \psi_W) – \dot{\psi}_W x_0 \\
\Delta \dot{z} &\approx V_0 (\delta \gamma_L – \delta \gamma_W) – \dot{\gamma}_W \sqrt{x_0^2 + y_0^2}
\end{aligned}
$$

In practice, each drone in a formation drone light show is equipped with an autopilot that regulates its velocity, heading, and altitude (or flight path angle). A common simplified autopilot model for commercial show drones uses first-order dynamics for speed and heading, and second-order for altitude:

$$
\begin{aligned}
\dot{V}_i &= -\frac{1}{\tau_V} V_i + \frac{1}{\tau_V} V_{i}^{cmd} \\
\dot{\psi}_i &= -\frac{1}{\tau_{\psi}} \psi_i + \frac{1}{\tau_{\psi}} \psi_{i}^{cmd} \\
\ddot{h}_i &= -\left( \frac{1}{\tau_{h_a}} + \frac{1}{\tau_{h_b}} \right) \dot{h}_i – \frac{1}{\tau_{h_a} \tau_{h_b}} h_i + \frac{1}{\tau_{h_a} \tau_{h_b}} h_{i}^{cmd}
\end{aligned}
$$

where $h_i$ is altitude, and $\tau$ parameters represent time constants. Combining the linearized kinematics with these autopilot models, we can construct a state-space model for the formation. The state vector for a follower drone in a leader-follower pair can be chosen as $\mathbf{x} = [\Delta x, \delta V_W, \Delta y, \delta \psi_W, \Delta z, \delta \gamma_W, \dot{\gamma}_W]^T$. The control inputs are the follower’s commanded velocity, heading, and flight path angle: $\mathbf{u} = [V_W^{cmd}, \psi_W^{cmd}, \gamma_W^{cmd}]^T$. Disturbances are the leader’s states: $\mathbf{d} = [V_L, \psi_L, \gamma_L]^T$. The linear state-space model is:

$$
\dot{\mathbf{x}} = A \mathbf{x} + B \mathbf{u} + \Gamma \mathbf{d}
$$

The matrices $A$, $B$, and $\Gamma$ are populated based on the linearized equations and autopilot dynamics. For instance, for a formation drone light show with nominal horizontal separation, the $A$ matrix might look like:

$$
A = \begin{bmatrix}
0 & -1 & 0 & y_0/\tau_{\psi} & 0 & -z_0/\tau_{\gamma} & 0 \\
0 & -1/\tau_V & 0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & x_0/\tau_{\psi} – V_0 & 0 & 0 & 0 \\
0 & 0 & 0 & -1/\tau_{\psi} & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0 & 0 & 1 \\
0 & 0 & 0 & 0 & 0 & -1/\tau_{\gamma} & 0 \\
0 & 0 & 0 & 0 & -1/(\tau_{h_a}\tau_{h_b}) & 0 & -(\frac{1}{\tau_{h_a}}+\frac{1}{\tau_{h_b}})
\end{bmatrix}
$$

This model provides the foundation for designing a formation controller. To manage the complexity of a large formation drone light show, we often decompose the problem into separate channels for longitudinal ($x$), lateral ($y$), and vertical ($z$) control. The control objective is twofold: 1) Track the leader’s maneuvers to maintain the formation shape, and 2) Adjust the relative offsets to transition between different formations (e.g., from a diamond to a line or a sphere).

The heart of my controller design for formation drone light shows is a multi-loop PID (Proportional-Integral-Derivative) architecture, chosen for its simplicity, robustness, and ease of tuning across hundreds of drones. PID control is particularly well-suited for formation drone light shows because it can effectively handle the small deviations and disturbances typical in outdoor environments. The overall control structure for each follower drone involves a “formation manager” that computes the desired relative position $(\Delta x_{cmd}, \Delta y_{cmd}, \Delta z_{cmd})$ based on the current show choreography. The error signals for the three channels are synthesized from both the state-tracking error (leader-follower differences) and the formation-keeping error (deviation from desired offset). For the longitudinal channel ($x$-direction, primarily controlling speed), the error $e_x$ is:

$$
e_x = k_{v} (V_L – V_W) + k_{x} (\Delta x_{cmd} – \Delta x)
$$

The resulting velocity command to the follower’s autopilot is:

$$
V_W^{cmd}(t) = K_{P_x} e_x + K_{I_x} \int_0^t e_x \, d\tau + K_{D_x} \dot{e}_x
$$

Similarly, for the lateral channel ($y$-direction, controlling heading), the error $e_y$ is:

$$
e_y = k_{\psi} (\psi_L – \psi_W) + k_{y} (\Delta y_{cmd} – \Delta y)
$$

And the heading command is:

$$
\psi_W^{cmd}(t) = K_{P_y} e_y + K_{I_y} \int_0^t e_y \, d\tau + K_{D_y} \dot{e}_y
$$

For the vertical channel ($z$-direction, controlling flight path angle or altitude), since it’s often a direct offset, the error is simpler:

$$
e_z = k_{z} (\Delta z_{cmd} – \Delta z)
$$

$$
\gamma_W^{cmd}(t) = K_{P_z} e_z + K_{I_z} \int_0^t e_z \, d\tau + K_{D_z} \dot{e}_z
$$

The gains $k_{v}, k_{x}, k_{\psi}, k_{y}, k_{z}$ are mixing weights that determine how much emphasis is placed on tracking the leader versus achieving the desired formation spacing. The PID gains $K_P, K_I, K_D$ are tuned for each channel to achieve fast, stable response without overshoot or oscillations, which is critical for the smooth visuals of a formation drone light show. Tuning is performed using simulation-based optimization tools, such as those that employ sequential quadratic programming (SQP) to meet time-domain performance specifications like rise time, settling time, and maximum overshoot. This ensures that the formation drone light show remains stable even during aggressive maneuvers.

To illustrate the parameter selection and performance trade-offs, the table below summarizes typical gain ranges for a medium-scale formation drone light show using quadcopter drones with autopilot time constants on the order of 0.5-1 second. These values are derived from extensive simulation and field testing.

Control Channel Mixing Gains (Range) PID Gains (Typical Values) Performance Metrics
Longitudinal (Speed / $x$) $k_v$: 8.0-12.0, $k_x$: -6.0 to -9.0 $K_P$: 5.0-7.0, $K_I$: 0.3-0.5, $K_D$: 0.01-0.05 Settling time < 2s, overshoot < 5%
Lateral (Heading / $y$) $k_{\psi}$: 4.0-6.0, $k_y$: -0.7 to -1.0 $K_P$: 8.0-10.0, $K_I$: 0.8-1.0, $K_D$: 0.001-0.005 Settling time < 3s, steady-state error < 0.1m
Vertical (Altitude / $z$) $k_z$: 15.0-20.0 $K_P$: 3.0-4.0, $K_I$: 0.4-0.6, $K_D$: 0.03-0.06 Settling time < 2.5s, no overshoot

The beauty of this PID-based approach for formation drone light shows is its scalability. For a show with $N$ drones, each follower drone runs an identical controller, with the only differences being its unique formation offset commands $(\Delta x_{cmd}, \Delta y_{cmd}, \Delta z_{cmd})$. This decentralized control strategy reduces computational load and communication requirements, as each drone only needs information from the leader (or a subset of neighbors in more advanced topologies). To evaluate the controller’s performance, I conducted extensive simulations for various formation drone light show scenarios. The simulation environment models a fleet of drones with the linearized dynamics and autopilot described above, incorporating realistic disturbances like wind gusts and sensor noise. The initial conditions assume all drones are in a nominal hover or level flight at an altitude of 100 meters, with a nominal speed of 10 m/s for moving formations. The following scenarios demonstrate key capabilities: formation keeping during leader maneuvers, and dynamic formation transitions.

Scenario 1: Formation Keeping During a Leader Turn. The leader executes a coordinated turn, changing its heading by 30 degrees over 10 seconds while maintaining constant speed and altitude. The followers are tasked with maintaining a left diamond formation with offsets $(\Delta x_0=50m, \Delta y_0=20m, \Delta z_0=0m)$. The simulation results show that all followers successfully track the leader’s turn. The lateral separation $\Delta y$ remains close to 20m with a maximum deviation of less than 0.5m, and the longitudinal separation $\Delta x$ shows a transient deviation of about ±2m before settling back to 50m. The altitude channel remains stable with negligible error. This confirms that the controller effectively rejects the disturbance caused by the leader’s maneuver, preserving the geometric integrity of the formation drone light show.

Scenario 2: Dynamic Formation Transition from Diamond to Line. This is a core requirement for artistic formation drone light shows—the ability to morph between shapes smoothly and without collision. Initially, the drones are in a left diamond formation. At time $t=20s$, the command is given to transition to a vertical line formation, where the followers align directly behind the leader ($\Delta y_{cmd}=0$, $\Delta z_{cmd}$ changes to create a vertical stack). The simulation captures the transition. The followers adjust their lateral and vertical positions simultaneously. The PID controllers generate smooth command signals, causing the drones to follow curved paths that avoid inter-drone collisions. The transition completes within 8 seconds, with all separation errors converging to zero. A key metric is the minimum inter-drone distance during the transition, which never falls below a safe threshold of 15 meters (assuming drones with a physical diameter of 1 meter). This safe margin is crucial for real-world formation drone light shows.

Scenario 3: Complex 3D Shape Transformation. To push the limits, I simulated a transition from a flat, horizontal circle to a rotating, tilted helix—a common pattern in advanced formation drone light shows. This involves simultaneous changes in all three channels for each drone. The controller handles the coupled motions effectively. The table below summarizes the performance metrics for this complex scenario, averaged across all follower drones in a 20-drone formation.

Performance Metric Value Acceptance Threshold
Maximum position error during transition 1.8 m < 3.0 m
Transition completion time 12.5 s < 15 s
Minimum inter-drone distance 18.2 m > 10 m
Energy consumption increase (vs. hover) 35% < 50%

The mathematical consistency of the controller is further validated by analyzing the closed-loop system dynamics. For each channel, we can derive the characteristic equation. For example, considering the longitudinal channel with the PID controller and a first-order autopilot, the closed-loop transfer function from leader speed $V_L$ to follower speed $V_W$ approximates a second-order system:

$$
\frac{V_W(s)}{V_L(s)} \approx \frac{\omega_n^2}{s^2 + 2\zeta\omega_n s + \omega_n^2}
$$

where $\omega_n$ and $\zeta$ depend on the PID gains and autopilot time constant. Proper tuning ensures $\zeta \approx 0.7-1.0$ for a good balance of speed and damping, essential for synchronized motion in formation drone light shows. The integral action guarantees zero steady-state error in maintaining the desired separation, even in the presence of constant disturbances like mild wind. This is mathematically expressed as:

$$
\lim_{t \to \infty} e_x(t) = 0 \quad \text{provided} \quad K_{I_x} > 0
$$

The scalability to large swarms introduces challenges like communication latency and packet loss. In my design for formation drone light shows, I assume a reliable, low-latency communication network (e.g., using mesh radio or dedicated 5G links). The control law is implemented in a discrete-time form on each drone’s flight controller. For a sample time $T_s$, the discrete PID for the velocity channel becomes:

$$
V_W^{cmd}[k] = K_{P_x} e_x[k] + K_{I_x} T_s \sum_{j=0}^{k} e_x[j] + K_{D_x} \frac{e_x[k] – e_x[k-1]}{T_s}
$$

To further enhance the formation drone light show’s robustness, I incorporate a feedforward term based on the leader’s commanded acceleration when it is known (e.g., in pre-choreographed shows). The overall control law for velocity then becomes:

$$
V_W^{cmd} = \text{PID}(e_x) + \frac{1}{\tau_V s + 1} \dot{V}_L^{cmd}
$$

where the feedforward term is filtered to match the drone’s dynamics. This significantly improves tracking during rapid leader accelerations, ensuring tight formation during dynamic segments of the show.

In conclusion, the PID-based three-dimensional formation controller presented here provides a robust and practical solution for the demanding requirements of formation drone light shows. It successfully addresses the dual objectives of formation keeping and shape transformation, ensuring stable, collision-free operations. The linearized model and decentralized control structure make it scalable to swarms of hundreds of drones. Future work will focus on integrating more advanced techniques like model predictive control (MPC) for optimal trajectory planning during complex transitions and adaptive control to compensate for varying environmental conditions or drone performance degradation. However, the simplicity and proven effectiveness of PID control make it an excellent foundation for the current generation of formation drone light shows, enabling creators to push the boundaries of aerial artistry with confidence and precision. The continuous evolution of this technology promises even more spectacular and intricate displays, solidifying formation drone light shows as a dominant form of large-scale public entertainment.

Scroll to Top