Abstract
Safe autonomy is important in many application domains, especially for applications involving interactions with humans. Existing safe control algorithms are similar to one another in the sense that: they all provide control inputs to maintain a low value of an energy function that measures safety. In different methods, the energy function is called a potential function, a safety index, or a barrier function. The connections and relative advantages among these methods remain unclear. This paper introduces a unified framework to derive safe control laws using energy functions. We demonstrate how to integrate existing controllers based on potential field method, safe set algorithm, barrier function method, and sliding mode algorithm into this unified framework. In addition to theoretical comparison, this paper also introduces a benchmark which implements and compares existing methods on a variety of problems with different system dynamics and interaction modes. Based on the comparison results, a new method, called the sublevel safe set algorithm, is derived under the unified framework by optimizing the hyperparameters. The proposed algorithm achieves the best performance in terms of safety and efficiency on the vast majority of benchmark tests.
Introduction
In the rapidly evolving world of robotics, "safety first" is a complex mathematical requirement. Whether it's a robot arm working alongside a factory technician or an autonomous vehicle navigating a busy intersection, these systems must guarantee they won't enter "unsafe" states. Researchers have developed various "energy-function-based" methods to handle this, but until now, these algorithms existed as a fragmented collection of techniques.
The field of safe autonomy is currently a "zoo" of different methods, including Potential Field Methods (PFM), Sliding Mode Algorithms (SMA), Barrier Function Methods (BFM), and Safe Set Algorithms (SSA). While they all use "energy functions"—scalar values that increase as a robot gets closer to danger—to push the system toward safety, it has been historically difficult to compare them directly.
The core challenge is the safety-efficiency trade-off: a controller that is "too safe" might become overly conservative and fail to complete its task (low efficiency), while a highly efficient controller might cut corners and risk collisions. Without a unified way to describe these algorithms, researchers couldn't easily analyze why one method worked better than another in specific scenarios.
A Unified Framework for Safe Control
The primary contribution of this work is a unified framework that mathematically connects these popular algorithms. The framework decomposes any control input ($u$) into two perpendicular components:
- Safety Component ($u^s$): Parallel to the gradient of the energy function, responsible for "pushing" the robot away from danger.
- Efficiency Component ($u^e$): Orthogonal to the safety gradient, ensuring progress toward the goal without affecting the safety value.
By adjusting two hyperparameters—$\alpha$ for safety response and $\beta$ for efficiency—the authors prove that PFM, SMA, SSA, and BFM are different points in the same mathematical space. This allows for the optimization of task performance in the "null space" of the safety constraint, which is particularly useful for redundant robots that can move their structure to avoid obstacles while keeping their end-effector on task.
The Sublevel Safe Set (SSS) Algorithm
Building on this unification, the authors propose the Sublevel Safe Set (SSS) algorithm. SSS combines the efficiency of SSA (which intervenes at the edge of the safe region) with the dynamic slackness of BFM (which scales intervention based on danger level). The authors found that SSA can "overreact" by treating all violations with the same intensity, while BFM can be too conservative by intervening even when the robot is relatively safe. SSS aims to find the optimal balance between these extremes.
Benchmark of Interactive Safety (BIS)
To rigorously test these methods, the authors introduced the Benchmark of Interactive Safety (BIS). This simulation environment evaluates safe control in human-robot interaction scenarios across:
- Four Robot Models: 2D ball, unicycle, SCARA, and a 4-DoF robot arm.
- Interaction Modes: Passive and interactive human models (learned via imitation learning from real human data) to see how robots react when humans are also moving unpredictably.
- Metrics: Efficiency Score (goals reached), Safety Score (penalizing close calls), and a Hybrid Score (max efficiency with zero collisions).
Key Results and Insights
The benchmark results validated the unified framework and highlighted the strengths of different approaches:
- SSS Performance: The new SSS algorithm achieved the best performance on the vast majority of benchmark tests, particularly in the Hybrid Score.
- SMA Utility: The Sliding Mode Algorithm performed surprisingly well on specific platforms like the Unicycle, suggesting niche benefits for constant-magnitude safety interventions.
- Human Cooperation: In tests with interactive humans, the safety-efficiency trade-off changed. When humans cooperate by moving away, a robot's efficiency can increase alongside its safety score, breaking the typical negative correlation.
Conclusion and Future Directions
While this framework provides a massive leap forward in unifying safe control, some limitations remain. Current implementations assume static Jacobians within a single control frame, and the benchmark currently focuses on two-agent interactions. Future work will scale these energy-function methods to crowded, multi-agent environments and explore the relationship between analytical energy functions and learned value functions in Reinforcement Learning.
The BIS code is available on GitHub at https://github.com/intelligent-control-lab/BIS.
Summary updated