Abstract

Reliable and efficient real-time transmission is an important and challenging issue for wireless sensor networks (WSNs). Truncated retransmission times and relay selection can effectively reduce transmission delay and improve system throughput. A new direct multisource multirelay cooperative automatic repeat request (D-MSMR-CARQ) protocol based on truncation with two relay selection methods in WSNs is analytically analyzed in this paper. Firstly, based on two different relay selection methods under the maximum ratio combining (MRC), the discrete time Markov chain (DTMC) model of D-MSMR-CARQ protocol and state space is established. Secondly, for each D-MSMR-CARQ protocol based on different relay selection method, we obtain the closed-form expressions of the system average transmission delay and the expressions of the system throughput through state transition probabilities. Finally, numerical results reveal that the first relay selection method outperforms the second relay selection method on the average transmission delay performance for the proposed protocol. More specifically, the delay performance of the proposed protocol can be improved by 13% compared with the nondirect-link protocol when the channel environment is the same; the proposed protocol improves the throughput performance by 47% compared with the nondirect protocol when the channel environment is harsh under the same simulation parameters. Furthermore, the optimal number of source nodes and relay nodes is determined.

1. Introduction

With the progress of wireless mobile communication technology and Internet of things (IoT), WSNs have broad application prospects in many fields such as environmental monitoring [13], smart agriculture [4], smart city [5, 6], and smart grid [7, 8]. However, WSNs face many challenges in system delay, throughput, and energy consumption. Therefore, it is a very practical problem to solve the reliability, antifading ability, effectiveness, and energy limitation of sensor nodes for WSNs.

As the major error control technology, automatic repeat request (ARQ) is favored by WSNs for its low complexity, severe energy constraints, reliable data transmission, and lower power communication requirements. Sarvi et al. [9] introduced an improved hybrid FEC/ARQ method for multimedia streaming over WSNs and derived the stationary probabilities and the delay performance. Li et al. [10] designed five broadcast-based ARQ protocols in multihop WSNs and analyzed the maximum number of retransmissions and the minimum energy consumption. The impacts of error control schemes (ARQ, FEC, and hybrid ARQ) on the network lifetime of WSNs are investigated in [11]. However, the network throughput of ARQ protocols in WSNs under stable state has not been studied.

Multiple input multiple output (MIMO) technology can improve the antifading ability by increasing the spatial diversity gain. Dey et al. [12] reported an indoor-outdoor measurement campaign in virtual MIMO WSNs and analyzed the collected data and the average MIMO capacity. Zhang et al. [13] analyzed the security performance of multigroup multicast centralized large-scale MIMO system under active attack. However, for WSNs composed of sensor nodes that are not easy to harvest energy, it is impractical to install multiple antennas due to the size and energy constraints of sensor nodes. Cooperative communication (CC) technology uses the broadcast characteristics of the channel, the source node broadcasts data packets to the relay node and the destination node at the same time, and the relay node cooperates with the source node to transmit data packets to form a virtual antenna array, to achieve the effect of MIMO. Therefore, a new CMIMO framework was proposed in [14] to save energy, which combined CC technology with MIMO technology and utilized cooperation between source node and relay node for long distance communication. Asheer and Kumar [15] verified that CMIMO can significantly improve the performance of WSNs and maintain the required quality of service by improving throughput, energy saving, and reliability. Furthermore, ARQ technology is combined with CC to form cooperative ARQ (CARQ) technology. CARQ not only ensures the high reliability of data transmission but also increases the spatial diversity gain, so it becomes the most suitable solution for WSNs. Wang et al. [16] suggested a single-source two-relay nodes selection CARQ protocol and built a discrete time Markov chain (DTMC) model to calculate the energy efficiency and throughput gain in WSNs. Tseng and Wu [17] proposed two types of selective and opportunistic AF relaying mechanisms for CARQ protocol; the closed-form expression of outage probability was derived. However, the average packet transmission delay of CARQ protocol in WSNs was not discussed.

Energy consumption is the core problem of WSNs; scholars have found that relay selection technology can effectively reduce energy consumption and improve energy efficiency. Torabi et al. [18] investigated the amplify-and-forward (AF) cooperative diversity system with best relay selection and derived the end-to-end signal-to-noise ratio (SNR) under the assumption of MRC and obtained the closed-form expressions of outage probability and average symbol error rate (SER). Arro-Valles et al. [19] proposed a sparsity-aware consistent sensor-relay-and-link selection algorithm based on optimal sparse solutions and convex relaxation technique. Bissias et al. [20] employed the best single-relay selection algorithm to study the outage probability and the average bit error rate (BER) for dual-hop relay system. Zou et al. [21] adopted an optimal three-stage relay selection scheme to derive the joint probability density function (PDF), the signal to interference and noise ratio (SINR), the optimal relay selection criterion, and the outage probability. Rahman et al. [22] considered the K-means estimation approach in 2-tier WSNs and selected the closest relay node to the base station to reduce energy consumption; the delay and throughput performance were not analyzed. However, if there is abnormal cluster, the mean deviation will be serious.

