Abstract
1. Introduction
Wireless sensor networks (WSNs) have attracted numerous research interests in recent years for their economical deployment and wide applications. In most cases, the sensor nodes in WSNs are equipped with low-complexity hardware and single antenna, which restrain the transmission reliability in wireless fading channels. Besides, in many typical applications such as volcano monitoring [1], structural monitoring [2, 3], and vehicle tracking [4], the sensor nodes are usually powered by the battery with limited capacity, which restrain the lifetime of the network. Therefore, transmission reliability and energy consumption are two major challenges for WSNs [5].
Several solution techniques have been developed to handle the two issues, such as cooperative communication (CC) [6] and network coding (NC) [7]. CC is a very promising approach to improve transmission reliability of single-antenna devices. A transmitting node that uses CC can share its packet with neighboring nodes, and, then, these nodes can transmit the packet to the intended receiver cooperatively, thereby creating virtual multiple-input-multiple-output (MIMO) system. The intended receiver can obtain diversity gains by combining the received signals, which bring a signal-to-noise ratio advantage over the single-antenna case. Besides, CC in WSNs (cooperative WSNs) [8] enables long distance transmission to be divided into several short segments, which reduce the transmitting power.
The drawback of CC is the low transmission efficiency. Fortunately, NC brings a breakthrough to this issue by combining the incoming packets at intermediate nodes, and it shows that the throughput can achieve the max-flow-min-cut bound. From then on, many NC schemes have been proposed to improve cooperative WSNs [9–11].
Conventional NC schemes in cooperative WSNs usually make the assumption that the batteries of the nodes can provide stable energy supplies. Recently, energy harvesting (EH) [12, 13] technique has been proposed as a promising approach to address the energy issue of WSNs. EH refers to harnessing and converting energy from the environment to electrical energy periodically, so that the limitation of the battery capacity can be conquered. Hence, it is desirable to employ EH to handle the energy issue of NC-based cooperative WSNs. However, different from the conventional constant energy supplies, the node powered by EH is restricted by a new class of constraints; that is, the consumed energy up to any time is bounded by the harvested energy until this point [14, 15]. Meanwhile, the energy supplies of EH are periodical and random. Therefore, these characteristics of the energy supplies should be carefully taken into consideration when employing EH in the NC-based cooperative WSNs.
1.1. Related Work
For the cooperative WSNs, Li et al. [16] developed a space time block code-based scheme, in which energy efficiency is analyzed as a tradeoff between the reduced transmission and overhead energy consumption. In [17], Cui et al. employed CC to reduce energy consumption of the sensor nodes. In this scheme, the best modulation and transmission strategy are analyzed to minimize the total energy consumption. However, all these cooperative schemes require strict synchronization between the nodes, which is difficult to be realized in WSNs.
The birth of NC technology looses the above synchronization requirement. As a class of NC, Li et al. [18] demonstrated that the optimal network throughput can be achieved through linear NC. Furthermore, Koetter and Médard [19] presented an algebraic framework to construct the coding coefficient for linear NC. On the basis of that, random NC (RNC) [20–22] was proposed to reduce the complexity and enable linear NC to be deployed by the distributed manner. Hence, RNC provides a simple, yet effective, approach to improve the latency and transmission efficiency, which makes it very suitable to be deployed in cooperative WSNs.
Recent work [23] has employed RNC to improve the transmission reliability in cooperative WSNs. However, in this scheme, the intermediate node has to receive all the incoming packets to construct the coding vector (CV), which is energy inefficiency from the perspective of popular sensor transceiver today, because the receiving circuit energy consumption of a packet is even larger than the transmitting one [24]. An opportunistic reception (OR) algorithm has been proposed in [25] by considering the above energy consumption characteristic. In OR, the intermediate node generates the CV through forwarding or decoding-recoding manners adaptively, so that the received packets can be reduced. To sum up, RNC provides a superior tradeoff between energy efficiency and transmission reliability in cooperative WSNs [23, 25]. Nevertheless, these schemes are designed under conventional energy assumption, without involving the EH constraints.
On the other hand, in related work on EH, some contributions have been made for the point-to-point wireless systems. For example, the authors in [14, 26] investigated the throughput optimization over the finite horizon for both the cases where the harvested energy information is noncausally and causally known to the transmitter. In [15], the authors extended the results to the three-node Gaussian relay channel with EH source and relay nodes. In [27], the authors developed a more practical circuit model by considering the half-duplex constraint of the battery. For the wireless networks with EH constraints, the authors in [28] evaluated some standard medium access control protocols in WSNs. In [29], the authors analyzed the reliability of broadcast transmission in erasure-based networks with EH nodes. For the related work in NC-based and EH-enabled schemes, the authors in [30] studied the performance of NC-aided CC in two-way networks, where the relays were able to harvest energy emitted by wireless transmissions. In [31], a NC-based protocol is developed by taking into account the assumption that the sink is responsible for harvesting and transferring wireless energy to the sources. In [32], the authors proposed an EH-aided scheme for the node which was responsible for transmitting messages in a timely manner while being prudent about energy consumption. However, all these works focus on the networks which only consisted of the EH nodes, without considering the hybrid case.
1.2. Summary of Main Contributions
This paper focuses on the energy-efficient transmission for the RNC-based cooperative WSNs with partial EH nodes. Compared to the former works [23, 25], in our setup, the network consists of two types of nodes; one is powered by normal batteries, while the others are powered by EH constraints. Moreover, different from the single metric in the point-to-point EH schemes [14, 26], in the proposed protocol, both the energy efficiency and transmission reliability are considered. Besides, some technologies, such as RNC and CC, are also involved. Compared to the work in [29], although RNC is similar to the erasure code, the evaluated metric and network setup are different. The main contributions of this paper are summarized as follows:
The energy efficiency for the cooperative WSNs with partial EH nodes is investigated. Firstly, a novel EH decoding-recoding policy is proposed to utilize the EH node, so as to save the energy of the rest nodes in the network. An energy efficiency model is established by computing the saved energy per round. And then, the policy parameters are selected through the optimization of the model. Moreover, the impacts of some parameters, such as the EH rate and transmission error probability, are also analyzed. A new transmission protocol is proposed by embedding the designed policy into the OR algorithm. The decoding failure probability is theoretically derived to evaluate the transmission reliability of the proposed protocol. On the basis of that, the appropriate application conditions of the protocol are obtained.
The remainder of this paper is organized as follows. Section 2 describes the system model. In Section 3, the EH decoding-recoding policy and the energy efficiency model are developed, and then the proposed protocol is presented. In Section 4, the decoding failure probability of the protocol is derived. Simulation results are presented in Section 5. Finally, Section 6 concludes the paper.
2. System Model
2.1. Cooperative WSNs
We consider multihop clustered WSNs, in which a source node in the source cluster sends data to a sink with the aid of several intermediate clusters, as depicted in Figure 1. Each cluster is composed of

