FLECH : Fuzzy Logic Based Energy Efficient Clustering Hierarchy for Nonuniform Wireless Sensor Networks

Lifetime ofWireless SensorNetwork (WSN) is an important issue which affects its implementation in various real time applications. Themajor factor behind the energy consumption inWSN is its data collection mechanism.The direct data transmission from each sensor node to the Base Station (BS) consumes more energy than other alternatives. Also it is unnecessary, due to redundant data transmission because of geographically closer nodes. Clustering is the best data collection architectural model for WSN since it takes care of in-network processing which handles redundant data within the network.The techniques used for the network having uniform node distribution are not suitable for the networks which have nonuniformly distributed nodes. This paper contributes a novel clustering algorithm: Fuzzy Logic Based Energy Efficient Clustering Hierarchy (FLECH) for nonuniformWSN.The clusters in FLECH are created using proper parameters which increases the lifetime of the WSN. Fuzzy logic in FLECH is wisely used to combine important parameters like residual energy, node centrality, and distance to BS for electing best suitable nodes as CH and increases the network lifetime. FLECH performance is verified in different scenarios and the results are compared with LEACH, CHEF, ECPF, EAUCF, and MOFCA. The simulation results clearly indicate the lifetime increase by FLECH over other algorithms and its energy conservation per round of data collection in the network.


Introduction
Wireless Sensor Networks (WSN) are made up of hundreds to thousands number of small miniature sensor nodes interconnected with each other.A sensor node is made up of three subsystems such as sensing unit, processing unit, and communication unit [1].The sensing unit has different types of sensors to measure various atmospheric parameters such as temperature, pressure, light, and sound.Typically, a sensor node is equipped with more than one type of sensor.The processing unit consists of a microcontroller which processes the data generated by the sensing unit.The communication unit is made up of a transceiver chip along with an antenna for enabling data communication among the neighbour sensor nodes or directly with the BS.Apart from the above-mentioned subsystems, a sensor node has a battery unit which is mostly a pair of alkaline batteries for providing power supply to all the above-mentioned subsystems.In terms of energy consumption, communication unit consumes more energy than other units due to transmission, reception, and amplification of data signals [2].When the battery of a node gets drained, then the node is called as dead.
Direct data transmissions from individual sensor nodes in the network lead to higher energy consumption among the nodes, redundant data transmissions to the BS, and reduced network lifetime.To the best of our knowledge, clustering is the best suitable architecture model for solving the above-mentioned problems [3].The nearby nodes in the Area of Interest (AOI) form a cluster and elect a cluster head (CH) for managing the clustering activities.A CH is having the responsibilities like collecting information from the members, aggregating the received information, and communicating aggregated information to central Base Station (BS).Lots of clustering algorithms are being proposed for WSN which elects CHs through pure probabilistic approach or a weight based approach.Some protocols elect CHs by blending the above two approaches.Both, pure probabilistic and weight based approaches fail in achieving an increased lifetime of the network.The probabilistic approach elects CHs without considering the various lifetime parameters such as energy level, number of neighbour nodes, and intra-and intercluster distance.Due to these reasons, nonsuitable nodes get elected as CHs which affects the lifetime of the WSN.
Weight based approach elects CHs by considering the abovementioned lifetime parameters, but it leads to election of the same nodes as CHs frequently and leads to First Node Die (FND) soon.Since stability of the network is calculated using FND metrics, it should be increased as far as possible.It is found that the algorithms which blend probabilistic approach and weight based approach give better results than following any one approach [4].
Fuzzy Approach.Various computational intelligence (CI) techniques [5] like neural network (NN), Particle Swarm Optimization (PSO), Genetic Algorithms, and so forth are widely used in WSN for various issues.Generally fuzzy logic (FL) [6,7] is used to solve uncertainties in the system.By using FL, a system can be optimized without the need of complete information about it.There are three significant parts in FL as shown in Figure 1.It consists of fuzzifier, fuzzy decision block (FDB), and defuzzifier block.FDB is made up of rule base and fuzzy inference system.Fuzzifier block converts the given crisp input value into the appropriate fuzzy linguistic variable.Based on the rule base, FDB block will map the set of input linguistic variables to the output linguistic variables.Finally, defuzzifier block converts the fuzzy output variable into the crisp output using a suitable defuzzification method.
Fuzzy Logic Based Energy Efficient Clustering Hierarchy (FLECH), a new clustering algorithm for nonuniform WSN using the fuzzy approach, is proposed in this paper.FLECH uses residual energy, node centrality, and distance to BS to compute the chance of electing a node as CH.Compared with other fuzzy based clustering algorithms, it blends probabilistic approach and weight based approach in the right manner to elect CHs in the network.
The clustering algorithms for WSN are briefly surveyed in Section 2. In Section 3, the proposed algorithm FLECH is described in detail; Section 4 explains the experimental setup and Section 5 gives an analysis over the results.

