Safe Control Synthesis With Uncertain Dynamics and Constraints

Kehan Long, Vikas Dhiman, Melvin Leok, Jorge Cortés, Nikolay AtanasovIEEE RA-L 2022 · DOI

Abstract

This paper considers safe control synthesis for dynamical systems with either probabilistic or worst-case uncertainty in both the dynamics model and the safety constraints. We formulate novel probabilistic and robust (worst-case) control Lyapunov function (CLF) and control barrier function (CBF) constraints that take into account the effect of uncertainty in either case. We show that either the probabilistic or the robust (worst-case) formulation leads to a second-order cone program (SOCP), which enables efficient safe and stable control synthesis. We evaluate our approach in PyBullet simulations of an autonomous robot navigating in unknown environments and compare the performance with a baseline CLF-CBF quadratic programming approach.

Introduction

In robotics, ensuring safety (avoiding obstacles) and stability (reaching a goal) is typically achieved through Control Barrier Functions (CBFs) and Control Lyapunov Functions (CLFs). These are often combined into a Quadratic Program (QP) for real-time control. However, standard QP-based methods assume perfect knowledge of robot dynamics and the environment. In reality, sensors are noisy and physical models are simplified. Overconfidence in flawed models can lead to collisions or instability. This paper addresses these challenges by incorporating uncertainty directly into the control loop without sacrificing real-time performance.

Methodology

The core contribution is the transformation of uncertainty-aware constraints into a convex Second-Order Cone Program (SOCP). The authors unify uncertainty in both dynamics and safety constraints using two models:

  1. Probabilistic Uncertainty: Using Gaussian Processes (GPs) or Neural Networks with Monte-Carlo Dropout, the robot estimates the probability distribution of its dynamics and constraints. Applying Cantelli’s inequality allows for safety guarantees up to a user-specified risk tolerance.
  2. Worst-Case (Robust) Uncertainty: Using the Cauchy-Schwarz inequality, the authors derive a conservative safety buffer that guarantees safety for any error within known maximum bounds.
Learning a Signed Distance Function (SDF) with uncertainty from point cloud data.

A key insight is that even with complex, non-linear uncertainty, the resulting constraints can be relaxed into a convex SOCP, ensuring efficient and global optimization. The use of Monte-Carlo Dropout provides a measure of "model confusion" (variance), which informs the safety buffers.

Experimental Setup

The framework was evaluated using a TurtleBot simulated in PyBullet.

  • Dynamics: A Neural ODE network was trained on 40,000 state sequences to learn the robot's physics.
  • Perception: LiDAR scans were used to train a neural network representing a Signed Distance Function (SDF) for online obstacle boundary estimation.
  • Evaluation: The system was tested across 10 simulated environments with varying obstacle layouts.

Results and Discussion

The SOCP approach was compared against a baseline CLF-CBF-QP. In high-noise scenarios ($\sigma = 0.05$), the standard QP failed 63% of the time. In contrast, the Robust SOCP maintained a 100% success rate, and the Probabilistic SOCP (at $p=0.8$) achieved 96%.

Robot trajectories under different risk tolerance levels ($p$) navigating around an uncertain obstacle.

As shown in the trajectory analysis, uncertainty-aware controllers steer clear of obstacles earlier than the baseline. The probabilistic approach allows for a "risk vs. performance" trade-off: lower risk tolerance ($p$) results in more cautious paths, while higher tolerance allows for more direct routes. Computationally, the SOCP solve time (10–12 ms) is comparable to the standard QP (8 ms), making it suitable for real-time deployment.

Conclusion

This work demonstrates that unifying dynamics and constraint uncertainty into an SOCP framework significantly improves robot safety. While high uncertainty can lead to infeasibility (the robot getting "stuck"), the method provides a robust foundation for safe navigation in unknown environments. Future work will explore physical hardware testing and adaptive uncertainty reduction.

Reference: Long, K., Dhiman, V., Leok, M., Cortés, J., & Atanasov, N. (2022). Safe Control Synthesis with Uncertain Dynamics and Constraints. arXiv:2202.09557v3 [cs.RO].

Summary updated

BibTeX
@article{long2022safe,
  author = {Kehan Long and Vikas Dhiman and Melvin Leok and Jorge Cortés and Nikolay Atanasov},
  title = {{Safe Control Synthesis With Uncertain Dynamics and Constraints}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  doi = {10.1109/lra.2022.3182544},
}
Figure