#### Abstract

Clustering is one of the important methods for prolonging the network lifetime in wireless sensor networks (WSNs). It involves grouping of sensor nodes into clusters and electing cluster heads (CHs) for all the clusters. CHs collect the data from respective cluster’s nodes and forward the aggregated data to base station. A major challenge in WSNs is to select appropriate cluster heads. In this paper, we present a fuzzy decision-making approach for the selection of cluster heads. Fuzzy multiple attribute decision-making (MADM) approach is used to select CHs using three criteria including residual energy, number of neighbors, and the distance from the base station of the nodes. The simulation results demonstrate that this approach is more effective in prolonging the network lifetime than the distributed hierarchical agglomerative clustering (DHAC) protocol in homogeneous environments.

#### 1. Introduction

Advancements in low-power electronic devices integrated with wireless communication capabilities are one of the recent areas of research in the field of the wireless sensor networks (WSNs). WSNs consist of spatially distributed autonomous sensors distributed over a region of interest to observe some phenomenon through either some random or strategic methods. Considerable amount of work has enabled the design, the implementation, and the deployment of these sensor networks tailored to the unique requirement of sensing and monitoring in real-time applications. These nodes have onboard wireless modules which consist of microcontroller, transreceiver, and power and memory units. A sensor mode is mounted on the node with multiple types of sensors depending on the type of application such as environmental monitoring [1], surveillance [2], military applications, automation in transportation, health [3], and industrial applications [4].

One of the stringent requirements of these nodes is the efficient use of the stored energy. Several algorithms have been designed for efficient management of nodes energy in WSNs using various clustering schemes [5, 6]. WSN divides clusters each having a coordinator (cluster head) responsible for gathering the data from the nodes and sending it to the sink (base station). Sensors are often deployed densely to satisfy the coverage requirement, which enables certain nodes to enter the sleep mode thereby allowing significant energy savings. The cluster heads can be selected randomly or based on one or more criteria. Selection of cluster head largely affects WSNs lifetime. Ideal cluster head is the one which has the highest residual energy, the maximum number of neighbor nodes, and the smallest distance from base station. Simultaneous consideration of all these criteria in CHs selection is tedious task and can be solved using multiple attribute decision-making (MADM) approaches [7–10]. A number of MADM approaches are reported and have been successfully applied in various scientific-, engineering-, and social-science based decision-making problems. These methods quantitatively select alternatives based on their multiple attributes/criteria. In real-time problem, it is often found that the estimation of the exact values of all the criteria is difficult. In such cases fuzzy-based MADM methodologies [11–13] are found to be efficient and effective. In the present paper, we have made an attempt to employ these approaches in order to prolonging the life time of WSNs.

#### 2. Background

A number of clustering protocols have been explored in order to obtain the effective energy usage in WSNs. Heinzelman et al. [14] proposed low-energy adaptive cluster hierarchy (LEACH). It is based on randomized rotation of the CHs to distribute the energy load among the sensor nodes evenly in the entire network. Each node elects itself as a CH based on a probabilistic scheme and broadcasts its availability to all the sensor nodes present in the area. The received signal strength is the prime parameter for determining the communication distance between the nodes. The CH performs aggregation of the packets received from all the nodes present in their cluster. Also, all the nodes get a chance to become the CH to balance the overall energy consumption across the network. Although the complexity of LEACH is low, the algorithm is not energy efficient due to irregular distribution of the CHs. Kumar et al. [15] proposed energy-efficient heterogeneous clustered (EEHC) scheme in heterogeneous environment in which a percentage of nodes are equipped with more energy than others. The nodes play the role of a cluster head based on the weighted election probabilities according to the residual energy. Though the concept of heterogeneity is introduced, this protocol does not consider different parameters for the selection of CHs. Distributed hierarchical agglomerative clustering (DHAC) [16] classifies sensor nodes into appropriate groups instead of simply gathering nodes to some randomly selected CHs. The application and the evaluation of methods of various dendrogram techniques such as SLINK, CLINK, UPGMA, and WPGAM, with quantitative and qualitative data, are demonstrated in this method. The hybrid energy-efficient distributed protocol (HEED) [17] is single-hop clustering protocol in which CHs are selected based on a hybrid metric consisting of residual energy and neighbors proximity. Nodes having high residual energy and operating under low communication cost can become CHs. Multiple CHs are used for transferring the data to the base station using the concept of multihop communication. But HEED does not guarantee the optimum number of elected CHs. Multicriteria decision-making-based approach, trapezoidal fuzzy AHP (FAHP), and hierarchical fuzzy integral [18], have been investigated in clustering on WSNs. The selection of cluster heads is optimized to develop a distributed energy-efficient clustering algorithm using three criteria including energy status; QoS impact and location. According to these criteria, each node computes a composite value by using fuzzy integral, which is mapped onto the time axis, and a time-trigger mechanism makes the node broadcast cluster-head information. Karaca et al. [19] proposed analytic hierarchy Process (AHP), which is used to centralize CH selection scheme. The factors contributing to the network lifetime are residual energy, mobility, and the distance to the involved cluster centroid. CHs are selected in each cycle based on the mobility and the remaining energy of the nodes. It is reported that the AHP approach improves the network lifetime remarkably.

