Skip to main content

Bit error rate performance analysis of AC-MAP in multiple input single output wireless relay network

Abstract

In this paper, we propose a joint decoding scheme called AC-MAP decoder for multiple input single output (MISO) wireless cooperative communication network that consists of single source, single relay, and single destination. The proposed scheme is based on both Alamouti combining (AC) scheme and maximum a posteriori (MAP) decoder and is used to estimate the data at the destination. The AC-MAP decoder is optimal in the sense that it minimizes the end-to-end bit error rate (BER). In order to analyze performance of the proposed decoder, we derive a closed form expression for the upper bound (UB) on the end-to-end error probability. Distances between system nodes, transmit energy, and channel noise and fading effects are considered in the derivation of the UB. Numerical results show that the closed form UB is very tight and it almost coincides with the exact BER results obtained from simulations. Therefore, we use the derived UB expression to study the effects of the relay position on the BER performance and to find the optimal location of the relay node.

1 Introduction

In recent years, cooperative communication is gaining a significant attention where relay nodes can collaborate with the users to enhance the wireless network performance. Cooperative relaying exploits the broadcast nature offered by the wireless medium where transmitted signals can be received, processed, and retransmitted by any node in the neighborhood of the source. The relay node could be a fixed node utilized by the network or another user that acts as a partner. In the second case, many partners may be available for each user to choose from which makes partner assignment important for better BER performance. Also, the energy allocation, for both user and relay in both cases, is important if the total energy is constrained. Cooperative communications provide a substantial improvement in the performance of the wireless networks in terms of rate (spectral efficiency or bandwidth) and reliability (diversity gain) [18]. This improvement can lead to the extension of the coverage and reduction in consumed energy. Cooperative relaying can have a great value in many systems such as ad hoc networks and next generation cellular and wireless local area networks. In cooperative diversity, relay nodes retransmit the signal received from the source which allows the receiver node to average channel variations resulting from fading and shadowing [1]. Several cooperation protocols have been proposed in the literature such as decode and forward (DF), amplify and forward (AF), and compress and forward (CF).

In this paper, we adopt the decode and forward (DF) cooperation protocol. In DF, the data transmission occurs over two phases. In the first phase, the source transmits its data to the intended destination. Because of the broadcast nature of the wireless medium, the signals from the source can be received by relay nodes. In the second phase, relay nodes decode the received signals and then forward the decoded data to the destination. Since the channel between the source and the relay is not necessarily error-free, a decoding error may occur at the relay node. Therefore, the data received at the destination from the relay node may not provide the expected information about the data of the source. Accordingly, the diversity gain expected from the overall network may not be achieved. Several techniques were proposed to enable the destination to estimate the data transmitted by the source. In those techniques, the destination first combines the received signals and then uses the combined signal to detect the data of the source. Several combining techniques were proposed such equal gain combining (EGC), maximum ratio combining (MRC), and selection combining (SC). These combining techniques would provide a BER performance similar to that provided by traditional diversity techniques (i.e., when the destination receives multiple copies of the same signal directly from the source) if the link between the source and relay (S-R link) is error-free; otherwise, it will lead to an error floor [9]. Error-free link can be achieved using automatic repeat request (ARQ) protocol at the relay node [10]. However, this will increase the overhead and, accordingly, reduces the network throughput. Several schemes have been proposed in the literature to decode the data at the destination taking into consideration the error in the S-R link. The error performance of the cooperative communications with decode-and-forward protocol with different combining techniques was also investigated in the literature. The end-to-end performance of wireless communication systems with relays over Rayleigh fading channels was studied in [11] when the direct link between the source and the destination does not exist. A general framework for ML detection of both coherent and non-coherent uncoded cooperative diversity was presented in [12] where the authors derived a high SNR approximations based on the closed-form BER expressions. An exact error analysis for decode and forward cooperation with maximal ratio combining in Nakagami fading was provided in [13]. The authors of [14] derived an analytical expression for the symbol error probability of the DF protocol with selection combining for M-ary phase-shift keying in Rayleigh fading environment.

The maximum a posteriori (MAP) decoder was proposed and its BER performance was analyzed in [15, 16] for single input single output (SISO) wireless relay network. Unlike other decoders, the receiver does not use any combining techniques. However, it considers the data received from the source together with the data received from the relay node as a codeword. The decoding rule is to find the codeword that maximizes the a posterior probability. Since the error probability in the source-to-relay link is not necessarily 0.5, the codewords received at the destination are not equiprobable. Therefore, the MAP decoding rule can not be simplified to the maximum likelihood (ML) decoding rule. Hence, the error probability of the S-R link is considered in the decoding process and, accordingly, the MAP decoder provides optimal performance in terms of BER. In this paper, we first modify the MAP decoder to support MISO wireless relay network. We find that the straightforward modification of the MAP technique will increase the decoding complexity at the destination. Therefore, we propose a joint decoding scheme called AC-MAP decoder that is based on both Alamouti combining (AC) scheme and maximum a posterior (MAP) decoder to estimate the data at the destination. The proposed scheme mitigates the complexity problem of the MAP decoder. The proposed scheme is optimal in the sense that it minimizes the end-to-end BER. We also derive a closed from expression for the upper bound on the bit error probability of the decode-and-forward cooperation protocol with the proposed AC-MAP decoder. The derived upper bound takes into account the SNR of all links (i.e., source-to-relay, source-to-destination, and relay-to-destination).

One of the end goals of this paper is to find the optimal position of the relay node. The problem of relay positioning and partner assignment was proposed in wireless cooperative and sensor networks to improve the overall system performance and energy efficiency. Optimal positioning of relay node is a very challenging and complex problem [17]. In order to address the complexity problem, two approaches were proposed in the literature. The first approach is to provide suboptimal solutions supported by heuristics [18]. The second approach is to find the optimal position by considering specific performance metrics [19, 20]. In this paper, we adopt the second approach to find the optimal position of the relay node in the case of fixed relay and to find the best partner if the source has many partners to choose from. The performance metric we use in this analysis is the bit error rate. Since the proposed AC-MAP decoding scheme is optimal and the derived upper bound is very tight, the closed form expression for the UB on the BER is used to find the optimal location the relay node.

The remainder part of this paper is organized as follows. The system model is described in Section 2. The proposed decoding scheme is described in Section 3. The BER performance analysis for the AC-MAP decoder is presented in Section 4. Positioning of relay node is presented in Section 5. Section 6 presents numerical results and discussions. Finally, the conclusions are drawn in Section 7.

2 System model

We consider a relay network composed of a source (S) equipped with two antennas, a relay (R), and a destination (D) as shown in Fig. 1. The data transmission occurs over two phases. In the first phase, the source sends its data to the destination using the Alamouti code [21] to achieve transmit diversity. Using this scheme, two symbols s0 and s1 are transmitted simultaneously twice in two time slots t0 and t1. In time slot t0, the two antennas of the source A1 and A2 transmit signals corresponding to s0 and s1, respectively. In the next time slot t1, the two antennas A1 and A2 transmit signals corresponding to −s1 and s0, respectively, where “ ” denotes the complex conjugate. Due to the broadcast nature of the wireless medium, the relay also receives the data from the source (possibly with some errors). We assume that all data are sent using BPSK modulation scheme and the source generates its bits with equal probability, i.e., p(bs=0)=p(bs=1)=0.5 where bs is the source bit. We assume that all channels are Rayleigh flat fading with additive white Gaussian noise (AWGN). The channel gain is assumed to be constant over two consecutive time slots which is necessary for the decoding of the Alamouti-transmitted signals. The signals received at the end of the first phase (two time slots) by the relay and the destination, respectively, are

