Abstract

This paper studies the statistical errors for the fingerprint-based RADAR neighbor matching localization with the linearly calibrated reference points (RPs) in logarithmic received signal strength (RSS) varying Wi-Fi environment. To the best of our knowledge, little comprehensive analysis work has appeared on the error performance of neighbor matching localization with respect to the deployment of RPs. However, in order to achieve the efficient and reliable location-based services (LBSs) as well as the ubiquitous context-awareness in Wi-Fi environment, much attention has to be paid to the highly accurate and cost-efficient localization systems. To this end, the statistical errors by the widely used neighbor matching localization are significantly discussed in this paper to examine the inherent mathematical relations between the localization errors and the locations of RPs by using a basic linear logarithmic strength varying model. Furthermore, based on the mathematical demonstrations and some testing results, the closed-form solutions to the statistical errors by RADAR neighbor matching localization can be an effective tool to explore alternative deployment of fingerprint-based neighbor matching localization systems in the future.

1. Introduction

Motivated by the increasing interests in the location-based ubiquitous computing and context-awareness in the future heterogeneous wireless personal networks (WPN), the seamless and accurate localization systems have caught significant attention in the recent decade [1, 2]. Although the widely-used Global Positioning System (GPS) and cellular networks (e.g., E911) can provide enough accuracy for the existing location-based services (LBSs) in the outdoor environments [3, 4], the performance could be seriously deteriorated in the indoor or underground environments owing to the unavailability of locating signals which are always blocked by the buildings or grounds [5, 6].

To solve this problem, the world’s first Wi-Fi fingerprint-based localization system for the indoor environments, the RADAR [7], was proposed by the Microsoft Research in the year 2000. After that, an increasing number of universities and institutes began to study the indoor accurate and real-time neighbor matching localization [815]. In these works, the indoor straight corridor scenario with the linearly-calibrated reference points (RPs) is selected as the test-bed due to the simple received signal strength (RSS) propagation characteristic [16] and the purposes of people’s path navigation and activity learning in target area [8]. Nowadays, the most representative indoor localization systems are Carnegie Mellon’s CMU-PM and CMU-TMI [9]; MIT’s Cricket which has provided a practical solution to the improvement of localization scalability, privacy, and agility [10]; Bayesian network-based Nibble localization system which relies on the signal to noise ratio (SNR) to conduct the position matching [11]; Maryland’s Horus which has been recognized as the archetype of the fingerprint-based probabilistic localization [12]; and RWTH Aachen University’s Markov localizer [13]. Among them, the Wi-Fi fingerprint-based neighbor matching localization (e.g., the RADAR) is addressed as one of the best approaches to perform the position matching by the reasons of low infrastructure and device cost and free license to access 2.4 GHz ISM band [14, 15].

The RADAR neighbor matching localization contains the offline phase (or the site-survey phase) and the online phase (or the localization phase) [7]. More specifically, in the offline phase, we place several access points (APs) in target area to provide the sufficient RSS coverage and also record the RSS fingerprints at each calibrated RP to construct a radio map corresponding to the target area. The radio map can be described as the mapping relations between the RSS distributions and the location coordinates. Then, in the online phase, for the newly recorded RSSs, we conduct the position matching by locating the target’s position at the geometric center of the K nearest neighboring RPs (or the neighbors). The RPs are regarded as the neighbors if their RSS fingerprints have the smallest distances to the newly-recorded RSSs.

The major contribution of this paper is that we derive out the closed-form analytical result of the statistical errors by RADAR neighbor matching localization. With these solutions, we can answer the following two questions: (i) how can the statistical errors vary with respect to the number and interval of RPs? And (ii) how can we obtain the optimized deployment of RPs to achieve the smallest statistical errors?

This paper is organized as follows. In Section 2, we present some related works on the neighbor matching localization in indoor Wi-Fi environment. In Section 3, we show the detailed analytical derivation for the closed-form solutions to the statistical errors by RADAR neighbor matching localization. In Section 4, the numerical and experimental results are provided to verify the analytical results in Section 3. Finally, we conclude this paper and also address some future directions in Section 5.

As the most representative neighbor matching localization system, the RADAR [7] utilizes the nearest neighbor (KNN) algorithm to infer target’s position in the buildings. With the assumption that the recorded RSS is decreased with its distance to the AP, the RADAR system is considered as a deterministic geometrical approach for the position matching [17].

