A New Energy Efﬁcient Multitier Deterministic Energy-Efﬁcient Clustering Routing Protocol for Wireless Sensor Networks

: Wireless Sensor Networks (WSNs) may be incorporated with thousands of small nodes. This gives them the capability to effectively sense, communicate, and compute parameters. However, the security and life span of a WSN node is a primary concern. This paper is focused on introducing a mathematical model of a modiﬁed Multitier Deterministic Energy-Efﬁcient Clustering (DEC) based on novel election multi-tier random probability protocol for agricultural WSNs to enhance the life span of a WSN node along with a comparison of it with existing DEC protocol. In the proposed model, the selection of cluster heads, (CH), is done based on the energy drain pattern and location of the sensor nodes, which increased the lifespan of sensor nodes. In addition, several WSN probabilistic routing protocols to save energy throughout data transmissions like Low Energy Adaptive Clustering Hierarchy (LEACH), Power-Efﬁcient Gathering in Sensor Information Systems (PEGASIS), DEC, and Stable Election Protocol (SEP) are explained. Moreover, it has been found that, after some mathematical modiﬁcation in existing DEC routing, it will be capable to give a more positive result and reduce the energy drain in WSN nodes using a selective cluster head technique based on residual energy of sensor nodes. The DEC protocol is also compared with our proposed modiﬁed protocol for showing the energy-efﬁciency. The energy efﬁciency of clustering is associated with the ﬁeld of energy sustainability of wireless sensor networks which is in the scope of Symmetry journal.


Introduction
Wireless sensor networks (WSN) have gained popularity due to its applications and ease of installation [1,2].These networks are used for the collection and transmission of various parameters depending upon its application.WSNs are self-organized and self-maintained due to its powerful operating system and consume less power and operational time.These networks reorganize by pre-programmed instructions based on the predefined parameter's quantity and place.A new DEC network with its structure and other parameters have been investigated in this work.A task-specific application has been proposed with a new routing protocol.The proposed protocol will have random nodes, which will be placed at different distance locations within the radio signal range.The radio range will depend on the environment and the life expectancy of the node.The power generated by the node is adjusted according to the required radio range and data bandwidth.One of the most important factors is to increase the life span of the WSN by utilizing the data arriving from the network system without considering neighboring nodes-for example, leftover vitality of individual hubs.The model experiences comparable issues of unreliable group head decisions per round when compared with similar models.As per the previous study, LEACH protocol presented an optimal environment that could ensure the best execution utilizing the stochastic model they proposed, yet more often than not the outcome could be imperfect because of the vulnerabilities in the bunch head race process [3,4].The WSN performance is dependent on the routing protocol as it needs to have a protocol, which has less queuing and congestion.The congestion consumes power, which limits the lifetime of the sensors and thus networks.The proposed work is expected to overcome the issues of efficiency and other shortcomings.The network classifications and other parameters are being explained for providing simplicity.

Classification of Routing Protocols
Wireless sensor networks have their applicability but need to perform based on expectations.Routing protocols are the major players in the performance measurement of the sensor networks.The routing protocols are classified on various parameters.In this work classification, clustering-based has been narrated.In Figure 1, only hierarchical protocols have been considered and the most used protocol has been discussed in detail.The LEACH protocol has been considered for most of the applications [5,6].Hence, it needs to be investigated for finding the performance and its applicability in the networks.SEP-E has not been mentioned in this study for performance measurements due to difficulties introduced with distant nodes [7].

Low Energy Adaptive Clustering Hierarchy (LEACH) Protocol
This is a hierarchical clustering-based routing protocol used for WSN design.In this protocol, cluster heads are changed randomly and one by one all the nodes become cluster heads as shown in Figure 2.For scalability and robustness, LEACH uses localized coordination for the dynamic network and does data aggregation at the cluster head level.Thus, the data transmitted to the sink are reduced and bandwidth is saved.
The LEACH protocol's basic flow diagram is shown in Figure 3.The clustering system procedure begins with a setup step in which all nodes use an indicator function to pick CHs.This process is given in Figure 3.The chosen cluster heads then broadcast an Advertisement (ADV) message using the non-persistent protocol which includes CH's ID (also called CHID) [8,9].

