Abstract
1. Introduction
As a promising technology for connecting smart object to create the new Internet of Things, wireless sensor networks (WSNs) have been widely deployed in many potential applications such as environmental monitoring, security, surveillance, plant automation, and control emergency response [1]. In these applications, the sensor nodes are responsible for monitoring environment, gathering the relevant data, and reporting to the center data node, referred to as sink. Although the sensor nodes have significant improvement in processing and computing, they are still powered by the limited battery. Furthermore, it is difficult to replace the battery of the sensor node due to the environmental disturbance. Thus, energy conservation to prolong the network lifetime is still the major issue in WSNs.
Network lifetime which is defined as the time until the first sensor's energy runs out is an important performance metric in WSNs [2, 3]. In traditional WSNs, all the sensor nodes are configured to forward collected data to the sink through multihop communication. One major drawback of this communication is that the node near the sink will be burdened by forwarding large amount of traffic from other nodes to the sink. The imbalanced traffic causes the early depletion of energy at the sensor node nearby sink. This problem is known as hot-spot problem in wireless communication, which might lead to the nonuniformly distributed energy among the sensor nodes [4].
To mitigate the hot-spot problem caused by the static sink [2], the mobile sink has been proposed as a solution to balance the energy consumption among the hot-spot nodes. Intuitively, as the sink traverses the networks, the hot-spot nodes will be distributively changed over the time, and thus the energy consumption around the sink spreads among the sensor nodes which helps to improve the network lifetime [5].
The deployment of the mobile sink can be classified into two cases based on the trajectory of the sinks: unconstrained trajectory and constrained trajectory. In the first case, the sinks have freedom to traverse around the network. The main objective here is how to optimize the movement of the mobile sink as in [2, 6]. However, in the most practical scenarios, the trajectory of mobile sink has been constrained or predetermined. These limitations occur due to (i) the obstacle of the environment such as road, wall, and river [7] and (ii) the operation of the application such as in urban area, where the sinks are typically installed on the public transport vehicle which follow the predetermined trajectory [8]. The main objective in this context is how to effectively route the data to mobile sink as it traverses the networks [9, 10]. In this paper, we aim at going further in this direction: we propose to optimize the network lifetime of WSNs with mobile sink whose trajectory is predetermined.
Maximizing the network lifetime requires balancing the traffic load among sensor nodes. In conventional way, the shortest path policy (SPP) is used to route the data from the sensor nodes to the sinks based on the hop distance information. However, since there is no mechanism to control the amount of traffic forwarded to the sink, this policy is unable to balance the energy consumption among the sensor nodes so as to prolong the network lifetime.
Besides, connection time between sensor node and sink is also an important metric to conserve energy. For a given amount of packets, transmitting packet at low data rate over long duration is more energy efficiency than transmitting packet at the high data rate over short duration [11]. Especially in WSNs with path-constrained mobile sink, the connection time between the sink and the sensor nodes is different which results in different transmission rate at the sensor node. Thus, we can also achieve significant network lifetime by carefully considering the connection time between the mobile sink and the sensor nodes.
In this paper, we propose the novel data gathering policy for mobile sink with predetermined trajectory. We consider both traffic load and connection time as metric for modeling the network lifetime. Our objective is to balance the depletion of the energy at the sensor node and, thereby, the network lifetime is improved. The major contributions of our paper are as follows:
We formulate the network lifetime as the function of the transmission rate. The transmission rate is the ratio of traffic load to connection time between the sensor node and the mobile sink. We show that maximizing network lifetime is equivalent to balancing the transmission rate of sensor nodes (Section 3). We derive the distributed algorithm based on the duality theory and the subgradient method (Section 4). In addition, the communications between sensor nodes and mobile sink are able to overlap each other due to the movement of the mobile sink. Thus, we also propose the scheduling to further mitigate this collision (Section 5). We thoroughly evaluate the performance of this policy by simulations. Our algorithm results in better network lifetime and higher throughput than the existing benchmark algorithms. Furthermore, it can cope with high speed of the mobile sink (Section 7).
2. Related Works
In recent years, many methods on using mobile sink in WSNs have been proposed to improve the networks lifetime. They can be categorized into two groups based on the trajectory of mobile sink: (i) unconstrained trajectory, where the mobile sinks have freedom to travel all-around the networks, and (ii) constrained trajectory, where the mobile sinks are only allowed to travel on the predetermined trajectory such as road, line, and circular path.
2.1. Unconstrained Trajectory of Mobile Sink
The main objective of this group is to determine how the mobile sink goes to collect data. One of the common approaches is to visit all the sensor nodes to receive data directly. The movement of the mobile sink follows the traveling salesman algorithm [12]. However, since the number of sensor nodes increases, the problem becomes intractable. In order to overcome this challenge, the mobile sink only visits a subset of nodes designated as cluster-heads [2, 6]. The traveling salesman algorithm is used to determine the movement of the mobile sink among these cluster-heads. The sensors outside the transmission range of the mobile sink send data to their associated cluster-head via multihop transmission.
Other approaches of optimizing the movement of the mobile sink are in [13, 14]. In particular, the research in [13] proposed the realistic routing algorithm for mobile sink based on the sojourns time of the mobile sink at the cluster-head. The improvement of the networks lifetime is achieved by dynamically changing the epoch of the mobile sink at each cluster-head regarding the energy consumption of the sensor node. An extended version of this approach was introduced in [14]. In this work, the sojourn time at the cluster-head is determined by considering the load balancing and the distance constraint of the mobile sink.
In these works, the connection time between mobile sink and sensor node has been controlled to maximize the network lifetime. Furthermore, the mobile sink has freedom to travel among the cluster-heads. On the contrary, in our paper, this connection time is fixed due to the predetermined trajectory of the mobile sink and the sink does not stop for collecting data. Thus, they limit the applicability of these works to our scenarios.
2.2. Constrained Trajectory of Mobile Sink
The main objective of this group is to find the effective data gathering schemes to collect data from the sensor nodes. In [7, 15], the authors provide a closer look at the used mobile sink with constrained movement in WSNs. In particular, the work in [15] evaluates the network lifetime under different mobility patterns of the sinks. The evaluation results highlight the benefit of using mobile sink in order to prolong network lifetime as well as balance traffic load.
In [16], the scheduling problem in path-constrained mobile sink has been considered. Based on the movement of the sink, the scheduling policy determines a number of sensor nodes that are responsible for transmitting data by exploiting the trade-off between reliability and energy consumption. An extended version of this algorithm, where several sensor nodes with similar observation transmit data to the sink, was introduced in [17]. However, in these scenarios, all the sensor nodes communicate with the sink through one-hop communication, which is not applicable to our scenarios: only several sensor nodes can directly transmit to the sink.
As to the problem involved in gathering data from sensor nodes to mobile sink through multihop communication, various schemes like hop-based approach [18, 19], QoS-based approach [9, 20], and relay-based approach [21, 22] have been proposed. In these approaches, the sensor nodes are divided into two groups: (i) subsink nodes which can directly communicate with the mobile sinks and (ii) member nodes which can communicate with the sink via multihop transmission. The main objective here is to find an optimal assignment from the member node to the subsinks.
In the hop-based approach, each member sends data to the closest subsink in terms of hop count. Dijkstra's algorithm is applied to find the route from members to subsinks [18, 19]. Although this approach reduces the overall energy consumption of the networks, it might not guarantee the improvement of network lifetime.
The QoS-based approach utilizes the expected QoS to route the data to the sink. In [9], the author modified the shortest path algorithms to adapt to the delay constraint on the sensor data. In particular, in [20], the network lifetime is maximized under the total data collection of the subsink as a QoS constraint. However, the detailed solution of the problem has not been introduced in the paper. Similar approach has been introduced in [23] where the objective function is the minimization of the total hop distance from the member node to the subsink. These approaches can help to improve the overall throughput or delay of the networks. However, they require the centralized computation, which might result in the large amount of message overhead in networks.
The relay-based approach is similar to the hop-based approach since the member nodes forward data to the closest subsinks. The main difference here is the way mobile sinks collect data at the subsinks. In [21], the sink sends a query packet toward the subsinks. Then, it selects one neighbor sensor as its agent. The collected data is transmitted from the subsink to mobile sinks through relaying by its agent. A similar approach has been introduced in [22], where the set of the subsinks is adjusted based on the density of the networks. This approach can help to reduce the latency in collecting data. However, the agent node will suffer high traffic load which might result in low network lifetime.
Contrary to previous work, our paper focuses on finding optimal scheme for network lifetime maximization. We jointly consider the traffic load, the connection time between subsinks and mobile sink, and the hop distance information to make routing decision. All data from the member node will be buffered at the subsinks. Then, the subsinks forward data to the mobile sink when the mobile sink goes to the transmission range of the subsinks.
3. Problem Statement
3.1. Network Model
Consider the WSN with sensor nodes and mobile sink as shown in Figure 1. The sensor nodes are randomly deployed to keep monitoring the environment and periodically generating data packet. The mobile sink is installed on the vehicle and moves along a fixed trajectory to collect data from sensor nodes. According to the movement of the mobile sink, the network region is divided into two areas: single-hop area in which the sensor can directly transmit data to the sink and multihop area in which the sensor communicates with the mobile sink via multihop transmission. Similar to the work in [23, 24], the sensor nodes within single-hop area are called subsinks and the sensor nodes within multihop area are called members.

