Skip to main content
QUICK REVIEW

[Paper Review] ADD: Analytically Differentiable Dynamics for Multi-Body Systems with Frictional Contact

Moritz Geilinger, David Hahn|arXiv (Cornell University)|Jul 2, 2020
Dynamics and Control of Mechanical SystemsEngineering26 references13 citations
TL;DR

This paper presents ADD, a differentiable dynamics solver for rigid and deformable bodies with frictional contact, using a mollified soft constraint formulation to enable analytical derivatives. It achieves robust, smooth optimization for inverse problems in robotics and graphics by combining implicit time integration with differentiable contact forces.

ABSTRACT

We present a differentiable dynamics solver that is able to handle frictional contact for rigid and deformable objects within a unified framework. Through a principled mollification of normal and tangential contact forces, our method circumvents the main difficulties inherent to the non-smooth nature of frictional contact. We combine this new contact model with fully-implicit time integration to obtain a robust and efficient dynamics solver that is analytically differentiable. In conjunction with adjoint sensitivity analysis, our formulation enables gradient-based optimization with adaptive trade-offs between simulation accuracy and smoothness of objective function landscapes. We thoroughly analyse our approach on a set of simulation examples involving rigid bodies, visco-elastic materials, and coupled multi-body systems. We furthermore showcase applications of our differentiable simulator to parameter estimation for deformable objects, motion planning for robotic manipulation, trajectory optimization for compliant walking robots, as well as efficient self-supervised learning of control policies.

Motivation & Objective

  • To enable gradient-based optimization in physics simulations involving frictional contact, which is typically non-smooth and non-differentiable.
  • To address the challenge of discontinuities in contact forces and their derivatives caused by stick-slip transitions and complementarity conditions.
  • To develop a unified, differentiable framework for both rigid and deformable bodies with frictional contact that supports inverse simulation.
  • To enable efficient parameter estimation, motion planning, and self-supervised policy learning using adjoint sensitivity analysis.
  • To balance physical accuracy with smoothness of objective function landscapes for robust optimization.

Proposed method

  • Proposes a mollified soft constraint formulation for normal and tangential contact forces to replace non-smooth complementarity conditions with smooth approximations.
  • Uses fully implicit time integration to ensure numerical stability and enable accurate integration of stiff dynamics.
  • Applies adjoint sensitivity analysis to analytically compute gradients of simulation outcomes with respect to system parameters.
  • Introduces a hybrid approach that combines soft normal forces with equality constraints for static friction when high physical fidelity is required.
  • Employs penalty-based forces in the normal direction and smooth friction models to maintain differentiability while preserving physical realism.
  • Supports both rigid and visco-elastic bodies through a unified weakly implicit formulation of the equations of motion.

Experimental results

Research questions

  • RQ1Can frictional contact dynamics be made analytically differentiable while preserving physical accuracy and numerical stability?
  • RQ2How does a mollified soft contact model compare to exact complementarity formulations in terms of differentiability and optimization performance?
  • RQ3To what extent can differentiable simulation improve inverse problem solving in robotics and graphics, such as parameter estimation and motion planning?
  • RQ4Can gradient-based optimization outperform sampling-based methods like CMA-ES in complex contact-rich scenarios?
  • RQ5How effective is the framework in enabling self-supervised learning of control policies through differentiable simulation?

Key findings

  • The ADD framework enables analytically differentiable simulation of multi-body systems with frictional contact, supporting efficient gradient-based optimization.
  • Gradient-based optimization using ADD outperforms sampling-based methods like CMA-ES in terms of convergence speed and solution quality.
  • The method achieves accurate parameter estimation for stiffness, damping, and friction in deformable objects using real-world experimental data.
  • Motion planning for a compliant legged robot with soft feet was successfully optimized in simulation, with results transferring to physical hardware.
  • Self-supervised learning of a robot arm's throwing policy was achieved by defining the loss directly via the differentiable simulator, enabling end-to-end training.
  • The use of soft constraints in the normal direction maintains differentiability while allowing tunable trade-offs between smoothness and physical accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.