Module 8/10 · Weeks 12 · 14 h

Formation flight and distributed control

UAT 461 Autonomous Navigation and Multi-UAV Systems

About 95 minDraft, awaiting reviewLast updated 21 October 2026

Lesson

By the end of this module you will be able to

  1. Compare formation-control approaches (leader-follower, virtual structure, behaviour-based and consensus-based)
  2. Use the Laplacian of the communication graph and its eigenvalue λ₂ to predict how fast a team agrees on a shared value
  3. Simulate distributed formation keeping on two graphs and measure the effect of one drone failing
  4. Calculate the delay limit and the gain that keep a consensus protocol stable
  5. Use min-consensus so that the whole team knows the worst value, such as the lowest battery

Prerequisites: Modules 6 and 7 of this course · UAT 206 Control Systems and Introductory Autopilot (recommended)

Why this matters

In module 7 we decided which drone goes to which block. On the way there and back, the 12-drone team must fly close together without colliding, and it must reach the work area in a set pattern, for example line abreast to sweep the thermal camera across a row of containers. Distributed control is the way to give the whole team a shared behaviour while each drone uses only its own data and that of the neighbours it can hear, without waiting for orders from a centre at every moment. The architectural reason is the function table of module 6, which puts formation keeping on the aircraft because the loop must be fast and must survive link loss.

This module answers three linked questions: what approaches exist for controlling a formation, how the speed at which the team agrees depends on the shape of the communication graph, and when link delay spoils the control. The case is still the 12-drone yard team. On the way to its blocks the team flies line abreast, 30 m apart, at a formation speed of 5 m/s. All numbers are invented. The 30 m spacing is checked against the separation needed in modules 9 and 10.

Formations and control approaches

A formation is the keeping of relative positions between aircraft. We express it with an offset for each drone from a reference point of the formation; for example, line abreast with 30 m spacing is . The survey by Oh et al. (2015) groups formation-control approaches by the information each drone uses. The main ideas in use are these.

  • Leader-follower. The followers keep their distance from the leader. This is the simplest, but errors accumulate along the chain and the leader is a single point of failure.
  • Virtual structure. The whole formation is treated as a virtual rigid body and each drone follows its own point on it. It suits moving the whole shape together, but someone must compute a reference point that every drone agrees on.
  • Behaviour-based. Each drone follows simple rules. The classic example is the three rules of Reynolds (1987): separation, alignment and cohesion. Vásárhelyi et al. (2018) flew a real swarm of 30 drones with no central control, tuning the parameters by evolutionary search, and showed that communication limits, delays and motion constraints must be modelled explicitly for the method to work in practice at high speeds.
  • Consensus-based. Every drone adjusts to agree with its neighbours until the quantity of interest matches. This is the framework with the clearest mathematical analysis (Olfati-Saber et al., 2007) and the main approach of this module.

Chung et al. (2018) point out that real aerial swarms often mix these approaches, for example a leader for mission-level goals and consensus for keeping the shape. In this module we use consensus plus one leader that is pinned to the plan, because it can be analysed and it tolerates the failure of ordinary nodes. The exception is the leader itself, a weak point that must be handled with a standby leader in the spirit of module 6.

Consensus and the communication graph

Let the undirected communication graph have adjacency matrix , and let be the graph Laplacian, where is the diagonal matrix of neighbour counts. The consensus moves each drone toward the average of its neighbours. If the graph is connected, every converges to the average of the initial values (Olfati-Saber & Murray, 2004). The speed of convergence is set by the second-smallest eigenvalue of , called the algebraic connectivity : the larger is, the faster the agreement. For the discrete update one must choose to guarantee convergence (Olfati-Saber et al., 2007), where is the largest neighbour count, and the number of steps needed for the difference to fall to a fraction is about .

Example 1 Speed of consensus on five graphs

Twelve drones are strung along the fence, 30 m apart, and must agree on an assembly point (the average position along the fence) by exchanging values with neighbours only. Try five graphs: complete, lattice (hears two drones on each side), ring, star (drone 0 is the hub) and path. Count the steps until the spread is 1% of its starting value and compare with the prediction formula.