#### 3. System Model and Assumptions

The following assumptions are considered in the present study.(1)Nodes are dispersed randomly in a square unit region following a uniform distribution. (2)All the nodes send hello messages to the base station containing their local information. (3)The initial number of clusters is fixed by taking the optimum value and keeps on varying with the node density once the nodes start dying. The smaller clusters merge with the bigger ones. (4)The base station (BS) is a node with no energy constraint and enhanced computation capabilities and placed at the center of the field. (5)A simple radio energy dissipation model [14] in transmitting a bit message over a distance to achieve an acceptable signal-to-noise ratio (SNR) is used. Energy consumption in data transmission can be estimated as where is the energy dissipated per bit to run the transmitter or the receiver circuit, is the energy consumed in the amplifier when and is the energy consumed in the amplifier when . The energy consumed while reception is

#### 4. Multicriteria Decision-Making (MCDM) Approaches

MCDM techniques have been applied for quantitative decision-making problems in wide range of scientific and engineering fields. MCDM can be divided into two main categories: multiobjective decision-making (MODM) [10] and multiattribute decision making (MADM) approaches [7]. MODM selects alternatives which are nondominating in view of all criteria under study. On the other hand, MADM techniques quantitatively compare and rank alternatives based on the degree of desirability of their attributes being considered for the study. In the present study, MODM (Pareto optimal technique) and MADM (fuzzy TOPSIS) approaches are used to select cluster heads.

##### 4.1. Pareto Optimal Solution

The Pareto optimal solutions are nondominated in a given solution space (Figure 1) as described by the economist Vilfredo Pareto [20]. In multiobjective decision-making problems, the solution space is defined as a region consisting of all possible solutions. Solution space can be classified into three sets, namely, (a) completely dominated, (b) neither dominated, nor dominating and (c) nondominated. In a completely dominated solution, there exists at least one (real) alternative which completely overshadows all the properties of all the alternatives in a desirable manner. In the second type of set, the alternatives have properties some of which are dominated by the others while the rest are dominating; thus, they are also not ideal for application. Nondominated solutions are the alternatives that have the best trade-off between properties and are not dominated by any other alternative in the solution space.

##### 4.2. Fuzzy Membership Function

It is often difficult to assign precise values of attributes of the sensor nodes in each cycle. The merit of using fuzzy approach is to assign the relative importance of criteria using fuzzy numbers instead of precise numbers. Linguistic variables are used in fuzzy logic to evaluate the importance of the criteria and the ratings of different alternatives with respect to various criteria. In the present algorithm, the existing precise values are transformed into five levels, fuzzy linguistic variables: very low (VL), low (L), medium (M), high (H), and very high (VH).

As a rule of thumb, each rank is assigned an evenly spread membership function that has an interval of 0.30 or 0.25, and a transformation table is shown in Table 1. For example, the fuzzy variable, VL, has its associated triangular fuzzy number with the minimum of 0.00, mode of 0.10, and maximum of 0.25. Similarly, other variables L, M, H, and VH have similar trend as shown. Figure 2 illustrates the fuzzy membership function [12].

##### 4.3. Fuzzy TOPSIS Approach

Technique for order preference by similarity to ideal solution (TOPSIS) is one of the MADM approaches in which a decision matrix having “” alternatives and “” attributes can be assumed to be problem of “” dimensional hyperplane having “” points whose location is given by the value of their attributes [12]. The optimum alternative has the shortest distance from the positive ideal solution (the best possible case) and the furthest distance from the negative ideal solution (worst possible case), respectively. This technique has been widely applied in various scientific and engineering applications [12, 21–23]. Sometimes it is difficult to assign a precise performance rating to an alternative for the attributes under consideration. Thus, to solve this issue, fuzzy approach can be used to assign the relative importance of attributes using fuzzy numbers instead of precise numbers. This section is an extension of TOPSIS to the fuzzy environment [11–13], which is helpful in solving the decision-making problem under fuzzy environment. The fuzzy TOPSIS can be applied on decision matrix as where and , are linguistic triangular fuzzy numbers, , and . Note that is the performance rating of the alternative. represents the weight of the criterion, . The normalized fuzzy decision matrix denoted by is given as

The weighted normalized fuzzy decision matrix is Steps for fuzzy TOPSIS procedure are as follows.

*Step 1. *Choose the linguistic ratings and for alternatives with respect to criteria and the appropriate linguistic variables for the weight of the criteria. If the range of triangular fuzzy numbers belongs to , then there is no need for a normalization.

*Step 2. *Obtain the weighted normalized fuzzy decision matrix given by (6).

*Step 3. *The selection of an alternative is based on the shortest distance from the positive ideal solution () and the furthest from the negative ideal solution (), which are defined as

*Step 4. *The separation measures are the distances of each alternative from and given as

*Step 5. *TOPSIS rank indices can be estimated as
Nodes of higher TOPSIS index are selected for cluster heads.

