- Research
- Open Access
- Published:

# Two-way decode-and-forward cooperative systems with signal space diversity

*EURASIP Journal on Wireless Communications and Networking*
**volume 2016**, Article number: 139 (2016)

## Abstract

In this paper, a novel scheme is proposed to enhance the spectral efficiency of a two-way cooperative relaying system, where two source terminals exchange information directly and via *K* intermediate relays using the three-phase two-way decode-and-forward (DF) protocol. Signal space diversity (SSD) is incorporated into the two-way cooperative relaying system in the proposed scheme that exploits the inherent diversity in the modulation signal space by rotating and expanding the ordinary constellation. The proposed SSD-based three-phase two-way DF relaying scheme exchanges four symbols in three time slots and thus doubles the spectral efficiency as compared to the conventional three-phase two-way DF relaying system, where six time slots are required to exchange the same four symbols. This improvement in spectral efficiency is achieved without adding any extra complexity, bandwidth, or transmit power. A comprehensive analysis of the proposed scheme is carried out in this paper, and closed-form expressions for various performance metrics, including error probability, outage probability, and channel capacity, are derived. It is shown that the proposed scheme provides a diversity gain equal to one higher than the number of relays. The paper also studies different schemes for the optimization of relay position and power allocation. Finally, Monte Carlo simulations are performed which confirm the validity and accuracy of the analytical framework.

## Introduction

Cooperative relaying has gained a lot of interest from both academic and industrial communities due to its application prospects to facilitate range-rate improvements of future wireless communication systems [1–4]. Cooperative relaying offers significant performance benefits in enabling connectivity, and increasing coverage, power saving, spectral efficiency, spatial diversity, and channel capacity [5, 6]. A number of cooperative relaying protocols such as amplify-and-forward (AF) [7], decode-and-forward (DF) [7], coded cooperation [8], compress-and-forward (CF) [9], and filter-and-forward [10] are used to meet the different communication requirements [11]. In DF relaying protocol, relay decodes the information received from the source before forwarding it to the destination [12]. Moreover, a transmission node may either transmit or receive at a given moment in half-duplex communication [13]. In the conventional one-way cooperative relaying protocols operating in the half-duplex mode, the source broadcasts the data to the relay and the destination in the first time slot, and then the relay repeats it to the destination using its own subchannel in the next time slot [14]. This repetition-based relaying approach reduces the overall system spectral efficiency and limits the achievable data rate [15–18].

Two-way cooperative relaying establishes bidirectional connection between two source terminals to exchange independent messages with the help of relays. Operating in the half-duplex mode with DF strategy, two-way cooperative relaying has three protocols based on different channel conditions [19–21]: (i) the naive four-phase, which uses four time slots for an information exchange and is spectrally inefficient [19]; (ii) three-phase (also known as time-division broadcast channel (TDBC)) protocol [22, 23], which requires three time slots and is commonly used in two-way relaying [19]; and (iii) two-phase (multiple-access broadcast channel (MABC)) protocol [24], which uses two time slots and requires network coding [25–27]. In this paper, three-phase two-way DF relaying protocol is considered due to its feature of having a direct link between both source terminals and an indirect link via intermediate relays to enhance the diversity. In the first time slot, one source terminal broadcasts its one symbol to the relay and the second source terminal. In the second time slot, the second source terminal broadcasts its one symbol to the relay and the first terminal. Then, the relay decodes the symbols received from both source terminals and broadcasts the combination of both symbols to both terminals in the third time slot. Since each source terminal perfectly knows its transmitted signal, it can cancel the self-interference term. Thus, the conventional three-phase two-way DF relaying system exchanges two symbols in three time slots [19]. To circumvent the issues due to the repetition-based relaying approach, signal space diversity (SSD) [28] is proposed to employ in the three-phase two-way DF relaying system in this paper, in order to enhance the spectral efficiency and system performance.

