Nisarg Kothari Carnegie Mellon University

36
Nisarg Kothari Carnegie Mellon University April 26, 2011 Sponsored by

Transcript of Nisarg Kothari Carnegie Mellon University

Page 1: Nisarg Kothari Carnegie Mellon University

Nisarg Kothari

Carnegie Mellon University

April 26, 2011Sponsored by

Page 2: Nisarg Kothari Carnegie Mellon University

Why indoor localization?

Navigating malls, airports, office buildings

Museum tours, context aware apps

Augmented reality and games

Why cell phones?

Off the shelf hardware is more capable and cheaper

Vast array of sensors

Low barrier to entry

2

Motivation

Page 3: Nisarg Kothari Carnegie Mellon University

Scenarios

3

Capability System Requirements

1. Tell a lost person where he or she is. Automatic initialization

2. Guide a person to within sight of a target.Room-level, ~10 meter

accuracy

Page 4: Nisarg Kothari Carnegie Mellon University

Localization Techniques

Dead Reckoning – Integrate measurements of motion

Common in robotics via gyroscopes and wheel odometry

Shoes, helmets, and wearable modules for human use

[Stirling et al. 2003, Beauregard 2006, Randell 2003]

Beacon-based – Use standard indicators from the environment

Wifi, GPS, GSM, ultrasonic, RFID

Signal strength fingerprinting, time difference of arrival,

angle of arrival

4

Page 5: Nisarg Kothari Carnegie Mellon University

Cell-Phone Localization

“Dead Reckoning from the Pocket” [Steinhoff, Schiele 2010]

“Advanced Integration of WiFi and Inertial Navigation

Systems for Indoor Mobile Positioning” [Evennou, Marx 2006]

Contributions

Incorporation of magnetometer sensor for global orientation

Variance threshold method for detecting movement

Faster, higher density, and more accurate signal strength database

using a robot to collect data

Implementation on cell phone rather than custom platform

5

Page 6: Nisarg Kothari Carnegie Mellon University

Platform

6

Current:

Google Nexus S

Prior:

Nexus One

Prior:

G1

SensorQuantity

Sensed

Accelerometer gravity +

linear acceleration

Magnetometer/

Compass

magnetic field

vector

Gyroscope

(Nexus S only)angular rate

access point signal

strengths

Page 7: Nisarg Kothari Carnegie Mellon University

System Architecture

7

Dead Reckoning

Heading Distance

Signal Strength Fingerprinting

Environment Map

Particle Filter

Database Runtime

30Hz

1Hz

static

Page 8: Nisarg Kothari Carnegie Mellon University

Dead Reckoning - Heading

Accelerometer + Magnetometer

Gyroscope

Externally referenced - bounded error

Magnetic interference very common indoors

Low noise and high accuracy

Error growth is unbounded over time

Not susceptible to interference

8

Page 9: Nisarg Kothari Carnegie Mellon University

Dead Reckoning - Heading

9

Sufficient

time since

last update?

Accelerometer +

Magnetometer

Heading

Magnetic

field

strength

check

Magnetic

inclination

checkReported

Heading

Gyroscope

angular rate

Yes

Yes

Re-initialize

Page 10: Nisarg Kothari Carnegie Mellon University

System Architecture

10

Dead Reckoning

Heading Distance

Signal Strength Fingerprinting

Environment Map

Particle Filter

Database Runtime

30Hz

1Hz

static

Page 11: Nisarg Kothari Carnegie Mellon University

Dead Reckoning – Step Counting

Peak detection filter [Randell, Djiallis, Muller 2003]

11

Acceleration

Detect peaks

Each pair of peaks

corresponds to a step.

Page 12: Nisarg Kothari Carnegie Mellon University

Dead Reckoning – Variance Threshold

Calculate running standard deviation for last N

measurements or T secondsStd dev = 18 Std dev = 12

12

WalkingStopped

Movement State

<THRESHOLD?Std. Dev. = 18Std. Dev. = 12

Page 13: Nisarg Kothari Carnegie Mellon University

System Architecture

13

Dead Reckoning

Heading Distance

Signal Strength Fingerprinting

Environment Map

Particle Filter

Database Runtime

30Hz

1Hz

static

Page 14: Nisarg Kothari Carnegie Mellon University

Signal Strength - Overview

14

signal strength map

signal strength reading

estimated location

access point 1

access point 2access point 3

Page 15: Nisarg Kothari Carnegie Mellon University

Signal Strength - Database

15

Laser Rangefinder for

map data

Phone for capturing

Wifi data

Laptop on cart for

status monitoring

Page 16: Nisarg Kothari Carnegie Mellon University

Signal Strength - Database

16

Gates 6th

Floor

33 meters

51 meters

1 meter

Legend

free space

obstacle

data point

Page 17: Nisarg Kothari Carnegie Mellon University

System Architecture

17

Dead Reckoning

Heading Distance

Signal Strength Fingerprinting

Environment Map

Particle Filter

Database Runtime

Page 18: Nisarg Kothari Carnegie Mellon University

Signal Strength - RuntimeMeasured Reading: Readings from Database

AP1: 60 dBm

AP2: 0 dBm

AP3: 90 dBm

AP1: 45 dBm

AP2: 37 dBm

AP3: 34 dBm

AP1: 41 dBm

AP2: 33 dBm

AP3: 77 dBm

In practice, the distance is calculated as a weighted

average of the nearby calibration points to reduce noise.

18

Signal Strength Database

signal space distance

Dist = 43

Dist = 52

Dist = 18Most similar

AP1: 53 dBm

AP2: 42 dBm

AP3: 85 dBm

signal space distance

signal space distance

AP = Wifi Access Point

Page 19: Nisarg Kothari Carnegie Mellon University

System Architecture

19

Dead Reckoning

Heading Distance

Signal Strength Fingerprinting

Environment Map

Particle Filter

Database Runtime

Page 20: Nisarg Kothari Carnegie Mellon University

Particle Filter

Integrate sources of knowledge in a

principled, Bayesian framework

Dead reckoning for short term updates

Signal strength algorithm to correct for drift

Enforce map constraints

20

Page 21: Nisarg Kothari Carnegie Mellon University

Particle Filter Algorithm

Start with some initial distribution of states

(particles).

1. Replace each particle with a sample from the

distribution of its predicted positions

2. If there are new observations, update the

probability of each particle using Bayes' rule

3. Re-arrange the samples to be concentrated in

the most important areas

Update

Step

Importance

Estimation

Resampling

Initial Distribution: Uniformly random over entire

environment

30Hz - Use dead reckoning model to update

particles.

Remove particles that intersect walls.

1Hz - When a Wifi reading is received, update

particle weights.

1Hz - Draw, with replacement, a new set of N

particles from the old set where the chance of

drawing a particle is proportional to its weight.

21

Page 22: Nisarg Kothari Carnegie Mellon University

Update Step

22

Replace each particle with a single new

particle drawn from this distribution.

Page 23: Nisarg Kothari Carnegie Mellon University

Importance Estimation

23

Before importance

estimation step

After importance

estimation step

importance

estimation

1. Remove particles in walls

2. Re-weight particles based on signal strength readings

wall wall

Page 24: Nisarg Kothari Carnegie Mellon University

Resampling

Draw, with replacement, a new set of particles

where the chance of drawing a particle is

proportional to its weight.

24

Before resampling step After resampling step

resample

wall wall

Page 25: Nisarg Kothari Carnegie Mellon University

Experimental Design

2 indoor environments (Gates 6th floor

and NSH 2nd floor)

A pre-selected closed loop for each

environment

5 participants, 3 runs / participant

Ground truth estimated using the known

path and a constant speed assumption

25

Page 26: Nisarg Kothari Carnegie Mellon University

Results – Dead Reckoning Only

26

NSH 2nd

Floor

Total Distance:

113 meters

Page 27: Nisarg Kothari Carnegie Mellon University

Results – Dead Reckoning Only

27

Page 28: Nisarg Kothari Carnegie Mellon University

Results– Dead Reckoning and Wifi

28

Gates 6th

FloorTotal Distance:

72 meters

Page 29: Nisarg Kothari Carnegie Mellon University

Results– Dead Reckoning and Wifi

29

Gates 6th

Floor

Page 30: Nisarg Kothari Carnegie Mellon University

Results – Data

Mean Error of Most

Probable Location*

Additional Features

Newell-

Simon 2nd

Floor

Gates 6th

Floor

Automatically

initializes

position

Error

bounded over

time

Dead

Reckoning

only

7m 6m No No

Wifi only 12m 10m Yes (<5 sec) Yes

Dead

Reckoning

with Wifi

7m 7m Yes (<5 sec) Yes

30

*Determined by finding the point with the most particles within a 1m radius

*First 5 seconds excluded to give the filter time to converge

Page 31: Nisarg Kothari Carnegie Mellon University

Scenarios

31

Capability System Requirements

1. Tell a lost person where he

or she is

Automatic initialization

2. Guide a person to within

sight of a target

Room-level, ~10 meter

accuracy

Page 32: Nisarg Kothari Carnegie Mellon University

Conclusion

Useful indoor localization is possible on

a cell phone.

Achieving reliability requires multiple,

redundant sensors.

32

Page 33: Nisarg Kothari Carnegie Mellon University

Future Work

Incorporate other sensors

Camera [Se, Lowe, Little 2001]

RFID / Near-field Communication

GSM [Otsason et al. 2005]

Extended Kalman Filter for heading estimation

Test over longer periods and multiple floors

Build complete applications using localization

capability

33

Page 34: Nisarg Kothari Carnegie Mellon University

Acknowledgements

Bernardine Dias

Advisor

Balajee Kannan

MentorSponsor

34

Other rCommerce Members:

Victor Marmol, Freddie Dias, Ayorkor Korsah, Brad

Neuman, Hatem Alismail, Hend Gedawy

Page 35: Nisarg Kothari Carnegie Mellon University

Thank you.

Questions?

35

Page 36: Nisarg Kothari Carnegie Mellon University

References

Ross Stirling, Jussi Collin, Ken Fyfe, and Gérard Lachapelle. “An Innovative

Shoe-Mounted Pedestrian Navigation System” Proc. European Navigation

Conf. GNSS, 2003, pp. 22-25.

S. Beauregard, “A helmet-mounted pedestrian dead reckoning system,”

Proceedings of the 3rd International Forum on Applied Wearable Computing

(IFAWC 2006), Citeseer, 2006, p. 15–16.

Randell, C., Djiallis, C., & Muller, H. (n.d.). Personal position measurement

using dead reckoning. Seventh IEEE International Symposium on Wearable

Computers, 2003. Proceedings., 166-173.

U. Steinhoff and B. Schiele, “Dead reckoning from the pocket - An

experimental study,” 2010 IEEE International Conference on Pervasive

Computing and Communications (PerCom), Mar. 2010, pp. 162-170.

F. Evennou and F. Marx, “Advanced Integration of WiFi and Inertial

Navigation Systems for Indoor Mobile Positioning,” EURASIP Journal on

Advances in Signal Processing, vol. 2006, 2006, pp. 1-12.

V. Otsason, A. Varshavsky, A. LaMarca, and E. De Lara, “Accurate gsm

indoor localization,” Ubiquitous Computing, 2005, p. 141–158.

36