1. Introduction
Wireless Sensor Network (WSN), which is also called ear and eyes of Internet of Things (IoT), becomes an important research topic due its increasing role and usage in many applications. WSN as a connecting bridge between real and digital worlds is a fast growing field of IoT that provides the required data from the field accurately with low cost. The common vision of different IoT wireless systems is usually associated with same concept, use of networked embedded devices to achieve intelligent monitoring and management. Devices are interconnected to transmit useful measurement information and control instructions via distributed sensor networks.
WSN is widely used in both delay tolerant and real time applications. Some well known usages of WSNs are: Smart cities and smart homes applications, environment and wildlife monitoring, security and military related applications, disaster management and rescue applications, and others [
1]. The application area of WSN is enlarging day by day, with rapid development in the fields of low power consuming wireless communication [
2] and digital electronics [
1].
WSN consists of one or more sink nodes, and many sensor nodes. Usually a large number of homogeneous nodes are deployed randomly in the field of interest to collect required attributes and transmit them towards the sink node, which in turn forwards these data packets to the nearest station.
A sensor node is typically a tiny electronic device equipped with: Low cost micro controller with very low power consumption, one or more sensors that gather data of interest from the surroundings, limited battery which is assumed to neither be replaced nor recharged as the power source, flash memory, and transceiver that uses Radio Frequency (RF) for communication with other nodes. Laser and infrared are also can be used for communication instead of RF in some WSN applications, but they are sensitive to atmospheric conditions, and also require line of sight. RF based communication is most popular in WSN applications. License free Industrial Scientific and Medical (ISM) frequencies radio bands such as 433 MHz, 915 MHz, and 2.4 GHz are mostly used in WSNs.
It is obvious that these small low cost sensor nodes are neither accurate nor powerful as compared to the expansive macro sensor nodes, but a good quality sensor network still can be made by using large number of these nodes together. Normally, these nodes are deployed randomly in remote areas where deployment of large expansive nodes is not possible due to high cost or harsh environment.
Sensor nodes have limited source of power and their batteries in most cases cannot be recharged or replaced due to many reasons such as: Large number of deployed sensor nodes, random deployment of sensor nodes, remote location of the sensing region, and harsh environment. Therefore, energy remains the main issue and there is always a need for algorithms and mechanisms that reduce network energy consumption and balance consumption of power between all deployed sensor nodes, in order to prolong the network life time. Unlike sensor nodes, the sink node is assumed to have no power constraints and its main task is to gather sensed information from the deployed sensor nodes and forward them to the nearest station.
A sensor node mainly use energy in two conditions. The first condition is when a sensor node performs tasks such as transmitting data packets, receiving data packets, processing requests; which are called useful tasks. While operations such as transmission and reception of control packets with neighboring nodes for upper or lower layer head selection or for choosing better forwarder, retransmissions, overhearing, processing redundant packets, and similar other operations come under second condition, which is considered a waste of energy.
Network lifetime is considered a major factor in performance evaluation of routing protocols for WSN when sensor nodes have limited power source. Many techniques have been proposed in the past few years to reduce energy consumption for getting longer network lifetime. One of the low energy consumption techniques in WSN is formation of clusters and routing data packets towards sinks via cluster heads. The basic Low Energy Adaptive Clustering Hierarchy (LEACH) protocol [
3] is a two layer clustering technique in which Cluster Heads (CHs) are selected randomly after every round. At the beginning of every new round, nodes are assigned random number and the one with higher random value is assigned as CH at that round, giving priority to those nodes which are not selected as CH previously. Many improvements are proposed in the choice method of CH in LEACH protocol such as [
4,
5,
6,
7].
Recently, three layer clustering hierarchies are proposed for energy efficient data routing in WSNs, which have longer network lifetime as compared to basic two layer clustering techniques. HHCA protocol [
8] is an adaptive three layer clustering protocol. Every node in this protocol firstly sends its location and residual energy information to the sink. The sink selects upper layer heads which are named as Grid Heads (GH). Sensor nodes using fuzzy c-means clustering approach (FCM) [
9] join grid, and then exchange control packets with each other for selection of CH using the same distributive procedure as used in LEACH with taking residual energy of sensor nodes into account, too.
The three layer approach and combination of centrally selection of upper layer GHs via sink and distributive selection of lower layer CHs via sensor nodes shows better results as compared to fully distributive clustering techniques. The problem remaining in this approach is a waste of excessive amounts of energy in transmitting and receiving control packets after every complete round for assigning role of GH and CH to nodes.
In
Figure 1, a typical three layer clustering topology in WSN is shown.
In this paper, an Enhanced Three Layer Hybrid Clustering Mechanism (ETLHCM) is proposed that tackles, to some extent, the issue of large wasteful operations in previous three layer clustering techniques. Energy Levels (EL) for sensor nodes are designed in this paper to limit the exchange of control packets after every round for CH selection. At the same time, EL also used to balance energy consumption between sensor nodes. Nodes that are selected as upper or lower layer heads change their role back to normal sensor node only when their residual energy drops by at least 1 EL. The proposed mechanism reduces the burden of election and selection of lower layers heads in every round, as well as reduces to a large extent the control packet exchange overhead. By reducing wasteful operations, ETLHCM shows better results in the form of long network lifetime and high number of data packets received by the sink. Details of the proposed mechanism are presented in
Section 4.
Moreover, we added euclidian distance to the sink as another prioritizing parameter besides the residual energy of sensor node in fuzzification process for selection of GHs via FCM approach. Thus, sensor nodes with higher residual energy and less euclidean distance to the sink have more priority to be selected by sink as GH. This results in reducing backward transmission of data packets from lower layer to upper layer to some extent. The proposed mechanism can be used to increase the efficiency of IoT devices by reducing un necessary communication overhead.
The rest of the paper is organized as follows. Some energy efficient routing techniques and algorithms are defined in
Section 2. In
Section 3 issues of existing recent work in three layer routing algorithms are explained in details.
Section 4 explains the proposed mechanism and simulation results are evaluated and compared with recent existing works in
Section 5. The conclusion and future work are presented in
Section 6.
2. Related Work
Hierarchical transmission in WSN is considered one of the preferred ways for energy efficient routing of data packets toward the destination. In this kind of architecture, sensor nodes are divided into different layers with different tasks.
Clustering is a technique where different sensor nodes divided into groups and sub groups, they transmit their sensed data to the CH node and they in turn forward these packets toward the sink in hierarchical fashion. LEACH protocol [
3] is considered one of the basic and simple two layer cluster routing technique in WSN, in which single hop communication is used between base station and CH. In LEACH, the CH role is circulated over all nodes one by one randomly; prioritizing those nodes to be selected as CH that had not been selected before. The approach proposed in LEACH lacked efficiency in many aspects, especially in the selection process of CH among deployed homogenous sensor nodes.
The authors in [
10] take two other factors in consideration before assigning CH role to any sensor node, which are the communication cost and the residual energy of sensor nodes. Enhanced Energy Efficient Adaptive Clustering (EEEAC) protocol [
11] is also based on residual energy of sensor nodes and uniformly distributes the CH overload in the network between sensor nodes. While most energy efficient protocols extend network lifetime on the cost of end to end delay or other network parameters, the authors in [
12] propose an energy aware protocol that maintains good end to end delay and throughput as well.
The authors in [
13] prolong the network lifetime by dividing the entire network region into tiers. Sensor nodes of high amount of energy and shortest distance to the sink are selected as CHs in this protocol. In [
14], an opportunistic multi path routing mechanism is proposed with aim to minimize the energy consumed due to the selection process of forwarding nodes in order to prolong the network lifetime.
A distributed algorithm called Scalable Energy Efficient Clustering Hierarchy (SEECH) is proposed in [
15]. SEECH selects low degree nodes as relays while high degree nodes are selected as CHs separately using distance based algorithm.
In [
16], the size of clusters are chosen to be variable. Thus, clusters with maximum distance to sink have larger size as compared to those that are nearer to sink. A sub tree mechanism is proposed in this protocol so that some parents nodes gather data packets from their neighboring sensor nodes and forward them to CH, which in turn transmits them toward the base station.
Cooperative communication improves the capacity of transmission and achieves spectral efficiency by taking advantage of the broadcast nature of communication in WSN [
17]. Cooperative communication is basically developed from Multiple Input Multiple Output (MIMO) mechanisms, in which multiple sensor nodes share their resources to cooperatively reach data packets from source to destination without the need to equip each and every sensor node with multiple antennas.
Relay selection Based Cooperative Routing (RBCR) is defined in [
18], which is a relay selection based cooperative technique. Decode and forward without redundancy check strategy is adopted in RBCR with selection of best paths according to the information of channel state. At the receiving node, all receiving signals are combined again to retrieve the actual sent data packet.
Recently, researchers are working on using controllers that are used in the Software Defined Network (SDN) to perform all computational task of WSN. Software Defined Wireless Sensor Network (SDWSN) play important roles in reducing energy consumption and prolonging network lifetime of WSNs. The SDN model also helps in adding many other functionalities and more intelligence to the WSN. A centralized SDWSN model is described in [
19]. The main problem in fully centralized WSN or SDWSN is that it is totally dependent over controller, which makes the network less responsive in some conditions. For example, if a CH node dies, the data packets from its neighboring nodes should be re-routed, but it cannot be happen in a fully centralized mechanism until the new schedule is not updated by the central controller. On the other hand in distributive case, sensor nodes can handle re-routing locally by themselves very quickly [
20]. A combination of centralized and distributive approaches has better outcomes.
In [
21], the authors propose a traffic deduction algorithm that reduce the overall all data packets volume by exploring intra correlation of data packets generated by the sensor nodes. This algorithm prioritizes the unusual detected data packets and guarantee its delivery to the base station. Geographic routing is also broadly used in WSN due to its efficiency and simplicity. However, it suffers from routing holes where there is no eligible node to forward data packets further and thus data packets are stopped at the hole boundary. The authors in [
22] propose a distributed hole bypassing mechanism that tackles the load imbalance as well as routing path enlargement issues.
In [
23], a distributed learning automation (DLA) based algorithm is proposed to improve network lifetime by taking many routing constraints such as end to end delay and reliability into consideration in the selection process of routes for data forwarding toward the base station. A traffic minimization mechanism is proposed in [
24] to reduce the data required for communication by exploring the intra correlations of the sensors data. This mechanism which is proposed to detect landslide, reduces energy consumption of WSN without degrading the detection performance of sensor nodes.
The authors in [
25] define a topology control protocol in which the deployed sensor nodes learn and choose proper transmission range from the reinforcement signals of neighboring nodes. The network lifetime is increased by adopting lower transmission range for every node. The authors in [
26] propose algorithm that provides certain level of protection to each sensor node with minimum energy consumption.
3. Framework of Proposed ETLHCM
In this section, the issues of recent work over three layer clustering routing in WSN are highlighted and the motivation for the proposed mechanism in this paper is explained.
Recently in “an improved three-layer low-energy adaptive clustering hierarchy for wireless sensor networks” [
8] paper, a new Hybrid Hierarchical Clustering Approach (HHCA) is proposed for three layer clustering routing, to improve the network lifetime of WSN. According to HHCA, all deployed sensor nodes in the first step transmit their location information along with their energy status to the sink node. By applying centralized Fuzzy C-Means (FCM) clustering approach [
9], every sensor node determines wether it is selected by sink as GH. In case a sensor node is selected as GH, it broadcasts a control packet announcing its selection. If the sensor node is not selected as GH, it joins the grid that is selected to it by sink via FCM approach. The second step in HHCA is that all sensor nodes exchange control packets with each other and distributively select lower layer heads which are also called cluster heads in the same way as proposed in LEACH, with the addition of taking residual energy of nodes into consideration too, giving priority to sensor nodes with higher residual energy during CH selection process. Sensor nodes that are selected as CHs broadcast control packet announce their assigned role, while other sensor nodes send join requests to nearest CH. Both the first and second steps in HHCA protocol are repeated after every round. Finally, all sensor nodes that are not selected as CH and GH transmit their data packets to CHs, and CHs in turn forward these data packets to GHs and they then forward to the sink.
It is noticed that the operations which are categorized as wasteful in
Section 1 are taking place in large amounts after every round in the aforementioned protocol. The repeated exchange of control packets between sensor nodes in HHCA and other routing techniques is best for lower layer heads selection and energy balancing purpose, which results in waste of significant amounts of network energy. As stated in [
27], the high power consuming operation in WSN is communication, i.e., sending and receiving packets, takes about two thirds of the total power consumption of a wireless module.
To save this excessive amount of energy that is wasted by exchanging control packets between sensor nodes, ETLHCM mechanism is proposed in this paper to limit the exchange of control packets after every round and in the mean time keeps energy consumption between sensor nodes balanced.
4. Network Model of ETLHCM
In this paper, first order radio model is adapted from [
28]. It is used to calculate the energy that is consumed in transmitting (
) and receiving (
) of packets size
l bits over distance
d by each deployed sensor node in the network.
Distance threshold is the normal transmission range of sensor node, and are the energy dissipation to run the radio and free space model of transmitter amplifier and their values are 50 nJ/bit and 10 pJ/bit/m respectively. l is the data packet size and is the multi path model of transmitter amplifier and its value is 0.0013 pJ/bit/m.
The receiving energy
can be calculated as:
Figure 2 explains the aforementioned (
) and (
) consumption process in first order radio model [
28].
It is assumed in this paper that all sensor nodes are randomly deployed in the field of fixed dimension. The deployed sensor nodes are homogenous and all have same capabilities and limited power source of same initial energy that cannot be recharged or replaced. The sink node is assumed to have no energy constraints and is deployed outside the coverage area. All sensor nodes are assumed to know about the location of the sink node and are able to find their own location information after deployment. Sensor nodes are static and do not change their locations once they are deployed. Sensor nodes determine the distances between each other based upon the received signal strength.
In the initial round, all deployed sensor nodes transmit their location and energy information hop by hop to sink. Sensor nodes join grid or upper layer in the same mechanism as explained in [
9]. Nodes which are selected as grid head broadcast their assigned role, and pause the sensing role. Other sensor nodes, after joining upper layer, start the exchange of control packets between each other for cluster head or lower layer head selection. All sensor nodes share their residual energy and location information via control packet. Fuzzification process of shared parameters by sensor nodes takes place distributively. The node of higher residual energy and lower Euclidean distance to both sink and grid head is chosen to be cluster head. The euclidean distance between any two sensor nodes
a and
b is calculated from the following two dimension euclidean distance Equation (
3).
where
and
are the width dimensions,
and
are length dimensions of sensor nodes
a and
b respectively.
Nodes with CH role collect data from sensor nodes, compress it, and transmit it toward GH, which in turn forward them toward sink, while the rest of the sensor nodes sense the environment, collect data, and transmit it to their CH.
Unlike HHCA and other previous three layer routing techniques, sensor nodes are not required to repeat the cluster head selection process and exchange of control packets between each other after every round. In the proposed mechanism, the main goal is to minimize the wasteful operations in every round and save nodes energy. Equation (
4) shows the objective function of the proposed mechanism.
is calculated using Equation (
5).
where
is the amount of energy consumed per round in the exchange of control packets between all deployed sensor nodes
N for CHs selection.
is the maximum distance between two neighboring sensor nodes.
and
are the energy consumed in transmitting and receiving control packets. Their values can be calculated using Equations (
1) and (
2) respectively, given that
l is equal to the control packet size.
For achieving the objective function which is described in Equation (
4), we split the total energy of sensor nodes into different equal portions called energy levels (EL). EL is calculated from Equation (
6).
where
is the fixed initial energy of sensor node and
is the total energy levels. The value of
depends upon the frequency of energy consumption by a node, density of the network, and data packet size. As
is inversely proportional to
, so a lower value of
will result in a higher value of
. The reason that we cannot set very low values to
is due to its tradeoff with balance energy consumption between all deployed sensor nodes. The value of
in this paper is set to 10 based on different simulation experiments.
Unless the residual energy of a sensor node that is selected as CH is not decreased by EL, it remains as CH, and no reselection process of CH take place. Whenever the CH residual energy decreased by EL, it broadcasts a control packet announcing end of its CH role. Thus new CH selection process start. The working procedure of the proposed mechanism is further explained in a flow chart which is shown in
Figure 3.
5. Performance Evaluation
Simulation parameters are given in
Table 1. Here we evaluate the simulation results of the proposed technique. Simulations are conducted using MATLAB/Simulink. One hundred nodes of the same initial energy are randomly deployed over a network of 100 m * 100 m. The Sink node is placed outside the covered area at (50 m, 175 m) in the 2D network. The main goal of the proposed technique is to prolong the network life time by avoiding retransmissions and heavy control packet exchange between sensor nodes every round.
Figure 4 shows the network lifetime of the proposed technique compared with other recent schemes. The shorter network lifetime of HHCA technique is due to the heavy control packet exchange between sensor nodes after every round for selection of efficient CH at lower layer. HHCA results are improved from the basic clustering technique LEACH and its improved version for three layer clustering routing TL-LEACH scheme, which are fully distributive clustering techniques. The main cause of low performance of LEACH is the inefficiency in procedure of CH selection. TL-LEACH tackled that problem, but since it is a fully distributive approach, it consumes more energy than a hybrid approach. While HHCA outperforms LEACH and TL-LEACH, it still consumes high energy on selection of appropriate forwarders at lower layer. In the proposed scheme, exchanging control packets between sensor nodes is limited to a large extent by defining energy levels that control in a balanced manner the rotation of CH role among the deployed sensor nodes. Results show that sensor node energy lasts for a longer time in the proposed mechanism due to minimizing wasteful operations. Sensor nodes in the proposed scheme start dying at later rounds as compared to other mentioned techniques due to limitation of control packet transmission and reception between sensor nodes over and over after every round. This help in saving energy of sensor nodes and thus prolonging their lifetime.
The overhead of the proposed algorithm is that when the batteries of sensor nodes reach to final stage, the graph of alive nodes falls sharply, as can be seen in
Figure 4. The reason behind this is that nodes assigned as forwarders in the proposed algorithm do not change their state until their residual energy falls from a certain limit which is comparatively much larger than that of HHCA and other protocols, as explained in
Section 4. Once all node batteries in the cluster reach the final stage, they start dying out frequently.
In
Figure 5, the total number of data packets transmitted and successfully received at base station are shown. The proposed scheme appears to have better result from HHCA, TL-LEACH, and LEACH protocols due to longer network lifetime. The good amount of energy that is used in other schemes during selection of CHs is saved to a large extent in the proposed scheme, and thus nodes remain alive for longer periods of time. This results directly in increasing the total number of successfully delivered data packets from sensor nodes to the base station. As many nodes die out in the network, that probability of data packet drop increases. In the proposed mechanism, sensor nodes remain alive for a longer time and thus the ratio of data packet drop is reduced.
Figure 6 shows network lifetime of the proposed scheme with different total energy levels
, which is defined in Equation (
6). As explained in
Section 4, higher value of
results in more balanced energy consumption of sensor nodes in the network, but on the cost of higher energy consumption due to frequent control packet exchange. As shown in the
Figure 6, the reason that we cannot set very low value to
is due to its tradeoff with balance energy consumption between all deployed sensor nodes. Based upon the network parameters which are defined in
Table 1, the proposed scheme outperforms with value of
= 10.
Figure 7 shows the network life of WSN based on two metrics called First Node Dies (FND) and Half of the Nodes Alive (HNA), which are proposed in [
29]. FND metric shows the number of rounds in which the energy of first sensor node is exhausted and is considered dead. HNA metric on other hand shows number of rounds in which at least 50 percent of the deployed sensor nodes are functional. As WSN becomes almost useless after half of the deployed sensor nodes die out, we therefore focus more on HNA metric rather than Last Node Dies (LND) metric. HNA is also more useful metric in denser WSN as compared to FND metric, as network performance is not affected by dying out of single sensor node. As shown in
Figure 7, the proposed scheme outperforms rest of techniques based on FND and HNA metrics.