Power-Efficient Gathering in Sensor Information Systems (PEGASIS)
The PEGASIS protocol is a chain based protocol in which the chain is formed by using a greedy approach.The node which is far away from the base station is selected to form the chain and the nearest node is selected to send the fused data to the base station [10,11].Thus, the PEGASIS protocol performs this process in two steps and these are as follows:

Formation of the Chain among the Sensor Nodes
In this method [12], first we find a node that is furthest away from the base station.Then, this node is selected to form the chain to another node that is close to this selected node.Following the same process, all the sensor nodes are connected to form a chain in different clusters.The nodes are thus connected to form the chain as shown in Figure 4.

Data Gathering
After selecting the leader node in the chain, which is node 1 in this case, the data aggregation is done in which the leader node sends the aggregated data to the next node 9 that is near the leader node, which becomes the leader node and then sends the aggregated data to the next nearest node continuing this process until we reach the last node.The last node, which is closest to the base station (BS), sends the data to the base station.The nodes in the figure are numbered randomly.This data gathering process is done as shown in Figure 5.

DEC Network Model and Energy Dissipation
A radio energy dissipation model of the network is assumed [13,14], as shown in Figure 6.The sensor design is known to dissipate energy for each bit around E T x elec = E R x elec = 50 nanojoules/bit to run for transmitter or receiver circuits in this model.The amplification energy must be used to reduce either free space losses (fs) or multi-path (mp) losses to transmit the data bits up to distance (d) with a suitable SNR, which is dependent on the total transmission distance (d).Hence, the power used for the transmission of k bits, [15,16], is: where total transmitter energy dissipated is E T x , the sum of dissipated electronics energy is E T x elec , and amplification energy is E T x amp , in each transceiver unit in the network.ε f s d 2 and ε mp d 4 are the amplifier energies that depend on the transmitter amplifier model.d 0 is equal to the distance threshold value for the swapping amplification model, where: To receive the k-bit message, the energy expended by the radio given as Under the heterogeneous environment, it may be assumed that the same energy is needed to transmit the k-bit information between the nodes A and B in the network.The network remains energy heterogeneous until all the nodes are fully active.

Energy Heterogeneity
DEC calculates a threshold residual energy to make sure that the advanced node does not become cluster heads again and again when their residual energy becomes equal to that of the normal node after some rounds.Threshold residual energy (Th RE ) is defined, [17,18], as where E 0 is initial energy, E dis.NN is energy dissipation of normal node, and E dis.AN is the energy dissipation of the advance node.In DEC, the Residual Energy (RE) information of a cluster member (CMs) is known by their relevant CH's.This information is utilized for rotation of CH in the succeeding rounds.The current CHs review the stored RE information received from CMs at the end of each round.They determine whether they will stay as CHs or replace them with any node in their clusters with the highest RE to become a new CH.The probabilities for normal, advanced, and intermediate nodes to become CH in DEC are: P opt is the optimal percentage of nodes that have to become cluster heads in each round in space.P norm is the weighted probability for normal nodes, P adv is the weighted probability for the advanced nodes, m is the proportion of advanced nodes with a times more energy than the normal nodes, and E Total is the total initial energy of the network [16,17].As a result, three of the energy-efficient protocols are briefly summarized in this section.The protocol which is introduced in this study is introduced in Section 3.