CC technology forwards the data packet from the source node through the relay node; thus, the communication link of users can be strengthened and CARQ technology can simultaneously reduce the packet error rate and improve the system throughput. Therefore, Zhou et al. [23] proposed a multisource single-relay CARQ protocol, but the single relay cannot meet the signal coverage required by current users [24, 25]. Li et al. [26] studied the single-source multirelay CARQ protocol and analyzed its throughput and delay performance by establishing the DTMC model. On this basis, combined with the abovementioned work, a multisource multirelay CARQ without direct-link protocol was proposed [27, 28]. However, due to the different channel environment of each link in the system, the improvement of performance is not obvious for the medium and long distance multisource multirelay communication system.

In this paper, we consider a basic medium and long distance cellular communication scenario, in which the source node can communicate with the destination node directly. In order to improve the reliability of data transmission, multiple relays are used for cooperative communication. In addition, unlike the case in [28] in which the direct-link was not considered, the direct-link provides additional performance improvement when the channel environment is harsh. Therefore, we present a new D-MSMR-CARQ protocol which is suitable for WSNs. The main contributions of this paper can be summarized as follows:(1)A new direct multisource multirelay protocol based on truncated CARQ (D-MSMR-CARQ) is proposed for the communication system. The D-MSMR-CARQ protocol includes the coexistence of one-hop direct transmission and dual-hop transmission. Compared with traditional CC, the protocol achieves significant gains in delay and throughput performance.(2)Based on two different relay selection schemes, we obtain the best relay node and summarize the packet transmission process of the D-MSMR-CARQ protocol into two DTMC models and derive the state space, respectively.(3)For each D-MSMR-CARQ protocol based on different relay selection methods, we derive the closed-form expressions of the average transmission delay by using the average PER and the expressions of the throughput by the state transition probabilities, respectively.(4)By properly setting the system parameters, numerical results show that we conclude several guidelines for the D-MSMR-CARQ protocol: firstly, there exists the optimal number of relays and sources deployed in the system when maximizing the throughput and minimizing the transmission delay. Secondly, for the proposed protocols under two relay selection methods, the protocol based on the first relay selection method has better delay and throughput performance. Thirdly, direct-link transmission cannot be ignored when the channel environment is harsh. The reason is that for the MSMR-CARQ with nondirect-link protocol, our proposed protocol improves the delay performance by 13%; moreover, our proposed protocol improves the throughput performance by 47% when the PER from the source node to the destination node is 0.8.

The rest of this paper is organized as follows. The system DTMC models and the state spaces are described in Section 2. In Section 3, we derive the closed-form expressions for system average transmission delay of the D-MSMR-CARQ protocol. The state transition probabilities and the network throughput performance analysis of the proposed are carried out in Section 4. The numerical results are provided in Section 5. Finally, we conclude the paper in Section 6.

2. System Model and Analysis

