Accurate and Robust Floor Positioning in Complex Indoor Environments
<p>System overview design.</p> "> Figure 2
<p>The reference pressure calibration.</p> "> Figure 3
<p>The floor prediction using the BPFP.</p> "> Figure 4
<p>Floor prediction processing.</p> "> Figure 5
<p>Acceleration comparison and gyro comparison between different vertical motion.</p> "> Figure 5 Cont.
<p>Acceleration comparison and gyro comparison between different vertical motion.</p> "> Figure 6
<p>Motion detection accuracy W/O the HMM correction.</p> "> Figure 7
<p>Floor positioning accuracy in (<b>a</b>) Building 1 and (<b>b</b>) Building 2.</p> "> Figure 8
<p>The floor plan of F7 in Building 3.</p> "> Figure 9
<p>The influence of different floor positioning confidence threshold on the number of triggers.</p> "> Figure 10
<p>The influence of different floor positioning confidence threshold on the floor positioning accuracy.</p> "> Figure 11
<p>Accuracy without and with HMM correction.</p> "> Figure 12
<p>The cumulative probability of transition delay.</p> "> Figure 13
<p>The cumulative probability of the altitude error estimated by our proposed method in the intermediate areas between floors.</p> ">
Abstract
:1. Introduction
- We propose a BWFP augmentation method with BPFP using HMM. In areas where Wi-Fi signals are highly distinguishable, BWFP is applied and the high-confidence floor estimation result is used to provide a reference value for a barometer. In the hollow areas with low discrimination for Wi-Fi signal, BPFP is applied by the mapping between the barometric pressure and altitude. HMM is utilized to correct the occasional floor positioning errors caused by the BWFP or the BPFP method.
- We propose a motion detection method to identify user’s floor switching behavior based on accelerometer and gyroscope readings. Once the floor switching motion is detected, the vertical coordinates are estimated. Under this floor switching periods, location-based services can still be provided in the intermediate areas between adjacent floors.
- We model the floor positioning into a supervised multi-classification problem and use the XGBoost [12] to make advantage of the received signal strengths for accurate floor positioning. Through combining multiple tree models, the XGBoost-based floor positioning method (i.e., BWFP) can obtain high-confidence floor positioning result in the closed areas. To speed up training of XGBoost, we introduce exponential preprocess for all Wi-Fi fingerprints.
- We evaluate our proposed algorithm in several different scenarios and the experimental results demonstrate that our proposed algorithm outperforms the Wi-Fi-only-based method, the pressure-only-based method and the comparative hybrid method with 99.2% average accuracy and better robustness. Furthermore, the probability of floor switching detection delay within 2 s exceeds 90%, which is a vital metric for the floor positioning method.
2. Related Works
2.1. Wi-Fi-Based Methods
2.2. Barometric Pressure-Based Methods
2.3. Hybrid Methods
3. Materials and Method
3.1. System Overview
3.2. BWFP Module
3.3. BWFP Augmentation Module
- “Reference pressure” calibration: when the confidence of BWFP exceeds the preset threshold, update the “reference pressure” algorithm as Figure 2 shows. Parameter represents the current barometer measurements, and represents the floor estimation result obtained by BWFP. We use an array of heights [] to record each height between adjacent floors within a multi-story building. Variable is the height difference between the current floor and the reference floor (the first floor as the reference floor in this paper), which can be estimated based on the parameter and heights []. The ref_pre is the calibrated pressure of the reference floor and reference_height is the estimated height of the reference floor.
- Floor prediction: the “reference pressure” is calculated to predict the floor level. The inference process is shown in Figure 3.
3.4. Motion Detection Module
4. Experimental Results and Analysis
4.1. Augmentation BWFP with BPFP Using HMM
4.2. Motion Detection and Positioning in the Intermediate Areas Between Floor
4.3. Caculation Complexity
5. Discussion and Conclusions
Author Contributions
Funding
Conflicts of Interest
Appendix A
Feature | Equation | Illustration |
---|---|---|
Mean | Represents trends in a set of data sets | |
Std | A measure that is used to quantify the amount of variation or dispersion of a set of data values. | |
Var | Measures how far a set of (random) numbers are spread out from their average value. | |
Range | The difference between maximum and minimum | |
Iqr | Interquartile range | The IQR is a measure of variability, based on dividing a data set into quartiles. |
Kurtosis | A measure of the "tailedness" of the probability distribution of a real-valued random variable. | |
Skewness | A measure of the asymmetry of the probability distribution of a real-valued random variable about its mean. | |
RMS | In the evaluation of experimental results, the errors must be positive or negative relative to the average value. RMS can better reflect the discreteness of experimental results errors by eliminating the symbolic effect when the error is squared. | |
Integral | In our experiments, the acceleration integral represents the velocity and the angular velocity integral represents the rotation angle. | |
Double Integral | Displacement is expressed by double integral of acceleration |
References
- Filippoupolitis, A.; Hey, L.; Loukas, G.; Gelenbe, E.; Timotheou, S. Emergency response simulation using wireless sensor networks. In Proceedings of the 1st international conference on Ambient media and systems, Quebec City, QC, Canada, 11–14 February 2008. [Google Scholar]
- Giuliano, R.; Mazzenga, F.; Petracca, M.; Vari, M. Indoor localization system for first responders in emergency scenario. In Proceedings of the 2013 9th International Wireless Communications and Mobile Computing Conference (IWCMC), Sardinia, Italy, 1–5 July 2013; pp. 1821–1826. [Google Scholar]
- Ingram, S.J.; Harmer, D.; Quinlan, M. Ultrawideband indoor positioning systems and their use in emergencies. In Proceedings of the PLANS 2004. Position Location and Navigation Symposium (IEEE Cat. No. 04CH37556), Monterey, CA, USA, 26–29 April 2004; pp. 706–715. [Google Scholar]
- Li, N.; Becerik-Gerber, B.; Krishnamachari, B.; Soibelman, L. A BIM centered indoor localization algorithm to support building fire emergency response operations. Autom. Constr. 2014, 42, 78–89. [Google Scholar] [CrossRef]
- Xia, H.; Zuo, J.; Liu, S.; Qiao, Y. Indoor Localization on Smartphones Using Built-In Sensors and Map Constraints. IEEE Trans. Instrum. Meas. 2018, 68, 1189–1198. [Google Scholar] [CrossRef]
- Azizyan, M.; Ionut, C.; Romit, R.C. SurroundSense: Mobile phone localization via ambience fingerprinting. In Proceedings of the 15th annual international conference on Mobile computing and networking, Beijing, China, 20–25 September 2009; pp. 261–272. [Google Scholar]
- Sadra, R.; Nourmohammadi, H.; Keighobadi, J. Fuzzy-adaptive constrained data fusion algorithm for indirect centralized integrated SINS/GNSS navigation system. GPS Solut. 2019, 23, 62. [Google Scholar]
- Harris, M.F. Pressure-change theory and the daily barometric wave. J. Meteorol. 1955, 12, 394–404. [Google Scholar] [CrossRef] [2.0.CO;2" target='_blank'>Green Version]
- Zhao, F.; Luo, H.; Zhao, X.; Pang, Z.; Park, H. HYFI: Hybrid floor identification based on wireless fingerprinting and barometric pressure. IEEE Trans. Ind. Inform. 2015, 13, 330–341. [Google Scholar] [CrossRef] [Green Version]
- Shen, X.; Chen, Y.; Zhang, J.; Wang, L.; Dai, G.; He, T. BarFi: Barometer-aided Wi-Fi floor localization using crowdsourcing. In Proceedings of the 2015 IEEE 12th International Conference on Mobile Ad Hoc and Sensor Systems, Dallas, TX, USA, 19–22 October 2015; pp. 416–424. [Google Scholar]
- Ye, H.; Gu, T.; Tao, X.; Lu, J. F-Loc: Floor localization via crowdsourcing. In Proceedings of the 2014 20th IEEE international conference on parallel and distributed systems (ICPADS), Hsinchu, Taiwan, 16–19 December 2014; pp. 47–54. [Google Scholar]
- Chen, T.; Carlos, G. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd Acm Sigkdd International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
- Alsehly, F.; Tughrul, A.; Zankar, S. Indoor positioning with floor determination in multi story buildings. In Proceedings of the 2011 International Conference on Indoor Positioning and Indoor Navigation, Guimaraes, Portugal, 21–23 September 2011; pp. 1–7. [Google Scholar]
- Deng, Z.-l.; Wen-jie, W.; Lian-ming, X. A K-means based method to identify floor in WLAN indoor positioning system. Software 2012, 33, 114–117. [Google Scholar]
- Campos, R.S.; Lisandro, L.; de Campos, M.L. Wi-Fi multi-floor indoor positioning considering architectural aspects and controlled computational complexity. Expert Syst. Appl. 2014, 41, 6211–6223. [Google Scholar] [CrossRef]
- Khaoampai, K.; Kulit, N.N.; Kultida, R. FloorLoc-SL: Floor localization system with fingerprint self-learning mechanism. Int. J. Distrib. Sens. Netw. 2015, 11, 523403. [Google Scholar] [CrossRef]
- Sun, L.; Zheng, Z.; He, T.; Li, F. Multifloor Wi-Fi localization system with floor identification. Int. J. Distrib. Sens. Netw. 2015, 11, 131523. [Google Scholar] [CrossRef] [Green Version]
- Li, Y.; Gao, Z.; He, Z.; Zhang, P.; Chen, R.; El-Sheimy, N. Multi-sensor multi-floor 3D localization with robust floor detection. IEEE Access 2018, 6, 76689–76699. [Google Scholar] [CrossRef]
- Kim, K.S. Hybrid building/floor classification and location coordinates regression using a single-input and multi-output deep neural network for large-scale indoor localization based on Wi-Fi fingerprinting. In Proceedings of the 2018 Sixth International Symposium on Computing and Networking Workshops (CANDARW), Takayama, Japan, 27–30 November 2018; pp. 196–201. [Google Scholar]
- Muralidharan, K.; Khan, A.J.; Misra, A.; Balan, R.K. Barometric phone sensors: More hype than hope! In Proceedings of the 15th Workshop on Mobile Computing Systems and Applications, Santa Barbara, CA, USA, 26–27 February 2014; pp. 1–6. [Google Scholar]
- Liu, K.; Yunjia, W.; Jian, W. Differential barometric altimetry assists floor identification in WLAN location fingerprinting study. In Principle and Application Progress in Location-Based Services; Springer: Cham, Switzerland, 2014; pp. 21–29. [Google Scholar]
- Ye, H.; Gu, T.; Tao, X.; Lu, J. Scalable floor localization using barometer on smartphone. Wirel. Commun. Mob. Comput. 2016, 16, 2557–2571. [Google Scholar] [CrossRef] [Green Version]
- Li, B.; Bruce, H.; Thomas, G. Using barometers to determine the height for indoor positioning. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation, Montbeliard-Belfort, France, 28–31 October 2013; pp. 1–7. [Google Scholar]
- Falcon, W.; Henning, S. Predicting floor-level for 911 calls with recurrent neural networks and smartphone sensor data. arXiv 2017, arXiv:abs/1710.11122. [Google Scholar]
- Banerjee, D.; Sheetal, K.A.; Parikshit, S. Improving floor localization accuracy in 3D spaces using barometer. In Proceedings of the 2015 ACM International Symposium on Wearable Computers, Osaka, Japan, 7–11 September 2015; pp. 171–178. [Google Scholar]
- Haque, F.; Dehghanian, V.; Fapojuwo, A.O.; Nielsen, J. A Sensor Fusion-Based Framework for Floor Localization. IEEE Sens. J. 2019, 19, 623–631. [Google Scholar] [CrossRef]
- Liu, H.; Darabi, H.; Banerjee, P.; Liu, J. Survey of wireless indoor positioning techniques and systems. IEEE Trans. Syst. Man Cybern. Part C Appl. Rev. 2007, 37, 1067–1080. [Google Scholar] [CrossRef]
- Wibisono, W.; Arifin, D.N.; Pratomo, B.A.; Ahmad, T.; Ijtihadie, R.M. Falls detection and notification system using tri-axial accelerometer and gyroscope sensors of a smartphone. In Proceedings of the 2013 Conference on Technologies and Applications of Artificial Intelligence, Taipei, Taiwan, 6–8 December 2013; pp. 382–385. [Google Scholar]
- Xia, H.; Wang, X.; Qiao, Y.; Jian, J.; Chang, Y. Using multiple barometers to detect the floor location of smart phones with built-in barometric sensors for indoor positioning. Sensors 2015, 15, 7857–7877. [Google Scholar] [CrossRef] [PubMed]
- Rabiner, L.R.; Biing-Hwang, J. An introduction to hidden Markov models. IEEE ASSP Mag. 1986, 3, 4–16. [Google Scholar] [CrossRef]
- Viterbi, A. Error bounds for convolutional codes and an asymptotically optimum decoding algorithm. IEEE Trans. Inf. Theory 1967, 13, 260–269. [Google Scholar] [CrossRef] [Green Version]
- Xu, Z.; Wei, J.; Zhu, J.; Yang, W. A robust floor localization method using inertial and barometer measurements. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–8. [Google Scholar]
- Mu, M.; Long, Z. A GNSS/INS-integrated system for an arbitrarily mounted land vehicle navigation device. GPS Solut. 2019, 23, 112. [Google Scholar] [CrossRef]
- Nielsen, D. Tree Boosting With XGBoost-Why Does XGBoost Win Every Machine Learning Competition? Master’s Thesis, NTNU, Trondheim, Norway, 2016. [Google Scholar]
Building_ID | Building_Name | Building_ Location | No_of_Floors | No_of_Underground_Floors | No_of_Aboveground_Floors |
---|---|---|---|---|---|
1 | Bantian J | Shenzhen, China | 4 | 1 | 3 |
2 | Bantian H | Shenzhen, China | 3 | 0 | 3 |
3 | ICT | Beijing, China | 12 | 0 | 12 |
4 | Teaching Building of BUPT | Beijing, China | 4 | 0 | 4 |
Model | Building 1 | Building 2 | Building 3 | Building 4 |
---|---|---|---|---|
Bayesian | 87.6 | 99.3 | 97.1 | 82.6 |
XGBoost | 95.2 | 99.7 | 99.9 | 96.4 |
Areas | F1 | F2 | F3 | Mean |
---|---|---|---|---|
Hollow Areas | 99.8 | 96.0 | 89.3 | 95.3 |
Closed Areas | 99.8 | 99.3 | 99.8 | 99.7 |
Features (a Total of 46) | ||
---|---|---|
Accelerometer | Vertical | Mean, std, var, median, min, max, range, iqr |
Horizontal | Mean, std, var, median, min, max, range, iqr | |
Modulus | Mean, std, var, median, min, max, range, iqr, kurtosis, skewness, rms, integral, double integral, correlation, FFT | |
Gyro | Modulus | Mean, std, var, median, min, max, range, iqr, kurtosis, skewness, rms, integral, double integral, correlation, FFT |
Model | Training Time (ms) | Testing Time (μs) |
---|---|---|
Bayesian | 1022 | 28075 |
XGBoost | 2368 | 438.1 |
© 2020 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 (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Huang, J.; Luo, H.; Shao, W.; Zhao, F.; Yan, S. Accurate and Robust Floor Positioning in Complex Indoor Environments. Sensors 2020, 20, 2698. https://doi.org/10.3390/s20092698
Huang J, Luo H, Shao W, Zhao F, Yan S. Accurate and Robust Floor Positioning in Complex Indoor Environments. Sensors. 2020; 20(9):2698. https://doi.org/10.3390/s20092698
Chicago/Turabian StyleHuang, Jingyu, Haiyong Luo, Wenhua Shao, Fang Zhao, and Shuo Yan. 2020. "Accurate and Robust Floor Positioning in Complex Indoor Environments" Sensors 20, no. 9: 2698. https://doi.org/10.3390/s20092698