Next Article in Journal
A More Efficient Transportable and Scalable System for Real-Time Activities and Exercises Recognition
Next Article in Special Issue
Development of a Kalman Filter in the Gauss-Helmert Model for Reliability Analysis in Orientation Determination with Smartphone Sensors
Previous Article in Journal
A Prototype Sensor for In Situ Sensing of Fine Particulate Matter and Volatile Organic Compounds
Previous Article in Special Issue
Image-Based Localization Aided Indoor Pedestrian Trajectory Estimation Using Smartphones
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Smartphone-Based Cooperative Indoor Localization with RFID Technology

Centre for Automation and Robotics (CAR), Spanish Council for Scientific Research (CSIC-UPM), Ctra. de Campo Real km 0,200, Arganda del Rey, Madrid 28500, Spain
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(1), 266; https://doi.org/10.3390/s18010266
Submission received: 15 November 2017 / Revised: 9 January 2018 / Accepted: 15 January 2018 / Published: 18 January 2018
(This article belongs to the Special Issue Smartphone-based Pedestrian Localization and Navigation)

Abstract

:
In GPS-denied indoor environments, localization and tracking of people can be achieved with a mobile device such as a smartphone by processing the received signal strength (RSS) of RF signals emitted from known location beacons (anchor nodes), combined with Pedestrian Dead Reckoning (PDR) estimates of the user motion. An enhacement of this localization technique is feasible if the users themselves carry additional RF emitters (mobile nodes), and the cooperative position estimates of a group of persons incorporate the RSS measurements exchanged between users. We propose a centralized cooperative particle filter (PF) formulation over the joint state of all users that permits to process RSS measurements from both anchor and mobile emitters, as well as PDR motion estimates and map information (if available) to increase the overall positioning accuracy, particularly in regions with low density of anchor nodes. Smartphones are used as a convenient mobile platform for sensor measurements acquisition, low-level processing, and data transmission to a central unit, where cooperative localization processing takes place. The cooperative method is experimentally demonstrated with four users moving in an area of 1600 m 2 , with 7 anchor nodes comprised of active RFID (radio frequency identification) tags, and additional mobile tags carried by each user. Due to the limited coverage provided by the anchor beacons, RSS-based individual localization is inaccurate (6.1 m median error), but this improves to 4.9 m median error with the cooperative PF. Further gains are produced if the PDR information is added to the filter: median error of 3.1 m (individual) and 2.6 m (cooperative); and if map information is also considered, the results are 1.8 m (individual) and 1.6 m (cooperative). Thus, for each version of the particle filter, cooperative localization outperforms individual localization in terms of positioning accuracy.

Graphical Abstract

1. Introduction

1.1. Smartphone-Based Indoor Localization

There is currently a high social and technological demand for personal location-based services which are operative in indoor or GPS-denied environments, preferently using the smartphone as interacting device, as this special issue can attest. Unlike the GPS-covered outdoor situation, no robust, accurate and highly available personal localization technology can be considered standard to date, although many technological solutions have been developed [1].
The most common approach to indoor positioning systems is based on the measurement of signal strength of radiofrequency (RF) signals transmitted from reference beacons in the environment and received with a device carried by the person. Previous knowledge of the location of the emitting beacons and the use of a model for the experimental signals leads to an estimate of the user’s location based on multilateration techniques, Bayesian inference, fingerprint or other methods. All current smartphones have support for the wifi and Bluetooth wireless communication standards, so these technologies are widely used for indoor positioning beacons [2]. Other RF technologies like radiofrequency identification (RFID) or ultrawideband radio (UWB) might be used with smartphone-based localization by adding external hardware.
In most real life indoor applications, it is required not only to localize users, but to track them as they move around the environment, leading to filtering methods to estimate the user’s trajectories [3]. This can be achieved directly from the sequence of time position fixes, but an overall better strategy is to fuse the RF signals with self-information about the displacement provided by a carried inertial motion unit (IMU). Pedestrian Dead Reckoning (PDR) methods process the signals from the IMU’s accelerometer, gyroscope and magnetometer and produce estimates of the user’s displacement [4]. The performance of current PDR algorithms is limited by the IMU sensors’ noise variance and bias parameters, which cause trajectory drift after a short period of time. Furthermore, these parameters vary from smartphone model to model [5], which poses an additional difficulty for developers of applications. The optimal location of the IMU is in the foot, since then the resting period of the stance motion can be used for sensor recalibration [6]. This is not feasible for pure smartphone PDR solutions, so simpler and less precise algorithms are used. Trajectories can be further improved by map-matching techniques if a floorplan of the displacement area is available [7].
Portable devices and, notably, smartphones, have experienced in the last decade a strong growth in userbase size, sensor capabilities, and processing power. Concurrently, they are becoming increasingly important for Ambient Intelligence (AI) applications, as a personal ubiquituous technology carried by users for large periods of their daily life. AI is largely based on automated analysis of human activity, which some authors [8] divide into three partial objectives: (a) positioning in indoor and outdoor areas; (b) motion recognition; (c) modeling of personal behaviour. In that sense, the smartphone has been proposed as a useful device for studying human motion, with capabilities similar to standalone inertial motion units common in clinical field or physical activity monitoring [9].
Modern smartphones constitute a very convenient platform for indoor localization [10], since they have most of the sensor capacities required for positioning, incorporate an inertial motion unit (IMU), and provide sufficient computing power. From an experimental point of view, the combination of signals from known location RF beacons, PDR-based displacement information, and map-matching, processed in a portable device such as a smartphone, has become a de facto standard solution for the indoor localization problem [11]. Some international competitions have appeared to further stimulate the development of smartphone-based indoor positioning in trials uncontrolled by the participants and as close to possible to daily life [12].

1.2. Cooperative Localization

The study of users’ motion and behaviour in an environment can be conducted at different scales [5]. At the personal level, applications are mostly concerned with localization and monitorization of single individuals. Group applications may refer to several individuals cooperating for a common goal, for example workers dispatching order in a logistics company building, or social applications like group meetups. Finally, community localization involves the study of larger groups (for example, passengers in an airport, customers in a mall) to infer patterns of behaviour, obtain commercial advantages, or provide a better management of the space.
In this paper we are interested in determining the location of a group of persons in a common environment, carrying smartphones which are able to exchange RF signals and share information between themselves. We can expect that cooperative localization methods, in which all users determine their location simultaneously [13], have availability and accuracy advantages over individual localization methods in which each user’s position estimate is obtained separately.
We will now provide a brief survey of cooperative localization methods, which, for the purposes of this work, are classified into two categories: deterministic and probabilistic (Bayesian) methods.
Deterministic methods treat the users’ positions as unknown variables to be determined from measured ranges, angles, signal strengths, etc. The maximum likelihood estimate (MLE) of the joint position of users, obtained by minimization of a quadratic loss function [14], is unfeasible due to the high dimensionality of the solution space, even for a few users. Suboptimal methods include the relaxation of the MLE estimate into a convex problem solvable by interior point methods [15] or the use of multidimensional scaling (MDS) techniques [16]. While deterministic localization techniques perform satisfactorily in the quasi-static situations found in Wireless Sensor Networks, they are not really suitable for tracking of people, since they are not able to process efficiently the prior information about the previous user positions, or incorporate motion data.
On the other hand, Bayesian techniques consider the users’ positions as random variables whose probability distributions must be estimated from measurements with intrinsic uncertainties [17]. Bayesian methods are formulated as recursive filters which incorporate previous information about the position, as well as motion data generated by carried inertial sensors, so they are well suited for localization and tracking of persons in indoor environments. Within the Bayesian approach, particle filters (PF), which represent the location probability as a set of samples (particles), are among the most powerful methods, due to their capacity to accomodate non-linear state and measurement models, handle multiple hypotheses, and integrate seamlessly different kinds of information. PF have proved successful in real-life indoor localization tests [18,19].
For cooperative localization and tracking of several users, one possible strategy is transmitting all the available information to a central node, where it is processed to estimate each user’s location. Such centralized cooperative location method has some difficulties in practice [20]: the high dimensionality of the joint hypothesis on the user locations, the network load caused by data transmission to and from the central processor, and a lack of robustness against failure. However, one successful example of centralized indoor tracking is found in [21], where a Kalman filter formulation is presented for the cooperative localization of firefighters exploring an environment with low visibility, based in foot-mounted IMU sensors and UWB-based inter-ranging. As an alternative to the centralized methods, in distributed algorithms users propagate information about their estimated locations (belief) and received measurements, only to their close neighbors, each user being responsible of estimating their own location based on available data. An example of distributed Bayesian filter adapted to the tracking of seven mobiles nodes displacing in an indoor environment, and able to estimate their respective ranges with RF signals, is found in [22]. Belief-based methods are scalable and convenient but they usually cannot achieve maximum localization accuracy, especially if we place restrictions on the nodes computing requirements and network traffic [23].
The research presented in this communication is an investigation on a cooperative particle filter adapted to indoor localization and tracking of a number of users moving in a common environment, and exchanging RF signals both with the infrastructure and among themselves. It is based upon previous work [24], but it has been improved in several key aspects: the particle filter has been reformulated in order to reduce the number of dimensions of the state space, the problems caused by soft- and hard-iron effects on the magnetometer estimated heading for the user trajectories have been assessed, the map of the building is used to constrain the particle motion, and the issue of filter initialization is considered. All these refinements have led to a considerable improvement of the position estimation accuracy.
Finally, we would like to remark that this work is concerned mainly with demonstrating the possible benefits to be obtained from using cooperative instead of individual localization techniques in indoor environments, and not particularly in addressing the practical problems that such a system would need to solve in real use. For this reason, issues like software standardization, variability of smartphone terminals, privacy and willingness of users to cooperate in indoor localization, network setup and synchronization, etc, are not considered in this work.

