Indoor Positioning Based on Bluetooth Low-Energy Beacons Adopting Graph Optimization
Abstract
:1. Introduction
- It is suitable for positioning adopting a wide range of mobile devices, including both Android devices and IOS devices. While Wi-Fi-based positioning is only suitable for Android devices, because the API of IOS does not provide the Wi-Fi scanning results.
- The deployment cost for BLE beacons is low. Once the beacons are deployed, it can continuously work for a long duration (e.g., half a year) using their inner batteries, because the beacon nodes have low power consumption.
- The least square estimation (LSE) method [9]. By minimize the square sums of the distance errors, an optimal position can be found.
- The three-border method. By establishing the equations which represent the distance between the user and the beacons, the user’s position can be found by solving the equations.
- The centroid method. A polygon is firstly defined according to the vertexes defined by the intersecting points from the distance arcs. Then the centroid is regarded as the user’s position.
2. Related Work
2.1. The BLE RSSI Features
- The RSSI can change very dramatically with even a very small spatial change. As each of the broadcasting channels are narrow banded, the BLE signals have fast fading nature. Also, the indoor environment is very complex with many surfaces (e.g., walls, floors and so on), where the BLE signals can reflect. This can further cause multipath fades and add instability for the RSSI. In an experiment performed in [15], the noise and fading effect can even domain the RSSI with longer distance to the beacons.
- The RSSI can be reported for multiple times or not reported at all during a single scan. As the advertisement is repeated on three channels and if a scan is longer than a broadcasting interval, multiple reporting on the same beacon can be seen. Also, if the RSSI from all the three channels is below the environment noise due to fading effect, no reporting of the beacon is available for the scan. This can cause inconsistency for adjacent scans in time.
2.2. Pedestrian Dead Reckoning
2.3. Graph-Based Optimization
- In the front-end tracking procedure, sensors on the robots are adopted to find constraints between the poses at different times. For example, features in adjacent image frames are adopted to find position and attitude constraints between poses (visual odometry) [21]. These constraints can generate a sequence of initial poses at different times (trajectory). However, this trajectory has accumulative error. If other types of sensor measurements (other than odometry observations) are available, more constraints can be formed, and the trajectory can be estimated more accurately using the back-end optimization.
- The back-end optimization procedure is generally establishing a cost function and then minimize it. The previously mentioned odometry observations and all other available observations are adopted to generate constraints between pose variables. Each constraint denotes a term in the cost function, which represents the errors between the sensor observation and the observation derived from pose variables. The cost function has a least square form which is in essence representing how the observations match the estimation. By finding the best match (minimizing the cost function), the optimal poses (trajectory) and maps can be found. The establishment of constraints and optimization process in our case is explained in detail in the next section.
3. Method
3.1. Fundamentals of the Least Square Optimization Framework
3.1.1. Formation of Least Squares
3.1.2. Levenberg-Marquardt Based Graph Optimization
- is the set of many variables to be estimated, and it is ;
- is the set for possible k, if we assume there are n variables in the factor graph, then it can be written as ;
- denotes the information matrix for the constraints (or square error terms). Here the information matrix corresponds to the inverse of the noise variance in Equation (3);
- represents the errors from constraints. As the error is dependent on one or more variables, it can be written as:
- Expand the using first-order Taylor expansion at the variable value (value for the previous iteration):
- Calculate the derivation of Equation (9) over the minor increment and makes it equal to zero (get the minimized error). We can get
- Continue step 1 and step 2 until the increment norm is less than a pre-defined threshold. Then the current iteration of variable value is considered optimal for the variables.
3.2. BLE Beacon-Based Graph Optimization
3.2.1. Cost function for BLE Beacon Implementation
- The PDR constraints. Similar to Figure 3, the PDR constraints are between adjacent poses in time.
- The beacon position constraints. New variables representing beacon positions are added to the factor graph in Figure 4. For example, the distance between the pose variable and the beacon position variable is derived from the RSSI according to the path-loss model.
- The fingerprints matching constraints. These types of constraints are between two pose variables whose collected fingerprints are with vicinity. For example, Figure 4 shows that the fingerprint collected at and are with vicinity.
3.2.2. Error Terms for PDR-Based Constraints
3.2.3. Error Terms for Beacon Position Constraints
3.2.4. Error Terms for Fingerprint Matching Constraints
- is the position distance calculated from the pose variables and .
- and are the two position distance thresholds. If the position distance is less than , then the error should be 0, because we allow some position differences for high correlation poses. If the position distance is larger than , the error is considered to reach an upper bound .
- If the position distance is between the two position thresholds, the error grows linearly with the position distance .
4. Experiment
4.1. Settings
4.2. Accuracy for Positioning the Beacons
4.3. Accuracy for Beacon Based Positioning
4.3.1. Accuracy for Range-Based Positioning
4.3.2. Accuracy for Fingerprinting-Based Positioning
4.3.3. Accuracy Comparisons for Fingerprinting Based Positioning and Range-Based Positioning
4.3.4. Accuracy Comparisons of the Proposed Method and Another Method
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
Abbreviations
BLE | Bluetooth low-energy |
PbS | position-based service |
RFM | reference fingerprinting map |
RSSI | received signal strength indication |
PDR | pedestrian dead reckoning |
GNSS | global navigation satellite system |
APs | access points |
RF | radio frequency |
LSE | least square estimation |
kNN | k-nearest neighbor |
IMUs | inertial measurement units |
ZVU | zero-velocity update |
RM | radio map |
SLAM | simultaneous localization and mapping |
EKF | extended Kalman filter |
CDFs | cumulative distribution functions |
References
- Ruiz, A.R.J.; Granja, F.S. Comparing Ubisense, BeSpoon, and DecaWave UWB Location Systems: Indoor Performance Analysis. IEEE Trans. Instrum. Meas. 2017, 66, 2106–2117. [Google Scholar] [CrossRef]
- Martinez-Sala, A.S.; Losilla, F.; Sánchez-Aarnoutse, J.C.; García-Haro, J. Design, Implementation and Evaluation of an Indoor Navigation System for Visually Impaired People. Sensors 2015, 15, 32168–32187. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Bagosi, T.; Baruch, Z. Indoor localization by WiFi. In Proceedings of the IEEE 7th International Conference on Intelligent Computer Communication and Processing, ICCP 2011, Cluj-Napoca, Romania, 25–27 August 2011; pp. 449–452. [Google Scholar] [CrossRef]
- Park, J.G.; Charrow, B.; Curtis, D.; Battat, J.; Minkov, E.; Hicks, J.; Teller, S.; Ledlie, J. Growing an Organic Indoor Location System. In Proceedings of the 8th International Conference on Mobile Systems, Applications, and Services, Boston, MA, USA, 6–9 June 2004; ACM: New York, NY, USA, 2010; pp. 271–284. [Google Scholar] [CrossRef]
- Alarifi, A.; Al-Salman, A.; Alsaleh, M.; Alnafessah, A.; Al-Hadhrami, S.; Al-Ammar, M.A.; Al-Khalifa, H.S. Ultra Wideband Indoor Positioning Technologies: Analysis and Recent Advances. Sensors 2016, 16, 707. [Google Scholar] [CrossRef] [PubMed]
- Hazas, M.; Hopper, A. Broadband ultrasonic location systems for improved indoor positioning. IEEE Trans. Mob. Comput. 2006, 5, 536–547. [Google Scholar] [CrossRef] [Green Version]
- Godha, S.; Lachapelle, G. Foot mounted inertial system for pedestrian navigation. Meas. Sci. Technol. 2008, 19, 75202. [Google Scholar] [CrossRef]
- Alvarez, J.C.; Alvarez, D.; López, A.; González, R.C. Pedestrian Navigation Based on a Waist-Worn Inertial Sensor. Sensors 2012, 12, 10536–10549. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Wang, Y.; Yang, X.; Zhao, Y.; Liu, Y.; Cuthbert, L. Bluetooth positioning using RSSI and triangulation methods. In Proceedings of the 2013 IEEE 10th Consumer Communications and Networking Conference (CCNC), Las Vegas, NV, USA, 11–14 January 2013; pp. 837–842. [Google Scholar] [CrossRef]
- Cinefra, N. An Adaptive Indoor Positioning System Based on Bluetooth Low Energy RSSI. Ph.D. Thesis, Politecnico di Milano, Milan, Italy, January 2013. [Google Scholar]
- Zhuang, Y.; Yang, J.; Li, Y.; Qi, L.; El-Sheimy, N. Smartphone-Based Indoor Localization with Bluetooth Low Energy Beacons. Sensors 2016, 16. [Google Scholar] [CrossRef] [PubMed]
- Davidson, R.; Akiba; Cufi, C.; Townsend, K. Getting Started with Bluetooth Low Energy; O’Reilly Media: Sebastopol, CA, USA, 2014; Chapter 1. [Google Scholar]
- Faragher, R.; Harle, R. An analysis of the accuracy of bluetooth low energy for indoor positioning applications. In Proceedings of the 27th International Technical, Clearwater, FL, USA, 8–12 September 2014. [Google Scholar]
- Čabarkapa, D.; Grujić, I.; Pavlović, P. Comparative analysis of the Bluetooth Low-Energy indoor positioning systems. In Proceedings of the 2015 12th International Conference on Telecommunication in Modern Satellite, Cable and Broadcasting Services (TELSIKS), Niš, Serbia, 14–17 October 2015; pp. 76–79. [Google Scholar] [CrossRef]
- Dong, B.; Burgess, T.; Neuner, H. indoo.rs CaLibre—Unsupervised database free RSSI calibration indoor navigation. In Proceedings of the 2017 European Navigation Conference (ENC), Lausanne, Switzerland, 9–12 May 2017; pp. 198–205. [Google Scholar] [CrossRef]
- Nilsson, J.O.; Gupta, A.K.; Handel, P. Foot-mounted inertial navigation made easy. In Proceedings of the IPIN 2014—2014 International Conference on Indoor Positioning and Indoor Navigation, Busan, Korea, 27–30 October 2014; pp. 24–29. [Google Scholar] [CrossRef]
- Jiménez, A.R.; Seco, F.; Prieto, J.C.; Guevara, J. Indoor pedestrian navigation using an INS/EKF framework for yaw drift reduction and a foot-mounted IMU. In Proceedings of the 2010 7th Workshop on Positioning, Navigation and Communication, Dresden, Germany, 3 November 2010; pp. 135–143. [Google Scholar] [CrossRef]
- Lan, K.; Shih, W. Using simple harmonic motion to estimate walking distance for waist-mounted PDR. In Proceedings of the 2012 IEEE Wireless Communications and Networking Conference (WCNC), Paris, France, 1–4 April 2012; pp. 2445–2450. [Google Scholar] [CrossRef]
- Li, B.; Gallagher, T.; Dempster, A.G.; Rizos, C. How feasible is the use of magnetic field alone for indoor positioning? In Proceedings of the 2012 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sydney, Australia, 13–15 November 2012; pp. 1–9. [Google Scholar] [CrossRef]
- Kümmerle, R.; Grisetti, G.; Strasdat, H.; Konolige, K.; Burgard, W. G2o: A general framework for graph optimization. In Proceedings of the IEEE International Conference on Robotics and Automation, Shanghai, China, 9–13 May 2011; pp. 3607–3613. [Google Scholar] [CrossRef]
- Scaramuzza, D.; Fraundorfer, F. Visual Odometry [Tutorial]. IEEE Robot. Autom. Mag. 2011, 18, 80–92. [Google Scholar] [CrossRef]
- Lourakis, M.I.A.; Argyros, A.A. SBA: A Software Package for Generic Sparse Bundle Adjustment. ACM Trans. Math. Softw. 2009, 36, 1–30. [Google Scholar] [CrossRef]
- Albowicz, J. Receive position estimation in sensor network. In Proceedings of the IEEE International Conference on Network Protocols, Riverside, CA, USA, 11–14 November 2001. [Google Scholar]
- Gu, Y.; Zhou, C.; Wieser, A.; Zhou, Z. WiFi-based trajectory alignment, calibration and crowdsourced site survey using smart phones and foot-mounted IMUs. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–6. [Google Scholar] [CrossRef]
- Nowicki Michałand Skrzypczyński, P. Indoor Navigation with a Smartphone Fusing Inertial and WiFi Data via Factor Graph Optimization. In Mobile Computing, Applications, and Services; Sigg, S., Nurmi, P., Salim, F., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 280–298. [Google Scholar]
- Smart Beacon. Available online: http://www.brtbeacon.com/main/product_mall.shtml (accessed on 10 October 2018).
Thresholds | Value |
---|---|
8 dBm | |
5 m | |
20 m | |
1 |
Cost Function Error Terms | Mean Error (m) | Median Error (m) | Maximum Error (m) |
---|---|---|---|
PDR + beacon position | 1.45 | 1.42 | 3.94 |
PDR + beacon position + fingerprint matching | 1.27 | 1.28 | 3.07 |
Cost Function Error Terms | Mean Error (m) | Median Error (m) | Maximum Error (m) |
---|---|---|---|
PDR + beacon position | 2.68 | 2.65 | 6.39 |
PDR + beacon position + fingerprint matching | 2.26 | 2.31 | 4.28 |
Beacon Positions | Mean Error (m) | 50% Error(m) | 70% Error (m) |
---|---|---|---|
ground truth positions (dense) | 2.66 | 2.11 | 3.95 |
estimated positions (dense) | 3.25 | 2.92 | 3.18 |
ground truth positions (sparse) | 4.03 | 4.02 | 5.09 |
estimated positions (sparse) | 4.69 | 4.66 | 5.90 |
Dense Beacon Situation (m) | Sparse Beacon Situation (m) | |
---|---|---|
range-based | 3.25 | 4.69 |
fingerprinting-based | 2.78 | 4.11 |
© 2018 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
Zuo, Z.; Liu, L.; Zhang, L.; Fang, Y. Indoor Positioning Based on Bluetooth Low-Energy Beacons Adopting Graph Optimization. Sensors 2018, 18, 3736. https://doi.org/10.3390/s18113736
Zuo Z, Liu L, Zhang L, Fang Y. Indoor Positioning Based on Bluetooth Low-Energy Beacons Adopting Graph Optimization. Sensors. 2018; 18(11):3736. https://doi.org/10.3390/s18113736
Chicago/Turabian StyleZuo, Zheng, Liang Liu, Lei Zhang, and Yong Fang. 2018. "Indoor Positioning Based on Bluetooth Low-Energy Beacons Adopting Graph Optimization" Sensors 18, no. 11: 3736. https://doi.org/10.3390/s18113736
APA StyleZuo, Z., Liu, L., Zhang, L., & Fang, Y. (2018). Indoor Positioning Based on Bluetooth Low-Energy Beacons Adopting Graph Optimization. Sensors, 18(11), 3736. https://doi.org/10.3390/s18113736