A Smooth Analytical Formulation of Collision Detection and Rigid Body Dynamics With Contact
Onur Beker, Nico Gürtler, Ji Shi, A. René Geist, Amirreza Razmjoo, Georg Martius, Sylvain Calinon
TL;DR
This work tackles the challenge of learning and controlling in contact-rich settings by introducing a smooth, differentiable alternative to traditional non-smooth contact models. It jointly develops a soft signed distance function (SSDF) for continuous collision detection and a soft-minimum contact model (SCM) for distributed, analytic contact forces, enabling forward and inverse dynamics that are fully analytical and twice differentiable ($C^2$). The method supports arbitrary geometries without convex decomposition and achieves runtime that is effectively independent of the number of contacts, facilitating gradient-based planning and inference via automatic differentiation. Experiments on planar pushing demonstrate plausible, inference-friendly behavior with clear advantages for optimization, while highlighting trade-offs in physical fidelity and memory usage, pointing to future work in trajectory optimization and system identification.
Abstract
Generating intelligent robot behavior in contact-rich settings is a research problem where zeroth-order methods currently prevail. A major contributor to the success of such methods is their robustness in the face of non-smooth and discontinuous optimization landscapes that are characteristic of contact interactions, yet zeroth-order methods remain computationally inefficient. It is therefore desirable to develop methods for perception, planning and control in contact-rich settings that can achieve further efficiency by making use of first and second order information (i.e., gradients and Hessians). To facilitate this, we present a joint formulation of collision detection and contact modelling which, compared to existing differentiable simulation approaches, provides the following benefits: i) it results in forward and inverse dynamics that are entirely analytical (i.e. do not require solving optimization or root-finding problems with iterative methods) and smooth (i.e. twice differentiable), ii) it supports arbitrary collision geometries without needing a convex decomposition, and iii) its runtime is independent of the number of contacts. Through simulation experiments, we demonstrate the validity of the proposed formulation as a "physics for inference" that can facilitate future development of efficient methods to generate intelligent contact-rich behavior.