import numpy as np

n = 12
def laplacian(kind):
    A = np.zeros((n, n))
    for i in range(n):
        if kind == "ring":
            A[i, (i + 1) % n] = 1
        elif kind == "lattice":                       # each drone hears two neighbours on each side
            A[i, (i + 1) % n] = A[i, (i + 2) % n] = 1
        elif kind == "chain" and i + 1 < n:           # drones in a line, neighbours only
            A[i, i + 1] = 1
        elif kind == "star" and i > 0:                # drone 0 relays for everyone
            A[0, i] = 1
    if kind == "complete":
        A = np.ones((n, n))
    A = np.maximum(A, A.T)
    np.fill_diagonal(A, 0)
    return np.diag(A.sum(1)) - A

x0 = np.linspace(0, 330, n)                           # starting x positions, m (30 m apart)
print("graph      lambda2  lambda_max  max degree  steps (measured)  steps (predicted)")
for kind in ("complete", "lattice", "ring", "star", "chain"):
    L = laplacian(kind)
    ev = np.linalg.eigvalsh(L)
    dmax = L.diagonal().max()
    eps = 0.5 / dmax                                  # 0 < eps < 1/dmax keeps the update stable
    x, k = x0.copy(), 0
    while np.ptp(x) > 0.01 * np.ptp(x0):              # spread below 1 % of the start
        x = x - eps * (L @ x)
        k += 1
    pred = np.log(100) / -np.log(1 - eps * ev[1])
    assert abs(x.mean() - x0.mean()) < 1e-9           # the average is preserved
    print(f"{kind:9s} {ev[1]:7.3f} {ev[-1]:11.3f} {dmax:11.0f} {k:17d} {pred:17.1f}")
graph      lambda2  lambda_max  max degree  steps (measured)  steps (predicted)
complete   12.000      12.000          11                 6               5.8
lattice     1.268       6.000           4                25              26.7
ring        0.268       4.000           2                61              66.4
star        1.000      12.000          11                97              99.0
chain       0.068       3.932           2               261             268.0

The complete graph () needs only 6 steps, the lattice () 25, the ring () 61 and the path () as many as 261. The measured values are always close to the predictions of the formula (5.8 to 268). An interesting observation is that the star has , more than the ring, yet takes 97 steps, more than the ring does, because the hub has 11 neighbours, which makes and forces a smaller for stability. The real speed therefore depends on both and . If one step is one LoRa link frame (1.2 s from module 6), the path would need 261 × 1.2 ≈ 313 s to agree, but with a short-range radio that exchanges data every 0.1 s it takes only 26 s. This is why data that must be fast should go over the short-range radio.

Horizontal bar chart of the steps needed for consensus on five graphs. Complete graph 6 steps, lattice 25, ring 61, star 97, path 261, with the lambda2 value of each graph: 12, 1.268, 0.268, 1.000 and 0.068.
Figure 1 Steps for consensus to converge (to 1% of the initial spread) on five communication graphs, with λ₂

Consensus is not only about averages. Min-consensus has each drone keep the lowest value it has heard from its neighbours, and it converges to the minimum over the whole team in steps, where is the graph diameter (Olfati-Saber & Murray, 2004 describe the maximum version, which is the dual of this one). It lets the whole team know the worst value without a centre, for example the lowest battery, so that they can decide to return together.

Example 2 How fast does the whole team learn the lowest battery?

Twelve drones are linked in a ring. Each knows only its own battery and those of its two neighbours (percentages, assumed). At every step each drone keeps the lowest value it has heard.

battery = np.array([71, 64, 58, 49, 77, 62, 83, 55, 69, 74, 60, 66])    # percent, assumed
L = laplacian("ring")
A = (L < 0)
m = battery.copy()
for step in range(1, n):                              # each drone keeps the minimum it has heard
    m = np.array([min(m[i], *m[A[i]]) for i in range(n)])
    if (m == battery.min()).all():
        break
