A Versatile Quaternion-Based Constrained Rigid Body Dynamics
Open Access
- 27 July 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 44 (4) , 1-17
Abstract
We present a constrained Rigid Body Dynamics (RBD) that guarantees satisfaction of kinematic constraints, enabling direct simulation of complex mechanical systems with arbitrary kinematic structures. To ensure constraint satisfaction, we use an implicit integration scheme. For this purpose, we derive compatible dynamic equations expressed through the quaternion time derivative, adopting an additive approach to quaternion updates instead of a multiplicative one, while enforcing quaternion unit-length as a constraint. We support all joints between rigid bodies that restrict subsets of the three translational or three rotational degrees of freedom, including position- and force-based actuation. Their constraints are formulated such that Lagrange multipliers are interpretable as joint forces and torques. We discuss a unified solution strategy for systems with redundant constraints, overactuation, and passive degrees of freedom, by eliminating redundant constraints and navigating the subspaces spanned by multipliers. As our method uses a standard additive update, we can interface with unconditionally-stable implicit integrators. Moreover, the simulation can readily be made differentiable as we show with examples.Keywords
This publication has 36 references indexed in Scilit:
- BDF integrators for constrained mechanical systems on Lie groupsJournal of Computational and Applied Mathematics, 2021
- On large start-up error of BDF2Journal of Computational Physics, 2019
- Conservative integration of rigid body motion by quaternion parameters with implicit constraintsInternational Journal for Numerical Methods in Engineering, 2012
- Rigid body dynamics in terms of quaternions: Hamiltonian formulation and conserving numerical integrationInternational Journal for Numerical Methods in Engineering, 2009
- A kinematic theory for radially foldable planar linkagesInternational Journal of Solids and Structures, 2007
- On the optimal scaling of index three DAEs in multibody dynamicsMultibody System Dynamics, 2007
- Implicit–Explicit Runge–Kutta Schemes and Applications to Hyperbolic Systems with RelaxationJournal of Scientific Computing, 2005
- Adjoint sensitivity analysis for differential-algebraic equations: algorithms and softwareJournal of Computational and Applied Mathematics, 2002
- Improving the accuracy of BDF methods for index 3 differential-algebraic equationsBIT Numerical Mathematics, 1995
- Unconditionally stable algorithms for rigid body dynamics that exactly preserve energy and momentumInternational Journal for Numerical Methods in Engineering, 1991