$$\begin{array}{*{20}l} y_{sr0} = h_{sr0}\sqrt{d_{sr}^{-m}} s_{0} + h_{sr1}\sqrt{d_{sr}^{-m}} s_{1} + n_{r0}, \end{array} $$
(1)
Fig. 1
figure 1

System model

$$\begin{array}{*{20}l} y_{sr1} = -h_{sr0}\sqrt{d_{sr}^{-m}} {s_{1}}^{*} + h_{sr1}\sqrt{d_{sr}^{-m}} {s_{0}}^{*} + n_{r1}, \end{array} $$
(2)
$$\begin{array}{*{20}l} y_{sd0} = h_{sd0}\sqrt{d_{sd}^{-m}} s_{0} + h_{sd1}\sqrt{d_{sd}^{-m}} s_{1} + n_{sd0}, \end{array} $$
(3)
$$\begin{array}{*{20}l} y_{sd1} = -h_{sd0}\sqrt{d_{sd}^{-m}} {s_{1}}^{*} + h_{sd1}\sqrt{d_{sd}^{-m}} {s_{0}}^{*} + n_{sd1} \end{array} $$
(4)

where

  • ysr0 is the signal received at the relay node in the first phase in time slot t0.

  • ysr1 is the signal received at the relay node in the first phase in time slot t1.

  • ysd0 is the signal received at the destination in the first phase in time slot t0.

  • ysd1 is the signal received at the destination in the first phase in time slot t1.

  • \(s_{i} \in \{+\sqrt {E_{s}},-\sqrt {E_{s}}\}\) is the BPSK modulated signal of the ith symbol sent by the source, i{0,1}, where Es is the transmit energy per the source bit.

  • hsrj and hsdj,j{0,1}, are the channel fading gains of the S-R and S-D links, respectively.

  • dsr and dsd are the lengths of the S-R and S-D links, respectively.

  • m is the path loss exponent.

  • nri,i{0,1} is the AWGN noise at the relay node which has zero mean and variance N0/2.

  • nsdi is the AWGN noise at the destination node which has zero mean and variance N0/2.

In the second phase, the relay node decodes the data received from the source using Alamouti combining scheme by first calculating the decision variables r0 and r1 as follows

$$\begin{array}{*{20}l} r_{0} =& h_{sr0}^{*}y_{sr0} + h_{sr1}y_{sr1}^{*} \notag \\ =& (h_{sr0}^{2}+h_{sr1}^{2})s_{0} + h_{sr0}^{*}n_{r0} + h_{sr1}n_{r1}^{*}, \end{array} $$
(5)
$$\begin{array}{*{20}l} r_{1} =& h_{sr1}^{*}y_{sr0} - h_{sr0}y_{sr1}^{*} \notag \\ =& (h_{sr0}^{2}+h_{sr1}^{2})s_{1} - h_{sr0}n_{r1}^{*} + h_{sr1}^{*}n_{r0} \end{array} $$
(6)

and then estimates the transmitted bits as follows

