Next Article in Journal
Silicon Microcantilever Sensors to Detect the Reversible Conformational Change of a Molecular Switch, Spiropyan
Previous Article in Journal
ME3CA: A Cognitive Assistant for Physical Exercises that Monitors Emotions and the Environment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Pedestrian Ttracking Method Based on Wi-Fi Fingerprinting and Pedestrian Dead Reckoning

School of Electriacl and Control Engineering, Shaanxi University of Science and Technology, Xi’an 710021, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(3), 853; https://doi.org/10.3390/s20030853
Submission received: 12 December 2019 / Revised: 30 January 2020 / Accepted: 31 January 2020 / Published: 5 February 2020
(This article belongs to the Section Physical Sensors)

Abstract

:
Wi-Fi based positioning has great potential for use in indoor environments because Wi-Fi signals are near-ubiquitous in many indoor environments. With a Reference Fingerprint Map (RFM), fingerprint matching can be adopted for positioning. Much assisting information can be adopted for increasing the accuracy of Wi-Fi based positioning. One of the most adopted pieces of assisting information is the Pedestrian Dead Reckoning (PDR) information derived from inertial measurements. This is widely adopted because the inertial measurements can be acquired through a Commercial Off The Shelf (COTS) smartphone. To integrate the information of Wi-Fi fingerprinting and PDR information, many methods have adopted filters, such as Kalman filters and particle filters. A new methodology for integration of Wi-Fi fingerprinting and PDR is proposed using graph optimization in this paper. For the Wi-Fi based fingerprinting part, our method adopts the state-of-art hierarchical structure and the Penalized Logarithmic Gaussian Distance (PLGD) metric. In the integration part, a simple extended Kalman filter (EKF) is first used for integration of Wi-Fi fingerprinting and PDR results. Then, the tracking results are adopted as initial values for the optimization block, where Wi-Fi fingerprinting and PDR results are adopted to form an concentrated cost function (CCF). The CCF can be minimized with the aim of finding the optimal poses of the user with better tracking results. With both real-scenario experiments and simulations, we show that the proposed method performs better than classical Kalman filter based and particle filter based methods with both less average and maximum positioning error. Additionally, the proposed method is more robust to outliers in both Wi-Fi based and PDR based results, which is commonly seen in practical situations.

1. Introduction

While the problem of outdoor positioning has been extensively solved due to the developments of the Global Navigation Satellite System (GNSS), the indoor localization problem is still waiting for a satisfactory and reliable solution. Currently, many techniques have been applied to the area of indoor positioning. According to their different degrees of dependence on external infrastructures, these techniques can roughly be categorized into three types:
  • Fully independent of external infrastructures. This type of positioning method relies on the inertial readings from waist mounted [1,2] or foot mounted [3,4,5] Inertial Measurement Units (IMUs) to calculate the relative position changes of the pedestrian. As the self-contained IMUs are adopted, no external signals or infrastructures are needed. Although the Pedestrian Dead Reckoning (PDR) algorithm [6] (corresponds to the waisted mounted situation) or the Zero Velocity Update (ZVU) algorithm [7] (corresponds to the foot mounted situation) can reduce the positioning error growth from cubic to linear, this type of method still has accumulative errors without upper bounds, without, however, the need for preinstalled devices. This type of method is thus suitable for emergency response cases, such as fire fighting.
  • Fully dependent on special external infrastructures. This type of method or system relies on specially designed and deployed hardware (such as beacons or tags) in the positioning areas to provide the positioning signals. For example, the active bat system [8] and the Cricket system [9] adopt the deployed ultrasonic signals for positioning. The system SpotON [10] adopts the Radio Frequency Identification (RFID) technique to locate the pedestrian. Some other positioning systems, such as [11,12], adopt the Ultra Wide Band (UWB) system to locate the pedestrian according to Time of Arrival (ToA) measurements provided by the UWB systems. As this type of positioning system needs to deploy sensors or beacons all over the positioning areas, it is normally high cost and with limited coverage.
  • Dependent on the near-ubiquitous signals in indoor environments. An example of this type is Wi-Fi based indoor positioning. As the Wi-Fi signals are already abundant in a wide range of buildings nowadays, they can be adopted without considering peculiar deployment. In this way, the cost can be lowered and the coverage significantly expanded.