The Horus [12] has been recognized as one of the most sophisticated probabilistic matching localization systems. With the help of joint clustering technique, Horus can achieve the higher accuracy of 90 percent within 2 m compared to the RADAR. Moreover, with the technique of Bayesian inference and decision, the increasing number of fingerprints can further improve estimation for the RSS means and deviations and results in higher accuracy of the probabilistic matching localization.

Similar to the RADAR, the authors in [18] provided an efficient solution to reduce the cost in the offline phase. In many large-scale or difficult-to-access areas, the RSS fingerprint recording seems to be unpractical and unfeasible. To solve this problem, instead of recording the whole fingerprints, only a small number of RPs are selected for the fingerprint recording, while the complete radio map is derived by using the RSS propagation models corresponding to the target area.

The neural network has also been suggested as an effective way to perform the position matching. The authors in [1922] proposed the neural network-based classifiers to infer the target’s coordinates. As discussed in [19], the neural network can achieve an accuracy of 70 percent within 1 m errors which is higher than the deterministic and probabilistic approaches in [7, 12]. However, the major disadvantage of the neural network-based localization is that the accuracy heavily relies on the classifier training. In [20], the one-step secant training with multilayer perceptron architecture has been considered for the training process. Other similar work on neural network-based neighbor matching localization can be found in [21, 22].

The authors in [23] addressed another concept of neighbor matching localization. Instead of locating the target at the precise coordinates, the objective is to infer the subarea where the target is most likely to be located. For each AP, we record the AP’s location and MAC address and also its coverage range (or the covered subareas) during the offline phase. Then, in the online phase, with respect to each localization request, we conduct the neighbor matching to the subareas corresponding to the hearable APs by the receiver. Stemmed from this idea, a variety of real-time locating system (RTLS) devices have been developed by Ekahao company [24]. By using the tags attached to the target to measure the RSSs from hearable APs, the Ekahao devices have achieved the accuracy with an error of 3 meters in practical use.

3. Statistical Errors by RADAR Neighbor Matching Localization

3.1. RADAR Localization

The RADAR system provides the basic model for the neighbor matching localization, as described in the following: where is the estimated position of test point (TP); is the set of neighbors; is the 2-dimentional coordinates of ; and is the number of neighbors. In (1), we can find that is calculated from the number and coordinates of neighbors (i.e., and ). Therefore, in this paper, we focus on the mathematical relations between the statistical errors and deployment of RPs for the RADAR neighbor matching localization. The other parameters and notations for the following analysis are listed in Parameters and Notations section.

3.2. Linear RP Calibration Model

The basic linear RP calibration model discussed in this paper is shown in Figure 1. In this model, the RPs are assumed to be uniformly calibrated in a linear target area with the same interval . The distances from the origin to the AP and TP are and . For simplicity, we assume that the means of received power at and can be calculated by a simple logarithmic RSS propagation model (i.e., and , where and stand for the path loss in the first meter and the path loss exponent, resp.).

In concrete terms, we calculate the statistical errors by RADAR localization following the two main steps below: (i) deducing the closed-form solutions to the errors with the assumption that the real position of the TP is at and (ii) calculating the expectation of the closed-form errors with respect to and .

3.3. Statistical Errors by One-Neighbor Matching Localization

Based on the logarithmic RSS propagation model, in this situation, can only be located at or which has the smallest RSS difference to the mean of received power at . Therefore, we have two cases to be discussed as follows.

3.3.1. Case 1: with Error

To locate at , the relations should be satisfied. Therefore, the mathematical relations between and can be described as Equation (2) can be simplified as Based on (2) and (3), one has At this point, by assuming that satisfies the uniform distribution in the range of , we can calculate where . Then, we continue to calculate the expectation with respect to to obtain the confidence probability for this case (i.e., ): By Taylor expansion of in (7), can be simplified into (8):

3.3.2. Case 2: with Error

Owing to the complementary property, the confidence probability in this case (i.e., ) can be simply calculated by the following: Therefore, the expected error by RADAR one-neighbor matching localization (i.e., ) can be calculated by where and stand for the expected errors in Case 1 and Case 2, respectively.

3.4. Statistical Errors by Two-Neighbor Matching Localization

From the logarithmic RSS propagation model, the distance between and can only be or . Therefore, we have the following two cases to be discussed in this situation.

3.4.1. Case 1: with Error

