You are on page 1of 5

LEACH-HPR: An Energy Efficient Routing Algorithm for Heterogeneous WSN

LIHan
School of Science, Beijing Information Science and Technology University
Beijing, P.R.China
E-mail: annelh@126.com

Abstract: In wireless sensor network, there are many hurdles As a result the cluster head nodes expire before other nodes.
takes place in providing quality of service routing to a desired However it is desirable to ensure that all the nodes run out
level. The majority of routing protocols in wireless sensor of their battery at about the same time, so that very little
networks concentrates on energy efficiency as a prime factor.
residual energy is wasted when the system expires. One way
Developing an energy-efficient routing protocol has a
to ensure this is to rotate the role of a cluster head randomly
significant impact on the overall lifetime and stability of the
sensor network. In this paper, we have considered three types
and periodically over all the nodes as proposed in LEACH
of sensor nodes. Some fraction of the sensor nodes are [1]. However the downside of using a homogeneous
equipped with the additional energy resources than the other network and role rotation is that all the nodes should be
nodes. We have assumed that all the sensor nodes are capable of acting as cluster heads, and therefore should
uniformly distributed. In the Heterogeneous WSN, we possess the necessary hardware capabilities.
proposed an energy efficient cluster head election protocol On the other hand, in a heterogeneous sensor network,
(LEACH-HPR) and using the minimum spanning tree two or more different types of nodes with different battery
algorithm to construct an inter-cluster routing. Simulation
energy and functionality are used. The motivation being that
results show out method is more efficient to reduce and
the more complex hardware and the extra battery energy can
balance energy consumption and hence prolong the lifetime of
WSN.
be embedded in few cluster head nodes, thereby reducing
the hardware cost of the rest of the network. However fixing
the cluster head nodes means that role rotation is no longer
Keywords: Heterogeneous, Energy Efficient, Wireless Sensor
possible. When the sensor nodes use single hopping to reach
Network, Routing, assistant-CH node
the cluster head, the nodes that are farthest from the cluster
heads always spend more energy than the nodes that are
1. INTRODUCTION closer to the cluster heads. On the other hand when nodes
A greater number of sensors allow for sensing over larger use multi-hopping to reach the cluster head, the nodes that
geographical regions with greater accuracy. These sensors are closest to the cluster head have the highest energy
can be networked in many applications that require burden due to relaying. Consequently there always exists a
unattended operations, hence producing a wireless sensor non-uniform energy drainage pattern in the network.
network (WSN). Many wireless sensor nodes are limited in Wei et.al[2] investigated the existing clustering
power, computation capabilities and memory. So they have algorithms. Smaragdakis et.al[3] have studied the impact of
low cost and small form factors; therefore, they can be heterogeneity of sensor nodes, in terms of their energy and
deployed in large numbers with high redundancy. In this proposed a heterogeneous-aware protocol to prolong the
way, the network can be made fault-tolerant. But, since time interval before the death of the first node, which is
nodes are deployed in a redundant fashion, power is the crucial for many applications where the feedback from the
most important resource for wireless sensor networks. sensor network must be reliable. Gupta et.al[4] introduced a
Since there is no fixed or predefined infrastructure in cluster head election method using fuzzy logic to overcome
WSNs, the simplest routing method is flooding, which not the defects of LEACH. They investigated that the network
only wastes energy of nodes but also diminishes the lifetime can be prolonged by using fuzzy variables in
throughput of the whole network. These inherent properties homogeneous network system.
have to be taken into considerations while designing energy In this paper, we have considered three types of sensor
efficient WSN routing protocols. nodes. Some fraction of the sensor nodes are equipped with
In homogeneous networks all the sensor nodes are the additional energy resources than the other nodes. We
identical in terms of battery energy and hardware have assumed that all the sensor nodes are uniformly
complexity. With purely static clustering (cluster heads once distributed. In the Heterogeneous WSN, we proposed an
elected, serve for the entire lifetime of the network) in a energy efficient cluster head election protocol and using the
homogeneous network, it is evident that the cluster head minimum spanning tree algorithm to construct an inter­
nodes will be over-loaded with the long range transmissions cluster routing.
to the remote base station(BS), and the extra processing
necessary for data aggregation and protocol co-ordination.

