Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Non-Uniform Microstrip Antenna Array for DSRC in Single-Lane Structures
Previous Article in Journal
Robust Grape Cluster Detection in a Vineyard by Combining the AdaBoost Framework and Multiple Color Components
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Wi-Fi/MARG Integration for Indoor Pedestrian Localization

Chongqing Key Lab of Mobile Communications Technology, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(12), 2100; https://doi.org/10.3390/s16122100
Submission received: 28 August 2016 / Revised: 23 November 2016 / Accepted: 6 December 2016 / Published: 10 December 2016
(This article belongs to the Section Sensor Networks)
Figure 1
<p>Architecture of the proposed system.</p> ">
Figure 2
<p>Block diagram of velocity estimation.</p> ">
Figure 3
<p>Results of step detection.</p> ">
Figure 4
<p>Block diagram of velocity calculation.</p> ">
Figure 5
<p>Block diagram of heading estimation.</p> ">
Figure 6
<p>CDFs of RSS from two different APs for 3 min. (<b>a</b>) RSS from AP with the MAC address C0: A0: BB: 26: 56: 50; (<b>b</b>) RSS from AP with the MAC address C0: A0: BB: 27: 88: 20.</p> ">
Figure 7
<p>CDFs of RSS under four different orientations for 3 min. (<b>a</b>) RSS from AP with the MAC address C0: A0: BB: 26: 56: 50; (<b>b</b>) RSS from AP with the MAC address C0: A0: BB: 27: 88: 20.</p> ">
Figure 8
<p>Pseudo code of the selection of the best-matching radio map.</p> ">
Figure 9
<p>Environment layout.</p> ">
Figure 10
<p>Interface of our developed software. (<b>a</b>) Mobile client; (<b>b</b>) Remote control.</p> ">
Figure 11
<p>Body coordinate frame with respect to the receiver.</p> ">
Figure 12
<p>Distance errors between the real and estimated walking distances.</p> ">
Figure 13
<p>Testbed for heading estimation.</p> ">
Figure 14
<p>CDFs of errors of heading estimation.</p> ">
Figure 15
<p>Statistical errors of heading estimation.</p> ">
Figure 16
<p>Result of heading estimation.</p> ">
Figure 17
<p>CDFs of errors of heading estimation under different values <math display="inline"> <semantics> <mrow> <mi>K</mi> <mi>p</mi> </mrow> </semantics> </math> and <math display="inline"> <semantics> <mrow> <mi>K</mi> <mi>i</mi> </mrow> </semantics> </math>. (<b>a</b>) Different value <math display="inline"> <semantics> <mrow> <mi>K</mi> <mi>p</mi> </mrow> </semantics> </math>; (<b>b</b>) Different value <math display="inline"> <semantics> <mrow> <mi>K</mi> <mi>i</mi> </mrow> </semantics> </math>.</p> ">
Figure 18
<p>Testbed for static localization.</p> ">
Figure 19
<p>Testbed for dynamic localization.</p> ">
Figure 20
<p>CDFs of errors by using different types of database. (<b>a</b>) Orientation 1; (<b>b</b>) Orientation 2; (<b>c</b>) Orientation 3; (<b>d</b>) Orientation 4.</p> ">
Figure 21
<p>CDFs of errors by using different Wi-Fi localization approaches.</p> ">
Figure 22
<p>Location tracking by the proposed fusion, PBL, and WBL systems.</p> ">
Figure 23
<p>CDFs of errors by the proposed fusion, PBL, and WBL systems.</p> ">
Figure 24
<p>Location tracking by the proposed fusion, EKF, and REKF systems.</p> ">
Figure 25
<p>CDFs of errors by using the proposed fusion, EKF, and REKF systems.</p> ">
Figure 26
<p>CDFs of errors under different numbers of particles.</p> ">
Figure 27
<p>Comparison of computation time. (<b>a</b>) Under different number of particles; (<b>b</b>) Under different fusion systems.</p> ">
Versions Notes

Abstract

:
With the wide deployment of Wi-Fi networks, Wi-Fi based indoor localization systems that are deployed without any special hardware have caught significant attention and have become a currently practical technology. At the same time, the Magnetic, Angular Rate, and Gravity (MARG) sensors installed in commercial mobile devices can achieve highly-accurate localization in short time. Based on this, we design a novel indoor localization system by using built-in MARG sensors and a Wi-Fi module. The innovative contributions of this paper include the enhanced Pedestrian Dead Reckoning (PDR) and Wi-Fi localization approaches, and an Extended Kalman Particle Filter (EKPF) based fusion algorithm. A new Wi-Fi/MARG indoor localization system, including an Android based mobile client, a Web page for remote control, and a location server, is developed for real-time indoor pedestrian localization. The extensive experimental results show that the proposed system is featured with better localization performance, with the average error 0.85 m, than the one achieved by using the Wi-Fi module or MARG sensors solely.

1. Introduction

