In recent years, the coordination of multiple unmanned aerial vehicles (UAVs) in formation has garnered significant attention due to its applications in surveillance, search and rescue, and military operations. As a researcher in this field, I have focused on developing robust methods for ensuring that drone formations can navigate complex environments safely, especially when faced with obstacles such as mountains or other static hazards. The challenge lies in maintaining formation integrity while avoiding collisions, which becomes critical in danger modes where individual drones must prioritize obstacle avoidance over formation keeping. In this article, I present a hierarchical decomposition strategy for drone formation obstacle avoidance, leveraging Voronoi diagrams, K-shortest path algorithms, and cooperative functions to optimize trajectories. This approach not only addresses static obstacles but also incorporates traffic rules to handle dynamic conflicts among drones, ensuring overall system safety and efficiency. Throughout this work, the term “drone formation” is central, as we explore how groups of UAVs can collaboratively adapt to hazardous scenarios.
The core idea stems from the need to decompose the complex problem of multi-drone path planning into manageable layers. In drone formation operations, when obstacles are detected, the formation must temporarily disband to allow each drone to find a safe path, after which they can reconvene. This requires precise trajectory planning that considers both individual and collective costs, as well as time synchronization. Our method builds on existing research in cooperative path planning but introduces a layered architecture that simplifies optimization. By using Voronoi diagrams to model threat fields and K-shortest path algorithms to generate multiple candidate routes, we enable each drone in the formation to have several options. Then, through a task management layer, we select trajectories that minimize overall cost while meeting synchronized arrival times. Additionally, we design a path controller to smooth trajectories based on drone dynamics, and we propose traffic rules to prevent mid-air collisions in complex scenarios. This holistic approach ensures that drone formations can navigate obstacles efficiently, with simulations validating its effectiveness.
To set the context, consider a typical drone formation flying in a predefined pattern. When obstacles like mountains appear, the drones must deviate from their paths independently to avoid collisions, as shown in the illustration below. This scenario highlights the importance of cooperative obstacle avoidance, where each drone’s trajectory is planned not in isolation but as part of a cohesive system aiming for simultaneous arrival at a target zone post-obstacle.

