Modified Extended Kalman Filter and Long Short-Term Memory-Based Framework for Reliable Stride-Length Estimation Using Inertial Sensors
Abstract
1. Introduction
2. Methodology
2.1. Data Collection
2.2. Modified Extended Kalman Filter and Long Short-Term Memory-Based Framework
3. Results
3.1. Direct Comparison of Sensor Data by Different Algorithms
3.2. Stride-Length Prediction Using LSTM-Based Models
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Moskalev, A.; Guvatova, Z.; Lopes, I.D.A.; Beckett, C.W.; Kennedy, B.K.; De Magalhaes, J.P.; Makarov, A.A. Targeting aging mechanisms: Pharmacological perspectives. Trends Endocrinol. Metab. 2022, 33, 266–280. [Google Scholar] [CrossRef]
- Srinivasu, P.N.; JayaLakshmi, G.; Jhaveri, R.H.; Praveen, S.P. Ambient assistive living for monitoring the physical activity of diabetic adults through body area networks. Mob. Inf. Syst. 2022, 2022, 1–18. [Google Scholar] [CrossRef]
- Mao, Q.; Zheng, W.; Shi, M.; Yang, F. Scientometric research and critical analysis of gait and balance in older adults. Sensors 2024, 24, 3199. [Google Scholar] [CrossRef] [PubMed]
- Tao, W.; Liu, T.; Zheng, R.; Feng, H. Gait analysis using wearable sensors. Sensors 2012, 12, 2255–2283. [Google Scholar] [CrossRef]
- Karar, M.E.; Shehata, H.I.; Reyad, O. A survey of IoT-based fall detection for aiding elderly care: Sensors, methods, challenges and future trends. Appl. Sci. 2022, 12, 3276. [Google Scholar] [CrossRef]
- Ambrose, A.F.; Paul, G.; Hausdorff, J.M. Risk factors for falls among older adults: A review of the literature. Maturitas 2013, 75, 51–61. [Google Scholar] [CrossRef]
- Bourke, R.; Doody, P.; Pérez, S.; Moloney, D.; Lipsitz, L.A.; Kenny, R.A. Cardiovascular disorders and falls among older adults: A systematic review and meta-analysis. J. Gerontol. Ser. A 2024, 79, glad221. [Google Scholar] [CrossRef]
- Xu, T.; Clemson, L.; O’LOughlin, K.; Lannin, N.A.; Dean, C.; Koh, G. Risk factors for falls in community stroke survivors: A systematic review and meta-analysis. Arch. Phys. Med. Rehabil. 2018, 99, 563–573.e5. [Google Scholar] [CrossRef] [PubMed]
- Muir, S.W.; Gopaul, K.; Odasso, M.M.M. The role of cognitive impairment in fall risk among older adults: A systematic review and meta-analysis. Age Ageing 2012, 41, 299–308. [Google Scholar] [CrossRef] [PubMed]
- Widodo, R.B. Research on Attitude Determination and Step-Length Prediction Using Extended Kalman Filter and Artificial Neural Network for Shoe-Type Gait Measurement Device. Ph.D. Thesis, Kyushu Institute of Technology, Fukuoka, Japan, 2017. [Google Scholar]
- Sethi, D.; Bharti, S.; Prakash, C. A comprehensive survey on gait analysis: History, parameters, approaches, pose estimation, and future work. Artif. Intell. Med. 2022, 129, 102314. [Google Scholar] [CrossRef]
- Zhang, P.; Li, Y.; Zhuang, Y.; Kuang, J.; Niu, X.; Chen, R. Multi-level information fusion with motion constraints: Key to achieve high-precision gait analysis using low-cost inertial sensors. Inf. Fusion 2023, 89, 603–618. [Google Scholar] [CrossRef]
- Herssens, N.; Verbecque, E.; Hallemans, A.; Vereeck, L.; Van Rompaey, V.; Saeys, W. Do spatiotemporal parameters and gait variability differ across the lifespan of healthy adults? A systematic review. Gait Posture 2018, 64, 181–190. [Google Scholar] [CrossRef] [PubMed]
- Wang, S.; Fan, Y.; Jin, S.; Takyi-Aninakwa, P.; Fernandez, C. Improved anti-noise adaptive long short-term memory neural network modeling for the robust remaining useful life prediction of lithium-ion batteries. Reliab. Eng. Syst. Saf. 2023, 230, 108920. [Google Scholar] [CrossRef]
- Wang, S.; Wu, F.; Takyi-Aninakwa, P.; Fernandez, C.; Stroe, D.-I.; Huang, Q. Improved singular filtering-Gaussian process regression-long short-term memory model for whole-life-cycle remaining capacity estimation of lithium-ion batteries adaptive to fast aging and multi-current variations. Energy 2023, 284, 128677. [Google Scholar] [CrossRef]
- Lai, Y.-R.; Lien, C.-Y.; Huang, C.-C.; Lin, W.-C.; Chen, Y.-S.; Yu, C.-C.; Cheng, B.-C.; Kung, C.-T.; Kung, C.-F.; Chiang, Y.-F.; et al. Clinical disease severity mediates the relationship between stride length and speed and the risk of falling in Parkinson’s disease. J. Pers. Med. 2022, 12, 192. [Google Scholar] [CrossRef]
- Thorning, M.; Nielsen, H.H.; Frich, L.H.; Jensen, H.B.; Lambertsen, K.L.; Holsgaard-Larsen, A. Gait quality and function after fampridine treatment in patients with multiple sclerosis–A prospective cohort study. Clin. Biomech. 2022, 100, 105826. [Google Scholar] [CrossRef]
- Jahn, J.; Batzer, U.; Seitz, J.; Patino-Studencka, L.; Boronat, J.G. Comparison and evaluation of acceleration based step length estimators for handheld devices. In Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation, Hoenggerberg, Switzerland, 15–17 September 2010; IEEE: New York, NY, USA, 2010. [Google Scholar]
- Miyazaki, S. Long-term unrestrained measurement of stride length and walking velocity utilizing a piezoelectric gyroscope. IEEE Trans. Biomed. Eng. 1997, 44, 753–759. [Google Scholar] [CrossRef] [PubMed]
- Norris, M.; Anderson, R.; Kenny, I.C. Method analysis of accelerometers and gyroscopes in running gait: A systematic review. Proc. Inst. Mech. Eng. Part P J. Sports Eng. Technol. 2014, 228, 3–15. [Google Scholar] [CrossRef]
- Fukushi, K.; Huang, C.; Wang, Z.; Kajitani, H.; Nihey, F.; Nakahara, K. On-line algorithms of stride-parameter estimation for in-shoe motion-sensor system. IEEE Sens. J. 2022, 22, 9636–9648. [Google Scholar] [CrossRef]
- Riad, R.; Teboul, O.; Grangier, D.; Zeghidour, N. Learning strides in convolutional neural networks. arXiv 2022, arXiv:2202.01653. [Google Scholar] [CrossRef]
- Willner, D.; Chang, C.B.; Dunn, K.P. Kalman filter algorithms for a multi-sensor system. In Proceedings of the 1976 IEEE Conference on Decision and Control Including the 15th Symposium on Adaptive Processes, Clearwater, FL, USA, 1–3 December 1976; IEEE: New York, NY, USA, 1976. [Google Scholar]
- Yang, F.; Mao, Q. Auto-evaluation model for the prediction of building energy consumption that combines modified kalman filtering and long short-term memory. Sustainability 2023, 15, 15749. [Google Scholar] [CrossRef]
- Mishra, S.; Mohanty, S.; Ramadoss, A. Functionality of Flexible Pressure Sensors in Cardiovascular Health Monitoring: A Review. ACS Sens. 2022, 7, 2495–2520. [Google Scholar] [CrossRef] [PubMed]
- Khodarahmi, M.; Maihami, V. A review on Kalman filter models. Arch. Comput. Methods Eng. 2022, 30, 727–747. [Google Scholar] [CrossRef]
- Wang, Q.; Liu, K.; Cao, Z. System noise variance matrix adaptive Kalman filter method for AUV INS/DVL navigation system. Ocean. Eng. 2023, 267, 113269. [Google Scholar] [CrossRef]
- Sy, L.W.; Lovell, N.H.; Redmond, S.J. Estimating lower body kinematics using a lie group constrained extended Kalman filter and reduced IMU count. IEEE Sens. J. 2021, 21, 20969–20979. [Google Scholar] [CrossRef]
- Shin, S.; Park, C.G.; Kim, J.W.; Hong, H.S.; Lee, J.M. Adaptive step length estimation algorithm using low-cost MEMS inertial sensors. In Proceedings of the IEEE Sensors Applications Symposium, San Diego, CA, USA, 6–8 February 2007; IEEE: New York, NY, USA, 2007. [Google Scholar]
- Kim, J.W.; Jang, H.J.; Hwang, D.-H.; Park, C. A step, stride and heading determination for the pedestrian navigation system. J. Glob. Position. Syst. 2004, 3, 273–279. [Google Scholar] [CrossRef]
- Gu, F.; Khoshelham, K.; Yu, C.; Shang, J. Accurate step length estimation for pedestrian dead reckoning localization using stacked autoencoders. IEEE Trans. Instrum. Meas. 2018, 68, 2705–2713. [Google Scholar] [CrossRef]
- Yang, F.; Shi, D.; Lam, K.-H. Modified extended Kalman filtering algorithm for precise voltage and state-of-charge estimations of rechargeable batteries. J. Energy Storage 2022, 56, 105831. [Google Scholar] [CrossRef]
- Lee, G.T.; Seo, S.B.; Jeon, W.S. Indoor localization by Kalman filter based combining of UWB-positioning and PDR. In Proceedings of the 2021 IEEE 18th Annual Consumer Communications & Networking Conference (CCNC), Las Vegas, NV, USA, 9–12 January 2021; IEEE: New York, NY, USA, 2021. [Google Scholar]




