Skip to main content

Toward Safe Aggregate Computing: A Distributed Control-Theoretic Safety Filter for Robot Swarms (2026)

info

Experimental artefact and simulation setup available at https://github.com/angelacorte/experiments-2026-acsos-ws-carol.

This work was presented at the 2026 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C 2026). The DOI is not yet available.

Abstract​

Robot swarms need to coordinate their motion while satisfying safety requirements such as obstacle avoidance, inter-robot separation, and bounded speed. Aggregate Computing makes it easy to specify adaptive swarm-level behaviour, but its self-stabilisation guarantees are eventual: during transients, or while the environment keeps changing, the commands computed by the aggregate program may be unsafe.

This work presents CAROL (Coordinated Aggregate Robotics with Online control Lyapunov and barrier functions), an architecture that integrates Aggregate Computing with a control-theoretic safety filter. The aggregate program computes the nominal collective behaviour, while a safety-filtering layer refines the resulting commands through Control Lyapunov Functions (CLFs), which drive robots towards their goals, and Control Barrier Functions (CBFs), which constrain their motion to preserve safety. Constraints are enforced on each robot in a fully distributed fashion.

Architecture​

Architecture of the aggregate safety filter

Each robot runs the same aggregate program, which computes a nominal input unomu_{nom} from its local state and neighbour information. Before being applied, unomu_{nom} is refined by the safety filter into a safe input uu, which stays as close as possible to the nominal one while satisfying the active constraints. Both commands are fed back to a collective strategy layer, which can reason about the next actions (e.g., re-planning when convergence is too slow).

Device-wise view of the aggregate safety filter

Constraints involving a single robot (target convergence, speed limit, obstacle avoidance) are handled by a local QP, whereas constraints coupling two robots (collision avoidance, communication-range preservation) are handled by a pairwise QP using information exchanged with neighbours. The coupled problem is solved through the Alternating Direction Method of Multipliers (ADMM): robots iteratively exchange their pairwise solutions with neighbours until convergence, without any central coordinator.

Experiment description​

The proof-of-concept experiments run in Alchemist, with the QPs solved by Gurobi. Each experiment considers 4 robots, modelled as points moving in a 2D plane with single-integrator dynamics (p˙=u\dot{p} = u). Robots communicate within a 10 m range, must keep a minimum distance of 2 m from each other, cannot exceed a speed of 2 m/s, and must stay out of the obstacles' unsafe region (2 m radius plus a 1.5 m safety margin).

At every round, the safety filter solves:

min⁡ui, δi≥0∑i=1N(∥ui−unom,i∥2+ρ δi2)\min_{u_i,\ \delta_i \geq 0} \sum_{i=1}^{N} \left( \lVert u_i - u_{nom,i} \rVert^2 + \rho\,\delta_i^2 \right)

subject to a soft CLF constraint for target convergence (relaxed through the slack δi\delta_i), and hard CBF constraints for obstacle avoidance, inter-robot collision avoidance, communication-range preservation, and maximum speed.

Results​

In all the animations, robots are blue dots surrounded by their safety radius, the light circles are their communication ranges, and grey lines are links between robots within communication distance. Targets are green stars, and obstacles are dark red crosses surrounded by their unsafe region and safety margin.

No obstacles​

Two groups move towards different goals in free space, respecting speed and collision constraints.

No-obstacles scenario

Different targets with collision and obstacle avoidance​

Robots 0 and 1 are assigned to target t1t_1, while robots 2 and 3 are assigned to target t2t_2. Both groups reach their targets without colliding with each other or with the obstacle.

Different-targets scenario

Common target​

The swarm moves towards a shared target, going around a static obstacle while preserving connectivity when possible.

Follow-target scenario

Leader election and connectivity preservation​

Within each communication neighbourhood, the robot with the highest identifier is elected leader (yellow circle) and moves towards the target, while the others follow it. Initially two disconnected clusters follow different leaders; once they enter communication range they merge, elect a common leader, and follow it while preserving connectivity, avoiding collisions, and navigating around the obstacle.

Follow-leader scenario

Multiple obstacles: local minima​

The relative position of targets and obstacles may trap the robots in a local minimum of the target-convergence CLF: active obstacle-avoidance constraints block direct convergence, even though a feasible path exists. Safety is never violated, but this scenario motivates the collective strategy layer, which could switch to an alternative navigation strategy (e.g., exploration or waypoint selection) at runtime.

Multiple-obstacles scenario

Together, these experiments show how Aggregate Computing can act as the coordination layer for control-theoretic safety mechanisms, keeping the specification of the collective behaviour separate from the enforcement of physical constraints.