You are on page 1of 8

The Turkish Online Journal of Design, Art and Communication - TOJDAC

ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

ENERGY EFFICIENT HYBRID LEACH PROTOCOL FOR WIRELESS


SENSOR NETWORKS

Riasat Ali*
Institute of Communication Technology, University of Engineering & Technology, Peshawar, Pakistan.
*Author Correspondence Email: engineer_riasatali@yahoo.com

Frasat Ali
Electronic Engineering, Dawood University of Engineering & Technology, Karachi, Pakistan

Madiha Ikram
Dept. of Electrical Engineering, University of Engineering & Technology, Lahore, Pakistan

ABSTRACT
The energy efficiency of sensor nodes is an important issue to handle in distributed wireless sensor
network (WSN) for gathering massive information. In WSN, sensor node has drawn backs of limited
energy and shorter lifetime. Therefore, efficient network routing protocol should be developed to
minimize the energy dissipation while maximizing its coverage. In the proposed algorithm, the main
focus is to efficiently utilized the energy while communicating to base station (BS). Since location of
most BSs varies from nodes to nodes in sensing area, hence energy dissipation in sending data also
varies. Low-energy adaptive clustering hierarchy (LEACH) protocol is no doubt a good alternative but
its performance is not good always. A hybrid protocol is proposed, which optimizes the energy and
enhancing the coverage of nodes. A hybrid LEACH protocol is a combination of bacteria foraging
(BF) and particle swarm optimization (PSO). It enhances networks life time by making it energy
efficient.

Keywords: Wireless sensor network (WSN); bacteria foraging (BF); Particle swarm optimization
(PSO).

1. Introduction
The wireless sensor networks (WSNs) have sensing nodes (SNs) with limited power, memory and
computational capabilities. The applications of WSNs include local monitoring, fire-detection and
health care information. Mostly the usage of WNSs is in remote areas, where the replacement of dead
nodes or recharging is near to impossible task. Energy efficiency of a WSN is an important issue. For
enhancing the network lifetime, the clustering protocols mentioned in [1-6] can be used.

The SNs in a WSN can be combined in form of clusters. Each cluster is supervised by a leader named
as cluster head (CH), and each CH transmits data from SNs to BS. The author in [1] suggested a
clustering algorithm for WSN which is known as low energy adaptive clustering hierarchy (LEACH).
CHs in LEACH protocol are selected on random basis and this selection of CHs is constantly rotated
to distribute energy load along all node in the entire network. In LEACH protocol, to decrease the load
of transmitted data, the CH compresses the received data and transmit an accumulated packet to BS
[7-9].

LEACH-C [4] is a hierarchy based protocol in WSN. For the processing of LAECH-C some
complementary method is needed and it has also found an optimal solution. LAECH-C protocol is
further optimized using the bacteria foraging algorithm (BFA) for making clusters. In case, we employ
the position of the particles (e.g., nodes) with respect to local best position and global position, then
the LAECH-C provides the better results.

However, using BFA in combination with LEACH-C protocol, the iterative loops will be increased.
During the proceed loops, global position is often used in bacterium tumbling mode for tracking the
optimum global solution [5]. Thus the network lifetime is directly affected. But in the proposed hybrid
algorithm (i.e., BF-PSO), we can optimize this issue. This hybrid algorithm is also effective method of

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

forming better clusters in a network [6]. Because of the proposed hybrid technique, the lifetime of
nodes increases and decreases the transmission energy consumption. The main goal of the WSN is to
transmit data continuously and to maximize the network coverage [10-15]. By increasing energy in
different techniques, we can prevent connectivity of nodes. There are many challenges to construct an
efficient routing protocol discussed below;

1) Limited energy dissipation: In a WSN, nodes use their limited supply of energy to transmit
information. It is very important to conserve energy in form of communication as well as
computation. The lifetime of sensor nodes depends on the battery capacity. The sensing
network works on both ways: i) data sender and ii) data router [10-11]. Due to the failed
battery, most significant changes in topologies could occur. The functioning of some sensor
nodes can cause packets re-routing and network re-organization.

2) Node deployment: The node deployment in WSN affects the performance of routing protocol.
The sensor is placed in pre-determined path and data is routed in the deterministic deployment
but in random node deployment, an infrastructure of sensor nodes is created by scattering in
deterministic ad hoc manner [12].

