Professional Documents
Culture Documents
Wireless sensor network are placed in everyday homogeneous network [2]. For large range of networks
activities for environmental monitoring, industrial LEACH cannot be considered and using LEACH there
monitoring applications. Wireless sensor network are is a problem in selecting the cluster head based on
LEACH is one of the clustering routing protocols the network by saving the energy of the nodes and the
to select cluster head of a node using energy and data from the nodes in a cluster are aggregated by the
threshold conditions. Selection of a node is not based cluster head and sends to the base station. Few attacks
on amount of energy, which could cause problem in like Sybil attack, selective forwarding, and hello
selection to give priority to low power node. If low flooding attack degrades the LEACHs performance
power node is not used efficiently, more number of by dropping, spoofing, replying or altering the data
nodes has to be taken to form a cluster. LEACH cannot packets. Clusters are distributed unevenly and divided
be used for larger networks because it uses the single randomly. If the cluster head dies data would never
hop clustering routing. Nodes with low energy, elected reach the base station.
as CH could cause energy holes and coverage D-HEED is used in order to avoid threshold
H-LEACH uses remaining and maximum derive a second channel head that is used to send
energy of the nodes to select a channel head for each information to Base station using TDMA mechanism.
round. The proposed algorithm is used to find the life Line 5 describes about energy constraints used to
time of the nodes in terms of rounds when the determine probabilistic value that is used to obtain
proposed threshold and energy conditions are threshold in later stage. Line 6 initiates end terms of a
considered. The nodes with energy less than minimum loop process for max number of rounds. In line 7, the
energy required for sending and receiving signal will initial energy of each node is set. Line 8 considers
die as it lacks energy to do it. threshold value that is used to estimate channel head of
The following algorithm briefly explains the a node. Line 9 considers a random number between 0
logical part of the code used to find the life time of a to1 and compares it with threshold value to determine
network with proposed H-LEACH protocol. channel head. In line 10, it is checked if the random
number picked is less than threshold and node has
A. Design and Function enough energy to transmit data. Line 11 indicates the
The following flow chart describes the working of assignment of first channel head. Line 12 describes
H-LEACH protocol. When the network enters the about reducing the Etr from energy of the node.
setup phase, Ep, the probability of using energy Line13 and 14 increments the process to next round,
considerations is calculated by using Emax, Cp and line 15 starts the whole process again from line 8. Line
Ep, then the average energy of all the nodes are 16 indicates the plotting of a graph between alive
calculated. Then the threshold value is calculated. A nodes and number of nodes.
the corresponding node is assigned as cluster head if E=(e1,e2,e3.,en), r= number of rounds, Ech= Energy
its energy is more than that of the average energy. The of channel head,e0 = initial energy of each node,
energy required for data transmission is deduced from Eavg= Average energy of all nodes in particular
the energy of the node in every round. When the cluster., Ep= Probability using energy considerations,
energy falls below the minimum value, it is declared to Er= reaming energy, Etr= energy required for
Lines 1 to 3 describe different parameters used in energy of a node, TDMA= Time division multiple