In Wi-Fi based positioning, the user carries a Wi-Fi signal receiver—in most scenarios, a smartphone—-and needs to be located. From the receiver, Received Signal Strength Indication (RSSI) readings can be acquired for positioning use. The methods for Wi-Fi based positioning methods can roughly be categorized into two types: model based [13,14,15] and fingerprinting based [16,17,18]. Model based methods assume a path loss model to estimate the distances from the Access Points (APs) to the user. With the derived ranges, the position of the user can be estimated. However, as both the accuracy of the path loss model and the positions of APs are not always perfectly known, the overall accuracy of such a system can be greatly deteriorated. Fingerprinting based methods are arguably more accurate and more suitable for large scale use cases. Fingerprints in this context denote the RSSI readings from different APs and are considered unique, indicating different positions. The receiver can tell the RSSI readings from different APs because the APs are constantly sending messages containing information of their own Media Access Control (MAC) addresses. In this type of method, two steps are essential: the offline training phase and the online localization phase. In the offline training phase, a Reference Fingerprint Map (RFM) is established with fingerprints collected at different known locations called Reference Points (RPs). Then, in the localization step, a recently collected fingerprint is compared against the fingerprints in the RFM to solve for the position where the fingerprint is collected.
Much research has been done on the localization step. The RADAR system [19] proposed a simple k Nearest Neighbor (kNN) method for matching the RSSI fingerprints and solving for the location. Bayes’ rule is implemented in [20] and the localization problem is regarded as a Maximum A Posterior (MAP) estimation problem. However, these methods are computationally expensive with large Regions of Interest (RoI). To solve the problem of positioning latency due to larger RoI and to enhance accuracy, hierarchical positioning methods are proposed in [21,22]. In these methods, the RFMs are clustered into smaller batches or subregions either in the RSSI space or the coordinate space. The position of the user is first confined in one or several batches (coarse localization). Then comes the fine localization. As coarse localization can limit the search space to smaller regions, the positioning efficiency is increased. As the only hardware on the user side is normally a smartphone, other sensors mounted on the phone, e.g., inertial sensors, can be adopted to get superior positioning accuracy than pure Wi-Fi fingerprinting based positioning. Additionally, some other available information, e.g., indoor floorplans, can also be adopted. Generally, to include multiple sources of information to enhance Wi-Fi based fingerprinting is called assisted positioning. The authors in [23] adopted a particle filter (PF) to fuse the information of Wi-Fi fingerprinting positioning results, Pedestrian Dead Reckoning (PDR) information estimated from inertial sensors and indoor floorplans. The methodology proposed to form a discretized representation of the indoor map and then adopt it as a priori information in the PF probabilistic model. As some irrelevant degrees of freedom in the state space are removed, the methods can sufficiently decrease the number of particles needed while boosting accuracy. In [24], the authors proposed a particle filter method to integrate the fingerprinting and step counter results. This method is calibration-free for the step counter model and works transparently for heterogeneous devices and users. In [25], the authors combined the notions of hierarchical positioning and assisted positioning by designing a two-filter approach. The final positioning results are adopted for constraining the search space for fingerprinting matching. The first stage filter is a Kalman filter (KF) to achieve a smoothed fingerprinting matching. The second stage KF is adopted to integration of fingerprint matching results and PDR results. In [26], a PF was also adopted. The two primary sources needed to be integrated in the method are the Wi-Fi RSSI and PDR results. However, iBeacons are also deployed in areas with limited AP coverage and can be adopted to occasionally correct positioning errors. In [27], the authors again adopted a particle filter to integrate the information of Wi-Fi fingerprinting, PDR results and an indoor map. Differently, both fixed lag and fixed interval PF based smoothing processes were studied in the implementation, both of which can enhance accuracy and reliability compared to a conventional particle filter.
In the context of indoor pedestrian tracking from Wi-Fi fingerprint matching and other sources of information, most methods rely on filters such as KF and PF. Although some publications have made some modifications on the standard filter processes, e.g., by adding smoothing [27] and by adding multi-stage filter integration [25], they are still variants of filter based approaches. For these methods, no matter how the filters are implemented, e.g., Kalman filter or particle filter, they are assumed to be first-order Markov processes, denoting that the next estimation is only based on the previous estimation. All the previous information or observations are represented as the covariance matrix in the Kalman filter and a group of particles in the particle filter. In the structure of filter based methods, as the filtering process goes on, previous information is gradually “forgotten.”
In this paper, a novel methodology for integration of Wi-Fi fingerprinting and PDR results is proposed. The methodology is graph optimization based rather than filter based. In the proposed graph-optimization based approach, all available observations, no matter whether they are old or current, contribute the same to the final concentrated cost function (CCF) and thus enable reaching globally optimized parameters, rather than sub-optimal estimations in filter based methods. The method only uses sensors from a Commercial Off The Shelf (COTS) smartphone. The framework of the methodology is shown in Figure 1, consisting of two blocks. The filter block is essentially a simple extended Kalman filter (EKF) integrating Wi-Fi fingerprinting and PDR results for tracking. The tracking results are adopted as initial values for the optimization block, while Wi-Fi fingerprinting and PDR results are adopted to form an CCF. The CCF can be minimized with the aim of finding the optimal poses of the user with better tracking results. As the EKF tracking results can normally provide sufficiently good initial values, the optimization can reach convergence in only a few iterations. This means that the optimization has the ability to run on real time. Experiments were designed to verify that the proposed methodology can outperform classical KF and PF based methods in terms of pedestrian tracking accuracy. Simulations were carried out, showing that the proposed methodology is more robust to noises or errors in both Wi-Fi fingerprint matching results and PDR results. The fingerprinting errors are by far the most prevalent in practical situations due to many reasons, such as constant changes in the RFM and RSSI measurement noises. PDR errors are also very common in real applications, possibly due to unconventional movement of the smartphone carriers.
The remainder of the paper is arranged as follows: Section 2 gives the related works on pedestrian tracking, including the PDR algorithm and graph optimization, which are used as tools for solving the pedestrian tracking problem in this paper. Section 3 is the methods section, describing the details of the proposed method (Figure 1). Section 4 is the experiment section with both simulations and real-scenario experiments. Then comes the conclusion (Section 5) and the discussion (Section 6).

2. Related Works

The PDR algorithm has become more and more common in many smartphone based applications because it is an efficient way for tracking the user based on inertial readings [28,29]. Graph optimization, as an alternative to filter based methods, has gained more and more attention over the years, and has been proven to have more accurate results than filter based methods in vision based positioning [30,31,32]. The PDR algorithm and graph based optimization are adopted as two tools for solving the pedestrian tracking problem in this paper. They are introduced as follows.

2.1. Pedestrian Dead Reckoning

Unlike closed form inertial calculations, the PDR algorithm for pedestrian tracking assumes a step wise motion model of the user; i.e., the user walks step by step. This can be described in Equation (1):
x t = x t 1 + L t c o s ( φ t ) y t = y t 1 + L t s i n ( φ t )
where x t and y t denote the user’s position of the t t h step. The position can be derived from the previous step if the step length L t and the heading φ t are known. In order to track the user’s positions, the PDR algorithm should provide the three types of corresponding information in the following ways:
  • Detecting new steps. This involves activity recognition based on inertial readings. The user can carry the smartphone while at standstill, moving forward and during other irregular movements. This issue has been studied in publications such as [28]. If new steps were detected falsely, the tracking error will increase.
  • Step length estimation. This corresponds to the estimation of L t from Equation (1). This can not be done through inertial calculation because there is too much noise in the inertial readings and the error accumulates cubically. In our paper, we adopt the a priori model, which assumes that the step length is linear to the step frequency.
    L t = a f t + b
    where f t is the frequency of new steps and parameters a and b are related to the users. From publication [33], these parameters can be adaptively estimated during walking. According to the method, minimum training data are needed for the relationship between a, b, step frequency and step length for different individuals. Therefore, there is a need for minimum "offline" training phase for the step length estimation.
  • Orientation or heading estimation. This corresponds to the estimation of φ t from Equation (1). In this paper, we adopt the method proposed in [34], where the magnetometer readings can be adopted to improve heading estimation. The method in [34] also has the advantages of low computational load and is able to operate under low sensor sampling rates. This is in favor of limiting the needed computing power and enabling real time implementation.
Although many methods have been proposed to enhance the accuracy of the PDR algorithm, tracking results based on pure PDR are still quite unreliable due to the fact that the inertial sensors on a smartphone are low end inertial sensors. In general, the tracking results from the PDR algorithm are integrated with other types of information to work. In our paper, the other type of information is the Wi-Fi based fingerprint matching.

2.2. Graph Optimization

Graph optimization can be regarded as the counterpart of recursive filters. In recursive filters, such as in KF or PF, the newest state or estimation is made with the latest observation and the previous state estimations. While in graph optimization, the states in different times are estimated in a batch by minimizing the CCF composed of square error terms between the observations and the states at different times. It is a state-of-the-art technique widely adopted in the visual based positioning area, especially for the visual based Simultaneously Localization and Mapping (SLAM) problems.
In the graph optimization problem, the CCF can be represented as square sums, and can be related to a graph, where the nodes can represent the states or variables to be estimated and the edges between the nodes can present a known relationship between the nodes. Minimizing the CCF is essentially finding the best configuration of nodes which satisfies the known relationships (i.e., observations) best [35]. As the CCF has the square sum terms, the optimization problem can be regarded as the minimization of non-linear least squares. The typical solution for such a problem is to linearize around the current state, solve a linear system and then iterate. For solving the linear system, typical methods include Gauss-Newton algorithm and Levenberg-Marquardt algorithm. The solution for the graph optimization problem was surveyed in detail in [36], and we directly took the functional tools from it.
In the context of pedestrian positioning, the tool of graph optimization mostly focuses on building the RFM. In [37], the authors adopted the tool for building the RFM with a foot-mounted Inertial Measurement Unit (IMU) and a smartphone. In [38], the tool was adopted to merge crowd-sourced trajectories and generate the RFM with the help of some known landmarks. In those methods, other external devices or information, e.g., Bluetooth beacons, external inertial measurements units (IMUs) or landmarks with known positions are needed, which increases the system complexity, hindering them from prevalent usage in indoor environments. The proposed method, however, focuses on the positioning part, and only relies on a smartphone on the user side, which is suitable for ubiquitous indoor positioning. In our paper, we focus on pedestrian tracking adopting the tool by integration of PDR results and Wi-Fi fingerprint matching. Here, we do not go to detail for the optimization process but rather focus on how to fit the mentioned pedestrian tracking problem with the graph optimization framework.

