Rapid and Robust Trajectory Optimization for Humanoids

Bohao Zhang, Ram VasudevanarXiv 2024 · DOI

Introduction

Designing trajectories for humanoid robots presents a significant challenge due to high-dimensional state spaces and complex mechanical structures. Modern bipeds, such as Agility Robotics' Digit, feature dozens of degrees of freedom (DOF) and "closed-loop" kinematics, which include mechanical linkages similar to automotive suspensions.

Existing trajectory optimization methods typically fall into two categories: simplified models using centroidal dynamics, which often produce motions that violate physical torque or joint limits, and full-body optimization, which is computationally expensive and highly sensitive to initial conditions. This paper introduces RAPTOR (Rapid and Robust Trajectory Optimization for Humanoids), a framework designed to bridge this gap by providing the speed of simplified models with the accuracy of full-body simulations.

Methods

RAPTOR achieves its performance through a novel structuring of the optimization problem. The core innovation is Actuated Space Optimization. Rather than solving for all joint and floating-base coordinates simultaneously, RAPTOR optimizes only the trajectories of the actuated joints (those with motors).

The Digit humanoid robot features 42 degrees of freedom and complex closed-loop linkages in its legs, making full-body optimization computationally demanding.

During the single-support phase, the robot is considered "fully actuated," meaning the positions of passive joints and the robot's body can be mathematically reconstructed from the actuated joint states via inverse dynamics. This reduction in decision variables significantly accelerates convergence. Furthermore, RAPTOR utilizes Bezier curves to represent trajectories, ensuring smooth and differentiable motion. Unlike solvers that treat physical limits as soft penalties, RAPTOR employs a nonlinear programming (NLP) approach via the Ipopt solver to strictly enforce hard constraints, including joint limits, torque limits, and contact stability.

Evaluation and Results

The framework was evaluated using the Digit humanoid model (42-DOF) and compared against Aligator, a state-of-the-art trajectory optimization library based on Differential Dynamic Programming (DDP). The robots were tasked with generating walking gaits at varying step lengths (0m, 0.4m, and 0.8m) to assess robustness.

Key Performance Metrics

  • Robustness and Accuracy: RAPTOR demonstrated superior robustness in challenging scenarios. In the 0.8m step length test, the baseline solver failed to find a feasible solution across various time discretizations, whereas RAPTOR successfully converged to a solution satisfying all physical constraints.
  • Computational Efficiency: RAPTOR generated a physically feasible six-step gait for Digit in approximately 16 seconds.
  • Energy Consumption: Trajectories produced by RAPTOR required significantly lower control energy compared to the baseline, a critical factor for the battery life of untethered robots.
Comparison of absolute difference between desired and achieved step lengths. RAPTOR (red) maintains high accuracy even at 0.8m, where the baseline Aligator (blue) shows significant error or failure.

Discussion and Future Work

While RAPTOR provides a robust and rapid solution for trajectory generation, it currently requires pre-specified contact sequences (e.g., a fixed order of footfalls). Future research will focus on enabling the algorithm to autonomously discover contact sequences for more complex maneuvers like jumping. Additionally, while the results are validated in high-fidelity simulations, the next phase involves deploying these optimized gaits onto physical hardware and integrating more sophisticated Model Predictive Control (MPC) for real-time tracking.

Summary updated

BibTeX
@misc{zhang2024rapid,
  author = {Bohao Zhang and Ram Vasudevan},
  title = {{Rapid and Robust Trajectory Optimization for Humanoids}},
  year = {2024},
  eprint = {2409.00303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.00303},
}
Figure