Supposing that each source node sends the same data packet, the data packet obeys the Bernoulli process at the arrival rate , the data transmission follows the first come first service (FCFS) rule, and the packet service delay follows the independent and identically distributed (i.i.d.) arrival process. We consider a network, as shown in Figure 1, which consists of source nodes and relay nodes , and a destination node , from to , adopts one-hop direct-link and dual-hop mechanisms, and broadcasts the same data packet to and at the same time. In practice, source nodes can represent broadcast towers of the next generation broadcasting wireless network, which can provide the same signals to mobile phones, TV, public Wi-Fi, and so on; relay nodes and destination node have different quality of service. By combining direct-link transmission with CC technique, the data packet can be transmitted more reliably. The purpose is that when the direct-link transmission fails, the CC technique is started to improve the reliability of the system. In addition, to improve the data transmission efficiency of WSNs and increase the throughput of the system, this paper uses two relay selection methods under the MRC method. (a)First is adopting the first relay selection method, which is to select a corresponding best relay for each source node . At this point, the system model can be simplified to Figure 2.According to [18], by using the MRC method, we can select the best relay for each source node in the first relay selection method aswhere , denote the instantaneous SNR of and , respectively, and represents the average energy of each symbol, . Let denote the channel gain between node and node , represents complex additive white Gaussian noise (CAWGN), can be expressed as , where , , and is the noise variance.For each group transmission system in the first relay selection method, the packet transmission process of the D-MSMR-CARQ protocol can be reduced to a 3-state DTMC model, as shown in Figure 3, where is the transition probability from node to node in the state space .The state space can be explained as follows:State : the destination node and all relay nodes feed back nonacknowledgement (NACK) signals to the source node , then the source node will retransmit the packet in the next time slot;State : the destination node feeds back a NACK signal to the source node , and the best relay node feeds back an acknowledgement (ACK) signal to the source node ; at this time, the best relay node will replace the source node to forward the packet in the next slot. However, the destination node feeds back a NACK signal to , indicating that did not receive the data packet forwarded by correctly. Then, will retransmit the packet to in the next time slot;State : the destination node feeds back an ACK signal to the source node , then the source node will transmit a new data packet in the next time slot.(b) Second is adopting the second relay selection method, in which all the source nodes use the MRC method to select a common best relay asAt this point, the system model can be simplified to Figure 4.The packet transmission process of the D-MSMR-CARQ protocol in the second relay selection method is similar to the DH-MSMR-CARQ protocol in the second relay selection method [28]. It can be reduced to a state DTMC model, as Figure 5 shows, where is the transition probability from node to node in the state space .The state space can be explained as follows:State : the destination node and the best relay feed back NACK signals to all source nodes , indicating that neither nor received the data packet from correctly. Then, the packet will be retransmitted by in the next time slot;State : the destination node feeds back NACK signals to all source nodes , then the best relay feeds back an ACK signal to a certain source node and NACK signals to the remaining source nodes , indicating that has received the data packet from correctly. At this time, will replace to forward the packet in the next slot. However, the destination node feeds back a NACK signal to , indicating that did not receive the data packet forwarded by correctly. Then, will retransmit the packet to in the next slot;State : the destination node feeds back NACK signals to all source nodes , and the best relay feeds back ACK signals to two or more source nodes , indicating that has received the data packets from correctly. At this time, combines the data from , and forwards the combined packet in the next time slot. However, the destination node feeds back a NACK signal to , indicating that did not receive the data packet forwarded by correctly. Then, will retransmit the packet to in the next slot;State : the destination node feeds back NACK signals to all source nodes , and the best relay feeds back an ACK signal to a certain source node and NACK signals to the remaining source nodes , indicating that has received the data packet from correctly. At this time, will replace to forward the packet in the next slot. However, the destination node feeds back an ACK signal to , indicating that has received the data packet forwarded by correctly. Then, the source node will transmit a new packet in the next time slot;State : the destination node feeds back NACK signals to all source nodes , and the best relay feeds back ACK signals to two or more source nodes . However, the destination node feeds back an ACK signal to .Then, the source node will transmit a new packet in the next time slot;State : the destination node feeds back an ACK signal to at least one source node. At this time, regardless of whether the best relay feeds back an ACK signal or a NACK signal to the source node , the source node will transmit a new packet in the next slot.

3. Delay Performance Analysis

According to Markov chain model and the analysis of state space in Section 2, we can get the delay performance of D-MSMR-CARQ protocol based on two relay selection methods.(a) The average packet error rate (PER) of D-MSMR-CARQ protocol in the first relay selection method iswhere , denote PER of and , respectively.Therefore, based on truncation, we can obtain the packet transmission delay of the D-MSMR-CARQ protocol in the first relay selection method aswhere denotes the truncated times, is the transmission time of a packet, and is the propagation time of a packet.Then, we can obtain the mathematical expectation of , which is defined as the average transmission delay of the D-MSMR-CARQ protocol in the first relay selection method as(b) Based on state space, we can derive the average PER of D-MSMR-CARQ protocol in the second relay selection method aswhere , , denote the PER of , , and , respectively.Therefore, based on truncation, we can obtain the packet transmission delay of D-MSMR-CARQ protocol in the second relay selection method asThen, we can obtain the mathematical expectation of , which is defined as the average transmission delay of D-MSMR-CARQ protocol system in the second relay selection method as

4. Throughput Performance Analysis

(a) When the average number of packets reached within a packet transmission delay is , see [23, 24], the throughput of D-MSMR-CARQ protocol in the first relay selection method can be derived aswhere .(b) From the system model based on the second relay selection method in Section 2 and its state space definition, we can see that is a complete DTMC state space, and the DTMC model has a smooth transition probability. The state transition probabilities of the system are

Each state transition probability constitutes a transition probability matrix .

From the above definition and analysis of the state Markov chain, when the average number of packets reached within a packet transmission delay is , the Markov chain is irreducible, aperiodic, and normally returned and has a unique steady-state distribution. Set the steady-state distribution as , then according to the equilibrium equation and the normalization condition , we can obtain

As soon as the system enters the states , the source node will send new packets in the next time slot. Therefore, the sum of the time ratios of DTMC in the states is , which is the throughput of D-MSMR-CARQ protocol based on the second relay selection method.

Substituting state transition probability of the system into (11), the throughput of D-MSMR-CARQ protocol based on the second relay selection method is

