Fast and Modular Whole-Body Lagrangian Dynamics of Legged Robots with Changing Morphology
Sahand Farghdani, Omar Abdelrahman, Robin Chhabra
TL;DR
This work addresses the challenge of real-time dynamics for multi-legged robots undergoing morphological damage by introducing a singularity-free, modular dynamics framework based on Boltzmann-Hamel equations on SE(3). The main innovation is a morphology-aware mass matrix and Coriolis formulation that decouples main-body and leg dynamics and supports real-time reconfiguration when legs or links are damaged, using link and leg existence vectors. A fast modeling pipeline leverages trigonometrical multiplier functions to enable leg-morphology replication, allowing the full system to be assembled from a small set of leg modules with real-time performance. Validation through simulation and hardware on a hexapod demonstrates accurate damage adaptation and real-time operation, with the engine running roughly three times faster than real time. The approach reduces reliance on retraining for data-driven methods and avoids rigid fixed-structure analytical models, enabling robust, adaptive control and damage recovery in uncertain environments.
Abstract
Fast and modular modeling of multi-legged robots (MLRs) is essential for resilient control, particularly under significant morphological changes caused by mechanical damage. Conventional fixed-structure models, often developed with simplifying assumptions for nominal gaits, lack the flexibility to adapt to such scenarios. To address this, we propose a fast modular whole-body modeling framework using Boltzmann-Hamel equations and screw theory, in which each leg's dynamics is modeled independently and assembled based on the current robot morphology. This singularity-free, closed-form formulation enables efficient design of model-based controllers and damage identification algorithms. Its modularity allows autonomous adaptation to various damage configurations without manual re-derivation or retraining of neural networks. We validate the proposed framework using a custom simulation engine that integrates contact dynamics, a gait generator, and local leg control. Comparative simulations against hardware tests on a hexapod robot with multiple leg damage confirm the model's accuracy and adaptability. Additionally, runtime analyses reveal that the proposed model is approximately three times faster than real-time, making it suitable for real-time applications in damage identification and recovery.