In this article, I will first describe the drone formation obstacle avoidance problem in detail, emphasizing the need for time coordination and cost optimization. Then, I will delve into the hierarchical decomposition strategy, breaking it down into the behavior control layer, task management layer, and path controller. Each layer will be explained with mathematical formulations, tables, and examples to ensure clarity. Following that, I will discuss the traffic rules designed for emergency situations in drone formations. Finally, simulation results will be presented to demonstrate the method’s performance, and conclusions will be drawn regarding its applicability and future enhancements. Throughout, the focus remains on enabling efficient and safe drone formation operations in obstacle-rich environments.
Problem Description for Drone Formation Obstacle Avoidance
In a drone formation, multiple UAVs fly together in a specific pattern to achieve mission objectives, such as area coverage or coordinated attacks. However, when encountering obstacles—whether static like mountains or dynamic like other drones—the formation must adapt to avoid collisions. This problem is akin to multi-UAV cooperative path planning, but with added constraints due to formation dynamics. The primary goal is to ensure that each drone in the formation can bypass obstacles safely while minimizing overall risk and maintaining time synchronization for post-obstacle regrouping. Specifically, we consider a scenario where a drone formation is flying along a predetermined route, and upon detecting obstacles, the drones temporarily break formation to find individual paths. After clearing the obstacles, they must reconvene at a target area simultaneously to resume formation flight.
Mathematically, this can be framed as an optimization problem. Let \( N \) represent the number of drones in the formation. For each drone \( i \), we need to find a path \( P_i \) from its start point \( S_i \) to a target point \( T \), avoiding obstacles and minimizing a cost function that includes factors like flight distance and threat exposure. Additionally, the estimated time of arrival (ETA) for all drones should be synchronized, i.e., \( t_1 = t_2 = \cdots = t_N = T_a \), where \( T_a \) is a cooperative time variable. The overall cost for the drone formation is the sum of individual costs, weighted by coordination requirements. This problem is NP-hard due to the combinatorial nature of path selection and time constraints, necessitating a decomposition approach.
To illustrate, imagine a two-drone formation where both drones start from nearby points and must avoid a mountain range. The optimal path for one drone might be shorter but could lead to desynchronization, so a suboptimal path might be chosen to ensure simultaneous arrival. This trade-off between individual and collective optimization is central to drone formation obstacle avoidance. Our hierarchical strategy addresses this by separating path generation from coordination, allowing for scalable solutions even in large formations.
Hierarchical Decomposition Strategy Overview
The hierarchical decomposition strategy divides the drone formation obstacle avoidance problem into three layers: the behavior control layer, the task management layer, and the path controller. This architecture simplifies the optimization by handling different aspects independently. The behavior control layer focuses on generating multiple candidate paths for each drone using Voronoi diagrams and K-shortest path algorithms. The task management layer then selects the best combination of paths to minimize overall cost and achieve time synchronization through cooperative functions. Finally, the path controller smooths the selected trajectories to ensure they are flyable based on drone dynamics. This layered approach enhances computational efficiency and adaptability, making it suitable for real-time applications in drone formations.
In drone formation operations, this strategy allows for decentralized decision-making to some extent, as each layer contributes to the overall plan. For instance, the behavior control layer operates per drone, while the task management layer coordinates across drones. This mirrors real-world scenarios where drones have onboard processing for local path planning but rely on higher-level coordination for team objectives. The following sections detail each layer, with formulas and tables to summarize key concepts.
Behavior Control Layer: Path Generation for Drone Formations
The behavior control layer is responsible for generating \( K \) candidate paths for each drone in the formation. This is crucial because, in cooperative planning, the optimal path for a single drone may not satisfy synchronization constraints, so alternatives are needed. We use Voronoi diagrams to model the obstacle environment and then apply K-shortest path algorithms to find multiple routes. This process ensures that each drone has a set of viable options for bypassing obstacles.
First, we model obstacles as threats in a 2D plane. For drone formations flying at a constant altitude \( H_0 \), we account for altitude deviations \( \Delta \in (-\Delta_{\text{max}}, +\Delta_{\text{max}}) \) due to factors like turbulence. Any terrain point with elevation above \( H_0 – \Delta_{\text{max}} \) is marked as a no-fly zone. To simplify, we envelop these zones with circles of radius \( R \), centered at coordinates \( (X, Y) \), and assign an infinite threat value \( V = \infty \) to indicate impassable areas. This representation allows for efficient mapping of complex obstacles, as shown in the table below summarizing threat parameters.
| Parameter | Description | Value Range |
|---|---|---|
| \( X, Y \) | Center coordinates of threat circle | Real numbers |
| \( R \) | Radius of threat circle | Positive real number |
| \( V \) | Threat level (infinite for obstacles) | \( \infty \) |
Next, we construct a Voronoi diagram based on these threat points. The Voronoi diagram partitions the plane into polygons where each polygon’s edges are equidistant from nearby threats, providing natural safe corridors for drone flight. To connect start and target points, we link them to the nearest vertices in the Voronoi graph, creating a directed graph \( G = (V, E) \) with vertices \( V \) and edges \( E \). Each edge \( e_{ij} \) between vertices \( i \) and \( j \) is assigned a weight \( W_{ij} \) that reflects the cost of traversing that segment.
The weight \( W_{ij} \) combines distance cost and threat cost. If an edge passes through a threat, \( W_{ij} = \infty \); otherwise, it is computed as:
$$ W_{ij} = k W_{Lij} + (1-k) W_{Tij}, \quad 0 \leq k \leq 1 $$
where \( k \) is a weighting factor balancing safety and distance, \( W_{Lij} = L_{ij} \) is the Euclidean distance, and \( W_{Tij} \) is the threat cost. The threat cost is defined as:
$$ W_{Tij} = L_{ij} \exp\left[\frac{\min(d_i, d_j, d_{ij})}{L_{ij}}\right] – 1 $$
Here, \( d_i \) and \( d_j \) are the shortest distances from vertices \( i \) and \( j \) to any threat, and \( d_{ij} \) is the minimum distance from the edge to threats. This formulation penalizes edges close to obstacles, ensuring safer paths for the drone formation.
Once the graph is built, we use a K-shortest path algorithm, such as Eppstein’s algorithm, to find \( K \) candidate paths for each drone. This algorithm efficiently computes multiple paths by exploring deviations from the shortest route, allowing for real-time application in dynamic environments. For a drone formation with \( N \) drones, this yields \( N \times K \) paths, which are passed to the task management layer for coordination.
Task Management Layer: Coordination for Drone Formations
The task management layer selects the optimal combination of paths from the candidate sets to minimize the overall cost of the drone formation while achieving time synchronization. This involves defining cooperative variables and functions to balance individual and collective objectives. In drone formation obstacle avoidance, time coordination is critical, as drones must regroup after bypassing obstacles. We focus on simultaneous arrival, where all drones reach the target area at the same time \( T_a \).
For each drone \( i \), the \( K \) candidate paths have different lengths \( L_{i1}, L_{i2}, \dots, L_{iK} \). Given a speed range \( V_i \in [V_{\text{min}}, V_{\text{max}}] \), the possible arrival time intervals for path \( j \) are \( [L_{ij}/V_{\text{max}}, L_{ij}/V_{\text{min}}] \). The union of these intervals for all paths gives the feasible time set \( S_i \) for drone \( i \):
$$ S_i = \bigcup_{j=1}^K [L_{ij}/V_{\text{max}}, L_{ij}/V_{\text{min}}] $$
For the entire drone formation, the intersection of these sets defines the cooperative time window \( S \):
$$ S = S_1 \cap S_2 \cap \cdots \cap S_N $$
Any time \( T_a \in S \) can serve as the synchronized arrival time. \( T_a \) is termed the cooperative variable, as it enables time coordination across the formation.
To select paths, we define a cooperative function for each candidate path. Let \( P_i(T_i) \) denote the path for drone \( i \) with flight time \( T_i \). The cost of this path is:
$$ W(P_i(T_i)) = \lambda W_i + (1-\lambda) T_i $$
where \( \lambda \) is a weight coefficient (e.g., \( \lambda = 0.5 \)), \( W_i \) is the path cost from the behavior control layer (dependent on \( T_i \) via speed adjustment), and \( T_i \) is the flight time. This function integrates both path quality and time, allowing for trade-offs. The overall cost for the drone formation is minimized by solving:
$$ \min \sum_{i=1}^N W(P_i(T_i)) \quad \text{subject to} \quad T_i = T_a \text{ for all } i, \text{ and } T_a \in S $$
This optimization can be performed iteratively: first, compute \( S \) from the candidate paths; then, for each possible \( T_a \), evaluate the total cost by selecting for each drone the path that minimizes \( W(P_i(T_a)) \); finally, choose \( T_a \) and corresponding paths that yield the minimum sum.
This approach ensures that the drone formation achieves synchronized arrival with minimal overall cost, often sacrificing individual optimality for collective benefit. For example, a drone might take a slightly longer path to match the arrival time of others, enhancing the formation’s coherence post-obstacle. The table below summarizes the key variables in this layer.
| Variable | Description | Role in Drone Formation |
|---|---|---|
| \( T_a \) | Cooperative arrival time | Synchronizes all drones in the formation |
| \( S_i \) | Feasible time set for drone \( i \) | Defines individual flexibility |
| \( W(P_i(T_i)) \) | Cooperative function cost | Balances path quality and time for formation optimization |
Once paths are selected, the task management layer outputs the chosen trajectory and required speed for each drone, which are then passed to the path controller for refinement.
Path Controller: Trajectory Smoothing for Drone Formations
The path controller ensures that the selected trajectories are flyable based on the dynamics of the drones in the formation. Raw paths from the task management layer may consist of straight-line segments between waypoints, which could violate constraints like maximum turn angle or load limits. Therefore, smoothing is applied to generate continuous curves that respect these constraints, crucial for maintaining stability in drone formation flights.
Key constraints for drone trajectories include:
1. Physical limits: speed \( V \), pitch angle, and roll angle ranges.
2. Load limits: maximum normal overload \( n_{y_{\text{max}}} \).
3. Mission-specific parameters: e.g., minimum turning radius.
We focus on the maximum turn angle and normal overload constraints. The minimum turning radius \( R_{\text{min}} \) for a drone is derived from its dynamics:
$$ R_{\text{min}} = \frac{V_{\text{min}}^2}{g \cdot \sqrt{n_{y_{\text{max}}}^2 – 1}} $$
where \( g \) is gravitational acceleration. This radius dictates how sharply a drone can turn; paths must be smoothed to ensure all curves have radius \( R \geq R_{\text{min}} \).
We use arc fitting to smooth waypoints. Consider three consecutive waypoints \( A \), \( B \), and \( C \). To create a smooth curve at \( B \), we draw an arc tangent to segments \( AB \) and \( BC \) with radius \( R \geq R_{\text{min}} \). The arc’s center \( O \) lies on the angle bisector of \( \angle ABC \). Let \( P_1 \) and \( P_2 \) be the tangent points on \( AB \) and \( BC \), respectively. We compute \( P_1 \) using a ratio \( \lambda_1 \):
$$ \frac{|P_1B|}{|AB|} = \lambda_1 $$
where \( \lambda_1 \) is determined geometrically based on \( R \) and the angle. Then, \( P_1 \) coordinates are:
$$ P_1 = (1-\lambda_1)B + \lambda_1 A $$
Similarly, \( P_2 \) is computed. This replaces the sharp corner at \( B \) with a smooth arc, ensuring the trajectory is feasible for the drone.
This smoothing process is applied to all waypoints in the selected paths, resulting in continuous trajectories that drones in the formation can follow using autopilot systems. It enhances safety by preventing abrupt maneuvers that could lead to instability or collisions, especially in dense formations. The table below lists typical drone constraints used in smoothing.
| Constraint | Typical Value | Impact on Drone Formation |
|---|---|---|
| Minimum speed \( V_{\text{min}} \) | 160 m/s | Affects turning radius and arrival time |
| Maximum normal overload \( n_{y_{\text{max}} \) | 2-3 g | Limits agility in obstacle avoidance |
| Minimum turning radius \( R_{\text{min}} \) | 500 m (example) | Determines path smoothness for formation coherence |
By integrating this controller, our hierarchical strategy outputs practical trajectories that balance optimization with real-world drone capabilities, essential for effective drone formation management.
Traffic Rules for Emergency Situations in Drone Formations
In complex environments, drone formations may face scenarios where planned paths intersect or drones converge, risking mid-air collisions. While the hierarchical strategy coordinates paths, unexpected dynamic interactions can occur, especially with multiple drones navigating the same obstacle field. To address this, we propose traffic rules inspired by human aviation and multi-agent systems. These rules provide heuristic guidelines for drones to resolve conflicts autonomously, supplementing the algorithmic approach and enhancing safety in drone formation operations.
The traffic rules are designed to be simple and executable in real-time, prioritizing safety without compromising mission objectives. They apply when drones detect imminent conflicts, such as converging at a path junction or overtaking situations. The table below summarizes the key rules, each explained in the context of drone formation behavior.
| Traffic Rule | Application in Drone Formation Systems |
|---|---|
| Lead Drone Priority | If multiple drones arrive simultaneously at a path entrance, the lead drone (or drone with lower ID) has the right of way to pass first. |
| Above-Passing Rule | 1. Maintain a safe distance from drones ahead; if overtaking is necessary, pass from above. 2. At intersections, the lower-ID drone chooses to pass above to avoid collisions. |
| Right-Side Passing Rule | 1. When facing an oncoming drone, if sufficient space exists on the right, turn right slightly. 2. If right space is unavailable, apply the above-passing rule based on drone priority. |
These rules are implemented as reactive behaviors in each drone’s control system. For instance, in a drone formation, if two drones are on conflicting trajectories, they can use sensor data to identify each other and apply the rules to adjust their paths locally. This decentralized approach complements the centralized coordination of the task management layer, providing robustness against uncertainties. The rules emphasize the importance of hierarchy (lead drone priority) and spatial maneuvering (above or right passing), which are intuitive for drone formations operating in crowded airspace.
Incorporating these traffic rules ensures that drone formations can handle emergencies without explicit replanning, reducing computational load and improving response times. They act as a fallback mechanism, especially when obstacles are dynamic or sensors have limited range. In simulations, we have observed that these rules effectively prevent collisions while minimizing disruptions to the overall formation plan.
Simulation Results and Analysis
To validate our hierarchical decomposition strategy for drone formation obstacle avoidance, we conducted simulations using a two-drone formation scenario. The drones operate in an environment with static obstacles modeled as circular threats, similar to mountain ranges. We set the speed range for drones to \( [160 \, \text{m/s}, 220 \, \text{m/s}] \) and used \( K = 3 \) candidate paths per drone. The simulations were run in MATLAB, focusing on two cases: drones starting from the same point and from different points, to test coordination under varied conditions.
In the first case, both drones start from point 37 with target point 38. The behavior control layer generated three candidate paths for each drone using Voronoi diagrams and K-shortest path algorithms. The task management layer then computed the cooperative time window \( S \) and selected paths to minimize overall cost. The lead drone chose the second-shortest path with waypoints: 37 → 6 → 15 → 17 → 18 → 8 → 11 → 32 → 33 → 27 → 23 → 26 → 25 → 38, length 1320 km, and speed 183.3 m/s. The follower drone chose the shortest path: 37 → 6 → 15 → 17 → 18 → 8 → 11 → 12 → 13 → 35 → 38, length 1300 km, and speed 180.5 m/s. Both drones achieved synchronized arrival at time \( T_a = 2 \) hours, demonstrating effective time coordination for the drone formation.
In the second case, the lead drone started from point 37 and the follower from point 1, with the same target point 38. Here, the task management layer again found \( T_a = 2 \) hours. The lead drone took the shortest path: 37 → 6 → 15 → 17 → 18 → 8 → 11 → 12 → 13 → 35 → 38, length 1300 km, speed 180.5 m/s. The follower drone also took its shortest path: 1 → 6 → 15 → 17 → 18 → 8 → 11 → 12 → 13 → 35 → 38, length 1340 km, speed 186.1 m/s. Both drones arrived simultaneously, showing that the method adapts to different start points while maintaining formation synchronization.
The path controller then smoothed these trajectories using arc fitting, ensuring they met turning radius constraints. We assumed a minimum turning radius of 500 m based on typical drone dynamics. The smoothed paths were continuous and flyable, with no abrupt turns. Additionally, we tested the traffic rules in scenarios with intersecting paths; drones successfully avoided collisions by applying the above-passing and right-side rules, as programmed in their reactive controllers.
These simulations confirm that our hierarchical strategy enables efficient obstacle avoidance for drone formations, balancing individual path optimality with collective time coordination. The use of Voronoi diagrams and K-shortest paths provides diverse options, while the cooperative function optimizes overall performance. The traffic rules add an extra layer of safety, making the system robust in dynamic environments. Future work could extend this to larger formations or 3D obstacles, but these results already highlight the practicality of the approach for real-world drone formation applications.
Conclusion
In this article, I have presented a hierarchical decomposition strategy for drone formation obstacle avoidance, addressing the challenge of navigating hazardous environments while maintaining coordination. The strategy breaks down the problem into three layers: behavior control for path generation, task management for coordination, and path control for trajectory smoothing. By leveraging Voronoi diagrams and K-shortest path algorithms, we generate multiple candidate routes for each drone in the formation. Then, through cooperative functions and variables, we select paths that minimize overall cost and achieve synchronized arrival times. The addition of traffic rules provides a safety net for emergency conflicts, ensuring robust operation in complex scenarios.
This approach is particularly effective for drone formations, as it balances decentralization with centralized coordination, allowing scalability and real-time adaptability. Simulations with two-drone formations demonstrate its ability to handle both identical and disparate start points, with successful obstacle avoidance and time synchronization. The method’s strength lies in its layered architecture, which simplifies optimization and incorporates practical constraints like drone dynamics and collision avoidance.
Looking ahead, this strategy can be enhanced by integrating more advanced threat models, such as dynamic obstacles or weather conditions, and by extending it to 3D path planning for varied altitudes. Moreover, machine learning techniques could be employed to improve the selection of cooperative variables or to adapt traffic rules based on historical data. Ultimately, the goal is to develop autonomous drone formations that can operate seamlessly in unpredictable environments, and this hierarchical decomposition strategy offers a solid foundation for achieving that. As drone technology evolves, such methods will be crucial for enabling safe and efficient collaborative missions, from disaster response to defense operations.
