CAESAR: Carrier Sense-Based Ranging in Off-The-Shelf 802.11 Wireless - - PowerPoint PPT Presentation

caesar carrier sense based ranging in
SMART_READER_LITE
LIVE PREVIEW

CAESAR: Carrier Sense-Based Ranging in Off-The-Shelf 802.11 Wireless - - PowerPoint PPT Presentation

CAESAR: Carrier Sense-Based Ranging in Off-The-Shelf 802.11 Wireless LAN Domenico Giustiniano and Stefan Mangold Disney Research Zurich, Switzerland Summary Wireless LAN is crucial in navigation systems Current solutions do not meet a


slide-1
SLIDE 1

CAESAR: Carrier Sense-Based Ranging in Off-The-Shelf 802.11 Wireless LAN

Domenico Giustiniano and Stefan Mangold Disney Research Zurich, Switzerland

slide-2
SLIDE 2
  • Wireless LAN is crucial in navigation systems
  • Current solutions do not meet a set of

conflicting requirements

  • We present CAESAR, a ranging technique that

– combines time of flight and signal-to-noise ratio measurements to calculate the distance to a remote WLAN device – can be employed in off-the-shelf devices – shows high accuracy – can track the distance to smartphones

2

Summary

slide-3
SLIDE 3

Outline

  • Scenario
  • Time of flight
  • Problems

– ACK detection time – Implementation in off-the-shelf devices

  • Evaluation
  • Conclusion

3

slide-4
SLIDE 4

WLAN localization

  • Advantages

– WLAN available in most of today’s mobile devices – no additional infrastructure cost

  • Problem

– WLAN position based on limited device capabilities

4

slide-5
SLIDE 5

Signal strength

  • 1. SNR fingerprint of the environment
  • cost of maintenance
  • 2. Signal strength-based ranging techniques

– SNR of frames from remote stations – distance = f(SNR)

  • Theoretical or empirical model

5

L-STA=Local Station R-STA=Remote Station d L-STA R-STA

slide-6
SLIDE 6

Signal strength

6

Why are they used? Only software changes in off-the-shelf WLAN devices!

slide-7
SLIDE 7

Outline

  • Scenario
  • Time of flight
  • Problems

– ACK detection time – Implementation in off-the-shelf devices

  • Evaluation
  • Conclusion

7

slide-8
SLIDE 8

TOF (time of flight) ranging

  • Calculate the time of propagation tp

– From the remote station to the local station – used in GPS

  • Linear function of the distance d=c·tp

– 1 µs=300 m – Apart of the multi-path propagation

  • No offline measurements for radio-mapping

8

slide-9
SLIDE 9

TOF in WLAN?

  • No reference 802.11 clock

– Echo techniques (round-trip-time)

  • Precision depends on the clock resolution

– clock as fast as possible

  • Workload independent estimation

– of local station and network traffic

  • Software-based solution

– cost-effective, like in SNR-based ranging techniques

9

What can we exploit from the 802.11 protocol?

slide-10
SLIDE 10

MAC Idle Time

  • 802.11 WLAN uses a CSMA/CA protocol

– Data/ACK pair

  • Channel is idle between the data and ACK
  • The idle time duration is

– predefined and expected to be constant

  • MAC SIFS time (tSIFS)

10

data ACK BUSY IDLE BUSY tSIFS

slide-11
SLIDE 11

Variation of MAC Idle Time

  • The idle time at the local station varies

– with the physical distance between the two stations – because of time delay of tp

11

slide-12
SLIDE 12

data ACK BUSY IDLE BUSY tSIFS data ACK BUSY IDLE BUSY tp tp L-STA R-STA tMACidle

12

CAESAR

  • Key idea

– exploit variation of idle time for ranging

  • Variation based on channel state transitions of

CSMA/CA CAESAR: CArriEr Sense-baSed Ranging

tMACidle=2tp + tSIFS d=c·(tMACidle-tSIFS)/2

slide-13
SLIDE 13

Solved?

Precise Time Measurement

– CAESAR uses carrier sense samples

  • with resolution of the main WLAN clock

– (44 MHz in 802.11b/g, at least 88 MHz in 802.11n)

  • 300/(2·44)=3.4 m of accuracy for the single sample

– Short duration: no clock drift

No protocol extensions

– CAESAR only needs information at the local station

  • E.g. tMACidle

– No need of any information from the remote station

  • tSIFS is constant

13

slide-14
SLIDE 14

Not really…

  • CAESAR is a MAC-based solution
  • tMACidle depends on MAC operations

– Delay caused by ACK detection time – Synchronization on the strongest path

  • no inherent support in WLAN hardware

– for calculating tMACidle

14

slide-15
SLIDE 15

Outline

  • Scenario
  • Time of flight
  • Problems

– ACK detection time – Implementation in off-the-shelf devices

  • Evaluation
  • Conclusion

15

slide-16
SLIDE 16

Problem: MAC Idle Time Distribution

  • Two links, fixed distance (< 15 m)
  • Multiple samples
  • tMACidle in the range of 500 - 530

– 11.3-12 µs @44 MHz > 10-10.1 µs expected !

16

Expected

slide-17
SLIDE 17

What causes this delay?

  • ACK detection time tFD

17

tMACidle=2tp + tSIFS+tFD d=c·(tMACidle-tSIFS-tFD)/2

data ACK BUSY IDLE BUSY tp tp L-STA tMACidle tFD

slide-18
SLIDE 18

More details

18

  • tMACidle distribution is bimodal

–  two spikes on the same link – ≈ 20 clock cycles – link A: 2nd spike at lower SNR – link B: 2nd spike at higher SNR

slide-19
SLIDE 19

Frame detection time

19

tFD = f(SNR) tMACidle is a function not only of the distance, but also of the SNR of the received ACK from the remote station tMACidle = f(TOF,SNR) tMACidle = 2tp + tSIFS+tFD

?

slide-20
SLIDE 20

Automatic gain control

  • When ACK is received, medium is declared busy:
  • 1. after the energy of ACK frame has been detected
  • 2. signal gain adjusted by the Automatic Gain Control
  • function of the SNR

20

slide-21
SLIDE 21

AGC and SNR

  • When the received signal is within a preferred range

– PR: no operation (gain control) by the AGC

  • For signals out of PR range

– SSD = strong signal detection – WSD = weak signal detection

  • SSD/WSD: AGC tunes the signal level to the desired

range

– delay in the ACK detection

21

slide-22
SLIDE 22

Using the detection time for ranging estimates

  • Multiple samples are then smoothed

22 Map of detection states Detection time per state

state s

SNR tFD,s ¯ tMACidle

tMACidle=2tp + tSIFS+tFD,s d=c·(tMACidle-tSIFS-tFD,s)/2

‒ ‒

slide-23
SLIDE 23

Map of detection states

  • Based on MAC idle time and SNR

– Frames are associated to states – each frame is classified in WSD, PR or SSD state

23

PR frames WSD frames SSD frames

slide-24
SLIDE 24

Map of detection states

  • Several tests, measurements of tMACidle and SNR
  • We distinguish 3 different regions/states

24

PR frames WSD frames SSD frames SNR (dB)

70 15 42 54 28

tMACidle

(clock cycles)

500 519 521

slide-25
SLIDE 25

Using the detection time for ranging

25 Map of detection states Detection time per state

state s

SNR tFD,s ¯ tMACidle

tMACidle=2tp + tSIFS+tFD,s d=c·(tMACidle-tSIFS-tFD,s)/2

‒ ‒

slide-26
SLIDE 26

Using the ACK detection time for ranging

  • the average detection time per state is used to

estimate the distance

  • PR frames: tFD is only due to preamble detection

– ~ 2 OFDM short symbols was measured

  • SSD and WSD frames: A longer tFD

– L-STA AGC varies the amplifier gain of the ACK signal – an additional delay of ~ 0.4 us was measured

26

tMACidle=2tp + tSIFS+tFD,s d=c·(tMACidle-tSIFS-tFD,s)/2

‒ ‒

slide-27
SLIDE 27

Outline

  • Scenario
  • Time of flight
  • Problems

– ACK detection time – Implementation in off-the-shelf devices

  • Evaluation
  • Conclusion

27

slide-28
SLIDE 28

Problem: Measuring the Idle Time

  • Channel state transitions

– Occur only twice between the data and the ACK

  • At the end of the data transmission
  • When the ACK is received

– We don’t need to continuously monitor the idle time

  • Measuring the channel in two instants of time:

1.when data transmission is ongoing 2.when ACK reception is ongoing

28

data ACK BUSY IDLE BUSY L-STA tMACidle

Measurement 1 Measurement 2

slide-29
SLIDE 29

Not trivial to implement

  • not trivial to implement

– tMACidle occurs in very short period of time (<12us) – the ACK duration is in the order of tens of secs

  • we require a fine-grained detection of the time
  • f ongoing data transmission and ACK reception

29

data ACK

tMACidle

Interrupt Software delay δ First measurement And delay estimation Second measurement

tMACidle

slide-30
SLIDE 30

Outline

  • Scenario
  • Time of flight
  • Problems

– ACK detection time – Implementation in off-the-shelf devices

  • Evaluation
  • Conclusion

30

slide-31
SLIDE 31

Map of evaluation

  • STA1-STA5, WLAN Atheros chipset
  • STA6, “HTC magic” smartphone

31

slide-32
SLIDE 32

Indoors

  • Average errors of < 1 m

– in 8 links out of 10

  • Absolute error of < 2 m after fewer than 25

samples

– in 9 links out of 10

32

slide-33
SLIDE 33

Tracking

  • 7 positions: A,B,…G
  • CAESAR tracks the distance to a moving smartphone
  • SNR is not a reliable indicator of distance

33

CAESAR SNR= (similar values for different distances)

slide-34
SLIDE 34

Conclusion

  • Ranging technique is crucial in navigation system
  • CAESAR measures the distance to remote WLAN

devices

– Key ideas based on MAC protocol operations for communication – high accuracy, high convergence, no changes in the network protocol, no offline calibration,…

  • Effective technique to use in off-the-shelf devices

34

slide-35
SLIDE 35

35

thank you for your attention !

slide-36
SLIDE 36