Sei sulla pagina 1di 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/224504639

A Novel Approach to Indoor RSSI Localization by Automatic Calibration of the


Wireless Propagation Model

Conference Paper · May 2009


DOI: 10.1109/VETECS.2009.5073315 · Source: IEEE Xplore

CITATIONS READS

79 718

4 authors:

Paolo Barsocchi Stefano Lenzi


Italian National Research Council Italian National Research Council
97 PUBLICATIONS   833 CITATIONS    15 PUBLICATIONS   275 CITATIONS   

SEE PROFILE SEE PROFILE

Stefano Chessa Gaetano Giunta


Università di Pisa Università Degli Studi Roma Tre
179 PUBLICATIONS   2,921 CITATIONS    177 PUBLICATIONS   1,004 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

RUBICON - Robotics UBIquitous COgnitive Network View project

IPIN2016 View project

All content following this page was uploaded by Stefano Chessa on 01 June 2014.

The user has requested enhancement of the downloaded file.


A Novel Approach to Indoor RSSI Localization
by Automatic Calibration of the Wireless
Propagation Model
Paolo Barsocchi, Stefano Lenzi, Stefano Chessa, Member, IEEE, Gaetano Giunta, Member, IEEE.

Abstract— We propose a novel localization algorithm of mobile requirements (such as AAL). On the other hand, range-based
sensors based on wireless sensor networks providing RSSI localization can provide the adequate precision because it
measurements between the mobile and the fixed sensors exploits measurements of physical quantities related to signals
(anchors) in the network. The algorithm selects and weights the travelling between the mobile sensors and anchors. Radio
RSSI measurements according to their strength, and it uses a signal measurements are typically the Received Signal
propagation model to transform RSSI measurements into
Strength Indicator (RSSI), the angle of arrival (AOA), the time
distances, in order to estimate the position of the mobile. The
algorithm also uses a virtual calibration method of the of arrival (TOA), and the time difference of arrival (TDOA).
propagation model that does not require human intervention. By Recently, localization based on a combination of AOA and
an experimental setup we show that the localization algorithm TDOA techniques have been proposed, that guarantee a high-
increases the performance with respect to the commonly used accuracy location but it requires a specific and complex
least mean square algorithm showing also how to achieve a hardware. Since typical AAL applications are deeply involved
wished accuracy increasing the anchor density. with users monitoring and may suffer from complex and too
invasive hardware, using specific localization hardware based
I. INTRODUCTION & RELATED WORK on AOA and TOA may result impractical. For this reason we
Localization of devices and people has been recognized as one opt for RSSI-based localization that does not require any
of the main building block of context aware systems [1], [2], special or a sophisticated hardware, and it is available in most
[3], [4], which have their main application field in Ambient of the standard wireless devices. Moreover RSSI-based
Assisted Living (AAL) applications. In these scenarios, the localization does not have a significant impact on local power
general solution based on Global Positioning System (GPS) is consumption, sensor size and cost, and for this reason it has
unfortunately not available since it works only in outdoor received considerable interest in the recent literature [5], [6],
environments. On the other hand a viable solution to indoor [7].
localization exploits wireless sensor networks [16]. Sensor The authors in [5] suggest that algorithms estimating distances
network-based solutions can estimate the (unknown) location between two wireless devices based on their reciprocal RSSI
of mobile sensors (placed on the users) with respect to a set of are unable to capture the myriad of effects on signal
fixed sensor (called anchors), whose position is known, by propagation in an indoor environment. Nevertheless, the
using two different approaches, either range-based or range- authors in [6] have shown that despite the reputation of RSSI
free. The former is defined by protocols that use absolute as a coarse method to estimate range, it can achieve an
point-to-point distance estimates for calculating location. The accuracy of about 2-3 meters root mean square in a testbed
latter makes no assumption about the availability or validity of experiment. Fading outliers can still impair the RSSI relative
such information. location system, implying the need for a robust estimator. A
The effectiveness of these two localization approaches method to improve the quality of localization exploiting a
depends on the behaviour and the requirements of the number of RSSI measurements averaged in a time window to
applications using location information, and on the desired counteract interference and fading has been proposed in [7].
error granularity. Acknowledging that the range-free solutions The main RSSI-based localization approaches are based on
have a coarse accuracy, these techniques are unsuitable in fingerprint and on signal propagation modelling. In both cases
applications where the location precision is one of the main a mobile sensor is localized by means of fixed sensors (called
anchors) whose position is known in advance and that
This work was supported in part by part by the European Commission in the exchange with the mobile sensors beacon packets in order to
framework of the FP6 projects PERSONA (contract N. 045459) and collect sequences of RSSIs. The fingerprint schemes also
INTERMEDIA (contract N.38419). referred to as pattern matching, exploits the RSSI at the
Paolo Barsocchi is with the ISTI-CNR, Pisa Research Area, Via G.Moruzzi 1, mobile sensors as a function of the mobile position during an
56124 Pisa, Italy (e-mail: paolo.barsocchi@isti.cnr.it).
Stefano Lenzi is with the ISTI-CNR, Pisa Research Area, Via G.Moruzzi 1, off-line phase. Each mobile position is then identified by a set
56124 Pisa, Italy (e-mail: stefano.lenzi@isti.cnr.it) of RSSIs. During the on-line phase the mobile location
Stefano Chessa is with the ISTI-CNR, Pisa Research Area, Via G.Moruzzi 1, estimation is performed by matching the actual signature of
56124 Pisa, Italy (e-mail: stefano.chessa@isti.cnr.it) and with Computer the RSSI with the entries stored in a database available at the
Science Department, University of Pisa, Largo B. Pontecorvo 3, 56127 Pisa,
Italy (e-mail: ste@di.unipi.it). anchors. The database entries are usually collected on a grid of
Gaetano Giunta is with the Department of Applied Electronics, University of possible mobile positions within the area of interest, wherein
Roma Tre, via della Vasca Navale 84, Roma, Italy (e-mail: giunta@ieee.org).