Related Works
Low Energy Adaptive Clustering Hierarchy (LEACH) [8] is a distributed clustering algorithm for WSN.It has two phases: setup phase and steady state phase.At first, in the setup phase, each node will decide itself to act as CH or not in the current round.Factors such as the number of times a node got elected as CH in the last  rounds and the percentage of desired CHs will influence the decision.Each node selects a value between 0 and 1.If the value is less than () as mentioned in (1), the node elects itself as CH and advertises among its neighbours.In (1),  denotes the sensor node, desired CH percentage on the network is denoted by , and set of non-CH in the last  rounds is represented by set : ,  ∈  0 otherwise. ( Remaining nodes join the nearest CH nodes by sending Join Req message.Each CH node generates separate Time Division Multiple Access (TDMA) schedule for their newly formed clusters.In steady state phase, data generated by member nodes are forwarded to their CHs in the allotted time slots.Each CH aggregates the received data and forwards the aggregated data to the BS.In LEACH, the probabilistic way of electing CHs results in the election of unsuitable nodes as CHs which affects the lifetime of the network.
In Hybrid Energy Efficient Distributed (HEED) protocol [9], CHs are elected based on the residual energy of the nodes.Whenever there is a tie between two nodes because of the equal residual energy level, the number of neighbour nodes, that is, node degree or distance with the neighbour nodes, is used for CH election.Due to the consideration of residual energy and node degree for CH election, HEED [9] provides better performance than LEACH.Equation (2) depicts the CH probability of a node in HEED. Residual represents residual energy,  max represents the initial maximum energy of a node, and  Prob is the random number between 0 and 1 in the following: Gupta et al. [10] proposed the implementation of fuzzy logic for electing CHs in WSN.Three input parameters, residual energy, node degree, and node centrality, are used for CH election.Like in other centralized algorithms, all nodes have to communicate their current residual energy frequently to BS which again increases communication cost.Also the proposed work suffers from scalability issue which is not suitable for large scale WSN.
Cluster head election using fuzzy logic (CHEF) [11] is a distributed clustering algorithm using fuzzy logic approach for WSN.During the start of a round, CHEF elects tentative CHs using probability approach.The final CHs are elected from tentative CH list using residual energy and local distance of the nodes.The sum of distance from all one-hop neighbours to a node  is the local distance of the node .Fuzzy if-then rules are used to evaluate the fuzzified input values.The output variable chance is the potentiality of a node to act as CH.Sensor nodes which got higher chance value will be finally elected as CH.The input fuzzy variable local distance is not a suitable variable for all network sizes and because of this, CHEF suffers a lot in network size apart from 200 m × 200 m.
Energy aware distributed dynamic clustering protocol using fuzzy logic (ECPF) [12] is another fuzzy approach based algorithm for WSN.ECPF has two phases: setup and steady state phase.CH election and cluster formation will happen in setup phase.TDMA frame generation and data collection happen during the steady state phase.Node degree and node centrality are the two input variables and fuzzy cost is the output variable.Each node in the network will be waiting for a delay time which is inversely proportional to its residual energy.After expiration of delay time, if a node does not receive any tentative CH message from its nearby nodes, then it broadcasts a tentative CH message containing its id, fuzzy cost, and its status as tentative CH.If there is no other node within its cluster range with lesser fuzzy cost value, it declares itself as the CH and broadcast final CH message within its cluster range.
Energy aware unequal clustering using fuzzy approach (EAUCF) [13,14] is also a distributed clustering algorithm for WSN.Residual energy and distance to BS are considered for CH election in EAUCF.Initially during a round, tentative CHs are chosen by using random number generation.Fuzzy inference system (FIS) in EAUCF is used to obtain competition radius for the tentative CH nodes.Each tentative CH will broadcast its residual energy and check the existence of any other tentative CH node within its competition radius.If two such tentative CHs are present within the competition radius of either one node, the nodes having lesser residual energy will quit from CH competition.In CH election, an important parameter like node degree is not considered which may lead to election of CH with fewer and distant neighbours.This results in higher intracluster communication cost and reduces the lifetime of the WSN.
A multiobjective fuzzy clustering algorithm (MOFCA) [15] is a distributed clustering algorithm for WSN.FIS in MOFCA uses residual energy, distance to sink, and node density to compute the competition radius of tentative CH.Like in EAUCF, at the start of a round tentative CHs are elected using randomized approach.Then the competition radius of each tentative CH is computed using its FIS.Finally, all tentative CHs check whether any other tentative CHs exist within its competition radius, if so, it withdraws from the CH competition or else it elects itself as CH.Particularly, MOFCA is designed to be suitable for nonuniform network.It uses 27 different output linguistic variables to compute the competition radius.
Though the above presented algorithms prove improvement in increasing lifetime, yet its performance in nonuniform node deployment is poor.The nonuniform node distributions have a dense concentration of nodes in some areas and scarce number of nodes in other parts of AOI.Though both the fuzzy algorithms CHEF and ECPF elect the CH based on a weight value generated through the fuzzy engine, the CH role is found to be not properly rotated among the nodes in nonuniform network.In CHEF, local distance parameter is not a suitable input parameter for electing CHs.When a node is having too many numbers of neighbours, local distance also increases, which reduces its chance of becoming CH.But it is well proved that nodes which are having more neighbours are more suitable to be elected as CH.In ECPF, the tentative CHs are elected using residual energy and final CHs are elected using fuzzy approach.The static parameters such as node degree and node centrality are taken as input for ECPF's FIS for computing fuzzy cost.Here the major problem is that the same set of nodes are having higher chances of frequently getting elected as CH.This affects the stability period of the network with very earlier First Node Die (FND).In the case of EAUCF, residual energy alone decides the election of final CH from tentative CH.The very important parameter like number of neighbours and the location of CH within a cluster is not considered in EAUCF.The key features in FLECH are as follows: (i) It is a fuzzy based distributed algorithm designed for nonuniform node distribution in WSN.
(ii) Fuzzy logic is wisely used to elect the CHs nodes by taking into account the factors such as residual energy, node centrality, and distance to BS of the nodes.
(iii) The probabilistic approach is blended suitably with weight based approach for electing suitable CHs.

Proposed Algorithm
FLECH is designed for nonuniform WSN, which ensures proper rotation of CH among all the eligible nodes in the network.

Network Assumptions
(i) Homogenous network is assumed where all nodes are having equal capabilities in terms of processing power, sensing area, and so forth.
(ii) All nodes are having the same energy level at the time of deployment.
(iii) The nodes are static after deployment in their AOI.
(iv) Received Signal Strength Indicator (RSSI) is used to calculate the distance between nodes.
(v) After deployment, all nodes broadcast a HELLO message which contains its ID within its communication radius   .Through this HELLO message only, the number of neighbours and their distance are calculated by each node separately.
(vi) The BS also broadcasts a HELLO message in which its location details are attached.
(vii) Energy depletion alone is the reason behind node death.

Fuzzy System in FLECH.
Residual energy, node centrality, and distance to BS are the input variables in FLECH.
(i) Residual Energy.It is an important factor for electing a node as CH since a CH node has to spend more energy than a member node.A CH node collects data from members, aggregates the collected data, and communicates it to BS.So, competent energy level is required for a CH for executing the above-mentioned activities.
(ii) Node Centrality (NC).Total number of one-hop adjacent nodes within   of a node is called node degree.Node centrality is a factor which determines how a node is located in the middle among its neighbours.Lower NC value gives more chance of electing a node as CH: In ( 3) ND (node degree) corresponds to number of neighbours within the communication radius   of a node and Ntk Dimension value is "" in  ×  field area and dist  2 represents distance with the th neighbor node.That is, in 100 m × 100 m field area, Ntk Dimension is 100 and 200 m × 200 m field area and Ntk Dimension is 200.
(iii) Distance to BS.The energy consumption for transmitting data increases with the increase in distance between transmitter and receiver nodes.From an energy conservation perspective, the distance between CH and BS should be minimized: In (4)   is the distance between node  and the BS,  max is the maximum distance between a node in the network and the BS, and  is the network dimension specific constant.
FLECH has one output variable Chance.
(i) Chance.It is a crisp output value based on which CH capability of a node is determined.The higher chance value represents higher chance of a node in getting elected as a CH.Low, Medium, and High are the fuzzy linguistic variables for residual energy as shown in Figure 2. Close, Reachable, and Distant for node centrality and Nearby, Average, and Far for distance to BS are shown in Figures 3 and 4, respectively.Low, High, Close, Distant, Nearby, and Far follow trapezoidal membership function, whereas Medium, Reachable, and Average follow triangular membership function.
The output variable chance has nine output linguistic variables and they are very low, low, rather low, low medium, medium, high medium, rather high, high, and very high.In this very low and very high follow trapezoidal membership function.The remaining output linguistic variables follow triangular membership function.Figure 5 shows the chance membership functions.
The crisp input values are converted into fuzzy linguistic variable based on the given membership function in FIS.Then the fuzzy if-then rules developed based on Mamdani [16] method are used to map the input variables to appropriate fuzzy output variables.In total, 27 fuzzy if-then rules are presented in Table 1.The crisp output values are obtained using Center of Area (CoA) method.

Clustering
Process.FLECH has two operative phases: (i) cluster formation phase and (ii) data collection phase.

Cluster Formation Phase.
At the start of a round, each node has to generate a random value between 0 and 1.The nodes whose generated random value is less than the predetermined threshold value  thres are elected as a probationary CH node.The probationary CH nodes will compute their chance value using FIS and broadcast Probationary CH message to all nodes coming under their communication  The aggregated data will be finally reported to BS from CHs. Figure 6 depicts the phases in FLECH.During a frame, a member node will transmit data to CH only once.All the CHs should be in wake-up state all through the time unlike member nodes.All these activities of CH lead to increased energy consumption.In order to achieve balanced energy consumption, CH role is rotated among the nodes.Equation (5) shows the total energy spent during data collection from sensor nodes.TE =  intra-cluster +  inter-cluster , In ( 6),  mem-CH is the energy for data transmission from members of the corresponding CH,   represents data reception energy, and  DA represents data aggregation energy in CHs nodes.
In (7),  represents the number of clusters,  is the number of members within a cluster, and   (, CH  ) is the transmission energy cost from node  to its CH in the th cluster.Equation (8) represents the total data aggregation energy in the network where  is the number of bits and  perdatabit represents the aggregation energy for a single data bit in (8).In (9) the intercluster energy consumption is represented.
Equation ( 10) represents the energy consumption at a CH node under the condition when CH is merely acting as a gateway node for the members and does not generate any data on its own. denotes total number of nodes in the network,  is the number of clusters,  elec is the electronics energy, and  is the distance between transmitter and receiver in the following: Equation (11) represents the energy consumption at a CH node when the CH node is also involved in sensing activities and generates the data.In general, BS is assumed to be located outside the AOI and distance between CH and BS is larger.So the multipath loss   is considered for the CH to BS communications: The energy consumption at a member node is depicted in (12).Since the distance between a member and its CH node is minimum, free space loss   is considered for member to CH communications.FLECH algorithm is shown in Algorithm 1.

Experimental Setup
The  The communication model used in [13] is followed in this experimental setup also: Receiving energy,   =  ⋅  elec .
In (13),  denotes the number of transmission bits,  elec is the electronics energy or circuit loss,   represents power loss in free space propagation model and   represents the power loss in multipath propagation model,  represents the distance between transmitter and receiver nodes, and  0 is the threshold distance for determining whether free space or multipath propagation is going to be followed.Table 2 depicts the simulation values for various parameters.The control messages are associated with cluster formation activities.The data messages are the data sent by member nodes to CH and from CH to the BS.Data message is of the size of 4000 bits which is much larger than control messages which are only 200 bits.During a frame in the round, the members will be transmitting its data to the CH in its time slot.At the end of each frame, the aggregated data from CH will be communicated to the BS.The data aggregation energy is  DA = 5 nJ per bit.And in a frame only one data packet will be transmitted from a member to the CH.The transmission and reception cost will be subtracted in the respective node's energy level.
The desired CH percentage for LEACH is 0.1 in all four scenarios. opt in CHEF, EAUCF, and MOFCA is set at 0.3.The threshold value  thres in FLECH is set as 0.1 since it gives better results.  of the sensor nodes is set as 25 m like in MICA motes for all the scenarios.  is mainly used for finding number of neighbours within that radius and forming the clusters with that as boundary radius.But when a node gets elected as CH, it is capable of sending data to distant points away from   by increasing its transmission power.So the direct data transmission from CHs to the BS is possible.In all the simulations, for all the clustering algorithms, the CHs are directly transmitting the aggregated data to the BS.All the results presented are based on 100 simulation runs in our simulator.For each scenario and for each case under that scenario, 10 simulation runs are conducted in different network topology and totally 100 simulations are conducted for all four scenarios.
A simulator is developed in MATLAB for comparing the performance of FLECH with other clustering algorithms such as LEACH, CHEF, ECPF, EAUCF, and MOFCA in nonuniform node distribution condition.The nonuniform node deployment is done manually by arranging more number of nodes in certain areas and very less number of nodes in some other areas.The fuzzy inference system (FIS) is built using the toolbox environment in MATLAB for FLECH, MOFCA, EAUCF, ECPF, and CHEF.

Results and Analysis
The results are analysed with respect to the following two categories.
Network Lifetime.Various metrics are there to denote the lifetime of the WSN.But here, First Node Die (FND) and  Half Node Die (HND) are used to compare and analyse the network.FND is the number of completed rounds till the death of the first sensor node in the network and HND is equal to death of 50% of sensor nodes.FND has been considered since the stability period depends on it.After 50% of nodes die, the reliability of the network is completely lost.So the lifetime is considered up to HND only.
Average Energy Consumption per Round.The average energy consumption during a round in all the clustering algorithms till First Node Die (FND).The FND is taken since it represents the stability period of the network.
FLECH is evaluated with LEACH, CHEF, ECPF, EAUCF, and MOFCA by FND and HND in all the four scenarios mentioned.

Network Lifetime.
In all the scenarios, ECPF suffers a lot because of pure metric based election of CH which is not suitable for a nonuniform network.In the case of ECPF, the highly suitable nodes are frequently elected as CH which causes premature death of certain nodes.LEACH comes next to ECPF whereas LEACH elects CH through pure probabilistic way.FLECH gives better improved performance than all other algorithms in all the scenarios and this happened because of consideration of various factors like residual energy, node centrality, and distance to BS for electing a CH node.FLECH ensures the proper rotation of CH responsibility among all the nodes through the initial probabilistic way of electing the probationary CH and metric based final CH election.Also, FLECH is designed in such a way it is suitable for various sizes and scale of the network.

Scenario 1. Figures 9 and 10 depict the network lifetime
in Scenario 1 with network size of 100 nodes and 200 nodes, respectively.Comparing with other scenarios, more rounds are achieved in this scenario due to the location of BS at the centre of AOI.FLECH performance is better than all other clustering algorithms because of its appropriate input variables.CHEF achieves increased lifetime than EAUCF, MOFCA, and ECPF.In both EAUCF and MOFCA, the output fuzzy variable is competition radius, where the competition for CH occurs between tentative CHs within that competition   radius.But in CHEF and FLECH, the output fuzzy variable is the chance of a tentative CH to become a CH node.Also, it is observed from Figures 9 and 10 that increasing the number of nodes in AOI increases FND considerably.But in the case of LEACH and ECPF, an increase in the number of nodes reduces its FND because of their respective pure probabilistic and weight based approaches.Table 3 depicts the simulation results for Scenario 1.In a 100-node setup, considering FND, FLECH increases network lifetime compared to LEACH by 107%, CHEF by 1.9%, ECPF by 29.1%, EAUCF by 9.27%, and MOFCA by 8.59%.On considering HND, FLECH is better than LEACH by 11.31%, CHEF by 3.25%, ECPF by 3%, EAUCF by 7.53%, and MOFCA by 9.04%.

Scenario 2.
This scenario corresponds to location of BS outside the AOI in 100 m × 100 m setup.As like in Scenario 1, here also two different network sizes of 100 and 200 nodes are considered.Figure 11 shows network lifetime for 100 nodes setup and Figure 12 depicts network lifetime for 200-node setup.FLECH shows increased FND compared to other algorithms in both cases.In case of HND, EAUCF and MOFCA show slight improvement over FLECH.8 shows the average energy consumed per round by the clustering algorithms for Scenarios 3 and 4. Also it is observed from Table 8 that when the number of nodes increases, average energy consumption difference between FLECH and other algorithms also increases which proves that FLECH is scalable with network size than others.All the specified values in Tables 7 and 8 are in Joules.

Scalability Analysis.
To verify the scalability of FLECH, simulations are conducted in the larger AOI of 1000 m × 1000 m area with 1000 nodes.In this case also, BS is located within and outside the AOI.In both cases, FLECH is better than other algorithms in HND condition and FND condition is nearly the same for all the algorithms.Table 9 depicts FND and HND for 1000-node setup.

Complexity Analysis.
There are  numbers of nodes in the network, so it takes maximum of  fuzzy computation for getting the chance value of each node.At the worst case, it may take ( − 1) numbers of comparison of chance for a node to get elected as CH.So in total, ( − 1) number of computations occurs for CH election.In Big  notation, FLECH complexity is of ( 2 − 1) which is again equal to ( 2 ).

Conclusion and Future Works
This paper proposed an algorithm FLECH for clustering nonuniform WSN based on fuzzy logic approach.FLECH improves the WSN network lifetime because it takes into account various important parameters that affect the energy consumption by nodes.It is observed that high residual energy alone is not a suitable parameter for electing CHs in nonuniform node deployment.FLECH combines probabilistic and metric based CH election techniques with suitable parameters for CH election in nonuniform WSN.FLECH is simulated along with other clustering algorithms in various scenarios with different network sizes.It is observed from the simulations that when the network size increases FLECH is giving better performance than other algorithms and proves to be scalable.In future, the performance of FLECH may be increased by including more parameters such as coverage redundancy and number of hops between CH and BS.

Figure 2 :Figure 3 :
Figure 2: Fuzzy set for the input variable residual energy.

Figure 7 :
Figure 7: Representative network snap shot with BS in the middle of AOI.

Table 1 :
FLECH fuzzy if-then rules.Figure 4: Fuzzy set for the input variable distance to BS.radius   .The Probationary CH message will contain details such as node id and chance value.If a probationary CH receives Probationary CH message with higher chance than its own, it withdraws from CH competition by broadcasting Quit CH message; otherwise it broadcasts the Elected CH message to all nodes within radius   .Non-CH nodes join the nearest CH by sending Join Req message.Finally, the newly elected CH nodes generate the TDMA schedule for their members and broadcast it.
3.3.2.Data Collection Phase.The newly elected CHs will be broadcasting TDMA schedule to its members.Then, member nodes send the data to their respective CH only during the allotted time slots.In other time slots, they are in the sleep state to conserve energy.The CH nodes after collecting data from all its members aggregate into a single data message.

Table 3 :
FND and HND for 100 and 200 nodes.

Table 4
depicts the simulation results for Scenario 2.
Like Scenario 3, in Scenario 4 also deployment area is the same, that is, 200 m × 200 m, but the BS is located outside the AOI in Scenario 4. Comparing with all other scenarios, in this scenario number of rounds will be very less due to long distance BS from the nodes.FLECH performance is better than others in this scenario also.CHEF shows betterment than other fuzzy clustering algorithms such as MOFCA, EAUCF, and ECPF and comes next to FLECH.Pure weight based CH election affects the network lifetime of ECPF a lot.Figures16, 17, and 18 depicts the network lifetime of 200-, 300-, and 400-node setup, respectively.Table 6 depicts the simulation results for Scenario 4. In a 200-node setup, considering FND, FLECH increases network lifetime compared to LEACH by 150%, CHEF by 31.57%,ECPF by 212.5%, EAUCF by 92.30%, and MOFCA by 92.30%.On considering HND, FLECH is better than LEACH by 34.78%, CHEF by 29.16%, ECPF by 88.69%, and EAUCF by

Table 7 :
Average energy consumption per round in Scenarios 1 and 2. Average Energy Consumption per Round.Table7depicts the average energy consumption per round by all the clustering algorithms in Scenarios 1 and 2. It includes the cluster formation cost and intracluster and intercluster energy cost for all the frames during a round.Comparing with other clustering algorithms LEACH gives the poor performance because of poor clustering.Most of the times in LEACH, the unsuitable nodes are getting elected as CH which leads to higher intracluster and intercluster communication cost.It can be observed from the table that the average energy consumption by FLECH is less than other algorithms in all the cases.Table

Table 8 :
Average energy consumption per round in Scenarios 3 and 4.