An optimal energyefficient clustering method in ... - Wiley Online Library

3 downloads 0 Views 662KB Size Report
Aug 24, 2011 - networks using multi-objective genetic algorithm ... Electrical Engineering Department, Ferdowsi University of Mashhad, Mashhad, Iran ..... In Proceeding of the 33rd Hawaii International Conference on System Sciences, Vol.
INTERNATIONAL JOURNAL OF COMMUNICATION SYSTEMS Int. J. Commun. Syst. 2013; 26:114–126 Published online 24 August 2011 in Wiley Online Library (wileyonlinelibrary.com). DOI: 10.1002/dac.1336

An optimal energy-efficient clustering method in wireless sensor networks using multi-objective genetic algorithm Ali Peiravi, Habib Rajabi Mashhadi and S. Hamed Javadi* ,† Electrical Engineering Department, Ferdowsi University of Mashhad, Mashhad, Iran

SUMMARY In this study, an optimal method of clustering homogeneous wireless sensor networks using a multi-objective two-nested genetic algorithm is presented. The top level algorithm is a multi-objective genetic algorithm (GA) whose goal is to obtain clustering schemes in which the network lifetime is optimized for different delay values. The low level GA is used in each cluster in order to get the most efficient topology for data transmission from sensor nodes to the cluster head. The presented clustering method is not restrictive, whereas existing intelligent clustering methods impose certain conditions such as performing two-tiered clustering. A random deployed model is used to demonstrate the efficiency of the proposed algorithm. In addition, a comparison is made between the presented algorithm other GA-based clustering methods and the Low Energy Adaptive Clustering Hierarchy protocol. The results obtained indicate that using the proposed method, the network’s lifetime would be extended much more than it would be when using the other methods. Copyright © 2011 John Wiley & Sons, Ltd. Received 30 October 2010; Revised 14 June 2011; Accepted 18 July 2011 KEY WORDS:

clustering; energy-efficient algorithm; multi-objective genetic algorithm; wireless sensor network

1. INTRODUCTION Military and civilian applications of wireless sensor networks are expanding rapidly. In a wireless sensor network (WSN) a large number of small wireless sensor devices are usually deployed into a particular field to perform certain tasks of sensing or tracking and return the information back to a data sink [1]. There are several challenges in designing WSNs because the sensor nodes have limited resources of energy, processing power and memory. Several energy-efficient routing protocols have been proposed in the literature to deal with the limited battery life of sensor nodes in order to increase the network lifetime. Al-Karaki and Kamal in [2] classified routing protocols based on network structure into flat, hierarchical and locationbased ones. All nodes of flat networks are assigned the same role. When a node needs to send data, it may find a route to the data sink. In location-based protocols, the geographic information of nodes is used for relaying data. In hierarchical routing protocols, an attempt is made to conserve energy by means of arranging sensor nodes in clusters. Each cluster has one head node called cluster head (CH). Other nodes send their data to the CH. This is usually performed based on time division multiple access to avoid collisions. The CH aggregates all the received data from the nodes of that cluster and forwards it to the data sink to which all data is to be reported. One may cite the Low Energy Adaptive Clustering Hierarchy (LEACH) [3], Power-Efficient GAthering in Sensor Information Systems (PEGASIS)

*Correspondence to: S. Hamed Javadi, Electrical Engineering Department, Ferdowsi University of Mashhad, Mashhad, Iran. † E-mail: [email protected] Copyright © 2011 John Wiley & Sons, Ltd.

AN ENERGY-EFFICIENT CLUSTERING METHOD IN WIRELESS SENSOR NETWORKS

115

