[go: up one dir, main page]

Next Article in Journal
Towards Establishing Cross-Platform Interoperability for Sensors in Smart Cities
Previous Article in Journal
Data Association for Multi-Object Tracking via Deep Neural Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy-Efficient Fuzzy-Logic-Based Clustering Technique for Hierarchical Routing Protocols in Wireless Sensor Networks

1
Department of Computer Engineering, Jordan University of Science and Technology, P.O. Box 3030, Irbid 22110, Jordan
2
Department of Network Engineering and Security, Jordan University of Science and Technology, P.O. Box 3030, Irbid 22110, Jordan
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(3), 561; https://doi.org/10.3390/s19030561
Submission received: 11 December 2018 / Revised: 17 January 2019 / Accepted: 25 January 2019 / Published: 29 January 2019
(This article belongs to the Section Sensor Networks)
Figure 1
<p>Fuzzy system control model.</p> ">
Figure 2
<p>Simple WSN scenario for location suitability computation.</p> ">
Figure 3
<p>First and second vicinities of nodes A and B.</p> ">
Figure 4
<p>Membership Functions of the fuzzy sets.</p> ">
Figure 5
<p>WSN area divided into virtual identical rectangles.</p> ">
Figure 6
<p>A snapshot of clustering output in <span class="html-italic">FL-EEC/D</span>.</p> ">
Figure 7
<p>Lorenz curve and the line of equality for the distribution of wealth.</p> ">
Figure 8
<p>FND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the center of WSN).</p> ">
Figure 9
<p>10PND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the center of WSN).</p> ">
Figure 10
<p>QND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the center of WSN).</p> ">
Figure 11
<p>HND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the center of WSN).</p> ">
Figure 12
<p>Average improvement percentage of FL-EEC/D over LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D for network lifetime (BS at the center of WSN).</p> ">
Figure 13
<p>FND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the corner of WSN).</p> ">
Figure 14
<p>10PND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at corner of WSN).</p> ">
Figure 15
<p>QND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the corner of WSN).</p> ">
Figure 16
<p>HND of FL-EEC/D against LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D (BS at the corner of WSN).</p> ">
Figure 17
<p>Average improvement percentage of FL-EEC/D over LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D for network lifetime (BS at the corner of WSN).</p> ">
Figure 18
<p>Live nodes vs. rounds for FL-EEC/D and LEACH.</p> ">
Figure 19
<p>Percentage of total remaining energy per round for FL-EEC/D, LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D.</p> ">
Figure 20
<p>The Gini Index of the remaining energy per round for FL-EEC/D, LEACH, <span class="html-italic">K</span>-means-LEACH, and FL[1]/D.</p> ">
Versions Notes

Abstract

:
In wireless sensor networks, the energy source is limited to the capacity of the sensor node’s battery. Clustering in WSN can help with reducing energy consumption because transmission energy is related to the distance between sender and receiver. In this paper, we propose a fuzzy logic model for cluster head election. The proposed model uses five descriptors to determine the opportunity for each node to become a CH. These descriptors are: residual energy, location suitability, density, compacting, and distance from the base station. We use this fuzzy logic model in proposing the Fuzzy Logic-based Energy-Efficient Clustering for WSN based on minimum separation Distance enforcement between CHs (FL-EEC/D). Furthermore, we adopt the Gini index to measure the clustering algorithms’ energy efficiency in terms of their ability to balance the distribution of energy through WSN sensor nodes. We compare the proposed technique FL-EEC/D with a fuzzy logic-based CH election approach, a k-means based clustering technique, and LEACH. Simulation results show enhancements in energy efficiency in terms of network lifetime and energy consumption balancing between sensor nodes for different network sizes and topologies. Results show an average improvement in terms of first node dead and half nodes dead.

1. Introduction

Wireless Sensor Networks (WSN) are applied in many fields such as in health-care, environmental sensing, and industrial monitoring [1,2,3,4]. A WSN is comprised of two sides: a Base Station (BS) and a number of distributed sensor nodes that interact with the environment by sensing some physical parameters. These sensors are required to perform sensing, initial data processing, and communication. The BS is tasked with receiving, processing, and providing data to the end user for decision making [5,6,7,8]. Nodes in WSN rely on their on-board, limited, non-rechargeable, and non-changeable batteries. Additionally, sensor nodes are limited in storage, memory, and CPU processing capabilities [6,7,8,9,10,11].
Because the sensor nodes and BS use wireless radio signals to exchange packets, energy-efficient routing protocols play a vital role in energy consumption and network lifetime [6,9,10,12,13]. Direct transmission to the BS consumes more energy than sending the same data over the same distance in multiple stages of shorter distances. Accordingly, clustering has received attention by researchers. Each node communicates directly with a Cluster Head (CH). In turn, the CH aggregates, compresses, and transmits the data to the BS or a neighbor CH [6,7,12,14,15,16].
Clustering algorithms can be classified into centralized or distributed approaches. In centralized approaches, the clustering algorithm utilizes the global knowledge of the network, while in the distributed approaches, local information is used to generate clusters. The Low Energy Adaptive Clustering Hierarchy (LEACH) protocol [12] is the first technique based on a probabilistic approach in CH election. Each node in the network generates a random number, and if this random number is less than a threshold value, the node assigns itself as the cluster head and broadcasts an advertisement message to all other nodes. Each of the receiving nodes (non-CHs) determines the CH to associate with based on the signal strength of the advertisement message.
Developing an energy-efficient communication protocol is a critical goal in WSN. Several energy-efficient routing protocols were proposed to address this issue. They all adopt the idea of clustering or chaining sensor nodes so the transmission to the BS occurs in multi-hops.
Clustering allows multi-hop transmission, data aggregation, data compression, and redundant data elimination. The benefits from clustering depend on the perfection of the clustering algorithm and the fitness of the exploited parameters. Unlike distributed clustering algorithms, which are performed by individual sensor nodes using their local information, the centralized clustering algorithms performed by the BS allow optimal clustering solutions, because the overall view of the WSN is available.
Many factors affect the clustering algorithms in WSN, for example the remaining energy in the sensor nodes and the distances from their BS. However, if the problem is carefully analyzed, other factors can be considered. Obtaining an optimal clustering solution requires scaling each parameter by a weight corresponding to its influence on the dissipated energy and network lifetime. Therefore, if the clustering algorithm exploits more energy-affecting factors, the clustering will be more efficient. The Fuzzy Inference System (FIS) is an efficient modeling tool to combine parameters for better parameter integration results.
We introduce a fuzzy-based centralized clustering technique for energy-efficient routing protocols in WSN. The proposed clustering technique uses fuzzy logic to elect CHs and enforces a separation distance between them for even CH distribution through the covered area. Separation distance is calculated adaptively based on the number of remaining live nodes, the dimensions of the area covered by these nodes, and the percentage of the desired CHs.
The proposed fuzzy model uses five parameters to prioritize opportunities of sensor nodes’ CH election. These factors are: the remaining energy of the sensor node, distance to the BS, density of surrounding sensor nodes (which are probable cluster members for the current sensor node if elected as a CH), compacting of surrounding sensor nodes, and finally, the location suitability calculated via the average of the local consumed energy for the surrounding nodes. As a secondary contribution to this research, we suggest adopting the Gini index [17] for energy balance evaluation among nodes in the WSN clustering algorithm.
The rest of this paper is organized as follows: In Section 2, we review the basics of WSNs and fuzzy logic. Section 3 provides the methodology road-map for the proposed approach. Section 4 presents the performance evaluation, which begins with the simulation settings, followed by the performance metrics, and ends with the results and discussion. Finally, Section 5 draws the conclusions of the entire study and discusses further potentials of follow-up research.

2. Literature Review

