35
CS 599 Intelligent Embedded Systems 1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded

Systems 1

Adaptive Protocols for Information Dissemination in Wireless Sensor Networks

W.R.Heinzelman, J.kulik, H.Balakrishnan

Page 2: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 2

Outline Introduction SPIN Other Data Dissemination Algorithms Sensor Network Simulations Conclusions Strengths and Weaknesses

Page 3: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 3

Introduction Wide deployment of Wireless sensor networks Wireless sensor networks

Can aggregate sensor data to provide multi-dimensional view

Improve sensing accuracy Focus on critical events (e.g. intruder entering) Fault tolerant network Can improve remote access to sensor data – sink

nodes

Page 4: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 4

Introduction contd. Limitations of Wireless sensor networks

Energy Computation Communication

Page 5: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 5

Sensor Protocols for Information via Negotiation (SPIN)

Classic flooding limitations Implosion Overlap Resource blindness

Page 6: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 6

Implosion Problem

Page 7: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 7

Overlap problem

Page 8: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 8

SPIN contd.. SPIN overcomes these deficiencies

Negotiation Resource-adaptation

Each sensor node has resource manager Keeps track of resource consumption Applications probe the manager before any activity Cut down activity to save energy

Motivated by principle of ALF Common data naming (meta-data)

Page 9: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 9

SPIN Meta-Data Sensors use meta-data to describe the

sensor data briefly If x is the meta-data descriptor for data X

sizeof (x) < sizeof (X) If x==y

sensor-data-of (x) = sensor-data-of (y) If X==Y

meta-data-of (X) = meta-data-of (Y) Meta-data format is application specific

Page 10: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 10

SPIN Messages

ADV – new data advertisement REQ – request for data DATA – data message

ADV and REQ messages contain only meta-data so they are smaller in size.

Page 11: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 11

SPIN-1 and SPIN-2 SPIN-1

Simple 3-stage handshake protocol Data aggregation is possible Can adapt to work in lossy or mobile network Can run in a completely unconfigured

network

Page 12: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 12

Node B sends a REQ listing all of the data it would like to acquire.

Page 13: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 13

If node B had its own data, it could aggregate this with the data of node A and advertise.

Page 14: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 14

Nodes need not respond to every message

Page 15: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 15

SPIN-2

SPIN-1 with a Low-Energy Threshold When energy below energy threshold – stop

participating in the protocol Can just receive data avoiding ADV-REQ phase

Page 16: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 16

Other data dissemination algos. Classic Flooding

Converges in O(d), d-diameter of the network Gossiping

Forward data to a random neighbor Avoids implosion Disseminates at a slow rate Fastest rate = 1 node/round

Page 17: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 17

Page 18: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 18

Ideal dissemination Every node sends sensor data along shortest path Receives each piece of distinct data only once Implementation

Network level multicast (source specific) To handle losses, reliable multicast has to be

deployed SPIN is a form of application-level multicast

Page 19: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 19

Page 20: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 20

Sensor Network Simulations Simulated using ns

simulator Extended ns to

create a Resource-Adaptive Node

Page 21: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 21

Simulation Testbed

Page 22: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 22

SPIN-1 Results Higher throughput than gossiping Same throughput as flooding Uses substantially less energy than other protocols SPIN-2 delivers more data per unit energy than

SPIN-1 SPIN-2 performs closer to Ideal dissemination Nodes with higher degree tend to dissipate more

energy than nodes with lower degree

Page 23: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 23

Data Acquired Over Time

Page 24: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 24

Energy Dissipated Over Time

Page 25: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 25

Energy Dissipated Over Time

Page 26: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 26

Unlimited Energy Simulations

Page 27: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 27

Limited Energy Simulations

Page 28: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 28

Limited Energy Simulations contd..

Page 29: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 29

Best-Case Convergence Times For overlapping sensor data

Convergence times for ideal and flooding are the same

For non-overlapping sensor data Flooding converges faster than SPIN-1

To understand these results, we develop equations that predict convergence times of each of these protocols.

Page 30: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 30

Transmission time per data packet = 8s/d

Since SPIN-1 has to process ADV, REQ, DATA so processing time = 3(d+r)

)8

)(3()8

3(

)8

(,)8

(

1b

srdlC

b

sdl

b

srdlCC

b

sdl

dSPINd

dFloodIdeald

Convergence Time – no overlap

Page 31: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 31

Convergence Time – overlapping data

2

4)1(

)8

()8

3(

)8

)(3()8

3(

)8

(,)8

(

1

r

b

skd

b

skrdl

b

sdl

b

skrdlC

b

sdl

b

skrdlCC

b

sdl

lplp

lpSPINlp

lpFloodIdeallp

Page 32: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 32

For the testbed network parameters

Simulation results Flooding converges in 135ms Ideal converges in 125ms SPIN-1 converges in 215ms

Convergence times of flooding and ideal are closer to their upper bound unlike SPIN-1

294.0133.0

154.0,063.0

1

SPIN

FloodIdeal

C

CC

Page 33: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 33

Conclusions SPIN solves the implosion and overlap problems. SPIN-1 and SPIN-2 are simple protocols for

wireless sensor networks. SPIN outperforms gossiping. SPIN-1 consumes only 25% energy w.r.t flooding SPIN-2 distributes 60% more data per unit energy

w.r.t flooding.

Page 34: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 34

Strengths and Weaknesses Implosion problem still exists in the REQ

stage The paper doesn’t consider the collisions in

the REQ stage No justification for the network parameters

chosen

i

Page 35: CS 599 Intelligent Embedded Systems1 Adaptive Protocols for Information Dissemination in Wireless Sensor Networks W.R.Heinzelman, J.kulik, H.Balakrishnan

CS 599 Intelligent Embedded Systems 35

Questions ?