[4], Threshold sensitive Energy Efficient sensor Network (TEEN) and AdaPtive TEEN [5] as a few well-known examples of hierarchical routing protocols. In LEACH, the sensor nodes form clusters based on the received signal strength. CHs are used as routers to the sink. Random rotation of CHs is used to prevent the drainage of the battery of any given node. Using a very simple randomization procedure, each node chooses a random number between 0 and 1. If the number is less than a given threshold — indicating the percentage of nodes expected to act as CHs — the node would introduce itself as CH to which other nodes in that cluster would directly send their data. Otherwise, the node should join the nearest CH to form a cluster. However, if none of the CHs are in the radio range of the node, it would introduce itself as a CH [3]. Nodes in PEGASIS form chains. Each node in the chain only communicates with a neighbor and only one node is selected from that chain to transmit data to the sink. The difference between LEACH and PEGASIS is that in contrast to LEACH, PEGASIS uses multihop routing by forming chains and selecting only one node instead of multiple nodes to transmit to the data sink. Results of NS-2 simulations indicate that PEGASIS performed approximately 200% better than LEACH for a 50 m  50 m network and 300% better for a 100 m  100 m network [4]. In TEEN and APTEEN the sensor network architectures are based on a hierarchical clustering where closer nodes form clusters and this process goes on in the second level until the data sink is reached [5]. Arranging sensor nodes in clusters in such a way that the network parameters, such as lifetime and delay, are optimized is an optimization problem. Several heuristic methods, for example, genetic algorithm [6] and ant colony optimization method [7], are used in the literature to solve this problem. Genetic algorithm is a population-based optimization algorithm that uses random search to propose the best possible design. We use this algorithm in order to get the most efficient clustering scheme. The reason for choosing this algorithm is its convergence and its flexibility in solving multi-objective optimization problems. Conventional multi-objective algorithms use weighting methods to get just one optimum answer. However, using population-based multi-objective optimization algorithms, a set of optimal answers generally denoted as pareto-optimal [8] could be reached from which one answer is chosen. In this paper, Strength Pareto Evolutionary Algorithm (SPEA), presented in [8], is used to get the optimum clustering schemes in WSNs. Our objective functions are lifetime: expressed as the time to which the first node of the network fails to work because of battery exhaustion and the network’s delay expressed as the maximum number of hops during data transmission from the nodes of the network to the data sink. The rest of the paper is organized as follows: Related works are discussed in Section 2. Section 3 describes evolutionary algorithms The proposed multi-objective two-nested genetic algorithm (GA) is discussed in Section 4. The results of simulation and comparison between the proposed method and the other methods are presented in Section 5. Finally, the paper is concluded in Section 6.

2. RELATED WORKS There are several works suggesting the use of intelligent algorithms in WSNs in order to extend the network lifetime. Most of these algorithms use two-tiered clustering methods in which each node in each cluster sends its data directly to the head node of that cluster [9–14]. A hierarchical cluster-based routing protocol is proposed by Hussain and Martin in [9] and [10]. In this protocol, nodes self-organize into clusters. Each cluster is managed by a set of associates called head set. Each associate acts as the head of the cluster using a round-robin technique. In each cluster, the nodes send their data directly to the CH, which transmits the aggregated data to the data sink. In addition, energy-efficient clusters which are identified using a heuristics-based approach are retained for a longer period of time. Hussain et al. in [11] improved the hierarchical cluster-based routing protocol using GA. In their work, the data sink performed the simultaneous optimization of total dissipated transmission energy and delay by clustering the nodes. Jin et al. in [12] proposed another GA-based clustering method in which the GA minimizes the total dissipated energy and also allows the formation of predefined clusters to reduce the total Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

116

A. PEIRAVI, H. R. MASHHADI AND S. H. JAVADI

communication distance. Their results showed that the optimal ratio of CHs to the number of nodes in the network was about 10%. Also the formation of predefined clusters reduced the communication distance by 80% in comparison with the direct distance. Hussain et al. in [13] improved on their proposed idea in [11] by improving the fitness function used for GA. They have shown that their method conserves somewhat more energy than the GAbased clustering method proposed by Jin et al. in [12]. Hussain et al. [13] compared their proposed method with the LEACH protocol in different layouts. They showed that it saves more energy than LEACH, especially with an increase in the number of nodes in the network. Seo et al. in [14] presented an interesting GA-based algorithm for efficient clustering of sensor nodes. In their algorithm called LA2–GA, the chromosomes are considered as two-dimensional matrices that contain information about the relative positions of the nodes. However, the algorithm is limited to a two-tiered clustering scheme. In this paper an optimal method of clustering homogeneous sensor nodes using a multi-objective genetic algorithm is proposed to maximize the network lifetime. Each chromosome defines the head of each cluster (CH) to which cluster each node belongs. The most efficient topology for sending data from the nodes to the CH in each cluster is obtained using another GA similar to that presented by [15]. The second GA, in contrast to the first, could be considered as the lower level GA whose task is to compute the fitness values of the chromosomes of the top level GA. Because the role of the CH is energy consuming, this burden is rotated among nodes by the clustering algorithm to be executed periodically. At each round of execution of the clustering algorithm, the nodes that have previously acted as CHs are not selected again as CH in order to balance the energy consumption between the nodes. The advantage of the proposed algorithm, in addition to its multi-objective nature, is its generality. The GA-based clustering methods already proposed assume that nodes of each cluster send their data directly to the CH. This may not be the most energy-efficient topology in each cluster. Heinzelman et al. in [3] showed that when transmission energy is nearly the same as the received energy, which occurs when transmission distance is short and/or when the radio electronics energy (the energy consumed in the electronic circuitry) is high direct transmission is more energy-efficient. Thus the most energy-efficient protocol depends on network topology and radio parameters of the system. In this paper, it is assumed that the energy consumption of the nodes during transmission is much more than the radio electronics energy. The proposed clustering method is centralized, that is, clustering is carried out by the data sink. We assume that the sensor nodes are homogeneous, that is, all nodes have similar processing and energy resources. It is also assumed that the data sink has complete knowledge about every node’s geographic location in the network. Such information can be obtained by any of the various localization techniques already proposed in the literature (e.g. see [16–19]). It is also assumed that the network is static, that is, the nodes have no mobility.