Hierarchical Routing Protocols (HRPs) for WSN were introduced in the literature for energy-efficient routing protocols. HRPs in WSN show higher energy and bandwidth efficiency over conventional routing protocols. Unlike flat routing protocols, where sensors transmit their data to the BS directly, HRPs allow sensors to transmit data via mediators. HRPs are either cluster based or chain based. In cluster-based HRPs, sensors are organized into clusters, and transmissions go through cluster heads, while in chain-based HRPs, sensors are organized as chains through which the transmissions pass [14].
LEACH [12] is the pioneering and the most referenced HRP; it achieves a tremendous performance regarding WSN useful lifetime and energy consumption balancing [18]. LEACH is a distributed cluster-based HRP that utilizes randomized rotation of CHs based on a probabilistic threshold to distribute the energy load evenly among the sensors in the network. LEACH-C (LEACH-Centralized) [19] is one of the most popular versions of LEACH; it is a cluster-based centralized approach in which the CH election and distribution over the WSN are controlled by the BS using simulated annealing. LEACH-C utilize nodes residual energies and positions from the BS [20]. LEACH-C has better performance over LEACH in useful network lifetime and energy dissipation [19,20].
The authors of TEEN [21] classify sensor networks as proactive or reactive networks based on their functional mode. In reactive mode, nodes respond immediately to the changes of relevant parameters of interest, while sensor nodes in proactive mode respond to the changes of relevant parameters of interest periodically. TEEN is an energy-efficient routing protocol for reactive WSN; it reduces unnecessary or redundant transmissions. TEEN outperforms existing conventional WSN protocols in energy efficiency.
Manjeshwar et al. [22] introduced APTEENas an extension to TEEN for both transmitting periodic data and reacting to time-critical situations [23]. APTEEN allows three types of queries: historical, on-time, and persistent, which are used in hybrid networks. Moreover, it introduces QoS requirements for the on-time queries by minimum delay using the TDMA schedule with a special time slot assignment [23].
HEED (Hybrid Energy-Efficient Distributed clustering) [6] periodically performs clustering of WSN and CH selection for each cluster based on nodes residual energy as a primary parameter and the proximity of a given node to its neighbors as a secondary parameter. HEED achieves uniform CH distribution across the network, increases network scalability and lifetime, and balances load on sensor nodes. Simulation results prove the effectiveness of HEED in prolonging network lifetime and supporting scalable data aggregation.
PEGASIS (Power-Efficient Gathering in Sensor Information Systems) [7] is a chain-based HRP, where each node communicates only with a close neighbor to reduce energy spent per round by transmitting to the BS in rounds. PEGASIS outperforms LEACH by 100–300% when 1%, 20%, 50%, and 100% of nodes die for different network sizes and topologies [7]. Cheng et al. [24] propose a way to confine the election range of CHs in LEACH by exploiting residual energy, the relative density of surrounding nodes, and centroid distance. Thereby, longer sensor nodes lifetime is achieved according to the authors.
A novel approach of adopting the k-means clustering algorithm in WSN routing protocols has been proposed in [25]. It achieves higher network lifetime over the existing LEACH and HEED, as their simulation results demonstrated. In [26], the authors proposed the Load-balancing Cluster-based Protocol (LCP) to increase network lifetime by the selection of the highest residual energy node in each round to be CH in each cluster. A modification to LEACH considering residual energy and node location to distribute CHs evenly was proposed in [27]. As the simulation results demonstrated, LEACH was improved by 40% in survival time. In [28], Min and Chun proposed a cluster-based HRP of two stages. In the first stage, the election of CHs is performed based on nodes’ residual energy and their relative position to the base satiation. In the second stage, the CHs forward the collected data to the BS indirectly via multi-hop forwarding, which prolongs network lifetime and saves energy, as proven by their simulation results.
Li et al. proposed a centralized WSN clustering approach based on Discrete Particle Swarm Optimization (DPSO) used in the context of the traveling sales-man problem [29]. In their approach, the BS collects status information about sensor nodes, then runs their own modified version of the DPSO algorithm to find the optimal topology for the WSN. This approach achieved 15% enhancement over LEACH in terms of WSN lifetime and showed higher ability to balance energy consumption among WSN nodes. In [30], the authors proposed a clustering technique for WSN based on applying a non-deterministic approach and adopting intra-phase and inter-phase clustering. In each phase of the non-deterministic approach, the optimal participation of clusters members in the process of selecting the corresponding CHs is enforced. This technique achieved enhancement of 42% over the standard LEACH in terms of WSN lifetime. In [31], a comparison study of genetic algorithm, differential evolution, and particle swarm optimization for efficient and fast WSN clustering was presented. In addition, the authors compared these techniques in terms of achieved fitness value. Based on their results, these techniques had significant improvements over LEACH in terms of network life-cycle and energy saving. A centralized clustering approach for HRP in WSN based on residual energy for sensor nodes, remaining energy variance, and coverage density was proposed in [32]. The proposed approach outperformed the existing protocols in terms of network lifetime.
Singh et al. [33] applied a prediction-based data reduction scheme for energy-efficient routing protocol design, where WSN is divided initially into grids, then CH election takes place. The authors in [10,11,15,16,34], Refs. [35,36,37,38,39,40,41,42,43,44,45,46,47] proposed fuzzy logic approaches for CH election in cluster-based HRPs. Each of these fuzzy logic-based approaches uses the partial combination of the parameters, residual energy, BS proximity, local distance, concentration, centrality, etc., to select CHs, but none of them uses an effective combination. Fuzzy logic-based clustering approaches proposed in the literature vary among centralized, distributed, and hybrid. However, most of them are centralized because fuzzy logic-based CH election requires high CPU cycles and high memory capacities. Furthermore, fuzzy logic-based clustering algorithms require global knowledge about sensors attributes, which would be costly in terms of energy and bandwidth if exchanged via the sensors themselves. Therefore, for fuzzy logic-based clustering in WSN, the centralized approaches are preferred [10,11].
Another way to design routing protocols for ad hoc networks and/or WSN is the cross-layer approach. Some examples of cross-layer protocols appeared in [48,49,50]. It has been observed that many of the cross-layer approaches rely on fuzzy logic. The authors in [51] proposed a fuzzy logic-based cross-layer routing algorithm for mobile ad hoc networks, while the research in [49] proposed a fuzzy logic-based cross-layer routing algorithm for WSNs.
The different classes of WSN routing protocols for single-layer and cross-layer are summarized in Table 1.

3. The Proposed Fuzzy Model and WSN Clustering Technique

In this section, we present the proposed fuzzy model used for CH election and a clustering technique based on the proposed fuzzy model to accomplish optimal clustering in WSN.
Different factors influence CH election in WSN. Therefore, they must be combined appropriately for the best decisions. FIS is an efficient mechanism for such a purpose. It allows combining all input parameters in such a way that reflects their effectiveness in CH election.
To achieve maximum benefits from fuzzy logic for CH election, it is necessary to explore the factors that have an impact on CH election, use effective means to measure each of these factors, and build an efficient fuzzy model characterized by the effective combination of fuzzy rules and the appropriate design for the fuzzy sets.
Accordingly, the proposed FIS model scheme in Figure 1 is built to meet the above-mentioned requirements in order to achieve an efficient CH election in WSN.

3.1. Linguistic Variables’ Measurement and Normalization