Proposed Multi-Tier Protocol
In this study, a Non-Residual Modified-Deterministic Energy-Efficient Clustering (NR-MDEC) protocol is proposed that selects cluster heads based on residual energy of nodes [19].The setup phase is modified as in LEACH, but the steady-state phase is kept the same.The algorithm is modified in such a way that most of the residual energy of WSN nodes are utilized.Each elected CH advertises their privilege to the entire network using four key parameters utilizing Carrier-sense multiple access (CSMA) media access control (MAC) protocol as in LEACH.Every join-request message will contain CM-ID, CH-ID, CM-RE, and the header as its request for "Standard Request for Comment (RFC)" [20,21].
Hence, the information about residual energy of cluster members will be known to cluster heads which could be used for the rotation of cluster heads in the subsequent rounds.The current round is considered as r = m.After the setup phase, the steady phase would start.The next round of r = m + 1 begins with the broadcasting of new identities to the entire network.Identity transaction from BS to CMs can be considered as an equivalent single packet transmission that doesn't contribute much in energy-draining.Thus, it is economical for the health of WSNs and doesn't affect their life span.The entire process continues until the last node dies.It can be observed that, if a protocol starts losing nodes earlier than expected, it is not considered an acceptable scenario.An ideal scenario is required for heterogeneity to generate the M-DEC network structure.In this scenario, the total number of nodes is divided into normal, advanced, intermediate, and advanced-intermediate nodes based on selection probabilities.The simulation parameters of the NR-MDEC protocol algorithm have been selected as shown in Table 1.The weighted probabilities for all the nodes were chosen as given in Table 1.The parameter values in Table 1 were taken from [3,12].Based on deployed virtual stimulation, the following factors have been observed which makes our NR-MDEC protocol desirable: Election of Cluster Heads is locally decided as per the residual energy of all the cluster members.

2.
Each round is independent in itself.

3.
The protocol gives an assurance to utilize all the available nodes. 4.
MDEC ensures a fixed number of desired cluster-heads. 5.
MDEC minimizes the overhead computing costs associated with the CH quest.6.
It maintains stability and avoids failure during packet transmission, due to the regular check of REs.

Simulation Setup
To simulate the proposed protocol, the weighted probabilities for the nodes have been chosen based on the pre-processing of sensor nodes' energy patterns and observing various parameters based on the narrations in [3,12].Initially, a 2D virtual field, (x-y), is created with 500 × 500 the unit dimension.A total of 500 nodes were assumed with the base station or sink node in the middle of the experimental virtual field.Table 2 shows the additional parameter list used for simulation.The parameter values in Table 2 were taken from [3,12].Tables 1 and 2 illustrate the standard value to be considered for a sensor node inspired by the capacity and capability of actual sensors.These parameters helped to formulate the concept and establish a simulation environment.These standard parameters are treated as constant values of literals used in the program.The energy dissipated by the associated Cluster Head [22] is An innovative approach is considered for election probabilities of normal, intermediate, and advanced nodes [16].The election probability for normal nodes is chosen to be The election probability for intermediate nodes is chosen to be The election probability for advanced-intermediate nodes is chosen to be The election probability for advance nodes is chosen to be In this approach, additional parameter z is the percentage of the advance-intermediate nodes and ab is the percentage increment in the energy of the advanced-intermediate nodes with respect to normal nodes.It is observed that using the additional advanced-intermediate nodes may end up slightly reducing the network lifetime, although it may give better energy response.Therefore, to improve the life of the network, some modifications have been made at the network initialization level.The basic network energy distribution model used in simulations is shown in Figure 6.
In terms of this model, it has been analyzed for the energies of Virtual WSN nodes using the proposed simulation.The result of the simulation is a node energy distribution histogram plot as shown in Figure 7.This depicts the variation of the residual energy of the entire WSN after the death of the first node (assuming 100% remaining residual energy just after the FND).This graph has three axes.Axis-A shows percentage loss of data/message throughout the WSN (as once nodes start dying, and data could not be collected/transmitted from the node).The blue histogram region is accompanied to axes A and C (Interpret Graph from right to left).Axis B shows the residual energy remaining in the network that is accompanied by the orange line.Axis-C shows the percentage of dead nodes.The linearity of this graph shows that the number of dead nodes is inversely proportional to the residual energy of the system.This means that WSN in the simulation is balanced, which is not the case in DEC and MDEC.This post-simulation analysis of residual energy also states that, to make the WSN survive, replacement of those nodes, which have already been drained, should have to be done on time to prevent the system from being non-responsive.

Proposed Algorithm for NR-MDEC Protocol
The proposed algorithmic flowchart of NR-MDEC protocol is shown in Figure 8, which is based on the assumptions made for the four-tier structure.The algorithmic steps are presented in the following steps: Step-1: Creation of Virtual Environment for WSN Network.
Step-2: Getting values of various parameters from the field.
Step-4: Sorting of nodes as per their Residual Energies.
Step-5: Selection of 10% nodes having the highest energy as Cluster Heads.
Step-6: Apply energy minimization on nodes and also calculate their REs.
Step-7: If CH-RE is greater, keep CH and repeat energy minimization algorithm else go to Step-4.
Step-8: Stop after delivering all the packets or exhaustion of nodes energy.

