Transformer IMU Calibrator: Dynamic On-body IMU Calibration for Inertial Motion Capture

Chengxu Zuo, Jiawei Huang, Xiao Jiang, Yuan Yao, Xiangren Shi, Rui Cao, Xinyu Yi, Feng Xu, Shihui Guo, Yipeng Qin · DOI · OpenReview

TL;DR

This paper introduces a "Transformer IMU Calibrator" (TIC) that dynamically calibrates inertial motion capture sensors during use, eliminating the need for restrictive, time-consuming static calibration poses. By leveraging a Transformer model and a novel "rotation diversity" trigger, TIC enables more user-friendly and robust long-term motion capture.

What Problem Does This Paper Address?

Traditional inertial motion capture systems rely on IMUs (Inertial Measurement Units) to track human movement. However, these sensors are prone to two main sources of error: "coordinate drift" ($R_{G'G}$) caused by factors like magnetic interference and gyroscope inaccuracies, and "measurement offset" ($R_{BS}$) due to how the sensor is worn. To correct these, users typically perform a static calibration pose (like a T-pose) at the start of a session. This approach is problematic because:

  1. Restrictive Assumption: It assumes $R_{G'G}$ and $R_{BS}$ remain constant throughout the entire motion, which is rarely true. These parameters can change dynamically due to environmental factors, sensor temperature, or even how the sensor shifts on the body over time.
  2. Inconvenience: Requiring a specific, often awkward, static pose before every capture session is tedious and limits spontaneous use.
  3. Long-term Inaccuracy: As $R_{G'G}$ and $R_{BS}$ drift over time, the initial calibration becomes inaccurate, leading to degraded motion capture quality, especially for extended use.

This paper aims to overcome these limitations by developing a dynamic calibration method that works while the user is moving, making the process seamless and the results more accurate over longer periods.

Methods

The core of the proposed solution is the Transformer IMU Calibrator (TIC), a neural network designed to estimate and correct $R_{G'G}$ and $R_{BS}$ in real-time.

  • Relaxed Assumptions: Instead of the strict "long-term static assumption," TIC operates under two relaxed assumptions:
  • Short-Term Static Assumption: $R_{G'G}$ and $R_{BS}$ change negligibly within a short time window.
  • Short-Term Diversity Assumption: The IMU readings (orientation and acceleration) within that short window are diverse enough to provide sufficient constraints for estimation.
  • Transformer Architecture: A Transformer-based model is employed due to its strength in handling sequential data (IMU readings over time). It consists of:
  • An Encoder to extract features from sequences of IMU orientation and acceleration.
  • Two Transformer-Pooling-Mapping (TPM) modules, one for estimating $R_{G'G}$ and another for $R_{BS}$.
  • Acceleration Auxiliary (ACCA): The model also uses acceleration data ($a_{IMU}$) as input. Since $a_{IMU}$ is only affected by $R_{G'G}$ and not $R_{BS}$, this helps the model disentangle the two error sources, improving calibration accuracy.
  • Rotation Diversity (RD) Trigger: To ensure the "Short-Term Diversity Assumption" is met, a calibration trigger is introduced. This trigger measures the diversity of IMU rotations within a window. If the diversity is below a certain threshold, the calibration is not performed, preventing unreliable estimations. This mimics human intuition: if you don't move much, it's hard to tell if something is wrong.
  • Implicit Calibration: The entire process is designed to be "implicit," meaning users don't need to perform any explicit calibration steps; the system handles it in the background during normal use.

Datasets

  • Training Data Synthesis: The authors created synthetic datasets by simulating uncalibrated IMU data. They started with existing motion capture datasets (AMASS and DIP) to get ground truth motion and then artificially introduced realistic $R_{G'G}$ and $R_{BS}$ drifts and offsets. This approach allows for generating a large and diverse dataset of calibration scenarios.
  • Test Data Collection (DSTIC): A new dataset called DSTIC was collected using 5 volunteers wearing both optical motion capture suits and 6 IMUs. This dataset captures 60 minutes of diverse activities per volunteer, including stretching, walking, running, jumping, and sports, over extended periods. This is crucial for evaluating long-term calibration robustness.
  • Consumer-Grade IMU Data (IMUPoser Dataset): The method was also evaluated on the IMUPoser dataset, which uses consumer-grade IMUs from smartphones, smartwatches, and earbuds, demonstrating its applicability beyond specialized motion capture hardware.

Key Insights and Ideas

  • Dynamic Calibration is Key: The fundamental insight is that IMU calibration parameters ($R_{G'G}$, $R_{BS}$) are not static and must be tracked dynamically for accurate long-term motion capture.
  • Leveraging Short-Term Stability and Diversity: By assuming parameters are stable over short windows and that movement provides diversity, the problem becomes tractable. This is a clever way to relax a strict constraint without losing too much information.
  • Transformer's Suitability: The Transformer architecture is well-suited for this task due to its ability to model temporal dependencies in IMU data.
  • The Importance of Movement Diversity: The "Rotation Diversity" trigger is a critical component. It ensures that calibration only happens when there's enough information to make a reliable estimate, preventing erroneous updates. This is analogous to how humans can't judge something if it's not moving.
  • Implicit Calibration for User Experience: The goal of making calibration "implicit" is a significant step towards making inertial motion capture more accessible and user-friendly.

Key Results

  • Improved Accuracy: The TIC method significantly reduces orientation and acceleration measurement errors compared to traditional static calibration, especially over long durations. For example, in Table 2, OME is reduced from 49.98° to 15.20° for the average joint.
  • Long-Term Robustness: The dynamic calibration maintains accuracy over extended periods (e.g., 30 minutes), whereas static calibration errors grow significantly over time (shown in Fig. 6).
  • User-Friendliness: The implicit nature of the calibration eliminates the need for manual T-poses, making the system much easier to use.
  • Effective on Various IMUs: The method shows promise on both specialized and consumer-grade IMUs.
  • Reduced Pose Error: In Table 3, using TIC with various SOTA motion capture methods leads to consistently lower pose errors (angular, positional, etc.) compared to using static calibration alone. For instance, positional error reduction was 55.64% compared to static calibration.

Limitations and Future Work

  • Assumption Violations: The method may struggle with extreme environmental changes or sensor inconsistencies that cause sudden, large shifts in $R_{G'G}$ and $R_{BS}$.
  • Low-Activity Scenarios: In scenarios with very little movement (e.g., office work, watching TV), the "Rotation Diversity" might not be met, potentially hindering calibration.
  • Global Yaw Drift: The current method primarily corrects drift within an "ego-yaw" coordinate system and doesn't fully address global yaw drift, which can affect translation accuracy in fixed global frames (as shown in Fig. 9).
  • Irregular Motions: Highly complex or irregular motions, which are underrepresented in training datasets, can temporarily lead to inaccurate calibration (Fig. 10). However, the system can recover once regular motion resumes.

Future work could explore extending the calibration to handle global yaw drift and improving robustness in extremely low-activity or highly irregular motion scenarios.

Summary updated

BibTeX
@article{zuo2025transformer,
  author = {Chengxu Zuo and Jiawei Huang and Xiao Jiang and Yuan Yao and Xiangren Shi and Rui Cao and Xinyu Yi and Feng Xu and Shihui Guo and Yipeng Qin},
  title = {{Transformer IMU Calibrator: Dynamic On-body IMU Calibration for Inertial Motion Capture}},
  journal = {ACM Trans. Graphics},
  year = {2025},
  doi = {10.1145/3730937},
}
Figure