Duality-based Convex Optimization for Real-time Obstacle Avoidance between Polytopes with Control Barrier Functions
Akshay Thirugnanam, Jun Zeng, Koushil Sreenath
TL;DR
The paper tackles real-time obstacle avoidance between polytopes for multiple robots with nonlinear, control-affine dynamics by introducing a duality-based safety-critical control framework that leverages nonsmooth control barrier functions (NCBFs). By deriving the dual of the minimum-distance QP, it obtains a conservative, computable lower bound on the distance dynamics $\dot{h}$ and enforces safety via a QP that optimizes the control input $u$ while preserving the NCBF constraint. The authors prove that the dual variables are continuous and right-differentiable, enabling reliable real-time enforcement even when primal solutions may be non-smooth; safety is guaranteed under Filippov dynamics. The framework is validated on a moving L-shaped sofa navigating a tight corridor, demonstrating real-time performance and non-conservative maneuvers, and the authors discuss trade-offs between polytope fidelity and computation time, as well as potential extensions to other convex shapes and robustness guarantees.
Abstract
Developing controllers for obstacle avoidance between polytopes is a challenging and necessary problem for navigation in tight spaces. Traditional approaches can only formulate the obstacle avoidance problem as an offline optimization problem. To address these challenges, we propose a duality-based safety-critical optimal control using nonsmooth control barrier functions for obstacle avoidance between polytopes, which can be solved in real-time with a QP-based optimization problem. A dual optimization problem is introduced to represent the minimum distance between polytopes and the Lagrangian function for the dual form is applied to construct a control barrier function. We validate the obstacle avoidance with the proposed dual formulation for L-shaped (sofa-shaped) controlled robot in a corridor environment. We demonstrate real-time tight obstacle avoidance with non-conservative maneuvers on a moving sofa (piano) problem with nonlinear dynamics.
