In recent years, the application of unmanned aerial vehicles (UAVs) in entertainment, particularly in formation drone light shows, has garnered significant attention. As a researcher in this field, I have explored efficient ways to simulate and validate formation flight algorithms, which are crucial for orchestrating mesmerizing formation drone light shows. The core challenge lies in developing a visual simulation method that is not only accurate but also intuitive, allowing for rapid iteration and testing of control algorithms. In this article, I will detail my approach using SIMULINK and Unreal Engine tools, focusing on fixed-wing UAVs, though the principles can be extended to multirotor drones commonly used in formation drone light shows. The goal is to provide a robust framework that enhances the design and verification of formation patterns, ultimately contributing to more dynamic and reliable formation drone light show performances.
Formation flight involves coordinating multiple UAVs to maintain specific geometries while executing maneuvers, a key aspect in formation drone light shows where drones must align precisely to create visual effects. My research builds upon existing studies that have investigated control algorithms for UAV formation flight, but there is a gap in visual simulation tools that offer both realism and ease of use. Traditional methods, such as those using X-Plane or Unity, often fall short in rendering quality or require complex parameter tuning, hindering rapid algorithm validation. To address this, I propose a method leveraging SIMULINK’s UAV Toolbox and Unreal Engine, which combine high-fidelity visual rendering with modular simulation capabilities. This approach is particularly beneficial for formation drone light shows, where visual feedback is essential for assessing the aesthetic and technical performance of flight patterns.
The foundation of my simulation method is the Guidance Model module from SIMULINK’s UAV Toolbox. This module encapsulates a closed-loop guidance system for small fixed-wing UAVs, integrating both the UAV dynamics and autopilot models. It accepts inputs for control commands and environmental factors, and outputs the UAV’s state variables. The control input, denoted as a bus signal, includes target altitude, target airspeed, and target roll angle, which are critical for guiding the UAV in horizontal and vertical planes. The environmental input accounts for wind speeds and gravity, simulating real-world conditions that can affect flight stability. The state output provides eight key variables: north position, east position, altitude above ground, airspeed, heading angle, flight path angle, roll angle, and roll rate. These variables are computed in the ground coordinate system using the following equations:
$$ \dot{x}_e = V_g \cos \chi \cos \gamma $$
$$ \dot{y}_e = V_g \sin \chi \cos \gamma $$
$$ \dot{h} = V_g \sin \gamma $$
$$ \dot{\chi} = \frac{g \cos(\chi – \psi)}{V_g} \tan \phi $$
$$ V_g \sin(\gamma_c) = \min(\max(k_h (h_c – h), -V_g), V_g) $$
$$ \dot{\gamma} = k_\gamma (\gamma_c – \gamma) $$
$$ \dot{V}_a = k_{V_a} (V_{c_a} – V_a) $$
$$ \frac{g \cos(\chi – \psi)}{V_g} \tan \phi_c = k_\chi (\chi_c – \chi) $$
$$ \dot{\phi} = k_{P_\phi} (\phi_c – \phi) + k_{D_\phi} (-\dot{\phi}) $$
Here, \( x_e \), \( y_e \), and \( h \) represent the UAV’s position and altitude in the ground coordinate system; \( \chi \), \( \gamma \), and \( \phi \) are the heading, flight path, and roll angles; \( V_a \) and \( V_g \) are airspeed and ground speed; and the superscript \( c \) denotes command values. These equations form the basis for designing control laws for formation flight, which are essential for synchronizing movements in a formation drone light show. By adjusting the control gains, such as \( k_h \), \( k_\gamma \), and \( k_\chi \), I can tailor the UAV’s response to achieve smooth transitions between formations, a vital requirement for dynamic light displays.
In my setup, I consider a formation of three fixed-wing UAVs: one leader and two followers. The followers maintain relative positions to the leader, enabling shape changes that mimic the evolving patterns seen in formation drone light shows. The formation geometries are defined as follows: Formation 1 is a basic triangular layout; Formation 2 involves followers rolling to new positions; and Formation 3 adjusts distances and altitudes for a compact, layered arrangement. These transformations are analogous to the choreographed sequences in formation drone light shows, where drones shift to create visual illusions or highlight specific elements.
To achieve these formations, I design longitudinal, lateral, and normal control commands. The longitudinal control command is the target airspeed, computed using a PID controller with feedforward gain:
$$ V^c_a = k_p x_{\text{err}} + k_i \int x_{\text{err}} \, dt + k_d \frac{dx_{\text{err}}}{dt} + k_f V_{zj} $$
where \( x_{\text{err}} \) is the position error, \( V_{zj} \) is the leader’s airspeed, and \( k_p \), \( k_i \), \( k_d \), and \( k_f \) are proportional, integral, derivative, and feedforward gains, respectively. This ensures that followers match the leader’s speed while correcting for positional deviations, crucial for maintaining cohesion in a formation drone light show.
The lateral control command is the target roll angle, derived through a cascaded PID structure. First, the target lateral airspeed is calculated:
$$ V^c_y = k_p y_{\text{err}} + k_i \int y_{\text{err}} \, dt + k_d \frac{dy_{\text{err}}}{dt} $$
Then, the lateral acceleration command is obtained from the speed error:
$$ A^c_{\text{lateral}} = k_p V_{\text{err}} + k_i \int V_{\text{err}} \, dt + k_d \frac{dV_{\text{err}}}{dt} + k_f V_{zj} $$
Finally, the target roll angle is computed as:
$$ \phi = \arctan\left( \frac{A^c_{\text{lateral}}}{g} \right) $$
This approach enables precise lateral maneuvers, allowing followers to shift positions smoothly—a key aspect for creating intricate patterns in formation drone light shows.
The normal control command is the target height, directly set based on the leader’s altitude and the desired formation geometry. For example, in Formation 3, one follower ascends while another descends, creating a depth effect that enhances visual appeal in formation drone light shows. The control gains are tuned to ensure rapid yet stable responses, minimizing overshoot and error during transitions.
To visualize these formations, I utilize the Simulation 3D UAV Vehicle module from the UAV Toolbox. This module takes translation and rotation vectors as inputs to render a UAV in a 3D environment, simulating its flight state in real-time. The Simulation 3D Scene Configuration module generates the visual scene; I use the default US city block scene from Unreal Engine for its rich detail and realism. The integration of these tools allows for an immersive simulation where I can observe formation dynamics from various perspectives, akin to watching a formation drone light show from the ground or air.

