51
WiFi localization Milan Pandurov

WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

WiFi localization

Milan Pandurov

Page 2: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Outline

• Indoor localization

• WiFi localization

• WiFi basics

• Localization approaches

• Prevention of localization

Page 3: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Indoor positioning systems (IPS)

• Non radio technologies

– Magnetic

– Dead reckoning

– Known visual features (markers)

• Radio technologies

– Bluetooth

– Wi-Fi based positioning

Page 4: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

WiFi localization

• Different techniques

– RSSI based

– Fingerprinting based

– Angle of arrival based

– Time of flight based

Page 5: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Basic Wi-Fi concepts

• WiFi channels

• MAC

• Channel estimation

• Multipath propagation

• MIMO

Page 6: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Angle of arrival based localization (AoA)

• One approach to localize users

• Developed system: Ubicarse

“Accurate Indoor Localization With Zero Start-up Cost”

Swarun Kumar, Stephanie Gil, Dina Katabi, Daniela Rus

Page 7: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Angle of arrival – how does it work

Page 8: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Synthetic aperture

• Emulate antenna array

• Technique used in synthetic aperture radar (SAR)

Page 9: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Circular SAR (1/2)

• Start with idea of emulation of circular antenna array

R

Page 10: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Circular SAR (2/2)

• Channel model for kth snapshot of antenna:

• Relative power along direction α

α

Page 11: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Ubicarse - solution

• Translation resilient SAR

• Create accurate indoor positioning system

– MIMO capabilities of modern devices

– Information of device’s orientation

Page 12: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Translation-resilient SAR

Measurements at antennas

Relative channel

Page 13: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Translation-resilient SAR

• Use same SAR formula for relative channel power:

Page 14: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Accurate device localization

• Localization proces:

1. App asks user to twist device

2. Issues beacon requests to neighbor access points to estimate channels from them

3. Perform SAR to generate multipath power profiles

4. …

5. Show precise location

Page 15: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Calculate location

Page 16: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Object geotagging

• Localize devices with no radio devices attached

• Using camera & stereo vision algorithms

Page 17: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

How does Ubicarse perform

• Translation resilience

• Device localization

Page 18: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Different approach

• What if we don’t want to:

– Have absolute position, but just absolute distance

– Have many access points

– Have to rotate device

• Different use cases:

– Smart home occupancy

– Geo-fencing

Page 19: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Time of flight

• Time it takes for signal to propagate from transmitter to receiver

• Absolute time of flight

• High precision required

Page 20: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Calculate absolute ToF

• Emulating ultra wideband radio with WiFi

• Developed system: Chronos

“Decimeter-Level Localization with a Single WiFi Access Point”

Deepak Vasisht, Swarun Kumar, Dina Katabi

Page 21: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

WiFi channel

• Can WiFi channels be combined to emulate ultra wideband radio?

Page 22: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Chronos

• Indoor positioning system

• Calculates absolute distance by measuring ToF

• Sends data over different WiFi channels to emulate wide band radio

– Different frequencies have different properties

Page 23: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Measuring time of flight

1. 2.

3.

• For a single channel

Page 24: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Measuring time of flight

• Modulo measurements @2.4GHz

– ToF = modulo 1/f (0.4ns) – {0.1ns, 0.5ns, 0.9ns,…}

– Distance = modulo 12cm – {3cm, 15cm, 27cm,…}

• For a range of channels we get system of equations

Page 25: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Measuring time of flight

• Chinese remainder theorem

• Problem to solve

Page 26: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Multipath

• Generate multipath profile

• Choose shortest path – first peak

Page 27: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Computing multipath profiles

• Signals reach receiver over p different paths

• Discrete Fourier transform?

Page 28: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Phase offset

• Two phase offsets are created:

– PLL Phase offset

– Carrier frequency offset

• Recorder state information on transmitter

• Recorder state information on receiver

Page 29: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Fixing phase offset

• Multiplying CSI at receiver and sender to recover wireless channel:

• Use that channel to calculate propagation time

Page 30: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

How does Chronos perform

• Test environment for measurement correctness

Page 31: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Measurement correctness

Time of flight results Multipath profile results

Page 32: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Location accuracy

Location accuracy Ranging accuracy

Page 33: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Real use case performance

Room occupancy WiFi Geo-fencing

94% correct 97% correct

Page 34: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Privacy concerns

• Can we use WiFi signal as covert channel?

• WiFi signals travel through walls

• Curious neighbor, or burglar?

Page 36: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Solution?

Page 37: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Less radical solution?

Page 38: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Usable solution?

• Privacy leakage lays in physical not in logical (data) layer

• Just distort physical layer (obfuscate)

• Developed solution: PhyCloak

“PhyCloak: Obfuscating Sensing from Communication Signals”

Yue Qiao, Ouyang Zhang, Wenjie Zhou, Kannan Srinivasan, Anish Arora

Page 39: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

What is sensitive data?

• Reflected signal from obstacles

• 3 degrees of freedom (3DoF)

– Amplitude gain

– Delay

– Doppler shift

Page 40: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

How to hide sensitive data

• Obfuscator needs to change 3DoF of reflected signal

• Build obfuscator to create another multipath signal

• Create signal in a way to cancel sensitive data out

Ox

S(t)

S(t)

r(t)

or(t)

Page 41: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

System goals

• Obfuscate Eve’s sensing • Preserve Carol’s sensing • Don’t degrade throughput in link Alice – Bob • Online self-channel estimation

Bob

Alice

Eve

Page 42: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Obfuscating 3DoF

• Amplitude gain – Amplify received samples with different levels

• Doppler shift – Rotate nth sample by

• Delay – Delay to be forwarded signals – Done by rotating samples by fixed phase

Page 43: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

PhyCloak design

• High level block diagram

Page 44: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Self channel estimation - problem

• Human movement near Ox causes strong residual noise

Page 45: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Hiding Doppler shift

• By carefully choosing time to change phase Doppler shift can be hidden

Page 46: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Results of obfuscation

• Signal to Obfuscation Ratio (dB)

• Hiding human motion

Page 47: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Results of obfuscation

• Test scenarios:

Page 48: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Obfuscation performance

• 3 Dof correlation vs SOR

Page 49: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Obfuscation performance

• WiSee gesture detection accuracy

– Recognizes gestures: drag, push, dodge…

Page 50: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

Obfuscation performance

• WiSee NLOS/LOS performance

Page 51: WiFi localization - DISCO · WiFi localization •Different techniques –RSSI based –Fingerprinting based –Angle of arrival based –Time of flight based

QUESTIONS? Wi-Fi localization