Learning-Based Safety-Stability-Driven Control for Safety-Critical Systems under Model Uncertainties

Lei Zheng, Rui Yang, Jiesen Pan, Hui Cheng, Haifeng Hu

Introduction

Autonomous systems, from self-driving cars to industrial robots, rely on mathematical models to navigate safely and efficiently. However, these models are rarely perfect. Real-world factors like changing road friction, wind, or unmodeled environmental forces introduce uncertainties that can lead to a dangerous "safety-performance tradeoff." This paper presents Learning-Based Safety-Stability-Driven Control (LBSC), a framework designed to bridge this gap by learning model errors online and providing high-probability safety guarantees.

The LBSC Framework

The core of the LBSC approach is the integration of online machine learning with robust control theory. Unlike traditional controllers that assume a fixed model, LBSC continuously adapts to discrepancies between the nominal model and actual system behavior.

System architecture of the Learning-Based Safety-Stability-Driven Control (LBSC) framework.

The framework consists of several key components:

  1. Gaussian Processes (GPs): GPs are used to model the unmodeled dynamics. They provide a predicted error (mean) and a confidence measure (variance), which is crucial for safety-critical applications.
  2. Uncertainty Bound Evaluation: Using the GP output, the system calculates high-confidence uncertainty bounds. This allows the controller to account for the worst-case model error with a specific probability (e.g., $1-\delta$).
  3. Safety and Stability Constraints: The system employs Control Barrier Functions (CBFs) for safety (e.g., collision avoidance) and Control Lyapunov Functions (CLFs) for stability (e.g., speed tracking). These are formulated to be robust against the identified uncertainty bounds.
  4. Quadratic Programming (QP) Optimization: The final control input is determined by solving a QP that prioritizes safety over tracking performance through the use of relaxation variables. If the system cannot be both safe and stable, it will sacrifice tracking performance to ensure safety.

Experimental Validation

The authors validated LBSC using a Connected Cruise Control (CCC) simulation. The scenario involved a chain of five vehicles, where an autonomous car running LBSC followed human-driven vehicles. To test robustness, the simulation introduced unmodeled road slopes and varying rolling resistance coefficients. Despite the complexity of GPs, the authors used a sliding window of the last 30 observations to keep the average optimization time to 2.45 ms, ensuring real-time viability for a 50Hz control loop.

Results and Insights

A key advantage of LBSC is its ability to maintain safety even during aggressive maneuvers or significant model mismatches. In tests involving urgent braking, LBSC was the only method among the baselines to strictly maintain safe following distances (25m–100m) despite model errors.

Gaussian Process (GP) learning performance showing actual error vs. predicted mean and uncertainty bounds.

As shown in the GP performance plots, the algorithm effectively tracks the actual model error. As the GP collects more data, the uncertainty bounds shrink, allowing the controller to become more assertive without increasing risk. Furthermore, LBSC achieved significantly lower Mean Absolute Error (MAE) in velocity tracking and smoother control inputs compared to sampling-based adaptive methods, which is vital for passenger comfort and mechanical durability.

Conclusion

LBSC offers a principled way to handle model uncertainties in safety-critical systems. By combining the predictive power of Gaussian Processes with the rigorous guarantees of CBFs and CLFs, it enables autonomous systems to operate safely and efficiently in unpredictable real-world environments. Future work will focus on scaling this approach to higher-dimensional systems and validating it on physical hardware, such as wheeled and aerial robots.

Summary updated

Abstract

Safety and tracking stability are crucial for safety-critical systems such as self-driving cars, autonomous mobile robots, and industrial manipulators. To efficiently control safety-critical systems to ensure their safety and achieve tracking stability, accurate system dynamic models are usually required. However, accurate system models are not always available in practice. In this paper, a learning-based safety-stability-driven control (LBSC) algorithm is presented to guarantee the safety and tracking stability for nonlinear safety-critical systems subject to control input constraints under model uncertainties. Gaussian Processes (GPs) are employed to learn the model error between the nominal model and the actual system dynamics, and the estimated mean and variance of the model error are used to quantify a high-confidence uncertainty bound. Using this estimated uncertainty bound, a safety barrier constraint is devised to ensure safety, and a stability constraint is developed to achieve rapid and accurate tracking. Then the proposed LBSC method is formulated as a quadratic program incorporating the safety barrier, the stability constraint, and the control constraints. The effectiveness of the LBSC method is illustrated on the safety-critical connected cruise control (CCC) system simulator under model uncertainties.
BibTeX
@inproceedings{zheng2020learning,
  author = {Lei Zheng and Rui Yang and Jiesen Pan and Hui Cheng and Haifeng Hu},
  title = {{Learning-Based Safety-Stability-Driven Control for Safety-Critical Systems under Model Uncertainties}},
  booktitle = {WCSP},
  year = {2020},
  url = {https://openreview.net/forum?id=HNhBt3w7Tl},
}
Figure