Next Article in Journal
Energy-Efficient Industrial Internet of Things Software-Defined Network by Means of the Peano Fractal
Next Article in Special Issue
Nonlocal Total Variation Using the First and Second Order Derivatives and Its Application to CT image Reconstruction
Previous Article in Journal
Postmortem Analysis Using Different Sensors and Technologies on Aramid Composites Samples after Ballistic Impact
Previous Article in Special Issue
Fault Diagnosis of Wind Turbine Gearbox Based on the Optimized LSTM Neural Network with Cosine Loss
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:

Fingerprinting-Based Indoor Localization Using Interpolated Preprocessed CSI Phases and Bayesian Tracking

School of Automation, Guangdong University of Technology, Guangzhou 510006, China
French Argentine International Center for Information and Systems Sciences, National Scientific and Technical Research Council, 2000 Rosario, Argentina
School of Electrical Engineering and Computer Science, University of Newcastle, Callaghan NSW 2308, Australia
Author to whom correspondence should be addressed.
Sensors 2020, 20(10), 2854;
Submission received: 7 April 2020 / Revised: 5 May 2020 / Accepted: 7 May 2020 / Published: 18 May 2020
(This article belongs to the Special Issue Sensor Signal and Information Processing III)


Indoor positioning using Wi-Fi signals is an economic technique. Its drawback is that multipath propagation distorts these signals, leading to an inaccurate localization. An approach to improve the positioning accuracy consists of using fingerprints based on channel state information (CSI). Following this line, we propose a new positioning method which consists of three stages. In the first stage, which is run during initialization, we build a model for the fingerprints of the environment in which we do localization. This model permits obtaining a precise interpolation of fingerprints at positions where a fingerprint measurement is not available. In the second stage, we use this model to obtain a preliminary position estimate based only on the fingerprint measured at the receiver’s location. Finally, in the third stage, we combine this preliminary estimation with the dynamical model of the receiver’s motion to obtain the final estimation. We compare the localization accuracy of the proposed method with other rival methods in two scenarios, namely, when fingerprints used for localization are similar to those used for initialization, and when they differ due to alterations in the environment. Our experiments show that the proposed method outperforms its rivals in both scenarios.

1. Introduction

