Safety Embedded Control of Nonlinear Systems via Barrier States

Hassan Almubarak, Nader Sadegh, Evangelos A. Theodorou

Introduction

In the development of autonomous systems, such as self-driving vehicles and industrial robotics, achieving a balance between high-performance control and provable safety remains a primary challenge. Traditionally, safety constraints and control performance are treated as separate, often conflicting objectives. This research proposes a novel methodology that embeds safety directly into the stability of control systems using Barrier States (BaS). By transforming safety constraints into additional state variables within the system's model, safety becomes a prerequisite for asymptotic stability, effectively unifying these two critical goals.

The Barrier State (BaS) Methodology

The core innovation of this work is the augmentation of the system's state space with Barrier States. For every safety constraint—such as obstacle avoidance—a Barrier Function is defined that approaches infinity as the system nears an unsafe boundary.

  1. State Augmentation: The system model is expanded to include a new differential equation for a state variable $z$, designed to track the barrier function's value.
  2. Stabilization as a Guarantee of Safety: Because the barrier state $z$ diverges at the safety boundary, any controller that successfully stabilizes the augmented system (keeping $z$ bounded and driving it toward zero) inherently ensures the system remains within the safe set.
  3. Ensuring Stabilizability: To prevent the added barrier states from making the system impossible to control, the authors introduce an auxiliary function ($\phi_1$). This function perturbs the BaS equation to maintain the "stabilizability" of the augmented system without compromising safety guarantees.
Comparison of trajectories with and without Barrier States (BaS) for different values of the parameter $\gamma$. The "No BaS" path (dashed red) fails to avoid the obstacle, while BaS-enabled paths successfully navigate around it.

This approach is particularly advantageous because it is agnostic to the system's relative degree and avoids the feasibility conflicts often encountered in real-time optimization-based methods like Control Barrier Functions (CBFs).

Implementation and Benchmarks

The efficacy of the BaS method was evaluated using two primary control benchmarks:

  • Unstable Pendulum on a Cart: The goal was to balance the pendulum while avoiding "low-velocity" regions in the state space where the system might lose controllability.
  • Multi-Robot Navigation: Two mobile robots were tasked with reaching opposite targets while avoiding a central obstacle and maintaining a safe distance from each other.

The researchers demonstrated that standard tools, such as linear pole placement for augmented linear systems and the Hamilton-Jacobi-Bellman (HJB) equation for nonlinear optimal control, could be readily applied to these augmented models.

Key Results

The simulations confirmed that the BaS approach successfully produces safe trajectories even with simple control techniques. In the pendulum case, the controller navigated around unsafe regions in the state space. In the multi-robot scenario, the robots successfully coordinated their movements to avoid collisions.

Multi-robot navigation in state space (top) and the corresponding distance between agents over time (bottom). The distance approaches but never crosses the safety threshold $\delta$, demonstrating forward invariance of the safe set.

As shown in the multi-agent results, the distance between robots remains strictly above the safety limit $\delta$. This empirical evidence supports the theoretical claim that safety is maintained as long as the system remains stable.

Conclusion and Future Work

By embedding safety into the definition of stability, the Barrier State method provides a robust framework for designing safe controllers for nonlinear systems. While the approach increases the dimensionality and nonlinearity of the system model—potentially increasing computational costs for complex systems—it eliminates the need for complex relative degree calculations and reduces the risk of infeasible control solutions. Future research will focus on extending this methodology to stochastic systems with noise and integrating it with sample-based Model Predictive Control (MPC).

Summary updated

BibTeX
@article{almubarak2022safety,
  author = {Hassan Almubarak and Nader Sadegh and Evangelos A. Theodorou},
  title = {{Safety Embedded Control of Nonlinear Systems via Barrier States}},
  journal = {IEEE Control. Syst. Lett.},
  year = {2022},
  doi = {10.1109/lcsys.2021.3093255},
}
Figure