Analytical Second-Order Partial Derivatives of Rigid-Body Inverse Dynamics
Shubham Singh, Ryan P. Russell, Patrick M. Wensing

TL;DR
This paper derives analytical second-order partial derivatives of inverse dynamics for open-chain rigid-body systems, enabling faster and more efficient optimization-based robot control strategies.
Contribution
It introduces the first analytical expressions for these derivatives, along with a recursive algorithm and a new spatial vector algebra extension.
Findings
Speedups of 1.5-3x over automatic differentiation methods.
Recursive algorithm with complexity O(Nd^2).
C++ implementation achieves runtimes of approximately 51 microseconds for a quadruped.
Abstract
Optimization-based robot control strategies often rely on first-order dynamics approximation methods, as in iLQR. Using second-order approximations of the dynamics is expensive due to the costly second-order partial derivatives of the dynamics with respect to the state and control. Current approaches for calculating these derivatives typically use automatic differentiation (AD) and chain-rule accumulation or finite-difference. In this paper, for the first time, we present analytical expressions for the second-order partial derivatives of inverse dynamics for open-chain rigid-body systems with floating base and multi-DoF joints. A new extension of spatial vector algebra is proposed that enables the analysis. A recursive algorithm with complexity of is also provided where is the number of bodies and is the depth of the kinematic tree. A comparison with AD in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDynamics and Control of Mechanical Systems · Control and Dynamics of Mobile Robots · Control and Stability of Dynamical Systems
