Abstract
Combining with finite field network coding, relay ordering is significant for the transmission reliability of multiple-source multiple-relay wireless sensor networks. However, it leads to severe energy consumption and is harmful to the lifetime of the network. To overcome the drawback of relay ordering and achieve desired trade-off between energy efficiency and transmission reliability, a residual energy-activated forwarding protocol is proposed in this article. In the protocol, by considering the unique characteristics of relay ordering–finite field network coding, a novel metric is proposed to jointly formulate both energy consumption and transmission reliability into one optimization problem. Based on this, the appropriate numbers of cooperative relays are selected to reduce energy consumption. Furthermore, by solving the proposed optimization problem in various cases, the optimization process is transferred to three sub-problems, and the corresponding strategy is developed to maximize the proposed metric accordingly. Extensive simulation results verify the superiority of the proposed protocol in both energy efficiency and transmission reliability.
Keywords
Introduction
Cooperative communication (CC) 1 is a promising approach to combat multipath fading effect in wireless channels. A single-antenna source node that uses CC can share its data packet with relay nodes, and then, the multiple copies of the packet from the relays and the source can generate the virtual multiple-input-single-output system at the intended receiver, so as to achieve the diversity gain of multiple-antenna and enhance transmission reliability. Besides, another advantage of CC is to extend the communication range, which has been extensively studied in multi-hop cooperative wireless sensor networks (WSN). 2–5 With proper relay selection and scheduling, more routing choices can be provided by CC to reduce network delay. The above two merits make CC very attractive for WSNs.
However, due to the poor spectral efficiency (SE), it is challenging to design proper CC scheme in multi-source multi-relay wireless network,6,7 because the relays have to consume a large amount of orthogonal channels to receive and forward the packets from multiple sources, which are huge expenses for the network. To handle this issue, network coding (NC)8,9 has been actively extended to this scenario, for example, a multi-source CC scheme based on finite field network coding (FFNC) was proposed in Xiao and Skoglund, 10 where multiple sources share one common relay. Instead of forwarding packets for each source individually, the common relay combines all the packets from the sources as one NC packet, so as to reduce the total forwarding packets. In Xiao et al., 11 this scheme was extended to the multiple-source multiple-relay network (arbitrary M sources communicate to a common sink node with the aid of arbitrary N relays), and the diversity gain was proved to be identical to conventional CC protocols.6,7 Furthermore, to fully exploiting the links between the relays, a relay ordering12,13 (RO) algorithm based on FFNC was developed for multiple-source multiple-relay WSN in Cheng and Yang, 14 where the transmission reliability was proved to be improved greatly.
So far, all the above literatures only focus on the SE performance. Recently, with rapid development of information technology, energy consumption and energy efficiency (EE) 15 are becoming more and more important in the network protocol design, especially for WSN, where the sensor nodes are usually of huge number and powered by limited batteries. Moreover, for most popular WSN,16,17 the receiver energy consumption is comparable to the transmitter one. This fact indicates that the scheme in Cheng and Yang 14 is less reasonable from EE perspective, because the relays that fail to decode from the sources are always permitted to receive packets from other relays.
To overcome the drawback of RO and achieve desired trade-off between EE and transmission reliability, this article proposes a residual energy-activated forwarding protocol using RO and FFNC for multiple-source multiple-relay WSN. The main contributions are summarized as follows:
By considering the unique characteristics of RO-FFNC, a novel metric is proposed to evaluate both the energy consumption and transmission reliability, and to maximize it, the cooperative relay selection is formulated as an optimization problem. By solving the problem, the appropriate number of cooperative relay is decided.
To reduce the complexity of the problem, it is transferred into three sub-problems, and the corresponding strategy is developed accordingly. On the basis of that, a residual energy-activated forwarding protocol is proposed.
Extensive simulation results are presented to compare the proposed scheme with RO-FFNC in Cheng and Yang, 14 FFNC in Xiao et al., 11 and binary XOR NC in Chen et al. 18 The compared items include lifetime and transmission reliability, which provide a comprehensive evaluation from both EE and transmission reliability perspectives.
The remainder of this article is organized as follows. The related works are surveyed in section “Related work.” Network model and problem formulation are presented in section “Network model and problem formulation.” The proposed protocol and analysis are presented in section “The proposed protocol.” Simulation results are presented in section “Simulation results.” Finally, the conclusions are provided in section “Conclusion.”
Related work
Minimizing the energy consumption of WSN has drawn significant attention of the researchers. In Chang and Tassiulas, 19 the theoretical approach was developed to optimize the lifetime of WSN when the transmitter power control was available. In the proposed model, CC was not considered and all the links between the source and the sink nodes are conventional sing-input-single-output (SISO) case. Khandani et al., 20 Maham et al., 21 and Tan et al. 22 investigated energy-efficient transmission for CC network, where the diversity gain of VMISO was employed to reduce the transmitting powers of relays. However, to simplify the problem, these works ignore the receiver circuit energy consumption.
By considering both receiver and transmitter circuit energy consumption, 4 employed CC to mitigate energy hole problem in multi-hop WSN. In the proposed scheme, CC was selectively applied as the tool to balance energy consumption between the relays, so that only the minimum transmitting power was used. It was also proved that the lifetime can be extended by factors of two or more. Furthermore, by considering some characteristics and variable definitions, the problem in Jung and Ingram 4 was formulated and solved by linear programming in Jung and Weitnauer, 23 where the optimal lifetime was achieved. In these literatures, CC was employed as the conventional manner, while NC was not taken into consideration.
To achieve both high efficiency and low complexity, in Gou et al., 24 an NC-based scheme targeting to maximize total transmission gain is proposed. In the scheme, NC is utilized to compress the computational overhead; hence, the EE is improved both in data transmission and processing. In Iqbal and Lee, 25 NC is combined with channel coding to reduce the energy consumption and improve the transmission reliability for underwater environment. In the scheme, NC is also used to compress data. In Gehlaut et al., 26 NC, duty cycle, and clustering technologies are integrated to improve the lifetime of WSN, and the advantage of NC in EE is evaluated by NS-2 platform. However, in these works, the transmission reliability and energy consumption are considered separately, which may not achieve desired trade-off between them.
However, to optimize the transmission reliability and energy consumption jointly, a new metric was developed in Li et al., 27 where the circuit energy consumption was also considered. Under the proposed metric, the energy consumption per unit transmit distance was optimized by selecting the appropriate number of cooperative relays, which is insightful for the problem formulation of this article.
Similar to Li et al., 27 in this article, a novel metric for minimizing the energy consumption per unit transmission is proposed for the multiple-source multiple-relay WSN deployed with RO-FFNC. The problem is formulated under proper transmission reliability constraints, where both transmitter and receiver circuit energy consumptions are considered.
Network model and problem formulation
System model
The system model of multiple-source multiple-relay WSN is illustrated in Figure 1, where N relays are deployed for data forwarding from M source nodes to a common sink. The forwarding process is divided into multiple access (MA) and broadcast (BC) phases. In MA phase, as shown in Figure 1(a), each source node Si broadcasts its data
in which

