1 Introduction

Over the last few years, the industrial wireless sensor network (IWSN) has become one of the most interesting topics in the research community due to flexible installation and easy maintenance. Accordingly, many standards such as WirelessHART, WIA-PA, and ISA100.11a have been proposed [1,2,3,4,5,6,7]. More specifically, a dynamic power allocation policy for a wireless sensor network has been studied in [5] to improve the throughput and reduce energy consumption. In [6], authors investigated a strategy to set the time length in LEACH protocol to prolong the lifetime and increase throughput of wireless sensor network. In [7], an experiment study to understand the impact of interference among users on packet delivery ratio and throughput has been analyzed for wireless body sensor networks. Although, there are many works focusing on wireless sensor networks, but to fulfill demands on high reliability and timeliness is not easy because the wireless channels are often subject to interference and fading [3, 8]. Additionally, as the size of sensor network increases, replacing or recharging the batteries takes time and costs. This work becomes dangerous for humans in hazardous environments such as nuclear reactors, toxic environments. Moreover, devices implant inside the human body are more difficult or impossible to replace. To overcome these drawbacks, the radio frequency (RF) energy harvesting for wireless sensor networks has been considered as a promising solution to prolong the sensor’s lifetime and to enhance reliable communication [9, 10].

Recently, wireless power technologies have made a great progress to enable the wireless power transfer (WPT) for real wireless applications [11,12,13,14]. The wireless power can be harvested from natural sources such as solar, wind, TV broadcast signals, or a dedicated power transmitter [11]. In [12], a prototype of the RF energy harvesting device has been developed for experimental purposes. In [15, 16], authors have shown that the harvested energy can be stored in a supercapacitor, which can be charged very fast and the lifetime may be prolonged for many years with charging and discharging cycles. However, the power of the supercapacitor is often leaked out due to its self-discharge process, and it is not possible to store the harvested energy long enough for the next communication round. Without doubt, the applications of the RF energy harvesting will be used widely in near future, and this technology is still an open problem demanding more research.

In the light of RF energy harvesting ideas, many researchers have investigated on the problems of simultaneous information transmission and WPT in order to improve reliable communication, accordingly theoretical models, protocols, and system designs, have been proposed [17,18,19,20,21,22,23,24,25,26,27,28]. Specifically, in [17], an outage minimization with energy harvesting for point-to-point communication over fading channels has been studied. Employing a Markov model, the impact of packet retransmission, energy harvesting, and detection on the outage performance for a wireless power sensor network (WPSN) have been illustrated. Regarding to point-to-multipoint communications, Tiangquing et al. have focused on the problem of energy harvesting with cooperation beam selection for wireless sensors [18]. Closed-form expression for the distribution function of harvested energy in a coherent time is derived to analyze the system performance. In [20], the impact of energy harvesting on the packet loss probability and the average packet delay for overlaying wireless sensor networks has been considered. Also, the optimal design of energy storage capacity in the sensors has been proposed. Taking the advantages of cooperative communication, works reported in [26] have shown an interesting result that the harvested energy from a wireless source can obtain the same diversity multiplexing tradeoff as if the relay is attached to a fixed power supply. In [27], a protocol for the WPSN is proposed, and the characteristics of a full-duplex wireless-powered relay have been studied. The results have shown a fact that the throughput of the proposed protocol can be improved significantly when it is compared to the existing ones. In [29], authors have applied zero-forcing beamforming to optimize the energy harvesting capability and enhance the system performance. Given delay constraints, optimal stochastic power control for energy harvesting system has been investigated in [30,31,32]. Most recently, transmit power minimization for wireless networks with energy harvesting relays have been analyzed in [33].

Motivated by all above works, in this paper, we investigate two WPT MAC protocols, namely HHT and HDT, to improve the reliable communication of wireless sensor networks. Therein, the HHT protocol is derived from previous publications [17, 20, 22]. More specifically, we consider that multiple sensor nodes, which are widely used to measure temperature, pressure, humidity, etc., in industrial wireless networks, are scheduled to harvest the energy from a HAP following one of the considered protocols. Thereafter, they send their packets to the HAP following the assigned timeslot. The packet transmitted from the single node to the HAP should meet the strict deadline to satisfy the reliable communication requirements. To reduce the packet loss, the HAP can use either the MRC or the SC technique to process the received packet. Given these settings, the performance analysis of the considered system is investigated. The contributions and main results of this paper are summarized as follows:

  • Two protocols, namely as HHT and HDT, for multiple sensor nodes of the wireless network by employing time division multiple access (TDMA) are investigated.

  • We characterize two performance metrics for the considered system model which include: 1) packet timeout probability for uplink information transmission (ULIT) of a single node. 2) System reliability in terms of successful probability of packet transmission and system outage probability for the ULIT. These performance metrics are useful tools to provide a fast evaluation and parameter optimization of sensor installations.

  • The numerical results are provided to compare the performance between the HHT and HDT protocols. By simply rearranging energy harvesting timeslots, the performance of the HDT protocol outperforms the one of the HHT protocol for both the MRC and SC techniques. Further, the obtained results can be extended to analyze the performance of multi-hop communication in the WPSN.