978-1-4244-2517-4/09/$20.00 ©2009 IEEE


the grid spacing must be always chosen as a trade-off between actually used. The virtual calibration procedure achieves this
performance and time required to fix the mobile location. The goal without human intervention, by exploiting only
main drawback of this method is the extensive and accurate information obtained from the anchors. In particular, the
measurements, during the off-line phase, required to create the anchors preliminary exchange beacons to compute reciprocal
database. The creation of the database however is not RSSI and the localization server uses this information to
automatic: it is a human-based, time-consuming operation and configure the parameters of the theoretical propagation model.
this is a practical barrier to its wider adoption. The large-scale path loss model considered in this paper is a
The signal propagation modelling technique consists in further generalization of the one-slope model that consists in
exploiting a large-scale path loss model that accounts both adding an attenuation term due to losses introduced by walls
free-space and loss due to obstructions; this model is then used and floors penetrated by the direct path:
to estimate the RSSI for each mobile position. In indoor L(d ) = l 0 + 10α log10 (d) + WAF + FAF (1)
db
environments the path loss model can also take into account
where FAF is the floor attenuation factor and WAF is the wall
parameters such as the wall attenuation factor (WAF) and
attenuation factor expressed as:
floor attenuation factor (FAF) to model the effect of walls and
N
floors on the radio waves. Unfortunately, in particular in WAF = ∑ k i l i (2)
indoor environments, RSSI is environment dependent since i =1
the radio frequency signal suffers from reflection, diffraction where ki is the number of penetrated walls of type i, and li is
and multipath effects that make the signal strength rather the attenuation due to the wall of type i. For the sake of
noisy. To overcome these problems wireless location systems simplicity we assume that the localization system works in one
perform a preliminary calibration of the propagation model. floor, hence the attenuation term in Equation (1) due to the
The calibration works in two phases: the training phase and propagation among different floors was disregarded.
the estimation phase. In the training phase RSSI is measured at The parameters of the propagation model (1) are: l0 (the path
a grid of points in the area of interest, and in the estimation loss at distance of 1 meter), α (the air attenuation factor), and li
phase this information is used to estimate the propagation for each i∈[1,N]. Since l0 should be estimated in a free space it
model parameters. Clearly, the accuracy of the calibration is not affected by the environment, but it depends on physical
procedure depends on the number of points in the grid and on properties of the devices hardware and it can be estimated a
the number of measures taken per point. It is also clear that priori, thus it is not object of virtual calibration.
also this calibration (as it happens for the fingerprinting To calibrate parameters α and li the virtual calibration exploits
technique) requires human intervention and is time expensive. two heuristics: the global virtual calibration (G-procedure)
Unlike [12] where the localization algorithm was based on and the per-wall virtual calibration (W-procedure). The G-
standard Least Mean Square (LMS) algorithm, in this paper procedure assigns the same parameters for every wall, based
we propose a novel localization algorithm that selects and on all RSSI measurements obtained from any pair of anchors.
weights the RSSI measurements according to their strength, Instead, the W-procedure provides an attenuation factor for the
and it uses an automatic training that only exploits information walls that directly affect the communication between specific
from the anchors, without requiring human operators. pairs of anchors, and it uses G-procedure for all the other
walls. To the purpose of comparison we also have used
II. LOCALIZATION ALGORITHM another heuristic (called H-procedure) that estimate the
We assume a localization model comprising a set of anchors A propagation model parameters by using the RSSI
= {a1, a2, …, an}, a mobile M and a localization server. The measurements on a grid of points in the environment, as it is
anchors have well known position on the map, identified by done with fingerprinting. Hereafter we use the following
the pair (xi, yi). Our localization system consists of two phases: notation:
the training phase and the localization phase. In the training ƒ C = {(ai, aj)∈A : ai and aj can communicate directly}
phase each anchor broadcasts a beacon containing its ƒ Ri = {aj1, aj2,…, ajn} is the set containing the ids of all
identifier. These beacons are used to measure the reciprocal anchors in the same room, hence ∀(a, b) ∈ Ri : a≠b the
RSSIs among the anchors that, in turn, are used by the communication between a and b is “wall-free”;
localization server to calibrate the propagation model ƒ Wn is the set of all pairs (ai,aj) such that the communication
parameters. In the localization phase each anchor periodically channel between ai and aj crosses exactly n wall(s);
emits a beacon packet containing its identifier. The mobile
node, which needs to be localized by the system, receives the A. Global virtual calibration
beacons from the anchors, computes the corresponding RSSI, The G-procedure considers a single virtual type of wall. This
and sends to the localization server the pair <RSSI, anchor leads (1) to:
id>. The localization server accumulates all the pairs and L(d) db = l 0 + 10α log10 (d ) + kl w (3)
using the proposed localization algorithm estimates the mobile where k identifies the number of wall crossed by the signal
position. and lw is the attenuation introduced by the wall on the signal.
During the virtual calibration phase we can estimate all the
III. TRAINING PHASE required parameters (l0, α, lw).
In this section we describe the training phase based on virtual Substituting d(i,j) as actual distance between anchors ai and aj,
calibration proposed in [12], whose objective is to adapt the and k(i,j) as the number of wall crossed by the direct path
theoretical propagation model to the environment where it is
between anchors ai and aj in (3), we obtain an estimation mi are given by:
RSSI′(i,j) of the actual RSSI:
⎛ n n ⎞
( )
RSSI (′i, j ) = l 0 − 10α log10 d(i, j ) + k(i, j )l w
(4)
⎜ ∑ mi X i ∑ miYi