Wireless sensor networks with path-constrained mobile sink. The sinks are installed on the vehicle and move along the predetermined trajectory.
Let
In our model, each member node is associated with only one subsink. Let
The mobile sink moves with a constant speed

Expected connection time
The knowledge of hop distance information and connection time is assumed to be available to any sensor node in the system. Since the location of all sensor nodes is fixed and the trajectory of the mobile sink is predetermined, such information can be retrieved in advance.
3.2. Energy Model
All the sensors have limited power. Let
Since the subsink also receives data from the member, the total energy consumption at each subsink
Proposition 1.
The energy consumption per round of each subsink
Proof.
The proof is given in Appendix A.
3.3. Problem Statement
Since the subsinks are responsible for collecting packet from the member node and forwarding it to the mobile sink, they tend to consume energy more than the member nodes. Similar to the work in [23, 24] and references therein, we focus on the energy efficiency at the subsink by optimizing the member node assignment such that (i) each member is assigned only one subsink, (ii) the total hops from members to each subsink do not exceed
Given the initial energy
From (8), the objective function can be rewritten as
Since
MMFA is a nonconvex and NP-hard problem. We can get the optimal solution by using some global optimal methods such as branch and bound and brute-force search. However, in global methods, the computational complexity grows exponentially with increase of the network size. To overcome this challenge, we turn to the Lagrangian method. Even though this approach is suboptimal and can not guarantee the optimality, the assignment based on the Lagrangian method is low complexity, fast convergence, and distributed implementation.
4. Solution Approach via Lagrangian Method
In this section, we develop the distributed algorithms for solving MMFA. We first use the Lagrange multiplier for dualizing the coupled constraint. Then, we use the subgradient method to develop a distributed solution for MMFA.
4.1. Dualizing by Using Lagrangian Multiplier
Problem (11) does not lead to distributed computation. We transform it into epigraph form. The decision variables are the vector
The Lagrange dual function
Algorithm 1 can be implemented in distributed manner with local information. Since each member
Now, we turn to the Lagrange dual problem corresponding to (12). The dual problem is to maximize the
4.2. Subgradient Projection Method
The subgradient projection method is an iterative way to solve the Lagrange dual problem. We use the notation of
The update of dual variables at each iteration is given as
In the sequel, we combine various steps into our main algorithms to solve MMFA in distributed manner. Our algorithm is motivated by the approach in [27], but it is not exactly the same. The pseudocode for this algorithm is illustrated in Algorithm 2.
(i) All member nodes set (ii) Every sub-sink node (iii) Set (i) Receive (ii) Update the assignment variable Let (iii) Transmit (i) Receive (ii) Update the dual variable for the next iteration: (iii) Broadcast the new Go to Step 2.
It is worth noting that the advantage of using Algorithm 2 to solve the MMFA problem is to eliminate the message exchange between member nodes. Since the number of the member nodes is large in comparison with the subsinks, Algorithm 2 can reduce the large amount of message exchange between sensor nodes. Furthermore, each node has to update its own objective function. It enables the partially distributed implementation of our proposed method with little coordinator from the mobile sink.
However, since the original problem is not a convex problem, the MMFA does not always guarantee the optimal solution. There exists an optimal gap between the MMFA algorithms and the optimal algorithms based on global optimization methods. We will show that the solution of the MMFA is not too far from the optimal solution in simulation.
4.3. Convergence Analysis
In the sequel, we show the convergence of Algorithm 2 for MMFA problem. More specifically, we show that Algorithm 2 will converge to the optimal solution of (19) with a sufficient number of iterations.
Proposition 2.
Let
Proof.
The proof is in part borrowed from [30, 31] and is given in Appendix B.
The bound derived in Proposition 2 predicts the behavior of the convergence of Algorithm 2. The larger the value of
5. Subsink Collision Avoidance (SCA)
Communications between subsink and mobile sink are able to overlap each other due to the movement of the mobile sink. We proposed here the greedy scheduling to avoid the transmission collision.
In this scheduling, we follow from the interesting property: if more nodes join forward data from the member node, the energy consumption and traffic load at the subsink are reduced. We would maximize the number of overlapped subsinks by scheduling the subsink which has the smallest transmission time among all overlapped subsinks. In this way, we can have more time left to schedule the others and thus more nodes become the subsinks.
Mobile sink calculates the expected connection time Initially, let If subsinks Else, while
choose a subsink add remove all subsinks from Update the set of subsinks:
As a consequence, we schedule the subsink which has the transmission time as small as possible. By this way, more subsinks that participated in forwarding traffic impose a long network lifetime. This greedy algorithm comes from the interval scheduling problem [32] which can obtain the maximum nonoverlapping subsinks.
6. Data Gathering Scheme for Maximizing Network Lifetime
In this section, we develop the data gathering scheme incorporating the MMFA and the SCA schemes. The scheme includes three phases: subsink discovery phase, assignment phase, and data collection phase.
In the subsink discovery phase, the mobile sink calculates the connection time
In the assignment phase, after receiving the list of subsinks, the member nodes apply the shortest path algorithm to build the route from themselves to all subsinks and broadcast this information to the subsink. By this way, the subsinks can have all hop distance information from themselves to all member nodes. The MMFA is executed to optimize the assignment from the member node to the subsink. Finally, the member nodes construct the route from themselves to the corresponding subsinks based on the optimal assignment.
In the data collection phase, at each round, all sensor nodes collect the data from the environment. The collected data is forwarded to the subsinks according to the routing table at the member node before the mobile sink goes into the communication range. The subsink transmits data to the mobile sink with transmission rate in (11).
7. Performance Evaluation
In this section, we evaluate the proposed assignment method (MMFA) in comparison with a few existing policies under different performance criteria. We model the network environment and provide the numerical result by using MATLAB simulator. We implement the following policies for comparison:
The shortest path policy (SPP) from the hop-based approach which relies on the hop distance information to route data. Each member node will send its data to the closest subsink in terms of hop count. Dijkstra's algorithm is applied to find the route from the member node to the subsink [18]. The minimum total hop policy (MTHP) from the QoS-based approach which guarantees the amount of data collection at subsink. This policy has been introduced in [23]. It assigned the member node such that the total hops from members to subsinks are minimized. Since the data collection at each subsink is proportional to the number of member nodes, the QoS requirement is represented as the constraint on the number of member nodes assigned to each subsink, The max-min fairness assignment (MMFA) which is our proposed algorithms.
We measure the following metrics to evaluate the performance of these polices:
where
7.1. Simulation Environment
7.1.1. Network Scenario
We consider random network topologies where all sensor nodes have been randomly placed in the square 60 × 60 m2. Two nodes can communicate with each other if their distance is not longer than 10 m. The dotted line in Figure 3 shows the communication link of sensor nodes.

