Joint parameter and state estimation for regularized time-discrete multibody dynamics
Hannes Marklund, Martin Servin, Mats G Larson
TL;DR
This work tackles offline joint state and parameter estimation for regularized time-discrete multibody dynamics with frictional joints by formulating a nonlinear least-squares problem that fuses inverse-dynamics and observation residuals. It solves the optimization using Levenberg-Marquardt on manifolds, leveraging a differentiable simulator with custom differentiation rules to handle complementarity and rotations. Empirical results on pendulum and Furuta pendulum hardware demonstrate fast convergence (often within seconds) and accurate identification of a high-dimensional parameter set, while identifying sensitivities to state-error weight and constraint compliance. The approach provides a practical framework to mitigate reality-gap in simulation-based control by absorbing discretization and model errors into shadow parameters, with clear directions for future uncertainty quantification and handling of non-smooth impacts.
Abstract
We develop a method for offline parameter estimation of discrete multibody dynamics with regularized and frictional kinematic constraints. This setting leads to unobserved degrees of freedom, which we handle using joint state and parameter estimation. Our method finds the states and parameters as the solution to a nonlinear least squares optimization problem based on the inverse dynamics and the observation error. The solution is found using a Levenberg-Marquardt algorithm with derivatives from automatic differentiation and custom differentiation rules for the complementary conditions that appear due to dry frictional constraints. We reduce the number of method parameters to the choice of the time-step, regularization coefficients, and a parameter that controls the relative weighting of inverse dynamics and observation errors. We evaluate the method using synthetic and real measured data, focusing on performance and sensitivity to method parameters. In particular, we optimize over a 13-dimensional parameter space, including inertial, frictional, tilt, and motor parameters, using data from a real Furuta pendulum. Results show fast convergence, in the order of seconds, and good agreement for different time-series of recorded data over multiple method parameter choices. However, very stiff constraints may cause difficulties in solving the optimization problem. We conclude that our method can be very fast and has method parameters that are robust and easy to set in the tested scenarios.
