Abstract
This paper investigates the indoor position tracking problem under the variation of received signal strength (RSS) characteristic from the changes of device statuses and environmental factors. A novel indoor position tracking algorithm is introduced to provide reliable position estimates by integrating motion sensor-based positioning (i.e., dead-reckoning) and RSS-based fingerprinting positioning with Kalman filter. In the presence of the RSS variation, RSS-based fingerprinting positioning provides unreliable results due to different characteristics of RSS measurements in the offline and online phases, and the tracking performance is degraded. To mitigate the effect of the RSS variation, a recursive least square estimation-based self-calibration algorithm is proposed that estimates the RSS variation parameters and provides the mapping between the offline and online RSS measurements. By combining the Kalman filter-based tracking algorithm with the self-calibration, the proposed algorithm can achieve higher tracking accuracy even in severe RSS variation conditions. Through extensive computer simulations, we have shown that the proposed algorithm outperforms other position tracking algorithms without self-calibration.
1. Introduction
The indoor position tracking has received a great deal of attention for location-based services such as indoor navigation, retail, and entertainment services [1]. Different indoor position tracking algorithms [2–10] have been introduced based on Bayesian filters such as Kalman filter and particle filter. The common feature of these algorithms is that the position of a mobile device is estimated by fusing two independent position estimates. One is based on the device's motion dynamics which can be measured by embedded sensor (i.e., inertial measurement unit) readings. Another is obtained from fingerprinting positioning using received signal strength (RSS) measurements from network access points (APs). Specifically, in the RSS-based fingerprinting positioning, the position of a mobile device is estimated by measuring the similarities between the currently obtained RSS measurements and the ones in a prebuilt radio map. (The radio map consists of a set of RSS observations from APs at reference points (RPs) with prior position information. The step for the radio map construction is called the offline phase, and the positioning step is referred to as the online phase.)
Unfortunately, in practice, RSS varies significantly over time because of not only the effects of noise, interference, multipath, and shadowing, but also the changes in device types, orientations, and environmental factors (e.g., temperature, humidity, open/closed door, and indoor population) [8, 10–14]. Hence, the RSS-position dependency in the radio map becomes invalid, and the fingerprinting positioning results are unreliable in the presence of the RSS variation. Moreover, many of the previously developed tracking algorithms may fail to track the position of the mobile device. Some of the tracking algorithms [5, 6] concatenate on the constraint that only the RPs within an allowable range from the sensor-based position estimate are used for the RSS-based fingerprinting positioning in order to improve the robustness to the RSS variation. However, the selection of relevant RPs can be vulnerable to the sensor biases, and the position tracking error can increase over time.
Several algorithms were proposed to mitigate the effect of the RSS variation by mapping the online RSS measurements to the offline measurements based on a linear fitting model [11–13, 15–18]. This is referred to as the calibration. To find the mapping between the offline and online RSS measurements, a number of RSS observations are collected after the radio map construction, but before the online phase. By comparing those observations and the ones in the radio map, the linear fitting parameters can be derived, which represent the RSS variation from the offline observations. The estimates of the fitting parameters, also referred to as the RSS variation parameters, are then used to create a mapping between the offline and online measurements [13, 15, 16]. This approach is deemed effective for increasing the compatibility of the old radio map with the changes causing the RSS variation. However, the mapping may be invalid in the online phase when significant changes between the calibration and online phases occurred. Moreover, it is impossible to find the RSS variation parameters for all pairs of commercial available devices.
In this paper, we propose a novel Kalman filter-based indoor position tracking algorithm with self-calibration to provide more accurate positioning results under the RSS variation. For the RSS variation mitigation (self-calibration), a recursive least square estimation- (RLSE-) based solution is presented that continuously estimates the RSS variation parameters between the offline and online RSS measurements with the position estimate of the Kalman filter. Since the proposed algorithm is able to create a mapping between the offline and online RSS observations and to calibrate the RSS measurements in real time, any additional burden and assumptions for calibration are not required. With the use of the calibrated RSS measurements, the proposed algorithm enables higher positioning accuracy for different devices with a single radio map.
The rest of this paper is organized as follows. Section 2 briefly discusses previous developed indoor position tracking algorithms. Section 3 provides the preliminary experiment results and the RSS variation model. Section 4 introduces a novel Kalman filter-based indoor positioning algorithm with the RLSE-based self-calibration. Section 5 provides the simulation results to evaluate the performance of the proposed algorithm in comparison with other position tracking algorithms. Section 6 concludes this paper.
2. Related Work
For several years, many Bayesian filter-based algorithms have been developed to solve the indoor position tracking problem by using inertial motion sensor and RSS measurements, which are available in most commercial devices. According to the nature of the state motion and measurement models, the type of Bayesian filters can be determined (i.e., Kalman filter for linear and Gaussian systems and particle filter for nonlinear and non-Gaussian systems).
As pedestrian movements can be described as a simple linear Gaussian motion model [6], the Kalman filter was applied to many tracking algorithms. The early applications of Kalman filter can be found in [2, 3]; however, they are vulnerable to the RSS variation. Recently, many efforts have been made to improve the robustness of the Kalman filter-based algorithms to the RSS variation. In [5], the compressive sensing technique was adopted to find the best subset of RPs under the physical proximity constraint to the sensor-based position estimate in order to avoid the selection of irrelevant RPs from the RSS variation. In [6], a nonparametric information filter was developed for the enhancement of Kalman filter, and it was applied to the indoor position tracking problem. Also, the RP selection based on the confidence level was proposed in [6] to improve the robustness to the RSS variation. The nature of particle filters is to have the robustness to unknown model errors (i.e., RSS variation). In this regard, particle filter-based tracking algorithms were introduced in [8, 9]. In [8], especially, the RSS peak-based approach was proposed that selects the RP of the maximum RSS for the AP whose RSS peak is detected by observing the latest RSS measurements. However, this approach can be only applicable for corridor environments.
A number of Bayesian filter-based algorithms have been proposed for indoor position tracking, and several attempts have been made to handle the RSS variation problem. However, when the degree of the RSS variation and the sensor biases are severe, their tracking performance can still deteriorate, and the tracking error can increase over time. In our preliminary study [10], we introduced a heuristic approach to self-calibration using a weighted sum method for position tracking. In this paper, as the enhancement to our previous approach, a Kalman filter-based tracking algorithm combined with RLSE-based self-calibration is proposed to effectively combat the RSS variation problem.
3. Preliminary Experiments and RSS Variation Model
3.1. Experimental Demonstration of the RSS Variation in Different Measurement Settings
The RSS variation, defined as the significant difference between the offline and online RSS measurements, is frequently observed due to the changes in device types and environmental settings. Figure 1 shows the cumulative distribution function (CDF) of a RSS observation measured by Pantech Vega R3 and Samsung Galaxy S2 on two different days. Each device collected 500 RSS measurements at a distance of 8 m from the same WiFi AP. The empirical cumulative distribution functions are denoted by markers, and the normal fit distribution for each measurement set is represented by a colored line in Figure 1. The mean and variance for each RSS measurement set are given in Table 1. It is surprising that even the same device without changing experimental settings yields very different RSS characteristics. For example, in our experiments, the red and green lines which are the CDFs of RSS obtained with the same device on the different days are separated by 5.3 dBm. It is practically impossible to clearly identify the factors resulting in such RSS gaps, and it is only roughly estimated that the device types, temperature, humidity, and physical changes of surrounding environments are all contributing the RSS gaps through experiments [8].
Mean and variance of measured RSS.

