2258
IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 9, NO. 7, JULY 2010
Joint Routing and Sleep Scheduling for Lifetime Maximization of Wireless Sensor Networks Feng Liu, Chi-Ying Tsui, Member, IEEE, and Ying Jun (Angela) Zhang, Member, IEEE
AbstractβThe rapid proliferation of wireless sensor networks has stimulated enormous research efforts that aim to maximize the lifetime of battery-powered sensor nodes and, by extension, the overall network lifetime. Most work in this field can be divided into two equally important threads, namely (i) energyefficient routing that balances traffic load across the network according to energy-related metrics and (ii) sleep scheduling that reduces energy cost due to idle listening by providing periodic sleep cycles for sensor nodes. To date, these two threads are pursued separately in the literature, leading to designs that optimize one component assuming the other is pre-determined. Such designs give rise to practical difficulty in determining the appropriate routing and sleep scheduling schemes in the real deployment of sensor networks, as neither component can be optimized without pre-fixing the other one. This paper endeavors to address the lack of a joint routing-and-sleep-scheduling scheme in the literature by incorporating the design of the two components into one optimization framework. Notably, joint routing-andsleep-scheduling by itself is a non-convex optimization problem, which is difficult to solve. We tackle the problem by transforming it into an equivalent Signomial Program (SP) through relaxing the flow conservation constraints. The SP problem is then solved by an iterative Geometric Programming (IGP) method, yielding an near optimal routing-and-sleep-scheduling scheme that maximizes network lifetime. To the best of our knowledge, this is the first attempt to obtain the optimal joint routing-andsleep-scheduling strategy for wireless sensor networks. The near optimal solution provided by this work opens up new possibilities for designing practical and heuristic schemes targeting the same problem, for now the performance of any new heuristics can be easily evaluated by using the proposed near optimal scheme as a benchmark. Index TermsβLifetime maximization, routing, sleep scheduling, wireless sensor networks, non-convex optimization.
I. I NTRODUCTION
R
ECENT advances in wireless communication technologies as well as VLSI and MEMs (Micro-ElectroMechanical-Systems) have opened up potentials for largescale deployment of wireless sensor networks (WSNs) in fields Manuscript received May 1, 2009; revised December 7, 2009 and March 8, 2010; accepted April 11, 2010. The associate editor coordinating the review of this paper and approving it for publication was T. Hou. F. Liu is with The Hong Kong Applied Science and Technology Research Institute (e-mail:
[email protected]). C. Y. Tsui is with the Department of Electronic and Computer Engineering, The Hong Kong University of Science and Technology (e-mail:
[email protected]). Y. J. Zhang is with the Department of Information Engineering, The Chinese University of Hong Kong (e-mail:
[email protected]). This work was supported in part by the Competitive Earmarked Research Grant (Project Number 418707), established under the University Grant Committee of Hong Kong, and the Direct Grant for Research (Project Number 2050370), established by The Chinese University of Hong Kong. Digital Object Identifier 10.1109/TWC.2010.07.090629
sensor nodes
gateway
Fig. 1.
Wireless sensor networks.
such as habitat monitoring, battlefield surveillance, environment sensing, etc. Wireless sensor networks consist of a group of sensor nodes randomly distributed in a given area as shown in Fig. 1. A fundamental challenge of such networks lies in the energy constraint of battery-powered sensor nodes, which poses a performance limit on achievable network lifetime. Prolonging battery life in sensor nodes and, by extension, the overall network lifetime is therefore a foremost task in the design of practical WSNs [3], [4], [7]. A typical definition of network lifetime is the time till the first sensor node runs out of its battery energy [1]. This is a reasonable definition for WSNs, where the nodes near sinks (e.g., gateways or data collection centers) have to relay much more information and consume much more energy than those that are far away. The survival of these bottleneck nodes is critical to the operation of the whole network. Network lifetime maximization involves all levels of sensor network hierarchy, from hardware/software design to communication protocols. Recent efforts dealing with communication-related energy costs mainly focus on two separate but equally important fronts: energy-efficient routing and sleep scheduling. In particular, energy-efficient routing aims to balance traffic loads, and hence energy consumption,
c 2010 IEEE 1536-1276/10$25.00 β
LIU et al.: JOINT ROUTING AND SLEEP SCHEDULING FOR LIFETIME MAXIMIZATION OF WIRELESS SENSOR NETWORKS
among sensor nodes across the network. Existing literature has formulated this problem into various linear programming (LP) problems depending on power consumption models, ranging from simple models that only consider payload transmission power [5], [8] or both transmission and reception power [1] to more realistic ones that include power consumption on control message passing [16] and idle listening [11]. The problem formulation is also subject to different medium access control (MAC) constraints such as half-duplex constraint, link capacity constraint [5], [8], and interference constraint [6]. On the other hand, network traffic load is light most of the time in many sensor network applications, and thus idle listening is a major source of power depletion in WSNs [13]. Thus, allowing sensor nodes to have periodic sleep cycles greatly reduces their energy consumption. While a large part of existing work on sleep scheduling focuses on striking a good tradeoff between energy efficiency and latency/reliability, the design of duty cycles and active/sleep patterns has a big impact on the balance of energy consumption across the network as well. This is because an upstream node may keep resending a packet to its downstream node and waste a lot of transmission power, if the downstream node sleeps too much during the transmission phase of the upstream node. This problem has been directly or indirectly addressed by synchronizing wake-up slots (e.g., S-MAC [2] and T-MAC), lengthening the preamble in a data packet (e.g., B-MAC [14]), or sending multiple short preambles till one is heard by the receiver (e.g., TICER [15]). By and large, all existing sleep scheduling schemes assume a pre-determined routing table. In other words, upstream-downstream (i.e., transmitter-receiver) node pairs as well as the amount of traffic going through the pairs are fixed in advance. Most prior work has treated energy-efficient routing [1], [5] and sleep scheduling [17]β[19] as two separate tasks, oftentimes assuming one component is pre-given when optimizing the other one. This includes the recent work in [12] which, although claimed to consider joint routing and sleep scheduling, in fact focuses on the optimization of routing only, except that the pre-given sleep schedules are explicitly formulated as MAC constraints. The separate design of routing and sleep scheduling poses a serious problem in the real implementation of WSNs, for neither component can be optimally adjusted before the other one is fixed. In addition, it would not be surprising that the network lifetime thus achieved is suboptimal compared with that when routing and sleep scheduling are jointly optimized. To address the above-mentioned issues, this paper endeavors to jointly optimize energy-efficient routing and sleep scheduling to maximize overall network lifetime. In particular, we formulate the integrated design of route selection, traffic load allocation, and sleep scheduling into a constrained optimization problem. As opposed to [1], our formulation considers a more realistic power consumption model which includes energy costs due to payload transmission and reception, preamble transmission, as well as idle listening. One reason for the lack of joint routing-and-sleepscheduling schemes in current literature lies in the mathematical difficulty in solving joint optimization problems. Without exception, the constrained optimization problem formulated in
2259
Sleep period (fixed length) node i Tslp
Active period (variable length)
Fig. 2.
Asynchronous sleep scheduling mechanism.
this work is a mathematical challenge by itself due to its nonconvex nature. We tackle the problem by transforming it into an equivalent Signomial Programming (SP) problem through the relaxation of an equality constraint. It can be proved that the relaxation does not affect the optimality of the solution. The SP problem can then be efficiently solved via an iterative convex approximation method, where a convex Geometric Programming (GP) problem is solved in each step. To the best of our knowledge, this is the first attempt to obtain the optimal joint routing-and-sleep-scheduling scheme for WSNs. An important application of the proposed scheme is to address the noticeable lack of a benchmark for the achievable network lifetime by jointly designing energy-efficient routing and sleep scheduling. The solution provided by this work opens up new possibilities for evaluating the performance of existing or newly proposed heuristics targeting the same problem. Moreover, the engineering insights gained from the near optimal solution may serve as important guidelines for the design of practical heuristics in future WSNs. The rest of the paper is organized as follows. In Sections II and III, we introduce the system model and formulate the joint routing-and-sleep-scheduling problem into a nonconvex optimization problem. In Section IV, we show how the problem can be transformed to an equivalent form that is amenable to efficient solution algorithms through iterative convex optimization. The performance of the proposed algorithm is evaluated through numerical simulations in Section V. Through simulation, we compare the performance of the proposed algorithm with schemes that optimize the routing and sleep scheduling separately. Finally, the paper is concluded in Section VI. II. S YSTEM M ODEL This paper considers sensor networks where static sensor nodes are randomly located in a given region. Similar to most previous work, this paper assumes that the traffic in the network is light, and hence transmissions are collision free. Let the routing matrix be described by R = {πππ }, the average rate at which packets are flowed over the link from node π to π, where πππ is fixed to be zero if nodes π and π are not within the RF range of each other. We define ππ as the neighbor set of node π with { β ππ node π is in the RF range of node π π (1) β / ππ otherwise A sensor node is either in an active mode or a sleep mode according to its sleep schedule, as depicted in Fig. 2. In the sleep mode, a node is turned off and no power is consumed. Every time a node π goes into the sleep mode, it sleeps for π of time before waking up. Note that the sleep a period ππ ππ
2260
IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 9, NO. 7, JULY 2010
Data Ready
TX RF initialization
(T ) rf
Channel listening
(Tsav )
power saving
Tlis
RX
Tdet
Channel listening
ACK detection Data packet transmission
β¦...
( )
Tdata
CTS detection Tpre
( )
Sleep time Tslp
Tlis Tdet
Active Period: Idle listening
Fig. 3.
Data Done
Active period: RX Ready Data Transmission RTS (Tpre )
Channel listening
Data packet receiving
( )
CTS Tpre
ACK
(T ) pre
Active Period: Data receiving
Timing diagram in different active periods.
time of a node is fixed, but different nodes have different sleep times due to different traffic and battery distributions. A node wakes up and enters an active mode from time to time to see if it has any packets to transmit or if there are any other nodes attempting to transmit to it. An active period can be further categorized as an idle listening slot, a data transmission slot, or a data reception slot. More specifically, it is said to be an idle listening slot if the node neither transmits nor receives data packets within this active period. In this case, the active period consists of two parts, i.e., RF initialization and channel detection. An active period is said to be a data transmission slot if the node transmits a packet in this slot. Likewise, an active period is a data reception slot if the node receives a packet in this slot. In the following, we will elaborate in detail how nodes transmit and receive in the proposed system, and how much energy is consumed in each mode. Readers are referred to Fig. 2 and Fig. 3 for illustrations. A node π initializes its RF circuits immediately after it wakes up. Assume that it takes a node πππ time and πΈππ amount of energy to initialize its RF circuits. If the node has packets to transmit, it first listens to the channel for a period π time to see if any of its neighbors are transmitting. of ππππ π We define ππππ‘ = πππ + ππππ as the total time from when a node wakes up to when it goes to sleep again. The length of π π will be discussed later. If the channel is idle for ππππ‘ ππππ‘ time, the node sends a Request To Send (RTS) preamble. If the target receiver is also in an active mode and receives the RTS preamble, it replies with a Clear To Send (CTS) packet. The transmitter will then send a data packet, which is acknowledged by an ACK packet from the receiver. Otherwise, if the receiver happens to be in a sleep mode, the transmitter will resend the RTS preamble after going to a power saving status for a short time ππ ππ£ . This process is repeated until the receiver wakes up and captures the RTS preamble. Throughout the paper, it is assumed that all packets, including preambles, are transmitted at a constant power level ππ‘π₯ . Meanwhile, it takes a receiver a power of πππ₯ to receive any packet. Likewise, we denote by ππππ‘π the duration of a data packet by assuming that all the packet lengths are the same. Without loss of generality, we assume that RTS, CTS, and ACK packets are of the same length ππππ .
To ensure that all transmitter-receiver pairs are βsufficiently" connected and communication of other links in the same RF π should be long enough to range is correctly detected, ππππ‘ cover at least two consecutive RTS preambles (including the ππ ππ£ between them) of all sensor nodes within its RF range. π is too short, a node may not be able to Otherwise, if ππππ‘ capture an RTS preamble transmitted in its RF range. Hence, it requires π π β₯ max (2πππ + 3ππππ + ππ ππ£ ). ππππ‘ πβππ
(2)
π Note that ππππ‘ is dominated by the longest ππ ππ£ in node πβs neighbor set. This means if different nodes adopt different ππ ππ£ βs, the ones with smaller ππ ππ£ βs can always increase their π ππ ππ£ without increasing the idle listening time ππππ‘ of node π. Hence, it is the most energy efficient way to let all sensor nodes have the same ππ ππ£ , for otherwise we can always let the ones with smaller ππ ππ£ βs increase their ππ ππ£ βs to save energy. In the rest of the paper, we assume that ππ ππ£ is the same across all nodes. Moreover, we assume that ππππ‘ is equal to the shortest allowable duration, i.e., ππππ‘ = 2πππ + 3ππππ + ππ ππ£ , unless otherwise stated. Likewise, the channel detection power is πππ₯ . We are now ready to compute the energy consumptions of a node during an active period, which could be an idle listening slot, a data transmission slot, or a data receiving slot. In a data transmission slot, the average energy consumption for node π to transmit one packet to node π is given by ππ Β―π‘π₯ =(πΈππ + πππ₯ ππππ‘ ) πΈ β πΈππ + (πΈππ + (ππ‘π₯ + πππ₯ )ππππ ) ( π ) ππ ππ /2 β (2ππππ + ππ ππ£ + πππ + 2ππππ ) Γ +2 πππ + 2ππππ + ππ ππ£ + ππ‘π₯ ππππ‘π + πππ₯ ππππ ,
(3)
where the first line on the right hand side is the energy cost due to RF initialization and channel detection, the second and third lines are the energy cost to transmit the RTS packets until an RTS packet is acknowledged, while the forth line represents the energy cost to transmit the data packet and receive the π /2 is the ACK packet. In the third line, in particular, ππ ππ average residual sleep time of node π seen by node π when
LIU et al.: JOINT ROUTING AND SLEEP SCHEDULING FOR LIFETIME MAXIMIZATION OF WIRELESS SENSOR NETWORKS
node π initiates a transmission to node π. πΈππ +(ππ‘π₯ +πππ₯)ππππ represents the energy consumption to transmit an RTS packet and to detect possible CTS packet. Note that there is no RF initialization in the first RTS packet transmission, as the sensor node is already on. Likewise, there is no ππ ππ£ following the last RTS/CTS exchange, as can be seen in Fig. 3. Hence, the π π /2β(2ππππ +ππ ππ£ +πππ +2ππππ )
term π ππ + 2 denotes the average πππ +2ππππ +ππ ππ£ number of RTS preambles the transmitter has to transmit until one is captured by node π, and the term βπΈππ at the begin of the second line corresponds to the fact that there is no RF initialization in the first RTS packet transmission. The energy consumption for a node to receive a packet is calculated as ππππ‘ πΈΒ―ππ₯ = (πΈππ + πππ₯ ) + πππ₯ ππππ‘π + 2ππ‘π₯ ππππ , (4) 2 where the first term on the right hand side is the energy cost to initialize RF circuit and the average energy cost to detect the RF channel before desired RTS is received, the second term is the energy cost to receive the data packet, while the third term is the energy cost to transmit the CTS and ACK packets. Furthermore, the energy cost due to idle listening is given by πΈπππ‘ = πΈππ + πππ₯ (ππππ‘ β πππ ).
(5)
To calculate the average power consumption of node π, consider a very long period of time π , within which node π ππ π packets to node π, received πππ₯ packets, has transmitted ππ‘π₯ π and experienced πππππ active/sleep cycles without data transπ idle listening slots). The average mission/reception (i.e., πππππ power consumption is readily calculated as β π π Β― ππ ππ Β― πβππ πΈπ‘π₯ ππ‘π₯ + πΈππ₯ πππ₯ + πΈπππ‘ πππππ , (6) ππ = π To be specific, ππ ππ‘π₯ = πππ (7) π is the average rate at which node π transmits packets to node π, and π β πππ₯ = πππ (8) π πβπ π
is the average rate at which node π receives packets from other nodes. Substituting (7) and (8) to (6), we have β ππ β πΈπππ‘ Β― πππ + πΈ Β―ππ₯ πΈ ππ = πππ + , (9) π‘π₯ π ππππ‘ + ππ ππ πβπ πβπ π
π
where we have assumed light traffic load so that a node is in idle modes most of the time, i.e., π β (ππππ‘ +
π π ππ ππ )πππππ .
2261
III. P ROBLEM F ORMULATION With the above derivations, joint routing and sleep scheduling can be formulated into the following optimization problem. To be specific, we endeavor to find the optimal routing matrix π } so that the network R = {πππ } and sleep time Tslp = {ππ ππ lifetime, defined by the time till the first sensor node runs out of its battery power, is maximized. We have π max min ππππ π
π .π‘.
(12a)
π
R,Tslp
π ππ ππππ βπ π β€ π΅π β β πππ β πππ = π·π β ππ πβππ
(12b) βπ
(12c)
πβππ
πππ β₯ 0, βπ, π
π ππ ππ > 0, βπ
(12d)
π where ππ is expressed as a function of πππ and ππ ππ using (3)(5), and (9). In particular, the constraint (12c) is a flow conservation constraint, where ππ is the average rate at which packets are generated by node π as a source and π·π is the average rate packets are absorbed by node π as a destination. ππ and π·π can be set to zero if node π is not a source or destination. The max-min problem in (12) can be straightforwardly rewritten into the following maximization problem, where minimizing 1 π‘ is equivalent to maximizing π‘.
min
R,Tslp ,π‘
π .π‘.
1 π‘
(13a)
ππ π‘ β€1 βπ π΅π β β πβππ πππ β πβππ πππ
=1 π· π β ππ π πππ β₯ 0, βπ, π ππ ππ > 0, βπ
(13b) βπ
(13c)
π‘ > 0 (13d)
In the following theorem, we will prove that the equality constraints in (13c) can be relaxed to inequality constraints without affecting the optimal solution. Such a relaxation will be useful later on when we develop an efficient algorithm to solve the problem. Theorem 1. Problem (13) is equivalent to the following problem where the equality constraints (13c) are replaced by inequality constraints. min
R,Tslp ,π‘
s.t.
1 π‘
(14a)
ππ π‘ β€1 βπ π΅π β β πβππ πππ β πβππ πππ
β€1 π· π β ππ π πππ β₯ 0, βπ, π ππ ππ > 0, βπ
(14b) βπ
(14c)
π‘ > 0 (14d)
(10)
To be more precise, there exists an optimal solution to (13) that satisfies (14c) with equality.
It is obvious from (9) that the lifetime of node π, denoted π by ππππ π , is limited by its battery capacity π΅π through the following inequality:
Proof: For a given set of R and Tπ ππ , the π‘ that solves Problem (14a) to (14d) is given by,
π ππππ π β€
π΅π . ππ
(11)
1 ππ (R, Tπ ππ ) = max . π π‘β (R, Tπ ππ ) π΅π Let π β (R, Tπ ππ ) =
1 π‘β (R,Tπ ππ )
(15)
denote the value of the
2262
IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 9, NO. 7, JULY 2010
ππ (R, Tπ ππ ) π π΅π denote the bottleneck node that has the minimum lifetime. Assume that with R and Tπ ππ , (14c) is inactive for the bottleneck node. That is objective function and πβ (R, Tπ ππ ) = arg max
β
πππβ (R,Tπ ππ ) β
πβππβ (R,Tπ ππ )
β
ππβ (R,Tπ ππ )π
πβππβ (R,Tπ ππ )
(16)
< π·πβ (R,Tπ ππ ) β ππβ (R,Tπ ππ ) . Λ βͺ― R to satisfy In this case, we can always find another R constraint (14c) with equality for π = πβ (R, Tπ ππ ). SpecifiΛ is obtained by letting πΛππ β€ πππ for π = πβ (R, Λ T Λ π ππ ) cally, R and πΛππ = πππ otherwise. In other words, we can always reduce the outgoing packet rate of node πβ (R, Tπ ππ ) to make the equality hold. We now analyze the situation in two cases. Case 1: Node πβ (R, Tπ ππ ) continues to be the bottleneck Λ i.e., node with the new routing matrix π
, Λ Tπ ππ ) = πβ (R, Tπ ππ ). πβ (R,
(17)
From (9), it is obvious that ππ is an increasing function of R for any π. Therefore, ππβ (R,T Λ π ππ ) < ππβ (R,Tπ ππ ) ,
(18)
which implies that the lifetime of the bottleneck node is increased. Hence, we obtain a better objective function value π , i.e., Λ Tπ ππ ) < π β (R, Tπ ππ ). (19) π β (R, Case 2: Node πβ (R, Tπ ππ ) is no longer the bottleneck node with the new routing matrix R, i.e., Λ Tπ ππ ) β= πβ (R, Tπ ππ ). πβ (R,
(20)
In this case, the following inequality holds, Λ ππβ (R,T Λ π ππ ) (R, Tπ ππ ) π΅πβ (R,T Λ π ππ )
β€ β€
ππβ (R,Tπ ππ ) (R, Tπ ππ ) π΅πβ (R,Tπ ππ )
IV. S OLVING THE J OINT ROUTING AND S LEEP S CHEDULING P ROBLEM This section presents an efficient algorithm to solve the joint routing and sleep scheduling algorithm. Before presenting the algorithm, we briefly introduce some mathematical preliminaries in subsection III.A. Interested readers are referred to [22] for more details on the definitions and proofs. A. Geometric Programming and Signomial Programming π 1 Definition 1. [Monomial]: A function π (x) : π
++ β π
+ is a monomial if (1)
π (x) = ππ₯π1 π₯π2
(2)
(π)
β
β
β
π₯ππ
,
(22)
where the multiplicative constant π β₯ 0 and the exponential constants π(π) are real numbers. π 1 Definition 2. [Posynomial]: A function π (x) : π
++ β π
+ is a posynomial if it is a sum of monomials. That is
π (x) =
πΎ β
π
(1)
π
(2)
π
(π)
ππ π₯1 π π₯2 π β
β
β
π₯ππ ,
(23)
π=1 (π)
where ππ β₯ 0 and ππ are real numbers. Definition 3. [Signomial]: A signomial is a function with the same form as a posynomial except that the multiplicative coefficients ππ are allowed to be negative. Definition 4. [Geometric Program]: A geometric program (GP) is an optimization problem of the form
ππβ (R,T Λ π ππ ) (R, Tπ ππ ) π΅πβ (R,T Λ π ππ )
implies that out of the many optimal solutions, there exists one solution that satisfies (14c) with equality for all nodes. This proves the theorem. Thanks to Theorem 1, Problem (13) and (14) are equivalent to each other. In the following, we will focus on solving (14) efficiently.
(21) ,
Λ βͺ― R and ππ where the first inequality is due to the fact that R is an increasing function of R. The second inequality is due to the fact that πβ (R, Tπ ππ ) is the bottleneck node under the original routing matrix R. Similar to Case 1, (21) implies a Λ better objective function value can be achieved with R. Note that the above statements hold for any Tπ ππ , including the optimal one. This implies that (14c) must be satisfied with equality for the bottleneck node at the optimal point. Or else, there is always another routing strategy that yields a better objective function value. On the other hand, changing ππ of a non-bottleneck node π through scaling πππ does not have an effect on the objective function value. In other words, there could be a number of equally good optimal solutions which satisfy (14c) with equality for the bottleneck node, but either with equality or inequality for non-bottleneck nodes. In other words, we can scale πππ such that constraints in (14c) are active for all nodes without affecting the optimality of the solution. This
min π0 (x) π .π‘.
ππ (x) β€ 1
βπ = 1 β
β
β
π
βπ (x) = 1
βπ = 1 β
β
β
,
(24)
where ππ are posynomial functions and βπ are monomial functions. Remark 1. A GP problem can be transformed into an equivalent convex optimization problem and solved efficiently. Readers are referred to [22] for detailed methods for solving GP. Definition 5. [Signomial Program]: A signomial program (SP) is an optimization problem of the same form as (24), except that ππ and βπ can be signomial functions. Remark 2. A SP problem is an intractable NP-hard problem in general. [22] B. Posynomial approximation We first show that Problem (14) can be represented as a π π π = ππ ππ + ππππ‘ . Optimizing ππ ππ is SP problem. Define πππ¦πππ
LIU et al.: JOINT ROUTING AND SLEEP SCHEDULING FOR LIFETIME MAXIMIZATION OF WIRELESS SENSOR NETWORKS
π equivalent to optimizing πππ¦πππ , as ππππ‘ is a constant. Thus, Problem (14) can be rewritten as
min
R,Tcycle ,π‘
s.t.
π‘β1
(25a)
ππ π‘ β€1 βπ π΅π β β πβππ πππ β πβππ πππ
(25b)
β€1 π· π β ππ π πππ β₯ 0, βπ, π, πππ¦πππ > 0,
π ππππ‘ (πππ¦πππ )β1
β€ 1, βπ
βπ
π‘>0
where the left hand side (LHS) of (25b) is, β π2 β πΈ β π1 Β―ππ₯ π πππ π‘ + πππ π‘πππ¦πππ + πππ π‘ π΅π π΅π π΅π πβππ
πβππ
πβππ
+
πΈπππ‘ π (πππ¦πππ )β1 π‘. π΅π
(25c) (25d) (25e)
π2 =
πΈππ + ππππ (ππ‘π₯ + πππ₯ ) . 2(πππ + 2ππππ + ππ ππ£ )
(28)
According to the definitions in the previous subsection, (25) is a SP problem, as (25a), (25b), and (25e) consist of posynomials, while (25c) contains signomials. In what follows, we approximate the signomial of (25c) with a posynomial near a point Rβ² . In particular, we re-write (25c) as, β πβππ πππ + ππ β ππ (R) = β€ 1 βπ, (30) πβππ πππ + π·π where β ππ (R) is a ratio of linear functions. Denote βπ (R) = πππ + π·π . We would like to approximate βπ (R) by a
πβππ
π
βππ (Xβ² ) πππ ββπ (R) = , βπ₯ππ βπ (R) βπππ πππ =πβ²
(33)
and
πΈππ + ππππ (ππ‘π₯ + πππ₯ ) (2πππ + ππππ + 3ππ ππ£ ) 2(πππ + 2ππππ + ππ ππ£ ) > 0. (29)
β
πππ =
ππ
=
Λ π (R)= ππ monomial β
Define logarithmβ transformations π₯ππ = log πππ , ππ (X) = ππ₯ππ + π·π ) and πΛπ (X) = log Λ βπ (X) = log βπ (X) = log ( πβπ π β log ππ + π πππ π₯ππ . Equating first-order Taylor expansion of ππ (X) at Xβ² with πΛπ (X), we get β βππ (Xβ² ) β (π₯ππ β π₯β²ππ ) = log ππ + πππ π₯ππ , (32) ππ (Xβ² )+ βπ₯ππ π
(26)
In general, the energy needed to transmit a data packet, ππ‘π₯ ππππ‘π , is much larger than that is needed to initialize RF circuit and transmit an RTS packet, πΈππ + ππ‘π₯ ππππ . Thus, ( πΈππ + ππππ (ππ‘π₯ + πππ₯ ) π1 > 2(πππ + 2ππππ + ππ ππ£ ) 2(πππ + 2ππππ + ππ ππ£ ) ) +ππ ππ£ β 3ππππ
πβππ
(31)
πβππ
= πππ₯ ππππ‘ + ππ‘π₯ ππππ‘π + πππ₯ ππππ (πΈππ + ππππ (ππ‘π₯ + πππ₯ ))(ππ ππ£ β 3ππππ ) + 2(πππ + 2ππππ + ππ ππ£ ) ( πΈππ + ππππ (ππ‘π₯ + πππ₯ ) = ππ ππ£ β 3ππππ + 2(πππ + 2ππππ + ππ ππ£ ) πππ₯ ππππ‘ + ππ‘π₯ ππππ‘π + πππ₯ ππππ Γ πΈππ + ππππ (ππ‘π₯ + πππ₯ ) ) 2(πππ + 2ππππ + ππ ππ£ ) , (27)
and
(30) can be approximated by a posynomial β πβππ πππ + ππ Λ βπ. ππ (R) = Λ π (R) β
which implies that
π1 and π2 in (26) are constants as follows: π1
2263
πππππ , so that the left hand side of
( β βππ (Xβ² ) ) βπ (R) π₯β²ππ = β . ππ = exp ππ (Xβ² )β πππ βπ₯ππ β² πβππ π₯ππ πππ =πππ πβππ (34) Once πππ and ππ are computed, the posynomial approximation to the original signomial in (30) is obtained. Detailed discussions on monomial approximation can be found in [20]. C. An Iterative GP algorithm In this subsection, an Iterative GP (IGP) algorithm is presented to solve Problem (25) efficiently through a series of approximations. At each step, we have a current guess (π) (R(k) , Tππ¦πππ ), near which a posynomial approximation of (25c) is constructed using formulas (31)-(34). Replacing (25c) by the posynomial approximation, we convert the SP problem into a GP that can be solved efficiently using convex optimization techniques [20]. The solution of the GP is taken as (π+1) the next iterate (R(k+1) , Tππ¦πππ ). The flowchart of the IGP algorithm is shown in Fig. 4. In theory, any feasible solution can be the initial solution. In our simulations, we obtain the initial solution by randomly choosing a sleep time for all nodes from a range of values. With fixed sleep time Tππ¦πππ , (25) can be reformulated as a LP problem. We then solve the LP problem to obtain the routing matrix. This routing decision together with the initial node sleep time is used as the initial solution of the IGP algorithm. On the other hand, the algorithm stops when the improvement of network lifetime becomes marginal for several consecutive iterations. In our simulations, the iterative algorithm stops when the improvements of network life-time achieved in the latest 3 iterations are less than 1%. In the following theorem, we will prove that the IGP algorithm yields a series of solutions (0)
(π)
(R(0) , Tππ¦πππ ), β
β
β
, (R(π) , Tππ¦πππ ), β
β
β
that converges to a Karush-Kuhn-Tucker (KKT) solution of (25). We first introduce the following lemma which will be useful in later proofs. Lemma 1. If the posynomial approximation satisfies the following three properties, then solutions of the series of approx-
2264
IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 9, NO. 7, JULY 2010
TABLE I SYSTEM POWER AND TIME PARAMETERS
Initial feasible solution (k ) (R ( k ) , Tcycle ) , k=0
ππ‘π₯ πππ₯ πΈππ πππ ππππ‘π ππππ
Posynomial approximation of (25c) near R (k ) k=k+1
ππ ππ£
Transmission power Receiving power Energy of initializing RF circuits Time to initialize RF circuits Time to transmit one data packet Time to transmit one RTS/CTS/ACK preamble Power saving interval between two consecutive RTS preambles
60 mW 45 mW 20.05 πJ 2.1 ms 14.98 ms 0.832 ms 4.16 ms
( k +1) Solve for ( R ( k +ο« 1) , Tcycle )
iteratively and alternatively fixing Tππ¦πππ or R in (25) and optimizing the other. Note that the optimization problem becomes a linear program (LP) when Tππ¦πππ is fixed, and a geometric programming (GP) when R is fixed. Both of the two problems are convex and can be solved efficiently. This S-RS method performs better than the other separate design methods since in both routing and sleep scheduling phase in each iteration, the lifetime maximization task is formulated and solved optimally. Instead of exhausting all potential separate design methods that use different heuristic routing and sleep scheduling algorithms in each phase, it is sensible to compare the network lifetime of the proposed joint optimization scheme with this S-RS method.
N
Stopping criteria satisfied? Y
(
* Optimal solution R* , Tcycle
Fig. 4.
)
Iterative geometric programming algorithm.
imation converge to a point that satisfy the KKT conditions of the original problem [21]: Property 1: ππ (R) β€ πΛπ (R) for all R; Property 2: ππ (R) = πΛπ (Rβ² ) where R is the optimal solution of the approximation problem in the previous iteration; Property 3: βππ (Rβ² ) = βπΛπ (Rβ² ). Theorem 2. The series (0) (π) (R(0) , Tππ¦πππ ), β
β
β
, (R(k) , Tππ¦πππ ), β
β
β
converges to a KKT solution of (25).
of obtained
solutions by IGP
Proof: To prove Theorem 2, we show that the posynomial approximation (31) satisfies the three properties listed in Lemma 1. β To see Property 1, note that ππ (X) = log πβππ ππ₯ππ is convex on X [22], and hence its first order Taylor approximation is a global underestimator of the function. That is, Λ π (X) β€ βπ (X) for πΛπ (X) β€ ππ (X) for all X. Consequently, β all R, due to the monotonicity of logarithm and exponential functions. Therefore, Property 1 holds. Property 2 and 3 are trivial by straightforward calculations.
D. Performance of Separate Routing and Sleep Scheduling Design Most previous work has either only considered energyefficient routing or sleep scheduling, or treated the joint problem as two separate tasks and solved them independently. One of the best method for the separate routing and sleep scheduling (S-RS) design is to iteratively update the optimal routing decisions and sleep scheduling separately through mathematic programming, with one component fixed while adjusting the other one. Mathematically, this is done by
V. N UMERICAL R ESULTS In this section, we illustrate the performance of the proposed IGP algorithm for the joint routing and sleep scheduling problem in different scenarios through simulation. We use a similar simulation network setup as that in [1]. In the setup, there are 20 nodes randomly located in a 50m-by50m area. The gateway node lies in the centre of the square area. We use the power consumption model of Mica2 mote and CC1000 transceiver [14], which is summarized in Table I. The nodes are working at constant RF transmission power and the RF range of each node is 20 meters. The initial node battery capacity follows an independent normal distribution (π, πΏ 2 ) with π = 2500ππ΄β and πΏ = 25ππ΄β. This corresponds to the case when all nodes have the same initial battery capacity with 1% process variation. We compare the network lifetime obtained by three different schemes: a routing scheme with fixed node sleep time, the iterative two-phase separate routing and sleep scheduling (SRS) method, and the proposed IGP algorithm. Each node has the same packet generation rate of 4.19 Γ 10β3 packet/second. We randomly generate 20 different network topologies according to the above setup. For each network topology, the initial sleep time of nodes is randomly picked from an interval [10 Γ ππππ‘ , 1000 Γ ππππ‘ ]. Both the IGP algorithm and S-RS method terminate when the network lifetime obtained at all of the latest 3 iterations does not outperform that of the previous iteration by 1%. The average network lifetime obtained using the three different schemes is listed in Table II. From Table II we can see that the average network lifetime obtained by IGP algorithm outperforms that of S-RS method by 26.4% and outperforms that of fixed-sleep-time routing by 278.7%.
LIU et al.: JOINT ROUTING AND SLEEP SCHEDULING FOR LIFETIME MAXIMIZATION OF WIRELESS SENSOR NETWORKS
TABLE II
AVERAGE NETWORK LIFETIME (N ODE PACKET R ATE =4.19 Γ 10β3 )
S-RS Method
(second) 1.03 Γ 109
(second) 8.15 Γ 108
8
12
x 10
TIGP
TSRS
network
Fixed-Sleep-Time Routing (second) 2.72 Γ 108
Tmax
network
network
10
8 Network Lifetime (second)
IGP Algorithm
G ENERATION
2265
6
4
IGP Algorithm SβRS Method Fixed Sleep Time, LP Routing 2
9
10 Network Lifetime (second)
0
Fig. 6.
5
10
15 20 Different Initial Conditions (Node sleep time)
25
30
Performance over different initial conditions.
8
10
9
β3
10
Fig. 5.
β2
10 Node Packet Generation Rate (packet/second)
Network lifetime over varying traffic density.
We then compare the performance of the three schemes under different network traffic density by changing the node packet generation rate. The results are shown in Fig. 5, in which network lifetime is plotted versus the packet generation rate at each node. Each point in the figure is an average of 20 different network topologies. It is not surprising to see that the higher the packet generation rate, the more energy that is needed to transmit the generated packets to the gateway, and hence the shorter the network lifetime. With joint routing and sleep scheduling, IGP outperforms the S-RS method by around 29% on average for different traffic densities, and outperforms the fixed-sleep-scheduling routing by around 284% on average. The network lifetime obtained by multiple runs of IGP algorithm using different initializations can be taken as the upper-bound performance in future evaluation of any practical heuristics. Since the network lifetime maximization problem is a nonconvex problem by nature, no efficient algorithms is guaranteed to find the global optimal solution. Theorem 2 proves that the proposed IGP algorithm converges to a solution that satisfies the KKT condition of Problem (17). This implies that the IGP algorithm may converge to a local optimal solution depending on the initial condition, due to its non-convex nature. However, it would be interesting to find out how often the algorithm can converge to the global optimal solution. Since global optimal solution cannot be guaranteed due to the non-convex nature of the optimization problem, here we use the global optimal solution to denote the solution that has the maximum lifetime obtained from simulations with several different initializations. To see this, we pick a network topology as an example and run the IGP algorithm with 30 different initializations. Each initialization randomly picks an
Maximized Lifetime In Each Iteration (second)
10
8
10
7
10
6
10
Fig. 7.
1
2
3
4
5
6
7
8 9 10 IGP Iteration
11
12
13
14
15
16
Convergence speed of IGP algorithm.
initial sleep time within an interval [10 Γ ππππ‘ , 1000 Γ ππππ‘ ]. πππ₯ The result is plotted in Fig. 6. We use ππππ‘π€πππ to present the best solution obtained among the different initial conditions. It is very likely to be the global optimal solution (with probability one asymptotically) [9]. For comparison purpose, πβπ
π achieved by the S-RS method the network lifetime ππππ‘π€πππ is also plotted. From the figure, we can see that IGP approaches the best πππ₯ solution, ππππ‘π€πππ , most of the time. In 18 of the 30 (60%) different initial conditions, IGP achieves the best solution. By contrast, the solutions obtained by S-RS are much worse. It approaches the best solution in only 1 of the 30 (3%) initial conditions. It also worths to point out that in the rest 6 of the 30 (20%) initial conditions, IGP approaches more than 99% of the best network lifetime. We then demonstrate the convergency speed of the proposed IGP algorithm. Using the same example as in Fig. 6, the network lifetime is plotted versus the number of iterations in Fig. 7. The average number of iterations until the stopping criterion is satisfied is around 11. Finally we show an example of joint routing and sleep scheduling solution in Fig. 8. There exists a set of bottleneck
2266
IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. 9, NO. 7, JULY 2010
50
n5
research topic is to design good distributed algorithms with limited complexity and control overhead based on the existing work of distributed algorithms for routing [5][8] and GP problems [9]. Moreover, we have assumed a collision-free system in this paper due to the light traffic in sensor networks. In our future work, we will extend this model to take into account the effect of collisions on routing and sleep scheduling decisions.
n17
45 n4
40
n2 n18
35 30
n1
n10
n9 n8
n7
25 n13 20
Tslp(n3)=4.395 s Tslp(n6)=20.000 s
15
n3
T
=8.242x10 s
network
10 T
(n16)=11.300 s n12
n19
Fig. 8.
R EFERENCES
n15
50% n16 50%
slp
5 0
(n14)=4.364 s
slp
7
L
n6
n14
0
5
10
15
n11 20
25
30
35
40
45
50
An example of joint routing and sleep scheduling solution.
nodes (π3 , π6 , π14 , π16 ) which run out of their battery energy earlier than the other nodes and limit the network lifetime. The routing paths across the bottleneck nodes are marked by solid lines and the other routing paths are marked by dotted lines. The nodes π3 and π14 serves as one-hop neighbors of the always-on gateway and no RTS transmission power is consumed when trying to transmission data packets to the gateway. Therefore π3 and π16 have much shorter sleep time than π16 in order to reduce π16 βs power consumption on RTS transmission at the cost of spending more idle listening power of π3 and π14 . On the other hand, since π6 does not serve as relay node and its sleep time does not affect the power consumption of any other node, we set its sleep time to the maximum allowed value which is 20 second in this example. The sleep time of π3 , π14 and π16 is decided to make the four bottleneck nodes have the same lifetime as marked in the figure. VI. C ONCLUSION AND F UTURE W ORK In this paper, we have studied network life time maximization of wireless sensor networks through joint routing and sleep scheduling. Optimal joint routing and sleep scheduling is known to be a difficult problem due to its non-convexity. We tackle the problem by transforming it into a special form of SP that only has inequality constraints. The problem is then solved through an IGP algorithm, where the non-convex problem is approximated by a standard GP in each iteration. It is proved that the IGP algorithm converges to a solution that satisfies the KKT conditions. Our work in this paper has demonstrated the importance of joint routing and sleep scheduling. The proposed IGP algorithm drastically outperforms the performance of optimal iterative separate routing and sleep scheduling method by an average of 29% over a large range of traffic rates. Compared with the traditional designs with optimal routing but fixed sleep scheduling, the proposed IGP algorithm prolongs the lifetime by an average of 284%. The proposed algorithm serves as a useful benchmark to evaluate practical heuristics that endeavor to maximize the network lifetime. Based on this work, one interesting future
[1] J.-H. Chang and L. Tassiulas, βMaximum lifetime routing in wireless sensor networks," IEEE/ACM Trans. Networking, vol. 12, no. 4, pp. 609-619, Aug. 2004. [2] W. Ye, J. Heidemann, and D. Estrin, βMedium access control with coordinated adaptive sleeping for wireless sensor networks," IEEE/ACM Trans. Networking, vol. 12, no. 6, pp. 493-506, June 2004. [3] V. Raghunathan and S. Ganeriwal, βEmerging techniques for long lived wireless sensor networks," IEEE Commun. Mag., vol. 44, no. 4, pp. 108-114, Apr. 2006. [4] J. Li and G. Alregib, βNetwork lifetime maximization for estimation in multihop wireless networks," IEEE Trans. Signal Process., vol. 57, no. 7, pp. 2456-2466, June 2009 [5] R. Madan and S. Lall, βDistributed algorithms for maximum lifetime routing in wireless sensor networks," IEEE Trans. Wireless Commun., vol. 5, no. 8, pp. 2185-2193, Aug. 2006. [6] R. Madan, S. Cui, S. Lall, and A. Goldsmith, βCross-layer design for lifetime maximization in interference-limited wireless sensor networks," IEEE Trans. Wireless Commun., vol. 5, no. 11, pp. 3142-3152, Nov. 2006. [7] J. C. Dagher, M. W. Marcellin, and M. A. Neifield, βA theory for maximizing the lifetime of sensor networks," IEEE Trans. Commun., vol. 55, no. 2, pp. 323-332, Feb. 2007. [8] S.-J. Kim, X. Wang, and M. Madihian, βDistributed joint routing and medium access control for lifetime maximization of wireless sensor networks," IEEE Trans. Wireless Commun., vol. 6, no. 7, pp. 2669-2677, July 2007. [9] M. Chiang, C. V. Tan, D. P. Palomar, D. OβNeill, and D. Julian, βPower control by geometric programming," IEEE Trans. Wireless Commun., vol. 6, no. 7, pp. 2640-2651, July 2007. [10] Y. T. Hou, Y. Shi, and H. D. Sherali, βRate allocation and network lifetime problems for wireless sensor networks," IEEE/ACM Trans. Networking, vol. 16, no. 2, pp. 321-334, Apr. 2008. [11] C. Hua and T.-S. Yum, βOptimal routing and data aggregation for maximizing lifetime of wireless sensor networks," IEEE/ACM Trans. Networking, vol. 16, no. 4, pp. 892-903, Aug. 2008. [12] H. Wang, Y. Yang, M. Ma, J. He, and X. Wang, βNetwork lifetime maximization with cross-layer design in wireless sensor networks," IEEE Trans. Wireless Commun., vol. 7, no. 10, pp. 3759-3768, Oct. 2008. [13] W. Ye, J. heidemann, and D. Estrin, βAn energy-efficient MAC protocol for wireless sensor networks," in Proc. IEEE INFOCOM, vol. 3, pp. 1567-1576, June 2002. [14] J. Polastre and D. Culler, βVersatile low power media access for wireless sensor networks," in Proc. ACM Conf. Embedded Netw. Sensor Syst., pp. 95 C107, Nov. 2004. [15] E.-T. A. Lin, J. M. Rabaey, and A. Wolisz, βPower-efficient rendezvous schemes for dense wireless sensor networks," in Proc. 2004 IEEE International Conf. on Commun., vol. 7, pp. 3769-3776, June 2004. [16] Q. Dong, βMaximizing system lifetime in wireless sensor networks," in Proc. International Conf. Inf. Process. Sensor Netw., pp. 13-19, Apr. 2005. [17] S. Chachra and M. Marefat, βDistributed algorithm for sleep scheduling in wireless sensor networks," in Proc. IEEE International Conf. Robotics Automation, pp. 3101-3107, May 2006. [18] R. Subramanian and F. Fekri, βSleep scheduling and lifetime maximization in sensor networksβfundamental limits and optimal solutions," in Proc. International Conf. Inf. Process. Sensor Netw., pp. 218-225, Apr. 2006. [19] E. Bulut and I. Korpeoglu, βDSSP: a dynamic sleep scheduling protocol for prolonging the lifetime of wireless sensor networks," in Proc. 21st International Conf. Advanced Inf. Netw. Applications Workshop, pp. 725-730, May 2007. [20] M. Avriel, Advances in Geometric Programming. Plenum Press, 1980.
LIU et al.: JOINT ROUTING AND SLEEP SCHEDULING FOR LIFETIME MAXIMIZATION OF WIRELESS SENSOR NETWORKS
[21] B. R. Marks and G. P. Wright, βA general inner approximation algorithm for nonconvex mathematical programs," Operations Research, vol. 26, no. 4, pp. 681-683, 1978. [22] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge University Press, 2004. Feng Liu received his Ph.D. degree in Electrical and Electronic Engineering from the Hong Kong University of Science and Technology, Hong Kong in 2009. Since Jul. 2009, he has been with the Hong Kong Applied Science and Technology Research Institute (ASTRI), where he is currently an senior engineer. His research interests cover energy efficient circuit, algorithm and system design for wireless networks.
Chi-Ying Tsui received his B.S. degree in Electrical Engineering from the University of Hong Kong and Ph.D. degree in Computer Engineering from the University of Southern California in 1994. He joined the Department of Electrical and Electronic Engineering, Hong Kong University of Science and Technology in 1994 and is currently an Associate Professor in the department. His research interests cover both VLSI design and system optimization. His current research includes designing low power multimedia architecture and wireless applications, developing power management circuits and techniques for embedded portable devices and ultra-low power systems. Dr. Tsui has published more than 140 referred technical journal and conference papers. He received the Best Paper Awards from the IEEE T RANSACTIONS ON VLSI S YSTEMS in 1995, IEEE/ACM ISLPED in 2007, and supervised the Best Student Paper Award of the 1999 IEEE ISCAS.
2267
Ying Jun (Angela) Zhang (Sβ00, Mβ05) received her PhD degree in Electrical and Electronic Engineering from the Hong Kong University of Science and Technology, Hong Kong in 2004. Since Jan. 2005, she has been with the Department of Information Engineering in The Chinese University of Hong Kong, where she is currently an assistant professor. Dr. Zhang is on the Editorial Boards of IEEE T RANSACTIONS OF W IRELESS C OMMUNICATIONS and Wiley Security and Communications Networks Journal. She has served as a TPC Co-Chair of Communication Theory Symposium of IEEE ICC 2009, Track Chair of ICCCN 2007, and Publicity Chair of IEEE MASS 2007. She has been serving as a Technical Program Committee Member for leading conferences including IEEE ICC, IEEE GLOBECOM, IEEE WCNC, IEEE ICCCAS, IWCMC, IEEE CCNC, IEEE ITW, IEEE MASS, MSN, ChinaCom, etc. Dr. Zhang is an IEEE Technical Activity Board GOLD Representative, 2008 IEEE GOLD Technical Conference Program Leader, IEEE Communication Society GOLD Coordinator, and a Member of IEEE Communication Society Member Relations Council (MRC). Her research interests include wireless communications and mobile networks, adaptive resource allocation, optimization in wireless networks, wireless LAN/MAN, broadband OFDM and multicarrier techniques, MIMO signal processing. As the only winner from Engineering Science, Dr. Zhang has won the Hong Kong Young Scientist Award 2006, conferred by the Hong Kong Institution of Science.