The global positioning system (GPS) permits solving the positioning problem in a reliable manner. However, this approach is limited to outdoor environments, since GPS signals do not reach indoor receivers. A number of techniques are available for indoor positioning systems [1,2]. These techniques include the use of ultra-wideband signals [3,4,5], Wi-Fi signals [6,7,8], bluetooth signals [9,10], radio-frequency identification [11,12,13], odometry measurements [14], etc. However, the accuracy of positioning systems based on these techniques is severely affected by the multipath propagation of signals. Therefore, obtaining a high-precision and reliable indoor positioning method has become the main research problem in various location-based services.
A popular technique consists of using Wi-Fi signals for indoor positioning. The main reason for doing so is the widespread and low cost of these signals in comparison with other alternatives, e.g., Zigbee, Bluetooth, ultrasound, ultra-wideband, etc. There are two main approaches for indoor positioning using Wi-Fi signals, namely, geometric mapping and fingerprinting [6]. Geometric mapping is based on the estimation of geometric parameters, such as distance or angles with respect to certain reference points [15,16]. The problem with this approach is, as we mentioned earlier, the irregularities in the signals caused by multipath effects. To go around this, the fingerprint approach builds a database of certain features obtained from the received Wi-Fi signals, depicting a unique pattern based on its location. The positioning problem then becomes one of finding the best match for the signal received at an unknown location from the information available within the database.
For an indoor positioning system, which kind of signal feature is selected as a fingerprint is critical, as it must faithfully represent its location. A popular choice for this feature is a vector of received signal strength indicators (RSSIs) from multiple Wi-Fi access points (APs) [17,18]. Then, the position is estimated as the one from the database with the highest similarity score with the fingerprint of the received signal. The disadvantage of this method is that each location is only matched to one within the database. To solve this, Youssef [19] estimates the position by building its conditional probability given the available measurements. A theoretical backing for this approach is given by the fact that RSSI measurements can be approximately considered normally distributed with negligible accuracy loss [20].
The advantages of using RSSI as fingerprints are its simplicity and low computational requirements. However, since the database only stores signal features at a finite number of points, the accuracy drops significantly at other points. This is because RSSI does not contain all the information available in the Wi-Fi signal, which could be used to improve the positioning accuracy. The whole available information appears in the channel state information (CSI). This is a complex vector whose entries represent the gain (amplitude and phase) of each subcarrier of the OFDM channel [6]. In [21], CSI was used to propose the fine-grained indoor localization (FILA) method. In this method, the fingerprint is chosen to be the square sum of CSI amplitudes. A popular choice of fingerprint consists of using the real vector formed by the amplitudes of each subcarrier [22,23,24]. However, the instability of CSI amplitudes limit the accuracy achievable with this kind of fingerprints. In an attempt to go around this, inter-subcarrier phase differences are used as fingerprints in [25]. A drawback of this approach is that CSI phases are highly sensitive to hardware imperfections. To cope with this, a phase calibration method was proposed in [26] to compensate for hardware effects.
Regardless of the choice of fingerprint, two approaches are available for estimating the position. The first one consists in dividing the area into regions, and using a classifier, based on machine learning techniques, to decide the region at which the receiver is located. In [27], this is done using a neural network, and in [28], a random forest model. A drawback of these methods is that the positioning accuracy is determined by the regions’ size.
The second positioning approach aims at solving the above limitation by interpolating a position from those available within the fingerprint database. In [21], this is done using Pearson correlation coefficients between the measured fingerprints at the unknown location and the fingerprints from the database. In [26], this is done using a three-hidden-layer deep network, a deep autoencoder is used in [29,30], a deep convolutional neural networks in [31] and a k-nearest neighbor average in [25]. Nevertheless, a common problem with these methods is that their inaccuracy is still significant at locations outside the database.
For moving targets, the above positioning techniques are used for carrying out a Bayesian tracking task, which uses, at each sample time, all available measurements to provide a position estimate [32,33]. The case in which positioning is based on Wi-Fi signals, the information provided by these signals are often combined (fused) with certain extra information, such as infra-red motion sensors [34], inertial sensors [35], orientation sensors and landmarks [36].
In this work, a new fingerprint method for indoor positioning and Bayesian tracking is proposed, based on CSI. Following [26], we also calibrate phases. However, instead of using them as fingerprints, we use their differences with respect to the first subcarrier. We do so because these phase differences change more smoothly than absolute phases as we move along a straight line. This largely simplifies the task of interpolating fingerprints at locations outside the database. To do the interpolation, we construct a model of the room’s fingerprints, i.e., a function mapping positions within the room to fingerprints. We do so using a Gaussian kernel expansion. Using this model, the positioning task is split into two steps. In the first one, we obtain a preliminary estimate of the position using only the fingerprint measured by the receiver. To this end, we use the maximum likelihood criterion. In the second stage, we combine this preliminary estimation with a dynamic model of the receiver’s motion, to obtain the final estimation. We do so using a Bayesian tracking technique. The most popular among these techniques are extended Kalman filtering and particle filtering. The advantage of the former is its computational efficiency. However, since it is based on linearizing a non-linear model, it is often inaccurate to the extent that it can lead to the instability of the estimate. Particle filtering, on the other hand, can be made arbitrarily accurate. However, its computational complexity makes it often unfeasible for real-time applications. In order to obtain a reliable and numerically efficient Bayesian tracking implementation, we use a recently proposed technique called maximum likelihood Kalman filtering [37]. It uses the maximum likelihood estimate obtained in the first step, guarantees the stability of the estimate and is asymptotically optimal as the dimension of the fingerprint vector tends to infinity [37]. To summarize, the contribution of our paper is to effectively combine the use of phase information, its calibration and phase differences for fingerprints, and to apply Gaussian kernel modeling and maximum likelihood Kalman filtering for positioning. The resulting algorithm is shown, via experiments, to have more accurate position estimates, in comparison with other available algorithms, at locations outside the database.
The rest of this paper is organized as follows. In Section 2 we describe how we build fingerprints. In Section 3 we formulate the positioning problem. The proposed localization method is introduced in Section 4. Experimental results are given in Section 5 and concluding remarks in Section 6.

2. Choice of Fingerprints

2.1. Channel State Information

In an OFDM system, the signal received from a multipath channel can be described as
r = C s + n ,
where r = r 1 , , r L C L and s = s 1 , , s L C L represent the received and transmitted signal vectors, respectively, L is the number of subcarriers, n is additive noise, C = d i a g ( c ) C L × L is the channel frequency response (CFR) matrix, with c = c 1 , , c L and c m denoting the channel’s gain at the m-th subcarrier.
We call vector c the CSI. According to the 802.11n protocol, this vector is used to recover s from r by equalizing the channel distortion caused by multipaths. Hence, the CSI c is readily available in every OFDM receiver.

2.2. Phase Information