System model of multiple-source multiple-relay WSN: (a) MA phase and (b) BC phase.
In BC phase, the cooperative relays are selected according to the reception situation. For each relay rj, if it successfully receives M packets from all the source nodes, it will utilize FFNC and combine the data as
where
where
If rj fails to receive all the packets from the sources, it will not be selected as cooperative relay and forward no packet to sink in BC phase. After MA and BC phases, the sink will recover the data
Variable definitions
Before problem formulation, some necessary items are defined in Table 1 to capture the energy consumption of the investigated network.
Item definitions.
Figure 2 shows the Venn diagram of A, Aun, ATx, Asu, and Arec, and the relationship between these sets is illustrated.

Venn diagram of A, Aun, ATx, Asu, and Arec.
The outage probability of the link between Si and rj is defined as
where
Moreover, we define the lifetime of the investigated WSN as the time when the first relay exhausts all its energy, which is widely used in Jung and Ingram, 4 Tan et al., 22 Jung and Weitnauer, 23 and Gou et al. 24 Finally, we define per transmission as the whole CC transmission, which includes both MA and BC phases.
Problem formulation
To minimize the energy consumption of cooperative relays, Jung and Weitnauer 23 and Gou et al. 24 proposed a two-step solution for problem formulation, that is, how many and which relays should be selected as the cooperative ones. Motivated by these thoughts, we first optimize the number of cooperative relays by considering energy consumption and transmission reliability jointly.
First, a novel metric that considers both the energy consumption and transmission reliability is proposed, which can be written as
where
Note that sign(.) captures the outage principle of RO-FFNC decoding. According to the definitions in Table 1,
where
where
where
Lemma 1
The total energy consumption per transmission can be written as
Proof
Since
in which
in which
here,
Finally, by substituting equations (15)–(18) into equation (14), the expression of equation (13) can be derived. □
Since
With the above equations and definitions, the problem can be formulated as
By solving problem (19), ATx can be obtained.
The proposed protocol
To simplify the optimization process, in this section, the model founded in section “Problem formulation” is analyzed to identify some conditions. On the basis of them, the problem is divided into three subproblems, and the corresponding energy-saving strategy is proposed accordingly. Based on these strategies, a residual-energy-activated forwarding protocol is proposed.
First, when
Similarly, substituting equation (10) into equation (9), it can be deduced that
When
In this case, it can be deduced that Rtotal = 0 by recalling equation (8). In other words, no information can be received at sink in this situation. Substituting Rtotal = 0 into equation (7), it is optimal to set
When
Thus, the strategy in this case can be expressed as follows:
Note that in strategy 3, the relays who own the most residual energy will always be selected to forward, which corresponds with the guidelines of optimal cooperative protocol 23 in WSN.
On the basis of the above strategies in various cases, a residual-energy-activated forwarding protocol is proposed for the investigated WSN, which can be described as follows.
To illustrate the proposed protocol, we propose an example in Figure 3. The parameter setting is

