Robustness of Control Barrier Functions for Safety Critical Control

Xiangru Xu, Paulo Tabuada, Jessy W. Grizzle, Aaron D. Ames

TL;DR

This paper formalizes Zeroing Control Barrier Functions (ZCBFs) as a robust tool for guaranteed safety in autonomous systems. It proves that these functions can maintain safety even under model perturbations (Input-to-State Stability) and provides the mathematical conditions necessary to ensure that the resulting controllers are "smooth" (locally Lipschitz continuous) and thus safe to implement on real hardware.

What Problem Does This Paper Address?

In safety-critical control (like autonomous driving or robotics), we need mathematical guarantees that a system will never enter an "unsafe" region. Traditionally, researchers used Barrier Functions—mathematical certificates that prove a set is forward invariant (if you start safe, you stay safe).

However, two major gaps existed:

  1. Robustness: Most barrier functions assumed a perfect model. In reality, sensors have noise and environments have disturbances (e.g., a car hitting a patch of ice or a change in road grade).
  2. Implementability: To balance safety with performance (like reaching a destination), engineers often solve a Quadratic Program (QP) at every millisecond. If the solution to this optimization problem jumps around or is discontinuous, it can break the underlying physics of the system or cause the controller to fail.

Methods

The authors build upon the concept of Control Barrier Functions (CBFs), which are the safety equivalent of Control Lyapunov Functions (CLFs) used for stability.

  • Zeroing Control Barrier Functions (ZCBFs): Unlike "reciprocal" barrier functions that go to infinity at the boundary of a safe set, ZCBFs are designed to vanish (go to zero) at the boundary. This allows the authors to analyze the system's behavior both inside and outside the safe set.
  • Input-to-State Stability (ISS): The authors apply ISS theory to ZCBFs. They show that if a system is hit by a disturbance, it won't immediately become "unsafe"; instead, it will stay within a slightly expanded, "relaxed" safe set proportional to the size of the disturbance.
  • QP-based Control Law: They propose a controller that minimizes the difference from a desired performance goal while treating the ZCBF as a "hard" safety constraint.
  • KKT Conditions: To prove the controller is smooth, they use Karush–Kuhn–Tucker (KKT) optimality conditions to derive the closed-form expression of the QP and prove its Lipschitz continuity.

Datasets

Not discussed in the paper. As a theoretical control paper, it does not use external datasets. Instead, it validates the theory using a numerical simulation of an Adaptive Cruise Control (ACC) system.

Key Insights and Ideas

  • "Two Sides of Zero": The authors argue that ZCBFs are superior to reciprocal barrier functions for robustness. Because a ZCBF is defined on both sides of the boundary, we can mathematically describe how a system "recovers" if a massive disturbance pushes it slightly into an unsafe zone. Reciprocal functions "blow up" at the boundary, making them numerically unstable under noise.
  • Mediating Conflict: By using a "relaxation parameter" ($\delta$) for the performance objective (the CLF), the authors ensure the optimization problem is always solvable. Safety is a hard requirement; performance is a "nice-to-have" that can be scaled back if it conflicts with safety.
  • Uniform Relative Degree: The paper identifies that for the controller to be smooth (Lipschitz), the control input must have a direct, non-vanishing effect on the barrier function (relative degree one).

Key Results

  • Formal Robustness Proofs: The paper provides theorems proving that ZCBFs guarantee asymptotic stability of the safe set. Under "vanishing" disturbances, the set remains perfectly invariant. Under "non-vanishing" disturbances, the system remains in a bounded region near the safe set.
  • Smoothness Guarantee: Theorem 2 and 3 provide the specific conditions under which a QP-based safety controller is locally Lipschitz continuous, ensuring the existence and uniqueness of solutions for the closed-loop system.
  • ACC Case Study: In simulations of a car following a lead vehicle, the ZCBF-based controller successfully maintained a safe "time headway" even when faced with unmeasured road grade changes (disturbances) that would have caused simpler controllers to fail.

Limitations and Future Work

  • Input Constraints: The theoretical proofs for Lipschitz continuity assume the control inputs ($u$) are unbounded. In reality, motors and brakes have limits. The authors note that incorporating these constraints into the theoretical framework is a subject for future study.
  • Complexity: While the ACC example is a 3D state space, applying these guarantees to high-dimensional systems (like humanoid robots) remains computationally challenging.
  • Compositionality: The paper focuses on a single barrier function; how multiple safety constraints (e.g., "don't hit the wall" AND "don't overheat") interact and maintain these robustness properties is left for future research.

Summary updated

BibTeX
@inproceedings{xu2015robustness,
  author = {Xiangru Xu and Paulo Tabuada and Jessy W. Grizzle and Aaron D. Ames},
  title = {{Robustness of Control Barrier Functions for Safety Critical Control}},
  booktitle = {ADHS},
  year = {2015},
  doi = {10.1016/j.ifacol.2015.11.152},
}
Figure