Preliminary experiment results with (a) Vega R3 at day 1, (b) Galaxy S2 at day 1, and (c) Galaxy S2 at day 2.
Figure 2 shows how the RPs are selected by the K-nearest neighbor (KNN) algorithm [19], which is the most representative fingerprinting algorithm, for two different scenarios. For the sake of simplicity, only one AP is deployed, and the number of RPs selected with the KNN algorithm is set to be 9. In the first scenario, it is assumed that the system and environmental settings are identical in the offline and online phases. The result is illustrated in Figure 2(a) where the size of the selected RP, denoted by an upper triangle, represents the similarity between the offline and online RSS measurements. In this case, those RPs that are nearby the true position are selected, and the position estimate contains a small error. In the second scenario, it is assumed that the devices and environmental factors in the online phase are different from those in the offline phase and that the RSS variation occurs. As can be seen in Figure 2(b), the selected RPs are very much scattered over the experimental region due to the RSS gap between the offline and online measurements. As a result, a considerably large error is included in the position estimate.

Selected RPs and position estimate by using the KNN algorithm in two different scenarios.
3.2. RSS Variation Model
The coordinate vector of a mobile device in a two-dimensional space is denoted by
4. Kalman Filter-Based Position Tracking with RLSE-Based Self-Calibration
This section introduces a novel indoor position tracking algorithm that continuously estimates the position of a mobile device and RSS variation parameters for self-calibration. The proposed algorithm is comprised of two parts: Kalman filter-based position tracking and RLSE-based self-calibration as illustrated in Figure 3. In the Kalman filter-based position tracking part, the current position of the mobile device is estimated by adding the previous position estimate and the position displacement from inertial sensor readings (sensor-based positioning). The sensor-based position estimate is then combined with the position estimate from RSS-based fingerprinting positioning. The output of the Kalman filtering algorithm is used as the input of the RLSE algorithm to estimate the RSS variation parameters. Through the online-to-offline RSS mapping, we can obtain the calibrated RSS measurements in which the RSS variation effect is removed. Then, the calibrated RSS measurements are used for fingerprinting positioning. With the effective combination of two algorithms, the positioning accuracy can be significantly improved in the presence of the RSS variation.