System model of RNC-based cooperative WSNs.
One transmission round consists of four phases, as shown in Figure 2. Phase I is the intrasource cluster broadcasting, as shown in Figure 2(a); the source node splits the original data into

Transmission procedure of cooperative WSNs.
Phase II is the source-intermediate cluster transmission, as depicted in Figure 2(b). In this phase, each
Phase III is the interintermediate clusters communications, as shown in Figure 2(c). In this phase, if
Phase IV is the decoding phase, in which the sink tries to receive all the packets from the last cluster nearby, as shown in Figure 2(d). We assume that
2.2. Energy Harvesting Model
In this study, to meet the practical situation, it is assumed that the harvested energy information is causally unknown to the EH node, and we employ a Bernoulli process as the EH model. In this model, the EH node can harvest one unit of energy with probability
3. The Proposed Protocol
3.1. EH Decoding-Recoding Policy
We propose a framework to utilize the EH node
Here, we propose an example to illustrate the positive significance of the policy to the energy consumption. Figure 3 depicts some transmission manners of the EH node. In Figure 3(a),

Transmission manners of the EH node.
3.2. Energy Efficiency Analysis and Parameter Optimization
3.2.1. How Much Energy Should Be Harvested?
To harvest sufficient energy so that
3.2.2. How to Select x ?
We select
Definition 1 (energy efficiency).
Energy efficiency
In (14), Energy efficiency
With the above results, the pseudocode of the proposed policy can be described as Algorithm 1. In the description,
(1) (2) (3) (4) (5) (6) (7) (9) (10) (11) (12) (13) (14) (15) (16)
The EH decoding-recoding policy can be embedded into conventional RNC-based algorithm to improve the energy efficiency. In this study, we embed it into the OR algorithm [25] and propose a new protocol, which is described in Figure 4.

