Structured contact force optimization for kino-dynamic motion generation

Alexander Herzog, Stefan Schaal, Ludovic RighettiarXiv 2016 · DOI

TL;DR

This paper introduces a highly efficient method for generating complex motions for legged robots by decomposing the planning problem into two alternating optimization phases: one for contact forces and momentum, and another for full-body kinematics. By exploiting the specific mathematical structure of the momentum equations—specifically their sparsity and "difference of convex" properties—the authors achieve linear time complexity, allowing for fast generation of dynamically consistent plans in complex environments where simplified models fail.

What Problem Does This Paper Address?

Planning how a humanoid robot should move its limbs while maintaining balance is a massive computational challenge. Traditionally, researchers use simplified models like the Linear Inverted Pendulum Model (LIPM). While LIPM is fast, it assumes the robot's mass is a single point and that all contacts are on a flat, co-planar floor. This breaks down when a robot needs to climb stairs, use its arms for balance, or push against walls.

The alternative is using the full rigid body dynamics, but this leads to high-dimensional, non-convex optimization problems that are notoriously slow to solve with off-the-shelf software. This paper seeks a "middle ground": a method that captures the richness of full dynamics (including angular momentum and non-coplanar contacts) but remains computationally efficient enough for practical use.

Methods

The authors propose a kinodynamic motion generation algorithm that splits the problem into two sub-problems solved iteratively:

  1. Momentum Sub-problem: Optimizes contact forces and the robot's overall momentum to satisfy physical constraints (like friction cones and gravity).
  2. Kinematic Sub-problem: Finds joint trajectories that match the planned momentum and reach desired targets.

The "secret sauce" lies in how they formulate the momentum sub-problem. They categorize the nonlinearities in the dynamics as Differences of Positive Semi-Definite (PSD) functions ($Q_\pm$). This allows them to construct a convex approximation of the problem that a dedicated solver can handle much faster than a general-purpose one.

Furthermore, they demonstrate that by choosing the right variables (twice-integrated forces), even a sequential formulation—which usually results in dense, slow-to-solve matrices—can maintain a sparse, band-diagonal structure. This ensures that the time it takes to solve the problem grows linearly ($O(T)$) with the length of the motion, rather than cubically ($O(T^3)$).

Fig. 1: A summary of notation used throughout the discussion of the momentum equations.

Datasets

The paper evaluates the algorithm using a simulated Sarcos humanoid robot. The primary test case is a "stepping stone" scenario where the robot must navigate blocks of varying heights and angles. This environment is specifically designed to violate the assumptions of simpler models like LIPM.

Key Insights and Ideas

  • Representation Matters: The authors show that expressing contact constraints at the Center of Pressure (CoP) makes them nonlinear, but expressing them at the contact point makes them affine (linear). Conversely, the choice of where to represent forces changes whether the dynamics or the constraints are nonlinear.
  • Exploiting $Q_\pm$ Structure: By identifying that the cross-products in robot dynamics are differences of convex functions, they can create robust, dedicated solvers that don't require expensive operations like online eigenvalue decompositions.
  • Sparsity in Sequential Forms: A major contribution is proving that sequential optimal control doesn't have to be "dense." With clever variable substitution, they preserve the sparsity that makes simultaneous methods fast, while keeping the smaller variable count of sequential methods.

Key Results

  • Linear Scaling: As shown in Figure 4, the computation time for the momentum optimization scales linearly with the time horizon $T$. This is a significant improvement over standard sequential methods.
  • Efficiency: The algorithm generated whole-body motion and force plans for complex stepping tasks in approximately 30 seconds.
  • Quality of Motion: The two-stage process successfully produced "emergent" behaviors. For example, the robot automatically learned to sway its body and use its arms to compensate for the angular momentum generated by its swinging legs.
  • Solver Performance: Their structured approach converged an order of magnitude faster than SNOPT, a state-of-the-art general-purpose nonlinear solver.
Computation time vs. time horizon T, showing the linear complexity trend.
Visualization of the robot navigating uneven stepping stones.

Limitations and Future Work

  • Fixed Contact Sequence: The current algorithm requires the user to pre-define when and where the robot makes contact (e.g., "left foot at $t=1s$, right foot at $t=2s$"). It does not yet automatically decide the sequence of steps.
  • Numerical Differentiation: The authors noted that their current implementation relies on numerical differentiation for the momentum Jacobian, which is a significant bottleneck. Moving to analytical derivatives would likely speed up the kinematic sub-problem further.
  • Collision Avoidance: While the framework allows for collision constraints, they were not the focus of this specific study and would need to be integrated into the kinematic sub-problem for real-world deployment.

Summary updated

BibTeX
@misc{herzog2016structured,
  author = {Alexander Herzog and Stefan Schaal and Ludovic Righetti},
  title = {{Structured contact force optimization for kino-dynamic motion generation}},
  year = {2016},
  eprint = {1605.08571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1605.08571},
}
Figure