Professional Documents
Culture Documents
Received November 4, 2016, accepted November 28, 2011, date of publication December 28, 2016, date of current
version March 2, 2017.
Digital Object Identifier 10.1109/ACCESS.2016.2644607
ABSTRACT Wireless sensor networks (WSNs) are autonomous networks of spatially distributed sensor
nodes that are capable of wirelessly communicating with each other in a multihop fashion. Among different
metrics, network lifetime and utility, and energy consumption in terms of carbon footprint are key parameters
that determine the performance of such a network and entail a sophisticated design at different abstraction
levels. In this paper, wireless energy harvesting (WEH), wake-up radio (WUR) scheme, and error control
coding (ECC) are investigated as enabling solutions to enhance the performance of WSNs while reducing
its carbon footprint. Specifically, a utility-lifetime maximization problem incorporating WEH, WUR, and
ECC, is formulated and solved using distributed dual subgradient algorithm based on the Lagrange multiplier
method. Discussion and verification through simulation results show how the proposed solutions improve
network utility, prolong the lifetime, and pave the way for a greener WSN by reducing its carbon footprint.
INDEX TERMS Green wireless sensor network (GWSN), wireless energy harvesting (WEH), wake-up
radio (WUR), error control coding (ECC), subgradient algorithm.
I. INTRODUCTION operation are curtailed [1]. Moreover, the sensor devices that
Wireless Sensor Networks (WSNs) is a smart and intelli- are farther from sink nodes or that work as relay node are
gent infrastructure of uniquely identifiable devices capable drained quickly of their battery and may negatively affect
of wirelessly communicating with each other through the the overall system performance. The Information and Com-
Internet. Its technologies are used to monitor many aspects of munication Technologies (ICT) is currently responsible for
a city in real time. For example, the networked heterogeneous 2 to 4 % of the current total carbon emissions or footprint [2].
devices connected in a smart structure are typically equipped In the future, as the plethora of smart devices connected to
with sensors, sink nodes, wireless transceivers, cloud servers each other utilizing WSNs will be deployed, the carbon foot-
and finite battery supply to monitor and send/receive data. print is going to increase manyfold and will be responsible
With the development of Internet-of-Things (IoT), a wide for a larger percentage of carbon emissions [2]. The current
range of intelligent and tiny wireless sensing devices have systems are not equipped to deal with this issue. Hence, it
been massively deployed in a variety of application envi- is necessary to analyze the system lifetime by minimizing
ronments such as home automation, healthcare, surveillance, its total energy consumption and carbon footprint without
transportation, smart environments and many more. degrading the desired application performance and reliability
Although the WSN systems possess tremendous potential constraints. Motivated by the emerging concept of Green
but there are many dominant barriers in implementing such Wireless Sensor Network (GWSN) in which the lifetime and
a grandiose scheme. For example, the limited battery capac- throughput performance of the system is maximized while
ity, on-chip memory and small transmit power, the lifetime minimizing the carbon footprints, our goal is to build an
of sensor devices, its processing capability and range of sustainable WSN system by supplying adequate energy to
2169-3536
2016 IEEE. Translations and content mining are permitted for academic research only.
VOLUME 5, 2017 Personal use is also permitted, but republication/redistribution requires IEEE permission. 501
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
C. Mahapatra et al.: Optimal Power Control in Green WSNs With WEH, WUR, and Transmission Control
improve the system lifetime and providing reliable/robust in the form of transmitted energy (TV/radio broadcasters,
transmission without compromising overall quality of mobile base stations and hand-held radios), low cost, and
service. small form factor implementation. Recently, dynamics of
traffic and energy replenishment incorporated in the network
II. PRIOR RELATED WORKS, MOTIVATION power model has been an active research topic. Some of
AND CONTRIBUTION the challenges are addressed by [17], [18], and [19]. They
Optimization methods have been extensively used in previ- assume battery energy to be zero at start, which may not be
ous research works to solve for network lifetime of wire- practical for many application scenarios that has sensors with
less sensor networks. Network lifetime maximization with rechargeable batteries. challenges caused by packet loss due
flow rate constraint have been studied in many prior works. to interference has also not been addressed.
Kelly et al. was the first to propose two classes of distributed Green networking of late in the past four to five years
rate control algorithms for communication networks [3]. has attracted a lot of attention. Koutitas [20] has analyzed a
Madan and Lall [4] solved the lifetime maximization problem maximization problem based on carbon footprints generated
with a distributed algorithm using the subgradient method. in terrestrial broadcasting networks. Naeem et al. [21] have
Ehsan et al. [5] propose an energy and cross-layer aware maximized the data rate while minimizing the CO2 emissions
routing schemes for multichannel access WSNs that account in cognitive sensor networks. But it is yet to be seen how
for radio, MAC contention, and network constraints, to much carbon emissions can be minimized while maximizing
maximize the network lifetime. But, the problems formu- the utility and lifetime with reliability and energy harvesting
lated and solved in all these approaches neither does take constraints.
into account a proper energy model incorporating all the In this paper, we formulate and solve a joint maximization
transceiver resources nor it involves the application perfor- problem of system performance (measured by data utiliza-
mance trade-off due to increase in lifetime by decreasing rate tion) and lifetime for wireless sensor network. The packet
flows. loss and data utilizations are incorporated to provide a more
System utility and network lifetime are problems that are realistic data loss and utilization model for the WSN system.
related to each other in a reciprocal relationship meaning As energy is scarce resource for a WSN system, energy
maximizing one will degrade the other. Chen et al. [6] ana- harvesting is adapted in the system model to increase its
lyzed the utility-lifetime trade-off in wireless sensor network lifetime. We model the harvesting as a stochastically varying.
for flow constraints. He et al. [7] followed a cross-layer Contrary to articles [17], [18], and [19], our model assumes
design approach. Both of these papers take transmission rate that the battery starts with a initial energy and the network
as the sole indicator of the system throughput, which is operations has to be sustained using harvesting and wake
not true as the reliability plays a vital role in determining up radio (WUR), using harvesting from ambient RF energy
the system performance. Reliability in the system can be rather than using a solar energy harvester which needs extra
improved by introducing error control schemes into the sen- circuitry. The overall problem throws challenges in finding an
sor nodes with multipath routing introduced by lun et al. [8]. optimal solution as the time-variation combined with retrans-
Yu et al. [9] analyses the automatic repeat request (ARQ) as missions, packet loss and harvesting makes it complex. We,
well as a hybrid ARQ scheme for WSNs. The ARQ scheme then provide a distributed solution to the problem by solving
requires re-transmission if there is a failure of packet delivery the data-utility and network lifetime separately. Our major
which increases energy consumption of node. Xu et al. [10] contributions are summarized as follows:
describes a rate-reliability and lifetime trade-off for WSNs (1) We formulate the data-utility lifetime trade-off problem
by taking theoritical end to end error probability of packets. by taking an approximated lifetime function as well as the
Similarly, Zou et al. [11] has taken a joint lifetime-utility- energy harversting, wake up radio duty cycling and retrans-
rate-reliability approach for WSNs taking a generic error missions into the utility function.
coding processing power model. Both [10] and [11] lack the (2) We propose a redundant residue number system
inclusion and analysis of an error control scheme with their based error correcting technique and compare it with ARQ
encoding/decoding powers as well as the delay performance and Bose-Chaudhuri-Hocquenghem (BCH). Innovatively,
of the overall system with error correction employed. the packet error rate and delay are being included
Energy harvesting is proposed as a possible method to while computing lifetime and performance of the sensor
improve the network lifetime and rechargeable batteries in network.
WSNs by He et al. [12], Magno et al. [13], Deng et al. [14] (3) We show how the energy harvesting and error control
and Kamalinejad et al. [15]. Practically, energy can be har- coding can jointly reduce carbon footprints generated per
vested from the environmental sources, namely, thermal, year and make the network green.
solar, vibration, and wireless radio-frequency (RF) energy As per the best knowledge of the author, this is the first
sources [16]. While harvesting from the aforementioned envi- paper that incorporates wireless energy harvesting and error
ronmental sources is dependent on the presence of the cor- control coding into the power model of the objective function.
responding energy source, RF energy harvesting provides The rest of this paper is organized as follows. Section II
key benefits in terms of being wireless, readily available presents the prior works. System model formulation is
described in Section III. Section IV describes our error TABLE 1. Notations used in the paper.
control coding based data transmission control. In Section V,
we propose the WEH and WUR schemes for WSN system.
In Section VI, we formulate the joint utility-lifetime trade-
off problem and formulate a distributed solution based on
subgradient method. Section VII shows our simulation plots
followed by conclusion in Section VIII.
(processing energy per bit per slot) and ESN (t) (sensing the packet error rate of the ARQ scheme is given by
energy per bit per time slot). Let, EB (t) ≥ 0 is the total residual
energy left in a sensor node operated by battery at time slot t. PARQ
e = 1 − (1 − Pb )LP (4)
The power consumption in a time slot t is modeled as where LP is the packet length of the payload transmitted in
a single transmission, Pb is the bit error rate. Pb for sensor
X X
Pi (t) = rij (t)ETX (t)+ rji (t)ERX (t)
i∈N ,j∈Ni i∈N ,j∈Ni
nodes in IEEE 802.15.4 is given in [24].
X X
+ Rij (t)EPR (t) + Rij (t)ESN (t) (2) 2) ANALYSIS OF PACKET ERROR IN ECC SCHEMES
i∈N ,j∈Ni i∈N ,j∈Ni
Let us assume that we use a (n, k, e) e-error control method
From the communication energy model in [4], we modify our with n − k redundant bits appended to the k-data bits. We
transmitter energy for transmitting one bit of data from i∈N further assume that the transmission of the packets between
to j∈Ni across distance d as the sensor node and sink node is in bursts of n-bit data.
γ
Therefore, the packet loss rate at the sink node is given as
ETX = a1 + a2 · dij (3) l m
LP
n k
Where γ is the path loss exponent varying from γ ∈[2, 6],
X n i
a1 and a2 are constants depending on the characteristics of PECC
e = 1 − 1 − Pb (1 − Pb )n−i (5)
i
i=e+1
the transceiver circuit.
Where d.e is the ceiling function. We assume that due to
IV. PACKET LOSS AND DATA RE-TRANSMISSION poor channel conditions and interference, when a packet is
A fundamental approach to reduce the packet loss is nec- unsuccessful in reaching its destination, it is counted as loss
essary to be integrated together with upper layer protocols of packet and a re-transmission is required. The packet is
to deliver reliable WSN management in an interfering envi- assumed to be successfully delivered when the acknowledge-
ronment. As often as the packets are failed to be delivered ment (ACK) for the delivery is received. Thus it takes one
to the sink node, the re-transmission consumes extra energy complete trip for the packet to be assured as successfully
from the battery source of the sensor node, thereby decreasing delivered.
its lifetime substantially. We assume a TDMA based MAC Lemma 1: Let Pe be the probability of an event where the
protocol where retransmission occurs till time-out after which packet is lost in being delivered from sensor to sink or the
the packet is dropped. The packet loss is dependent on the ACK failed to reach the sensor from sink. Thus, for a single
data traffic. We propose to use the approach of Error Cor- hop the expected number of re-transmissions is given by
rection Coding (ECC) to improve transmission reliability.
1
ECC adds redundancy to improve the transmission reliability E(Tr) = (6)
thereby reducing the efficiency, it is still a more preferable (1 − Pe )
solution, because it helps to improve both reliability and Where, Pe is the packet loss rate of ARQ or ECC schemes.
latency. In this paper, we describe a error coding scheme Accordingly, packet loss rate for end-to-end in a h-hop sce-
on the theoretical basis of Redundant residue number sys- nario assuming each node transmission is independent of the
tems (RRNS). An analysis of the our proposed RRNS has other as per the TDMA based MAC protocol in Section V.C
been done in [23] that has been extended into our system
h
model in this paper. We have briefly explained the coding E(Tr, h) = (7)
scheme and its merits as compared to other lightweight cod- (1 − Pe )
Proof: See [4].
ing schemes. Schemes such as Turbo-codes or viterbi codes
need heavy resources for their implementation. So, they are 3) REDUNDANT RESIDUE ARITHMETIC BASED
not considered for this analysis in WSN. Reader is referred to ERROR CORRECTION SCHEME
our paper [23] for a detailed description.
A residue number system (RNS) is a non-weighted number
Our main goal in this section is to introduce the current
system that uses relatively prime bases as moduli set over
transmission scheme ARQ and give a brief description why
GF (2b ) [25]. Owing to the inherent parallelism of its structure
ECC based schemes are advantageous. From ECC schemes
and its fault tolerance capabilities, shows fast computation
of BCH and RRNS [23], our scheme provides improved
capability and reliability. RNS is defined by a set of β moduli
performance and is thus incorporated for analysis in the
m1 , m2 , ........mβ , which are relatively prime to each other.
optimization problem.
Consider an integer data A, which can be represented in its
residues 01 , 02 , ...0β
1) ANALYSIS OF PACKET ERROR IN ARQ SCHEME
In ARQ scheme, data is decoded by cyclic redundancy 0i = A mod mi , i=1,2,....l (8)
check (CRC) codes and the erroneous data is re-transmitted Yβ
from the sender. Here we consider stop and wait ARQ 2= mi (9)
method. Assuming the ACK bits are received without error, i=1
The maximum operating range of the RNS is 2 given Algorithm 1 Algorithm For RRNS Decoding
by (9). The corresponding integer A can be recovered at 1: Inputs: [y1 , y2 , .......] 17: for K = 1 to β
the decoder side from its β residues by using the Chinese 2: Output: A 18: XC (K ) = XC (K − 1) +
Remainder Theorem [25] as 3: Iter = βδ 2(I , k) ∗ Mk−1 ∗ Mk
4: Range = 2 19: end
l
X 5: ROM (I , :)=store all possible 20: % Calculate Possible A
A= 0i × Mi−1 × Mi (10) combinations of βδ 21: AC (I ) = XC (K )%M
i=1 6: % Initialize All Parameters 22: end
7: M =0 23: % Find Error and Decode
where Mi = 2/mi and the integers Mi−1
are the multi- 8: XC (0) = 0 Input
9: % Algorithm Starts 24: for I = 1 to Iter
plicative inverses of Mi and computed apriori. One com- 25: if AC (I ) < 2
10: for I = 1 to Iter
mon modulus set (2b−1 − 1, 2b−1 , 2b−1 + 1) with a power 11: YC (I , :) = ROM (I , :) 26: % mode finds the maximum
of two in the set makes it relatively easy to implement 12: % Calculate Current Range number
efficient arithmetic units. A redundant residue number sys- 13: for J = 1 to β 27: % of times AC (I ) occurs
14: M = 2(I , J ) 28: A = mode(AC (I ))
tem (RRNS) is defined as a RNS system with redundant 15: end 29: end
moduli. In RRNS, the integer data X is converted in β non- 16: % Calculate X 30: end
redundant residues and δ-β redundant residues. The oper-
ating range 2 remains the same and the moduli satisfy
the condition m1 < m2 < .... < mβ < mβ+1 < at the sink node/gateway. As can be seen, it first receives the
mβ+2 < .... < mδ . RRNS can correct up to b(δ − β)/2c packet and tries to recover the data. After the recovery of the
errors. If we consider the popular modulus set, mentioned data and the error moduli, it appends a 1-bit TRUE flag with
above, and add the redundant modulus (2b + 1) to it, becomes the ACK signal and sends it to the sensor node to notify the
the (2b−1 − 1, 2b−1 ; 2b−1 + 1, 2b + 1) RRNS with capabil- reception of data, else it sends a 1-bit FALSE flag with ACK
ity to detect one error, it is explained extensively in [25]. to the sensor node signifying to resend the packet data again.
Since the Chinese Remainder Theorem approach require pro- The sensor node in turn transmits the δ-β redundant residues
cessing large-valued integers, a suitable method for avoiding again instead of sending the full n bits of data again.
this is invoking the so-called base-extension (BEX) method
using mixed radix conversion (MRC) [26] that reduces the 4) PACKET LOSS STATISTICS FOR DIFFERENT ERROR
computation overhead by minimum distance decoding. CORRECTING SCHEMES
We perform a theoretical analysis to find out the packet loss
rate of the IEEE 802.15.4 based sensor. The systems signal to
noise ratio is varied from 0dB to 20dB. The packet error rate
is generated for BCH (128, 57, 11) and RRNS (128, 60, 32).
These values of n are taken to correlate with the packet load
of 133 bits (payload of 127 bits and 6 bits of header). From
Fig. 3(a), it can be inferred that ECC schemes provide approx-
imately a gain of 4 dB in SNR as compared to ARQ scheme
for the same packet loss rate. This is equivalent to a power
gain of around 2 watts, which is essential savings in case
of energy constrained GWSN systems. RRNS code provides
FIGURE 2. RRNS encoding process. slightly better gain of around 2 dB, owing to its better error
correction capability compared to BCH code. Accordingly,
Based on RRNS, we propose an online error detection and in Fig. 3(b) we plot the values of re-transmissions required
correction scheme for the GWSN systems. Fig. 2 shows the for ARQ, BCH codes, and RRNS codes. The plot depicts
encoding process of the data A at the sensor node. A parallel a similar nature as predicted in (5). As we can see, simple
to serial converter changes A into its decimal representation. ARQ scheme in a packet loss rate varying from 0 to 20%
In a look-up-table (LUT), we store the modulus values of requires expected number of re-transmissions of ∼ 1 to 17,
numbers 0 − 9 and 10χ ( χ ∈ 1, 2, .......κ) with respect to whereas expected number of re-transmissions in BCH and
the δ moduli (β non redundant moduli and δ-β redundant RRNS coding schemes is ∼ 1 to 4. The figure of merit for
moduli). All operations are performed in parallel modulo both BCH and RRNS shows expected number of expected
channels without the need of transmission of information packet re-transmissions, even for a packet loss of 20% as ≈ 4,
from one modulo channel to another. So, for l moduli, we significantly outperforms the simple ARQ scheme. This can
have δ modulo channels operating in parallel, all operations in save a tremendous amount of energy leading to network
each performs modulo of the particular modulus till δ. Finally, lifetime enhancement.
we append the respective MAC IDs of the sensor devices at Table 2 analyzes the different BCH schemes and corre-
the front end of each set of packet data and transmit it to the sponding RRNS schemes. For BCH (n = 63; k = 16;
gateway/sink node. Algorithm 1 shows the decoding process e = 11), the error correction capability is 11 bits of
packet success rate Ps (t) affects the sample rate in the rate
flow constraint as
FIGURE 3. Analytical results of different coding schemes for IEEE
802.15.4 based sensor. (a) Packet loss versus SNR for IEEE 802.15.4 Ti
XX
based sensor at different coding schemes. (b) Plot of Expected No. of rij (t) − rji (t) + Ps (t)Rij (t) ≤ 0, ∀i ∈ N , j ∈ Ni
Packet Re-transmissions versus packet loss rate at different coding
schemes for IEEE 802.15.4 based sensor. j∈Ni t=1
(12)
TABLE 2. Comparison of RRNS and BCH schemes.
The problem of maximizing the network lifetime can be
stated as
max Ti
t≥0,EB (t)>0
Ti
X 1
subject to (Pi (Pe , hi , t)) ≤ · EB (t),
Ti
t=1
Ti
XX
rji (t) − rij (t) − Ps (t)Rij (t) ≤ 0,
j∈Ni t=1
∀i ∈ N , j ∈ Ni
ETX = a1 + a2 · d γ , γ ∈ [2, 6]
errors in a burst of 63 bits data packet. Whereas, in RRNS
with 2 redundant moduli (214 − 1, 214 ; 214 + 1, 215 − 1) 0 ≤ rij ≤ Cl (13)
(n = 64; k = 28; e = 16), the error correction capability In our model, we have considered a battery with a finite
is 16 bits in a burst of 64 bits data packet. Moreover, the code maximum capacity EBmax , where EB (t)≤EBmax . Further, due
redundancy is less and code rate is smaller as compared to the to hardware limitations the total power consumption is upper
corresponding BCH code. bounded by maximum consumption Pmax (i.e Pi (t)<Pmax ,
Similarly, in RRNS code with residues (230 − 1, 230 ; ∀j ∈ Ni ,∀t ∈ Ti ). Problem in (13) is not convex. By sub-
2 + 1, 231 − 1)(n = 128; k = 60; e = 32), the error
30
stituting s = 1/T , we obtain a convex maximization problem
correction capability is 32 bits in a burst of 128 bits. Whereas, in s.
in a similar BCH code of (n = 127; k = 57; e = 11), the
error correction capability is way less at 11 bits in 127 bits min si
s≥0
of packet data. If we consider BCH codes with similar error
Ti
correction capability (n = 127; k = 8; e = 31), the X
code efficiency is very poor, around ≈ 6.3%, as compared subject to (Pi (Pe , hi , t)) ≤ si · EB (t), 1 ≤ t ≤ Ti
to ≈ 47% in RRNS. Thus RRNS code simultaneously shows t=1
better efficiency and error correction capability as compared 0 < EB (t) ≤ EBmax , 1 ≤ t ≤ Ti
to the BCH and ARQ codes. Constraints in (13) (14)
considered in wireless networks. TDMA partitions time into PCHi (t) is a continuous increasing function that lies between
many fixed slots and nodes transmit data in their assigned points (0, 0) and (Tj , PC Hi (Tj )) as shown in Fig. 6. The cumula-
slots, thereby avoiding collisions. The duty cycling concept tive node energy PC i (t) for all (t ∈ 1, 2, ....Tj ) cannot be more
is greatly efficient in terms of power saving. TDMA based than PC Hi (t). Using this constraint, the dynamic charging and
protocols are more energy efficient, and the energy consumed discharging of battery can be modeled as
is proportional to the length of the transmission cycle while
the latency is proportional to the size of the network. More- EB (t + 1) = EB (t) − Pi (t) + PHi (t)
i (t) ≤ PHi (t), ∀t ∈ 1, 2, ....Tj
PC C
over, a single global clock is not needed for synchronization (19)
in wake-up duty cycled TDMA schemes.
ODMAC, an on-demand MAC protocol, was proposed to To find an optimal energy consumption (PC ∗
i (t)) , we need to
support individual duty cycles letting the nodes operate in find the upper and lower bound of consumed energy. (19)
the energy neutral operation state by exploiting the maximum gives the upper bound on the consumed energy. Further,
harvested energy [36]. This state guarantees infinite lifetime (PC ∗
i (t)) must satisfy that, the residual energy of nodes at
as soon as there are not any hardware failures. However, it all time slots i.e. (PC ∗ C
i (t)) − PHi (t) cannot exceed the battery
is hard to design the sensors to be always in this state since maximum capacity EBmax , forms the lower bound of (PC ∗
i (t)) .
the dynamics of the environmental energy sources are hard Thus the problem in (14), can be reformulated as
to predict. It exploits the fact that sensor nodes often have
min si
low traffic in order to remove the burden of idle listening s≥0
by Carrier Sensing. A drawback of ODMAC is the lack of Ti
X
Pi (Pe , hi , t) − si · EB (t) − PHi (t) ≤ 0,
retransmissions, so the successful reception of packets is subject to
not acknowledged, which might result in discarding all the t=1
packets involved in collisions. Some other protocols proposed 1 ≤ t ≤ Ti
for EH-WSN are EH-MAC and ERI-MAC [37]. EH-MAC 0 < EB (t) ≤ EBmax , 1 ≤ t ≤ Ti
is an ID-polling-based MAC protocol proposed for multi-
PC
Hi (t) − EBmax ≤ PC
i (t) ≤ PC
Hi (t),
hop EH-WSNs and it achieves high channel perfor- mance
in terms of network throughput and fairness. ERI-MAC is ∀t ∈ 1, 2, ....Ti
a receiver initiated protocol which dynamically adjusts the Constraints in (13), (16), (17) and (18) (20)
duty-cycle based on the energy harvesting state of the system.
To cater for the interference in the TDMA MAC model, our VI. JOINT UTILITY & NETWORK LIFETIME TRADE-OFF
analysis is based on WUR scheme for low power duty cycling AND DISTRIBUTED SOLUTION
with transmission capacity provided with the incorporation of Solving standalone maximization of network lifetime prob-
ECC codes. lem by varying the source rates will result in allocation of
zero source rates to the node. Thus, it results in application
performance of the system to be worst. Therefore, it is optimal
D. MODELING ENERGY HARVESTING to jointly maximize the network lifetime with the system’s
AND WAKE-UP RADIO application performance. We associate the network perfor-
Let PCHi (t), denotes the cumulated harvested energy in all mance with the utility function Ui (.). In [3], it has shown
the slots of node i. For simplicity, we assume the harvested that each node i∈N is related to a utility function and achieve
energy is available at the start of each interval t. We also different kind of fairness by maximizing the network utility.
assume that the battery has finite capacity and harvested Thus the utility is a function of the node source rate Rij .
energy can only recharge till the maximum capacity of Apart from source rates, packet success rate Ps also affects
Ti
the overall system performance. Thus, the utility function has XX
λl (t) rij (t) − rji (t) + Ps (t)Rij (t)
to be modified to accommodate the packet success rate and +
j∈Ni t=1
the payload data efficiency as Ui (Rij , Ps ). Max-Min fairness
Ti
maximizes the smallest rate in the network whereas the Pro- XXX
µi (t) Pi (Pe , hi , t) − si · EB (t) − PHi (t)
portional fairness favors the nodes nearer to the sink node. +
As given in [3], by aggregating the utility, the network life- i∈N j∈Ni t=1
[.]+ is the projection on the non-negative orthant meanin- • From (29), (31), it can be seen that as the flow rij exceeds the capacity of
link Cl , the link cost and node energy cost increases. Thus higher link and
ing z+ =max{0, z}, {ϕτ , ψτ } are the positive step sizes and node-battery prices result in greater penalty in the objective function in
{∇λ D(λ, µ), ∇µ D(λ, µ)} are the gradients of dual problem (26) forcing source rates Rij & flows rij to reduce. Although higher node-
in (25) w.r.t λ and µ. battery cost (27) allow greater revenue for the same increase in battery
capacities (by increasing ’s’), there is a corresponding penalty incurred
due to the consequent lower lifetimes.
B. SOLUTION TO GWSN DISTRIBUTED ALGORITHM
AND ITS CONVERGENCE ANALYSIS
The Lagrange multipliers (λl , µi ) have cost interpretation to
them. λl represents the link capacity cost and µi denotes
the battery utilization cost of sensor node i. The gradients
∇λ D(λ, µ) and ∇µ D(λ, µ) denote the excess link capacity Further, let us make the following two assumptions as
and battery energy respectively. Problems D1 (λ, µ) in (26) below:
represent the maximization of the aggregate utility of the • Assumption 1: Let Ui (Rij , Ps ) be defined as log2 (Rij Ps )
network in presence of flow constraints and energy spent in which is an increasing and concave function, and its inverse
the network. The network lifetime problem D2 (λ, µ) in (27) and hessian exists.
maximizes the revenue from battery capacities subtracting the • Assumption 2: Hessian of Ui (Rij , Ps ) is negative semidef-
lifetime-penalty function, resulting in reduction of lifetime. inite and rijmin ≤rij ≤rijmax .
The procedure for solving the GWSN Algorithm 2 is out- Define L = max L as the maximum number of links
0
lined as follows: that a sensor node uses. Let U = max Ui (Rij , Ps ) and
Now we discuss the convergence of our distributed R = max rij , be the maximum rate flow of the node when
algorithm for GWSN. It is worth noting that the proposed transmitting information from i→j.
algorithm takes into account the lifetime constraint, energy Proposition 1: If the assumptions 1 and 2 above hold and
harvesting constraint, packet loss statistics and path loss into 2
the step size satisfies 0<ϕτ ,ψτ < 1/2 . Then starting from
consideration. Thus it is necessary to analyze the convergence L UR
bounds. any initial rates rijmin ≤rij ≤rijmax , & price λl , µi ≥0, every limit
Lemma 2: When →∞, the network lifetime Tnetwork point of the sequence {s(λ, µ), Rij (λ, µ), rij (λ, µ)} generated
determined by the optimal solution s∗ of problem (22) approx- by GWSN Algorithm 2, is primal-dual optimal.
imates the maximum network lifetime of the wireless sensor Proof: See Appendix B.
network. Lemma 3: By the above distributed algorithm, dual vari-
Proof: See Appendix A. ables (λl , µi ) converge to the optimal dual solutions (λ∗l ,µ∗i ),
FIGURE 11. Impact of ECC on lifetime of sensor nodes. (a) Plot of network
lifetime versus packet loss rate. (b) Network lifetime of different sensor
nodes versus system parameter α.
with BCH error scheme and more than doubles with RRNS sensor node. The transmitting power (PSTX ) of the data station
error scheme. Whereas for power hungry sensor such as depends on the fuel type from which the station derives its
Temperature, the processing energy is higher, thus overpow- electrical power. Depending on the country, it can be coal
ering the effect of small number of retransmissions in error or gas. Thus value of X can be either 870 or 370 [20].
coding schemes. (PSTX ) depends on the type of technology used. If we assume
One of the major overheads of error correcting codes in that the sink node data station runs on the Long Term
addition to transmission and reception of redundant bits is the Evolution (LTE) network and uses the static micro cell topol-
delay associated with encoding and decoding of packets. Let ogy with radius 100m. Then from [41] and [20], the carbon
us assume that t ARQ is the total time required for sending the footprint generated by sink node is
packets to the sink node and receiving an ACK back. Further,
if the decoding latency of a block code like (n, k, e) BCH is
S
FCO 2
= PSTX · (ET ,hi + 1) · 8.64 · 10−3 · X [KgCO2 /Year]
!
BCH . From [24], the decoding latency is given by
tdec D
P
PSTX = TX
CTX ,static + PSP,static (1 + CPS ) (36)
b µPA
BCH
tdec = (2ne + 2e2 )(tadd + tmult ) (34)
bm
Here, tadd and tmult are time required for additions and mul- TABLE 5. LTE micro base station based sink node power model
parameters.
tiplications in GF (2b ), and bm is the number of bits of micro
controller used in sensor nodes. In an 8-bit micro controller,
tadd take one cycle and tmult takes two cycles as computation
time. The number of cycles depends on the frequency of the
micro controller.
RRNS codes of form ((2b−1 − 1, 2b−1 ; 2b−1 + 1, 2b + 1))
t ARQ
needs (k/n) as the total time required for sending the packets
to the sink node and receiving ACK back. The decoding
latency depends on the totaladditions and multiplications in
the number of iterations βδ . Depending on the value of β
Where, the notations are described in Table 5. Apart from the
for each step there are 2β multiplications and β additions
sink node, the battery is also responsible for generation of
involved. Further, there are βδ number of moduli operations
carbon footprint. Typical AA batteries used in sensors have
involved. Thus, the decoding latency for RRNS codes is
a end of life carbon emission of 4.3 KgCO2 per 30 batter-
RRNS
δ δ
b
δ
e ies [42]. Thus, the carbon footprint [KgCO2 /Year] generated
tdec = (β )tadd + (β )tmult + (β )e (35)
bm bm by number of batteries used is directly proportional to the
year
total batteries used in a year (Bu ) and is given as
To analyze the effectiveness of the coding schemes, we
have plotted the delay in sending one packet of data versus 4.3 365
B
FCO = Byear
u [KgCO2 /Year], Byear
u =
the packet loss rate of 10% and 20%. If we take t ARQ = 2
30 Tnetwork
50ms, from (34) and (35), delays of BCH(127, 57, 11) and (37)
BCH = t ARQ ∗ (n/k) +
RRNS(128, 60, 32) can be found as tdelay
BCH RRNS
tdec and tdelay = t ARQ RRNS
∗ (n/k) + tdec . TelosB has a 16-bit
microcontroller and its clock frequency is 8MHZ. Fig. 12(b)
shows the delay in milliseconds. It can be inferred that the
coding schemes outperforms the ARQ sheme in terms of total
transmission delay. RRNS scheme has less delay compared to
BCH coding due to its better coding rate and faster decoding.
It can also be seen that as the packet loss rate increases, the
delay gap between the three schemes increases. Thus RRNS
has better performance in terms of lifetime improvement as
well as lower delay as the packet loss rate increases in bad
channel conditions.
packet loss rate of (0, 10, 20). We take X =370, the fuel for APPENDIX B
production of electricity as gas. The Tnetwork for different PROOF OF PROPOSITION 2
schemes ARQ, RRNS and BCH are taken from Fig. 12(a) From (27), the gradient of the objective function od D(λ, µ)
at Pi = 1mW. Fig. 13 shows the carbon footprint at different w.r.t λl ,
schemes. It can be seen that as the packet loss rate increases,
∇λ Ui (Rij , Ps ) − (1 − α)si · ∇λ si
XX
the carbon footprint is tremendously reduced for RRNS and ∇λ D(λ, µ) = α
BCH. It is ∼2.5 times lesser kgCO2 per year at 10% packet i∈N j∈Ni
XX
loss and ∼4 times lesser kgCO2 per year at 20% packet ≤α ∇λ Ui (Rij , Ps ) ≤ αU (40)
loss. So, as the channel goes bad, the carbon emissions for i∈N j∈Ni
normal scheme like ARQ increases tremendously, whereas
incorporation ECC and harvesting the network becomes more By Definition 1 and Assumption 1, we can find the error in
greener. the cost estimation of the link price λl when iteration c→c+1
[9] K. Yu, F. Barac, M. Gidlund, and J. Åkerberg, ‘‘Adaptive forward error [30] S. He, J. Chen, F. Jiang, D. K. Y. Yau, G. Xing, and Y. Sun, ‘‘Energy pro-
correction for best effort wireless sensor networks,’’ in Proc. IEEE Int. visioning in wireless rechargeable sensor networks,’’ IEEE Trans. Mobile
Conf. Commun. (ICC), Jun. 2012, pp. 7104–7109. Comput., vol. 12, no. 10, pp. 1931–1942, Oct. 2013.
[10] W. Xu, Q. Shi, X. Wei, Z. Ma, X. Zhu, and Y. Wang, ‘‘Dis- [31] P. Kamalinejad, K. Keikhosravy, R. Molavi, S. Mirabbasi, and
tributed optimal rate–reliability–lifetime tradeoff in time-varying wire- V. C. M. Leung, ‘‘Efficiency enhancement techniques and a dual-
less sensor networks,’’ IEEE Trans. Wireless Commun., vol. 13, no. 9, band approach in RF rectifiers for wireless power harvesting,’’ in Proc.
pp. 4836–4847, Sep. 2014. IEEE Int. Symp. Circuits Syst. (ISCAS), Jun. 2014, pp. 2049–2052.
[11] J. Zou, H. Xiong, C. Li, R. Zhang, and Z. He, ‘‘Lifetime and [32] V. Jelicic, M. Magno, D. Brunelli, V. Bilas, and L. Benini, ‘‘Analytic
distortion optimization with joint source/channel rate adaptation and comparison of wake-up receivers for WSNs and benefits over the wake-on
network coding-based error control in wireless video sensor net- radio scheme,’’ in Proc. 7th ACM Workshop Perform. Monitor. Meas. Het-
works,’’ IEEE Trans. Veh. Technol., vol. 60, no. 3, pp. 1182–1194, erogeneous Wireless Wired Netw., New York, NY, USA, 2012, pp. 99–106.
Mar. 2011. [Online]. Available: http://doi.acm.org/10.1145/2387191.2387206
[12] T. He, K.-W. Chin, and S. Soh, ‘‘On wireless power transfer and max [33] V. Jelicic, M. Magno, D. Brunelli, V. Bilas, and L. Benini, ‘‘Benefits of
flow in rechargeable wireless sensor networks,’’ IEEE Access, vol. 4, wake-up radio in energy-efficient multimodal surveillance wireless sensor
pp. 4155–4167, Aug. 2016. network,’’ IEEE Sensors J., vol. 14, no. 9, pp. 3210–3220, Sep. 2014.
[13] M. Magno, D. Boyle, D. Brunelli, E. Popovici, and L. Benini, ‘‘Ensur- [34] P. Kamalinejad, K. Keikhosravy, M. Magno, S. Mirabbasi, V. C. M. Leung,
ing survivability of resource-intensive sensor networks through ultra-low and L. Benini, ‘‘A high-sensitivity fully passive wake-up radio front-end
power overlays,’’ IEEE Trans. Ind. Informat., vol. 10, no. 2, pp. 946–956, for wireless sensor nodes,’’ in Proc. IEEE Int. Conf. Consumer Electron.
May 2014. (ICCE), Jan. 2014, pp. 209–210.
[14] R. Deng, Y. Zhang, S. He, J. Chen, and X. S. Shen, ‘‘Globally optimizing [35] P. Huang, L. Xiao, S. Soltani, M. W. Mutka, and N. Xi, ‘‘The evolution of
network utility with spatiotemporally-coupled constraint in rechargeable MAC protocols in wireless sensor networks: A survey,’’ IEEE Commun.
sensor networks,’’ in Proc. IEEE Global Commun. Conf. (GLOBECOM), Surveys Tut., vol. 15, no. 1, pp. 101–120, 1st Quart. 2013.
Dec. 2013, pp. 4810–4815. [36] A. N. Alvi, S. H. Bouk, S. H. Ahmed, M. A. Yaqub, N. Javaid, and
[15] P. Kamalinejad, C. Mahapatra, Z. Sheng, S. Mirabbasi, V. C. M. Leung, D. Kim, ‘‘Enhanced TDMA based MAC protocol for adaptive data con-
and Y. L. Guan, ‘‘Wireless energy harvesting for the Internet of things,’’ trol in wireless sensor networks,’’ J. Commun. Netw., vol. 17, no. 3,
IEEE Commun. Mag., vol. 53, no. 6, pp. 102–108, Jun. 2015. pp. 247–255, Jun. 2015.
[37] S. Kosunalp, ‘‘A new energy prediction algorithm for energy-harvesting
[16] J. M. Gilbert and F. Balouchi, ‘‘Comparison of energy harvesting systems
wireless sensor networks with q-learning,’’ IEEE Access, vol. 4,
for wireless sensor networks,’’ Int. J. Autom. Comput., vol. 5, no. 4,
pp. 5755–5763, Sep. 2016.
pp. 334–347, Oct. 2008.
[38] A. N. Alvi, S. H. Bouk, S. H. Ahmed, M. A. Yaqub, M. Sarkar, and H. Song,
[17] Z. Mao, C. E. Koksal, and N. B. Shroff, ‘‘Near optimal power and rate
‘‘Best-mac: Bitmap-assisted efficient and scalable tdma-based wsn mac
control of multi-hop sensor networks with energy replenishment: Basic
protocol for smart cities,’’ IEEE Access, vol. 4, pp. 312–322, 2016.
limitations with finite energy and data storage,’’ IEEE Trans. Autom.
[39] M. Bhardwaj and A. Chandrakasan, ‘‘Bounding the lifetime of sensor
Control, vol. 57, no. 4, pp. 815–829, Apr. 2012.
networks via optimal role assignments,’’ in Proc. IEEE 21st Annu. Joint
[18] S. Chen, P. Sinha, N. B. Shroff, and C. Joo, ‘‘Finite-horizon energy Conf. IEEE Comput. Commun. Soc. (INFOCOM), vol. 3. Jun. 2002,
allocation and routing scheme in rechargeable sensor networks,’’ in Proc. pp. 1587–1596.
IEEE INFOCOM, Apr. 2011, pp. 2273–2281. [40] M. A. Razzaque and S. Dobson, ‘‘Energy-efficient sensing in wireless
[19] A. Biason and M. Zorzi, ‘‘Joint online transmission and energy transfer sensor networks using compressed sensing,’’ Sensors, vol. 14, no. 2,
policies for energy harvesting devices with finite batteries,’’ in Proc. 21th pp. 2822–2859, 2014.
Eur. Wireless Conf., Eur. Wireless, 2015, pp. 1–7. [41] O. Arnold, F. Richter, G. Fettweis, and O. Blume, ‘‘Power consumption
[20] G. Koutitas, ‘‘Green network planning of single frequency networks,’’ modeling of different base station types in heterogeneous cellular net-
IEEE Trans. Broadcast., vol. 56, no. 4, pp. 541–550, Dec. 2010. works,’’ in Proc. Future Netw. Mobile Summit, Jun. 2010, pp. 1–8.
[21] M. Naeem, U. Pareek, D. C. Lee, and A. Anpalagan, ‘‘Estimation of dis- [42] E. Olivetti, J. Gregory, and R. Kirchain, ‘‘Life cycle impacts of alkaline
tribution algorithm for resource allocation in green cooperative cognitive batteries with a focus on end-of-life,’’ in Proc. Study Conducted Nat. Electr.
radio sensor networks,’’ Sensors, vol. 13, no. 4, pp. 4884–4905, 2013. Manuf. Assoc., 2011, pp. 1–108
[22] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge, U.K.: [43] D. Bertsekas, Nonlinear Programming. Belmont, MA, USA:
Cambridge Univ. Press, 2004. Athena Scientific, 1995. [Online]. Available: http://books.google.
[23] C. Mahapatra, Z. Sheng, V. Leung, and T. Stouraitis, ‘‘A reliable and energy ca/books?id=QeweAQAAIAAJ
efficient iot data transmission scheme for smart cities based on redundant
residue based error correction coding,’’ in Proc. 12th Annu. IEEE Int.
Conf. Sens., Commun., Netw.-Workshops (SECON Workshops), Jun. 2015,
pp. 1–6.
[24] M. C. Vuran and I. F. Akyildiz, ‘‘Error control in wireless sensor net-
works: A cross layer analysis,’’ IEEE/ACM Trans. Netw., vol. 17, no. 4,
pp. 1186–1199, Aug. 2009.
[25] J.-D. Sun and H. Krishna, ‘‘A coding theory approach to error control
in redundant residue number systems. II. Multiple error detection and
correction,’’ IEEE Trans. Circuits Syst. II, Analog Digit. Signal Process.,
vol. 39, no. 1, pp. 18–34, Jan. 1992. CHINMAYA MAHAPATRA received the B.Tech.
[26] W. Jenkins and E. J. Altman, ‘‘Self-checking properties of residue number degree in electronics and communication engi-
error checkers based on mixed radix conversion,’’ IEEE Trans. Circuits neering from the National Institute of Technology,
Syst., vol. 35, no. 2, pp. 159–167, Feb. 1988.
Rourkela, India, in 2009, and the M.A.Sc. degree
[27] X. Lu, P. Wang, D. Niyato, D. I. Kim, and Z. Han, ‘‘Wireless networks
in electrical and computer engineering from The
with RF energy harvesting: A contemporary survey,’’ IEEE Commun.
University of British Columbia (UBC), Vancou-
Surveys Tut., vol. 17, no. 2, pp. 757–789, 2014. [Online]. Available:
http://arxiv.org/abs/1406.6470 ver, BC, Canada in 2013, where he is currently
[28] K. Xie, Y.-M. Liu, H.-L. Zhang, and L.-Z. Fu, ‘‘Harvest the ambient pursuing the Ph.D. degree with the Department of
AM broadcast radio energy for wireless sensors,’’ J. Electromagn. Waves Electrical and Computer Engineering.
Appl., vol. 25, nos. 14–15, pp. 2054–2065, 2011. [Online]. Available: He was a Scientist with the Indian Defense
http://dx.doi.org/10.1163/156939311798072144 Research Laboratory, and a Systems Engineer with the Ciena Research and
[29] M. Russo, P. Šolić, and M. Stella, ‘‘Probabilistic modeling of harvested Development Center, Ottawa, Canada. His interests include the Internet of
GSM energy and its application in extending UHF RFID tags reading Things, body sensor area networks, embedded systems, sensor cloud, and
range,’’ J. Electromagn. Waves Appl., vol. 27, no. 4, pp. 473–484, 2013. energy optimization. He currently holds the Doctoral scholarship awarded
[Online]. Available: http://dx.doi.org/10.1080/09205071.2013.753659 by NSERC and four-year fellowship by UBC.
ZHENGGUO SHENG received the B.Sc. degree VICTOR C.M. LEUNG (S’75–M’89–SM’97–
from the University of Electronic Science and F’03) received the B.A.Sc. degree (Hons.) in elec-
Technology of China in 2006, and the M.S. and trical engineering from The University of British
Ph.D. degrees (Hons.) from the Imperial College Columbia (UBC) in 1977, and the Ph.D. degree
London in 2011 and 2007, respectively. in electrical engineering in 1981. He received the
He was with UBC as a Research Associate and APEBC Gold Medal as the head of the grad-
with France Telecom Orange Labs as a Senior uating class in the Faculty of Applied Science.
Researcher and a Project Manager in M2M/IoT. He attended graduate school at UBC on a Natural
He is currently a Lecturer with the School of Sciences and Engineering Research Council
Engineering and Informatics, University of Sus- Postgraduate Scholarship.
sex, U.K. He was a Research Intern with IBM T. J. Watson Research Center, From 1981 to 1987, he was a Senior Member of the Technical Staff and
USA, and U.S. Army Research Labs. He has authored over 60 international Satellite System Specialist with MPR Teltech Ltd., Canada. In 1988, he
conference and journal papers. was a Lecturer with the Department of Electronics, Chinese University of
Hong Kong. He returned to UBC as a Faculty Member in 1989, where he is
currently a Professor and a TELUS Mobility Research Chair in Advanced
Telecommunications Engineering with the Department of Electrical and
Computer Engineering. He has co-authored over 700 technical papers in
international journals and conference proceedings, 29 book chapters, and
co-edited eight book titles. His research interests are in the areas of wireless
networks and mobile systems. Several of his papers had been selected for
Best Paper awards.
Dr. Leung is a Registered Professional Engineer in the Province of British
Columbia, Canada. He is a fellow of the Royal Society of Canada, the
Engineering Institute of Canada, and the Canadian Academy of Engineering.
He received the IEEE Vancouver Section Centennial Award and the 2012
UBC Killam Research Prize. He was a Distinguished Lecturer of the IEEE
Communications Society. He is a member of the Editorial Boards of the IEEE
WIRELESS COMMUNICATIONS LETTERS, Computer Communications, and several
other journals. He has served on the Editorial Boards of the IEEE JOURNAL
ON SELECTED AREAS IN COMMUNICATIONS WIRELESS COMMUNICATIONS SERIES, the
IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, the IEEE TRANSACTIONS
ON VEHICULAR TECHNOLOGY, the IEEE TRANSACTIONS ON COMPUTERS, and the
Journal of Communications and Networks. He has guest-edited many journal
special issues, and contributed to the organizing committees and technical
program committees of numerous conferences and workshops.