3. EVOLUTIONARY ALGORITHMS 3.1. Genetic algorithm Genetic algorithm is an evolutionary algorithm which attempts to obtain a possibly global optimum answer. GA uses random search in the decision space via selection, crossover and mutation operators in order to reach its goal. Another operator of GA is elitism whose job is to store elite chromosomes (chromosomes whose fitness values are the best) for the next generation. Two chromosomes of the population are selected via several selection methods. The information of the two selected chromosomes is exchanged via a crossover operator with a high possibility (usually more than 0.8). In the next step, a small change would be performed in any of the two individuals with a low probability (usually less than 0.1) in order to expand the search space. These steps should be carried out until the next generation is completed. The genetic algorithm is summarized in Algorithm 1. The stop condition of the genetic algorithm could be either a predefined number of iterations of the running algorithm or convergence during a predefined number of iterations. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

AN ENERGY-EFFICIENT CLUSTERING METHOD IN WIRELESS SENSOR NETWORKS

117

3.2. Multi-objective evolutionary algorithms There are applications in which it is desirable to obtain a design or a set of designs where several objective functions are simultaneously optimized. The multi-objective optimization problem is defined as follows: Definition 1 Multi-objective optimization problem: Minimize Subject to Where

y D f (x) D .f1 .x/, f2 .x/, : : : , fk .x// e(x) D .e1 .x/, e2 .x/, : : : , em .x// 6 0 x D .x1 , x2 , : : : , xn / 2 X and y D .y1 , y2 , : : : , yk / 2 Y

where y is the set of the objective functions, Y is called the objective space, e is the set of m constraints, x is the decision vector and X is called the decision space [8] In multi-objective optimization methods, the following definitions are used [8]: Definition 2 For any two objective vectors u and v, u D v iff 8i 2 ¹1, 2, ..., kº W ui D vi u > v iff 8i 2 ¹1, 2, ..., kº W ui > vi u > v iff u > v ^ u ¤ v the relations 6 and < are defined similarly. Definition 3 Pareto Dominance: For any two decision vectors a and b, a  b .a dominates b/

iff f .a/ > f .b/

a  b .a weakly dominated b/ iff f .a/ > f .b/ a  b .a is indifferent to b/

iff f .a/  f .b/ ^ f .b/  f .a/

where f is the vector of objective (fitness) functions. There are several multi-objective evolutionary algorithms which mostly attempt to get the set of optimum solutions. Some instances of the presented ones are [20–23]. One of the strongest multi-objective algorithms already presented is SPEA which is summarized in a compact form in Algorithm 2. For the detailed form of SPEA refer to [8]. In our special application the size of the nondominated set is limited. Thus, the clustering algorithm of SPEA which is used to reduce the nondominated set [8] is not used. We chose this algorithm for solving the optimization of the clustering of the sensor nodes because of the following advantages: 1. It stores the Pareto-optimal as the external set. 2. It automatically prevents crowding the chromosomes and then obtains a uniformly distributed solution. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

118

A. PEIRAVI, H. R. MASHHADI AND S. H. JAVADI

4. MULTI-OBJECTIVE TWO-NESTED GENETIC ALGORITHM In this section, a new efficient method of clustering the sensor nodes is presented The presented algorithm tries to get clustering schemes in which energy consumption and delay are optimized. To get this, an implementation of SPEA as a multi-objective optimization method is used at the top level. In addition, another GA is used to get the most efficient topology of data transmission from the nodes to their CHs. Because two nested GAs are used, we call the algorithm the multi-objective two-nested genetic algorithm or M2NGA. The M2NGA is a centralized algorithm, that is, it is carried out by the base station (data sink). The flowchart of the algorithm is shown in Figure 1. Here, M2NGA is discussed for two-level clustering of nodes. However, it is easily extendable to multilevel clustering where the CHs are also divided