#### 5. Cluster Formation and Data Transfer Methodologies

All the selected CHs now send advertisement messages in the network declaring their presence as cluster heads. Each node now measures the distance from all the cluster heads. The node joins the CH with minimum distance and sends a message to the nearest cluster head. If the distance between the node and the CH is more than its distance to the BS, the node will communicate with the BS directly. Otherwise, it joins cluster based on the nearest distance (Euclidean distance), thereby forming clusters. The nodes are reclustered based on the distance with the selected cluster head using a distance matrix, (), given as follows: where is the Euclidean distance between CH and a node based on its location information. If and represent the locations of the two nodes and , then the Euclidean distance is

Each element in the distance matrix represents the distance between the cluster head and node. The column containing the minimum value represents the cluster number to be joined by the corresponding node. For example, if is the minimum value in the first column, in this situation the node gets associated with the second cluster, where CH2 is cluster head.

Once the clusters are formed, the CH assigns a time slot for each member after receiving all CH_join messages from all the nodes. Each cluster head is responsible for gathering the data from all the nodes in the cluster. When a frame of data from all the members is received, the CH sends the frame to the base station after applying data aggregation. The CH must remain in active state, while the member nodes can go to sleep mode from time to time. It is to be noted that the reclustering methodology is also adopted in LEACH protocol, where CHs are elected by using the probabilistic approach rather than the deterministic technique. The operation of reclustering and data transmission continues for many cycles until the death of all the nodes. If the size of the cluster is smaller than the predefined threshold, the cluster merges with the neighboring clusters. With the start of the death of nodes, it is found that there are a lesser number of nodes present in each cluster now. Thus, as the number of alive nodes starts decreasing with cycles, the number of clusters also decreases, and the decrease in the number of alive nodes eventually results in the reduction in the number of clusters. The amount of information also decreases with the fewer nodes left in the physical area.

#### 6. Results and Discussions

In each cycle, it is important to decide the numbers of clusters/CHs that exist in the WSN for maximizing the energy efficiency. We have estimated the optimum number of clusters, [24], as

The value of is estimated in the range of when the base station is placed away from the field. In the present study, we divide the network into ten clusters each having a cluster head. For this purpose, we have screened sensor nodes using Pareto optimal solution. Pareto optimal CHs are selected using three criteria including residual energy of the node, minimum distance from the base station, and the number of neighbor nodes. It is to be noted that maximum residual energy, least distance of the nodes from base station and maximum number of neighbor nodes are desirable for cluster head selection. The Pareto optimal nodes shown in Figure 3 (red-colored dots) are the optimum selection in view of previously mentioned three criteria whose values are shown in Table 2 for the 2nd cycle of simulation. Similar calculation is performed in each cycle for short listing Pareto optimal sensor nodes. These attributes of the criteria are further normalized in the range given in Table 3. We have assigned 0.5, 0.25, and 0.25 subjective weights to residual energy, number of neighbors, and, distance from base station, respectively. Membership function (discussed in Section 4.2) is used to convert the values (in Table 3) into linguistic variables as shown in Table 4. Further fuzzy linguistic variables are transformed into fuzzy triangular membership function as shown in Table 5 and fuzzy-weighted decision matrix using (6) as shown in Table 6. We define the fuzzy positive and negative ideal solutions (Step 3) and computed separation measures (Step 4) and rank indices (Step 5) for Pareto optimal sensor nodes. Table 7 shows the Pareto optimal nodes, their properties, and fuzzy TOPSIS indices in the 2nd cycle. Table 8 lists top ten cluster heads (from Table 7) selected in the second cycle. Similar ranking is performed in each cycle until all the sensor dies.

Table 9 provides the simulation parameters used in our experiments. Each cycle consists of clustering and data transmission phase. In clustering phase, the top ten CHs are selected and form a cluster based on the Euclidean distance. The CHs are selected for each cycle till all the nodes consume their entire energy. The base station is placed far away from the field. The lifetime of the network is measured in terms of the number of cycles until the first node in the network runs out of its entire energy. Figure 4 shows the results of the experiment, where sensor nodes are deployed randomly on a square area of m^{2} and network lifetime is plotted, which shows the number of alive nodes over the time in cycles. The results are finally compared with a well-known DHAC protocol. It is reported that DHAC is more energy efficient than other methods including LEACH and LEACH-C. All results are expressed in averages taken over 20 random independent experiments. It is observed that the network lifetime (when first node dies) is higher for fuzzy TOPSIS approach than that of DHAC (Figure 4). It shows that the present approach is more effective in WSNs.

#### 7. Conclusions

Fuzzy decision-making-based energy-efficient scheme is proposed for WSNs. Fuzzy TOPSIS technique is used for the selection of cluster heads in WSNs. Three criteria including residual energy distance of the nodes from base station and the number of neighbor nodes are considered in order to optimize the number of clusters/cluster heads. Simulated network lifetime is compared with the lifetime achieved from DHAC protocol. Simulations results demonstrate that fuzzy TOPSIS achieves significant energy saving and prolonging network lifetime compared to DHAC protocol.