2. Theory

In most common indoor localization systems, a user acquires information from external RF beacons or anchors (normally, the received signal strength), as well as internal information about his relative displacement from a motion sensor carried by him. Knowledge of the location of the anchor beacons (perhaps augmented with a floorplan of his environment), permits to determine his localization individually. If each user is able to exchange RF signals with other users in his proximity, then this additional information can be used to improve on the joint estimate of the location of all so connected users, with cooperative or collaborative localization methods.
In this work we present a cooperative localization method, in which the sensory information retrieved by all N u users through their smartphones is broadcast by wifi to some nearby computing unit, where processing and estimation of users’ locations takes place. This communication network can be used to send back the location information to each user as required. In contrast to this centralized scheme, distributed cooperative methods exist in which user positions are determined locally in each device.
In the Bayesian approach to cooperative localization, the location of all users x = { x 1 , x 2 , , x N u } is modeled as a single probability distribution function (PDF): p ( x ) . RF signal measurements and estimated user motions are processed to modify the position PDF with time. Common Bayesian methods to estimate evolution of this PDF are the Extended and Unscented versions of the Kalman filter, grid-based estimates, and particle filters (PF) [25]. Particle filters have the advantages of being methodologically simple and flexible, of not being subject to any particular PDF shape for p ( x ) [17], and permitting to control the effects of the increased number of dimensions of the state space associated with cooperative positioning.
The elements of the PF-based cooperative localization technique are shown in Figure 1 and discussed now.

2.1. Bayesian Cooperative Estimation

We will treat the case of N u persons moving in an indoor area, in which there are N a known position RF beacons (anchors). Let x t j be a random variable with the location of the j-th user at time t, and its associated PDF p ( x t j ) . Then Bayesian estimation provides a recursive method for computing the posterior probability p ( x t j | z 1 : t j , u 1 : t j ) , where z 1 : t j is the set of measurements received by the user from external beacons, and u 1 : t j is the motion information acquired from onboard sensors [25]. The notation 1:t stands for the time history of the user since some initial time until the current time.
Individual localization sets independent position PDFs for each user: p ( x t 1 ) , p ( x t 2 ) , , p ( x t N u ) . For the cooperative localization scheme discussed in this paper, we will take a single PDF for all users, which has the form:
p ( x t ) = p ( x t 1 , x t 2 , , x t N u ) .
Then our objective is computing the posterior probability:
p ( x t | z 1 : t a , z 1 : t m , u 1 : t ) ,
where z 1 : t a = { z 1 : t a , j k ; j = 1 , , N u , k = 1 , , N a } stands for signal strength measurements from anchor beacons, and z 1 : t m = { z 1 : t m , j l ; j , l = 1 , N u , j l } stands for RSS measurements read from the mobile beacons carried by other users.
The posterior probability density of Equation (2) for time t can be estimated from a previous state t− 1 with the standard recursive form of the Bayes filter:
p ( x t | z 1 : t a , z 1 : t m , u 1 : t ) = p ( z t a , z t m | x t ) · p ( x t | x t 1 , u t ) p ( x t 1 | z 1 : t 1 a , z 1 : t 1 m , u 1 : t 1 ) d x t 1 ,
where the integral term corresponds to the prior probability based on a previous estimate of position and an estimated displacement of the user.
Examining Equation (3), the rightmost term under the integral sign corresponds to a previous ( t 1 ) estimate of position of all users, while the left term is the estimated user displacement between times t 1 and t:
p ( x t | x t 1 , u t ) = j = 1 N u p ( x t j | x t 1 j , u t j ) ,
given by the motion model, which takes into account motion data u t j as provided by an IMU sensor carried by the user. In the absence of IMU data, the motion model term can be replaced by a simpler model p ( x t j | x t 1 j ) , based on physical constraints. Also, this motion model term permits to incorporate map-matching data. Note that in Equation (4) user displacements are considered to be independent of each other.
The multiplicative term before the integral sign of Equation (3) corresponds to the correction given by the measurement model, which, written in full, results in:
p ( z t a , z t m | x t ) = j = 1 N u k = 1 N a p ( z t a , j k | x t j ) · j = 1 N u l = 1 l j N u p ( z t m , j l | x t j , x t l ) ,
where the sum indices are assumed to run only over the actually received measurements, and conditional independence between all signal strength measurements is assumed. The second multiplicative term in Equation (5) is the one that physically provides the link for joint estimation of all user’s locations.
While Equation (3) looks rather unwieldy, we will show next how it can be efficiently implemented with the particle filter methodology.

2.2. Choice of the State Vector

The state vector for each user can be chosen to include his or her two-dimensional position, velocity or heading. In the previous version of this work [24], we found that the compass measurements from some smartphones were biased, and not reliable for estimating the absolute direction of the motion. Therefore, we augmented the user’s state to include the heading: x t j = ( x t j , y t j , θ t j ) , which was updated with the relative changes at each step, Δ θ t j , as determined by the phone’s gyroscope and magnetometer. However, we have been able to improve the compass estimations to achieve reliable estimates of heading, as described in Section 4.3, so this extra state variable is unnecesary, and has been incorporated instead to the motion model vector u [26]. The reduction of the state dimensionality to x t j = ( x t j , y t j ) enhances the PF accuracy and speeds up the computations.
With the particle filter formulation, the posterior probability of Equation (2) is approximated by a set of N p samples or points p t i as:
p ( x t ) i = 1 N p w t i p t i ,
where each particle i ( i = 1 , , N p ) represents a hypothesis about the joint position of all users:
p t i = { x t 1 i , y t 1 i , x t 2 i , y t 2 i , , x t N u i , y t N u i } ,
(therefore being of dimension 2 N u ) and has an associated weight w t i representing the estimated probability of this hypothesis. At initialization, all particles might be assigned equal weights ( w 0 i = 1 / N p ) and random positions in the displacement area, or, alternatively, we can speed up convergence of the PF (and possibly avoid false solutions) if we use the first RSS measurements to compute an approximate location for all users (see the discussion in Section 4.4).
The positions and weights of the particles evolve in time as RF measurements are received and motion from the users is detected, according to Equations (4) and (5). The PF operates in time steps t, which are not fixed time intervals but rather depend on the time instants where a step by one of the users is detected by the PDR algorithm, or well when a specified time has passed without any step being detected. Regardless this internal update rate, position estimates can be requested from the filter at any time.

2.3. Measurement Model