Block diagram of the proposed position tracking algorithm with self-calibration.
4.1. Kalman Filter-Based Indoor Position Tracking
The state dynamic (time evolution) model and the measurement model should be properly given to design a Kalman filtering algorithm. In this paper, the simple linear models, which are typically used in the related literature, are adopted. Although the state vector consists of the x-y coordinates of the mobile device in this paper, it can be simply extended to include the velocity and acceleration of the device as described in [5, 6].
State dynamic model. Let where Measurement model. Let where the random variable
It is assumed that the initial position estimate
4.2. RLSE-Based Self-Calibration for RSS Variation Mitigation
This subsection introduces how the RSS variation parameters
Our approach is to estimate
The problem now is to estimate the RSS variation parameters h and b. To formulate this problem as the least square estimation problem, we rewrite the linear relationship in (1) as
Define
(1) Approximate (2) Derive (3) Predict current position (4) Compute covariance (5) Approximate (7) Compute (8) Estimate (9) Derive (10) Compute (11) Estimate current position (12) (13) (14) Go to (15)
5. Performance Evaluation
In this section, the performance of the proposed algorithm is evaluated through MATLAB simulations. To verify the effectiveness of the proposed algorithm, the proposed algorithm is compared with another two Kalman filter-based position tracking algorithms with uncalibrated RSS measurements (i.e., raw online RSS vector
For clarity, we refer to the comparison algorithms as the uncalibrated KNN-based (uKNN) tracking algorithm and the uncalibrated RBF-based (uRBF) tracking algorithm, respectively.
For simulations, an experimental region of 20 m × 20 m is considered. The number of APs changes from 4 to 32, and all the APs are randomly deployed in the region. The RSS radio map is constructed with RSS vectors at 121 RPs with a uniform separation of 2 m. The log-distance propagation model is assumed for the offline RSS from the ath AP at arbitrary position
5.1. Validation of the RMSE-Based Self-Calibration Algorithm
Figure 4 presents the true RSS variation parameters along with the corresponding estimates by using the proposed algorithm for

RSS variation parameters tracking with the proposed algorithm.

Difference between the offline and online RSS vectors in the presence of the RSS variation.

An example of device's position tracking with the uKNN, uRBF, and proposed algorithms.
5.2. Position Tracking Performance for
APs
Figure 6 presents an example of the device's position tracking with the three tracking algorithms for
The empirical CDFs of the positioning errors of the tracking algorithms are shown in Figure 7. The uKNN and uRBF algorithms experience the degradation in the position tracking performance when the RSS variation becomes more severe; that is,

Empirical CDFs of the positioning errors of the uKNN, uRBF, and proposed algorithms.
5.3. Effect of the Number of APs on Tracking Performance
The number of APs affects the performance of many algorithms that use the RSS-based fingerprinting positioning. To investigate the effect of the number of APs, we conducted simulations under varying the number of APs from 4 to 32. The results are presented in Figures 8 and 9. As seen in Figure 8, the errors in the estimates of the RSS variation parameters using the RLSE-based self-calibration algorithm decrease with the increase of the APs, and the errors converge when

Average errors in the estimates of the RSS variation parameters for different AP numbers.

Average positioning errors of the position tracking algorithms for different AP numbers.
6. Conclusions
In this paper, we proposed a novel indoor position tracking algorithm that tracks the position of a mobile device with self-calibration to improve the robustness of the RSS variation from the changes of various factors between the offline and online phases. In the proposed algorithm, the device's position is estimated by fusing two position estimates from inertial sensor readings and RSS-based fingerprinting positioning with Kalman filtering. The proposed algorithm also performs self-calibration based on the RLSE to derive the mapping between the offline and online RSS observations and to mitigate the effect of the RSS variation while tracking position. By using the calibrated RSS measurements in fingerprinting positioning, the proposed algorithm enables different devices to achieve higher positioning accuracy with a single radio map. With the extensive computer simulations, we showed that the proposed algorithm outperforms the other algorithms even if the number of APs is small and the RSS variation is severe. The real implementation and the experimental analysis remain as future work.
Footnotes
Nomenclature
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (nos. 2010-0017934 and NRF-2013R1A1A2062728) and by a grant from R&D Program of the Korea Railroad Research Institute, Republic of Korea.