print(f"all {n} drones know the lowest battery ({battery.min()} %) after {step} exchanges; ring diameter is {n // 2}")
all 12 drones know the lowest battery (49 %) after 6 exchanges; ring diameter is 6

All 12 drones learn that the lowest battery is 49% after 6 exchanges, exactly the diameter of a 12-node ring. No drone had to see the data of all the others. The same principle works for maximum values and for choosing a leader.

Holding a formation in a distributed way

Let be the position of drone relative to its own slot. If every drone is exactly in its slot, all the are equal (equal to the position of the formation’s reference point). Holding the shape thus becomes a consensus problem in . The controller is , where is the formation velocity from the mission plan and is the set of neighbours that drone can hear. One drone, the leader, has an extra term that pins its to the planned position, so that the whole formation does not drift away from the plan. Each drone uses only the positions of a few neighbours, so the computation and communication per drone stay constant however large the team is. This is the advantage of the distributed form.

The model assumes the drones follow velocity commands instantly, limited to 9 m/s. This is simpler than reality, because in a real aircraft the autopilot’s velocity loop has a response time. The results therefore show the trends of the graphs and of failures, not the real values of any one aircraft.

Example 3 A 12-drone line abreast on a path graph and a lattice, when drone 5 fails

The drones start scattered up to 50 m from their slots on each axis. The formation moves at 5 m/s with . Drone 6 (number 5) is the pinned leader. Measure the root-mean-square distance from the correct slot (RMS) at several times, for the path graph (each drone hears one neighbour on each side) and the lattice (two on each side), and at 10 s let drone 5 (number 4) fail and stop.

DT, K, VMAX = 0.1, 0.8, 9.0
V_REF = np.array([5.0, 0.0])                          # formation velocity from the mission plan, m/s
off = np.column_stack([np.zeros(n), 30.0 * (np.arange(n) - 5.5)])      # line abreast, 30 m apart
rng = np.random.default_rng(3)
p0 = off + rng.uniform(-50, 50, (n, 2))                                 # scattered start near the plan

def adjacency(kind, drop=None):
    A = np.zeros((n, n))
    for i in range(n):
        for d in ((1,) if kind == "chain" else (1, 2)):
            if i + d < n:
                A[i, i + d] = 1                       # neighbours in the line, no wrap-around
    A = np.maximum(A, A.T)
    if drop is not None:
        A[drop, :] = A[:, drop] = 0
    return A

def run(kind, t_end=60.0, fail_at=None, fail=None, leader=5):
    A = adjacency(kind)
    p, alive, hist, worst = p0.copy(), np.ones(n, bool), [], []
    for k in range(int(t_end / DT) + 1):
        t = k * DT
        if fail_at is not None and abs(t - fail_at) < DT / 2:
            A = adjacency(kind, fail)
            alive[fail] = False
        q = p - off                                   # position relative to the drone's slot
        u = -K * (A[:, :, None] * (q[:, None] - q[None])).sum(1)   # agree with the neighbours
        u[leader] += -K * (q[leader] - (V_REF * t))   # the leader is pinned to the plan
        u = V_REF + u
        sp = np.linalg.norm(u, axis=1, keepdims=True)
        u = np.where(sp > VMAX, u * VMAX / np.maximum(sp, 1e-9), u)
        u[~alive] = 0
        p = p + DT * u
        err = q[alive] - V_REF * t                    # distance from the ideal slot
        hist.append(np.sqrt((err ** 2).sum(1).mean()))
        worst.append(np.linalg.norm(err, axis=1).max())
    return np.array(hist), np.array(worst)

print("time (s)                     0     10     20     30     40     60   worst drone at 60 s")
for kind in ("chain", "lattice"):
    h, w = run(kind)
    print(f"{kind:8s} no failure       " + " ".join(f"{h[int(t/DT)]:6.1f}" for t in (0, 10, 20, 30, 40, 60)) + f"   {w[-1]:6.1f} m")
