A novel energy-aware cluster head selection based on particle swarm optimization for wireless sensor networks
- First Online:
- 13k Downloads
The wireless sensor networks have long been an attractive field to the researchers and scientists for its ease in deployment and maintenance. In this research, we focus on the maximization of network lifetime which has become a critical issue in sensor networks. Clustered organization of nodes with aggregation of data at the cluster head becomes one of the significant means to extend life expectancy of the network. This paper proposes Particle Swarm Optimization (PSO) approach for generating energy-aware clusters by optimal selection of cluster heads. The PSO eventually reduces the cost of locating optimal position for the head nodes in a cluster. In addition, we have implemented the PSO-based approach within the cluster rather than base station, which makes it a semi-distributed method. The selection criteria of the objective function are based on the residual energy, intra-cluster distance, node degree and head count of the probable cluster heads. Furthermore, influence of the expected number of packet retransmissions along the estimated path towards the cluster head is also reflected in our proposed energy consumption model. The performance evaluation of our proposed technique is carried out with respect to the well-known cluster-based sensor network protocols, LEACH-C and PSO-C respectively. Finally, the simulation clarifies the effectiveness of our proposed work over its comparatives in terms of network lifetime, average packet transmissions, cluster head selection rounds supported by PSO and average energy consumption.
KeywordsWireless sensor network Particle swarm optimization Energy-aware clusters Intra-cluster distance Packet retransmission
Wireless sensor networks have revolutionized the recent years of development by creating significant impact throughout the society. The demand for these networks is spurred by various civilian and military applications [1, 2]. The sensor network consists of battery-powered devices bestowed with a multitude of sensing modalities. Such networks are usually formed with great bulk of nodes (called sensors) distributed over the sensing area in order to capture maximum coverage . The battery operated sensors are known for their lightweight and economic pricing. The sensors are responsible for sensing certain environmental property and periodically transmitting the related information to the processing station (cluster head or sink). These devices are generally deployed in unattended hostile regions, which ultimately makes the power source of the sensors non-renewal (i.e. difficult to recharge). However, in the research there exist a number of relevant energy preserving techniques, which tends to prolong the network lifespan. In this paper, we have considered one such swarm intelligence mechanism known as Particle Swarm Optimization [4, 5].
Particle Swarm Optimization (PSO) is an artificial intelligence mechanism which is motivated by the social behaviors of natural species, for instance - herd of animals, swarm of birds, etc. . The population-based swarm intelligence method executes with the aim of optimizing an objective (or fitness) function. The algorithm employs a swarm of search points (also called particles) and tracks the fitness of each particle. Every particle is associated with corresponding velocity. This assists the particle to move onto a better position, if the cost to the objective function is optimized. PSO is known is to perform better than other swarm intelligence techniques (Ant Colony Optimization, Genetic Algorithm, etc.) in terms of computation complexity and convergence rate [7, 8]. In PSO, the particles possess a fitness criterion for all the positions they visit. Hence, it becomes essential to maintain a local best fitness value for the particles during every generation (iteration). The local information further helps to locate the trajectory towards global best position. The pattern emerged from the collective intelligence of the particles ultimately optimizes the objective function. In this paper, we apply the swarm optimization to find cluster head positions in order to reduce the intra-cluster distance and overall energy consumption during packet transmission to the sink.
The rest of the paper organization is done as follows: Section 2 summarizes the previous work in the related area. The assumptions regarding the network model is provided in section 3. The proposed PSO-based cluster head selection scheme is analyzed in section 4. This is followed by section 5 that presents analytical retransmissions computation along with estimation of average distance between a sensor node and cluster head (intra-cluster distance). In section 6 the proposed energy model is provided to analyze the average power consumption of the network. The simulation and performance modeling is carried out in section 7. Finally we conclude our research work in section 8.
Plenty of research is available in literature to reflect the application of swarm optimization in the context of wireless sensor network. A novel cluster-based approach is introduced in  using PSO. The authors have proposed a fitness function to minimize the intra-cluster distance between the sensor nodes and cluster head. The function also helps in optimizing the energy efficiency of the network. The implementation of the PSO is completely centralized and is executed at the base station (sink). Moreover, at the initiation phase of every cluster head selection round, all the sensors in the network are required to send their location information and residual energy level to the sink. Such transmissions in bulk not only increases congestion in the network, but also lead to unnecessary energy drainage. However, the simulation results for the method (PSO-Clustering or PSO-C) have shown outperforming results in comparison with LEACH  and LEACH-C  protocols respectively.
An improved PSO has been proposed in  for improving the performance of the optimization technique and keep a sense of balance between exploration and exploitation of particles in the swarm. The authors have tried to broaden the exploration ability of particle swarm by using Metropolis Algorithm (MA). In  another research work evaluates a routing optimization method on the basis of graph theory and particle swarm optimization algorithm in multi-hop sensor network. The cluster head is elected with a help of a weighted function ω(i), which is computed iteratively for each ith round. Moreover, routing of packets in the network is optimized with the fitness function that aims at maximizing two topological properties, i.e. transmission distance and residual energy after every round of transmission (to the base station). The work is simulated and compared with the probabilistic method of selecting cluster heads and the experiments showed positive results. Further, the authors in  have used PSO to optimize the location of the sensors with an objective to enhance the network connectivity. Two types of optimization schemes are used, namely - single directional and bi-directional approaches. The proposed work also considers the effect of localization errors. However, the simulation results confirm that the proposed scheme executes perfectly for a sparse sensor network. Similar works can also be found in [15, 16, 17, 18] that proposed energy efficient layout for better coverage and connectivity in the sensor networks through the application of particle swarm optimization.
In a research conducted in  swarm optimization with Dijkstra algorithm is utilized to find the optimal path from initial to target state, in accordance with some well-defined performance criterion. The mobile sensors (or beacon nodes) are assumed to be aware of their dynamically changing coordinates. The simulation of the algorithm showed better performance than some exiting path-finding methods. However, the implementation of the PSO method bears certain impediments in theoretical foundation. In some another recent work in  the authors have used swarm optimization method to localize head nodes on the basis of the distance and residual energy of the cluster members. However, the contribution lacks proper estimation of the intra-cluster distance. In yet another work carried out in  PSO is applied to optimize the sensor deployment strategy in order to maximize the network coverage in mobile sensor network. The authors also attempt to find the optimal position for cluster heads with the help of a familiar energy model. During the process of coverage optimization, the sensors move to new positions, thereby forming uniformly distributed topology. As compared with Genetic Algorithm (GA), the proposed method worked quite efficiently. However the algorithm is completely executed in a centralized manner, i.e. directly monitored by the base station, which pose as a major drawback in application.
In this paper, we make contributions that are worth in enhancing the lifetime and performance of the sensor network. We proposed a PSO-based cluster head selection scheme to find the fittest position for the head nodes. In a cluster, the head node is known to be located in the best position, if it reduces the intra-cluster distance. Theoretically, the core of the distribution with maximum density is considered to be equidistant from all its boundaries. Therefore, the sole aim of our PSO-based method is to localize the head nodes around the center of cluster density. On the basis of the optimized CH position we compute the estimated distance covered by packet transmission from a sensor node to its cluster head. Further, we analyze the effect of link failure on transmission of packets and also derived expected number of retransmission over the path to cluster head. Finally, energy computation is performed to evaluate the energy savings performed by our proposed technique as compared with the LEACH-C  and PSO-C  protocols.
Network model & assumptions
In this section we describe our network scenario model (Figure 1) used for simulation. The assumptions made regarding the sensor network is provided in the following:
• The wireless sensor network is assumed to be a circular geographic area with the sink S, positioned at coordinate (0,0), and radius Rs.
• The sensor nodes are uniformly deployed in the sensing area As. The number of sensor nodes are distributed according to the two dimensional Poisson point process with ρ as the expected density of nodes in a cluster AC.
• The cluster covers a circular region with its cluster head at the center o with radius R.
• A sensor is allowed to use different levels of transmission power depending upon its distance from the target node (or the cluster head). The distance can be estimated from the strength of the signal received from the destination node.
• Altering transmission power results in varying transmission ranges. rmin is considered as the minimum allowable range of transmission for any sensor.
• The member nodes transmit their samples to the cluster head, after which the CH processes and aggregates the gathered samples and finally forwards the information to the sink.
• The cluster member nodes are able to temporarily switch off its power supply and enter sleep mode to preserve energy waste. Every node uses a probability βs to sleep for certain time span.
• During data transmission, packets are relayed to the cluster head by the intermediate sensors in h hops. Further, it is also assumed that every communication link in the network is associated with a link failure probability (plk).
• To compute the energy expended in transmission, we consider maximum number of hops (hmax) traversed with minimum transmission range (rmin).
• In our research, we have applied swarm optimization in clustered sensor network, where the nodes are assumed to be stationery. The basic aim is to find optimized
• Moreover, the velocity of the particle is assumed to be the rate at which the position of the particle is changed, i.e. the sensor does not move but the particle coordinate under consideration is shifted. Also, the sensor node found nearest to any particle is associated with the node’s residual energy (particle energy) and head count (particle count). These parameters are required during the evaluation of the objective function for each particle in all iterations.
• In PSO application a centralized coordinator is required to maintain several attributes of the particles for every generation. In order to accomplish the requirement, we randomly select a sensor node in every cluster and appoint it as cluster assistant (nCA). The cluster assistant is assumed to maintain the local best position of every sensor along with other sensor characteristics, like - current position, particle energy, head count, global best solution and additional PSO parameter values. At the beginning of every round of cluster head selection, all the sensors in a cluster provide the required information to their respective assistant node.
• The cluster assistant node is supposed be the local processing center for PSO computations carried out within a cluster. It does not perform environmental sensing, nor does it participate in data communication to the cluster head. Since, the power expended in computation is quite insignificant than the energy exhausted in communication, nCA survives quite long to function as the processing node. The assistant node prefers to sleep while the selection round is over. The node only awakes when it is informed by the present CH about its inefficiency to function as the head node.
• However, if the energy falls below certain level the nCA node sends a request message to its nearest node to serve as the processing center for future rounds.
Our assumption regarding PSO application not only helps in the swarm computation, but also makes the application of PSO Semi-Distributed (PSO-SD), unlike the research carried out so far in the related area. The implementation of the swarm intelligence method is described in the following section.
Proposed cluster head selection technique using PSO
We have modeled a novel usage of particle swarm optimization in cluster head selection, which makes the algorithm semi-distributed and comparatively more energy-efficient. In order to accomplish the purpose, we have proposed a novel fitness function for PSO on the basis of distance, energy, node degree and head count of the sensor nodes in a cluster.
Cluster-based particle swarm optimization
Proposed fitness function for PSO
In the above equation α1, α2, α3 are the weightage parameters. In our optimization function we provide comparatively more valuation to the residual energy associated with the particle pi. The sensor (nj) must have its energy level within the range [Emin, Emax], or else the node is filtered out and hence not selected for comparison with other nodes in particle pi. Moreover, E(pi), Ndeg(pi) and H(pi) represents the energy, node degree and head count associated with the particle pi. Also, nj is the jth node of kth cluster (Ck) and denotes the total number of nodes in the respective cluster. The Euclidean distance between node nj and particle pi is represented by notation. It is clear from the equation that χ1 is the average distance of particle pi from all other sensors in the cluster and χ2 is the measure of particle energy w.r.t. other nodes. The χ3 parameter refers to the node degree associated with particle pi. This criterion helps to select the node around the particle with highest degree. Moreover, the number of neighbors for a sensor can be easily determined with help of in-built commands of network simulator. The sensor that is connected to more number of nodes reflects greater efficiency in receiving more packets easily. χ4 is the probability of choosing a node in particle pi on the basis of its head count. The head count is basically the frequency of a node of becoming cluster head so far. As the head count increases, the probability of its selection as cluster head decreases by certain magnitude.
Finally, at the end of each round (i.e. on completion of Tmax number of generations), the particle whose attributes optimizes the objective function is chosen as the global best position for the head node. The sensor nearest to the global best location is elected as the CH for the current round. The selected node acts as CH until its energy drops beyond a specified level. After which the current CH informs nCA to initiate the PSO computation for the next round of cluster head selection.
Packet retransmissions computation
Our energy consumption model considers the energy used in successful transmissions, receptions as well as the number of times a packet is collided (retransmissions). For this purpose, we have computed the average number of times a packet is retransmitted due to collision before successfully receiving at the destination (i.e. cluster head).
We assume that in average there are n links between member nodes and cluster head. Therefore in ideal case, exactly n transmissions would be required to successfully deliver one packet to CH. However, owing to the inherent nature of wireless communication in sensor network, packet losses are quite inevitable. The communication path remains highly vulnerable to network disturbances due to several factors. This increases the likelihood of retransmissions of the collided packets. In order to assess the energy consumption, we have theoretically computed the packet retransmissions within the cluster. Hence, the significant contributions included in this section are summarized as follows:
• Estimation of the average intra-cluster distance
• Determination of the number of communication links between the member nodes and the cluster head
• Derivation of average retransmissions of the collided packets
• Justification of the theoretical computation with simulated performance
The PSO-based cluster aims at selecting cluster heads that reduces the intra-cluster distance and minimizes the redundant packet transmissions. As a result of which large amount of energy wasted in communication can be preserved. In best case, CHs are ensured to be located within the COM area. However, due to the depletion of sensor energy, the position of selected CHs might not be always within the suitable region, yet assuming ideal behavior we can approximate the actual performance. In the subsequent research, we presumed ideal conditions and obtained an estimation of the distance.
Distance estimation of sensors to cluster head
Expected number of retransmission attempts
We know that clustered sensor members having their communication ranges overlapped are regarded as neighbors. This implies that communication path exists between the neighboring nodes, which further results in existence of an aggregation tree in every cluster with the cluster head (CH) as the root. The CH is also regarded as the aggregation center, which aggregates the data gathered from the member nodes for a given period of time. The transmission of data to the CH follows the path in the aggregation tree. We assume that there are h hops or links between the source node and CH. Also, every link between sensors possesses link failure probability (plk), which refers to the susceptibility of the channel to failures, due to different reasons.
Equation (21) provides an average perception of needed retransmissions which is not computed by the individual sensors. This estimation is only derived to assist the determination of the average energy consumption in the network, as described in the next section. Moreover, the behavioral analysis of our theoretical model with respect to actual simulation results is provided in the following.
Proposed energy consumption model
Sensor nodes mainly dissipate radio energy in form of electronics and amplifier energy. The energy consumed in the radio electronics (Eelec) fundamentally depends on how efficiently the signal is encoded, modulated and filtered. The energy dissipation rate in the radio amplifier (ϵamp) is directly proportional to dγ. Here, d is regarded as the distance between the source and destination node, and γ is the path loss component. The path loss experienced by signal can be different depending upon the power loss model employed.
Therefore, equation (28) clearly explains that the overall energy consumption depends upon the expected number of retransmissions, average number of hops or links, active probability of a sensor and the expected number of nodes in the cluster, i.e. .
Simulation & performance evaluation
Network simulation parameters
Sensor network dimension
1000 x 1000 sq. meters
Base station location
Sensor radius (r)
Transmission power (etx)
Reception power (erx)
Sleep power (esp)
Packet Length (m)
Weightage parameters (α1,α2,α3)
Energy required in radio electronics (Eelec)
Energy required in radio electronics (ϵamp)
Initial sensor energy
Number of generations (Tmax)
Number of particles (N)
Cognitive parameter (ccog)
Social parameter (csoc)
Inertia weight (ω)
from 1.2 to 0.4
Destination Sequence Distance-Vector (DSDV) protocol
Total sensor nodes deployed
Total simulation period
Conclusion & future work directions
The energy constraints in sensors pose serious challenges to the developers of sensor network. In order to improve the network performance several energy-aware cluster-based techniques are designed. The issue of optimal cluster head selection is often formulated as an optimization problem. Particle Swarm Optimization (PSO) is such a method which is known for its easy implementation and fast convergence.
In this paper, we have applied PSO for selecting the cluster heads by optimizing certain performance criteria. Our cluster-based strategy enhances network performance as compared to certain existing techniques. The proposed PSO-SD reduces the intra-cluster distance from the cluster members to the cluster head. The location of the cluster head is optimized by the proposed objective function used by PSO. Moreover, retransmissions computation for collided packets also assists in the derivation of overall energy consumption in the network. The simulation results illustrate that our PSO-SD delivers better performance than its comparatives in terms of lifetime, energy consumption and average number of packets communicated to the base station. There are several promising research directions that can be projected from our present contribution. Our future work includes the implementation of sensor mobility in higher dimensional region of interest. Moreover we would also focus on the distributed PSO-application in heterogeneous sensor networks.
This work was supported by the Council of Scientific and Industrial Research (CSIR), Human Resource Development Group, India under grant Senior Research Fellowship (SRF) – 09/263(0820)/2010-EMR-1. We would also like to thank the anonymous reviewers for their valuable comments.
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.