45
INT598 Data-Centric Routing Protocols Silvia Nittel Spatial Information Science & Engineering University of Maine Fall 2006

INT598 Data-Centric Routing Protocols Silvia Nittel Spatial Information Science & Engineering University of Maine Fall 2006

Embed Size (px)

Citation preview

INT598Data-Centric Routing

Protocols

Silvia NittelSpatial Information Science &

EngineeringUniversity of Maine

Fall 2006

INT598: Sensor System Foundation 2© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Overview Motivation & Applications Platforms, Operating Systems, Power Networking

Physical layer, MAC, Protocols Routing

Data-centric Routing Routing Protocols

Adaptable, Configurable Systems Data Collection and Aggregation

INT598: Sensor System Foundation 3© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Data-centric Routing Named-data as a way of tasking motes, expressing data

transport request (data-centric routing) Basically:

“send the request to sensors that can deliver the data, I do not care about their address”

Two initial approaches in literature: Derived from multicast-routing perspective

where you name a logical group of sensor nodes (Diffusion)

Derived from database query language (TinyDB) with stronger semantics on data delivery, timing, sequencing

Commonality is tree-based routing Query sent out from microserver to motes Sink-Tree built to carry data from motes to

microserver

INT598: Sensor System Foundation 4© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Tree Routing

A

B C

D

FE

Query

Parent Node

Children Nodes

INT598: Sensor System Foundation 5© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Tree building Queries/Request

How to specify a query/request? To which nodes does a query go?

Neighbor selection How does a mote select upstream neighbor for data? Asymmetric links Unidirectional links Route characterization (like ETX)

Multiple microservers What about multiple microservers? How does mote select a microserver?

INT598: Sensor System Foundation 6© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Tree building Dynamics

How often do you send out a new query? How often do you select a new upstream path

Design Tree building protocol From query source to data producer(s) and back Multihop ad-hoc routing

reliable routing is essential!

INT598: Sensor System Foundation 7© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Basic Primitives Single-hop packet loss characteristics

Environment, distance, transmit power, temporal correlation, data rate, packet size

Services for high level protocols/applications Link estimation Neighborhood management Reliable multihop routing for data collection

INT598: Sensor System Foundation 8© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Reliable Routing 3 core components for reliable routing

Neighbor table management (‘best neighbors’?)

Link estimation (of communication quality to neighbors)

Routing protocol

INT598: Sensor System Foundation 9© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Routing in WiSeNets Communication between nodes in a

sensor network A) sending a request to a specific node

Node: at the right location, sensing the right data B) sending (sensed) data back to requesting

node(s) Objectives:

Achieve network connectivity (all nodes are reachable)

Find/reach sensor nodes that can contribute data

Establish ‘communication paths’

INT598: Sensor System Foundation 10© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Routing Protocols for WiSeNets

Flooding Gradient Clustering and Cellular Geographic Energy-aware

INT598: Sensor System Foundation 11© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Flooding SPIN – Sensor Protocol for Information

via Negotiation [HKB99], [HKB02]Heinzelman, Kulik, Balakrishnan

Flooding Classical flooding:

disseminate all observations to all nodes in the network

SPIN: Flooding variant See paper

Reliable, robust communication, but very expensive energy-wise

INT598: Sensor System Foundation 12© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

SPIN

INT598: Sensor System Foundation 13© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Routing Protocols for WiSeNets

Flooding Gradient Clustering and Cellular Geographic Energy-aware

INT598: Sensor System Foundation 14© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Gradient-based Approach Influential approaches:

Directed Diffusion [IGE00]Intanagonwiwat, Govindan Estrin

GEAR – Geographical and Energy-Aware Routing [YGE01] Yu, Govindan, Estrin

INT598: Sensor System Foundation 15© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Directed Diffusion Data-centric communication

All communication using named data Sets of attribute/value pairs are used to identify data Established gradients in the network are matched with

data to determine the next hop along route to sink Sensor nodes are task-aware

Sensor nodes respond to user specified interests (task descriptions or queries) matching their particular local capabilities (attached sensors)

Task description: specification of which data do to collect, in which sampling intervals

Local gradients are set up through interest propagation from sink to source (establishing path back to sink) (example!)

Path reinforcement to identify best route between nodes Data cached at intermediate nodes for aggregation and loop

prevention

INT598: Sensor System Foundation 16© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Directed Diffusion

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

Interest: type = 4 legged animal interval = 1 s rect = [0, 75, 25, 100] timestamp = 1:20:40 expires = 1:30:40

Interest TransmissionEstablished Gradient

20

INT598: Sensor System Foundation 17© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

Interest: type = 4 legged animal interval = 1 s rect = [0, 75, 25, 100] timestamp = 1:20:40 expires = 1:30:40

Interest TransmissionEstablished Gradient

20

INT598: Sensor System Foundation 18© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

Interest: type = 4 legged animal interval = 1 s rect = [0, 75, 25, 100] timestamp = 1:20:40 expires = 1:30:40

Interest TransmissionEstablished Gradient

20

INT598: Sensor System Foundation 19© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

Interest TransmissionEstablished Gradient

20

Interest: type = 4 legged animal interval = 1 s rect = [0, 75, 25, 100] timestamp = 1:20:40 expires = 1:30:40

INT598: Sensor System Foundation 20© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

Interest TransmissionEstablished Gradient

20

