Introduction
Ensuring the safety of autonomous systems requires balancing rigorous mathematical guarantees with smooth, efficient control. Traditionally, this has been approached through two distinct frameworks: Hamilton-Jacobi (HJ) reachability and Control Barrier Functions (CBFs). HJ reachability provides a "least-restrictive" safety filter with formal guarantees but often results in jerky "panic" behaviors and suffers from the curse of dimensionality. Conversely, CBFs offer smooth control but are notoriously difficult to synthesize for complex, high-dimensional systems.
This paper introduces CBF-DDP, a novel online safety filter that bridges these methodologies. By leveraging Differential Dynamic Programming (DDP) to compute safety constraints on the fly, the authors achieve "infinite-time" safety guarantees for high-dimensional systems without the conservativeness or computational bottlenecks of previous methods.
The Challenge of Safety Filtering
Safety filters typically intervene when a system's nominal control (the "task" control) risks entering a failure set, such as an obstacle. Existing methods face significant trade-offs:
- HJ Reachability: This method calculates the maximal safe set. However, it typically only intervenes at the very last second, leading to abrupt, jerky control overrides that are uncomfortable for passengers and taxing on hardware. Furthermore, grid-based solvers limit HJ methods to systems with 5 or 6 dimensions.
- Control Barrier Functions (CBFs): These offer smoother transitions by nudging the system away from boundaries early. However, valid CBFs are difficult to "hand-craft" for complex systems. Engineers often settle for conservative approximations that limit performance or risk infeasibility under tight actuation limits.
Methodology: CBF-DDP
The core innovation of this work is the construction of an "implicit" CBF at every control cycle using a reach-avoid formulation.
Reach-Avoid Value Functions
Instead of a simple obstacle avoidance goal, the authors utilize a reach-avoid value function. This formulation ensures the system can always reach a "target set" (a safe invariant state, such as a full stop) without ever entering a "failure set."
Local Approximation via DDP
To overcome the curse of dimensionality, the algorithm avoids global grid-based solutions. Instead, it uses Differential Dynamic Programming (DDP) to find a local quadratic approximation of the safety value function along a predicted trajectory. This allows the safety filter to scale to higher-dimensional systems by focusing computation on the relevant state-space regions.
The QCQP Filter
At each time step, the system solves a Quadratically Constrained Quadratic Program (QCQP). The objective is to stay as close as possible to the user's desired task control while satisfying a safety constraint derived from the DDP-calculated value function. By introducing a discount factor ((\gamma)) into the barrier constraint, the filter begins to gently correct the trajectory well before it reaches the safety boundary, eliminating the "jerky" switches characteristic of least-restrictive filters.
Recursive Feasibility
The authors prove that by ensuring the system can always reach a "controlled-invariant" target set, the online scheme guarantees safety for all future time. If the optimization fails due to extreme constraints, the system can revert to a pre-calculated "fallback policy" derived from the DDP safety path.
Experimental Evaluation
The algorithm was evaluated in physics-based simulations across two primary models:
- Dubins Car (3D): A standard non-holonomic benchmark for vehicle dynamics.
- Kinematic Bicycle Model (5D): A higher-dimensional model involving position, heading, velocity, and steering angle, used to navigate road boundaries and yaw limits simultaneously.
Key Results
- Smoothness: In Dubins car simulations, CBF-DDP demonstrated significantly lower control deviation and smoother steering compared to standard Least-Restrictive (LR) DDP approaches.
- High-Dimensional Scalability: The 5D bicycle model successfully navigated complex obstacle courses in real-time, with control cycles ranging from 0.1s to 0.3s.
- Robustness: While LR-DDP filters often forced the vehicle into emergency maneuvers or dead stops under tight constraints, CBF-DDP maintained a smooth, continuous path. Quantitative results showed consistent reductions in acceleration and steering "jerk" (mean and standard deviation) across various road limits.
Discussion and Future Work
While CBF-DDP represents a significant step forward, some limitations remain. The value function can exhibit discontinuous derivatives when multiple constraints interact (e.g., being squeezed between two obstacles), which may still induce minor jerkiness. Future work may involve using "soft" minimum operators to smooth these transitions. Additionally, as DDP is a local optimizer, complex environments with many local minima might require integration with global planners. Finally, optimizing the DDP inner loop remains a priority for deployment on low-power embedded hardware.
Conclusion
CBF-DDP successfully combines the mathematical rigor of HJ reachability with the smooth control of CBFs. By utilizing DDP for local value function approximation, the method provides a scalable, real-time safety filter capable of handling high-dimensional systems with formal safety guarantees.
Summary updated