The maturation and popularization of wireless communication technology has led to the emergence and development of various Location-Based Services (LBSs). LBSs are significantly required by the pedestrian in indoor environments, especially for emergency applications. In outdoor environments, the Global Position System (GPS) has been widely used and is able to provide high-enough localization accuracy. Unfortunately, due to the serious signal attenuation from the satellites, the localization performance in indoor environments becomes greatly degraded and even unavailable. Although various indoor localization systems, such as the Wi-Fi Received Signal Strength (RSS) [1,2], ZigBee [3], ultra-wideband [4], radio frequency identification [5], Bluetooth [6], and inertial sensors [7] based indoor localization systems, have been significantly studied, the design of the highly-accurate and low-cost indoor localization system still forms an interesting topic.
Wi-Fi RSS based indoor localization has been recognized as one of the most popular and representative indoor localization technologies. In the indoor Wi-Fi environment, commercial mobile devices can be used to collect the Wi-Fi RSS with the built-in Wi-Fi module. The signal propagation model based indoor localization approach generally requires the precise modelling of the RSS and physical distance, which is difficult to obtain [8]. The location fingerprint based indoor localization approach does not require foreknowing the locations of Access Points (APs), and thereby it adapts to the environmental well. This approach involves two phases: the offline and online phases. In the offline phase, the Wi-Fi RSS from APs is collected at each Reference Point (RP), and then a radio map is constructed based on the Wi-Fi RSS, MAC addresses, and location coordinates. Then, in the online phase, the new Wi-Fi RSS is collected in a real-time manner to be matched against the pre-constructed radio map for the localization. However, this method often leads to large localization errors and location jumps due to the irregular fluctuation of the RSS which is caused by the complex indoor environment. Besides, the computation cost involved in fingerprint matching generally increases with the increase of the dimensions of the target environment.
At the same time, with the rapid development of the Micro-Electro-Mechanical System (MEMS) technology, the Magnetic, Angular Rate, and Gravity (MARG) sensors have been embedded in various handheld devices such as the smartphones. By using the MARG sensors, the Pedestrian Dead Reckoning (PDR) approach, which relies on the previous locations, stride length, and walking direction to calculate the current location of the pedestrian, has become very popular for pedestrian localization. Some previous studies use the empirical models about the walking state to estimate the stride length [9], meanwhile the existing heading estimation approaches [10,11,12,13] usually rely on the gyroscope solely or the fusion of the gyroscope and magnetometer to calculate the user heading. However, the stride length cannot be accurately estimated in each step when the pedestrian walks in changing scenarios and the heading calculation may also not be accurate when the measurement data suffer from magnetic interference and gyroscope drift. Although the PDR approach is able to achieve high localization accuracy in short time, the drift of the estimated locations will occur as the time goes on, since the inertial measurement unit easily suffers from the accumulative errors of the estimated stride length and walking direction. On the contrary, the Wi-Fi RSS based localization approach estimates the absolute locations of the pedestrian, which can help to mitigate the accumulative errors of the PDR. These two localization approaches are complementary to each other for the sake of improving the indoor localization accuracy.
Although a large number of fusion algorithms have been studied for integrating the PDR and Wi-Fi localization, many critical issues are still open. The current fusion algorithms mainly focus on deploying the Particle Filter (PF) [14,15], Kalman Filter (KF) [16], and the improved algorithm based on the previous two algorithms. The PF helps a lot in improving the localization accuracy, especially for the nonlinear and non-Gaussian systems, but it involves high computation cost. In addition, it is difficult to obtain the optimal Importance Density Function (IDF) which is used for generating the high-quality particles. The KF is based on the assumption that the noise obeys the Gaussian distribution with zero mean, which cannot be easily satisfied in the actual indoor environment.
In summary, the most important contribution of this paper is to design a novel indoor localization system by using built-in MARG sensors and Wi-Fi module. To improve the robustness and effectiveness of our system, we accomplish the design and optimization of three main modules, including the enhanced Wi-Fi localization, enhanced Pedestrian Dead Reckoning, and Extended Kalman Particle Filter (EKPF) based fusion algorithms. We propose integrating the map information and the results of the PDR and Wi-Fi localization by using the EKPF, which depends on the EKF to optimize the IDF with the purpose of reducing the number of particles and approximating the true posterior distribution. In the PDR, by considering magnetic interference and gyroscope drift, the complementary filter auxiliary Extended Kalman Filter (EKF) is used to integrate the tri-axial accelerometer, tri-axial gyroscope, and tri-axial magnetometer for the sake of estimating the heading of the pedestrian. In addition, we adopt a neural network to estimate the parameters of the stride length model as well as calculating the velocity per each second. For the Wi-Fi localization, we apply the improved affinity propagation clustering to save the computation time of fingerprint matching and reduce the number of large localization errors. This process is shown in Figure 1 and the detailed steps will be discussed in the following sections.
The rest of this paper is organized as follows. Section 2 introduces the related works. Section 3 describes the proposed system including the PDR and Wi-Fi localization approaches, as well as the related fusion algorithm. In Section 4, the extensive experiments are carried out in an actual indoor environment. Finally, Section 5 concludes the paper and provides some future directions.

2. Related Works

In recent decades, various low-cost inertial sensors have been equipped in the off-the-shelf smartphones due to many functional requirements, and meanwhile the Wi-Fi network has also been widely deployed in the indoor environment. Thus, the PDR and Wi-Fi localization approaches are recognized as the two most promising approaches used for indoor localization. The earliest work focusing on the fusion of the PDR and Wi-Fi localization is discussed in [17]. The authors achieve the integration of the inertial sensors and Wi-Fi module by using both the PF and KF. In concrete terms, as one of the most important parameters in the PDR, the heading of the pedestrian is estimated by the KF, which fuses the output of the gyroscope and the angle of trajectory calculated by the Wi-Fi localization. However, the approach is limited in terms of localization accuracy since their performance significantly depends on the robustness of Wi-Fi localization. In [18], the authors propose an adaptive integration frame to fuse localization information from the GPS/MARG and Wi-Fi/MARG integrated subsystems, and meanwhile use a Sequential Importance Resampling (SIR) PF approach to integrate the Wi-Fi RSS measurements and data from the MARG sensors. The particles are calculated by using the velocity and attitude coming from MARG sensors, while ignoring the impact of Wi-Fi observation data on particle sampling. In this paper, we depend on the EKF with observation data from the Wi-Fi and MARG sensors to optimize the IDF for the sake of reducing the number of particles and approximating the true posterior distribution.
The work studied in [19] focuses on integrating the gyroscope, accelerometer, and Wi-Fi fingerprint by using a complementary EKF. This approach estimates the heading of the pedestrian, based on the data from the gyroscope and the linear model between the step length and step frequency. An auto-calibration process is introduced in [20] to reduce the measurement error of heading direction as well as the estimation error of step length during movement.
Considering the variation of Wi-Fi RSS, computation cost involved in fingerprint matching, and utilization of the low-cost inertial sensors built-in smartphones, the refresh rate model of the Wi-Fi signal is introduced in [21] to optimize the Wi-Fi localization, and meanwhile the affinity propagation clustering is discussed in [22] to reduce the computation cost for the positioning. At the same time, an empirical model constructed from the individual height and peak-to-peak magnitude of the acceleration in each step is developed in [23] to estimate the stride length of the pedestrian. The quaternion based heading estimation approach [24] is capable of compensating the drift of heading estimation with low computation cost. Different from the approaches above, in this paper, we first rely on a new velocity calculation algorithm to reduce the error of speed estimation, and meanwhile integrate the tri-axial gyroscope, tri-axial accelerometer, and tri-axial magnetometer by using the complementary filter auxiliary EKF [25] to improve the accuracy of heading estimation. Second, we apply the improved affinity propagation clustering to reduce the number of large localization errors, as well as achieving the low computation complexity. Finally, the extend Kalman particle filter is applied to accomplish the Wi-Fi/MARG fusion, which is capable of eliminating the location jumps caused by the Wi-Fi localization and the accumulative errors of the PDR.

3. System Description

3.1. Pedestrian Dead Reckoning

In the PDR, the previous location, estimated stride length, and heading are used to reckon the current location of the pedestrian. To reduce the accumulative error, we propose an enhanced algorithm for the estimation of the velocity and walking direction.

3.1.1. Velocity Estimation

We rely on the data from the tri-axial accelerometer to estimate the velocity of the pedestrian, as shown in Figure 2. In the offline phase, we optimize the calibration coefficient of an empirical model by using the Back Propagation (BP) neural network [26], and then use this model to estimate the stride length. In concrete terms, we first calculate the relative magnitude of acceleration, which is defined as the difference between the local and measuring acceleration, namely Accnorm, and meanwhile use a low-pass filter to eliminate the noise involved in Accnorm. Second, we perform the step detection to extract the gait characteristics, such as the gait frequency and statistical quantities of acceleration magnitude, i.e., mean, variance, maximum, and minimum of Accnorm. Finally, we optimize the calibration coefficient based on the BP neural network. In the online phase, we estimate the stride length and velocity of the pedestrian by using the empirical model and step detection respectively in a real-time manner.
● Step Detection
Due to the error of the installation of inertial instruments, we rely on the periodic variation of Accnorm to detect the gait of the pedestrian. In Figure 3, the abnormal peaks are caused by the random self-dithering of the human body and the noise of sensors. By setting the interval between every two adjacent local maximum values as no smaller than the time threshold T threshold and the local maximum values as larger than the amplitude threshold A m threshold , the valid steps (with green circles) are detected in Figure 3. Considering that the pedestrian approximately takes two steps for each second and the updating rate of the data from the MARG sensors is 50 Hz, we set T threshold = 0.3 s and A m threshold = 0.8 m/s 2 .
● Velocity Calculation
The velocity estimation varies from step to step, especially when the stride length is treated as a constant. We use the empirical model in Equation (1) to estimate the stride length, L k , based on the acceleration measurement.
L k = ρ a c c max k a c c min k 4
where a c c max k and a c c min k are the maximum and minimum values of Accnorm for the k-th step. ρ is the calibration coefficient which equals the ratio between the real distance d real and estimated distance d estimated . According to the biomechanical property, the stride length is determined by the step frequency and height of the pedestrian. The nonlinear model for the calibration coefficient ρ is constructed from the step frequency, f, height of the pedestrian, h, and mean and variance of accelerometer magnitude, A m e a n and A v a r , as shown in Equation (2). In our system, the coefficient ρ is estimated by using the BP neural network.
ρ = Φ ( f , A m e a n , A v a r , h )
Figure 4 shows the block diagram of velocity calculation. By performing the step detection, we can obtain the number of steps, n u m t , in each second. In the t-th second, if n u m t = 0 , the velocity is set as 0 m/s, which indicates that the pedestrian is not moving, if 0 < n u m t < 2 , the velocity is set as 0.68 m/s, which indicates that the pedestrian walks for one step, and otherwise, we calculate the velocity by
v e l o c i t y t = 1 n u m t i = 1 n u m t L t i f s i n t e r v a l t i
where L t i is the i-th stride length, which is calculated by Equation (1). i n t e r v a l t i is the number of sampling points between every two valid local maximum values. f s = 50 Hz is the updating rate of the data from the MARG sensors.