Results and Discussion
The proposed algorithm aims to increase the heterogeneity of the clustering algorithms and extends the three-tier structure to a four-tier structure.There are two intermediate node structures proposed in this study.Additionally, the performance comparison of various energy-efficient clustering-based protocols has also been presented.The performance of the standard DEC and MDEC [5,20] is compared with the proposed method of NR-MDEC protocol for the WSN application.The standard energy parameters, deployed for performance and node analysis in the simulation, are presented in Table 3.

Description Symbol Value
Energy used by the amplifier for short-range transmission E s 10 pJ/bit/m 2 Energy consumed for long-distance transmission by the amplifier E l 0.0013 pJ/bit/m 4 The energy required to send or receive the signal in the electronics loop E e 50 nJ/bit Energy used for the formation of beams The simulation results of comparisons between MDEC and DEC are presented in Figures 9-11. Figure 9 illustrates the performance comparison between DEC and MDEC protocols.Here, the x-axis denotes the number of rounds i.e., number of continuous steps of data transmission from nodes to base station, while the y-axis denotes the number of live nodes survived so far.In this simulation, 100 nodes were considered, and message transmission initiated.After nearly 1920 rounds, all the nodes of MDEC died; however, for DEC, this figure is 2068 rounds.This showed that, in this simulation, DEC's efficiency was slightly better than MDEC.A comparison of energy levels MDEC versus DEC is given in Figure 10.This graph compares DEC and MDEC based on energy levels after each iteration of data transmission.The x-axis represents the number of rounds and the y-axis represents the energy levels.The graph displays a slightly better energy performance by live MDEC nodes at the end of 100 rounds compared to live DEC nodes.It was found out that, when it comes to the rate of energy drain, MDEC outperforms DEC in the initial stage.This is one of the reasons this factor is utilized, and it balanced the network throughout the data transmission in WSN.It can be observed that MDEC gives slightly better energy levels while all the nodes are live and residual energy levels are slightly better with MDEC compared to DEC.Similarly, the simulation results of comparisons of dead nodes for different methods are presented in Figure 12.For DEC, the first node was dead after 1823 rounds, while 60% of all the nodes died after 1950 rounds.DEC completely shuts off at the end of 2068 rounds.For MDEC, the first node died after 1723 rounds, 60% of all the nodes died after 1880 rounds, and, after 1920 rounds, the network ran out of energy.In the proposed algorithm NR-MDEC (also a modified MDEC), the first node died earlier, as expected, which was due to building a balanced network.However, once it all set up, 60% nodes died only after 2560 rounds, which was quite impressive and far better than the previous algorithms.Similarly, it could also be said for the Last Node Dead in NR-MDEC as it ran out of energy only after 2641 rounds.It can be observed that the proposed method NR-MDEC protocol increases the network lifetime by the number of rounds as it improves the performance of the network.Simulation results of comparisons for the number of 60% died nodes are shown for DEC, MDEC, and NR-MDEC protocols in Figure 13.This is a follow-up illustration of Figure 12 and gives a more comparative view of the aforesaid.Three colored lines, Grey, Blue, and Orange represent DEC, MDEC, and NR-MDEC, respectively.Here, data are also sectioned into three categories: FND, LND, and 60% dead.The y-axis denotes the number of rounds.It could be observed that MDEC and NR-MDEC, although have variations in between the transmission patterns, both have a similar slope as compared to NR-MDEC.As seen in Figure 13, the first node dies out (FND) by around 60% and the last node dies out (LND) at around 65% of the 3000 rounds for DEC and MDEC.Initially, the performance of NR-MDEC was not good because it tried to balance the network and sort out nodes as per their residual energy and switching priorities to make them cluster heads accordingly.However, it improved linearly and bypassed DEC and MDEC and stabilized itself.This also implicated how well NR-MDEC worked over the other two.Additionally, the network of NR-MDEC survived longer, and it is visible from the results that the proposed NR-MDEC has outperformed the existing methods of DEC and MDEC.