In this case, to satisfy the relations of , we should require By calculating (11), one obtains From (11) and (12), we have Similarly, we assume that the satisfies the uniform distribution in the range of . Then, we can calculate where . Then, the confidence probability for this case (i.e., ) can be obtained by calculating the expectation with respect to in the following:

Using the Taylor expansion of in (16), we can simplify (15) into (17):

3.4.2. Case 2: with Error

Due to the complementary of probability, the confidence probability for this situation (i.e., ) is equal to

Therefore, from (17) and (18), the expected error by RADAR localization in the two-neighbor matching situation (i.e., ) is calculated in the following: where and stand for the expected errors in Case 1 and Case 2, respectively.

3.5. Statistical Errors by Multineighbor Matching Localization

In this subsection, we prove that the expected errors by multineighbor matching localization are larger than the errors in the one- and two-neighbor matching situations by using our proposed linear RP calibration model.

Without losing generality, we assume that the neighbors used for the neighbor matching localization are at in the linear RP calibration model. Then, by (1), the errors in -neighbor matching situations can be easily calculated in the following: As can be seen in (20), we can find that (i) by one-neighbor matching localization, we have the relations of “ (i.e., )” or “ (i.e., ).” Then, one has or ; (ii) by two-neighbor matching localization, we have the relations of “ and (i.e., )” or “ (i.e., ).” Then, one has or ; and (iii) by multineighbor matching localization, one has and when , while in the condition of , one has and . Therefore, the expected errors in one- and two-neighbor matching situations are proved to be smaller than the errors by multineighbor matching localization in the linear RP calibration model, by assuming that the mean of received power is estimated by the logarithmic RSS propagation model. Finally, the closed-form result of the expected errors by RADAR neighbor matching localization in one- and two-neighbor matching situations is shown in Table 1. For simplicity, the higher order terms are not included in the table.

3.6. Variations of Statistical Errors

The previous discussion on the statistical errors by RADAR neighbor matching localization is with the assumption that the mean of received power at both the RPs and TP can be estimated by the logarithmic RSS propagation model [25]. However, in many mobile scenarios (e.g., the motion tracking), we cannot record the RSSs at a fixed TP for a long time to obtain the precise estimation of the mean power [26, 27]. In other words, the real-time values of RSS at the TP could vary dramatically compared to the mean power which is calculated from the logarithmic RSS propagation model. Thus, we present some preliminary results on the variations of expected errors with respect to the testing RSSs. For the sake of simplicity, we only focus on the one- and two-neighbor matching situations with the three closest neighbors , , and .

3.6.1. Error Variations by One-Neighbor Matching Localization

We assume that is the neighbor which has the largest confidence probability when there is no variation on the testing RSS. In other words, the testing RSS is obtained from the logarithmic RSS propagation model. Then, if the RSS variations at the TP occur, the confidence probability of decreases into , where and stand for the increased percentages for the probabilities of and (i.e., and ), respectively. Therefore, the expected error (i.e., ) and the corresponding increasing rate of error (i.e., ) in this situation become

3.6.2. Error Variations by Two-Neighbor Matching Localization

In this situation, the probability of selecting and as the two neighbors could be calculated as when the RSS variations at the TP occur. Then, based on the complementary property, the probability for neighbors and decreases into . Therefore, we obtain the expected error (i.e.,) and the corresponding increasing rate of error (i.e., ) as follows:

4. Numerical and Experimental Results

4.1. Numerical Results

As discussed in our previous section, the expected errors of the RADAR neighbor matching localization significantly depend on the deployment of RPs. In Figures 2, 3, 4, and 5, we show the variations of expected errors and the related confidence probabilities by one- and two-neighbor matching localization with respect to the number and interval of RPs (i.e., and ).

From the previous figures, we can observe that, in both the one- and two-neighbor matching situations, (i) the expected errors decrease with the reduction of distance between two adjacent RPs and (ii) the expected errors become stable when the dimensions of the target area are large enough (e.g., ). In other words, both the one- and two-neighbor matching localization can be applied to the large-scale target area, while preserving the localization accuracy. To examine the errors between these two situations further, Figure 6 compares the errors by one- and two-neighbor matching localization.