The lifetime of the WSN is considerably influenced by the technique used for CH election, which in turn is influenced by many factors. These factors are expressed in the context of fuzzy logic as linguistic variables. Five linguistic variables are involved in the proposed fuzzy controller. They influence the network lifetime directly or indirectly by one of three aspects: energy consumed by CHs, total energy consumed by non-CH nodes (local consumed energy), or the distribution of energy consumption loads through sensor nodes.
The Min-Max normalization technique [53,54,55] (depicted in Equation (1)) is adopted for relative scaling of linguistic variables’ values. The values are calculated relative to a universe of discourse of zero and 100 according to their positions between minimum and maximum values. Finally, the sensor node values of a given variable are scattered along the universe of discourse according to their relative positions. Thus, the values of a given variable are normalized because they are required to assign the sensor node of maximum value with the highest priority to become a CH. The rest of the sensor nodes are prioritized according to their relative occurrences between the maximum and minimum variable values.
N o r m a l i z e d ( v a r ) = V a l u e ( v a r ) M i n ( v a r ) M a x ( v a r ) M i n ( v a r )
where V a l u e ( v a r ) is the given value of the given variable for the given current node and M i n ( v a r ) and M a x ( v a r ) are the minimum and maximum values of the given variable among all sensor nodes, respectively.
Note that in the calculation of any linguistic variable for a particular sensor node, any surrounding sensor nodes closer to a pre-selected CH must be excluded. This is because they will not become members of this node’s cluster in case it was elected.
The following are the linguistic variables used in our proposed system:
  • Remaining Energy: Selecting sensor nodes with higher energy as CHs improves network lifetime by balancing energy consumption through the WSNs nodes.
    E n e r g y is normalized by Equation (1), where V a l u e ( v a r ) is E n e r g y of the current node and M a x ( v a r ) and M i n ( v a r ) are the maximum and minimum values among all candidate nodes, respectively. Hence, the normalized E n e r g y will be zero for the node with the lowest remaining energy and 100 for the node with the highest remaining energy. The normalized E n e r g y values for the rest of nodes are between zero and 100 according to their relative position between the highest and the lowest E n e r g y values.
  • Distance from the BS: The lower the distance between CHs and the BS, the lower the consumed energy. Sensor nodes closer to the BS have to be given higher opportunities to be CHs over farther ones.
    BS_Distance is normalized as a percentage value to the distance between the furthest candidate node and the BS using Equation (1), where Max is the distance from the BS to furthest candidate node, Min is the distance of the nearest node to the BS, and Valueis the distance of current node from the BS.
    For example, if the B S _ D i s t a n c e of the farthest node from the BS is 80 m, the B S _ D i s t a n c e of the closest node to the BS is 30 m, and the B S _ D i s t a n c e of current node is 50 m, then the normalized B S _ D i s t a n c e of the current node is:
    N o r m a l i z e d ( B S _ D i s t a n c e ) = 50 30 80 30 × 100 % = 40 %
  • Location suitability: This criterion measures how suitable a node location is as a CH with respect to surrounding nodes within a predefined range. A more suitable location for a CH node is a location with lower total communication energy.
    Location suitability for any node is measured by averaging the energy consumed locally by the sensor nodes located around the current node within a pre-defined range. We are interested in the nodes located within a predefined range as long as they are not closer in distance to any other pre-selected CH because they will be probably members of the current node if this current node wins CH election.
    Since we use the average of the consumed energies for the current node, we use the term average of local consumed energy and shorten it as A V G _ E n e r g y to point out the location suitability. Note that we measure the average of the consumed energy rather than the total consumed energy to guarantee that the size of the group does not have an effect on the normalized value.
    Some consider, mistakenly, that if a node has a lower sum of distances to its future probable members, then is situated at a more suitable location to become CH. This stems from the assumption that the nodes closer to the centroid of the group will consume less total energy. However, since the energy is exponentially proportional to the distance, it becomes necessary to consider members with extreme distances. This means that the location with the minimum average distances to other surrounding nodes in a predefined range is not always the most suitable location for a node to become a CH since it may not always result in minimum total consumed energy for its surrounding group of nodes.
    To illustrate this idea, consider the scenario depicted in Figure 2. Here, node G has the minimum average distance of 4.62488 m from its surrounding nodes, and is the closest to the centroid. If selected as a CH, it will result in an average consumed energy of 2.535168 × 10 7 J, for one byte of data from each neighboring node. On the other hand, node F has an average distance of 5.12655 m, but results in an average consumed energy of 2.529408 × 10 7 J. For that reason, we base the computation of location suitability for a node to become a CH on the consumed energy rather than the total distances.
  • Density of surrounding nodes: Selecting CHs surrounded by dense nodes over CHs surrounded by sparse nodes improves the energy consumption by increasing the opportunity for nodes with more neighbors in their vicinity to become CHs. Thereby, the local consumed energy for the group members is decreased.
    Density is calculated by the number of surrounding nodes within a predefined range normalized using Equation (1), where V a l u e ( v a r ) is the density of the current node, M a x ( v a r ) is the maximum density value through all candidate nodes, and M i n ( v a r ) is the minimum density value through all candidate nodes.
  • Compaction of surrounding nodes: Group compaction is a measure of how the surrounding nodes are distributed around the current node. A node surrounded by more neighbors in a closer vicinity is considered of higher compactiondegree. Selecting a node with a higher compactiondegree minimizes the total energy consumption. This criterion is important to assign different priorities for CH candidates with the same number of surrounding nodes within a predefined range. In other words, it is beneficial for distinguishing candidates surrounded by the same density of sensor nodes.
    Compaction is calculated as the ratio of the number of nodes located within the first vicinity region to those located within the second vicinity region. The first vicinity region is that region that is within half of a predefined radius distance, whereas the second vicinity region is the one that is within the nodes’ radius.
    As shown in Figure 3, the small circles surrounding A and B are considered as the first vicinities, and the larger ones are considered as the second vicinities for nodes A and B. The distance to which to extend the first vicinity is a design parameter and may be any fraction of the radius.
    To normalize the Compaction, we use Equation (1), where V a l u e ( v a r ) is the Compaction value of current node, M a x ( v a r ) is the maximum Compaction value through all candidate nodes, and M i n ( v a r ) is the minimum compaction value through all candidate nodes.

3.2. Fuzzy Sets

Each of the linguistic variables is divided into overlapping fuzzy sets, called membership functions. The crisp value of the linguistic variable belongs to each of the linguistic variable fuzzy sets with a different degree of membership. The number of membership functions and their overlaps for each of the inputs/output linguistic variables are taken based on the trial-and-error method over tens of experiments.
In this section, we present membership functions for each of the five input linguistic variables used and the output linguistic variable chance in Figure 4. Since each of the input parameters affects the consumed energy and the WSN lifetime to a different extent, the Mamdani inference model rules are formulated to reflect this nature of relationship. We ran tens of experiments to explore a better construction of rules using the trial-and-error method. The rules’ combinations are shown in Table 2.

3.3. The Proposed Clustering Technique FL-EEC/D

The FL-EEC/D technique uses the aforementioned fuzzy model for CH election. It controls the distribution of CHs based on determining and enforcing a specific minimum separation distance between CHs to guarantee their fair distribution. Each CH must be far from the closest CH by the distance d, as a minimum. The distance d is adaptive depending on the dimensions of the WSN, the number of nodes, and the desired CHs percentage. It is computed using Algorithm 1.
Algorithm 1 Calculation of the minimum forced distance between CHs.
functionCalc_Min_Dist( N , p , d i m X , d i m Y )N: List of live nodes
p: percentage of CHs in WSN
d i m X : length of X-dimension, d i m Y : Length of Y-dimension
     c c c e i l i n g ( p × c o u n t ( N ) ) c c : desired # of clusters
    c ← 1c: # of of regional columns, initially set to 1
    r ← 1r: # of regional rows, initially set to 1
     d f c c 1 d f : difference between # of created rectangles and the desired # of clusters, initially set to c c 1
    I ← 1
    while I c e i l i n g ( c c ) do
        JI
        while J I + 1 do
            if d f | c c ( I × J ) | then
                 c c | c c ( I × J ) |
                cI
                rJ
            end if
            J J + 1
        end while
        I I + 1
    end while
     r X d i m X
     r Y d i m Y
    d r X 2 + r Y 2 2
    return dd: minimum distance between CHs