Conclusions
In this study, we have presented an ideal efficient modified multi-tier Deterministic Energy-Efficient Clustering protocol based on novel election multi-tier random probability in modified non-residual format NR-MDEC.It can efficiently utilize the most precious network resource i.e., Energy in WSN.We also proposed a mathematical model to increase the heterogeneity of the clustering algorithms and extend the three-tier structure to a four-tier structure.Two intermediate node structures are proposed in this work.Among them, NR-MDEC precedes over probabilistic-based models which we have considered so far, by giving assurance that a static number of cluster heads are to be elected per round as per the remaining live nodes.
At different rounds, the re-election of cluster-heads would take place following the comparison of residual energies within each CHs and cluster-member.As discussed earlier, NR-MDEC is capable of propagating energy consumption in all of the WSNs evenly among the nodes.This utilizes the distributed network concept in terms of energy consumption-thus resulting in optimum efficiency as discussed in the paper.Figures 9-11 is a comparative study of two already existing WSN routing algorithms.Those results were shown for the sole purpose of identifying the disadvantages of DEC and MDEC along with their differences.As DEC and MDEC have some uncommon differences as described through the paper, these figures helped to reveal them.After it is done, we developed NR-MDEC and compared it with MDEC and DEC.
Although DEC is better than MDEC, MDEC outperforms DEC when it comes to residual energy level after 60% died.This type of fact is hard to identify when one's focus is on the new algorithm only.Thus, a separate analysis is always recommended for old systems and algorithms before comparing them with the new one.We also compared this proposed NR-MDEC model with standard DEC and MDEC.NR-MDEC was considered as best so far and it was explained how the entire network survives longer in NR-MDEC compared to standard DEC and MDEC.

Figure 1 .
Figure 1.Classification of clustering based energy efficient routing protocols.

Figure 2 .
Figure 2. Base station and cluster head distributions.

Figure 4 .
Figure 4.The chain is constructed by using the minimum distance between the sensor nodes.

Figure 5 .
Figure 5. Method of Token Passing to the base station.

Figure 6 .
Figure 6.Basic network energy distribution model.

Figure 7 .
Figure 7. Energy results after virtual simulation.

Figure 10 .
Figure 10.Comparison of energy level for DEC and MDEC.A comparison of residual energy levels of the nodes for MDEC versus DEC is given in Figure11.The x-axis represents the number of rounds and the y-axis represents the residual energy.The graph displays a slightly better Residual energy performance by live MDEC nodes at the end of 2000 rounds compared to live DEC nodes.This also supports the facts of Figure10, which was performed for 100 steps.

Figure 11 .
Figure 11.Comparison of residual energy of the nodes for standard DEC and MDEC protocol.

Figure 12 .
Figure 12.Comparison of dead nodes for different methods.In this figure, Blue, Green, and Red colored bars denote the number of rounds of DEC, MDEC, and NR-MDEC algorithms respectively.Precise values of the round number of First Node Dead (FND), Last Node Dead (LND), and 60% Dead are mentioned, and their graphical illustration is given.For DEC, the first node was dead after 1823 rounds, while 60% of all the nodes died after 1950 rounds.DEC completely shuts off at the end of 2068 rounds.For MDEC, the first node died after 1723 rounds, 60% of all the nodes died after 1880 rounds, and, after 1920 rounds, the network ran out of energy.In the proposed algorithm NR-MDEC (also a modified MDEC), the first node died earlier, as expected, which was due to building a balanced network.However, once it all set up, 60% nodes died only after 2560 rounds, which was quite impressive and far better than the previous algorithms.Similarly, it could also be said for the Last Node Dead in NR-MDEC as it ran out of energy only after 2641 rounds.It can be observed that the proposed method NR-MDEC protocol increases the network lifetime by the number of rounds as it improves the performance of the network.Simulation results of comparisons for the number of 60% died nodes are shown for DEC, MDEC, and NR-MDEC protocols in Figure13.

Figure 13 .
Figure 13.Comparison of the number of Dead nodes for standard DEC, MDEC, and NR-MDEC protocols.

Table 1 .
Basic simulation parameters for multi-tier structure

Table 2 .
Additional simulation parameters for the multi-tier structure

Table 3 .
Standard energy parameters used in the simulation.