Skip to main content
Erschienen in: Wireless Personal Communications 4/2017

Open Access 16.08.2017

Advanced Indoor Positioning Using Zigbee Wireless Technology

verfasst von: Marcin Uradzinski, Hang Guo, Xiaokang Liu, Min Yu

Erschienen in: Wireless Personal Communications | Ausgabe 4/2017

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The paper presents the results of the project which examines the level of accuracy that can be achieved in precision indoor positioning using a new improved Zigbee network fingerprint method. This method can provide more accurate positioning by filtering algorithm for improving the fingerprint Zigbee database accuracy. In our experiment the following two steps have been completed. Firstly, we filtered out the interference data generated in the fingerprint database source data acquisition process what improved the accuracy of establishing the fingerprint database. Next, the nearest algorithm, the weighted nearest algorithm and Bayesian algorithm were used to calculate pedestrian’s location, and then the results are compared and analyzed. As a result, the average error with the improved fingerprint database is less than or equal to 0.81 m in a long distance range. The accuracy of the results got much better compared with the results without filtering. A newly developed ZigBee system by us can be applied to the location based services in a bigger space inside the buildings (distances up to 40 m) or in the underground mines.

1 Introduction

As GPS is essential for outdoor navigation nowadays, locating a mobile user anytime anywhere is still a challenging task, especially in GPS degraded and denied environments such as urban canyons and indoors. Lately, some other positioning techniques have been developed such as wearable dead reckoning (DR) sensors, pseudolites, and MEMS to obtain a seamless indoor/outdoor positioning solution [1].
Wireless sensor networks, such as ZigBee, RFID, Wi-Fi, UWB etc., can provide RSSI (received signal strength indicator), which can be also used for positioning, especially indoor positioning, and therefore for location based services (LBS). For indoor environment, the fingerprint database method is more suitable for calculating the coordinates of a pedestrian location. As the development of modern science and technology, LBS and location-aware computing are increasingly important in the practical application. Currently, GPS positioning system is a mature positioning technology used widely, but microwave signals are easily absorbed, reflected by buildings, and attenuate seriously, so GPS positioning is not suitable for using in the indoor environment. In recent years, as the technology of internet of things develops rapidly, the establishment of wireless sensor networks will be more widely used in the indoor environment. This positioning method can use the signal strength indication between the reference nodes and positioning nodes, and design algorithms for positioning. In the wireless sensor networks, according to whether measuring the distance between the nodes in the positioning process, the positioning modes are divided into two categories which are range-based [2] and range-free positioning modes [37]. This paper describes the indoor positioning method based on RSSI fingerprint database, which is range-free.
The positioning method based on fingerprint database has to go through two stages: the offline fingerprint database establishment and the online positioning. In the offline fingerprint database establishment stage, we need to collect RSSI values of the reference nodes with the known coordinates, to establish the fingerprint database. In the online positioning stage, we compare the real-time RSSI values of the mobile nodes to the fingerprint database’s information to calculate the locations of the mobile nodes. ZigBee system developed by us has been used for such indoor positioning and the accuracy reached 0.51 m (standard deviation) after improving a fingerprint database in a short distance range.

2 Principle of Positioning

The fingerprint database positioning is combined of two processes. The first stage establishes the fingerprint database and the second stage gets the coordinates of a mobile node in positioning area through RSSI values from each reference node. Handling this group RSSI values is shown in Fig. 1, so we can get the location of the mobile node in this area.

2.1 Establishment of the Fingerprint Database