The CSI value c m , at each subcarrier m = 1 , , L , is a complex number. Most CSI-based fingerprint methods choose amplitudes c m as their fingerprints. However, Sen et al. [38] proposed a linear calibration method for the (raw) phase information c m . As we show below, the calibrated phases so obtained are more stable than amplitudes, in the sense that they incur smaller changes between consecutive measurements. We summarize this calibration method below.
We assume that raw CSI measurements c have certain packet-by-packet random phase shifts due to synchronization errors at the receiver. More precisely, let θ m = c m denote the raw phase of the m-th subcarrier and ϕ m denote the ideal phase that we would have received if there were no random phase shifts. We then have
θ m = ϕ m + 2 π L Δ t l m + q ,
where q denotes the unknown center frequency shift and Δ t denotes the delay due to both, packet detection delay (PDD) and sampling frequency offset (SFO). By l m , we denote the m-th entry of the subcarrier index vector l, and, as above, L is the number of subcarriers. For example, in the 20 MHz bandwidth 802.11n protocol, L = 56 and
l = 28 , 27 , , 2 , 1 , 1 , 2 , , 27 , 28 .
In order to compensate for the effects of random phase shifts, we use
ϕ m = θ m o l m q ,
o = θ L θ 1 l L l 1 , q = 1 L m = 1 L θ m .
Figure 1 illustrates the effect of phase calibration. On the left, we see 100 raw measurements of the CSI at subcarrier m = 1 , and on the right, the same CSI measurements with calibrated phases. We see how, after calibration, phases are more stable than amplitudes.

2.3. Phase Differences

The calibrated phase is stable at a fixed position. However, it changes drastically from one position to another. This occurs because, theoretically, for a subcarrier at 2.4 GHz, the phase goes through an entire cycle in a wavelength distance (about 12.5 cm). This is much shorter than the distance between positions used to build the fingerprint database. To go around this, instead of using the compensated phases ϕ m , m = 1 , , L , we use their differences ψ m = ϕ m + 1 ϕ 1 , m = 1 , , L 1 , with respect to the first component, and unwrap them so as to avoid that jumps ψ m + 1 ψ m , m = 1 , , L 2 , are bigger than or equal to π . This is equivalent to consider that the frequency of the first subcarrier is zero, and the frequencies of each other subcarriers are 312.5 KHz, 625 KHz,..., 20 MHz. Then, the smallest wavelength among these subcarriers becomes ( 300 × 10 6 m / s ) / ( 20 × 10 6 Hz ) = 15 m . Figure 2, shows how phase differences change more consistently than plain phases in a sequence of three points, arranged in a straight line, 0.5 m away from each other.
We use y m , m = 1 , , L 1 , to denote the resulting unwrapped calibrated phase differences (UCPDs), and use them as fingerprints for indoor localization.

3. Problem Description

We consider a room ( R 2 ) having A Wi-Fi access points (APs) with B antennas. At time t N , a receiver, having D antennas, is located at x ( t ) R 2 , within the room. The OFDM channel establishing the communication between each AP and each receiver’s antenna, has L, subcarriers, whose frequencies are f m R , m = 1 , , L . The UCPD of the m-th subcarrier of the channel from AP a antenna b to receiver antenna d is denoted by y m ( a , b , d ) ( t ) , m = 1 , , L 1 . Let y ( a , b , d ) ( t ) = y 1 ( a , b , d ) ( t ) , y L 1 ( a , b , d ) ( t ) R L 1 be the set of all UCPDs of the same channel, y ( a , b ) ( t ) = y ( a , b , 1 ) ( t ) , , y ( a , b , D ) ( t ) be the set of all UCPDs from AP a antenna b and y ( t ) = y ( 1 , 1 ) ( t ) , , y ( A , 1 ) ( t ) , , y ( 1 , B ) ( t ) , , y ( A , B ) ( t ) be the set of all UCPDs. The fingerprint at x ( t ) is given by y ( t ) R N , with N = ( L 1 ) A B D .
We assume that x ( t ) and y ( t ) are generated by the following model:
ξ ( t + 1 ) = F ξ ( t ) + w ( t ) ,
y ( t ) = h J ξ ( t ) + ι ( t ) ,
where the state ξ ( t ) = x ( t ) , x ˙ ( t ) contains the position and velocity of the receiver at time t, F R 4 × 4 is the state-transition matrix, w ( t ) N ( 0 , Q ) is the process noise, ι ( t ) N ( 0 , R ) is the measurement noise, w ( t ) and ι ( t ) are white and jointly independent, and J = I , 0 , with I being the identity matrix, is a selection matrix such that J ξ ( t ) = x ( t ) .
We assume that matrices F and Q, as well as the fingerprints y ( t ) are known. On the other hand, matrix R and the map η : R 2 R N are not known.
Problem 1.
Based on the above model and assumptions, our goal is to estimate, at each t N , the receiver’s location x ( t ) .

4. Proposed Positioning Method

The proposed method is formed by three stages. The first one is called initialization. In this stage, we estimate the fingerprint model η : R 2 R N . The second one (static positioning), uses the estimated model and the output Equation (5) to obtain a first estimate x ˇ ( t ) of the receiver’s location x ( t ) , at time t N , given the fingerprint y ( t ) . In the third stage (dynamic positioning), the estimated location x ˇ ( t ) obtained in the second stage is combined with the dynamic motion model (4) to obtain the final estimation x ^ ( t ) of x ( t ) .

4.1. Fingerprint Modeling