( )
∀i, j : a i ,a j ∈ C ( X G , YG ) = ⎜ i =1n , i =n1 ⎟ (6)
⎜ ⎟
⎜ ∑ i ∑ mi
The estimated RSSI′(i,j) differs from the measured RSSI(i,j) by m

an error component ε(i,j). We assume that all ε(i,j) are identically ⎝ i =1 i =1 ⎠
distributed and uncorrelated among themselves. Recalling that which, for equal masses mi simplifies to:
l0 is estimated a priori, the approximation of the remaining
⎛ n n ⎞
parameters (α,lw) that minimizes the least mean square error ⎜ ∑ X i ∑ Yi ⎟
║RSSI − RSSI′║2 can be achieved by direct method. The ⎜ i =1 ⎟
( X G , YG ) = ⎜ , i =1 ⎟ (7)
computation cost for direct method solving a linear least mean
square estimator problem is polynomial [14]. ⎜ n n ⎟
⎜ ⎟
⎝ ⎠
B. Per-wall virtual calibration
An example of how the localization algorithm works is shown
With this technique we estimate an individual attenuation in Figure 1, where a sensor node M is within the
factor for each wall between any pair of anchors belonging to communication range of four anchors. The three anchors a1,
C. Let us assume there are q different types of wall in the map a2, and a3 with a greater RSSI are selected and the six
of the building and let F = {f1, f2… fq} the set of attenuation intersection points I1,…, I6 (n = 6) are evaluated. The mobile
factors for each type of wall. Thus the Equation (4) building position M is then estimated by using the Equation (7).
the linear system becomes:
q V. EXPERIMENTAL RESULTS
( )
RSSI (′i , j ) = l0 − 10α log10 d(i, j ) + ∑ kh (i, j ) f h
(5) In this section we present the performance obtained using our
h =1
∀i, j : (ai , a j ) ∈ C
localization algorithm combined with the automatic virtual