3) Node Heterogeneity: There are some application of WSN in which various types of sensor
nodes are used. The data can be generated at different rates from different sensor. There can be
different types of data operating models that a network can follow and it can also be subjected
to different quality of service. The routing becomes more complex due to this kind of
heterogeneous environment [11, 13].

4) Coverage: In WSN the coverage of nodes means either sensing coverage or communication
coverage. In radio communication, the sensing coverage is less than the communication
coverage is significantly larger. In practical application, the sensing of coverage means that
how to detect an event or the information about the detection of an event. The interested
network area could be known as dense if it is under full coverage [11-13].

5) Fault Tolerance: In heterogeneous network some nodes may dead or could not transmit
because of limited power, bodily impairment, or bad weather condition. The aim is that under
all scenarios, the performance of the network should not be affected. Under sever
circumstances (failure of large number of node), the MAC and routing protocols should adjust
the new link formation and provides better routes for data collection from BSs. In order to
ensure this feature, we require active power and better signaling rate for the available links
[14-16].

6) Scalability of sensor nodes: The numbers of SNs in a WSN network can be in form of
hundreds or thousands, or more. It is a fact that each routing protocol is able to work with
large number of sensor nodes. Some routing protocols have ability to response an event. It is
seen frequently that the sensors are in a sleep mode until an event take place [10].

7) Quality of service: When a sensor node sense an event, then the data can be transmitted at that
specific time. In most of the condition quality of sense data is not much important than the
conserved energy and also the network coverage. To reduce the energy ingesting in the SNs,
the network required to reduce the quality of results. To overcome this problem, we need to
think about the energy conscious routing protocols [10].

Although LEACH-C protocol has been proved to provide good performance rather than LEACH, it
has many drawbacks too i.e. random selection of CH by centralized method degrades LEACH-C
performance and there are also many problems like energy consumption, it is not suitable for large
area and not suitable for densely deployed network non-uniform distribution of CHs.

To overcome the specified problems, we propose a hybrid LEACH protocol that combines the BFA
and PSO based routing. The energy consumption of the nodes during communication is minimized due
to this optimization clustering technique. It will be also used interchangeably with respect to the
network conditions that will result in enhancement of network’s lifetime and least power consumption.
Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

The researchers in the recent years have got great interest in energy aware routing in wireless sensor
networks. These RPs have two important considerations: i) energy efficiency and ii) data transmission
with QoS [15,16]. A compromise between these two considerations is the main topic of interest for the
research community.

The important issue raised by researchers [9-13] regarding the above mentioned protocols is the
formation of clusters in such a way as to minimize the energy dissipation and optimized the delay
constraint of the communication. The pivotal characteristics of distressing the cluster-formation and
communication between the CHs, both are the main research areas in the future. Some spatial queries
about the usage of distributed WSNs and the location-based RP is also an open issue, which should be
explored as well.

In literature [6-12], many protocols assume the SNs and the sink to be stationary. But, there are some
scenarios, i.e., for war environment in which the situation is different that the sink and SNs remain to
be in continuous motion. For such scenarios, we need to be frequently updated about the position of
the node (command and sensor) and circulate the information in the network. In doing so, we need lot
of energy consumption, which is not required for efficient network. To overcome that problem, we
need to develop a novel routing algorithms, which can handle all the above mentioned issues
efficiently.

The proposed hybrid (BFPSO) algorithm significantly improves the energy efficiency, network
coverage (lifetime), good time for stability and the more number of message packets can be
transmitted to BS in a heavily deployed WSN.
• Due to BFA by minimizing the SNs, we maximize the coverage within the network and the
SNs.
• We optimize the clusters by employing the Euclidean distance calculation.
• We choose such clusters which has central transceiver point selected from a group of SNs.
We optimize position of SNs within each individual cluster.

2. Hybrid BFPSO Algorithm


In order to optimize the network life time and efficient utilization of energy we propose a hybrid
algorithm based on principles of two optimization algorithms, PSO (Particle Swarm Optimization) and
BFA (Bacteria Foraging Algorithm). This hybrid algorithm is used in LEACH-C, clustering based
protocol to generate the optimal clusters. In LEACH-C the cluster head is selected and place at the
local/ global best position obtained using PSO.

In hybrid algorithm model as BFA is used which contain bacterial population chemo taxis, swarming,
reproduction, elimination, and dispersal are the main steps in this algorithm and PSO particle swarm
optimization is also implemented simultaneously in the proposed algorithm. The process is driven by
all steps of bacteria foraging algorithm but when chemotactic occur in that stage PSO will be proceed
in which position and velocities of particles are assigned. The flowchart of the BFPSO is shown in Fig.
1.

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

