Deadlock Analysis and Resolution in Multi-Robot Systems: The Two Robot Case

Jaskaran Grover, Changliu Liu, Katia P. SycaraarXiv 2019

Introduction

In multi-robot coordination, balancing goal-reaching performance with safety is a primary challenge. Control Barrier Functions (CBFs) integrated into Quadratic Programs (QPs) have emerged as a powerful tool for ensuring safety. However, these reactive controllers often suffer from "deadlocks"—states where robots stop moving before reaching their goals because their local task controllers cannot find a safe path forward. This paper provides a formal mathematical framework to analyze these states and proposes a provably correct resolution strategy.

Characterizing the Deadlock Set

The authors formally define the "deadlock set" ($\mathcal{D}$) by applying Karush-Kuhn-Tucker (KKT) conditions to the CBF-QP optimization problem. A key insight is that deadlock represents a force equilibrium: the attractive force toward the goal is perfectly balanced by the repulsive safety constraints.

Deadlock occurs on the boundary of the safe set where goal-seeking forces and safety constraints reach equilibrium.

Crucially, the paper proves that the deadlock set lies exactly on the boundary of the safe set ($\partial \mathcal{C}$). This means that when robots are deadlocked, they are at the minimum allowable safety distance. While small random perturbations are often used to break such states, the authors demonstrate that these lack formal guarantees.

A Three-Phase Resolution Algorithm

To resolve deadlocks, the authors propose a decentralized three-phase approach:

  1. Phase 1 (Normal Operation): Robots utilize standard CBF-QP controllers for goal seeking.
  2. Phase 2 (Deadlock Exit): Upon detecting a deadlock (near-zero velocity and control input while far from the goal), robots switch to a Feedback Linearization (FL) controller. This controller forces the robots to rotate around each other at a fixed safety distance, effectively "swapping" their relative positions.
  3. Phase 3 (Goal Convergence): Once the robots have rotated sufficiently such that their original paths are no longer obstructed, they switch to standard PD control to reach their final destinations.

Experimental Validation

The framework was validated through MATLAB simulations and hardware experiments using Khepera-IV mobile robots. The results confirm that the three-phase algorithm successfully detects and mediates "safe swaps," allowing robots to converge to their goals where standard reactive controllers fail.

Position and acceleration profiles for two robots resolving a deadlock via the proposed three-phase algorithm.

As shown in the position plots, the robots reach a steady state at their desired goal locations after the resolution phase. The acceleration plots highlight the control effort required during the "swap" phase to break the equilibrium and transition back to goal-seeking behavior.

Conclusion and Future Work

While this work provides a rigorous solution for the two-robot case, scaling to $N$ robots presents significant challenges. Graph enumeration reveals that the number of possible deadlock configurations (chains, cycles, clusters) grows exponentially with the number of robots. Future research will focus on identifying the "basin of attraction" for deadlocks and extending these proofs to robots with non-holonomic constraints, such as car-like vehicles.

Summary updated

BibTeX
@misc{grover2019deadlock,
  author = {Jaskaran Grover and Changliu Liu and Katia P. Sycara},
  title = {{Deadlock Analysis and Resolution in Multi-Robot Systems: The Two Robot Case}},
  year = {2019},
  eprint = {1911.09146},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.09146},
}
Figure