Mobility pattern is used in evaluation.
7.1.2. Mobility Model
We consider two mobility patterns of the sink which have been used in [15] (Figure 3). The arrow line shows the trajectories of the mobile sink.
7.1.3. Simulation Parameters
The simulation parameters are represented in Table 1.
Network parameters used in simulation.
7.2. Convergence of MMFA
We verify the convergence of the MMFA by investigating the transmission rate over 100 iterations. Behaviors of the transmission rate under different movements of the sink have been shown in Figure 4. As predicted in the analysis, our algorithm is stable and converged.

Convergence of the MMFA algorithms.
The convergence rate depends on the value of
7.3. Optimality of MMFA
Since the Lagrangian method can not always guarantee the optimal solution, in the following, we evaluate the optimal gap which is defined by the distance between the variables
We conduct the simulation under different sensor node and

Percentage from optimal solution of MMFA under different hop distance constraint.
7.4. Impact of the Traffic Load
Now, we investigate the impact of the traffic load

Average throughput and network lifetime under variant traffic load.
In addition, the energy balance index

Energy balance index under variant number of sensor nodes.
7.5. Impact of the Node Density
Since the network lifetime of these policies largely depends on the number of the subsinks and members in the network, we investigate the performance of these policies under different number of users. Figure 8 confirms the strong dependency with the density of networks. Obviously, the network lifetime increases with the increasing node density: more nodes join forward packet to mobile sink results in the less traffic load at the subsinks. However, when the number of sensors is significantly large, the network lifetime under these policies is almost the same.