3. Method

As shown in Figure 1, two types of readings from the smartphones are adopted for positioning: RSSI values and inertial readings. The RSSI values are adopted for the Wi-Fi based fingerprint matching algorithm, which can estimate the locations of the users. More of the matching algorithm implemented here will be discussed in Section 3.1. The inertial readings are processed through the PDR algorithm. As mentioned in Section 2.1, the step detection and the step length were estimated adaptively from [33], and the orientation estimation was taken from the method in [34]. Because these are widely adopted, mature methods, we do not include the details in the scope of this paper. For the Wi-Fi based fingerprinting results, the position estimation may have some outliers due to the noise in both the RFM and the measured RSSI. For the PDR based tracking results, the positioning error may accumulate in time severely. These two estimations are considered independent because they come from different sensors on the phone. They also have different error features and can be integrated to achieve better results. The EKF (introduced in Section 3.2) is firstly carried out to integrate the Wi-Fi based fingerprinting results and the PDR results. A rough fusion output can then be acquired. The output acts as the initial value for the graph optimization block (including the establishing of the CCF and the process for optimization). The outputs of the graph optimization block are the final tracking results, which are provably more accurate than the output from the EKF. The graph optimization block is introduced in Section 3.3.

3.1. Wi-Fi Based Fingerprint Matching

The Wi-Fi based fingerprint matching algorithm is the key for Wi-Fi based positioning. When without any additional data to assist positioning, the matching results can be directly adopted as the location estimations of the users. In our implementation, we adopt the hierarchical structure for Wi-Fi based positioning. The hierarchical based positioning can significantly lower the computational cost if the RFM covers a large area [21]. The structure of the hierarchical based Wi-Fi fingerprint matching is shown in Figure 2. It has two stages: the coarse positioning stage and the accurate positioning stage. In the coarse stage, the positioning area is partitioned into larger grids. The representing fingerprint for the area is represented as the set as all the available APs in the grid:
O i = F j a i A P ( F j )
where F j is the fingerprint (vector of RSSIs from different APs), a i denotes the area of the grid i and the function A P ( . ) returns the set of available APs of the fingerprint. For a newly collected fingerprint F n e w , the task is to compare it with all the representing fingerprints in the grid areas, and choose several of the closest grids as the potential area. During the comparison, we adopt a simple Jaccard distance:
d c o a r s e ( O n e w , O i ) = | O n e w O i | | O n e w O i |
where O n e w denotes the AP set of the newly collected fingerprints F n e w and the operator | . | denotes the cardinality of the set. The Jaccard distance is adopted in a similar manner in [39]. The distance metric is generally faster because it does not need to complement the fingerprints to vectors of the same length. However, also because the Jaccard distance only takes the availability of APs into consideration, it is not as accurate as those metrics adopting the actual values of RSSIs as well. This metric is suitable for use in the coarse localization stage because we only need to narrow the potential area to a small number of grids.
As mentioned, in accurate localization phase, as the search space is narrowed, the matching process can be accelerated. Here we implement the Penalized Logarithmic Gaussian Distance (PLGD) distance as the metric between two fingerprints. The PLGD metric is proposed in [40] and has better performance than a traditional Logarithmic Gaussian Distance (LGD), which is defined as:
d L G D ( F i , F j ) = k log m a x ( G ( F i , k , F j , k ) , ϵ )
The index k means the indexes of APs shared by F i and F j , and the respective RSSI values are F i , k and F j , k . The function G ( . ) can be written as:
G ( F i , k , F j , k ) = 1 2 π σ 2 exp ( ( F i , k , F j , k ) 2 2 σ 2 )
The m a x operation in Equation (5) gives an upper bound of ϵ if G ( F i , k , F j , k ) is close to zero. However, the LGD metric does not consider the situation where some APs are available in F i but not in F j or vise versa. Therefore, PLGD adds the terms to give a penalty for the situation:
d P L G D ( F i , F j ) = d L G D ( F i , F j ) + α ( ϕ ( F i , F j ) + ϕ ( F j , F i ) )
where the coefficient α is a hyperparameter indicating the weight of the penalized terms and is studied in the experimental section. The function ϕ ( . ) is
ϕ ( F i , F j ) = k | λ F i , k |
where the index k represents the indexes of APs in F i but not in F j , and λ is a default RSSI value indicating a missing measured attribute. In our implementation, this value was set to −100 dBm. The PLGD metric considers both the availability information and the RSSI values in the fingerprints, and was thus adopted for our method.

3.2. EKF for Integration

To integrate the information of PDR based estimations and Wi-Fi fingerprint matching based estimations, a EKF is adopted here. Normally, the EKF includes two phases: the prediction phase and the measurement correction phase. In our implementation, the prediction denotes adopting the step length and heading change from the PDR algorithm to make the prediction of the person’s position in the next step. The measurement correction phase denotes correct the errors in PDR based tracking according to the estimated positions from Wi-Fi based fingerprint matching.
The person’s state can be represented as the horizontal positions and the heading:
s t = x t y t φ t
The prediction can be written as:
s t + 1 = s t + L t c o s ( φ t + δ φ t ) L t s i n ( φ t + δ φ t ) δ φ t
Here L t and φ t are the estimated step length and the heading change from the PDR algorithm. Then the covariance of the state P t is updated as:
P t + 1 = A t P t A t T + W t Q t W t T
As Equation (10) means that the prediction is a none linear process, when solving for the covariance update, it should be linearized. Then, matrix A t is the Jacobian of Equation (10) over the state s . Similarly, matrix W t is the Jacobian matrix over the “driven vector” [ L t , δ φ t ] . In this implementation, A t can be written as:
A t = 1 0 L t s i n ( φ t + δ φ t ) 0 1 L t c o s ( φ t + δ φ t ) 0 0 1
and W t can be written as
W t = c o s ( φ t + δ φ t ) L t s i n ( φ t + δ φ t ) s i n ( φ t + δ φ t ) L t c o s ( φ t + δ φ t ) 0 1
Q t is the process noise, and here we assume that it is linearly related to the estimated step length and heading change form the PDR algorithm:
Q t = a L t 0 0 b δ φ t
where a , b are the linear coefficients.
In the measurement correction phase, as two of the elements of the state s t are directly observable, the measurement model is deemed as linear. The observation matrix can be written as:
H t = 1 0 0 0 1 0
Then the measurement correction calculation can be written as
K t = P t H t ( H t P t H t T + R ) s t = s t + K t ( Z t H t s t ) P t = ( I K t H t ) P t
where
  • R is the noise variance matrix for the Wi-Fi based position estimation;
  • Z t is the position estimation from the Wi-Fi based fingerprint matching process;
  • K t is the Kalman gain;
  • In this process, the predicted s and P from the prediction step are corrected according to the observation Z t .
