Universal Vector Calibration for Orientation-Invariant 3D Sensor Data
Modern electronic devices such as smartphones, wearable devices, and robots typically integrate three-dimensional sensors to track the device’s movement in the 3D space. However, sensor measurements in three-dimensional vectors are highly sensitive to device orientation since a slight change in the...
Saved in:
| Main Authors: | , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
MDPI AG
2025-07-01
|
| Series: | Sensors |
| Subjects: | |
| Online Access: | https://www.mdpi.com/1424-8220/25/15/4609 |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | Modern electronic devices such as smartphones, wearable devices, and robots typically integrate three-dimensional sensors to track the device’s movement in the 3D space. However, sensor measurements in three-dimensional vectors are highly sensitive to device orientation since a slight change in the device’s tilt or heading can change the vector values. To avoid complications, applications using these sensors often use only the magnitude of the vector, as in geomagnetic-based indoor positioning, or assume fixed device holding postures such as holding a smartphone in portrait mode only. However, using only the magnitude of the vector loses the directional information, while ad hoc posture assumptions work under controlled laboratory conditions but often fail in real-world scenarios. To resolve these problems, we propose a universal vector calibration algorithm that enables consistent three-dimensional vector measurements for the same physical activity, regardless of device orientation. The algorithm works in two stages. First, it transforms vector values in local coordinates to those in global coordinates by calibrating device tilting using pitch and roll angles computed from the initial vector values. Second, it additionally transforms vector values from the global coordinate to a reference coordinate when the target coordinate is different from the global coordinate by correcting yaw rotation to align with application-specific reference coordinate systems. We evaluated our algorithm on geomagnetic field-based indoor positioning and bidirectional step detection. For indoor positioning, our vector calibration achieved an 83.6% reduction in mismatches between sampled magnetic vectors and magnetic field map vectors and reduced the LSTM-based positioning error from 31.14 m to 0.66 m. For bidirectional step detection, the proposed algorithm with vector calibration improved step detection accuracy from 67.63% to 99.25% and forward/backward classification from 65.54% to 100% across various device orientations. |
|---|---|
| ISSN: | 1424-8220 |