Energy Latency 4 Data
Energy Latency 4 Data
Abstract— We study the problem of scheduling packet trans- is due to data gathering, it is crucial to design energy-efficient
missions for data gathering in wireless sensor networks. The focus communication strategies in implementing such an operation.
is to explore the energy-latency tradeoffs in wireless communi- One useful approach for energy-efficient communication is
cation using techniques such as modulation scaling. The data
aggregation tree – a multiple-source single-sink communication to explore the energy-latency tradeoffs. An important obser-
paradigm – is employed for abstracting the packet flow. We vation in [4] is that in many channel coding schemes, the
consider a real-time scenario where the data gathering must transmission energy can be significantly reduced by lowering
be performed within a specified latency constraint. We present transmission power and increasing the duration of transmis-
algorithms to minimize the overall energy dissipation of the sion. Techniques such as modulation scaling [5] have been
sensor nodes in the aggregation tree subject to the latency
constraint. For the off-line problem, we propose (a) a numerical proposed for implementing such tradeoffs.
algorithm for the optimal solution, and (b) a pseudo-polynomial In this paper, we explore the above tradeoffs in the context
time approximation algorithm based on dynamic programming. of data gathering in WSNs, subject to application level perfor-
We also discuss techniques for handling interference among mance constraints. We consider a real time scenario where the
the sensor nodes. Simulations have been conducted for both raw data gathered from the source nodes must be aggregated
long-range communication and short-range communication. The
simulation results show that compared with the classic shut- and transmitted to the sink within a specified latency con-
down technique, between 20% to 90% energy savings can be straint. Our technique is applicable to any given aggregation
achieved by our techniques, under different settings of several function. The objective function is to minimize the overall
key system parameters. We also develop an on-line distributed energy dissipation of the sensor nodes in the aggregation tree
protocol that relies only on the local information available at each subject to the latency constraint. Compared with [4], [6], we
sensor node within the aggregation tree. Simulation results show
that between 15% to 90% energy conservation can be achieved use a more general and accurate energy model for abstracting
by the on-line protocol. The adaptability of the protocol with the energy characteristics for packet transmission in WSNs.
respect to variations in the packet size and latency constraint is Specifically, the transmission energy does not monotonically
also demonstrated through several run-time scenarios. decrease as the transmission time increases – the transmission
Index terms – System design, Mathematical optimization energy may increase when the transmission time exceeds some
threshold value [7]. We refer to the above general model as
the non-monotonic energy model.
I. I NTRODUCTION
For the off-line version of the problem, we present (a) a
In many applications of wireless sensor networks numerical algorithm for the optimal solution, and (b) a pseudo-
(WSNs) [1], data gathering is a critical operation needed polynomial time approximation algorithm based on dynamic
for extracting useful information from the operating environ- programming. We also discuss techniques for handling in-
ment. Recent studies [2], [3] show that data aggregation is terference. Simulations were conducted for both long-range
particularly useful in eliminating the data redundancy and communication (with radius around 32 m) and short-range
reducing the communication load. Typical communication communication (with radius around 7 m). The simulation
patterns in data aggregation involve multiple data sources and results from the scenarios we studied show that compared with
one data sink (or recipient). Thus, the corresponding packet the classic technique that transmits the packets at the highest
flow resembles a reverse-multicast structure, which is called speed and shut down the radio afterwards, between 20% to
the data aggregation tree. 90% energy savings can be achieved by our techniques, under
Energy-efficiency is a key concern in WSNs. The large different settings of several key system parameters. We also
number of sensor nodes involved in such networks and the develop an on-line distributed protocol that needs only local
need to operate over a long period of time require careful information of the aggregation tree. Simulation results show
management of the energy resources. In addition, wireless that between 15% to 90% energy conservation can be achieved
communication is a major source of power consumption. by the on-line protocol. The adaptability of the protocol is also
Since a significant portion of the communication in WSNs demonstrated through several run-time scenarios.
This work is supported by NSF under grant IIS-0330445 and by an ITR Related work: The most relevant works include [4]–[6], [8],
grant under award number 0325875. [9]. The problem of minimizing the energy dissipation for
Section II.
A schedule of packet transmission is defined as a vector
1
τ = {τi : i = 1, . . . , n − 1}, where τi is the time duration for
b=6
packet transmission over link (i, j). Since a sensor node can
0.5 transmit its packet only after receiving all input packets from
b=4
b=2 its children, the start time of each transmission is implicitly
determined by τ . The transmission latency
of a path, pi , is
0
1 2 3 4 5 denoted as Li and calculated as Li = j:Vj ∈pi τj . A schedule
transmission time duration (Sec) −7
x 10 is feasible if for each pi ∈ T , we have Li ≤ Γ.
Our goal is to improve the energy-efficiency of the system.
Fig. 1. Energy-latency tradeoffs for transmitting one bit data
Various objective functions can be developed for interpreting
energy-efficiency. For ease of analysis, the objective function
III. PACKET T RANSMISSION P ROBLEM OVER DATA defined in this paper is the overall energy dissipation of the
AGGREGATION T REES sensor nodes in the aggregation tree.
A. Data Aggregation Tree Let wi (τ ) denote the energy function of sensor node Vi ,
with mi denoting the value of τ ∈ (0, T ] when wi (·) is
Let T = (V, E) denote the data aggregation tree, where V
minimized. Moreover, by assuming a first order energy model,
denotes the set of n sensor nodes, {Vi : i = 1, . . . , n}, and
the reception energy can be modeled by doubling the value
E denotes the set of directed communication links between
of F in equation (3). Thus, we state the packet transmission
the sensor nodes. Let M denote the number of leaf nodes in
problem (called PTP) as follows:
the tree. Without loss of generality, we assume that the sensor
Given:
nodes are indexed in the topological order with V1 , . . . , VM
a. a data aggregation tree T consisting of n sensor nodes,
denoting the M leaf nodes and Vn denoting the sink node.
b. energy functions for each link (i, j) ∈ E, wi (τ ), and
Every link in E is represented as a tuple (i, j), meaning that
c. the latency constraint, Γ;
a packet, denoted as Pi , needs to be transmitted from Vi to
find a schedule of packet transmission, τ , so as to minimize
Vj . Let si denote the size of Pi .
Raw data is generated by a set of source nodes from V
n−1
(not necessarily leaf nodes). Data aggregation is performed f (τ ) = wi (τi ) (6)
by any non-sink and non-leaf node (called an internal node i=1
(MPR) techniques [16]. We further elaborate this issue in extended MoveRight algorithm (EMR-Algo) is shown in Fig-
Section IV-C. ure 2. In the figure, τik denotes the value of τi after the k-
th iteration. Initially, we set the starting time for all packet
IV. O FF - LINE A LGORITHMS FOR PTP transmission to zero – the transmission time for all the links
to the sink is set to min{Γ, mi }, while the transmission time
In this section, we consider an off-line version of PTP for the rest links is set to 0 (Steps 2 and 3). The main idea
(called OPTP) by assuming that the structure of the aggre- is to iteratively increase (move right) the starting times of
gation tree and the energy functions for all sensor nodes packet transmissions, so that each move locally optimizes our
are known a priori. We first describe an extension of the objective function. Finally, this iterative local optimization
MoveRight algorithm [6] to get an optimal solution for OPTP. leads to a globally optimal solution.
A faster dynamic programming based approximation algorithm The best(·) function returns the transmission durations for
is then presented. Techniques for handling interference are also node Vi and its children, such that Lemma 1 holds for Vi with
discussed. respect to the invariant that τik ≤ mi . Since the value of τik
must lie within (0, τik−1 ], the best(·) function can be easily
A. A Numerical Optimization Algorithm implemented using binary search. Step 10 is important as it
moves right the complete time of transmissions on links to the
Since we must have τi ≤ mi in an optimal solution to sink. This movement stops when the latency constraint of all
OPTP, the latency of a path does not necessarily equal Γ. We paths is reached.
show the following necessary and sufficient condition for the The proposed EMR-Algo is distinguished from the
optimality of the OPTP problem. MoveRight algorithm in two key respects. (recall the differ-
Lemma 1: A schedule, τ∗ , is optimal for OPTP iff ences between our problem and the one defined in [6]). (1) The
1) for any node Vi with τi∗ < mi , the length of at least one best(·) function respects Lemma 1 regarding the optimality of
path that contains Vi equals Γ; and OPTP in a tree structure. (2) The transmission time for any
2) for any internal node, Vi , we have Vi ∈ V is bounded by mi , enforced by lines 2, 8 and 10.
The correctness of EMR-Algo can be proved by exploring
ẇi (τi∗ ) = ẇj (τj∗ ) . (8) the convexity property of the energy functions. Let τ∗ =
(j,i)∈E
{τ1∗ , . . . , τn−1
∗
} be the optimal schedule. Let s∗i = 0, for
Corollary 1: Consider an optimal schedule, τ∗ , for OPTP; i = 1, . . . , M ; and s∗i = max(j,i)∈E (s∗j + τj∗ ), for i =
the following hold: M +1, . . . , n−1. As previously stated, {τ1k , . . . , τn−1
k
} indicate
1) If τi∗ = mi for some Vi ∈ V , we have τj∗ = mj for all the transmission time of nodes V1 , . . . , Vn−1 after the k-th
sensor nodes in Ti . pass of EMR-Algo. Let ski = 0, for i = 1, . . . , M , and
2) If τi∗ < mi for some Vi ∈ V , we have τj∗ < mj for all ski = max(j,i)∈E (skj + τjk ), for i = M, . . . , n − 1. We have:
ancestors of Vi . Theorem 1: Let ski and s∗i , i = 1, . . . , n − 1 be as defined
Due to space limitations, the proof of Lemma 1 and Corol- above. Then
lary 1 is omitted in this paper. Details of the proof can be
1) ski ≤ sk+1
i ;
found in [17].
2) ski ≤ s∗i ; and
In this section, we extend the MoveRight algorithm from [6]
to solve OPTP in a general-structured aggregation tree with 3) s∞i = si .
∗
non-monotonic energy functions. The pseudo code for the The proof of Theorem 1 is presented in Appendix I.
g(V1, 3ε)
B. A Dynamic Programming Based Approximation Algorithm
2ε g(V1, 2ε)
For ease of analysis, we assume that for each sensor node, D ε g(V1, ε) g(V2, ε) g(Vi, ε) g(Vn, ε)
discrete values are evenly distributed over [0, Γ] in the domain
of τ . Let ε be the difference between two adjacent values. That V1 V2 Vi Vn
Γ
is ε = D . Hereafter, D is called the approximation accuracy. Fig. 3. The g(·) table computed by DP-Algo
Higher value of D leads to a more accurate approximation
of the energy function. By changing D, we can explore the
tradeoffs between the quality of the solution and the time cost τi that can be achieved by an available modulation level. We
of the algorithm. call the above method the rounding procedure.
Let g(Vi , t) denote the minimal overall energy dissipation
of a subtree Ti rooted at Vi within latency constraint t. The C. Handling Interference
original OPTP problem can be expressed as g(Vn , Γ). It is The definition of OPTP implicitly assumes that there is
clear that for any sensor node Vi , g(Vi , t) can be computed as no interference among the sensor nodes. Such an assumption
the sum of (a) the energy dissipation for packet transmission can be realized by using MAC layer scheduling or multi-
by the children of Vi , and (b) the energy dissipated by packet reception (MPR) through spatial, time, frequency, or
transmitting packets within the subtrees rooted at each child of code diversity [16]. However, use of such techniques may
Vi . Additionally, the packet transmission time from any child increase the hardware cost of the sensor nodes. In case the
of Vi can take εt values, namely ε, 2ε, . . . , t. Therefore, we above techniques are not available, one possible way for han-
have the following recursive representation of g(Vi , t): dling interference is to intentionally set the latency constraint
imposed on OPTP to be less than the actual constraint. The
wi (t), for 1 ≤ i ≤ M preserved laxity can then be used for accommodating the back-
t
ε off time of the sensor nodes when collision occurs.
g(Vi , t) = (min{wk (jε) + g(Vk , t − jε)}), (9) A more systematic way is to carefully schedule the transmis-
j=1
(k,i)∈E sion of sensor nodes that can potentially interfere (or simply
otherwise. interfere) with each other. The goal is to ensure that the
The above representation is suitable for a dynamic program- corresponding time periods for a group of interfering sensor
ming based algorithm (DP-Algo for short). DP-Algo can be nodes do not overlap with each other. Intuitively, children of
viewed as a procedure to build a table of size D×n (Figure 3). a sensor node are interfering – they cannot send packets to
The i-th column from the left side corresponds to sensor node the parent at the same time. In the following, we describe
Vi , while the j-th row from bottom-up corresponds to jε. After a modified DP-Algo under the hypothesis that any group of
the execution of DP-Algo, the cell crossed by the j-th row and interfering sensor nodes are children of the same node. Such
the i-th column shall contain the value of g(Vi , jε). a hypothesis can be supported by carefully reconstructing the
To build the table, we start from the bottom left cell aggregation tree (refer to Appendix II for details).
that contains g(V1 , ε) = w1 (ε). The table is then completed To solve OPTP with the above interference restriction is
column by column, from left to right. To calculate the value actually non-trivial, as for any sensor node, the order of packet
of g(Vi , jε) for i > M , we need to compare, for each child of transmission from its children matters – the child that transmits
Vi , j different values by varying the packet transmission time earlier has a larger latency constraint over the subtree rooted
of the child. Therefore, the time cost for building up the table at the child. Our basic idea is to divide the latency constraint
is O(( Γε )2 (|V | + |E|), which is pseudo-polynomial due to the over any subtree Ti (rooted at Vi ) into two consecutive parts.
factor Γ2 . We schedule the packet transmission in the subtrees rooted at
A Special Case for Modulation Scaling: In practice, the each child of Vi with respect to the first part of the latency
modulation levels are typically set to positive even integers. constraint. The packets transmitted to Vi from its children are
Based on equation (2), it can be verified that the τi ’s resulted then scheduled in the second part. Hence, the order of packet
from different modulation levels are not evenly distributed transmission in the second part has no effects on the packet
among [0, Γ]. Thus, DP-Algo cannot be directly applied. scheduling in the first part. The optimal division of the latency
However, one practical method is to, for each i, set τi obtained constraint over Ti can be found using dynamic programming
by EMR-Algo or DP-Algo to the largest time duration below with the following recursive representation of g(Vi , t):
80
energy conservation (%)
80
energy conservation (%)
80
short−range
40 short−range
40
N=10
20 N=20
N=30 20 DP−Algo
DP−IA
0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0
normalized latency constraint 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
normalized latency constraint
Fig. 7. Energy conservation versus normalized latency constraint and number
of sources N (connectivity parameter ρ = 0.15, approximation accuracy Fig. 9. Performance of the DP-IA algorithm (connectivity parameter R =
D = 100, aggregation factor k = 0.7) 0.15, aggregation factor k = 0.7, number of sources N = 20)
ρ=0.1 80
energy conservation (%)
20
ρ=0.2
ρ=0.3 EMR−Algo
60 DP−Algo (D=100)
MS (D = 100)
0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
normalized latency constraint 40
energy (J)
baseline
0.5
60
short−range 0
0 1 2 3 4
40
−3 time (Sec)
x 10
k=0.3 constraint
latency (Sec)
20 k=0.65 1.5
actual
k=1.0 baseline
0 1
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
normalized latency constraint
0.7
0 1 2 3 4
Fig. 11. Performance of the on-line protocol versus normalized latency time (Sec)
constraint and aggregation factor k (connectivity parameter ρ = 0.15, number
of sources N = 20)
(a) Scenario A
2 actual
in the off-line algorithms. Surprisingly, the on-line protocol
baseline
actually outperforms the modulation scaling case (MS) shown
in Figure 5, implying a large performance degradation of the 1