To the best of authors’ knowledge, there is no previous publication studying this problem.

The remainders of this paper are presented as follows. In Sect. 2, the system model, assumptions, and WPT protocols for the sensor network are introduced. In Sect. 3, the performance metrics for a single sensor node and whole system are introduced. Accordingly, closed-form expressions for the packet outage probability, system reliability, and system outage probability are derived in Sect. 4. In Sect. 5, the numerical results and discussions are provided. Finally, the conclusion is given in Sect. 6.

2 System model

In this section, we introduce the system model, channel assumptions, and WPT schemes for the considered WPSN.

2.1 System model

Let us consider a WPSN as shown in Fig. 1 in which K sensor nodes are scheduled to harvest the energy and send packets to the HAP. The HAP is assumed to have \(M+1\) antennas in which one special antenna is designed for the downlink wireless energy transfer (DWET) and the M antennas are used to receive the ULIT. Here, the HAP can employ either the SC or the MRC technique to process the received information. Due to the limited energy, the sources need to be charged by the HAP following a specific protocol (see Sects. 2.2 and 2.3). The channel gain of the ULIT from the sensor node \(S_k\) to the jth antenna of the HAP is denoted by \(g_{kj}\), \(j \in \{1,2,\ldots , M\}\). The channel gain of the DWET from the HAP to the sensor node \(S_k\) is expressed by \(f_{k}\) or \(h_{k}\), \(k \in \{1,2,\ldots , K\}\) depending on the energy harvesting protocol. Note that the sensors are often equipped with a battery to start the energy harvesting process and they also use such a battery as a backup energy source [10]. However, the analysis of the battery consumption is out of scope of this paper.

Fig. 1
figure 1

A system model of wireless powered communications. There are K nodes scheduled to harvest the energy and then communicate with the HAP. The green dash lines are DWET, while the black solid lines are ULIT (Color figure online)

To make the line with recent publications [34,35,36,37], we assume that all channel coefficients are modeled as Rayleigh blocked flat fading, i.e., the channels remain constant during transmission of one packet but they may independently change thereafter. Accordingly, the channel gains are random variables (RVs) distributed following an exponential distribution, and the probability density function (PDF) and cumulative distribution function (CDF) are formulated, respectively, as,

$$f_{X}(x)=\frac{1}{\Omega _{X}}\exp \left( - \frac{x}{\Omega _X} \right) ,$$
(1)
$$F_{X}(x)=1- \exp \left( - \frac{x}{\Omega _X} \right) ,$$
(2)

where X is the RV refers to the channel gain, and \({\Omega _X}={{\mathrm{{\mathbf {E}}}}}[X]\) is the channel mean gain. In the considered system, the channel mean gains of RVs \(f_k\), \(h_{k}\), and \(g_{kj}\) are denoted by \(\Psi _{k}\), \(\Omega _k\), and \(\beta _{k}\), respectively.

2.2 HHT protocol

This protocol employs the TDMA approach as shown in Fig. 2 in which a time block T is separated into K timeslots, and each timeslot is assigned for one sensor node \(S_{k}\) with the period of \((t_{0k}+t_{k})T\). Here, the header of each timeslot \(t_{0k}T\) is used for the DWET while the remainder \(t_{k}T\) is dedicated to send the data packet to the HAP. In other words, the total time block of the energy harvesting and information transfer can be expressed as

$$\sum \limits _{k=1}^{K}t_{0k}T+ \sum \limits _{k=1}^{K}t_{k}T=T,$$
(3)

i.e., \(\sum \limits _{\tau =0}^{K} t_{\tau } = 1\), \(t_{\tau }\) is a fraction of timeslot T which satisfies \(0<t_{\tau } < 1\), and \(t_{0}\) denotes the total time for the energy harvesting, defined by

$$t_{0}=\sum \limits _{k=1}^{K} t_{0k},\quad 0<t_{0k}<1,\quad \forall k \in \{1,2,\ldots , K\},$$
(4)
Fig. 2
figure 2

The timeslot of each sensor node \(S_k\) is devised by two sub-timeslots, \(t_{0k}T\) and \(t_{k}T\). The sub-timeslot \(t_{0k}T\) is used for the DWET while the sub-timeslot \(t_{k}\) is used for the ULIT

In the period \(t_{0k}T\), the HAP uses one special antenna to transfer the energy to the sensor node \(S_{k}\), and hence the harvested energy at the \(S_{k}\) can be expressed as follows