$$\begin{array}{*{20}l} b{r_{i}} = \left \{ \begin{array}{cc} 0 & r_{i} \geq 0 \\ 1 & r_{i} < 0 \end{array} \right. \end{array} $$
(7)

where bri represents an estimate of the source bit bsi at the relay node. Then, the relay forwards the decoded data to the destination in two successive time slots. The signals received at the destination from the relay are

$$\begin{array}{*{20}l} y_{rd0} = h_{rd0}\sqrt{d_{rd}^{-m}} \hat{s}_{0} + n_{rd0}, \end{array} $$
(8)
$$\begin{array}{*{20}l} y_{rd1} = h_{rd1}\sqrt{d_{rd}^{-m}} \hat{s}_{1} + n_{rd1} \end{array} $$
(9)

where

  • yrd0 is the signal received at destination from the relay node in the first time slot of the second phase (third time slot in total).

  • yrd1 is the signal received at destination from the relay node in the second time slot of the second phase (fourth time slot in total).

  • \(\hat {s}_{i} \in \{+\sqrt {E_{r}},-\sqrt {E_{r}}\}\) is the BPSK modulated signal of the ith symbol estimated and sent by the relay, i{0,1}, where Er is the transmit energy per the relay bit.

  • hrdi is the channel gain of the R-D in the i-th time slot of the second phase, where i{0,1}.

  • drd is the length of the R-D link.

  • nrdi is the AWGN noise at the destination node which has zero mean and variance N0/2.

Let the random vector e=[ e0 e1]T where ei{0,1} captures the error events on the source-to-relay channels, i.e., \(b_{r_{i}} = b_{s_{i}} \oplus e_{i}\), where denotes the binary XOR (exclusive OR) operation. Hence, ei=1 means bribsi, i.e., the source bit is received in error at the relay node. In the case of BPSK modulation over flat fading channel with AWGN, the probability of error per bit in the source-relay link, i.e., P(ei=1), is given by [22]

$$\begin{array}{*{20}l} P_{e_{sr}} = 0.25 - \sqrt{\frac{\gamma_{sr}}{1.5+\gamma_{sr}}} + 0.75 \sqrt{\frac{\gamma_{sr}}{2+\gamma_{sr}}} \end{array} $$
(10)

where \(\gamma _{sr}=d_{sr}^{-m} E_{s}/N_{0}\) is the average receive SNR of the link between the source and the relay.

The received signals at the destination can be written in the matrix form as follows

$$ \mathbf{y}=H\mathbf{s}+\mathbf{n} $$
(11)

where the received vector \(\mathbf {y}=[\!y_{sd0} \ y_{sd1}^{*} \ y_{rd0} \ y_{rd1}]^{T}\), the transmitted vector \(\mathbf {s}=[\!s_{0} \ s_{1} \ \hat {s}_{0} \ \hat {s}_{1}]^{T}\), the noise vector \(\mathbf {n}=[\!n_{sd0} \ n_{sd1}^{*} \ n_{rd0} \ n_{rd1}]^{T}\), and the channel matrix H is given by

$$ H = \left[ \begin{array}{cccc} h_{sd0} \sqrt{d_{sd}^{-m}} & h_{sd1} \sqrt{d_{sd}^{-m}} & 0 & 0 \\ h_{sd1}^{*} \sqrt{d_{sd}^{-m}} & -h_{sd0}^{*} \sqrt{d_{sd}^{-m}} & 0 & 0 \\ 0 & 0 & h_{rd0}\sqrt{d_{rd}^{-m}} & 0 \\ 0 & 0 & 0 & h_{rd1}\sqrt{d_{rd}^{-m}} \end{array} \right] $$
(12)

3 Decoding schemes used at the destination

In the considered MISO cooperative communication network, the source node is equipped with two antennas while the relay and the destination nodes are equipped with single antenna. To achieve diversity gain, the source transmits its data using Alamouti space time block code (STBC). The relay node uses the decode and forward (DF) cooperation protocol in order to increase the reliability of the source data at the destination. Hence, the destination receives four signals (two from the source and two form the relay node) in four time slots. The destination uses these four signals jointly to decode the data sent from the source (i.e., \(b_{s_{0}}\) and \(b_{s_{1}}\)). In this section, firstly, we present the maximum a posterior (MAP) decoding scheme for MISO relay network. Secondly, we propose a new decoding scheme that mitigates the complexity problem of the MAP decoder.

3.1 Maximum a posterior decoder

In this section, we present the MAP decoding scheme used by the destination to estimate the data sent from the source for the MISO relay network under consideration. The MAP decoding scheme is optimal in the sense that it minimizes the error probability at the destination. Let b=[ bs0 bs1 br0 br1]T represents the bits vector (codeword) of the data transmitted from the source and relay nodes. If the S-R link is error-free, then br0=bs0 and br1=bs1 and, accordingly, there will be only four possible values of this vector. Since the S-R link is not error-free, there are sixteen possible values for this vector ranging from b1=[ 0 0 0 0]T to b16=[ 1 1 1 1]T based on the values of \(b_{s_{i}}\) and ei. Since, in general, P(ei=1)≠P(ei=0), these 16 vectors (codewords) are not equiprobable. For example, the probability of transmitting the vector b5=[ 0 1 0 0]T is given by

$$\begin{array}{*{20}l} P(\mathbf{b}_{5}) &= P(b{s_{0}}=0, b{s_{1}}=1, b{r_{0}}=0, b{r_{1}}=0) \notag \\ &= P(b{r_{0}}=0, b{r_{1}}=0 | b{s_{0}}=0, b{s_{1}}=1) \notag \\ &\times P(b{s_{0}}=0, b{s_{1}}=1) \end{array} $$
(13)

Since the source bits are independent and equiprobable, then

$$ P(b{s_{0}}=0, b{s_{1}}=1)=\frac{1}{4} $$
(14)

The first part of (13) is given by

$$\begin{array}{*{20}l} P&(b{r_{0}}=0, b{r_{1}}=0 | b{s_{0}}=0, b{s_{1}}=1) \notag \\ &= P(b_{s_{0}} \oplus e_{0}=0, b_{s_{1}} \oplus e_{1}=0 | b{s_{0}}=0, b{s_{1}}=1) \notag \\ &= P(e_{0}=0,e_{1}=1) \notag \\ &= P_{e_{sr}}(1-P_{e_{sr}}) \end{array} $$
(15)

Substituting from (15) and (14) into (13) yields

$$ P(\mathbf{b}_{5}) = \frac{P_{e_{sr}}(1-P_{e_{sr}})}{4} $$
(16)

Similarly, the probability of transmitting a specific vector (codeword) bi is given by

$$ P(\mathbf{b}_{i}) = \left \{ \begin{array}{cc} \frac{(1-P_{e_{sr}})^{2}}{4} & i=1,6,11,16 \\ \frac{P_{e_{sr}}^{2}}{4} & i=4,7,10,13 \\ \frac{P_{e_{sr}}(1-P_{e_{sr}})}{4} & i=\text{otherwise} \end{array} \right. $$
(17)

The MAP decoder finds the transmitted vector bi that maximizes the a posterior probability P(bi|y). An estimate of the transmitted vector is given by

$$ \hat{\mathbf{b}}=\text{arg}\,\text{max}_{\mathbf{b}_{_{i}}} P(\mathbf{b}_{_{i}}|\mathbf{y}) $$
(18)

and the maximization process is performed over the 16 possible vectors (codewords). Applying Bayes theorem to (18) yields

$$\begin{array}{*{20}l} \hat{\mathbf{b}}&=\text{arg}\,\text{max}_{\mathbf{b}_{i}}\frac{P(\mathbf{y}|\mathbf{b}_{i})P(\mathbf{b}_{i})}{P(\mathbf{y})} \notag \\ &= \text{arg}\,\text{max}_{\mathbf{b}_{i}}P(\mathbf{y}|\mathbf{b}_{i})P(\mathbf{b}_{i}) \end{array} $$
(19)

where [23]

$$ P(\mathbf{y}|\mathbf{b}_{i})=\frac{1}{\left(\pi N_{0}\right)}e^{-||\mathbf{y}-H\mathbf{s}_{i}||^{2}/N_{0}} $$
(20)

and si is the modulated vector that corresponds to the vector bi, e.g., \(\mathbf {s}_{3}=[-\sqrt {E_{s}} \ -\sqrt {E_{s}} \ \sqrt {E_{r}} \ -\sqrt {E_{r}}]^{T}\). Substituting from (20) into (19) yields

$$\begin{array}{*{20}l} \hat{\mathbf{b}}=&\text{arg}\,\text{max}_{\mathbf{b}_{i}}\frac{1}{\left(\pi N_{0}\right)}e^{-||\mathbf{y}-H\mathbf{s}_{i}||^{2}/N_{0}}P(\mathbf{b}_{i}) \notag \\ =& \text{arg}\,\text{min}_{\mathbf{b}_{i}} \left(||\mathbf{y}-H\mathbf{s}_{i}||^{2}-N_{0} \log (P(\mathbf{b}_{i}))\right) \end{array} $$
(21)

For the described system model, in order for the destination to decode the two bits sent from the source, it has to search a space composed of sixteen vectors each of length four bits. Although the MAP decoder is optimal in the sense of minimizing the error rate, its complexity is high especially when the number antennas, network nodes, and/or the modulation order increases. In the following section, we present a less complex joint decoding scheme that combines both MAP and Alamouti decoding scheme at the destination to retrieve the source bits.

3.2 Proposed AC-MAP decoder

In this section, we present the joint decoding scheme (AC-MAP decoder) that is based on both Alamouti combining scheme and MAP decoder. The AC-MAP decoder mitigates the complexity problem through utilization of the Alamouti combining scheme in reducing the size of the search space used by the MAP decoder while maintaining the same optimal BER performance. The AC-MAP scheme is a two-stage decoder. In the first stage, Alamouti combining scheme is used on ysd0 and ysd1 given by (3) and (4) to get two signals corresponding to s0 and s1 as follows

$$\begin{array}{*{20}l} d_{0} =& h_{sd0}^{*}y_{sd0} + h_{sd1}y_{sd1}^{*} \notag \\ =& (h_{sd0}^{2}+h_{sd1}^{2})s_{0} + h_{sd0}^{*}n_{sd0} + h_{sd1}n_{sd1}^{*}, \end{array} $$
(22)
$$\begin{array}{*{20}l} d_{1} =& h_{sd1}^{*}y_{sd0} - h_{sd0}y_{sd1}^{*} \notag \\ =& (h_{sd0}^{2}+h_{sd1}^{2})s_{1} - h_{sd0}n_{sd1}^{*} + h_{sd1}^{*}n_{sd0} \end{array} $$
(23)

In the second stage, MAP decoder is used to retrieve the source symbols separately where d0 and yrd0 are used to decode s0 and d1 and yrd1 are used to decode s1. The signals used for decoding s0 can be written in the matrix form as follows

$$ \mathbf{y}=H\mathbf{s}+\mathbf{w} $$
(24)

where \(\mathbf {y}=[\!d_{0} \ y_{rd0}]^{T}, \mathbf {s}=[\!s_{0} \ \hat {s}_{0}]^{T}\), equivalent noise vector \(\mathbf {w}=[\!h_{sd0}^{*}n_{sd0}+h_{sd1}n_{sd1}^{*} \ n_{rd0}]^{T}\), and the equivalent channel matrix H is given by

$$ H = \left [ \begin{array}{cc} (h_{sd0}^{2}+h_{sd1}^{2}) \sqrt{d_{sd}^{-m}} & 0 \\ 0 & h_{rd0} \sqrt{d_{rd}^{-m}} \end{array} \right ] $$
(25)

Let b=[ bs0 br0]T represents the transmitted bits vector corresponding to s0. Since the S-R link is not error-free, there are four possible values for this vector b1=[ 0 0]T, b2=[ 0 1]T, b3=[ 1 0]T, and b4=[ 1 1]T based on the values bs0 and e0. Since, in general, P(e0=1)≠P(e0=0), these four vectors are not equiprobable. The probability of transmitting a specific vector bi is given by

$$ P(\mathbf{b}_{i}) = \left \{ \begin{array}{cc} \frac{1-P_{e_{sr}}}{2} & i=1,4 \\ \frac{P_{e_{sr}}}{2} & i=2,3 \end{array} \right. $$
(26)

The MAP decoder finds the transmitted vector bi that maximizes the a posterior probability P(bi|y). An estimate of the transmitted vector is given by

$$ \hat{\mathbf{b}}=\text{arg}\,\text{max}_{\mathbf{b}_{_{i}}} P(\mathbf{b}_{_{i}}|\mathbf{y}) $$
(27)

Applying Bayes theorem on (27) yields

$$\begin{array}{*{20}l} \hat{\mathbf{b}}&=\text{arg}\,\text{max}_{\mathbf{b}_{i}}\frac{P(\mathbf{y}|\mathbf{b}_{i})P(\mathbf{b}_{i})}{P(\mathbf{y})} \notag \\ &= \text{arg}\,\text{max}_{\mathbf{b}_{i}}P(\mathbf{y}|\mathbf{b}_{i})P(\mathbf{b}_{i}) \end{array} $$
(28)

where P(y|bi) has a multivariate normal distribution given by

$$ P(\mathbf{y}|\mathbf{b}_{i})\,=\,\frac{1}{\left(2\pi \sqrt{|\Sigma|}\right)}exp\left(-0.5(\mathbf{y}-H\mathbf{s}_{i})^{T}\Sigma^{-1}(\mathbf{y}-H\mathbf{s}_{i})\right), $$
(29)

the 2×2 covariance matrix Σ is given by

$$ \Sigma = \left [ \begin{array}{cc} \frac{N_{0}}{2}(h_{sd0}^{2}+h_{sd1}^{2}) & 0 \\ 0 & \frac{N_{0}}{2} \end{array} \right ], $$
(30)

and si is the modulated vector corresponding to the vector bi, e.g., \(\mathbf {x}_{3}=[\sqrt {E_{s}} \ -\sqrt {E_{r}}]^{T}\). In order to simplify the calculations of (28) and the analysis of the bit error rate, we redefine the received vector y as follows

$$ \mathbf{y}=[\frac{d_{0}}{\sqrt{h_{sd0}^{2}+h_{sd1}^{2}}} \ y_{rd0}]^{T} $$
(31)

Hence, the covariance matrix of the noise vector would be Σ=(N0/2)ι2, where ι2 is the 2×2 identity matrix, and the equivalent channel matrix H would be given by

$$ H = \left [ \begin{array}{cc} \sqrt{(h_{sd0}^{2}+h_{sd1}^{2})d_{sd}^{-m}} & 0 \\ 0 & h_{rd0} \sqrt{d_{rd}^{-m}} \end{array} \right ] $$
(32)

Therefore, (28) can be rewritten as follows

$$\begin{array}{*{20}l} \hat{\mathbf{b}}=& \text{arg}\,\text{max}_{\mathbf{b}_{i}}\frac{1}{\left(\pi N_{0}\right)}e^{-||\mathbf{y}-H\mathbf{s}_{i}||^{2}/N_{0}}P(\mathbf{b}_{i}) \notag \\ =& \text{arg}\,\text{min}_{\mathbf{b}_{i}} \left(||\mathbf{y}-H\mathbf{s}_{i}||^{2}-N_{0} \log (P(\mathbf{b}_{i}))\right) \end{array} $$
(33)

Similarly, the signals d1 and yrd1 can be used to decode s1. Using two signals to decode each symbol reduces the size of the search space to four vectors each of length of two bits and, accordingly, reduces the decoding complexity. Since the first stage (Alamouti combining) preserves all the information about the data transmitted by the source, both MAP and AC-MAP decoding schemes would provide the same performance. Figure 2 shows simulation results for the BER against the source transmit SNR (Es/N0) when the relay transmit SNR (Er/N0) is constant for both MAP and AC-MAP decoders. As expected, the figure shows that the both MAP and AC-MAP decoding schemes provide exactly the same BER performance.

Fig. 2
figure 2

MAP vs. AC-MAP BER performance

The proposed AC-MAP decoding scheme can be easily modified to support higher order modulation. However, the complexity will dramatically increase because of the massive increase in the size of the search space. For example, in 16-QAM, the search space is composed of 256 vectors (codewords) instead of 4 in the case of BPSK.

4 BER analysis of the AC-MAP decoder

In this section, we derive the upper bound (UB) on the bit error probability of the AC-MAP decoding scheme.

4.1 Derivation of the upper bound

The destination uses (33) to estimate the transmitted codeword. Since the first bit of the codeword is an estimate of the bit coming directly from the source, the bit error probability would be given by

$$\begin{array}{*{20}l} P_{E} \leq & \left (P(\mathbf{b}_{1} \rightarrow \mathbf{b}_{3}) + P(\mathbf{b}_{1} \rightarrow \mathbf{b}_{4})\right) P(\mathbf{b}_{1}) \notag \\ +&\left (P(\mathbf{b}_{2} \rightarrow \mathbf{b}_{3}) + P(\mathbf{b}_{2} \rightarrow \mathbf{b}_{4})\right) P(\mathbf{b}_{2}) \\ +&\left (P(\mathbf{b}_{3} \rightarrow \mathbf{b}_{1}) + P(\mathbf{b}_{3} \rightarrow \mathbf{b}_{2})\right) P(\mathbf{b}_{3}) \notag \\ +&\left (P(\mathbf{b}_{4} \rightarrow \mathbf{b}_{1}) + P(\mathbf{b}_{4} \rightarrow \mathbf{b}_{2})\right) P(\mathbf{b}_{4}) \notag \end{array} $$
(34)

where P(bkbl) is the pairwise error probability of confusing bk with bl when bk is transmitted and when these are the only two hypothesis. When the vector bk is transmitted, the received vector would be

$$\begin{array}{*{20}l} \mathbf{y}_{k} = H\mathbf{\mathbf{s}}_{k} + \mathbf{w} \end{array} $$
(35)

and, according to (33), the probability P(bkbl) would be given by

$$\begin{array}{*{20}l} P(\mathbf{b}_{k} \rightarrow \mathbf{b}_{l}) =& P\left(\frac{}{}||\mathbf{y}_{k}-H\mathbf{s}_{l}||^{2}-N_{0} \log (P(\mathbf{b}_{l})) \right. \notag \\ &< \left. ||\mathbf{y}_{k}-H\mathbf{s}_{k}||^{2}-N_{0} \log (P(\mathbf{b}_{k}))\frac{}{}\right) \notag \\ =& P\left(\frac{}{}||H(\mathbf{x}_{k}-\mathbf{s}_{l})+\mathbf{w}||^{2} \notag \right. \\ &+ \left. N_{0} \log \frac{P(\mathbf{b}_{k})}{P(\mathbf{b}_{l})} < ||\mathbf{w}||^{2}\right) \notag \\ =& P\left(\frac{}{}(<\mathbf{w},H(\mathbf{s}_{k}-\mathbf{s}_{l})>) \right. \notag \\ &> \left. \frac{||H(\mathbf{s}_{k}-\mathbf{s}_{l})||^{2}}{2} + \frac{N_{0}}{2} \log \frac{P(\mathbf{b}_{k})}{P(\mathbf{b}_{l})}\right) \end{array} $$
(36)

When h=[ hsd0 hsd1 hrd0]T is given, <w,H(sksl)> would be a Gaussian random variable with zero mean and variance \(\frac {N_{0}}{2}||H(\mathbf {s}_{k}-\mathbf {s}_{l})||^{2}\). Accordingly,

$$\begin{array}{*{20}l} P(\mathbf{b}_{k} \rightarrow \mathbf{b}_{l}|\mathbf{h}) &= Q\left(\frac{||H(\mathbf{s}_{k}-\mathbf{s}_{l})||}{\sqrt{2N_{0}}} +\frac{\sqrt{N_{0}/2}\log(\alpha_{kl})}{||H(\mathbf{s}_{k}-\mathbf{s}_{l})||} \right) \end{array} $$
(37)

where αkl=P(bk)/P(bl). From, (26), there will three possible values for αkl as follows

$$\begin{array}{*{20}l} \alpha_{14}=& \alpha_{41} =\alpha_{23}=\alpha_{32}=1 \notag \\ \alpha_{13}&= \alpha_{42}=\frac{1-P_{e_{sr}}}{P_{e_{sr}}} \\ \alpha_{31}&= \alpha_{24}=\frac{P_{e_{sr}}}{1-P_{e_{sr}}} \notag \end{array} $$
(38)

From (37cl_given+hTacx -->), we notice that the probability P(bkbl|h) depends on: 1- The Hamming distance between bk and bl,wkl, (i.e., the number of positions at which bk and bl are different). 2- Whether bk and bl have the same probability.

The four possible codewords are b1=[ 0 0]T, b2=[ 0 1]T, b3=[ 1 0]T, and b4=[ 1 1]T. From (26), we find that codewords with equal probability (i.e., αkl=1) have a hamming distance wkl=2 (e.g., codewords b1 and b4). Accordingly, and from (37cl_given+hTacx -->) and (38), it is straightforward to show that P(bkbl) does not depend on αkl when wkl=2. Let P(bkbl)=P1(αkl) when the hamming distance wkl=1 and P(bkbl)=P2 when wkl=2. Hence, substituting from (26) into (34) yields

$$\begin{array}{*{20}l} P_{E} \leq & \left (P_{1}(\alpha_{13}) + P_{2} \right) \frac{1-P_{e_{sr}}}{2} \notag \\ +&\left (P_{2} + P_{1}(\alpha_{24})\right) \frac{P_{e_{sr}}}{2} \\ +&\left (P_{1}(\alpha_{31}) + P_{2}\right) \frac{P_{e_{sr}}}{2} \notag \\ +&\left (P_{2} + P_{1}(\alpha_{42})\right) \frac{1-P_{e_{sr}}}{2} \notag \end{array} $$
(39)

which can be rewritten as follows

$$\begin{array}{*{20}l} P_{E} \leq & P_{2} + \left(P_{1}(\alpha_{31})+P_{1}(\alpha_{24})\right)\frac{P_{e_{sr}}}{2} \notag \\ &+ \left(P_{1}(\alpha_{13})+P_{1}(\alpha_{42})\right) \frac{1-P_{e_{sr}}}{2} \end{array} $$
(40)

Since P1(α31)=P1(α24) and P1(α13)=P1(α42), the upper bound on the error probability that is equal to right-hand side of (40) would be

$$\begin{array}{*{20}l} P_{UB} = P_{2} + P_{1}(\alpha_{31})P_{e_{sr}}+ P_{1}(\alpha_{13})(1-P_{e_{sr}}) \end{array} $$
(41)

4.2 Derivation P 2

In order to derive P2, Eq. (37cl_given+hTacx -->) is considered for b1=[ 0 0]T, b4=[ 1 1]T as follows:

$$ {\begin{aligned} P(\mathbf{b}_{1} \rightarrow \mathbf{b}_{4}|\mathbf{h})= Q\left({\sqrt {2(h_{sd0}^{2} + h_{sd1}^{2})d_{sd}^{- m}\frac{E_{s}}{N_{0}} + 2h_{rd}^{2}d_{rd}^{-m}\frac{E_{r}}{N_{0}} }} \right) \end{aligned}} $$
(42)

Let \(\gamma _{sd} = d_{sd}^{- m}\frac {E_{s}}{N_{0}}\) and \(\gamma _{rd} = d_{rd}^{- m}\frac {E_{r}}{N_{0}}\), then

$$\begin{array}{*{20}l} P(\mathbf{b}_{1} \rightarrow \mathbf{b}_{4}|\mathbf{h}) &= Q\left({\sqrt {2h_{rd}^{2}\gamma_{rd} + 2(h_{sd0}^{2} + h_{sd1}^{2})\gamma_{sd}}} \right) \notag \\ &=Q\left({\sqrt {2x}} \right) \end{array} $$
(43)

where \(x=h_{rd}^{2}\gamma _{rd} + (h_{sd0}^{2} + h_{sd1}^{2})\gamma _{sd}\). In order to find P2, we average (43) over the distribution of x. Since all channels have the same distribution, {k,l:wkl=2}, we have

$$\begin{array}{*{20}l} P_{2} =& \int_{0}^{\infty} Q\left(\sqrt{2x}\right) f_{X}(x) dx \notag \\ =& 0.5\int_{0}^{\infty} erfc\left(\sqrt{x}\right) f_{X}(x) dx \end{array} $$
(44)

The distribution of x is given by [24]

$$\begin{array}{*{20}l} f_{X}(x) =& \frac{\gamma_{rd}}{(\gamma_{rd}-\gamma_{sd})^{2}} \left(e^{- {x/\gamma_{rd}}} -e^{- x/\gamma_{sd}}\right) \notag \\ &- \frac{1}{\gamma_{sd}(\gamma_{rd}-\gamma_{sd})} x e^{- x/\gamma_{sd}} \end{array} $$
(45)

Substituting from (45) into (44) for fX(x) yields

$$\begin{array}{*{20}l} P_{2} = & \frac{\gamma_{rd}}{2(\gamma_{rd}-\gamma_{sd})^{2}} \int_{0}^{\infty} erfc\left(\sqrt{x}\right) \left(e^{- {x/\gamma_{rd}}} -e^{- x/\gamma_{sd}}\right) dx \notag \\ &- \frac{1}{2\gamma_{sd}(\gamma_{rd}-\gamma_{sd})} \int_{0}^{\infty} erfc\left(\sqrt{x}\right) x e^{- x/\gamma_{sd}} dx \end{array} $$
(46)

In the Appendix, we derive closed form expressions for the integrals of (46). Applying these derivation results to (46) yields

$$\begin{array}{*{20}l} P_{2} =& \frac{\gamma_{rd}}{2(\gamma_{rd}-\gamma_{sd})^{2}} I_{11}(\gamma_{rd},0) \notag \\ &- \frac{\gamma_{rd}}{2(\gamma_{rd}-\gamma_{sd})^{2}} I_{11}(\gamma_{sd},0) \notag \\ &- \frac{1}{2\gamma_{sd}(\gamma_{rd}-\gamma_{sd})} I_{21}(\gamma_{sd},0) \end{array} $$
(47)

where

$$ I_{11}(\gamma_{rd},0) = \frac{1-\Gamma_{rd}}{2}, $$
(48)
$$ I_{11}(\gamma_{sd},0) = \frac{1-\Gamma_{sd}}{2}, $$
(49)
$$ I_{21}(\gamma_{sd},0) = \frac{\gamma_{sd}(1-\Gamma_{sd})}{2}-\frac{\Gamma_{sd}^{3}}{2} $$
(50)

where \(\Gamma _{rd} = \sqrt {\gamma _{rd}/(1+\gamma _{rd})}\) and \(\Gamma _{sd} = \sqrt {\gamma _{sd}/(1+\gamma _{sd})}\)

4.3 Derivation P 1(α kl)

In order to derive P1(αkl), Eq. (37cl_given+hTacx -->) is first considered for b1=[ 0 0]T and b3=[ 1 0]T and then we perform generalization as follows

$$\begin{array}{*{20}l} P({\mathbf{b}_{1}} \to {\mathbf{b}_{3}}|\mathbf{h}) =& Q\left(\sqrt {2({h_{sd1}}^{2} + h_{sd2}^{2}){\gamma_{sd}}} \right. \notag \\ &+ \left. \frac{{log({\alpha_{13}})}}{{2\sqrt {2({h_{sd1}}^{2} + h_{sd2}^{2}){\gamma_{sd}}} }} \right) \end{array} $$
(51)

Hence, P1(α13) can be derived by averaging (51) over the distribution of \(x = ({h_{sd1}}^{2} + h_{sd2}^{2}){\gamma _{sd}} \). Since all channels have the same distribution, {k,l:wkl=1}, we have

$$\begin{array}{*{20}l} P_{1}(\alpha_{kl})=& \int_{0}^{\infty} Q\left(\sqrt{2x}+\frac{\log(\alpha_{kl})}{2\sqrt{2x}}\right) f_{X}(x) dx \notag \\ =& 0.5\int_{0}^{\infty} erfc\left(\sqrt{x}+\frac{\log(\alpha_{kl})}{4\sqrt{x}}\right) f_{X}(x) dx \end{array} $$
(52)

where distribution of x is given by [24]

$$\begin{array}{*{20}l} f_{X}(x) = \frac{1}{\gamma_{sd}^{2}} x e^{-x/\gamma_{sd}} \end{array} $$
(53)

Substituting from (53) into (52) yields

$$\begin{array}{*{20}l} P_{1}(\alpha_{kl}) = \frac{1}{2{\gamma_{sd}}^{2}}\int_{0}^{\infty} \text{erfc}\left(\sqrt{x}+\frac{b_{kl}}{\sqrt{x}}\right) x e^{-x/\gamma_{sd}}dx \end{array} $$
(54)

where bkl= log(αkl)/4. When the error probability of the S-R link is less than fifty percent (i.e., Pesr<0.5), which is a reasonable assumption, and according to (26), we have

$$ \left \{ \begin{array}{cc} b_{kl}>0 & \text{ if }k< l \\ b_{kl}<0 & \text{ if} k>l \end{array} \right. $$
(55)

Accordingly, and after applying the derivation results provided in the Appendix to (54), we would have

$$ (kl)final-Tac P_{1}(\alpha_{kl}) = \left \{ \begin{array}{cc} I_{21}(\gamma_{sd},b_{kl}) & k< l \\ I_{22}(\gamma_{sd},b_{kl}) & k>l \end{array} \right. $$
(56)

where

$$ {\begin{aligned} I_{21}(\gamma_{sd},b_{kl}) =& \left(\frac{\gamma_{sd}}{2}(1-\Gamma_{sd})-\Gamma_{sd}^{2}\left(\frac{\Gamma_{sd}}{2}-\frac{b_{kl}(1-\Gamma_{sd})}{\Gamma_{sd}}\right) \right) \\ &\times e^{-2b_{kl}(1+\Gamma_{sd})/\Gamma_{sd}} \end{aligned}} $$
(57)

and

$$ {\begin{aligned} I_{22}(\gamma_{sd},b_{kl}) =& \gamma_{sd}- e^{2b_{kl}(1-\Gamma_{sd})/\Gamma_{sd}} \\ & \times \left(\frac{\gamma_{sd}}{2}(1+\Gamma_{sd}) +\Gamma_{sd}^{2}\left(\frac{\Gamma_{sd}}{2}-\frac{b_{kl}(1-\Gamma_{sd})}{\Gamma_{sd}}\right) \right) \end{aligned}} $$
(58)

5 Assignment and positioning of relay node

As will be discussed in Section 6, the derived upper bound on the error probability is tight and, accordingly, can be used to solve the relay assignment and positioning problems. In the problem of partner assignment, when a user (source) has many possible partners (relays) to choose from, the upper bound is calculated for each one and the relay node that achieves the minimum UB is selected as a partner. In the case of a fixed relay employed by the system, it is clear from (41), (47), and (56) that the error probability depends on average SNR’s γsr and γrd of S-R and R-D links and, accordingly, on the lengths of these links, i.e., dsr and drd. When the relay node is positioned close to the destination (far from the source), the good quality of the R-D link reduces the end-to-end error probability; however, the poor quality of the S-R link increases the error probability at the rely node and, accordingly, the end-to-end error probability. When the relay node is positioned close to the source (far from the destination), the poor quality of the R-D link increases the end-to-end error probability; however, the good quality of the S-R link reduces the error probability at the rely node and, accordingly, the end-to-end error probability. Therefore, there should be an optimal position of the relay node that minimizes the end-to-end error probability.

Referring to the derivations of Section 4, (41) can be rewritten as functions of source transmit SNR Es/N0, relay transmit SNR Er/N0, length S-R link dsr, length S-D link dsd, length R-D link drd, and the path loss exponent m as follows:

$$ P_{UB}= \mathscr{F}\left(\frac{E_{s}}{N_{0}},\frac{E_{r}}{N_{0}},d_{sr},d_{sd},d_{rd},m\right) $$
(59)

Although the relay node can be positioned at any point in the geographical area surrounding the destination and the source, it is straightforward to show that the error probability is minimized if the relay is positioned on the straight line connecting the source and the destination and, hence, dsd=dsr+drd. Accordingly, (59) can be written as follows

$$ P_{UB}= \mathscr{F}\left(\frac{E_{s}}{N_{0}},\frac{E_{r}}{N_{0}},d_{sr},d_{sd},m\right) $$
(60)

Accordingly, parameters of the right hand side of (60) can be optimized to minimize the BER. In this paper, we are interested in studying the effect of relay node position on the error probability and in finding the optimal position that minimizes that probability when all other parameters are given. Therefore, (60) can be written as follows

$$ P_{UB}= \mathscr{F}\left(d_{sr}\right) $$
(61)

Accordingly, the positioning problem turns out to be an optimization problem where dsr is to be estimated for minimum PUB. The problem can be modeled as a search problem in one dimensional search space and numerical solution can be used to find dsr that minimizes the upper bound.

6 Numerical result and discussions

In this section, we present numerical results for both analysis and simulations. Although the AC-MAP is a two-stage decoder, the simulation results show that the decoding time of the AC-MAP takes only 18.4% of the traditional MAP decoding time. In all results, we assume that the lengths of the S-D link dsd and the S-R-D link drl are equal (i.e., dsd=dsr+drd) and the path loss exponent is m=3.5.

Figure 3 compares the bit error probability obtained from simulations with the upper bound given by (41). The BER is plotted against the length of S-R link dsr (where 0≤dsrdsd) at different values of source and relay transmit SNR’s Es/N0 and Er/N0, respectively. The source transmits from two antennas each with energy Es/2. Three different cases are considered when Es>Er,Es<Er, and Es=Er. We find that the derived upper bound is very tight and almost coincides with the exact error probability obtained from simulations. We also find that, in each case, there is an optimal value of dsr at which the BER is minimized. The optimal value of dsr depends on the values of Es and Er.

Fig. 3
figure 3

Bit error rate versus dsr at different values of Es/N0 and Er/N0

Figure 3 also shows other two important results. The first, under a total transmit power constraint, it is better to allocate more power to the source than the relay while positioning the relay closer to the destination. The reason is that more source power improves the reliability of both the S-D and S-R links while the reliability of the R-D link is improved by making the relay closer to the destination. The second is related to the case when Es=Er which shows that the optimum relay position is not at the middle of the S-R-D link; however, it is closer to the destination. The reason is that the source is equipped with two antennas which makes the quality of S-R link better than that of the R-D link.

Figure 4 shows the minimum BER at the optimal dsr against the source transmit SNR (Es/N0) at different values of the relay transmit SNR (Er/N0). The figure shows that although the S-R link is not error free the AC-MAP decoder is capable of achieving the expected diversity order of three. The figure also shows that increasing the relay transmit power enhances the BER performance dramatically at lower values of Es/N0 while provides a little improvement at higher values of Es/N0. That is because when Es/N0 is small, the relay is located close to the source (far from the destination) and it receives the data with high reliability, hence, retransmitting this data with high power would reduce the end-to-end error probability. However, when Es/N0 is large, the relay is located close to the destination and, hence, increasing relay transmit power would not provide that much improvement in the R-D link and, accordingly, in the end-to-end error probability.

Fig. 4
figure 4

Minimum (BER) at optimum dsr versus Es/N0 at different values of Er/N0

In order to study the effect of Es and Er in the optimal position of the relay node, a numerical approach is used to find dsr for different setups as explained in the following two experiments. Figure 5 shows the optimal value of dsr against the relay transmit SNR Er/ N0 at different values of the source transmit SNR Es/ N0. The relay node is to be positioned on the straight line connecting the source and the destination. The length of the S-D link is dsd=2m and the path loss exponent is m=3.5. We find that when Er<<Es, the optimal position of the relay dsr>dsd/2 (i.e., the relay has to be close to the destination node). That is because the source energy Es is large enough such that the communication in the S-R link is reliable even when dsr is large. However, the smaller value of Er requires the positioning of the relay close to the destination to increase the receive SNR of the R-D link.

Fig. 5
figure 5

Optimum relay position against Er/ N0 at different values of Es/ N0

Figure 6 shows the optimum value of dsr against the source transmit SNR Es/ N0 at different values of the relay transmit SNR Er/ N0. We find that the optimal dsr increase as the source transmit SNR Es/N0 increase for a given value of Er/N0.

Fig. 6
figure 6

Optimum relay position against Es/ N0 at different values of Er/ N0

7 Conclusions

In this paper, we presented the MAP and the AC-MAP decoding schemes for the MISO wireless relay network that adopts the DF as a cooperation protocol. The results and discussions through the paper show that the AC-MAP is an optimal decoder as the MAP but with much less complexity. We derived a closed form expression for the upper bound on the bit error probability. The numerical results show that the upper bound expression is very tight. The derived closed form expression can be used for the solution of power allocation, partner assignment, and relay positioning problems. In this paper, we used the UB to study the optimal position of the relay node.

8 Appendix

In this Appendix, we derive the solution of integrations denoted by I11,I12,I21, and I22

9 Derivation of I 11 and I 12

Let

$$ I_{1}=\int_{0}^{\infty} \text{erfc}\left(\sqrt{x}+\frac{b}{\sqrt{x}}\right) e^{-x/\gamma}dx $$
(62)

Integrating (62) using integration by parts where u\(=\text {erfc}(\sqrt {x}+b / \sqrt {x}), dv = e^{-x/\gamma }dx, du = \frac {1}{\sqrt {\pi x}}\left (1-\frac {b}{x}\right) e^{-(x+b)^{2}/x}dx\), and v=−γex/γ, yields

$$\begin{array}{*{20}l} I_{1}=& \left[-\gamma \text{erfc}\left(\sqrt{x}+\frac{b}{\sqrt{x}}\right) e^{-x/\gamma} \right. \notag \\ & \left. - \frac{\gamma}{\sqrt{\pi}} \int \frac{1}{\sqrt{x}} \left(1-\frac{b}{x}\right) e^{-x/\gamma-(x+b)^{2}/x} dx\right ]_{0}^{\infty} \notag \\ =& \left \{ \begin{array}{cc} g_{1} & b\geq 0 \\ 1+ g_{1} & b<0 \end{array} \right. \end{array} $$
(63)

where

$$\begin{array}{*{20}l} g_{1} =& \frac{\gamma}{\sqrt{\pi}} \int_{0}^{\infty} \frac{1}{\sqrt{x}} \left(1-\frac{b}{x}\right) e^{-x/\gamma-(x+b)^{2}/x} dx \notag \\ =& \frac{\gamma}{\sqrt{\pi}} e^{-2d-r} \int_{0}^{\infty} \frac{1}{\sqrt{x}}\left(\Gamma-\frac{d}{x}\right) e^{-x-d^{2}/x} dx \end{array} $$
(64)

and \(\Gamma \,=\, \sqrt {\gamma /(1+\gamma)}, d \,=\, b\sqrt {1+1/\gamma }\), and r = 2b(1−1/Γ). Evaluating the integral of (64) yields

$$\begin{array}{*{20}l} I_{1} = \left \{ \begin{array}{cc} I_{11}(\gamma,b) & b \geq 0 \\ I_{12}(\gamma,b) & b<0 \end{array} \right. \end{array} $$
(65)

where

$$\begin{array}{*{20}l} I_{11}(\gamma,b) = \frac{1}{2}(1-\Gamma)e^{-4d-r} \end{array} $$
(66)

and

$$\begin{array}{*{20}l} I_{12}(\gamma,b) = 1-\frac{1}{2}(1+\Gamma)e^{-r} \end{array} $$
(67)

10 Derivation of I 21 and I 22

Let

$$ I_{2} = \int_{0}^{\infty} \text{erfc}\left(\sqrt{x}+\frac{b}{\sqrt{x}}\right) x e^{-x/\gamma}dx $$
(68)

Integrating (68) using integration by parts where \(u=\text {erfc}(\sqrt {x}+b / \sqrt {x})\), dv=xex/γdx,v=−γ(γ+x)ex/γ, and \(du = \frac {1}{\sqrt {\pi x}}\left (1-\frac {b}{x}\right) e^{-(x+b)^{2}/x}dx\), yields

$$ {\begin{aligned} I_{2}=&\left[-\gamma(\gamma+x) \text{erfc}\left(\sqrt{x}+\frac{b}{\sqrt{x}}\right) e^{-x/\gamma} \right. \\ & \left. - \frac{\gamma}{\sqrt{\pi}} \int \frac{1}{\sqrt{x}} \left(1-\frac{b}{x}\right) (\gamma+x)e^{-x/\gamma-(x+b)^{2}/x} dx\right ]_{0}^{\infty} \\ =& \left \{ \begin{array}{cc} g_{2} & b\geq 0 \\ 1+ g_{2} & b<0 \end{array} \right. \end{aligned}} $$
(69)

where

$$ \begin{aligned} g_{2} =& \frac{\gamma}{\sqrt{\pi}} \int_{0}^{\infty} \frac{1}{\sqrt{x}} \left(1-\frac{b}{x}\right) (\gamma+x)e^{-x/\gamma-(x+b)^{2}/x} dx \\ =&{\gamma}I_{1} -\frac{\gamma}{\sqrt{\pi}} \frac{e^{-2d-r}}{1+1/\gamma}\int_{0}^{\infty} \frac{1}{\sqrt{x}}x\left(\Gamma-\frac{d}{x}\right) e^{-x-d^{2}/x} dx \end{aligned} $$
(70)

Evaluating the integral of (70) yields

$$\begin{array}{*{20}l} I_{2}= \left \{ \begin{array}{cc} I_{21}(\gamma,b) & b \geq 0 \\ I_{22}(\gamma,b) & b < 0 \end{array} \right. \end{array} $$
(71)

where

$$\begin{array}{*{20}l} I_{21}(\gamma,b) =& {\gamma}I_{11}(\gamma,b)-\Gamma^{2}e^{-4d-r}\left(\Gamma\left(\frac{1}{2}+d\right)-d\right) \end{array} $$
(72)

Substituting for the values of d and r into (72) and performing some mathematical manipulations yields

$$\begin{array}{*{20}l} I_{21}(\gamma,b)=& \left(\frac{\gamma}{2}(1-\Gamma)-\Gamma^{2}\left(\frac{\Gamma}{2}-\frac{b(1-\Gamma)}{\Gamma}\right) \right) \notag \\ &\times e^{-2b(1+\Gamma)/\Gamma} \end{array} $$
(73)
$$\begin{array}{*{20}l} I_{22}(\gamma,b) = {\gamma}I_{12}(\gamma,b)-\Gamma^{2}e^{-r}\left(\Gamma\left(\frac{1}{2}-d\right)-d\right) \end{array} $$
(74)

Substituting for the values of d and r into (72) and performing some mathematical manipulations yields

$$\begin{array}{*{20}l} I_{22}(\gamma,b) =& \gamma- \left(\frac{\gamma}{2}(1+\Gamma) +\Gamma^{2}\left(\frac{\Gamma}{2}-\frac{b(1-\Gamma)}{\Gamma}\right) \right) \notag \\ & \times e^{2b(1-\Gamma)/\Gamma} \end{array} $$
(75)

Availability of data and materials

Not applicable.

Abbreviations

AC:

Alamouti combining

AF:

Amplify and forward

ARQ:

Automatic repeat request

AWGN:

Additive white Gaussian noise

BER:

Bit error rate

BPSK:

Binary phase shift keying

DF:

Decode and forward

EGC:

Equal gain combining

MAP:

Maximum a posterior

MISO:

Multiple input single output

ML:

Maximum likelihood

MRC:

Maximum ratio combining

SC:

Selection combining

SNR:

Signal-to-noise ratio

STBC:

Space time block code

UB:

Upper bound

References

  1. J. N. Laneman, D. N. C. Tse, G. W. Wornell, Cooperative diversity in wireless networks: efficient protocols and outage behavior. IEEE Trans. Inf. Theory. 50:, 3062–3080 (2004).

    Article  MathSciNet  Google Scholar 

  2. T. Peng, R. C. de Lamare, Delay-tolerant distributed space-time coding with feedback for cooperative MIMO relaying systems. EURASIP J. Wirel. Commun. Netw.2018(1), 18 (2018).

    Article  Google Scholar 

  3. Q. Li, R. Q. Hu, Y. Qian, G. Wu, Cooperative communications for wireless networks: techniques and applications in LTE-advanced systems. IEEE Wirel. Commun.19:, 22–29 (2012).

    Article  Google Scholar 

  4. J. S. Chen, J. X. Wang, Cooperative transmission in wireless networks using incremental opportunistic relaying strategy. IET Commun.3:, 1948–1957 (2009).

    Article  MathSciNet  Google Scholar 

  5. Y. G. Kim, N. C. Beaulieu, Exact BEP of decode-and-forward cooperative systems with multiple relays in Rayleigh fading channels. IEEE Trans. Veh. Technol.64:, 823–828 (2015).

    Article  Google Scholar 

  6. P. Clarke, R. C. de Lamare, Transmit diversity and relay selection algorithms for multirelay cooperative MIMO systems. IEEE Trans. Veh. Technol.61:, 1084–1098 (2012).

    Article  Google Scholar 

  7. B. K. Chalise, On the performance of SR and FR protocols for OSTBC-based AF-MIMO relay system with channel and noise correlations. IEEE Trans. Veh. Technol.65:, 5959–5971 (2016).

    Article  Google Scholar 

  8. A. Host-Madsen, A. Nosratinia, in Proceedings. International Symposium on Information Theory, 2005. ISIT 2005. The multiplexing gain of wireless networks, (2005), pp. 2065–2069. https://doi.org/10.1109/tcomm.2010.093010.090731.

    Article  Google Scholar 

  9. T. A. Khalaf, in 2013 IFIP Wireless Days (WD). Performance of maximum likelihood decoder in network coded cooperative communications, (2013), pp. 1–6. https://doi.org/10.1109/wd.2013.6686470.

  10. Q. -T. Vien, L. -N. Tran, E. -K. Hong, Network coding-based retransmission for relay aided multisource multicast networks. EURASIP J. Wirel. Commun. Netw.2011(1), 643920 (2011).

    Article  Google Scholar 

  11. M. O. Hasna, M. Alouini, End-to-end performance of transmission systems with relays over Rayleigh-fading channels. IEEE Trans. Wirel. Commun.2:, 1126–1131 (2003).

    Article  Google Scholar 

  12. D. Chen, J. N. Laneman, Modulation and demodulation for cooperative diversity in wireless systems. IEEE Trans. Wirel. Commun.5:, 1785–1794 (2006).

    Article  Google Scholar 

  13. G. V. V. Sharma, in 2011 National Conference on Communications (NCC). Exact error analysis for decode and forward cooperation with maximal ratio combining, (2011), pp. 1–5. https://doi.org/10.1109/ncc.2011.5734769.

  14. M. D. Selvaraj, R. K. Mallik, Error analysis of the decode and forward protocol with selection combining. IEEE Trans. Wirel. Commun.8:, 3086–3094 (2009).

    Article  Google Scholar 

  15. H. Mohammed, T. A. Khalaf, in 2013 9th International Computer Engineering Conference (ICENCO). Optimal positioning of relay node in wireless cooperative communication networks, (2013), pp. 122–127. https://doi.org/10.1109/icenco.2013.6736487.

  16. T. A. Khalaf, S. M. Ramzy, Decoding scheme for relay networks with parity forwarding cooperation protocol. IET Commun.8:, 1317–1324 (2014).

    Article  Google Scholar 

  17. M. Younis, K. Akkaya, Strategies and techniques for node placement in wireless sensor networks: a survey. Ad Hoc Netw.6(4), 621–655 (2008).

    Article  Google Scholar 

  18. R. Magán-Carrión, R. A. Rodríguez-Gómez, J. Camacho, P. García-Teodoro, Optimal relay placement in multi-hop wireless networks. Ad Hoc Netw. 46:, 23–36 (2016).

    Article  Google Scholar 

  19. N. Tavakkoli, P. Azmi, N. Mokari, Optimal positioning of relay node in cooperative molecular communication networks. IEEE Trans. Commun.65:, 5293–5304 (2017).

    Article  Google Scholar 

  20. D. Yang, S. Misra, X. Fang, G. Xue, J. Zhang, Two-tiered constrained relay node placement in wireless sensor networks: Computational complexity and efficient approximations. IEEE Trans. Mob. Comput.11:, 1399–1411 (2012).

    Article  Google Scholar 

  21. D. Tse, P. Viswanath, Fundamentals of Wireless Communication (Cambridge University Press, New York, 2005).

    Book  Google Scholar 

  22. Z. Mingjie, L. Bihong, in 2006 7th International Symposium on Antennas, Propagation EM Theory. Performance analysis of Alamouti scheme with imperfect multiple transmit antennas selection in Rayleigh fading channel, (2006), pp. 1–4. https://doi.org/10.1109/isape.2006.353529.

  23. Proakis, Digital Communications 5th Edition (McGraw Hill, New York, 2007).

    Google Scholar 

  24. S. V. Amari, R. B. Misra, Closed-form expressions for distribution of sum of exponential random variables. IEEE Trans. Reliab.46:, 519–522 (1997).

    Article  Google Scholar 

Download references

Acknowledgements

The author would like to thank Dr. Fares Almehmadi with the department of Electrical Engineering at University of Tabuk for his helpful comments and suggestions. The author, however, bears full responsibility for the Paper.

Funding

The research is supported in part by the Deanship of Scientific Research (DSR), University of Tabuk, Tabuk, Saudi Arabia, under Grant no. S-1437-0003.

Author information

Authors and Affiliations

Authors

Contributions

TAK proposed the ideas and outlines for theoretical analysis, reviewed the analysis and numerical results, and revised and prepared the final manuscript. HM performed the theoretical analysis and simulations and prepared the first version of the manuscript.Both authors have read and approved the final manuscript.

Corresponding author

Correspondence to Taha A. Khalaf.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khalaf, T.A., Mohammed, H. Bit error rate performance analysis of AC-MAP in multiple input single output wireless relay network. J Wireless Com Network 2020, 12 (2020). https://doi.org/10.1186/s13638-019-1633-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13638-019-1633-8

Keywords