Hindawi Publishing Corporation International Journal of Distributed Sensor Networks Volume 2015, Article ID 627043, 14 pages http://dx.doi.org/10.1155/2015/627043
Research Article DARC: A Distributed and Adaptive Routing Protocol in Cluster-Based Wireless Sensor Networks Zhezhuang Xu,1,2 Liquan Chen,1,2 Lianyang Cao,1,2 Ting Liu,1,2 Dong Yang,1 and Cailian Chen3,4 1
School of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350000, China Fujian Key Laboratory of Industrial Control and Information Security Technology, Science and Technology Department of Fujian Province, Fuzhou 350000, China 3 Department of Automation, Shanghai Jiao Tong University, Shanghai 200240, China 4 Key Laboratory of System Control and Information Processing, Ministry of Education of China, Shanghai 200240, China 2
Correspondence should be addressed to Zhezhuang Xu;
[email protected] Received 5 October 2015; Accepted 30 November 2015 Academic Editor: Jaime Lloret Copyright Β© 2015 Zhezhuang Xu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Due to the limited energy of wireless sensor nodes, the energy efficiency of data collection is a key issue in wireless sensor network (WSN). Dynamic clustering is a scalable and energy efficient solution for data collection in WSN. However, it suffers from the imbalanced energy consumption in the intercluster communication. To solve this problem, in this paper, we propose a distributed and adaptive routing protocol for cluster-based wireless sensor networks (DARC). In DARC, an adaptive energy threshold is proposed for the cluster head to control its intercluster routing mode, and a tunable cost function is designed for relay selection. Simulation results prove that DARC effectively balances the energy consumption in the intercluster communication and hence improves the energy efficiency and prolongs the network lifetime.
1. Introduction Due to the advantages of easy deployment and low cost, wireless sensor network (WSN) has been widely used for collecting data in many applications such as emergency response [1, 2], environment monitoring [3, 4], and industrial control [5, 6]. Most wireless sensors are powered by batteries with limited energy; thus the energy efficiency is an essential issue in the data collection of WSN [7]. Dynamic clustering provides a scalable and energy efficient solution for data collection in WSNs [8β10]. The operation of dynamic clustering is divided into rounds. At the beginning of every round, some nodes are selected as the cluster heads (CHs) to build up the backbone of network, while the others become cluster members (CMs) and select their own CHs. The CH collects data from CMs in its cluster and then forwards the data to the base station (BS). At the end of each round, the cluster-based topology breaks up, and new clusters will be formed in the next round. The CHs generally consume much more energy than the CMs; hence,
the periodic cluster reorganization in dynamic clustering can balance the energy consumption among CHs and CMs. However, the imbalanced energy consumption among CHs can hardly be solved by cluster reorganization. It is because the difference of node location has great impacts on the energy consumption of intercluster routing. Generally, the intercluster routing can be classified to single-hop routing (SHR) [8, 11] and multihops routing (MHR) [12, 13]. In SHR, all CHs communicate with BS directly. On the other hand, in MHR, CHs forward their data to the BS via several hops. However, the imbalance of energy consumption is inevitable in both SHR and MHR. In SHR, the node that is far away from BS suffers from long transmission range and consumes more energy. While in MHR, the node close to the BS dies faster due to the heavy relay burden. To solve this problem, in this paper, we propose a distributed and adaptive routing protocol for cluster-based wireless sensor networks (DARC). The basic idea of DARC is to adaptively adjust the routing mode of CHs to balance the
2
International Journal of Distributed Sensor Networks
intercluster energy consumption. The major contributions of this paper are given as follows. (1) Simulations are executed to study the distribution of energy consumption in both SHR and MHR. There are two important results derived from the simulations. At first, the energy consumption is imbalanced in both SHR and MHR due to the difference of node location, and this problem can not be solved by cluster reorganization. Secondly, SHR and MHR have opposite distribution of energy consumption. It motivates us to design a new protocol that can adaptively adjust the routing modes of CHs to balance the energy consumption. (2) We propose a distributed and adaptive routing protocol for cluster-based wireless sensor networks (DARC). In DARC, an adaptive energy threshold is designed for CHs to select intercluster routing modes. Moreover, a tunable cost function is proposed for CHs to select proper relays. All the algorithms are executed based on the distributed information exchanged during the process of dynamic clustering, which ensures that DARC has low overhead. (3) The guideline of setting the parameters in DARC is provided based on the simulations. Moreover, the analytical and numerical results prove that DARC effectively balances the energy consumption among CHs and thus has better energy efficiency and longer network lifetime. The rest of this paper is organized as follows. The related works are summarized in Section 2. Section 3 presents the network models and states the problem addressed in this paper. Section 4 provides the details of DARC protocol, and the simulations are executed in Section 5 to evaluate the performance of DARC. Finally, Section 6 makes the conclusion of this paper.
2. Related Works Clustering provides a scalable solution for data collection in WSN [9, 14]. Observing the fact that the energy consumption of CHs is much larger than that of CMs, dynamic clustering is proposed in LEACH [8] to balance the energy consumption among nodes. The basic idea of dynamic clustering is to periodically rotate the cluster heads (CHs) and reorganize the cluster-based topology based on the new set of CHs. In this case, the heavy energy burden of CHs can be dispersed all over the network. Due to the advantages of scalability and energy efficiency, dynamic clustering becomes a popular research topic that attracts considerable attentions from various research communities. Many works focus on the algorithm of cluster head selection in dynamic clustering. HEED [12] is an iterationbased algorithm that considers both residual energy and communication cost in cluster head selection. It improves the CHs distribution in the network and hence has better efficiency than LEACH. However, HEED suffers from considerable overhead due to the iteration in the algorithm.
To solve this problem, BSC [11] adopts the random backoff scheme to control the process of CH selection. The node with smaller backoff time has higher probability to be CH. BSC can generate well-distributed CHs with low overhead. In [15], the vice-cluster head is proposed to alleviate the traffic load of cluster head, such that the network lifetime is significantly improved. The authors in [16] consider the collaborative data processing between nodes and propose an efficient cluster head selection approach for collaborative data processing. Cluster formation is another popular research topic in dynamic clustering. In EECS [17], a novel cost function is proposed for CMs to select proper CHs by considering the distance between CH and the BS. The energy consumption is balanced by intracluster communication in EECS and the network lifetime is significantly improved. In IDUC [18], a radius competition scheme is proposed to generate unequal clusters that can balance the energy consumption among CHs in the network with heterogeneous energy. On the other hand, some research works provide mathematical analysis on how to assign the range of clusters in various scenarios [13, 19]. In [19], the authors provide a mathematical framework to determine the optimal number of clusters by minimizing the energy consumption in both single-hop and multihops scenarios. EC [13] considers the multihop data collection scenario and formulates an optimization problem that determines suitable cluster ranges depending on the hop distance to the BS. For the intercluster communication, many dynamic clustering protocols are developed based on the assumption that the CHs can communicate with the BS directly [8, 11, 17]. On the other hand, some research works have considered the multihops routing among CHs [12, 13, 18]. For example, HEED [12] uses the greedy routing algorithm for intercluster communication, and EC [13] uses a routing algorithm that considers the load balance among CHs. Nonetheless, due to the difference of node location, the imbalanced energy consumption among CHs can hardly be solved by these routing algorithms. Moreover, these algorithms are not tailored for dynamic clustering that may generate considerable overhead during cluster reorganization. It motivates us to study this problem in Section 3.3 and provide a distributed solution named DARC in Section 4.
3. Preliminaries 3.1. Network Model. In this paper, we consider a typical data collection scenario in WSN. A great number of sensor nodes are randomly deployed in a square area. The network is assumed to have the following properties. (1) There is a base station (BS) located in the network area to collect sensing data from sensor nodes. Hence, the destination of every sensing data is the BS. (2) Sensor nodes have homogeneous hardware capabilities. They are powered by batteries which have limited energy. It motivates the requirement of improving energy efficiency and prolong the network lifetime.
International Journal of Distributed Sensor Networks
3
Table 1: Simulation parameters. Type Application
Radio model
Parameter Initial energy Data packet size (π) Node density Round πΈelec πfs πΈDA
Table 2: The distance from first dead node to BS.
Value 1J 125 bytes 0.01 nodes/m2 20 TDMA frames 50 nJ/bit 10 pJ/bit/m2 5 nJ/bit/signal
(3) Every node can use power control to adjust its transmission range, and it has sufficient power to transmit its data to the BS directly. (4) Links are symmetric, and every node can estimate its distance to another node based on the received signal strength indication (RSSI). (5) The network is organized into clusters which includes one cluster head (CH) and some cluster members (CMs). Each CH has the ability to aggregate intracluster data packets into one single packet, while the intercluster packets can not be aggregated. 3.2. Energy Consumption Model. The energy consumption model is adopted from LEACH [8]. The energy consumed for transmitting π-bit data over distance π is πΈtx (π, π) = π (πΈelec + πfs π2 )
(1)
and the energy consumed for receiving π-bit data is πΈrx (π) = ππΈelec ,
(2)
where πΈelec is the electronics energy which depends on the radio electronics and πfs π2 is the amplifier energy which follows the free space channel model. The values of these parameters are given in Table 1. 3.3. Problem Statement. In dynamic clustering, periodical cluster reorganization can distribute the energy consumption of CHs among all nodes. However, the imbalance of energy consumption still exists due to the difference of node location. Every node has different distance to the BS that leads to different energy consumption in the intercluster communication. To further study the imbalance of energy consumption caused by node location, simulations are executed to demonstrate the location distribution of the first dead node. The first dead node is defined as the node that runs out its energy first in the network. The backoff-based clustering scheme [11] is used to generate the cluster-based topology. Based on the selected CHs, two routing algorithms are used in the intercluster communication: the single-hop routing (SHR) and the multihops routing (MHR). In SHR, all CHs transmit data to the BS directly. On the other hand, in MHR, CHs forward their data to the BS via multihops relay. In this paper, a greedy routing algorithm is used in MHR [20]. The CH π
Distance to BS SHR MHR
0β70 m 0 41
70β140 m 0 5
140β210 m 21 3
>210 m 29 1
selects the closest CH which is closer to BS than itself as its relay. The algorithm can be formulated as R (π) = min {π (π, π) | π (π, 0) > π (π, 0) , π β H} ,
(3)
where π(π, π) is the distance between nodes π and π and π(π, 0) is the distance between node π and BS. H is the set of CHs and R(π) is the relay of CH π. The network area is set as 200Γ200 m2 , and the BS locates at (0, 0). The simulation runs 50 times to obtain the statistics about the distance from the first dead node to the BS. The results are given in Table 2. In SHR, the distances from all first dead nodes to BS are over 140 m. On the other hand, in MHR, 82% first dead nodes are located within 70 m to the BS. It indicates that the locations of first dead nodes are different in SHR and MHR. In SHR, the node that is far away from the BS consumes more energy due to the long transmission range. While, in MHR, the node closer to the BS suffers from the heavy load for relaying and dies faster than other nodes. The results demonstrate that the energy consumption is imbalanced due to the difference of node location, and this problem can not be solved by cluster reorganization. On the other hand, the results also depict that SHR and MHR have opposite distribution of energy consumption. It motivates us to design a new protocol that can adaptively adjust the routing modes of CHs to balance the energy consumption. 3.4. Design Goals. To solve the problem stated above, we propose a distributed and adaptive routing protocol in clusterbased wireless sensor networks (DARC). The basic idea of DARC is to adaptively adjust the intercluster routing modes of CHs based on distributed information exchanges among CHs. Specifically, the design goals of DARC are given as follows. (1) The routing modes of CHs can be adaptively selected based on their residual energy, such that the energy consumption of intercluster communication can be balanced in different rounds. (2) The relays of CHs should be selected with joint consideration of the balance of energy consumption and energy efficiency, since both of them are critical to prolong the network lifetime. (3) The algorithm should be distributed with low overhead due to the limited hardware resources of sensor nodes.
4. DARC Protocol DARC is designed based on the framework of dynamic clustering which uses periodical clusters reorganization to
4
International Journal of Distributed Sensor Networks Table 3: Variables list.
Symbol π(π) πchs ππ π
π π
π πΈMAX πΈπ (π) πCH πΈave π(π, π) π(π, 0)
Description The backoff timer of node π The duration of cluster head selection The duration of adaptive routing The clustering range The range for relay selection The initial energy of nodes The residual energy of node π The number of CHs The average energy of all CHs The distance between nodes π and π The distance between node π and base station
distribute the energy consumption among all nodes. Different from existing dynamic clustering protocols, in DARC, every node collects the information of neighbors during the process of cluster head selection and uses the information to make the clustering and routing decision distributively. Once a node decides to be a CH, it should determine the routing mode by comparing its residual energy with neighboring CHs. Moreover, it uses a cost function, which considers both the energy efficiency and the load balance, to select CH or BS as its next-hop nodes. The details of DARC are described in the following sections. To clarify the statement, the variables using in DARC are summarized in Table 3. 4.1. Cluster Head Selection. The random backoff strategy [11, 21] is used in DARC to select CHs with low overhead. The network operation is divided into rounds. At the beginning of every round, each node sets a backoff timer π(π) according to its residual energy, π (π) =
πΈMAX β πΈπ (π) Γ πchs , πΈMAX
(4)
where πΈπ (π) is the residual energy of the node π and πΈMAX is the initial energy of node. πchs is the duration of cluster head selection phase. After setting the backoff timer π(π), the node should listen to the channel for incoming packets. There are two kinds of advertisement (ADV) packets that are distributively exchanged during the cluster head selection phase: the ADV packet for clustering (AC) and the ADV packet for routing (AR). Both of them are broadcast by the CHs. Considering the AC and AR packets broadcast by CH π, they should carry the following information: the ID π, the residual energy πΈπ (π), and the estimated distance to the BS π(π, 0). Moreover, the AC and AR packets are broadcast in different ranges. The AC packets are broadcast in range π
π to control the size of clusters, while the AR packets are broadcast in range π
π to adjust the area for relay selection. Both π
π and π
π impact the efficiency of clustering and routing in DARC. The guideline of setting π
π and π
π will be discussed in Section 5.1. Based on received packets, every node updates the following data lists:
(i) JOIN list: it records the CHs within range π
π ; (ii) ENERGY list: it records the CHs within range π
π . When the node receives AC packet, it records the information of transmitter CH to the JOIN list. The JOIN list will be used for the node to select its CH when it decides to be CM. When the node receives AR packet, it records the information to the ENERGY list which will be used for the CH to make intercluster routing decision. When the backoff timer π(π) terminates, the node π checks its JOIN list. If the JOIN list is empty, it will set up its status as CH and broadcast AC and AR packets. On the other hand, if the JOIN list is not empty, it will quit the competition for becoming CH and assign itself as a CM. The condition for selecting CH is based on the setting of backoff timer. According to (4), a node with higher residual energy has smaller π(π) and hence could broadcast its ADV packet before its neighbors. Therefore, if the JOIN list is empty, it means that node π has the maximum residual energy among all its neighbors in π
π . After determining its status, the node should continue listening to the channel until πchs expires, that is, the end of cluster head selection phase. For CMs, they should record all AC packets to the JOIN list, and the CHs have to record all AR packets to the ENERGY list. This information will be used to make the clustering and routing decision. The details are given in the following sections. 4.2. Cluster Formation. When πchs expires, each CM has to select a proper CH from the JOIN list. In DARC, we use a simple metric so that the CM chooses its CH with the maximum RSSI of AC packet. This metric can minimize the energy consumption of intracluster communication. When a CM has selected its CH, it has to transmit a Join Cluster (JC) packet to its CH. By receiving the JC packet, the CH records the transmitter to the MEM list as its member. The MEM list will be used by each CH to schedule the intracluster data collection in the data transmission phase. When every CM has transmitted JC packet to its CH, the cluster formation is completed. 4.3. Adaptive Routing. The basic idea of DARC is to adaptively switch the routing modes of CH to balance the energy consumption of intercluster communication. To realize this idea, we define two kinds of routing modes for every CH: CHL and CH-H. The CH-L denotes the CH with relatively low energy that requires a closer relay to forward its data. While the CH-H denotes the CH with relatively high energy that can serve as a relay and transmit its data to the BS directly. At the beginning, each CH has to determine its routing mode based on the ENERGY list. A CH π estimates the average residual energy πΈave (π) of all CHs in its ENERGY list by π (π)
πΈave (π) =
CH βπ=1 πΈπ (π)
πCH (π)
,
π β ENERGY (π) ,
(5)
where πCH (π) is the number of CHs in the ENERGY list. Then, the CH compares its residual energy πΈπ (π) with πΈave (π).
International Journal of Distributed Sensor Networks
5
If πΈπ (π) < πΈave (π), the CH will be classified as a CH-L. Otherwise, if πΈπ β©Ύ πΈave , the CH will be classified as a CHH. The CH-H selects the BS as its next-hop node since it has sufficient energy. Then it broadcasts AR packet in π
π to announce that it can serve as a relay for nearby CH-L. On the other hand, the CH-L sets up a timer ππ and then keeps listening to the channel. ππ is a fixed timer that presents the duration of adaptive routing phase. When it receives a AR packet from CH π, it should compare its distance to the BS, which is denoted by π(π, 0), with π(π, 0) that is contained in the AR packet. If π(π, 0) > π(π, 0), the CH π will record the information of CH π to the RELAY list. Otherwise, it will discard the AR packet. This condition ensures that its next-hop node is closer to the BS. When ππ terminates, the CH-L checks its RELAY list. If RELAY list is empty, which means that there is no CH-H located closer to the BS in π
π , it will select the BS as its nexthop node. Otherwise, the CH-L has to select a relay from its ENERGY list. The relay selection is a nontrivial issue that impacts both energy efficiency and load balance. Therefore, we firstly analyze the energy consumption of intercluster routing among CHs and then provide the algorithm for relay selection. According to the energy model given in Section 3.2, the energy consumption for CH-L π to transmit π-bit data to its relay CH π can be estimated by πΈchtx (π, π) = ππΈelec + ππfs π2 (π, π) ,
(6)
where π(π, π) is the distance between CH-L π and CH π. On the other hand, in order for a CH to forward π-bit data to BS, the energy consumption can be calculated by πΈchtx (π, 0) = ππΈelec + ππfs π2 (π, 0) ,
(7)
where π(π, 0) is the distance between CH π and BS. Based on the analysis given above, the energy efficiency of intercluster communication can be achieved by minimizing the following cost function: cost (π, π) = π2 (π, π) + π2 (π, 0) .
(8)
However, the load balance can hardly be achieved simply by minimizing the cost given in (8). It is possible that the CHH has considerable traffic load in a single round. On the other hand, the residual energy of CH-L may be so small that selecting a closer relay is urgent. Therefore, with jointed consideration of both CH-L and CH-H, we set a weighted factor πΌ for the tradeoff between π2 (π, π) and π2 (π, 0). The improved cost function used in DARC is cost (π, π) = πΌ Γ π2 (π, π) + (1 β πΌ) Γ π2 (π, 0) .
(9)
The CH-H π with the lowest cost(π, π) is the best relay for CHL π, since the smaller cost(π, π) represents not only the energy efficiency of transmission path, but also the reasonable load balance between CH-L and CH-H. The setting of πΌ is critical to the network lifetime. How to obtain the optimal value of πΌ will be discussed in Section 5.1.
4.4. Properties of DARC. In this section, we provide the basic properties of DARC protocol that prove its effectiveness. Lemma 1. After executing the cluster head selection algorithm of DARC, each node is either a CH or a CM. Proof. Assume that a node is neither a CH nor a CM after executing the cluster head selection algorithm. Since the node does not become CH, it implies that the JOIN list is not empty when its π(π) terminates. In this case, the node will choose to be a CM according to line 15 given in Algorithm 1, which is a contradiction. Lemma 2. The distance between any pair of CHs is longer than π
π . Proof. Assume that the distance between CH π and CH π is shorter than π
π and the backoff timer of CH π, π(π) is longer than π(π). In this case, in the cluster head selection algorithm, the node π broadcasts its AC packet in π
π before π(π) terminates. Therefore, node π receives the AC packet for CH π and records the information of CH π to its JOIN list. When π(π) terminates, since the JOIN list of node π is not empty, the node π should select its status as CM. It is a contradiction to the assumption. Lemma 3. After executing the cluster formation algorithm of DARC, each CM has selected a CH and joined its cluster. Proof. In DARC, the CM selects its CH from the JOIN list. If the CM does not select a CH, it means that its JOIN list is empty. According to the algorithm of cluster head selection, the node will become a CH if its JOIN list is empty, which is a contradiction. Lemma 4. In DARC, the CH transmits its data to the BS in 1 or 2 hops. Proof. There are two kinds of CHs in DARC: CH-H and CHL. The next-hop node of CH-H is destined to be the BS; thus, the hop count is 1. For the CH-L, if its RELAY list is empty, it will transmit data to the BS directly. Otherwise, it has to select its next-hop node from the RELAY list. According to lines 15 and 16 given in Algorithm 2, only the CH-H can be recorded in the RELAY list. Therefore, the hop count from CH-L to the BS is at most 2 hops. Theorem 5. The DARC protocol generates a connected network topology. Proof. According to Lemma 1, each node is either a CH or a CM after running the cluster head selection algorithm. Combining Lemmas 3 and 4, every node can transmit its data to the BS with limited hops. Therefore, the network is connected. Remark 6. The DARC protocol is completely distributed. Proof. In DARC, every node determines its status (CM or CH) and selects its next-hop node based on its backoff timer
6
International Journal of Distributed Sensor Networks
(1) Node π sets up random backoff timer π(π) (Equation (4)); (2) repeat (3) if Receives AC packet from CH π then (4) Records CH π to JOIN list; (5) end if (6) if Receives AR packet from CH π then (7) Records CH π to ENERGY list; (8) end if (9) until π(π) terminates (10) if JOIN list is empty then (11) status β CH; (12) Broadcasts AC packet in π
π (13) Broadcasts AR packet in π
π (14) else (15) status β CM; (16) end if (17) repeat (18) if status = CM AND Receive AC packet from CH π then (19) Records CH π to JOIN list; (20) end if (21) if status = CH AND Receives AR packet from CH π then (22) Records CH π to ENERGY list; (23) end if (24) until πchs terminates (25) if status = CM then (26) Selects its CH with maximum RSSI from the JOIN list; (27) Transmits a JC packet to its CH; (28) end if Algorithm 1: Clustering algorithm of DARC.
(1) Given a CH π after the cluster head selection algorithm; (2) Calculates πΈave (π) of CHs in ENERGY list (Equation (5)); (3) if πΈπ (π) β©Ύ Eave (π) then (4) status β CH-π» (5) Select the BS as its next-hop node; (6) Broadcasts AR packet in π
π ; (7) else (8) status β CH-πΏ (9) repeat (10) if Receives AR packet from CH π then (11) if π(π, 0) < π(π, 0) then (12) Records CH π to RELAY list; (13) end if (14) end if (15) until ππ terminates (16) if RELAY list is empty then (17) Select the BS as its next-hop node; (18) else (19) Selects the CH with minimum πΆ(π, π) (Equation (9)) in the RELAY list as its next-hop node; (20) end if (21) end if Algorithm 2: Adaptive routing algorithm of DARC.
International Journal of Distributed Sensor Networks π(π) and the received packets. The backoff timer π(π) is determined by its local information, and the received packets are broadcast by the CHs within the ranges π
π and π
π . Therefore, the DARC protocol is completely distributed. Theorem 7. Given the number of nodes π and the number of CHs ππΆπ», the packet overhead of DARC is at most π+2βππΆπ» per round. Proof. In DARC, every CH broadcasts two packets (AC and AR) in the cluster head selection algorithm, and each CM transmits a JC packet to its CH in the cluster formation algorithm. According to Lemma 1, the number of CMs can be calculated by π β πCH . Thus, the packet overhead of the clustering algorithm can be calculated by πβπCH +2βπCH = π+πCH . In the routing algorithm, the CH-H has to broadcast AR packet to inform neighbor CH-L. If the RELAY list of CHL is not empty, the CH-L will transmit a packet to the selected CH-H for confirmation. Therefore, the packet overhead of the routing algorithm is at most πCH . To sum up, the packet overhead of DARC is at most π + 2 β πCH . For comparison, we analyze the complexity of SHR and MHR which have been described in Section 3.3. Theorem 8. Given the number of nodes π and the number of CHs ππΆπ», the packet overhead of SHR is π per round. Proof. In SHR, every CH broadcasts AC packets in the cluster head selection algorithm, and each CM transmits a JC packet to its CH in the cluster formation algorithm. According to Lemma 1, the number of CMs can be calculated by π β πCH . Thus, the packet overhead of the clustering algorithm can be calculated by π β πCH + πCH = π. In the routing algorithm, all CHs have to transmit data to the sink directly. Therefore, the packet overhead of the routing algorithm is 0. To sum up, the packet overhead of SHR is π. Theorem 9. Given the number of nodes π and the number of CHs ππΆπ», the packet overhead of MHR is π + 2 β ππΆπ» per round. Proof. In MHR, every CH broadcasts AC packets in the cluster head selection algorithm, and each CM transmits a JC packet to its CH in the cluster formation algorithm. According to Lemma 1, the number of CMs can be calculated by π β πCH . Thus, the packet overhead of the clustering algorithm can be calculated by π β πCH + πCH = π. In the routing algorithm, each CH broadcasts small packets of distance and ID information in its transmission range to inform its neighbor CHs. Then, CH selects its relay according to (3) and transmits a packet to the selected relay for confirmation. Therefore, the packet overhead of the routing algorithm is 2βπCH . To sum up, the packet overhead of MHR is π + 2 β πCH . The properties given above prove that the DARC can generate reliable cluster-based network topology with low overhead. The efficiency of DARC will be further studied by simulations in the next section.
7
5. Simulation Results In this section, the simulations are executed to study the performance of DARC. At first, we study how does the parameters setting in DARC impact the network performance. Then, the performance of DARC is compared with that of SHR and MHR to prove its efficiency. For fairness, both SHR and MHR adopt the backoff strategy [11] that is described in Section 4.1 for the cluster head selection. Network lifetime is the major metric for evaluating the energy efficiency of DARC. The network lifetime is defined as the rounds when the first node dies (FND), since a certain area may not be monitored once a sensor node exhausts its energy. The basic parameters used in simulations are summarized in Table 1. Each simulation runs 100 times with different node deployment to obtain the statistic results. 5.1. Parameters Setting. In DARC, there are three important parameters: the clustering range π
π , the range for relay selection π
π , and the weighted factor πΌ in (9). The simulations are executed to study how does these parameters impact the network performance. The network is deployed in a 200 m Γ 200 m area with 400 nodes, and the base station (BS) is located at coordinates (0, 0). π
π is set as 20 m, 40 m, 60 m, and 80 m, respectively, while π
π is set as 120 m, 180 m, and 240 m. The weighted factor πΌ varies in range [0, 1]. The simulation results are given in Figure 1. As shown in Figure 1, π
π , π
π , and πΌ have significant impacts on network lifetime. The first important result is that the πΌ has great impact on the network lifetime, and the optimal value of πΌ is related to π
π . When π
π grows from 20 m to 80 m, the optimal value of πΌ also grows from 0.6 to 1. It indicates that the transmitting range of CH-L is more important than that of CH-H in most scenarios. According to the cluster head selection algorithm of DARC, the clustering range π
π not only impacts the number of clusters, but also determines the minimum distance between CHs. The growth of π
π reduces the number of CHs and increases the distance between CHs. Therefore, as π
π grows up, it is more difficult for the CH-L to select a reasonable CH-H as its relay. Therefore, a greater value of πΌ, which makes the CH-L intends to select a closer CH-H as its next-hop node, is helpful to improve the network lifetime. Then, we evaluate the impact of π
π . The variance of network lifetime (with respect to πΌ) increases with the growth of π
π . Take π
π = 20 m (Figure 1(a)); for example, when π
π = 120 m, the network lifetime varies from 315 rounds to 358 rounds with different πΌ. On the other hand, when π
π = 240 m, the network lifetime varies from 194 rounds to 356 rounds with different πΌ. It is because π
π determines the area to select the relay. There are more CH-H that can be served as relay when π
π grows. Nevertheless, as shown in Figure 1, π
π has little impact on the optimal network lifetime which means that the optimal relay is generally not far away from the CH-L. Moreover, it indicates an important result that the distributed information exchanged in π
π is sufficient for optimal relay selection. For π
π , its value determines the number of CHs and the energy consumption of intracluster communication.
International Journal of Distributed Sensor Networks 360 340 320 300 280 260 240 220 200 180
400 380 Network lifetime
Network lifetime
8
360 340 320 300
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
280
1
0
0.1
0.2
0.3
Parameter πΌ
Rn = 120 Rn = 180
Rn = 120 Rn = 180
Rn = 240 (a) π
π = 20 m
340
Network lifetime
Network lifetime
350
330 320 310 300 0
0.1
0.2
Rn = 120 Rn = 180
0.3
0.4 0.5 0.6 Parameter πΌ
0.7
0.8
0.9
1
0.7
0.8
0.9
1
Rn = 240 (b) π
π = 40 m
360
290
0.4 0.5 0.6 Parameter πΌ
0.7
0.8
0.9
1
Rn = 240 (c) π
π = 60 m
310 305 300 295 290 285 280 275 270 265
0
0.1
0.2
0.3
0.4
0.5
0.6
Parameter πΌ
Rn = 120 Rn = 180
Rn = 240 (d) π
π = 80 m
Figure 1: Impact of DARC parameters (πΌ, π
π , and π
π ) on the network lifetime.
A reasonable setting of π
π is able to reduce the energy consumption and prolong the network lifetime, which has been studied in [13, 22]. In this scenario, the network lifetime approaches the maximum at 396 rounds when π
π = 40 m and πΌ = 0.9. According to the results given above, in the rest of simulations, π
π is fixed at 120 m. Meanwhile, for each given π
π , πΌ is set as the optimal value which could achieve maximum network lifetime. 5.2. Network Lifetime Analysis. To prove the efficiency of DARC, in this section, the simulations are executed to compare the network lifetime of DARC with that of SHR and MHR in different network scenario. We also compare the residual energy ratio, which is defined as the ratio of residual energy, to the initial energy when the first dead node appears. At first, we compare the network lifetime and the residual energy ratio with different network area. The side length of the network area varies from 100 m to 200 m. The node density is fixed at 0.01 nodes/m2 and the BS locates at coordinates (0, 0). The simulation results are given in Figures 2 and 3. As shown in Figure 2, the optimal network lifetime of DARC is longer than that of SHR and MHR in both
small-scale and large-scale networks. In a small-scale network of 100 m Γ 100 m, the improvement of network lifetime in DARC is about 17.6% over SHR and 14.6% over MHR. Furthermore, in a large-scale network of 200 m Γ 200 m, the network lifetime of DARC is improved, 42.9% over SHR and 34.1% over MHR. The advantages of DARC increase with the growth of network area. It is because as the area of network enlarges, the nodes in SHR suffer from the growth of transmission distance, while MHR generates greater amount of relay burden for the nodes close to the BS. It leads to severe energy imbalance and shortens the network lifetime. On the other hand, by adaptively controlling the routing modes of CHs, DARC successfully balances the energy consumption in intercluster routing and hence prolongs the network lifetime. Therefore, the DARC has longer network lifetime and better scalability than SHR and MHR. The residual energy ratio also proves the energy efficiency of DARC. As shown in Figure 3, when the first dead node appears in DARC, only 2.48% energy is left in the 100 m Γ 100 m network and there is 6.91% energy left in the 200 m Γ 200 m network. On the other hand, the residual energy ratio of SHR and MHR is generally larger than 20%.
9
450
450
400
400
350
350
Network lifetime
Network lifetime
International Journal of Distributed Sensor Networks
300 250 200 150 100 20
300 250 200 150
30
40
50
60
70
80
100 20
30
40
Clustering range (Rc ) DARC SHR
50
60
70
80
Clustering range (Rc ) DARC SHR
MHR
MHR
(a) 100 m Γ 100 m
(b) 150 m Γ 150 m
450
Network lifetime
400 350 300 250 200 150 100 20
30
40
50
60
70
80
Clustering range (Rc ) DARC SHR
MHR (c) 200 m Γ 200 m
Figure 2: Network lifetime with different network area.
In DARC, the residual energy ratio monotonously increases with the growth of π
π . It means that the energy utilization of DARC achieves the maximum when π
π = 20 m. The reason can be found in the analysis given in Section 5.1. The smaller π
π can reduce the distance between CHs and generate more CHs. Therefore, the relay selection is more efficient with a smaller π
π . However, as shown in Figure 2, the network lifetime achieves the maximum when π
π = 30 m in 150 m Γ 150 m network and π
π = 40 m in 200 m Γ 200 m network. It is because the growth of π
π can reduce the number of CHs and so as the intercluster traffic loads. This benefit is overwhelmed by the growth of intracluster energy consumption when π
π grows larger than 50 m. This reason can also explain the performance of SHR and MHR given in Figures 2 and 3. Then we study the network performance with different node density. The network area is fixed at 200 m Γ 200 m, while the number of nodes π grows from 200 to 800. The simulation results are given in Figures 4 and 5. Figures 4 and 5 show that DARC outperforms SHR and MHR with different node density. Specifically, in a sparse
network with 200 nodes, the improvement of network lifetime in DARC is about 44.5% over SHR and 10.1% over MHR. In a dense network with 800 nodes, the network lifetime of DARC is improved, 43.1% over SHR and 14.2% over MHR. Moreover, the residual energy ratio of DARC is below 10% with the maximum network lifetime, while the residual energy ratio of SHR and MHR is generally larger than 20%. These results prove the efficiency of DARC in both sparse and dense networks. As shown in Figure 4, the maximum network lifetime slightly increases with the growth of node density. Moreover, the optimal value of π
π reduces when the node density increases. The reasons are given as follows. According to Lemma 2, the number of CHs is determined by π
π rather than the node density, such that the dense node deployment can reduce the probability of being CH for each node. However, this benefit is limited by the growth of intracluster energy consumption in a dense network. In this case, reducing the value of π
π is helpful to control the intracluster energy consumption and hence prolong the network lifetime.
International Journal of Distributed Sensor Networks 70
70
60
60 Residual energy ratio (%)
Residual energy ratio (%)
10
50 40 30 20 10 0 20
50 40 30 20 10
30
DARC SHR
40 50 60 Clustering range (Rc )
70
80
0 20
30
40 50 60 Clustering range (Rc )
DARC SHR
MHR
70
80
MHR
(a) 100 m Γ 100 m
(b) 150 m Γ 150 m
70 Residual energy ratio (%)
60 50 40 30 20 10 0 20
30
40 50 60 Clustering range (Rc )
DARC SHR
70
80
MHR (c) 200 m Γ 200 m
Figure 3: Residual energy ratio with different network area.
5.3. Energy Consumption Analysis. In this section, we evaluate the energy consumption of DARC to exploit how does DARC prolong the network lifetime. The energy consumption is categorized into three groups: the energy of CH for transmitting data (CHTX), the energy of CH for receiving data (CHRX), and the energy of CM for transmitting data to its CH (CMTX). Simulations are implemented in a scenario where 400 nodes are deployed in a 200 mΓ200 m area and the BS locates at coordinates (0, 0). Based on the results given in Figure 3, π
π is set as 40 m to maximize the network lifetime in DARC. To clarify the comparison, π
π is also set as 40 m in SHR and MHR to generate similar distribution of CHs. Each simulation runs until the first dead node appears, and we study the energy consumption in two groups: the energy consumption of the first dead node and the average energy consumption of all nodes. The simulation results are given in Tables 4 and 5. Since DARC provides longer network lifetime, the average energy consumption of DARC is larger than that of SHR and MHR. On the other hand, for the first dead node, its energy
Table 4: Energy consumption comparison (average). Average DARC SHR MHR
CHRX (J) 0.3871 0.2416 0.3076
CHTX (J) 0.1129 0.0819 0.0611
CMTX (J) 0.4096 0.2633 0.3044
Table 5: Energy consumption comparison (first dead). First dead DARC SHR MHR
CHRX (J) 0.4282 0.2718 0.4684
CHTX (J) 0.1868 0.4929 0.2641
CMTX (J) 0.3889 0.2430 0.2750
consumption in CHTX is significantly reduced in DARC due to the adaptive routing algorithm. To clarify the difference between the energy consumption of the first dead node and the average energy consumption of all nodes, we illustrate them with SHR, MHR, and DARC
11
400
400
350
350 Network lifetime
Network lifetime
International Journal of Distributed Sensor Networks
300 250 200 150 100 20
300 250 200 150
30
40
50
60
70
80
100 20
30
40
Clustering range (Rc ) DARC SHR
50
60
70
80
Clustering range (Rc ) DARC SHR
MHR (a) π = 200
MHR (b) π = 400
400
Network lifetime
350 300 250 200 150 100 20
30
40 50 60 Clustering range (Rc )
DARC SHR
70
80
MHR (c) π = 800
Figure 4: Network lifetime with different node density.
separately in Figure 6. In SHR, the CHTX dominates the energy consumption of the first dead node. The CHTX of the first dead node is over 6 times compared with the average CHTX. According to the results given in Table 2, the first dead node of SHR generally locates far away from the BS; hence, it suffers from the long transmitting distance when it becomes a CH. In MHR, the CHTX is smaller than that of SHR due to the multihops routing. However, both CHTX and CHRX of the first dead node are more than the average ones. It is because, in MHR, the CH that is close to the BS suffers from the burden for relaying intercluster packets. On the other hand, the CHTX of the first dead node is greatly reduced in DARC. In DARC, the CHTX of the first dead node is only 37.9% of that in SHR and 70.5% of that in MHR. Moreover, the difference of energy consumption between the first dead node and other nodes is greatly reduced in DARC. These results prove the effectiveness of DARC. The adaptive routing mechanism used in DARC successfully balances the energy consumption among the CHs that have different distance to the BS. It is the major
reason that the DARC has longer network lifetime than SHR and MHR. 5.4. Hop Count Analysis. In this section, we compare the hop count from the CHs to the BS among SHR, MHR, and DARC. The hop count presents the transmission latency and the routing complexity of the protocol. Simulations are implemented in the scenario where 400 nodes are randomly deployed in a 200 m Γ 200 m area and the BS is located at coordinates (0, 0). The clustering range grows from 20 m to 80 m. The simulation results are given in Figure 7. As shown in Figure 7, the hop count of SHR is fixed at 1, and the hop count of MHR drops from 8.88 hops to 2.57 hops with the growth of π
π . On the other hand, in DARC, the hop count slightly decreases from 1.47 to 1.29 as the π
π grows. It proves that the DARC can prolong the network lifetime with reasonable growth of transmission latency and routing complexity. Moreover, since the CH in DARC transmits its data to the BS in either one or two hops (Lemma 4), the hop count
International Journal of Distributed Sensor Networks 70
70
60
60 Residual energy ratio (%)
Residual energy ratio (%)
12
50 40 30 20
50 40 30 20 10
10 0 20
30
DARC SHR
40 50 60 Clustering range (Rc )
70
80
0 20
30
40 50 60 Clustering range (Rc )
DARC SHR
MHR
70
80
MHR
(a) π = 200
(b) π = 400
70 Residual energy ratio (%)
60 50 40 30 20 10 0 20
30
40 50 60 Clustering range (Rc )
DARC SHR
70
80
MHR (c) π = 800
Figure 5: Residual energy ratio with different node density.
also presents the percentage of the CHs that have a relay. According to the results given in Figure 7, nearly 47% CHs select a relay to reduce its energy consumption when π
π = 20 m, while, in π
π = 80 m, only 29% CHs have selected a relay. It is because the growth of π
π leads to the decreasing number of CHs, and it reduces the probability to find a reasonable relay. This result also explains why DARC does not perform well when π
π has a large value.
DARC effectively balances the energy consumption among CHs in various network scenarios and hence has better energy efficiency and longer network lifetime. In future works, we will study how to use the DARC protocol in a large-scale network where most nodes can not transmit their data to the BS directly. Moreover, the impact of πΌ, π
π , and π
π on the DARC protocol will be studied with more theoretical analysis to provide the guideline of optimal parameters setting in more general network scenarios.
6. Conclusion In this paper, we analyze the energy consumption in dynamic clustering algorithms and find that the cluster reorganization can not balance the energy consumption in the intercluster communication. To solve this problem, we propose a distributed and adaptive routing protocol for cluster-based wireless sensor networks (DARC). The DARC protocol uses an adaptive energy threshold to select a suitable intercluster routing mode for CHs, and a tunable cost function is proposed for relay selection. Simulation results prove that
Conflict of Interests The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments This work is supported in part by the NSF of China under Grants U1405251, 61304260, 61301096, 61221003, 61290322,
International Journal of Distributed Sensor Networks
13
0.5
0.5
Energy consumption (J)
0.4 0.35 0.3 0.25 0.2 0.15 0.1
0.4 0.3 0.2 0.1
0.05 0 CHRX
CHTX
CHRX
CMTX
First dead node Average
CHTX
First dead node Average (a) SHR
(b) MHR
0.5
Energy consumption (J)
0
0.4 0.3 0.2 0.1 0
CHRX
CHTX
CMTX
First dead node Average (c) DARC
Figure 6: Energy consumption comparison.
9 8 7 6 Hop count
Energy consumption (J)
0.45
5 4 3 2 1 0 20
30
DARC MHR
40 50 60 Clustering range (Rc ) SHR
Figure 7: Hop count of CHs.
70
80
CMTX
14 and 61273181, in part by the NSF of Fujian Province of China under Grants no. 2014J05072, in part by the Ministry of Education of China under Grants NCET-13-0358, and in part by the Science and Technology Commission of Shanghai Municipality (STCSM), China, under Grant 13QA1401900.
References [1] A. Arora, P. Dutta, S. Bapat et al., βA line in the sand: a wireless sensor network for target detection, classification, and tracking,β Computer Networks, vol. 46, no. 5, pp. 605β634, 2004. [2] T. Gao, T. Massey, L. Selavo et al., βThe advanced health and disaster aid network: a light-weight wireless medical system for tiage,β IEEE Transactions on Biomedical Circuits and Systems, vol. 1, no. 3, pp. 203β216, 2007. [3] G. Werner-Allen, K. Lorincz, M. Welsh et al., βDeploying a wireless sensor network on an active volcano,β IEEE Internet Computing, vol. 10, no. 2, pp. 18β25, 2006. [4] Y. Liu, X. Mao, Y. He, K. Liu, W. Gong, and J. Wang, βCitysee: not only a wireless sensor network,β IEEE Network, vol. 27, no. 5, pp. 42β47, 2013. [5] V. C. Gungor and G. P. Hancke, βIndustrial wireless sensor networks: challenges, design principles, and technical approaches,β IEEE Transactions on Industrial Electronics, vol. 56, no. 10, pp. 4258β4265, 2009. [6] C. Chen, J. Yan, N. Lu, Y. Wang, X. Yang, and X. Guan, βUbiquitous monitoring for industrial cyber-physical systems over relayβassisted wireless sensor networks,β IEEE Transactions on Emerging Topics in Computing, vol. 3, no. 3, pp. 352β362, 2015. [7] Y. Yao, Q. Cao, and A. V. Vasilakos, βEDAL: an energy-efficient, delay-aware, and lifetime-balancing data collection protocol for heterogeneous wireless sensor networks,β IEEE/ACM Transactions on Networking, vol. 23, no. 3, pp. 810β823, 2015. [8] W. B. Heinzelman, A. P. Chandrakasan, and H. Balakrishnan, βAn application-specific protocol architecture for wireless microsensor networks,β IEEE Transactions on Wireless Communications, vol. 1, no. 4, pp. 660β670, 2002. [9] A. A. Abbasi and M. Younis, βA survey on clustering algorithms for wireless sensor networks,β Computer Communications, vol. 30, no. 14-15, pp. 2826β2841, 2007. [10] X. Liu, βA survey on clustering routing protocols in wireless sensor networks,β Sensors, vol. 12, no. 8, pp. 11113β11153, 2012. [11] S. Fang, S. M. Berber, and A. K. Swain, βAn overhead free clustering algorithm for wireless sensor networks,β in Proceedings of the IEEE Global Telecommunications Conference (GLOBECOM β07), pp. 1144β1148, IEEE, Washington, DC, USA, November 2007. [12] O. Younis and S. Fahmy, βHEED: a hybrid, energy-efficient, distributed clustering approach for ad hoc sensor networks,β IEEE Transactions on Mobile Computing, vol. 3, no. 4, pp. 366β 379, 2004. [13] D. Wei, Y. Jin, S. Vural, K. Moessner, and R. Tafazolli, βAn energy-efficient clustering solution for wireless sensor networks,β IEEE Transactions on Wireless Communications, vol. 10, no. 11, pp. 3973β3983, 2011. [14] J. Lloret, M. Garcia, D. Bri, and J. R. Diaz, βA cluster-based architecture to structure the topology of parallel wireless sensor networks,β Sensors, vol. 9, no. 12, pp. 10513β10544, 2009. [15] A. Mehmood, J. Lloret, A. Wahid, M. Noman, and S. Khan, βImprovement of the wireless sensor network lifetime using
International Journal of Distributed Sensor Networks
[16]
[17]
[18]
[19]
[20]
[21]
[22]
LEACH with vice-cluster head,β Ad Hoc & Sensor Wireless Networks, vol. 28, no. 1-2, pp. 1β17, 2015. Y. Qiang, B. Pei, W. Wei, and Y. Li, βAn efficient cluster head selection approach for collaborative data processing in wireless sensor networks,β International Journal of Distributed Sensor Networks, vol. 2015, Article ID 794518, 9 pages, 2015. M. Ye, C. Li, G. Chen, and J. Wu, βEecs: an energy efficient clustering scheme in wireless sensor networks,β in Proceedings of the 24th IEEE International Performance, Computing, and Communications Conference (IPCCC β05), pp. 535β540, Phoenix, Ariz, USA, April 2005. C. Chen, L. Feng, X. Gu, J. Yu, D. Yu, and B. Huang, βIDUC: an improved distributed unequal clustering protocol for wireless sensor networks,β International Journal of Distributed Sensor Networks, vol. 2015, Article ID 415702, 12 pages, 2015. N. Amini, A. Vahdatpour, W. Xu, M. Gerla, and M. Sarrafzadeh, βCluster size optimization in sensor networks with decentralized cluster-based protocols,β Computer Communications, vol. 35, no. 2, pp. 207β220, 2012. J. N. Al-Karaki and A. E. Kamal, βRouting techniques in wireless sensor networks: a survey,β IEEE Wireless Communications, vol. 11, no. 6, pp. 6β27, 2004. Z. Xu, C. Long, C. Chen, and X. Guan, βHybrid clustering and routing strategy with low overhead for wireless sensor networks,β in Proceedings of the IEEE International Conference on Communications (ICC β10), pp. 1β5, IEEE, Cape Town, South Africa, May 2010. S. Soro and W. B. Heinzelman, βProlonging the lifetime of wireless sensor networks via unequal clustering,β in Proceedings of the 19th IEEE International Parallel and Distributed Processing Symposium (IPDPS β05), pp. 1β8, IEEE, April 2005.
International Journal of
Rotating Machinery
Engineering Journal of
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
The Scientific World Journal Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
International Journal of
Distributed Sensor Networks
Journal of
Sensors Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Journal of
Control Science and Engineering
Advances in
Civil Engineering Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
Submit your manuscripts at http://www.hindawi.com Journal of
Journal of
Electrical and Computer Engineering
Robotics Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
VLSI Design Advances in OptoElectronics
International Journal of
Navigation and Observation Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Chemical Engineering Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
Active and Passive Electronic Components
Antennas and Propagation Hindawi Publishing Corporation http://www.hindawi.com
Aerospace Engineering
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
International Journal of
International Journal of
International Journal of
Modelling & Simulation in Engineering
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Shock and Vibration Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Advances in
Acoustics and Vibration Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014