Abstract
Ensuring safety in autonomous systems often relies on Control Barrier Functions (CBFs), which act as safety filters for control commands. However, designing effective CBFs is challenging when systems face complex non-convex constraints, limited actuation, and high relative degrees. This paper introduces PINN-CBF, a self-supervised framework that leverages Physics-Informed Neural Networks to learn performance-oriented CBFs. By approximating the viability kernel through the Hamilton-Jacobi (HJ) partial differential equation, the method maximizes the safe operating volume while strictly adhering to physical limits. Experimental results on 2D benchmarks and a 7D F16 aircraft model demonstrate that PINN-CBF significantly outperforms existing neural barrier methods in both safety and agility.
Introduction
In modern robotics, safety is typically managed by a Control Barrier Function (CBF) that sits between a high-level controller and the system's actuators. The CBF acts as a "safety shield," minimally adjusting control inputs to prevent the system from entering unsafe states. Despite their utility, traditional CBF design becomes intractable under three specific conditions: complex, non-convex safety constraints; limited actuation (weak motors); and high relative degrees (lag between input and state change).
When these factors are present, standard methods often produce "conservative" filters. These filters either restrict the robot's movement so severely that it cannot complete its task or fail to account for the system's inability to brake in time, leading to safety violations. This work addresses these gaps by automating CBF generation through a physics-informed learning approach.
Methodology: The PINN-CBF Framework
The authors propose a three-step framework to learn a performance-oriented CBF, denoted as $h_\theta(x)$, which approximates the largest possible set of safe states (the viability kernel).
1. Smooth Constraint Composition
Real-world safety requirements often involve complex Boolean logic (e.g., "stay within the room AND avoid the table OR the chair"). To make these requirements differentiable for neural network training, the framework uses a "log-sum-exponential" smooth approximation. This turns jagged, non-convex boundaries into a single, smooth mathematical function $\underline{c}(x)$.
2. Safety-Preserving Architecture
To ensure the learned safe set is always a subset of the user-defined safe area, the CBF candidate is parameterized as: $$h_\theta(x) = \underline{c}(x) - \delta_\theta(x)$$ where $\delta_\theta(x)$ is a non-negative neural network. This architectural choice guarantees that if the network predicts a state is safe ($h_\theta(x) \geq 0$), it must satisfy the original safety constraints ($\underline{c}(x) \geq 0$) by construction.
3. Physics-Informed Training
Instead of relying on labeled datasets, the network is trained using a loss function derived from the Hamilton-Jacobi (HJ) Partial Differential Equation. By minimizing the PDE residual, the network learns to satisfy the viability conditions required for a valid CBF. To improve training efficiency, Markov Chain Monte Carlo (MCMC) sampling is employed to focus the network's learning on the boundaries of the safe set, where the system's dynamics and actuation limits are most critical.
Experimental Evaluation
The framework was evaluated on two primary benchmarks:
- 2D Double Integrator: A point mass with limited acceleration navigating a cluttered 2D environment. PINN-CBF achieved a "volume ratio" of 0.619, significantly higher than conservative baselines, indicating a much larger safe operating area.
- 7D F16 Aircraft: A high-dimensional model requiring the management of 7 state variables and 3 limited control inputs (thrust, pitch, roll). This task tested the method's ability to scale beyond the limits of traditional grid-based HJ reachability methods.
Key Results and Discussion
PINN-CBF demonstrated superior performance in high-dimensional tasks. In the F16 jet simulation, it maintained a high safe-set volume (0.700) while keeping safety violations significantly lower (0.081) compared to existing neural methods like NCBF (0.240).
As shown in the qualitative results, PINN-CBF allows for agile maneuvers, such as navigating narrow gaps between obstacles, which other methods either fail to clear or avoid entirely due to over-conservatism. By linking CBF learning directly to HJ reachability through the PINN framework, the authors successfully overcame the "curse of dimensionality" that plagues traditional control theory.
Conclusion
PINN-CBF provides a robust pathway for designing safety filters for complex, high-dimensional systems with limited actuation. While the method currently requires retraining for new obstacle layouts, it establishes a rigorous foundation for using physics-informed learning in safety-critical control. Future work will focus on developing domain-adaptive models that can generalize across varying environments without the need for retraining.
Summary updated