The accuracy of the fingerprint database will directly affect the accuracy of the final positioning results. The high precision fingerprint database is the prerequisites of improving the positioning accuracy. The nearest data point for collecting RSSI value will always overlap when selecting the data point and collecting the RSSI values, so we choose the following sample data processing methods to improve the accuracy of the fingerprint database.
A group of data collected from data sample points is selected and analyzed. Define rssi (n)i be n groups of data of RSSI values from the i-th reference node, namely: Rssi(n)iR \(\subseteq\) SSI, n is the data number of the group collected at this point, i represents RSSI values of the i-th reference node.
In the data collection process, some groups of data may change abruptly because of interference. In order to prevent the harmful data from incorporating into the fingerprint database, an upper and lower threshold binding with experiments is set. The average RSSI value of the collection point which receive from the i-th reference node can be expressed as:
$${\text{u}}_{\text{i}} = \mathop \sum \limits_{1}^{\text{N}} {\text{rssi}}\left( {\text{n}} \right)_{\text{i}} /{\text{N}}$$
(1)
θ as the change factors, i.e.:
$${\text{rssi}}\left( {\text{n}} \right)_{\text{i}}\,\in \left[ {{\text{u}}_{\text{i}} -\uptheta,{\text{u}}_{\text{i}} +\uptheta} \right]$$
(2)
$${\text{rssi}}\left( {\text{n}} \right)_{\text{i}}\, \notin \left[ {{\text{u}}_{\text{i}} -\uptheta,{\text{u}}_{\text{i}} +\uptheta} \right]$$
(3)
When Eq. (2) makes, it indicates that there is no abnormal of data in data collection process. When Eq. (3) makes, it indicates that abnormal occur, it should be removed and replaced by its average \({\text{u}}_{\text{i}}\).
After obtaining data from each data collection point and eliminating the influence of the abnormal, we also found problem in the data collection. It’s that frequency of occurrence of data far away from the data center point at both ends is very low. The emergence of these data is the overlapping of the nearest sampling points, which is incorporated directly into meta date of the fingerprint database and will affect the accuracy of the database. For this case, we can eliminate the influence with a data domain filtering method. The specific approach expresses as follows: Set domain zone of the data collected as {rssi(n)i|[min, max])} in which min and max represent the maximum value and the minimum value of the group of RSSI values collected. Mid is the center value, the central offset is ξ, i.e.: the effective data domain of this group of data is {rssi(n)i|[min,max])}, we select weights of data which appear in [min, Mid-ξ) and (Mid + ξ, max] area in accordance with the order of distance from the center value, and then weight and average, naturally form a new group of data, finally, we weight and average this new group of data and the data in valid data domain in accordance with number of occurrences totally. Calculating as follows:
$${\text{rssi}}\left( {\text{n}} \right)_{{\upvarepsilon0}}\, = \frac{\upvarepsilon}{\uptheta}{\text{rssi}}\left( {\text{n}} \right)_{\upvarepsilon} + \frac{{\uptheta -\upvarepsilon}}{\uptheta}{\text{rssi}}\left( {\text{n}} \right)_{{\upvarepsilon + 1}}$$
(4)
$${\text{rssi}}\left( {\text{n}} \right)_{{\upvarepsilon0 - 1}} \, = \frac{\text{k}}{{{\text{k}} + {\upvarphi }}}{\text{rssi}}\left( {\text{n}} \right)_{{\upvarepsilon - 1}} + \frac{{\upvarphi }}{{{\text{k}} + {\upvarphi }}}{\text{rssi}}\left( {\text{n}} \right)_{{\upvarepsilon0}}$$
(5)
$$K_{0} = k +$$
(6)
rssi(n) ε0 denote the new RSSI values which are the weighted averages of the εth RSSI value and the (ε + 1)th RSSI value. θ is the number of groups of different RSSI values of the data center point on both sides. The farther the distance is from the center the bigger θ is. ε is the number of sequence number of these groups.
The rssi(n) ε0−1 denotes the new RSSI values, which are the weighted averages of the (ε − 1)th RSSI values in accordance with the number of each group of data. φ represents the total number of data of ε, ε + 1 groups, k represents the number of data of original, K0 denotes the new the number of data of ε − 1 groups. After operation of Eqs. (5), (6), and (7), the edges of the value in the source data are weighted and merged, then the data is optimized.
What is shown in Fig. 2 is the fingerprint database establishment process. First the certain number of data sampling points is selected in the positioning area, then fingerprint database source data is collected, and then the filter processing on the source data to eliminate “Invalid” data is performed, finally the fingerprint database of location is established.

2.2 Fingerprint Database Positioning Algorithm

Three locating algorithms to estimate the positions of the user are introduced as follows:
1.
The nearest algorithm
 
The nearest positioning algorithm [8, 9] used a series of sampling points selected in positioning area during the offline stage for positioning. These points are denoted as Fi ∈ {F1, F2,…, Fn}.When the moving nodes get into the positioning area in the online positioning stage, we can get the RSSI location fingerprint sampling values on a real-time basis denoted as S. It contains signal strength values received from m reference nodes, it is S = (S1, S2,…, Sm). Through comparing the distance S and Fi, we can know that the point corresponding to the most nearest position fingerprint is the positioning point. Then we choose the Euclidean distance to measure the proximity of the two. Calculated as follows:
$${\text{Dn}} = \sqrt {\mathop \sum \limits_{{{\text{i}} = 1}}^{\text{m}} \left( {{\text{Si}} - {\text{RSSIi}}} \right)^{2} }$$
(7)
The minimum Euclidean distance is the estimated position of the positioning node L = min D(S, Fi).
2.
The weighted nearest algorithm
 
