An Efficient Algorithm for Energy Management in Wireless Sensor ...

3 downloads 845 Views 2MB Size Report
Dec 8, 2015 - [1] aims to construct a routing tree such that the network lifetime is maximized .... segments of a cycle can be solved by calling this routine. times by ..... has a weight that is no more than the optimal one plus the last node (in ..... Conference on Local Computer Networks (LCN '11), pp. 350–357,. IEEE ...
Hindawi Publishing Corporation International Journal of Distributed Sensor Networks Volume 2016, Article ID 3179587, 9 pages http://dx.doi.org/10.1155/2016/3179587

Research Article An Efficient Algorithm for Energy Management in Wireless Sensor Networks via Employing Multiple Mobile Sinks Jiugen Shi, Xing Wei, and Wei Zhu School of Computer and Information, Hefei University of Technology, Hefei, Anhui 230009, China Correspondence should be addressed to Jiugen Shi; [email protected] Received 15 September 2015; Accepted 8 December 2015 Academic Editor: Gianluigi Ferrari Copyright © 2016 Jiugen Shi 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. Energy saving in wireless sensor networks is a fundamental issue as most sensor nodes are powered by batteries. The deployment of mobile sinks can alleviate the imbalance of energy consumption among sensor nodes, thereby prolonging the network lifetime. In this paper, we study the energy management problem in sensor networks, using multiple mobile sinks. We first formulate the problem as a novel data collection problem and then propose an efficient algorithm for it. The key challenge in the design of the proposed algorithm is how to balance the workload among mobile sinks and the energy consumption among sensor nodes through the control of the movement of mobile sinks. We finally evaluate the performance of the proposed algorithm through experimental simulation. Experimental results show that the proposed algorithm is very promising, which can improve the energy efficiency and the quality of data transmission in the sensor network significantly.

1. Introduction The rapid development of micro-electro mechanical systems, system on chip, wireless communication technology, and low power embedded systems makes it possible to deploy wireless sensor networks (WSNs) for various applications. The characteristics of WSNs such as low power consumption, low operational cost, distribution, and self-organization have brought about a revolution in information perception. A WSN is a multihop ad hoc network, which is composed of large number of cheap microsensor nodes deployed in a monitoring region. WSNs have been widely used in environmental monitoring, health care, military surveillance, and so forth. WSNs have received extensive attentions in the past few years. One of their applications is to monitor harsh environments or places which are hard to reach by a human being, such as nature conservation areas, primitive forest, and nuclear pollution sites, where it is very difficult to replace or recharge batteries. Therefore, a fundamental problem to prolong the network lifetime of WSNs is the efficient utilization of sensors’ energy. The use of mobile sinks compared to static sinks can greatly improve the energy efficiency of sensors in WSNs.

Several studies of deploying mobile sinks for data collection in literature have been conducted in the past. For example, [1] aims to construct a routing tree such that the network lifetime is maximized while keeping the routing path from each sensor to the sink is minimized. A generic cost model of energy consumption for data gathering is proposed, and a routing tree is used for the query evaluation [2]. The work in [3] aims to find an optimal trajectory for each mobile sink and to determine the sojourn time of each mobile sink at each sojourn location in the trajectory such that the network lifetime is maximized. The use of a single mobile sink to prolong the network lifetime has also been explored in [4]. The work in [5] proposes the route of mobile base station and balances the network load to prolong network lifetime. Similarly [5–7] propose the maximum residual energy of greedy algorithm to control the mobile base station. In the case of limited base station stationary point, joint mobility and routing of base station are proposed [8–10]. However, the usage of mobile sinks has many limitations in practical applications. On one hand, a WSN is usually deployed in traffic inconvenience regions, so the movable area in the regions by the mobile sinks is limited. On the other hand, the mobile sinks are usually installed on mobile tools such

2 as unmanned vehicles; the speeds of these mobile vehicles are constrained by many factors such as road conditions and mobile tools, where the mobile tools also have energy limit, so their maximum moving distance per tour is limited, too. Thus, when dealing with routing protocol design under this scenario, we must take these constraints on mobile sinks into account, in order to prolong the network lifetime efficiently and effectively. Most existing algorithms for balancing the energy consumption of sensors are too difficult to be implemented in practice due to multiple limitations imposed on WSNs for different applications. In many practical applications, these limitations seriously influence the performance of existing algorithms. In this paper, assume that a sensor network with multiple mobile sinks is to be deployed for monitoring a remote region, and there is a local connected road map for the mobile sinks in the monitored region. The problem of concern is how to schedule these mobile sinks to collect as much data from sensors as possible so as to prolong the network lifetime. The main contributions of this paper are as follows. We first formulate a novel constrained optimization problem, the energy management optimization problem of energyconstrained multiple mobile sinks for wireless sensor networks. We then propose an efficient algorithm, referred to as the Energy Management algorithm in a WSN with Multiple Sinks (EMMS), for the problem, which balances not only the workload among the mobile sinks but also the energy consumption among the sensor nodes. We finally conduct experiments through simulation to evaluate the performance of the proposed algorithm. Experimental results show that the proposed algorithm is very promising, which can improve the energy efficiency and the quality of data transmission of the sensor network significantly. The rest of this paper is organized as follows. Section 2 introduces the system model and problem definition. Section 3 proposes an efficient algorithm for the problem of concern. Section 4 evaluates the performance of the proposed algorithm through simulations, and Section 5 concludes the paper.

2. Preliminaries In this section, we first introduce the system model of wireless sensor networks, and then we define the problem precisely. 2.1. System Model. A wireless sensor network can be modeled as an undirected graph 𝐺 = (𝑉 ∪ MS, 𝐸), where 𝑉 is the set of 𝑛 stationary, homogeneous sensor nodes randomly deployed in a monitoring region, MS is the set of 𝑘 mobile sinks, and 𝐸 is the set of links between sensors and sinks. There is a link between two sensors 𝑢 and V if they are within the transmission range of each other. For ease of presentation, we here do not distinguish a node in graph 𝐺 and the corresponding sensor of the node. We treat the mobile sinks as special sensors that can receive sensed data from sensor nodes and transfer their collected sensory data to a remote monitor center for remote monitoring. We assume

International Journal of Distributed Sensor Networks that every sensor node has a unique identification with limited initial energy capacity 𝑄, while each mobile sink has an energy capacity with unlimited energy supply at the depot. Two wireless transmission interfaces are installed on each mobile sink: (i) a low power wireless interface used for the communication with sensor nodes in the sensor network and (ii) a high bandwidth wireless interface that is used for communicating with a third party network for remote data transfer. We assume that the monitoring region by the sensor network has a road map that consists of connected roads on which the mobile sinks can travel. The road map contains all roads and their intersections. Each mobile sink will travel along the roads in the map at a constant speed and can stop at any point on the roads for data collection. We refer to these stop points of mobile sinks as their sojourn locations. Each mobile sink must return to its depot when it runs out of energy or completes its tour of data collection per round. Each sensor node collects its environmental information periodically and then transmits the collected data to its parent sensor in a routing tree rooted at a mobile sink through multihop relays. The mobile sinks compress their received sensory data and transmit the compressed data to the remote data monitoring center via the third party communication network. 2.2. Problem Definition. Suppose 𝐺󸀠 = (𝑉, 𝐸󸀠 ) is a subnetwork of a wireless sensor network 𝐺 = (𝑉 ∪ MS, 𝐸) whose sensors are densely and randomly deployed in a 2D monitoring region, where 𝑉 is the set of sensors; there is a link in 𝐸󸀠 between two sensor nodes if the Euclidean distance between them is not greater than their transmission radius 𝑟. We assume that there are 𝑘 mobile sinks MS1 , MS2 , . . . , MS𝑘 , (𝑘 ≥ 2). Let 𝑅 = (𝑉𝑟 , 𝐸𝑟 ) be the road map in the monitoring region, where each vertex in 𝑉𝑟 is a road intersection set and each edge in 𝐸𝑟 is a road. 𝑘 mobile sinks are constrained to map 𝑅 and each of them has an energy capacity 𝑒𝑀. The energy consumption of each mobile sink is mainly used for traveling, data transmission, and reception. Let 𝑒𝜆 be the sink energy consumption for unit length travel and let 𝑒𝜇 be the sink energy consumption for data transmission or reception in unit time at its sojourn locations. In general, sensor nodes consume most of their energy for wireless communication, namely, transmission and reception energy consumption, and the other energy consumption such as sensing and computing energy consumption is negligible. We further assume that mobile sinks travel only along the roads in the map at a constant speed and can stay in any sojourn locations in their tours. They must return to their depot when they run out of energy. Each sensor node senses its vicinity information periodically and transmits the sensed data to its nearest mobile sink through multihop relays, where the sensor node is a node in the routing tree rooted at the mobile sink. The Energy Management in a WSN with Multiple Sinks (EMMS) is to find a closed tour for each of the 𝑘 mobile sinks and calculate duration on the found tour per round so that the network lifetime can be maximized.

International Journal of Distributed Sensor Networks

3. The EMMS Algorithm In this section we deal with the EMMS problem by devising a novel algorithm for it. Firstly, we start by giving an overview of the algorithm, secondly, we provide the details of the proposed algorithm, and, lastly, we analyze the time complexity of the proposed algorithm. 3.1. Overview of the Proposed Algorithm. The trajectory of each mobile sink for data collection in the network is a closed tour that consists of one or multiple roads in the map. The proposed algorithm for Energy Management in a WSN with Multiple Sinks (EMMS) consists of two stages. The first stage is to find a closed tour for each mobile sink such that the length of the closed tour of each mobile sink is roughly equal, and the second stage is to determine the sojourn locations of each mobile sink on the found closed tour and to build a routing tree rooted at each sojourn location as well as the sojourn time at the location for the mobile sink. The rest of this section will detail the two stages of the algorithm. 3.2. Finding a Closed Tour for Each Mobile Sink. To find a closed tour for each mobile such that the length of the closed tour is roughly equal is essential to balance the workload among the mobile sinks. To this end, the solution delivered by the proposed algorithm should meet the following requirements: (1) The tour length of each sink should be about the same. (2) The tour of each mobile sink is a closed tour so that the mobile sink can stop at any points (sojourn locations) in the tour. (3) The starting and ending points of each mobile sink are the same, which are its depot.

3 We now construct 𝑘 closed tours on cycle 𝐶 for 𝑘 mobiles sinks, such that every closed tour will be accessed by one of the mobile sinks. Then, the length of the longest closed tour is max{𝑤(𝐿 𝑖 ) | 𝑖 = 1, 2, . . . , 𝑘}. We describe the closed tour 𝐿 𝑖 as follows: (i) 𝑉(𝐿 𝑖 ), the set of road intersections; (ii) 𝐸(𝐿 𝑖 ), the set of roads; and (iii) 𝑤(𝐿 𝑖 ), the weighted sum of lengths of roads. Our objective is to minimize the length of the longest closed tour of 𝑘 tours; that is, we aim to minimize max{𝑤(𝐿 𝑖 ) | 𝑖 = 1, 2, . . . , 𝑘}. Specifically, the algorithm proceeds as follows. We show how to partition the cycle 𝐶 into 𝑘 segments such that the length of the longer segments among the 𝑘 segments is minimized. To this end, we instead consider a chain containing 𝑛 nodes V1 , V2 , . . . , V𝑛 in the chain with each having weight 𝑤(V𝑖 ). We partition the chain into 𝑘 segments such that the weighted sum of the largest segment is minimized. Thus, the original problem of partitioning 𝑘 segments of a cycle 𝐶 can be solved by calling this routine 𝑛 times by removing a link of the cycle consisting of 𝑛 edges at each time such that the resulting graph is a chain. Then, the minimum one among the 𝑛 chains is the solution to the original problem [12]. In the following, we focus on the chain partition. We consider a chain that starts with V1 and ends at V𝑛 . When a chain starts from the other node, the processing is almost similar, omitted. Let OPT be the value of the optimal solution; then we have the following lemma. Lemma 1. One has 𝑂𝑃𝑇 ≥ max {𝑤 (V𝑖 ) , 1≤𝑖≤𝑛

∑𝑛𝑖=1 𝑤 (V𝑖 ) }. 𝑘

(1)

Clearly, Lemma 1 is obvious. Let 𝑎max = max {𝑤 (V𝑖 )} . 1≤𝑖≤𝑛

(2)

We proceed the chain partitions as in Algorithm 1.

(4) The overlapping among the closed tours should be as few as possible. (5) Each road on the map must be accessed by at least one of the mobile sinks. We find an optimal cycle 𝐶 on map 𝑅 that mobile sink must travel each edge at least once such that the total distance traveled by the sink is as short as possible. This problem is the Chinese postman [11]; the algorithm’s details are described as follows. Step 1. 𝑉0 denotes the set of all odd vertices on the map. Step 2. Calculate the distance 𝑑(𝑢, V) between each pair of vertices 𝑢 and V of 𝑉0 on the map 𝑅 and calculate the shortest path 𝑝(𝑢, V) between 𝑢 and V by Dijkstra’s algorithm. Step 3. Construct a weighted complete graph 𝐾|𝑉0 | , 𝑉(𝐾|𝑉0 | ) = 𝑉0 , and the weight of edge 𝑢V is 𝑑(𝑢, V); then calculate the minimum weight perfect matching 𝑀 in the complete graph. Step 4. If (𝑢, V) ∈ 𝑀, replace the undirected edge (𝑢, V) with the shortest path 𝑝(𝑢, V). Step 5. Find Euler circuit 𝐶 with Fleury’s algorithm [11].

3.3. Sojourn Locations and Times of a Mobile Sink in a Closed Tour 𝐶. What followed is to determine the sojourn locations of a mobile sink on closed tour 𝐶𝑖 and to calculate the sojourn time at each sojourn location. The sojourn time of a mobile sink at a location is measured by the number of rounds like LEACH protocol [13], where each round consists of the duration at that location for data collection and the travel time spent to reach the next sojourn location. 3.3.1. The Sojourn Location Identifications. We assume that there is a closed tour 𝐿 in 𝑅𝐸󸀠 . A mobile sink traverses along 𝐿 and will determine its next sojourn location. The mobile sink starts from its depot and marks a sojourn location at every distance 𝑟0 , where 𝑟0 is its transmission radius; that is, 𝑟0 = 𝑟. Let 𝑆 = {𝑠1 , 𝑠2 , . . . , 𝑠𝑛 } be the set of sojourn locations and 𝑉𝐿 = {V1 , V2 , . . . , V𝑚 } the set of neighbors of the mobile sink at location 𝑠𝑖 . Furthermore, assume that the mobile sink records the lengths 𝑙(𝑠1 ), 𝑙(𝑠2 ), . . . , 𝑙(𝑠𝑛 ) between itself and each sojourn location. The family of the sets consists of all neighbor sets of sojourn locations of the mobile sink; thus S = {𝑆1 , 𝑆2 , . . . , 𝑆𝑛 }, where 𝑆𝑖 is the neighbor set of sojourn location 𝑠𝑖 .

4

International Journal of Distributed Sensor Networks

Input: 𝑘 𝑤(𝑉𝑖 ) Output: the length of the longer segments among the 𝑘 segments is minimized 𝑛 ∑ 𝑤 (V𝑖 ) } 𝑀 ←󳨀 max {𝑤 (V𝑖 ) , 𝑖=1 1≤𝑖≤𝑛 𝑘 𝑛

if 𝑎max ≥ (∑𝑖=1 𝑤(V𝑖 ))/𝑘 then Construct the 𝑘 segments 𝐿 1 , 𝐿 2 , . . . , 𝐿 𝑘 such that 𝑎max ≤ 𝑤(𝐿 𝑖 ) ≤ 2𝑎max for all 1 ≤ 𝑖 ≤ 𝑘 else 𝑀1 ←󳨀 𝑀 Partition the chain into 𝑘 segments such that the maximum one is no more than 𝑀1 if there is no such a partition then 𝑀1 ← 2𝑀 /∗ double the value∗ /; Partition the chain into 𝑘 segments such that the maximum one is no more than 𝑀1 end if end if Algorithm 1: Chain partition (𝑤(V𝑖 ), 𝑘).

3.3.2. Data Collection. In the following we deal with the routing tree construction and the sojourn time at each of the routing trees. (A) The Routing Tree Construction. Each mobile sink receives and transmits data by a routing tree at its sojourn locations. We illustrate the routing tree structure by an example. Let 𝑠𝑖 be a sojourn location of a mobile sink, the neighbor set 󸀠 }, |𝑆𝑖 | is the number of nodes of 𝑠𝑖 is 𝑆𝑖 = {V1󸀠 , V2󸀠 , . . . , V|𝑆 𝑖| 󸀠 in set 𝑆𝑖 , and the residual energy of V1󸀠 , V2󸀠 , and V|𝑆 at this 𝑖| 󸀠 󸀠 󸀠 moment is 𝑒(V1 ), 𝑒(V2 ), . . . , 𝑒(V|𝑆𝑖 | ), respectively. In order to balance the energy consumption among the sensor nodes in 𝑆𝑖 , we construct a tree rooted at the mobile sink located at 𝑠𝑖 . 󸀠 . There are The first layer nodes in the tree are V1󸀠 , V2󸀠 , . . . , V|𝑆 𝑖| 󸀠 |𝑆𝑖 | subrouting trees rooted at nodes V𝑗 with 1 ≤ 𝑗 ≤ |𝑆𝑖 |. For the routing tree 𝑖, in order to balance the energy consumption among the sensor nodes, the number of children of each first layer node is proportional to its residual energy. In the network, we assume that 𝑝(V󸀠 ) is the probability of a node joining in a subrouting tree, which is the ratio of the first layer node’s residual energy to the total residual energy of nodes in the neighbor set of the mobile sink at the sojourn location 𝑠𝑖 . A node V󸀠 in the network is added to a subrouting tree of the first layer node with probability 𝑝(V󸀠 ): 𝑝 (V󸀠 ) =

𝑒 (V󸀠 ) |𝑆 |

𝑖 𝑒 (V𝑗󸀠 ) ∑𝑗=1

,

V󸀠 ∈ 𝑆𝑖 .

(3)

The more residual energy a first layer node has, the more likely the rest nodes join. There are |𝑆𝑖 | subrouting trees, of which the first layer node’s residual energy is proportional to the number of descendant nodes so that we can balance the workload among the first layer nodes. (B) The Sojourn Time Calculation at Each Sojourn Location. Assume that the routing tree for each mobile sink at each

sojourn location has been constructed. As time goes by, the residual energy of each sensor node becomes less and less; now, we consider the duration of data collection of the mobile sink at one sojourn location. In order to balance the energy consumption among sensor nodes in the sojourn location’s neighbor set, we should reduce the duration of the mobile sink at a sojourn location per round. The duration 𝑇(𝑠𝑖 ) of the mobile sink at a sojourn location 𝑠𝑖 , 1 ≤ 𝑖 ≤ 𝑛, thus must meet the following requirements: (1) There is a direct correlation between the sojourn |𝑆𝑖 | 󸀠 𝑒(Vnum ) of time 𝑇(𝑠𝑖 ) and the residual energy ∑num=1 the neighbor set of the mobile sink at its sojourn location 𝑠𝑖 . The less the residual energy is, the shorter the sojourn time will be. As the initial energy of each sensor node is 𝑄, the initial energy sum of the neighbor set of the mobile sink at location 𝑠𝑖 is |𝑆𝑖 | ⋅ 𝑄, and the total energy consumption of nodes in the set |𝑆𝑖 | 󸀠 [𝑄 − 𝑒(Vnum )]. is ∑num=1 (2) When the energy consumption in the neighbor set is high, the sojourn time should be reduced. We denote the ratio of the energy consumption to the initial energy capacity of sensor nodes as the level of energy |𝑆𝑖 | 󸀠 [𝑄−𝑒(Vnum )])/(|𝑆𝑖 |∗ consumption 𝑀𝜇: 𝑀𝜇 = (∑num=1 𝑄). (3) In order to reduce the movement of mobile sinks, we need to ensure the shortest duration for the practicability of network when the residual energy of nodes in the neighbor set is reduced. The duration 𝑇(𝑠𝑖 ) changes with the level of energy consumption in the neighbor set of the mobile sink at its sojourn location, and the change function is 𝑓(𝜇) = 𝑒−𝜆⋅𝜇 , where 𝜆 is the index parameter with 𝜆 > 0. (4) The more the number of nodes in the neighbor set of the mobile sink at a sojourn location, the longer

International Journal of Distributed Sensor Networks

5

the duration will be. That is, 𝑇(𝑠𝑖 ) = |𝑆𝑖 | ⋅ 𝑡0 ⋅ 𝑓(𝜇), where 𝑡0 is the time unit. 𝑇(𝑠𝑖 ) thus is as follows: 𝑇 (𝑠𝑖 ) 󵄨 󵄨 = 󵄨󵄨󵄨𝑆𝑖 󵄨󵄨󵄨 ⋅ 𝑡0 |𝑆 |

󸀠 𝑖 [𝑄 − 𝑒 (Vnum )] } { −𝜆 ∗ ∑num=1 𝑛! ⋅ exp { . 󵄨󵄨 󵄨󵄨 } 𝑟! (𝑛 − 𝑟)! 󵄨󵄨𝑆𝑖 󵄨󵄨 ∗ 𝑄 } {

(4)

When the residual energy becomes zero, 𝑇(𝑠𝑖 ) = |𝑆𝑖 | ⋅ 𝑡0 ⋅ 𝑒−𝜆 𝜆. We can set the shortest duration of the mobile sink at its current sojourn location by adjusting 𝜆. When the residual energy is 𝑄, with 𝑇(𝑠𝑖 ) = |𝑆𝑖 | ⋅ 𝑡0 , the sojourn time is longest. (C) Data Collection and Sensing Data Transmission. The mobile sinks receive sensory data from their routing trees and transmit the sensory data to the remote monitoring center. In the last stage of data transmission stages, they collect the residual energy information from nodes in the neighbor set and travel to its next sojourn location. 3.3.3. Sojourn Location Search Stage (1) At the beginning of each round, the mobile sinks collect all residual energy information of nodes set 𝑒(V1 ), 𝑒(V2 ), . . . , 𝑒(V𝑚 ). (2) They calculate the residual energy of each set in the set family and get the residual energy of nodes in the neighbor set of each sojourn location 𝑒(𝑆1 ), 𝑒(𝑆2 ), . . . , 𝑒(𝑆𝑛 ). (3) The sink selects a sojourn location at which the residual energy is largest as its next sojourn location. If 𝑒(𝑆𝑘 ) = max{𝑒(𝑆𝑖 ) | 1 ≤ 𝑖 ≤ 𝑛}, 𝑠𝑘 is the next sojourn location. (4) The mobile sink moves to 𝑠𝑘 and proceeds data collection and transmission stage. In summary, the proposed algorithm is described as in Algorithms 2 and 3. 3.4. Algorithm Analysis. In this section we analyze the approximation ratio of the proposed partition algorithm by the following theorem. Theorem 2. The algorithm for 𝐾 segment partitioning of a cycle delivers a feasible solution with the approximation ratio of 2. Proof. We show this by two cases. Case 1 (OPT ≤ 𝑎max ; then OPT = 𝑎max ). Thus, we can partition the chain into 𝑘 segments such that each segment has a weight that is no more than the optimal one plus the last node (in the segment 3.2). Thus, the weighted sum of the segment is no more than twice the optimal one. Case 2 (OPT > 𝑎max ). We claim that the feasible solution is no more than 2 ∗ OPT. Following the construction

of the segments 𝐿 1 , 𝐿 2 , . . . , 𝐿 𝑘 , the weighted sum of each segment is no less than ∑𝑛𝑖=1 (𝑤(V𝑖 )/𝑘). We show this case by contradiction. Assume that the maximum one in the feasible solution is larger than 2 ∗ ((∑𝑛𝑖=1 𝑤(V𝑖 ))/𝑘); then we have that the weighted sum of the chain is ∑𝑘𝑘󸀠 =1 𝐿 𝑖 > ∑𝑘𝑘󸀠 =1 ∑𝑛𝑖=1 (𝑤(V𝑖 )/𝑘) ≥ 𝑘 ∗ ∑𝑛𝑖=1 (𝑤(V𝑖 )/𝑘) = ∑𝑛𝑖=1 𝑤(V𝑖 ). It leads to the contradiction. Thus, the weighted sum of each segment 𝐿 𝑖 is ∑𝑛𝑖=1 (𝑤(V𝑖 )/𝑘) + 𝑤(V𝑖𝑗 ) ≤ OPT + OPT = 2 ∗ OPT. Lemma 3. Given a WSN 𝐺(𝑉, 𝐸) with a map 𝑅(𝑉𝑟 , 𝐸𝑟 ) and 𝑘 mobile sinks, the time complexity for MMEM is 𝑂(|𝑉𝑟 |3 +|𝐸𝑟 |2 + 𝑘 ∗ (|𝑉| + 𝑁2 )), 𝑁 is the number of neighbor nodes, and |𝑉| is the number of nodes in the WSN. Proof. We find optimally the cycle 𝐶 on map 𝑅 by invoking the Chinese postman. (i) We find the set of all odd vertices 𝑉odd ; it takes time 𝑂(|𝑉𝑟 |). (ii) We calculate the shortest distance of each pair of vertices in the 𝑉odd by Dijkstra’s algorithm; it takes time 𝑂(|𝑉𝑟 |3 ). (iii) It constructs a weighted complete graph 𝐾|𝑉0 | , which takes time 𝑂(|𝑉odd |2 ). (iv) For a given 𝐾|𝑉0 | , we calculate the minimum weight perfect matching 𝑀 by the Hungarian algorithm [11]; it takes time 𝑂(|𝑉odd |3 ). If (𝑢, V) ∈ 𝑀, we augment undirected edge with the weight as before in 𝑝(𝑢, V); it takes time 𝑂(|𝑉𝑟 |2 ∗ |𝑉odd |). (v) We find Euler circuit 𝐶 with the Fleury algorithm [11]. It takes time complexity 𝑂(|𝐸𝑟 |). We then partition cycle 𝐶 into 𝑘 segments by calling Algorithm 1 Chain partition(𝑤(V𝑖 ), 𝑘), |𝑉𝑟 | times. Chain partition(𝑤(V𝑖 ), 𝑘) has time complexity no larger than 𝑂(|𝑉𝑟 |+ 𝑘1+𝜀 ) for any small 𝜀 > 0. Thus, the time complexity is 𝑂(|𝑉𝑟 |2 + |𝑉𝑟 | ∗ 𝑘1+𝜀 ). We make conclusion that the time complexity of Algorithm 2 subloops balance is 𝑂(|𝑉𝑟 |3 + |𝐸𝑟 |2 ). In Algorithm 3, sinks need to move and to be controlled during the data collection; we thus need to construct routing tree and calculate sojourn time. These need time 𝑂(|𝑉| + 𝑁), and to find next sojourn we need to compare the rest energy; this needs time 𝑂(𝑁2 ), so the time for the control algorithm of mobile station is 𝑂(|𝑉| + 𝑁2 ). There are 𝑘 closed routes, so the time is 𝑂(𝑘 ∗ (|𝑉| + 𝑁2 )). As the above analysis, the time complexity is 𝑂((𝑘 ∗ |𝑉| + 𝑁2 ) + |𝑉𝑟 |3 + |𝐸𝑟 |2 ). Theorem 4. In a WSN 𝐺, given a closed tour 𝐿 and a mobile station MS, the control algorithm of mobile sink can guarantee that the nodes closed to the closed tour run out of energy almost at the same time. Proof. Firstly, we prove that the energies of neighbor nodes with the same sojourn point exhaust almost at the same time. We assume that the energy consumption is used for data transmission or reception. The ratio of the residual energy

6

International Journal of Distributed Sensor Networks Input: The road map 𝑅 = (𝑉𝑟 , 𝐸𝑟 ), the number of mobile sinks k, 𝑘 ∈ 𝑁. Output: an approximate solution of 𝑘 balanced sub-loops. Begin /∗ calculate the shortest path between vertices∗ / (1) for 𝑖 ← 0 to |𝑉𝑟 |, 𝑗 ← 0 to |𝑉𝑟 | do vexs[𝑖, 𝑗] ← ShortestPath[𝑖, 𝑗]; /∗ find a Euler circuit in graph by the Fleury algorithm∗ / (2) C ← Fleury(𝐺) [11]; /∗ find all combinations of 𝑘 vertices from all vertices in 𝐺∗ / (3) we partition the cycle 𝐶 into chain by |𝑉𝑟 | times then calling Chain partition (𝑤(V𝑖 ), 𝑘); /∗ partition the cycle 𝐶 into 𝑘 segments such that the length of the longer segments among the 𝑘 segments is minimized.∗ / End Algorithm 2: Subloops balance.

Input: A sub-loop L, the sojourn location set 𝑆 = {𝑠1 , 𝑠2 , . . . , 𝑠𝑛 }, the nodes set neighbor loop 𝑉𝐿 = {V1 , V2 , . . . , V𝑚 }, the energy of node neighbor loop 𝑒(V𝑖 ), V𝑖 ∈ 𝑉𝐿 . Output: the next sojourn location and the duration Begin /∗ count the total energy of sojourn location∗ / (1) for 𝑖 ← 1 to 𝑚 do if V𝑖 ∈ 𝑆𝑗 then 𝑒(𝑆𝑗 ) = 𝑒(𝑆𝑗 ) + 𝑒(V𝑖 ); end if /∗ select the sojourn location of which the residual energy is most as the next sojourn location ∗ / (2) for 𝑗 ← 1 to 𝑛 do max ← 𝑒(𝑆1 ) if 𝑒(𝑆1 ) > max then max ← 𝑒(𝑆1 ), next ← 𝑗 end if |𝑆 |

󸀠 𝑖 [𝑄 − 𝑒(Vnum )])/(|𝑆next | ∗ 𝑄)} (3) 𝑇(𝑠next ) = |𝑆next | ⋅ 𝑡0 ⋅ exp{(−𝜆 ∗ ∑num=1 End

Algorithm 3: Sinks moving control.

of neighbor nodes is equal to the ratio of the number of descendent nodes. Consider 𝑒 (V2 ) 𝑒 (V𝑘 ) 𝑒 (V1 ) = = ⋅⋅⋅ = = 𝑐1 . 𝑁 (V1 ) 𝑁 (V2 ) 𝑁 (V𝑘 )

(5)

And the node energy consumption rate is proportional to the number of nodes: 𝜇 (V1 ) 𝜇 (V2 ) 𝜇 (V𝑘 ) = = ⋅⋅⋅ = = 𝑐2 . 𝑁 (V1 ) 𝑁 (V2 ) 𝑁 (V𝑘 )

(6)

Then, 𝑒 (V1 ) 𝑒 (V2 ) 𝑒 (V𝑘 ) = = ⋅⋅⋅ = = 𝑐. 𝜇 (V1 ) 𝜇 (V2 ) 𝜇 (V𝑘 )

𝑘 is the number of 𝑠𝑖 ; 𝑁(V𝑗 ) is the descendant of V𝑗 , 1 ≤ 𝑗 ≤ 𝑘. 𝑐, 𝑐1 , and 𝑐2 are constant for a constructed tree. Assuming that one of the neighbor nodes of the sojourn point 𝑠𝑖 exhausts energy, so the time complexity is 𝑡 = (𝑒(V𝑗 )/𝜇(𝑉𝑗 )). According to formula (7), the other neighbor nodes of the sojourn point will exhaust their energy almost at the same time. Secondly, we prove that the energy of the nodes closed to the sojourn points of the same route use almost the same time. Thus, we prove that when one of the neighbor nodes of the same routing runs out of its energy, the remaining nodes do, too. According to (4), the duration for one round which will run out of its energy tends to be 𝑡 (𝑠𝑖 ) 󳨀→ 𝑘 ∗ 𝑡0 ∗ 𝑒−𝜆 ,

(7)

𝑇 = 𝑘 ∗ 𝑡0 ∗ 𝑒−𝜆 + 𝜎,

𝜎 󳨀→ 0+ .

(8)

International Journal of Distributed Sensor Networks

7

According to (4), 𝑇 = 𝑘 ⋅ 𝑡0 ∑𝑘𝑗=1 [𝑄 − 𝑒 (V𝑗 )] } { ⋅ exp {−𝜆 ∗ }, 𝑘∗𝑄 } { 𝑘

∑ [𝑄 − 𝑒 (V𝑗 )] = −

𝑗=1

𝑘∗𝑄 𝑇 ∗ ln 𝜆 𝑘 ∗ 𝑡0

=−

𝑘 ∗ 𝑡0 ∗ 𝑒−𝜆 + 𝜎 𝑘∗𝑄 ∗ ln 𝜆 𝑘 ∗ 𝑡0

=−

𝑘∗𝑄 𝜎 ) ∗ ln (𝑒−𝜆 + 𝜆 𝑘 ∗ 𝑡0

(9)

≈ 𝑘 ∗ 𝑄, 𝜆 → 0, and the other is constant, so we can conclude that 𝜎/(𝑘 ∗ 𝑡0 ) < 1; then ln(𝑒−𝜆 + 𝜎/(𝑘 ∗ 𝑡0 )) ≈ ln 𝑒−𝜆 = −𝜆 ⇒ ∑𝑘𝑗=1 [𝑄 − 𝑒(V𝑗 )] ≈ 𝑘 ∗ 𝑄. The energy dissipation of the sojourn point neighbor node set is almost equal to its initial energy. We make conclusion that the energies of neighbor nodes of other sojourns almost run out at the same time. In a WSN 𝐺, for a map 𝑅 and 𝑘 mobile stations MSs, MMEM guarantees that the energies of neighbor nodes exhaust almost at the same time. There are 𝑘 segments, from which 𝑘 closed tours will be derived. 𝑘 mobile stations then travel on the closed tours. We thus conclude that MMEM guarantees that the energies of neighbor nodes exhaust almost at the same time.

4. Performance Evaluation In this section we evaluate the performance of the proposed algorithm, EMMS, against other existing algorithms. We also investigate the impact of several parameters, the number of sensors per unit area, the road length of each mobile sink, and the number of sensors, on the performance of the proposed algorithm through simulations. 4.1. Experimental Environment Setting. We consider a wireless sensor network consisting of 100 to 400 sensors deployed in a 100 m × 100 m rectangle region. The transmission range of each sensor is 40 meters and its initial energy capacity is 0.5 J. Energy consuming rate of a sensor node of transmitting and receiving data is 5×10−5 (J/bit). The total travel length of each mobile sink per tour is 400 m. Each value in each figure is the mean of the results delivered by the same algorithm applied to 20 different topologies. To evaluate the effectiveness and efficiency of the proposed algorithm, we make use of two existing algorithms, SDMA [14] and DAWN [4], as our benchmarks. We define the lifetime 𝑇 of the wireless network to the number of periodic data readings from sensors until the first sensor is drained of its energy.

4.2. Impact of the Number of Sensors on Network Lifetime. Figure 1(a) shows a wireless sensor network consisting of 100 sensors deployed in a 100 m × 100 m rectangle region. The lifetimes delivered by algorisms SDMA, DAWN, and MMEM in the wireless network are 1,000 rounds, 1,250 rounds, and 1,400 rounds, respectively. Figure 1(b) shows a wireless sensor network consisting of 400 sensors deployed in a 200 m × 200 m rectangle region. The lifetimes of wireless network delivered by algorithms SDMA, DAWN, and MMEM are 1,000 rounds, 1,010 rounds, and 1,750 rounds, respectively. As shown in Figure 1, the lifetime under the scheduling of MMEM is always significantly better than that under DAWN and SDMA. 4.3. Impact of the Length of Closed Tours on the Network Lifetime. Figure 2 plots the network lifetime of a sensor network when the number of sensors is fixed at 400 deployed in a 200 m × 200 m rectangle region, while the length of closed tours ranged from 400 m to 800 m with an increment of 100 m. The longer the length of closed tours the longer the network lifetime. In this simulation, the sensor nodes are distributed along the closed tour. The lifetime is 1750 rounds when the length of closed tour is limited to 400 m. With the increase of the length of closed tour and sojourn locations, the lifetime of network increases. The length of closed tour is longer and the number of sensors near the closed tour is larger. 4.4. Data Transmission Quantity. Figure 3(a) shows a wireless sensor network consisting of 100 sensors deployed in a 100 m × 100 m rectangle region. When the number of rounds is set at 1,000, SDMA, DAWN, and MMEM of the data transmission quantity are 5,000 bits, 30,000 bits, and 48,000 bits, respectively. Figure 3(b) demonstrates a wireless sensor network consisting of 400 sensors deployed in a 200 m × 200 m rectangle region. When the number of rounds is set at 1,000, SDMA, DAWN, and MMEM of the data transmission quantity are 30,000 bits, 40,000 bits, and 220,000 bits, respectively. As can be seen that no nodes expired and the duration is guaranteed, the quality of the network lifetime and data transmission is significantly improved. As shown in Figure 3, the data transmission under the scheduling of MMEM outperforms both DAWN and SDMA.

5. Conclusion In this paper, we studied the data collection in a wireless sensor network via employing multiple mobile sinks and formulated it as a constrained optimization problem. We proposed an EMMS algorithm for the problem and evaluated the performance of the proposed algorithm through simulations. Simulation results demonstrate that the proposed algorithm can improve the energy efficiency and data transmission quantity within the network significantly.

8

International Journal of Distributed Sensor Networks Network lifetime

90

180

80

160

70

140

60

120

50 40

100 80

30

60

20

40

10

20

0

0

500

Network lifetime

200

y (dead)

y (dead)

100

1000 1500 x (time)

2000

0

2500

0

500

1000 1500 x (time)

2000

2500

MMEM SDMA DAWN

MMEM SDMA DAWN (a) 100 sensors in the 100 ∗ 100 areas

(b) 400 sensors in the 200 ∗ 200 areas

Figure 1: Impact of the number of sensors on the network lifetime. 2100

The lifetime of MMEM

2050 2000 1950 1900 1850 1800 1750 400

450

500

550 600 650 700 The length of closed tour

750

800

Figure 2: Impact of the length of closed tours on the network lifetime. ×104 9

×105 4

The data transmission quantity

8

3.5

7

3 2.5

5

y (bit)

y (bit)

6

4

2 1.5

3

1

2

0.5

1 0

The data transmission quantity

0

500

1000 1500 x (time)

2000

MMEM SDMA DAWN

2500

0

0

500

1000 1500 x (time)

2000

MMEM SDMA DAWN

(a) 100 sensors in the 100 ∗ 100 areas

(b) 400 sensors in the 200 ∗ 200 areas

Figure 3: The data transmission quantity of the proposed algorithm, EMMS.

2500

International Journal of Distributed Sensor Networks

Conflict of Interests The authors declare that there is no conflict of interests regarding the publication of this paper.

References [1] F. Shan, W. Liang, J. Luo, and X. Shen, “Network lifetime maximization for time-sensitive data gathering in wireless sensor networks,” Computer Networks, vol. 57, no. 5, pp. 1063– 1077, 2013. [2] W. Liang and J. Luo, “Network lifetime maximization in sensor networks with multiple mobile sinks,” in Proceedings of the 36th Conference on Local Computer Networks (LCN ’11), pp. 350–357, IEEE, Bonn, Germany, October 2011. [3] W. Liang, J. Luo, and X. Xu, “Prolonging network lifetime via a controlled mobile sink in wireless sensor networks,” in Proceedings of the 53rd IEEE Global Communications Conference (GLOBECOM ’10), pp. 1–6, IEEE, Miami, Fla, USA, December 2010. [4] S. J. Tang, J. Yuan, X. Y. Li et al., “DAWN: energy efficient data aggregation in WSN with mobile sinks,” in Proceedings of the IEEE 18th International Workshop on Quality of Service (IWQoS ’10), pp. 1–9, IEEE, Beijing, China, June 2010. [5] M. Ma and Y. Yang, “SenCar: an energy-efficient data gathering mechanism for large-scale multihop sensor networks,” IEEE Transactions on Parallel and Distributed Systems, vol. 18, no. 10, pp. 1476–1488, 2007. [6] S. Basagni, A. Carosi, E. Melachrinoudis, C. Petrioli, and Z. M. Wang, “Controlled sink mobility for prolonging wireless sensor networks lifetime,” Wireless Networks, vol. 14, no. 6, pp. 831–858, 2008. [7] S. Basagni, A. Carosis, E. Melachrinoudis, C. Petrioli, and Z. M. Wang, “A new MILP formulation and distributed protocols for wireless sensor networks lifetime maximization,” in Proceedings of the IEEE International Conference on Communications (ICC ’06), pp. 3517–3524, IEEE, Istanbul, Turkey, July 2006. [8] J. Luo and J.-P. Hubaux, “Joint mobility and routing for lifetime elongation in wireless sensor networks,” in Proceedings of the Conference on Computer Communications (INFOCOM ’05), IEEE, Miami, Fla, USA, March 2005. [9] J. Luo and J.-P. Hubaux, “Joint sink mobility and routing to maximize the lifetime of wireless sensor networks: the case of constrained mobility,” IEEE/ACM Transactions on Networking, vol. 18, no. 3, pp. 871–884, 2010. [10] J. Luo, J. Panchard, M. Pi´orkowski, M. Grossglauser, and J.P. Hubaux, “Routing towards a mobile sink for improving lifetime in sensor networks,” in Distributed Computing in Sensor Systems: Second IEEE International Conference, DCOSS 2006, San Francisco, CA, USA, June 18–20, 2006. Proceedings, vol. 4026 of Lecture Notes in Computer Science, pp. 480–497, Springer, Berlin, Germany, 2006. [11] S. Wang, Graph Theory, Chinese Science Press, Beijing, China, 2nd edition, 2009. [12] Y. Han, B. Narahari, and H.-A. Choi, “Mapping a chain task to chained processors,” Information Processing Letters, vol. 44, no. 3, pp. 141–148, 1992. [13] W. R. Heinzelman, A. Chandrakasan, and H. Balakrishnan, “Energy-efficient communication protocol for wireless microsensor networks,” in Proceedings of the 33rd Annual Hawaii International Conference on System Sciences, pp. 3005–3014, IEEE Computer Society, Maui, Hawaii, USA, January 2000.

9 [14] M. Zhao, M. Ma, and Y. Yang, “Efficient data gathering with mobile collectors and space-division multiple access technique in wireless sensor networks,” IEEE Transactions on Computers, vol. 60, no. 3, pp. 400–417, 2011.

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