While the users move in the indoor environment, the RF readers carried by them are continuosly receiving RF signals from anchors and mobile RF emitters (see Figure 2), registering their unique identification numbers and the received signal strength measurements (RSS). We use notation z a = { RSS j k a } , for the RSS measurement recorded by the j-th user from an anchor node, where k { 1 , , N a } , and z m = { RSS j l m } , for the RSS measurement recorded by the j-th user from other users, where j , l { 1 , , N u , l j } . Superscripts a and m stand for anchor nodes and mobile nodes, respectively. Note that, in general, RSS j l m RSS l j m , due to different RF emission and reception gains.
RSS measurements are processed by the particle filter with a measurement model, which is a function evaluating the probability that a signal strength measurement value is received at a particular user location. It is accepted that creating an exact model for the RSS values is complicated due to the complex nature of RF propagation in indoor environments, so some simplifications have to be made. Fingerprinting techniques produce a dataset of signal strength values acquired at known locations [27] during the calibration, from which the probability of a given RSS value measured later can be obtained by Bayesian inference. As the fingerprinting calibration process is cumbersome, some research efforts have been directed to use crowdsourcing techniques to simplify it [28]. On the other hand, regression techniques such as Gaussian Processes [29] create a model which can predict the RSS value and its variance at each point in the environment. We don’t use these more sophisticated techniques since we want to retain the simplicity and robustness of general models, and we are more interested in demonstrating the effectiveness of cooperative localization than achieving the maximum possible location accuracy.
For these reasons, in this work we will use the well known path loss law [30]:
RSS ( a , m ) ( d ) = RSS 0 ( a , m ) 10 α ( a , m ) log 10 d d 0 + e RSS ,
which makes the assumption that the RSS (measured in dBm) depends solely on the distance d between user j and anchor node k or between users j and l. Fixed parameters in Equation (8) (to be determined in calibration) are the reference distance d 0 , the signal strength RSS 0 at distance d 0 , and the path loss exponent α . In principle, we allow for different path loss law parameters for RSS readings received from anchor nodes, { RSS 0 a , α a } , and from other users, { RSS 0 m , α m } . In Equation (8), the term e RSS N ( 0 , σ RSS 2 ) is Gaussian distributed noise representing the unmodeled fading characteristics of RF signals indoor propagation. Determination of parameters RSS 0 , α and σ RSS will be discussed in Section 4.1.

2.4. Update Stage

In correspondence with Equation (5), the particle weights are updated with the RSS readings received by all users during the time interval between instants t and t + 1 , considering RF signals from anchors as well as between users as:
w t + 1 i = w t i · j = 1 N u k = 1 N a p ( RSS j k a | x t j i x a k ) · j = 1 N u l = 1 l j N u p ( RSS j l m | x t j i x t l i ) ,
where the first series of products corresponds to RF measurements between users and fixed beacons at positions x a k ( k = 1 , , N a ), and the second to RF measurements between the users themselves. Note that conditional independence of all signal strength measurements is implicit in the product form of Equation (9). Due to the assumption on RSS noise distribution of the PLL model in Equation (8), all probabilities in Equation (9) are Gaussian:
p ( RSS ( a , m ) | d ) = N ( RSS ( a , m ) , RSS 0 ( a , m ) 10 α ( a , m ) log 10 d d 0 , σ RSS 2 ) .

2.5. Particle Motion and Resampling

Modern smartphones incorporate miniature inertial motion units based on microelectromechanical sensors (MEMS) technology. Although these sensors have relatively worse performance than external, standalone IMUs (especially higher noise and bias), they can be profitably used to obtain displacement information. We use data from the IMU’s sensors to implement Pedestrian Dead Reckoning (PDR) algorithms [31] by processing the IMU’s accelerometer, gyroscope and magnetometer signals. This user’s displacement information is incorporated to the motion stage of the particle filter.
By processing the acquired IMU signals for user j, the PDR module produces a sequence of steps of the form [4]: { l t j , θ t j } , where t is the time where a step is completed, l t j is the step length and θ t j is the orientation (heading) as computed from the smartphone magnetometer. Adding the step to the previously estimated position ( x t 1 j , y t 1 j ) , we could in principle reconstruct the complete trajectory purely by PDR means.
In our previous work on cooperative positioning [24], the PDR computed step orientation was deemed unreliable since for some of the smartphones it was largely deviated from the actual heading. This led us to consider only the changes of heading ( Δ θ t j ), and augmenting the particle’s state with the estimated heading θ t j i , as was mentioned in Section 2.2. Such deviations from the true heading have been found to be caused by hard- and soft-iron effects affecting the IMU’s magnetometer, and successfully compensated with the method described in Section 4.3. Thanks to this, absolute orientation of each step is estimated with good precision, and the overall dimensionality of the cooperative localization is reduced from 3 N u to 2 N u states.
In our PF implementation, the motion update and resampling stages are combined, so the particle displacements are accompanied by a weight reassignment to a constant value 1 / N p . In the event of a step detection for the j-th user, the i-th particle’s position for this user in the next time interval is chosen as (see Figure 3a):
x t j i = x t 1 j i + ( l t j + δ l ) cos ( θ t j + δ θ ) y t j i = y t 1 j i + ( l t j + δ l ) sin ( θ t j + δ θ ) ,
where index i is drawn from the set i { 1 , , N p } with probability w i . The terms δ l and δ θ are Gaussian modelled disturbances on the estimated step length and orientation, respectively, which are distributed according to δ l N ( 0 , σ l PDR 2 ) and δ θ N ( 0 , σ θ PDR 2 ) . The particle components corresponding to the remaining users l j are resampled, but not displaced:
x t l i = x t 1 l i y t l i = y t 1 l i , l j .
In the case that the analysis of the IMU signals of user j by the PDR module does not result in any step estimate for a sufficient long time ( T max ), we consider that the user is standing still or that his motion has not been detected for some reason, and Equation (11) is replaced by:
x t j i = x t 1 j i + δ x y t j i = y t 1 j i + δ y ,
where particle i is drawn in the same way as in Equation (11), and ( δ x , δ y ) are sampled from a uniform distribution in the circle defined by δ x 2 + δ y 2 v max 2 T max 2 , as shown in Figure 3b. In the experiments described later, we take v max = 2 m/s as a maximum displacement speed, and T max = 2 s as the maximum time that we allow the PF to proceed without resampling for any user. Thus, Equation (12) models an unknown displacement in a given range that went undetected by the PDR algorithm. The motion/resampling of Equation (12) is also used in experiments where PDR is not considered, in order to provide a procedure for the PF to track the user’s trajectory.
The alternance between the measurement and motion stages is dictated by the sequence at which user’s steps and RFID detection events are produced. As these events are independent and not synchronized, usually RSS corrections will correspond to slightly different user locations as estimated by the PF. In practice, however, we can consider that the large fluctuations of RFID RSS values (as seen in the large variance σ RSS ), mean that the corrections they impose on the PDR displacement estimates are very conservative. In that aspect, is not important exactly when the RSS corrections are incorporated to the PF, within the typical duration of a step.
A further precaution is needed to detect the circumstance of particle degeneracy, in which the number of particles with significant weights is reduced [32]. In our implementation, we check for the number of “effective” particles (as defined in [17]):
N eff = 1 i = 1 N p ( w i ) 2 ,
and perform a resampling step (without particle displacement), if this number falls below the threshold N p / 10 . This event occurs rarely in our experiments.

2.6. Map Matching on Particle Displacement

