LEACH Ad Hoc
LEACH Ad Hoc
LEACH Ad Hoc
1. Introduction
Recent advances in MEMS-based sensor technology,
low-power analog and digital electronics, and low-power
RF design have enabled the development of relatively inexpensive and low-power wireless microsensors [2, 3, 4].
These sensors are not as reliable or as accurate as their expensive macrosensor counterparts, but their size and cost
enable applications to network hundreds or thousands of
these microsensors in order to achieve high quality, faulttolerant sensing networks. Reliable environment monitoring is important in a variety of commercial and military
applications. For example, for a security system, acoustic,
seismic, and video sensors can be used to form an ad hoc
The base station is fixed and located far from the sensors.
All nodes in the network are homogeneous and energyconstrained.
The use of clusters for transmitting data to the base station leverages the advantages of small transmit distances
for most nodes, requiring only a few nodes to transmit
far distances to the base station. However, LEACH outperforms classical clustering algorithms by using adaptive
clusters and rotating cluster-heads, allowing the energy requirements of the system to be distributed among all the
sensors. In addition, LEACH is able to perform local computation in each cluster to reduce the amount of data that
must be transmitted to the base station. This achieves a large
reduction in the energy dissipation, as computation is much
cheaper than communication.
ETx(d)
k bit packet
Transmit
Electronics
Tx Amplifier
Eelec* k
amp* k * d2
ERx
k bit packet
Receive
Electronics
Eelec* k
Energy Dissipated
50 nJ/bit
100 pJ/bit/m2
radio expends:
ETx (k; d) = ETx,elec (k ) + ETx,amp (k; d)
ETx (k; d) = Eelec
k + amp k d
(1)
k
(2)
n nodes
There have been several network routing protocols proposed for wireless networks that can be examined in the
context of wireless sensor networks. We examine two such
protocols, namely direct communication with the base station and minimum-energy multi-hop routing using our sensor network and radio models. In addition, we discuss a
conventional clustering approach to routing and the drawbacks of using such an approach when the nodes are all
energy-constrained.
Using a direct communication protocol, each sensor
sends its data directly to the base station. If the base station is far away from the nodes, direct communication will
require a large amount of transmit power from each node
(since d in Equation 1 is large). This will quickly drain the
battery of the nodes and reduce the system lifetime. However, the only receptions in this protocol occur at the base
station, so if either the base station is close to the nodes, or
the energy required to receive data is large, this may be an
acceptable (and possibly optimal) method of communication.
The second conventional approach we consider is a
minimum-energy routing protocol. There are several
power-aware routing protocols discussed in the literature [6,
9, 10, 14, 15]. In these protocols, nodes route data destined ultimately for the base station through intermediate
nodes. Thus nodes act as routers for other nodes data in
addition to sensing the environment. These protocols differ in the way the routes are chosen. Some of these protocols [6, 10, 14], only consider the energy of the transmitter
and neglect the energy dissipation of the receivers in determining the routes. In this case, the intermediate nodes
are chosen such that the transmit amplifier energy (e.g.,
ETx,amp (k; d) = amp k d2 ) is minimized; thus node
A would transmit to node C through node B if and only if:
ETx,amp (k; d = dAB ) + ETx,amp (k; d = dBC )
< ETx,amp (k; d = dAC )
or
(3)
(4)
Base
Station
r
Figure 2. Simple linear network.
r)
k + amp k (nr)
= Eelec
2 2
= k (Eelec + amp n r )
(5)
(6)
, 1)Eelec + amp nr
Eelec
amp
>
r2 n
2
(7)
100
90
50
45
40
35
80
Direct
70
MTE
60
50
40
30
30
20
25
10
20
15
50
100
150
200
250
300
Time steps (rounds)
350
400
450
500
10
0
25
20
15
10
10
15
20
Figure 5. System lifetime using direct transmission and MTE routing with 0.5 J/node.
25
0.55
Direct
|
v
MTE >
0.5
0.45
0.4
0.35
0.3
0.25
0.2
1
0.8
100
0.6
x 10
80
60
0.4
40
0.2
Electronics energy (Joules/bit)
20
0
Figure 4. Total energy dissipated in the 100node random network using direct communication and MTE routing (i.e., Edirect and
EMTE ). amp = 100 pJ/bit/m2 , and the messages are 2000 bits.
50
45
40
Ycoordinate
35
30
25
20
15
10
0
25
20
15
10
10
15
20
25
10
15
20
25
Xcoordinate
50
45
40
Ycoordinate
35
30
25
20
15
10
0
25
20
15
10
Xcoordinate
Thus, clustering appears to be an energy-efficient communication protocol. However, the local base station is assumed to be a high-energy node; if the base station is an
energy-constrained node, it would die quickly, as it is being heavily utilized. Thus, conventional clustering would
perform poorly for our model of microsensor networks.
The Near Term Digital Radio (NTDR) project [12, 16], an
army-sponsored program, employs an adaptive clustering
approach, similar to our work discussed here. In this work,
cluster-heads change as nodes move in order to keep the
network fully connected. However, the NTDR protocol is
designed for long-range communication, on the order of 10s
of kilometers, and consumes large amounts of power, on the
order of 10s of Watts. Therefore, this protocol also does not
fit our model of sensor networks.
1.1
45
40
0.9
50
35
30
25
20
15
10
0.8
0.7
0.6
0.5
0.4
Direct Trans
0.3
LEACH
5
0
25
0.2
20
15
10
10
15
20
25
0.1
10
20
30
40
50
60
70
80
90
100
50
45
Figure 8. Normalized total system energy dissipated versus the percent of nodes that are
cluster-heads. Note that direct transmission
is equivalent to 0 nodes being cluster-heads
or all the nodes being cluster-heads.
40
35
30
25
20
15
10
0
25
20
15
10
10
15
20
25
Direct
MTE
LEACH
0.8
0.7
0.9
0.6
0.5
0.4
0.3
0.8
0.6
Direct >
0.4
0.2
LEACH
v|
0
1
0.8
0.2
200
0.6
x 10
150
0.4
0.1
100
0.2
20
40
60
80
100
120
140
160
180
50
0
200
Figure 9. Total system energy dissipated using direct communication, MTE routing and
LEACH for the 100-node random network
shown in Figure 3. Eelec = 50 nJ/bit, amp =
100 pJ/bit/m2 , and the messages are 2000 bits.
0.6
0.5
< MTE
0.4
0.3
0.2
0.1
LEACH
v|
0
1
0.8
200
0.6
150
0.4
100
0.2
50
0
100
90
80
70
Number of sensors still alive
In addition to reducing energy dissipation, LEACH successfully distributes energy-usage among the nodes in the
network such that the nodes die randomly and at essentially
the same rate. Figure 11 shows a comparison of system
lifetime using LEACH versus direct communication, MTE
routing, and a conventional static clustering protocol, where
the cluster-heads and associated clusters are chosen initially
and remain fixed and data fusion is performed at the clusterheads, for the network shown in Figure 3. For this experiment, each node was initially given 0.5 J of energy. Figure 11 shows that LEACH more than doubles the useful system lifetime compared with the alternative approaches. We
ran similar experiments with different energy thresholds and
found that no matter how much energy each node is given,
it takes approximately 8 times longer for the first node to
die and approximately 3 times longer for the last node to
die in LEACH as it does in any of the other protocols. The
data from these experiments is shown in Table 2. The advantage of using dynamic clustering (LEACH) versus static
clustering can be clearly seen in Figure 11. Using a static
clustering algorithm, as soon as the cluster-head node dies,
all nodes from that cluster effectively die since there is no
way to get their data to the base station. While these simulations do not account for the setup time to configure the
dynamic clusters (nor do they account for any necessary
routing start-up costs or updates as nodes die), they give
a good first order approximation of the lifetime extension
we can achieve using LEACH.
x 10
Direct
60
MTE
50
Static Clus
40
LEACH
30
20
10
200
400
600
800
Time steps (rounds)
1000
1200
1400
Figure 11. System lifetime using direct transmission, MTE routing, static clustering, and
LEACH with 0.5 J/node.
50
45
40
Protocol
Direct
MTE
Static Clustering
LEACH
Direct
MTE
Static Clustering
LEACH
Direct
MTE
Static Clustering
LEACH
0.25
0.5
Round first
node dies
55
5
41
394
109
8
80
932
217
15
106
1848
Round last
node dies
117
221
67
665
234
429
110
1312
468
843
240
2608
T (n) =
where P
,P (rmod P1 )
if n 2 G
otherwise
Ycoordinate
35
Energy
(J/node)
30
25
20
15
10
0
25
20
15
10
0
Xcoordinate
10
15
20
25
that have not been cluster-heads in the last P1 rounds. Using this threshold, each node will be a cluster-head at some
point within P1 rounds. During round 0 (r = 0), each node
has a probability P of becoming a cluster-head. The nodes
that are cluster-heads in round 0 cannot be cluster-heads for
the next P1 rounds. Thus the probability that the remaining
nodes are cluster-heads must be increased, since there are
fewer nodes that are eligible to become cluster-heads. After P1 , 1 rounds, T = 1 for any nodes that have not yet
been cluster-heads, and after P1 rounds, all nodes are once
again eligible to become cluster-heads. Future versions of
this work will include an energy-based threshold to account
for non-uniform energy nodes. In this case, we are assuming that all nodes begin with the same amount of energy
and being a cluster-head removes approximately the same
amount of energy for each node.
Each node that has elected itself a cluster-head for the
current round broadcasts an advertisement message to the
rest of the nodes. For this cluster-head-advertisement
phase, the cluster-heads use a CSMA MAC protocol, and all
cluster-heads transmit their advertisement using the same
transmit energy. The non-cluster-head nodes must keep
their receivers on during this phase of set-up to hear the advertisements of all the cluster-head nodes. After this phase
is complete, each non-cluster-head node decides the cluster
to which it will belong for this round. This decision is based
on the received signal strength of the advertisement. Assuming symmetric propagation channels, the cluster-head
advertisement heard with the largest signal strength is the
cluster-head to whom the minimum amount of transmitted
A
C
Figure 13. Radio interference. Node As transmission to node B corrupts any transmission
to node C.
communication in a nearby cluster. For example, Figure 13 shows the range of communication for a radio. Node
As transmission, while intended for Node B, corrupts any
transmission to Node C. To reduce this type of interference,
each cluster communicates using different CDMA codes.
Thus, when a node decides to become a cluster-head, it
chooses randomly from a list of spreading codes. It informs
all the nodes in the cluster to transmit using this spreading
code. The cluster-head then filters all received energy using
the given spreading code. Thus neighboring clusters radio
signals will be filtered out and not corrupt the transmission
of nodes in the cluster.
Efficient channel assignment is a difficult problem3, even
when there is a central control center that can perform the
necessary algorithms. Using CDMA codes, while not necessarily the most bandwidth efficient solution, does solves
the problem of multiple-access in a distributed manner.
6. Conclusions
References
Acknowledgments
The authors would like to thank the anonymous reviewers for the helpful comments and suggestions. W. Heinzelman is supported by a Kodak Fellowship. This work was
funded in part by DARPA.
10