exploring energy-latency tradeoffs for sensor network broadcasts

28
Exploring Energy- Latency Tradeoffs for Sensor Network Broadcasts Matthew J. Miller Cigdem Sengul Indranil Gupta University of Illinois at Urbana- Champaign June 7, 2005

Upload: niyati

Post on 12-Jan-2016

48 views

Category:

Documents


0 download

DESCRIPTION

Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts. Matthew J. Miller Cigdem Sengul Indranil Gupta University of Illinois at Urbana-Champaign June 7, 2005. Question???. Sensor Application #1. Code Update Application E.g., Trickle [Levis et al., NDSI 2004] - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

Matthew J. MillerCigdem SengulIndranil Gupta

University of Illinois at Urbana-Champaign June 7, 2005

Page 2: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

2

Question???

Page 3: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

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: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

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: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

5

Energy-Latency OptionsE

nerg

y

Latency

Page 6: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

6

Sleep Scheduling Protocols Nodes have two states: active and

sleep At any given time, some nodes are

active to communicate data while others sleep to conserve energy

Examples IEEE 802.11 Power Save Mode (PSM)

Most complete and supports broadcast Not necessarily directly applicable to sensors

S-MAC/T-MACSTEM

Page 7: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

7

IEEE 802.11 PSM Example With Broadcasts

AN1

N2

N3

AW

BI

D

A D

A D

BI

AWA = ATIM Pkt

D = Data Pkt

N2

N1

N3

Page 8: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

8

IEEE 802.11 PSM

Nodes are assumed to be synchronized Every beacon interval (BI), all nodes wake up for

an ATIM window (AW) During the AW, nodes advertise any traffic that

they have queued After the AW, nodes remain active if they expect

to send or receive data based on advertisements; otherwise nodes return to sleep until the next BI

Page 9: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

9

Protocol Extreme #1

A

N1

N2

N3

D

A = ATIM Pkt

D = Data Pkt

N2N1 N3

A

D

A

Page 10: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

10

Protocol Extreme #2

N1

N2

N3

D

A = ATIM Pkt

D = Data Pkt

D

D

A

N2N1 N3

Page 11: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

11

Probabilistic Protocol

N1

N2

N3

D

A = ATIM 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 12: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

12

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 13: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

13

PBBF Comments p=0, q=0 equivalent to the original sleep scheduling protocol p=1, q=1 approximates the “always on” protocol

Still have the ATIM window overhead

Effects of p and q on metrics:

Energy Latency Reliability

p ↑ --- ↓

if q > 0

if q < 1

q ↑ ↑ ↓

if p > 0

if p > 0

Page 14: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

14

Analysis: Reliability Bond (edge) percolation theory

Determines the connectivity of a random graph Different from Haas’ Gossip-Based Routing which

used site (vertex) percolation theory A phase transition occurs when the probability of

an edge between two vertices is greater than the critical value In this phase, the probability that an infinitely large

cluster exists in a graph is close to one A phase transition occurs when the probability of

an edge is less than the critical value In this phase, the probability that an infinitely large

cluster exists in the graph is close to zero

Page 15: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

15

Analysis: Reliability

In PBBF, the probability that a broadcast is received on a link is:

pq + (1-p) Thus, if pq + (1-p) is greater than a critical value,

then every broadcast reaches most of the nodes in the network

Tested PBBF on grid topology with ideal MAC and physical layers

Page 16: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

16

Answer = 0.5

Page 17: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

17

Analysis: Reliability Phase transition

when:

pq + (1-p) ≈ 0.8-0.85 Larger than bond

percolation threshold Boundary effects Different metric

Still shows phase transition

qp=

0.25

p=0.

37

p=0.

5

p=0.

75

Fra

ctio

n of

Bro

adca

sts

Rec

eive

d by

99%

of

Nod

es

Page 18: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

18

Analysis: Energy

q

No Power Save

802.11 PSM

PBBF

Joul

es/B

road

cast

≈ 1 + q * [(BI - AW)/AW]

Page 19: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

19

Analysis: LatencyShortest Paths and Reliability

Page 20: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

20

Analysis: Latency

q

Ave

rage

60-

Hop

Flo

odin

g H

op C

ount

p=0.37

p=0.75

Increasing Reliability

Page 21: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

21

Analysis: Latency

q

Ave

rage

Per

-Hop

Bro

adca

st L

aten

cy (

s)

p=0.37

p=0.75

p=0.05

1. Reliability Increasing

1

2

3

2. Phase Transition

3. p Increasing

Page 22: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

22

Analysis: Energy-Latency TradeoffJo

ules

/Bro

adca

st

Average Per-Hop Broadcast Latency (s)

Achievable regionfor reliability

≥ 99%

Page 23: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

23

Application Results

Simulated code distribution application in ns-2, where a base station periodically sends patches for sensors to apply 50 nodes Average One-Hop Neighborhood Size = 10 Uniformly random node placement in square area Topology connected Full MAC layer

Page 24: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

24

Application: Energy and LatencyEnergy

Joules/Broadcast

q

LatencyAverage 5-Hop Latency

PBBF

Increasing p

q

Page 25: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

25

Application: Reliability

Different reliability metric

Average fraction of broadcasts received per node

Better fit for application

q

Ave

rage

Fra

ctio

n of

B

road

cast

s R

ecei

ved

p=0.5

Page 26: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

26

Work In Progress Dynamically

adjusting p and q to converge to user-specified QoS metrics

E.g., Energy and latency are specified

Subject to those constraints, p and q are adjusted to achieve the highest reliability possible Time

0.0

1.0

0.5q

p

Page 27: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

27

ConclusionE

nerg

y

Latency

Achievable Region

Page 28: Exploring Energy-Latency Tradeoffs for Sensor Network Broadcasts

28

Questions???

Matthew J. Miller

https://netfiles.uiuc.edu/mjmille2/www

Cigdem Sengul

https://netfiles.uiuc.edu/sengul/www

Indranil Gupta

http://www-faculty.cs.uiuc.edu/~indy