The goal of this stage is to obtain estimates of both, the map h : R 2 R N and the matrix R R N × N . To do so, we rely on a collection of points p i R 2 , i = 1 , , I , at each of which K measurements g i , k R N , k = 1 , , K of the fingerprint are available. The ground truth of each p i is known.
It follows from (5) that
g i , k = h p i + ι i , k ,
with ι i , k N 0 , Q being jointly independent. Let g ¯ i = 1 K k = 1 K g i , k . We then have
g ¯ i = h p i + ι ¯ i , ι ¯ i = 1 K k = 1 K ι i , k .
Since ι ¯ i N 0 , 1 K Q , for large K we can do the following approximation
g ¯ i h p i .
We can then obtain an estimate η ^ of η by approxmating h ( p ) using a Gaussian kernel expansion of the form
h ( p ) h ^ p , α = i = 1 I α i exp γ p p i 2 ,
where α = α 1 , , α I . Following [39], we choose γ = 1 2 I 1 / 3 . Then, using (8), we estimate α as follows
α ^ = arg min α i = 1 I h ^ ( p i , α ) g ¯ i 2 .
Finally, in order to obtain an estimate R ^ of R, we do
R ^ 1 I i = 1 I 1 K 1 k = 1 K g i , k g ¯ i g i , k g ¯ i .

4.2. Static Positioning

Knowing the estimate α ^ , we can replace (5) by
y ( t ) = h ^ J ξ ( t ) , α ^ + ι ^ ( t ) .
with ι ^ ( t ) N ( 0 , R ^ ) . We can then obtain an estimate x ˇ ( t ) of x ( t ) using the maximum likelihood criterion, i.e.,
x ˇ ( t ) = arg max x L t ( x ) ,
L t ( x ) = log p y ( t ) | J ξ ( t ) = x ,
denotes the log-likelihood function and
p y ( t ) | J ξ ( t ) = x = N y ( t ) ; h ^ x , α ^ , R ^ .

4.3. Dynamic Positioning

We aim to use a Bayesian tracking method to estimate ξ ( t ) based on the model (4), (12), and then obtaining x ( t ) from the estimated value of ξ ( t ) . In principle, this could be done using the typical approaches for Bayesian tracking, namely, extended Kalman filtering (EKF) and particle filtering (PF). However, since EKF is based on linearizing the non-linear measurement Equation (5), its result is inaccurate and it often causes instability of the estimate. On the other hand, while this problem can be solved using PF, which can be made arbitrarily accurate by using enough particles, the number of required particles makes this method impractical for real-time applications. In order to obtain an accurate and numerically tractable Bayesian tracking implementation, we use a method called maximum likelihood Kalman filter [37]. We summarize it below.
We want to compute
ξ ^ ( t ) = E ξ ( t ) | Y ( t ) = ξ ( t ) p ξ ( t ) | Y ( t ) d ξ ( t ) ,
where Y ( t ) = y ( 1 ) , , y ( t ) . In order to compute p ξ ( t ) | Y ( t ) we alternate two steps, namely, prediction and update, which are described below.

4.3.1. Prediction

In this step we assume that ξ ( t ) | Y ( t ) N μ ( t | t ) , Σ ( t | t ) , with μ ( t | t ) and Σ ( t | t ) known. We aim to compute μ ( t + 1 | t ) and Σ ( t + 1 | t ) such that ξ ( t + 1 | t ) | Y ( t ) N μ ( t + 1 | t ) , Σ ( t + 1 | t ) . We do so using a typical Kalman filtering prediction step, i.e.,
μ ( t + 1 | t ) = F μ ( t | t ) , Σ ( t + 1 | t ) = F Σ ( t | t ) F + Q .

4.3.2. Update

In this case, we assume that ξ ( t ) | Y ( t 1 ) N μ ( t | t 1 ) , Σ ( t | t 1 ) , with μ ( t | t 1 ) and Σ ( t | t 1 ) known. We aim to compute μ ( t | t ) and Σ ( t | t ) such that ξ ( t ) | Y ( t ) N μ ( t | t ) , Σ ( t | t ) . In this case, we cannot do a typical Kalman filtering step, because the measurement equation is nonlinear. To go around this, we use the estimate x ˇ ( t ) obtained by the static positioning method described in Section 4.2. More precisely, we compute
μ ( t | t ) = Σ ( t | t ) Σ 1 ( t | t 1 ) μ ( t | t 1 ) + Λ ( t ) λ ( t ) , Σ ( t | t ) = Σ 1 ( t | t 1 ) + Λ ( t ) 1 ,
λ ( t ) = J x ˇ ( t ) , Λ ( t ) = J C ˇ ( t ) J ,
C ˇ ( t ) = 2 L t x ˇ ( t ) ,
with 2 L t x denoting the Hessian of L t evaluated at x (recall that x ˇ ( t ) is computed from (13)).