end function
Firstly, Algorithm 1 virtually divides the WSN into identical regions that are aligned into rows and columns resembling the shapes of rectangles. For the purpose of keeping the shapes of these rectangles compacted, the dimensions of the rectangles are set to be as equal as possible. Therefore, the difference between the number of rows and columns is not allowed to be more than one. The domain for the allowed number of rectangles is the set of square numbers and the numbers that are products of two successive numbers. This set is defined as:
K = { ( p i × p i ) , ( p i × p i + 1 ) ; i 1 , p 1 }
In case the desired number of CHs does not belong to the set K, then it will be changed to the nearest number within the set K. For example, if the required number of CHs is three, then the resulting number of rectangles is either two or four. The number three does not belong to the set K because it is neither a square number, nor a number that can be factored into two successive numbers. However, the number two can be factored into the successive numbers two and one, and the number four is a square number.
Since the rectangles are aligned in rows and columns, their total number does not always match exactly the number of the desired clusters. The algorithm continues to add new columns in each time until it creates a number of rectangles equal or as close as possible to the desired number of clusters. The algorithm also adds a new row in each iteration before adding a new column to keep the number of rows as equal as possible to the number of columns. After that, the algorithm takes half of the diagonal of any rectangle as the forced minimum separation distance between CHs, as shown in the first rectangle by line | a b | in Figure 5.
The algorithm initially considers the whole WSN as a single rectangle, initializing the number of column and rows to one. In each round of the outer loop of the algorithm, a new column of rectangles is added. Furthermore, in each round of the inner loop, a new row of rectangles is added, where the resulting number of rectangles is closer to the desired number of clusters. The outer loop continues to loop as long as the number of columns is less than or equal to the square root of the desired number of clusters, while the inner loop is responsible for adding rows loops twice for each outer loop round.
The clustering scheme is based on forcing a minimum separation distance between CHs. It begins by selecting CHs using the proposed fuzzy inference model explained previously on the basis of separating CHs by distance d and ends by forming clusters by mapping each node n i to the closest C H r . Algorithm 2 provides the detailed steps. Figure 6 shows a snapshot of clustering output in FL-EEC/D.
Algorithm 2 Clustering based on minimum separation distance enforcement between CHs.
procedureWSN clustering
    inputs:
     N = { n 1 , n 2 , , n k } % N: set of live nodes %
     r a n g e d% d: minimum forced distance %
    p% p: Percentage of live nodes to become CHs %
     d c C e i l i n g ( p × c o u n t ( N ) ) % d c : number of the desired CHs %
    outputs:
     C H = { C H 1 , C H 2 , , C H d c } % set of CHs %
     C = { C 1 , C 2 , , C d c } % set of clusters %
    steps:
    1) For each node n i N , if the distance from n i to the closest already selected C H is less than d, then calculate each of the fuzzy input variables: Energy, BS_Distance, Density, Compaction AVG_Energy.
    2) Calculate the fuzzy output variable chance for each n i N based on the linguistic variables using the proposed fuzzy inference system
    3) Select n i with the highest chance value among the nodes located away from any pre-selected C H by the distance d
    4) Repeat Steps 1–4 until reaching d c
    5) Form clusters, C = { C 1 , C 2 , , C d c } , by joining each n i N to the closest C H r C H
end procedure

4. Performance Evaluation

We implemented the algorithms in .NET using the FuzzyLite library. It is used to simulate and evaluate comparatively the efficiency of the proposed approach in terms of lifetime, overall remaining energy, and energy balancing against the well-known clustering algorithm LEACH [12] and against approaches proposed in [34] and [25].
In [34], the authors proposed a fuzzy logic model for CH election in WSN; while the approach proposed in [25] is based on the well-known K-means clustering algorithm. In this work, we refer to them as FL[1]/D and reference the approach proposed in [34] as K-means-LEACH; respectively.

4.1. Simulation Parameters

We adopt the first order model [12] for the simulations. Here, the energy consumed for sending a k-bit message for a distance d is calculated as:
E T x ( K , d ) = K ( E e l e c + ε a m p × d 2 )
where E a m p is the energy consumed by the amplifier circuit to send one bit for a distance of one meter. ε a m p can be expressed as ε f s or ε m p according to the distance between the source node and the destination node.
For the simulations, the nodes are randomly distributed over the area of the WSN. The sensors are connected to their BS via a single level of CHs. Each node sends five packets per round, with each packet containing 500 bytes.
Table 3 shows the common simulation parameters for the WSN through the simulation experiments [56].

4.2. Network Model

We make the following assumptions in evaluating the proposed approach.
  • All sensor nodes are randomly distributed over a two-dimensional area.
  • All sensor nodes are homogeneous in terms of processing and communication capabilities. Furthermore, they have the same battery, radio, sensing, and storage capabilities.
  • There are no recharging capabilities.
  • The BS is able to estimate the locations of the sensor nodes by using any localization technique. This may be based on utilizing GPS [57,58] or by adopting GPS-free localization such as weighted centroid localization [59,60,61], which is based on the received signal strength. Generally, a small error in localization will not be significant for the overall clustering result since the values are calculated as relative variances between the lowest and highest values. These relative variances are later fuzzified (expressed as linguistic variables). The percentage of cluster heads is supposed to be 5% of the total number of sensor nodes in the WSN.
  • Cluster heads are re-selected periodically.

4.3. Performance Metrics

We considered the metrics of lifetime and total consumed energy to evaluate the schemes and methods proposed by this research comparatively. However, using the total consumed energy per round to measure energy efficiency may not be an accurate measure for lifetime evaluation. This is because the total energy might be maintained by a small percentage of nodes, while all other nodes were depleted or the total maintained energy might be less, but is distributed over a larger percentage of nodes. In order to judge the energy efficiency of the WSN clustering technique accurately, we propose a way to measure how much the clustering technique can maintain of the remaining total energy distributed equally through the nodes. If it manages to keep the total remaining energy distributed more equally, then more nodes will be live for further rounds. To the best of our knowledge, this metric of equality for the distribution of remaining energy through the nodes is used here for the first time. Furthermore, we use the well-known Gini index as a means to measure this property.
The Gini index is used in the context of measuring the extent of the inequality of income among the population or to measure how unequally the resources are distributed among population samples. The Gini index value is between zero and one; a value of zero means the inequality of the measured resource among all samples is zero, i.e., the resource is distributed equally among population samples, which happens when all samples have the same amount of resource; while a Gini index value of one means that the inequality of resources among population samples is at the maximum, when all of the resources are possessed by one sample only. In general, the larger the value of the Gini index, the more unequal the resources among the population samples, and vice versa. Mathematically, the Gini coefficient is defined as the ratio of area confined between the wealth distribution curve, Lorenz curve, and the line of equality, area A , to the area under the line of equality, area A + B , in Figure 7.
The Lorenz curve is the accumulative percentage of people against the accumulative share of wealth [62]. However, in the context of this research, the population is the sensor nodes, and the remaining energy is used in place of wealth. We adopt it to measure the extent to which the clustering algorithm keeps the remaining energy distributed equally among the nodes. Thus, the smaller the Gini index, the more equal the distribution of the remaining energy.
We also measure the network lifetime in terms of the First Node Dead (FND), 10% of Nodes Dead (10PND), Quarter of Nodes Dead (QND), Half of Nodes Dead (HND), and 75% of nodes dead.

4.4. Evaluation of FL-ECC/D