3.1.2. Heading Estimation

The state-of-the-art smartphones are generally equipped with the MARG sensors, like the tri-axial accelerometer, magnetometer, and gyroscope. Theoretically, the attitude of the carrier can be estimated by using the data in the gravity and geomagnetic fields, or the data from the gyroscope. However, the accelerometer and magnetometer are easily interfered with by the noise of sensors; meanwhile, the angular rate obtained from the gyroscope always drifts for a long time. To solve these problems, we adopt the complementary filter auxiliary EKF to estimate the heading of the pedestrian, as shown in Figure 5.
● Initial quaternion calculation
Based on the Euler theorem of the rigid body rotation [27], we use the quaternion matrix to describe the rotation of the body frame relative to the East-North-Up (ENU) reference frame, as shown in Equation (4).
H n b ( q ) = q 1 2 + q 2 2 q 3 2 q 4 2 2 ( q 2 q 3 + q 1 q 4 ) 2 ( q 2 q 4 q 1 q 3 ) 2 ( q 2 q 3 q 1 q 4 ) q 1 2 q 2 2 + q 3 2 q 4 2 2 ( q 3 q 4 + q 1 q 2 ) 2 ( q 2 q 4 + q 1 q 3 ) 2 ( q 3 q 4 q 1 q 2 ) q 1 2 q 2 2 q 3 2 + q 4 2
where H n b ( q ) is the attitude matrix. q = q 1 q 2 q 3 q 3 T is the attitude quaternion, which is set as a unit vector. We calculate the initial attitude quaternion Q init by using the data from the accelerometer and magnetometer, as shown in Equation (5).
Acc init b = H n b q · 0 0 g T Mag init b = H n b q · 0 b y n b z n T
where the initial measurement vectors from the tri-axial accelerometer and magnetometer are Acc init b = a x b a y b a z b T and Mag init b = m x b m y b m z b T respectively. g is the local gravity acceleration. b y n and b z n are the northward and perpendicular components of the local earth magnetic field in the ENU reference frame respectively. Finally, by using the method in [28] to calculate the magnetic heading angle, the initial heading of the pedestrian is calculated by
φ init = arctan m x b , m y b
● Gyroscope error modification
The accumulative error of angular rate which is caused by the drift of the gyroscope significantly deteriorates the precision of heading estimation. Although the attitude angular, which is calculated by using the data from the accelerometer and magnetometer, is not featured with high precision, it is able to remain stable for a long time. The gyroscope, accelerometer, and magnetometer can be used to complement each other since the gyroscope exhibits the high-pass property, while the accelerometer and magnetometer exhibit the low-pass property. Therefore, the complementary filter method, which relies on the complementary characteristics of the MARG sensors to modify the data from the gyroscope, improves the precision of attitude estimation. The angular velocity θ k in time domain is modified as
θ ˙ k = K θ ref k θ k + ω b k
where ω b k is a vector of the k-th measured angular rate. θ ref k is the k-th attitude angular which is calculated by using the data from the magnetometer. K is an adjustable parameter. However, the modified attitude angular cannot be easily obtained from Equation (7). To solve this problem, we select the Mahony based multi-axis complementary filter which is also used in [29] to modify the angular rate obtained from the gyroscope.
For pedestrians with a low walking speed, the attitude angular always has small variation in every 0.02 s. Thus, we use the estimated attitude angular in the latest updating to construct the attitude matrix for the sake of modifying the drift of the gyroscope. Specifically, we standardize the newly collected measurement vectors in the acceleration and geomagnetic field, Ac c b and Ma g b , in the body coordinate frame, and then estimate the projection vectors in the acceleration and geomagnetic field, a s and m s , by using the quaternion rotation matrix. Since the measurement and projection vectors are in the same coordinate frame, the cross product of them can be described as
e a = a s × Ac c b
e m = m s × Ma g b
We select the error vector e as the input of the Proportion Integral (PI) controller [30] to calculate the modification of angler rate δ ω , such that
δ ω = K p · e k + K i j = 0 k e j · Δ t
where K p is the proportional integral coefficient. K i is the control integral coefficient. Δ t is the integral time constant. e = e a + e m is the error in total.
After the value δ ω is obtained, the modified angular rate equals to
ω k = δ ω + ω b k
where ω k is the k-th modified angular rate vector.
● Attitude angular estimation
Since the data from the gyroscope can be used to estimate the attitude angular based on the differential equation of the rigid body motion, we use the EKF to estimate the attitude angular. In addition, we rely on the measurement vectors in the gravity and geomagnetic fields to modify the attitude angular.
By setting the state variable as a quaternion vector, Q , and measurement variables as the measurement vectors in the gravity and geomagnetic fields, the state and measurement equations can be constructed as
Q k = I + 1 2 Λ ω k T S Q k 1 + ϖ k Ac c b k Ma g b k = H n b Q k 0 0 H n b Q k G b + ν k
where G = 0 0 g T is the local gravity acceleration vector. b = 0 b y n b z n T is the local earth magnetic field vector in the ENU reference frame. I is the identity matrix. T S is the system interval. ω k = ω x b k ω y b k ω z b k is the modified angular rate in the k T S -th time interval. ϖ k is the matrix of processing noise and ν k is the matrix of observation noise. Λ ω k T S is calculated by
Λ ω k T S = 0 ω x b T S ω y b T S ω z b T S ω x b T S 0 ω z b T S ω y b T S ω y b T S ω z b T S 0 ω x b T S ω z b T S ω y b T S ω x b T S 0
Finally, based on the recursive filtering process in EKF by Equation (12), including the correction phase and prediction phase, we can obtain the optimal quaternion vector in each second, and then use the newly updated quaternion to estimate the heading of the pedestrian by Equation (14).
φ = arctan ( 2 ( q 1 q 2 + q 0 q 3 ) q 0 2 + q 1 2 q 2 2 q 3 2 )

3.2. Wi-Fi Localization

