pw-mac: a predictive-wakeup mac protocol for wireless ...ltang/presentations/pw-mac-slides.pdf ·...

31
PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang,Yanjun Sun, Omer Gurewitz, and David B. Johnson Presentation at IEEE INFOCOM 2011, April 2011

Upload: others

Post on 15-Jul-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

PW-MAC: A Predictive-Wakeup MAC

Protocol for Wireless Sensor Networks

Lei Tang, Yanjun Sun, Omer Gurewitz, and

David B. Johnson

Presentation at IEEE INFOCOM 2011, April 2011

Page 2: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

PW-MAC objectives

2

Minimize energy consumption both at senders

and at receivers while maintaining:

• High packet delivery ratio

• Low delivery latency

Page 3: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Related work: duty cycling

Duty-Cycling MAC protocols:

– Synchronous: e.g., S-MAC, DW-MAC.

– Asynchronous: e.g., B-MAC, PW-MAC, EM-MAC.3

Duty cycle: The percent of time a node is active.

Page 4: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Related work: synchronous protocols

Problems of synchronous protocols:

– Global time synchronization.

– Contention is packed to DATA period.

4

SYNC DATA SLEEP

RTS RTS DATA

Cycle

Page 5: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Related work: asynchronous protocols

Asynchronous

– Nodes wake up asynchronously.

– No global time synchronization.

How does sender rendezvous with receiver?

– Sender-initiated or receiver-initiated.

5Picture from http://www.fleetcouriers.com/blog/

Page 6: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Related work: B-MAC (sender-initiated)

6

S

Send Receive Node awake

Preamble Data

DataR

Time

Problem:

1. Sender has large duty cycle.

2. High channel contention.

wakeup interval

Page 7: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Related work: X-MAC (sender-initiated)

Preamble is replaced by repeating data packets.

Receiver sends an ACK so the sender can stop.

7

S

RDATA

DATADATA DATA

A

A

wakeup interval

Problem:

1. Sender has large duty cycle.

2. High channel contention.

Time

Page 8: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Related work: WiseMAC (sender-initiated)

8

S

shortened preamble P.

P. Data

DataR

Time

Problem:

1. Fixed wakeup interval can cause collisions.

2. Use a fixed clock drift ratio.

fixed wakeup interval fixed wakeup interval

Page 9: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Other problem of these protocols

No efficient retransmission mechanism large duty

cycle and high wireless contention.

9

S1

R

packetpacket packet

S2 packetpacket packet

packet

packet

collidecollide collide collide

Time

Page 10: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

S

RSend wake-up beacon

DATA

Wake up to wait for receiver

B

B DATA

Send DATA

Send ACK

A

A

Problem: sender still has large duty cycle

due to idle listening and overhearing.

Related work: RI-MAC (receiver-initiated)

Time

10

Page 11: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Overview of PW-MAC

11

DATA DATASender S1

DATA DATAReceiver R1

High energy efficiency at both senders and receivers.

High packet delivery performance through reducing

collisions and efficient packet retransmission.

DATA DATASender S2

DATA DATAReceiver R2

Time

Page 12: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Predictive Wake-up mechanism of PW-MAC

12

pseudorandom time

R1 wake-up

B B B

pseudorandom

time

R1 wake-up R1 wake-up

time

Next wakeup time = now+ pseudorandom(0.5 interval,

1.5 interval)

pseudorandom time

R2 wake-up

B B

R2 wake-up

timeR2:

R1:

Page 13: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Predictive Wake-up mechanism of PW-MAC

13

Why pseudorandom wakeup?

• Enable sender to predict receiver reduce energy consumption

• Spread traffic to different times mitigate wireless contention

pseudorandom time

R wake-up

B B B

pseudorandom

time

R wake-up R wake-up

timeR:

Page 14: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Predictive Wake-up mechanism of PW-MAC

14

Prediction state obtained by a node S to predict a

node R’s wakeups includes:

• Pseudorandom number generator parameters and

current seed of R.

• The time difference between S and R.

pseudorandom time

R wake-up

B B B

pseudorandom

time

R wake-up R wake-up

timeR:

Page 15: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

PW-MAC packet transmission

15

S

R

wake up at predicted time

pseudorandom time

DATAB A

B DATA A

B

Through prediction, sender and receiver wake

up at the same time high energy efficiency.

DATA is

generated

time

Page 16: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

The problem of packet retransmission

16

S2

R2

DATA

Existing work: stay awake and repeat the packets.

DATA

DATA DATA

S1

R1

DATA

DATA

DATA

Large duty cycle and high channel contention.

time

DATA

DATA

DATA

Page 17: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

PW-MAC: prediction-based retransmission

17

go to sleep

DATAB A

B DATA AS

R DATAB

B DATA

retransmit at the next

predicted receiver wake-up time

failure

Retransmit packets with high energy

efficiency and low wireless contention.

time

Page 18: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Outline

1. PW-MAC

1.1 Predictive Wake-up MAC (PW-MAC)

1.2 Prediction-based retransmission

1.3 On-demand prediction error control

18

Page 19: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Prediction error on a pair of MICAz motes

19

Small clock drift ratio

Page 20: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Prediction error on another pair of MICAz motes

20

Much larger clock drift ratio

Page 21: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

PW-MAC: on-demand prediction error control

21

DATAB A

B DATA AS

R

Wakeup advance time

Prediction error: the difference between

predicted and actual wakeup time.

time

Use a wakeup advance time to compensate

prediction error.

Page 22: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

PW-MAC: on-demand prediction error control

22

DATAB A

B DATA AS

R

Detect prediction error

Request current

prediction state

Update

prediction state

Send prediction state

time

Ensure prediction error to be

within sender wakeup window

Page 23: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

23

PW-MAC effectively controls the prediction error

to be ≤ wake-up-advance time

Low cost: average 1 update per 1400 seconds

Page 24: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Advantages:

Effective

Low cost: average 1 update per 1800 seconds

PW-MAC: on-demand prediction error control

24

DATAB A

B DATA AS

R

Detect prediction error

Request current

prediction state

Update

prediction state

Send prediction state

time

Page 25: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Hidden terminal experiment

25

Two MICAz senders are hidden to each other

With WiseMAC, two senders’ repeated

retransmissions cause persistent collisions.

Page 26: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Experiment of wake-up schedule conflicts

26

Two receivers have the same first wake-up time.

S1

S2

R1

R2

Pseudorandom wakeup scheduling of PW-MAC

avoids persistent wakeup collisions.

Page 27: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Multihop network performance

27

A testbed of 15 MICAz motes.

Up to 3 multihop traffic flows.

Page 28: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Sender duty cycle

28

PW-MAC has the smallest duty cycle

Page 29: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Packet delivery latency

29

PW-MAC achieved lowest latency

Page 30: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Packet delivery ratio (PDR)

30

Packet Delivery Ratio (PDR)

PW-MAC achieved 100% PDR

Page 31: PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless ...ltang/presentations/PW-MAC-slides.pdf · PW-MAC: A Predictive-Wakeup MAC Protocol for Wireless Sensor Networks Lei Tang, Yanjun

Conclusions

Predictive-wakeup mechanism:

– High energy efficiency at both senders and

receivers.

– Low channel contention.

Prediction-based retransmission mechanism.

On-demand prediction error control.

PW-MAC outperformed other tested single-channel

protocols on a testbed of MICAz motes.

31