Exploiting FM Radio Data System for Adaptive Clock ... · Exploiting FM Radio Data System for...

Post on 21-Aug-2018

224 views 2 download

transcript

Liqun Li1,2, Guoliang Xing1, Limin Sun2, Wei Huangfu2,

Ruogu Zhou1, Hongsong Zhu2

1Michigan State University & 2Chinese Academy of Sciences

Exploiting FM Radio Data System for Adaptive Clock

Calibration in Sensor Networks

Time Synchronization

Important for various applications

Event ordering, Coordination, etc

Two issues in time synchronization

Initial time offset

Different time scale (/rate/speed)

offset

2

slow fast

State of Art

Time synchronization based on message passing

RBS[OSDI’02], TPSN[SenSys’03], and FTSP[SenSys’04]

Pros: no special hardware

Cons: high communication overhead

Time synchronization based on external signals

GPS, WWVB[SECON’06], and Power Line[SenSys’09]

Pros: low communication overhead

Cons: special hardware receiver, limited coverage

3

Key Idea

Exploiting FM Radio Data System (RDS) for clock

calibration

A fixed data rate of 1187.5 bps modulated by pilot-tone

Excellent coverage(160 km, in/outdoor)

Widely available allover the world

Periodic clock from RDS

4

An FM station

Block 1 Block 2 Block 4Block 3

104 bits26 bits

RDS bit stream

Periodic clock

Our contributions

An FM hardware receiver integrated with sensor

network platforms

Extensive measurements on RDS signal

An adaptive RDS based clock calibration method

5

FM Hardware Receiver

Extracting periodic clock from RDS signal

TelosB-compatible

motefrom NXP ~40 mW

6

FM receiver broad

Node 1

Node 2

Node 3

Interrupt on falling edge26/1187.5 = ~ 21.894 ms

Temporal stability of RDS clock (FM recver+ GPS, 6 days)

Spatial coverage of RDS signal

Stability & Coverage

symmetrical jitters

11.5 km

4.3

5 k

m

~40 km2 around the

campus and metro

areas, 3 FM stations

RDS clock is highly stable and has a city-scale coverage

7

Native clock

initialization

RDS clock

Basic Idea

Logic clock = RDS clock + native clock

Frequency ratio = ( )

8

x

y

Logic time now?

# of RDS clock ticks Phase

Logic clock

Frequency = RDS clock

Granularity = native clock

i-1th

ith

i+1th

t

Duty-cycled Clock Calibration

Calibration processCalibration interval

FM receiver: Off

Logic time: Unknown

The ith calibration

FM receiver: ON

Logic time: Known

9

logic time ≈ native time × frequency ratio

calibration error > error bound?

Yes: decrease

No: increase

calibration error

Q1: How to predict the logic time during calibration intervals?

Q2: How to trade off calibration accuracy vs. energy efficiency?

What’s the

logic time now?

1. Update logic time

2. Estimate frequency ratio

3. Set calibration interval length (avg. >20min, eb=500 us)

Experimental Setup

TinyOS 2.1x on a Telosb-compatible platform (/32.768

KHz crystal)

12 motes, laptops, and GPS modules

Metrics: power consumption, calibration error, pair-

wise offset

attached to laptop via USB ports

10

Energy Consumption & Calibration Error

Trace-based Evaluation

Total length > 100 hours

6 sensor nodes

Power Consumption < 20 uW

11

216.4 us

Pair-wise Logic Clock Offset

Offset between three pairs of nodes

Initial offset = 0

error bound = 500 us

>97%

12

Clock Offset (cont.)

Two nodes 2.8 km from each other over 14 hours

2.8 km

Max < 1500 us

Average = 327.4 us

13

Conclusion

A hardware FM receiver integrated with existing

sensor platforms

Extensive measurements on stability and coverage of

the RDS signal

An adaptive method for clock calibration achieving

both calibration accuracy and energy efficiency

14

Thanks. Q/A