Professional Documents
Culture Documents
Lec 5-6 Localization
Lec 5-6 Localization
Localization Techniques
Lecture 3
Shan Lin
What is Localization
GPS block II
weigh ~1900 lbs.
Signal is picked up by
T + 3 the receiver at time “T +
3”
Distance between satellite
and receiver = “3 times the
speed of light”
Pseudo Random Code
Time
Difference
Satellite PRN
Receiver PRN
Signal From One Satellite
The receiver
is somewhere
on this
sphere.
Signals From Two Satellites
Three Satellites (2D Positioning)
Three Dimensional (3D) Positioning
Sources of GPS Error
Standard Positioning Service (SPS ): Civilian Users
Source Amount of Error
Satellite clocks: 1.5 to 3.6 meters
Orbital errors: < 1 meter
Ionosphere: 5.0 to 7.0 meters
Troposphere: 0.5 to 0.7 meters
Receiver noise: 0.3 to 1.5 meters
Multipath: 0.6 to 1.2 meters
Selective Availability (see notes)
User clock error: Up to a kilometer Errors
are cumulative and increased by PDOP.
Receiver Errors are Cumulative!
User error = +- 1
km
Sources of Signal Interference
Earth’s Atmosphere
Solid
Structures
Metal Electro-magnetic
Fields
Four Basic Functions of GPS
coordinates.
It can be created for any remote point on earth.
It must have a receiver designated code or number,
= Waypoint
Start
How A Receiver Sees Your Route
GPS Waypoint Circle of Error
X
Real Time Differential GPS
x+5, y-
3
x+30,
y+60
x-5,
y+3
Yellow areas show overlap between NDGPS stations. Green areas are little to
no coverage. Topography may also limit some areas of coverage depicted here.
Variety of Applications
Two applications:
Non-cooperative
System emits signal, deduces target location
from distortions in signal returns
e.g. radar and reflective sonar systems
Cooperative Target
Target emits a signal with known
characteristics; system deduces location by
detecting signal
e.g. ORL Active Bat, GALORE Panel, AHLoS
Cooperative Infrastructure
Elements of infrastructure emit signals;
target deduces location from detection of
signals
e.g. GPS, MIT Cricket
Passive Mechanisms
Target
Synchronization channel
Ranging channel
Passive Target Localization
Signals normally emitted by the target are
detected (e.g. birdcall)
Several nodes detect candidate events and
cooperate to localize it by cross-correlation
Passive Self-Localization
A single node estimates distance to a set
of beacons (e.g. 802.11 bases in RADAR
[Bahl et al.], Ricochet in Bulusu et al.)
Blind Localization
Passive localization without a priori
knowledge of target characteristics ?
Acoustic “blind beamforming” (Yao et al.)
Active vs. Passive
Disadvantages of RF techniques
Measuring TOF requires fast clocks to achieve high
precision
Building accurate, deterministic transponders is very
difficult
Temperature-dependence problems in timing of path from
receiver to transmitter
Systems based on relative phase offsets (e.g. GPS)
require very tight synchronization between transmitters
RSSI…? Don’t Bother
RSSI
component with huge amplitude
(30-60dB) – very bad indoors
Mobile nodes might average out
fading.. But static nodes can be stuck
in a deep fade forever
Possible applications
Crude localization of mobile nodes Distance
“Database” techniques (RADAR)
Using Acoustics for Ranging
Radio Radio
CPU CPU
Speaker Microphone
Typical Angle-of-Arrival AR
System
Radio Radio
CPU CPU
Microphone
Speaker Microphone
Microphone
Microphone
Array
Is GPS the solution?
E.g., SkyHook:
Basic
Basic Idea:
Idea:
1.
1. Several
Several trucks
trucks war-drive
war-drive aa place
place
2.
2. Create
Create Radio
Radio map
map == <Location:
<Location: WiFi
WiFi IDs>
IDs>
3.
3. Distribute
Distribute map
map to
to phones
phones
4.
4. Phone
Phone user
user goes
goes to
to war-driven
war-driven region,
region, overhears
overhears WiFi
WiFi IDs
IDs
5.
5. Reverse
Reverse Look
Look Up
Up IDs
IDs against
against radio
radio map
map
6.
6. Obtains
Obtains location
location
Is Skyhook the solution?
Middle Ground
Lower Accuracy than GPS, Longer Battery
lifetime
Better Accuracy than GSM, Shorter Battery
lifetime
but …
Skyhook
Better than
GPS Eng. Eff.
SkyHook
CompAcc
Evaluation
Conclusion
Goals
No War-Driving
Cannot drive walking paths (campus, parks,
…)
Expensive / Environment unfriendly
Improve energy-efficiency
Better than Skyhook, GPS
CompAcc: Basic Idea
Direction(compass) + Displacement(accelerometer) = User’s
directional trail
Directional Trail
CompAcc: Basic Idea
Direction(compass) + Displacement(accelerometer) = User’s
directional trail
…
u re
Si gnat
Pat h
Directional Trail
…
u re
Si gnat
Pat h
al Trail
ection
…
Dir
gn ature
Si
Path
Correct location errors at
turns
al Trail
ection
…
Dir
gn ature
Si
Path
Directional Trail
…
ture
h Sig n a
Pat
Advantages
No war-driving
No reliance on WiFi infrastructure
Maps available ubiquitously
Tile
1. Initial location GPS: Database
(lat X, long Y)
Tile
3. Obtain paths in the
user vicinity 6. Current location
(lat A, long B)
5. Displacement
CompAcc
(Accelerometer)
Directional trail: displacement
Accelerometer based step count
displacement = step_count * step_size
Directional trail: direction
Directional trail: direction
Matching Directional Trail with Path
Signatures
Directional Trail
Path Signature
Dissimilarity Metric:
ci = compass readings
pi = path computed direction
N = directional trail size
Contents
CompAcc
Evaluation
Conclusion
Results
Metrics
Instantaneous Error = distance(estimated, real)
Average Localization Error (ALE) = Average Instantaneous Error
CompAcc Instantaneous Error
CompAcc Instantaneous Error
Results
Results
Results
Average ALE
GPS: 10m
CompAcc: 11m
WiFi-War-Walk: 30m
Skyhook: 70m
Energy
GPS: 10h
CompAcc: 23h
WiFi-War-Walk:16h
Skyhook:16h
Location-Based Applications (LBAs)
For Example:
GeoLife shows grocery list when near Walmart
MicroBlog queries users at a museum
Location-based ad: Phone gets coupon at
Starbucks
Starbucks, RadioShack,
Museum, Library
Physical Vs Logical
GPS
GSM based
SkyHook
Google Latitude
RADAR
Cricket
…
Given this rich literature,
Physical Location
Error
Starbucks Pizza Hut
Physical Location
Error
Wall
Should Ambiences be Unique Worldwide?
J
H I P
A Q
K CB D
E L
Q
R N M
O F
G
GSM provides
Should macro
Ambiences locationWorldwide?
be Unique (strip mall)
SurroundSense refines to Starbucks
J
H I P
A Q
K CB D
E L
Q
R N M
O F
G
Why does it work?
The Intuition:
Economics forces nearby businesses to be diverse
Sound
Test
Color/Light Fingerprint
+
Acc.
=
WiFi
Logical
Fingerprint
GSM Macro Location
Database
Location
Candidate Fingerprints
Fingerprints Acoustic fingerprint
(amplitude distribution)
Sound:
0.14
(via phone
Normalized Count
0.12
0.1
microphone) 0.08
0.06
0.04
0.02
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
0
Color:
Amplitude Values
camera)
Lightness 1
0.5
00
1
0.8
0.5 0.6
0.4
0.2
Hue 1 0 Saturation
Fingerprints
Movement: (via phone accelerometer)
Moving
Static
Fingerprints
Movement: (via phone accelerometer)
Moving
Static
Queuing Seated
Fingerprints
Movement: (via phone accelerometer)
Moving
Static
Moving
Static
Moving
Static
Fingerprint Database
War-sensing
Evaluation Methodology
51 business locations
46 in Durham, NC
5 in India
Cluster 1 2 3 4 5 6 7 8 9 10
No. of Shops 4 7 3 7 4 5 5 6 5 5
Cluster
Evaluation: Per-Cluster Accuracy
Cluster 1 2 3 4 5 6 7 8 9 10
No. of Shops 4 7 3 7 4 5 5 6 5 5
Cluster
Evaluation: Per-Cluster Accuracy
Cluster 1 2 3 4 5 6 7 8 9 10
No. of Shops 4 7 3 7 4 5 5 6 5 5
Sparse WiFi
Localization accuracy APs
per cluster
Accuracy (%)
Cluster
Evaluation: Per-Cluster Accuracy
Cluster 1 2 3 4 5 6 7 8 9 10
No. of Shops 4 7 3 7 4 5 5 6 5 5
No WiFi APs
Cluster
Evaluation: Per-Scheme Accuracy
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 10 20 30 40 50 60 70 80 90 100
Average Accuracy (%)
Limitations and Future Work
Energy-Efficiency
Continuous sensing likely to have a large energy
draw
Limitations and Future Work
Energy-Efficiency
Continuous sensing likely to have a large energy
draw
Energy-Efficiency
Continuous sensing likely to have a large energy
draw
Non-business locations
Ambiences may be less diverse
Conclusion
Ambience can be a great clue about location
Ambient Sound, light, color, movement …