4.3.3. Final Step

Using the above, at each t, we can compute μ ( t | t ) and Σ ( t | t ) such that ξ ( t ) | Y ( t ) N μ ( t | t ) , Σ ( t | t ) . Then, using (16), we obtain
ξ ^ ( t ) = μ ( t | t ) ,
and finally
x ^ ( t ) = J μ ( t | t ) .

5. Experiments

5.1. Static Positioning

In this section, we will experimentally compare our proposed method with three rival methods, namely, the FILA method [21], the DeepFi method [22] (amplitude-based fingerprinting), and the PhaseFi method [26] (Phase-based fingerprinting), described in Section 1. We use TP-Link WDR4310 routers, having the OpenWrt platform installed, and working at a package rate of 100 packets per second. We obtain CSI measurements from the Atheros CSI Tool [40]. For every AP/receiving antenna pair, this tool produces a complex vector whose entries are the amplitude and phase of certain subcarriers from the IEEE 802.11n standard. More precisely, for a 20 MHz channel, values are available for 56 subcarriers; for a 40 MHz channel, values are available for 114 subcarriers. 10 bits are used to represent both, the real and imaginary parts of each subcarrier’s gain. The ground truth position of the receiver is obtained using a motion capture camera, which we believe to be sufficiently reliable for our testing purposes.
We use two experimental setups. The first one is an empty room. This setup permits evaluating the positioning performance of the different methods in the ideal situation in which fingerprints used for positioning are as similar as possible to those used during the initialization stage. The setup is depicted in Figure 3, showing the wireless access point in a corner. The figure also shows the I = 70 positions (marked as initialization points) used as ground truth positions for constructing the fingerprint model. In addition, there are 26 points for testing the static and dynamic positioning algorithms. Figure 4 shows the first entry of the averaged fingerprints g ¯ i at each initialization point p i , i = 1 , , I , together with the value yield by the estimated model h ^ ( p , α ^ ) .
The second setup is an office including people as well as objects like desks, chairs and lab benches. This setup permits evaluating the robustness of the different methods, in the sense of how the performance deteriorates when fingerprints differ from those used to build the model during initialization. The setup is depicted in Figure 5, showing desks represented by rectangles, the wireless access point, the positions of the I = 56 initialization points and 24 testing points.
Figure 6 and Figure 7 show the cumulative distribution function (CDF) of the positioning error (in meters), (i.e., the relative number of points at which the localization error is smaller than each distance error in the horizontal axis) for the aforementioned four methods and the two setups. Table 1 and Table 2 show the minimum and mean positioning errors also for the four methods and both setups. These results show that our proposed method significantly outperforms the FILA, DeepFi and PhaseFi methods in both scenarios.

5.2. Dynamic Positioning

The dynamic positioning method makes use of the state-transition Equation (4). In order to design this state equation, we use the following model
p x ( t + 1 ) = p x ( t ) + T v x ( t ) + w x ( t ) , p y ( t + 1 ) = p y ( t ) + T v y ( t ) + w y ( t ) , v x ( t + 1 ) = v x ( t ) + ι x ( t ) , v y ( t + 1 ) = v y ( t ) + ι y ( t ) ,
where p ζ and v ζ , ζ { x , y } , denote the position and velocity, respectively, in the ζ axis. We choose T = 1 (seconds). We assume that w x , w y , ι x and ι y are mutually independent, w x w y N 0 , σ p 2 , with σ p 2 = 10 4 , and ι x ι y N 0 , σ ι 2 , with σ ι 2 = 2.5 × 10 4 . We therefore have
F = 1 0 T 0 0 1 0 T 0 0 1 0 0 0 0 1 , and Q = diag σ p 2 , σ p 2 , σ ι 2 , σ ι 2 .
To evaluate this performance, we moved the receiver over a trajectory that is well modeled by this equation. This trajectory is shown in red in Figure 8 and Figure 9. Figure 8 shows the trajectory estimated by our static positioning method. Figure 9 shows the one estimated using a particle filter [41], and the one estimated by our proposed dynamic positioning method based on the maximum likelihood Kalman filter. Table 3 shows the maximum tracking errors, as well as their means, given by the three methods. We see that the proposed dynamic positioning method offers a significant accuracy improvement over its static counterpart, as well as over particle filtering.

6. Conclusions

