A Real-Time Control Barrier Function-Based Safety Filter for Motion Planning with Arbitrary Road Boundary Constraints
Jianye Xu, Chang Che, Bassam Alrifaee
TL;DR
This work addresses the lack of formal safety guarantees for learning-based motion planners navigating arbitrary road boundaries. It introduces a real-time safety filter built on High-order Control Barrier Functions (TTCBF) that operates on polylines by using a pseudo-distance and a circle-based occupancy to tightly approximate the vehicle's footprint, enabling a Quadratic Program that minimally adjusts the nominal control at each step. The approach provides $2n_{ ext{cir}}$ collision-avoidance constraints per circle and demonstrates feasibility and safety in a nonlinear kinematic bicycle model across four complex road scenarios, achieving execution at up to $40$ Hz. The practical impact lies in enabling safe, real-time verification and augmentation of learning-enabled planners without conservative overapproximations, making it suitable for challenging autonomous driving contexts with intricate road geometries.
Abstract
We present a real-time safety filter for motion planning, such as learning-based methods, using Control Barrier Functions (CBFs), which provides formal guarantees for collision avoidance with road boundaries. A key feature of our approach is its ability to directly incorporate road geometries of arbitrary shape without resorting to conservative overapproximations. We formulate the safety filter as a constrained optimization problem in the form of a Quadratic Program (QP). It achieves safety by making minimal, necessary adjustments to the control actions issued by the nominal motion planner. We validate our safety filter through extensive numerical experiments across a variety of traffic scenarios featuring complex roads. The results confirm its reliable safety and high computational efficiency (execution frequency up to 40 Hz). Code & Video Demo: github.com/bassamlab/SigmaRL
