9/6/05 Jie Gao, CSE590-fall05 1
Localization in Sensor Networks Localization in Sensor Networks
Jie Gao
Computer Science Department Stony Brook University
Some slides are made by Savvides
Localization in Sensor Networks Localization in Sensor Networks Jie - - PowerPoint PPT Presentation
Localization in Sensor Networks Localization in Sensor Networks Jie Gao Computer Science Department Stony Brook University 9/6/05 Jie Gao, CSE590-fall05 1 Some slides are made by Savvides Find where the sensor is Find where the sensor
9/6/05 Jie Gao, CSE590-fall05 1
Jie Gao
Computer Science Department Stony Brook University
Some slides are made by Savvides
9/6/05 Jie Gao, CSE590-fall05 2
1. Devices need to know where they are.
2. We want to know where the data is about.
3. It helps infrastructure establishment, such as geographical routing and sensor coverage.
9/6/05 Jie Gao, CSE590-fall05 3
– A $1 sensor attached with a $100 GPS?
Localization:
know their locations.
– Distances between two sensors, angles between two neighbors, etc.
9/6/05 Jie Gao, CSE590-fall05 4
modeled by unit disk graphs.
– Two nodes have a link if and only if their distance is within 1.
deduct the locations.
9/6/05 Jie Gao, CSE590-fall05 5
– Global location, e.g., what GPS gives. – Relative location.
– Connectivity, hop count.
– Distance measurement of an incoming link. – Angle measurement of an incoming link. – Combinations of the above.
9/6/05 Jie Gao, CSE590-fall05 6
Distance estimation:
– The further away, the weaker the received signal. – Mainly used for RF signals.
– Signal propagation time translates to distance. – RF, acoustic, infrared and ultrasound.
Angle estimation:
– Determining the direction of propagation of a radio-frequency wave incident on an antenna array.
9/6/05 Jie Gao, CSE590-fall05 7
the sensors.
– Some nodes know their locations, either by a GPS or as pre- specified.
– Relative location only. – A harder problem, need to solve the global structure. Nowhere to start.
– Use range information (distance estimation).
– No distance estimation, use connectivity information such as hop count.
9/6/05 Jie Gao, CSE590-fall05 8
9/6/05 Jie Gao, CSE590-fall05 9
distances/angles to three anchors.
– Global Positioning System (GPS)
– Cell phone systems.
measurements?
(inaccurate) measurements?
9/6/05 Jie Gao, CSE590-fall05 10
– Estimate range to landmarks using hop count or distance summaries
– Count hops between landmarks – Find average distance per hop – Use multi-lateration to compute location
9/6/05 Jie Gao, CSE590-fall05 11
– E.g. radio range is at most 1.
9/6/05 Jie Gao, CSE590-fall05 12
geometric space that preserves the pair-wise distances as much as possible.
– It works also for non-metric data.
in m-dimensional space.
as the best 2D approximations.
9/6/05 Jie Gao, CSE590-fall05 13
(fingerprints): [(x, y), SS].
– E.g., the mean Signal Strength to N landmarks.
fingerprints probabilistically or by using a distance metric.
– How to build the map?
samples?
– Sampling rate? – Changes in the scene (people moving around in a building) affect the signal strengths.
[-80,-67,-50] RSS (x?,y?)
[(x,y),s1,s2,s3] [(x,y),s1,s2,s3] [(x,y),s1,s2,s3]
9/6/05 Jie Gao, CSE590-fall05 14
– Captures any set of observations and priors
– Computationally expensive – Accuracy
9/6/05 Jie Gao, CSE590-fall05 15
Dynamic fine-grained localization in ad-hoc networks of
The n-hop multilateration primitive for node localization problems, Mobile Networks and Applications, Volume 8, Issue 4, 443-451, 2003.
Relaxation on a Mesh: a Formalism for Generalized Localization, IEEE/RSJ Internaltionsl Conference on Intelligent Robots and Systems, October, 2001.
9/6/05 Jie Gao, CSE590-fall05 16
9/6/05 Jie Gao, CSE590-fall05 17
signal
base stations
Base Station 1 Base Station 3 Base Station 2 u
9/6/05 Jie Gao, CSE590-fall05 18
9/6/05 Jie Gao, CSE590-fall05 19
beacon i is
2
i
2
i i i i
i i y
0 y
i
9/6/05 Jie Gao, CSE590-fall05 20
to get rid of quadratic terms.
2 2
i i i i
2 2 2 2 2
i i i i i
2 2 2 2 2 2
k i k i i k i i k k
9/6/05 Jie Gao, CSE590-fall05 21
system
2 2 2 2 2 2 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 k k k k k k k k k k k k
r r x y x y r r x y x y b r r x y x y
− − −
− − + +
− − + +
− − + +
1 2 2 1 1
2( ) 2( ) 2( ) 2( ) 2( ) 2( )
k k k k k k k k
x x y y x x y y A x x y y
− −
− −
−
−
x = b
9/6/05 Jie Gao, CSE590-fall05 22
1
T T
−
9/6/05 Jie Gao, CSE590-fall05 23
– Beacon nodes must not lie on the same line
9/6/05 Jie Gao, CSE590-fall05 24
With at least 4 beacons, This can be linearized to the form where
2 2
) ( ) ( y y x x st f
i i i i
− + − − =
+ − − + + − − + + − − =
− − 2 2 2 1 2 1 2 2 2 2 2 2 2 2 2 1 2 1 k k k k k k k k
y x y x y x y x y x y x b
− − − − − − − − =
− − − 2 ) 1 ( 2 1 1 2 20 2 2 2 2 10 2 1 1
) ( 2 ) ( 2 ) ( 2 ) ( 2 ) ( 2 ) ( 2
k k k k k k k k k k k k
t t y y x x t t y y x x t t y y x x A
2
s y x x
1 2 3 4
1,2 i k =
1
T T
−
Time measurement Speed of sound
9/6/05 Jie Gao, CSE590-fall05 25
Beacon Unkown Location Randomly Deployed Sensor Network
Beacon nodes
multihop network
distance measurements
9/6/05 Jie Gao, CSE590-fall05 26
– a node with at least 3 neighboring beacons estimates its position and becomes a beacon. – Iterate until all nodes with 3 beacons are localized.
9/6/05 Jie Gao, CSE590-fall05 27
d n-d-1
1
1 ( ) (1 )
d n d
n P d p p d
− −
−
⋅ − ⋅
2
R p L π =
Probability that one node falls inside the transmission range of x? Transmission range has radius R Binomial distribution x
9/6/05 Jie Gao, CSE590-fall05 28
converges to a Poisson distribution.
d N-d-1
( ) !
d
P d e d
λ
λ
−
= ⋅
2 2
R p L π =
Probability that one node falls inside the transmission range of x? Transmission range has radius R Binomial distribution
n p λ = ⋅
Poisson distribution x
9/6/05 Jie Gao, CSE590-fall05 29
( ) !
d
P d e d
λ
λ
−
= ⋅
1 1
( ) 1 ( )
n i
P d P i
− =
≥ = −
100 by 100 field Sensor range:10 Probability of a node with 0, 1, 2, ≥ ≥ ≥ ≥ 3 neighbors. With 200 nodes, P(≥ ≥ ≥ ≥ 3) is about 95%.
9/6/05 Jie Gao, CSE590-fall05 30
With 200 nodes, P(≥ ≥ ≥ ≥ 3) is about 95%. With 200 nodes, we need about 50~60 beacons to localize about 90% of the
the total number of nodes.
9/6/05 Jie Gao, CSE590-fall05 31
1. Requires a large fraction of beacons. 2. Error accumulates. 3. It gets stuck --- not all nodes with 3 or more neighbors can be resolved.
9/6/05 Jie Gao, CSE590-fall05 32
1. Requires a large fraction of beacons. 2. Error accumulates.
3. It gets stuck --- not all nodes with 3 or more neighbors can be located. Collaborative multilateration
9/6/05 Jie Gao, CSE590-fall05 33
9/6/05 Jie Gao, CSE590-fall05 34
– All available measurements are used as constraints – Solve for the positions of multiple unknowns simultaneously – Joint optimization can get better results compared with separate optimizations.
9/6/05 Jie Gao, CSE590-fall05 35
2 2 2,3 2,3 2 2 2 2 3,5 3,5 5 5 2 2 4,3 4,3 2 2 4,5 4,5 5 5 2 2 4, 3 1 4 3 3 3 4 3 4 3 4 4 4 4 ,1 1 1
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) x y x y x x y f r x y f r x y f r f r x y y x y x y f r x y = − − + − = − − + − = − − + − = − − + − = − − + −
2 3 3 4 4 ,
i j
Start from some initial estimates, then use a Kalman Filter.
1 2 3 4 5 6
9/6/05 Jie Gao, CSE590-fall05 36
as bounds on the x and y coordinates a a a
beacon U
9/6/05 Jie Gao, CSE590-fall05 37
as bounds on the x and y coordinates
that are multiple hops away
bounds a b c b+c b+c
X Y U U is between [Y-(b+c)] and [X+a]
9/6/05 Jie Gao, CSE590-fall05 38
as bounds on the x and y coordinates
are multiple hops away
bounds
bounding box as the initial estimate a a a b c b+c b+c
X Y U
9/6/05 Jie Gao, CSE590-fall05 39
rough location information.
refine.
– Start with prior info. – Incorporate new measurement info. – Improve the current state. – Details omitted.
9/6/05 Jie Gao, CSE590-fall05 40
2 3 4 5 2 1 3 4 5 1 2 3 4 5
9/6/05 Jie Gao, CSE590-fall05 41
From SensorSim
simulation 40 nodes, 4 beacons IEEE 802.11 MAC 10Kbps radio Average 6 neighbors per node
9/6/05 Jie Gao, CSE590-fall05 42
– Error accumulates. – May get stuck when the density is low.
– Still requires a large number of beacon nodes, especially when the network is sparse. – Kalman filter computation is expensive on large networks.
9/6/05 Jie Gao, CSE590-fall05 43
Improve the accumulated localization error by a global iterative algorithm ---
9/6/05 Jie Gao, CSE590-fall05 44
9/6/05 Jie Gao, CSE590-fall05 45
j pi pj dij Fij i
9/6/05 Jie Gao, CSE590-fall05 46
to Fi).
pi pj dij Fij Fi
9/6/05 Jie Gao, CSE590-fall05 47
enough.
pi pj dij Fij Fi
9/6/05 Jie Gao, CSE590-fall05 48
estimation, e.g., the iterative multi-lateration.
9/6/05 Jie Gao, CSE590-fall05 49
For noisy measurements, we use optimization methods… Yet optimization does not solve ---
9/6/05 Jie Gao, CSE590-fall05 50
9/6/05 Jie Gao, CSE590-fall05 51
9/6/05 Jie Gao, CSE590-fall05 52
9/6/05 Jie Gao, CSE590-fall05 53
9/6/05 Jie Gao, CSE590-fall05 54
Next class
Given a system of rigid bars and hinges in 2D, does it have a continuous deformation? Multiple realizations?
9/6/05 Jie Gao, CSE590-fall05 55
9/6/05 Jie Gao, CSE590-fall05 56
Fromherz, Localization from Mere Connectivity, MobiHoc'03.
Maness,Yang Richard Yang, Anthony Young, Andreas Savvides. Network localization in partially localizable networks, INFOCOM'05.
Demaine, Seth Teller, Mobile-Assisted Localization in Wireless Sensor Networks, INFOCOM'05.