!
Fig.1. Flowchart of hybrid BFPSO algorithm

Step 1: Using the above algorithm initialize the parameters and values shown in table 1.

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

Step 2: Initializing the loop :


Step 3:Initializing reproduction loop :
Table 1. Parameter of proposed hybrid BFPSO algorithm
Parameters and initial values for simulation
S Represents the bacteria for searching, S = 100

! Swimming length, =4

! Maximum iterations in chemotactic loop, = 100

! Reproduction of bacteria, =4

! Elimination and dispersal, =2

! Probability value, = 0.25

C(i) Size, C (i)= 0.05


It start with an initial population of the bacteria denoted by bacterium at the
(i, j ,k,l)
chemotaxis , reproduction of .

W The inertia weight


Vi Velocity vector
, Cognitive acceleration factor

, Random numbers equally distributed in range of [ 0,1] for PSO

Step 4: Initializing of chemotaxis loop :


a) For take a chemotactic step for bacterium .
b) Generate a random vector Δ (i) ∈ with each element
(1)

In this when evaluate the , for every bacterium and .


In next step, the velocity and position is updated.
Step 5: The replica for the agreed and , for each . = define the
fitness of bacterium. Observe bacteria and chemotactic parameters in order of rising cost
(greater cost means lesser fitness). The represent the values of bacteria which have highest cost
.
Step 6: Due to eradication and scattering each bacterium, the number of bacteria in the populace
persist constant because if a bacterium is removed then there will be dispersion of one bacterium in
random location, for with probability .
Step 7: At the end of the process, if then go to step 1; otherwise end. Where denotes
elimination and dispersal steps.
3. Simulation Setup
In simulation the performance will be compared between ‘’total energy dissipation in nodes’’ and
‘’number of alive node’’. First in beginning 100 WSN nodes were randomly distributed un a spatial

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

region of 50x50 network area. In LEACH 5% of nodes have been taken as cluster-heads and each node
transmits 2000 bit in a round = 50 nJ/bit, = 100 nJ/bit and =100 nJ/bit .All parameters
are represented in table.

!
Fig.2. Radio model used for simulation.
For transmission of k bits message to a distance , the radio model for our simulation is given in Fig.
2.
(2)
(3)
where (k,d) denotes dissipation energy over distance d, (k) is the transmitter’s components
dissipated energy (k,d) is amplifier electronics consumed energy and is the energy
expended to drive the amplifier and transmitter circuitry.
Table 2. Network Parameter for Simulation
Simulation Parameters Defined Units

Nodes 100

Zone size 50mx50m

Chosen CH 5%

Battery energy 0.5J

bits sent in one round from 2000 bits


one node
Location of base station [25, -100]

50 nJ/bit

100 nJ/bit

4. Results and Discussion


Figure 3 show the comparison of LEACH-C, BFA LEACH-C and BFAPSO LEACH-C in terms of
coverage of the network and early energy. As it can be seen that the BFAPSO LEACH can form cluster
quickly by consuming low energy using tumble and bacteria and results in enhanced network lifespan.

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

2000

1800

1600

1400
Life Time(Seconds)

1200

1000

800

600

400
LEACH-C
200 LEACH-C with BFA
LEACH-C with BFPSO
0
0 1 2 3 4 5 6 7 8
! Energy(Joules)
Fig.3. Initial energy versus the life time of network

Figure 4 displays the performance in terms of total nodes active inline to the simulation run. From the
beginning each scheme contains equal nodes but nodes of LEACH-C survived for less than 600
seconds where the nodes of BFA LEACH-C survived for less than 1300 seconds. However, the nodes
remained alive for maximum time almost 1600 seconds only in BFPSO LEACH-C.
150
LEACH-C
LEACH-C with BFA
LEACH-C with BFPSO
Number of Nodes Alive

100

50

0
0 200 400 600 800 1000 1200 1400 1600 1800 2000

! Simulation Time(Seconds)
Fig.4. Simulation time versus the number of alive nodes

5. Conclusion
In this paper, we present the simulation results obtained using the proposed algorithm. It is clearly seen
from the simulation results that our proposed scheme BFPSO LEACH-C shows better performance
compared to the classical schemes. The performance improvement is seen in terms of energy

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication
The Turkish Online Journal of Design, Art and Communication - TOJDAC
ISSN: 2146-5193, September 2018 Special Edition, p.1999-2006