If a floorplan of the displacement environment is available, particle filters can be supplemented by map matching techniques to further enhance personal tracking accuracy [4,7]. The existence of walls delimiting rooms, corridors, and so on, restricts particle motion to physically feasible trajectories, permits to solve the ambiguities posed by multiple position hypotheses, and allows for the use of heuristic methods to correct heading biases or drifts inherent to PDR-based estimation [33].
We implement map matching in the particle motion/resampling step of the PF by checking if the particle displacement trajectory intersects any of the walls of the building. Particles whose trajectory intersects a wall get their weight multiplied by a factor 10 3 , while the others remain unchanged. Computational geometry methods permit to check efficiently whether a particle trajectory intersects a wall segment [34]. Let p 1 p 2 ¯ be the segment defined by the original position of a particle, p 1 = ( x t 1 j i , y t 1 j i ) , and its resampled position, p 2 = ( x t j i , y t j i ) ; and p 3 p 4 ¯ the segment defined by two consecutive wall points, p 3 = ( x k wall , y k wall ) and p 4 = ( x k + 1 wall , y k + 1 wall ) . Then p 1 p 2 ¯ and p 3 p 4 ¯ intersect if and only if the following conditions are satisfied:
orient ( p 1 , p 2 , p 3 ) · orient ( p 1 , p 2 , p 4 ) < 0 orient ( p 3 , p 4 , p 1 ) · orient ( p 3 , p 4 , p 2 ) < 0 ,
where orient ( p 1 , p 2 , p 3 ) is the orientation of the triplet ( p 1 , p 2 , p 3 ) , defined by the sign of the cross product:
orient ( p 1 , p 2 , p 3 ) = sign ( ( p 3 p 1 ) × ( p 2 p 1 ) ) = sign ( ( x p 3 x p 1 ) ( y p 2 y p 1 ) ( x p 2 x p 1 ) ( y p 3 y p 1 ) ) .
A positive sign indicates a clockwise orientation (right turn), and a negative sign a counterclockwise orientation (left turn); if the value of Equation (15) is null, then the three points lie on a straight line. Equations (14) and (15) lend themselves to double vectorization (in particles, i = 1 , , N p and wall segments, k = 1 , , N walls 1 ), and thus are very fast on computing platforms that support vector optimization. Also, note that Equation (15) does not require division operations, which are sensitive to near parallel segments.
Our approach works in real time with a simplified floorplan of our building. For larger environments, partitioning hierarchichal schemes such as that described in [35] or sweep line methods [36] might be used for higher efficiency.

2.7. Particle Clustering and Position Estimate

The minimum mean square error (MMSE) estimator position estimate for each user is given by:
x ^ t , MMSE j = i = 1 N p w t i x t j i .
As will be seen in the experimental results, the noisy nature and sparseness of the RSS readings received by the users may cause the particle clouds to split into several spatially separated hypotheses, so direct estimation of the MMSE of any user considering all particles might cause position estimates largely deviated from the true user location.
To improve upon the straightforward MMSE position estimate, we have considered the simple clustering algorithm of Figure 4. This algorithm has the following stages:
  • Find particle with the highest weight.
  • Determine which particles are at a range less than the cluster radius (taken as 3 m in this work) from the particle with the highest weight.
  • (If map matching is used,) exclude those particles within the cluster radius but without direct line of sight to the particle with the highest weight.
  • Compute the MMSE of the particles satisfying these conditions, and the cluster weight (sum of the weights of all particles in the cluster).
  • Eliminate those particles and go to step (1) to process the next cluster.
  • The position is given by MMSE of the cluster with the largest weight.
Further position refinements could be produced with post-processing of the complete trajectories, for example with a backtracking algorithm which considers the complete history of each particle, discarding those which have led to impossible trajectories and reinforcing the remaining particles [7]. We have not implemented backtracking algorithms in this work.

3. Experimental Device

We use radiofrequency identification (RFID) technology to support the cooperative localization scheme presented in this paper, since we have experience with it from previous works in individual localization of users in indoor environments [35,37]. Active, battery powered RFID tags are untethered and easy to deploy, permitting to cover a large area in a simple way, due to long signal transmitting ranges. We will use active RFID tags both as anchors (at fixed positions in our building), and mobile emitters (carried by each user in their pockets). Our first intention was using the more standard wifi technology, but we have not been able to overcome the hardware limitation that prevents a smartphone from acting as a wifi scanner and wifi beacon simultaneously. However, since the positioning method is based solely on the received signal strengths, we don’t foresee any special difficulty in translating it to wifi or other equivalent RF technology, once the above mentioned problem is solved.
We have placed a large number of RFID active tags (model M100 from RFCode) in our building, attached to the walls at a height of 2 m, and covering a total area of 1600 m 2 (55 different rooms), which permits positioning in our building, and even in a limited surrounding area in the exterior (with degraded accuracy). The tags are factory set to emit their identification code every second, and the RF digital signals are modulated at 433 MHz. Each user carries an RFCode model M220 portable reader in his belt clip, equipped with two 1/4 wave articulated helical antennas (see Figure 5). The reader decodes the RF message transmitted by tags and, for every detection event, reports the tag ID, the measured RSS at both antennas and a timestamp to an Android-based mobile phone application through a Bluetooth link. Interference between different RFID tags is internally handled by the reader in a manner transparent for the user. Additionally, we acquire the three-axis accelerometer, gyroscope and magnetometer signals from the inertial motion unit (IMU) contained in the smartphone at a sampling rate of 50 Hz. To ensure that the sampling rate is not affected by the load of the smartphone’s CPU, the acquisition process is programmed in the IMU hardware with an Android Sensor Event routine, and each sample is provided a timestamp with nanosecond accuracy, guaranteeing enough regularity for the PDR algorithms. GNSS and wifi data (when available) is also acquired by the program, but not used in our experiments.
For the experiments on cooperative positioning described in this paper, we will use only 7 fixed position RFID tags (anchors); additionally, each user carries one RFID tag in his pocket. We have kept the number of anchor nodes deliberately low so the benefits of cooperative positioning stand out more clearly. The evolution of the connectivity of users to anchor nodes and between themselves is shown in Figure 6. While there is sufficient connectivity in the early instants of our experiment to achieve a solution for the user locations (for example, with the multidimensional scaling method), soon this connectivity decreases as the users move away from their initial locations. In the evaluation trajectories a user has access to an average 2.1 RSS readings from anchor tags, and 0.99 RSS readings from other users at every time instant. Furthermore, 3 or more anchors tags (the minimum number for position estimation by trilateration) are available to a user for only 34% of time on average, making position fixing difficult individually. In spite of the low number of anchor beacons, user tracking is possible once they start moving, through the Bayesian filter introduced earlier. The goal of this work is finding out if the combination of RSS measurements from both anchor and mobile tags can further improve the positioning accuracy over individual trajectory estimates.

4. Experimental Results and Discussion

4.1. Calibration

We perform a short calibration stage to determine the path loss law model parameters (Equation (8)), by moving to 44 different locations in our building, and collecting RSS measurements from anchor and mobile RFID tags placed at known locations. Although anchor and mobile tags are identical, the first ones are placed in the wall at a height of 2 m, while the second ones are carried in the pockets by the users at an approximate height of 1 m. Therefore, we have computed two sets of parameters ( RSS 0 , α ), one for each case. The RF signal propagation characteristics will in general depend on the environment, mainly affecting the attenuation exponents α of Equation (8). For example, buildings with interior thick concrete walls will have a larger attenuation exponent that those with thinner walls or lighter partitions. In consequence, a new calibration would be required before the positioning system can be used in a different location. However, as we use a single model for all RFID tags, this calibration would have to be done once at the beginning, and not repeated each time a tag is added or displaced from its position, a marked difference with the fingerprinting approach to localization.
The results of the calibration process are shown in Figure 7. The left part shows the detection probability of a tag as a function of the range to the RFID receiver. As we can see, the 50% detection probability range is about 20 m, and very similar for both anchor and mobile nodes. On the right, we show a piecewise linear fit for the RSS values, along with the standard deviation. The PLL model gives a reasonable linear approximation to the signal strength except for very short or long ranges. The linear fit PLL parameters are very similar for both anchor and mobile tags: RSS 0 a = 55.1 dBm, α a = 2.79 dBm; RSS 0 m = 54.4 dBm and α m = 2.95 dBm. Physically, this similarity seems to suggest that tag height placement is unimportant, and that the non-line of sight (NLOS) effects on the propagation of RF signals are more important. The standard deviation of the signal strength is found to be relatively constant, σ RSS 10 dBm, regardless of range d. It is convenient to use a conservative (i.e., large) value for the measurement noise variance, so the particle filter does not become overconfident on some RSS values. We have also found that using a somewhat larger value for the standard deviation of the RSS measurements from the mobile tags provides more robust cooperative positioning (we used σ RSS a = 10 dBm and σ RSS m = 15 dBm).

4.2. Smartphone-Based Pedestrian Reckoning