There are some outliers from the Wi-Fi based fingerprint matching process. However, we do not take out the outliers in the EKF. The integration results from the EKF are only rough estimations and need to be further taken care of.

3.3. CCF Forming and Graph Optimization

As mentioned, unlike recursive filters, the graph optimization can adopt all the available measurements to estimate the positions in a batch. The key for graph optimization is to construct a graph or CCF to minimize by varying the state estimations. In the problem of integration of PDR and Wi-Fi based fingerprinting, the overall CCF should include both sub-terms in the form of square errors. The CCF can also be represented as a graph shown in Figure 3. Each node (circle) denotes a state variable to be estimated, and here the nodes indicate the state or poses of the person. The squares denote the available measurements. There are two types of measurements here, and they are the pose changes (including step length and heading change) from the PDR algorithm and the position estimations from the Wi-Fi based fingerprint matching. The edges connecting the nodes mean that the corresponding observation can represent some relationship of the nodes. In other words, a cost term can be formed between the observation and corresponding nodes. The symbols in the graph representation are:
  • s t are the poses of the person to be estimated;
  • u t denotes the estimations from the PDR algorithm and u t = [ L t , δ φ t ] T ;
  • Z t means the two-dimensional position estimations from Wi-Fi based positioning and can be written as Z t = [ x z , t , y z , t ] T .
As can be seen in Figure 3, there are two types of edges; correspondingly, there are also two types of error terms in the CCF. We firstly form the PDR based error terms. From the variables from s t , we can derive the pose change u t s between the previous time and the current time:
u t s = ( x t s x t 1 s ) 2 + ( y t s y t 1 s ) 2 φ t s φ t 1 s = L t s δ φ t s
where [ x t s , y t s , φ t s ] are taken from the variables of s t . Then we can form the cost (in a square sum form) denoting the differences between the pose changes derived from PDR and pose changes derived from the state variables as:
C P D R = k e k P D R W P D R e k P D R T
where k denotes indexes on all steps, W P D R denotes a 2 × 2 weight matrix for the cost and e k P D R is
e k P D R = L t L t s δ φ t δ φ t s T
which is composed of the step length and heading differences. If the state variables are exactly the same with the PDR derived results, C P D R should be 0.
The costs derived from Wi-Fi based fingerprint matching are similar. They represent the differences between the state variables and the estimations from Wi-Fi positioning. The cost can be written as:
C W i F i = q e q W i F i W W i F i e q W i F i T
where q is the indexes over all WiFi based position estimations; W W i F i is the weight matrix, also being 2 × 2 dimensional; and e q W i F i is
e q W i F i = Z q x q s y q s
Z q means the two-dimensional position estimations from Wi-Fi fingerprinting. Similarly, if the states’ variables are the same as the Wi-Fi based results, the Wi-Fi cost term should be 0.
For the weights of WiFi based cost function, as there should be no differences in error contributions between the errors in x-axis and y-axis, we define each as:
W W i F i = 1 , 0 0 , 1
For the PDR based cost function, we define the weight matrix as follows according to the contribution in [41]:
W P D R = 1 , 0 0 , 10
which implies that the heading error contributes 10 times more than the step size error. As the weights for the PDR cost function were already studied in publication [41], here we directly take the value.
Then, the CCF is the sum of the PDR terms and Wi-Fi terms:
C C F = a C P D R + ( 1 a ) C W i F i
For the weights of the CCF terms, we can assume that the weights are summed to be 1. This assumption is reasonable because any scale factor of the weights would not affect the results of the minimization of the CCF. The symbol a is a hyper-parameter defining the weights of the CCF terms. The value of a should be between 0 and 1. If it is 0, then the fusion result would degenerate to pure Wi-Fi fingerprinting based results, and otherwise to pure PDR results. In our method, we vary the value of a from 0 to 1 spaced at 0.1. Figure 4 shows the average positioning errors with different values of a. We can see that the curve is flat in the center and peaks at the two ends. The peaks denote that only one type of information between Wi-Fi fingerprinting and PDR results is adopted. We can also see from the figure that the flat area ranges from about 0.3 to about 0.6. In this range, the average positioning error only has minor fluctuations. This means that the average positioning error is not sensitive to the value during this range. In our implementation, we adopted the value 0.4. To sum it up, here only one of the weights factors was considered as a hyper-parameter to tune prior to the implementation to the approach. Other weights were directly taken from previous publications. It was just a current implementation, and how the overall weights will affect our method will be studied in the future.
The minimization problem for the CCF is a classical square sum minimization problem, and has been solved with some compact tools like G2O [36]. Another thing to be noted is that there are some outliers in the measurements, including PDR results due to false step detection and Wi-Fi positioning results due to changes in the RFM and noises in the collected RSSI fingerprints. To overcome the outlier problem, we have added a Huber loss function on the CCF
C C F = n ρ ( r n ( x ) )
where ρ ( . ) is the Huber loss function, n represents the indexes over all the square terms, r n ( ) is the residual error and x denotes all the variables to be estimated. The Huber loss function is added to avoid the phenomenon that outliers can introduce large residuals. The adding of loss functions on the CCF is a technique called iterative least-squares, and is introduced in detail in [36]. The complexity for the optimization is O ( N 2 ) , where N is the dimension of the state space, herein the number of poses to be estimated.

4. Experiment

Both a real-scenario experiments and simulations were carried out to verify the effectiveness of the proposed method. Since Wi-Fi based fingerprint matching can be considered as a fundamental for the proposed methodology, it was tested, at first showing that the implementation here (specifically the hierarchical structure and the PLGD metric) is effective at increasing the positioning accuracy solely from Wi-Fi fingerprints. Then, the performance of the proposed integrated positioning methodology adopting PDR and Wi-Fi fingerprint matching was tested and compared with traditional integration methods such as EKF and particle filtering. Besides experiments adopting data collected in real-scenarios, we also carried out simulations by manually adding outliers in positioning results from Wi-Fi fingerprint matching and PDR. Then we tested the robustness of the proposed graph optimization based methodology. Note that the positioning outliers for Wi-Fi based fingerprinting and PDR result matching can be very common in practical situations.

4.1. Experimental Settings

To test the performance of the positioning methodology, two fundamental issues should be considered.
  • The prerequisites are needed for Wi-Fi based fingerprinting matching. Most importantly, the RFM should be established in the experimental scene.
  • The positioning benchmarks should be established. This raises the issue of how to acquire the ground truth positions to get the positioning errors and the statistics of the positioning errors.
We designed the experiments considering the aforementioned fundamental issues. The experiments were carried out in a partial part of a mall, as shown in Figure 5. There were already abundant APs installed in the mall, so there was no need for further installation of APs for the experiments. To solve for the first issue, we adopted the method in [40] for generating the RFM. Specifically, we acquired the map of the mall, as shown in Figure 5. The Nexus 6P device (Android OS) was adopted to collect the Wi-Fi signal fingerprints. The person carrying the device was asked to walk around in the mall and to mark positions by clicking on the device’s screen. Then, according to the marking time of the positions and the Wi-Fi fingerprinting collecting time, the locations of the reference points were interpolated. The RFM was established according to the fingerprints and the interpolated positions. For the second issue, the ground truth positions were measured in a similar way by interpolation according to the marking time and the fingerprints collecting time. In Figure 5, it can be seen that the positions are spaced in nearly all the floorplan. In our experiment, the total number of points was 2373. This number includes the reference points (70%) adopted for establishing the RFM and the ground truth positions (30%) for testing accuracy. The locations of the points look a bit random for the following reasons: (1) the sampling interval of the Wi-Fi fingerprints is not a constant in the actual data collection process due to the scanning mechanism; (2) the walking trajectories of the person have some randomness. The aforementioned scheme for labeling coordinate positions is not perfect. The coordinate position accuracy highly depends on each data collector’s marking accuracy. However, this method is widely adopted because the effort needed for labeling is much less than site surveying using a total station.
For the purpose of data collection, an Android application was developed. The Android application can:
  • Show the map of the mall;
  • Log the marking time and positions;
  • Log the collected Wi-Fi fingerprints and the collecting time;
  • Log the inertial measurements with time.