for kind in ("chain", "lattice"):
    h, w = run(kind, fail_at=10.0, fail=4)
    print(f"{kind:8s} drone 5 fails    " + " ".join(f"{h[int(t/DT)]:6.1f}" for t in (0, 10, 20, 30, 40, 60)) + f"   {w[-1]:6.1f} m")
time (s)                     0     10     20     30     40     60   worst drone at 60 s
chain    no failure         38.9   21.9   15.7   11.4    8.3    4.5      6.7 m
lattice  no failure         38.9   21.2   12.5    7.5    4.5    1.6      1.8 m
chain    drone 5 fails      38.9   22.6   17.8   14.9   13.2   11.8     18.7 m
lattice  drone 5 fails      38.9   21.4   12.5    7.4    4.4    1.6      1.8 m

With no failure the path reduces the error from 38.9 m to 4.5 m at 60 s, and the lattice to 1.6 m, with the worst drone off by 1.8 m against 6.7 m for the path. The reason is that the lattice has a much larger (Example 1). When drone 5 fails at 10 s the lattice is not affected at all (1.6 m and 1.8 m as before), because drones 4 and 6 can still hear each other over the link that skips one drone, so the graph stays connected. The path, though, is cut into two parts. The part not connected to the leader (drones 1 to 4) can agree among themselves but is no longer pulled toward the plan: it converges to the average error of its own group instead of zero. The RMS therefore falls very slowly and is still 11.8 m at 60 s, while the worst drone is 18.7 m off. The lesson is that link redundancy (two neighbours per side instead of one) buys tolerance of node failures at the price of just twice the messages.

Line chart of the RMS error from the slot (metres) against time from 0 to 60 seconds. With no failure the path and lattice lines fall steadily and the lattice falls faster. When drone 5 fails at 10 seconds the path line falls very slowly and is still about 12 metres, while the lattice line keeps falling as before.
Figure 2 Error from the slot of a 12-drone formation on a path and a lattice, when drone 5 fails at 10 s

Delay and the gain ceiling

The data a drone gets from its neighbours are always old (module 6 calculated the data age). The effect of delay on consensus is a subtle one: a controller that is stable without delay can oscillate and then blow up with delay. Olfati-Saber and Murray (2004) proved that for a connected undirected graph whose links all have the same delay , consensus converges to the average if and only if , where is the largest eigenvalue of the Laplacian, and at the system oscillates steadily. Two consequences follow. First, a network whose nodes have many neighbours (high ) tolerates little delay. Second, reducing the controller gain by a factor reduces by and raises the delay limit by , but the agreement slows down in step. One must trade tolerance of delay against speed.

A caution: this result belongs to a protocol that uses both its own value and its neighbours’ values, delayed by the same amount (). If a drone uses its own current value with the delayed value of its neighbour, the limit is different, but the qualitative conclusion still holds that many neighbours and a high gain tolerate less delay.

Example 4 The delay a ring team can tolerate, and the gain ceiling at a data age of 1.3 s

The 12-drone team is linked in a ring and uses the consensus protocol with equal delay on every link. Find the delay limit from the formula, then simulate three delays from a random start spread over 10 m. Then use the data age of 1.3 s (Example 3 of module 6) to find the gain ceiling and test two values.

L = laplacian("ring")
lam_max = np.linalg.eigvalsh(L)[-1]
tau_star = np.pi / (2 * lam_max)
print(f"ring: lambda_max = {lam_max:.2f}, delay limit pi/(2 lambda_max) = {tau_star:.3f} s")

def disagreement(tau, gain=1.0, t_end=40.0, dt=0.005):
    steps, lag = int(t_end / dt), int(round(tau / dt))
    rng = np.random.default_rng(1)
    hist = [rng.normal(0, 10, n)] * (lag + 1)         # constant history before t = 0
    for _ in range(steps):
        x = hist[-1] - dt * gain * (L @ hist[-1 - lag])
        hist.append(x)
    return np.ptp(hist[-1])

