|
|
|
|
|
|
Hybrid dynamical systems with non-linear dynamics are one of the most general modeling tools for representing robotic systems, especially contact-rich systems. However, providing guarantees regarding the safety or performance of such hybrid systems can still prove to be a challenging problem because it requires simultaneous reasoning about continuous state evolution and discrete mode switching. In this work, we address this problem by extending classical Hamilton-Jacobi (HJ) reachability analysis, a formal verification method for continuous non-linear dynamics in the presence of bounded inputs and disturbances, to hybrid dynamical systems. Our framework can compute reachable sets for hybrid systems consisting of multiple discrete modes, each with its own set of non-linear continuous dynamics, discrete transitions that can be directly commanded or forced by a discrete control input, while still accounting for control bounds and adversarial disturbances in the state evolution. Along with the reachable set, the proposed framework also provides an optimal continuous and discrete controller to ensure system safety. We demonstrate our framework in simulation on an aircraft collision avoidance problem, as well as on a real-world testbed to solve the optimal mode planning problem for a quadruped with multiple gaits.
Consider a hybrid dynamical system with a finite set of discrete modes
![]() |
Let
Our key objective in this work is to compute the Backward Reachable Tube (BRT) of this hybrid dynamical system, defined as the set of initial discrete modes and continuous states
where
The core contribution of this work is Theorem I, an extension of the classical HJ reachability framework to hybrid dynamical systems with controlled and forced transitions, as well as state resets.
For a hybrid dynamical system, the value function
If
and if
With terminal time condition:
Numerical implementation: We now present an approximate numerical algorithm that can be used to calculate the value function in Theorem 1.
It builds upon the value function calculation for the classical HJI-VI , which is solved using currently available level set methods [1].
Specifically, the value function is computed over a discretized state-space grid and propagated in time using a small timestep
![]() |
To illustrate our approach, we consider very simplified, high-level dynamics for a robot quadruped moving in one dimension in a room with an obstacle (table). The robot goal is to reach the marked area on the other side of the table.
![]() |
The hybrid system representation of this system is shown in the following diagram.
Here, the continuous state
![]() |
The BRT for this example corresponds to all the combinations of continuous states and discrete modes
For the crawling gait it can be observed that the BRT (the blue shaded area) propagates through the
obstacle and the BRT includes
We now apply the proposed method to compute the BRT.
To implement Algorithm 1, we use a modified version of helperOC library and the level set toolbox[1], both of which are used to solve classical HJI-VI.
We use a grid of 301 points over the
The intuitive solution for the optimal decision-making in this scenario is to use the walking gait
everywhere except in the obstacle area. The fast walking gait allows the system to reach the target quicker,
while crawling allows to expand the reachable states beyond the obstacle.
The computed solution using our algorithm indeed aligns with this intuition.
For example, if we consider the top value function for the 3-second time horizon, we can observe that the limit
of the BRT is
As a more challenging case study, we now consider a planar one-legged jumping robot that wants to reach a goal area on top of a raised platform. The center of mass dynamics of the jumper robot are shown in the following diagram. The robot has two main operation modes: a stance mode and a flight mode. The stance mode is active when the leg is in contact with the ground, which allows the leg to exert force and accelerate in xy directions. The flight mode is activated when the leg is no longer in contact with the ground, which is modeled as an unactuated ballistic flight. Additionally, we consider a freeze mode that will permanently halt the dynamics if the center of mass of the robot collides with the terrain; this modeling allows us to obtain the characteristic of a reach-avoid scenario while only doing reach calculations, since any trajectory that goes through the terrain will be frozen and excluded of the reach BRT as it will never reach the target set.
![]() |
Hybrid formulation for the planar jumping robot. |
In this system, the continuous state is given by
In the following clip we show results for this example. There the blue BRT shows all the resting stance states that guarantee reaching the target without colliding into the obstacle. We present a trajectory and slow down at the mode transition to see how it moves between different slices of the BRT. One interesting highlight of this example is how the robot builds momentum to optimally use the forced transition. These behaviors are not hard-coded in the system, they automatically emerge out of the reachability analysis.
We next apply our method for task-based, high-level mode planning on a real-world quadruped robot, to reach a goal position in a terrain consisting of various obstacles. The quadruped has different walking modes, such as normal walking, walking on a slope, etc., each of which is modeled as a discrete mode in the hybrid system as shown in the following diagram:
![]() |
Within each discrete mode, we use simplified continuous dynamics to describe center-of-mass evolution:
where the state
Each operation mode matches a specific obstacle or terrain in the testing area. The quadruped begins in
mode
Our first experiment result is shown in the accompanying video. In our environment setup, the optimal (fastest) route to reach the target is via leveraging the slope on the right. Specifically, the robot remains in the normal walking mode and switches to the slope walking mode once near the slope. When the robot approaches the end of the slope, it needs to make a tight left turn to avoid a collision with the wall ahead. Our framework is able to recognize that and makes a transition to the slow walking mode to allow for a tighter turn. Once the turn is complete, the robot goes back in the faster walking mode.
In our second experiment, we put some papers on the slope, making it more slippery.
This is encoded by adding a higher disturbance in the slope mode
Finally, to test the closed-loop robustness of our method, we add human disturbance in the ground route experiment. The robot is kicked and dragged by a human during the locomotion process. Specifically, the robot was dragged to face backward, forcing it near the tilted obstacle. However, the reachability controller is able to ensure safety by reactivating the tilt walking mode, demonstrating that the proposed framework is able to reason about both closed-loop continuous and discrete control inputs. Nevertheless, it should be emphasized that the presented algorithm does not solve the entirety of legged locomotion planning, but rather only provides the top level of a hierarchical planning architecture that typically include a robust footstep planner, a wholebody controller, and reliable state estimation.
We present an extension of the classical HJ reachability framework to hybrid dynamical systems with controlled
and forced transitions, and state resets.
Along with the BRT, the proposed framework provides optimal continuous and discrete control inputs for the
hybrid system.
Simulation studies and hardware experiments demonstrate the proposed method, both to reach goal areas and in
maintaining safety.
Our work opens up several exciting future research directions.
First, we rely on grid-based numerical methods to compute the BRT, whose computational complexity scales
exponentially with the number of continuous states, limiting a direct use of our framework to relatively
low-dimensional systems. We will explore recent advances in learning-based methods to solve HJI-VI
to overcome this challenge.
Another interesting direction would be to extend our framework to the cases involving uncertainty in the
transition surface
[1] I. Mitchell, “A toolbox of level set methods,” http://www.cs.ubc.ca/mitchell/ToolboxLS/toolboxLS. pdf, Tech. Rep. TR-2004-09, 2004.
AcknowledgementsThis research is supported in part by the DARPA ANSR program and by NSF CAREER program (award number 2240163) and BECAS Chile. This webpage template was borrowed from some colorful folks. |