Indoor Drone Formation Flight Planning Using UWB Positioning

In recent years, the application of drone technology has expanded significantly, leading to a growing need for coordinated multi-drone operations in various fields, including civil aviation. Drone formation flights are crucial for tasks such as surveillance, logistics, and collaborative mapping. However, while outdoor drone formations can rely on global navigation satellite systems like GPS or BeiDou, indoor environments pose significant challenges due to signal attenuation and multipath effects, resulting in unreliable positioning data. To overcome these limitations, we have investigated the use of Ultra-Wideband (UWB) positioning technology for indoor drone formation flight planning. Our project focuses on developing and testing algorithms for precise localization and control, enabling stable and efficient drone formation flights in confined spaces. This article details our approach, from UWB principles to system implementation, emphasizing the importance of accurate positioning for successful drone formation operations.

The core of any drone formation system is precise localization, which ensures that drones maintain desired positions and trajectories relative to each other. In indoor settings, traditional methods fall short, prompting us to explore UWB technology. UWB uses extremely narrow pulses for communication, offering high bandwidth, low power consumption, and robustness against interference. We designed a system comprising UWB base stations and tags, integrated with quadcopter drones equipped with flight controllers and microcontrollers. Through experiments, we validated the effectiveness of UWB-based TDOA (Time Difference of Arrival) algorithms for real-time positioning and adopted a leader-follower approach for formation control. Our work demonstrates that UWB can enable reliable indoor drone formation flights, paving the way for applications in warehouses, factories, and other GPS-denied environments. Throughout this research, we consistently highlight the critical role of drone formation stability and coordination, driven by accurate UWB positioning.

UWB positioning technology operates by transmitting and receiving short-duration pulses, typically in the nanosecond range, which allows for precise time-of-flight measurements. The fundamental principle involves calculating distances between modules based on the time it takes for signals to travel. For two modules, A and B, the distance is determined using the two-way time-of-flight method. Module A sends a signal at time \( T_{A1} \), which is received by module B at time \( T_{B1} \). Module B then responds with a signal at time \( T_{B2} \), received by module A at time \( T_{A2} \). The flight time \( T \) is computed as follows:

$$ T = \frac{(T_{A2} – T_{A1}) – (T_{B2} – T_{B1})}{2} $$

Given the speed of light \( C \), the distance \( S \) between the modules is:

$$ S = C \times T $$

This method provides centimeter-level accuracy, making it suitable for indoor drone formation applications where precision is paramount. To further enhance localization, we employ TDOA algorithms, which utilize time differences of signal arrivals at multiple base stations to determine the tag’s position. If we have four base stations with known coordinates—A \((X_1, Y_1, Z_1)\), B \((X_2, Y_2, Z_2)\), C \((X_3, Y_3, Z_3)\), and D \((X_4, Y_4, Z_4)\)—and a tag at unknown coordinates \((X, Y, Z)\), the distances \( r_i \) from the tag to each base station are:

$$ r_1 = \sqrt{(X – X_1)^2 + (Y – Y_1)^2 + (Z – Z_1)^2} $$
$$ r_2 = \sqrt{(X – X_2)^2 + (Y – Y_2)^2 + (Z – Z_2)^2} $$
$$ r_3 = \sqrt{(X – X_3)^2 + (Y – Y_3)^2 + (Z – Z_3)^2} $$
$$ r_4 = \sqrt{(X – X_4)^2 + (Y – Y_4)^2 + (Z – Z_4)^2} $$

The TDOA equations are derived from the time differences \( \Delta t_{ij} = t_j – t_i \), where \( t_i \) is the signal arrival time at base station i. For instance, the difference between distances \( r_2 \) and \( r_1 \) is constant, defining a hyperbola:

$$ r_2 – r_1 = C \cdot (t_2 – t_1) $$

Similarly, other pairs yield additional hyperbolas, and their intersection pinpoints the tag location. This approach requires only one signal transmission from the tag, improving efficiency for dynamic drone formation scenarios. To summarize UWB advantages, we present a comparison table with other indoor positioning technologies.

Technology Accuracy Range Power Consumption Suitability for Drone Formation
UWB ~10 cm Up to 100 m Low High
Wi-Fi ~2 m Up to 50 m Medium Low
Bluetooth ~3 m Up to 30 m Low Medium
Ultrasonic ~1 cm Up to 10 m Medium Moderate

As shown, UWB offers superior accuracy and range, essential for maintaining precise drone formation geometries indoors. Our system leverages these characteristics to enable robust formation flights.

The indoor drone formation system architecture consists of several key components: four UWB base stations, one or more UWB tags attached to drones, a flight controller (APM2.6), a microcontroller for data processing, and ground control software. The base stations are fixed at known locations to form a localization network, while the tags act as mobile nodes on each drone. The microcontroller interfaces with the UWB tag to receive positioning data, which is then translated into control signals for the flight controller. This allows the drone to adjust its motors and maintain desired positions within the formation. For visualization and monitoring, we use Nassistant software, which displays real-time trajectories and coordinates. This architecture supports scalable drone formation operations, from small groups to larger fleets, by ensuring accurate relative positioning. The integration of UWB tags with drone hardware is critical for achieving stable formations, as even minor errors can lead to collisions or loss of coordination.

In our drone formation control strategy, we adopted the leader-follower method, a well-established approach that simplifies multi-drone coordination by treating the formation as a rigid body. A virtual leader, represented by a UWB tag, defines the path, and follower drones maintain specific distances and angles relative to it. This reduces the control complexity from managing multiple drones to regulating individual followers based on the leader’s motion. The desired position for a follower drone in a 2D plane can be expressed as:

$$ X_f = X_l + d \cdot \cos(\theta + \phi) $$
$$ Y_f = Y_l + d \cdot \sin(\theta + \phi) $$

where \( (X_l, Y_l) \) is the leader’s position, \( d \) is the desired distance, \( \theta \) is the leader’s heading angle, and \( \phi \) is the relative angle for the follower. For 3D drone formation flights, we extend this to include altitude \( Z \), ensuring vertical coordination. However, the leader-follower method has limitations, such as low fault tolerance if the leader fails, so we incorporate redundancy by allowing followers to use peer-to-peer UWB measurements for relative positioning. This enhances the robustness of the drone formation in indoor environments. Our control logic involves setting error bounds for distance and angle deviations; if a follower drifts beyond these bounds, corrective actions are triggered via the flight controller. The following table outlines key parameters for our formation control.

Parameter Symbol Typical Value Purpose in Drone Formation
Distance Error \( \Delta d \) ±0.1 m Ensure tight formation spacing
Angle Error \( \Delta \phi \) ±5° Maintain orientation alignment
Update Rate \( f \) 10 Hz Real-time position updates
Safety Radius \( R_s \) 1.5 m Prevent inter-drone collisions

By tuning these parameters, we achieve stable drone formation flights, even in cluttered indoor spaces. The leader-follower approach, combined with UWB precision, enables formations like linear, triangular, or square patterns, adaptable to various mission requirements.

Our experimental procedure for indoor drone formation flights involves multiple steps to ensure safety and accuracy. First, we program the flight controller of a drone carrying the leader tag to follow a predefined path using Mission Planner ground station software. This drone acts as the virtual leader, and its trajectory is monitored via Nassistant. Second, follower drones, each equipped with UWB tags, initiate formation based on the leader’s position. They communicate with each other through UWB modules to obtain relative coordinates and flight parameters, allowing them to adjust their positions from different initial points. Third, as the leader moves, followers maintain formation by continuously comparing actual distances and angles with desired values. If the distance between the leader and a follower exceeds the safety radius, the follower decelerates or accelerates via ground station commands to synchronize speeds. Fourth, when the leader reaches a waypoint, the entire drone formation enters a hovering state, with all drones holding fixed positions relative to each other. This stepwise process is repeated for complex paths, ensuring that the formation remains cohesive. Through numerous trials, we optimized control gains to minimize oscillations and improve response times, critical for indoor drone formation maneuvers where space is limited.

For hardware implementation, we use a “X”-configuration quadcopter drone, with four motors at the vertices and a central block housing the power system, flight controller, and microcontroller. The UWB tag is mounted on top, connected to the microcontroller via serial communication. The drone’s control relies on adjusting motor speeds to achieve roll, pitch, yaw, and thrust. The flight controller processes commands from the microcontroller, which in turn processes UWB data. The dynamics of a quadcopter can be modeled using Newton-Euler equations. For instance, the thrust \( T \) generated by motors is related to the angular velocities \( \omega_i \) as:

$$ T = k \sum_{i=1}^{4} \omega_i^2 $$

where \( k \) is a thrust coefficient. The orientation is controlled by differential thrust, enabling precise movements for formation keeping. To interface the UWB tag with the microcontroller, we configured serial ports with matching baud rates, typically 115200 bps, to ensure reliable data transmission. We enhanced the communication protocol by modifying frame formats, allowing automatic data exchange without manual intervention. This optimization reduces latency, vital for real-time drone formation control. Additionally, we integrated error-checking mechanisms to handle packet loss, common in indoor environments with obstacles.

Parameter calibration is essential for stable drone formation flights. Using Nassistant software, we monitor UWB positioning data to tune the drone’s PID (Proportional-Integral-Derivative) control parameters. Initially, we set integral and derivative gains to zero, gradually increasing the proportional gain until the drone responds smoothly to position changes. We then adjust derivative gains to dampen oscillations and integral gains to eliminate steady-state errors. This process is conducted in a controlled indoor area, with drones performing hover tests and formation maneuvers. The table below summarizes our PID tuning results for formation control.

Gain Type Value Range Effect on Drone Formation
Proportional (P) 0.5 – 2.0 Determines response speed to position errors
Integral (I) 0.01 – 0.1 Reduces long-term drift in formation spacing
Derivative (D) 0.05 – 0.3 Minimizes overshoot and oscillations

Through iterative testing, we achieved stable flight with minimal deviation, allowing drones to maintain formation even during turns and altitude changes. The UWB positioning data, visualized in Nassistant, provided feedback for further refinements, ensuring that the drone formation system meets indoor operational standards.

In conclusion, our research demonstrates that UWB positioning technology is a viable solution for indoor drone formation flights, addressing the limitations of satellite-based systems. By implementing TDOA algorithms and leader-follower control, we enabled precise localization and coordinated movements among multiple drones. The system architecture, combining UWB modules, microcontrollers, and flight controllers, proved effective in real-world tests, with drones maintaining formation geometries within centimeter-level accuracy. This work has significant implications for applications in logistics, inspection, and emergency response indoors, where GPS signals are unavailable. Future directions include enhancing fault tolerance through decentralized control, integrating obstacle avoidance sensors, and scaling to larger drone formations. Ultimately, the success of indoor drone formation operations hinges on robust positioning, and UWB technology offers a promising pathway toward achieving this goal. As drone formations become more prevalent, our findings contribute to the advancement of autonomous indoor aerial systems.

Throughout this project, we emphasized the importance of drone formation integrity, leveraging UWB’s high precision to ensure safety and efficiency. The tables and formulas presented here summarize key aspects of our approach, from distance calculations to control parameters. We believe that continued innovation in UWB and drone technologies will further revolutionize indoor drone formation capabilities, enabling complex collaborative tasks in constrained environments.

Scroll to Top