for tau in (0.10, 0.30, 0.50):
    print(f"tau = {tau:.2f} s  spread after 40 s: {disagreement(tau):10.4f} m")
tau_net = 1.3                                          # s, worst age from the TDMA example in module 6 (rounded)
k_max = np.pi / (2 * tau_net * lam_max)
print(f"with tau = {tau_net} s the gain must stay below {k_max:.2f}")
for g in (0.5, 0.25):
    print(f"gain {g:4.2f} spread after 40 s: {disagreement(tau_net, g):10.4f} m")
ring: lambda_max = 4.00, delay limit pi/(2 lambda_max) = 0.393 s
tau = 0.10 s  spread after 40 s:     0.0001 m
tau = 0.30 s  spread after 40 s:     0.0000 m
tau = 0.50 s  spread after 40 s: 259992.3671 m
with tau = 1.3 s the gain must stay below 0.30
gain 0.50 spread after 40 s: 64398.4865 m
gain 0.25 spread after 40 s:     0.1885 m

The ring has , so the delay limit is s. At delays of 0.10 and 0.30 s the spread after 40 s is almost zero (0.0001 m and 0.0000 m), but at 0.50 s, which is beyond the limit, the spread explodes to 259,992 m. The simulation agrees with the formula on both sides of the limit. With a data age of 1.3 s the gain must not exceed . At a gain of 0.5 the system blows up (64,398 m), while at 0.25 it converges (0.1885 m after 40 s) but very slowly, which is the price of tolerating delay. A team on a single LoRa channel must therefore set a very low gain, or use a short-range radio with less delay.

Line chart on a logarithmic vertical axis of the spread in metres against time for the 12-drone ring. The green line at a delay of 0.30 seconds (below the 0.393 second limit) falls steadily to near zero. The pink line at 0.50 seconds (above the limit) oscillates and grows exponentially to over a hundred thousand metres.
Figure 3 Consensus spread on the ring at a delay of 0.30 s (converges) and 0.50 s (blows up); the limit is 0.393 s

Distributed control in practice

The practical rules from the three examples are: use local neighbours; give every drone at least two neighbours on each side so that the failure of one node cannot cut the graph; set below the ceiling set by the worst data age; use timestamps and extrapolate the neighbours’ positions with their known velocity (module 10 measures the effect of this); and have each drone’s controller send only velocity commands to the autopilot, so that the inner attitude and altitude loops remain the autopilot’s. One must also define what a drone does when it has not heard its neighbours for longer than a set time, for example keep its speed and altitude and enter the lost-link sequence.

Swarm behaviour from local rules

Formation control gives each drone a place in a pattern. A swarm gives each drone only a few rules and lets the pattern emerge. Reynolds (1987) showed that the motion of a flock can come from simple behaviours of each member that react only to flockmates in a small neighbourhood. His basic model has three steering rules: separation (steer to avoid crowding local flockmates), alignment (steer towards the average heading of local flockmates) and cohesion (steer towards the average position of local flockmates) (Reynolds, n.d.). Brambilla et al. (2013) describe swarm robotics as aiming, through simple rules and local interactions, at collective behaviour that is robust, scalable and flexible for large numbers of robots. Vásárhelyi et al. (2018) flew 30 drones with no central control and stress that limited communication, delays and perturbations must be modelled for real drones.

For drone with neighbours (those within the communication radius ) the acceleration is a weighted sum . Here pushes away from neighbours closer than a separation distance , the alignment term is the consensus on velocity described earlier in this module, and is the unit vector towards the neighbours’ centre. We measure the result with the polarisation , which is 1 when all drones head the same way and near 0 when headings are random.

Example 5 Does a flock of 12 hold together, and how close do the drones get?

Twelve drones start on a 4 × 3 grid with 30 m spacing and ±8 m of jitter, with random headings, and fly at 5 m/s for 120 s. The weights are , , and m (assumed). Try communication radii of 35, 50, 70 and 120 m with 10 random seeds each, and report the polarisation, the number of connected groups, the largest distance from the flock centre, and the closest approach seen in any run.

import numpy as np