5. Numerical Results

In this section, we illustrate the average transmission delay and throughput performance of D-MSMR-CARQ protocol by MATLAB simulations. For simplicity, unless specifically explained, we assume that the simulation parameters used in our evaluations are , , , , , , , , , , and .

Figures 6 and 7 compare the average transmission delay of D-MSMR-CARQ based on two relay selection methods with that of DH-MSMR-CARQ in [28]. In Figure 6, we investigate the effect of the PER from to and the number of source nodes on the average transmission delay. We can see that when the number of source nodes goes up from 1 to 10, the average transmission delay declines sharply and then remains unchanged after the number of source nodes is 5. Therefore, the number of source nodes is set as 5 to reduce the system complexity and overhead. Figure 7 depicts the effect of the PER from to and the packet length on the average transmission delay. It can be observed that the average transmission delay increases linearly as the packet length increases. By adjusting the number of source nodes and the packet length , the D-MSMR-CARQ protocol outperforms the DH-MSMR-CARQ protocol on the average transmission delay performance.

Figure 8 reflects the relationship between the PER from to and the average transmission delay under two relay selection schemes when the packet length . It can be seen that as the average transmission delay increases, so does the PER from to . This is because needs cooperative transmission through when the PER from to is larger, thereby increasing the system transmission delay. We also see that the first relay selection method has a lower average transmission delay than the second relay selection method, and the average transmission delay is nearly double when compared to , which is consistent with the simulations in Figures 6 and 7.

Figure 9 represents the effect of the PER from to on the throughput for two delay selection methods. Observed from Figure 9 that the throughput decreases as the PER from to increases, and the first relay selection method has greater throughput than the second relay selection method. To show the impact of the number of relay nodes on the throughput, we suppose the PER from to is equal to 0.1, 0.2, and 0.3, respectively, in Figure 10. It is obvious from Figure 10 that the throughput of D-MSMR-CARQ protocol based on the first relay selection method decreases as the PER from to increases. We can see that when the number of relay nodes goes up from 1 to 10, the throughput increases gradually and then remains unchanged after the number of relay nodes is 4. Therefore, the number of relay nodes is set as 4 to reduce the system complexity and overhead.

To better explain the superiority of the proposed protocol, Figure 11 compares the throughput of D-MSMR-CARQ based on the first relay selection method with those of MSMR-CARQ proposed in [27] and DH-MSMR-CARQ proposed in [28]. For the purpose, we simulate three MSMR-CARQ protocols under the same simulation parameters. Simulation results show that comparing with D-MSMR-CARQ and MSMR-CARQ, the throughput of DH-MSMR-CARQ decreases more sharply with the decreasing of the PER from to . The reason is that considering the existence of direct-link from to in a nonharsh channel environment, the throughput performance of the system will be reduced. On the contrary, considering the existence of direct-link will benefit throughput performance in a harsh channel environment. Moreover, when , the direct-link has no effect on the throughput which leads to the throughput of D-MSMR-CARQ protocol and DH-MSMR-CARQ protocol is equal. As explained above, when , the throughput of the MSMR-CARQ protocol and D-MSMR-CARQ protocol is equal; it is also the reason for the intersection of the two curves.

6. Conclusion

In this paper, we have proposed a D-MSMR-CARQ protocol based on truncation with two relay selection methods. We have investigated the throughput and delay performance by establishing DTMC models for the D-MSMR-CARQ protocol under different relay selection methods. Following this, suppose the packet transmission process and the state space of each DTMC model were obtained. Moreover, for each D-MSMR-CARQ protocol based on different relay selection methods, the closed-form expressions of the average transmission delay were derived by using the average PER and the expressions of the throughput were obtained from the state transition probabilities. Furthermore, we concluded several guidelines for the D-MSMR-CARQ protocol from the numerical simulations: (1) there exists the optimal number of relays and sources deployed in the system when maximizing the throughput and minimizing the transmission delay. (2) For the proposed protocols under two relay selection methods, the protocol based on the first relay selection method has better delay and throughput performance. (3) Direct-link transmission cannot be ignored when the channel environment is harsh. The reason is that for the MSMR-CARQ without direct-link protocol, our proposed protocol improves the delay performance by 13%; moreover, our proposed protocol improves the throughput performance by 47% when the PER from the source node to the destination node is 0.8. Finally, the energy consumption of D-MSMR-CARQ protocol based on the first relay selection method can be further investigated in future work.

Data Availability

The data supporting this article are from previously reported studies and datasets, which have been cited.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This project was supported by the National Natural Science Foundation of China (61663024), the PhD Research Startup Foundation of Lanzhou University of Technology (05-061405), and the Hongliu Foundation of First-Class Disciplines of Lanzhou University of Technology, China.