Taking into account the complex indoor environment, measurement error is large. So we use the weighting factor 1/Dj to weight and average the coordinate values of the location fingerprint information points among the smaller K Euclidean distance. Closer the distance between the fingerprint information points, the larger the weight [10]. Its weight value can be expressed as
$${\text{W}}_{\text{j}} = \frac{{1/{\text{Dj}}}}{{\mathop \sum \nolimits_{{{\text{j}} = 1}}^{\text{k}} 1/{\text{Dj}}}}$$
(8)
So, the user’s location can be calculated using the following formula:
$${\text{L}} = \mathop \sum \limits_{{{\text{j}} = 1}}^{\text{k}} {\text{W}}_{\text{j}} *\,{\text{L}}_{\text{j}}$$
(9)
Wj is the weight value of the j-th fingerprint information point, and Lj is the coordinate of the j-th fingerprint information point.
3.
Bayesian algorithm
 
Bayesian algorithm [9] obtain the position fingerprint feature of the sampling points in the off-line stage, it is different from the RSSI values of the nearest algorithm, the location fingerprint characteristic is the probability distribution of all the received RSSI values of beacon nodes received from the sampling point. We can obtain the distribution of RSSI values of each beacon node. A RSSI location fingerprint sample can be denoted as S. It contains signal strength values received from m reference nodes, it is S = (S1, S2,…, Sm). Bayesian algorithm is to obtain the real-time posterior probability of each position where the RSSI location fingerprint sample S in the pointing area, this can be denoted as P(Li|S). According to Bayes theory, posterior probability can be further deduced as the following equation:
$${\text{P}}\left( {\text{Li|S}} \right) = \frac{{{\text{P}}\left( {\text{S|Li}} \right)*{\text{P}}\left( {\text{Li}} \right)}}{{{\text{P}}\left( {\text{S}} \right)}} = \frac{{{\text{P}}\left( {\text{S|Li}} \right)*{\text{P}}\left( {\text{Li}} \right)}}{{\sum\nolimits_{{{\text{k}} \in {\text{L}}}} {} {\text{P}}\left( {\text{S|Lk}} \right)*{\text{P}}\left( {\text{Lk}} \right)}}$$
(10)
In the above equation, \({\text{P}}\left( {\text{S|Li}} \right)\) is called the conditional probability of the real-time RSSI location fingerprint sample S in the case of some locations known. \({\text{P}}\left( {\text{Li}} \right)\) is called priori probability in location area of Li. Since users may be at any location in the positioning area, we can think that P(Li) obeys the uniform distribution. Because the received signal strength of each beacon node is independent and irrelevant, so \({\text{P}}\left( {\text{S|Li}} \right)\) calculation can be expressed as:
$${\text{P}}\left( {\text{S|Li}} \right) = {\text{P}}\left( {\text{S|1L1}} \right)*{\text{P}}\left( {\text{S2|L2}} \right)* \cdots *{\text{P}}\left( {\text{Sm|Li}} \right)$$
(11)
We can use Gaussian probability distribution expressing the distribution of RSSI values at the certain position, then:
$${\text{P}}\left( {\text{S|Li}} \right) = \frac{1}{{\sqrt {2\uppi*\upsigma} }}{ \exp }\left[ { - \frac{{{\text{s}} - {\text{u}}^{2} }}{{2\upsigma^{2} }}} \right]$$
(12)
where μ and δ respectively represent the mean and standard deviation of the signal strength. We use the maximum posteriori probability to estimate the location of the users, that is L = max P(Li|S).

3 Experimental Results and Analysis

3.1 The Deployment of Experimental Environment

The selection rule of the density of collection points of the fingerprint database data: the more intensive the selection of the fingerprint data, the higher positioning accuracy [11]. When using the cc2430 system of Texas Instrument and selecting a different interval data collection points in the test area, we find that if the intervals between the collection points are less than 0.5 m, RSSI values from the four references to nodes nearby several nearest data sampling points are the same. So in the experiment, we select 1.6 m as the sampling point interval to establish a fingerprint database.
In the experimental area (42.5 m × 4.96 m, we select 108 data sampling points shown in Fig. 3), the white points denote the selected fingerprint data sampling points, the interval between the points is 1.6 m. Each point collected 150 groups of data, and then we extract RSSI values from the sampling data of each reference node, calculate its mean and variance and establish the positioning fingerprint database of off-line stage. In order to eliminate the anthropogenic influences of operating devices in the beginning and the end phases of the sampling of each data sample point, we remove 25 groups of data which is in the front and rear of the 150 collected fingerprint information point data respectively, and each sampling point keep only 100 groups of data.
We first removed 25 groups of data which is in the front and the rear of the 150 collected fingerprint information point data respectively, the remaining 100 groups of data, and there were some jump points. If these points are included in the database, the accuracy of the fingerprint database will be affected.
After processing average threshold values and selecting valid data domains to above sampling data, abnormal data was filtered by the averaging threshold method, and the offset data within a certain range was optimized by the method of selecting valid data domains.
After processing the collected data in the method of selecting valid data domains, the fingerprint data is centralized and the edge scatter data reduces.