A comparative evaluation of FL-EEC/D is performed using many scenarios, to illustrate and validate its behavior under different densities, sparse, moderate, or dense, and through different positions of the BS. The comparison is based on the metric of energy balancing and network lifetime in terms of FND, 10PND, QND, and HND. All nodes in the scenarios are randomly distributed over an area of 200 × 200 meters.
The proposed FL-EEC/D is comparatively evaluated for the case of positioning the BS at the center of WSN. Figure 8, Figure 9, Figure 10 and Figure 11 compare the achieved average lifetime of FL-EEC/D for FND, 10PND, QND, and HND, respectively, against the achieved average lifetime of LEACH, FL[1]/D, and K-means-LEACH. The network sizes are 50 , 100 , 200 , 300 , and 400 nodes.
It is clear from these four figures that the proposed FL-EEC/D achieved a longer average of network lifetime for each of the terms FND, 10PND, QND, and HND, for all network sizes. For example, considering Figure 8, we see that the network lifetime achieved by FL-EEC/D in terms of FND for the network of 50 nodes was approximately 4.48-, 3-, and 1.6-times the average of that achieved by LEACH, K-means-LEACH, and FL[1]/D, respectively.
Figure 12 demonstrates the overall achieved enhancement of the proposed FL-EEC/D against LEACH, FL[1]/D, and K-means-LEACH for the network lifetime metric in terms FND, 10PND, QND, and HND, for the five WSN sizes. The average improvement diminishes as the rounds progress, and this indicates that we are achieving a good balance in the distribution of energy an extending the time before the events of FND, 10PND, and QND occur.
We further evaluate the proposed FL-EEC/D for the same metrics, but change the position of the BS to the corner of the WSN. Figure 13, Figure 14, Figure 15 and Figure 16 present the achieved average network lifetime in terms of FND, 10PND, QND, and HND, respectively, for the different WSN sizes.
It is obvious from these figures that FL-EEC/D highly outperformed its counterparts. However, placing the BS at a farther position resulted in a faster depletion of the nodes, for all schemes. Here, the advantage of FL-EEC/D is more prevalent, as its enhancement over the other schemes became higher, as demonstrated in Figure 17.
The improvements achieved by the FL-EEC/D scheme point to the ability of balancing the energy through the nodes. This is a result of better selection of the CHs and interchanging the load over the nodes in a more balanced approach.
As shown in Figure 12 and Figure 17, the improvement of network lifetime starts high for FND and then gradually decreases for 10PND, QND, and HND, respectively. This sequence is evidence of the strength of collaboration between different sensors to take loads of CH operations. Thus, most of the nodes operate together for the longest possible duration and then almost die together. In other words, they tend to die in groups rather than individually. This is contrary to the case of less balancing of remaining energy between different sensors.
Referring to Figure 18, we see that the line representing the live nodes of FL-EEC/D takes the form of a step function with a sudden drop, while the line representing the live nodes of LEACH tends to decrease gradually, and the drops are larger in the earlier period of network lifetime. Thus, most of the nodes in LEACH die through the earlier period of network lifetime. In contrast, the FL-EEC/D overcomes this shortcoming and always works to prolong sensors lifetime when it is worthy to keep them alive.
To analyze the energy consumption in FL-EEC/D versus the other techniques, we take a WSN consisting of 200 nodes distributed randomly over an area of 200 × 200 meters using the same simulation parameters listed in Table 3. The BS is located in the area at position ( 100 , 100 ) . The efficiency of managing energy by minimizing total consumed energy and balancing it among the sensors is the idea behind prolonging the network lifetime. Moreover, as observed earlier, minimizing the total consumed energy without balancing the energy reserves of the nodes does not necessarily result in better network lifetime. It is more important to minimize the differences between remaining energies among the different nodes.
Figure 19 depicts the percentage of total remaining energy for the rounds before HND. The figure shows that the FL-EEC/D conserves more total energy than the other three schemes. It also shows that the FL-EEC/D tends to consume energy gradually per round in equal amounts.
Figure 20 shows that the proposed FL-EEC/D achieves significantly lesser Gini index values for the remaining energy via all the rounds before HND occurrence. This means that the FL-EEC/D keeps the remaining energy among the nodes more equally balanced compared to the three other protocols.

5. Conclusions and Future Work

FISs are the best choice for building effective clustering algorithms/techniques for energy-efficient routing protocols in WSN, due to its high ability of combining and effectively blending input parameters to produce proper decisions about CH selections.
To achieve the best possible results of energy-efficient routing protocols in WSN, it is recommended to utilize every parameter having an effect on the energy efficiency of the WSN routing protocol. Furthermore, it is recommended to integrate them in a way that reflects the extent to which each affects the energy efficiency of the WSN. In this work, we introduced the FL-EEC/D clustering technique for energy-efficient routing protocols. Furthermore, we proposed an efficient fuzzy logic used by this clustering technique to perform CH election. This fuzzy logic utilizes five parameters to determine the strength of each sensor’s chance to be a CH. These parameters are: remaining energy of the given sensor node, distance of sensor nodes from the BS, density of other surrounding sensor nodes around the candidate CH, compaction of nodes around the sensor node, and the average of the local consumed energy. We set a condition to control the distribution of CHs over the WSN area by forcing an adaptive minimum separation distance between CHs to guarantee their even distribution. FL-EEC/D was comparatively evaluated by simulating various WSN scenarios against LEACH [12], K-means-LEACH [25], and FL[1]/D [34] for the metrics of total energy consumption, energy balancing, and network lifetime in terms of FND, 10PND, QND, and HND. Simulation results show that FL-EEC/D significantly outperforms these approaches in the metrics of network lifetime and energy consumption efficiency in various simulated scenarios. Furthermore, we introduced the idea of adopting the Gini index measurement mean for measuring the extent to which the WSN clustering algorithm has the ability to balance energy consumption through all WSN sensor nodes. We used the Gini index as a fair measurement tool for evaluating the energy efficiency of routing protocols in WSN for the metric of balancing of energy distribution.

Author Contributions

Conceptualization, A.H., M.S. and O.A.-J.; methodology, A.H. and M.S.; software, A.H. and O.A.-J.; supervision, O.A.-J.; validation, M.S. and E.T.; writing, original draft preparation, A.H.; writing, review and editing, E.T.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
WSNWireless Sensor Network
CHCluster Head
BSBase Station
FL-EEC/DFuzzy Logic-based Energy-Efficient Clustering based on minimum separation Distance enforcement between CHs
LEACHLow Energy Adaptive Clustering Hierarchy
FISFuzzy Inference System
HRPHierarchical Routing Protocols
PEGASISPower-Efficient Gathering in Sensor Information Systems
DPSODiscrete Particle Swarm Optimization
FNDFirst Node Dead
10PND10% of Nodes Dead
QNDQuarter of Nodes Dead
HNDHalf of Nodes Dead

