การประสานโดรนหลายลำ
Task allocation, formation control and inter-aircraft collision avoidance
Why it matters
Several drones can do some jobs better than one: survey a large area faster, watch several points at once, rotate so that one aircraft is always airborne, or draw shapes in light shows. Adding aircraft does not always add output in proportion, though. Without coordination, drones compete for the same task, leave other tasks undone or collide with each other.
Multi-UAV coordination answers three questions: who does which task (task allocation), how the group flies together (formation control), and how aircraft stay apart (inter-aircraft collision avoidance). All three depend on communication between aircraft and with the ground station.
Centralized or decentralized
- Centralized: a ground station or central computer plans for every aircraft. The overall plan is as good as it can be and easy to check, but if the link drops or the centre fails, the whole group stalls. Most drone light shows work this way, with every trajectory computed before the flight.
- Decentralized: each aircraft decides from its own data and its neighbours'. This tolerates link loss and scales easily, but the overall result may be suboptimal and safety is harder to prove.
Real systems usually mix the two: plan the mission centrally, let each aircraft avoid neighbours locally, and define in advance what happens on link loss, such as hovering or returning along pre-separated routes and altitudes.
Task allocation
Gerkey and Matarić (2004) classify allocation problems with three questions: can a robot do one task or several at a time (single-task or multi-task), does a task need one robot or several (single-robot or multi-robot), and is allocation done once or over time (instantaneous or time-extended). The simplest case, n drones and n tasks with one task each, is the assignment problem, solved exactly by the Hungarian method (Kuhn, 1955).
When tasks keep arriving or there is no central planner, auctions are common. Each aircraft bids its marginal cost of taking the task, such as extra distance or energy, and the lowest bid wins. Auctions need few messages and handle new tasks well. A greedy rule, where each aircraft in turn takes its nearest remaining task, is fast but can be very poor, as the example below shows.
Formation control
A formation keeps relative positions between aircraft. There are three main approaches:
- Leader-follower: each follower holds a distance and bearing from a leader. Simple, but errors accumulate down the chain and the leader is a single point of failure.
- Virtual structure: the whole formation is treated as one rigid body and each aircraft tracks its point on it. Good for moving a shape as a whole.
- Consensus and behaviour rules: each aircraft adjusts to its neighbours, as in Reynolds' Boids (1987) with separation, alignment and cohesion, and no central commander.
Avoiding collisions between aircraft
The first layer is strategic separation at planning time: give each aircraft its own area, altitude band or time slot, then check the minimum distance between aircraft along the whole trajectory, not only at waypoints. Two aircraft can be far apart at both ends of a segment and still collide in the middle. The second layer is tactical avoidance in flight. The velocity obstacle method finds the set of velocities that would lead to a collision within a time horizon and picks a velocity outside it. ORCA makes each of the two aircraft take half of the avoidance, which prevents both from over-reacting and oscillating. Vertical separation needs a larger margin than horizontal because the downwash of an upper aircraft disturbs the one below. Working values must come from tests with the actual aircraft type.
Example: assigning three drones and setting a separation distance
Assume drones D1, D2 and D3 must inspect points A, B and C. Flight distances (km):
| A | B | C | |
|---|---|---|---|
| D1 | 4 | 9 | 6 |
| D2 | 2 | 7 | 8 |
| D3 | 5 | 3 | 9 |
Greedy in drone order: D1 takes A (4 km), D2 chooses between B and C and takes B (7 km), D3 gets C (9 km). Total 20 km.
Exhaustive search (only 3! = 6 options): the best plan is D1 to C (6), D2 to A (2), D3 to B (3), a total of 11 km, 45% less. The Hungarian method finds the same answer without trying every option when the fleet grows.
Next, assume two aircraft fly towards each other at 10 m/s each, detection and decision take 0.5 s, and each can brake at 4 m/s2. Each travels 10 × 0.5 = 5 m while deciding and 102 / (2 × 4) = 12.5 m while braking, 17.5 m in total. They must start avoiding at 35 m apart at the latest, before adding GNSS position error and the size of the aircraft. All values are assumed.
Communication and timing
Coordination depends on continuous position sharing. Total bandwidth is roughly number of aircraft × message rate × message size. As the fleet grows the channel can saturate, and messages arrive late or not at all. A neighbour's position that is too old leads to wrong avoidance decisions. All clocks must agree, usually referenced to GNSS time, so that positions can be compared at the same instant, and the behaviour of an aircraft that loses contact must be designed in advance.
Common pitfalls
- Using greedy allocation without checking its quality. Compare with the optimum on small cases first.
- Checking separation only at waypoints. Check the whole segment between them.
- Ignoring downwash. Close vertical stacking destabilises the lower aircraft.
- No defined link-loss behaviour. Every aircraft must know whether to hover, land or return, and return routes must not cross.
- Assuming one pilot can supervise any number of aircraft. Multi-aircraft operation by one pilot needs approval and a tested automated system. Check the current CAAT requirements before flying.
Continue in the lessons
- UAT 308 Module 5: Multi-robot systems and cooperation with drones (four-year programme)
- UAT 366 Module 4: Multiple drones (continuing programme)
Key references
- Chung, S.-J., Paranjape, A. A., Dames, P., Shen, S., & Kumar, V. (2018). A survey on aerial swarm robotics. IEEE Transactions on Robotics, 34(4), 837–855. link
- Kushleyev, A., Mellinger, D., Powers, C., & Kumar, V. (2013). Towards a swarm of agile micro quadrotors. Autonomous Robots, 35(4), 287–300. link
- Gerkey, B. P., & Matarić, M. J. (2004). A formal analysis and taxonomy of task allocation in multi-robot systems. The International Journal of Robotics Research, 23(9), 939–954. link
- Kuhn, H. W. (1955). The Hungarian method for the assignment problem. Naval Research Logistics Quarterly, 2(1–2), 83–97. link
- van den Berg, J., Guy, S. J., Lin, M., & Manocha, D. (2011). Reciprocal n-body collision avoidance. In Robotics research (Springer Tracts in Advanced Robotics, Vol. 70, pp. 3–19). Springer. link
- Reynolds, C. W. (1987). Flocks, herds and schools: A distributed behavioral model. ACM SIGGRAPH Computer Graphics, 21(4), 25–34. link