978-1-4244-6585-9/10/$26.00 ©2010 IEEE

507
II. NETWORK MODULE Since the cluster head node knows all the cluster
Consider the heterogeneous cluster-based wireless sensor members, it acts as local control centers to coordinate the
network with hundreds sensor nodes dispersed in a field. data transmissions in the cluster. The cluster head node sets
Base station, is located in the centre of the field remotely. up a TDMA schedule and transmits this schedule to the
Each cluster has one cluster head which acts as a local nodes in the cluster. This ensures that there are no collisions
control centre to coordinate the data transmissions. We have among data messages and also allows the radio components
assumed there are n nodes uniformly distributed in this field. of each non-cluster-head node to be turned off at all times
The nodes of the WSN can be represented by a dataset S, except during their transmit time, thus minimizing the
S= {S j , S2, . . . , Sn}, where n is the amount of nodes in dataset energy dissipated by the individual sensors.
S. In order to reduce the energy consumption of the cluster
For a first order radio module, the total energy for a heads which are far away from BS and balance the energy
transmitter to send a L-bit message over a distance d, energy consumption of the cluster heads which are close to BS, a
expanded by the radio is given by: multiple-hop routing algorithm of cluster head is presented,

d)--
{ L * Eelec + L* Gis *d2 if d � do
(1)
which introduces into the restriction factor of remainder
energy when selects the interim nodes between cluster heads
ETx (L,
L * Eelec + L* cmp * d4 lif d -

Where Eelec is the energy dissipated per bit to run the


> d
0 and BS, and also the minimum spanning tree algorithm is
included.
transmitter or the receiver circuit. ct' and Gmp depend on the
transmitter amplifier model, and d is the distance between A. Energy Model
the sender and the receiver. By equating the two expressions
We have assumed an area S= M* M m2 over which n nodes
at d=do. To receive an L-bit message the radio expends
are uniformly distributed. The sink is located in the centre of
ERx=L*Eelec.
the field, and that the distance of any node to the BS its
cluster head is .;;; do. Thus, the energy dissipated by the
III. ALGORITHMS cluster head node during a round is given by the following
WSN will enable reliable monitoring of remote areas. formula:
These networks are essentially data-gathering networks Eeh = ( � -l)*L* Eelee + � *L * EDA +L* Eelee +L*GI< *d�s (2)
where the data are highly correlated and the end-user
requires a high-level description of the environment the Where k is the number of clusters, EDA is the processing cost
nodes are sensing. Because the correlation is strongest of a bit report to the BS, and dBS is the average distance
among data signals from nodes located close to each other, between a cluster head and the sink. The energy used in a
we chose to use a clustering infrastructure which allows all non-cluster-head node is equal to:
data from nodes within the cluster to be processed locally, Enonch L * Eelec + L * Gjs * d�H
= (3)
reducing the data set that needs to be transmitted to the end­ where dCH is the average distance between a cluster member
user. and its cluster head.
In our algorithm, the heterogeneous WSN have three The total energy dissipated in the network is equal to:
types of nodes with different energy (type-A, type-B and
type-C node). The nodes organize themselves into local Et = L * (2n * Eelec + n * EDA + (k * d;s + n * d�lI» (4)
clusters, with one node acting as the Cluster Head (CH). All
If the distance of a significant percentage of nodes to the
non-cluster-head nodes must transmit their data to the
sink is greater than do then, we obtain:
cluster head, while the cluster head node must receive data
from all the cluster members, perform signal processing
functions on the data and transmit data to the remote base
kopt = /n
Vl;
�G &!'
mp

d;s
(5)

station. Therefore, being a cluster head node is much more


The optimal probability of a node to become a cluster
energy-intensive than being a non-cluster-head node.
head, Popt, can be computed as follows:
In cluster set-up phase, we give each node a timer
(6)
according to its remainder energy. The rule is, the more
remainder energy, the less time of its timer. Thus, node with The optimal communication radius R can be computed by
more remainder energy has less time than node with less S, the area of communication field and the kopt:

VGGmp
remainder energy. During this period, nodes who receive
1[
4 {2;
messages from other nodes will decide it is a non-cluster­ (7)
R .JMdss
head. Otherwise, the node has more remainder energy than
=

V --;;
n fs
others and it will be a cluster head node. In this way, the
energy load associated with being a cluster head is evenly
distributed among the nodes.

508
B. Cluster-Head Selection Phase threshold T(sl) and T(s2) are evaluated for type-A and type­
Most of the analytical results of previous research are B nodes.
obtained assuming that the nodes of the sensor network are Then, we select the cluster head according to the optimal
equipped with the same amount of energy. In this paper we communication radius R in Equation 7. To avoid setting up
have studied the impact of heterogeneity in terms of node the independent cluster head, which is not included in the
energy. We have described our developed model for a WSN communication area of any cluster, we choose the actual
with nodes heterogeneous in types of nodes in the sensor radius r (r=c*R, c>1). Give each node a timer according to
field with different energy (type-A, type-B and type-C node). its remainder energy. The rule is, the more remainder energy
Type-A and type-B are equipped with a and � times more the node has, the less time of its timer. Thus, node with
energy than type-C nodes. And m! and m2are the percentage more remainder energy has less time than node with less
of type-A and type-B nodes in the nodes set. Intuitively, remainder energy.
type-A and type-B nodes have to become cluster heads more At the beginning of the cluster head set-up phase, all
often than the type-C nodes. The new heterogeneous setting nodes start up its timer to count down, and broadcast an
has changed the total initial energy of the network. We have advertisement message-"I am the cluster head". For node S,
assumed the EA, EB, and Ec is the initial energy of type-C it can receive all messages from nodes in the area with
node, energy of type-A and type-B is as follows: radius r. If S receives a message before its timer counts
down, the status of node S is non-cluster-head. Otherwise, if
EA=Ec(1+a)
node S can't receive any message when time is out, it
EB=EcCl+�)
broadcasts an advertisement message-"I am the cluster
The total initial energy of the new heterogeneous network
head". This message is a small message containing node S's
setting is equal to:
ID, remainder energy and a header identifier that
Et n(l - m] - mz )Ec + nm] EA + nmz Es
=
distinguishes this message as an announcement message.
Let Q=m! a+m2� ' then Then the status of node S is the cluster head.
Et nEc (l+ Q)
= (8)
New epoch of the heterogeneous network is: C. Cluster Setup Phase
l+ Q
N =
(9) Each non-cluster-head node determines to which cluster it
e

Popt belongs by choosing the cluster head with the maximum


The new epoch Ne must be changed accordingly as the remainder energy, and that requires the minimum
energy of the system is increased. The stable region of the communication energy, based on the received signal
sensor network is increased by (l+Q) times. That is, (1) strength of the advertisement from each cluster head. First
each type-C node becomes a cluster head once every of all, non-cluster-head nodes calculate the approximate
(l+Q)IPopt rounds per epoch; (2) each type-A node becomes distance d between the sender nodes and itself based on the
a cluster head exactly (l+a) times every (l+Q)IPopt rounds received signal strength. The distance d should be unitary
per epoch; (3) each type-B node becomes a cluster head processed as follows:
exactly (1+�) times every (1+Q)/Popt rounds per epoch. Thus, 2
arctan(d) * -
the optimal selection percentage of each node is: 7r

P opt We introduce a competition parameter Cjoin. it calculates


PA = * (1 + a)
l+ Q as follows:

P opt
* (1 +
/3) C j in =
a * Eremainder + (1- a ) * (1- arctan(d) * 3..) (11)
Ps =

I+ Q
O
7r

where Eremainder is the remainder energy of the cluster head


P opt candidate.
Pc =
I+ Q

{
Each node decides to which cluster it belongs by the
We define T(sl), T(s2) and T(s3) are the threshold for type­ maximum Cjoin. After that, the node informs the cluster head
A, type-B and type-C nodes. Thus, for type-C nodes node that it will be a member of the cluster. Each node

if s3 E GP3 transmits a join-request message back to the chosen cluster


head. This message is a short message, consisting of the
T(s3)= I-P3(r mod �) (10)
node's ID and the cluster head's ID.
P3 Because the cluster head nodes consume their energy
o otherwise faster than other nodes, we must choose some assistant­
Where r is the current round, G is the set of type-A nodes cluster head (candidate-CH) nodes to assist the cluster
that have not become cluster heads within the last lip! head's work.
rounds of the epoch, and T(s3) is the threshold applied to a In each round, every cluster head node broadcasts to other
population of n*(1 -m r m2) type-C nodes. Similarly, nodes in its cluster, and these non-cluster head nodes will
send back their confirmation message to the cluster head.

509
The confirmation message contains the remainder energy E is the edge set, w is the right set of distances between to
Erem of this non-cluster head node. Each cluster head node nodes in V set. The main purpose is to utilize the Prim
sorts descending by Erem and chooses the top x stronger algorithm to find a minimum spanning tree (MST) in graph
nodes as the assistant-CH nodes. These assistant-CH nodes G, that is, the MST implement the multiple-hop, short­
assist the cluster head to gather, fuse information and assign distance communication between the cluster heads and BS,
tasks to other nodes. The flow is as follows: and find an optimal short-distance path in the cluster heads'
The cluster head node is numbered No. 1 CH node, other communication. Considering balance the energy
x stronger assistant-CH are numbered No. 2, . . . , No.(x+ 1) consumption of the cluster heads which are close to BS, we
nodes in descend order by Erem. The cluster heads act as choose the remainder energy as a restriction factor to select
local control centers to coordinate the data transmissions in the interim nodes between cluster heads and BS. The
their cluster. The cluster head node sets up a TDMA improved Prim algorithm is as follows:
schedule and transmits this schedule to the nodes in the Algorithm: Improved Prim algorithm
cluster. This ensures that there are no collisions among data Input: A weighted, undirected graph G=(V, E, w)
messages. The whole data transmission time is divided Output: A minimum spanning tree T
equally into m TDMA slots. In each TDMA slot, No. 1, T�<I>
No.2, . . . ,No.(x+l) node will gather, fuse information and Let BS be the first vertex from V to join T
transmit data to Base Station sequentially. The strategy of U� {BS}
using the collaboration of cluster head and assistant-CH while I U]<k do
nodes improves energy efficiency and prolongs the system Find UE U and VE V-U such that the edge (u, v) is a
lifetime. smallest edge between U and V-U
Figure 1 shows the process 0 f c1 uster-setup pIhase. if Eremainder of vertex v ;::.Eini/30% then
Select k cluster head nodes T�TU {(u, v)}

1 U�UU {v}
endif
non-cluster head nodes join the cluster
else if Eremainder of vertex v ;::.EAVG then
according to the value of distance d
and Eremainder
T�TU {(u, v)}
U�UU {v}
1 endif
else Find the next edge (u, v) with a smaller edge
choose assistant-CH nodes
between U and V- U
! Where Einitis the initial energy of a cluster head, and EAVG
CH and assistant-CH cooperate is the average remainder energy of all cluster heads.
together to balance the energy This improved Prim algorithm appears to spend most of
consumption and setup cluster
its time finding the smallest edge to grow. A straightforward
Fig 1. Process of Cluster-Setup Phase method finds the smallest edge by searching the adjacency
lists of the vertices in V; the each iteration costs Oem) time,
D. Routing Path Construction Phase yielding a total running time of O(mn).
In LEACH, cluster head transmit information to BS
directly, if cluster head is not far away from the BS, IV. SIMULATION RESULTS
LEACH will has favorable performance. By contraries, the
In the simulation test, we compare some indicators such
cluster head will consume lots of energy for long distance
as the network lifetime, the number of nodes alive and the
communication. This situation will speed up the death of
network energy consumption in protocol of LEACH,
cluster heads and shorten the lifetime of system. In order to
EECHE and our method (LEACH-HPR). Table 1 shows the
reduce the energy consumption of the cluster heads which
parameter list in the simulation test.
are far away from BS and balance the energy consumption
of the cluster heads which are close to BS, a multiple-hop TABLE I. PARAMETER LIST OF THIS SIMULATION TEST
routing algorithm of cluster head is presented, which
introduces into the restriction factor of remainder energy Parameters Value

when selects the interim nodes between cluster heads and Network field (0,0)-(100, I 00)
BS, and also the minimum spanning tree algorithm is Node members 200
included.
Sink position (20, 75)
In this section, we present some definitions and notations
that will be used later. The topology of a heterogeneous Initial energy I J

WSN is represented as a weighted graph G=(V, E, w) , Number of CH per round 5% of number nodes in cluster
where V is the cluster head node set, including the BS, and Number of assistant-CH per round 20% of number nodes in cluster

510
Length of transmitted message 2000 bit

V. CONCLUSION
The simulation has been done using NS2.
In this paper, LEACH-HPR introduced an energy
efficient cluster head election method and using the
200
.: ' improved Prim algorithm to construct an inter-cluster
.:': '-
<1)

'" 150 routing in the heterogeneous WSN. Simulation results show


� '- LEACH-HPR is more efficient to reduce and balance
"0
,
100
0

'-
"

0
energy consumption and hence prolong the lifetime of WSN.
i;
50
.0
E
g
ACKNOWLEDGMENT
0
0 150 300 450 500 750 1000 1200 1500 This work is supported by the Scientific Creative
number of rounds Platform Foundation of Beijing Municipal Commission of
Education (No. PXM2008_014224_067420), the 2010 level
Fig 2. Comparison of Network Lifetime of scientific research of improving project (No. 5028123900)
and the Science and Research Foundation (No. 1025023) of
Beijing Information Science and Technology University.
:::: 0.8
-go
1i 0.6
>
o REFERENCES
;: 0.4
o
� [I] W. Heinzelman, A. Chandrakasan and H. Balakrishnan. An
i1 0.2 Application-Specific Protocol Architecture for Wireless Microsensor
Networks. IEEE Transactions on Wireless Communications,Vol. I,
No. 4, October 2002.
150 300 450 500 750 1000 1200 1500
[2] Wei, D. , Kaplan, S. and Chan H .A. 2008 Energy Efficient Clustering
number of rounds
Algorithms for Wireless Sensor Networks. In Proceedings of IEEE
Communications Society (ICC 2008), pp.236-240.
Fig 3. Comparison of Network Overload
[3] Smaragdakis,G., Matta, I. and Bestavros, A. 2004 SEP: A Stable
Figure 2 and figure 3 shows the comparison of network Election Protocol for clustered heterogeneous wireless sensor
lifetime and network overload with protocol of LEACH and networks. In Proceedings of Second International Workshop on
EECHE [5]. The simulation results show that our method, Sensor and Actor Network Protocols and Applications (SANPA
compared with LEACH and EECHE, is more efficient to 2004), Boston, MA, August.
[4] Park, S.H.,Cho, J.S, Han,Y.1. and Chung,T.M. 2007 Architecture of
reduce and balance energy consumption and hence prolong
Context Aware Integrated Security Management Systems for Smart
the lifetime of WSN. The reason is our cluster-head Home Environments. APNOMS2007, LNCS 4773, October, pp.543-
selection method finds the cluster head reasonably in the 546.
field, and the cluster head broadcast message to setup [5] Dilip Kumar, T.C. Aseri, R.B Patel. EECHE: Energy-Efficient
cluster in the area with optimal communication radius. Cluster Head Election Protocol for Heterogeneous Wireless Sensor
Network. International Conference on Advances in Computing,
These can not only reduce the consumption of transmit
Communicaiton and Control(lCAC3'09), pp. 75-80
energy of cluster head, but also the consumption of
communication energy between non-cluster head, assistant­
CH and cluster head nodes.

511

You might also like