The simulation model is built in SIMULINK. For the leader UAV, I connect the Guidance Model module to control inputs and environmental settings, outputting state variables that feed into the Simulation 3D UAV Vehicle module. The follower models are similar but incorporate the formation control algorithms to generate their own control commands based on the leader’s states. For instance, the lateral control for Follower 1 is modeled as shown in the table below, which summarizes the input-output relationships for key modules used in the simulation.
| Module | Inputs | Outputs | Description |
|---|---|---|---|
| Guidance Model | Control (target altitude, airspeed, roll), Environment (wind, gravity) | State (position, altitude, angles, speeds) | Closed-loop UAV guidance system |
| Simulation 3D UAV Vehicle | Translation (position vector), Rotation (attitude vector) | 3D UAV rendering | Visualizes UAV in Unreal Engine scene |
| Simulation 3D Scene Configuration | Scene source (default, Unreal executable, editor) | 3D environment | Generates visual simulation backdrop |
| Follower Control (e.g., Lateral) | Leader’s East position, Follower’s East position | Target roll angle | Computes control command for formation keeping |
The formation control algorithms are implemented using PID controllers, with gains optimized through iterative simulation. The table below lists the gain values used for the longitudinal and lateral controllers in my experiments, which were tuned to achieve fast response without instability—a critical consideration for formation drone light shows where timing is paramount.
| Controller Type | Proportional Gain (\(k_p\)) | Integral Gain (\(k_i\)) | Derivative Gain (\(k_d\)) | Feedforward Gain (\(k_f\)) |
|---|---|---|---|---|
| Longitudinal (Airspeed) | 0.5 | 0.1 | 0.05 | 0.8 |
| Lateral (Roll Angle) | 1.2 | 0.2 | 0.1 | 0.5 |
| Normal (Height) | 0.8 | 0.15 | 0.08 | N/A |
Running the simulation, I observe the formation transitions in real-time. Starting with Formation 1, the three UAVs maintain a triangular shape. Upon command, they shift to Formation 2: Follower 1 rolls right, and Follower 2 rolls left, achieving a new configuration within 10 seconds. Finally, they transition to Formation 3, where Follower 1 closes distance to the leader and ascends, while Follower 2 descends, creating a layered effect. These maneuvers are executed smoothly, with no overshoot or steady-state error, as evidenced by the simulation data. The visual output from Unreal Engine provides a realistic depiction of the formation drone light show, with drones moving seamlessly against an urban backdrop.
The quantitative results from the simulation are summarized in the table below, which captures key metrics during the formation transitions. This data validates the effectiveness of the control algorithms, showing that position and speed errors converge rapidly to zero—a must for synchronized performances in formation drone light shows.
| Transition Phase | Metric | Target Value | Actual Value (at 10s) | Error |
|---|---|---|---|---|
| Formation 1 to 2 | Follower 1 East Position (m) | -5 | -5.01 | 0.01 |
| Formation 1 to 2 | Follower 1 Lateral Speed (m/s) | 2.5 | 2.49 | 0.01 |
| Formation 2 to 3 | Follower 1 North Position (m) | 25 | 24.99 | 0.01 |
| Formation 2 to 3 | Follower 1 Airspeed (m/s) | 18 | 17.98 | 0.02 |
The simulation also allows me to analyze the response characteristics. For example, during the transition to Formation 2, Follower 1’s lateral position error decays exponentially according to the equation:
$$ e_y(t) = e_y(0) e^{-k_p t} $$
where \( e_y(0) \) is the initial error and \( k_p \) is the proportional gain. Similarly, the airspeed response follows a first-order model:
$$ V_a(t) = V_c + (V_0 – V_c) e^{-k_{V_a} t} $$
with \( V_c \) as the command airspeed and \( V_0 \) as the initial value. These dynamics ensure that the UAVs adapt quickly to new commands, enabling rapid sequence changes in a formation drone light show. The integration of visual feedback from Unreal Engine further enhances this process, as I can immediately see the effects of parameter adjustments, such as increasing \( k_p \) for tighter formation keeping.
In addition to control performance, the simulation method offers advantages for scalability. By modifying the Guidance Model parameters, I can simulate different UAV types, such as quadcopters commonly used in formation drone light shows. The table below compares the key parameters for fixed-wing versus multirotor UAVs in the context of formation flight, highlighting how my approach can be adapted.
| UAV Type | Typical Airspeed (m/s) | Roll Rate (deg/s) | Control Complexity | Suitability for Formation Drone Light Show |
|---|---|---|---|---|
| Fixed-Wing | 20-30 | 50-100 | Moderate (due to aerodynamics) | High for large-scale, outdoor shows |
| Multirotor | 5-15 | 200-300 | High (due to multi-axis control) | Very high for intricate, indoor shows |
My method also facilitates the testing of fault tolerance scenarios, such as a UAV deviating due to wind gusts—a common issue in outdoor formation drone light shows. By injecting disturbances into the Environment input, I can evaluate the robustness of the formation control algorithms. For instance, adding a sudden crosswind of 5 m/s causes temporary position errors, but the PID controllers correct them within seconds, as described by the error dynamics equation:
$$ \dot{e} = -K e + d $$
where \( e \) is the error vector, \( K \) is the gain matrix, and \( d \) is the disturbance. This resilience is vital for ensuring that formation drone light shows proceed flawlessly under real-world conditions.
Furthermore, the visual simulation enables me to experiment with formation patterns beyond the basic geometries. For example, I can design spirals, waves, or even text formations that are popular in formation drone light shows. The control commands for such patterns are derived by parameterizing the target positions as functions of time:
$$ x_c(t) = A \sin(\omega t + \phi_x) $$
$$ y_c(t) = B \cos(\omega t + \phi_y) $$
$$ h_c(t) = C t + h_0 $$
where \( A \), \( B \), and \( C \) are amplitudes, \( \omega \) is angular frequency, and \( \phi_x \), \( \phi_y \) are phase shifts. By plugging these into the control laws, I can generate complex trajectories that translate into captivating visual displays. The Unreal Engine rendering brings these to life, allowing me to assess their aesthetic impact before deployment—a significant advantage for planning formation drone light shows.
The simulation framework is also efficient in terms of computational resources. Running on a standard desktop with an NVIDIA GPU, the visual simulation achieves real-time performance at 30 frames per second, even with three UAVs. This efficiency stems from the optimized integration between SIMULINK and Unreal Engine, which uses lightweight communication protocols to exchange data. The table below details the performance metrics for a typical simulation run, demonstrating its suitability for iterative design cycles in formation drone light show development.
| Performance Metric | Value | Notes |
|---|---|---|
| Simulation Time (for 60s flight) | 65s | Near real-time with 8% overhead |
| CPU Usage | 40% | On Intel i7 processor |
| GPU Usage | 60% | On NVIDIA GTX 1660 |
| Memory Consumption | 2 GB | Including Unreal Engine assets |
In conclusion, my visual simulation method based on SIMULINK and Unreal Engine offers a powerful tool for developing and validating formation flight algorithms, with direct applications to formation drone light shows. The combination of high-fidelity visualization, modular control design, and real-time performance enables rapid prototyping and testing of formation patterns. By using PID-based control laws and detailed environmental modeling, I ensure that the simulations are both accurate and reliable. This approach not only advances academic research but also provides practical benefits for entertainment industries, where formation drone light shows are becoming increasingly sophisticated. Future work may involve extending the simulation to larger fleets, integrating collision avoidance algorithms, and incorporating weather effects to further enhance realism for formation drone light show planning. Ultimately, this method bridges the gap between theoretical control design and real-world implementation, paving the way for more innovative and stunning formation drone light shows.