Signal strength-based trajectory estimates can be considerably improved by fusion with Pedestrian Dead-Reckoning (PDR) estimates from an inertial motion unit (IMU) carried by the user. In the research presented in this paper, we will use the IMU contained in the smartphone handheld by the user.
PDR-based trajectory estimates can be either Inertial Navigation Systems (INS), or Step-and-Heading Systems (SHS) [4]. INS solutions, based on direct integration of the signals from the IMU’s accelerometer, gyroscope and magnetometer, require either the use of high-grade, heavy sensors, or placement of the sensor in the foot of the user, which is not practical in most situations.
By contrast, SHS techniques are based upon step detection by analysis of the IMU’s acceleration signal, and produce a sequence of step lengths and step headings which can be added to reconstruct the trajectory followed by the user. Although not as accurate as INS-based estimates, they can provide reasonable estimates of a walking person’s trajectory moving in a steady way, and work well even when the IMU is low-grade and handheld. However, as all PDR estimates, they are subject to drift, and will gradually separate from the actual trajectory unless external corrections are provided.
For the cooperative localization particle filter, the information produced by the PDR module consists in a series of steps for each user, given as the sequence { t , l t j , θ t j } . Step times t are detected by analyzing the vertical motion of the accelerometer, and identifying the stages of motion and stance (rest). The step length l t j is estimated with Weinberg’s method [38], which considers that it is proportional to the maximum vertical displacement of the hip, as measured with the accelerometer; this method typically provides estimates within 10% accuracy, although more sophisticated techniques exist [39]. Finally, the step absolute orientation θ t j is estimated from the magnetometer signal, once the tilt of the phone is removed [40]. This information is used to displace the hypotheses on the position (particles) for each user.
To arrive at suitable values for parameters σ l PDR and σ θ PDR in Section 2.5, we performed a few trajectories along the corridors in our building (walking regularly and following a straight path), and computed the dispersion of estimated step length and heading. As it is preferable that the PF does not get overconfident about the estimated step values, σ l PDR = 0.2 m and σ θ PDR = 0.3 rad were set about twice as large as these computed dispersions in step length and heading, respectively.

4.3. Correction of Soft- and Hard-Iron Disturbances

The signal readings of the smartphone’s magnetometer are affected by the close presence of magnetic materials which add to the earth’s magnetic field (hard-iron effect), and non magnetic metals which distort the original shape of the field (soft-iron effect) [41]. Magnetic effects from the metallic materials in the phone itself are calibrated by the manufacturer, but is is inevitable with current technology that some hard-iron effects remain [42]. In the previous version of this work [24], these effects were not compensated for, and, in consequence, the heading of the compass in the smartphone IMU was not considered reliable. We still could use magnetometer information by augmenting the state space of each user to include the position and heading (see the discussion in Section 2.2), and use the magnetometer or gyroscope readings to detect changes in the heading. However, for the present work, we have implemented a relatively simple method, based in references [41,43] that does a very good job of compensating these disturbing effects, and permits to measure the absolute heading with confidence.
Under undisturbed conditions, the magnetic field ( B x h , B y h ) measured by the phone, projected on the horizontal plane after compensation of the tilt of the device, should lie in a circumference centered at the (0,0) point. Hard-iron effects add to this field and cause an offset of the circumference’s center; while soft-iron effects perturbs said circumference into an ellipse. The combined effect is illustrated in Figure 8a, which corresponds to the complete trajectory of one user. The circumference centre is offset by ( 0.24 , 7.04 ) μ T from the origin. The heading estimates, computed as arctan ( B y h / B x h ) , are thus biased, and the PDR trajectory deviates significantly from the groundtruth (part (b)).
To decrease the disturbance on heading estimates caused by hard- and soft-iron effects, we process the IMU data from the complete trajectory (or a sufficiently long segment of it) with the following algorithm:
  • Estimate the tilt of the phone from the relative orientation of the gravity vector with respect to the accelerometer axes, and compute the projection of the magnetic field on the horizontal plane: ( B x h ( t ) , B y h ( t ) ) .
  • Perform a linear squares fit of the ( x , y ) = ( B x h ( t ) , B y h ( t ) ) data to an ellipse of the general form:
    ( x x 0 ) cos ϕ + ( y y 0 ) sin ϕ a 2 + ( x x 0 ) sin ϕ ( y y 0 ) cos ϕ b 2 = 1
    to determine the ellipse’s center ( x 0 , y 0 ) , semi-major and semi-minor axes ( a , b ) , and angle of rotation ϕ .
  • The hard-iron effect is compensated by substracting ( x 0 , y 0 ) from the ( B x h ( t ) , B y h ( t ) ) data.
  • The soft-iron effect is compensated by (a) rotating the (centered) ellipse by angle ϕ , so its axes become aligned with the x , y -axes; (b) multiplying the minor axis by factor a / b , and (c) rotating the ellipse back to its original orientation by angle ϕ .
  • The corrected heading for each step can now be computed as θ t = arctan ( B y h ( t ) / B x h ( t ) ) .
The final result of this procedure should be a centered, circular distribution for the magnetic field, as shown in Figure 8b, which results in a PDR trajectory estimated with correct heading (Figure 8c).
In our experiments, we have found that soft-iron effects are relatively unimportant for PDR estimates. Our correction method is offline, since it processes all data for the complete trajectories, but real-time calibration would not be hard to implement (or a simple calibration procedure can be specified before tracking begins). Finally, our implementation is simplified since it only takes place in the projected magnetic field components; full three-dimensional compensation can be achieved following the methods in [44]. Note that, although heading errors are mostly corrected by the procedure described, there remains a drift error caused by incorrect step detections or wrongly estimated step lengths, which are harder to eliminate.
In this work, the user trajectories are not estimated in geographic coordinates (longitude, latitude), but in a local reference system which has the X + axis aligned with the largest dimension of our building. This is for convenience, as the floorplan and RFID tag locations are more easily obtained in the building’s frame of reference. To translate the magnetic compass measurements to our local frame of reference, we subtract from the measured heading the orientation angle of our building relative to the north axis (as obtained from a map of our urban area).

4.4. Filter Initialization

Initialization of the PF is a critical phase of the tracking process, since insufficient anchor measurements and noisy RSS values can cause particle impoverishment and degeneracy [32], and lead to incorrect initial position estimates. Although properly designed PF are usually able to recover once the users begin to move and measurement diversity increases, it is more convenient if approximately correct prior position estimates can be provided to the filter at initialization.
In this work, we use the multidimensional scaling (MDS) method to initialize the user positions to approximate values [16], by collecting the RSS measurements from all four users for a starting period of 5 s. Signal strength measurements are transformed to ranges by using the following estimator:
d ^ unbiased = d 0 · 10 RSS RSS 0 10 α · 10 ln 10 σ RSS 2 200 α 2 ,
which is an inversion of the PLL Equation (8), with the appropriate parameters RSS 0 and α for the anchor and mobile nodes, and where the bias in the range caused by noisy RSS values is removed [45]. The network formed by anchors and mobile users is not fully connected (users do not receive RFID readings from all possible tags), so the unknown ranges in the MDS matrix are approximately estimated from the known ones with Floyd-Warshall’s algorithm.

4.5. Positioning Results