Figure 1. The flowchart of M2NGA. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

AN ENERGY-EFFICIENT CLUSTERING METHOD IN WIRELESS SENSOR NETWORKS

119

into clusters. In this case, M2NGA should be executed twice and more if more levels of clustering are desired. The following subsections discuss M2NGA implementation in detail. 4.1. Chromosome coding At the top level genetic algorithm, all the chromosomes are represented by an m  2 matrix in which m is the number of nodes (Figure 2). The number in the first column of row i states which cluster the node i belongs to. The elements of the second column of the chromosome are selected randomly from {0, 1} where ‘1’ states that the node i is the head node of the cluster to which it belongs, that is, it acts as the CH. Being ‘’ means that the node i acts as a normal node and is not the CH. Chromosomes are generated such that there is only one CH in any cluster. As an example, node 3 in the chromosome shown in Figure 2 belongs to cluster 2 and is a normal node. 4.2. Population initialization For any given cluster, if there is a node such that none of the other nodes in that cluster are in its radio range, then this cluster is infeasible. The chromosomes in the initial population are generated such that there are no infeasible clusters. To generate the initial population, a node is selected randomly. This node is considered as the CH and all its in-range nodes join the cluster. We have used 50 chromosomes in the population in this study. 4.3. Fitness assignment Our goal is to arrange the wireless sensor nodes in clusters such that the network lifetime and delay are simultaneously optimized. We use the time at which the first node of the network fails to work properly from battery exhaustion as the definition of the network lifetime. This definition is commonly used in the literature. On the basis of this definition, M2NGA finds the clustering schemes where the energy consumption in the most energy-consuming node is minimized in order to extend the network lifetime. After proposing cluster schemes by the chromosomes in the population, their fitness values are evaluated using another GA. This internal GA attempts to get the most efficient topology of data transmission from the nodes to their CH in each cluster. The chromosome coding in this GA is depicted in Figure 3 as an example. Each chromosome consists of n–1 parts, where n is the number of nodes in the cluster. Node 1 is the CH and the others are the member nodes. The fitness assignment of each chromosome in the internal GA is as follows: First, the energy consumption of the cluster nodes for sending one data bit to the CH and also their delay in terms of number of hops is computed. Second, the energy consumption in infeasible clusters or clusters with at least one isolated node, that is, a node with no other cluster node in its radio range is assigned to be zero. Then, the fitness value for each chromosome that suggests a feasible topology is computed as   max Energypop fitnessi D exp .0.1  .max .Delayi /  1//  max .Energyi /

Figure 2. Chromosome format used in M2NGA. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

120

A. PEIRAVI, H. R. MASHHADI AND S. H. JAVADI

Figure 3. Representation of cluster graph as a chromosome.

where Delayi is the vector of the delays of data transmission of the cluster nodes in term of hops, Energypop is the vector of maximum energy consumption of the nodes in the clustering schemes offered by the chromosomes of the population and Energyi is the vector of energy consumption in the cluster nodes of the chromosome i. Exponential function is used to sharply lessen the weight of the chromosomes whose delays are considerable. The energy consumption of the sensor nodes is computed in two steps. First, the energy consumption in the cluster nodes is computed by the internal GA. The internal GA attempts to suggest a topology in which the maximum energy consumption among the cluster nodes is minimized and hence the network lifetime is maximized. It also considers delay by lowering the fitness of chromosomes whose delay is not acceptable. At the next step, the energy consumption in the CHs is computed by the same GA. In this step, the internal GA considers the CHs as nodes whose aim is relaying their aggregated data to the data sink in an energy-efficient manner with the least delay, hence the optimum intercluster route is obtained. The firstorder radio model presented in [3] is used for calculating consumed energy. In this model, the transmission energy for transmitting k bits of information from node i to node j , ETij is calculated by Equation (1). ETij D k  Eelec C k  "amp  d 2 .

(1)

Also, the consumed energy for receiving k bits of information, ER , is given by Equation (2) ER D k  Eelec

,

(2)

