TL;DR
This paper introduces a high-performance Model Predictive Control (MPC) framework that uses inverse dynamics to enable agile maneuvers in legged robots. By leveraging a novel nullspace resolution technique to handle complex constraints, the authors achieved up to a 47% speedup in computation, facilitating the first successful hardware implementation of inverse-dynamics MPC for tasks like climbing damaged staircases.
What Problem Does This Paper Address?
Most modern robots use forward dynamics (calculating motion from forces) for their control loops. While effective, inverse dynamics (calculating the forces needed for a desired motion) offers significant numerical advantages: it allows for "coarser" optimization (fewer time steps), cheaper derivative calculations, and faster convergence.
However, inverse-dynamics MPC is notoriously difficult to implement in real-time. It introduces a massive number of equality constraints that must be satisfied to ensure the robot follows the laws of physics. Standard solvers often struggle to handle these constraints without destroying the "temporal structure" that makes algorithms like Differential Dynamic Programming (DDP) efficient. This paper aims to bridge that gap, making inverse-dynamics MPC fast enough for real-world hardware.
Methods
The authors propose four key technical contributions:
- Nullspace Parametrization: Instead of using the standard Schur complement method to handle equality constraints, they use a nullspace basis. This allows them to decouple the constraint resolution from the main optimization loop, enabling parallel computation.
- Feasibility-Driven Search & Merit Function: They modified the search algorithm to balance optimality (reaching the goal) with feasibility (obeying physics). This increases the "basin of attraction," meaning the solver can find a valid path even when starting from a poor initial guess.
- Condensed Formulation: They introduced a streamlined version of inverse dynamics that handles arbitrary actuator models (like propellers or joint motors) while reducing the number of decision variables.
- Joint-Torque Feedback: A new strategy to map the high-level MPC policies directly into joint-level torque commands, improving tracking accuracy for angular momentum and contact forces.
The algorithm is implemented within the open-source CROCODDYL library.
Datasets
The framework was benchmarked across a wide range of simulated and real-world robotic problems:
- Simulated Benchmarks: An acrobot (pendulum), a quadrotor flying through targets, and various gaits (walking, trotting, jumping) for the ANYmal quadruped and Talos humanoid.
- Hardware Evaluation: The primary real-world test involved the ANYmal robot navigating a "damaged" industrial staircase with missing treads, a 37° inclination, and gaps up to 26 cm.
Key Insights and Ideas
- Parallelism via Nullspace: The "aha moment" is that while nullspace factorization requires an extra decomposition step, it is highly parallelizable. This prevents the computational cost from exploding as the number of constraints (like multiple feet on the ground) increases.
- Robustness to Coarse Discretization: Inverse-dynamics formulations are much more stable than forward-dynamics ones when using low control frequencies (e.g., 10 Hz). This allows the robot to "think" further ahead without needing a supercomputer.
- Decoupling Integrators: By decoupling the robot's physical dynamics from the mathematical integrator, the solver can distribute nonlinearities more effectively, leading to faster convergence.
Key Results
- 47.3% Computational Reduction: The nullspace approach significantly outperformed the standard Schur complement method, especially in complex walking tasks with many contact constraints.
- 50 Hz Control on Hardware: The efficiency gains allowed the MPC to run at 50 Hz on the ANYmal robot, which is the threshold needed to stabilize dynamic gaits like trotting.
- State-of-the-Art Climbing: The system enabled ANYmal to climb a damaged staircase with missing steps—a feat that requires precise whole-body coordination and the ability to recover from body disturbances in real-time.
Limitations and Future Work
The authors acknowledge that their condensed formulation assumes the inverse-dynamics constraints are always feasible. While they validated this empirically across many tests, extreme edge cases might still pose challenges.
Additionally, while this paper focuses on the MPC solver, the "perceptive locomotion pipeline" (how the robot perceives the terrain and plans footsteps) was a necessary supporting component. The authors plan to provide a more rigorous, dedicated description of this perceptive pipeline in a future publication.
Summary updated