We proposed a new fingerprint-based method for indoor localization based on CSI. The proposed method uses unwrapped calibrated phase differences as fingerprints, and consists of three stages. In the first one (fingerprint modeling), a model of the room’s fingerprints is constructed. In the second stage (static positioning) we use this model, together with the maximum likelihood criterion, to obtain a preliminary position estimate based only on the fingerprint measured at the receiver. Finally, in the third stage (dynamic positioning), we use a maximum likelihood Kalman filter to combine this preliminary estimate with a dynamic model for the receiver’s motion, to obtain the final estimate. We present experimental results comparing the localization accuracy of the proposed method with that of other rival methods. This is done in two scenarios, namely, in the ideal one in which fingerprints used for localization are similar to those used for initialization, and in a more realistic scenario, in which these fingerprints differ due to alterations in the environment. Our experiments show that our method is more accurate than its rivals in both situations.
The proposed three-stage technique also applies to other types of measurements. A future research direction is to find out how much improvement this technique brings to measurements using Bluetooth and ultra-wideband signals. How to fuse different types of measurements, and how much additional improvement this may bring, will be of interest too. The maximum likelihood Kalman filter method that we use in the dynamic positioning stage is only valid if the motion model of the receiver is linear and Gaussian. However, non-linear motion models are sometimes used, particularly in robotics. An extension of the proposed method consists in modifying the dynamic localization stage so as to handle these kinds of non-linear models. While this is out of the scope of the present work, it is a future research direction as well.

Author Contributions

Conceptualization, D.M. and M.F.; methodology, D.M.; software, W.W.; validation, W.W.; formal analysis, D.M.; investigation, W.W. and D.M.; resources, M.F.; data curation, W.W.; writing—original draft preparation, W.W.; writing—review and editing, D.M. and M.F.; visualization, W.W. and M.F.; supervision, D.M. and M.F.; project administration, M.F.; funding acquisition, M.F. All authors have read and agreed to the published version of the manuscript.


This research was funded by the National Natural Science Foundation of China grant numbers 61633014, 61803101 and U1701264, Guangdong Basic and Applied Basic Research Foundation grant number 2020A1515011505, and the Argentinean Agency for Scientific and Technological Promotion grant number PICT- 201-0985.

Conflicts of Interest