In Figure 6, the one-neighbor matching localization achieves higher accuracy, especially in the condition of large . The significant decrease of expected errors by two-neighbor matching localization in small condition is mainly because the geometrical center of the small-scale target area (e.g., ) can be suggested as a reasonable location estimation for the target irrespective of its real position in this area, while the increasing number of RPs can provide the better estimation for this geometric center. Furthermore, the tradeoff between the RP calibration effort and the accuracy improvement by RADAR neighbor matching localization is another contribution of this paper. Let us take the condition of as an example. When decreases from 1 m to 0.8 m and then to 0.6 m, the variations of the number of RPs and expected errors are shown in Table 2. As we can see from Table 2, in the one-neighbor matching situation, when decreases from 0.8 m to 0.6 m, we have more than 40 percent growth in the number of required RPs, but less than 20 percent drop in the expected errors.

Finally, Figures 7 and 8 illustrate the variations of expected error by one- and two-neighbor matching localization. In Figures 7 and 8, we can observe that in both one- and two-neighbor matching situations (i) the increasing rates of errors increase with the variations of testing RSSs (or ). In other words, the errors by RADAR neighbor matching localization are vulnerable to the variations of RSSs at the TP and (ii) in the small-scale target area (e.g., ), the increasing rates of errors increase dramatically with the decrease of value , while the increasing rates of errors change gently in the large-scale target area (e.g., ). Moreover, another remarkable result from this paper is that the one-neighbor matching situation has larger increasing rates of errors. This result can be used to help us to understand why we normally select two or more neighbors for the RADAR neighbor matching localization in the practical use (e.g., in [7], the authors choose to obtain the best accuracy in an indoor straight corridor environment), although the one-neighbor matching situation gives the smallest expected error.

4.2. Experimental Results
4.2.1. Environmental Layout

Figure 9 shows our experimental environment with the dimensions of 66.4 meter × 24.9 meter. In this figure, there are 9 testing Wi-Fi APs (Linksys WAP54G AP) labeled by AP1,…, AP9. All APs are attached to the walls with a height of 2 m from the ground. We choose the nonoverlapped channels (channels 1, 6, and 11) for any three most adjacent APs (i.e., channels for AP1,…, AP9 are the 1, 6, 11, 1, 6, 11, 1, 6, and 11, resp.) to reduce the cochannel interference. The ASUS A8F laptop with the Intel PRO/Wireless 3945ABG network connection wireless card is used as the RSS receiver with the sample rate of 2 Hz. At each RP, we recorded 180 RSS samples to construct the radio map.

As can be seen in Figure 9, there are two regions considered for our testing (i.e., region 1 in office Nr. 01 and region 2 in corridors Nc. 01, Nc. 02, and Nc. 03). Figure 10 shows the locations of RPs and TPs in target area with the origin RP21.

4.2.2. Static Positioning

In the scenario of fixed target positioning, we use the mean value of 60 newly-recorded RSS samples at each TP for the testing. By using all the APs, we compare the static positioning errors between the RADAR neighbor matching localization (i.e., KNN) with (i.e., NN),…, 5 and the weighted distance dependent positioning (i.e., WKNN) with (i.e., NN),…, 5 in Figure 11.

Based on the results in Figure 11, we can obtain the following three observations (i.e., Observations 1, 2, and 3). To illustrate the previous analytical results, in the straight corridors where the RPs are calibrated linearly, we use the AP with the strongest RSS (i.e., the strongest AP) at each TP (i.e., TP1 by AP1, TP2 by AP2, TP3 by AP2, TP4 by AP3, and TP5 by AP3) to calculate the positioning errors, as shown in Figure 12.

Observation 1. In the RADAR neighbor matching localization, the NN and KNN with outperform the KNN with in terms of the mean of positioning errors. Thus, we can make a conjecture that the increase of the number of neighbors cannot be an effective way to improve the accuracy of RADAR neighbor matching localization.

Observation 2. In both the RADAR neighbor matching localization and weighted distance dependent positioning, the positioning accuracy in corridors (i.e., the region 2) is superior to the accuracy in office (i.e., the region 1). For instance, by NN algorithm, the mean of positioning errors is decreased by 12% in corridors compared to the office scenario.

Observation 3. For a given number of neighbors, the weighted distance dependent positioning which distributes the different weights to the neighbors performs slightly better than the RADAR neighbor matching localization in terms of accuracy.

As can be seen from Figures 11 and 12, another two observations (i.e., Observations 4 and 5) can be found as follows.

Observation 4. In both RADAR neighbor matching localization and weighted distance dependent positioning, the accuracy can be significantly improved with the increase of the number of APs. For instance, NN algorithm reduces the mean of positioning errors in the all-AP scenario by 52% compared to the mean of positioning errors in the strongest-AP scenario.