$$E_{k}=\eta _{k} t_{0k}T P f_{k} d^{-\alpha }_{k},\quad \forall k \in \{1,2,\ldots , K\},$$
(5)

where P is the transmission power of the HAP, \(d_{k}\) is distance from the HAP to the node \(S_{k}\), \(\alpha\) is the path-loss exponent, and \(\eta _{k} \in (0,1)\) is the energy conversion efficiency coefficient which depends on the harvesting circuitry [38, 39]. After energy harvesting period, the sensor node \(S_{k}\) uses its harvested energy to send the data packet to the HAP with the power given by

$$\begin{aligned} P_k=\frac{E_k}{ t_{k}T}=\frac{\eta _{k} t_{0k} P f_{k}d^{-\alpha }_{k}}{t_k},\quad \forall k \in \{1\ldots K\}. \end{aligned}$$
(6)

Moreover, the transmission time of the sensor node \(S_{k}\) for one packet with size of L bits can be formulated as the ratio of packet size to the transmission rate as follows [40,41,42,43,44]

$$\begin{aligned} T^{(v)}_{k}=\frac{{\widetilde{B}}_{k}}{\ln \left( 1+\rho _k \gamma ^{(v)}_{k}\right) }, \quad \forall k \in \{1,2,\ldots , K\}, \end{aligned}$$
(7)

where \({\widetilde{B}}_{k}=\frac{L\ln (2)}{Wt_k}\), W is the system bandwidth, and \(\rho _k\) is a constant related to a specific target bit error rate of M-ary quadrature amplitude modulation (MQAM), \(\rho _k=-\frac{1}{\log (5*BER_k)}\) [45, 46]. Accordingly, the SNR \(\gamma ^{(v)}_{k}\) can be expressed as (see Appendix 1)

$$\begin{aligned} \gamma ^{(v)}_{k}=\frac{P_k g^{(v)}_k d^{-\alpha }_{k}}{WN_0}=\frac{\eta _{k} t_{0k} \gamma _{0} f_{k} g^{(v)}_k d^{-2\alpha }_{k} }{t_k }, \end{aligned}$$
(8)

where \(\gamma _{0}=\frac{P}{WN_0}\), \(v \in \{SC,MRC\}\) technique, and if the HAP employs the SC technique, i.e. \(v=SC\), \(g^{(v)}_{k}\) can be formulated as

$$\begin{aligned} g^{(SC)}_{k}=\max \limits _{j \in \{1,2,\ldots , M\}} \{ g_{kj}\}, \end{aligned}$$
(9)

otherwise if the HAP uses the MRC technique to process the received signal, i.e. \(v=MRC\), then \(g^{(v)}_{k}\) can be given by

$$g^{(MRC)}_{k}=\sum \limits _{j=1}^{M} g_{kj}.$$
(10)

2.3 HDT protocol

In contrast with the HHT protocol, in the HDT protocol, the HAP uses a dedicated timeslot, \(t_0\), at the beginning of the block to harvest the energy, while other timeslots are only used for ULIT (see Fig. 3). Accordingly, the sensor node \(S_{k}\) can harvest the energy over the downlink \(h_k\) as

$$\begin{aligned} E_{k}=\eta _{k} P d^{-\alpha }_{k} h_{k} t_{0}T,\quad \forall k \in \{1,2,\ldots , K\}. \end{aligned}$$
(11)

After the energy harvesting period, the sensor nodes wait for their assigned timeslot to send the packet to the HAP with the power given by

$$\begin{aligned} P_k=\frac{E_k}{t_kT}=\frac{ t_{0}\eta _{k}h_k P d^{-2\alpha }_{k} }{t_k},\quad \forall k \in \{1\ldots K\}. \end{aligned}$$
(12)

Accordingly, the SNR at the HAP when the sensor node \(S_k\) used its harvested energy to transmit the packet to the HAP is given as

$$\begin{aligned} \gamma ^{(v)}_{k}=\frac{P_k g_k d^{-\alpha }_{k}}{WN_0}=\frac{\eta _{k}t_{0} \gamma _{0} h_k g^{(v)}_k d^{-2\alpha }_{k}}{t_k}. \end{aligned}$$
(13)

In this protocol, the total time including the wireless energy transfer and communication transmission time for one block is also normalized to one as given in (3).

Fig. 3
figure 3

The dedicated timeslot \(t_{0}T\) is used to transfer the energy to all sources, the other timeslots \(t_kT\) are assigned to the source \(S_{k}\)

3 Performance metrics

In this section, we introduce performance metrics for a single user and for a complete system.

3.1 Packet timeout probability for the point-to-point communication

When one packet from the sensor node \(S_k\) is sent to the HAP in its assigned timeslot, it may be timed out or erroneous due to channel impairment. The event of successful transmission is given as \(T^{(v)}_{k,succ}=\{T^{(v)}_{k}|T^{(v)}_{k} < t_{out,k}\}\) where \(T^{(v)}_{k}\) is defined in (7), and \(t_{out,k}\) is the threshold for the transmission time of one packet. Clearly, the packet transmission time is a function of random variables which depend on the channel state information (CSI) of the energy harvesting phase and the information transmission phase. According to the probability definition, the CDF of the packet transmission time for the sensor node \(S_{k}\) can be formulated as

$$\begin{aligned} F_{T^{(v)}_{k}}(t)&=\Pr \left\{ T^{(v)}_{k}<t\right\} . \end{aligned}$$
(14)

Further, the packet timeout probability is defined as the probability that the packet transmission time is greater than the timeout threshold, \(t_{out,k}\). In other words, this probability can be expressed as

$$\begin{aligned} {\mathcal{O}}_{k}^{(v)}=\Pr \left\{ T^{(v)}_{k} \ge t_{out,k}\right\} = 1- F_{T^{(v)}_{k}}(t_{out,k}). \end{aligned}$$
(15)

Without loss of generality, we set \(t_{out,k}=t_k T=t_{out}\), i.e., the threshold for the transmission time of one packet is equal to the period of one time slot, and consider the performance metrics as follows.

3.2 System performance metrics

To evaluate the system performance, we introduce two metrics, namely system reliability and outage probability.

3.2.1 System reliability

The system reliability of the WPSN is defined as the probability of the packet transmission time for the node having the worst channel condition and still satisfying the timeout threshold, given as

$$\begin{aligned} {\bar{\mathbf{R}}}^{(v)}=\Pr \left\{ T^{(v)}_{\max } < t_{out} \right\} , \end{aligned}$$
(16)

where \(T^{(v)}_{\max } = \max \limits _{k \in \{1,2,\ldots , K\}} \{T^{(v)}_{k}\}\).

3.2.2 Outage probability

Outage probability is defined as the probability of the packet transmission time for the node having the best channel condition but not satisfying the timeout threshold, given as

$$\begin{aligned} {\mathcal{O}}_{sys}^{(v)}=\Pr \left\{ T^{(v)}_{\min } \ge t_{out} \right\} . \end{aligned}$$
(17)

where \(T^{(v)}_{\min }= \min \limits _{k \in \{1,2,\ldots , K\}} \{T^{(v)}_{k}\}\). To investigate further, let us consider an important lemma as follows.

Lemma 1

Assume that the RV\(X_k\)and\(Y_{kj}\)are independent and distributed following an exponential distribution with mean values\(\Omega _{k}\)and\(\beta _{k}\), respectively. We define a new RV as\(Z^{(v)}_{k}=X_{k}Y^{(v)}_{k}\)where

$$\begin{aligned} Y^{(v)}_{k}= {\left\{ \begin{array}{ll} \sum \nolimits _{j=1}^{M} Y_{kj}, &{} \quad v=MRC\\ \max \limits _{j \in \{1,2,\ldots , M\}} \{Y_{kj}\}, &{}\quad v=SC \end{array}\right. }. \end{aligned}$$
(18)

The CDF of the RV\(Z^{(v)}_{k}\), \(v \in \{MRC,SC\}\)is formulated as follows

$$\begin{aligned} F_{Z^{(v)}_{k}}(z)= {\left\{ \begin{array}{ll} (20), \quad v=MRC\\ (21), \quad v=SC \end{array}\right. }, \end{aligned}$$
(19)

in which

$$\begin{aligned} F_{Z^{(MRC)}_{k}}(z)&=1-\frac{2}{\Gamma (M)} \left( \frac{z}{\Omega _{k}\beta _{k}}\right) ^\frac{M}{2} K_{M}\left( 2 \sqrt{\frac{z}{\Omega _{k} \beta _{k}}} \right) \end{aligned}$$
(20)
$$\begin{aligned} F_{Z^{(SC)}_{k}}(z)&=1-2M\sum \limits _{m=0}^{M-1}\left( {\begin{array}{c}M-1\\ m\end{array}}\right) (-1)^m \\&\times \sqrt{\frac{z}{(m+1)\beta _{k}\Omega _{k}}}K_1 \left( 2\sqrt{\frac{(m+1)z}{\Omega _{k}\beta _{k}}} \right) . \end{aligned}$$
(21)

where\(\Gamma (\cdot )\)and\(K_{m}(x)\)denote Gamma function [47, Eq. (8.339.1)] and modified Bessel function [47, Eq. (3.471.9)], respectively.

Proof

The proof is provided in “Appendix 1”. \(\square\)

4 Performance analysis

In the following section, we use the results of Lemma 1 to analyze the performance of the considered system for both HDT and HHT protocols.

4.1 Analysis of the HHT protocol

4.1.1 Packet timeout probability for a single node

To derive the packet timeout probability for node \(S_k\), we first derive the CDF of packet transmission time by combining (7) with (8), and the expression (14) can be rewritten as follows

$$\begin{aligned} F_{T^{(v)}_{k}}(t)=1-\Pr \left\{ f_{k}g^{(v)}_{k} < \left[ \exp \left( \frac{{\widetilde{B}}_{k}}{t}\right) -1\right] {\mathcal{A}}_k \right\} , \end{aligned}$$
(22)

where \({\mathcal{A}}_k=\frac{t_k d^{2\alpha }_{k}}{\gamma _{0} \eta _{k} \rho _{k} t_{0k}}\). Using Lemma 1, the CDF of \(T^{(v)}_{k}\) in the MRC and SC schemes can be obtain easily as follows:

$$\begin{aligned} F_{T^{(MRC)}_{k}}(t)&=\frac{2}{\Gamma (M)} \left( \frac{\Upsilon (t) {\mathcal{A}}_k}{\Psi _{k}\beta _{k}}\right) ^\frac{M}{2} K_{M}\left( 2 \sqrt{\frac{\Upsilon (t) {\mathcal{A}}_k}{\Psi _{k} \beta _{k}}} \right) , \end{aligned}$$
(23)
$$\begin{aligned} F_{T^{(SC)}_{k}}(t)&=2M\sum \limits _{m=0}^{M-1}\left( {\begin{array}{c}M-1\\ m\end{array}}\right) (-1)^m \\&\times \sqrt{\frac{\Upsilon (t){\mathcal{A}}_k}{(m+1)\beta _{k}\Psi _{k}}} K_1\left( 2\sqrt{\frac{(m+1)\Upsilon (t) {\mathcal{A}}_k}{\Psi _{k}\beta _{k}}} \right) , \end{aligned}$$
(24)

where \(\Upsilon (t)=\exp \left( \frac{{\widetilde{B}}_{k}}{t}\right) -1\).

From (15), we derive the packet outage probability of the MRC and SC schemes by using (23) and (24) as follows:

$$\begin{aligned} {\mathcal{O}}_{k}^{(MRC)}&=1-F_{T^{(MRC)}_{k}}(t_{out}), \end{aligned}$$
(25)
$$\begin{aligned} {\mathcal{O}}_{k}^{(SC)}&=1-F_{T^{(MRC)}_{k}}(t_{out}). \end{aligned}$$
(26)

4.1.2 System performance of the HHT scheme

Since the packet transmission time of each node is independent, the CDF of \(T^{(v)}_{\max }\) and \(T^{(v)}_{\min }\) can be obtained by using the order statistics theory as follows:

$$\begin{aligned} F_{T^{(v)}_{\max }}(t)&= \Pr \left\{ \max \limits _{k \in \{1,2,\ldots , K\}} \left\{ T^{(v)}_{k} \right\} < t \right\} \\&=\prod \limits _{k=1}^{K}F_{T^{(v)}_{k}}(t), \end{aligned}$$
(27)
$$\begin{aligned} F_{T^{(v)}_{\min }}(t)&=\Pr \left\{ \min \limits _{k \in \{1,2,\ldots , K\}} \left\{ T^{(v)}_{k} \right\} < t \right\} \\&=1-\prod \limits _{k=1}^{K}\left( 1- F_{T^{(v)}_{k}}(t)\right) . \end{aligned}$$
(28)

System reliability Following the definition given in (16) and using (27), we obtain the system reliability for the HHT scheme as follows

$$\begin{aligned} {\bar{\mathbf{R}}}^{(v)}=F_{T^{(v)}_{\max }}(t_{out})=\prod \limits _{k=1}^{K}F_{T^{(v)}_{k}}(t_{out}), \end{aligned}$$
(29)

where \(v \in \{MRC,\,SC\}\), \(F_{T^{(MRC)}_{k}}(t)\) and \(F_{T^{(SC)}_{k}}(t)\) are defined in (23) and (24), respectively.

Outage probability According to the definition of the outage probability given in (17) and using (28), the closed-form expression for the outage probability can be easily derived as

$$\begin{aligned} {\mathcal{O}}_{sys}^{(v)}&=1-F_{T^{(v)}_{\min }}(t_{out}) \\&=\prod \limits _{k=1}^{K}\left( 1- F_{T^{(v)}_{k}}(t_{out})\right) ,\quad v \in \{MRC,\,SC\}, \end{aligned}$$
(30)

where \(F_{T^{(MRC)}_{k}}(t)\) and \(F_{T^{(SC)}_{k}}(t)\) are formulated in (23) and (24), respectively.

4.2 Analysis of the HDT protocol

4.2.1 Packet timeout probability for a single node

Similar to the HHT protocol, we need to derive the CDF of packet transmission time for the sensor node operating in the HDT protocol. In particular, the CDF of \({T^{(v)}_{k}}\) in the HDT scheme can be rewritten by combining (13) with (7) and using (14) as

$$\begin{aligned} F_{T^{(v)}_{k}}(t)= \Pr \left\{ h_{k}g^{(v)}_{k} \le \Upsilon (t) {\mathcal {B}}_{k}\right\} , \end{aligned}$$
(31)

where \({\mathcal {B}}_{k}=\frac{t_k d^{2\alpha }_{k}}{\gamma _{0} \eta _{k} \rho _{k} t_{0}}\). It is easy to see that the final expression for \(F_{T^{(v)}_{k}}(t)\) in (31) can be obtained by using Lemma 1. In particular, the CDF of \(F_{T^{(v)}_{k}}(t)\) in the HDT scheme are given, respectively, as

$$\begin{aligned} F_{T^{(MRC)}_{k}}(t)&=\frac{2}{\Gamma (M)} \left( \frac{\Upsilon (t) {\mathcal {B}}_{k}}{\Omega _{k}\beta _{k}}\right) ^\frac{M}{2} K_{M}\left( 2 \sqrt{\frac{\Upsilon (t) {\mathcal {B}}_{k}}{\Omega _{k} \beta _{k}}} \right) , \end{aligned}$$
(32)
$$\begin{aligned} F_{T^{(SC)}_{k}}(t)&=2M\sum \limits _{m=0}^{M-1}\left( {\begin{array}{c}M-1\\ m\end{array}}\right) (-1)^m \\&\times \sqrt{\frac{\Upsilon (t){\mathcal {B}}_{k}}{(m+1)\beta _{k}\Omega _{k}}}K_1 \left( 2\sqrt{\frac{(m+1)\Upsilon (t) {\mathcal {B}}_{k}}{\Omega _{k}\beta _{k}}} \right) . \end{aligned}$$
(33)

Accordingly, the packet outage probability of a single node can be obtained by using (32) and (33) as follows:

$$\begin{aligned} {\mathcal {O}}_{k}^{(MRC)}&=1-F_{T^{(MRC)}_{k}}(t_{out}), \end{aligned}$$
(34)
$$\begin{aligned} {\mathcal {O}}_{k}^{(SC)}&=1-F_{T^{(SC)}_{k}}(t_{out}). \end{aligned}$$
(35)

where \(F_{T^{(MRC)}_{k}}(t)\) and \(F_{T^{(SC)}_{k}}(t)\) are defined in (32) and (33), respectively.

4.2.2 System performance of the HDT protocol

To make a comparison of the system performance between the HHT and HDT protocols, we derive the system reliability and outage probability.

System reliability According to (16), we can express the system reliability for the HDT protocol as

$$\begin{aligned} {\bar{\mathbf {R}}}^{(v)}=F_{T^{(v)}_{\max }}(t_{out})=\prod \limits _{k=1}^{K}F_{T^{(v)}_{k}}(t_{out}), \end{aligned}$$
(36)

where \(F_{T^{(MRC)}_{k}}(t)\) and \(F_{T^{(SC)}_{k}}(t)\) are formulated in (32) and (33), respectively.

Outage probability From (17), we can derive the outage probability for the considered WPSN by using order statistics theory as follows

$$\begin{aligned} {\mathcal {O}}_{sys}^{(v)}&=1-F_{T^{(v)}_{\min }}(t_{out}) \\&=\prod \limits _{k=1}^{K}\left( 1- F_{T^{(v)}_{k}}(t_{out})\right) ,\quad v \in \{MRC,\,SC\}, \end{aligned}$$
(37)

where \(F_{T^{(MRC)}_{k}}(t)\) and \(F_{T^{(SC)}_{k}}(t)\) are defined in (32) and (33), respectively.

5 Numerical results

In this section, analytical and simulation results for the considered WPSN are presented. More specifically, we compare the performance of a single node and the system with respect to the HDT and HHT protocols. We consider a 2-D simulation setup, where \((x_k,y_k)\) is the coordinate of \(k-\) sensor node, and \(k=0\) is for the HAP. We use the Monte-Carlo simulation method with \(10^6\) loops. Simulation algorithms for HHT and HDT protocols are presented in Algorithm 2 and 3, respectively. Unless otherwise stated, the following system parameters are set as follows:

  • Packet size: \(L=128\) bytes [48];

  • Timeout threshold: \(t_{out}=0.864\) miliseconds [48];

  • Bit error rate: \(\hbox {BER}_k=10^{-2}\);

  • Channel mean gains: \(\Psi _k=\Omega _k=\beta _k=1\);

  • Transmit SNR of the HAP: \(\gamma _0=\frac{P}{WN_0}\);

  • The HAP locates at: \((x_0,y_0)=(0,0)\);

  • The pathloss exponent \(\alpha =4\);

  • System bandwidth: W=2 MHz;

Fig. 4
figure 4

Analytical results of packet timeout probability versus non-identical distances between the sensor node \(S_k\) and the HAP. The harvesting time in the HDT and HHT are \(t_{0k}=0.05\) and \(t_0=\sum _{k=1}^{K=4} t_{0k} =0.2\), respectively. Information transmission time for all nodes is set to \(\,t_{k}=0.2\), the energy harvesting efficiency coefficient \(\eta _k=0.5\), and the SNR is set to \(\gamma _{0}=5\) dB

Figure 4 analyzes the impact of non-identical distances on the packet timeout probability of individual sensor nodes. We can observe from Fig. 4 that node 4 has the lowest packet timeout probability, i.e., it obtains the best performance over all nodes. This is because the distance between the HAP and the sensor node 4 is the shortest, i.e., \(d_4=0.14\), hence it can harvest the energy, and transfers the information to the HAP better than other nodes. At a specific node, e.g. node 1, we can see that the packet timeout probability of the HDT protocol is always smaller than the one of HHT protocol. The sensor node using HDT protocol together with MRC technique obtains the best performance. Furthermore, we can observe from Fig. 5 that given the same system parameters, i.e. \(d_k=0.7\), which sensor node has a higher value of the energy harvesting efficiency coefficient, e.g., \(\eta _{4}=0.9\), it will provide a better performance. Also, the packet timeout probability of the HDT protocol is always smaller than the one of the HHT protocol at the specific sensor node. It means that the performance of the HDT protocol is always better than the one of the HHT protocol.

Fig. 5
figure 5

Analytical results of packet timeout probability versus non-identical energy harvesting efficiency coefficients. The HAP and \(S_{k}\) have \(M=2\) and \(K=4\) antennas, respectively. The harvesting time in the HDT and HHT are \(t_{0k}=0.05\) and \(t_0=\sum _{k=1}^{K=4} t_{0k} =0.2\), respectively. Information transmission time for all nodes is set to \(\,t_{k}=0.2\), and the SNR is set to \(\gamma _{0}=5\) dB

Fig. 6
figure 6

System reliability versus the transmission power of the HAP in which the HAP has \(M=2\) antennas. The harvesting time in the HDT and HHT are \(t_{0k}=0.01\) and \(t_0=\sum _{k=1}^{K=5} t_{0k} =0.05\), respectively. Information transmission time for all nodes is set to \(\,t_{k}=0.19\), the energy harvesting efficiency coefficient \(\eta _k=0.5\)

Figure 6 shows a comparison of the system reliability between the HHT and HDT protocols. Sensor nodes are located at the same position as \((x_k,y_k)=(0.3,0.3)\). As can clearly be seen from Fig. 6, the simulation and analysis results match well for all protocols. More specifically, the system reliability is increased as the transmit SNR \(\gamma _0\) of the HAP increases. This is because that the HAP can transfer a strong energy to the farthest sensor node as the transmit SNR \(\gamma _0\) increases, i.e., the sensor nodes can harvest more energy. Accordingly, they can transmit the information back to the HAP with a higher power level. Therefore, the received SNR at the HAP is improved, i.e., the reliability is improved. Further, the system reliability of the HDT protocol outperforms the one of the HHT in both SC and MRC techniques. It is due to the fact that the total time used for the DWET in the HDT protocol is greater than the one of the HHT protocol. Accordingly, the nodes in the HDT protocol can harvest more energy from the HAP, and hence they can transmit with a higher power level, i.e, the reliability is enhanced. Further, in the transmission SNR regime \(\gamma _0 \ge -1\) dB, the system reliability is rather high (greater than \(90\%\)). This means that the HDT scheme with the MRC technique may be a potential solution for wireless applications where stringent delay and reliable communication are the most important criteria. We also can observe that when the number of antennas at the HAP increases from \(M=2\) to \(M=3\), the system reliability is improved significantly. It is easy to understand that increasing the number of antennas leads to an enhanced received signal at the HAP, i.e., the probability of successful receiving packet is improved.

Fig. 7
figure 7

Impact of energy harvesting timeslot length on the system reliability. The HAP using MRC technique has \(M=2\) antennas. The energy harvesting efficiency coefficient is set to \(\eta _k=0.5\)

In Fig. 7, the impact of length of energy harvesting timeslot on the performance of HHT and HDT protocols is presented, the HAP is assumed to use the MRC technique to process the received signal. Firstly, we observe the performance of HHT protocol as \(t_{0k}\) increases from 0.01 to 0.05 (\(t_0\) is increased from 0.05 to 0.25). It is clear to see that the system reliability is improved significantly, as the length of energy harvesting time increases. This is because that increasing energy harvesting time leads to increase the energy harvested at sensors, i.e., increases the transmission power for all sensors. Accordingly, the probability of a packet being timeout is reduced, i.e., the system reliability is increased. However, as \(t_{0k}\) increases further, i.e., \(t_{0k}=0.1\) (\(t_0=0.5\)), the system reliability is degraded when it is compared to \(t_{0k}=0.01, 0.05\). This is due to the fact that as the major time is used to harvest the energy, the remaining timeslot used to transmit packet is very short. Consequently, the probability that a packet is dropped due to a timeout increases, i.e., the system reliability is degraded. Secondly, we observe the same behaviors for HDT protocol when the energy harvesting time \(t_0\) is increased. It is easy to see that the system reliability of the HDT is improved as \(t_0\) increases from from 0.05 to 0.25, and decreases as \(t_0=0.5\). This is due to the same reason as in the HHT protocol, i.e., if the length of energy harvesting timeslot is reasonable, the system performance is improved significantly, otherwise it is degraded. Finally, we see that the HDT protocol outperforms the one of the HHT protocol under the same energy harvesting time \(t_0\).

Fig. 8
figure 8

Outage probability versus the energy harvesting efficiency coefficient \(\eta _{k}\). The energy harvesting time in the HDT and HHT are \(t_{0k}=0.01\) and \(t_0=\sum _{k=1}^{K=5} t_{0k} =0.05\), respectively. Information transmission time for all nodes is set to \(\,t_{k}=0.19\), the HAP transmission power is set to \(\gamma _0=5\) (dB), and \((x_k,y_k)=(0.45,0.45)\)

In Fig. 8, we examine the impact of the energy harvesting efficiency coefficient, \(\eta _{k}\), on the outage probability of the considered WPSN, where sensor nodes are located at the same position \((x_k,y_k)=(0.65,0.65)\), \(k=1,\ldots ,5\). It is clear to see that the simulation and analytical results match very well. Specifically, the outage probability decreases when the energy harvesting efficiency coefficient, \(\eta _{k}\), increases as expected . This can be understood that sensor nodes can harvest more energy when the energy harvesting efficiency coefficient increases, the energy harvesting capability of circuit in the sensor nodes is improved. Accordingly, the sensor nodes can transmit packets to the HAP with a high power level, i.e., the packet timeout probability is decreased. Furthermore, we can see that the outage probability curves of the HDT protocol are always below the ones of the HHT protocol for both the SC and MRC techniques. These results fit with the discussions in Fig. 6, i.e., the performance of HDT scheme outperforms the one of the HHT protocol. Moreover, the outage probability in the HDT with the MRC technique decreases significantly as the number of antennas at the HAP increases from \(M=2\) to the \(M=3\). This can be explained by the fact that the increasing the number of antennas at the HAP leads to enhance the signal strength at the HAP, the packet transmission time and erroneous packets are reduced. As a result, the outage probability decreases, or the system performance is improved. As increasing the demand on bit error rate target from \(\hbox {BER}_k=10^{-2}\) to \(\hbox {BER}_k=10^{-3}\) as in Fig. 9, the HDT protocol with MRC technique still obtains the best performance among all combinations, In other words, the HDT with MRC technique is a reason approach to guarantee the reliability in the wireless energy harvesting networks.

Fig. 9
figure 9

Analytical results of outage probability versus the energy harvesting efficiency coefficient \(\eta _{k}\) with BER\(_k=\{10^{-2},10^{-3}\}\). The energy harvesting time in the HDT and HHT are \(t_{0k}=0.01\) and \(t_0=\sum _{k=1}^{K=5} t_{0k} =0.05\), respectively. Information transmission time for all nodes is set to \(\,t_{k}=0.19\), and the HAP transmission power \(\gamma _0=5\) (dB)

6 Conclusion

In this paper, two WPT protocols for wireless sensor networks were proposed and compared. More specifically, the analytical expressions of the packet time probability and reliable communication for the proposed protocols over Rayleigh fading channels are derived. These obtained performance metrics were subsequently used to compare the performance of proposed protocols with respect to the SC and MRC techniques. Further, these obtained expressions can be useful tools for a fast evaluation and parameter optimization of the WPSN implementations. Numerical examples showed that the proposed HDT protocol using the MRC technique outperforms all other simulated scenarios. The performance of the proposed HDT protocol can be further improved when the number of antennas at the HAP increases. Thus, the HDT protocol using MRC technique can be a promising solution for wireless sensor networks with high reliability demands. In the future research, we will utilize the advantage of RF energy harvesting and study the performance of multi-hop communication and the impact of interference on communication links with high reliability demands.