AfKh-OpenIMU Generator: An open-source platform for simulating INS grades and generating datasets for machine learning applications
DOI:
https://doi.org/10.56294/dm20251150Keywords:
Inertial Navigation System, Sensor Simulation, Machine Learning Algorithm, IMU Error Modeling, Data Augmentation, OverfittingAbstract
This paper presents AfKh-OpenIMU Generator, an open-source platform developed in Java and deployed via Docker, aimed at supporting machine learning research in inertial navigation. The objective is to address two major challenges: the high cost of inertial navigation systems (INS) and the lack of large, labeled datasets required for training neural networks. Our platform simulates all six inertial sensors, including three accelerometers and three gyroscopes, using configurable error models that incorporate bias, scale factor, and stochastic noise. From user-defined reference trajectories, it generates raw inertial data and supports large-scale data augmentation by varying noise profiles, enabling the creation of diverse datasets without requiring physical hardware. Simulation results demonstrate high fidelity with real-world INS performance. The generated data yielded root mean square error (RMSE) values of 32.98 meters for low-cost INS, 8.99 meters for industrial-grade INS, and 1.07 meters for tactical-grade INS. In addition, the data augmentation mechanism allows dataset expansion by up to 10,000 times, significantly enhancing training robustness and helping to prevent overfitting in deep learning models. Our platform provides a flexible, low-cost, and reproducible solution for generating realistic inertial data. It facilitates the development and evaluation of machine learning algorithms for sensor fusion and secure navigation, making it particularly valuable for research in GPS-denied environments.
References
1. Aftatah M, Zebbara K. Robust ConvNet-Kalman Filter Integration for Mitigating GPS Jamming and Spoofing Attacks Basing on Inertial Navigation System Data. Data Metadata [Internet]. 2024 Jan [cited 2025 Aug 7];3:405. Available from: https://doi.org/10.56294/dm2024.405
2. Panigrahi PK, Bisoy SK. Localization strategies for autonomous mobile robots: A review. J King Saud Univ Comput Inf Sci. 2022 Sep;34(8):6019–39. https://doi.org/10.1016/j.jksuci.2021.02.015
3. He Y, Li J, Liu J. Research on GNSS INS & GNSS/INS Integrated Navigation Method for Autonomous Vehicles: A Survey. IEEE Access. 2023;11:79033–55. https://doi.org/10.1109/ACCESS.2023.3299290
4. Aftatah M, Zebbara K. A Comprehensive Survey on Secure Navigation for Intelligent Systems: Artificial Intelligence Approaches to GPS Jamming and Spoofing Detection. In: Mejdoub Y, Elamri A, editors. Proceedings of the International Conference on Connected Objects and Artificial Intelligence (COCIA2024). Cham: Springer Nature Switzerland; 2024. p. 105–10. https://doi.org/10.1007/978-3-031-70411-6_17
5. Omali TU, Akpata SBM. Global Positioning System Technology: Theory and the Methods of its Application. Int J Sci Res Multidiscip Stud. 2024 May;10(5):70–6.
6. Chefrour D. Evolution of network time synchronization towards nanoseconds accuracy: A survey. Comput Commun. 2022 Jul;191:26–35. https://doi.org/10.1016/j.comcom.2022.04.023
7. Sathaye H, Lenders V. An Experimental Study of GPS Spoofing and Takeover Attacks on UAVs. [Preprint].
8. Ghanbarzade A, Soleimani H. GNSS/GPS Spoofing and Jamming Identification Using Machine Learning and Deep Learning. arXiv [Preprint]. 2025 Jan 4 [cited 2025 Aug 7]; Available from: https://doi.org/10.48550/arXiv.2501.02352
9. Jung JH, Hong MY, Choi H, Yoon JW. An Analysis of GPS Spoofing Attack and Efficient Approach to Spoofing Detection in PX4. IEEE Access. 2024;12:46668–77. https://doi.org/10.1109/ACCESS.2024.3382543
10. Zhuang Y, et al. Multi-sensor integrated navigation/positioning systems using data fusion: From analytics-based to learning-based approaches. Inf Fusion. 2023 Jul;95:62–90. https://doi.org/10.1016/j.inffus.2023.01.025
11. Jalal A, Quaid MAK, Tahir SB ud din, Kim K. A Study of Accelerometer and Gyroscope Measurements in Physical Life-Log Activities Detection Systems. Sensors. 2020 Jan;20(22):6670. https://doi.org/10.3390/s20226670
12. Zheng T, Xu A, Xu X, Liu M. Modeling and Compensation of Inertial Sensor Errors in Measurement Systems. Electronics. 2023 Jan;12(11):2458. https://doi.org/10.3390/electronics12112458
13. Aftatah M, Zebbara K, Asri SE. Modeling Low-cost Inertial Navigation Systems and their Errors. Int J Comput Netw Commun. 2024 Nov;16(6):127–44. https://doi.org/10.5121/ijcnc.2024.16608
14. Yampolsky Z, et al. Multiple and Gyro-Free Inertial Datasets. Sci Data. 2024 Oct;11:1080. https://doi.org/10.1038/s41597-024-03917-6
15. Lyu P, Yong C, Lai J, Yuan C, Zhu Q, Han A. A Low-Altitude UAV Dataset Based on Visual–Inertial Navigation. IEEE Sens J. 2024 Dec;24(24):41904–11. https://doi.org/10.1109/JSEN.2024.3488289
16. Thalagala RG, De Silva O, Jayasiri A, Gubbels A, Mann GK, Gosine RG. MUN-FRL: A Visual-Inertial-LiDAR Dataset for Aerial Autonomous Navigation and Mapping. Int J Robot Res. 2024 Oct;43(12):1853–66. https://doi.org/10.1177/02783649241238358
17. Mahdi AE, Azouz A, Abdalla AE, Abosekeen A. A Machine Learning Approach for an Improved Inertial Navigation System Solution. Sensors. 2022 Jan;22(4):1687. https://doi.org/10.3390/s22041687
18. Černilová B, Kuře J. IMU Sensor for In-Situ 3D Movement Monitoring of Particulate Matter. Eng Proc. 2024;82(1):20509. https://doi.org/10.3390/ecsa-11-20509
19. Vigrahala J, Ramesh NVK, Devanaboyina VR, Reddy BNK. Attitude, Position and Velocity determination using Low-cost Inertial Measurement Unit for Global Navigation Satellite System Outages. In: 2021 10th IEEE International Conference on Communication Systems and Network Technologies (CSNT). 2021 Jun. p. 61–5. https://doi.org/10.1109/CSNT51715.2021.9509605
20. Wang L, Zhang Z, Sun P. Quaternion-Based Kalman Filter for AHRS Using an Adaptive-Step Gradient Descent Algorithm. Int J Adv Robot Syst. 2015 Sep;12(9):131. https://doi.org/10.5772/61313
21. Das S, Boberg B, Fallon M, Chatterjee S. IMU-based Online Multi-lidar Calibration. In: 2024 IEEE Intelligent Vehicles Symposium (IV). Jeju Island, Korea, Republic of: IEEE; 2024 Jun. p. 3227–34. https://doi.org/10.1109/IV55156.2024.10588695
22. Li Y, Wang L, Wang Z, Li X, Li J, Su SW. On-site scale factor linearity calibration of MEMS triaxial gyroscopes. arXiv [Preprint]. 2024 May 6 [cited 2025 Aug 7]; Available from: https://doi.org/10.48550/arXiv.2405.03393
23. Seo YB, et al. Analysis of Gyro Bias Depending on the Position of Inertial Measurement Unit in Rotational Inertial Navigation Systems. Sensors. 2022 Jan;22(21):8355. https://doi.org/10.3390/s22218355
24. Aftatah M, Zebbara K. Detecting GPS Spoofing Attacks Using Corrected Low-Cost INS Data with an LSTM Network. Int J Adv Comput Sci Appl. 2024;15(11).
25. Wu F, Luo H, Jia H, Zhao F, Xiao Y, Gao X. Predicting the Noise Covariance With a Multitask Learning Model for Kalman Filter-Based GNSS/INS Integrated Navigation. IEEE Trans Instrum Meas. 2021;70:8500613. https://doi.org/10.1109/TIM.2020.3024357
26. Thokala VS. Utilizing Docker Containers for Reproducible Builds and Scalable Web Application Deployments. [Technical Report]
27. Duan Y, Li H, Wu S, Zhang K. INS Error Estimation Based on an ANFIS and Its Application in Complex and Covert Surroundings. ISPRS Int J Geo-Inf. 2021 Jun;10(6):388. https://doi.org/10.3390/ijgi10060388.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Mohammed Aftatah, Abdelhak Khalil , Khalil ZEBBARA (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
The article is distributed under the Creative Commons Attribution 4.0 License. Unless otherwise stated, associated published material is distributed under the same licence.