Research
Contact-Constrained Lower-Limb Joint-Offset Calibration for Humanoid Robots
Joint encoder offsets — small persistent biases between what an encoder reads and where the joint mechanically is — accumulate along the leg and cause centimeter-level foot placement errors even when…

- arXiv
- 2609.02306 · Preprint · not peer-reviewed
- Published
- 2026-09-02 · revised · 2026-09-18
- Authors
- Kaixiang Lu, Haiyu Lan, Chunxiao Qiao, You Li, Chengyuan Luo, Enyu Li, Peiwen Lin, Chuang Wang
In plain words
Joint encoder offsets — small persistent biases between what an encoder reads and where the joint mechanically is — accumulate along the leg and cause centimeter-level foot placement errors even when each offset is under a degree. Existing calibration methods need laser trackers, motion-capture systems, fiducial targets, or cameras that can see the feet (which humanoid feet rarely are during normal stances).
AI summary
Overview
Research area: Robotics — kinematic calibration and state estimation for legged/humanoid robots (contact-based self-calibration, observability analysis).
Technical level: Advanced. The paper combines SE(3) manifold optimization, Hessian eigenstructure analysis, and hardware experiments; the core idea is intuitive, but the observability argument requires comfort with Jacobians and linear algebra.
Scope (1 sentence): The paper presents a self-contained method for estimating lower-limb joint encoder offsets on humanoid robots using only onboard joint encoders and a pelvis-mounted IMU during static double-support, together with a formal analysis of why parallel hip–knee–ankle pitch axes are hard to separate and how joint ordering changes that difficulty.
What This Paper Is About
Joint encoder offsets — small persistent biases between what an encoder reads and where the joint mechanically is — accumulate along the leg and cause centimeter-level foot placement errors even when each offset is under a degree. Existing calibration methods need laser trackers, motion-capture systems, fiducial targets, or cameras that can see the feet (which humanoid feet rarely are during normal stances). The authors instead exploit a physical fact: while both feet stay planted on the ground, the transform between the two feet must be constant no matter what posture the robot holds — so if the offsets are wrong, that transform will appear to drift as the robot moves, and minimizing that drift recovers the offsets.
Key Contributions
-
A self-contained calibration framework combining inter-foot contact consistency, an IMU-aided flat-ground constraint, and Tikhonov regularization with mechanical priors — requiring only the robot's own joint encoders and a pelvis IMU, with no external tracking hardware.
-
A formal Hessian-eigenvector analysis of pitch-axis coupling. The authors prove that consecutive parallel pitch axes produce collinear rotational Jacobian columns, so orientation residuals observe only the sum of the hip-pitch, knee, and ankle-pitch offsets, leaving an (n−1)-dimensional nullspace. The analysis explicitly separates information present in the data from curvature added by regularization and priors.
-
A demonstration that kinematic ordering shapes this coupling, with decoupling strategies tailored per platform: geometric decoupling (hip roll/yaw excitation) for the A3's pitch→roll→yaw ordering, versus algebraic resolution (a standing-posture knee prior) and stronger ridge regularization for the A2's roll→yaw→pitch ordering.
-
Multi-level validation: injection-recovery in simulation and on both real robots, a same-geometry MuJoCo study that isolates joint ordering, held-out flat-ground validation, an independent LiDAR-inertial check of the pitch–vertical channel, registered motion capture for inter-foot orientation, and a closed-loop locomotion test in simulation.
Main Findings
-
Offsets are recovered well in well-excited directions, weakly in the pitch chain. In the A3 simulation, recovery error peaks at 0.274° on left hip-pitch, with overall RMS error of 0.120°; errors concentrate along the weakly-observed pitch directions predicted by the coupling proposition.
-
Held-out foot-height residuals drop substantially. On data not used for optimization, pooled RMS foot-height residual falls from 4.26 mm to 2.20 mm on A3 and from 8.03 mm to 1.43 mm on A2, with sole-normal residuals moving in the same direction. Each platform contributes 1500 held-out frames (three sessions of 500 frames).
-
Joint ordering measurably affects conditioning. In a controlled MuJoCo pair with identical geometry, masses, feet, IMU, actuators, gains, targets, and noise — differing only in proximal ordering — the roll–yaw–pitch model gives κ(J_data) = 348.90 and κ(H_data) = 121728.69, versus 90.69 and 8224.49 for pitch–roll–yaw.
-
Pitch sums are far more stable than individual pitch offsets. In the matched data-only A2 run, the six individual pitch errors have RMS 0.366°, while the errors in the pitch sums s_L, s_R, and s_R − s_L are −0.0053°, +0.0165°, and +0.0218°. Moving both knee-prior centers from −1° to +1° shifts individual estimates by 0.59° to 1.90° but changes the three pitch combinations by at most 0.0071° — direct evidence that the prior selects a decomposition rather than revealing the truth.
-
External LiDAR check confirms the pitch–vertical channel. Adding a symmetric hip-pitch offset produces vertical drift sensitive at 1.04 m per degree. Over 16 held-out segments, leg-odometry vertical RMS error against LiDAR falls from 319 ± 258 mm to 238 ± 137 mm (25.5% reduction), while forward (287 ± 205 to 285 ± 204 mm) and lateral (287 ± 179 to 288 ± 180 mm) errors stay essentially unchanged — as expected, since the correction targets pitch.
-
Motion capture confirms inter-foot orientation improvement. On a separate A3 with registered bilateral optical rigid bodies, held-out inter-foot orientation error drops from 5.223° to 4.085° (21.8%).
-
Closed-loop simulation shows tracking recovery. Across 35 trials in free-standing MuJoCo with a fixed walking policy, at 3° of offset, foot-strike RMS deviation falls from 1190.61 mm to 26.57 mm and pelvis-trajectory RMS from 1224.10 mm to 27.16 mm. All trials remained upright; torque and power did not improve consistently.
-
Four stances suffice; more saturate. On A2, κ(H_reg) drops from 1.27 × 10⁵ with one stance to 6.19 × 10³ with two, then to 4.52 × 10³ with three and 5.03 × 10³ with four. Additional contact geometries introduce stance-dependent contact and flatness errors rather than new information.
-
Each component of the objective earns its place. Removing the flat-ground term shifts frontal and transverse hip offsets by 2° to 5°, confirming it supplies out-of-plane information. Varying λ_q barely changes data fit but moves weak pitch offsets, i.e., it stabilizes a solution without creating observability. The A3 knee prior improves κ(H_reg) from approximately 333 to 72.27 — pure prior curvature, not added data information.
-
The comparison with the closest prior method is a tie, not a win. Against a reimplementation of Yamane's sole-height method under matched simulated states, noise, and data splits over ten noise seeds, the two are similar on A2; Yamane's method gives lower individual-offset RMS on A3. The authors explicitly decline to claim universal superiority.
-
Repeatability is limited for weakly-excited joints. Across three A3 rerun sessions, per-joint standard deviations range from 0.104° (left ankle pitch) to 1.050° (right hip yaw), showing that individual offsets in the weak pitch chain remain the least reproducible estimates.
Methodology in Plain English
The robot stands in several fixed-feet postures — a normal squat, a left lunge, a right lunge, and a wide squat — holding each long enough to collect static frames, while the feet stay planted and the posture varies continuously. For every frame, forward kinematics from the URDF computes where the right foot is relative to the left. If the joint offsets were correct, this relative pose would be identical in every frame of a stance. It isn't, because the offsets are wrong, so the method computes the average inter-foot transform for the stance and minimizes how far each frame deviates from that average — a nonlinear least-squares problem over 12 offset values.
A pelvis IMU supplies the gravity direction, which lets the method additionally penalize the two feet being at different heights and penalize each sole not being level with the ground. Because the average transform itself depends on the offsets being solved for, the solver alternates: recompute the averages, then re-solve for offsets, converging in 3–4 outer iterations. A regularization term keeps the solution from drifting, with per-joint weights and, on A3, a knee prior derived from about 5 seconds of near-straight-leg standing using the URDF/CAD mechanical zero.
Before solving, the data is cleaned: frames whose rotation deviates more than 5° from a local 2.5 s window average are discarded (with a permissive 0.5 rad/s gyroscope guard), and frames are clustered and subsampled to 500 per stance, from which the first solve removes the largest 10%, leaving 450 distinct configurations. Offsets start at zero and are bounded to ±0.08 rad; the inner Ceres solve uses at most 200 iterations with a function tolerance of 10⁻⁸, and the outer loop at most 15 iterations.
To understand why some offsets resist recovery, the authors compute the Hessian of the residuals and examine its eigenvectors. Joints whose rotation axes stay parallel — hip pitch, knee, and ankle pitch — produce nearly identical columns in the residual Jacobian, so their individual offsets are nearly indistinguishable; only their sum shows up in orientation data. On A3, hip roll and yaw motion physically tilts the hip-pitch axis out of alignment, breaking the degeneracy. On A2, the three pitch joints are consecutive with no intervening axis, so no posture can decouple them, and the paper relies on stronger regularization plus a knee prior to pick one decomposition. The paper is careful to report pitch sums separately from individual offsets, because only the sums are trustworthy.
Why This Matters
Impact on research: The paper makes explicit something that was implicit in prior contact-based humanoid calibration: which offset combinations are actually observable is a property of the kinematic chain topology and joint ordering, not just of how much data you collect. The Hessian-eigenvector framing — and the distinction between structural and numerical observability, and between information in the data versus curvature from priors — is a transferable diagnostic for any floating-base calibration or state-estimation problem, not just this one. The honest reporting of prior-dependent results and the null result against Yamane's method also set a useful bar for how calibration claims should be scoped.
Real-world applications:
- Field recalibration of deployed humanoids — a robot in a warehouse or factory can re-derive its leg offsets from a few static stances with hardware it already carries, without a motion-capture room or laser tracker.
- Post-maintenance and post-shipping recovery — after a joint is replaced, a limb is reassembled, or a robot is transported, offsets shift; this provides a quick onboard procedure to restore kinematic consistency.
- Leg-odometry and state-estimation quality — the LiDAR cross-check shows that uncorrected pitch offsets manifest directly as vertical drift in leg odometry at roughly 1.04 m per degree, so calibration is a prerequisite for decent dead-reckoning during locomotion.
- Fleet-level health monitoring — the repeatability table gives a per-joint noise signature; joints whose calibrated offsets vary a lot across sessions are candidates for mechanical inspection.
Industry relevance: For humanoid vendors, per-unit calibration is a recurring cost. The result that four stances capture most of the available conditioning gain — and that more stances actually saturate because of contact and flatness errors — directly informs a practical calibration protocol. The finding that ordering matters also gives mechanical designers a concrete reason to prefer a pitch-first proximal layout, with a measured conditioning gap (90.69 vs 348.90 on κ(J_data)) attributable to ordering alone.
Future Directions
- Recovering individual mechanical zeros in the weak pitch chain. The authors state plainly that individual pitch offsets remain prior-dependent and call individual mechanical zeros future work; until then, only the pitch sums should be treated as data-driven.
- Real-machine closed-loop locomotion deployment. The closed-loop test showing foot-strike error dropping from 1190.61 mm to 26.57 mm is simulation only, on A3 only. Whether the corrected offsets improve or destabilize a physical walking policy — and how they interact with the controller's own feedback — is untested.
- Validating translation accuracy. The LiDAR check covers the pitch–vertical channel and motion capture covers inter-foot orientation, but translational accuracy in the other axes has no independent reference.
- Robustness to non-ideal contact. The method assumes fixed, approximately coplanar double support; uneven or non-coplanar contact biases the result, and IMU tilt error distorts the inferred vertical. Extending the framework to explicitly model or reject these conditions would widen where it can be applied.
Target Audience
Roboticists working on humanoid and legged locomotion, whole-body control, and state estimation will get the most from this — particularly engineers responsible for bringing a humanoid platform from prototype to deployment, who need a calibration procedure that runs without external metrology. It is also valuable for researchers interested in observability and excitation design for floating-base systems, and for graduate students studying SE(3) optimization or identification, since the paper is unusually explicit about which quantities its numbers do and do not establish. Readers seeking a ready-to-use recipe should note that the practical payoff depends on the platform's joint ordering.
Authors’ abstract
Accurate joint encoder offsets are essential for kinematic consistency in humanoid lower limbs, yet existing calibration methods typically require external motion-capture systems or fiducial targets. We present a self-contained calibration framework exploiting only onboard joint encoders and a pelvis-mounted IMU during static double-support contact. The inter-foot transform from forward kinematics must stay constant when both feet are fixed; minimizing its posture-dependent…
The full abstract on arXivRelated papers
- OmniCalib: Target-Free, Task-Structured Self-Calibration for Humanoid Robots 2026-09-17 · cs.RO · Also by Chuang Wang, Chunxiao Qiao +5
- TemporalFlow-VLA: Learning Physically Grounded Execution History for Long-Horizon Robot Manipulation 2026-08-27 · cs.RO · Also by Chuang Wang, Enyu Li +3
- Multi-View Unified Camera Fields: Geometry-Shaped Action-Facing Representations for RGB-Only Multi-Camera VLA Policies 2026-08-03 · cs.RO · Also by Chuang Wang, Enyu Li +3
- PRIMO: Prior-Informed Odometry from Human-Motion Tracking for Humanoid Robots 2026-09-20 · cs.RO · Also by Chuang Wang, Enyu Li +2
- OVIP-SG: Open-Vocabulary Instance-Preserving Scene Graphs for Mapping and Retrieval of Small, Fine-Grained Objects 2026-08-18 · cs.RO · Also by Enyu Li, Haiyu Lan +1