Refining Control Barrier Functions through Hamilton-Jacobi Reachability
Sander Tonkens and Sylvia Herbert
CBFs meet HJR
2022
A popular tool to ensure safety in critical control applications are value functions
2
The desired safety constraint
Long-term effect of the dynamics
A single scalar function
Level – measure of the safety margin
Gradient – unsafe / safe direction
CBFs meet HJR
2022
Unfortunately, synthesizing a safe CBF is notoriously difficult…
3
We update an approximate CBF leveraging dynamic programming to obtain a CBF that is guaranteed to be safe
CBFs meet HJR
2022
Outline
4
CBFs meet HJR
2022
Outline
5
CBFs meet HJR
2022
The value function is synthesized based on both the system’s dynamics and its environment
6
Desired safe region
state
CBFs meet HJR
2022
Control Barrier Functions have emerged as a popular tool for maintaining safety
7
Safety
Derivative of safety
CBFs meet HJR
2022
Any safe CBF’s 0-superlevel set is guaranteed to be a subset of the maximally safe set: the viability kernel
8
CBFs meet HJR
2022
The viability kernel can be described by an optimal control problem
9
System Dynamics
Cost function
Objective:
CBFs meet HJR
2022
Hamilton-Jacobi reachability analysis solves this optimal control problem using dynamic programming
10
Cost-to-go
Current cost
Worst-case cost over entire trajectory
We want to maximize the cost, i.e. be as safe as possible
Terminal cost: Distance to obstacle
CBFs meet HJR
2022
The viability kernel is computed backward in time and is the 0-superlevel set of the HJ value function
11
Desired safe region
Target set
Fisac et al., HSCC 2015
CBFs meet HJR
2022
How to refine CBFs using HJ reachability?
12
CBFs meet HJR
2022
Synthesizing an approximately correct CBF is usually easy!
Conservative
13
Unsafe
CBFs meet HJR
2022
Outline
14
CBFs meet HJR
2022
We revisit the classic Adaptive Cruise Control problem and consider a conservative CBF
15
ego vehicle
lead vehicle
Safety objective
CBFs meet HJR
2022
We initialize HJ reachability with a conservative CBF and recover a larger safe set!
16
Safety constraint
Bounded input
CBFs meet HJR
2022
The CBF is optimal when neglecting friction, whereas the CBVF adapts to incorporate friction
17
CBFs meet HJR
2022
This method can be used to improve both the performance and the safety of CBFs!
Our simple, intuitive, framework:
…. All of this with theoretical guarantees!
18
CBFs meet HJR
2022
Outline
19
CBFs meet HJR
2022
Our method guarantees the value function does not become less safe throughout the DP iterations
20
CBFs meet HJR
2022
… And is additionally guaranteed to converge to a control invariant subset of the viability kernel
21
CBFs meet HJR
2022
Lastly, it will satisfy the CBF derivative constraint everywhere in the state space!
22
CBFs meet HJR
2022
Our method is applicable to a wide variety of CBF synthesis techniques
23
Refine CBF to circumvent
high-relative degree systems
Make candidate CBF safe
Reduce online computation of
backup CBF
Refine safe, yet conservative, CBF
CBFs meet HJR
2022
This method is a practical method to enhance the safety of deployed robotic systems
24
CBFs meet HJR
2022
Contributions
A framework for value-function based safety that formally enforces AND encodes safety…
25
Tonkens and Herbert, IROS 2022 (Submitted)
CBFs meet HJR
2022