Differential Dynamic Programming for Multi-Phase Rigid Contact Dynamics

Rohan Budhiraja, Justin Carpentier, Carlos Mastalli, Nicolas Mansard

TL;DR

This paper introduces a novel trajectory optimization framework that uses Differential Dynamic Programming (DDP) to generate whole-body motions for humanoid robots. By integrating rigid contact constraints directly into the DDP solver, the system can intelligently exploit angular momentum—allowing a robot to perform aggressive maneuvers like 100cm strides and zero-gravity rotations that are impossible with standard reactive controllers.

What Problem Does This Paper Address?

Generating natural, efficient motion for humanoid robots is notoriously difficult. Most researchers use a "divide and conquer" approach: first, they plan where the feet should go and how the center of mass should move (centroidal dynamics); second, they use Inverse Kinematics (IK) to figure out how the rest of the joints should move to follow that plan.

The "gap" lies in that second step. Standard IK solvers are "greedy"—they look at the current moment without considering the future. They often fail to account for Angular Momentum (AM). When a robot swings a heavy leg forward quickly, it creates a momentum that "yanks" the rest of the body. Standard solvers treat this as a nuisance to be suppressed. This paper argues that we should instead exploit this momentum, using the upper body and arms to counterbalance the legs, much like a human athlete does.

Methods

The authors propose a multi-stage pipeline, but the star of the show is the Whole-Body Trajectory Optimizer based on DDP.

  • KKT-based DDP: Standard DDP struggles with the "hard" constraints of rigid contact (like a foot hitting the floor). Usually, researchers use "soft" contact models (like springs), which are computationally expensive. Here, the authors incorporate the Karush-Kuhn-Tucker (KKT) conditions of rigid contact directly into the robot's dynamics. This allows the solver to treat contact as a known physical law rather than a constraint it has to "discover" or fight against.
  • Horizon-based Planning: Unlike IK, which is instantaneous, DDP looks ahead over a time horizon. This allows the robot to "preview" the momentum it's about to generate and start counter-moving its arms or torso in advance.
  • Multi-stage Pipeline: They use an acyclic contact planner to decide foot placements, a centroidal generator to create a rough path, and then their DDP solver to "flesh out" the full-body motion.

Datasets

This research does not use traditional machine learning datasets. Instead, it evaluates the algorithm using:

  • The HRP-2 Humanoid Robot: A full-size (160cm) humanoid used for both realistic simulations and physical experiments.
  • Simulated Zero-Gravity Environment: Used to test the "astronaut maneuver," where the robot must rotate without any external contact forces.

Key Insights and Ideas

  • AM as a Non-Holonomic Constraint: The authors highlight that robot orientation can be controlled without contact forces (just by moving limbs). Because this is a non-holonomic constraint, it cannot be solved by a simple feedback law; it requires a strategy that considers the future, which is why DDP is a perfect fit.
  • Gesticulation is Functional: The paper shows that "gesticulating" (moving arms and the torso) isn't just for show—it's a tool to reduce impact forces on the feet and lower the torque required by the knees.
  • Dynamics vs. Solver Constraints: By solving for contact at the level of the physics (the dynamics) rather than the optimization level (the solver), they achieve faster convergence and more stable motions.

Key Results

  • Massive Strides: The HRP-2 (160cm tall) successfully executed 100cm strides. This is an exceptionally large step for this hardware.
  • Force Reduction: Compared to standard IK, the DDP approach reduced peak Ground Reaction Forces (GRFs) from 895 N to 755 N (a ~15% reduction). This is crucial for hardware longevity and stability.
  • Efficiency: The DDP solver produced lower knee torques by intelligently using the upper body to counterbalance the swing leg.
  • The Astronaut Maneuver: In simulation, the robot successfully performed a 360-degree rotation in mid-air using only internal joint movements, a feat that reactive IK solvers cannot achieve.

Limitations and Future Work

  • Consistency Gap: Currently, the high-level centroidal planner and the low-level DDP solver don't "talk" to each other perfectly. The DDP might generate AM that the centroidal planner didn't expect. The authors want to bridge this gap so the two stages are more tightly coupled.
  • Computational Speed: While faster than many alternatives, the current implementation is a proof-of-concept. The authors plan to move toward an implementation using Analytical Derivatives to reach the speeds necessary for true real-time, "on-the-fly" control.
  • Gait Discovery: The current system requires a pre-defined contact sequence (it knows when it will step). A more advanced version would allow the DDP to decide when and where to step automatically.

Summary updated

BibTeX
@inproceedings{budhiraja2018differential,
  author = {Rohan Budhiraja and Justin Carpentier and Carlos Mastalli and Nicolas Mansard},
  title = {{Differential Dynamic Programming for Multi-Phase Rigid Contact Dynamics}},
  booktitle = {Humanoids},
  year = {2018},
  doi = {10.1109/humanoids.2018.8624925},
}
Figure