In SSD [28], the original symbols are rotated by a certain angle to ensure that each signal point of the rotated symbols carries enough information in its in-phase (*I*) and quadrature (*Q*) components in order to uniquely represent the original symbols. An *I*/*Q* interleaver is employed to guarantee that each component is affected by independent channel fading. In this way, the ordinary constellation is rearranged to the expanded constellation, which contains all possible combinations of different components of signal points in the ordinary constellation. Thus, SSD extracts the inherent diversity from the modulation signal space without adding any extra bandwidth or transmit power [29, 30].

In this paper, we propose an SSD-based two-way DF relaying scheme using multiple relays, which provides high spectral efficiency and improved diversity. Hereafter, this proposed scheme will be referred to as SSD-based two-way cooperative system, can also called as two-way signal space cooperative system (SSC-2W). SSD has been utilized in one-way relaying systems [31–33] to improve system performance. In [31], SSD is introduced into a one-way single-relay DF cooperative system, where the source and the relay cooperate to transmit different symbols to the destination. A similar cooperative scheme with one-way single relay is analyzed in [32], where a tight closed-form upper bound on the error probability is derived. In [33], SSD is combined with space-time coding for multi-hop AF cooperative systems to improve the error performance. To the best of our knowledge, no work in the literature addresses SSD-based two-way cooperative relaying system with multiple DF relays.

In the proposed SSC-2W scheme, each of the two source terminals broadcasts its first symbol from the expanded constellation to the opposite source terminal and the relays in different time slots, i.e., the first and second time slots. Then, these symbols are decoded and the second symbols of both terminals are recovered at the relays. Based on the channel conditions between the relays and the source terminals, the best relay is selected from the group of relays that have correctly decoded the symbols. This best relay then forwards both second symbols to the source terminals in the third time slot. Thus, the proposed SSC-2W scheme exchanges four symbols in three time slots and enhances the spectral efficiency by 100 % when compared with the conventional three-phase two-way DF relaying system, without adding any extra complexity, bandwidth, or transmit power.

With respect to current literature, our main contributions in this paper can be summarized in the following points: (i) a closed-form expression for the error probability is derived; (ii) an asymptotic approximation of the error probability is obtained, which clearly portrays the impact of different system parameters on the performance and confirms the diversity order achieved; (iii) the optimization of relay position under fixed power allocation (PA) and the optimization of power allocated to the source terminals and the relay under fixed relay location are investigated with the objective of minimizing the error probability; (iv) closed-form expressions for exact and asymptotic outage probabilities are derived; (v) closed-form expressions for average channel capacity and an upper bound on channel capacity are obtained; and (vi) extensive Monte Carlo simulation results are obtained and compared with the analytical results, which confirms the validity and exactness of the analytical work.

The remainder of this paper is organized as follows: Section 2 describes the system model, channel model, and SSD. Section 3 explains the derivations of closed-form expressions for the average symbol error probability (SEP), asymptotic SEP, and the diversity order of the system. Section 4 presents studies for the optimizations of relay position and power allocated to the source terminals and the relay. Section 5 illustrates the analysis for exact and asymptotic outage probability. Section 6 demonstrates the derivations for average channel capacity and an upper bound on channel capacity. Section 7 compares and analyzes the analytical and simulation results, and Section 8 concludes the paper.

## System model

In this paper, we consider an SSD-based two-way DF relaying system, as shown in Fig. 1. The studied system consists of two source terminals (T_{1} and T_{2}) and *K* number of relays (R_{
i
}, *i*=1,2,⋯,*K*), each with one antenna and operating in half-duplex mode. In this system, both T_{1} and T_{2} communicate with each other directly and through *K* relays over slow Rayleigh fading channel, whose information is available at all the receiving nodes as well as at the *K* relays. The channel coefficients of \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\), \(\textsf {R}_{i} \rightarrow \textsf {T}_{1}\), and \(\textsf {R}_{i} \rightarrow \textsf {T}_{2}\) links are denoted as *h*, *a*
_{
i
}, and *b*
_{
i
} with variances \({\sigma _{h}^{2}}\), \({\sigma _{a}^{2}}\), and \({\sigma _{b}^{2}}\), respectively. The channel coefficients are assumed to be reciprocal and to remain constant during each transmission phase, and all channels are mutually independent and have no interference with each other.

The total transmit power constraint *P*
_{tot} is imposed on the exchange of every four symbols in three time slots at two source terminals and the best relay. For a fair analysis, the total transmit power *P*
_{tot} is always equal to the total power of four symbols. The symbol energies at two source terminals (T_{1} and T_{2}) and at the relays (R_{
i
}) are denoted as \(P_{T_{1}}\), \(P_{T_{2}}\), and *P*
_{
R
}, respectively. Zero-mean additive white Gaussian noise (AWGN) with variance *N*
_{0} is assumed over all channels. The distances of T_{1}−T_{2}, T_{1}−R_{
i
}, and T_{2}−R_{
i
} links are denoted as \(d_{T_{1} T_{2}}\), \(d_{T_{1}R}\), and \(d_{T_{2}R}\), respectively, and their geometric gains are represented as \(\lambda _{T_{1}R} = (d_{T_{1} T_{2}} /d_{T_{1}R})^{\nu }\phantom {\dot {i}\!}\) and \(\lambda _{T_{2}R} = (d_{T_{1} T_{2}}/d_{T_{2}R})^{\nu }\), respectively, where *ν* is the path loss exponent. The instantaneous signal-to-noise ratios (SNRs) of \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\), \(\textsf {T}_{2} \rightarrow \textsf {T}_{1}\), \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\), \(\textsf {T}_{2} \rightarrow \textsf {R}_{i}\), \(\textsf {R}_{i} \rightarrow \textsf {T}_{1}\), and \(\textsf {R}_{i} \rightarrow \textsf {T}_{2}\) links are denoted as \(\gamma _{h_{1}}=|h|^{2}\,P_{T_{1}}/N_{0}\phantom {\dot {i}\!}\), \(\gamma _{h_{2}}=|h|^{2}\,P_{T_{2}}/N_{0}\phantom {\dot {i}\!}\), \(\gamma _{{sa}_{i}}=|a_{i}|^{2}\,\lambda _{T_{1}R}\,P_{T_{1}}/N_{0}\phantom {\dot {i}\!}\), \(\gamma _{{sb}_{i}}=|b_{i}|^{2}\,\lambda _{T_{2}R}\,P_{T_{2}}/N_{0}\phantom {\dot {i}\!}\), \(\gamma _{a_{i}}=|a_{i}|^{2}\,\lambda _{T_{1}R}\,P_{R}/N_{0}\phantom {\dot {i}\!}\), and \(\gamma _{b_{i}}=|b_{i}|^{2}\,\lambda _{T_{2}R}\,P_{R}/N_{0}\phantom {\dot {i}\!}\), while average SNRs are \(\overline {\gamma }_{h_{1}}={\sigma _{h}^{2}}\,P_{T_{1}}/N_{0}\phantom {\dot {i}\!}\), \(\overline {\gamma }_{h_{2}}={\sigma _{h}^{2}}\,P_{T_{2}}/N_{0}\phantom {\dot {i}\!}\), \(\overline {\gamma }_{sa}={\sigma _{a}^{2}}\,\lambda _{T_{1}R}\,P_{T_{1}}/N_{0}\phantom {\dot {i}\!}\), \(\overline {\gamma }_{sb}={\sigma _{b}^{2}}\,\lambda _{T_{2}R}\,P_{T_{2}}/N_{0}\phantom {\dot {i}\!}\), \(\overline {\gamma }_{a}={\sigma _{a}^{2}}\,\lambda _{T_{1}R}\,P_{R}/N_{0}\), and \(\overline {\gamma }_{b}={\sigma _{b}^{2}}\,\lambda _{T_{2}R}\,P_{R}/N_{0}\), respectively.

In the studied system, SSD is applied at the source terminals and the relays. Figure 2 shows the constellation rotation and expansion in the SSD. First, each \(m=\log _{2} (M)\) information bits at each source terminal are grouped and mapped to some ordinary constellation using a digital modulation scheme such as *M*-ary quadrature amplitude modulation (*M*-QAM) or *M*-ary phase-shift keying (*M*-PSK).

Let **s**=(*s*
_{1},*s*
_{2}) be the two original signal points from the ordinary constellation *Φ* (e.g., 4-QAM, or QPSK), i.e., *s*
_{1},*s*
_{2}∈*Φ*. The original complex symbols can be denoted as \(s_{1} = \Re \{s_{1}\}+j\Im \{s_{1}\}\) and \(s_{2} = \Re \{s_{2}\}+j\Im \{s_{2}\}\), where \(j=\sqrt {-1}\), and \(\Re \{\cdot \}\) and *I*{·} are *I* and *Q* components of the symbols, respectively. Then, *s*
_{1} and *s*
_{2} are rotated by the angle *θ*, i.e., *x*
_{1}=*s*
_{1}
*e*
^{jθ} and *x*
_{2}=*s*
_{2}
*e*
^{jθ}. The rotated symbols, **x**=(*x*
_{1},*x*
_{2}), correspond to a rotated constellation *Φ*
_{
r
}, which is generated by applying a transformation *Θ* to the ordinary constellation as

The rotation angle *θ* is chosen carefully to ensure that each signal point in the rotated constellation carries enough information in one component, either *I* or *Q*, and uniquely represents the original signal [28, 31]. A list of *θ* for various modulation schemes can be found in [34, 35], such as the rotation angle *θ* of 26.6°, 14.0°, and 7.1°, is chosen for 4-, 16-, and 64-QAM constellations, respectively. The new SSD symbols, **z**=(*z*
_{1},*z*
_{2}), for transmission are formed by interleaving the *Q* components of the rotated symbols, *x*
_{1} and *x*
_{2}, and are given by

The SSD symbols, *z*
_{1} and *z*
_{2}, for transmission belong to an expanded constellation *Υ*, i.e \(\Upsilon = \Re \{\Phi _{r}\} \times \Im \{\Phi _{r}\}\), where × is the Cartesian product of two sets. It is significant to mention that each member of *Υ* consists of two components, i.e., a real component from a member of *Φ*
_{
r
} and an imaginary component from another member of *Φ*
_{
r
}. Moreover, each of the component identifies a specific member of *Φ*
_{
r
}. Thus, decoding a member of *Υ* leads to decoding two different members of *Φ*
_{
r
} (i.e., *x*
_{1} and *x*
_{2}). It is important to highlight that the expanded constellation, resulting from component interleaving and ordinary constellation rotation, does not convert a low order constellation to higher order. In addition, the expanded constellation maintains the same number of bits per signal point as in the ordinary constellation.

To this end, we explain the use of SSD in the three-phase two-way DF relaying system. Firstly, T_{1} prepares two SSD symbols, \(z_{T_{1},1}\) and \(z_{T_{1},2}\), by component interleaving of its two original rotated symbols, \(x_{T_{1},1}\) and \(x_{T_{1},2}\), as

In the first time slot, T_{1} broadcasts only one of the two SSD symbols (i.e. \(z_{T_{1},1}\phantom {\dot {i}\!}\)). Thus, the received signal at T_{2} and the *i*th relay can be written as

where \(w_{T_{2},1}\phantom {\dot {i}\!}\) and \(w_{T_{1},R_{i}}\phantom {\dot {i}\!}\) denote zero-mean AWGN with a variance of *N*
_{0} at T_{2} and the *i*th relay, respectively. The two original rotated symbols, \(x_{T_{1},1}\phantom {\dot {i}\!}\) and \(x_{T_{1},2}\phantom {\dot {i}\!}\), are detected using the transmitted SSD symbol, \(z_{T_{1},1}=\Re \{x_{T_{1},1}\} +j\Im \{x_{T_{1},2}\}\phantom {\dot {i}\!}\), at the *i*th relay as

where ∗ denotes complex conjugation.

Secondly, T_{2} prepares two SSD symbols, \(z_{T_{2},1}\phantom {\dot {i}\!}\) and \(z_{T_{2},2}\phantom {\dot {i}\!}\), by component interleaving of its two original rotated symbols, \(x_{T_{2},1}\phantom {\dot {i}\!}\) and \(x_{T_{2},2}\phantom {\dot {i}\!}\), as

Similarly, in the second time slot, T_{2} broadcasts only one of the two SSD symbols (i.e., \(z_{T_{2},1}\phantom {\dot {i}\!}\)), which is received at T_{1} and the *i*th relay as

where \(w_{T_{1},1}\phantom {\dot {i}\!}\) and \(w_{T_{2},R_{i}}\phantom {\dot {i}\!}\) denote zero-mean AWGN with a variance of *N*
_{0} at T_{1} and the *i*th relay, respectively. Then, the two original rotated symbols, \(x_{T_{2},1}\phantom {\dot {i}\!}\) and \(x_{T_{2},2}\phantom {\dot {i}\!}\), are detected using the transmitted SSD symbol, \(z_{T_{2},1}\phantom {\dot {i}\!}\), at the *i*th relay as

Thanks to the SSD technique that an SSD symbol from a terminal received at the relay consists of two components to represent two different original symbols. If the relay successfully decodes an SSD symbol, \(z_{T_{1},1}\phantom {\dot {i}\!}\), from T_{1}, it can recover both symbols, \(x_{T_{1},1}\phantom {\dot {i}\!}\) and \(x_{T_{1},2}\phantom {\dot {i}\!}\), correctly due to the SSD technique. Similarly, the relay can recover \(x_{T_{2},1}\phantom {\dot {i}\!}\) and \(x_{T_{2},2}\phantom {\dot {i}\!}\) correctly upon successful decoding of \(z_{T_{2},1}\phantom {\dot {i}\!}\) from T_{2}. Otherwise, the failure in decoding is conveyed through a reliable feedback channel to the terminals. These assumptions are based on ARQ and CRC protection features which are part of the advanced wireless standards such as IEEE 802.16 [36]. Let \(\mathcal {D}\) be the set of relays that have correctly decoded the messages in the first and second time slots, and \(|\mathcal {D}|\) its cardinality. Let R_{
t
} denotes the best relay among all relays that correctly decode both source messages and have good channel conditions to both source terminals. Thus, the relay selection criteria, based on \(\gamma _{a_{i}}\phantom {\dot {i}\!}\) and \(\gamma _{b_{i}}\phantom {\dot {i}\!}\), can be expressed as

The best relay (R_{
t
}) forwards the combined signal of \(z_{T_{1},2}\) and \(z_{T_{2},2}\) to the source terminals in the third time slot. Thus, the received signals at the source terminals can be written as

where *w*
_{1,2} and *w*
_{2,2} denote zero-mean AWGN with a variance of *N*
_{0} at T_{1} and T_{2}, respectively. Since each terminal perfectly knows its transmitted signal, it can cancel the self-interference term. Thus, the resulting signals at T_{1} and T_{2} can be written as

Let \(\mathbf {r}_{T_{1}}=(r_{T_{1},1}, r_{T_{1},2})\phantom {\dot {i}\!}\) be the signal after component de-interleaver at T_{2}, transmitted by T_{1}, which can be expressed as

The maximum likelihood detection is applied at T_{2} in order to detect the message transmitted by T_{1} using

Similarly, the signal at T_{1}, \(\mathbf {r}_{T_{2}}=(r_{T_{2},1}, r_{T_{2},2})\phantom {\dot {i}\!}\), after component de-interleaver can be expressed as

The message at T_{1}, transmitted by T_{2}, is detected as

It is important to note that the proposed SSC-2W scheme exchanges four symbols in three time slots. On the other hand, the conventional three-phase two-way DF relaying system [19] requires three time slots to exchange two symbols, thus requiring six time slots for four symbols. In addition, if one of the two transmitted SSD symbols are not received correctly at the opposite terminal in the proposed SSC-2W scheme, it will still be able to recover both symbols from one SSD symbol due to the SSD technique. Therefore, the proposed SSC-2W scheme increases the data rate, spectral efficiency, and diversity when compared with the conventional three-phase two-way DF relaying system without any additional bandwidth or transmit power.

## Error probability analysis

In this section, we derive a closed-form expression for the end-to-end error probability of the proposed SSC-2W scheme over Rayleigh fading channel. Moreover, we analyze asymptotic approximation of the error probability and diversity gain of the system.

### Average error probability

The average SEP of the system depends on the probability that the relays detect the signal transmitted from source terminals with or without an error, and the probability of erroneous transmission from one source terminal to the other. In addition, when a set of relays is available that have correctly received signals from source terminals, the average SEP of the system depends on the cooperative links between the best relay and the source terminals. Due to two-way communication, we first focus our analysis at terminal T_{2} for the signal transmitted by terminal T_{1}. We define \(\text {Pr}\{|\mathcal {D}|=0\}\) as the probability that no relay is able to correctly detect the signals transmitted by source terminals, and \(\text {Pr}\{|\mathcal {D}|=k\}\) as the probability that *k* relays detect source signals correctly. Moreover, \(\mathcal {P}_{\text {sym}}^{T_{1},\text {coop}}(e|k)\phantom {\dot {i}\!}\) is the conditional error probability of the cooperative link between \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\) and \(\textsf {R}_{t} \rightarrow \textsf {T}_{2}\) when *k* relays detect both source signals correctly. Furthermore, \(\mathcal {P}^{T_{1} T_{2}}_{\text {sym}}(e)\phantom {\dot {i}\!}\) and \(\mathcal {P}^{T_{2} T_{1}}_{\text {sym}}(e)\phantom {\dot {i}\!}\) are the error probabilities of a signal transmitted from T_{1} to T_{2} and T_{2} to T_{1}, respectively. Thus, the average SEP of the signal transmitted by T_{1} can be written as

where

where \(\mathcal {P}_{\text {off}}\) denotes the probability that a relay fails to detect both source signals correctly and remains silent during the third time slot. If \(\mathcal {P}_{\text {sym}}^{T_{1} R_{i}}(e)\phantom {\dot {i}\!}\) and \(\mathcal {P}_{\text {sym}}^{T_{2} R_{i}}(e)\phantom {\dot {i}\!}\) denote the error probabilities at the *i*th relay for signal transmitted by T_{1} and T_{2}, respectively, then \(\mathcal {P}_{\text {off}}\) can be written as

The average SEP of T_{1} can then be expressed as

In what follows, we derive the expressions for each of these probabilities.

The conditional SEP for a given \(\gamma _{{sa}_{i}}\phantom {\dot {i}\!}\) of the \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\) link, \(\mathcal {P}_{\text {sym}}^{T_{1} R_{i}}(e|\gamma _{{sa}_{i}})\phantom {\dot {i}\!}\), can be tightly upper bounded as

where \(Q(u)=\frac {1}{\sqrt {2\pi }}\int _{u}^{\infty } e^{-t^{2}/2} dt\phantom {\dot {i}\!}\) is the Gaussian Q-function ([37] 26.2.3), *α*
_{
z
} and *β*
_{
z
} are determined by the type of the expanded constellation and its size |*Υ*|. For example, for *M*-QAM, *α*
_{
z
}=4 and *β*
_{
z
}=3/(|*Υ*|−1); and for *M*-PSK, *α*
_{
z
}=2 and \(\beta _{z}=2 \sin ^{2} (\pi /|\Upsilon |)\) [38]. Therefore, \(\mathcal {P}_{\text {sym}}^{T_{1} R_{i}}(e)\phantom {\dot {i}\!}\) over Rayleigh fading channel can be written as

where \(f_{\gamma _{{sa}_{i}}}(\gamma _{{sa}_{i}}) = \frac {1}{\overline {\gamma }_{sa}} e^{-\gamma _{{sa}_{i}}/\overline {\gamma }_{sa}}\phantom {\dot {i}\!}\) is the PDF of the SNR \(\gamma _{{sa}_{i}}\phantom {\dot {i}\!}\) [39]. We formulate the following expression using [40]

Solving the integration in Eq. (35) using Eq. (36), \(\mathcal {P}_{\text {sym}}^{T_{1} R_{i}}(e)\phantom {\dot {i}\!}\) can be written as

Similarly, the SEP at the *i*th relay for a signal transmitted by T_{2} over Rayleigh fading channel can be expressed as

and the SEP at T_{2} for a signal transmitted by T_{1} over Rayleigh fading channel can be written as

The SEP of the cooperative link between \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\) and \(\textsf {R}_{t} \rightarrow \textsf {T}_{2}\) depends on the total SNR of the cooperative link, \(\gamma _{e_{1}}=\gamma _{h_{1}} + \gamma _{b_{t}}\phantom {\dot {i}\!}\), where \(\gamma _{b_{t}}\phantom {\dot {i}\!}\) is the SNR of the best relay chosen under the relay selection criterion, given by Eq. (16). Thus, the SEP of the cooperative link for given SNRs \(\gamma _{a_{i}}\phantom {\dot {i}\!}\), \(\gamma _{b_{i}}\phantom {\dot {i}\!}\), \(\gamma _{h_{1}}\phantom {\dot {i}\!}\) and *k* active relays can be represented as [38]

where *α*
_{
x
}=2(|*Φ*
_{
r
}|−1)/|*Φ*
_{
r
}|, *β*
_{
x
}=3/(|*Φ*
_{
r
}|^{2}−1) [38]. Then, \(\mathcal {P}_{\text {sym}}^{T_{1},\text {coop}}(e|k)\phantom {\dot {i}\!}\) over the fading channel can be written as

where \(f_{\gamma _{e_{1}}} (\gamma _{e_{1}})\phantom {\dot {i}\!}\) is the PDF of the SNR \(\gamma _{e_{1}}\phantom {\dot {i}\!}\). To evaluate \(f_{\gamma _{e_{1}}} (\gamma _{e_{1}})\), PDF of \(\gamma _{b_{t}}\phantom {\dot {i}\!}\) is derived first with the help of the PDFs of \(\gamma _{a_{i}}\phantom {\dot {i}\!}\) and \(\gamma _{b_{i}}\phantom {\dot {i}\!}\), that are \(f_{\gamma _{a_{i}}}(\gamma _{a_{i}}) = \frac {1}{\overline {\gamma }_{a}} e^{-\gamma _{a_{i}}/\overline {\gamma }_{a}}\phantom {\dot {i}\!}\) and \(f_{\gamma _{b_{i}}}(\gamma _{b_{i}}) = \frac {1}{\overline {\gamma }_{b}} e^{-\gamma _{b_{i}}/\overline {\gamma }_{b}}\phantom {\dot {i}\!}\), respectively. Thus, using ([41] Appendix A), \(f_{\gamma _{b_{t}}} (\gamma)\phantom {\dot {i}\!}\) can be expressed as

where \(\overline {\gamma }_{m} = \overline {\gamma }_{a} \overline {\gamma }_{b}/(\overline {\gamma }_{a} +\overline {\gamma }_{b})\). \(f_{\gamma _{e_{1}}} (\gamma)\phantom {\dot {i}\!}\) is evaluated by convolving \(f_{\gamma _{h_{1}}} (\gamma) = \frac {1}{\overline {\gamma }_{h_{1}}} e^{-\gamma /\overline {\gamma }_{h_{1}}}\phantom {\dot {i}\!}\) and \(f_{\gamma _{b_{t}}}(\gamma)\) from Eq. (42); thus, \(f_{\gamma _{e_{1}}} (\gamma)\phantom {\dot {i}\!}\) can be expressed as

Substituting Eq. (43) into Eq. (41) and solving the integration using Eq. (36), \(\mathcal {P}_{\text {sym}}^{T_{1},\text {coop}}(e|k)\phantom {\dot {i}\!}\) can be expressed as

Finally, substituting Eqs. (37), (38), (39), and (44) into Eq. (33), a closed-form expression for the average SEP at the terminal T_{2} for the signal transmitted by T_{1} can be easily obtained. It is noted that a similar expression can be obtained for the average SEP at the terminal T_{1} for the signal transmitted by T_{2}, \(\mathcal {P}_{\text {sym}}^{T_{2}}(e)\phantom {\dot {i}\!}\), by following the same procedure or simply replacing \(\overline {\gamma }_{h_{1}}\phantom {\dot {i}\!}\) with \(\overline {\gamma }_{h_{2}}\phantom {\dot {i}\!}\), and by interchanging \(\overline {\gamma }_{b}\) and \(\overline {\gamma }_{a}\) in the expression for \(\mathcal {P}_{\text {sym}}^{T_{1}}(e)\phantom {\dot {i}\!}\). Thus, the end-to-end average SEP of the proposed SSC-2W scheme can be obtained using the following relation

### Asymptotic error probability

Although the derived average SEP expression of the system is very useful in evaluating error performance of the system, it is not straightforward to use this expression to quantify the diversity gain and the effect of system parameters. Consequently, we derive simple asymptotic SEP expression, which is of special interest in moderate to high SNR region. The asymptotic SEP at the terminal T_{2} for the signal transmitted by T_{1} can be expressed as

For high SNR, \(\mathcal {P}_{\text {off}}\) from Eq. (32) can be approximated as

Utilizing the Taylor series expansion of the exponential function and neglecting the higher order terms, the PDF of \(\gamma _{{sa}_{i}}\phantom {\dot {i}\!}\) can be approximated as

Thus,

Similarly, we obtain the following

and

The PDF of \(\gamma _{h_{1}}\phantom {\dot {i}\!}\) using the Taylor series expansion can be approximated as

\(f_{\gamma _{b_{t}}}(\gamma)\phantom {\dot {i}\!}\) can be approximated as

From Eqs. (52) and (53), the PDF of \(\gamma _{e_{1}}\phantom {\dot {i}\!}\) is obtained as

Thus, substituting Eq. (54) into Eq. (41) and solving the integration using ([40] 3.351.2), we obtain

where *Γ*(·) is the gamma function, given by \(\Gamma (u)=\int _{0}^{\infty } e^{-t} t^{u-1} dt\) ([37] 6.1.1). From Eqs. (46), (49), (50), (51), and (55), the asymptotic SEP at the terminal T_{2} for the signal transmitted by T_{1} can be written as

where we define *Ψ*
_{
k
} as

Similarly, the asymptotic SEP at the terminal T_{1} for the signal transmitted by T_{2}, \(\mathcal {P}_{\text {sym}}^{T_{2}}(e)\phantom {\dot {i}\!}\), can be obtained by replacing \(\overline {\gamma }_{h_{1}}\phantom {\dot {i}\!}\) with \(\overline {\gamma }_{h_{2}}\phantom {\dot {i}\!}\), and by interchanging \(\overline {\gamma }_{b}\) and \(\overline {\gamma }_{a}\) in Eq. (56). Thus, the end-to-end asymptotic SEP of the proposed SSC-2W scheme can be written as

### Diversity gain analysis

To obtain the diversity gain of the proposed SSC-2W scheme, we examine the end-to-end asymptotic SEP, derived in Eq. (58), using equal power allocation (EPA) with \(P_{T_{1}}=P_{T_{2}}=P_{R}=P_{e}\phantom {\dot {i}\!}\), which gives the following

From Eq. (59), we conclude that the proposed SSC-2W scheme provides a diversity gain of *K*+1, which is one higher than the number of relays in the system.

## System optimization

### Optimizing relay position under fixed power allocation

For optimizing the relay position, the normalized distance between the two terminals (i.e., \(d_{T_{1}T_{2}}=1\phantom {\dot {i}\!}\)) is used throughout this paper. In this section, we consider the scenario that assumes the placement of relays on the straight line, joining both source terminals (i.e., \(d_{T_{1}R}=d\phantom {\dot {i}\!}\) and \(d_{T_{2}R}=1-d\phantom {\dot {i}\!}\)), in order to reduce the impact of path loss. In addition, we consider the scenario with at least one relay correctly decodes both source signals; otherwise, the optimization problem would be meaningless with \(|\mathcal {D}|=0\). Under the condition of fixed power allocated to the source terminals (\(P_{T_{1}}\phantom {\dot {i}\!}\) and \(P_{T_{2}}\phantom {\dot {i}\!}\)) and the relays (*P*
_{
R
}), the relay location optimization problem can be formulated as

In order to carry out tractable mathematical analysis of all optimization cases, we apply binomial expansion [40] on Eq. (58) and obtain the following form of the end-to-end asymptotic SEP, which is used in all optimization analysis,

where

Hence, Eq. (61) can be written as

where we define the following

In order to check the convexity of \(\mathcal {P}_{\text {sym}}^{e2e}(e)\), given by Eq. (63), we evaluate the second derivative of Eq. (63) with respect to *d* and it is easily found that \(\partial ^{2} \mathcal {P}_{\text {sym}}^{e2e}(e)/\partial d^{2}\) is positive in the interval [0,1]. This shows that the objective function is strictly a convex function of *d* in the interval [0,1]. Thus, taking the first derivative of \(\mathcal {P}_{\text {sym}}^{e2e}(e)\) with respect to *d* and equating it to zero, we obtain

If not impossible, it is very hard to find the closed-form for the optimal relay position (*d*
^{∗}) from Eq. (71); however, simple iterative techniques such as bisection method can be used to find the optimum position of the relay, *d*
^{∗}.

### Optimizing power allocation under fixed relay position

In this section, we investigate the optimal power allocation (OPA) at both source terminals and the relay in order to minimize the average SEP while providing an efficient energy distribution among the participating nodes in the system. For tractable mathematical analysis, we consider the scenario that assumes equal power allocation to the two source terminals (i.e., \(P_{T}=P_{T_{1}}=P_{T_{2}}\phantom {\dot {i}\!}\)). Under the condition of fixed relay location (\(d_{T_{1}R}\phantom {\dot {i}\!}\), \(d_{T_{2}R}\phantom {\dot {i}\!}\)), the power optimization problem can be expressed as

where *P*
_{tot} is the total power budget of the system. We define *δ* such that 0<*δ*<1, so that we can express the optimum values of the power allocated to both source terminals and the relay as *P*
_{
T
}=*δ*
*P*
_{tot}/2 and *P*
_{
R
}=(1−*δ*)*P*
_{tot}. Substituting these values into Eq. (61), we obtain

where \(\mathcal {I}\) and \(\mathcal {L}\) are defined as

By taking the second derivative of Eq. (73) with respect to *δ*, it is easily observed that the objective function is strictly a convex function of *δ* in the interval (0,1). Thus, taking the first derivative of Eq. (73) with respect to *δ* and equating it to zero, we get

The optimum *δ*
^{∗}, obtained using simple iterative techniques such as bisection method, can be used to find the optimum values \(P_{T}^{*}\) and \(P_{R}^{*}\).

### Optimizing source power allocation under fixed relay power and position

Optimum \(P_{T}^{*}\), obtained using OPA, can be used to evaluate the optimal source power allocation (OSA) (i.e., \(P_{T_{1}}^{*}\), \(P_{T_{2}}^{*}\)) under the condition of fixed relay power (*P*
_{
R
}) and position (\(d_{T_{1}R}\), \(d_{T_{2}R}\)). The source power optimization problem can be mathematically stated as

where *P*
_{
TS
} is the total power allocated to the source terminals of the system. By defining *ρ* such that 0<*ρ*<1, we can represent the optimum values of the power allocated to the terminals as \(P_{T_{1}}=\rho P_{TS}\phantom {\dot {i}\!}\) and \(P_{T_{2}}=(1-\rho)P_{TS}\phantom {\dot {i}\!}\). Substituting these values into (61), we get

where we define the following

The expression for \(\mathcal {P}_{\text {sym}}^{e2e}(e)\), given by Eq. (78), is found to be strictly a convex function of *ρ* in the interval (0,1). Thus, taking the first derivative of Eq. (78) with respect to *ρ* and equating it to zero, we obtain

The optimum value of *ρ* (*ρ*
^{∗}) can be obtained from the previous expression using simple iterative techniques such as bisection method, and hence, the optimum values of the power allocated to the source terminals (i.e., \(P_{T_{1}}^{*}\phantom {\dot {i}\!}\), \(P_{T_{2}}^{*}\phantom {\dot {i}\!}\)) can be calculated.

## Outage probability analysis

In this section, we evaluate the overall outage performance of the proposed SSC-2W scheme over Rayleigh fading channel. We also derive a closed-form expression for the asymptotic approximation of the outage probability.

### Exact outage probability

For the transmission scenario presented in Section 2, a total system outage occurs either when \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\), \(\textsf {T}_{2} \rightarrow \textsf {T}_{1}\), \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\), and \(\textsf {T}_{2} \rightarrow \textsf {R}_{i}\) links are in outage or when the cooperative links are in outage assuming no outage in \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\) and \(\textsf {T}_{2} \rightarrow \textsf {R}_{i}\) links. Thus, the outage probability for the signal transmitted by T_{1} can be expressed as

where \(\mathcal {P}_{\text {out}}^{T_{1}T_{2}}\phantom {\dot {i}\!}\) denotes the outage probability of the \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\) link, \(\mathcal {P}_{\text {out}}^{T_{1},\text {coop}}\phantom {\dot {i}\!}\) denotes the outage probability of the cooperative link, and \(\mathcal {P}_{\text {out}}^{\text {off}}\) denotes the outage probability when a relay link to both terminals has failed. \(\mathcal {P}_{\text {out}}^{\text {off}}\) can be written as

where \(\mathcal {P}_{\text {out}}^{T_{1}R}\phantom {\dot {i}\!}\) and \(\mathcal {P}_{\text {out}}^{T_{2}R}\phantom {\dot {i}\!}\) represent the outage probabilities of \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\) and \(\textsf {T}_{2} \rightarrow \textsf {R}_{i}\) links, respectively. For a given target rate *R* bits/s/Hz, the event that an outage happens in the \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\) link corresponds to the event \((1/3) \log _{2} (1+\gamma _{{sa}_{i}}) < R\phantom {\dot {i}\!}\), or equivalently \(\gamma _{{sa}_{i}}<\mu _{th}\phantom {\dot {i}\!}\), where *μ*
_{
th
}=2^{3R}−1. The reason for the 1/3 factor is that there are 3 time slots for transmission. Thus, \(\mathcal {P}_{\text {out}}^{T_{1}R}\phantom {\dot {i}\!}\) can be expressed as

Similarly, \(\mathcal {P}_{\text {out}}^{T_{2}R}\phantom {\dot {i}\!}\) and \(\mathcal {P}_{\text {out}}^{T_{1}T_{2}}\phantom {\dot {i}\!}\) can be obtained as

and

When no outage happens in \(\textsf {T}_{1} \rightarrow \textsf {R}_{i}\) and \(\textsf {T}_{2} \rightarrow \textsf {R}_{i}\) links and the relay successfully decodes both source signals, the best relay transmits different symbols through \(\textsf {R}_{t} \rightarrow \textsf {T}_{1}\) and \(\textsf {R}_{t} \rightarrow \textsf {T}_{2}\) links to both source terminals in the third time slot. Thus, the average mutual information for the cooperative link at the terminal T_{2}, for the signal transmitted by T_{1}, is given by

Assuming \(\gamma _{h_{1}}\phantom {\dot {i}\!}\) and \(\gamma _{b_{t}}\phantom {\dot {i}\!}\) as independent random variables, the outage probability of the cooperative link at the terminal T_{2}, for the signal transmitted by T_{1}, can be expressed as

where \(\Lambda \triangleq \left \{\left (\gamma _{h_{1}}, \gamma _{b_{t}}\right.\right)\left |\left (1+\gamma _{h_{1}}\right)\left (1+\gamma _{b_{t}}\right) < 2^{3R},\,\,\, \gamma _{h_{1}}\geq 0, \gamma _{b_{t}}\geq 0\right \}\) and \(f\left (\gamma _{h_{1}}, \gamma _{b_{t}}\right)=f_{\gamma _{h_{1}}}\left (\gamma _{h_{1}}\right)\,f_{\gamma _{b_{t}}}\left (\gamma _{b_{t}}\right)\) is the joint PDF of \(\gamma _{h_{1}}\) and \(\gamma _{b_{t}}\). Thus,

Using the Taylor series to approximate terms such as \(\exp \left \{-\left (\mu _{th}-\gamma _{h_{1}}\right)/\left (\overline {\gamma }_{b}\left (1+\gamma _{h_{1}}\right)\right)\right \}\) and solving the integral in the previous expression, we obtain \(\mathcal {P}_{\text {out}}^{T_{1},\text {coop}}\phantom {\dot {i}\!}\) as

From Eqs. (84), (85), (87), (88), (89), and (93), we can obtain the outage probability for the signal transmitted by T_{1}, \(\mathcal {P}_{\text {out}}^{T_{1}}\phantom {\dot {i}\!}\). Similarly, the outage probability for the signal transmitted by T_{2}, \(\mathcal {P}_{\text {out}}^{T_{2}}\phantom {\dot {i}\!}\), can be obtained by replacing \(\overline {\gamma }_{h_{1}}\phantom {\dot {i}\!}\) with \(\overline {\gamma }_{h_{2}}\phantom {\dot {i}\!}\) and by interchanging \(\overline {\gamma }_{b}\) and \(\overline {\gamma }_{a}\) in \(\mathcal {P}_{\text {out}}^{T_{1}}\phantom {\dot {i}\!}\). Thus, the overall outage probability of the system is given by

### Asymptotic outage probability

In the following, we evaluate the asymptotic approximation of the overall outage probability, which is valid for high SNR and provides insight into the system performance. Using the fact that \(\left (1-\mathcal {P}_{\text {out}}^{\text {off}}\right) \rightarrow 1\) for high SNR, the asymptotic outage probability of T_{1} can be expressed as

where \(\mathcal {P}_{\text {out}}^{\text {off}}\) can be approximated as

Using Eq. (48), \(\mathcal {P}_{\text {out}}^{T_{1}R}\phantom {\dot {i}\!}\) can be approximated as

Similarly,

and

Substituting Eqs. (52) and (53) into Eq. (92), and solving the integration, \(\mathcal {P}_{\text {out}}^{T_{1},\text {coop}}\phantom {\dot {i}\!}\) is approximated as

Thus, combining Eqs, (95)–(100), the asymptotic outage probability of T_{1} can be written as

In a similar manner, the asymptotic outage probability of T_{2}, \(\mathcal {P}_{\text {out}}^{T_{2}}\phantom {\dot {i}\!}\), can be obtained by replacing \(\overline {\gamma }_{h_{1}}\phantom {\dot {i}\!}\) with \(\overline {\gamma }_{h_{2}}\phantom {\dot {i}\!}\), and by interchanging \(\overline {\gamma }_{b}\) and \(\overline {\gamma }_{a}\phantom {\dot {i}\!}\) in Eq. (101). The overall asymptotic outage probability of the system can be written as

## Channel capacity analysis

### Average channel capacity

In this section, the average channel capacity, in the Shannon’s sense, is evaluated by averaging the instantaneous capacity for an AWGN channel over the fading distribution for optimal rate adaptation with constant transmit power and receiver channel state information [39, 42]. Thus, the average channel capacity of the proposed SSC-2W scheme can be expressed as

where \(\overline {C}_{T_{1}T_{2}}\phantom {\dot {i}\!}\), \(\overline {C}_{T_{2}T_{1}}\phantom {\dot {i}\!}\), \(\overline {C}_{R_{t}T_{1}}\phantom {\dot {i}\!}\), and \(\overline {C}_{R_{t}T_{2}}\) denote the average channel capacities of \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\), \(\textsf {T}_{2} \rightarrow \textsf {T}_{1}\), \(\textsf {R}_{t} \rightarrow \textsf {T}_{1}\), and \(\textsf {R}_{t} \rightarrow \textsf {T}_{2}\) links, respectively. The average channel capacity of the \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\) link can be written as

where *B* is the bandwidth of the channel. The reason for the 1/3 factor is that one symbol is transmitted through the \(\textsf {T}_{1} \rightarrow \textsf {T}_{2}\) link in three time slots. In order to simplify Eq. (104), we formulate the following relation using ([40] 3.352.4)

where *E*
_{1}(·) represents the exponential integral, defined as \(E_{1}(u)=\int _{u}^{\infty } (\exp (-t)/t)\, dt\) ([37] 5.1.1). Substituting \(f_{\gamma _{h_{1}}}(\gamma _{h_{1}})\phantom {\dot {i}\!}\) into Eq. (104), and solving the integration using Eq. (105), \(\overline {C}_{T_{1}T_{2}}\) can be written as

Similarly, we can obtain

The average channel capacity of the \(\textsf {R}_{t} \rightarrow \textsf {T}_{2}\) link can be written as

Substituting Eq. (42) into Eq. (108), and solving the integration using Eq. (105), \(\overline {C}_{R_{t}T_{2}}\phantom {\dot {i}\!}\) can be expressed as

Similarly, the average channel capacity of the \(\textsf {R}_{t} \rightarrow \textsf {T}_{1}\) link, \(\overline {C}_{R_{t}T_{1}}\phantom {\dot {i}\!}\), can be obtained by interchanging \(\overline {\gamma }_{b}\) and \(\overline {\gamma }_{a}\) in Eq. (109). Thus, the closed-form expression for the average channel capacity of the system can be expressed as

### Upper bound on the capacity

Using Jensen’s inequality, the average channel capacity of a link can be upper bounded as

where \(\mathbb {E}\{\cdot \}\) denotes the expectation operator and is evaluated by \(\mathbb {E}\{\gamma \} = \int _{0}^{\infty } \gamma f_{\gamma }(\gamma) d\gamma \) using \(\int _{0}^{\infty } t\, e^{-t/c} dt = c^{2}\). Thus, we obtain the upper bounds on the capacities of different links as

and

where

Similarly, \(\overline {C}_{R_{t}T_{1}}\phantom {\dot {i}\!}\) can be obtained by interchanging \(\overline {\gamma }_{b}\) and \(\overline {\gamma }_{a}\) in Eq. (115). Then, the upper bound on the capacity of the system can be easily obtained.

## Performance results

In this section, we present numerical results to illustrate the performance of the proposed SSC-2W scheme using derived analytical expressions and numerical simulations. These include bit error probability (BEP), outage probability, and channel capacity of the proposed SSC-2W scheme over a slow Rayleigh fading channel as a function of system parameters such as the number of relays (*K*), average signal-to-noise ratio (*E*
_{
b
}/*N*
_{0}), information rate (*R*), equal power allocation (EPA), optimal power allocation (OPA), and optimal relay position (ORP). The analytical results are validated using Monte Carlo simulations, which were performed with 10^{9} trials for each simulation point for accuracy and correctness. The SSD scheme is using 4-QAM modulation with rotation angle of 26.6° [31]. The path loss exponent is set as *ν*=3 and the variances are \({\sigma _{h}^{2}} ={\sigma _{a}^{2}} ={\sigma _{b}^{2}}=1\). The studied system is assumed to have *K* relays located at the middle of the two source terminals, unless otherwise stated. For the fair analysis, the total power budget to exchange four symbols in the proposed SSC-2W scheme is equivalent to that of the direct transmission, thus \(P_{T_{1}}=P_{T_{2}}=1\phantom {\dot {i}\!}\) for first and second time slots and *P*
_{
R
}=2 for the third time slot, making the total power budget equals to four units.

Figure 3 shows the BEP of the system as a function of the average SNR (*E*
_{
b
}/*N*
_{0}) for different numbers of relays (*K*). The simulation results in this plot are represented by ◇ markers while analytical and asymptotic results are shown by solid and dashed lines, respectively. In addition, the error performance of the proposed SSC-2W scheme is compared with the conventional three-phase two-way DF relaying system with one relay (*K*=1), which is shown by the ∘ markers. It is evident from the figure that the proposed SSC-2W scheme with one relay has almost the same performance as the conventional relaying system with one relay. It is clear from this figure that analytical results for the error probability, derived from Eq. (45), are in perfect agreement with the simulation results, thus validating our mathematical derivations. Also, the asymptotic results, derived in Eq. (58), are tight and have a good match with the analytical and simulation results at medium and high SNRs. It is observed that as the number of relays (*K*) increases, the slope of the BEP curve becomes steeper, indicating the increase in cooperative diversity gain. This indicates that the diversity gain achieved is *K*+1, which is given by Eq. (59). For example, BEP =10^{−5} can be achieved at *E*
_{
b
}/*N*
_{0}=26 dB with one relay (*K*=1), or at *E*
_{
b
}/*N*
_{0}=17.7 dB with two relays (*K*=2), or at *E*
_{
b
}/*N*
_{0}=13.5 dB with three relays (*K*=3). Thus, compared to the single-relay system, an *E*
_{
b
}/*N*
_{0} gain of about 8.3 and 12.5 dB is achieved with two and three relays, respectively.

Figure 4 compares the error performance of the system for different optimization schemes when relays are placed close to the terminal T_{2} and far away from the terminal T_{1} (i.e., \(d_{T_{1}R}=0.9\phantom {\dot {i}\!}\)). The figure also shows the average BEP of the system for EPA, ORP, OPA, and OSA. A clear performance enhancement with optimal relay position is observed over other optimization schemes and about 4 dB gain in *E*
_{
b
}/*N*
_{0} is achieved. The optimum placement of relays is obtained using Eq. (71), which is at the middle location (*d*
^{∗}=0.5) due to the two-way communication of the two source terminals. It is observed that when relays are close to either source terminal, the optimal power scheme allocates more power to the terminal farther from the relays, which supports to maintain the error performance.

The outage performance of the system as a function of *E*
_{
b
}/*N*
_{0} is shown in Fig. 5. It is evident that the simulation results perfectly match with the analytical results for the outage probability, derived from Eq. (94), which confirms the accuracy of our mathematical derivations for the outage probability. Also, it is noted that the asymptotic results for the outage, derived from Eq. (102), have good agreement with both simulation and analytical results at medium and high SNRs. The slope of the outage probability becomes steeper with the increase in the number of relays, which implies an increase in the diversity order of the system.

Figure 6 depicts the outage probability as a function of the information rate (*R*) at *E*
_{
b
}/*N*
_{0}=20 dB. Again, it is noted that both exact and asymptotic outage probability results, Eqs. (94) and (102), are in close agreement with the simulation results.

Figure 7 demonstrates the average channel capacity of the system as a function of *E*
_{
b
}/*N*
_{0}. The figure also shows the upper bound on the capacity with dashed lines. Channel capacity results for *K*=1 and *K*=3 are shown in the figure and channel capacity for direct transmission is also plotted for comparison. It is evident that the analytical expressions of the capacity, derived from Eq. (110) as well as in Section 6.2, are in excellent agreement with their corresponding simulation results, thus validating our analytical work for channel capacity. The figure shows the significant capacity improvement with the proposed SSC-2W scheme, as the proposed scheme exchanges four symbols in three time slots, while direct transmission requires four time slots to exchange the same four symbols. Moreover, the capacity also improves with the increase in the number of relays.

## Conclusions

In this paper, an SSD-based two-way DF relaying system using the best relay is presented and its performance was analyzed. The error probability expression of the proposed SSC-2W scheme was derived over the Rayleigh fading channel. It was shown that the proposed SSC-2W scheme enhances the performance and doubles the spectral efficiency of the conventional three-phase two-way DF relaying system. The closed-form expression for the asymptotic error probability was obtained, which showed that the proposed SSC-2W scheme can achieve a diversity order equal to one higher than the number of cooperating relays. A detailed analysis of system optimization, including relay placement and power allocation, was additionally conducted. It was shown that the power allocation is affected by the relay position, especially when the relays are close to either source terminal. Moreover, the system optimization was shown to enhance the performance significantly. Exact and asymptotic outage probability expressions were also derived. Lastly, closed-form expressions for average channel capacity as well as an upper bound on channel capacity were obtained. The validity of all of the aforementioned analysis and derivations was confirmed through extensive Monte Carlo simulations.

## References

MK Müller, M Taranetz, M Rupp, Providing current and future cellular services to high speed trains. IEEE Commun. Mag.

**53**(10), 96–101 (2015).D Hwang, S-G Hong, T-J Lee, Multiuser two way relaying schemes in the future cellular network. IEEE Trans. Wireless Commun.

**12**(10), 5200–5207 (2013).X Tao, X Xu, Q Cui, An overview of cooperative communications. IEEE Commun. Mag.

**50**(6), 65–71 (2012).T-T Tran, Y Shin, O-S Shin, Overview of enabling technologies for 3GPP LTE-advanced. EURASIP J. Wirel. Commun. Netw.

**2012**(1), 1–12 (2012).A Sendonaris, E Erkip, B Aazhang, User cooperation diversity. Part I. System description. IEEE Trans. Commun.

**51**(11), 1927–1938 (2003).W Zhuang, M Ismail, Cooperation in wireless communication networks. IEEE Wireless Commun.

**19**(2), 10–20 (2012).JN Laneman, DNC Tse, GW Wornell, Cooperative diversity in wireless networks: efficient protocols and outage behavior. IEEE Trans. Inf. Theory.

**50**(12), 3062–3080 (2004).TE Hunter, A Nosratinia, Diversity through coded cooperation. IEEE Trans. Wireless Commun.

**5**(2), 283–289 (2006).G Kramer, M Gastpar, P Gupta, Cooperative strategies and capacity theorems for relay networks. IEEE Trans. Inf. Theory.

**51**(9), 3037–3063 (2005).H Chen, AB Gershman, S ShahbazPanahi, Filter-and-forward distributed beamforming in relay networks with frequency selective fading. IEEE Trans. Signal Process.

**58**(3), 1251–1262 (2010).KJ Rayliu, AK Sadek, W Su, A Kwasinksi,

*Cooperative Communications and Networking*(Cambrdige University Press, Cambridge, UK, 2009).A Nosratinia, TE Hunter, A Hedayat, Cooperative communication in wireless networks. IEEE Commun. Mag.

**42**(10), 74–80 (2004).M Cardone, D Tuninetti, R Knopp, U Salim, On the gaussian half-duplex relay channel. IEEE Trans. Inf. Theory.

**60**(5), 2542–2562 (2014).B Rankov, A Wittneben, Spectral efficient protocols for half-duplex fading relay channels. IEEE J. Selected Areas Commun.

**25**(2), 379–389 (2007).G Farhadi, NC Beaulieu, On the ergodic capacity of wireless relaying systems over rayleigh fading channels. IEEE Trans. Wireless Commun.

**7**(11), 4462–4467 (2008).K Azarian, H El Gamal, P Schniter, On the achievable diversity-multiplexing tradeoff in half-duplex cooperative channels. IEEE Trans. Inf. Theory.

**51**(12), 4152–4172 (2005).MTO El Astal, AM Abu-Hudrouss, BP Salmon, JC Olivier, An adaptive transmission protocol for exploiting diversity and multiplexing gains in wireless relaying networks. EURASIP J. Wirel. Commun. Netw.

**2015**(1), 1–15 (2015).M Noori, M Ardakani, On the achievable rates of symmetric gaussian multi-way relay channels. EURASIP J. Wirel. Commun. Netw.

**2013**(1), 1–8 (2013).SJ Kim, N Devroye, P Mitran, V Tarokh, Achievable rate regions and performance comparison of half duplex bi-directional relaying protocols. IEEE Trans. Inf. Theory.

**57**(10), 6405–6418 (2011).S Ghasemi-Goojani, H Behroozi, Lattice-coded cooperation protocol for the half-duplex gaussian two-way relay channel. EURASIP J. Wirel. Commun. Netw.

**2015**(1), 1–18 (2015).I Avram, N Aerts, M Moeneclaey, Low-complexity quantize-and-forward cooperative communication using two-way relaying. EURASIP J. Wirel. Commun. Netw.

**2014**(1), 1–10 (2014).P Larsson, N Johansson, K-E Sunell, in

*Proceedings of IEEE Vehicular Technology Conference*. Coded bi-directional relaying, (2006), pp. 851–855.K Song, B Ji, Y Huang, M Xiao, L Yang, Performance analysis of antenna selection in two-way relay networks. IEEE Trans. Signal Process.

**63**(10), 2520–2532 (2015).TJ Oechtering, C Schnurr, I Bjelakovic, H Boche, Broadcast capacity region of two-phase bidirectional relaying. IEEE Trans. Inf. Theory.

**54**(1), 454–458 (2008).R Ahlswede, N Cai, S-YR Li, RW Yeung, Network information flow. IEEE Trans. Inf. Theory.

**46**(4), 1204–1216 (2000).TX Vu, P Duhamel, M Di Renzo, On the diversity of network-coded cooperation with decode-and-forward relay selection. IEEE Trans. Wireless Commun.

**14**(8), 4369–4378 (2015).Y Liu, CW Sung, Network-coded retransmissions in wireless demodulate-and-forward relay channels. EURASIP J. Wirel. Commun. Netw.

**2013**(1), 1–14 (2013).J Boutros, E Viterbo, Signal space diversity: a power- and bandwidth-efficient diversity technique for the Rayleigh fading channel. IEEE Trans. Inf. Theory.

**44**(4), 1453–1467 (1998).Q Xie, J Song, K Peng, F Yang, Z Wang, Coded modulation with signal space diversity. IEEE Trans. Wireless Commun.

**10**(2), 660–669 (2011).KN Pappi, ND Chatzidiamantis, GK Karagiannidis, Error performance of multidimensional lattice constellations—part II: evaluation over fading channels. IEEE Trans. Commun.

**61**(3), 1099–1110 (2013).SA Ahmadzadeh, SA Motahari, AK Khandani, Signal space cooperative communication. IEEE Trans. Wireless Commun.

**9**(4), 1266–1271 (2010).T Lu, J Ge, Y Yang, Y Gao, BEP analysis for DF cooperative systems combined with signal space diversity. IEEE Commun. Lett.

**16**(4), 486–489 (2012).S Sohaib, S Zaheer, in

*Proceedings of IEEE Vehicular Technology Conference*. Space time coded signal space diversity for multi-hop cooperative wireless communication, (2014), pp. 1–5.F Oggier, E Viterbo, Table of algebraic rotations. http://ecse.monash.edu.au/staff/eviterbo/rotations/rotations.html. Accessed 09 Dec 2015.

F Oggier, Algebraic methods for channel coding. PhD thesis. EPFL (2005).

IEEE Standard for local metropolitan area networks (2004). Part 16: Air Interface for Fixed Broadband Wireless Access Systems. IEEE Std 802.16.

M Abramowitz, IA Stegun,

*Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables*, 10th edn. (National Bureau of Standards, U.S. Governement Printing Office, Washington, DC, 1972).JG Proakis, DK Manolakis,

*Digital Signal Processing: Principles, Algorithms and Application*, 4th edn (Prentice Hall, Upper Saddle River, New Jersey, USA, 2006).MK Simon, M-S Alouini,

*Digital Communications over Fading Channels*, 2nd edn (John Wiley & Sons, New Jersey, USA, 2004).IS Gradshteyn, IM Ryzhik,

*Table of Integrals, Series, and Products*, 7th edn (Elsevier Inc, San Diego, California, 2007).K Tourki, H-C Yang, M-S Alouini, Error-rate performance analysis of incremental decode-and-forward opportunistic relaying. IEEE Trans. Commun.

**59**(6), 1519–1524 (2011).MR Bhatnagar, On the capacity of decode-and-forward relaying over rician fading channels. IEEE Commun. Lett.

**17**(6), 1100–1103 (2013).

## Author information

### Authors and Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## 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.

## About this article

### Cite this article

Khan, M.A., Rao, R.K. & Wang, X. Two-way decode-and-forward cooperative systems with signal space diversity.
*J Wireless Com Network* **2016**, 139 (2016). https://doi.org/10.1186/s13638-016-0640-2

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s13638-016-0640-2

### Keywords

- Two-way relaying
- Decode-and-forward
- Signal space diversity
- Spectral efficiency
- Error probability
- Outage probability
- System optimization
- Channel capacity