Inverse-Kinematics CKF for Legged Robot Odometry
- The method employs a third-degree spherical–radial cubature rule to integrate nonlinear dynamics and map latent Cartesian states from joint encoder data.
- It leverages an analytic inverse-kinematics model to mitigate encoder quantization noise, reducing velocity spikes from ~200% to ~25% of nominal values.
- Implemented in quadruped and wheel-legged systems, IKVel-CKF ensures stable proprioceptive odometry and accurate elevation tracking on challenging terrains.
Inverse-Kinematics Cubature Kalman Filtering (IKVel-CKF) is a nonlinear filtering approach designed to estimate foot-end velocities in legged robots by directly filtering the latent Cartesian foot state from joint encoder measurements, mitigating the impact of encoder quantization and noise. Deployed in contact-anchored proprioceptive odometry frameworks for quadruped and wheel-legged robots, IKVel-CKF enables robust stance contact detection and stable odometry without reliance on exteroceptive sensors, leveraging an exact analytic inverse-kinematics and differential kinematics measurement model (Sun et al., 19 Feb 2026).
1. State and Measurement Representation
For each robot leg , the IKVel-CKF tracks a six-dimensional latent Cartesian state vector at time-step ,
where is the hip-to-foot position vector in the robot body frame, and its derivative.
The measurement vector is the vector of motor encoder readings, comprising joint angles and joint angular rates,
with (three joint angles per leg) and their time-derivatives.
2. Process and Measurement Models
IKVel-CKF applies a constant-velocity process model with additive Gaussian process noise,
with time-update
where , clamped in implementation to prevent large integration steps.
The nonlinear measurement model maps the Cartesian foot state to the observable joint space using an analytic inverse-kinematics (IK) and differential kinematics procedure: where implements the following steps:
- Compute joint angles from via closed-form IK equations involving link lengths .
- Compute the leg Jacobian and map Cartesian velocities to joint rate predictions via .
- Output .
3. Cubature Integration and Filtering Recursion
IKVel-CKF employs the third-degree spherical–radial cubature rule to perform Gaussian integrals through the nonlinear dynamics and measurement models. For state dimension , and covariance (Cholesky factorization), cubature points are constructed as: with equal weights .
The time-update and measurement-update recursion follows:
- Time-update:
- Measurement-update:
4. Noise Covariances and Filter Tuning
The process noise covariance models the expected variability of foot-end acceleration, while the measurement noise covariance is selected based on the quantization and noise properties of the joint encoders, transformed through the IK Jacobian. The values are empirically chosen to trade off filter responsiveness for smoothing: with on the order of a few millimeters and centimeters/second, and matching hardware encoder resolution and noise.
5. Implementation Considerations
To ensure computational reliability and filter stability in real-time robot deployments, several implementation features are integrated:
- Side-constraint: After each prediction/update, the lateral coordinate is re-signed so that , reflecting known left/right leg assignment ().
- Bounded : Time increments exceeding a threshold cause to be clamped to zero, preventing large state jumps.
- Cholesky factorization: Covariance matrices remain symmetric positive definite, and Cholesky factors are used for numerical cubature point generation.
- Per-leg CKF reuse: A single CKF instance is reused by swapping cached for each leg, minimizing memory allocations.
- Foot contact selection and fusion: The CKF’s filtered Cartesian foot velocity replaces the raw forward-kinematics velocities used elsewhere in the odometry pipeline.
Pseudocode for one CKF cycle per leg outlines the above steps, ensuring consistency across prediction and correction phases, and outputting the velocity estimate to the higher-level odometry module.
6. Impact on Proprioceptive Odometry
IKVel-CKF significantly suppresses impulsive noise in hip–foot velocity estimates induced by encoder quantization and differentiation (spikes reduced from up to 200% of nominal magnitude to within ~25%). The short smoothing lag (milliseconds) is adequate for real-time stance detection. In experimental evaluations—across platforms including Astrall point-foot, wheel-legged, and Unitree Go2 EDU quadrupeds—the filter maintained odometry stability. In stair-climbing, it prevented elevation drift caused by erroneous footfall records (flat-ground simulation horizontal closure error changed marginally, e.g., 0.623 m → 0.616 m) and consistently suppressed spurious vertical bias during repeated impacts.
A summary of IKVel-CKF’s functional contributions is provided below:
| Aspect | Effect (as reported) | (Sun et al., 19 Feb 2026) |
|---|---|---|
| Spike suppression | Reduces hip–foot velocity spikes from ~200% to ~25% nominal | Figs. 5–6 |
| Odometry stability | Prevents persistent elevation bias due to false contact detection | Figs. 8–9 |
| Horizontal closure error | Marginal impact (e.g., 0.623m → 0.616m flat-ground) | sec. 7 |
| Height consistency | Preserves correct elevation within millimeters over long trajectories | sec. 7 |
IKVel-CKF thus operationalizes a compact, numerically stable, third-degree CKF under an analytic inverse-kinematics measurement model, directly addressing quantization effects and providing robust proprioceptive odometry on challenging terrain (Sun et al., 19 Feb 2026).