Port-Hamiltonian Neural ODE Networks on Lie Groups For Robot Dynamics Learning and Control
Thai Duong, Abdullah Altawaitan, Jason Stanley, Nikolay Atanasov
TL;DR
This work tackles the challenge of learning robot dynamics that respect both Lie-group geometry and energy conservation. It introduces a port-Hamiltonian neural ODE on matrix Lie groups, with a structured decomposition of kinetic energy, potential energy, dissipation, and input mappings, enabling data-efficient learning and physically meaningful predictions. A corresponding energy-based control strategy based on IDA-PBC is developed for trajectory tracking on Lie groups, with explicit SE(3) tracking laws and Lyapunov-based guarantees under appropriate matching conditions. The approach is validated across simulated pendulum, SE(2)/SE(3) robots, and real quadrotor experiments, including model updates after hardware changes and payload variations, demonstrating robustness and rapid adaptation in practice.
Abstract
Accurate models of robot dynamics are critical for safe and stable control and generalization to novel operational conditions. Hand-designed models, however, may be insufficiently accurate, even after careful parameter tuning. This motivates the use of machine learning techniques to approximate the robot dynamics over a training set of state-control trajectories. The dynamics of many robots are described in terms of their generalized coordinates on a matrix Lie group, e.g. on $SE(3)$ for ground, aerial, and underwater vehicles, and generalized velocity, and satisfy conservation of energy principles. This paper proposes a port-Hamiltonian formulation over a Lie group of the structure of a neural ordinary differential equation (ODE) network to approximate the robot dynamics. In contrast to a black-box ODE network, our formulation embeds energy conservation principle and Lie group's constraints in the dynamics model and explicitly accounts for energy-dissipation effect such as friction and drag forces in the dynamics model. We develop energy shaping and damping injection control for the learned, potentially under-actuated Hamiltonian dynamics to enable a unified approach for stabilization and trajectory tracking with various robot platforms.