N, DT, T_END, V0 = 12, 0.2, 120.0, 5.0
R_SEP, W_SEP, W_ALI, W_COH = 15.0, 2.0, 1.0, 0.5           # separation distance (m) and rule weights (assumed)

def run(radius, seed):
    rng = np.random.default_rng(seed)
    gx, gy = np.meshgrid(np.arange(4) * 30.0, np.arange(3) * 30.0)
    pos = np.column_stack([gx.ravel(), gy.ravel()]) + rng.uniform(-8, 8, (N, 2))
    ang = rng.uniform(0, 2 * np.pi, N)
    vel = V0 * np.column_stack([np.cos(ang), np.sin(ang)])
    closest = np.inf
    for _ in range(int(T_END / DT)):
        diff = pos[None, :, :] - pos[:, None, :]               # diff[i, j] = pos[j] - pos[i]
        dist = np.linalg.norm(diff, axis=2)
        np.fill_diagonal(dist, np.inf)
        closest = min(closest, dist.min())
        acc = np.zeros((N, 2))
        for i in range(N):
            nb = np.where(dist[i] < radius)[0]                 # only neighbours inside the communication radius
            if len(nb) == 0:
                continue
            coh = pos[nb].mean(axis=0) - pos[i]
            ali = vel[nb].mean(axis=0) - vel[i]
            sep = np.zeros(2)
            for j in nb[dist[i, nb] < R_SEP]:
                sep -= diff[i, j] / dist[i, j] * (R_SEP - dist[i, j]) / R_SEP
            acc[i] = W_SEP * sep + W_ALI * ali + W_COH * coh / max(np.linalg.norm(coh), 1e-9)
        vel = vel + acc * DT
        vel = vel / np.linalg.norm(vel, axis=1, keepdims=True) * V0       # constant cruise speed
        pos = pos + vel * DT
    phi = np.linalg.norm((vel / V0).mean(axis=0))
    d = np.linalg.norm(pos[None] - pos[:, None], axis=2)
    seen, groups = set(), 0
    for s in range(N):                                         # connected groups at the end
        if s in seen:
            continue
        groups += 1
        stack = [s]
        while stack:
            k = stack.pop()
            if k not in seen:
                seen.add(k)
                stack += [j for j in range(N) if j not in seen and d[k, j] < radius]
    return phi, groups, np.linalg.norm(pos - pos.mean(axis=0), axis=1).max(), closest

print("radius  polarisation  groups  spread (m)  closest (m)")
for radius in (35.0, 50.0, 70.0, 120.0):
    rows = [run(radius, s) for s in range(10)]
    print(f"{radius:5.0f}  {np.mean([r[0] for r in rows]):12.3f}  {np.mean([r[1] for r in rows]):6.1f}  "
          f"{np.mean([r[2] for r in rows]):10.1f}  {min(r[3] for r in rows):11.1f}")
radius  polarisation  groups  spread (m)  closest (m)
   35         0.753     2.8       510.5          1.3
   50         0.974     1.1       137.6          6.5
   70         1.000     1.0        56.2          4.3
  120         1.000     1.0        55.5          3.2

With a radius of 35 m the drones hear too few neighbours: the team splits into 2.8 groups on average, the polarisation is only 0.753 and the spread has grown to 510 m. From 70 m up the team stays as one flock with a polarisation of 1.000, all drones heading the same way with no leader and no station. The rules produce agreement and cohesion, but not safety: the closest approach in the ten runs was 4.3 m at 70 m and 3.2 m at 120 m, below the 8 m of required separation used in module 9. A flock built on these rules therefore still needs the explicit avoidance, the altitude layers and the monitoring of that module, and its radius must stay inside the link range worked out in module 6.

Module lab

Lab: designing the communication graph and holding a formation in simulation

