Abstract
Strapdown Inertial Navigation Systems (INS) on smartphones suffer from significant positioning drift due to noisy, low-grade sensors. This paper presents a hybrid approach that constrains the INS using a Convolutional Neural Network (CNN) trained to regress momentary speed from raw inertial measurement unit (IMU) data. By integrating this data-driven speed estimate into an Extended Kalman Filter (EKF), the system achieves robust 3D navigation without requiring external references or specific device mounting. We evaluate the system on a diverse dataset of indoor and outdoor activities, demonstrating a reduction in positioning error from hundreds of meters to less than one meter in complex multi-floor scenarios.
1. Introduction
Calculating position via double-integration of acceleration data—the core of Strapdown Inertial Navigation—is highly sensitive to sensor noise and bias. In high-end hardware, these errors are manageable, but smartphone-grade IMUs are "low-grade," leading to exponential drift within seconds. Traditional mitigation strategies like Visual-Inertial Odometry (VIO) are computationally expensive and fail in low light, while Pedestrian Dead Reckoning (PDR) often fails in 3D environments like elevators or stairs. This work proposes a hybrid framework that injects data-driven speed constraints into a classical physics-based navigation model to achieve robust, handheld 3D positioning.
2. Methodology
The core of the proposed system is a hybrid architecture that combines a classical INS with a deep learning component.
2.1 CNN-based Speed Regression
Rather than predicting a full 3D trajectory, which is prone to overfitting, a small CNN is tasked with regressing "momentary speed"—the average speed over a short temporal window. The model takes a 2-second window of 6-channel IMU data (3-axis accelerometer and 3-axis gyroscope) sampled at 100 Hz as input. The architecture consists of three convolutional layers followed by three fully connected layers. This design leverages the shift-invariant nature of CNNs to recognize motion patterns, such as walking gaits, regardless of their phase within the window.
2.2 Hybrid Integration
The regressed speed is fed into an Extended Kalman Filter (EKF) as a "pseudo-velocity" measurement. This acts as a soft constraint, preventing the velocity state from diverging during the integration process.
3. Experimental Setup and Data
The researchers collected a custom dataset using an iPhone 6s, totaling approximately 100 minutes of data over 4.5 km. The dataset covers diverse activities including walking, standing, and traversing stairs, elevators, and escalators. Ground truth for position and velocity was obtained using Apple’s ARKit VIO system.
The CNN implicitly learns to distinguish between these locomotion modes to output accurate speed estimates. As shown in Figure 2, different activities exhibit distinct speed profiles that the network can exploit to provide reliable constraints.
4. Results
The CNN achieved a Root Mean Square Error (RMSE) of 0.13 m/s for speed regression on validation data. In navigation tests involving transitions across three floor levels, the performance gains were substantial:
- Unconstrained INS: Diverged completely with an RMSE of 238.38 m.
- Constant Speed Assumption: Using a fixed 0.75 m/s constraint resulted in an RMSE of 0.87 m.
- CNN-Constrained INS: Achieved the highest accuracy with an RMSE of 0.62 m.
The system successfully tracked complex 3D transitions (stairs and elevators) where standard step-counting methods typically fail.
5. Conclusion
This paper demonstrates that regressing speed magnitude via deep learning provides a stable and effective constraint for smartphone inertial navigation. While the system shows some increased error on stairs due to data scarcity, the hybrid approach significantly outperforms traditional unconstrained or heuristic-based methods. Future work will explore multi-device generalization and the separation of horizontal and vertical speed components to further refine 3D accuracy.
Summary updated