Networks lifetime under variant sensor node.
7.6. Impact of the Velocity
We explore how these methods perform under various mobile sink speeds (Figure 9). The networks lifetime obviously decreases in rise of speed level. This trend can be explained as follows: the communication time between subsinks and sinks is decreased proportionally to the speed of the sink. Thereby, the higher the speed of the mobile sink, the higher the transmission rate required to transmit data at the subsinks. It results in reducing network lifetime.

Network lifetime under variant mobile sink speed.
However, in case of MMFA, the networks lifetime is less affected by the high speed since their assignment variables are kept updated as long as the connection time is feasible for selecting the subsinks. In Figure 9(a), the MMFA results in a slight decrement at the speed from 10 m/s to 20 m/s and is stable around 145 rounds. Similar result can be observed in Figure 9(b), where the network lifetime slightly decreases at the speed from 12 m/s to 20 m/s. Furthermore, MMFA outperforms others in high speed regime. Thus, it can cope with the high speed of the mobile sinks.
8. Conclusion
The mobile sink with constrained path has been widely considered in WSNs to improve the network lifetime. Due to the predetermined path, the connection time between sensor and the sinks is limited, which leads to the difference transmission rate of sensor. Thus, the energy consumption is not balanced among sensor nodes. To deal with this challenge, we proposed here to consider the transmission rate as the performance metric to improve network lifetime.
The results demonstrate the effectiveness of our algorithms: the network lifetime under our algorithm outperforms other benchmark algorithms. Besides, the algorithms can cope with the high speed of mobile sinks.
In the future, we plan to investigate experimentally the performance of such scenarios. We also aim at integrating controllable sinks and proposing a scheduling policy adapted to a collection of sinks with a predictable and controllable mobility.
