Introduction
Accurately controlling a high-performance humanoid robot is a bit like conducting an orchestra where half the instruments are tied together with invisible strings. To make the robot move gracefully, a near-perfect mathematical model of its physics—specifically its inertia and friction—is required. While manufacturers provide these specifications, real-world variability often makes them "close, but not quite." A recent paper, "System Identification For Constrained Robots," by Zhang et al., introduces a robust optimization-based method to bridge this gap for robots with complex, closed-loop mechanics.
Problem Statement: The Challenge of Constrained Dynamics
Most traditional system identification (SysID) techniques are designed for "open-chain" robots, where each joint follows the next in a simple line. However, modern humanoids like Agility Robotics' Digit utilize "closed kinematic chains." These are parallel linkages that provide mechanical advantages but make the underlying dynamics equations much harder to solve.
Standard methods often struggle with several key issues:
- Rank Deficiency: Some parameters are mathematically redundant or "hidden" in constrained systems.
- Physical Inconsistency: Simple regression might suggest non-physical parameters, such as negative mass or friction, to fit noisy data.
- Constraint Forces: Internal forces that keep the loops closed are usually unknown, complicating the identification of the parameters of interest.
Methodology
The researchers proposed a three-pronged approach to solve these issues:
- Fully-Actuated Representation: By leveraging the fact that the number of passive joints equals the number of constraints in many systems, they rewrote the dynamics so that unactuated joint movements are purely a function of actuated ones. This effectively "cancels out" unknown internal reaction forces.
- Iterative Weighted Least Squares: To handle noise in real-world sensor data (encoders and torque sensors), they used an iterative approach to refine the "regressor matrix"—the mathematical map between robot state and required torque.
- Physical Realizability via LMIs: The researchers added Linear Matrix Inequality (LMI) constraints to the optimization. This ensures the resulting parameters are physically possible (e.g., the inertia tensor must be positive-definite, and masses must be positive).
Experimental Validation
The method was validated using the Digit humanoid robot, a 20 degree-of-freedom (DOF) platform. For the experiments, the robot's torso was fixed to isolate limb dynamics. The team commanded the robot to follow various sine-wave trajectories at different speeds (1.8, 3, and 5 rad/s) to excite the dynamics and collect a rich dataset of positions, velocities, and torques. They used cross-validation, testing the identified parameters on entirely different movement datasets than those used for training.
Key Results
The researchers compared their identified parameters against the manufacturer's defaults in two ways:
- Torque Prediction: Their model predicted the required torque much more accurately. For the hip-roll joint, the Root Mean Square (RMS) error dropped from 1.8116 N·m (manufacturer) to 0.9982 N·m (ours).
- Tracking Performance: When used in an inverse dynamics controller, the new parameters led to much tighter movement. Leg tracking error stayed within 4 degrees for all joints, while arm tracking error stayed within 1 degree. In many cases, the tracking error using manufacturer parameters was significantly higher, exceeding 7 degrees for the hip-roll.
Conclusion and Future Work
This work demonstrates that factory-default parameters are often insufficient for high-precision control of complex humanoid robots. By modeling constraints correctly and employing constrained optimization, the authors identified physically consistent parameters that significantly enhance performance. Future work will focus on identifying parameters while the robot is walking (handling ground contact) and incorporating flexible elements (compliance) into the model.
Implementation code is available on GitHub at roahmlab/ConstrainedSysID.
Summary updated