where Eelec is the energy consumed in the electronic circuit "amp is the energy consumed by the amplifier of the transmitter and d is the distance between node i and node j . The output of the internal GA contains the cluster delay and a vector including the energy consumption of each node of the network for transmission of one bit of data. The cluster delay is considered as the maximum hops of data transmission from the cluster nodes to the CH. Similarly, the network delay is considered as the maximum hops of data transmission from the network nodes to the data sink. Thus, M2NGA uses the delay and the maximum of energy consumptions to compute the fitness of the chromosomes. Computation of fitness values of the chromosomes is performed as discussed in SPEA in [8]. 4.4. Elitism The nondominated chromosomes are directly transferred to the next generation. As the number of nondominated chromosomes is limited, there is no need for the clustering method proposed in SPEA. 4.5. Selection Selection of chromosomes is carried out using the ranking selection method [6, 24] to allow the chromosomes with lower fitness values to have the chance to be selected, whereas in the Roulette Wheel method the search space is almost limited to the chromosomes with the highest fitness values. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

AN ENERGY-EFFICIENT CLUSTERING METHOD IN WIRELESS SENSOR NETWORKS

121

4.6. Crossover and mutation Singlepoint crossover is used to produce new children from parent chromosomes [24]. Crossover is carried out with a probability of less than one. If crossover occurs a random number between 1 and m-1 is selected. Then, the two selected parent chromosomes are cut at that point and their data are exchanged. After exchanging data, the chromosomes are modified so that there is just one CH in each cluster of chromosomes. An example of crossover is depicted in Figure 4 where a random crossover index is chosen. Then the two parents exchange their data in that point and finally the two chromosomes are modified. For mutation, a node is selected randomly and is assigned to another random cluster. The probabilities of crossover and mutation used in the proposed algorithm are 0.9 and 0.1, respectively. These values are used to extend the search space sufficiently.

5. SIMULATION RESULTS A random deployment of 40 sensor nodes in a 100 m100 m field (test model 1) as shown in Figure 5 is used for simulation. The radio range of each sensor node is assumed to be 6 m. The parameters of the radio model are considered such that the nodes consume much more energy during transmission than the energy consumed in the electronic circuitry (i.e. radio electronics energy consumption). The bit rate of all nodes is assumed to be the same. Optimization is carried out for sending one bit of data from all nodes to the data sink. The termination condition used is 3000 iterations of GA.

Figure 4. An example of crossover between two parent chromosomes in a 10-node network.

Figure 5. Test model for obtaining the most energy-efficient clustering scheme. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

122

A. PEIRAVI, H. R. MASHHADI AND S. H. JAVADI

The parameters of the first order radio model used are as follows: Eelec D 1nJ=bit "amp D 1nJ=bit=m2 The nondominated chromosomes are transferred to the next generation together with their fitness values. Moreover, some of the parent chromosomes will be directly transferred to the next generation and will remain unchanged because the probabilities of crossover and mutation are less than one. Fitness values of these chromosomes are also transferred to the next generation to avoid their recalculation. These techniques considerably improve the speed of the genetic algorithm. The algorithm suggests that the clustering scheme depicted in Figure 6 is the most energy-efficient one wherein every cluster is distinguished with a different mark and the CHs are identified with a circle around them. Figure 7 shows how the optimal Pareto converges in M2NGA to the best solutions. In this special example, the Pareto-optimal contains just one solution, that is, both objective functions are minimized. In general, the Pareto-optimal contains several solutions. Then depending on the application, one of the solutions should be selected as the optimal clustering scheme. M2NGA is a very general clustering scheme for wireless sensor nodes. The GA-based clustering methods already presented are not as general as the proposed algorithm. For example, [11, 12, 14]

Figure 6. The most energy-efficient clustering scheme obtained for test model 1 in which every cluster is distinguished with a different mark and the cluster heads are identified with a circle.

Figure 7. Convergence of non-dominated chromosomes (external set) while running M2NGA. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

123

AN ENERGY-EFFICIENT CLUSTERING METHOD IN WIRELESS SENSOR NETWORKS