Observation 5. In the strongest-AP scenario, the positioning errors by weighted distance dependent positioning are more stable than the errors by RADAR neighbor matching localization with respect to the variations of the number of neighbors. Therefore, the value of should be carefully studied to explore the highly-accurate RADAR neighbor matching localization system.

4.2.3. Dynamic Positioning

Different from the static positioning, both the positioning accuracy and rates should be considered in the dynamic situation. For simplicity, we only focus on the strongest-AP scenario in the following results. The target moves along the real trajectory (see Figure 13) with the speed of 1 meter per second.

The results of dynamic positioning by NN, KNN with , and WKNN with algorithms are shown in Figures 14, 15, and 16, respectively. The time interval of any two consecutive position calculations is represented by seconds, which means the position estimation is with rate .

From the previous figures, the following three observations (i.e., Observations 6, 7, and 8) can be concluded.

Observation 6. In both the RADAR neighbor matching localization and weighted distance dependent positioning, the increase of the time interval between any two consecutive position calculations can effectively improve the dynamic positioning accuracy (or the similarity between the connection of estimated positions and the target’s real trajectory). In other words, there is a tradeoff between the positioning accuracy and the real-time positioning capability.

Observation 7. In both the RADAR neighbor matching localization and weighted distance dependent positioning, the results of dynamic positioning in corridors are more accurate and stable than the positioning results in offices.

Observation 8. In the office scenario, the weighted distance dependent positioning slightly outperforms the RADAR neighbor matching localization.
To examine the real-time positioning capability further, we should also consider the time cost involved in each position calculation. In our RADAR neighbor matching localization system, the time cost consists of four main parts as follows: the (i) time cost for the calculation of the average of newly-recorded RSS samples (e.g., the RSS samples in 10 seconds are averaged in the condition of the positioning rate 1/10 s); (ii) time cost for the selection of the parameters corresponding to the smallest statistical error based on the coarse positioning results; (iii) time cost for searching neighbor(s) in radio map; and (iv) time cost for the calculation of the target’s estimated position. The time cost for each position calculation by RADAR neighbor matching localization and weighted distance dependent positioning is shown in Figure 17. As seen in Figure 17, the last observation (i.e., Observation 9) is obtained as follows.

Observation 9. In the dynamic positioning situation, the NN and KNN with algorithms with the positioning rate of 1/2 s perform better in the aspects of both the statistical errors and real-time positioning capability.

5. Conclusions

This paper has derived out the closed-form solutions to the statistical errors by RADAR neighbor matching localization in a linearly-calibrated RP environment to examine the inherent mathematical relationships between the statistical errors and the number and interval of RPs. The objective of this paper is to explore highly-accurate and cost-efficient neighbor matching localization systems to support ubiquitous LBSs in Wi-Fi environments, through either the judicious deployment of RPs or the parameter optimization in the localization systems. However, due to the existence of RSS interference and distortion in wireless channels, other propagation models (e.g., the logarithmic RSS propagation models containing several break points) should be carefully considered in our ongoing work, and meanwhile the statistical errors with respect to the more generalized models (e.g., the uniformly calibrated RP grids in the 2-dimentional plane area) would also form interesting work in future.

Parameters and Notations

:Origin of coordinates
:AP’s position
:TP’s real position
:Number of RPs
:Interval of RPs
:Distance between and
:Distance between and
:Distance between and
:Distance between and by one- neighbor matching
:Distance between and by two-neighbor matching
:Distance between and by multineighbor matching
:Distance between and
:AP’s transmit power
:Mean of received power at
:Mean of received power at
:Expectation of the with respect to the variable
:Higher order term of the .

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work was done when Mu Zhou was a Postdoctoral Research Assistant at The Hong Kong University of Science and Technology (HKUST). This work was supported in part by the National Natural Science Foundation of China (61301126 and 61304197), National Science and Technology Major Project (2012ZX03006002003), Fundamental and Frontier Research Project of Chongqing (cstc2013jcyjA40041, cstc2013jcyjA40032, and cstc2013jcyjA40034), Special Fund of Chongqing Key Laboratory (CSTC), Scientific and Technological Research Program of Chongqing Municipal Education Commission (KJ130528), Startup Foundation for Doctors of CQUPT (A2012-33), Program for Changjiang Scholars and Innovative Research Team in University (IRT1299), and Science Foundation for Young Scientists of CQUPT (A2012-77). The authors also wish to thank the reviewers and editors for their valuable comments and useful corrections to improve this work.