References

  1. Buratti, C.; Conti, A.; Dardari, D.; Verdone, R. An overview on wireless sensor networks technology and evolution. Sensors 2009, 9, 6869–6896. [Google Scholar] [CrossRef] [PubMed]
  2. Giorgetti, A.; Lucchi, M.; Tavelli, E.; Barla, M.; Gigli, G.; Casagli, N.; Chiani, M.; Dardari, D. A robust wireless sensor network for landslide risk analysis: system design, deployment, and field testing. IEEE Sens. J. 2016, 16, 6374–6386. [Google Scholar] [CrossRef]
  3. Rashid, B.; Rehmani, M.H. Applications of wireless sensor networks for urban areas: A survey. J. Netw. Comput. Appl. 2016, 60, 192–219. [Google Scholar] [CrossRef]
  4. Modieginyane, K.M.; Letswamotse, B.B.; Malekian, R.; Abu-Mahfouz, A.M. Software defined wireless sensor networks application opportunities for efficient network management: A survey. Comput. Electr. Eng. 2018, 66, 274–287. [Google Scholar] [CrossRef]
  5. Puccinelli, D.; Haenggi, M. Wireless sensor networks: applications and challenges of ubiquitous sensing. IEEE Circuits Syst. Mag. 2005, 5, 19–31. [Google Scholar] [CrossRef]
  6. Younis, O.; Fahmy, S. HEED: A hybrid, energy-efficient, distributed clustering approach for ad hoc sensor networks. IEEE Trans. Mob. Comput. 2004, 3, 366–379. [Google Scholar] [CrossRef]
  7. Lindsey, S.; Raghavendra, C.S. PEGASIS: Power-efficient gathering in sensor information systems. In Proceedings of the IEEE Aerospace Conference Proceedings, Big Sky, MT, USA, 9–16 March 2002; Volume 3, p. 3. [Google Scholar]
  8. Hu, F.; Cao, X. Wireless Sensor Networks: Principles and Practice; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
  9. Heinzelman, W.B.; Chandrakasan, A.P.; Balakrishnan, H. An application-specific protocol architecture for wireless microsensor networks. IEEE Trans. Wirel. Commun. 2002, 1, 660–670. [Google Scholar] [CrossRef] [Green Version]
  10. Shurman, M.M.; Al-Mistarihi, M.F.; Harb, S. An Energy-Efficient Coverage Aware Clustering Mechanism for Wireless Sensor Networks. In Proceedings of the 5th International Conference on Communications, Computers and Applications (MIC-CCA 2012), Istanbul, Turkey, 12–14 October 2012. [Google Scholar]
  11. Shurman, M.M.; Al-Mistarihi, M.; Drabkh, K.; Naji, A. Hierarchal Clustering Using Genetic Algorithm in Wireless Sensor Networks. In Proceedings of the 36th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO2013), Opatija, Croatia, 20–24 May 2013. [Google Scholar]
  12. Heinzelman, W.R.; Chandrakasan, A.; Balakrishnan, H. Energy-efficient communication protocol for wireless microsensor networks. In Proceedings of the 33rd Annual Hawaii International Conference on System Sciences, Maui, HI, USA, 7 January 2000; p. 8020. [Google Scholar]
  13. Suhonen, J.; Kohvakka, M.; Kaseva, V.; Hämäläinen, T.D.; Hännikäinen, M. Low-Power Wireless Sensor Networks: Protocols, Services and Applications; Springer Science & Business Media: Berlin, Germany, 2012. [Google Scholar]
  14. Manap, Z.; Ali, B.M.; Ng, C.K.; Noordin, N.K.; Sali, A. A review on hierarchical routing protocols for wireless sensor networks. Wirel. Pers. Commun. 2013, 72, 1077–1104. [Google Scholar] [CrossRef]
  15. Pal, R.; Sharma, A.K. FSEP-E: Enhanced stable election protocol based on fuzzy Logic for cluster head selection in WSNs. In Proceedings of the 2013 Sixth International Conference on Contemporary Computing (IC3), Noida, India, 8–10 August 2013; pp. 427–432. [Google Scholar]
  16. Shurman, M.M.; Alomari, Z.; Mhaidat, K. An Efficient Billing Scheme for Trusted Nodes Using Fuzzy Logic in Wireless Sensor Networks. J. Wirel. Eng. Technol. 2014, 5, 62–73. [Google Scholar] [CrossRef]
  17. Barrett, G.F.; Crossley, T.F.; Worswick, C. Consumption and income inequality in Australia. Econ. Rec. 2000, 76, 116–138. [Google Scholar] [CrossRef]
  18. Akyildiz, I.F.; Su, W.; Sankarasubramaniam, Y.; Cayirci, E. Wireless sensor networks: A survey. Comput. Netw. 2002, 38, 393–422. [Google Scholar] [CrossRef]
  19. Shi, S.; Liu, X.; Gu, X. An energy-efficiency Optimized LEACH-C for wireless sensor networks. In Proceedings of the 7th International ICST Conference on Communications and Networking in China (CHINACOM), Kunming, China, 8–10 August 2012; pp. 487–492. [Google Scholar]
  20. Geetha, V.; Kallapur, P.V.; Tellajeera, S. Clustering in wireless sensor networks: Performance comparison of leach & leach-c protocols using ns2. Procedia Technol. 2012, 4, 163–170. [Google Scholar]
  21. Manjeshwar, A.; Agrawal, D.P. TEEN: A routing protocol for enhanced efficiency in wireless sensor networks. In Proceedings of the 15th International Parallel and Distributed Processing Symposium, San Francisco, CA, USA, 23–27 April 2001; pp. 2009–2015. [Google Scholar]
  22. Manjeshwar, A.; Agrawal, D.P. APTEEN: A hybrid protocol for efficient routing and comprehensive information retrieval in wireless sensor networks. In Proceedings of the International Parallel and Distributed Processing Symposium (IPDPS 2002), Fort Lauderdale, FL, USA, 15–19 April 2002; pp. 2009–2015. [Google Scholar]
  23. Liu, X. A survey on clustering routing protocols in wireless sensor networks. Sensors 2012, 12, 11113–11153. [Google Scholar] [CrossRef] [PubMed]
  24. Cheng, D.; Song, Y.; Mao, Y.; Wang, X. An energy efficient cluster-based routing protocol for intelligent environmental monitoring system. In Proceedings of the 2014 2nd International Conference on Systems and Informatics (ICSAI), Shanghai, China, 15–17 November 2014; pp. 505–509. [Google Scholar]
  25. Park, G.Y.; Kim, H.; Jeong, H.W.; Youn, H.Y. A novel cluster head selection method based on K-means algorithm for energy efficient wireless sensor network. In Proceedings of the 27th International Conference onAdvanced Information Networking and Applications Workshops (WAINA), Barcelona, Spain, 25–28 March 2013; pp. 910–915. [Google Scholar]
  26. Eshaftri, M.; Al-Dubai, A.Y.; Romdhani, I.; Yassien, M.B. A new energy efficient cluster based protocol for wireless sensor networks. In Proceedings of the 2015 Federated Conference on Computer Science and Information Systems (FedCSIS), Lodz, Poland, 13–16 September 2015; pp. 1209–1214. [Google Scholar]
  27. Li, L.Y.; Liu, C.D. An Improved Algorithm of LEACH Routing Protocol in Wireless Sensor Networks. In Proceedings of the 2014 8th International Conference on Future Generation Communication and Networking (FGCN), Haikou, China, 20–23 December 2014; pp. 45–48. [Google Scholar]
  28. Min, D.; Chun, X. An improved cluster protocol design method for low energy uneven wireless sensor network. In Proceedings of the 2015 International Conference on Computer and Computational Sciences (ICCCS), Noida, India, 27–29 January 2015; pp. 189–192. [Google Scholar]
  29. Li, J.; Liu, D. DPSO-based clustering routing algorithm for energy harvesting wireless sensor networks. In Proceedings of the 2015 International Conference on Wireless Communications & Signal Processing (WCSP), Nanjing, China, 15–17 October 2015; pp. 1–5. [Google Scholar]
  30. Prabhavathi, S.; Subramanyam, A.; Rao, A.A. Clustering process for maximizing lifetime using probabilistic logic in WSN. In Proceedings of the 2014 International Conference on Computing, Communication and Networking Technologies (ICCCNT), Hefei, China, 11–13 July 2014; pp. 1–7. [Google Scholar]
  31. Elhabyan, R.S.; Yagoub, M.C. Evolutionary algorithms for cluster heads election in wireless sensor networks: Performance comparison. In Proceedings of the Science and Information Conference (SAI), London, UK, 28–30 July 2015; pp. 1070–1076. [Google Scholar]
  32. Randriatsiferana, R.S.; Alicalapa, F.; Lorion, R.; Mohammed, A.M. A clustering algorithm based on energy variance and coverage density in centralized hierarchical Wireless Sensor Networks. In Proceedings of the AFRICON, Pointe-Aux-Piments, Mauritius, 9–12 September 2013; pp. 1–5. [Google Scholar]
  33. Singh, D.P.; Bhateja, V.; Soni, S.K. Prolonging the lifetime of wireless sensor networks using prediction based data reduction scheme. In Proceedings of the 2014 International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 20–21 February 2014; pp. 420–425. [Google Scholar]
  34. Belghith, O.B.; Sbita, L. Extending the network lifetime of wireless sensor networks using fuzzy logic. In Proceedings of the 12th International Multi-Conference on Systems, Signals & Devices (SSD), Mahdia, Tunisia, 16–19 March 2015; pp. 1–5. [Google Scholar]
  35. Nayak, P.; Devulapalli, A. A fuzzy logic-based clustering algorithm for wsn to extend the network lifetime. IEEE Sens. J. 2016, 16, 137–144. [Google Scholar] [CrossRef]
  36. Bagci, H.; Yazici, A. An energy aware fuzzy unequal clustering algorithm for wireless sensor networks. In Proceedings of the 2010 IEEE International Conference on Fuzzy Systems (FUZZ), Barcelona, Spain, 18–23 July 2010; pp. 1–8. [Google Scholar]
  37. Siew, Z.; Liau, C.F.; Kiring, A.; Arifianto, M.; Teo, K.T.K. Fuzzy logic based cluster head election for wireless sensor network. In Proceedings of the 3rd CUTSE International Conference, Sarawak, Malaysia, 8–9 November 2011; pp. 301–306. [Google Scholar]
  38. Pires, A.; Silva, C.; Cerqueira, E.; Monteiro, D.; Viegas, R. CHEATS: A cluster-head election algorithm for WSN using a Takagi-Sugeno fuzzy system. In Proceedings of the 2011 IEEE Latin-American Conference on Communications (LATINCOM), Belem, Brazil, 26–28 October 2011; pp. 1–6. [Google Scholar]
  39. Fu, Z. Cluster head election with a fuzzy algorithm for wireless sensor networks. In Proceedings of the 2013 6th International Congress on Image and Signal Processing (CISP), Hangzhou, China, 16–18 December 2013; Volume 3, pp. 1427–1431. [Google Scholar]
  40. Gupta, I.; Riordan, D.; Sampalli, S. Cluster-head election using fuzzy logic for wireless sensor networks. In Proceedings of the 3rd Annual Communication Networks and Services Research Conference, Halifax, NS, Canada, 16–18 May 2005; pp. 255–260. [Google Scholar]
  41. Chourasia, M.K.; Panchal, M.; Shrivastav, A. Energy efficient protocol for mobile Wireless Sensor Networks. In Proceedings of the Communication, Control and Intelligent Systems (CCIS), Mathura, India, 7–8 November 2015; pp. 79–84. [Google Scholar]
  42. Preethiya, T.; Santhi, G. Enhancement of lifetime using fuzzy-Based clustering approach in WSN. In Proceedings of the 2014 International Conference on Electronics and Communication Systems (ICECS), Coimbatore, India, 13–14 February 2014; pp. 1–5. [Google Scholar]
  43. Islam, M.K. Energy Aware Techniques for Certain Problems in Wireless Sensor Networks. Ph.D. Thesis, School of Computing, Queens University, Shenzhen, China, 2010. [Google Scholar]
  44. Alla, S.B.; Ezzati, A.; Mohsen, A. Gateway and cluster head election using fuzzy logic in heterogeneous wireless sensor networks. In Proceedings of the 2012 International Conference on Multimedia Computing and Systems (ICMCS), Tangier, Morocco, 10–12 May 2012; pp. 761–766. [Google Scholar]
  45. Khan, F.U.; Shah, I.A.; Jan, S.; Khan, I.; Mehmood, M.A. Fuzzy logic based cluster head selection for homogeneous wireless sensor networks. In Proceedings of the 2015 International Conference on Open Source Systems & Technologies (ICOSST), Lahore, Pakistan, 17–19 December 2015; pp. 41–45. [Google Scholar]
  46. Messaoudi, A.; Elkamel, R.; Helali, A.; Bouallegue, R. Distributed fuzzy logic based routing protocol for wireless sensor networks. In Proceedings of the 24th International Conference on Software, Telecommunications and Computer Networks (SoftCOM), Split, Croatia, 22–24 September 2016; pp. 1–7. [Google Scholar]
  47. Singh, S.; Panchal, M.; Jain, R. Fuzzy Logic Based Energy Efficient Network Lifetime Optimization in Wireless Sensor Network. In Proceedings of the 2016 International Conference on Micro-Electronics and Telecommunication Engineering (ICMETE), Ghaziabad, India, 22–23 September 2016; pp. 493–498. [Google Scholar]
  48. Buratti, C.; Giorgetti, A.; Verdone, R. Cross-layer design of an energy-efficient cluster formation algorithm with carrier-sensing multiple access for wireless sensor networks. EURASIP J. Wirel. Commun. Netw. 2005, 2005, 672–685. [Google Scholar] [CrossRef]
  49. Li, N.; Martínez, J.F.; Díaz, V.H. The balanced cross-layer design routing algorithm in wireless sensor networks using fuzzy logic. Sensors 2015, 15, 19541–19559. [Google Scholar] [CrossRef]
  50. Zuo, J.; Dong, C.; Ng, S.X.; Yang, L.L.; Hanzo, L. Cross-layer aided energy-efficient routing design for ad hoc networks. IEEE Commun. Surv. Tutor. 2015, 17, 1214–1238. [Google Scholar] [CrossRef]
  51. Li, N.; Martínez-Ortega, J.F.; Díaz, V.H. Cross-Layer and Reliable Opportunistic Routing Algorithm for Mobile Ad Hoc Networks. IEEE Sens. J. 2018, 18, 5595. [Google Scholar] [CrossRef]
  52. Zhang, Y.; Wang, J.; Han, D.; Wu, H.; Zhou, R. Fuzzy-logic based distributed energy-efficient clustering algorithm for wireless sensor networks. Sensors 2017, 17, 1554. [Google Scholar] [CrossRef]
  53. Mohamad, I.B.; Usman, D. Standardization and its effects on K-means clustering algorithm. Res. J. Appl. Sci. Eng. Technol. 2013, 6, 3299–3303. [Google Scholar] [CrossRef]
  54. Grus, J. Data Science from Scratch: First Principles with Python; O’Reilly Media, Inc.: Sebastopol, CA, USA, 2015. [Google Scholar]
  55. Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv, 2015; arXiv:1502.03167. [Google Scholar]
  56. Banimelhem, O.; Taqieddin, E.; Mowafi, M.Y.; Awad, F. Fuzzy Logic-Based Cluster Heads Percentage Calculation for Improving the Performance of the LEACH Protocol. In Fuzzy Systems: Concepts, Methodologies, Tools, and Applications; IGI Global: Hershey, PA, USA, 2017; pp. 609–627. [Google Scholar]
  57. Cheng, B.; Du, R.; Yang, B.; Yu, W.; Chen, C.; Guan, X. An accurate GPS-based localization in wireless sensor networks: A GM-WLS method. In Proceedings of the 2011 International Conference on Parallel Processing Workshops, Taipei, Taiwan, 13–16 September 2011; pp. 33–41. [Google Scholar]
  58. Stoleru, R.; He, T.; Stankovic, J.A. Walking GPS: A practical solution for localization in manually deployed wireless sensor networks. In Proceedings of the 29th Annual IEEE International Conference on Local Computer Networks, Tampa, FL, USA, 16–18 November 2004; pp. 480–489. [Google Scholar]
  59. Magowe, K.; Giorgetti, A.; Kandeepan, S.; Yu, X. Accurate analysis of weighted centroid localization. IEEE Trans. Cognit. Commun. Netw. 2018. [Google Scholar] [CrossRef]
  60. Wang, L.; Xu, Q. GPS-free localization algorithm for wireless sensor networks. Sensors 2010, 10, 5899–5926. [Google Scholar] [CrossRef] [PubMed]
  61. Giorgetti, A.; Magowe, K.; Kandeepan, S. Exact analysis of weighted centroid localization. In Proceedings of the 2016 24th European Signal Processing Conference (EUSIPCO), Budapest, Hungary, 28 August–2 September 2016; pp. 743–747. [Google Scholar]
  62. Gastwirth, J. A General Definition of the Lorenz Curve. Econometrica 1971, 39, 1037–1039. [Google Scholar] [CrossRef]
