Joint Aggregation and MAC Design To Prolong Sensor Network Lifetime - ICNP 2013
Joint Aggregation and MAC Design To Prolong Sensor Network Lifetime - ICNP 2013
Joint Aggregation and MAC Design To Prolong Sensor Network Lifetime - ICNP 2013
I. I NTRODUCTION
A. Motivation
Extending the lifetime of sensor networks is critically
important when the networks are deployed for long-term
monitoring applications. Besides duty cycling, balancing nodal
lifetime is another major approach for network lifetime extension, because the network lifetime is often defined as the
minimal nodal lifetime among all nodes in the network [1]
[3]. Following this approach, a variety of duty-cycled MAC
protocols [4][6] and data aggregation schemes [7], [8] have
been proposed recently.
Duty-cycled sensor networks rely on MAC protocols to
establish rendezvous between sender and receiver nodes. The
incurred MAC-layer communication overhead is distributed
between sender and receiver in different manners with different MAC protocols. To balance nodal lifetime, the authors
of [4][6] proposed to adapt the distribution of communication
overhead among neighbors according to their nodal lifetime,
i.e., longer-lifetime nodes shall absorb more communication
overhead than their shorter-lifetime neighbors.
Through eliminating inherent redundancy in raw sensory
data, in-network data aggregation [9], [10] can effectively
reduce network traffic. For the sake of aggregation, a node
needs to hold data (received or self-generated) for a while.
Clearly, a node can suppress more data traffic with a longer
holding time. However, holding data introduces extra delay,
and the value of sensory data could be greatly depreciated
c
978-1-4799-1270-4/13/$31.00
2013
IEEE
of energy utilization in duty-cycled sensor networks by dynamically tuning the nodal wakeup interval. GDSIC [5] decides the
individual nodal wakeup interval through solving distributed
convex optimization problems. Though the network lifetime
can be prolonged by these schemes, they do not consider the
end-to-end delay bound. pTunes [11] is a recently-proposed
centralized solution, which formulates a multi-objective optimization problem, where prolonging network lifetime and
guaranteeing the end-to-end delay can be solved together.
Most of existing data aggregation schemes [12][16] have
the objective of minimizing the total network energy consumption instead of extending network lifetime, or do not consider
the end-to-end delay requirement. The problem of balancing
nodal lifetime under a delay constraint has been studied in [7],
[8]. Particularly, Becchetti et al. [8] investigated the problem
of energy-efficient data aggregation within a delay bound,
and proposed two distributed schemes to balance energy
consumption among sensor nodes. LBA [7] is a recentlyproposed lifetime-balancing aggregation protocol. Through
dynamically adjusting the aggregation holding time among
neighbors to balance their nodal lifetime, LBA provides a low
cost, asynchronous, and delay-constrained data aggregation
scheme for duty-cycled sensor networks.
C. Contributions
In this paper, we propose a novel holistic approach, called
JAM (Joint Aggregation and MAC), to jointly adjust MAC
and data aggregation behaviors to extend the sensor network
lifetime. The key idea of JAM is to coordinate the aggregation
and MAC behaviors at each individual node as well as between
neighbors, with the target of extending the minimal nodal
lifetime in the neighborhood. As such coordination occurs in
all neighborhoods, the network lifetime, i.e., the minimal nodal
lifetime among all nodes in the network, may be improved. As
JAM reduces both network traffic (via data aggregation) and
communication overhead (via duty-cycled MAC), it prolongs
the network lifetime more efficiently and effectively than
previous works that only use one of the two techniques. The
contributions of this work are summarized as follows.
To the best of our knowledge, JAM is the first design
on integrating and jointly configuring MAC and data
aggregation protocols to extend the lifetime of dutycycled sensor networks.
JAM is a distributed and lightweight solution. It works
through limited control information exchanged locally
between neighbors.
JAM has been implemented and evaluated on a sensor
network testbed, and results show that it can achieve
significant improvement on network lifetime compared
to the state-of-the-art solutions.
D. Organization
The rest of the paper is organized as follows. Section II
presents the system models and problem statement. Details
of the JAM design and implementation are described in Section III. Section IV shows the performance evaluation results
obtained from both ns-2 simulations and TinyOS testbed
experiments. Finally, Section 5 concludes the paper.
II. P ROBLEM D ESCRIPTION
A. System Models
We consider a sensor network deployed for monitoring applications where in-network data aggregation is allowed. Each
sensor node generates and reports sensory data periodically,
and all nodes form a data collection tree rooted at the sink.
Protocols like CTP (Collection Tree Protocol) [17] could be
used to build and maintain the data collection tree.
1) Aggregation Model: The total aggregation model [18]
is adopted, which allows an arbitrary number of data packets
generated and/or received at the same node to be suppressed
into a single data packet. Such a model is useful in many
sensor network applications, for example, when users are more
interested in the maximum, minimum, average, or percentile
statistics of sensory data, rather than the raw data themselves.
With this model, a source node may not send out a sensory
data packet immediately after it is generated. Instead, the
node may wait for a certain period of time (called the selfaggregation delay (SAD)), and aggregates all data generated
during the period to reduce the amount of data traffic to its
parent node. Similarly, a forwarding node may not forward
a data packet immediately after reception; it may wait for
another period of time (called the forwarding-aggregation
delay (FAD)) and aggregate all packets received during the
period. Generally, the longer time a node waits for aggregation,
the more data traffic can be suppressed; at the same time, data
delivery latency is increased.
2) MAC Model: To conserve energy without time synchronization overhead, it is desired to employ an asynchronous and
duty-cycled MAC protocol for long-term monitoring applications. The design principle of our proposed scheme does not
require a particular MAC protocol. Instead, our design works
compatibly with any asynchronous duty-cycled MAC protocol,
as long as the protocol allows a nodes duty cycle to be
adjusted dynamically. To simplify the presentation, however,
we assume each node runs an RI-MAC [19] like protocol as
shown in Figure 1.
In RI-MAC, each node wakes up every Tr interval to interact
with potential senders. Upon wakeup, it sends out a beacon and
then checks the channel activity for time. If a data packet is
received within , it replies with an ACK; otherwise, it goes
back to sleep. On the other hand, if a node has a data packet
to send, it remains awake and waits idly for the receivers
beacon to start data transmission. In the worst-case scenario,
the sender has to stay awake for Tr time before rendezvous
with the receiver, which incurs a transmission delay of Tr.
Different from the original RI-MAC protocol that has a fixed
Tr, we assume Tr is dynamically tunable. As can be observed,
a larger Tr reduces the receivers channel polling frequency
Data Arrival
Objective:
max
min
Beacon
Data
ACK
Beacon
Data
ACK
Radio on
j{i}C(i)
Beacon
Beacon
Sender
Receiver
SAD(i) +
Tr
Fig. 1.
Radio on
Radio off
(Tr(m) + FAD(m)) 6 D,
(Tr(m) + FAD(m)) = D.
(2)
mSi
SAD(i) +
(1)
mSi
Output:
is MAC protocol parameter: Tr(i);
is data aggregation parameters: SAD(i) and FAD(i).
The goal of this problem is to maximize the minimal nodal
lifetime in is neighborhood. As such procedure occurs in
all neighborhoods, the minimal nodal lifetime in the entire
network, i.e., the network lifetime, may be improved gradually.
III. T HE P ROPOSED JAM S CHEME
In this section, we propose a protocol called JAM to address
the problem defined above. In JAM, coordination only occurs
between a sensor node and its child nodes, through exchanging
lightweight control information as well as adjusting their
aggregation and MAC behaviors together in a collaborative
manner. Figure 2 gives an overview of the JAM scheme. To
ease the presentation, we use the topology shown in Figure 3
as an example to explain the design details of JAM.
JAM consists of four modules: Aggregator, OREM (Output
Rate Estimation Module), LEM (Lifetime Estimation Module),
and ICCM (Intra-node Cross-layer Collaboration Module). In
Data to
Parent
Send
Data Generator
Receive
Data from
Children
Aggregator
Children
Info
Control
Info
Parent
Info
ACK from
Parent
OREM
ICCM
LEM
JAM
Kernel
Control
Info
Receive
Data Path
Fig. 2.
Fig. 3.
ACK to
Children
Send
Control Path
JAM Overview.
(3)
mSi
P
With the four inputs: FAD(i), SAD(i), jC(i) (j), and
(i), OREM estimates the output data rate of node i according
to the three cases described in Section III-A as follows:
(i) =
FAD(i)
jC(i) (j) +
:
1
SAD(i)
:
:
1
P
jC(i) (j)
jC(i) (j)
6 FAD(i),
> FAD(i)
1
and (i)
6 SAD(i),
1
P
> FAD(i)
jC(i) (j)
1
> SAD(i).
and (i)
(4)
Note that a nodes input data rate is simply the sum of the
output data rates from all of its children.
C. Lifetime Estimation Module (LEM)
The LEM module is another module in the JAM kernel and
is used to estimate the nodal lifetime. Its input consists of
e(i), P
Tr(i), Tr(p) (i.e., Tr of node is parent node p), (i),
and jC(i) (j). Its output is the estimated nodal lifetime
L(i), which is computed as follows:
L(i) =
e(i)
,
c(i)
(5)
Tr(p)
+
2
(i)P +
P +
(j)P.
Tr(i)
(6)
jC(i)
(12)
(13)
E. JAM Kernel
D. Intra-node Cross-layer Collaboration Module (ICCM)
how node i shall split D (i) into Tr (i) and FAD (i),
so that the minimal nodal lifetime within node is neighborhood can be increased. Detailed working procedure of the JAM
kernel is illustrated in Figure 4 and explained below, while the
effect of W will be discussed in Section III-F3.
The JAM kernel of node i takes the following inputs: Tr(p)
and
P (p) from parent node p, and (j), SAD(j), D(j), and
kC(j) (k) from each child node j. Based on these inputs,
it checks the candidate values of from an ordered sequence
= h0, , , 2, 2, i one by one till the first feasible
value has been found to increase the minimal nodal lifetime
within node is neighborhood, or till all values in have
jC(i) (j)
been exhausted. Here, is a system parameter.
k
j To ensure
D(i)(p)
1
.
D
(i)
>
0,
the
smallest
element
in
is
set
to
(j)
jC(i)
Similarly,
to ensure
j
k D (j) > 0, the largest element in is set
1
minjC(i) D(j)
data rate is (i) =
according to Equation (4). In to
. For each candidate value of , the JAM
FAD(i)
order to achieve optimal nodal lifetime in this case, we need kernel executes the following:
+
+
,
(8)
each FAD (i) value, Tr (i) = D (i) FAD (i).
2
FAD(i)
Tr(i)
f (FAD(i)) =
+
.
(9)
D(i)
D(i)
1
P
q
q
n
o
1
updated, and the corresponding FAD (i) and Tr (i) values
max L (i | FAD(i) = D(i)) , L i FAD(i) = P
jC(i) (j)
L i FAD(i) < P
= L(i | FAD(i) = 0). (7)
Node
is info
k = 0, L = 0
D(i) = D(i) ( (p) )
D(i), FAD(i)
Child
js info
j C(i)>
FAD(i) = k
Tr(i) = D(i) - FAD(i)
SAD(j) = SAD(j) (FAD(i) - FAD(i)), j C(i)
k=k+1
FAD(i)
SAD(i),
(i)
, , + min{D(j)}/
SAD(j)
Tr(i)
SAD(j)
OREM
(j), e(j),
k C(j)(k)
ICCM
D(j)
'(i)
Tr(i)
e(i)
FAD*(j)
LEM
*(j)
Tr(p)
D(j)
D(j) = D(j)
OREM
(j),
k C(j)(k)
Tr(p)
L(i)
(p)
L*(j)
Parent
ps info
(p)
N
Parent
ps info
Is
Empty?
Fig. 4. JAM kernel of node i. With parent, children, and self information, node i decides a proper value so that L > max min{L(i), L(j), j Ci }.
The figure only shows the interactions between ICCM, OREM, and LEM modules for child node j of i. In the actual JAM implementation, these interactions
are executed for every child node of i.
SAD(3) = 10s
Tr(s) = 0s
FAD(s) = 0s
D(ss) = 0s
Tr(1) = 1s
FAD(1) = 4s
SAD(1) = 15s
D(1s) = 5s
2
Tr(2) = 1s
FAD(2) = 4s
SAD(1) = 10s
D(2s) = 10s
G. JAM Implementation
1) Software Component: We have implemented JAM in
TinyOS 2.1.0. As shown in Figure 6, the shaded parts illustrate
the core components of JAM in the software architecture: (i)
the aggregation component that sits between application and
routing layers, and (ii) the MAC component that is designed
based on RI-MAC [19]. CTP [17] is adopted as the routing
layer protocol to set up the data collection tree.
Application
SAD(4) = 5s
Receive
Send
FwdAggM
SelfAggM
JAMKernelM
NeighborMgmtM
Receive
Send
Routing
Send
Receive
MACControllerM
ReceiverM
SenderM
(14)
MACSchedulerM
mSi
RoutingInfo
Receive
PowerControl
Send
RadioCore
Fig. 6.
200
AVG
LBA
JAM
150
(h)
150
(h)
200
AVG
LBA
JAM
100
50
100
50
0
20
30
40
50
20
AVG
LBA
JAM
(mW)
(mW)
10
15
10
5
0
0
20
30
40
20
50
30
40
50
(c) Average nodal power consump- (d) Average nodal power consumption.
tion.
1
0.8
0.8
CDF
0.6
0.4
20s
30s
40s
50s
0
0
10
20
30
40
50
0.6
0.4
20s
30s
40s
50s
0.2
0
60
AVG
LBA
JAM
20
15
0.2
A. NS-2 Simulations
50
CDF
40
25
25
20
30
10
20
30
40
50
60
Fig. 8. Performance comparison under different end-to-end delay requirements. Number of nodes in the network is 60, and initial Tr is 1.5 s. Figures
on the left column are results when initial nodal energy is 4500 J while figures
on the right are results when initial nodal energy is a random value between
4500 (1 40%) J.
200
100
AVG
LBA
JAM
12
10
(mW)
150
(h)
14
AVG
LBA
JAM
200
14
AVG
LBA
JAM
AVG
LBA
JAM
12
10
(mW)
150
(h)
100
8
6
4
50
2
0
0
40
60
80
100
40
60
node number
80
100
node number
Fig. 10. Performance comparison under different network densities. Endto-end delay requirement is 40 s, initial Tr is 1.5 s, and initial nodal energy
level is a random value between 4500 (1 40%) J.
8
6
4
50
2
0
0
0
0.2
0.4
0.6
0.2
0.4
0.6
10
12
4
19
26
11
1
0
13
Fig. 9. Performance comparison under different initial nodal energy heterogeneity levels. Number of nodes in the network is 60, end-to-end delay
requirement is 40 s, and initial Tr is 1.5 s.
28
17
15
16
24
14
21
18
29
With AVG, as Tr and FAD are not adjusted at runtime, network lifetime is bounded by the initial minimal-lifetime node.
As the initial energy distribution becomes more and more
heterogeneous (i.e., increases), network lifetime achieved by
AVG drops quickly. On the other hand, both LBA and JAM redistribute the end-to-end delay so that energy bottleneck nodes
could be saved by other high-energy nodes along the same
route and hence yield a significantly longer network lifetime.
As a larger demands more re-distribution efforts, the network
lifetime drops as well with LBA and JAM. However, as all
the nodes along the route absorb this effect collaboratively,
the network lifetime drops less quickly. For example, network
lifetime drops 21% with JAM when increases from 0% to
60%, in comparison to 46% with AVG. Finally, thanks to the
joint MAC and aggregation design, JAM yields a consistently
70% longer network lifetime than LBA under different
values.
3) Performance under Different Densities: As shown in
Figure 10, JAM always yields a significantly longer network
lifetime than other schemes, regardless of the network density.
It is interesting to see (in Figure 10(b)) that the average
nodal power consumption decreases as the network density
increases. This is because, with a higher network density and
consequently a higher node degree on average, a source node
may reach the sink via a shorter path. This means less nodes
are involved in the path and the overall energy consumption
is thus reduced.
B. Testbed Experiments
We set up a testbed network of 32 TelosB motes, forming a
fixed tree topology shown in Figure 11. All nodes are sources,
and the data generation interval is uniformly distributed between 0.8 and 1.2 s. The default Tr value is 1.5 s, and the
end-to-end delay requirement varies between 20 s and 40 s.
20
30
31
Fig. 11.
25
23
22
27
AVG
LBA
JAM
6
(h)
6
(h)
AVG
LBA
JAM
4
2
ACKNOWLEDGMENT
This work is supported partly by the NSF under grants CNS0831874 and EECS-1128312, and by the ONR under grant
N00014-09-1-0748.
0
20
30
40
20
30
40
40
30
AVG
LBA
JAM
40
(mW)
(mW)
20
10
30
20
10
0
20
30
40
20
30
40
(c) Average nodal power consump- (d) Average nodal power consumption.
tion.
(h)
node 16
node 21
0.2
node 24
0.5
Time (h)
(s)
0.2
0.5
(s)
0.2
0.5
V. C ONCLUSIONS
AND
F UTURE W ORK
R EFERENCES
[1] W. Wang, V. Srinivasan, and K. C. Chua, Using Mobile Relays to
Prolong the Lifetime of Wireless Sensor Networks, in MobiCom, 2005.
[2] J. Chang and L. Tassiulas, Energy Conserving Routing in Wireless
Ad-hoc Networks, in INFOCOM, 2000.
[3] , Maximum Lifetime Routing in Wireless Sensor Networks,
IEEE/ACM Trans. Netw., 2004.
[4] R. Braynard, A. Silberstein, and C. Ellis, Extending Network Lifetime
Using an Automatically Tuned Energy-Aware MAC Protocol, in EWSN,
2006.
[5] Z. Li, M. Li, and Y. Liu, Towards Energy-Fairness in Asynchronous
Duty-Cycling Sensor Networks, in INFOCOM, 2012.
[6] A. Meier, M. Woehrle, M. Zimmerling, and L. Thiele, ZeroCal:
Automatic MAC Protocol Calibration, in DCOSS, 2010.
[7] Z. Li, Y. Peng, D. Qiao, and W. Zhang, LBA: Lifetime Balanced Data
Aggregation in Low Duty Cycle Sensor Networks, in INFOCOM, 2012.
[8] L. Becchetti, A. Marchetti-Spaccamela, A. Vitaletti, P. Korteweg,
M. Skutella, and L. Stougie, Latency-Constrained Aggregation in
Sensor Networks, ACM Trans. Algorithms, 2009.
[9] S. R. Madden, M. J. Franklin, J. M. Hellerstein, and W. Hong, TinyDB:
An Acquisitional Query Processing System for Sensor Networks, ACM
Trans. Database Syst, 2005.
[10] R. Kumar, M. Wolenetz, B. Agarwalla, J. Shin, P. Hutto, A. Paul, and
U. Ramachandran, DFuse: a Framework for Distributed Data Fusion,
in SenSys, 2003.
[11] M. Zimmerling, F. Ferrari, L. Mottola, T. Voigt, and L. Thiele, pTunes:
Runtime Parameter Adaptation for Low-Power MAC Protocols, in
IPSN, 2012.
[12] Q. Xiang, J. Xu, X. Liu, H. Zhang, and L. Rittle, When In-Network
Processing Meets Time: Complexity and Effects of Joint Optimization
in Wireless Sensor Networks, in RTSS, 2009.
[13] Z. Ye, A. Abouzeid, and J. Ai, Optimal Policies for Distributed Data
Aggregation in Wireless Sensor Networks, in INFOCOM, 2007.
[14] J. Zhang, X. Jia, and G. Xing, Real-time Data Aggregation in
Contention-based Wireless Sensor Networks, ACM Trans. Sen. Netw.,
2010.
[15] C. Hua and T.-S. P. Yum, Optimal Routing and Data Aggregation
for Maximizing Lifetime of Wireless Sensor Networks, IEEE/ACM
Transactions on Networking, vol. 16, no. 4, pp. 892 903, 2008.
[16] L. Xiang, J. Luo, and A. V. Vasilakos, Compressed Data Aggregation
for Energy Efficient Wireless Sensor Networks, in SECON, 2011.
[17] O. Gnawali, R. Fonseca, K. Jamieson, D. Moss, and P. Levis, Collection
Tree Protocol, in SenSys, 2009.
[18] S. F. Madden, M. J. Hellerstein, and W. J. M. Hong, TAG: A Tiny
AGgregation Service for Ad-Hoc Sensor Networks, in OPERATING
SYSTEMS REVIEW, 2002, VOL 36.
[19] Y. Sun, O. Gurewitz and D. Johnson, RI-MAC: a receiver-initiated
asynchronous duty cycle MAC protocol for dynamic traffic loads in
wireless sensor networks, in SenSys, 2008.
[20] Online Link, http://www.allaboutbatteries.com/Energy-tables.html.