Abstract
We describe a whole-body dynamic walking controller implemented as a convex quadratic program. The controller solves an optimal control problem using an approximate value function derived from a simple walking model while respecting the dynamic, input, and contact constraints of the full robot dynamics. By exploiting sparsity and temporal structure in the optimization with a custom active-set algorithm, we surpass the performance of the best available off-the-shelf solvers and achieve 1kHz control rates for a 34-DOF humanoid. We describe applications to balancing and walking tasks using the simulated Atlas robot in the DARPA Virtual Robotics Challenge.
Introduction
Controlling a humanoid robot like Boston Dynamics' Atlas is a monumental task. These systems are high-dimensional (34+ degrees of freedom), non-linear, and "underactuated"—meaning they cannot directly control every aspect of their movement, such as their center of mass, without pushing against the ground. While Model Predictive Control (MPC) is the gold standard for reasoning about future movements, it is often too computationally expensive to run at the 1000Hz rates required for reactive, whole-body balance.
Researchers often settle for "instantaneous" controllers that solve a Quadratic Program (QP) at every time step. However, even these QPs can be slow when using general-purpose solvers, and they often lack a principled way to ensure long-term stability. This paper bridges the gap between slow, stable MPC and fast, reactive QP control by introducing a high-speed whole-body controller that achieves 1kHz control rates through a custom-tailored optimization solver.
Methodology
The proposed control strategy consists of two primary components designed to balance stability with real-time performance:
- The "Cost-to-Go" Bridge: Instead of solving a massive optimization over a long time horizon, the system uses a simplified model (Zero-Moment Point or ZMP dynamics) to pre-calculate an "optimal cost-to-go" function using Time-Varying LQR. This function acts as a guide, informing the complex whole-body controller how to move in the present to remain stable in the future.
- Custom Active-Set Solver: The core innovation is a specialized optimization algorithm that exploits temporal consistency. Most solvers start from scratch for every call. However, during walking, the "active constraints" (such as foot contact or joint limits) remain unchanged approximately 97% of the time between consecutive millisecond-level steps. By "warm-starting" with the previous solution's active set, the solver often reduces the optimization problem to a single linear system solve.
- Friction Cone Geometry: The authors utilize a polyhedral approximation of friction constraints. This representation is more stable for their solver, preventing unnecessary iterations when force directions change slightly.
Results and Discussion
The researchers evaluated the system using the 34-DOF Atlas robot model within the DARPA Virtual Robotics Challenge (VRC) simulation environment. The controller was tested across two simulation engines, Drake and Gazebo, providing a benchmark for locomotion over obstacles, mud, and uneven terrain.
Performance Metrics
- Speed: The custom solver averaged 0.2ms per solve, significantly outperforming Gurobi (1.0ms) and CVXGEN (2.2ms). The entire control loop, including dynamics setup, ran at the "holy grail" rate of 1.0ms (1kHz).
- Efficiency: In 97% of control steps, the solver reached the optimal solution in exactly one iteration, demonstrating the power of exploiting temporal structure.
- Robustness: The controller successfully navigated the Atlas robot through simulated knee-deep mud and over rolling hills while carrying unmodeled heavy objects.
Conclusion
By exploiting the temporal consistency of robotic contact states, this research demonstrates that high-fidelity humanoid control can be achieved at 1kHz. While the current ZMP-based model is effective for walking, future work may involve more complex models for explosive movements like jumping. Additionally, while the custom solver is highly efficient, it currently relies on a fallback interior-point solver for edge cases where rapid convergence is not guaranteed. The next step for this technology is adaptation for physical hardware beyond the simulation environment.
Summary updated