3.2 Positioning Results

After establishing the fingerprint database and choosing actual route, we calculate the real time positions in the location area. In Fig. 4, the red line denotes actual route (with modeled 1-second positions for comparison), and blue line stands for Zigbee positioning results according to the fingerprint database.
Based on previous experiments we know that no matter what algorithm is used to calculate the position, the positioning accuracy of the filtered sampling data is higher than the accuracy without filtering. In this experiment we also used the nearest algorithm and Bayesian algorithm, but the best results in this case were obtained using the weighted nearest algorithm what is shown in Fig. 5 and Table 1.
Table 1
Summary of Zigbee positioning errors (weighted nearest algorithm)
 
dx
dy
Min (cm)
4
0
Max (cm)
152
178
Average (cm)
78
81
SD (cm)
13
51
All results show that the standard deviation with the improved fingerprint database is less than or equal to 0.51 m in a long distance range.

4 Conclusions

The fingerprint database positioning can provide more accurate positioning results, and the accuracy of establishing fingerprint database will affect the accuracy of indoor positioning. In this paper, we put forward a new method about the average threshold and the effective data domain filtering method to optimize the fingerprint database of ZigBee. This new ZigBee chip based on Texas Instrument cc2530 system has been developed by our navigation group at Nanchang University, Nanchang, China, in the year 2013. Conducted indoor experiment proved that the distance achieved by this hardware has been extended to nearing 40 m without decreasing the positioning accuracy. The weighted nearest algorithm was chosen and used to calculate user’s location, and then the results were compared and analyzed. As a result, the positioning accuracy can be improved and achieved within 0.51 m (standard deviation) in the optimal case, so the system can be applied in a bigger space inside the buildings, underground mines or in the other location based services.

Acknowledgements

