- Open Access
- Total Downloads : 130
- Authors : K. Yogitha, Dr. V. Alamelumangai
- Paper ID : IJERTV3IS051881
- Volume & Issue : Volume 03, Issue 05 (May 2014)
- Published (First Online): 31-05-2014
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Hybrid Approach for Energy Optimization in Wireless Sensor Networks
,
1Research Scholar, Department of E&I, Annamalai University
2Professor,
Department of E&I, Annamalai University
Abstract: In wireless sensor network the main issue is power consumption and lifetime of network. This can be achieved by selection of proper cluster heads in a cluster based protocol. In cluster based networks, the selection of cluster heads and its members is an essential process which affects energy consumption. A hybrid clustering approach is proposes to minimize the energy of the network so the life time of WSN can be increase. The cluster based firefly and ABC algorithm are implemented for energy optimization. Then by combining the concept of both algorithm forms a hybrid algorithm. Using this hybrid algorithm the energy of network can be saved and hence the life of network increased. Performance and analysis results approve that the proposed hybrid algorithm presents promising solutions on WSN routings.
Keywords: Wireless sensor networks, Cluster based routing, Artificial Bee Colony algorithm, Firefly Algorithm
transmit and receive modes, will change the advantages of different protocols. In this work, a simple model is assumed where the radio dissipates Eelec= 70 nJ/bit to run the transmitter or receiver circuitry and amp = 120 pJ/bit/m2 for the transmit amplifier to achieve an acceptable Eb/N0 ( Figure 2.1 and Table 2.1). These parameters are slightly better than the current state-of-the-art in radio design. It also assumes an r2 energy loss due to channel transmission. Thus the algorithm is developed to transmit a k-bit message, a distance d using our model.
For these parameter values, receiving a message is not a low cost operation; the protocol thus should try to minimize not only the transmit distances but also the number of transmit and receive operations for each message.
Operation |
Energy dissipated |
Transmitter Electronics (ETx- elec) Receiver Electronics (ERx-elec) (ETx elec = ERx elec=Eelec) |
70 nJ/bit |
Transmit amp ) |
120 pJ/bit/ m2 |
Table 2.1 Radio characteristics
-
INTRODUCTION
Wireless sensor network (WSN) have gained world-wide attention in recent years due to the advances made in wireless communication, information technologies and electronics field. At present, most available wireless sensor devices are considerably constrained in terms of computational power, memory, efficiency and communication capabilities due to economic and technology reasons. Thats why most of the research on WSNs has concentrated on the design of energy and computationally efficient algorithms and protocols. Wireless sensor networks consist of a number of sensor nodes. Sensor nodes are powered only by irreplaceable batteries with limited energy. Processor of sensor nodes has limited processing power and communication channels used for them are in low bandwidths. By considering these limitations of sensor nodes, efficient techniques are required for reliable communications. Not only the good communication is required but also the network life time should be long as much as possible in the applications of wireless sensor networks.
ETx(d)
K bit
Txelec
Tx amp
Eelec*K *K*d2
d
Rx elec
K bit
-
BASIC MODEL
Currently there is a great deal of research in the area of low energy radios. Different assumptions about the
.radio characteristics [5], including energy dissipation in
Fig.2.1. Basic model
This paper makes the assumption that the radio channel is symmetric such that the energy required to transmit a message from node A to node B is the same as the energy required to transmit a message from node B to node A for a given SNR. It also assumes that all sensors are sensing the environment at a fixed rate and thus always have data to send to the end user. For future versions of these protocols, it will implement an event-driven simulation, where sensors only transmit data for some event occurs in the environment.
-
RELATED WORK
a. Direct Communication
In wireless sensor network the most conventional approach for data communication was direct transmission protocol [3]. In direct transmission approach all the nodes sends data directly to base station. There are no intermediate nodes for data reception, data aggregation and then sending data to the base station. So if the base station is very far away from the sensor nodes then it will require more energy to send data to the base station (because d will be more in equation 1). This large amount of energy consumption will cause early die of battery and hence reduces the system lifetime.
Base station (BS)
d1
d2 d3 d4
Fig.3.1.Direct communication
Energy is proportional to the square of the distance in transmitting according to first order radio model:
equation 1. So LEACH introduces the concept of randomization rotation of cluster head position so that energy consumption of particular nodes (CHs) will reduces and the system life time increases significantly. This concept will not drain the battery of single nodes earlier.
Sensor nodes find themselves as cluster heads in given round depends on the cluster probability. So cluster head selection in LEACH is probabilistic which is depends on the following equation:
T(n) = (2)
Where T(n) denotes threshold value, n no. of nodes P denotes clustering probability
R denotes current round
G is the set of nodes that have not been cluster head in the last rounds.
Based on this threshold value few nodes will be selected as cluster head. After formation of cluster all member nodes send data to the cluster head and cluster head gets data, aggregates data and send these data to the base station which is far away from the sensor network.
c. Firefly Algorithm
Firefly algorithm is a nature inspired algorithm means inspired from the social behavior of fireflies that how they use their flashing light characteristics for the communication among each other. The flashing light can be formulated in such a way that it is associated with the objective function to be optimized, which makes it possible to formulate new optimization algorithms [1, 2].
ETx
d2 (1)
For describing the firefly algorithms we can use these three idealized rule: (i). All fireflies are unisex so that one firefly will be attracted to other fireflies regardless of their
b. LEACH Protocol
LEACH (Low energy Adaptive clustering hierarchy) is a cluster based protocol. It uses randomization to distribute energy load evenly among the sensors in the network [3]. In LEACH, the nodes arrange themselves into local clusters where one nodes in each cluster behaves as cluster head or local base station [5,6]. In this approach all the nodes in the clusters sends data only to their respective cluster head and these cluster head collects data from their member nodes, aggregates data and then sends these data to the base station which is far away from the sensor network.
Being cluster head drains the battery of that node, this is because according to the first order radio model in each round cluster head gets data from their member nodes which causes dissipation of energy while receiving data (ERx) and also these cluster head have to send data to the base station which is very far away from the network in each round causes moe energy dissipation because greater value of d in
sex. (ii). other feature of fireflies is to glow brighter and brighter to attract potential prey and share food with other fireflies and these brightness is determined by the objective function. (iii). Attractiveness is proportional to their brightness so fireflies which are less bright will move towards the more brighter fireflies. Attractiveness and brightness of fireflies will decreases as the distance increases. But if there is no brighter fireflies than a particular firefly then that firefly will move randomly in the environment. Based on these three idealized rules pseudo code of fireflies algorithm is generated.
-
Artificial Bee Colony (ABC) algorithm
Artificial bee colony algorithm is a swarm-based artificial intelligence algorithm which is inspired by intelligent foraging behavior of honey bees [9, 10]. In the ABC algorithm, there are three bee groups: onlookers, scouts, and employed bees where each bee represents a position in the search space. When the network consists of n
cluster-head sensors, the bees fly in the search space with n dimensions. The ABC employs a population of bees to find the cluster-heads. The position of a food source represents a possible solution to the optimization problem and the nectar amount of a food source corresponds to the quality (fitness) of the associated solution.
Proposed fitness function for ABC:
The fitness of cluster heads selection is stated as a fitness value, which is in inverse proportion to the amount of energy consumption for a tour. Energy consumption is calculated by multiplying transmitting power (Ps) and the transfer time (t) using equations (3) and (4).In the equations, m is the number of nodes, i is the node index, is the distance between node and cluster head, b is the distance between cluster-head and the base, and E is the transfer energy of the cluster. Considering multiple clusters, the calculation of minimum energy consumption emphasizing the effect of distances will be as in Eq. (5) expressing sum of the energy consumptions of clusters. In the equation, j is the cluster index, is the distance between node and
cluster-head, and is the distance between cluster- head and the base.
E = (3)
Ew. (4)
Since there are multiple clusters, so the calculation of minimum energy consumption is emphasizing the effect of distances.
(5)
According to these considerations, fitness function ) is expressed by Eq. (6) (simply inverse of the energy consumption) and the constraints given in Eq. (7).
= (6)
(7) IV PROPOSED HYBRID APPROACH
In wireless sensor network all the sensors have limited energy. So our main objective is to implement such algorithm for which the lifetime of the network increases significantly. This paper implements hybrid approach for increasing the lifetime of the network. The proposed hybrid approach will take the advantage of firefly and ABC algorithm to improve the lifetime of the network. In cluster head selection a concept is introduced through which if a cluster head current energy is greater than the energy required for cluster head in that round then only that node will be eligible for cluster head otherwise that node will not be cluster head in that round. The steps of proposed hybrid algorithm are presented below:
Step 1: Initialization
Initially provide all the constant value which is used in the matlab code. They are network area, base station location, number of nodes in the network, initial energy provided to each nodes, data aggregation energy required in each round, transmitter and receiver electronics (Eelec) and transmitter amplifier ( ), number of rounds (Rmax), clustering probability and number of bits transferred (Kb).
Step 2: Generation of sensor network
Now network will be generated with the given number of nodes. Each node gets their position based on the random location generated by rand command.
Step 3: round begins
In this step we first initialize the value of dead is equal to zero and then check the energy of each node, if energy of node is equal to zero then we increment dead value by one. Then randomly generate the total number of clusters and CH based on the given probability value and save the result in a structure. After formation of cluster find the distance of each node with each CH and join the cluster in which cluster head is nearest than other CH. Then find whether first node is dead or not if first node dead then go to step 5 else go to step 4.
Step 4: Energy based switching
Now in this step first initialize the value of optimization round. Now compare the energy of the current CH with the other nodes in the cluster, if the energy of the node is more than the CH then that node will be eligible for the CH means location of cluster head changed as like firefly change their location if attracted towards more brighter firefly. After becoming new CH again clustering done, and comparison process runs till the given optimization round value in that current round.
While comparing if the energy of the CH is more than the node then the CH will not be changed in that optimization round. Now go to step 6
Step 5: Random selection of cluster head
Here we randomly select cluster head in each optimization iteration based on the given clustering probability and get the fitness value. Here we are not doing energy based switching for getting cluster head; cluster head selection is random in this step.
Step 6: Fitness value calculation
Now we find the fitness value in that optimization rounds for that the clusters.
CH (8)
Where CH(k).fit gives the fitness value and CH(k).E gives the energy of the current CH whereas M(k) is given as the
sum of square of distances of all the nodes with their corresponding CH in addition with distance of CH with the base-station.
Step 7: Getting best CHs
Now in this step we first store the fitness value for the clusters of previous optimization round along with the fitness value for the clusters of the current optimization round. After storing the values get the fitness values in descending order and choose top k cluster-head for the further process and this step goes on and finally we will get the best possible set of CHs.
Step 8: Ratio calculation
Here after getting the best cluster head we need to find the ratio of the current energy of that cluster head to the energy required for a cluster head for the transmitting and receiving process in that round. If the ratio is more than one or present energy is more than energy required then that nodes are eligible for cluster head and further process continues otherwise that nodes are not eligible for cluster head and go back to step 4 for further getting best cluster head.
Step 9: Energy consumption
After getting best possible CHs, all the nodes starts sending data to their respective CHs. Cluster-head collects these data and aggregate these data and sends it to the Base- station. All nodes update their energy and then algorithm goes back for the next round. Energy consumption is calculated as:
For transmitting data
ET-x=Eelec*Kb + *d2 *Kb (9)
Where Kb is the number of bits sent and d is the distance between CH and node. For receiving data
ER-x=Eelec*Kb (10)
V.RESULTS AND ANALYSIS
In designing the wireless sensor network in all the protocols, the following assumptions are made
-
The destination i.e., base station is located far away from the sensing field.
-
Sensors and the base station are all stationary after deployment.
-
Every node in the field has the initial energy of 0.5Jouls.
-
All nodes are homogeneous and each node is assigned an unique identifier.
-
All links are symmetric.
-
Rmax (no. of rounds taken) = 1200.Evaluation is made based on the following three metrics: Number of nodes
alive, Residual energy of the network and Throughput of the network
Graphical analysis:
Fig.51
. Sensor network
Fig.5.1 Explains the random distribution of the 100 nodes in the given sensing area. Nodes are randomly distributed in the given 100*100 network whereas base station is placed at (50,150) location.
Alive nodes comparison
Fig.5.2 Alive nodes comparison
Fig.5.2 shows the comparison of alive nodes of hybrid algorithm along with all the conventional algorithms. From the above figure one can conclude that more number of nodes alive for longer duration in the case of hybrid algorithm. So hybrid algorithm is better than all the algorithms discussed which increases the lifetime of the network.
Fig.5.3 throughput
Fig 5.3 shows the Throughput comparison of Hybrid algorithm along with Firefly, ABC, Leach and DT.
Above fig tells that in initial round more bits of data sent through Firefly algorithm but after few rounds more bits of data sent through Hybrid algorithm. In Overall, Hybrid algorithm will send more bits of data than any other algorithm throughout the process. So Hybrid algorithm is better than all other algorithms. Their energy is optimized and overall lifetime of network also increases in the case of hybrid algorithm.
Fig 5.4 residual energy
Fig 5.4 presents the Residual energy comparison of Hybrid, Firefly, ABC, Leach and DT algorithm. From the above graph one can conclude that the energy is optimized more in the case of hybrid algorithm than any other algorithms.
Fig 5.5 residual energy comparison of among all algorithms
Above bar chart shows that the residual energy of the network is more in the case of hybrid algorithm after 350 rounds than any other algorithms. The improvement in residual energy in the case of hybrid algorithm with other algorithms are given below
%improvement in residual energy = *100 (11)
Where RH = residual energy (In Joule) of the network using hybrid algorithm after 350 rounds. RO = residual energy (in joule) of the network using other algorithm taken one at a time like DT, leach, ABC, Firefly.
VI CONCLUSION
This paper discusses the proposed hybrid algorithm with algorithms like Leach, ABC and firefly. By taking the advantages of ABC and Firefly algorithm along with adding one more parameter which is the ratio of Energy required in current round to the energy available to the CHs in that round (should be greater than one) the Hybrid Algorithm is proposed. This hybrid approach increased the life-time of the network. First node dies slightly later than firefly in hybrid. Hybrid algorithm also sends more bits of data than any other algorithms because more number of nodes alive in the case of hybrid algorithm for longer duration.
REFERENCES
-
Xin-She Yang, Nature-Inspired Metaheuristic Algorithms Second Edition, Published in 2010 by Luniver Press, ISBN-10: 1-905986-28- 9
-
J. Senthilnath, S.N. Omkar, V. Mani, Clustering using firefly algorithm: Performance study, Swarm and Evolutionary Computation 1 (2011) 16417
-
Wendi RabinerHeinzelman, Anantha Chandrakasan, and HariBalakrishnan ,Energy-Efficient Communication Protocol forWireless Microsensor Networks, Proceedings of the 33rd Hawaii International Conference on System Sciences 2000
-
SurafelLulesegedTilahun and Hong ChoonOng, Research Article Modified Firefly Algorithm, Hindawi Publishing Corporation Journal of Applied Mathematics Volume 2012, Article ID 467631, 12 pages doi:10.1155/2012/467631
-
M. J. Handy, M. Haase, D. Timmermann, Low Energy Adaptive Clustering Hierarchy with Deterministic Cluster-Head Selection, IEEE_MWCN2000
-
A.H. Gandomi a, X.-S. Yang b, S. Talataharc,, A.H. Alavi d, Firefly algorithm with chaos, Commun Nonlinear SciNumerSimulat 18 (2013) 8998.
-
Michaleacardi t. thai Weiliwu, university of texas, Energy efficient target coverage in wireless sensor networks. O-7803-8968-9-05, 2005 IEEE
-
Jennifer yick Biswanath Mukherjee, DipakGhosal, Wireless sensor network survey, University of California ,J. Yick et al. / Computer Networks 52 (2008) 2292233