In the experiments carried out to evaluate the performance of cooperative positioning compared to individual positioning, four persons traversed different trajectories in our building, remaining mostly indoors. Each user carried a smartphone handheld in a natural way in front of him, running a program which logs all the sensor data available to the device, as well as transmitting RFID detection (tag ID and RSS), and detected steps (step length and orientation) to a central computer through the wifi link. For reconstruction of the groundtruth, the users recorded time marks through the phone’s program interface at designated points in their trajectory, including the start and end point. Interpolation in post-process permits later to generate groundtruth values at each time and compute the positioning errors. We estimate that the groundtruth trajectories are computed within 1 second accuracy with respect to the common timebase of all users.
All trajectories start at a common point (the corridor section in front of our lab, marked with an S in Figure 8c), after an initial rest period of 10 s with data capturing by the phones enabled (which is used for filter initialization as described in Section 4.4). Trajectory lengths are between 210 and 220 m, and are traversed at a relatively stable average speed of 0.7 m/s. The PDR algorithm is only adjusted once to calibrate for each user’s typical step length. Step detection is not perfect, in the sense that some steps are missed, and extraneous ones are detected, for example when a door is opened with an arm, and its motion is coupled to the opposite arm holding the phone.
We have used a fixed number N p = 10,000 particles per user in the algorithm for individual localization, and N p = 40,000 particles for all 4 users in cooperative localization; this is a reduction from our previous version [24] which is due to the decrease of the state space dimensions (Equation (7)).
The position estimates obtained with the individual and cooperative versions of the particle filter are shown along with the groundtruth in Figure 9 (RSS measurements only), Figure 10 (RSS combined with PDR), and Figure 11 (RSS, PDR and map-matching). The use of map matching combined with particle clustering has the effect of discarding many instances of physically impossible trajectories involving wall crosses or exiting the building altogether; however, some positioning errors remain. It is probable that further processing of the PF data (for example, with backtracking algorithms) permits to estimate user trajectories closer to the groundtruth. In any event, the main goal of this work is not fine tuning of the PF for the best possible positioning accuracy but rather showing the potential of cooperative over individual localization of a set of users.
For a numeric comparison of the performance of each method, we provide their respective median and 90% positioning errors in Table 1. The first column corresponds to RSS-only localization (trajectories shown in Figure 9). The median individual error is 6.1 m, which improves to 4.9 m when the cooperative version of the PF is used. The second column corresponds to RSS localization augmented with PDR from the phone’s IMU, but degraded by hard/soft iron effects: the median positioning error is 4.0 m (individual localization) and 3.5 m (cooperative localization). These results approximately correspond to the positioning errors previously reported in [24]; the following results are new to this article.
The third column of Table 1 shows the PF positioning results with RSS and PDF, once the smartphone’s compass information has been corrected with the procedure of Section 4.3 (see trajectories in Figure 10). The median positioning error is reduced to 3.1 m (individual localization) and 2.6 m (cooperative localization). Finally, adding map matching capacities to the motion model (fourth column of the table), we obtain the trajectories of Figure 11, and a further median error reduction: 1.8 m (individual localization) and 1.6 m (cooperative localization).
As we can see, in every situation, the cooperative version of the PF provides superior performance than the individual algorithm, although this is less noticeably with PDR, or PDR and map information combined, as can be seen in the cumulative distribution function of the positioning error (Figure 12).

5. Conclusions and Future Work

In this work, we have investigated a particle filter (PF) based cooperative indoor localization method, intended for a group of users which are moving in a common environment. Each of these persons carries a smartphone which receives RF signals emitted from fixed location beacons in the indoor area (anchors), as well as other mobile beacons carried by the users themselves. The PF is formulated as a probabilistic hypothesis over the joint location of all users, which is updated as new anchor or mobile RF signals are received. This scheme exhibits superior performance when compared to individual localization where only infrastructure-based signals are available for positioning. The PF achieves higher accuracy when improved with a simple PDR algorithm which produces step length and heading estimates, even from the low grade IMU sensors contained in a handheld, conventional smartphone. Further improvement yet is achieved by using a floorplan map of the displacement environment to constrain the motion of the particles.
The performance of the dead reckoning method described in this paper depends on the capacity of the smartphone’s magnetometer to reliably estimate the absolute heading of the trajectory, once disturbing hard- and soft-iron effects have been compensated. The magnetic field has enough uniformity in our building to permit reliable compass operation; in more hostile environments, like buildings with metallic elements, it might be preferable to include the estimated heading as one more state variable in the PF, as in our previous work [24].
We have demonstrated experimentally the performance of the proposed cooperative PF method with an RFID-based localization system, with the results summarized in Table 1 and Figure 12. In every situation (RSS only, RSS and PDR, RSS and PDR and map), cooperative localization shows higher accuracy than individual localization, although in some circumstances only by a close margin. The performance of cooperative methods will likely improve if a larger number of users collaborated in the positioning process. At present, hardware limitations related to our RFID system prevent us from going beyond 4 users, but future implementations will be wifi- and Bluetooth-based. Two issues have to be solved first: (a) having a smartphone acting as wifi scanner and wifi access point (hotspot) simultaneously; and (b) consider the relatively high latency of smartphone-based wifi localization, since wifi scans are produced at intervals of a few seconds.
Apart from these technological problems, the proposed PF methodology can be improved in several ways. Backtracking methods could be used to post process the complete particle histories, and discard those whose evolution has led to impossible trajectories. Another interesting issue to be studied is the stability of the cooperative filter for a larger number of users, particularly the issues of sample impoverishment and degeneracy. Finally, the current version of the cooperative positioning algorithm is centralized, since a common computing unit must receive and process RF and PDR readings for all users; for larger groups of users, it would be convenient to adapt the particle filter methodology to a distributed version, based on belief propagation techniques, in which information about the neighbour states is transmitted locally between users, and then propagated over the complete network.

Acknowledgments

Financial support for this work comes from projects TARSIUS (ref. TIN2015-71564-C4-2-R, MINECO/FEDER) and REPNIN (ref. TEC2015-71426-REDT) of the Spanish Ministry of Economy, Industry and Competitiveness.

Author Contributions

