Measurement-Robust Control Barrier Functions: Certainty in Safety with Uncertainty in State

Ryan K. Cosner, Andrew W. Singletary, Andrew J. Taylor, Tamás G. Molnár, Katherine L. Bouman, Aaron D. Ames

Abstract: Ensuring robotic safety typically relies on precise state estimation, which is often unavailable in real-world environments due to sensor noise and bias. This paper introduces Measurement-Robust Control Barrier Functions (MR-CBFs), a framework that guarantees safety despite measurement uncertainty. By unifying Control Barrier Functions with Backup Sets, the proposed Measurement-Robust Backup Set Optimization Program (MR-BS-OP) ensures control invariance while accounting for state estimation errors. Experimental results in simulation and on a physical Segway platform demonstrate that the system maintains safety even with significant sensor drift, operating at high frequencies suitable for real-time control.

Introduction

Robotic safety is fundamentally defined by keeping a system's state within a predefined "safe set"—for instance, preventing a mobile robot from colliding with obstacles or exceeding stability limits. Control Barrier Functions (CBFs) have emerged as a powerful tool for enforcing these constraints. However, standard CBF implementations struggle with two critical real-world issues:

  1. Control Invariance: Ensuring that if a robot is currently safe, a control action exists to keep it safe indefinitely. Finding this set is often computationally intractable for complex systems.
  2. Measurement Uncertainty: Standard CBFs assume perfect state knowledge. In reality, sensors like cameras or LIDAR introduce noise and bias, which can lead to safety violations if the robot's true position differs from its estimated position.

Proposed Methodology: MR-BS-OP

The researchers address these challenges through the Measurement-Robust Backup Set Optimization Program (MR-BS-OP). This framework integrates two core concepts:

  • Backup Sets: Rather than solving for the entire safe region, the controller identifies a "Backup Set" where a safe control law (e.g., braking) is known. It then computes "Backup Trajectories" that are guaranteed to return the robot to this set, ensuring control invariance is computationally tractable.
  • Measurement Robustness (MR): To handle uncertainty, the safety constraints are "tightened" using Lipschitz constants (which bound how fast a function can change). This creates a safety buffer proportional to the maximum measurement error ($\epsilon$), forcing the robot to act more conservatively as uncertainty increases.

The resulting optimization problem is formulated as a Second-Order Cone Program (SOCP), allowing it to run at 250 Hz on embedded hardware like the NVIDIA Jetson TX2.

Experimental Evaluation

The method was validated using a Segway platform in both simulation and hardware experiments. In simulation, an artificial 0.4-meter position error was introduced to test robustness. Hardware tests utilized a modified Ninebot E+ Segway equipped with an Intel RealSense T265 for visual-inertial odometry and a VectorNav VN-100 IMU. Ground truth for validation was captured via an OptiTrack motion capture system.

Hardware validation of the MR-BS-OP controller on a Segway platform.

Results and Discussion

The primary advantage of the MR-BS-OP approach is its ability to maintain safety where standard methods fail. In simulations with a 0.4m bias, standard controllers (BS-QP) allowed the true state to cross the safety boundary because the measured state appeared safe. In contrast, the MR-BS-OP controller successfully halted the robot before the true state reached the limit.

Comparison of the standard BS-QP controller and the proposed MR-BS-OP method in simulation.

Hardware experiments confirmed these findings. When piloted toward a wall, the robot used vision-based SLAM—which naturally drifts over time—to navigate. The MR-BS-OP controller intervened to prevent collision, demonstrating real-world reliability. The blue "robustness region" shown in the simulation figures represents the set of true states that the controller can keep safe, given the current uncertain measurement.

Conclusion

This work provides a rigorous mathematical foundation for "certain safety" under "uncertain states." While the current "worst-case" error bounds can lead to over-conservatism, the framework ensures that robots can operate safely in the presence of imperfect sensor data. Future research aims to incorporate probabilistic error bounds to balance safety with performance more effectively.

Summary updated

BibTeX
@misc{cosner2021measurement,
  author = {Ryan K. Cosner and Andrew W. Singletary and Andrew J. Taylor and Tamás G. Molnár and Katherine L. Bouman and Aaron D. Ames},
  title = {{Measurement-Robust Control Barrier Functions: Certainty in Safety with Uncertainty in State}},
  year = {2021},
  eprint = {2104.14030},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.14030},
}
Figure