The paper was supported by the project of the Agreement on Scientific and Technological Cooperation between the Government of the Republic of Poland and the Government of the People’s Republic of China-“A Research of Key Technology of MEMS/IMU/Radio Frequency Indoor Positioning”.
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://​creativecommons.​org/​licenses/​by/​4.​0/​), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
Literatur
1.
Zurück zum Zitat Guo, H., Uradzinski, M., Yin, H., & Min, Y. (2015). Indoor positioning based on foot-mounted IMU. Bulletin of the Polish Academy of Sciences-Technical Sciences, 63(3), 629–634.CrossRef Guo, H., Uradzinski, M., Yin, H., & Min, Y. (2015). Indoor positioning based on foot-mounted IMU. Bulletin of the Polish Academy of Sciences-Technical Sciences, 63(3), 629–634.CrossRef
2.
Zurück zum Zitat Yan, J., Tiberius, C. C. J. M., Janssen, G. J. M., Teunissen, P. J. G., & Bellusci, G. (2013). Review of range-based positioning algorithms. IEEE Aerospace and Electronic Systems Magazine, 28(8), 2–27.CrossRef Yan, J., Tiberius, C. C. J. M., Janssen, G. J. M., Teunissen, P. J. G., & Bellusci, G. (2013). Review of range-based positioning algorithms. IEEE Aerospace and Electronic Systems Magazine, 28(8), 2–27.CrossRef
3.
Zurück zum Zitat Maddio, S., Passafiume, M., Cidronali, A., & Manes, G. (2015). A distributed positioning system based on a predictive fingerprinting method enabling sub-metric precision in IEEE 802.11 networks. IEEE Transactions on Microwave Theory and Techniques, 63(12), 4567–4580.CrossRef Maddio, S., Passafiume, M., Cidronali, A., & Manes, G. (2015). A distributed positioning system based on a predictive fingerprinting method enabling sub-metric precision in IEEE 802.11 networks. IEEE Transactions on Microwave Theory and Techniques, 63(12), 4567–4580.CrossRef
4.
Zurück zum Zitat Weike, C., Wenfeng, L., Heng, S., & Bing, Y. (2006). Weighted centroid localization algorithm based on RSSI for wireless sensor networks. Journal of Wuhan University of Technology (Transportation Science & Engineering), 30(2), 265–268. Weike, C., Wenfeng, L., Heng, S., & Bing, Y. (2006). Weighted centroid localization algorithm based on RSSI for wireless sensor networks. Journal of Wuhan University of Technology (Transportation Science & Engineering), 30(2), 265–268.
5.
Zurück zum Zitat Lott, M., & Forkel, I. (2001). A multi-wall-and-floor model for indoor radio propagation. In IEEE vehicular technology conference 53rd (Vol. 1, pp. 464–468). Lott, M., & Forkel, I. (2001). A multi-wall-and-floor model for indoor radio propagation. In IEEE vehicular technology conference 53rd (Vol. 1, pp. 464–468).
6.
Zurück zum Zitat Morales, J., Akopian, D., & Agaian, S. (2016). Mitigating anomalous measurements for indoor wireless local area network positioning. IET Radar, Sonar and Navigation, 10(7), 1220–1227.CrossRef Morales, J., Akopian, D., & Agaian, S. (2016). Mitigating anomalous measurements for indoor wireless local area network positioning. IET Radar, Sonar and Navigation, 10(7), 1220–1227.CrossRef
7.
Zurück zum Zitat Patwari, N., Hero, A. O., Perkins, M., Correal, N. S., & O’Dea, R. J. (2003). Relative location estimation in wireless sensor networks. IEEE Transactions on Signal Processing, 51(8), 2137–2147.CrossRef Patwari, N., Hero, A. O., Perkins, M., Correal, N. S., & O’Dea, R. J. (2003). Relative location estimation in wireless sensor networks. IEEE Transactions on Signal Processing, 51(8), 2137–2147.CrossRef
8.
Zurück zum Zitat Wang, H., Zhao, Z., Hu, J., Qu, Z., & Feng, H. (2016). Study on improvement of fingerprint matching algorithm in wireless LAN based indoor positioning system. In 2016 17th IEEE/ACIS international conference on software engineering, artificial intelligence, networking and parallel/distributed computing (SNPD) (pp. 275–280), Shanghai. Wang, H., Zhao, Z., Hu, J., Qu, Z., & Feng, H. (2016). Study on improvement of fingerprint matching algorithm in wireless LAN based indoor positioning system. In 2016 17th IEEE/ACIS international conference on software engineering, artificial intelligence, networking and parallel/distributed computing (SNPD) (pp. 275–280), Shanghai.
9.
Zurück zum Zitat Zhang, X., Guo, H., Wu, H., & Uradzinski, M. (2014). New indoor fingerprint database positioning algorithm using nonlinear interpolation and particle filter. Geodesy and Cartography, 63(2), 219–233.CrossRef Zhang, X., Guo, H., Wu, H., & Uradzinski, M. (2014). New indoor fingerprint database positioning algorithm using nonlinear interpolation and particle filter. Geodesy and Cartography, 63(2), 219–233.CrossRef
10.
Zurück zum Zitat Patwari, N., Hero, A. O., & Costa, J. A. (2007). Learning sensor location from signal strength and connectivity. Advances in Information Security, 30(Part I), 57–81. Patwari, N., Hero, A. O., & Costa, J. A. (2007). Learning sensor location from signal strength and connectivity. Advances in Information Security, 30(Part I), 57–81.
11.
Zurück zum Zitat Li, B., Wang, Y., Lee, H. K., Dempster, A., & Rizos, C. (2005). Method for yielding a database of location fingerprints in WLAN. IEEE Proceedings Communications, 152(5), 580–586.CrossRef Li, B., Wang, Y., Lee, H. K., Dempster, A., & Rizos, C. (2005). Method for yielding a database of location fingerprints in WLAN. IEEE Proceedings Communications, 152(5), 580–586.CrossRef
Metadaten
Titel
Advanced Indoor Positioning Using Zigbee Wireless Technology
verfasst von
Marcin Uradzinski
Hang Guo
Xiaokang Liu
Min Yu
Publikationsdatum
16.08.2017
Verlag
Springer US
Erschienen in
Wireless Personal Communications / Ausgabe 4/2017
Print ISSN: 0929-6212
Elektronische ISSN: 1572-834X
DOI
https://doi.org/10.1007/s11277-017-4852-5

Weitere Artikel der Ausgabe 4/2017

Wireless Personal Communications 4/2017 Zur Ausgabe

Neuer Inhalt