present a GA-based clustering algorithm for two-tiered sensor networks. However, their drawback is that the energy of the clusters may not be optimal because two-tiered clustering is just a special case of clustering. Another important advantage of M2NGA to the other methods is its multi-objective solution. Hussain et al. [12] showed that their GA-based two-tiered clustering algorithm performs better than existing protocols such as LEACH. Different network layouts with different number of nodes are used in order to compare M2NGA with already GA-based clustering methods. A comparison between M2NGA, the two-tiered GA-based clustering method, LA2D-GA and the LEACH protocol is presented in Figure 8 and Table I where the maximum amount of dissipated energy for sending one bit from the nodes to the data sink in the four methods is compared. In this comparison, the minimum energy dissipation among the Pareto-optimal solutions is chosen for M2NGA. The goal of the GA in two-tiered clustering method is to deliver a clustering scheme in which total consumed energy for sending data from nodes to the data sink is minimized. However, the nodes of each cluster send their data directly to the head of that cluster in this method. The average energy per bit transmission of ten rounds of the LEACH protocol is used for comparison. In addition, the percentage of nodes expected to act as the CHs in the simulation of the LEACH protocol is considered to be 10%. It is shown that M2NGA consumes much less energy per bit than the other methods. The last row of Table I shows the minimum proportional improvement of energy efficiency obtained using M2NGA compared with the other methods. As can be seen, no improvement is reached in the 20node network. The reason is that M2NGA suggests two-tiered clustering in networks with a small number of nodes and its solution is the same as the two-tiered GA-based clustering method. However, in networks with a large number of nodes, multihop data transmission would improve energy efficiency, but the amount of improvement depends on network layout. Here, energy per bit is used as a metric for a comparison of network lifetime in different methods. Both distance transmission and transmission via multihop result in throughput reduction [25], [26, p. 323], and [27, p. 116]. Therefore, transmission via multihop could be used to counteract

Figure 8. Comparison of M2NGA with LA2D-GA presented in [14] and common 2-tiered clustering methods. GAs are executed for 3000 generations. Table I. Comparison of M2NGA with different clustering methods in terms of maximum amount of dissipated energy for sending one bit from the nodes to the data sink. The number of nodes

LEACH GA-based LA2D-GA M2NGA Minimum proportional improvement Copyright © 2011 John Wiley & Sons, Ltd.

20

30

40

50

2.565e-6 1.461e-6 1.487e-6 1.461e-6 0%

3.145e-6 2.205e-6 2.116e-6 1.346e-6 36.39%

1.158e-5 2.429e-6 2.278e-6 1.355e-6 40.52%

2.196e-5 3.381e-6 3.612e-6 3.0066e-6 11.07%

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

124

A. PEIRAVI, H. R. MASHHADI AND S. H. JAVADI

the effect of reduction of throughput because of increased distance. In addition, techniques such as cross-layer design [19, 28] could be used to overcome the throughput reduction problem in multihop transmission. Therefore, energy consumption per bit is a suitable metric for network lifetime comparison. It should be mentioned that because the proposed method uses twonested genetic algorithms to maximize the lifetime of the network, the data sink needs much more time depending on the number of generations and the populations of GA than the two-tiered GA-based clustering. However, this is not a drawback for the algorithm because the data sink is supposed to be connected to an unlimited power supply. In addition, receiving data from the sensors in the data sink can be carried out in parallel with executing the clustering algorithm to form an efficient clustering scheme for the next round. Although running time is important for any algorithm, the issue of complexity is not critical in M2NGA because in many applications of sensor networks, the clustering scheme is changed once every few days. The execution time of M2NGA for different number of nodes is shown in Figure 9. It is shown that the execution time for 50 nodes is less than that for 40 nodes. This is because of the algorithm’s dependence on network layout and the flexible nature of GA. To obtain a good or at least a suboptimal clustering scheme in networks with a large number of nodes, we can modify population size and number of generations for the algorithm to yield a solution in a reasonable time. The degree of superiority of the clustering scheme proposed by M2NGA over the other methods depends on the network layout and the algorithm parameters such as population size and the number of generations. Thus, M2NGA outperforms conventional clustering methods even with increased number of nodes. After the clustering scheme is defined in the data sink, it is sent to nodes via messages. The messages inform the nodes whether or not they are chosen as CH. If the node is chosen as CH, the message should contain the cluster’s member nodes. Also, the nodes which are defined as the cluster member should be informed to which node their data should be sent. The overhead imposed on the network is these messages, which should be sent through the network only each time the clustering scheme is changed. In WSNs, sensor nodes are usually switched periodically between sleep and active modes in order to save energy. To perform switching in multihop clusters, a time division multiple access mechanism like that used in 802.15.4 [29, pp.139–142] could be adopted. In this mechanism, a beacon message is sent from the CH to the cluster nodes for synchronization whenever sensors become active. Then, each sensor sends its data in its allocated time slot to avoid interference. The simulations were performed in a MATLAB (Mathworks, Natic MA, USA) environment. The results of the simulations show that we could save much more energy compared with the other methods.