An example of the proposed protocol.
Simulation results
In this section, the proposed protocol is evaluated in terms of both the proposed metric G and successful transmission time. Meanwhile, RO-FFNC, 14 FFNC, 11 and binary XOR NC 18 are also compared as benchmarks.
Parameter setting
Consider a multiple-source multiple-relay WSN in the area of 50 m × 50 m, where the source number M = 18 and the relay number N = 60. The sink locates at the position (25, 0). ri locates at the position (50rand, 23 + 4rand) and Sj locates at (50rand, 48+2rand), where rand is the normal distributed random variable in the rang (0, 1). One sample topology of the network is shown in Figure 4. For each sample, 30 trials are simulated, and in each trial, all the nodes are randomly relocated, except for the sink. We assume that the flow schedule is ideal, so that no collision occurs in the network.

One sample topology of 50 m × 50 m cooperative WSN.
We employ the energy model in Jung and Weitnauer,
23
which has transmitter circuit energy ETx = 45 nJ/packet and receiver circuit energy ERx = 135 nJ/packet. It is assumed that the reference transmitting power Eref = 22 dB, so the transmitter circuit energy ETx = (E/Eref) 45 nJ/packet when the transmitting power is E. Each relay has the initial energy
The channel between two nodes is non-frequency-selective Rayleigh block-fading model. We assume that the reference distance is dref = 5 m,
For performance evaluation, the proposed EE factor G, successful transmission time, and residual energy are compared. Successful transmission time is defined as the product of lifetime and successful transmission rate, which can evaluate both the EE and transmission reliability of the network. Lifetime is defined as the total number of transmission round when the first relay exhausts in the network. Successful transmission rate is defined as the ratio of the transmission round when the network experiences no outage and lifetime. Finally, for simplicity, in all the figures presented in the remainder of this article, A, B, C and D indicate the proposed protocol, RO-FFNC in Cheng and Yang, 14 FFNC in Xiao et al., 11 and binary XOR NC in Chen et al., 18 respectively.
EE factor G
The EE factor G of the four schemes are compared in Figures 5–7 under different SNR conditions. Figure 5 shows the case when Er = 19 dB and Es varies from 19 to 25 dB. It can be seen that when Es = 19 dB in Figure 5(a), the proposed protocol and RO-FFNC are superior to the other two. Meanwhile, FFNC and XOR NC have poor performance. This comparison verifies the gain of RO, because when Es is in low SNR region, most of the relays cannot successfully receive all the M packets from the source, so they consume the energy but will keep sleeping in the BC phase and offer no help for the data transmission, which will lead to undesirable transmission reliability, as well as the EE. On the contrary, the proposed protocol and RO-FFNC can recover the relays by utilizing RO scheme, so they can still perform well. However, comparing with RO-FFNC, the proposed protocol avoids unnecessary energy consumption by selecting part of the relays with the maximization of G, so it outperforms RO-FFNC. In Figure 5(b), it shows that the proposed protocol and FFNC are better than the others. Meanwhile, FFNC is superior to the proposed protocol, but the gap is narrow. In this case, Es = 22 dB, as it increases, more and more relays can successfully receive the packets from the sources. Thus, for FFNC, the relays can be positive in forwarding packets, so the EE is improved. Comparing with FFNC, although the proposed protocol obtain gains by utilizing RO, the low SNR of Er limits the transmission reliability. However, this result does not mean that FFNC outperforms the proposed protocol, in Figure 5(c), it shows that the proposed protocol is still optimal when Es = 25 dB. In total, from Figure 5(a)–(c), it can be observed that the proposed protocol is superior to FFNC in terms of EE G, because it always performs well when Es varies.

Comparison of the energy efficiency factor G when Er = 19 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.

Comparison of the energy efficiency factor G when Er = 22 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.

Comparison of the energy efficiency factor G when Er = 25 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.
Figure 6(a)–(c) depicts the case when Er = 22 dB, and Es varies from 19 to 25 dB. It shows that when Es varies, the proposed scheme is always superior to the other three. Also, when Es = 22 dB, the proposed protocol outperforms FFNC, which is different from the result in Figure 5(b). This result indicates that when Er is in medium region, the proposed protocol can receive its full advantage, because the growth of the transmitting power of relays will improve the transmission reliability of the forwarding link. Similarly, FFNC performs well only when Es = 22 and 25 dB, so its robustness is not as well as the proposed protocol.
Figure 7(a)–(c) shows the case when Er = 25 dB, and Es varies from 19 to 25 dB. Similarly, the proposed protocol is optimal when Es varies. From Figures 5–7, it can be summarized that the advantage of the proposed protocol is obvious when Es is in low region, because in this case, most of the relays cannot successfully receive all the packets from the source, so FFNC and XOR NC perform poorly. By utilizing RO scheme, the proposed protocol and RO-FFNC can recover the relays and achieve desirable performance. Moreover, due to the proper relay selection by maximizing G, the proposed protocol can avoid the drawback of RO and outperforms RO-FFNC.
Successful transmission time
Figures 8–10 depict the comparisons of successful transmission time under different SNR conditions. Since this metric is the product of lifetime and successful transmission rate, it can provide a comprehensive evaluation of the both. Figure 8 shows the case when Er = 19 dB and Es varies from 19 to 25 dB. The comparison result corresponds well with the one in Figure 5. In Figure 8(a), the proposed protocol is optimal, while FFNC and XOR NC perform poorly. In Figure 8(b) and (c), the results are also similar to the comparison of EE factor G in Figure 5(b) and (c). So, it indicates that the proposed metric G is effective in evaluating both the EE and transmission reliability. For example, in Figure 5(b), FFNC is superior to the proposed protocol in the proposed metric G; therefore, in Figure 8(b), the successful transmission time of FFNC is also superior to the proposed protocol. Similarly, Figures 9 and 10 also correspond well with the results in Figures 6 and 7, respectively. This comparison shows the importance of maximizing the proposed metric G, because it has obviously positive correlation with successful transmission time of the network.

Comparison of the successful transmission time when Er = 19 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.

Comparison of the successful transmission time when Er = 19 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.

Comparison of the successful transmission time when Er = 19 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.
Residual energy of the relays
Figures 11–13 illustrate the average residual energy of the relays when the network dies. Figure 11(a)–(c) shows the case when Er = 19 dB and Es varies from 19 to 25 dB. In Figure 11(a), it can be seen that with the proposed protocol, the relays have the least residual energy compared with the other compared ones. In the proposed protocol, the forwarding opportunities are uniformly allocated among the relays in Asu and Arec through the optimization process of equation (19), which can balance the load and prolong the lifetime of the relays. However, in FFNC and binary XOR NC, the forwarding opportunities are always allocated according to the reception of the packets other than residual energy, so the EE is not optimal. For RO-FFNC, the results show that the residual energy of the relays is very notable in each case, which reflects the energy inefficiency of the scheme.

Average residual energy when Er = 19 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.

Average residual energy when Er = 22 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.

Average residual energy when Er = 25 dB and Es varies: (a) Es = 19 dB, (b) Es = 22 dB, and (c) Es = 25 dB.
Figures 12 and 13 depict the situations when Er = 22 and 25 dB, respectively. The trend of the results is similar to the one in Figure 11, where the proposed scheme outperforms the other compared ones. These results correspond well with the ones in Figures 8–10.
Conclusion
This article addresses the energy-efficient and reliable transmission for multiple-source multiple-relay WSN. By considering some unique characteristics of RO-FFNC, the energy consumption and transmission reliability are jointly formulated by a novel metric, and based on it, the appropriate number of cooperative relays is selected. Furthermore, by solving the proposed problem in various cases, the optimization process is simplified to three sub-problems, and the corresponding strategy is developed accordingly. Then, a residual-energy-activated forwarding protocol is proposed accordingly, where EE and transmission reliability are both taken into consideration. Simulation results show that the proposed metric has obviously positive correlation with successful transmission time of the network and can comprehensively evaluate both the EE and transmission reliability. Besides, it indicates that the proposed protocol is superior to the benchmarks. In future work, this study will be extended to a multi-antenna setting with energy-harvesting technology in WSN.
Footnotes
Academic Editor: Hongyi Wu
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Basic Research Program of China (973 Program; grant no. 2013CB329104) and the National Natural Science Foundation of China (grant nos 61601238, 61372124, and 61427801).