Most importantly, the different types of data have synchronized timestamps, and thus can be adopted for interpolation as aforementioned. Another thing should be noted is that the positioning errors statistics were all based on the positions at the fingerprinting collecting time, not the times of steps (PDR epochs). Even though the position integration returned the positioning estimations at each step, we adopted the estimations to derive the position estimations at Wi-Fi fingerprint collecting time to show the error statistics.

4.2. Wi-Fi Based Fingerprint Matching

The Wi-Fi fingerprint matching in our methodology implements a hierarchical structure and the PLGD metric. Wi-Fi fingerprint matching can be considered as a fundamental work for our methodology, which can provide the Wi-Fi based positioning estimations for integration. Here we carried out experiments showing that the proposed fingerprint matching method has better performance by adopting the hierarchical structure and the PLGD metric. Figure 6 shows the Cumulative Density Functions (CDFs) comparisons of the different combinations: with hierarchical+PLGD, without hierarchical+PLGD, with hierarchical+LGD, and without hierarchical+LGD. We can see that adopting both the hierarchical structure and the PLGD metric can increase the positioning performance. Specifically, applying the hierarchical structure can bring an average error decrease of about 2.0 m. By applying PLGD the number is about 2.1 m, and by applying both the number is 3.5 m.
In the proposed Wi-Fi based fingerprinting, some hyper-parameters have effects over the positioning accuracy. The hyper-parameters include the grid length, σ and α (adopted in metric definition in the fingerprinting space). To define the best hyper-parameters, a three-dimensional search is normally needed. However, instead of performing the three-dimensional optimal hyper-parameter search, we only performed a two-dimensional search (over σ and α ) assuming typical grid length values (1, 1.5 and 2 m). This is because that dividing the coordinate space into grids is not new in Wi-Fi based positioning. We found out that the grids were adopted in publications such as [21,39,42]. Typical grid length ranges from 1 to 2 m in the mentioned papers. The two-dimensional search results are shown in Figure 7; we found out that the average positioning errors do not change much if the grid length values are within the three typical values. This might be the reason why many publications do not list the value of grid length as one of the hyper-parameters to tune prior to positioning. In our method, we adopted 1.5 m as the grid length value. The corresponding two-dimensional hyper-parameter search results when the grid length equals 1.5 are shown in Figure 7b. Recall that σ and α denotes the variance of the LGD and the penalty coefficient. The ranges of the σ and α are limited according to their typical values from other implementations [40]. The search resolution of σ is about 0.67 and that of α is about 7.8. From Figure 7b, we can see that the best hyper-parameters herein for σ and α are 6.7 and 33.3 respectively.

4.3. Integration of PDR and Wi-Fi Based Fingerprinting

By walking in the experimental scene and marking on the map, we can establish a RFM, as mentioned before. Then we can collect some test data which includes Wi-Fi fingerprints, inertial measurements and marking positions. With these data, we can achieve the ground truth positions of the person (through linear interpolation according to time) and can test the performance of the proposed methodology. Both a real-scenario experiment and simulations were carried out for such purposes.

4.3.1. Real-Scenario Data Experiment

Figure 8 shows the positioning error CDF comparisons of the proposed methodology and the pure Wi-Fi based positioning without the assisting of PDR information. It shows that the PDR information is very useful for helping increasing the positioning performance.
Figure 9 shows the positioning error CDF comparisons between the proposed graph optimization methodology, Kalman filter based integration method (the results are taken from the descriptions in Section 3.2) and particle filter based integration method. Note that the Kalman filter based integration can provide the initial values for graph optimization in the proposed methodology. Not surprisingly, our method provides the best positioning performance, with a CDF above the other’s CDF values. This is because our method can be regarded as having adopted all the available information for estimation, while the Kalman based method and the particle filter based method can only adopt the previous measurements for position estimation at current time.
The results from both Figure 8 and Figure 9 are summarized in Table 1. We can see that integration of PDR information can indeed increase positioning performance regardless of which integration method is adopted. The average positioning error of the proposed method is 0.8 m and 0.7 m less than Kalman filter based method and particle filter based method respectively. Additionally, using the proposed method, the maximum positioning error is greatly decreased, by 1.3 m compared with the Kalman filter based method and by 1 m from the particle filter based method. The dropping of maximum positioning error can show that the proposed method is more robust than the other two integration methods.

4.3.2. Simulations

In practical Wi-Fi fingerprinting and PDR based positioning, there may be several outliers due to a large variety of reasons. For Wi-Fi based fingerprinting, the positioning results from Wi-Fi based fingerprint matching are often not as good as in Section 4.2. This is because that the RFM is constantly changing in the environment. There are many factors causing such changes, including the moving object and people, the installations of APs, the moving of existing APs and so on. These changing factors can cause the positioning errors from Wi-Fi based fingerprint matching to increase; in particular, they can bring outliers into position estimations. For PDR based positioning, the outliers may originate from bad accuracy in the devices’ inertial sensors and irregular walking patterns or device placement patterns. These factors can be commonly seen in practical applications and need to be taken into consideration. Therefore, to dissect into the robustness of the proposed method, we performed simulations which introduced different levels of outliers both in Wi-Fi fingerprinting and PDR positioning. Specifically, for Wi-Fi positioning, we manually added Wi-Fi positioning outliers to 5% and 10% of the data. Table 2 and Table 3 show the positioning results comparisons of the three integration methods. Here, we added the outliers by randomly choosing a specific percentage of Wi-Fi based positioning results and adding errors uniformly distributed at a range between 10 and 20 m. For PDR based positioning, outliers were added by introduce larger errors in pose changes. For that, we also took 5% and 10% of all PDR based pose changes as outliers. In these outliers, we introduced a uniformly distributed step length scale factor between 0.5 to 2, and a heading change scale factor, also from 0.5 to 2. Table 4 and Table 5 show the respective error comparisons of the proposed method, traditional Kalman filter based method and particle filter based method.
Figure 10 shows the average error curve comparisons of the three methods in different outlier conditions. The horizontal axis denotes the different outlier conditions and the vertical axis denotes the average positioning errors. Table 6 shows the how the outlier conditions correspond to the numbers in the horizontal axis. From this figure, we can see that under all outlier conditions, the average positioning error curves are generally below that of the Kalman and particle filter based methods, proving that our method has better robustness against respective outliers in both Wi-Fi fingerprinting and PDR positioning.

5. Conclusions