where kh(i,j) is the wall number of type h crossed by the signal


considering the direct path between anchors ai and aj in (3).
The path loss exponent α used in this equation is previously I1
evaluated with the G-procedure. The evaluation of parameters
fi∈F is achieved with the same methodology used in a1 I5
I4 a2
Subsection A, by means of the least mean square estimator.
M
IV. THE LOCALIZATION ALGORITHM
a3
The training phase is followed by the localization phase, I3 I6
where the localization server accumulates all the pairs of
<RSSI, anchor_id> received from the mobile and it computes a4
I2
the position of the mobile by estimating the distance of the
mobile from each anchor based on the received RSSIs and
exploiting the propagation model calibrated as described in the Fig. 1. Intersection points measured from the mobile node.
previous section.
Among all the received RSSI measurements the localization calibration procedure of the propagation model. In the next
server selects only those measures coming from the three subsections we present the setup of our experiment, the
anchors with the greatest RSSI (without loss of generality let performance comparison among different type of virtual
a1, a2, and a3 be such anchors). This because the anchors that calibration and the performance of the proposed localization
have a smaller RSSI are farther from the mobile, thus the algorithm.
RSSI values they produce are noisier and their use increase the
localization error. This effect was also confirmed during the A. Experimental setup
experimental setup. We performed the experiments in our laboratory. It is a typical
Using the RSSI obtained from a1, a2, and a3 the localization office environment with an area of approximately 7m by 11m.
server estimates the distance of the mobile from these three It has desks, chairs, cabinets, computers, monitors, etc. This
anchors. Using these distances as a radius of a circle, the environment is harsh for wireless communication due to
localization server estimates the intersection points between multi-path reflections from walls and the possibility of
them (Figure 1). Summarizing we use a trilateration method interference from electronic devices. Figure 2 shows the
by using the three anchors with higher RSSI in order to layout of the laboratory and the deployment of the anchors in
decrease the bias introduced by the other anchors. The main the rooms.
idea of the localization algorithm is to treat the intersection For the experiments we used a wireless sensor network
points, estimated at (Xi, Yi), as point masses mi and to find the composed of 7 MicaZ [15] equipped with the Chipcom
center of gravity (centroid) of all these masses. In the most CC2420 radio subsystem implementing the IEEE 802.15.4
general form, the coordinates of the centroid of n point masses
φW = stdclb (RSSI )− slfclbW (RSSI ) (9)
2
Where stdclb is the function computing the distance based on
the propagation model calibrated with the H-procedure, slfclbG
provides the distance by means of the propagation model
calibrated with G-procedure and slfclbW provides the distance
by means of the propagation model calibrated with W-
procedure.
With Global virtual calibration (G-procedure) the estimated
parameters are α = 1.45 and l1 = l2 = lw = −8.96dB.
With W-procedure the estimated parameters are α= 1.45,
l1=−8.33dB, and l2=−7.3dB. The main difficulty for this
calibration method is due to the different number of samples
used to estimate the single wall attenuation. In our case we
Fig. 2. Map of the building used for the experiments. have 5 anchors to estimate the first wall and other 3 anchors
for the second wall. Therefore, in order to resolve the
Equation (5) with the least mean square estimator, we weigh
standard. The experiments consist in a set of measures
the WAF parameters with a number directly proportional to
between a pair of anchors or between an anchor and 12 points
the number of established links between pairs of anchors and
of the grid (in the case of H-procedure). Each measure collects
inversely proportional to the number of anchors.
300 RSSIs, where every RSSI is averaged over a set of 100
Table II summarize the results obtained showing the
samples. Each sample is obtained exchanging a beacon packet
Cumulative Distribution Function (CDF) of φG and φW. This
between two sensors every 1/32 second, using the highest
table highlights that the W-procedure has a better performance
transmission power of the MicaZ.
than the G-procedure. Not surprisingly, the W-procedure
As mentioned in Section III the l0 parameter can be estimated
outperforms the G-procedure, due to the better accuracy in the
a priori as the path loss at a reference distance. To this
walls modelling. Figure 3 shows the CDF obtained by using
purpose we preliminary evaluated l0 measuring the RSSI
our localization algorithm (solid line) for each calibration
between two anchors deployed at 1 meters distance, obtaining
procedure. As depicted in this figure the G-procedure
l0 = −10.06.
performs like the commonly used H-procedure, in terms of
We also performed the H-procedure to obtain the reference
localization error and that the W-procedure is practically
parameters of the propagation model to be used for the
identical to H-procedure. This means that virtual calibration
comparison with G-procedure and W-procedure techniques.
procedure results in the same localization error as the
The parameters obtained with all the calibration methods are
expensive H-procedure.
shown in Table I.
C. Localization performance
B. Calibration performance
In this subsection we analyse the accuracy of our localization
In this section we present the results of the measurement
algorithm in the environment showed in Figure 2.
campaign aimed at comparing the performance of the three
Figure 3 shows the CDF obtained by using our localization
heuristics proposed in the previous section.
algorithm with the propagation model calibrated using the
We performed two phases of measurements. The first phase
virtual calibration method (solid line) compared with a
was aimed at performing the calibration of the propagation
commonly used LMS algorithm [12] [13] (dotted line). As
model using the three different procedures, namely: H-
depicted in this figure our localization algorithm outperforms
procedure, G-procedure, and W-procedure. The second phase
the LMS algorithm, despite the fact that the LMS algorithm
was aimed at measuring the RSSI on a grid of points in the
requires a time-consuming measurement campaigns for its
environment, and to compare the localization error of the
calibration.
procedures.
It worth to note the relationship between the anchor density
We use the H-procedure as the reference technique, and we
and the accuracy of the localizatio algorithm. In fact, Figure 4
evaluate the performance of the two virtual calibration
shows how the location error performs by changing the
techniques in terms of the following formula:
number of anchors.
φG = stdclb(RSSI )− slfclbG (RSSI ) (8)
2 As expected the error distance decreases with the increasing of

