Introduction
Legged robots face a complex, simultaneous decision-making challenge: they must determine where to place their feet while managing the momentum and balance of their main body. Traditional Model Predictive Control (MPC) systems often simplify this by decoupling the tasks—using heuristics to select footholds first and then optimizing body motion. While computationally efficient, this approach limits agility in complex environments, such as fields of stepping stones, and reduces the robot's ability to recover from significant physical disturbances where heuristic footholds may be suboptimal.
Researchers from ETH Zurich have addressed this by developing a unified Nonlinear Model Predictive Control (NMPC) framework. This system jointly optimizes the robot's body trajectory and its future footholds in real-time, allowing for greater versatility and robustness.
Methodology
The proposed NMPC strategy treats footholds as optimization variables rather than fixed points. To achieve real-time performance (on the scale of milliseconds), the framework incorporates several technical innovations:
- Implicit Dynamics Formulation: By expressing dynamics as an implicit function, the framework can handle complex physics models that lack simple analytic solutions.
- Second-Order Sensitivity Analysis (SA): This is the core innovation. The solver requires precise information on how future states change in response to tweaks in control inputs or foothold locations. The authors use SA to compute these derivatives exactly and efficiently.
- Sparse Gauss-Newton (SGN) Solver: A specialized numerical solver exploits the sparse structure of the optimization problem to maintain high-speed execution.
- Model Agnosticism: The framework was demonstrated using both the Inverted Pendulum Model (IPM) for basic stability and the Single Rigid Body Model (SRBM) for complex 3D maneuvers involving full orientation and ground reaction forces.
To handle discrete terrain features like gaps or stepping stones without computationally heavy hard constraints, the authors utilized "soft constraints." Penalty terms, such as negative Gaussian functions centered on stable ground, incentivize the optimizer to place feet safely while maintaining mathematical flexibility.
Experimental Results
The framework was validated through both high-fidelity physics simulations and real-world hardware experiments using the Unitree A1 quadruped.
Robustness and Agility
In hardware tests, the robot demonstrated remarkable resilience, recovering balance after large lateral pushes and successfully navigating when obstacles were placed directly under its feet. In simulation, the system enabled robots to cross 32 cm wide gaps and navigate grids of isolated stepping stones spaced 20 cm apart.
Multi-Robot Coordination
The researchers extended the framework to control two robots simultaneously from a single centralized controller. The system successfully managed collision avoidance while the robots performed different gaits, such as walking and flying trots, proving the scalability of the optimization approach.
Conclusion and Future Work
By optimizing footholds and trajectories together, the robot can "discover" balance strategies that heuristic systems miss, such as taking wider steps to counteract lateral forces. While the IPM model has been fully validated on hardware, future work will focus on hardware testing for the more complex Single Rigid Body Model (SRBM). Additionally, the team plans to incorporate friction cone constraints to prevent slipping on slick surfaces and conduct rigorous benchmarking against other state-of-the-art NMPC frameworks to further quantify the performance gains of their sensitivity-based approach.
Summary updated