Condensed Semi-Implicit Dynamics for Trajectory Optimization in Soft Robotics

Etienne Ménager, Alexandre Bilger, Wilson Jallet, Justin Carpentier, Christian DuriezRoboSoft 2024

TL;DR

This paper introduces a novel framework for trajectory optimization in soft robotics by "condensing" high-dimensional Finite Element Method (FEM) dynamics into a low-dimensional space. By coupling these condensed dynamics with Differential Dynamic Programming (DDP), the authors enable efficient, physics-based motion planning for soft robots with hundreds of degrees of freedom across diverse geometries and actuation types.

What Problem Does This Paper Address?

Trajectory optimization (TO) is a cornerstone of modern robotics, allowing machines to plan complex sequences of actions to reach a goal. While TO works beautifully for rigid robots (like industrial arms or quadrupeds) which typically have 6 to 20 degrees of freedom (DoFs), it hits a wall in soft robotics.

Soft robots are made of deformable materials, meaning their state is theoretically infinite-dimensional. To simulate them accurately, researchers use the Finite Element Method (FEM), which discretizes the robot into a mesh with hundreds or thousands of nodes. Standard TO solvers like Differential Dynamic Programming (DDP) cannot handle such high-dimensional state spaces—the computational cost of calculating derivatives for every node in a large mesh makes optimization prohibitively slow. Consequently, most soft robot control relies on simplified, often inaccurate, kinematic models.

Methods

The authors propose a "best of both worlds" approach: using high-fidelity FEM for accuracy while "condensing" the math for speed.

  1. Condensed Dynamics: The core innovation is projecting the high-dimensional FEM equations onto a much smaller "constraint space" consisting only of effectors (the points we want to move, like a fingertip) and actuators (the points where forces are applied, like cables or pneumatic chambers).
  2. Semi-Implicit Scheme: They use an implicit Euler integration scheme to ensure stability but linearize internal forces at each step. This allows them to write the dynamics in a form that relates effector movement directly to actuator input via a "compliance" matrix.
  3. Hybrid DDP Loop: They integrate this into a Proximal DDP solver (using the ALIGATOR library).
  4. Forward Phase: The full, non-linear FEM model simulates the robot's trajectory.
  5. Backward Phase: The solver uses the condensed, linearized dynamics to calculate the optimal control updates.
  6. SOFA Integration: The method is implemented using the SOFA framework, a popular open-source library for real-time medical and soft robotics simulation.

Datasets (Evaluation Platforms)

The authors evaluated their method on three distinct simulated soft robot models, showcasing the versatility of the approach:

  • The Diamond Robot: A parallel silicone robot actuated by four cables.
  • The Stiff-Flop Robot: A slender, trunk-like robot actuated by pneumatic cavities, capable of bending in multiple directions.
  • The Liandford Robot: A complex parallel robot with six deformable legs, used for haptic applications and actuated by DC motors.

Key Insights and Ideas

  • Linearization is Enough for the Backward Pass: A major "aha" moment in the paper is that you don't need the full non-linear derivative of the dynamics during the DDP backward pass. Using just the linear part of the condensed dynamics is sufficient for the algorithm to converge to an optimal solution.
  • Massive Speedup: By ignoring the non-linear derivatives of the full mesh, the authors reduced the number of operations from $O(m \times n)$ (where $n$ is the number of mesh elements) to $O(m^2)$ (where $m$ is the number of constraints). In soft robotics, $n$ is usually much larger than $m$.
  • Genericity: Unlike previous methods that only work for specific shapes (like "piecewise constant curvature" models), this FEM-based approach works for any geometry—whether the robot is a long trunk or a bulky parallel structure.

Key Results

  • Accuracy: The system successfully controlled the Diamond robot to reach target positions with minimal error, both with and without the non-linear derivative terms.
  • Efficiency: For the Diamond robot, the version using only linear derivatives converged in 208 iterations, whereas the full non-linear version hit a 1000-iteration limit without significantly better accuracy.
  • Complex Trajectories: The Liandford robot successfully followed a complex spiral trajectory and performed pick-and-place tasks, demonstrating that the method can handle time-varying goals and actuator constraints (like motor limits).

Limitations and Future Work

  • Offline Only: Currently, the optimization is performed offline. The "forward phase" (full FEM simulation) remains a computational bottleneck that prevents real-time, interactive control.
  • Open-Loop Execution: The optimized trajectories are currently applied in an "open-loop" fashion. In the real world, external disturbances or modeling errors would require a "closed-loop" correction system.
  • Model Reduction: The authors suggest that using "Reduced Order Models" (ROM) or learned models in the forward phase could be the key to achieving the speed necessary for real-time Model Predictive Control (MPC).

Summary updated

BibTeX
@inproceedings{menager2024condensed,
  author = {Etienne Ménager and Alexandre Bilger and Wilson Jallet and Justin Carpentier and Christian Duriez},
  title = {{Condensed Semi-Implicit Dynamics for Trajectory Optimization in Soft Robotics}},
  booktitle = {RoboSoft},
  year = {2024},
  doi = {10.1109/robosoft60065.2024.10521997},
}
Figure