Professional Documents
Culture Documents
Routing Protocols
Overview
Overview (cont.)
Overview (cont.)
The task of finding and maintaining routes in WSNs is
nontrivial since energy restrictions and sudden change
s in node status (e.g., failure) cause frequent and unpr
edictable topological changes.
To minimize energy consumption, routing techniques
proposed for WSNs employ some well-known routing
strategies, e.g., data aggregation and in-network proce
ssing, clustering, different node role assignment, and d
ata-centric methods were employed.
Outline
4.1 Routing Challenges and Design Issues in WSNs
4.2 Flat Routing
4.3 Hierarchical Routing
4.4 Location Based Routing
4.5 QoS Based Routing
4.6 Data Aggregation and Convergecast
4.7 Data Centric Networking
4.8 ZigBee
4.9 Conclusions
Chapter 4.1
Routing Challenges and Design Issues in
WSNs
Overview
The design of routing protocols in WSNs is influenced by man
y challenging factors. These factors must be overcome before e
fficient communication can be achieved in WSNs.
Node deployment
Energy considerations
Data delivery model
Node/link heterogeneity
Fault tolerance
Scalability
Network dynamics
Transmission media
Connectivity
Coverage
Data aggregation/convergecast
Quality of service
Node Deployment
Node deployment in WSNs is application dependent a
nd affects the performance of the routing protocol.
The deployment can be either deterministic or random
ized.
In deterministic deployment, the sensors are manually
placed and data is routed through pre-determined path
s.
In random node deployment, the sensor nodes are scat
tered randomly creating an infrastructure in an ad hoc
manner.
Energy Considerations
Sensor nodes can use up their limited supply of energ
y performing computations and transmitting informati
on in a wireless environment. Energy conserving form
s of communication and computation are essential.
In a multi-hop WSN, each node plays a dual role as da
ta sender and data router. The malfunctioning of some
sensor nodes due to power failure can cause significan
t topological changes and might require rerouting of p
ackets and reorganization of the network.
Time-driven (continuous)
Event-driven
Query-driven
Hybrid
The routing protocol is highly influenced by the data r
eporting method
10
Node/Link Heterogeneity
Depending on the application, a sensor node can have
a different role or capability.
The existence of a heterogeneous set of sensors raises
many technical issues related to data routing.
Even data reading and reporting can be generated fro
m these sensors at different rates, subject to diverse Q
oS constraints, and can follow multiple data reporting
models.
11
Fault Tolerance
Some sensor nodes may fail or be blocked due to lack
of power, physical damage, or environmental interfere
nces
It may require actively adjusting transmission powers
and signaling rates on the existing links to reduce ener
gy consumption, or rerouting packets through regions
of the network where more energy is available
12
Scalability
The number of sensor nodes deployed in the sensing a
rea may be on the order of hundreds or thousands, or
more.
Any routing scheme must be able to work with this hu
ge number of sensor nodes.
In addition, sensor network routing protocols should b
e scalable enough to respond to events in the environ
ment.
13
Network Dynamics
Routing messages from or to moving nodes is more ch
allenging since route and topology stability become i
mportant issues
Moreover, the phenomenon can be mobile (e.g., a targ
et detection/ tracking application).
14
Transmission Media
15
Connectivity
High node density in sensor networks precludes them
from being completely isolated from each other.
However, may not prevent the network topology from
being variable and the network size from shrinking du
e to sensor node failures.
In addition, connectivity depends on the possibly rand
om distribution of nodes.
16
Coverage
In WSNs, each sensor node obtains a certain view of t
he environment.
A given sensors view of the environment is limited in
both range and accuracy.
It can only cover a limited physical area of the enviro
nment.
17
Data Aggregation/Convergecast
Since sensor nodes may generate significant redundan
t data, similar packets from multiple nodes can be agg
regated to reduce the number of transmissions.
Data aggregation is the combination of data from diffe
rent sources according to a certain aggregation functio
n.
Convergecasting is collecting information upwards
from the spanning tree after a broadcast.
18
Quality of Service
In many applications, conservation of energy, which i
s directly related to network lifetime.
As energy is depleted, the network may be required to
reduce the quality of results in order to reduce energy
dissipation in the nodes and hence lengthen the total n
etwork lifetime.
19
20
Protocol Operation
Protocol Operation
Flat routing
SPIN
Directed Diffusion (DD)
Hierarchical routing
LEACH
PEGASIS
TTDD
Location based routing
GEAR
GPSR
SPIN
Multi-path network routing
DD
Query based routing
DD, Data centric routing
QoS based routing
TBP, SPEED
Coherent based routing
DD
Aggregation
Data Mules, CTCCAP
Reference
21
Chapter 4.2
Flat Routing
22
Overview
In flat network, each node typically plays the same role and sen
sor nodes collaborate together to perform the sensing task.
Due to the large number of such nodes, it is not feasible to assi
gn a global identifier to each node. This consideration has led t
o data centric routing, where the BS sends queries to certain re
gions and waits for data from the sensors located in the selecte
d regions. Since data is being requested through queries, attribu
te-based naming is necessary to specify the properties of data.
Prior works on data centric routing, e.g., SPIN and Directed Di
ffusion, were shown to save energy through data negotiation an
d elimination of redundant.
23
4.2.1
SPIN
Sensor Protocols for Information via Negotiation
24
SPIN -Motivation
25
26
Implosion
Overlap
Resource blindness
SPIN (cont.)-Implosion
A
Node
The direction
of data sending
The connect
between nodes
x
C
B
x
x
D
27
(q, r)
(s, r)
C
28
29
SPIN (cont.)
Negotiation
Resource adaptation
30
31
33
AD
V
A
DAT
REQ
34
B
AD
V
REQ
RE
Q V
DA
T
AAD
DAD
V
A TA
REQ
DAA
DTV
A
Q
TA
AE
R
D
Q
V
RT
VEA
AD
A
DAD
DATA
DA
TA
DA
TA
A
TA
DA
B
A
DAT
DATA
DA
TA
DA
TA
A
TA
DA
B
A
DAT
37
38
J. Kulik, W.R. Heinzelman, and H. Balakrishnan, Negotiationbased protocols for disseminating information in wireless senso
r networks, Wireless Networks, Vol. 8, pp. 169-185, 2002.
39
4.2.2
Directed Diffusion
A Scalable and Robust Communication Parad
igm for Sensor Networks
40
Overview
Data-centric communication
A sensor field
Sources
Directed
Diffusion
Sink Node
41
Event
Event
Overview (cont.)
42
Directed Diffusion
43
44
Data Naming
Expressing an Interest
45
Interest propagation
Gradient establishment
46
Gradient Set Up
47
No source routes
Gradient a weighted reverse link
Low gradient Few packets per unit time needed
Exploratory Gradient
Exploratory Request
Gradient
Event
Event
48
Data Propagation
A sensor node that detects a target
Search its interest cache
Compute the highest requested data-rate among all i
ts outgoing gradients
Data message is unicast individually
A node that receives a data message
Find a matching interest entry in its cache
Check the data cache for loop prevention
Re-send the data to neighbors
49
Reinforcement (1/4)
Positive reinforcement
Sink selects the neighboring node
Original interest message but with high data-rate
Neighboring node must also reinforce at least one neighbor
Low-delay path is selected
Exploratory gradients still exist: useful for faults
Event
Event
Reinforced gradient
Reinforced gradient
Source
A sensor field
Sink
50
Reinforcement (2/4)
D
M
Source
51
A
Sink
Link
Link A-M
A-M lossy
lossy
A
A reinforces
reinforces B
B
B
B reinforces
reinforces C
C
C
C reinforces
reinforces D
D
or
or
A
A negative
negative reinforces
reinforces M
M
M
M negative
negative reinforces
reinforces D
D
Reinforcement (3/4)
Multipath routing
52
B
Source
Event
Event
Path Truncation
Loop removal
For resource saving
Ex:
B gets same data from both A and D, but
D always delivers late due to looping
B negative reinforces D, D negative rein
forces E, E negative reinforces B
Loop BE D B eliminated
Conservative negative reinforces useful for
fault resilience
Sink
Multiple paths
D
A
E
B
A removable loop
Design Considerations
Diffusion element
Design Choices
Interest Propagation
Flooding
Constrained or directional flooding based on location
Directional propagation based on previously cached data
Data Propagation
Reinforcement
53
Conclusions
55
References
56
Chapter 4.3
Hierarchical Routing
57
Overview
58
4.3.1
LEACH
Low-Energy Adaptive Clustering Hierarchy
59
LEACH
LEACH (cont.)
Sensors elect themselves to be local cluster-heads at a
ny given time with a certain probability.
Each sensor node joins a cluster-head that requires the
minimum communication energy.
Once all the nodes are organized into clusters, each cl
uster-head creates a transmission schedule for the nod
es in its cluster.
In order to balance the energy consumption, the cluste
r-head nodes are not fixed; rather, this position is selfelected at different time intervals.
61
LEACH
62
All nodes marked with a given symbol belong to the same cluster, and
the cluster head nodes are marked with a .
63
Algorithm
Periodic process
Two phases per round:
Setup phase
64
Steady-State phase
Data transmission to cluster-head using TDMA
Cluster-head transfers data to BS (Base Station)
Algorithm (cont.)
Fixed-length cycle
Setup phase
Steady-state phase
Time slot Time slot Time slot
1
2
3
Advertisement phase
65
Self-election of cluster
heads
Cluster heads compete
with CSMA
Members
compete with
CSMA
Broadcast schedule
Algorithm Summary
Set-up phase
T (n )
66
P
if n G
1 P [r * mod(1/ P )]
0
otherwise ,
Set-up phase
Cluster heads assign a TDMA schedule for their members w
here each node is assigned a time slot when it can transmit.
Each cluster communications using different CDMA codes t
o reduce interference from nodes belonging to other clusters.
TDMA intra-cluster
CDMA inter-cluster
Spreading codes determined randomly
Broadcast during advertisement phase
67
Steady-state phase
68
69
Node
Cluster-Head Node
X Node that has been cluster-head in the last 1/P rounds
Cluster Border
Conclusions
Advantages
Increases the lifetime of the network
Even drain of energy
Distributed, no global knowledge required
Energy saving due to aggregation by CHs
Disadvantages
LEACH assumes all nodes can transmit with enough power t
o reach BS if necessary (e.g., elected as CHs)
Each node should support both TDMA & CDMA
Need to do time synchronization
Nodes use single-hop communication
70
Reference
71
Chapter 4.4
Location Based Routing
72
Overview
73
4.4.1
GEAR
Geographical and Energy Aware Routing
74
75
77
BT= 5
F
CT=2
xH
h(C,T) = h(B,T)+c(C,B)
5
C
Ni
79
80
Inefficient Transmission
B
D
81
Non-Termination
B
A
C
L
F
82
Solution:
Node degree is used as a criteria to differentiate low d
ensity networks from high density ones
Choice of restricted flooding over recursive geographi
c forwarding if the receivers node degree is below a t
hreshold value
83
Conclusion
GEAR strategy attempts to balance energy consumpti
on and thereby increase network lifetime
GEAR performs better in terms of connectivity after i
nitial partition
84
References
4.4.2
GPSR
Greedy Perimeter Stateless Routing
86
87
88
89
x
y
90
91
D
v
|xD|<|wD|and|yD|
x will not choose to
forward to w or y
using greedy
forwarding
void
w
x
x
92
93
z
u
x originates a packet to u
Right-hand rule results in the
tour x-u-z-w-u-x
94
w
x
96
97
w
u
98
99
Key observation
v
100
Relative
Neighborhood Graph
(RNG)
GPSR
greedy fails
Greedy Forwarding
Perimeter Forwarding
greedy fails
103
Lf
e0
104
Lp
Conclusion
GPSRs benefits all stem from geographic routings us
e of only immediate-neighbor information in forwardi
ng decisions.
GPSR keeps state proportional to the number of its nei
ghbors, while both traffic sources and intermediate DS
R routers cache state proportional to the product of the
number of routes learned and route length in hops.
105
References
Chapter 4.5
QoS Based Routing
107
Overview
QoS is the performance level of service offered by a n
etwork to the user.
The goal of QoS is to achieve a more deterministic net
work behavior so that the information carried by the n
etwork can be better delivered and the resources can b
e better utilized.
In QoS-based routing protocols, the network has to ba
lance between energy consumption and data quality.
In particular, the network has to satisfy certain QoS m
etrics, e.g., delay, energy, bandwidth, etc. when delive
ring data to the BS.
108
Multimedia
Bandwidth, delay jitter & delay
Emergency services
Network availability
Group communications
Battery life
109
bandwidth
delay jitter
battery charge
processing power
buffer space
110
4.5.1
TBP (Ticket-Based Probing)
QoS of Bandwidth
111
Ticket-Based Probing
112
S
D
113
114
P1
(1 )
)
P4(2
j P
3(3
)
115
3)
P2(
2)
P3(
P1(1)
Demand = 3
S
3
B
2
6
x
2
116
5
E
Demand = 4
(1.1,3)
3
(1.1,3)
3
3
(1.2,1) 2
B
117
2
2
6
(1.2,1)
5
E
(1.2,1)
Demand = 4
(1.1,3)
(1.1.1,2)
3
(1.2,1)
B
118
(1.1.2,1)
(1.1.2,1) 5
(1.2,1)
2
2
6
(1.2,1)
T1
D
T2
T2
T1
119
T2
Demand = 4
x
3
(1,4)
(2.1,3)
(2.2,1)
x2
120
(2.1,3)
3
6
(2.1,3)
(2.2,1)
(2.1,3)
(2.2,1)
Conclusion
Conclusion (cont.)
122
References
123
References
124