The Wi-Fi fingerprinting based positioning method has great potential for usage in indoor environments. To enhance the positioning accuracy, many types of assisted information can be adopted. The most commonly seen assisted information is the PDR information because it is normally available from a COTS smartphone. Filters such as Kalman filters and the particle filter are adopted in many methods for the integrated positioning. A new methodology is proposed in this paper which combines hierarchical Wi-Fi fingerprinting, Kalman filtering and graph optimization. According to the experiments: (1) the adoption of the hierarchical structure and the PLGD metric can improve the Wi-Fi based positioning accuracy; (2) with real-scenario data, our method was proven to be more accurate than classical Kalman filter and particle filter based methods (with less average positioning errors); (3) both real-scenario experiments and simulations have shown that the proposed method is more robust than the classical Kalman filter based method and particle the filter based method (with less maximum positioning error). Particularly, the proposed method performs better than classical Kalman filter and particle filter based methods if a lot of outliers exist in both Wi-Fi based fingerprinting and PDR results. The average position error is 1.7 and 2.0 m less than traditional Kalman filter based integration and particle filter based integration if 10% outliers are added in both Wi-Fi fingerprinting and PDR results.

6. Discussions and Future Work

The aim of this paper was to provide an approach for ubiquitous indoor positioning, especially for scenarios in public areas, such as malls, stations and airports. The proposed approach only requires a COTS smartphone and already-installed APs. In our approach, no extra hardware is needed and large-scale deployment costs are minimized. Therefore, it is suited for ubiquitous indoor positioning in a lot of public areas.
As mentioned, the complexity of the proposed optimization is O ( N 2 ) , where N is the number of poses to be estimated. Therefore, as the positioning time grows longer, the number of poses also grows, which can lead to significant latency in positioning. One simple strategy to alleviate the growing latency is to gradually discard error terms related to poses in early times, thereby giving the optimization problem an upper limit scale. However, in our experiment, the latency is not significant, since our longest trajectory only has 137 poses. The detailed strategy for lower the positioning latency will be studied in the future.
Other assistive techniques such as RFID, UWB, foot mounted positioning and so on are also very helpful for improving positioning accuracy. However, compared to Wi-Fi networks, normally they need to be installed on purpose, thereby increasing the system cost. Overall, the cost-efficiencies of other assistive techniques will be studied in the future.
Specially, if some satellite based results are available in the outdoor environment, they can be adopted in the proposed method. The CCF can then include terms derived from satellite based observations, and thus improve the overall accuracy. The adoption of satellite based information in the outdoor environment will also be studied in the future.

Author Contributions

Data curation, G.G.; Methodology, X.J.; Writing—original draft, B.F.; Writing—review & editing, W.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (Grant No.61871259, 61811530325).

Acknowledgments