Desk work with simulation code; no drone is flown.

  1. Build three communication graphs for 12 drones (path, lattice and one of your own design). Calculate , and , predict the number of consensus steps, and compare with the simulation using the code of Example 1.
  2. Set the formation you want (for example a wedge or line abreast) and run Example 3 on your graph. Measure the RMS at 60 s.
  3. Remove the drones one at a time at 10 s and find the drone whose loss makes the RMS at 60 s worst. Check whether the graph is still connected with .
  4. Calculate the delay limit of your graph from and simulate at 0.5, 1.0 and 1.5 times the limit to confirm.
  5. Set a gain suited to a data age of 1.3 s and record what it costs in speed.
  6. Hand in: a table of and predicted against measured steps, a plot of RMS against time, the table of results from removing drones one by one, and a one-page proposal for the final graph.

Common mistakes

Watch out

  • Choosing a communication graph by link count alone. Look at and too. A star has few links but is slow.
  • Using above . Convergence is no longer guaranteed, and above the update diverges.
  • Making the leader a single point of failure with no standby. When the leader goes, the formation has no anchor to the plan.
  • Letting the graph break without noticing. The cut-off part agrees among itself but is lost from the plan; monitor that the graph stays connected.
  • Ignoring link delay. A controller that is stable in a no-delay simulator can blow up in the air.
  • Trusting an instant-velocity model uncritically. Add the autopilot’s response time before applying the results to a real aircraft.

Summary

  • A formation can be controlled with a leader, a virtual structure, behaviours or consensus; the consensus approach is the easiest to analyse.
  • The speed of consensus depends on and of the graph, not only on the number of links.
  • Min-consensus gives the whole team the worst value in steps.
  • A graph with redundant links tolerates the loss of a node; a path graph is cut and keeps a residual error.
  • Delay has a limit , and gain can be reduced, at a cost in speed, to tolerate more delay.

Self-check questions

  1. A 12-node ring has and . With , how many steps are needed for the difference to fall to 1%, by the prediction formula?
  2. A 12-node path graph has . What is the delay limit of the consensus?
  3. With a data age of 1.3 s and , what is the gain ceiling?
  4. A team linked as a lattice (): how many exchange steps does the whole team need to know the lowest battery?
  5. Why does a path graph lose its formation when a middle drone fails, while a lattice does not?
Answers
  1. steps (matching the table).
  2. s.
  3. .
  4. At most the diameter, 3 steps.
  5. The failed drone cuts the path graph into two parts. The part not connected to the leader can agree among itself but is not pulled into the plan. The lattice still has a link that skips the failed drone, so its graph stays connected.

Key formulas

Agent consensus
Discrete-time update
Steps to converge to a fraction δ
Distributed formation controller
Delay limit

Key references

  1. Oh, K.-K., Park, M.-C., & Ahn, H.-S. (2015). A survey of multi-agent formation control. Automatica, 53, 424–440. link
  2. Reynolds, C. W. (1987). Flocks, herds and schools: A distributed behavioral model. ACM SIGGRAPH Computer Graphics, 21(4), 25–34. link
  3. Vásárhelyi, G., Virágh, C., Somorjai, G., Nepusz, T., Eiben, A. E., & Vicsek, T. (2018). Optimized flocking of autonomous drones in confined environments. Science Robotics, 3(20), eaat3536. link
  4. Olfati-Saber, R., Fax, J. A., & Murray, R. M. (2007). Consensus and cooperation in networked multi-agent systems. Proceedings of the IEEE, 95(1), 215–233. link
  5. Olfati-Saber, R., & Murray, R. M. (2004). Consensus problems in networks of agents with switching topology and time-delays. IEEE Transactions on Automatic Control, 49(9), 1520–1533. link
  6. 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
  7. Brambilla, M., Ferrante, E., Birattari, M., & Dorigo, M. (2013). Swarm robotics: A review from the swarm engineering perspective. Swarm Intelligence, 7(1), 1–41. link
  8. Reynolds, C. W. (n.d.). Boids (flocks, herds, and schools: A distributed behavioral model) [Web page]. link

Further reading

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Module quiz

This is a formative self-check, not a graded exam

Knowledge domain: Automation, robotics and swarms · Communications, networks and IoT