The Wi-Fi RSS is the superposition value of multiple signal paths, which easily suffers from the multipath interference. Figure 6 shows an example of the Cumulative Distribution Functions (CDFs) of RSS from two different APs at a given RP for 3 min. It can be obtained that the RSS is not stable, even in a short time duration, and the probability of RSS fluctuation around its mean within the range of [−5 dBm, 5 dBm] is higher than 90%. Furthermore, to examine the impact of the blocking of human body on RSS fluctuation, we design another experiment in which the RSS is collected under four different orientations, i.e., 0 , 90 , 180 , 270 , as shown in Figure 7. From these figures, we can find that (i) RSS fluctuation becomes significantly large and even reaches more than 20 dBm by the blocking of the human body; (ii) different orientations result in a different mean of RSS and different ranges of RSS fluctuation; and (iii) RSS from different APs at each RP generally has a different mean of RSS and different ranges of RSS fluctuation, which guarantees the effectiveness of Wi-Fi localization.
There are two phases involved in Wi-Fi localization, namely the offline phase and online phase. In the offline phase, we collect the RSS sequences labelled by timestamps to construct a radio map, in which the orientation of human body, MAC address of each AP, and location of each RP are also recorded. Then, based on the similarities of the RSS and the corresponding geographic location coordinates, affinity propagation clustering is performed to obtain a batch of clusters of RPs.
In the online phase, the orientations of human body are estimated by using the heading estimation approach, which has been carefully discussed in Section 3.1. Then, the newly collected RSS and the related estimated orientation are matched against the pre-constructed radio map to obtain the best-matching cluster of RPs. After that, the locations of the pedestrian are estimated by performing the WKNN on the selected RPs in the best-matching cluster.

3.2.1. Offline Phase

● Radio map construction
To deal with the problem that the RSS collected under different orientations of the human body may be featured with significant variation, we construct eight radio maps, including the four under the orientations 0 , 90 , 180 , 270 , and the other four constructed by using the mean of two radio maps with the neighbouring orientations. By assuming that there are M APs and P RPs, the RSS vector is notated as
ψ i k = ψ i , 1 k , , ψ i , j k , , ψ i , M k T
where ψ i , M k 1 i P , 1 j M , 1 k 8 is the mean of RSS from the j-th AP, at the i-th RP, and under the k-th orientation. The radio map with respect to the k-th orientation, Λ k , is constructed as
Λ k = ψ 1 k ψ 2 k ψ P k x 1 x 2 x P y 1 y 2 y P T
● Affinity propagation clustering
For simplicity, we assume that the RSS vectors collected at the RPs i and j are ψ i and ψ j respectively. To describe the similarity of every two RPs, we set the similarity function as
s ( i , j ) = ψ i ψ j 2 , i , j i 1 , 2 , , P
During affinity propagation clustering, we define two types of messages which are transmitted among different RPs, namely the responsibility message and availability message. The responsibility message, r ( i , j ) , describes the credibility about how suitably the RP j serves as the clustering centre for the RP i, while the availability message, a ( i , j ) , describes the credibility about how suitably the RP i selects the RP j as its corresponding clustering centre.
In general, the larger sum of the values r ( i , j ) and a ( i , j ) indicates the higher likelihood of the RP j to be selected as the clustering centre. In addition, the responsibility and availability messages are updated iteratively among different RPs until the optimal clustering centres and the corresponding clusters have been obtained. We define H k as the set of clustering centres and C j k as the set of RPs in the j-th cluster for the radio map with the k-th orientation. Considering that some clusters of RPs may contain the singular points, which are geographically far away from the clustering centres of the corresponding clusters, we use the outlier detection method [31] to eliminate the singular points after obtaining the set of clusters by the APC.

3.2.2. Online Phase

The online phase contains two main steps, namely the coarse localization step and fine localization step. The newly collected RSS vector is notated as
ψ A = ψ A , 1 , ψ A , 2 , , ψ A , M T
In the coarse localization step, we rely on the estimated heading of the pedestrian, φ A , to obtain the best-matching radio map. The pseudo code of this process is shown in Figure 8. Then, we match the newly collected RSS vector ψ A against the selected radio map to obtain the best-matching cluster of RPs for the fine localization.
The clustering centre of the best-matching cluster is defined as
j = arg min j H s ψ A ψ j s 2
where H s is the set of clustering centres for the selected radio map Λ s . ψ j s is the RSS vector collected at the j-th RP and in the radio map with the s-th orientation.
In the fine localization step, we perform the WKNN on some specific RPs in the best-matching cluster to locate the pedestrian. Specifically, we calculate the Euclidean distance between the newly collected RSS and the RSS at each RP in the best-matching cluster by
d j = i = 1 M S i j ψ A , i 2
where S i j i = 1 , 2 , , M , j = 1 , 2 , , n is the RSS collected from the i-th AP, at the j-th RP, and in the best-matching cluster. n is the number of RPs in the cluster C j s . ψ A , i is the newly collected RSS from the i-th AP. The estimated location of the pedestrian, L ˜ = x ˜ , y ˜ , is as follows.
L ˜ = i = 1 K ω i L i
ω i = 1 d i m = 1 K 1 d m 2
where L i = x i , y i i = 1 , 2 , , K is the i-th selected RP with the smallest Euclidean distance in the best-matching cluster. K is the number of selected RPs used for the WKNN. ω i is the weight of the i-th selected RP.

3.3. Extended Kalman Particle Filter

The performance of the conventional particle filter degrades significantly when there is a large difference between the optimal IDF and real posterior distribution function [32]. To solve this problem, we use the EKF to obtain the optimal IDF with the purpose of guaranteeing that the particles are located in the high likelihood region. By fusing the Wi-Fi fingerprint information and the data from the MARG sensors, the proposed EKPF is able to reduce the number of particles with low computation cost, as well as improving the localization accuracy.
For the PDR, we construct the state equation in Equation (23); meanwhile, by assuming that the state variable is stable in a short time, we also construct the observation equation in Equation (24).
X k = E l o c k N l o c k v e l k h e a d k = E l o c k 1 + v e l k · sin h e a d k N l o c k 1 + v e l k · cos h e a d k v e l k 1 h e a d k 1 + W k
where X k is the state variable vector. E l o c k and N l o c k are the optimal eastern and northern locations. v e l k and h e a d k are the optimal velocity and heading of the pedestrian. W k is the matrix of processing noise which obeys the Gaussian distribution with the zero mean and covariance matrix Q w .
Z k = H · X k + V k
where Z k = E l o c k W i F i N l o c k W i F i v e l k M A R G h e a d k M A R G T is the measurement variable vector. E l o c k W i F i and N l o c k W i F i are the current eastern and northern locations estimated by Wi-Fi localization. v e l k M A R G and h e a d k M A R G are the current velocity and heading of the pedestrian estimated by using the PDR. V k is the matrix of observation noise which obeys the Gaussian distribution with the zero mean and covariance matrix R v .
The steps of the proposed EKPF are summarized as follows.
First of all, due to the fact that the PDR is a relative localization approach, we rely on the Wi-Fi localization to estimate the absolute initial location of the pedestrian, E l o c 0 , N l o c 0 . At the same time, the initial particles X 0 i , i 1 , , M , where M is the number of particles, satisfy
X 0 i p X 0 = N X 0 , Q 0
where X 0 = E l o c 0 N l o c 0 0 0 T is the mean of the initial particles. p X 0 is the proposal distribution function which obeys the Gaussian distribution. Q 0 is the covariance matrix of the initial processing noise which is used to describe the dispersion degree of the initial particles. The weight of the i-th initial particle is set as ω 0 i = 1 1 M M .
Second, we apply the EKF [33] to update the state of particles in Equations (26)–(30), and meanwhile fuse the measurement information to optimize the weights of particles in Equation (31)–(32).
X ^ k k 1 i = f X ˜ k 1 i
P k k 1 i = F k , i P k 1 , i F k , i T + Q w k
K k i = P k k 1 i H k , i T H k , i P k k 1 i H k , i T + R v k 1
X ˜ k i = X ^ k k 1 i + K k i Z k H X ^ k k 1 i
P k , i = P k k 1 i K k i H k , i P k k 1 i
q k i π N X k Z 1 : k = 1 ( 2 π ) m / 2 R v k 1 / 2 exp ( [ Z k H ( X ^ k k 1 i ) ] T R v k 1 [ Z k H ( X ^ k k 1 i ) ] 2 )
q ˜ k i = q k i q k i i = 1 M q k i i = 1 M q k i
During the updating of the state of particles, the particles may be located at the incorrect locations due to the interference of noise. To solve this problem, we fuse the indoor map information to modify the trajectory of the pedestrian. Specifically, we define the particles which are located in the inaccessible areas as the invalid ones, and modify the weight of the i-th particle into
q ^ k i = 0 , inaccessible areas q ˜ k i , accessible areas
Finally, we adopt the residual resampling algorithm [34] to optimize the weights of particles further. Based on the optimal particles X ˜ k i and the corresponding weights q ^ k i , we estimate the locations of the pedestrian by
X ˜ k = i = 1 M q ^ k i X ˜ k i

4. Experimental Results

4.1. Environment Layout

The experiments are conducted on the same floor with the size of 64.6 m × 18.5 m in a building, as shown in Figure 9. There are five APs and 363 RPs which are labelled with red stars and black dots respectively in the target environment. The distance between every two neighbouring RPs in the green and yellow shaded areas is set as 0.6 m and 0.8 m. The origin of the coordinate frame is labelled with a red dot, while the X- and Y-axis point rightwards and upwards respectively.
The Galaxy S3 smartphone running under the Android 4.1.2 operation system is selected as the receiver. The interface of our developed software contains two parts, i.e., Android based mobile client (see Figure 10a) and Web page based remote control (see Figure 10b). The body coordinate frame with respect to the receiver is shown in Figure 11. The receiver collects the data from the Wi-Fi module and MARG sensors, and then transmits them to the location server through the Wi-Fi network. The location server estimates the locations of the pedestrian, and then returns the localization results to the receiver and remote control. The refresh rate of the data from the MARG sensors is 50 Hz and the updating rate of the localization is 1 Hz.

4.2. Performance of PDR Localization

4.2.1. Stride Length Estimation

To examine the performance of stride length estimation, we invite 10 volunteers with the height ranging from 150 cm to 181 cm for the testing.
● Testing design
Taking the difference of walking speed into account, each volunteer is required to walk along the same path with the length of 100 m under three different walking speeds, namely slow, normal, and fast, to train the stride length model. After the stride length model is obtained, each volunteer is required to walk along another path with the length of 140 m under the random walking speed for the testing.
● Data analysis
The two existing popular methods used to optimize the stride length model are summarized as follows. The first one [35], M 1 , is based on the ratio of the real and estimated walking distances to optimize the calibration coefficient, and then uses Equation (1) to estimate the stride length, L M 1 . The second one [9], M 2 , is based on the height and stride frequency of the pedestrian to construct a linear mathematical model to estimate the stride length, L M 2 . Different from the methods above, the proposed one, M 3 , is based on the BP neural network to optimize the calibration coefficient to estimate the stride length, L M 3 .
In Figure 12, we use the box-plots to compare the localization errors by using M 1 , M 2 , and M 3 to estimate the stride length. From this figure, we can find that the interquartile range by M 1 is larger than the ones by M 2 and M 3 , which indicates that the localization error by M 1 is the largest. Based on the upper Whiske, the maximum localization error by M 3 is the smallest, whereas an abnormal localization error (with a red cross) is resulted by M 3 .

4.2.2. Heading Estimation

The testbed used for heading estimation is shown in Figure 13. The trajectory of the pedestrian is notated as A B C D E F A with the length of 126.56 m. To investigate the performance of the proposed Complementary Filter Auxiliary EKF (CFAEKF) for heading estimation, we compare it with two existing approaches: the EKF and Gradient Descent Algorithm (GDA) [30].
Figure 14 shows the CDFs of errors of heading estimation by the proposed CFAEKF and the conventional EKF and GDA. From this figure, we can find that the proposed CFAEKF performs best, with most errors of heading estimation falling within the range of 10 , compared with the EKF and GDA. In addition, Figure 15 shows the statistical errors of heading estimation. From this figure, we can find that the 50th and 90th percentile errors by the EKF, GDA, and CFAEKF are 6.3 , 5.4 and 1.8 , and 13.7 , 14.5 and 4.9 respectively; meanwhile, the CFAEKF reduces the mean error by 57.89% and 58.84% from the ones by the EKF and GDA. To illustrate this result clearer, Figure 16 shows the result of heading estimation. From this figure, we can find that the result of heading estimation by the CFAEKF is more similar to the real heading, namely baseline, compared with the ones by the EKF and GDA.
For the CFAEKF, since the output of the gyroscope is modified by the PI controller, the selection of control parameters has a significant impact on the heading estimation. Figure 17 shows the CDFs of errors of heading estimation under different values K p and K i . From these figures, we can find that when the value K p is larger than 1, the value K p has a slight impact on the error of heading estimation. When the value K i is smaller than 100, the impact on the error of heading estimation of value K i is slight, while as the value K i increases to 1000, more than 10% of the errors are larger than 150 . Due to the consideration of the sensitivity and stability of our system, we set K p = 2 and K i = 1 .

4.3. Performance of Wi-Fi Localization

To investigate the performance of Wi-Fi localization, we design two experiments including the static and dynamic localization. Figure 18 and Figure 19 show the testbeds for the static and dynamic localization respectively. For the static localization, we collect 10 RSS samples at each test point with random orientations of human body, while for the dynamic localization, the pedestrian walks along a given path A B C D E F which is labelled by the blue solid line.
● Direction database
The proposed radio map, namely the Direction Database (DD), is constructed from the radio maps with eight different orientations. The Mean Database (MD) is defined as the radio map which is constructed from the mean of the four radio maps with the orientations 0 , 90 , 180 and 270 . For the comparison, the conventional radio map, namely the Static Database (SD), is constructed by collecting the Wi-Fi RSS at each RP without the blocking of the human body in the fixed orientation.
To investigate the impact of different databases on the accuracy of the static localization, we show the CDFs of errors in Figure 20. From this figure, we can find that the localization performance by using the DD is better than the ones by the MD and SD under four different orientations. To illustrate this result clearer, we select five popular performance metrics, i.e., mean error, standard deviation of errors, maximum error, 67% error, and probability of errors over 5 m, to compare the statistical errors by these three types of database in Table 1. Due to the blocking of the human body, the probabilities of errors over 5 m by the MD and SD are higher compared with the DD; meanwhile, the DD reduces the mean error by 30.65% and 36.61% from the ones by the MD and SD under the orientation 2.
● Affinity propagation clustering
Considering both the time overhead and localization accuracy, we propose using the improved affinity propagation clustering for the coarse localization and the inverse matching auxiliary WKNN for the fine localization, namely WKNN + Inverse matching + Improved APC. For the inverse matching method, we search for the K RPs which are geographically close to the one-step prediction location from Equation (26), estimate the RSS at the one-step prediction location by weighting the RSSs at the K selected RPs, and modify the collected RSS at the one-step prediction location by the estimated one.
Using the Wi-Fi RSS data collected on the given path (see Figure 19), we compare the CDFs of errors by using the WKNN, WKNN + Inverse matching, and the proposed WKNN + Inverse matching + Improved APC in Figure 21. From this figure, we can find that there is no error over 20 m by the WKNN + Inverse matching and WKNN + Inverse matching + Improved APC, which indicates that the inverse matching approach can effectively decrease the large error probability. In addition, the improved APC is able to reduce the large localization errors further since the process of coarse localization will discard the abnormal RPs which are far away from the corresponding clustering centres. In Table 2, we can find that the proposed approach decreases the mean error by 63.68% and 19.62%, and the 67% error by 61.47% and 20.75% from the ones by the WKNN and WKNN + Inverse matching respectively.

4.4. Performance of Fusion System

We compare the location tracking performance of the proposed fusion system and the conventional PDR-based Localization (PBL) and Wi-Fi based Localization (WBL) systems without data fusion in Figure 22. From this figure, we can find that the PBL involves the accumulative error for a long time, while the WBL contains many irregular large errors due to the disturbance of the Wi-Fi signal. As can be seen from Figure 23, the proposed fusion system performs best in localization accuracy due to the fact that it not only avoids the accumulative error by the PBL, but also eliminates the large errors by the WBL. In Table 3, it is found that the mean error by the PBL and WBL are 2.22 m and 6.79 m respectively, which is larger than the one by the proposed fusion system, 0.85 m. In addition, the proposed fusion system decreases the 67% error by 64.41% and 84.85% from the ones by the PBL and WBL respectively.
We continue to compare the location tracking performance of the proposed fusion system and the conventional fusion systems, EKF and Robust EKF (REKF) in Figure 24. Compared with the EKF and REKF, the proposed fusion system achieves the best location tracking performance, especially when the pedestrian makes a turn. The CDFs of errors by using different fusion systems are shown in Figure 25. Obviously, the proposed fusion system performs better in localization accuracy than the EKF and REKF since its particle updating scheme results in the well data fusion by combining the optimal IDF and map information. As illustrated in Table 4, the proposed fusion system decreases the mean error by 49.40% and 29.75% and standard deviation of errors by 63.64% and 38.03% from the ones by the EKF and REKF respectively.
Finally, we investigate the computation time required by the proposed fusion system. The target user walks along a given path A B C D E F E D C B A with the length of about 142 m, as shown in Figure 19. This process takes this user about two minutes. After that, we calculate the computation time in total involved in the localization process by the proposed system under different particle numbers. In our experiment, all the calculations are conducted on a desktop with the Intel (R) Core (TM) i3-3240 CPU and 4 GB RAM. As can be seen from Figure 27a, the computation time gradually increases with the increase in particle number, whereas the particle number has a slight impact on localization accuracy according to the CDFs of errors in Figure 26. The computation time required by the three different fusion systems mentioned above is shown in Figure 27b. Based on the results in Figure 25 and Figure 27b, we can find that although the proposed fusion system consumes a little more computation time compared with the EKF and REKF, its related localization accuracy is much higher than the other two.

5. Conclusions

In this paper, we propose a new Wi-Fi/MARG indoor localization system by fusing the data from the Wi-Fi module and MARG sensors, and then integrating the indoor map information to improve the localization accuracy. For the PDR, we employ the complementary filter auxiliary EKF to estimate the heading and the velocity of the pedestrian by using the BP neural network, while for the Wi-Fi localization, we rely on the improved affinity propagation clustering approach to improve the localization accuracy of the WKNN. The proposed integration system can avoid the accumulative error of the PDR, as well as reducing the large error probability of the Wi-Fi localization which is caused by the disturbance of the Wi-Fi signal. Furthermore, we rely on our developed software, including the Android based mobile client, Web page for remote control, and location server, to verity the effectiveness of the proposed system in the real indoor environment. In the future, we will focus on the design of an effective and efficient radio map construction approach to reduce the time and labor cost involved in the site survey of the large-scale indoor environment.

Acknowledgments

The authors wish to thank the reviewers for the careful review and valuable suggestions. This work was supported in part by the Program for Changjiang Scholars and Innovative Research Team in University (IRT1299), National Natural Science Foundation of China (61301126), Special Fund of Chongqing Key Laboratory (CSTC), and Fundamental and Frontier Research Project of Chongqing (cstc2013jcyjA40041 and cstc2015jcyjBX0065).

Author Contributions

Y.J. and Z.T. conceived of and designed the experiments. Z.W. and Z.L. performed the experiments. Y.J. and Z.T. analyzed the data. M.Z. contributed materials. Y.J. wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analyses or interpretation of data; in the writing of the manuscript; nor in the decision to publish the results.

References

  1. Bahl, P.; Padmanabhan, V.N. RADAR: An In-building RF-based User Location and Tracking System. IEEE INFOCOM 2000, 2, 775–784. [Google Scholar]
  2. Zhou, M.; Zhang, Q.; Xu, K.; Tian, Z.; Wang, Y.; He, W. PRIMAL: Page rank-based indoor mapping and localization using gene-sequenced unlabeled WLAN received signal strength. Sensors 2015, 15, 24791–24817. [Google Scholar] [CrossRef] [PubMed]
  3. Subaashini, K.; Dhivya, G.; Pitchiah, R. Zigbee RF signal strength for indoor location sensing—Experiments and results. In Proceeedings of the 14th International Conference on Advanced Communication Technology, PyeongChang, Korea, 19–22 February 2012; pp. 12–17.
  4. Waldmann, B.; Weigel, R.; Gulden, P. Method for high precision local positioning radar using an ultra wideband technique. In Proceeedings of the IEEE MTT-S International Microwave Symposium Digest, Atlanta, GA, USA, 15–20 June 2008; pp. 117–120.
  5. Athalye, A.; Savic̀, V.; Bolic̀, M.; Djuric̀, P.M. A Radio Frequency Identification System for accurate indoor localization. In Proceeedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Prague, Czech Republic, 22–27 May 2011; pp. 1777–1780.
  6. Gu, Y.; Ren, F. Energy-Efficient Indoor Localization of Smart Hand-Held Devices Using Bluetooth. IEEE Access 2015, 3, 1450–1461. [Google Scholar] [CrossRef]
  7. Li, F.; Zhao, C.; Ding, G.; Gong, J.; Liu, C.; Zhao, F. A reliable and accurate indoor localization method using phone inertial sensors. In Proceeedings of the 14th International Conference on Ubiquitous Computing, Pittsburgh, PA, USA, 5–8 September 2012; pp. 421–430.
  8. Dao, T.K.; Pham, T.T.; Castelli, E. A robust WLAN positioning system based on probabilistic propagation model. In Proceeedings of the 9th International Conference on Intelligent Environments, Athens, Greece, 18–19 July 2013; pp. 24–29.
  9. Renaudin, V.; Susi, M.; Lachapelle, G. Step Length Estimation Using Handheld Inertial Sensors. Sensors 2012, 12, 8507–8525. [Google Scholar] [CrossRef] [PubMed]
  10. Deng, Z.A.; Wang, G.; Hu, Y.; Wu, D. Heading estimation for indoor pedestrian navigation using a smartphone in the pocket. Sensors 2015, 15, 21518–21536. [Google Scholar] [CrossRef] [PubMed]
  11. Zhu, N.; Zhao, H.; Feng, W.; Wang, Z. A novel particle filter approach for indoor positioning by fusing WiFi and inertial sensors. Chin. J. Aeronaut. 2015, 28, 1725–1734. [Google Scholar] [CrossRef]
  12. 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]
  13. Lin, T.; Zhang, Z.; Tian, Z.; Zhou, M. Low-cost BD/MEMS tightly-coupled pedestrian navigation algorithm. Micromachines 2016, 7, 91. [Google Scholar] [CrossRef]
  14. Wu, D.; Xia, L.; Mok, E. Hybrid Location Estimation by Fusing WLAN Signals and Inertial Data. In Principle and Application Progress in Location-Based Services; Springer: Berlin, Germany, 2014; pp. 81–92. [Google Scholar]
  15. Wang, H.; Lenz, H.; Szabo, A.; Bamberger, J.; Hanebeck, U.D. WLAN-Based Pedestrian Tracking Using Particle Filters and Low-Cost MEMS Sensors. In Proceedings of the 4th Workshop on Positioning, Navigation and Communication, Hannover, Germany, 22 March 2007; pp. 1–7.
  16. Tian, Z.; Fang, X.; Zhou, M.; Li, L. Smartphone-based indoor integrated WiFi/MEMS positioning algorithm in a multi-floor environment. Micromachines 2015, 6, 347–363. [Google Scholar] [CrossRef]
  17. Evennou, F.; Marx, F. Advanced integration of WiFi and inertial navigation systems for indoor mobile positioning. Eurasip J. Appl. Signal Process. 2006, 2006, 1–11. [Google Scholar] [CrossRef]
  18. Liu, X.; Man, Q.; Lu, H.; Lin, X. Wi-Fi/MARG/GPS integrated system for seamless mobile positioning. In Proceedings of IEEE Wireless Communications and Networking Conference, Shanghai, China, 7–10 April 2013; pp. 2323–2328.
  19. Leppäkoski, H.; Collin, J.; Takala, J. Pedestrian navigation based on inertial sensors, indoor map, and WLAN signals. In Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing, Kyoto, Japan, 25–30 March 2012; pp. 1569–1572.
  20. Masiero, A.; Guarnieri, A.; Pirotti, F. A Particle Filter for Smartphone-Based Indoor Pedestrian Navigation. Micromachines 2014, 5, 1012–1033. [Google Scholar] [CrossRef]
  21. Li, H.; Chen, X.; Jing, G.; Wang, Y.; Cao, Y.; Li, F.; Zhang, X.; Xiao, H. An indoor continuous positioning algorithm on the move by fusing sensors and Wi-Fi on smartphones. Sensors 2015, 15, 31244–31267. [Google Scholar] [CrossRef] [PubMed]
  22. Tian, Z.; Tang, X.; Zhou, M.; Tan, Z. Probability Distribution-Aided Indoor Positioning Algorithm Based on Affinity Propagation Clustering. In Proceedings of the 2nd International Conference on Communications, Signal Processing, and Systems, Tianjin, China, 1–2 September 2013; pp. 911–919.
  23. Sabatini, A.M. Quaternion-based extended Kalman filter for determining orientation by inertial and magnetic sensing. IEEE Trans. Biomed. Eng. 2006, 53, 1346–1356. [Google Scholar] [CrossRef] [PubMed]
  24. Yuan, X.; Yu, S.; Zhang, S.; Wang, G.; Liu, S. Quaternion-based unscented kalman filter for accurate indoor heading estimation using wearable multi-sensor system. Sensors 2015, 15, 10872–10890. [Google Scholar] [CrossRef] [PubMed]
  25. Tseng, S.P.; Li, W.L.; Sheng, C.Y.; Hsu, J.W.; Chen, C.S. Motion and Attitude Estimation Using Inertial Measurements with Complementary Filter. In Proceedings of the 8th Asian Control Conference—Final Program and Proceedings, Kaohsiung, Taiwan, 15–18 May 2011; pp. 863–868.
  26. Wang, L.; Zeng, Y.; Chen, T. Back propagation neural network with adaptive differential evolution algorithm for time series forecasting. Expert Syst. Appl. 2014, 42, 855–863. [Google Scholar] [CrossRef]
  27. Markley, F.L.; Crassidis, J.L. Euler Angles. In Fundamentals of Spacecraft Attitude Determination and Control; Springer New York: New York, NY, USA, 2014; pp. 361–364. [Google Scholar]
  28. Huang, C.; Liao, Z.; Zhao, L. Synergism of INS and PDR in self-contained pedestrian tracking with a miniature sensor module. IEEE Sens. J. 2010, 10, 1349–1359. [Google Scholar] [CrossRef]
  29. Mahony, R.; Hamel, T.; Pflimlin, J.M. Nonlinear complementary filters on the special orthogonal group. IEEE Trans. Autom. Control 2008, 53, 1203–1218. [Google Scholar] [CrossRef] [Green Version]
  30. Madgwick, S.O.H.; Harrison, A.J.L.; Vaidyanathan, R. Estimation of IMU and MARG orientation using a gradient descent algorithm. In Proceedings of IEEE International Conference on Rehabilitation Robotics, Zurich, Switzerland, 27 June–1 July 2011; pp. 1–7.
  31. Lozano, E.; Acufia, E. Parallel algorithms for distance-based and density-based outliers. In Proceedings of IEEE International Conference on Data Mining, Houston, TX, USA, 27–30 November 2005; pp. 729–732.
  32. Hou, S.Y.; Hung, H.S.; Kao, T.S. Extended Kalman particle filter angle tracking (EKPF-AT) algorithm for tracking multiple targets. In Proceedings of International Conference on System Science and Engineering, Taipei, Taiwan, 1–3 July 2010; pp. 216–220.
  33. Moore, T.; Stouch, D. A Generalized Extended Kalman Filter Implementation for the Robot Operating System. Adv. Intell. Syst. Comput. 2016, 302, 335–348. [Google Scholar]
  34. Zhang, H.; Qin, S.; Ma, J.; You, H. Using Residual Resampling and Sensitivity Analysis to Improve Particle Filter Data Assimilation Accuracy. IEEE Geosci. Remote Sens. Lett. 2013, 10, 1404–1408. [Google Scholar] [CrossRef]
  35. Jahn, J.; Batzer, U.; Seitz, J.; Patino-Studencka, L.; Boronat, J.G. Comparison and evaluation of acceleration based step length estimators for handheld devices. In Proceedings of International Conference on Indoor Positioning and Indoor Navigation, Zurich, Switzerland, 15–17 September 2010; pp. 15–17.
Figure 1. Architecture of the proposed system.
Figure 1. Architecture of the proposed system.
Sensors 16 02100 g001
Figure 2. Block diagram of velocity estimation.
Figure 2. Block diagram of velocity estimation.
Sensors 16 02100 g002
Figure 3. Results of step detection.
Figure 3. Results of step detection.
Sensors 16 02100 g003
Figure 4. Block diagram of velocity calculation.
Figure 4. Block diagram of velocity calculation.
Sensors 16 02100 g004
Figure 5. Block diagram of heading estimation.
Figure 5. Block diagram of heading estimation.
Sensors 16 02100 g005
Figure 6. CDFs of RSS from two different APs for 3 min. (a) RSS from AP with the MAC address C0: A0: BB: 26: 56: 50; (b) RSS from AP with the MAC address C0: A0: BB: 27: 88: 20.
Figure 6. CDFs of RSS from two different APs for 3 min. (a) RSS from AP with the MAC address C0: A0: BB: 26: 56: 50; (b) RSS from AP with the MAC address C0: A0: BB: 27: 88: 20.
Sensors 16 02100 g006
Figure 7. CDFs of RSS under four different orientations for 3 min. (a) RSS from AP with the MAC address C0: A0: BB: 26: 56: 50; (b) RSS from AP with the MAC address C0: A0: BB: 27: 88: 20.
Figure 7. CDFs of RSS under four different orientations for 3 min. (a) RSS from AP with the MAC address C0: A0: BB: 26: 56: 50; (b) RSS from AP with the MAC address C0: A0: BB: 27: 88: 20.
Sensors 16 02100 g007
Figure 8. Pseudo code of the selection of the best-matching radio map.
Figure 8. Pseudo code of the selection of the best-matching radio map.
Sensors 16 02100 g008
Figure 9. Environment layout.
Figure 9. Environment layout.
Sensors 16 02100 g009
Figure 10. Interface of our developed software. (a) Mobile client; (b) Remote control.
Figure 10. Interface of our developed software. (a) Mobile client; (b) Remote control.
Sensors 16 02100 g010
Figure 11. Body coordinate frame with respect to the receiver.
Figure 11. Body coordinate frame with respect to the receiver.
Sensors 16 02100 g011
Figure 12. Distance errors between the real and estimated walking distances.
Figure 12. Distance errors between the real and estimated walking distances.
Sensors 16 02100 g012
Figure 13. Testbed for heading estimation.
Figure 13. Testbed for heading estimation.
Sensors 16 02100 g013
Figure 14. CDFs of errors of heading estimation.
Figure 14. CDFs of errors of heading estimation.
Sensors 16 02100 g014
Figure 15. Statistical errors of heading estimation.
Figure 15. Statistical errors of heading estimation.
Sensors 16 02100 g015
Figure 16. Result of heading estimation.
Figure 16. Result of heading estimation.
Sensors 16 02100 g016
Figure 17. CDFs of errors of heading estimation under different values K p and K i . (a) Different value K p ; (b) Different value K i .
Figure 17. CDFs of errors of heading estimation under different values K p and K i . (a) Different value K p ; (b) Different value K i .
Sensors 16 02100 g017
Figure 18. Testbed for static localization.
Figure 18. Testbed for static localization.
Sensors 16 02100 g018
Figure 19. Testbed for dynamic localization.
Figure 19. Testbed for dynamic localization.
Sensors 16 02100 g019
Figure 20. CDFs of errors by using different types of database. (a) Orientation 1; (b) Orientation 2; (c) Orientation 3; (d) Orientation 4.
Figure 20. CDFs of errors by using different types of database. (a) Orientation 1; (b) Orientation 2; (c) Orientation 3; (d) Orientation 4.
Sensors 16 02100 g020
Figure 21. CDFs of errors by using different Wi-Fi localization approaches.
Figure 21. CDFs of errors by using different Wi-Fi localization approaches.
Sensors 16 02100 g021
Figure 22. Location tracking by the proposed fusion, PBL, and WBL systems.
Figure 22. Location tracking by the proposed fusion, PBL, and WBL systems.
Sensors 16 02100 g022
Figure 23. CDFs of errors by the proposed fusion, PBL, and WBL systems.
Figure 23. CDFs of errors by the proposed fusion, PBL, and WBL systems.
Sensors 16 02100 g023
Figure 24. Location tracking by the proposed fusion, EKF, and REKF systems.
Figure 24. Location tracking by the proposed fusion, EKF, and REKF systems.
Sensors 16 02100 g024
Figure 25. CDFs of errors by using the proposed fusion, EKF, and REKF systems.
Figure 25. CDFs of errors by using the proposed fusion, EKF, and REKF systems.
Sensors 16 02100 g025
Figure 26. CDFs of errors under different numbers of particles.
Figure 26. CDFs of errors under different numbers of particles.
Sensors 16 02100 g026
Figure 27. Comparison of computation time. (a) Under different number of particles; (b) Under different fusion systems.
Figure 27. Comparison of computation time. (a) Under different number of particles; (b) Under different fusion systems.
Sensors 16 02100 g027
Table 1. Statistical errors by using different types of database.
Table 1. Statistical errors by using different types of database.
Performance MetricsTypes of DatabaseOrientation 1Orientation 2Orientation 3Orientation 4
SD3.434.214.154.06
Mean error (m)MD2.543.852.662.71
DD2.402.672.312.54
SD3.025.523.763.94
Standard deviation of errors (m)MD1.995.832.602.57
DD1.511.972.022.22
SD19.5731.8118.6321.78
Maximum error (m)MD9.7634.1318.0616.65
DD8.2110.2913.6712.04
SD4.704.604.704.60
67% error (m)MD2.903.102.903.10
DD2.702.902.703.10
SD19222424
Probability of errors over 5 m (%)MD818107
DD31268
Table 2. Statistical errors by using different Wi-Fi localization approaches.
Table 2. Statistical errors by using different Wi-Fi localization approaches.
Performance MetricsWKNNWKNN + Inverse MatchingWKNN + Inverse Matching + Improved APC
Mean error (m)9.414.253.41
Standard deviation of errors (m)7.833.492.90
Maximum error (m)38.9519.0116.22
67% error (m)10.905.304.20
Table 3. Statistical errors of the proposed fusion, PBL, and WBL systems.
Table 3. Statistical errors of the proposed fusion, PBL, and WBL systems.
Performance MetricsThe Proposed FusionPBLWBL
Mean error (m)0.852.226.79
Standard deviation of errors (m)0.441.057.69
67% error (m)1.052.956.93
90% error (m)1.563.8115.10
Table 4. Statistical errors of the proposed fusion, REKF, and EKF systems.
Table 4. Statistical errors of the proposed fusion, REKF, and EKF systems.
Performance MetricsThe Proposed FusionREKFEKF
Mean error (m)0.851.211.68
Standard deviation of errors (m)0.440.711.21
67% error (m)1.051.482.25
90% error (m)1.562.253.28

Share and Cite

MDPI and ACS Style

Tian, Z.; Jin, Y.; Zhou, M.; Wu, Z.; Li, Z. Wi-Fi/MARG Integration for Indoor Pedestrian Localization. Sensors 2016, 16, 2100. https://doi.org/10.3390/s16122100

AMA Style

Tian Z, Jin Y, Zhou M, Wu Z, Li Z. Wi-Fi/MARG Integration for Indoor Pedestrian Localization. Sensors. 2016; 16(12):2100. https://doi.org/10.3390/s16122100

Chicago/Turabian Style

Tian, Zengshan, Yue Jin, Mu Zhou, Zipeng Wu, and Ze Li. 2016. "Wi-Fi/MARG Integration for Indoor Pedestrian Localization" Sensors 16, no. 12: 2100. https://doi.org/10.3390/s16122100

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