Procedure of the proposed protocol.
4. Transmission Reliability Analysis
We evaluate the transmission reliability of the proposed protocol by deriving its decoding failure probability. To facilitate the analysis, we simplify the model to a two-hop one, which is also employed in [23, 25]. Besides, it is assumed that all the incoming links at sink exhibit the same transmission error probability
The decoding failure probability of the proposed protocol can be expressed as
To derive
5. Simulation Results
In this section, we examine the energy efficiency and transmission reliability of the proposed protocol through simulations. Firstly, we examine the effectiveness of the proposed energy efficiency model in Section 3. And then, we compare the proposed protocol with OR [25] and RNC-based cooperative communication (NCCC) [23], in terms of lifetime and decoding failure probability
The simulation model follows the simplified two-hop one in Section 2, with
5.1. Effectiveness of the Proposed Energy Efficiency Model
Figure 5 depicts a simulation trail of the EH decoding-recoding policy under different values of

Minimal residual energy of the proposed policy with varieties of
Figure 6 shows a simulation trail of the minimal residual energy of the policy with varieties of EH rate

Minimal residual energy of the proposed policy with varieties of

Average lifetime of the proposed policy with varieties of EH rate when
Figure 8 presents a trail of the minimal residual energy of the policy with varieties of

Average lifetime of the proposed policy with varieties of

Average lifetime of the proposed policy when
To sum up, the effectiveness of the proposed energy efficiency model is verified through the above results.
5.2. Lifetime
We compare the energy efficiency of the proposed protocol to OR algorithm [25] and NCCC [23], in terms of average lifetime, which is calculated by 20 simulation trails. In Figure 10, the dash line is the simulation trail while the red line is the average value. The result shows that the proposed protocol is superior to the other compared schemes under the same transmission error probability. Besides, when

Average lifetime comparisons.
5.3. Transmission Reliability
Figure 11 shows the decoding failure probability of the proposed policy. In the figure, the theoretical results are calculated by (25). It can be observed that the theoretical results match the simulations very well. The curve experiences a severe fall when transmission error probability

Decoding failure probability of EH decoding-recoding policy when
The comparisons of the decoding failure probabilities are given in Figure 12. Compared to OR and NCCC, although the proposed policy always performs the worst, it can be seen that when

Comparisons of decoding failure probability of the proposed policy.
Figure 13 depicts the decoding probability of the proposed protocol. Compared to the results in Figure 13(b), it can be observed that the performance gap between the compared schemes is less obvious in Figure 13(a). This result coincides well with the one in Figure 12, because, in Figure 13(a),

Decoding failure probability of the proposed protocol.
Figure 14 is the deocding failure probability of the proposed protocol, in terms of

Decoding failure probability of the proposed protocol.
6. Conclusion
In this paper, we proposed an energy-efficient transmission protocol for the scenario of cooperative WSNs with partial EH nodes. An EH decoding-recoding policy was proposed, and we established an energy efficiency model to design and optimize the corresponding parameter, so as to improve the lifetime of the investigated network. Moreover, we examined the transmission reliability of the proposed protocol by deriving the metric of decoding failure probability. Theoretical and simulation results indicate that, in the two-hop model, the proposed protocol outperforms the compared schemes in lifetime, while it also obtains similar transmission reliability when the wireless links between the clusters are in good quality or the ones between the intermediate cluster and sink are in bad quality.