The authors contributed equally to the theoretical development, experimental tests and analysis of results presented in this work, as well as to the redaction of the text.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zekavat, R.; Buehrer, R.M. Handbook of Position Location: Theory, Practice and Advances; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  2. Liu, H.; Darabi, H.; Banerjee, P.; Liu, J. Survey of Wireless Indoor Positioning Techniques and Systems. IEEE Trans. Syst. Man Cybern. Part C 2007, 37, 1067–1080. [Google Scholar] [CrossRef]
  3. Dardari, D.; Closas, P.; Djuric, P.M. Indoor Tracking: Theory, Methods, and Technologies. IEEE Trans. Veh. Technol. 2015, 64, 1263–1278. [Google Scholar] [CrossRef]
  4. Harle, R. A survey of indoor inertial positioning systems for pedestrians. IEEE Commun. Surv. Tutor. 2013, 15, 1281–1293. [Google Scholar] [CrossRef]
  5. Kos, A.; Tomažič, S.; Umek, A. Evaluation of smartphone inertial sensor performance for cross-platform mobile applications. Sensors 2016, 16, 477. [Google Scholar] [CrossRef] [PubMed]
  6. Skog, I.; Handel, P.; Nilsson, J.O.; Rantakokko, J. Zero-Velocity Detection—An Algorithm Evaluation. IEEE Trans. Biomed. Eng. 2010, 57, 2657–2666. [Google Scholar] [CrossRef] [PubMed]
  7. Beauregard, S.; Klepal, M. Indoor PDR performance enhancement using minimal map information and particle filters. In Proceedings of the IEEE/ION Position, Location and Navigation Symposium, Monterey, CA, USA, 5–8 May 2008; pp. 141–147. [Google Scholar]
  8. Pei, L.; Guinness, R.; Chen, R.; Liu, J.; Kuusniemi, H.; Chen, Y.; Chen, L.; Kaistinen, J. Human behavior cognition using smartphone sensors. Sensors 2013, 13, 1402–1424. [Google Scholar] [CrossRef] [PubMed]
  9. Mourcou, Q.; Fleury, A.; Franco, C.; Klopcic, F.; Vuillerme, N. Performance evaluation of smartphone inertial sensors measurement for range of motion. Sensors 2015, 15, 23168–23187. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Davidson, P.; Piché, R. A Survey of Selected Indoor Positioning Methods for Smartphones. IEEE Commun. Surv. Tutor. 2017, 19, 1347–1370. [Google Scholar] [CrossRef]
  11. Tian, Q.; Salcic, Z.; Wang, K.I.K.; Pan, Y. A hybrid indoor localization and navigation system with map matching for pedestrians using smartphones. Sensors 2015, 15, 30759–30783. [Google Scholar] [CrossRef] [PubMed]
  12. Torres-Sospedra, J.; Jiménez, A.R.; Knauth, S.; Moreira, A.; Beer, Y.; Fetzer, T.; Ta, V.C.; Montoliu, R.; Seco, F.; Mendoza-Silva, G.M.; et al. The Smartphone-Based Offline Indoor Location Competition at IPIN 2016: Analysis and Future Work. Sensors 2017, 17, 557. [Google Scholar] [CrossRef] [PubMed]
  13. Patwari, N.; Ash, J.; Kyperountas, S.; Hero, A.; Moses, R.; Correal, N. Locating the nodes: Cooperative localization in wireless sensor networks. IEEE Signal Process. Mag. 2005, 22, 54–69. [Google Scholar] [CrossRef]
  14. Li, X. Collaborative localization with received-signal strength in wireless sensor networks. IEEE Trans. Veh. Technol. 2007, 56, 3807–3817. [Google Scholar]
  15. Ouyang, R.W.; Wong, A.K.S.; Lea, C.T. Received signal strength-based wireless localization via semidefinite programming: Noncooperative and cooperative schemes. IEEE Trans. Veh. Technol. 2010, 59, 1307–1318. [Google Scholar] [CrossRef]
  16. Ji, X.; Zha, H. Sensor positioning in wireless ad-hoc sensor networks using multidimensional scaling. In Proceedings of the 23rd Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM), Hong Kong, China, 7–11 March 2004; Volume 4, pp. 2652–2661. [Google Scholar]
  17. Ristic, B.; Arulampalam, S.; Gordon, N. Beyond the Kalman Filter: Particle Filters for Tracking Applications; Artech House: London, UK, 2004. [Google Scholar]
  18. Fetzer, T.; Ebner, F.; Deinzer, F.; Köping, L.; Grzegorzek, M. On Monte Carlo smoothing in multi sensor indoor localisation. In Proceedings of the IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016; pp. 1–8. [Google Scholar]
  19. Knauth, S.; Koukofikis, A. Smartphone positioning in large environments by sensor data fusion, particle filter and FCWC. In Proceedings of the IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016; pp. 1–5. [Google Scholar]
  20. Win, M.Z.; Conti, A.; Mazuelas, S.; Shen, Y.; Gifford, W.M.; Dardari, D.; Chiani, M. Network localization and navigation via cooperation. IEEE Commun. Mag. 2011, 49, 56–62. [Google Scholar] [CrossRef]
  21. Olsson, F.; Rantakokko, J.; Nygards, J. Cooperative localization using a foot-mounted inertial navigation system and ultrawideband ranging. In Proceedings of the IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Busan, Korea, 27–30 October 2014; pp. 122–131. [Google Scholar]
  22. Sathyan, T.; Hedley, M. Fast and accurate cooperative tracking in wireless networks. IEEE Trans. Mob. Comput. 2013, 12, 1801–1813. [Google Scholar] [CrossRef]
  23. Wymeersch, H.; Lien, J.; Win, M. Cooperative Localization in Wireless Networks. Proc. IEEE 2009, 97, 427–450. [Google Scholar] [CrossRef]
  24. Seco, F.; Jiménez, A.R.; Zheng, X. RFID-based centralized cooperative localization. In Proceedings of the IEEE International Conference on Indoor Positioning and Indoor Navigation (IPIN), Alcala de Henares, Spain, 4–7 October 2016; pp. 1–7. [Google Scholar]
  25. Thrun, S.; Burgard, W.; Fox, D. Probabilistic Robotics; MIT Press: Cambridge, MA, USA, 2005. [Google Scholar]
  26. Gustafsson, F.; Gunnarsson, F.; Bergman, N.; Forssell, U.; Jansson, J.; Karlsson, R.; Nordlund, P.J. Particle Filters for Positioning, Navigation, and Tracking. IEEE Trans. Signal Process. 2002, 50, 425–437. [Google Scholar] [CrossRef]
  27. Brunato, M.; Battiti, R. Statistical learning theory for location fingerprinting in wireless LANs. Comput. Netw. 2005, 47, 825–845. [Google Scholar] [CrossRef]
  28. Zhou, B.; Li, Q.; Mao, Q.; Tu, W. A Robust Crowdsourcing-Based Indoor Localization System. Sensors 2017, 17, 864. [Google Scholar] [CrossRef] [PubMed]
  29. Seco, F.; Plagemann, C.; Jiménez, A.; Burgard, W. Improving RFID-based indoor positioning accuracy using Gaussian processes. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation (IPIN), Zurich, Switzerland, 15–17 September 2010; pp. 1–8. [Google Scholar]
  30. Seidel, S.Y.; Rappaport, T.S. 914 MHz Path Loss prediction models for indoor wireless communications in multifloored buildings. IEEE Trans. Antennas Propag. 1992, 40, 207–217. [Google Scholar] [CrossRef]
  31. Jiménez, A.R.; Seco, F.; Prieto, C.; Guevara, J. A comparison of Pedestrian Dead-Reckoning algorithms using a low-cost MEMS IMU. In Proceedings of the IEEE International Symposium on Intelligent Signal Processing (WISP), Budapest, Hungary, 26–28 August 2009; pp. 37–42. [Google Scholar]
  32. Li, T.; Sun, S.; Sattar, T.P.; Corchado, J.M. Fight sample degeneracy and impoverishment in particle filters: A review of intelligent approaches. Expert Syst. Appl. 2014, 41, 3944–3954. [Google Scholar] [CrossRef]
  33. Borenstein, J.; Ojeda, L. Heuristic drift elimination for personnel tracking systems. J. Navig. 2010, 63, 591–606. [Google Scholar] [CrossRef]
  34. Cormen, T.H. Introduction to Algorithms, 3rd ed.; MIT Press: Cambridge, MA, USA, 2009. [Google Scholar]
  35. Zampella, F.; Jiménez, A.R.; Seco, F. Indoor positioning using efficient map matching, RSS measurements, and an improved motion model. IEEE Trans. Veh. Technol. 2015, 64, 1304–1317. [Google Scholar] [CrossRef]
  36. Nievergelt, J.; Preparata, F.P. Plane-sweep algorithms for intersecting geometric figures. Commun. ACM 1982, 25, 739–747. [Google Scholar] [CrossRef]
  37. Seco, F.; Jiménez, A.; Zampella, F. Joint Estimation of Indoor Position and Orientation from RF Signal Strength Measurements. In Proceedings of the International Conference on Indoor Positioning and Indoor Navigation (IPIN), Montbeliard-Belfort, France, 28–31 October 2013; pp. 1–8. [Google Scholar]
  38. Weinberg, H. Using the ADXL202 in pedometer and personal navigation applications. In Analog Devices AN-602 Application Note; Analog Devices: Norwood, MA, USA, 2002; Volume 2, pp. 1–6. [Google Scholar]
  39. Renaudin, V.; Susi, M.; Lachapelle, G. Step length estimation using handheld inertial sensors. Sensors 2012, 12, 8507–8525. [Google Scholar] [CrossRef] [PubMed]
  40. Jiménez, A.R.; Seco, F.; Prieto, J.C.; Rosas, J.G. Accurate Pedestrian Indoor Navigation by Tightly Coupling Foot-Mounted IMU and RFID Measurements. IEEE Trans. Instrum. Meas. 2012, 61, 178–189. [Google Scholar] [CrossRef] [Green Version]
  41. Caruso, M.J. Applications of magnetic sensors for low cost compass systems. In Proceedings of the IEEE Position Location and Navigation Symposium, San Diego, CA, USA, 13–16 March 2000; pp. 177–184. [Google Scholar]
  42. Moder, T.; Reitbauer, C.; Dorn, M.; Wieser, M. Calibration of Smartphone Sensor Data Usable for Pedestrian Dead Reckoning. In Proceedings of the 2011 International Conference on Indoor Positioning and Indoor Navigation (IPIN), Sapporo, Japan, 18–21 September 2017; pp. 1–8. [Google Scholar]
  43. Konvalin, C. Compensating For Tilt, Hard-Iron and Soft-Iron Effects. Available online: https://www.sensorsmag.com/components/compensating-for-tilt-hard-iron-and-soft-iron-effects (accesssed on 11 October 2017).
  44. Gebre-Egziabher, D.; Elkaim, G.H.; David Powell, J.; Parkinson, B.W. Calibration of strapdown magnetometers in magnetic field domain. J. Aerosp. Eng. 2006, 19, 87–102. [Google Scholar] [CrossRef]
  45. Chitte, S.D.; Dasgupta, S.; Ding, Z. Distance Estimation From Received Signal Strength Under Log-Normal Shadowing: Bias and Variance. IEEE Signal Process. Lett. 2009, 16, 216–218. [Google Scholar] [CrossRef]
