Safe Autonomous Navigation for Systems with Learned SE(3) Hamiltonian Dynamics

Zhichao Li, Thai P. Duong, Nikolay Atanasov

Abstract

Safe autonomous navigation in unknown environments is a critical challenge for mobile robotics. This paper presents a framework to learn robot dynamics from trajectory data while ensuring safety through physical consistency. By embedding Hamiltonian structure into a Neural Ordinary Differential Equation (ODE) network, the authors leverage energy-based control methods to guarantee stability and collision avoidance. The approach is demonstrated on a simulated hexarotor navigating a cluttered 3D forest, showing precise parameter recovery and zero collisions.

Introduction

Achieving safe autonomous navigation requires both an accurate physical model and a robust mechanism for real-time obstacle avoidance. Traditional methods often struggle to combine the flexibility of machine learning with the rigorous safety guarantees of classical control. This research addresses this gap by constraining a neural network to follow Hamiltonian dynamics—a framework from classical mechanics that describes systems in terms of energy. This physics-informed approach allows the use of the system's learned energy as a tool for proving stability and safety.

Methodology

The proposed system combines deep learning with energy-shaping control through three main stages:

Neural Hamiltonian ODEs

The robot's dynamics are modeled using a Neural ODE network. Unlike standard "black-box" models, this architecture is explicitly structured to represent the mass matrix, potential energy, and input gains of a Hamiltonian system. This ensures that the learned model obeys fundamental physical laws.

Architecture of the neural ODE network, illustrating the mapping from state variables to Hamiltonian components.

Energy-Shaping Control

Once the dynamics are learned, the system employs Interconnection and Damping Assignment Passivity-Based Control (IDA-PBC). This technique "shapes" the robot's energy landscape so that its target destination becomes the point of minimum energy, naturally drawing the robot toward its goal.

Dynamic Safety Margin (DSM)

To handle obstacles, the authors implement a reference governor that manages a virtual target. They define a Dynamic Safety Margin (DSM) that balances the robot's current kinetic energy against its distance to obstacles. If the robot possesses too much energy to stop safely, the governor slows down the virtual target, forcing the robot to decelerate.

Experimental Setup

The framework was validated using simulated trajectory data from a hexarotor. The dataset included 432 sequences of one-second flights, capturing position, orientation, velocity, and control inputs. Performance was tested in a complex 3D forest environment filled with trees, requiring the robot to navigate safely using a limited-range LiDAR sensor.

Key Results

The Neural ODE successfully identified the hidden physical parameters of the hexarotor. Training results show that the learned input matrices and inverse inertia converged almost perfectly to the ground-truth values used in the simulation.

Recovery of the input matrix parameters $B_\delta(q)$ during training, showing convergence to ground-truth values.

In navigation tests, the hexarotor reached its goal with zero collisions. The robot demonstrated adaptive behavior, naturally slowing down in "tight" spaces with many obstacles and accelerating in clearings. The safety constraints were maintained throughout, even with a sensing range limited to 30 units.

Conclusion

This research demonstrates that embedding physical priors into neural networks enables the learning of complex dynamics without sacrificing safety. By treating energy as the ultimate metric for safety, the framework provides a robust path toward autonomous navigation in unknown environments. Future work will focus on addressing the simulation-to-real gap and accounting for external disturbances like wind.

Summary updated

BibTeX
@inproceedings{li2022safe,
  author = {Zhichao Li and Thai P. Duong and Nikolay Atanasov},
  title = {{Safe Autonomous Navigation for Systems with Learned SE(3) Hamiltonian Dynamics}},
  booktitle = {L4DC},
  year = {2022},
  url = {https://openreview.net/forum?id=WQT0SD7HtxU},
}
Figure