Control Barrier Function Based Quadratic Programs for Safety Critical Systems

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

TL;DR

This paper introduces a novel framework for designing controllers for safety-critical systems by unifying safety objectives (expressed as Control Barrier Functions or CBFs) with performance objectives (expressed as Control Lyapunov Functions or CLFs) within a Quadratic Programming (QP) framework. This approach allows for the achievement of desired performance while guaranteeing system safety, demonstrated through applications in adaptive cruise control and lane keeping.

What Problem Does This Paper Address?

Designing controllers for safety-critical systems, such as autonomous vehicles, presents a significant challenge due to the need to balance potentially conflicting objectives. These systems must not only achieve performance goals (like maintaining a desired speed or staying within a lane) but also strictly adhere to safety constraints (like avoiding collisions or staying within lane boundaries). Traditional approaches often struggle to formally integrate these competing requirements, leading to complex control architectures or a lack of guaranteed safety. This paper addresses this by developing a unified methodology that formally combines safety and performance objectives, ensuring that safety is always guaranteed, even when performance goals are relaxed.

Methods

The core of this work lies in the development and unification of two types of barrier functions: Reciprocal Barrier Functions (RBFs) and Zeroing Barrier Functions (ZBFs). These functions provide a formal way to express safety conditions as the forward invariance of a set. The paper then extends these concepts to Control Barrier Functions (CBFs), which incorporate control inputs and translate safety requirements into inequality constraints on these inputs.

The key innovation is the use of Quadratic Programs (QPs) to mediate between CBFs and Control Lyapunov Functions (CLFs). CLFs are used to express performance objectives, such as stabilizing the system to a desired state. By formulating a QP that includes both CBF and CLF constraints, the controller can achieve performance goals while strictly enforcing safety. The QP formulation allows for the relaxation of the performance objective (making it a "soft" constraint) while keeping the safety objective a "hard" constraint, ensuring that safety is never compromised. The paper also introduces methods for constructing CBFs for systems with higher relative degrees and for handling actuator constraints.

Datasets

Not discussed in the paper. The paper focuses on theoretical development and simulation-based validation using models of automotive systems.

Key Insights and Ideas

  • Unifying Safety and Performance: The paper demonstrates a powerful way to formally combine safety and performance objectives using CBFs and CLFs within a QP framework. This is a significant step towards designing more robust and reliable safety-critical systems.
  • CBFs as Hard Constraints: By formulating safety requirements as hard constraints in a QP, the method guarantees that the system will always remain within the safe set, regardless of performance trade-offs.
  • Relaxation for Smoothness: Relaxing the performance objective (CLF constraint) allows for a smoother and more continuous control law, avoiding issues like chattering often seen in other control methods.
  • Novel Barrier Function Formulations: The introduction of RBFs and ZBFs, along with their characterization and relationship to set invariance, provides a more flexible and less restrictive approach to defining safety conditions compared to prior work.
  • Practical Applicability: The successful application to adaptive cruise control and lane keeping demonstrates the practical relevance and effectiveness of the proposed methodology for real-world automotive systems.

Key Results

  • The paper develops two novel generalizations of barrier functions (RBFs and ZBFs) and characterizes their relationship to forward invariance of a set.
  • It formulates Control Barrier Functions (CBFs) that provide inequality constraints on control inputs, ensuring forward invariance of a safe set.
  • A QP-based framework is presented that unifies CBFs (for safety) and CLFs (for performance), allowing for the achievement of control objectives subject to safety conditions.
  • The proposed method is demonstrated through simulations on Adaptive Cruise Control (ACC) and Lane Keeping (LK) problems, showing successful achievement of both safety and performance objectives.
  • The paper shows that the resulting controllers are locally Lipschitz continuous, guaranteeing the existence and uniqueness of closed-loop system solutions.

Limitations and Future Work

  • Higher Relative Degree CBFs: While methods for higher relative degree CBFs are presented, the paper notes that designing CBFs for systems with input constraints (U ≠ R^m) for higher relative degrees remains an open question.
  • Generalizing Force Constraints: The paper develops specific force-based barrier functions for ACC and LK. A future direction is to generalize these methods for arbitrary classes of control systems.
  • Composing Safety Specifications: The paper suggests that unifying safety constraints from different systems (like ACC and LK) into a single framework is a promising area for future research.
  • Formalizing Safety Specifications: Extending the methodology to handle more complex safety specifications beyond simple set invariance is also a future goal.

Summary updated

BibTeX
@article{ames2017control,
  author = {Aaron D. Ames and Xiangru Xu and Jessy W. Grizzle and Paulo Tabuada},
  title = {{Control Barrier Function Based Quadratic Programs for Safety Critical Systems}},
  journal = {IEEE Trans. Automatic Control},
  year = {2017},
  url = {https://openreview.net/forum?id=WkbFYM-Kl9T},
}
Figure