Sample Availability: The raw data files used for this work are freely available from the authors.
Figure 1. Block diagram of the different processing elements of the particle filter applied to indoor cooperative localization.
Figure 1. Block diagram of the different processing elements of the particle filter applied to indoor cooperative localization.
Sensors 18 00266 g001
Figure 2. Naming convention for the RSS measurements received by the users from the anchor beacons (green), and exchanged between users (red), as explained in Section 2.3.
Figure 2. Naming convention for the RSS measurements received by the users from the anchor beacons (green), and exchanged between users (red), as explained in Section 2.3.
Sensors 18 00266 g002
Figure 3. (a) When PDR information is available, particles are displaced from their previous location ( x t 1 ), using the computed step length ( l PDR ) and heading ( θ PDR ) (Equation (11)); (b) when no PDR information is available, they are dispersed uniformly in a circle of radius R max (Equation (12)).
Figure 3. (a) When PDR information is available, particles are displaced from their previous location ( x t 1 ), using the computed step length ( l PDR ) and heading ( θ PDR ) (Equation (11)); (b) when no PDR information is available, they are dispersed uniformly in a circle of radius R max (Equation (12)).
Sensors 18 00266 g003
Figure 4. Explanation of the clustering algorithm, which generates several location hypotheses from the particle cloud. Cluster 1 (blue circles) corresponds to the particles within a range from the particle with largest weight. Particles in green color (crosses), which are too far away from the largest particle, and particles in red color (squares), which are separated from the particle with largest weight by a wall, belong to different clusters.
Figure 4. Explanation of the clustering algorithm, which generates several location hypotheses from the particle cloud. Cluster 1 (blue circles) corresponds to the particles within a range from the particle with largest weight. Particles in green color (crosses), which are too far away from the largest particle, and particles in red color (squares), which are separated from the particle with largest weight by a wall, belong to different clusters.
Sensors 18 00266 g004
Figure 5. Experimental device used in this work. Each user (right) carries a smartphone, an RFID reader and an active RFID tag. The app running on the smartphone uses the signals from the embedded inertial motion unit (IMU) to compute step length and heading estimates, as well as recording RSS values from the RFID reader through a Bluetooth link. This data is transmitted in real time through a TCP connection to the central processing unit (left). The computer processes the information from all users with the Bayesian method detailed in Section 2.1 and produces joint estimates of the user trajectories.
Figure 5. Experimental device used in this work. Each user (right) carries a smartphone, an RFID reader and an active RFID tag. The app running on the smartphone uses the signals from the embedded inertial motion unit (IMU) to compute step length and heading estimates, as well as recording RSS values from the RFID reader through a Bluetooth link. This data is transmitted in real time through a TCP connection to the central processing unit (left). The computer processes the information from all users with the Bayesian method detailed in Section 2.1 and produces joint estimates of the user trajectories.
Sensors 18 00266 g005
Figure 6. Connectivity diagram showing the active RF links between anchors and users (green lines, dashed), and between users themselves (red lines, full) at four instants of time.
Figure 6. Connectivity diagram showing the active RF links between anchors and users (green lines, dashed), and between users themselves (red lines, full) at four instants of time.
Sensors 18 00266 g006
Figure 7. Models obtained during calibration of the range dependence of (a) detection probability; and (b) RSS values, for RFID anchor nodes and RFID tags carried by users (mean: solid lines with circle and asterisk markers; standard deviation: dashed lines).
Figure 7. Models obtained during calibration of the range dependence of (a) detection probability; and (b) RSS values, for RFID anchor nodes and RFID tags carried by users (mean: solid lines with circle and asterisk markers; standard deviation: dashed lines).
Sensors 18 00266 g007aSensors 18 00266 g007b
Figure 8. Correction of hard- and soft-iron effects: (a) the original projected ( B x h , B y h ) values for one user’s complete trajectory; (b) magnetic field ( B x h , B y h ) after compensation; (c) effect on PDR trajectory estimation.
Figure 8. Correction of hard- and soft-iron effects: (a) the original projected ( B x h , B y h ) values for one user’s complete trajectory; (b) magnetic field ( B x h , B y h ) after compensation; (c) effect on PDR trajectory estimation.
Sensors 18 00266 g008
Figure 9. Positioning results obtained for the 4 users using only the RSS information from RFID tags: the black trace corresponds to the groundtruth, the blue dashed trace, to the individually estimated trajectories, and the blue continuous trace to the cooperatively estimated trajectories. Numbered circles correspond to anchor tags.
Figure 9. Positioning results obtained for the 4 users using only the RSS information from RFID tags: the black trace corresponds to the groundtruth, the blue dashed trace, to the individually estimated trajectories, and the blue continuous trace to the cooperatively estimated trajectories. Numbered circles correspond to anchor tags.
Sensors 18 00266 g009
Figure 10. Positioning results obtained for the 4 users combining RSS information from the RFID tags with PDR from the phone: the black trace corresponds to the groundtruth, the green dashed trace, to the individually estimated trajectories, and the green continuous trace to the cooperatively estimated trajectories. Numbered circles correspond to anchor tags.
Figure 10. Positioning results obtained for the 4 users combining RSS information from the RFID tags with PDR from the phone: the black trace corresponds to the groundtruth, the green dashed trace, to the individually estimated trajectories, and the green continuous trace to the cooperatively estimated trajectories. Numbered circles correspond to anchor tags.
Sensors 18 00266 g010
Figure 11. Positioning results obtained for the 4 users combining RSS information from the RFID tags with PDR from the phone and map matching: the black trace corresponds to the groundtruth, the magenta dashed trace, to the individually estimated trajectories, and the magenta continuous trace to the cooperatively estimated trajectories. Numbered circles correspond to anchor tags.
Figure 11. Positioning results obtained for the 4 users combining RSS information from the RFID tags with PDR from the phone and map matching: the black trace corresponds to the groundtruth, the magenta dashed trace, to the individually estimated trajectories, and the magenta continuous trace to the cooperatively estimated trajectories. Numbered circles correspond to anchor tags.
Sensors 18 00266 g011
Figure 12. Comparison of the cumulative distribution function (CDF) of the positioning error obtained with three versions of the particle filter: estimates based only on RSS measurements, RSS with PDR, and RSS with PDR and map. In each case, the cooperative techniques (solid curves) have higher precision than individual estimation methods (dashed curves); however, this improvement is smaller as additional information is provided to the filter.
Figure 12. Comparison of the cumulative distribution function (CDF) of the positioning error obtained with three versions of the particle filter: estimates based only on RSS measurements, RSS with PDR, and RSS with PDR and map. In each case, the cooperative techniques (solid curves) have higher precision than individual estimation methods (dashed curves); however, this improvement is smaller as additional information is provided to the filter.
Sensors 18 00266 g012
Table 1. Comparison of median (50%) and 90% positioning errors obtained with individual and cooperative localization using a particle filter (trajectories of Figure 9, Figure 10 and Figure 11). Columns 1 and 2 correspond to the results previously found in [24].
Table 1. Comparison of median (50%) and 90% positioning errors obtained with individual and cooperative localization using a particle filter (trajectories of Figure 9, Figure 10 and Figure 11). Columns 1 and 2 correspond to the results previously found in [24].
LocalizationRSSRSS+PDRRSS+PDRRSS+PDR+Map
Method(Uncorr. Compass)(Corr. Compass)
Error50%90%50%90%50%90%50%90%
Individual6.1 m12.5 m4.0 m8.6 m3.1 m5.1 m1.8 m4.4 m
Cooperative4.9 m9.7 m3.5 m7.1 m2.6 m5.2 m1.6 m4.0 m

Share and Cite

MDPI and ACS Style

Seco, F.; Jiménez, A.R. Smartphone-Based Cooperative Indoor Localization with RFID Technology. Sensors 2018, 18, 266. https://doi.org/10.3390/s18010266

AMA Style

Seco F, Jiménez AR. Smartphone-Based Cooperative Indoor Localization with RFID Technology. Sensors. 2018; 18(1):266. https://doi.org/10.3390/s18010266

Chicago/Turabian Style

Seco, Fernando, and Antonio R. Jiménez. 2018. "Smartphone-Based Cooperative Indoor Localization with RFID Technology" Sensors 18, no. 1: 266. https://doi.org/10.3390/s18010266

APA Style

Seco, F., & Jiménez, A. R. (2018). Smartphone-Based Cooperative Indoor Localization with RFID Technology. Sensors, 18(1), 266. https://doi.org/10.3390/s18010266

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