Interest: type = 4 legged animal interval = 1 s rect = [0, 75, 25, 100] timestamp = 1:20:40 expires = 1:30:40

INT598: Sensor System Foundation 21© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

Interest TransmissionEstablished Gradient

Interest: type = 4 legged animal interval = 1 s rect = [0, 75, 25, 100] timestamp = 1:20:40 expires = 1:30:40

20

INT598: Sensor System Foundation 22© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 23© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 24© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 25© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 26© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 27© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 28© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 29© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 30© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

1

9

6

8

5

32

4

7

(0,100)

(25,75)(0,75)

(25,100)

DataInterest TransmissionReinforced path

21

INT598: Sensor System Foundation 31© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Directed Diffusion

Multiple Sources Link FailureMultiple Sinks

INT598: Sensor System Foundation 32© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Directed Diffusion Advantages:

Energy: much less traffic than flooding & data aggregation

Latency: usually transmitting data along best path Scalability: local interactions only Robust: retransmission of interests and low data rate

gradients

Disadvantages: Gradient setup phase expensive Retransmission of interests and alternate path

maintenance required*

Not energy aware – all messages traverse the primary path

INT598: Sensor System Foundation 33© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Routing Protocols for WiSeNets

Flooding Gradient Clustering and Cellular Geographic Energy-aware

INT598: Sensor System Foundation 34© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Clustering Approach LEACH – Low Energy Adaptive Clustering Hierarchy

[HCB00], [HCB02] Heinzelman, Chandrakasan, Balakrishnan

Cluster-based hierarchical approach Nodes elect themselves to be cluster heads at the

beginning of each round based on a probability function Localized coordination for set-up Cluster heads randomly rotated to increase network

lifetime Cluster membership adaptive

Members communicate with cluster head using TDMA MAC

Data aggregation at cluster heads Cluster heads communicate directly with user

INT598: Sensor System Foundation 35© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

LEACH

Round r Round r + 1

Cluster Head Rotation: Cluster head

INT598: Sensor System Foundation 36© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

LEACH Positive

Energy: balances energy usage among nodes and allows nodes to shut down radios

Latency: only two hops to user Straightforward: aggregate data at cluster head and

send to user Scalability: distributed hierarchical approach

Negative Cluster head failure a problem Cluster head selection questionable (LEACH-C) Assumes all nodes capable of long range

transmissions

INT598: Sensor System Foundation 37© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Routing Protocols for WiSeNets

Flooding Gradient Clustering and Cellular Geographic Energy-aware

INT598: Sensor System Foundation 38© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

GEAR – Geographic and Energy Aware Routing [YGE01]

Greedy geographic query routing technique Cost function based on destination location

and neighbor node energies used to determine next hop

Improvement over Directed Diffusion’s ‘interest flooding’ technique

Less partitioning than GPSR [KK00]

Greedy Perimeter Stateless Routing Restricted broadcast within sampling

region

INT598: Sensor System Foundation 39© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Summary Routing Protocols Critical elements of a sensor network protocol

Energy efficient Energy usage distributed among nodes Robust – fault tolerant Scalable – distributed control & local interactions Small footprint Low latency

Questions How to avoid draining sensor nodes near sinks? How feasible is data aggregation beyond duplicate

suppression? Better way to categorize network models? Good way to evaluate and compare protocols? How effective are the protocols in the real world?

INT598: Sensor System Foundation 40© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Collaborative Processing Data acquired at

single node do not have enough information for certain task (e.g. target localization/tracking), collaboration across nodes is required

Collaboration makes processing more robust to noise, interference

Collaboration can be optimized to involve no more nodes than necessary

Microphone network for tank tracking

INT598: Sensor System Foundation 41© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Time and Location Each sensor node creates local observations. Each observations is ‘tagged’ with the

observation time and sensor location, otherwise the observation has little usefulness All weather station data has station location

(longitude, latitude) and observation time (YY:MM:DD:HH:MM) associated with it

Audio data for localization need to be more accurately time/location-stamped

Problems: Node localization and time synchronization between nodes

INT598: Sensor System Foundation 42© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Time Synchronization Also crucial in other

contexts Ranging, tracking, security,

MAC, aggregation etc. Global time not always

needed New ideas

Local timescales Receiver-receiver sync Multihop time translation Post-facto sync

Mote implementation ~10 s single hop Error grows slowly over

hops

Sender Receiver

NIC

Physical Media

NIC

Propagation Time

Receiver

NICI saw itat t=4 I saw it

at t=5

1

3

2

A4

8

C

5

7

6B

10

D11

9

INT598: Sensor System Foundation 43© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Node Localization

Snd_travel_time = Range/Snd_velocity

RF_travel_time = Range/RF_velocity

Snd_arrival_time – RF_arrival_time = Snd_travel_time – RF_travel_time

receiver

RF

Sound

RF/Sound ranging system

RF & Sound signal are sent simultaneously, their arrival time are recorded by the receiver

INT598: Sensor System Foundation 44© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Node Localization (II)

When range among many nodes is known, we can uniquely assign coordinates to each node relative to a reference point

(0,0)

(10,10)

(12,11)

INT598: Sensor System Foundation 45© Dr. Silvia Nittel, NCGIA, University of Maine, 2006

Other topics Distributed Control and Signal

Processing Tracking Coverage and Security Privacy Emerging Standards (ZIGBEE)