The authors declare no conflict of interest.


  1. Bensky, A. Wireless Positioning Technologies and Applications; Artech House: Norwood, MA, USA, 2016. [Google Scholar]
  2. 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]
  3. Sahinoglu, Z.; Gezici, S.; Guvenc, I. Ultra-Wideband Positioning Systems; Cambridge: New York, NY, USA, 2008. [Google Scholar]
  4. Shi, G.; Ming, Y. Survey of Indoor Positioning Systems Based on Ultra-Wideband (UWB) Technology; Springer: Berlin, Germany, 2016; pp. 1269–1278. [Google Scholar]
  5. 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]
  6. Zheng, Y.; Zhou, Z.; Liu, Y. From RSSI to CSI:Indoor localization via channel response. ACM Comput. Surv. 2013, 46, 1–32. [Google Scholar]
  7. Ma, R.; Guo, Q.; Hu, C.; Xue, J. An improved WiFi indoor positioning algorithm by weighted fusion. Sensors 2015, 15, 21824–21843. [Google Scholar] [CrossRef]
  8. Liu, H.H.; Liu, C. Implementation of Wi-Fi signal sampling on an android smartphone for indoor positioning systems. Sensors 2018, 18, 3. [Google Scholar] [CrossRef] [Green Version]
  9. Feldmann, S.; Kyamakya, K.; Zapater, A.; Lue, Z. An indoor bluetooth-based positioning system: Concept, implementation and experimental evaluation. In Proceedings of the International Conference on Wireless Networks, Las Vegas, NV, USA, 23–26 June 2003; Volume 272. [Google Scholar]
  10. Li, X.; Wang, J.; Liu, C. A Bluetooth/PDR integration algorithm for an indoor positioning system. Sensors 2015, 15, 24862–24885. [Google Scholar] [CrossRef] [Green Version]
  11. Chon, H.D.; Jun, S.; Jung, H.; An, W. Using RFID for accurate positioning. Positioning 2004, 3, 32–39. [Google Scholar] [CrossRef] [Green Version]
  12. Jechlitschek, C. A survey paper on Radio Frequency Identification (RFID) trends. Radio Freq. IDentif. 2010, 100, 765–768. [Google Scholar]
  13. Seco, F.; Jiménez, A.R. Smartphone-based cooperative indoor localization with RFID technology. Sensors 2018, 18, 266. [Google Scholar] [CrossRef] [Green Version]
  14. Nguyen, T.M.; Qiu, Z.; Cao, M.; Nguyen, T.H.; Xie, L. Single landmark distance-based navigation. IEEE Trans. Control Syst. Technol. 2019, 1–8. [Google Scholar] [CrossRef]
  15. Kotaru, M.; Joshi, K.; Bharadia, D.; Katti, S. SpotFi:Decimeter Level Localization Using WiFi. ACM Sigcomm Comput. Commun. Rev. 2015, 45, 269–282. [Google Scholar] [CrossRef]
  16. Tian, Z.; Li, Z.; Zhou, M.; Jin, Y.; Wu, Z. PILA: Sub-meter localization using CSI from commodity Wi-Fi devices. Sensors 2016, 16, 1664. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Bahl, P.; Padmanabhan, V.N. RADAR: An in-building RF-based user location and tracking system. In Proceedings of the IEEE INFOCOM 2000: Conference on Computer Communications, Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies (Cat. No.00CH37064), Tel Aviv, Israel, 26–30 March 2000. [Google Scholar]
  18. Jan, S.S.; Yeh, S.J.; Liu, Y.W. Received signal strength database interpolation by Kriging for a Wi-Fi indoor positioning system. Sensors 2015, 15, 21377–21393. [Google Scholar] [CrossRef]
  19. Youssef, M.; Agrawala, A. The Horus WLAN location determination system. In Proceedings of the 3rd International Conference on Mobile Systems, Applications, and Services, Seattle, WA, USA, 6–8 June 2005; pp. 205–218. [Google Scholar]
  20. Marelli, D.; Fu, M. Asymptotic Properties of Statistical Estimators using Multivariate Chi-squared Measurements. Digit. Signal Process. 2020, submitted. [Google Scholar]
  21. Wu, K.; Jiang, X.; Yi, Y.; Chen, D.; Luo, X.; Ni, L.M. CSI-Based Indoor Localization. IEEE Trans. Parallel Distrib. Syst. 2013, 24, 1300–1309. [Google Scholar] [CrossRef] [Green Version]
  22. Wang, X.; Gao, L.; Mao, S.; Pandey, S. DeepFi: Deep learning for indoor fingerprinting using channel state information. In Proceedings of the IEEE Wireless Communications & Networking Conference (WCNC), New Orleans, LA, USA, 9–12 March 2015. [Google Scholar]
  23. Song, Q.; Guo, S.; Liu, X.; Yang, Y. CSI amplitude fingerprinting-based NB-IoT indoor localization. IEEE Internet Things J. 2017, 5, 1494–1504. [Google Scholar] [CrossRef]
  24. Wang, W.; Marelli, D.; Fu, M. A statistical CSI model for indoor positioning using fingerprinting. In Proceedings of the 2019 Chinese Control Conference (CCC), Guangzhou, China, 27–30 July 2019; pp. 3630–3633. [Google Scholar]
  25. Chapre, Y.; Ignjatovic, A.; Seneviratne, A.; Jha, S. CSI-MIMO: Indoor Wi-Fi fingerprinting system. In Proceedings of the 39th Annual IEEE Conference on Local Computer Networks, Edmonton, AB, Canada, 8–11 September 2014. [Google Scholar]
  26. Wang, X.; Gao, L.; Mao, S. CSI Phase Fingerprinting for Indoor Localization with a Deep Learning Approach. IEEE Internet Things J. 2017, 3, 1113–1123. [Google Scholar] [CrossRef]
  27. Bernas, M.; Płaczek, B. Fully connected neural networks ensemble with signal strength clustering for indoor localization in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2015, 11, 403242. [Google Scholar] [CrossRef] [Green Version]
  28. Wang, Y.; Xiu, C.; Zhang, X.; Yang, D. WiFi indoor localization with CSI fingerprinting-based random forest. Sensors 2018, 18, 2869. [Google Scholar] [CrossRef] [Green Version]
  29. Wang, X.; Gao, L.; Mao, S. BiLoc: Bi-modal deep learning for indoor localization with commodity 5GHz WiFi. IEEE Access 2017, 5, 4209–4220. [Google Scholar] [CrossRef]
  30. Khatab, Z.E.; Hajihoseini, A.; Ghorashi, S.A. A fingerprint method for indoor localization using autoencoder based deep extreme learning machine. IEEE Sens. Lett. 2017, 2, 1–4. [Google Scholar] [CrossRef]
  31. Wang, X.; Wang, X.; Mao, S. CiFi: Deep convolutional neural networks for indoor localization with 5 GHz Wi-Fi. In Proceedings of the 2017 IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar]
  32. Figueiras, J.; Frattasi, S. Mobile Positioning and Tracking; Wiley: Hoboken, NJ, USA, 2016. [Google Scholar]
  33. Dardari, D.; Closas, P.; Djuric, P.M. Indoor Tracking: Theory, Methods, and Technologies. IEEE Trans. Veh. Technol. 2015, 64, 1263–1278. [Google Scholar] [CrossRef] [Green Version]
  34. Van Der Merwe, R.; Wan, E. Sigma-Point Kalman Filters for Probabilistic Inference in Dynamic State-Space Models. Ph.D. Thesis, OGI School of Science & Engineering at OHSU, Portland, OR, USA, 2004. [Google Scholar]
  35. Leppäkoski, H.; Collin, J.; Takala, J. Pedestrian navigation based on inertial sensors, indoor map, and WLAN signals. J. Signal Process. Syst. 2013, 71, 287–296. [Google Scholar] [CrossRef]
  36. Chen, Z.; Zou, H.; Jiang, H.; Zhu, Q.; Soh, Y.C.; Xie, L. Fusion of WiFi, smartphone sensors and landmarks using the Kalman filter for indoor localization. Sensors 2015, 15, 715–732. [Google Scholar] [CrossRef] [PubMed]
  37. Marelli, D.; Fu, M.; Ninness, B. Asymptotic Optimality of the Maximum-Likelihood Kalman Filter for Bayesian Tracking With Multiple Nonlinear Sensors. IEEE Trans. Signal Process. 2015, 63, 4502–4515. [Google Scholar] [CrossRef]
  38. Sen, S.; Radunovic, B.; Choudhury, R.R.; Minka, T. You are facing the Mona Lisa: Spot localization using PHY layer information. In Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, Low Wood Bay, Lake District, UK, 25–29 June 2012. [Google Scholar]
  39. Hardle, W. Kernel Density Estimation; Springer-Verlag New York Inc.: New York, NY, USA, 1991. [Google Scholar]
  40. Xie, Y.; Li, Z.; Li, M. Precise power delay profiling with commodity Wi-Fi. IEEE Trans. Mob. Comput. 2018, 18, 1342–1355. [Google Scholar] [CrossRef]
  41. Arulampalam, M.S.; Maskell, S.; Gordon, N.; Clapp, T. A tutorial on particle filters for online nonlinear/non-Gaussian Bayesian tracking. IEEE Trans. Signal Process. 2002, 50, 174–188. [Google Scholar] [CrossRef] [Green Version]