| Methods | MAE (Mean Absolute Error) | SD (Standard Deviation) | Minimum | Maximum |
|---|---|---|---|---|
| Original Data | 0.2978277 | 0.2031594 | 0.0025482 | 0.9053573 |
| EKF | 0.1014945 | 0.0876632 | 0 | 0.4000789 |
| Modified EKF | 0.0777656 | 0.0717948 | 0 | 0.2872306 |
| MAE | |
|---|---|
| PNS [29] | 0.1677 |
| Heading determination methods [30] | 0.0846 |
| EKF | 0.1015 |
| PDR [31] | 0.0837 |
| Modified EKF | 0.0778 |
| Model | MAE | MSE | RMSE | R2 |
|---|---|---|---|---|
| Origin (LSTM) | 0.0543 | 0.00566 | 0.0752 | 0.2698 |
| Kalman (LSTM) | 0.0419 | 0.00282 | 0.0531 | 0.6362 |
| Modified (LSTM) | 0.0376 | 0.00228 | 0.0477 | 0.7066 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Mao, Q.; Yang, F. Modified Extended Kalman Filter and Long Short-Term Memory-Based Framework for Reliable Stride-Length Estimation Using Inertial Sensors. Sensors 2026, 26, 1096. https://doi.org/10.3390/s26041096
Mao Q, Yang F. Modified Extended Kalman Filter and Long Short-Term Memory-Based Framework for Reliable Stride-Length Estimation Using Inertial Sensors. Sensors. 2026; 26(4):1096. https://doi.org/10.3390/s26041096
Chicago/Turabian StyleMao, Qian, and Fan Yang. 2026. "Modified Extended Kalman Filter and Long Short-Term Memory-Based Framework for Reliable Stride-Length Estimation Using Inertial Sensors" Sensors 26, no. 4: 1096. https://doi.org/10.3390/s26041096
APA StyleMao, Q., & Yang, F. (2026). Modified Extended Kalman Filter and Long Short-Term Memory-Based Framework for Reliable Stride-Length Estimation Using Inertial Sensors. Sensors, 26(4), 1096. https://doi.org/10.3390/s26041096