TABLE I TABLE II
PARAMETERS AND PERFORMANCE COMPARISON AMONG PROCEDURES CDF OF THE ERRORS

G-procedure W-procedure H-procedure Error [m] CDF of φG CDF of φW

α 1.45 1.45 1.46 0.25 0.604 0.896


l1 -8.96 -8.33 -8.21 0.5 0.732 0.919
l2 -8.96 -7.30 -6.40 1 0.868 0.973
1.5 0.901 0.984
CDF CDF
1 1
G−procedure
0.9 W−procedure 0.9
H−procedure
0.8 G−procudure(LMS) 0.8
W & H−procedure(LMS)
0.7 0.7

0.6 0.6

0.5 0.5

0.4 0.4

0.3 0.3

0.2 0.2 2
0.092 [anchor/m ]
2
0.1 0.1 0.091 [anchor/m ]
2
0.078 [anchor/m ]
0 0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 0 1 2 3 4 5 6
Localization error [m] Localization error [m]
Fig. 3. CDF of the localization error. Fig. 4. CDF of the location error by changing the anchor density.
the density of the anchors (anchor per square meters). For [2] G.D. Abowd, C.G. Atkeson, J. Hong, S. Long, R. Kooper, and M.
example, if we want to achieve the 90th percentile location Pinkerton, Cyberguide: A mobile context-aware tour guide. Wireless
error within 2 meters we must deploy an anchor density Networks, 3(5): 421-433, 1997
greater than about 0.092, which in our experimental testbed [3] Y. Sumi, T. Etani, S. Fels, N. Simonet, K. Kobayashi, and K. Mase, C-
map: Building a context-aware mobile assis- tant for exhibition tours,
means 3 anchors per room. Community Computing and Support Systems, Social Interaction in
In conclusion we obtained a better results with respect the Networked Communities, 137-154, London, UK. Springer-Verlag, 1998.
RADAR [9], DALS [10] and the Bulusu [8] algorithms that [4] K. Cheverst, N. Davies, K. Mitchell, A. Friday, and C. Efstratiou,
obtains a 75th percentile location error under 5 m, the 87th Developing a context-aware electronic tourist guide: some issues and
experiences, SIGCHI conference on Human Factors in Computing
percentile location error of about 9 m, and the 90th percentile Systems, pp. 17-24, 2000.
location error within 3 m, respectively. Our localization [5] E. Elnahrawy, X. Li, and R. Martin, The limits of localization using
performance are similar to that of MoteTrack system [11] that signal strength: a comparative study, in First Annual IEEE
achieves a 50th percentile and 80th percentile location-tracking Communications Society Conference Sensor and Ad Hoc
Communications and Networks, 2004, pp. 406-414.
accuracy of 0.9 and 1.6 m respectively, but our algorithm does [6] N. Patwari, I. Hero, A.O., M. Perkins, N. Correal, and R. ODea, Relative
not require the expensive training phase of MoteTrack. location estimation in wireless sensor networks, IEEE Transactions on
Signal Processing, vol. 51, no. 8, pp. 2137-2148, 2003.
VI. CONCLUSIONS [7] P. Bergamo and G. Mazzini, Localization in sensor networks with fading
and mobility, in The 13th IEEE International Symposium on Personal,
We considered the problem of indoor localization based on Indoor and Mobile Radio Communications, vol. 2, 2002, pp. 750-754.
RSSI and standard IEEE 802.15.4 radio interfaces. In [8] Bulusu, N., Heidemann, J., and Estrin, D. GPS-less low cost outdoor
localization for very small devices. IEEE Personal Communications
particular we propose a novel localization algorithm based on Magazine 7, 5 (October 2000), 28–34.
sensor networks that identify the position of the mobile node [9] Bahl P, Padmanabhan VN (2000) RADAR: an in-building RF-based
as a function of the RSSI measurements obtained exchanging user location and tracking system. In: INFOCOM, pp 775–784
beacon packets between the mobile and the anchors. The [10] Christ T, Godwin P (1993) A prison guard duress alarm location system.
In: IEEE ICCSTI, Ottawa, Ont., Canada, 13-15 Oct 1993, 106-116
algorithm selects and weights the RSSI measurements [11] K. Lorincz and M. Welsh, “MoteTrack: a robust, decentralized approach
according to their strength, and it uses a propagation model to to RF-based location tracking,” Personal Ubiquitous Comput., vol. 11,
transform RSSI measurements into distances. The algorithm no. 6, pp. 489–503, 2007.
also uses a virtual calibration of the propagation model that [12] P. Barsoccchi, S. Lenzi, S. Chessa, G. Giunta, Virtual calibration for
RSSI-based indoor localization with IEEE 802.15.4. in IEEE ICC 2009,
does not require any human intervention. Dresden, Germany, June 14-18 2009.
We showed by an experimental setup that the performance of [13] Borrelli, A. et.al., “Channel models for IEEE 802.11b indoor system
the virtual calibration, in terms of accuracy of the estimated design”, IEEE International Conference on Communications, pp 3701-
distances, is close to that achievable with more expensive ad- 3705, 20-24 June 2004
[14] Ake Bjorck, “Solution of Equations in RN”, vol. 1, NorthHolland, 1990
hoc methods, and that the localization algorithm increases the [15] Crossbow Technology Inc., http://www.xbow.com.
performance with respect to the commonly used LMS [16] Paolo Baronti, Prashant Pillai, Vince Chook, Stefano Chessa, Alberto
algorithm showing also how to achieve a wished accuracy Gotta, and Y. Fun Hu, “Wireless Sensor Networks: a Survey on the State
increasing the anchor density. of the Art and the 802.15.4 and ZigBee Standards”, Computer
Communications, 30 (7): 1655–1695, 2007

REFERENCES
[1] R. Want et. Al., The Active Badge Location System. ACM Transactions
on Information Systems, 10(1):91-102, 1992

View publication stats

Potrebbero piacerti anche