Differentiable Optimization Based Time-Varying Control Barrier Functions for Dynamic Obstacle Avoidance
Bolun Dai, Rooholla Khorrambakht, Prashanth Krishnamurthy, Farshad Khorrami
TL;DR
This work solves dynamic obstacle avoidance by extending differentiable-optimization-based control barrier functions (diffOpt CBFs) to time-varying safe sets, enabling safe interaction with moving obstacles. The proposed TVCBFQP minimizes deviation from a reference control while enforcing a set of time-varying CBF constraints across convex primitives, and it incorporates measurement noise via a Mahalanobis-distance based worst-case obstacle configuration and actuation limits via velocity inflation with a tunable factor. The approach is validated through simulations against MPC and spherical-CBF baselines and is demonstrated on a 7-DOF Franka Research 3 manipulator, showing safety robust to noise and improved conservatism due to geometric modeling with multiple primitives. The results indicate real-time capability (sub-millisecond to a few milliseconds per step) and practical relevance for dynamic obstacle scenarios in robotic manipulation and safe autonomous operation.
Abstract
Control barrier functions (CBFs) provide a simple yet effective way for safe control synthesis. Recently, work has been done using differentiable optimization (diffOpt) based methods to systematically construct CBFs for static obstacle avoidance tasks between geometric shapes. In this work, we extend the application of diffOpt CBFs to perform dynamic obstacle avoidance tasks. We show that by using the time-varying CBF (TVCBF) formulation, we can perform obstacle avoidance for dynamic geometric obstacles. Additionally, we show how to extend the TVCBF constraint to consider measurement noise and actuation limits. To demonstrate the efficacy of our proposed approach, we first compare its performance with a model predictive control based method and a circular CBF based method on a simulated dynamic obstacle avoidance task. Then, we demonstrate the performance of our proposed approach in experimental studies using a 7-degree-of-freedom Franka Research 3 robotic manipulator.
