CENIC: Convex Error-controlled Numerical Integration for Contact
Vince Kurtz, Alejandro Castro
TL;DR
CENIC presents the first error-controlled, convex, continuous-time integrator tailored for contact-rich robotics, merging irrotational contact field theory with error-controlled integration to automatically adapt time steps to a user-defined accuracy $\varepsilon_{acc}$. By embedding external dynamical systems implicitly and modeling friction with static/dynamic coefficients in a convex framework, CENIC achieves real-time performance on challenging, stiff contact problems while guaranteeing convergence and consistency with the continuous model. Two integration strategies are offered (step-doubling for first-order accuracy and a second-order trapezoid variant), with extensive performance optimizations (warm starts, adaptive tolerances, Hessian reuse, cubic linesearch) and hardware validation demonstrating artifact-free, stable simulations that rival discrete-time robotics simulators in speed. This framework decouples numerical discretization error from modeling error, enabling more reliable sim-to-real transfer, policy learning, and model-based control in robotics.
Abstract
State-of-the-art robotics simulators operate in discrete time. This requires users to choose a time step, which is both critical and challenging: large steps can produce non-physical artifacts, while small steps force the simulation to run slowly. Continuous-time error-controlled integration avoids such issues by automatically adjusting the time step to achieve a desired accuracy. But existing error-controlled integrators struggle with the stiff dynamics of contact, and cannot meet the speed and scalability requirements of modern robotics workflows. We introduce CENIC, a new continuous-time integrator that brings together recent advances in convex time-stepping and error-controlled integration, inheriting benefits from both continuous integration and discrete time-stepping. CENIC runs at fast real-time rates comparable to discrete-time robotics simulators like MuJoCo, Drake and Isaac Sim, while also providing guarantees on accuracy and convergence.