We thank the School of Electriacl and Control Engineering, Shaanxi University of Science and Technology for giving us administrative support for this research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Alvarez, J.C.; Alvarez, D.; López, A.; González, R.C. Pedestrian Navigation Based on a Waist-Worn Inertial Sensor. Sensors 2012, 12, 10536–10549. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Lan, K.; Shih, W. Using simple harmonic motion to estimate walking distance for waist-mounted PDR. In Proceedings of the 2012 IEEE Wireless Communications and Networking Conference (WCNC), Paris, France, 1–4 April 2012; pp. 2445–2450. [Google Scholar] [CrossRef]
  3. Ma, M.; Song, Q.; Gu, Y.; Li, Y.; Zhou, Z. An Adaptive Zero Velocity Detection Algorithm Based on Multi-Sensor Fusion for a Pedestrian Navigation System. Sensors 2018, 18, 3261. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Jiménez, A.R.; Seco, F.; Prieto, J.C.; Guevara, J. Indoor pedestrian navigation using an INS/EKF framework for yaw drift reduction and a foot-mounted IMU. In Proceedings of the 2010 7th Workshop on Positioning, Navigation and Communication, Dresden, Germany, 11–12 March 2010; pp. 135–143. [Google Scholar] [CrossRef]
  5. Robertson, P.; Angermann, M.; Krach, B. Simultaneous Localization and Mapping for Pedestrians Using Only Foot-Mounted Inertial Sensors. In UbiComp ’09: Proceedings of the 11th International Conference on Ubiquitous Computing; Association for Computing Machinery: New York, NY, USA, 2009; pp. 93–96. [Google Scholar] [CrossRef] [Green Version]
  6. Qian, J.; Pei, L.; Ma, J.; Ying, R.; Liu, P. Vector Graph Assisted Pedestrian Dead Reckoning Using an Unconstrained Smartphone. Sensors 2015, 15, 5032–5057. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Nilsson, J.O.; Gupta, A.K.; Handel, P. Foot-mounted inertial navigation made easy. In Proceedings of the IPIN 2014–2014 International Conference on Indoor Positioning and Indoor Navigation, Busan, Korea, 27–30 October 2014; pp. 24–29. [Google Scholar] [CrossRef]
  8. Addlesee, M.; Curwen, R.; Hodges, S.; Newman, J.; Steggles, P.; Ward, A.; Hopper, A. Implementing a sentient computing system. Computer 2001, 34, 50–56. [Google Scholar] [CrossRef] [Green Version]
  9. Priyantha, N.B.; Chakraborty, A.; Balakrishnan, H. The Cricket Location-support System. In MobiCom ’00: Proceedings of the 6th Annual International Conference on Mobile Computing and Networking; ACM: New York, NY, USA, 2000; pp. 32–43. [Google Scholar] [CrossRef]
  10. Han, S.; Kim, J.; Park, C.H.; Yoon, H.C.; Heo, J. Optimal Detection Range of RFID Tag for RFID-based Positioning System Using the k-NN Algorithm. Sensors 2009, 9, 4543–4558. [Google Scholar] [CrossRef] [PubMed]
  11. 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]
  12. Alavi, B.; Pahlavan, K. Modeling of the TOA-based distance measurement error using UWB indoor radio measurements. IEEE Commun. Lett. 2006, 10, 275–277. [Google Scholar] [CrossRef]
  13. Zhang, Q.; Zhou, Z.; Xu, W.; Qi, J.; Guo, C.; Yi, P.; Zhu, T.; Xiao, S. Fingerprint-free tracking with dynamic enhanced field division. In Proceedings of the 2015 IEEE Conference on Computer Communications (INFOCOM), Hong Kong, China, 26 April–1 May 2015; pp. 2785–2793. [Google Scholar] [CrossRef]
  14. Kim, K.H.; Kim, J.H.; Yoon, Y.J.; Seok, J.H.; Lim, J.W. Propagation model for the WLAN service at the campus environments. In Proceedings of the 57th IEEE Semiannual Vehicular Technology Conference, VTC 2003, Jeju, Korea, 22–25 April 2003; pp. 196–200. [Google Scholar] [CrossRef]
  15. Bose, A.; Foh, C.H. A practical path loss model for indoor WiFi positioning enhancement. In Proceedings of the 2007 6th International Conference on Information, Communications Signal Processing, Singapore, 10–13 December 2007; pp. 1–5. [Google Scholar] [CrossRef]
  16. Liu, H.; Gan, Y.; Yang, J.; Sidhom, S.; Wang, Y.; Chen, Y.; Ye, F. Push the Limit of WiFi Based Localization for Smartphones. In Mobicom ’12: Proceedings of the 18th Annual International Conference on Mobile Computing and Networking; ACM: New York, NY, USA, 2012; pp. 305–316. [Google Scholar] [CrossRef] [Green Version]
  17. Khalajmehrabadi, A.; Gatsis, N.; Akopian, D. Modern WLAN Fingerprinting Indoor Positioning Methods and Deployment Challenges. IEEE Commun. Surv. Tutor. 2017, 19, 1974–2002. [Google Scholar] [CrossRef] [Green Version]
  18. Mirowski, P.; Whiting, P.; Steck, H.; Palaniappan, R.; MacDonald, M.; Hartmann, D.; Ho, T. Probability Kernel Regression for WiFi Localisation. J. Locat. Based Serv. 2012, 6, 81–100. [Google Scholar] [CrossRef]
  19. Bahl, P.; Padmanabhan, V.N. RADAR: An in-building RF-based user location and tracking system. In Proceedings of the 19th Annual Joint Conference of the IEEE Computer and Communications Societies (Cat. No.00CH37064), Tel Aviv, Israel, 26–30 March 2000; Volume 2, pp. 775–784. [Google Scholar] [CrossRef]
  20. Park, J.G.; Charrow, B.; Curtis, D.; Battat, J.; Minkov, E.; Hicks, J.; Teller, S.; Ledlie, J. Growing an Organic Indoor Location System. In MobiSys ’10: Proceedings of the 8th International Conference on Mobile Systems, Applications, and Services; ACM: New York, NY, USA, 2010; pp. 271–284. [Google Scholar] [CrossRef] [Green Version]
  21. Feng, C.; Au, W.S.A.; Valaee, S.; Tan, Z. Received-Signal-Strength-Based Indoor Positioning Using Compressive Sensing. IEEE Trans. Mob. Comput. 2012, 11, 1983–1993. [Google Scholar] [CrossRef]
  22. Venetsanopoulos, A.N.; Plataniotis, K.N.; Kushki, A. Kernel-Based Positioning in Wireless Local Area Networks. IEEE Trans. Mob. Comput. 2007, 6, 689–705. [Google Scholar] [CrossRef] [Green Version]
  23. Hilsenbeck, S.; Bobkov, D.; Schroth, G.; Huitl, R.; Steinbach, E. Graph-based Data Fusion of Pedometer and WiFi Measurements for Mobile Indoor Positioning. In UbiComp ’14: Proceedings of the 2014 ACM International Joint Conference on Pervasive and Ubiquitous Computing; ACM: New York, NY, USA, 2014; pp. 147–158. [Google Scholar] [CrossRef]
  24. He, S.; Chan, S.H.G.; Yu, L.; Liu, N. Calibration-Free Fusion of Step Counter and Wireless Fingerprints for Indoor Localization. In UbiComp ’15: Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing; Association for Computing Machinery: New York, NY, USA, 2015; pp. 897–908. [Google Scholar] [CrossRef]
  25. Zhuang, Y.; Li, Y.; Qi, L.; Lan, H.; Yang, J.; El-Sheimy, N. A Two-Filter Integration of MEMS Sensors and WiFi Fingerprinting for Indoor Positioning. IEEE Sens. J. 2016, 16, 5125–5126. [Google Scholar] [CrossRef]
  26. Zou, H.; Chen, Z.; Jiang, H.; Xie, L.; Spanos, C. Accurate indoor localization and tracking using mobile phone inertial sensors, WiFi and iBeacon. In Proceedings of the 2017 IEEE International Symposium on Inertial Sensors and Systems (INERTIAL), Kauai, HI, USA, 27–30 March 2017; pp. 1–4. [Google Scholar] [CrossRef]
  27. Fetzer, T.; Ebner, F.; Deinzer, F.; Köping, L.; Grzegorzek, M. On Monte Carlo smoothing in multi sensor indoor localisation. In Proceedings of the 2016 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016; pp. 1–8. [Google Scholar] [CrossRef]
  28. Kasebzadeh, P.; Hendeby, G.; Fritsche, C.; Gunnarsson, F.; Gustafsson, F. IMU dataset for motion and device mode classification. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–8. [Google Scholar] [CrossRef] [Green Version]
  29. Zhu, X.; Li, Q.; Chen, G. APT: Accurate outdoor pedestrian tracking with smartphones. In Proceedings of the 2013 Proceedings IEEE INFOCOM, Turin, Italy, 14–19 April 2013; pp. 2508–2516. [Google Scholar] [CrossRef]
  30. Mur-Artal, R.; Tardós, J.D. ORB-SLAM2: An Open-Source SLAM System for Monocular, Stereo, and RGB-D Cameras. IEEE Trans. Robot. 2017, 33, 1255–1262. [Google Scholar] [CrossRef] [Green Version]
  31. Engel, J.; Koltun, V.; Cremers, D. Direct Sparse Odometry. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 611–625. [Google Scholar] [CrossRef] [PubMed]
  32. He, S.; Shin, K.G. Crowd-Flow Graph Construction and Identification with Spatio-Temporal Signal Feature Fusion. In Proceedings of the IEEE INFOCOM 2019—IEEE Conference on Computer Communications, Paris, France, 29 April–2 May 2019; pp. 757–765. [Google Scholar] [CrossRef]
  33. Alvarez, D.; Gonzalez, R.C.; Lopez, A.; Alvarez, J.C. Comparison of step length estimators from weareable accelerometer devices. In Proceedings of the 2006 International Conference of the IEEE Engineering in Medicine and Biology Society, New York, NY, USA, 30 August–3 September 2006; pp. 5964–5967. [Google Scholar] [CrossRef]
  34. Madgwick, S.O.H.; Harrison, A.J.L.; Vaidyanathan, R. Estimation of IMU and MARG orientation using a gradient descent algorithm. In Proceedings of the 2011 IEEE International Conference on Rehabilitation Robotics, Zurich, Switzerland, 29 June–1 July 2011; pp. 1–7. [Google Scholar] [CrossRef]
  35. Grisetti, G.; Kummerle, R.; Stachniss, C.; Burgard, W. A Tutorial on Graph-Based SLAM. IEEE Intell. Transp. Syst. Mag. 2010, 2, 31–43. [Google Scholar] [CrossRef]
  36. Kümmerle, R.; Grisetti, G.; Strasdat, H.; Konolige, K.; Burgard, W. G2o: A general framework for graph optimization. In Proceedings of the IEEE International Conference on Robotics and Automation, Shanghai, China, 9–13 May 2011; pp. 3607–3613. [Google Scholar] [CrossRef]
  37. Gu, Y.; Zhou, C.; Wieser, A.; Zhou, Z. WiFi based trajectory alignment, calibration and crowdsourced site survey using smart phones and foot-mounted IMUs. In Proceedings of the 2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–6. [Google Scholar] [CrossRef]
  38. Tan, J.; Fan, X.; Wang, S.; Ren, Y. Optimization-Based Wi-Fi Radio Map Construction for Indoor Positioning Using Only Smart Phones. Sensors 2018, 18, 3095. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  39. Zhou, C.; Wieser, A. Jaccard Analysis and LASSO-Based Feature Selection for Location Fingerprinting with Limited Computational Complexity. In Progress in Location Based Services 2018; Kiefer, P., Huang, H., de Weghe, N., Raubal, M., Eds.; Springer International Publishing: Cham, Switzerland, 2018; pp. 71–87. [Google Scholar]
  40. Cramariuc, A.; Huttunen, H.; Lohan, E.S. Clustering benefits in mobile-centric WiFi positioning in multi-floor buildings. In Proceedings of the 2016 International Conference on Localization and GNSS (ICL-GNSS), Barcelona, Spain, 28–30 June 2016; pp. 1–6. [Google Scholar] [CrossRef]
  41. Nowicki, M.; Skrzypczyński, P. Indoor Navigation with a Smartphone Fusing Inertial and WiFi Data via Factor Graph Optimization. In Mobile Computing, Applications, and Services; Sigg, S., Nurmi, P., Salim, F., Eds.; Springer International Publishing: Cham, Switzerland, 2015; pp. 280–298. [Google Scholar]
  42. Feng, C.; Au, W.S.A.; Valaee, S.; Tan, Z. Compressive Sensing Based Positioning Using RSS of WLAN Access Points. In Proceedings of the 2010 IEEE INFOCOM, San Diego, CA, USA, 14–19 March 2010; pp. 1–9. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The framework of the proposed method for pedestrian tracking adopting Wi-Fi Received Signal Strength Indication (RSSI) and inertial measurements from a smartphone.