Figure 1. (Left) Complex values, in polar coordinates, corresponding to subcarrier m = 1 of 100 raw channel state information (CSI) measurements. (Right) The same values after phase calibration.
Figure 1. (Left) Complex values, in polar coordinates, corresponding to subcarrier m = 1 of 100 raw channel state information (CSI) measurements. (Right) The same values after phase calibration.
Sensors 20 02854 g001
Figure 2. (Left) Compensated CSI phase at three adjacent positions. (Right) Phase differences at the same positions.
Figure 2. (Left) Compensated CSI phase at three adjacent positions. (Right) Phase differences at the same positions.
Sensors 20 02854 g002
Figure 3. Empty room layout for method comparison. The wireless access point is placed in the lower-left corner.
Figure 3. Empty room layout for method comparison. The wireless access point is placed in the lower-left corner.
Sensors 20 02854 g003
Figure 4. First entry of the averaged fingerprint g ¯ i (dots) and the value yield by the model h ^ ( p , α ^ ) .
Figure 4. First entry of the averaged fingerprint g ¯ i (dots) and the value yield by the model h ^ ( p , α ^ ) .
Sensors 20 02854 g004
Figure 5. Office layout for method comparison. The wireless access point is placed in the upper-right corner, and rectangles represent desks.
Figure 5. Office layout for method comparison. The wireless access point is placed in the upper-right corner, and rectangles represent desks.
Sensors 20 02854 g005
Figure 6. Positioning error CDF (empty room).
Figure 6. Positioning error CDF (empty room).
Sensors 20 02854 g006
Figure 7. Positioning error CDF (office).
Figure 7. Positioning error CDF (office).
Sensors 20 02854 g007
Figure 8. Static positioning result.
Figure 8. Static positioning result.
Sensors 20 02854 g008
Figure 9. Comparison of the dynamic positioning results yield by particle filtering and our proposed dynamic positioning method.
Figure 9. Comparison of the dynamic positioning results yield by particle filtering and our proposed dynamic positioning method.
Sensors 20 02854 g009
Table 1. Positioning error (empty room).
Table 1. Positioning error (empty room).
MethodsMean Error [meters]Minimum Error [meters]
Static positioning1.09700.3196
Table 2. Positioning error (office).
Table 2. Positioning error (office).
MethodsMean Error [meters]Minimum Error [meters]
Static positioning1.45510.2763
Table 3. Tracking Result.
Table 3. Tracking Result.
MethodsMean Error [meters]Maximum Error [meters]
Static positioning0.98792.4325
Particle filter1.64752.8131
Dynamic positioning0.46021.0706

Share and Cite

MDPI and ACS Style

Wang, W.; Marelli, D.; Fu, M. Fingerprinting-Based Indoor Localization Using Interpolated Preprocessed CSI Phases and Bayesian Tracking. Sensors 2020, 20, 2854.

AMA Style

Wang W, Marelli D, Fu M. Fingerprinting-Based Indoor Localization Using Interpolated Preprocessed CSI Phases and Bayesian Tracking. Sensors. 2020; 20(10):2854.

Chicago/Turabian Style

Wang, Wenxu, Damián Marelli, and Minyue Fu. 2020. "Fingerprinting-Based Indoor Localization Using Interpolated Preprocessed CSI Phases and Bayesian Tracking" Sensors 20, no. 10: 2854.

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop