Next Article in Journal
Analysis of Dynamic Performance of a Kalman Filter for Combining Multiple MEMS Gyroscopes
Next Article in Special Issue
Adaptive Covariance Estimation Method for LiDAR-Aided Multi-Sensor Integrated Navigation Systems
Previous Article in Journal
Generation of Nanoliter Droplets on Demand at Hundred-Hz Frequencies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Particle Filter for Smartphone-Based Indoor Pedestrian Navigation

CIRGEO (Interdepartmental Research Center of Geomatics), University of Padova, via dell'Università 16, 35020 Legnaro (PD), Italy
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Micromachines 2014, 5(4), 1012-1033; https://doi.org/10.3390/mi5041012
Submission received: 4 September 2014 / Revised: 13 October 2014 / Accepted: 24 October 2014 / Published: 5 November 2014
(This article belongs to the Special Issue Next Generation MEMS-Based Navigation—Systems and Applications)

Abstract

:
This paper considers the problem of indoor navigation by means of low-cost mobile devices. The required accuracy, the low reliability of low-cost sensor measurements and the typical unavailability of the GPS signal make indoor navigation a challenging problem. In this paper, a particle filtering approach is presented in order to obtain good navigation performance in an indoor environment: the proposed method is based on the integration of information provided by the inertial navigation system measurements, the radio signal strength of a standard wireless network and of the geometrical information of the building. In order to make the system as simple as possible from the user’s point of view, sensors are assumed to be uncalibrated at the beginning of the navigation, and an auto-calibration procedure of the magnetic sensor is performed to improve the system performance: the proposed calibration procedure is performed during regular user’s motion (no specific work is required). The navigation accuracy achievable with the proposed method and the results of the auto-calibration procedure are evaluated by means of a set of tests carried out in a university building.

Graphical Abstract

1. Introduction

Thanks to certain socially relevant applications (e.g., localizing and tracking people inside buildings during emergencies), indoor navigation is recently becoming a topic of wide interest among the research community. Despite the recent developments in localization with wireless sensor networks (e.g., by means of the radio signal strength (RSS), [17]) and in pedestrian tracking (e.g., urban dead-reckoning, [8,9]), indoor navigation is still considered an open problem [1013]. Specifically, three challenging aspects can be recognized in indoor navigation: the required accuracy is typically higher than in outdoor applications, the GPS signal is typically not available and there is low reliability of the sensor measurements (e.g., inertial navigation system (INS) measurements and RSS).
The main issue in the use of INS measurements to provide updates of the estimated position is that such an estimate quickly drifts from the real one. On the other hand, position estimation based on RSS measurements does not suffer from drifts; however, because of environment variability and signal instability, the estimation error of such an approach is typically quite large.
Since the use of none of the considered approaches (INS and RSS) can allow by itself obtaining a sufficiently good estimation error in the considered conditions of interest, a commonly adopted strategy to tackle this problem relies on the integration between the data collected by several types of sensors to achieve more robust localization results [1417]. In particular, in this paper, an indoor navigation system with minimal positioning sensor equipment is considered: the goal of this work is to enable navigation with low-cost mobile devices (typically carried by the user’s hand) in indoor and other critical environments, e.g., the proposed navigation algorithm can be executed on a smartphone, which estimates its own position inside a building by combining the information collected from the Wi-Fi network (RSS) with measurements derived from the embedded INS sensor (the smartphone considered here is provided with a three-axis accelerometer and three-axis magnetometer). Furthermore, a map of the building is assumed to be available to the tracking algorithm: this information can be either provided by the Wi-Fi network or acquired by image plots or plans of the building.
Similarly to other indoor navigation methods recently proposed in the literature [17,18], in this work, the tracking problem is faced from a probabilistic point of view: the probability distribution of the current position is described as a sum of particles whose movements are determined by the sensor measurements (see [1921] for a description of particle filters and [2225] for some particle filtering applications).
The approach adopted in this paper is actually a generalization of the particle filter proposed in [17]: the proposed changes aim at compensating measurement errors due to the use of uncalibrated sensors. Indeed, in order to make the use of the system as simple as possible to the user, sensors are not calibrated by using dedicated specific procedures. Instead, the particle filter proposed in [17] is properly modified to deal with measurements from uncalibrated sensors. Then, an auto-calibration procedure is adopted for the magnetic sensor to improve the system performance. Differently from calibration algorithms typically used in similar systems [2628], this calibration procedure does not require any specific action by the user: it is performed during the navigation, without affecting the user’s regular moves in any way.
This way, the adopted navigation procedure results in a new algorithm that integrates the positional information derived from INS and Wi-Fi RSS measurements with the geometrical information provided by the building map, while dealing with uncalibrated sensors, as well.
The considered method has shown a significant improvement in the navigation accuracy with respect to the particle filter proposed in [17] on some experiments carried out in a university building using the standard Wi-Fi network.
The paper is organized as follows: Section 2 provides a basic description of the navigation system and its relation to [17] and other previous works. Section 3 introduces the tracking and sensor data fusion approach used in this work. Section 4 presents the procedure adopted to perform the auto-calibration of the magnetometer. Finally, in Section 5, the performance of the method is experimentally validated.

2. System Description and Relation to Previous Works

Thanks to the technological developments in electronics and MEMS-based sensors [2932], nowadays, most mobile devices (e.g., smartphones and tablets) are provided with several embedded sensors. Hence, differently from other works, which considered the use of external sensors (e.g., [8,9,17]), here, an indoor navigation system based on the use of the sensors embedded in standard mobile devices is considered.
To be more specific, a minimal equipment of embedded sensors is required: a three-axis accelerometer, a three-axis magnetometer (e.g., MEMS-based inertial navigation system) and a Wi-Fi antenna. Furthermore, the navigation system is assumed to have access to the standard Wi-Fi network available inside the building. The installation of additional access points (APs) is not required (access points on one of floors of the considered building are shown as red circles in Figure 1a).
In addition, to make the use of the system as simple as possible from the user’s point of view, no specific initial sensor calibration procedure is needed: the tracking algorithm that will be presented in Section 3 is designed to deal with uncalibrated sensors. Furthermore, as shown in Section 4, in order to improve the navigation performance, the system is designed to auto-calibrate the magnetic sensor during the navigation, e.g., exploiting regular user’s movements.
The rationale is that of using a dead reckoning-like approach [8,9]: detect the human steps by means of a proper analysis of the accelerometer measurements [33], then use the combination of magnetometer and accelerometer measurements to estimate the movement direction with respect to the north [28].
Since, in terrestrial applications, usually, the height with respect to the floor is of minor interest, then, hereafter, navigation is considered as a planar tracking problem (exceptions to this assumption are admitted, e.g., to deal with stairs and lifts). Let (ut, vt) be the position of the device (e.g., smartphone), expressed with respect to the north and east directions (i.e., global reference system; Figure 1a shows the coordinate system in a university building used as the test field), before the t-th step; then:
[ u t + 1 υ t + 1 ] = [ u t υ t ] + s t [ sin α t cos α t ]
where st is the length of the t-th step and αt is the corresponding heading direction. An estimation of the initial position (u0, v0) is assumed to be (a priori) available.
The step length st is assumed to be provided by a proper analysis of the accelerator measurements [33]. Alternatively, st can be fixed to a constant value (an approximation of the mean step length): the tracking algorithm described in Section 3 is designed to compensate (relatively small) step length errors.
In most of the cases of common interest, the mobile device is supposed to be carried by the user’s hand (this is the case considered in the simulations of Section 5); however, the navigation system is expected to work in different conditions, as well. To be more specific, the system is expected to work as long as the heading direction is approximately fixed with respect to the local coordinate system (more details on this assumption are provided in the Appendix) (us, vs, ws) (the local coordinate system for a smartphone used in the simulations of Section 5 is shown in Figure 1b). However, small deviations are allowed: the system of Section 3 is designed to estimate and correct heading direction discrepancies, with an absolute value lower than 36 degrees, with respect to the conventional direction.
Without loss of generalization, hereafter, the vs and the ws axes will be assumed to approximately correspond with the heading direction and with the vertical direction, respectively. Notice that these assumptions are not requirements of the proposed approach, but will ease the presentation of the method and the analysis of the calibration results shown in Section 5.
Notice that the update of Equation (1) according to the sensor measurements provides an approximation of the device trajectory. However, it is well known that, because of measurement errors, the trajectory estimated by means of Equation (1) quickly drifts from the correct one. In order to make the estimation method more robust, information provided by the dead reckoning-like approach has to be integrated with that provided by RSS measurements and the geometrical characteristics of the building (Section 3). RSS measurements of the standard Wi-Fi networks are provided by the corresponding antenna in the smartphone. The geometrical characteristics of the building are assumed to be pre-loaded on the navigation device or downloaded by means of the Wi-Fi network at the beginning of the navigation. As the mobile device gets inside of the building, it starts communicating with the Wi-Fi network, hence the device is considered as immediately ready to go (the total time for connecting the device to the network and to receive the information required by the navigation system depends on the specific conditions of the Wi-Fi network (e.g., signal strength, connection data rate, number of users connected to the network); however, the communication step is typically very fast (e.g., quantity of information to be passed < 100 kBytes in our simulations)).
Several nonlinear filtering strategies have been previously considered in the literature for the integration of information (e.g., INS and RSS measurements) in pedestrian indoor navigation [8,9,16,17]. Among such possible strategies, a particle filter approach [19] is considered. In particular, our approach can be considered as a generalization of the particle filter proposed in [17,34], and that will be briefly summarized in the following (the reader is referred to [17,34] for a detailed description).

2.1. Widyawan et al. Particle Filter

Particle filter techniques are statistical methods widely used in complex (possibly nonlinear) estimation problems [1924]. The variable of interest at time t, qt (e.g., the device position in the navigation problem considered here), is described by means of a density function p(qt|Yt), which depends on the values of the past measurements Yt: the goal of the particle filter is to properly estimate such posterior density p(qt|Yt) (and update it when new measurements are available). Particle filters are particularly effective when dealing with complex systems, because of the two following characteristics:
  • The probability function p(qt|Yt) is not restricted to be Gaussian nor univariate; instead, it is described as the sum of a set of n particles.
  • No restriction is imposed on the dynamics of the system (i.e., it can deal with both linear and nonlinear systems).
However, when dealing with complex systems (e.g., nonlinear and with non-univariate density p(qt|Yt)), a large number of particles n has to be used in order to ensure good filtering performance: hence, the ability to deal with difficult scenarios is paid for with an increase of the computational complexity of the filter.
Several particle filter methods have been proposed in the literature, and each of them can be summarized as a specific algorithm used in order to properly updated the particle description of p(qt|Yt) when new measurements are available. The rest of this section is dedicated to the description of the particle filter for the indoor navigation proposed in [17,34], while a generalization of such an approach will be presented in Section 3 in order to efficiently deal with uncalibrated sensors (while keeping the number of particles n relatively small).
Let yt be the vector of measurements corresponding to the t-th step and Yt be the collection of measurements {fτ} from τ = 0 to t − 1. Furthermore, let qt = [ut vt]; then the probability distribution of estimated position qt after the (t − 1)-th step is expressed as follows:
p ( q t | Y t ) = i = 1 n w i , t δ ( q t q i , t )
where qi,t and wi,t are the position and the weight of the i-th particle at t, while δ(·) is the Dirac delta function.
In order to simplify the presentation, with a slight abuse of notation, hereafter, the subscript index t will be referred to as a time index, as well.
In this subsection, the INS sensor measurements are assumed to be unbiased, but affected by zero-mean random Gaussian noise, with heading direction and step length variance σ α 2 and σ s 2, respectively. Then, the position of the i-th particle at time t + 1 is updated similarly to Equation (1):
q ^ i , t + 1 = q i , t + s i , t [ sin α i , t cos α i , t ]
where α i.t and si,t are randomly sampled from the proper Gaussian distributions: α i,t ~ Nt, σ α 2), si,t ~ N (st; σ s 2). σα and σs are set to proper constant values (σα = π/2, σs = 0:15 m in [17]).
Exploiting an RSS channel model [3], the RSS measurements are converted to distance measurements. Typically, the error on each measured distance is assumed to be normally distributed [3,17]. Then, the comparison of measured distances with the distances from the access points to the estimated device position yields the RSS probability p R S S ( q ^ i , t + 1 | y t ), that is the probability of being positioned in q ^ i ; t + 1 given the RSS measurement in yt (see [3,17] for details on pRSS(·)).
Then, the particle weights are updated as follows:
w ^ i , t + 1 = { p R S S ( q ^ i , t + 1 | y t ) if y t contains an RSS measurement 1 / n otherwise,
Furthermore, particles with trajectories that violate the geometric constraints of the building are discarded. Then, the weights { w ^ i , t + 1 } i = 1 , , n are scaled in order to be normalized to one, i.e., i = 1 , , n w ^ i , t + 1 = 1 and the following distribution for the particles at time t + 1 is obtained:
p ( q t + 1 | Y t + 1 ) i = 1 n w ^ i , t + 1 δ ( q t + 1 q ^ i , t + 1 )
In the above equation, part of the particles may have very low weights (zero if the particle trajectory violates the building constraints); then, the effective number n ^ of particles in Equation (5) is typically lower than n (a detailed study of the effective number of particles goes beyond the goal of this paper; for simplicity of exposition, hereafter, n ^ at time t will be considered as the number of particles, such that wi,t is significantly greater than zero (i.e., larger than a given threshold); the reader is referred to [20,21] for a more detailed description of particle filter characteristics). In order to preserve the effectiveness of the particle representation, the final approximation of the position distribution at time t + 1 is obtained by resampling n particles from Equation (5), i.e., the following actions has to be done for each resampled particle i: an index i is randomly sampled accordingly to the probability w ^ i , t + 1 = 1; then, qi′;t+1 is sampled from a Gaussian distribution centered at q ^ i ; t + 1, and its weight is set to wi′;t+1 = 1/n (notice that the resampling step increases the estimation variance; see [35] for a comparison of different resampling schemes).
The above approach can be summarized with the following procedure to be executed each time a new measurement is available:
  • For each particle i:
    (1.a)
    draw a sample q ^ i ; t + 1 from the proposal distribution (i.e., draw samples α i,t and si,t from N (αt, σ α 2) and N (st, σ s 2), respectively, then compute q ^ i ; t + 1 with Equation (3)).
    (1.b)
    Set w ^ i , t + 1 = 0 if q ^ i ; t + 1 violates building geometrical constraints; otherwise, set the weight w ^ i , t + 1 as in Equation (4).
  • Scale the particle weights in order to normalize their sum to one: i = 1 , , n w ^ i , t + 1 = 1.
  • Resample n particles from Equation (5) and set wi′;t+1 = 1/n, ∀i.
Notice that the number of operations to be executed for each particle in the above procedure can be upper bounded by a proper constant (and lower bounded, as well); hence, the computational complexity of the above particle filter is linear with respect to the number of particles n.
The reader is referred to [17,34] for details on the implementation of this particle filtering approach.

2.2. Issues Related with the Use of Uncalibrated Sensors

The particle filter summarized in the previous subsection has been proposed in [17,34] for devices with calibrated sensors. In such conditions, measurement errors can be assumed to be mostly random: in this case, the random sampling of the heading direction, αi,t ~ Nt, σ α 2), and of the step length, si,t ~ N (st, σ s 2), and the filtering obtained by means of imposing the geometrical constraints of the building (Step 1.b) of the procedure presented in the previous subsection) typically allow one to properly deal with these errors.
However, when working with uncalibrated sensors, measurement errors are typically correlated and larger (in absolute value) with respect to the calibrated case. This makes much more challenging the particle filter tracking task: this often leads to a significant decrease of n ^ and, if n is not sufficiently large, to a tracking fault of the particle filter, i.e., none of the particles describe adequately the device position; hence, the particle filter loses the correct track (this case occurred quite often in our simulations; in order to reduce the occurrence of such case, then, in our simulations of the particle filter described in Subsection 2.1, Step 1.a has been repeated (for a maximum of five times) when the generated sample q ^ i ; t + 1 violates building geometrical constraints at Step 1.b).
It is well known that using a sufficiently large number of particles n, particle filtering techniques allow one to approximate arbitrarily well the considered system. However, the considered tracking algorithm is supposed to run in real time on a mobile device with limited resources (i.e., computational power and available energy); hence, the number of particles n should be as small as possible in order to reduce the computational load and the power consumption of the device.
The above considerations motivate the generalization that will be presented in the following section of the particle filter of Subsection 2.1 in order to improve its performance (e.g., allow one to obtain similar results with a smaller number of particles) in the uncalibrated sensors case.

3. Tracking with Uncalibrated Sensors

The use of uncalibrated sensors can introduce temporally correlated measurement errors for both the heading direction and the step length. The following two subsections will separately consider these two cases, while Subsection 3.3 will summarize the overall approach.

3.1. Heading Direction Correction

The heading direction measurement αt can be statistically described as follows:
α t = α ¯ t + α b s , t + α b e , t + e α , t
where α ¯ t is the correct heading direction, αbs;t is an angular bias due to the use of an uncalibrated magnetometer, αbe;t is an angular bias due to local perturbations of the terrestrial magnetic field typically due to the presence of ferromagnetic materials in the environment and eα,t is a temporally random measurement error (that can typically be assumed to be white and Gaussian). The goal of this subsection is to approximately compensate for the bias αb,t = αbs,t + αbe,t.
The following considerations are now in order:
  • When the device moves along a rectilinear trajectory, i.e., α ¯ t is (approximately) fixed to a constant value for t = ts,…,te, then αbs,t ≈ αbs,t for tstte, tstte.
  • Assuming the magnetic field to be sufficiently smooth in the considered environment, then locally αbe,t ≈ αbe,t for tt.
  • Human trajectories are usually quite regular.
Then, the rationale is that of decomposing the device motion in piecewise (approximately) rectilinear trajectories. Each piece of such trajectories being approximately rectilinear and typically not so long, then:
( α b s , t + α b e , t ) ( α b s , t + α b e , t )
for t and t in the same piece of (approximately) rectilinear trajectory.
The end of a piece of the (approximately rectilinear) trajectory (and consequently, the beginning of a new piece) is detected when the following condition holds:
| α t α t 1 | > α t h r | α t α t 2 | > α t h r | α t α t 3 | > α t h r
where V indicates the logic operator “or” and αthr is a proper threshold (αthr = π/6 in the simulations of Section 5).
Accordingly to Condition (8), the trajectory is divided in non-overlapping sections of (approximately) rectilinear trajectories. Let ts,j and te,j be the initial and ending time instant for the j-th (approximately rectilinear) section. Then, in order to compensate for the bias αb,t, ts,jt ≤ te,j, Step 1.b of the particle filtering procedure presented in Subsection 2.1 is modified as follows:
(1.b.1)
If q ^ i , t + 1 violates the geometrical constraints of the building, then resample q ^ i , t + 1 as follows: draw a rotation angle sample α ^ b , t from U(−αmax, αmax), and rotate ( q ^ i , t s , j , , q ^ i , t e , j ) of an angle α ^ b , t around the vertical axis passing through q ^ i , t e , j 1.
(1.b.2)
Set w ^ i , t + 1 = 0 if q ^ i , t + 1 violates building geometrical constraints; otherwise, set the weight w ^ i , t + 1 as in Equation (4).
Since the angular bias αb,t is approximately constant over an (approximately rectilinear) section of the trajectory ts,jtte,j, then Step 1.b.1 aims at compensating for such angular bias (if present), subtracting a randomly sampled angular bias α ^ b , t to the heading direction measurements over all of the trajectory section ts,jtte,j. Since no information about such an angular bias is available, α ^ b , t is randomly sampled from a uniform distribution in the interval (−αmax, αmax), i.e., U(−αmax, αmax), where αmax = π/5 in our simulations of Section 5.
Then, Step 1.b.2, which corresponds to Step 1.b in Subsection 2.1, has the task of properly filtering out particles associated with improper values of α ^ b , t (and of the other trajectory parameters).

3.2. Step Length Correction

The use of an uncalibrated accelerometer leads to a possible bias in the step length measurements: s t = s ¯ t + s b , t + e s , t, where st is the measured step length, s ¯ t is the correct value of the step length, sb,t is the bias and es,t is a zero-mean white Gaussian noise with variance σ s 2.
In order to maximize the flexibility of the filter, but without excessively affecting the complexity of the filtering procedure, analogous to the previous Subsection, it is assumed that the value of the step length bias can be different in different sections of the trajectory; however, it is assumed (approximately) constant within each section (for simplicity of the filtering procedure, the same trajectory sections determined in Subsection 3.1 are considered here; nevertheless, the determination of a possible relation between the characteristics of human walking and of the step length bias will be the subject of a future investigation), i.e., sb,tsb,t′ for ts,jtte,j, ts,jt′ ≤ te,j.
Then, Step 1.a of Subsection 2.1 is modified as follows in order to take into account a possible step length bias:
(1.a)
Draw a sample q ^ i , t + 1 from the proposal distribution: draw samples αi,t and si,t from N ( α t , σ α 2 ) and N ( s t + s ^ b , i , t , σ s 2 ), respectively; then, compute q ^ i , t + 1 with Equation (3)).
where, for each particle i, s ^ b , i , t is randomly drawn from a uniform distribution U(−smax, smax) at the beginning of each section of the trajectory. s ^ b , i , t is fixed to such a value for all of the time instants of the same section of the trajectory, i.e., s ^ b , i , t = s ^ b , i , t for ts,jtte,j, ts,jt′ ≤ te,j.
Then, as previously shown, Step 1.b.2 has the task of properly filtering out particles associated with improper values of s ^ b , i , t (and of the other trajectory parameters).
Finally, it is worth noticing that, when only INS measurements are available, the particle filter of Subsection 2.1 in open space results in being a biased estimator. For simplicity of exposition, assume that both heading direction and step length measurements are unbiased (or have already been properly compensated for). Furthermore, without loss of generality, it is assumed that α ¯ t = 0 and that the device moves at time t from the origin of the global coordinate system, i.e., qt = [0 0].
Then, the following condition holds for an unbiased estimator:
ε [ q t + 1 | Y t + 1 ] = [ 0 s ¯ t ]
where ε[·] indicates the expectation operator.
Since the αt distribution is symmetric with respect to zero, it is simple to show that ε [ q t + 1 | Y t + 1 ] = [ 0 s ] for a certain value of s. In order to compute s, consider the Taylor second order approximation of ε[s] for αt = eα,t ≈ 0 and s t = s ¯ t + e s , t s ¯ t. Then,
ε [ s t cos ( α t ) ] s ¯ t + [ cos ( 0 ) s ¯ t sin ( 0 ) ] [ ε [ e s , t ] ε [ e α , t ] ] + 1 2 [ sin ( 0 ) s ¯ t cos ( 0 ) ] [ ε [ e s , t 2 ] ε [ e α , t 2 ] ]
s ¯ t + 0 + 1 2 [ 0 s ¯ t ] [ σ s 2 σ α 2 ] = s ¯ t ( 1 σ α 2 2 )
Thus, for σ α 2 > 0, then ε [ s t cos ( α t ) ] s ¯ t, and as previously claimed, the estimator is biased in open space.
However, in indoor navigation, it is also necessary to take into account the effect of the geometrical constraints of the building imposed in Step 1.b.2: the net effect of Step 1.b.2 is that of selecting those particles whose parameters are admissible with respect to the geometrical constraints of the building. Hence Step 1.b.2 leads the estimator towards the correction of its bias; however, this typically causes a decrease of the effective number of particles n ^, which is a working condition to be preferably avoided, if possible.
Motivated by the above considerations, the step length measurements can be scaled by a constant factor k in order to compensate for the estimator bias:
k = ( 1 σ α 2 2 ) 1
Since, as mentioned above, the geometrical constraints of the building have a bias correction effect, from a practical point of view, it is possible to set k to different values related to Equation (12): for instance, in Section 5, k is set to 1 2 ( 1 σ α 2 2 ) 1.

3.3. Revised Particle Filter

The changes presented in the previous subsections with respect to the particle filter of Subsection 2.1 provide a revised particle filtering procedure that allows one to deal with uncalibrated sensors.
The overall particle filtering algorithm can be summarized as follows:
  • For each particle i:
    (1.a′)
    Draw a sample q ^ i , t + 1 from the proposal distribution: draw samples αi,t and si,t from N ( α t , σ α 2 ) and N ( k s t + s ^ b , i , t , σ s 2 ), respectively; then, compute q ^ i , t + 1 with Equation (3).
    (1.b.1)
    If q ^ i , t + 1 violates the geometrical constraints of the building, then resample q ^ i , t + 1 as follows: draw a rotation angle sample α ^ b , t from U(−αmax, αmax), and rotate ( q ^ i , t s , j , , q ^ i , t e , j ) of an angle α ^ b , t around the vertical axis passing through q ^ i , t e , j 1.
    (1.b.2)
    Set w ^ i , t + 1 = 0 if q ^ i , t + 1 violates the building’s geometrical constraints; otherwise, set the weight w ^ i , t + 1 as in Equation (4).
  • Scale the particle weights in order to normalize their sum to one: i = 1 , , n w ^ i , t + 1 = 1.
  • Resample n particles from Equation (5) and set wi′,t+1 = 1/n.
Notice that, similarly to the original filter of Subsection 2.1, the computational complexity of the revised particle filter is linear with respect to the number of particles n. However, its computational burden is increased with respect to the original version (by 10%–20%, approximately, in the simulations of Section 5), mostly because of Step 1.b.1.

4. Auto-Calibration of the Magnetic Sensor

The algorithm presented in the previous section allows one to obtain good tracking results also in the presence of uncalibrated sensors (as shown in the simulations of Section 5). Nevertheless, the use of calibrated sensors, if possible, is obviously preferred. This motivates the presentation in this section of an auto-calibration procedure for the magnetic sensor.
The rationale is that of collecting magnetic sensor measurements during the regular use of the device (i.e., while the particle filter of Section 3 is running): compute the calibration of the magnetic sensor as soon as possible, and introduce the calibration model in the particle filter in order to improve its tracking ability.
Since the navigation problem has been considered as a 2D tracking problem and the heading direction has been assumed to be (approximately) fixed with respect to the local coordinate system, then the sensor calibration can be considered as a 2D calibration problem. To be more specific, since the heading direction and the vertical direction have been assumed to (approximately) correspond to the vs and ws axis, respectively, then the 2D calibration is performed on the (us, vs) plane, which (approximately) corresponds to the horizontal plane.
Despite the above assumption, it is worth noticing that in practical applications, the attitude of the device is typically not fixed to a constant value for all of the time instants: in practice, the attitude of the device will be assumed to be only approximately fixed, e.g., it oscillates around a mean orientation.
On the one hand, from the above considerations, it is clear that since the (us, vs) plane does not exactly correspond to the horizontal plane for all of the time instants, then even an extremely precise calibration of the magnetic sensor on such a plane cannot exactly compensate for the magnetometer error in all of the time instants. On the other hand, a complete (3D) calibration of the magnetic sensor requires a full set of rotations of the device, which actually should be avoided in order to simplify the use of the navigation system to the user. Thus, the aim of this section is just the computation of a rough calibration that allows one to reduce the magnetometer error (even if typically not completely compensating for it). The usefulness of this rough calibration will be shown in the results of Section 5.
The calibration procedure considered here is similar to that in [26,36,37].
The following model for the magnetic sensor measurements is considered:
y m , t = D m t + d + e m , t
where ym,t is the magnetic sensor measurement vector (projected on the (us, vs) plane), mt is the magnetic field orientation vector (projected on the horizontal plane and normalized to one), em,t is the measurement error, while D and d contain the calibration parameters.
The goal of this section is that of estimating D and d from the measurements {ym,t}t=1,…,T, minimizing the sum of the squared norm of the errors:
( D ^ , d ^ , m 1 , . , m T ) = arg min t = 1 T y m , t D m t d 2
The solution of the above optimization problem will be computed by means of an iterative procedure that will be presented in the following.
First, in order to initialize the iterative optimization procedure, an initial estimation of the parameter values is required.
Since mt is a vector with norm one, then an initial estimation of the calibration parameters can be computed similarly to [26]:
0 = m t 2 1 D 1 ( y m , t d ) 2 1 = y m , t A y m , t + y m , t b + c
where A = D−⊤D−1, b = −2Ad, c = dAd − 1.
The equation y m , t A y m , t + y m , t b + c 0 can be rewritten as a linear equation: Yθ ≈ 0, where θ = [vec(A) b c] (where vec(A) indicates the vectorized version of A (notice that A is a symmetric matrix; hence, only a set of independent parameters of A should be included in θ)), while Y is a matrix properly formed by the magnetic sensor measurements (at different time instants).
The equation Yθ ≈ 0 can be solved (in least squares sense) by means of the singular value decomposition (SVD) [38], yielding a solution vector ^ containing a scaled version A ^ , b ^ , c ^ of the parameters in A, b, c. The proper scale value h can be computed as in [26]: h = ( b ^ A ^ 1 b ^ c ^ ) 1.
Then, with a slight abuse of notation, A ^ , b ^ , c ^ are redefined as follows: A ^ = h A ^ , b ^ = h b ^ , c ^ = h c ^.
The initial estimates D ^ and d ^ of the calibration parameters can be obtained as follows:
A ^ 1 = D ^ D ^
d ^ = 1 2 A ^ 1 b ^
where the factorization of the A ^ 1 matrix (which can be computed for instance by means of the Cholesky factorization [38] or with the SVD) is not unique. Indeed, let D ^ be the matrix resulting from the Cholesky factorization of A ^ 1; then, the factorization A ^ 1 = ( D ^ R ) ( R D ^ ) holds, as well (for each rotation matrix R).
Notice that, analogously to [36], an estimate R ^ of the rotation matrix R can be obtained by solving an orthogonal Procrustes problem [39]. However, such an estimate of R ^ will not be necessary in the following.
Once initial estimates of the involved parameters are provided as above, then the following two steps are iteratively executed (until convergence) in order to compute the solution of Equation (14):
  • Consider the values of D ^ and d ^ as fixed, and compute m ^ t = D ^ 1 ( y m , t d ^ ), for t = 1, … T. Then, redefine m ^ t, for each t, by normalizing its norm to one: m ^ t = m ^ t m ^ t .
  • Consider the values of { m ^ t } t = 1 , , T as fixed and compute D ^ and d ^ by minimizing:
t = 1 T D ^ m ^ t y m , t + d ^ 2
Since, in this step, both { m ^ t } t = 1 , , T and {ym,t}t=1,…, T are considered as known, then the (least squares) solution of the above problem can be easily computed in matrix form, for instance, by means of the Moore–Penrose pseudo-inverse [38].
Notice that, as usual, when dealing with iterative optimization techniques, the convergence of the proposed two-step procedure to the global minimum of Equation (14) is not guaranteed.
The sensor model resulting from the magnetometer calibration procedure can be introduced in the particle filter presented in Section 3: when the calibration results are available, calibrated measurements are substituted to the {αt}, and Step 1.b.1 of the revised particle filter can be discarded (or can be executed, but setting αmax to a smaller value).
Since the use of a calibrated magnetometer can improve the performance of the particle filter, the calibration model should be used as soon as possible, i.e., as soon as it provides reliable results. The results of the calibration procedure presented above can be considered (roughly) reliable, provided that a minimal number of measurements (e.g., 20 in our simulations) are in all of the octants of the (us, vs) plane: once such conditions are achieved, the resulting calibration model can be used in the tracking procedure. Then, the calibration procedure shall be repeated later during the tracking of the device in order to reduce the calibration errors due to the possible small number of measurements in certain octants.

5. Experimental Validation and Discussion

The experimental validation of the method proposed in the previous sections has been assessed using a low-cost smartphone, Huawei Sonic U8650, in a building at the University of Padova. The considered smartphone is provided with a three-axis accelerometer (Bosh, BMA150, resolution 0.15 m/s2, maximum range ±39.24 m/s2), a three-axis magnetic field sensor (Asahi Kasei, AK8973, resolution 0.0625 μT, maximum range 2000 μT), and a Wi-Fi receiver 802.11 b/g/n. In the application used for the simulations presented in this Section, sensor measurements are acquired when changed values are detected by the system (e.g., by means of the Android sensor event method onSensorChanged); consequently, sensor data rates are not constant. In the simulations presented here, the approximate values of the average data rates are: 5 Hz for the accelerometer, 7 Hz for the magnetometer (since several magnetometer measurements are typically available for each human step, the heading direction is computed as the average angle obtained from such measurements) and 0.2 Hz for the Wi-Fi network (notice that such values are just indicative, because real sensor data rate values can be influenced by many factors).
A set of 30 check points has been distributed along a track involving two floors of the building: Figure 2 shows part of the trajectory (green solid line) and the check points positions (red circles) along the track. Other different tracks have been considered, as well: despite the numerical results being obviously slightly different, the performance trend is analogous to that presented here. In this sense, the case shown here can be considered as a general case (representative of the typical performance of the method).
In order to make the results independent of a specific stride, experimental data have been collected by three volunteers, two men and one woman, with heights from 1.65 m to 1.85 m, which completed the track with a number of steps ranging from 300 to 350. Actually, the results obtained by using the data collected by the three volunteers are quite similar: since no peculiarity has been found in the results of the tree datasets, the results presented in the following are obtained as mean values of those of the three cases.
Table 1 shows the positioning error results (root mean square error (RMSE)) obtained by using the device with uncalibrated sensors. More specifically, Table 1 compares the results obtained with the proposed revised particle filter presented in Section 3 with those obtained with the particle filter of Subsection 2.1. The particle filter of Subsection 2.1 has been run with n = 100 (in (a) and (d)), n = 200 (in (b) and (e)) and n = 500 (in (c) and (f)). Furthermore, two cases for the step lengths used in the particle filter have been considered: the length estimated by the sensor measurements (in (a), (b) and (c)), and the measured length corrected by the k factor (in (d), (e) and (f)). The results shown in Table 1 are the performance improvement (in percent) obtained by using the particle filter presented in Section 3 (with n = 100) with respect to that of Subsection 2.1. Since the results obtained by means of the particle filter are non-deterministic (i.e., they depend on the specific realization of the random noise used to run the filter), the reported results have been obtained by averaging the results of 100 independent Monte Carlo simulations.
The standard deviations σs and σα have been set to proper values accordingly to our simulations: σs = 0:15 m and σα = π/6.
Then, Table 2 shows the results obtained on the same track considered in Table 1, but using a (roughly) calibrated magnetic sensor. Calibration of the magnetic sensor has been performed as described in Section 4 by using 300 magnetic sensor sample measurements, {ym,t}t=1,…,300. The parameter values considered in Table 2 are the same considered in Table 1. Similarly to Table 1, the reported results have been obtained by averaging the results of 100 independent Monte Carlo simulations.
Figure 3 shows the magnetic sensor measurements and the corresponding fitting ellipse obtained with the calibration procedure described in Section 4. Calibration results are shown varying the number of sensor measurements used in the calibration process (sensor measurements are shown as cyan x-marks in Figure 3): the results obtained with 150 (top-left, solid green line), 200 (top-right, dashed blue line) and 300 (bottom-left, magenta dashed–dotted line) measurements are compared in the bottom-right sub-figure with those obtained with 1000 measurements (black stars) and with the fitting ellipse obtained with a ground truth calibration (red solid bold line). The fitting ellipse in the ground truth calibration corresponds to that of the (us; vs) plane, which, during the ground truth calibration process, was coincident with the horizontal plane.
Some considerations are now in order. First, notice that the results of Table 2 have been obtained by using a roughly calibrated sensor, i.e., calibrated by using 300 sensor measurements. As shown in Figure 3 (bottom-right), 300 sensor measurements do not allow one to obtain a perfect calibration. However, since, in practice, the assumption of maintaining the (us; vs) plane of a handhold device in an horizontal position can be only approximately satisfied, even with more measurements, the calibration results will typically differ from the ground truth ones: indeed, as shown in the bottom-right sub-figure of Figure 3, the fitting ellipse obtained by means of 300 and 1000 measurements are quite similar, but they both differ from the ground truth fitting ellipse (red solid bold line).
Nevertheless, actually, the use of a roughly calibrated magnetic sensor can allow one to improve the performance of the tracking system: Figure 4 shows an example of unconstrained trajectories (i.e., obtained by setting αi;t = αt, si;t = st and without imposing the building physical constraints), where it is possible to compare the results obtained by using the uncalibrated magnetic sensor (blue x-marks), the magnetic sensor calibrated with 300 measurements (red x-marks, left sub-figure) and the magnetic sensor with the ground truth calibration (red x-marks, right sub-figure). As shown in the figure, the trajectory obtained with the magnetic sensor calibrated with 300 measurements is quite similar to the one obtained with the ground truth calibrated sensor. Since the trajectories shown in Figure 4 have been obtained by setting αi;t = αt, si;t = st, then they can be considered as (first) approximations of the average trajectories resulting from the particle filter (without imposing the building physical constraints) in the corresponding considered conditions: in this sense, the results shown in Figure 4 can be considered as representative of the typical outcomes. This is confirmed by the results of our Monte Carlo simulations (Tables 1 and 2), where the use of the proposed online calibration allows one to reduce by 30%, approximately, the estimation error of both the proposed algorithm and the original particle filter.
The results of Tables 1 and 2 show that the use of step lengths corrected by the factor k allows one to significantly reduce the tracking error of the particle filter. Furthermore, in all of the considered conditions, the revised particle filter proposed in Section 3 outperforms the other considered filtering approaches: despite being more clear in the uncalibrated case, its convenience is significant in the calibrated case, as well. This is probably due to the correction of local changes of the magnetic field (which yield local heading direction biases) that can be obtained by means of the proposed algorithm.
As expected, in the calibrated case, the improvement achieved by using the proposed algorithm decreases when n becomes larger; however, it is still significant even when the number of particles considered in the original particle filter (Subsection 2.1) becomes much larger than that of the revised particle filter of Section 3. In the uncalibrated case, since measurement errors are correlated, the original particle filter (Subsection 2.1) does not significantly improve increasing the number of particles from n = 100 to n = 500.
After the online calibration, the proposed algorithm achieves an average RMSE of (approximately) 3:5 m in the presented simulations by using n = 100 particles. Such performance is expected to improve by increasing the number of particles. However, considering that a larger number of n would significantly increase the computational load of the algorithm, which, according to our simulations, is approximately 10%–20% larger than in the particle filter of Subsection 2.1 with the same number of particles, n = 100 (however, notice that the computational load changes at each run of the algorithm, e.g., depending on the number of violated constraints).
According to the results obtained in the considered simulations, the particle filter approach proposed in Section 3 allows one to significantly improve the positioning results obtained with the filter of Subsection 2.1 in the case of uncalibrated embedded sensors and mobile device carried by the user’s hand (notice that in [17,34], the use of the particle filter described in Subsection 2.1 was proposed for a different system, where sensors where integrated in the user’s shoe). Such performance improvement has been obtained with a relatively small increase of the computational burden of the filter. Better results can be obtained by considering a larger number of particles n; however, issues with the real-time implementation of the system will arise for n = n ¯, with n ¯ sufficiently large. The actual value of n ¯ depends on the computational capabilities of the considered device (n ≈ 100 particles can be used for real-time applications in standard mobile phones).
Notice also that despite the proposed approach allowing the use of a mobile device carried by the user’s hand, the obtained results might be improved by imposing more restrictions on the system (e.g., fixing the device to the user body, for instance to the shoe, as in [17]), or by integrating other sensors (e.g., the integration of camera measurements has been considered in [14]). Furthermore, the considered approach allows a partial, but not complete, freedom of movement to the user’s hand.
Motivated by the above considerations, our future works will aim to improve the proposed method, while preserving the use of a relatively small number of particles:
  • The presented approach considers two different working conditions (i.e., before and after the magnetic sensor calibration results are available). However, even if the magnetometer calibration results are not yet available, the data collected can be used to improve the algorithm presented in Section 3, e.g., in Section 3, the guessed bias angles a ^ b , t and α ^ b , t are chosen independently; instead, it is clear that they are (partially) related accordingly to the sensor model: the selection of the bias angle α ^ b , t should be done accordingly to the data already collected.
  • An extension of the proposed approach should be considered in order to let the heading direction freely vary with respect to the local coordinate system.
Finally, the presented navigation algorithm will be integrated in a mobile mapping system in order to provide accurate 3D photogrammetric reconstructions of the environment ([4045]) based on the use of the camera embedded in the mobile device.

6. Conclusions

In this paper, a method for smartphone-based navigation has been proposed. The considered method is based on a particle filtering tracking approach and on the fusion of information from different uncalibrated sensors.
The proposed approach has been tested, with encouraging indoor navigation results, inside a building of the university: the considered algorithm outperforms a previously proposed approach, both in uncalibrated and in (partially) calibrated working conditions.
Some future work is planned to allow further improvement of the navigation ability of the proposed strategy and reducing the assumptions on the working conditions.

Author Contributions

All authors contributed equally in this work.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix

If the (initial) heading direction with respect to the local coordinate system is not conventionally fixed a priori, it can be estimated from the first steps of the user, as described in the following. First, the system is assumed to be switched on while the device is stationary and oriented according to its ideal orientation of use with respect to the (initial) heading direction: the value of the gravitational acceleration g is measured during this phase. The first K user’s steps (K = 2 in the simulations of Section 5) are assumed to be taken along a straight line, and the device is kept in the ideal orientation of use: then, ideally the accelerations detected by the sensor (in an inertial system) should lie on a plane, that has a simple basis formed by g and the unit vector corresponding to the heading direction. In practical operating conditions, in order to reduce the effect of measurement noise (and other non-ideal conditions), such a plane is estimated as that generated by the first two principal directions of a principal component analysis of the measured accelerations. Then, from the above considerations, the heading direction can be easily computed from the values of g and of the basis of the plane. Finally, the sign of the heading direction (i.e., if the user is going forward or backward along that direction) can be easily determined by the sign of the accelerations projected along that direction.

References

  1. Bahl, P.; Padmanabhan, V. RADAR: An in-building RF-based user location and tracking system, Proceedings of the INFOCOM 2000 Nineteenth Annual Joint Conference of the IEE. Computer and Communications Societies, Tel Aviv, Israel, 26–30 March 2000; 2, pp. 775–784.
  2. Casari, P.; Castellani, A.; Cenedese, A.; Lora, C.; Rossi, M.; Schenato, L.; Zorzi, M. The “Wireless Sensor Networks for City-Wide Ambient Intelligence (WISE-WAI)” Project. Sensors 2009, 9, 4056–4082. [Google Scholar]
  3. Cenedese, A.; Ortolan, G.; Bertinato, M. Low-density wireless sensor networks for localization and tracking in critical environments. Veh. Technol. IEEE Trans. 2010, 59, 2951–2962. [Google Scholar]
  4. Chang, N.; Rashidzadeh, R.; Ahmadi, M. Robust indoor positioning using differential Wi-Fi access points. IEEE Trans. Consum. Electron. 2010, 56, 1860–1867. [Google Scholar]
  5. Chiou, Y.; Wang, C.; Yeh, S. An adaptive location estimator using tracking algorithms for indoor WLANs. Wirel. Netw. 2010, 16, 1987–2012. [Google Scholar]
  6. Mazuelas, S.; Bahillo, A.; Lorenzo, R.; Fernandez, P.; Lago, F.; Garcia, E.; Blas, J.; Abril, E. Robust Indoor Positioning Provided by Real-Time. RSSI Values in Unmodified WLAN Networks. IEEE J. Sel. Top. Signal Process 2009, 3, 821–831. [Google Scholar]
  7. Youssef, M.; Agrawala, A. The horus WLAN location determination system, Proceedings of the 3rd International Conference on Mobile Systems, Applications, and Services, Seattle, WA, USA, 6–8 June 2005; pp. 205–218.
  8. Foxlin, E. Pedestrian tracking with shoe-mounted inertial sensors. IEEE Comput. Graph. Appl. 2005, 25, 38–46. [Google Scholar]
  9. Ruiz, A.; Granja, F.; Prieto Honorato, J.; Rosas, J. Accurate Pedestrian Indoor Navigation by Tightly Coupling Foot-Mounted IMU and RFID Measurements. IEEE Trans. Instrum. Meas. 2012, 61, 178–189. [Google Scholar]
  10. Barbarella, M.; Gandolfi, S.; Meffe, A.; Burchi, A. A Test Field for Mobile Mapping System: Design, Set Up and First Test Results, Proceeding of the 7th International Symposium on Mobile Mapping Technology, Cracow, Poland, 13–16 June 2011.
  11. Barbarella, M.; Gandolfi, S.; Meffe, A.; Burchi, A. Improvement of an MMS trajectory, in presence of GPS outage, using virtual positions, Proceedings of the ION GNSS 24th International Technical Meeting of the Satellite Division, Portland, OR, USA, 20–23 September 2011; pp. 1012–1018.
  12. Piras, M.; Marucco, G.; Charqane, K. Statistical analysis of different low cost GPS receivers for indoor and outdoor positioning, Proceedings of the IEEE Position Location and Navigation Symposium (PLANS), Indian Wells, CA, USA, 4–6 May 2010; pp. 838–849.
  13. Piras, M.; Cina, A. Indoor positioning using low cost GPS receivers: Tests and statistical analyses, Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation (IPIN 2010), Zurich, Switzerland, 15–17 September 2010.
  14. Saeedi, S.; Moussa, A.; El-Sheimy, N. Context-Aware Personal Navigation Using Embedded Sensor Fusion in Smartphones. Sensors 2014, 14, 5742–5767. [Google Scholar]
  15. El-Sheimy, N.; Kai-wei, C.; Noureldin, A. The Utilization of Artificial Neural Networks for Multisensor System Integration in Navigation and Positioning Instruments. IEEE Trans. Instrum. Meas. 2006, 55, 1606–1615. [Google Scholar]
  16. Lukianto, C.; Sternberg, H. Stepping–Smartphone-based portable pedestrian indoor navigation. Arch. Photogramm. Cartogr. Remote Sens 2011, 22, 311–323. [Google Scholar]
  17. Widyawan; Pirkl, G.; Munaretto, D.; Fischer, C.; An, C.; Lukowicz, P.; Klepal, M.; Timm-Giel, A.; Widmer, J.; Pesch, D.; et al. Virtual lifeline: Multimodal sensor data fusion for robust navigation in unknown environments. Pervasive Mob. Comput. 2012, 8, 388–401. [Google Scholar]
  18. Masiero, A.; Guarnieri, A.; Vettore, A.; Pirotti, F. An indoor navigation approach for low-cost devices, Proceedings of the 4th International Conference on Indoor Positioning and Indoor Navigation (IPIN 2013), Montbéliard, France, 28–31 October 2013.
  19. Gordon, N.; Salmond, D.; Smith, A. Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proc. F Radar Signal Process 1993, 140, 107–113. [Google Scholar]
  20. Doucet, A.; Johansen, A. A Tutorial on Particle Filtering and Smoothing: Fifteen Years Later; Technical Report; Department of Statistics; University of British Columbia: Vancouver/Kelowna, BC, Canada, 2008. [Google Scholar]
  21. Doucet, A.; de Freitas, N.; Gordon, N. Sequential Monte Carlo Methods in Practice; Springer-Verlag: New York, NY, USA, 2001. [Google Scholar]
  22. Zhang, Q.; Campillo, F.; Cerou, F.; Legland, F. Nonlinear system fault detection and isolation based on bootstrap particle filters, Proceedings of the 44th IEEE Conference on Decision and Control, 2005 and 2005 European Control Conference (CDC-ECC ’05), Plaza de España Seville, Spain, 12–15 December 2005; pp. 3821–3826.
  23. Dellaert, F.; Fox, D.; Burgard, W.; Thrun, S. Monte Carlo localization for mobile robots, Proceedings of the 1999 IEEE International Conference on Robotics and Automation, Detroit, MI, USA, 10–15 May 1999; 2, pp. 1322–1328.
  24. Andrieu, C.; Davy, M.; Doucet, A. Efficient particle filtering for jump Markov systems. Application to time-varying autoregressions. IEEE Trans. Signal Process 2003, 51, 1762–1770. [Google Scholar]
  25. Guarnieri, A.; Pirotti, F.; Vettore, A. Low-cost mems sensors and vision system for motion and position estimation of a scooter. Sensors 2013, 13, 1510–1522. [Google Scholar]
  26. Hol, J. Sensor Fusion and Calibration of Inertial Sensors, Vision, Ultra-Wideband and GPS. Ph.D. Thesis, The Institute of Technology, Linköping University, Linköping, Sweden, 2011.
  27. Dorveaux, E.; Vissiére, D.; Martin, A.; Petit, N. Iterative calibration method for inertial and magnetic sensors, Proceedings of the 48th IEEE Conference on Decision and Control, Shanghai, China, 15–18 December 2009; pp. 8296–8303.
  28. Bonnet, S.; Bassompierre, C.; Godin, C.; Lesecq, S.; Barraud, A. Calibration methods for inertial and magnetic sensors. Sens. Actuators A Phys. 2009, 156, 302–311. [Google Scholar]
  29. Schiavone, G.; Desmulliez, M.; Walton, A. Integrated Magnetic MEMS Relays: Status of the Technology. Micromachines 2014, 5, 622–653. [Google Scholar]
  30. Kuo, J.T.W.; Yu, L.; Meng, E. Micromachined Thermal Flow Sensors—A Review. Micromachines 2012, 3, 550–573. [Google Scholar]
  31. Hautefeuille, M.; O’Flynn, B.; Peters, F.H.; O’Mahony, C. Development of a Microelectromechanical System (MEMS)-Based Multisensor Platform for Environmental Monitoring. Micromachines 2011, 2, 410–430. [Google Scholar]
  32. Au, A.K.; Lai, H.; Utela, B.R.; Folch, A. Microvalves and Micropumps for BioMEMS. Micromachines 2011, 2, 179–220. [Google Scholar]
  33. Jahn, J.; Batzer, U.; Seitz, J.; Patino-Studencka, L.; Gutiérrez Boronat, J. Comparison and evaluation of acceleration based step length estimators for handheld devices, Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Zurich, Switzerland, 15–17 September 2010; pp. 1–6.
  34. Widyawan; Klepal, M.; Beauregard, S. A Backtracking Particle Filter for Fusing Building Plans with PDR Displacement Estimates, Proceedings of the 5th Workshop on Positioning, Navigation and Communication (WPNC 2008), Hannover, Germany, 27 March 2008; pp. 207–212.
  35. Douc, R.; Cappe, O. Comparison of resampling schemes for particle filtering, Proceedings of the 4th International Symposium on Image and Signal Processing and Analysis (ISPA 2005), Southhampton, UK, 15–17 September 2005; pp. 64–69.
  36. Vasconcelos, J.; Elkaim, G.; Silvestre, C.; Oliveira, P.; Cardeira, B. Geometric Approach to Strapdown Magnetometer Calibration in Sensor Frame. IEEE Trans. Aerosp. Electron. Syst. 2011, 47, 1293–1306. [Google Scholar]
  37. Liu, Y.; Li, X.; Zhang, X.; Feng, Y. Novel Calibration Algorithm for a Three-Axis Strapdown Magnetometer. Sensors 2014, 14, 8485–8504. [Google Scholar]
  38. Golub, G.; Loan, C.V. Matrix Computations; Johns Hopkins University Press: Baltimore, MD, USA, 1989. [Google Scholar]
  39. Gower, J.; Dijksterhuis, G. Procrustes Problems; Oxford University Press: New York, NY, USA, 2004. [Google Scholar]
  40. Hartley, R.; Zisserman, A. Multiple View Geometry in Computer Vision; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
  41. Ma, Y.; Soatto, S.; Kosecka, J.; Sastry, S. An Invitation to 3-D Vision: From Images to Geometric Models; Interdisciplinary Applied Mathematics: Imaging, Vision, and Graphics Volume 26; Springer: New York, NY, USA, 2004. [Google Scholar]
  42. Agarwal, S.; Snavely, N.; Seitz, S.; Szeliski, R. Bundle Adjustment in the Large, Proceedings of the European Conference on Computer Vision, Lecture Notes in Computer Science, Crete, Greece, 5–11 September 2010; 6312, pp. 29–42.
  43. Masiero, A.; Guarnieri, A.; Vettore, A.; Pirotti, F. An ISVD-based Euclidian structure from motion for smartphones. ISPRS—Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2014, XL-5, 401–406. [Google Scholar]
  44. Forlani, G.; Giussani, A.; Scaioni, M.; Vassena, G. Target detection and epipolar geometry for image orientation in close-range photogrammetry. ISPRS—Int. Arch. Photogramm. Remote Sens 2012, XXXI-5, 518–523. [Google Scholar]
  45. Feng, T.; Liu, X.; Scaioni, M.; Lin, X.; Li, R. Real-time landslide monitoring using close-range stereo image sequences analysis, Proceedings of the 2012 International Conference on Systems and Informatics (ICSAI), Yantai, China, 19–20 May 2012; pp. 249–253.
Figure 1. (a) Coordinate system in the university building used as a test field, and (b) the smartphone coordinate system (us; vs;ws). Smartphone used for the test: Huawei Sonic U8650.
Figure 1. (a) Coordinate system in the university building used as a test field, and (b) the smartphone coordinate system (us; vs;ws). Smartphone used for the test: Huawei Sonic U8650.
Micromachines 05 01012f1
Figure 2. Path traveled by the volunteers on the first floor of the building (green solid line) and check point positions (red circles) along the track.
Figure 2. Path traveled by the volunteers on the first floor of the building (green solid line) and check point positions (red circles) along the track.
Micromachines 05 01012f2
Figure 3. Calibration of the magnetic sensor. Number of measurements used in the calibration: (a) 150, (b) 200, (c) 300. (d) Comparison of calibration results obtained with 150 (solid green line), 200 (dashed blue line), 300 (magenta dashed-dotted line), 1000 (black stars) measurements, with ground truth calibration (red solid bold line).
Figure 3. Calibration of the magnetic sensor. Number of measurements used in the calibration: (a) 150, (b) 200, (c) 300. (d) Comparison of calibration results obtained with 150 (solid green line), 200 (dashed blue line), 300 (magenta dashed-dotted line), 1000 (black stars) measurements, with ground truth calibration (red solid bold line).
Micromachines 05 01012f3
Figure 4. Comparison of unconstrained trajectories: trajectory obtained using uncalibrated (blue x-marks) and calibrated magnetic sensor (red x-marks). Different calibration models are considered: computed by using 300 magnetic sensor measurements (left), and ground truth sensor model (right).
Figure 4. Comparison of unconstrained trajectories: trajectory obtained using uncalibrated (blue x-marks) and calibrated magnetic sensor (red x-marks). Different calibration models are considered: computed by using 300 magnetic sensor measurements (left), and ground truth sensor model (right).
Micromachines 05 01012f4
Table 1. Performance improvement (on the RMS positioning error) by using the revised particle filter with the uncalibrated magnetic sensor.
Table 1. Performance improvement (on the RMS positioning error) by using the revised particle filter with the uncalibrated magnetic sensor.
(a) n = 100(b) n = 200(c) n = 500(d) n = 100, kst(e) n = 200, kst(f) n = 500, kst
51.6%55.2%55.2%42.7%40.0%55.3%
Table 2. Performance improvement (on the RMS positioning error) by using the revised particle filter with the calibrated magnetic sensor.
Table 2. Performance improvement (on the RMS positioning error) by using the revised particle filter with the calibrated magnetic sensor.
(a) n = 100(b) n = 200(c) n = 500(d) n = 100, kst(e) n = 200, kst(f) n = 500, kst
65.9%62.1%58.5%45.5%35.9%33.6%

Share and Cite

MDPI and ACS Style

Masiero, A.; Guarnieri, A.; Pirotti, F.; Vettore, A. A Particle Filter for Smartphone-Based Indoor Pedestrian Navigation. Micromachines 2014, 5, 1012-1033. https://doi.org/10.3390/mi5041012

AMA Style

Masiero A, Guarnieri A, Pirotti F, Vettore A. A Particle Filter for Smartphone-Based Indoor Pedestrian Navigation. Micromachines. 2014; 5(4):1012-1033. https://doi.org/10.3390/mi5041012

Chicago/Turabian Style

Masiero, Andrea, Alberto Guarnieri, Francesco Pirotti, and Antonio Vettore. 2014. "A Particle Filter for Smartphone-Based Indoor Pedestrian Navigation" Micromachines 5, no. 4: 1012-1033. https://doi.org/10.3390/mi5041012

Article Metrics

Back to TopTop