Figure 1. The framework of the proposed method for pedestrian tracking adopting Wi-Fi Received Signal Strength Indication (RSSI) and inertial measurements from a smartphone.
Sensors 20 00853 g001
Figure 2. The hierarchical structure for Wi-Fi based positioning in our implementation.
Figure 2. The hierarchical structure for Wi-Fi based positioning in our implementation.
Sensors 20 00853 g002
Figure 3. The graphical representation for the problem of integration of Pedestrian Dead Reckoning (PDR) based position estimations and Wi-Fi based estimations.
Figure 3. The graphical representation for the problem of integration of Pedestrian Dead Reckoning (PDR) based position estimations and Wi-Fi based estimations.
Sensors 20 00853 g003
Figure 4. Average positioning error over different values of hyper-parameter a.
Figure 4. Average positioning error over different values of hyper-parameter a.
Sensors 20 00853 g004
Figure 5. The experimental scene at a mall along with the points where fingerprints were collected.
Figure 5. The experimental scene at a mall along with the points where fingerprints were collected.
Sensors 20 00853 g005
Figure 6. Wi-Fi fingerprinting based positioning results comparisons using different strategies.
Figure 6. Wi-Fi fingerprinting based positioning results comparisons using different strategies.
Sensors 20 00853 g006
Figure 7. Two-dimensional grid search for the hyperparameters α and σ for Wi-Fi based fingerprinting if (a) grid length is 1 m; (b) grid length is 1.5 m; (c) grid length is 2 m.
Figure 7. Two-dimensional grid search for the hyperparameters α and σ for Wi-Fi based fingerprinting if (a) grid length is 1 m; (b) grid length is 1.5 m; (c) grid length is 2 m.
Sensors 20 00853 g007
Figure 8. The Cumulative Density Function (CDFs) comparisons between pure Wi-Fi based positioning and the integrated positioning using the proposed methodology.
Figure 8. The Cumulative Density Function (CDFs) comparisons between pure Wi-Fi based positioning and the integrated positioning using the proposed methodology.
Sensors 20 00853 g008
Figure 9. The CDF comparisons between the proposed methodology, the Kalman filter based methodology and the particle filter based methodology.
Figure 9. The CDF comparisons between the proposed methodology, the Kalman filter based methodology and the particle filter based methodology.
Sensors 20 00853 g009
Figure 10. Average positioning comparisons of our method, the Kalman filter based method and the particle filter based method over different outlier conditions.
Figure 10. Average positioning comparisons of our method, the Kalman filter based method and the particle filter based method over different outlier conditions.
Sensors 20 00853 g010
Table 1. The average and maximum positioning error comparisons using different methods.
Table 1. The average and maximum positioning error comparisons using different methods.
MethodAverage Error (m)Max Error (m)
pure Wi-Fi based4.215.1
proposed method2.98.4
Kalman filter3.79.7
particle filter3.69.4
Table 2. The average and maximum positioning error comparisons if 5% of outliers in Wi-Fi fingerprinting are added.
Table 2. The average and maximum positioning error comparisons if 5% of outliers in Wi-Fi fingerprinting are added.
MethodAverage Error (m)Max Error (m)
proposed method3.28.7
Kalman filter4.310.7
particle filter4.110.8
Table 3. The average and maximum positioning error comparisons if 10% of outliers in Wi-Fi fingerprinting are added.
Table 3. The average and maximum positioning error comparisons if 10% of outliers in Wi-Fi fingerprinting are added.
MethodAverage Error (m)Max Error (m)
proposed method3.59.2
Kalman filter5.215.2
particle filter5.414.9
Table 4. The average and maximum positioning error comparisons if 5% of outliers in PDR positioning are added.
Table 4. The average and maximum positioning error comparisons if 5% of outliers in PDR positioning are added.
MethodAverage Error (m)Max Error (m)
proposed method3.78.5
Kalman filter4.511.4
particle filter4.511.9
Table 5. The average and maximum positioning error comparisons if 10% of outliers in PDR positioning are added.
Table 5. The average and maximum positioning error comparisons if 10% of outliers in PDR positioning are added.
MethodAverage Error (m)Max Error (m)
proposed method4.211.2
Kalman filter5.917.2
particle filter5.716.9
Table 6. The numbers and their corresponding outlier conditions.
Table 6. The numbers and their corresponding outlier conditions.
NumbersOutlier Conditions
1no outliers
25% Wi-Fi outlier
35% PDR outlier
45% Wi-Fi outlier + 5% PDR outlier
510% Wi-Fi outlier
610% PDR outlier
75% Wi-Fi outlier + 10% PDR outlier
810% Wi-Fi outlier + 5% PDR outlier
910% Wi-Fi outlier + 10% PDR outlier

Share and Cite

MDPI and ACS Style

Feng, B.; Tang, W.; Guo, G.; Jia, X. An Improved Pedestrian Ttracking Method Based on Wi-Fi Fingerprinting and Pedestrian Dead Reckoning. Sensors 2020, 20, 853. https://doi.org/10.3390/s20030853

AMA Style

Feng B, Tang W, Guo G, Jia X. An Improved Pedestrian Ttracking Method Based on Wi-Fi Fingerprinting and Pedestrian Dead Reckoning. Sensors. 2020; 20(3):853. https://doi.org/10.3390/s20030853

Chicago/Turabian Style

Feng, Bo, Wei Tang, Guofa Guo, and Xiaohong Jia. 2020. "An Improved Pedestrian Ttracking Method Based on Wi-Fi Fingerprinting and Pedestrian Dead Reckoning" Sensors 20, no. 3: 853. https://doi.org/10.3390/s20030853

APA Style

Feng, B., Tang, W., Guo, G., & Jia, X. (2020). An Improved Pedestrian Ttracking Method Based on Wi-Fi Fingerprinting and Pedestrian Dead Reckoning. Sensors, 20(3), 853. https://doi.org/10.3390/s20030853

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