A BLE-Based IMU System with Three-Stage Calibration and Madgwick Sensor Fusion for Real-Time Orientation Tracking
This paper presents a prototype wireless IMU-based motion tracking system for real-time orientation estimation. Each wearable node integrates an MPU9250 IMU with a Nordic nRF52832 microcontroller, enabling concurrent multi-node communication via Bluetooth Low Energy (BLE). To improve measurement accuracy, a three-stage calibration framework consisting of accelerometer and gyroscope zero-offset calibration and magnetometer ellipsoid fitting is applied to compensate for sensor bias, drift, and magnetic interference. The Madgwick algorithm estimates yaw, pitch, and roll from the calibrated data, which are transmitted via the Nordic UART Service (NUS) and visualized in real time using a Python application based on Bleak and OpenGL. Experimental validation with 30 healthy volunteers demonstrated reliable multi-node communication with an end-to-end latency below 50 ms and accurate orientation measurement. Comparison with a clinical goniometer yielded a Pearson correlation coefficient of r = 0.9999 (p < 0.001) and Bland–Altman 95% limits of agreement (LoA) of ±3.99°. Although evaluated only under static uniaxial conditions in healthy participants, the proposed system demonstrated strong agreement with the reference measurements, highlighting its potential as a wearable, low-cost solution for rehabilitation angle monitoring.
Authors
- Kok Swee Sim (ORCID: https://orcid.org/0000-0003-2976-8825)
- Shifan Zhang (ORCID: https://orcid.org/0009-0004-8099-2501)
- Kok Beng Gan (ORCID: https://orcid.org/0000-0002-8776-5502)
- Md. Mahmudur Rahman (ORCID: https://orcid.org/0000-0003-4689-4866)
- Xuejin Cao (ORCID: https://orcid.org/0009-0009-5882-7565)
Institutions
- Multimedia University (MY)
- Daffodil International University (BD)
- National University of Malaysia (MY)
Publication Details
- Journal
- International Journal of Online and Biomedical Engineering (iJOE)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.3991/ijoe.v22i11.62219
- Primary Topic
- Inertial Sensor and Navigation
- Type
- article
- Field-Weighted Citation Impact
- 0.00