Figure 1. Fuzzy system control model.
Figure 1. Fuzzy system control model.
Sensors 19 00561 g001
Figure 2. Simple WSN scenario for location suitability computation.
Figure 2. Simple WSN scenario for location suitability computation.
Sensors 19 00561 g002
Figure 3. First and second vicinities of nodes A and B.
Figure 3. First and second vicinities of nodes A and B.
Sensors 19 00561 g003
Figure 4. Membership Functions of the fuzzy sets.
Figure 4. Membership Functions of the fuzzy sets.
Sensors 19 00561 g004
Figure 5. WSN area divided into virtual identical rectangles.
Figure 5. WSN area divided into virtual identical rectangles.
Sensors 19 00561 g005
Figure 6. A snapshot of clustering output in FL-EEC/D.
Figure 6. A snapshot of clustering output in FL-EEC/D.
Sensors 19 00561 g006
Figure 7. Lorenz curve and the line of equality for the distribution of wealth.
Figure 7. Lorenz curve and the line of equality for the distribution of wealth.
Sensors 19 00561 g007
Figure 8. FND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Figure 8. FND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Sensors 19 00561 g008
Figure 9. 10PND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Figure 9. 10PND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Sensors 19 00561 g009
Figure 10. QND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Figure 10. QND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Sensors 19 00561 g010
Figure 11. HND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Figure 11. HND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the center of WSN).
Sensors 19 00561 g011
Figure 12. Average improvement percentage of FL-EEC/D over LEACH, K-means-LEACH, and FL[1]/D for network lifetime (BS at the center of WSN).
Figure 12. Average improvement percentage of FL-EEC/D over LEACH, K-means-LEACH, and FL[1]/D for network lifetime (BS at the center of WSN).
Sensors 19 00561 g012
Figure 13. FND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the corner of WSN).
Figure 13. FND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the corner of WSN).
Sensors 19 00561 g013
Figure 14. 10PND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at corner of WSN).
Figure 14. 10PND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at corner of WSN).
Sensors 19 00561 g014
Figure 15. QND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the corner of WSN).
Figure 15. QND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the corner of WSN).
Sensors 19 00561 g015
Figure 16. HND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the corner of WSN).
Figure 16. HND of FL-EEC/D against LEACH, K-means-LEACH, and FL[1]/D (BS at the corner of WSN).
Sensors 19 00561 g016
Figure 17. Average improvement percentage of FL-EEC/D over LEACH, K-means-LEACH, and FL[1]/D for network lifetime (BS at the corner of WSN).
Figure 17. Average improvement percentage of FL-EEC/D over LEACH, K-means-LEACH, and FL[1]/D for network lifetime (BS at the corner of WSN).
Sensors 19 00561 g017
Figure 18. Live nodes vs. rounds for FL-EEC/D and LEACH.
Figure 18. Live nodes vs. rounds for FL-EEC/D and LEACH.
Sensors 19 00561 g018
Figure 19. Percentage of total remaining energy per round for FL-EEC/D, LEACH, K-means-LEACH, and FL[1]/D.
Figure 19. Percentage of total remaining energy per round for FL-EEC/D, LEACH, K-means-LEACH, and FL[1]/D.
Sensors 19 00561 g019
Figure 20. The Gini Index of the remaining energy per round for FL-EEC/D, LEACH, K-means-LEACH, and FL[1]/D.
Figure 20. The Gini Index of the remaining energy per round for FL-EEC/D, LEACH, K-means-LEACH, and FL[1]/D.
Sensors 19 00561 g020
Table 1. Classes of WSN routing protocols.
Table 1. Classes of WSN routing protocols.
ClassSingle LayerCross Layer
Cluster BasedCentralizedSensors are organized into clusters, and transmissions go through CHs. In this approach, node locations are estimated by the BS. This benefits from the global knowledge of the network and achieves a more efficient clustering compared to the distributed approach. Examples appear in [19,25,26,29], and [32].Information is collected and combined from different network layers to be utilized for CH election. The works in [49] and [51] follow this approach.
DistributedSensors are organized into clusters in a distributed manner, and transmissions go through CHs. A drawback of this approach is that it is confined to local information, and this may lead to non-optimal WSN clustering [6,12,24,27,52].
Chain BasedProactiveSensors are periodically organized into chains through which the transmissions pass. An example of this approach is found in [7].
ReactiveSensors are organized as chains through which the transmissions pass. Routes change immediately in response to the changes of relevant parameters of interest [21].
Table 2. Fuzzy rules.
Table 2. Fuzzy rules.
SN.Input VariablesOutput Variable
EnergyBS_DistanceAVG_EnergyDensityCompactionChance
1LowCloseLowLowLowLMid
2LowCloseLowLowHighHMid
3LowCloseLowHighLowHMid
4LowCloseLowHighHighHigh
5LowCloseHighLowLowLow
6LowCloseHighLowHighLMid
7LowCloseHighHighLowLMid
8LowCloseHighHighHighHMid
9LowMediumLowLowLowVVLow
10LowMediumLowLowHighVLow
11LowMediumLowHighLowVLow
12LowMediumLowHighHighLLMid
13LowMediumHighLowLowVVLow
14LowMediumHighLowHighVVLow
15LowMediumHighHighLowVVLow
16LowMediumHighHighHighVLow
17LowFarLowLowLowVVLow
18LowFarLowLowHighVVLow
19LowFarLowHighLowVVLow
20LowFarLowHighHighVVLow
21LowFarHighLowLowVVLow
22LowFarHighLowHighVVLow
23LowFarHighHighLowVVLow
24LowFarHighHighHighVVLow
25MediumCloseLowLowLowHigh
26MediumCloseLowLowHighVVHigh
27MediumCloseLowHighLowVVHigh
28MediumCloseLowHighHighVVHigh
29MediumCloseHighLowLowHMid
30MediumCloseHighLowHighHigh
31MediumCloseHighHighLowHigh
32MediumCloseHighHighHighVVHigh
33MediumMediumLowLowLowLLMid
34MediumMediumLowLowHighMid
35MediumMediumLowHighLowMid
36MediumMediumLowHighHighHHMid
37MediumMediumHighLowLowVLow
38MediumMediumHighLowHighLLMid
39MediumMediumHighHighLowLLMid
40MediumMediumHighHighHighMid
41MediumFarLowLowLowVVLow
42MediumFarLowLowHighVVLow
43MediumFarLowHighLowVVLow
44MediumFarLowHighHighLow
45MediumFarHighLowLowVVLow
46MediumFarHighLowHighVVLow
47MediumFarHighHighLowVVLow
48MediumFarHighHighHighVVLow
49HighCloseLowLowLowVVHigh
50HighCloseLowLowHighVVHigh
51HighCloseLowHighLowVVHigh
52HighCloseLowHighHighVVHigh
53HighCloseHighLowLowVVHigh
54HighCloseHighLowHighVVHigh
55HighCloseHighHighLowVVHigh
56HighCloseHighHighHighVVHigh
57HighMediumLowLowLowHHMid
58HighMediumLowLowHighVHigh
59HighMediumLowHighLowVHigh
60HighMediumLowHighHighVVHigh
61HighMediumHighLowLowMid
62HighMediumHighLowHighHHMid
63HighMediumHighHighLowHHMid
64HighMediumHighHighHighVHigh
65HighFarLowLowLowLow
66HighFarLowLowHighLMid
67HighFarLowHighLowLMid
68HighFarLowHighHighHMid
69HighFarHighLowLowVVLow
70HighFarHighLowHighLow
71HighFarHighHighLowLow
72HighFarHighHighHighLMid
Table 3. Simulation parameters.
Table 3. Simulation parameters.
ParameterValue
Data Packet Size500 bytes
Initial Energy2 J
E e l e c 50 nJ/bit
ε f s 10 nJ/bit/m 2 bytes
E f u s 5 nJ/bit/signal
ε m p 0.0013 nJ/bit/m 4
Threshold Distance d 0 87 m
Deployment MethodRandom

Share and Cite

MDPI and ACS Style

Hamzah, A.; Shurman, M.; Al-Jarrah, O.; Taqieddin, E. Energy-Efficient Fuzzy-Logic-Based Clustering Technique for Hierarchical Routing Protocols in Wireless Sensor Networks. Sensors 2019, 19, 561. https://doi.org/10.3390/s19030561

AMA Style

Hamzah A, Shurman M, Al-Jarrah O, Taqieddin E. Energy-Efficient Fuzzy-Logic-Based Clustering Technique for Hierarchical Routing Protocols in Wireless Sensor Networks. Sensors. 2019; 19(3):561. https://doi.org/10.3390/s19030561

Chicago/Turabian Style

Hamzah, Abdulmughni, Mohammad Shurman, Omar Al-Jarrah, and Eyad Taqieddin. 2019. "Energy-Efficient Fuzzy-Logic-Based Clustering Technique for Hierarchical Routing Protocols in Wireless Sensor Networks" Sensors 19, no. 3: 561. https://doi.org/10.3390/s19030561

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop