sofa communication protocol (ewsn 2014)

35
1 Challenge the future SOFA: Communication in Extreme Wireless Sensor Networks Marco Cattani, M. Zuniga, M. Woehrle, K. Langendoen Embedded Software Group, Delft University of Technology

Upload: marco-cattani

Post on 03-Jul-2015

345 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: SOFA communication protocol (EWSN 2014)

1 Challenge the future

SOFA: Communication in Extreme Wireless Sensor Networks

Marco Cattani, M. Zuniga, M. Woehrle, K. Langendoen Embedded Software Group, Delft University of Technology

Page 2: SOFA communication protocol (EWSN 2014)

2 Challenge the future

Motivation

We want to monitor the density of a crowd during an outdoor festival using low-cost wireless devices.. Why?

© Alex Prager

Page 3: SOFA communication protocol (EWSN 2014)

3 Challenge the future

Motivations

• Traditional WSN •  Power efficient •  Compact hardware

•  Low data rate •  Slow changes •  Few tens of nodes •  Sink

We want to monitor the density of a crowd in an open-air festival using low-cost wireless devices

Page 4: SOFA communication protocol (EWSN 2014)

4 Challenge the future

Motivations

• Traditional WSN •  Power efficient •  Compact hardware

•  Low data rate •  Slow changes •  Few tens of nodes •  Sink

We want to monitor the density of a crowd in an open-air festival using low-cost wireless devices

• We are not potatoes!!

Page 5: SOFA communication protocol (EWSN 2014)

5 Challenge the future

Motivations

• Traditional WSN •  Power efficient •  Compact hardware

•  Low data rate •  Slow changes •  Few tens of nodes •  Sink

• We are not potatoes!!

•  High data rate •  Highly dynamic •  Thousands of people •  Decentralized

We want to monitor the density of a crowd in an open-air festival using low-cost wireless devices

Extreme Wireless Sensor Networks

Page 6: SOFA communication protocol (EWSN 2014)

6 Challenge the future

Motivations

• Traditional WSN •  Power efficient •  Compact hardware

•  Low data rate •  Slow changes •  Few tens of nodes •  Sink

• We are not potatoes!!

•  High data rate •  Highly dynamic •  Thousands of people •  Decentralized

We want to monitor the density of a crowd in an open-air festival using low-cost wireless devices

Extreme Wireless Sensor Networks Communication

Page 7: SOFA communication protocol (EWSN 2014)

7 Challenge the future

Motivations

• Traditional WSN •  Power efficient •  Compact hardware

•  Low data rate •  Slow changes •  Few tens of nodes •  Sink

• We are not potatoes!!

•  High data rate •  Highly dynamic •  Thousands of people •  Decentralized

We want to monitor the density of a crowd in an open-air festival using low-cost wireless devices

Extreme Wireless Sensor Networks Communication

Page 8: SOFA communication protocol (EWSN 2014)

8 Challenge the future

Communication challenges

• Bandwidth is trade for energy efficiency

• To reduce bandwidth overhead WSN •  exploits neighborhood

information •  Synchronize nodes’ wakeups

• Bandwidth is to scarce to be wasted

• We can not rely on neighborhood information

Traditional WSN Extreme WSN

Page 9: SOFA communication protocol (EWSN 2014)

9 Challenge the future

Communication in EWSN

Can we have an efficient rendezvous without neighborhood knowledge?

Page 10: SOFA communication protocol (EWSN 2014)

10 Challenge the future

Communication in EWSN

Init1

34

2

Wakeup period

Yes! But not with unicast and broadcast L n Unicast n Broadcast n Opportunistic anycast

Page 11: SOFA communication protocol (EWSN 2014)

11 Challenge the future

Communication in EWSN

•  Efficient rendezvous •  Opportunistic anycast

• Collision reduction •  Opportunistic rendezvous

• Application layer support

• Contiki OS •  LPL and LPP

SOFA (Stop On First Ack) communication protocol Implementation

Page 12: SOFA communication protocol (EWSN 2014)

12 Challenge the future

Efficient rendezvous

More neighbors à Shorter rendezvous n Unicast n Broadcast n Opportunistic anycast

Init1

Page 13: SOFA communication protocol (EWSN 2014)

13 Challenge the future

Efficient rendezvous

More neighbors à Shorter rendezvous n Unicast n Broadcast n Opportunistic anycast

Init12

Page 14: SOFA communication protocol (EWSN 2014)

14 Challenge the future

Efficient rendezvous

More neighbors à Shorter rendezvous n Unicast n Broadcast n Opportunistic anycast

Init1

34

2

Page 15: SOFA communication protocol (EWSN 2014)

15 Challenge the future

Efficient rendezvous

More neighbors à Shorter rendezvous n Unicast n Broadcast n Opportunistic anycast

Init1

34

2

56

Page 16: SOFA communication protocol (EWSN 2014)

16 Challenge the future

Model opportunistic anycast

More neighbors (N) à Shorter rendezvous (R) E(R) = Tw / 1+N (n)

• Nodes’ wake-up period (Tw) •  Uniform random variables

•  Independent •  Identically distributed

• Rendezvous time (R) •  First Order statistic

•  Beta (1,N)

time

(ms)

neighborhood size50 1000

0

50

100

150

200experimental results

Page 17: SOFA communication protocol (EWSN 2014)

17 Challenge the future

Collision reduction

Transmission Back-Off (TBO) transforms a collision into a successful data exchange

•  Listen for incoming beacons instead of CCA

•  If a beacon is received, become a receiver

•  Less collision among initiators

•  Even shorter rendezvous!

InitB B B D A

A D

Rendezvous Data exchange

1

2

Init

TBO

TBO

Page 18: SOFA communication protocol (EWSN 2014)

18 Challenge the future

Information processing

How to cope with the lack of unicast and broadcast?

Page 19: SOFA communication protocol (EWSN 2014)

19 Challenge the future

Information processing

•  Select random neighbor •  Peer sampling

•  Local data exchange •  Push-pull •  Mass conservation

• Diffuse/aggregate •  Max, averages, percentiles

• Repeat until convergence

Gossip

Page 20: SOFA communication protocol (EWSN 2014)

20 Challenge the future

Gossip support

•  Select random neighbor to communicate •  Neighbor discovery •  Random selection

Peer sampling

Page 21: SOFA communication protocol (EWSN 2014)

21 Challenge the future

Gossip support

•  Select random neighbor to communicate •  Neighbor discovery •  Random selection

Peer sampling

Opportunistic peer sampling

• Add random delays to the nodes’ wake-ups

• Use opportunistic anycast to select nodes •  No neighbor discovery •  Select the most efficient

neighbor (to rendezvous)

Page 22: SOFA communication protocol (EWSN 2014)

22 Challenge the future

Gossip support

•  Select random neighbor to communicate •  Neighbor discovery +

random selection •  Difficult in EWSN

Peer sampling

Opportunistic peer sampling

0 50 1000

200

400

600

800

Node ID

Node

sco

re

ObservedAveragepercentile

Page 23: SOFA communication protocol (EWSN 2014)

23 Challenge the future

Gossip support

2-way data exchange

• Rendezvous once, exchange information twice (2x1) •  Improve convergence speed

•  Selects quality links •  2-way rendezvous +

3-way handshake

A

D

B B B D

A

Page 24: SOFA communication protocol (EWSN 2014)

24 Challenge the future

Evaluation

020406080

100

card

inal

ity

node positions

L R

Experiment setup

MSP430 CC1101

100

Page 25: SOFA communication protocol (EWSN 2014)

25 Challenge the future

Energy efficiency

duty

cyc

le (%

)

neighborhood size50 5000

0

2

4

6

8

•  Settings •  Topology: Clique •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms

• Testbed •  Size: 5-100 nodes

Page 26: SOFA communication protocol (EWSN 2014)

26 Challenge the future

Energy efficiency

duty

cyc

le (%

)

neighborhood size50 5000

0

2

4

6

8

•  Settings •  Topology: Clique •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms

• Testbed •  Size: 5-100 nodes

•  Simulations •  Size: 5-450 nodes

The energy consumption of nodes decreases with density

Page 27: SOFA communication protocol (EWSN 2014)

27 Challenge the future

Exchanged messages

glob

al m

essa

ge ra

te (m

sg/s

ec)

neighborhood size50 5000

0

50

100

150

200

•  Settings •  Topology: Clique •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms

• Testbed •  Size: 5-100 nodes

Page 28: SOFA communication protocol (EWSN 2014)

28 Challenge the future

Exchanged messages

•  Settings •  Topology: Clique •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms

• Testbed •  Size: 5-100 nodes

•  Simulations •  Size: 5-450 nodes

glob

al m

essa

ge ra

te (m

sg/s

ec)

neighborhood size50 5000

0

50

100

150

200

When bandwidth saturates, SOFA continues to exchange messages instead of collapsing

Page 29: SOFA communication protocol (EWSN 2014)

29 Challenge the future

Reliability

deliv

ery

ratio

neighborhood size50 5000

0.90

0.95

1

0.85

•  Settings •  Topology: Clique •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms

• Testbed •  Size: 5-100 nodes

Page 30: SOFA communication protocol (EWSN 2014)

30 Challenge the future

Reliability

•  Settings •  Topology: Clique •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms

• Testbed •  Size: 5-100 nodes

•  Simulations •  Size: 5-450 nodes

deliv

ery

ratio

neighborhood size50 5000

0.90

0.95

1

0.85

When bandwidth saturates, SOFA continues to reliably exchange messages instead of collapsing

Page 31: SOFA communication protocol (EWSN 2014)

31 Challenge the future

Mobility

•  Settings •  Topology: Multi-hop •  Message rate: 0.5 •  Wakeup period: 1 s •  Wakeup time: 10 ms •  Diameter: ~3 hop

•  Simulations •  Size: 15-300 nodes •  Density: 5-100 nodes

• BonnMotion’s random waypoint •  Static (0 m/s) •  Walking (1.5 m/s) •  Biking (7 m/s)

• Almost identical performance

•  Energy efficiency •  Exchanged messages •  Reliability

Without the need of neighbors’ information, SOFA is resilient to mobility

Page 32: SOFA communication protocol (EWSN 2014)

32 Challenge the future

Does SOFA fulfill our goal?

• Normal conditions •  Unicast and broadcast •  Routing tree

•  Collection

•  Aggregation

• Extreme conditions •  Opportunistic anycast •  Gossip

•  Diffusion/Aggregation

•  Graph processing

Goal: “We want to monitor the density of a crowd during an outdoor festival using low-cost wireless devices”

Page 33: SOFA communication protocol (EWSN 2014)

33 Challenge the future

Does SOFA fulfill our goal?

•  Expected result à

•  Legend n 1st percentile n 50th percentile 100th percentile − Data exchange

Demo of SOFA running a gossip protocol to compute in which percentiles nodes’ values are

Page 34: SOFA communication protocol (EWSN 2014)

34 Challenge the future

Does SOFA fulfill our goal?

• Normal conditions •  Unicast and broadcast •  Routing tree

•  Collection

•  Aggregation

•  Neighbor discovery

• Extreme conditions •  Opportunistic anycast •  Gossip

•  Diffusion/Aggregation

•  Graph processing

•  Neighborhood size estimation •  Poster #8 •  Full presentation at IPSN!

Goal: “We want to monitor the density of a crowd during an outdoor festival using low-cost wireless devices”

Page 35: SOFA communication protocol (EWSN 2014)

35 Challenge the future

Conclusions

• Under extreme conditions traditional WSN do not scale

• We proposed SOFA, an opportunistic communication protocol that: • Make an efficient use of bandwidth • Reduce the number of collision • Support gossiping