efficiency. Furthermore, it enhances the network life time and the expected coverage of the network as
was expected.

Acknowledgements
Authors would like to thank Prof. Noor Sheikh and other research student for providing thorough
discussion throughout the completion of this research journey.

REFERENCES
1. N. Dimokas, D. Katsaros, Y. Manolopoulos, “Energy-efficient distributed clustering in
wireless sensor networks”, Journal of Parallel and Distributed Computing, vol. 70, no. 4,
(2010), pp. 371- 383.
2. Kemal Akkaya, Fatih Senel, Brian McLaughlan, “Clustering of wireless sensor and actor
networks based on sensor distribution and connectivity,” Journal of Parallel Distribution
Computation, vol. 69, no. 6, (2009), pp. 573-587.
3. Xin Gu, Jiguo Yu, Dongxiao Yu, Guanghui Wang, Yuhua Lv, “ECDC: An energy and coverage-
aware distributed clustering protocol for wireless sensor networks”, Computers and Electrical
Engineering, vol. 40, no. 2, (2014), pp. 384–398.
4. Zhixin Liua, Qingchao Zheng, Liang Xue, Xinping Guana, “A distributed energy-efficient
clustering algorithm with improved coverage in wireless sensor networks”, Future Generation
computer systems, vol. 28, no. 5, (2012), pp. 780-790.
5. Chung-Horng Lung, Chenjuan Zhou, “Using hierarchical agglomerative clustering in
wireless sensor networks: An energy efficient and flexible approach” Ad Hoc Networks, vol. 8,
no. 2, (2010), pp. 328–344.
6. Pengfei Zhang, Gaoxi Xiao a, Hwee-Pink Tan, “Clustering algorithms for maximizing the
lifetime of wireless sensor networks with energy-harvesting sensors”, Computer Networks,
vol. 57, no. 14, (2013), pp. 2689–2704.
7. Yan Jin, Ling Wang, Yoohwan Kim, Xiaozong Yang, “EEMC: An energy-efficient multi-level
clustering algorithm for large-scale wireless sensor networks”, Computer Networks, vol. 52,
no. 3, (2008), pp. 542–562.
8. Wendi B. Heinzelman, Anantha P. Chandrakasan, Hari Balakrishnan, “An Application-
Specific Protocol Architecture for Wireless Microsensor Networks” IEEE Transaction on
Wireless Communications, vol. 1, no. 4, (2002), pp. 660-670.
9. S. Selvakennedy, S. Sinnappan, Yi Shang, “A biologically-inspired clustering protocol for
wireless sensor networks,” Elsevier Computer Communications, vol. 30, no. 14, (2007), pp.
2786– 2801.
10. K.M. Passino, “Biomimicry of Bacterial Foraging for Distributed Optimization and Control,”
IEEE Control Systems Magazine, vol. 22, no. 3, (2002), pp. 52–67.
11. Abd-Elazim and E.S. Ali, “Synergy of Particle Swarm Optimization and Bacterial Foraging
for TCSC Damping Controller Design,” WSEAS Transactions on Power Systems, vol. 8, no. 2,
(2013), pp. 74-78.
12. B. Pitchaimanickam, S. Radhakrishnan, “Bacteria Foraging Algorithm based clustering in
wireless sensor network”, Proceedings of the IEEE International conference on Advanced
Computing (ICoAC13), (2013) December 18-20, pp. 18-20.
13. A. –A. Rasoul, “A new hybrid bacterial foraging and simplified swarm optimization algorithm
for practical optimal dynamic load dispatch,” Electrical Power and Energy Systems, vol. 49,
(2013), pp. 414–429.
14. M. N. Khan and M. Jamil, “Performance Improvement in Lifetime and Throughput of LEACH
Protocol,” Indian Journal of Science and Technology, vol. 9, no. 21, (2016), pp. 1-6.
15. M. N. Khan and Jamil, “Maximizing Throughput of Free Space Communication Systems
Using Puncturing Technique,” Arabian Journal for Science and Engineering, vol. 39, no. 12,
(2014), pp. 8925-8933.
16. M. N. Khan, H. K. Hasnain and M. Jamil, “Digital Signal Processing: A Breadth-first
Approach”, Rivers Publishers, Denmark, (2016), pp. 221–247.

Submit Date: 05.07. 2018, Acceptance Date: 22.08.2018, DOI NO: 10.7456/1080SSE/268
Research Article - This article was checked by Turnitin
Copyright © The Turkish Online Journal of Design, Art and Communication

You might also like