Multi-Scale Fusion Localization Based on Magnetic Trajectory Sequence
Abstract
:1. Introduction
2. Positioning System Structure
3. Magnetic Data Processing and Positioning Model
3.1. Magnetic Data Acquisition
3.2. Random Waypoint Mobility Model
3.3. Clough-Tocher Interpolation
3.4. Long Short-Term Memory Network
3.5. Multi-Scale Feature Extraction and Fusion
4. Experimental Verification and Analysis
4.1. Experiment Setting
4.2. Experimental Results
4.3. Comprehensive Evaluation
- RNN: References [32,33] used recurrent neural networks to learn location-related features, and used magnetic sequences as input to train a standard RNN network to predict the user’s location. In our experiment, other than the fundamental RNN model, LSTM, GRU and BiLSTM network models were constructed [34]. The RNN model had four layers; LSTM and GRU were two-layer structure; the input sequence length was set to 50, the mini-batch was set to 64; the hidden unit was set to 128; the learning rate was 0.005; and the number of iterations was 100. Taking the data in the public data set MagPIE as the test object, we compared the above method with the proposed method. The comparison of error probability distribution is shown in Figure 13. It can be seen from the graph that the positioning method in this paper is superior to the traditional RNN network model, and the positioning performance of GRU and LSTM is similar. BiLSTM considers future information on the basis of past information and ameliorates positioning performance. The four-layer RNN has poor performance in the training process, slow convergence speed and large positioning error. It also needs to adjust the network parameters and input data. In comparison with the positioning method combined with multiple network architectures, our positioning method obtaind a smaller positioning error and elevated the positioning accuracy by about 10%. Moreover, the direct output of the predicted position information eliminated the subsequent probability data processing and heightened the positioning efficiency [22]. Compared with the method using multi-layer LSTM for real-time positioning, our data acquisition method is not limited to typical trajectory acquisition. In the case of equal positioning accuracy, our positioning method is applicable to dissimilar positioning scenarios, showing better universality [23].
- 2.
- DTW: Dynamic time warping matches the measured geomagnetic sequence with the database and finds the matching point with the minimum cumulative distance as the positioning point [35]. When the sequence length and sliding window length of the matching algorithm are the same as the previous ones, the distribution of the positioning error is as exhibited in Figure 13. It was found that the positioning error obtained by DTW is larger than that obtained by machine learning, and the positioning results were also close to the references and our previous experimental results [36]. Owing to the limited dynamic fluctuation range of magnetic data, when the amount of database data was large and the magnetic variation in the positioning area was not conspicuous, the positioning performance was remarkably decreased.
- 3.
- CNN: Convolutional neural networks have excellent performance in the field of image recognition. A myriad of studies has used CNN to identify geomagnetic maps to infer positions and obtain desirable positioning accuracy. AMID is the first indoor positioning system that used deep neural network to identify magnetic sequence patterns [24], and it achieved 1.7 m positioning accuracy by classifying landmarks. By combining the convolution layer and recursive layer, the positioning accuracy was heightened to 0.95 m [37]. MINLOC [38], materialized the combination of multiple CNNs by voting mechanism, and the average positioning error was about 0.7 m, which is similar to the positioning performance of our method. Reference [38] introduced an attention mechanism to make positioning accuracy superior, achieving a positioning error close to 0.4 m. The desirable positioning performance of CNNs also gave us inspiration. Using reasonable combinations of various network models to explore the deeper characteristics of geomagnetic fingerprints is also our next exploration direction.
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Zhao, R.; Zhong, B.; Zhu, Z.L.; Ma, L.; Yao, J.F. Overview of Indoor Localization Techniques and Applications. Electron. Sci. Technol. 2014, 27, 154–157. [Google Scholar]
- Pasku, V.; De Angelis, A.; De Angelis, G.; Arumugam, D.D.; Dionigi, M.; Carbone, P.; Moschitta, A.; Ricketts, D.S. Magnetic Field-Based Positioning Systems. IEEE Commun. Surv. Tutor. 2017, 19, 2003–2017. [Google Scholar] [CrossRef]
- Yin, Z.; Xu, J.; Yang, Z.; Zhao, N.; Chen, Y. WUB-IP: A High-Precision UWB Positioning Scheme for Indoor Multiuser Applications. IEEE Syst. J. 2019, 13, 279–288. [Google Scholar] [CrossRef] [Green Version]
- Xu, H.; Ding, Y.; Li, P.; Wang, R.; Li, Y. An RFID Indoor Positioning Algorithm Based on Bayesian Probability and K-Nearest Neighbor. Sensors 2017, 17, 1806. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Chen, B.; Liu, R.; Chen, Y.; Liu, J.; Jiang, X.; Liu, D. Wi Fi Fingerprint Based Self-Adaptive Indoor localization in The Dynamic Environment. Chin. J. Sens. Actuators 2015, 28, 729–738. [Google Scholar]
- Li, Y.; He, Z.; Nielsen, J.; Lachapelle, G. Using Wi-Fi/Magnetometers for Indoor Location and Personal Navigation. In Proceedings of the 2015 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Banff, AB, Canada, 13–16 October 2015. [Google Scholar]
- Contreras, D.; Castro, M.; De La Torre, D.S. Performance evaluation of bluetooth low energy in indoor positioning systems. Trans. Emerg. Telecommun. Technol. 2014, 28, e2864. [Google Scholar] [CrossRef] [Green Version]
- Cooper, A.; Hegde, P. An indoor positioning system facilitated by computer vision. In Proceedings of the 2016 IEEE MIT Undergraduate Research Technology Conference (URTC), Cambridge, MA, USA, 4–6 November 2016. [Google Scholar]
- Barik, D.; Mondal, M. Object identification for computer vision using image segmentation. In Proceedings of the 2010 2nd International Conference on Education Technology and Computer IEEE, Shanghai, China, 22–24 June 2010; pp. V2-170–V2-172. [Google Scholar]
- Chen, Y.; Zhou, M.; Zheng, Z. Learning Sequence-Based Fingerprint for Magnetic Indoor Positioning System. IEEE Access 2019, 7, 163231–163244. [Google Scholar] [CrossRef]
- Guo, H.; Uradziński, M.; Yin, H.; Yu, M. Indoor positioning based on foot-mounted IMU. Bull. Pol. Acad. Sci. Tech. Sci. 2015, 63, 629–634. [Google Scholar] [CrossRef]
- Song, J.; Hur, S.; Park, Y.; Choi, J. An Improved RSSI of Geomagnetic Field-Based Indoor Positioning Method Involving Efficient Database Generation by Building Materials. In Proceedings of the 2016 IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016. [Google Scholar]
- Guo, X.; Shao, W.; Zhao, F.; Wang, Q.; Li, D.; Luo, H. WiMag: Multimode Fusion Localization System based on Magnetic/WiFi/PDR. In Proceedings of the 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Madrid, Spain, 4–7 October 2016. [Google Scholar]
- Campeón, J.G.; López, S.; de Jesús Meleán, S.R.; Moldovan, H.; Parisi, D.R.; Fierens, P.I. Fusion of magnetic and WiFi fingerprints for indoor positioning. In Proceedings of the 2018 Congreso Argentino de Ciencias de la Informática y Desarrollos de Investigación (CACIDI), Buenos Aires, Argentina, 28–30 November 2018. [Google Scholar]
- Wu, H.; He, S.; Chan, S. A Graphical Model Approach for Efficient Geomagnetism-Pedometer Indoor Localization. In Proceedings of the IEEE International Conference on Mobile Ad-Hoc and Sensor Systems, Orlando, FL, USA, 22–25 October 2017. [Google Scholar]
- Subbu, K.P.; Gozick, B.; Dantu, R. LocateMe: Magnetic-fields-based indoor localization using smartphones. ACM Trans. Intell. Syst. Technol. 2013, 4, 1–27. [Google Scholar] [CrossRef]
- Ran, Y.; Burshtein, D. An enhanced dynamic time warping model for improved estimation of DTW parameters. Speech Audio Process. IEEE Trans. 2003, 11, 216–228. [Google Scholar]
- Ruan, X.; Tian, C. Dynamic gesture recognition based on improved DTW algorithm. In Proceedings of the IEEE International Conference on Mechatronics & Automation, Beijing, China, 2–5 August 2015. [Google Scholar]
- Wu, Z. Analysis and Research of Indoor Location Method Based on Magnetic Field Sequence Matching. Master’s Thesis, Xiamen University, Xiamen, China, 2018. [Google Scholar]
- Wang, Z. Research on Universal Location of Large Indoor Environment; Anhui University of Science and Technology: Huainan, China, 2020. [Google Scholar]
- He, T.; Niu, Q.; He, S.; Liu, N. Indoor Localization with Spatial and Temporal Representations of Signal Sequences. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019. [Google Scholar]
- Fernandes, L.; Santos, S.; Barandas, M.; Folgado, D.; Leonardo, R.; Santos, R.; Carreiro, A.; Gamboa, H. An Infrastructure-Free Magnetic-Based Indoor Positioning System with Deep Learning. Sensors 2020, 20, 6664. [Google Scholar] [CrossRef] [PubMed]
- Zhang, M.; Jia, J.; Chen, J.; Yang, L.; Guo, L.; Wang, X. Real-time indoor localization using smartphone magnetic with LSTM networks. Neural Comput. Appl. 2021, 33, 10093–10110. [Google Scholar] [CrossRef]
- Lee, N.; Ahn, S.; Han, D. AMID: Accurate Magnetic Indoor Localization Using Deep Learning. Sensors 2018, 18, 1598. [Google Scholar] [CrossRef] [PubMed]
- Wang, Q.; Luo, H.; Zhao, F.; Shao, W. An indoor self-localization algorithm using the calibration of the online magnetic fingerprints and indoor landmarks. In Proceedings of the 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016. [Google Scholar]
- Hanley, D.; Faustino, A.B.; Zelman, S.D.; Degenhardt, D.A.; Bretl, T. MagPIE: A dataset for indoor positioning with magnetic anomalies. In Proceedings of the International Conference on Indoor Positioning & Indoor Navigation, Sapporo, Japan, 18–21 September 2017. [Google Scholar]
- Torres-Sospedra, J.; Rambla, D.; Montoliu, R.; Belmonte, O.; Huerta, J. UJIIndoorLoc-Mag: A new database for magnetic field-based localization problems. In Proceedings of the International Conference on Indoor Positioning & Indoor Navigation, Banff, AB, Canada, 13–16 October 2015. [Google Scholar]
- Shi, C.; Guan, Z.; Zhang, K. Overview of Node Mobility Models in Ad Hoc Networks. China New Telecommun. 2013, 15, 36–38. [Google Scholar]
- Chen, P.; Tang, L.; Chen, Q. Cluster Routing Protocol Based on Motion State in Vehicular Ad Hoc Network. Comput. Eng. 2013, 39, 87–92. [Google Scholar]
- Sun, G.; Liao, M. Method of Avoiding the Speed Decay in Random Waypoint Mobility Model. J. Chin. Comput. Syst. 2006, 27, 4. [Google Scholar]
- Chen, K. A Study on Interpolation Method for 3D Scattered Potential Filed Data; Zhejiang University: Hangzhou, China, 2013. [Google Scholar]
- Jang, H.J.; Shin, J.M.; Choi, L. Geomagnetic field based indoor localization using recurrent neural networks. In Proceedings of the GLOBECOM 2017–2017 IEEE Global Communications Conference, Singapore, 4–8 December 2017. [Google Scholar]
- Chiang, T.-H.; Sun, Z.-H.; Shiuz, H.-R.; Lin, K.C.-J.; Tseng, Y.-C. Magnetic Field-Based Localization in Factories Using Neural Network With Robotic Sampling. IEEE Sens. J. 2020, 20, 13110–13118. [Google Scholar] [CrossRef]
- Zmitri, M.; Fourati, H.; Prieur, C. BiLSTM Network-Based Extended Kalman Filter for Magnetic Field Gradient Aided Indoor Navigation. IEEE Sens. J. 2021, 22, 4781–4789. [Google Scholar] [CrossRef]
- Shu, Y.; Bo, C.; Shen, G.; Zhao, C.; Li, L.; Zhao, F. Magicol: Indoor Localization Using Pervasive Magnetic Field and Opportunistic WiFi Sensing. Sel. Areas Commun. IEEE J. 2015, 33, 1443–1457. [Google Scholar] [CrossRef]
- Jin, Z.; Kang, R.Q.; Wang, W. Large Indoor Dynamic Positioning Method Based on Magnetic Sequence Matching. Chin. J. Sci. Instrum. 2021, 42, 199–207. [Google Scholar]
- Antsfeld, L.; Chidlovskii, B. Magnetic Field Sensing for Pedestrian and Robot Indoor Positioning. In Proceedings of the 2021 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Lloret de Mar, Spain, 29 November–2 December 2021. [Google Scholar]
- Abid, M.; Compagnon, P.; Lefebvre, G. Improved CNN-based Magnetic Indoor Positioning System using Attention Mechanism. In Proceedings of the 2021 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Lloret de Mar, Spain, 29 November–2 December 2021. [Google Scholar]
Parameter | Parameter Value |
---|---|
loss function | MSE |
optimizer learning rate hidden node batch size dropout rate iteration times | Adam 0.005 128 32 0.1 800 |
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. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Jin, Z.; Kang, R.; Su, H. Multi-Scale Fusion Localization Based on Magnetic Trajectory Sequence. Sensors 2023, 23, 449. https://doi.org/10.3390/s23010449
Jin Z, Kang R, Su H. Multi-Scale Fusion Localization Based on Magnetic Trajectory Sequence. Sensors. 2023; 23(1):449. https://doi.org/10.3390/s23010449
Chicago/Turabian StyleJin, Zhan, Ruiqing Kang, and Hailu Su. 2023. "Multi-Scale Fusion Localization Based on Magnetic Trajectory Sequence" Sensors 23, no. 1: 449. https://doi.org/10.3390/s23010449
APA StyleJin, Z., Kang, R., & Su, H. (2023). Multi-Scale Fusion Localization Based on Magnetic Trajectory Sequence. Sensors, 23(1), 449. https://doi.org/10.3390/s23010449