Figure 9. Execution time of M2NGA for clustering networks with different number of nodes and random layout. Simulations are performed in MATLAB R2009a on a personal computer with 1 GB of RAM and an Intel Pentium4 2.4 GHz CPU. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

AN ENERGY-EFFICIENT CLUSTERING METHOD IN WIRELESS SENSOR NETWORKS

125

6. CONCLUSIONS A new and general GA-based clustering algorithm, M2NGA, is presented in this study in order to simultaneously optimize network lifetime and delay. The network is assumed to be static, that is, sensor nodes have no mobility. The advantage of M2NGA compared with other heuristic clustering methods is its generality. Multihop intracluster data transmission is considered in M2NGA, whereas it is not possible in most heuristic clustering methods. The proposed algorithm is compared with other GA-based clustering methods. It is shown that the proposed algorithm yields a more efficient clustering scheme in networks in which transmission energy is considerably greater than energy consumed in the electronic circuitry. REFERENCES 1. Stojmenovic I. Handbook of sensor networks: Algorithms and architectures. John Wiley & Sons: Hoboken, NJ, 2005. 2. Al-Karaki JN, Kamal AE. Routing Techniques in Wireless Sensor Networks: a Survey. IEEE Wireless Communications Dec. 2004; 11:6–28. 3. Heinzelman WR, Chandrakasan A, Balakrishnan H. Energy-efficient Communication Protocol for Wireless Microsensor Networks. In Proceeding of the 33rd Hawaii International Conference on System Sciences, Vol. 2, Jan. 2000. 4. Lindsey S, Raghavendra CS. PEGASIS: Power Efficient GAthering in Sensor Information Systems. In Proc. the IEEE Aerospace conference, Vol. 3, 2002; 1125–1130. 5. Manjeshwar A, Agrawal DP. TEEN : A Protocol for Enhanced Efficiency in Wireless Sensor Networks. Proceedings of the 1st International Workshop on Parallel and Distributed Computing Issues in Wireless Networks and Mobile Computing, Apr. 2001. 6. Goldberg DE. Genetic Algorithms in Search, Optimization, and Machine Learning. Addison Wesley: Reading, MA, 1989. 7. Dorigo M, Stützle T. Ant Colony Optimization. MIT Press: Cambridge, MA, 2004. 8. Zitzler E. Evolutionary Algorithms for Multiobjective Optimization: Methods and Applications. Ph.D. dissertation, Swiss Federal Institute of Technology Zurich, Nov. 1999. 9. Hussain S, Matin AW. Base station assisted hierarchical cluster-based routing. IEEE/ACM international Conf. Wireless and Mobile communications Networks(ICWMC), Jul. 2006. 10. Matin AW, Hussain S. Intelligent Hierarchical Cluster-based Routing. In International Workshop on Mobility and Scalability in Wireless Sensor Networks (MSWSN). CTI Press: Greece, June 2006; 165–172. 11. Hussain S, Matin AW, Islam O. Genetic Algorithm for Energy Efficient Clusters in Wireless Sensor Networks. International Conf Information Technology (ITNG’07), Apr. 2007. 12. Jin S, Zhou M, Wu AS. Sensor Network Optimization Using a Genetic Algorithm. Proc. the 7th World Multiconference on Systemics, Cybernetics and Informatics, 2003. 13. Hussain S, Matin AW, Islam O. Genetic Algorithm for Hierarchical Wireless Sensor Networks. Journal of Networks, Sep. 2007; 2(5):87–97. 14. Seo HS, Oh SJ, Lee CW. Evolutionary Genetic Algorithm for Efficient Clustering of Wireless Sensor Networks. Proc. of the 6th IEEE Conf. on Consumer Communications and Networking Conf., Jan. 2009; 258–262. 15. Wazed S, Bari A, Jaekel A, Bandyopadhyay S. Genetic Algorithm Based Approach for Extending the Lifetime of Two-Tiered Sensor Networks. 2nd International Symposium on Wireless Pervasive Computing, Feb. 2007. 16. Tran DA, Nguyen T. Localization in Wireless Sensor Networks Based on Support Vector Machines. IEEE Transactions on Parallel and Distributed Systems Jul. 2008; 19(7):981–994. 17. Chan FKW, So HC, Ma WK. A Novel Subspace Approach for Cooperative Localization in Wireless Sensor Networks Using Range Measurements. IEEE Transactions on Signal Processing Jan. 2009; 57(1):260–269. 18. Meng C, Ding Z, Dasgupta S. A Semidefinite Programming Approach to Source Localization in Wireless Sensor Networks. IEEE Signal Processing Letters, 2008; 15:253–256. 19. Song L, Hatzinakos D. A Cross-Layer Architecture of Wireless Sensor Networks for Target Tracking. IEEE/ACM Transactions on Networking Feb. 2007; 15(1):145–158. 20. Hajela P, Lin CY. Genetic Search Strategies in Multicriteria Optimal Design. Proc. 32nd AIAA/ASME/ASCE/ AHS/ASC Structures, Structural Dynamics, and Materials Conf., part 2, 1991; 354–363. 21. Fonseca CM, Fleming PJ. Genetic Algorithms for Multiobjective Optimization: Formulation, Discussion and Generalization. Proc. of the 5th International Conf. Genetic Algorithms, 1993; 416–423. 22. Horn J, Nafpliotis N, Goldberg DE. A Niched Pareto Genetic Algorithm for Multiobjective Optimization. Proc. of the First IEEE Conf. Revolutionary Computation and the IEEE World Congress on Computational Intelligence, Jun. 1994; 82–87. 23. Srinivas N, Deb K. Multiobjective Optimization Using Non-dominated Sorting in Genetic Algorithms. Evolutionary Computation 1995; 2:221–248. 24. Holland J. Adaptation in Natural and Artificial Systems. University of Michigan Press: Ann Arbor, MI, 1975. Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac

126

A. PEIRAVI, H. R. MASHHADI AND S. H. JAVADI

25. Wang W, Sharif H, Hempel M, Zhou T, Mahasukhon P. Throughput vs. Distance Tradeoffs and Deployment Considerations for a Multi-hop IEEE 802.16e Railroad Test Bed. Vehicular Technology Conference, May 2008. 26. Verdone R, Dardari D, Mazzini G, Conti A. Wireless Sensor and Actuator Networks Technology, Analysis and Design. Elsevier Ltd.: Oxford, 2008. 27. Sohrabi K, Minoli D, Znati T. Wireless Sensor Networks Technology, Protocols and Applications. John Wiley & Sons: Hoboken, NJ, 2007. 28. Madan R, Cui S, Lall S, Goldsmith A. Cross-Layer Design for Lifetime Maximization in Interference-Limited Wireless Sensor Networks. IEEE Transactions on Wireless Communications, Nov. 2006; 5(11):3142–3152. 29. Karl H, Willing A. Protocols and Architectures for Wireless Sensor Networks. John Wiley & Sons: Chichester, 2005.

AUTHORS’ BIOGRAPHIES

Ali Peiravi received the B.S. degree in electrical engineering from the University of Pittsburgh in 1976, the M.S. degree in electrical engineering from the University of California at Berkeley in 1978 and the Ph.D. degree in electrical engineering from the University of California at Irvine in 1984. He worked as a senior design engineer at Intersil from 1978 to 1980 and at American Microsystems Inc. from 1980–1981. He has been a full time faculty member at the Ferdowsi University of Mashhad since 1984. His main areas of interest are system reliability, control systems, real-time systems and VLSI design. He is currently an Associate Professor of electrical engineering at the Ferdowsi University of Mashhad.

Habib Rajabi Mashhadi was born in Mashhad, Iran in 1967. He obtained his B.Sc. and M.Sc. degrees with honors from the Ferdowsi University of Mashhad, Mashhad, Iran, both in electrical engineering and his Ph.D. from the Department of Electrical and Computer Engineering of Tehran University, Tehran, Iran under a joint cooperation with Aachen University of Technology, Germany in 2002. He has been serving at the Department of Electrical Engineering in Ferdowsi University of Mashhad since then and is currently an Associate Professor. His research interests are power system operation and dynamics, intelligent systems and biological computation.

S. Hamed Javadi received the B.S. degree in electrical engineering from Ferdowsi University of Mashhad in 2005 and the M.S. degree from the electronics department of K. N. Toosi University of Technology in 2008. Since 2008, he has been working towards the Ph.D. degree at the electrical engineering department of Ferdowsi University of Mashhad. He has been working on a wide range of research fields such as software, digital and analog designing, networking and design of RF circuits. His field of interest is wireless sensor networks and optimization of their applications.

Copyright © 2011 John Wiley & Sons, Ltd.

Int. J. Commun. Syst. 2013; 26:114–126 DOI: 10.1002/dac