21
Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast Matthew J. Miller (Cisco Systems) Indranil Gupta (Univ. of Illinois- Urbana) March 2007

Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

  • Upload
    abedi

  • View
    35

  • Download
    0

Embed Size (px)

DESCRIPTION

Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast. Matthew J. Miller (Cisco Systems) Indranil Gupta (Univ. of Illinois-Urbana) March 2007. Motes: State of the Art. TinyOS includes a power save protocol (B-MAC) - PowerPoint PPT Presentation

Citation preview

Page 1: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

Matthew J. Miller (Cisco Systems)Indranil Gupta (Univ. of Illinois-Urbana)

March 2007

Page 2: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

2

Motes: State of the Art

TinyOS includes a power save protocol (B-MAC)

Other add-on protocols are implemented (e.g., S-MAC)

Do these give broadcast applications sufficient flexibility for energy, latency, and reliability metrics?

Page 3: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

3

Sensor Application #1

Code Update Application E.g., Trickle [Levis et al.,

NDSI 2004] Updates Generated

Once Every Few Weeks Reducing energy

consumption is important Latency is not a major

concern

Here is Patch #27

Page 4: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

4

Sensor Application #2 Short-Term Event

Detection E.g., Directed Diffusion

[Intanagonwiwat et al., MobiCom 2000]

Intruder Alert for Temporary, Overnight Camp Latency is critical With adequate power

supplies, energy usage is not a concern

Look For An Event With

These Attributes

Page 5: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

5

Energy-Latency OptionsEnerg

y

Latency

Page 6: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

6

Review of Previous Work

Probability-Based Broadcast Forwarding (PBBF) provides two probabilistic parameters Allows fine-tuning of the operating point on

energy-latency plane Can be use with any protocol that:

Has scheduled sleep intervals Can awaken neighbors on-demand Can awaken all neighbors at the same time to

receive a broadcast Such protocols include B-MAC and 802.11

PSM

Page 7: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

7

Probabilistic Protocol

N1

N2

N3

D

A= Advertisement Pkt

D= Data Pkt

D

DA

N2

N1

N3

w/ Pr=q

w/ Pr=q

w/ Pr=(1-q)

w/ Pr=p

w/ Pr=p

w/ Pr=(1-p)

Page 8: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

8

Probability-Based Broadcast Forwarding (PBBF) Introduce two parameters to sleep

scheduling protocols: p and q When a node is scheduled to sleep, it

will remain active with probability q When a node receives a broadcast, it

sends it immediately with probability pWith probability (1-p), the node will wait

and advertise the packet during the next AW before rebroadcasting the packet

Page 9: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

9

PBBF Comments p=0, q=0 equivalent to the original power save

protocol p=1, q=1 approximates the “always on” protocol

Still have the advertisement window overhead

Effects of p and q on metrics:

Energy

Latency Reliability

p ↑(Immediate

Send)

--- ↓if q > 0

↓if q > 0

q ↑(Stay On)

↑ ↓if p > 0

↑if p > 0

Page 10: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

10

Energy-Latency TradeoffJo

ule

s/B

roadca

st

Average Per-Hop Broadcast Latency (s)

Achievable regionfor reliability

≥ 99%

Page 11: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

11

Contributions in This Paper Add a new extension to PBBF for

more control over reliability and packet overhead

Implement PBBF in TinyOS on top of B-MACProof-of-concept that validates

previous work’s simulation trendsDemonstrates versatility of PBBF

Previous work used 802.11 PSM as the base protocol

Page 12: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

12

PBBF Extension: r parameter

D1

w/ Pr=p

A D1 D2

w/ Pr=(1-r)w/ Pr=r

w/ Pr=p

If a broadcast is sent immediately then, with probability r, the packet is sent a second time according to the original power save protocol

Page 13: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

13

Effects of r Parameter Improves reliability, but increases energy

consumption, latency, and overhead

Energy Latency Reliability Overhead

p ↑if r = 0

--- ↓if q > 0

↓if q < 1

---

q ↑if r = 0

↑ ↓if p > 0

↑if p > 0

---

r ↑if p > 0

↑ ↑ ↑ ↑

Page 14: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

14

B-MAC [Polastre et al., SenSys 2004]

N1

N2

N3

D

= Transmission

Preamble

D

D

= Reception

= Carrier Sensed Busy

Uses Preamble Sampling

Page 15: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

15

B-MAC with PBBF

N1

N2

N3

= Transmission

Preamble

= Reception

= Carrier Sensed Busy

PreambleD1 D2 D2

D1

D1 D2

D2 D2

w/ Pr=(1-p) w/ Pr=p w/ Pr=r

w/ Pr=q

Page 16: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

16

Our TinyOS Architecture

Existing Modules

PBBF Module

Experimental Set-Up/Stats Collection Modules

Application Modules

Page 17: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

17

Experimental Setup

Mica 2 Motes (433 MHz) with one broadcast sender and eight one-hop neighbors

Broadcast sent every 2.5 s during a 30 s run B-MAC parameters

Duty cycle = 135 ms Preamble = 371 bytes (155 ms @ 19.2 kbps) Carrier sense time = 8 ms

Page 18: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

18

Experimental Resultsp=1 and q=0

Fract

ion

of

Pack

ets

Rece

ived

Tota

l Pack

ets

Rece

ived

r rAs r increases: reliability increasesbut so does packet overhead

Page 19: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

19

Experimental Resultsp=1 and q=0

En

erg

y

Con

sum

pti

on

Avg.

Late

ncy

(s

)r r

As r increases: energy consumption andlatency increase (tradeoff for improvedreliability)

Page 20: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

20

Conclusion

We have implemented PBBF for TinyOS Code can be downloaded at:

www.matthewjmiller.net/code Shown versatility of PBBF concept

Can be used with B-MAC in addition to 802.11 PSM

New parameter can adjust reliability Improved reliability comes at the cost of

degradation to packet overhead, energy consumption, and latency

Page 21: Practical Exploitation of the Energy-Latency Tradeoff for Sensor Network Broadcast

21

Questions???

Matthew J. Millerwww.matthewjmiller.net

Indranil Guptawww-faculty.cs.uiuc.edu/~indy