Abstract
Due to the pervasiveness of geomagnetic fields and independence from external infrastructure, localization with smartphone-based magnetic has attracted considerable attention. However, existing approaches are still facing the problem of localization accuracy because of their low discernibility in geomagnetic features. Due to the need to traverse the magnetic database, these approaches cannot obtain localization results in real-time, especially in large indoor localization areas. To address these problems, a novel magnetic indoor localization approach based on long short-term memory networks (LSTMs) is proposed. The magnetic indoor localization is first formulated as a recursive function approximation problem. Based on the analysis of magnetic characteristics, a double sliding window-based dimension expansion approach is designed to generate a time-series magnetic feature dataset. The LSTMs are invoked for magnetic localization on this dataset by taking advantage of its benefits in time-series prediction and characterization. To evaluate the performance of the proposed algorithm, we implement the proposed LSTMs-based magnetic localization approach on a real Android-based smartphone and compare it with fingerprint-based localization algorithms. Extensive experiment results demonstrate the accuracy, response time, and robustness of the proposed algorithm in indoor localization.
Similar content being viewed by others
References
Sensor.TYPE\_ORIENTATION \(|\) Android Developers https://developer.android.google.cn/reference/android/hardware/Sensor.html#TYPE_ORIENTATION
AL-Madani B, Orujov F, Maskeliūnas R, Damaševičius R, Venčkauskas A (2019) Fuzzy logic type-2 based wireless indoor localization system for navigation of visually impaired people in buildings. Sensors 19(9):2114
Ashraf I, Hur S, Park S, Park Y (2020) Deeplocate: Smartphone based indoor localization with a deep neural network ensemble classifier. Sensors 20(1):133
Baars BJ, Gage NM (2010) Chapter 1—mind and brain. In: Baars BJ, Gage NM (eds) Cognition, brain, and consciousness (second edition), cognition, brain, and consciousness (second edition), 2nd edn. Academic Press, London, pp 2–31
Bae HJ, Choi L (2019) Large-scale indoor positioning using geomagnetic field with deep neural networks. In: ICC 2019–2019 IEEE International conference on communications (ICC), pp 1–6
Bahl P, Padmanabhan VN (2000) Radar: an in-building RF-based user location and tracking system. In: Proceedings IEEE INFOCOM 2000. Conference on computer communications. Nineteenth annual joint conference of the IEEE computer and communications societies, vol. 2, pp. 775–784
Basso M, Galanti M, Innocenti G, Miceli D (2017) Pedestrian dead reckoning based on frequency self-synchronization and body kinematics. IEEE Sens J 17(2):534–545
Chen H, Guo B, Yu Z, Han Q (2019) Crowdtracking: real-time vehicle tracking through mobile crowdsensing. IEEE Internet Things J 6(5):7570–7583
Chen Z, Zou H, Yang J, Jiang H, Xie L (2020) Wifi fingerprinting indoor localization using local feature-based deep LSTM. IEEE Syst J 14(2):3001–3010
Du C, Peng B, Zhang Z, Xue W, Guan M (2020) KF-KNN: Low-cost and high-accurate FM-based indoor localization model via fingerprint technology. IEEE Access 8:197523–197531
Elloumi W, Latoui A, Canals R, Chetouani A, Treuillet S (2016) Indoor pedestrian localization with a smartphone: a comparison of inertial and vision-based methods. IEEE Sens J 16(13):5376–5388
He S, Chan SG, Yu L, Liu N (2019) Maxlifd: Joint maximum likelihood localization fusing fingerprints and mutual distances. IEEE Trans Mob Comput 18(3):602–617
Hoang MT, Zhu Y, Yuen B, Reese T, Dong X, Lu T, Westendorp R, Xie M (2018) A soft range limited k-nearest neighbors algorithm for indoor localization enhancement. IEEE Sens J 18(24):10208–10216
Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780
Husen M, Lee S (2016) Indoor location sensing with invariant Wi-Fi received signal strength fingerprinting. Sensors 16(11):1898
Jimenez AR, Seco F (2016) Comparing decawave and bespoon UWB location systems: Indoor/outdoor performance analysis. In: 2016 International conference on indoor positioning and indoor navigation (IPIN). IEEE, pp 1–8
Kang W, Han Y (2015) SmartPDR: Smartphone-based pedestrian dead reckoning for indoor localization. IEEE Sens J 15(5):2906–2916
Lau SL, Toh C, Saleem Y (2016) Wi-Fi fingerprint localisation using density-based clustering for public spaces: a case study in a shopping mall. In: 2016 6th International conference—cloud system and big data engineering (Confluence), pp 356–360
Lee H, Wicke M, Kusy B, Guibas L (2008) Localization of mobile users using trajectory matching. In: Proceedings of the first ACM international workshop on mobile entity localization and tracking in GPS-less environments, MELT ’08. Association for Computing Machinery, New York, NY, USA, pp 123–128
Lee N, Ahn S, Han D (2018) Amid: Accurate magnetic indoor localization using deep learning. Sensors (Basel, Switzerland) 18(5):1598
Li Z, Yang Y, Pahlavan K (2016) Using iBeacon for newborns localization in hospitals. In: 2016 10th International symposium on medical information and communication technology (ISMICT), pp 1–5
Ma Y, Dou Z, Jiang Q, Hou Z (2016) Basmag: An optimized hmm-based localization system using backward sequences matching algorithm exploiting geomagnetic information. IEEE Sens J 16(20):7472–7482
Mohammad N, Muhammad S, Bashar A, Khan MA (2019) Formal analysis of human-assisted smart city emergency services. IEEE Access 7:60376–60388
Olah C (2015) Understanding LSTM networks. GITHUB blog 27, 2015. https://colah.github.io/posts/2015-08-Understanding-LSTMs
Orujov F, Maskeliūnas R, Damaševičius R, Wei W, Li Y (2018) Smartphone based intelligent indoor positioning using fuzzy logic. Future Gener Comput Syst 89:335–348
Pan Z, Cui L, Wu X, Zhang Z, Li X, Chen G (2019) Deep potential geo-social relationship mining for point-of-interest recommendation. IEEE Access 7:99496–99507
Poulose A, Eyobu OS, Han SD (2019) An indoor position-estimation algorithm using smartphone IMU sensor data. IEEE Access 7:11165–11177
Priyantha NB, Chakraborty A, Balakrishnan H (2000) The cricket location-support system. In: Proceedings of the 6th annual international conference on mobile computing and networking. ACM, Boston, Massachusetts, USA, pp 32–43
Ruiz ARJ, Granja FS, Honorato JCP, Rosas JIG (2012) Accurate pedestrian indoor navigation by tightly coupling foot-mounted IMU and RFID measurements. IEEE Trans Instrum Meas 61(1):178–189
Shu Y, Bo C, Shen G, Zhao C, Li L, Zhao F (2015) Magicol: Indoor localization using pervasive magnetic field and opportunistic wifi sensing. IEEE J Sel Areas Commun 33(7):1443–1457
Subbu KP, Gozick B, Dantu R (2013) Locateme: Magnetic-fields-based indoor localization using smartphones. ACM Trans Intell Syst Technol (TIST) 4(4):73
Wang G, Wang X, Nie J, Lin L (2019) Magnetic-based indoor localization using smartphone via a fusion algorithm. IEEE Sens J 19(15):6477–6485
Wang X, Gao L, Mao S, Pandey S (2017) CSI-based fingerprinting for indoor localization: a deep learning approach. IEEE Trans Veh Technol 66(1):763–776
Wang X, Yu Z, Mao S (2018) Deepml: Deep lstm for indoor localization with smartphone magnetic and light sensors. In: 2018 IEEE international conference on communications (ICC), pp. 1–6
Wang Y, Tao D, Liu W (2017) Diversified shared latent structure based localization for blind persons. In: 2017 International conference on security, pattern analysis, and cybernetics (SPAC), pp 247–251
Want R, Hopper A, Falcao V, Gibbons J (1992) The active badge location system. ACM Trans Inf Syst 10(1):91–102
Wu C, Xu J, Yang Z, Lane ND, Yin Z (2017) Gain without pain: Accurate wifi-based localization using fingerprint spatial gradient. In: Proceedings of the ACM on interactive, mobile, wearable and ubiquitous technologies, 1(2):29
Xiao C, Yang D, Chen Z, Tan G (2017) 3-D BLE indoor localization based on denoising autoencoder. IEEE Access 5:12751–12760
Xie H, Gu T, Tao X, Ye H, Lu J (2016) A reliability-augmented particle filter for magnetic fingerprinting based indoor localization on smartphone. IEEE Trans Mob Comput 15(8):1877–1892
Yang H, Zhang R, Bordoy J, Höflinger F, Li W, Schindelhauer C, Reindl L (2016) Smartphone-based indoor localization system using inertial sensor and acoustic transmitter/receiver. IEEE Sens J 16(22):8051–8061
Yin Y, Song C, Li M, Niu Q (2019) A CSI-based indoor fingerprinting localization with model integration approach. Sensors 19(13):2998
Zhang R, Hoflinger F, Reindl L (2013) Inertial sensor based indoor localization and monitoring system for emergency responders. IEEE Sens J 13(2):838–848
Acknowledgements
This work was supported in part by the National Natural Science Foundation of China under Grants 61772126, and 61972079, in part by the National Key Research and Development Program of China under Grants 2018YFC0830601, in part by the Fundamental Research Funds for the Central Universities under Grants N2016004, N2016002, and N2024005-1, in part by the joint Funds of Ministry of Education with China Mobile under Grant MCM20180203, in part by the Central Government Guided Local Science and Technology Development Fund Project under Grant 2020ZY0003, and in part by the Young and Middle-aged Scientific and Technological Innovation Talent Support Program of Shenyang under Grant RC200548.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
We promise that this manuscript is the authors’ original work and has not been published nor has it been submitted simultaneously elsewhere. All authors have checked the manuscript and have agreed to the submission.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Zhang, M., Jia, J., Chen, J. et al. Real-time indoor localization using smartphone magnetic with LSTM networks. Neural Comput & Applic 33, 10093–10110 (2021). https://doi.org/10.1007/s00521-021-05774-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-021-05774-5