# Performance analysis of joint relay selection and transmission schemes in multiple-antenna two-way relay systems

- Chen Chen
^{1}Email author, - Xingbin Wang
^{2}, - Yehua Yang
^{1}and - Ye Jin
^{1}

**2015**:196

https://doi.org/10.1186/s13638-015-0423-1

© Chen et al.; licensee Springer. 2015

**Received: **16 January 2015

**Accepted: **6 July 2015

**Published: **23 July 2015

## Abstract

In this paper, we consider a two-way relay system with two multi-antenna sources and multiple single-antenna relays and study the performances for various transmission schemes with the assumption that perfect channel state information (CSI) is available at both the sources and the relays. Although a transmission scheme that combines source beamforming and relay selection (BF-RS) is known to improve a system performance, its performance has not been theoretically analyzed yet. In the paper, we focus on the performance analysis in terms of the symbol error probability (SEP) for the BF-RS scheme. The analytical upper and lower bounds of the end-to-end system SEP are derived in the closed form, and the asymptotic SEP expression is given in high SNR regime. By both analytical and simulation results, it is clearly shown that a full transmit and relay selection diversity gain can be achieved without code rate loss. The SEP curves from simulations show that our derived bounds can predict the performance accurately. Based on the derived analytical results, we propose an individual power allocation (IPA) scheme to save the total transmit power. We show that the IPA scheme can result in considerable energy saving with a comparable SEP performance.

## Keywords

## 1 Introduction

In order to achieve a higher throughput and spectral efficiency, protocols consisting of the multiple access (MAC) and broadcast (BC) phases in a two-way relay channel (TWRC) have attracted more research interests than conventional protocols using three or four phases. Since the physical-layer network coding (PNC) protocol can be easily applied to two-way relay systems, its performance has been widely studied [1].

For reliable transmissions, it is important to exploit diversity gain in multi-input multi-output (MIMO) wireless communications. Relay selection (RS) diversity can also be exploited in MIMO TWRC in conjunction with transmit diversity. For instance, To et al. [2] considered a two-way relay system using the Alamouti’s code at the two sources while there is only one antenna at a relay. Gong et al. [3] studied a system consisting of two single-antenna sources and a single relay of two-antenna. Relay and antenna selection schemes are also addressed in many related works in MIMO TWRC. Chen et al. [4] proposed a RS and beamforming scheme for cooperative two-way relay systems with the amplify-and-forward (AF) protocol. Jia et al. [5] investigated the outage probability and ergodic capacity of the two-way network coding opportunistic relaying systems with the AF protocol. Jayasinghe et al. [6] proposed a robust joint precoder-decoder design scheme for a multiple-input multiple-output PNC-based two-way relay system.

Zhou et al. [7] proposed an opportunistic two-way relay scheme based on joint network coding and opportunistic relaying with the decode-and-forward (DF) protocol. The analysis and design of space-time trellis codes (STTCs) for TWRC with multi-antenna sources and single-antenna relays were studied with the AF protocol [8].

Although various approaches for efficient transmission schemes with RS are proposed, it is interesting to note that joint transmission and RS schemes for MIMO TWRC are not well studied. In other words, the individual analysis of either the transmission schemes or the RS schemes has been well investigated, but a best combination of the transmission and RS schemes under a certain performance criterion is not known, especially in asymmetrical multi-antenna two-way relay systems. In addition, it is proved that an opportunistic RS scheme with low complexity can achieve better performance than a fully distributed two-way relay scheme [7] and it is shown that the DF protocol outperforms the AF protocol in terms of symbol error probability (SEP) performance [9]. With the demand of reliable transmissions, combining the best known techniques in multiple-antenna two-way relay systems would lead us to the best joint scheme; however, its performance is not known yet.

In addition, it is well known that the power allocation (PA) plays an important role in wireless communications. With a total power constraint, the PA is widely used to improve the system performance. With individual power constraints, the PA can be used to save the system power consumption. Song et al. [10] proposed a PA scheme based on the asymptotic SEP in AF two-way relay systems. Zhang et al. [11] proposed a PA scheme to minimize the maximum individual outage probability. Talwar et al. [12] presented an optimal joint RS and PA scheme to maximize the worst received signal-to-noise ratio (SNR) in AF two-way relay systems. Do et al. [9] proposed a joint relay selection and PA scheme to improve the SEP performance in a two-way relay system with the DF protocol. To the best of our knowledge, all these works are based on the total transmission power constraint. However, the relays and the sources could be battery-powered, which means that individual transmission power constraints at nodes are more suitable for two-way relay systems with battery-powered nodes. Hence, under individual transmission power constraints, it would be needed to consider an individual power allocation (IPA) scheme to improve the system power efficiency in a multiple-antenna two-way relay system.

In this paper, as mentioned earlier, the combination of the best known techniques for a multiple-antenna two-way relay system consisting of two sources of multiple antennas and multiple relays of single antenna is considered. A transmission scheme that combines beamforming and RS (BF-RS) is mainly considered. We present an asymptotic SEP expression for the proposed BF-RS scheme and make comparison with other transmission schemes. Through analysis and simulation results, it can be shown that a full transmit and RS diversity gain can be achieved by the BF-RS scheme. Thus, we can confirm that the BF-RS scheme is optimal in terms of the diversity gain.

Furthermore, we consider a general case where two sources are equipped with *M* and *N* antennas and *K* relays participate in the transmission to derive closed-form expressions for tight upper and lower bounds on SEP. In order to improve the system power efficiency, an IPA scheme is also proposed to reduce the total transmission power cost. The performance of the BF-RS scheme and the IPA scheme is verified through simulations.

The main contributions of this paper are summarized as follows. (i) Despite that the BF-RS scheme is based on existing approaches, its performance has not been well investigated in a theoretical manner. We derive the upper and lower bounds of the end-to-end system SEP in an asymmetrical multi-antenna two-way relay system, where the source nodes are equipped with different numbers of antennas. The derived SEP expressions are tight and are verified with the simulated results. (ii) We conduct the asymptotic SEP performance analysis and evaluate the diversity order. We demonstrate that the BF-RS scheme can achieve a full transmit and RS diversity gain and outperforms other transmission and RS schemes. (iii) Under individual transmission power constraints, we propose an IPA scheme to improve the system power efficiency. The behaviors of the system power efficiency under different system configurations are investigated. Meanwhile, both simulated and analytical results show that the proposed IPA scheme can yield considerable energy saving with a comparable SEP performance to other PA schemes.

The rest of this paper is organized as follows. In Section 2, a system model of a multiple-antenna two-way relay system is introduced. In Section 3, we investigate the optimal beamforming and the RS criteria. In Section 4, an asymptotic SEP expression and the closed-form bounds are discussed. In Section 5, the IPA scheme for the BF-RS is given. Simulation results are shown to corroborate our theoretical results in Section 6. In Section 7, we draw the main conclusion.

The following notations are used in this paper. Lower and upper boldfaced letters are used for column vectors and matrices. (·)^{∗} and (·)^{
T
} represent the conjugate and transpose, respectively. For a vector or matrix, ∥·∥ denotes the Frobenius norm. \(\mathcal {CN}(\mu,\sigma ^{2})\) denotes the circularly symmetric complex Gaussian distribution with mean *μ* and variance *σ*
^{2}. For a random variable (RV) *X*, *E*[*f*(*X*)] represents the expectation of a function of *X*, *f*(*X*). *f*
_{
X
}(·), and *F*
_{
X
}(·) refer to the probability density function (PDF), and the cumulative density function (CDF) of *X*, respectively.

## 2 System model

*S*

_{1}and

*S*

_{2}, are equipped with

*M*and

*N*antennas, respectively, and

*K*relay nodes, {

*R*

_{1},…,

*R*

_{ K }} are equipped with single antenna.

*S*

_{1}and

*S*

_{2}exchange their information with the help of one selected relay, say

*R*

_{ k }. This system model can be possessed in practice. For instance, two base stations equipped with multiple antennas might communicate via a selective single antenna relay, which is due to the size and complexity constraints. We assume that the channel state information (CSI) remains unchanged during a transmission time unit consisting of two phases (the first is the MAC phase and the second is the BC phase). The detailed system model is shown in Fig. 1.

In the MAC phase, the relays can receive signals from *S*
_{1} and *S*
_{2}. Based on the perfect CSI assumption, the best relay *R*
_{
k
} out of *K* relays is selected (the RS criteria will be discussed later). Then, the selected relay forwards the detected signals to both *S*
_{1} and *S*
_{2} in the BC phase. Using the PNC protocol, *S*
_{1} and *S*
_{2} can detect the desired information from each other. We assume that all the sources and relays operate in time division duplex mode, and perfect synchronization has been established between the sources and the relays before data transmission. In this section, we will consider a generic representation for various transmission schemes that can achieve a full transmit diversity such as beamforming, space time block coding (STBC), and so on.

*C*. In each transmission time unit,

*S*

_{1}and

*S*

_{2}will exchange their frames of

*L*symbols, which are denoted by

**x**= [

*x*

_{1},

*x*

_{2},…,

*x*

_{ L }] and

**y**= [

*y*

_{1},

*y*

_{2},…,

*y*

_{ L }], respectively. Let the operator

*Ψ*(·) represent the transmission scheme and the transmission matrices

**X**=

*Ψ*(

**x**) and

**Y**=

*Ψ*(

**y**) be \( \textbf {X} = \left [ {\begin {array}{ccc} {{x_{11}}} & \cdots & {{x_{1{L}}}} \\ \vdots & \ddots & \vdots \\ {{x_{{M}1}}} & \cdots & {{x_{{M}{L}}}} \\ \end {array}} \right ] \)and \( \textbf {Y} = \left [ {\begin {array}{ccc} {{y_{11}}} & \cdots & {{y_{1{L}}}} \\ \vdots & \ddots & \vdots \\ {{y_{{N}1}}} & \cdots & {{y_{{N}{L}}}} \\ \end {array}} \right ]. \)For example, suppose that

*M*=2 and

*L*=2. Then, we can show that each transmission scheme has a different form of

*Ψ*(

**x**). For the Alamouti code [13], we have

**X**=

*Ψ*(

**x**) as \( \textbf {X} = \left [ {\begin {array}{cc} {{x_{1}}} & -{{x_{2}}^{*}} \\ {{x_{2}}} & {{x_{1}}^{*}} \\ \end {array}} \right ]. \)For thediagonal code ([14], 6.2.22), we have

**X**=

*Ψ*(

**x**) as \( \textbf {X} = \left [ {\begin {array}{cc} {{x_{1}}} & 0 \\ 0 & {{x_{1}}} \\ \end {array}} \right ]. \)For thebeamforming scheme in ([14], 6.1.12), we have

**X**=

*Ψ*(

**x**) as \(\textbf {X} = \left [ {\begin {array}{cc} {{w_{1}}{x_{1}}} & {{w_{1}}{x_{2}}} \\ {{w_{2}}{x_{1}}} & {{w_{2}}{x_{2}}} \\ \end {array}} \right ] \), where

*w*

_{ i },

*i*=1,2 are the beamforming weights. With

**X**and

**Y**, the received signal at

*R*

_{ k }(

*k*=1,2,…,

*K*) in the MAC phase can be expressed as

where **h**
_{1k
}=[*h*
_{11,k
}
*h*
_{12,k
} … *h*
_{1M,k
}]^{
T
} and **h**
_{2k
}=[ *h*
_{21,k
}
*h*
_{22,k
} … *h*
_{2N,k
}]^{
T
} are the channel vectors between relay *R*
_{
k
} and *S*
_{1} and relay *R*
_{
k
} and *S*
_{2}, respectively. \(\boldsymbol {{\Omega }}_{k}\sim \mathcal {CN}\left (0,\sigma ^{2}{\textbf {I}_{L}}\right)\) is the background noise vector at *R*
_{
k
}. *P*
_{
m
} is the transmit power of *S*
_{
m
}, *m*=1,2.

*R*

_{ k }, under the maximum likelihood (ML) criterion, the estimate of

**x**and

**y**, denoted by

**x’**and

**y’**, is given by

*R*

_{ k }is given by

*x*

_{ j },

*y*

_{ j }),

*j*=1,2,…,

*L*, is to be detected, which is given by

where *l*(*x*) is considered as the mapping function [1] and *l*
^{−1}(*x*) represents the inverse operation of *l*(*x*). The XORed-like version of (*x*
^{′},*y*
^{′}) can also be written as *z*
^{′}=[*z*1′,*z*2′,…,*z*
*L*′]=*f*(*x*
^{′},*y*
^{′}).

*j*of the BC phase,

*S*

_{ m }receives

*P*

_{ r }is the transmit power at

*R*

_{ k },

**g**

_{1k }=[

*g*

_{11,k }

*g*

_{12,k }…

*g*

_{1M,k }]

^{ T }and

**g**

_{2k }=[

*g*

_{21,k }

*g*

_{22,k }…

*g*

_{2N,k }]

^{ T }are the channel vectors between relay

*R*

_{ k }and

*S*

_{1}and relay

*R*

_{ k }and

*S*

_{3}, \(\textbf {n}_{1,j} \sim \mathcal {CN}(0,{\sigma ^{2}_{1}}{\textbf {I}_{M}})\) and \(\textbf {n}_{2,j} \sim \mathcal {CN}(0,{\sigma ^{2}_{2}}{\textbf {I}_{N}})\) are the background noise vectors.

*S*

_{ m }detects \({{\hat {\mathbf {z}}}_{m}} = \left [{{\hat {z}}_{m,1}},{{\hat {z}}_{m,2}},\ldots,{{\hat {z}}_{m,{L}}}\right ],m=1,2\) as

Finally, each source detects the frame sent by the other source in a similar way as (4): \( \hat {\mathbf {x}} = f({{\hat {\mathbf {z}}}_{2}},\mathbf {y})\) and \( \hat {\mathbf {y}} = f\left ({{\hat {\mathbf {z}}}_{1}},\textbf {x}\right)\) where \(\hat {\mathbf {x}}\) and \(\hat {\mathbf {y}}\) are the estimates of **x** and **y**, respectively.

## 3 Transmission scheme and RS criterion

In this paper, the main objective is to investigate the best performance among various transmission schemes and RS criteria in multiple-antenna two-way relay systems. By analyzing existing transmission schemes and RS criteria, we find^{1} that the Alamouti code with RS schemes can only achieve a diversity gain of *d*= min(*M*,*N*) at a code rate of *r*=1. The diagonal code with RS schemes can achieve a full diversity gain of *d*=*K* min(*M*,*N*) at a code rate of \(r=\frac {1}{\min (M, N)}\). In other words, the Alamouti code with RS and the diagonal code with RS schemes suffer performance loss in either the diversity gain or the code rate. Among the transmission schemes, beamforming schemes can be easily combined with RS and achieve the best performance. The scheme can minimize the overall system SEP and achieve a full diversity gain at a code rate of *r*=1. Thus, we focus on the performance analysis for the BF-RS scheme in this section. Prior to studying the performance of the BF-RS scheme, we first derive an expression of the system SEP.

*R*

_{ k }and \(P_{\text {BC},m}^{k}\) denote the SEP in the BC phase for given

**h**

_{1k }and

**h**

_{2k }at

*S*

_{ m }. Then, we have

*S*

_{ m }, denoted by \(P_{E\text {to}E,m}^{k} \), is given by

*S*

_{1}and

*S*

_{2}, defined by \(P_{E \text {to}E}^{k} = \frac {1}{2}\sum \limits _{m = 1}^{2} {P_{E\text {to}E,m}^{k}}\), is given by

Note that in the rest of the paper, we confine ourselves to BPSK for tractable analysis as we will focus on the performance analysis of the BF-RS scheme.

### 3.1 The optimal beamforming at the two sources

**X**=[

**x**

_{1}

**x**

_{2}…

**x**

_{ L }] and

**Y**=[

**y**

_{1}

**y**

_{2}…

**y**

_{ L }], where

**x**

_{ j }=

**w**

_{1}

*x*

_{ j }and

**y**

_{ j }=

**w**

_{2}

*y*

_{ j }. Here,

**w**

_{1}=[

*w*

_{11}

*w*

_{12}…

*w*

_{1M }]

^{ T }and

**w**

_{2}=[

*w*

_{21}

*w*

_{22}…

*w*

_{2N }]

^{ T }are the beamforming vectors chosen by source

*S*

_{1}and

*S*

_{2}. For simplicity, the time index subscript

*j*is omitted in the following derivation. We assume that the transmission power of the sources and the relays are identical, i.e.,

*P*

_{1}=

*P*

_{2}=

*P*

_{ r }=

*P*. We also denote the SNR by \({{\bar \gamma }} = \frac {{{P}}}{{\sigma ^{2}}}\), where

*σ*

^{2}is the Gaussian noise variance. We focus on the case of

**g**

_{ mk }=

**h**

_{ mk },

*m*=1,2, by considering that the links between

*S*

_{ m }and

*R*

_{ k }are reciprocal. In addition, we assume that the h

_{1i,k }’s,

*i*=1,2,…,

*M*and h

_{2i,k }’s,

*i*=1,2,…,

*N*,

*k*=1,2,…,

*K*, are independent and \({h_{mi,k}}\sim \mathcal {CN}(0,1)\), i.e., Rayleigh fading channels. At relay

*R*

_{ k }, we can rewrite (3) as

*x*and

*y*are transmitted from

*S*

_{1}and

*S*

_{2}, respectively. The estimate of

*x*and

*y*is written as

*x*

^{′}and

*y*

^{′}, respectively. Based on pairwise error probability (PEP) analysis and assuming that all code

**u**are equally likely, the average error rate is upper bounded by

where \({\gamma _{1b}} = {\frac {{2 \bar \gamma {{\left \| {\textbf {h}_{1k}^{T}{{\mathbf {w }}_{1}}} \right \|}^{2}}}}{{{M}}}}\) and \({\gamma _{2b}} = {\frac {{2 \bar \gamma {{\left \| {\textbf {h}_{2k}^{T}{{\mathbf {w}}_{2}}} \right \|}^{2}}}}{{{N}}}}\) are the equivalent system SNR of *S*
_{1} and *S*
_{2}, respectively, and *Q*(·) is the Gaussian Q-function ([15], 2-1-97).

With power constraints at the sources, we minimize \(\textbf {P}_{\text {MAC}}^{k} \) subject to that the norms of *w*
_{1} and *w*
_{2} are bounded by constant, i.e., \({\left \| {\sqrt {\frac {P}{{{M}}}} {\textbf {w}_{1}}} \right \|^{2}} \le P\) and \({\left \| {\sqrt {\frac {P}{{{N}}}} {\textbf {w}_{2}}} \right \|^{2}} \le P\), respectively, which leads to ∥**w**
_{1}∥^{2}≤*M*,∥**w**
_{2}∥^{2}≤*N*.

*S*1 and

*S*

_{2}, respectively, as the objective is the sum of two monotonous Q-function expressions, and the constraints are independent of each other. Thus, the optimal beamforming vectors in the multiple-antenna two-way relay system can be easily obtained as

Note that the results are similar to the maximum ratio transmission (MRT) [16]. It is proved that the MRT obtained from one-way relay systems is still valid in the two-way relay system [17, 18].

where \(\beta _{\min }^{k} = \min \left ({{{\left \| {\textbf {h}_{1k}^{}} \right \|}^{2}},{{\left \| {\textbf {h}_{2k}^{}} \right \|}^{2}}} \right)\) and \({\beta _{m}^{k}} = {\left \| {{\textbf {h}_{\textit {mk}}}} \right \|^{2}}\).

### 3.2 RS criterion

The opportunistic two-way relay scheme with a low complexity in [7] achieves the better performance compared to a fully-distributed two-way relay scheme. Thus, we focus on the schemes that only one best relay is selected out of *K* relays to decode-and-forward the signals in the second phase transmission. For tractable analysis, we use the equivalent SNR as an effective metric. When relay *R*
_{
k
} is selected, we define the equivalent SNR for the MAC phase at relay *R*
_{
k
} and the BC phase at *S*
_{
m
}, *m*=1,2 as \(\mathrm {SNR_{\textit {MAC}}}^{k} \le \bar \gamma \beta _{\min }^{k} \) and \(\mathrm {SNR_{\textit {BC}},m}^{k} = \bar \gamma {\beta _{m}^{k}} \label {EQ:P_bc_bound} \), respectively. Using the optimal beamforming, we compare two RS methods: one is an optimal beamforming and RS (O-BF-RS) scheme and the other is a suboptimal beamforming and RS (S-BF-RS) scheme.

Actually, the performance difference between the optimal scheme and the suboptimal scheme is negligible as the overall performance is generally decided by the worst link. This result can be verified in Section 6. However, even the performance is almost the same, the computation complexity of the two schemes are quite different. The general SEP expression which is conditioned on the instantaneous received SNR can be expressed as \(\text {SEP}(\gamma)=Q(\sqrt {(c\gamma)})\) [20], where *γ* is the received SNR, *c* is a constant which depends on the modulation mapping and *Q*(·) is the Gaussian Q-function ([15], 2-1-97). As a result, computing the Q-function to obtain the SEP expression and then determining the best relay for the O-BF-RS is much more complicated than that of the S-BF-RS, in which only the received SNR is needed. Thus, the S-BF-RS is more practical. Note that, for convenience, we use the BF-RS to replace the S-BF-RS in the rest of this paper.

In the following section, we present the performance analysis for the BF-RS scheme in the multiple-antenna two-way relay system.

## 4 Performance analysis of the BF-RS scheme

### 4.1 The bounds on the overall system SEP

*a*

_{1}and

*a*

_{2}of similar order, we have

*a*

_{1}

*Q*(

*x*

_{1})+

*a*

_{2}

*Q*(

*x*

_{2})≈

*a*

_{ u }

*Q*(min(

*x*

_{1},

*x*

_{2})) if

*x*

_{1}≠

*x*

_{2}and

*a*

_{1}

*Q*(

*x*

_{1})+

*a*

_{2}

*Q*(

*x*

_{2})=(

*a*

_{1}+

*a*

_{2})

*Q*(

*x*) if

*x*

_{1}=

*x*

_{2}=

*x*, where \(u = \arg \mathop {\min }\limits _{i = 1,2} ({x_{i}})\). Based on the derivation in [9], the upper and lower bounds on \(P_{E\text {to}E}^{{\mathcal {R}}}\) can be obtained as

### 4.2 The distributions of the equivalent system SNR

Corresponding to (19), we introduce the equivalent system SNR as \(\gamma _{\min {\mathcal {R}}}= \bar \gamma {\beta _{\min }^{{\mathcal {R}}}}\) with the RS scheme. The distribution function of \(\gamma _{\min {\mathcal {R}}}\) is required to analyze the error performance of the two-way relay system. Based on (15), we can obtain the following results.

###
**Lemma**
**1**.

where \(\Gamma (t) = \int _{0}^{\infty {{x^{t - 1}}{e^{- x}}\;dx}}\) is the Gamma function [21], \(\zeta _{1}= \sum \limits _{p = 1}^{2q}(m_{p}-1)\), \(\beta _{1}=\prod \limits _{p = 1}^{2q} (m_{p}-1)!\).

###
*Proof*.

See Appendix 7.1 Proof of Lemma 1, Proposition 1. □

### 4.3 Average end-to-end SEP expression

where *γ* is the instantaneous SNR.

###
**Proposition**
**1**.

###
*Proof*.

See Appendix 7.1 Proof of Lemma 1, Proposition 1. □

### 4.4 Asymptotic SEP of the BF-RS scheme

In this subsection, we derive an asymptotic SEP expression of the BF-RS scheme.

###
**Lemma**
**2**.

where *c* is a constant and if *M*≠*N*, \(c = \frac {{K\min \left ({M,N} \right)}}{{{{\left ({\min \left ({M,N} \right)!} \right)}^{K}}{{\bar \gamma }^{K\min \left ({M,N} \right)}}}}\), otherwise \(c = \frac {{{2^{K}}KM}}{{{{\left ({M!} \right)}^{K}}{{\bar \gamma }^{KM}}}}\).

###
*Proof*.

See Appendix 7.2 Proof of Lemma 2, Proposition 2. □

From (24) and the expression in (19), an expression for the asymptotic average SEP of the BF-RS transmitting scheme can be found in the following proposition.

###
**Proposition**
**2**.

###
*Proof*.

See Appendix 7.2 Proof of Lemma 2, Proposition 2. □

According to Proposition 2, we can conclude that the diversity gain of the joint beamforming and RS scheme is *K* min(*M*,*N*). The BF-RS scheme achieves a full transmit and RS diversity gain.

## 5 Transmit power allocation

We have derived an asymptotic expression for the SEP of the BF-RS scheme in the last section, which was based on the assumption that the transmission power of the sources and relays are identical, i.e., *P*
_{1}=*P*
_{2}=*P*
_{
r
}=*P*. The scheme is called as equal PA (EPA) scheme. For the case that the relays and sources are wire-powered, the total power constraint is usually adopted. In [9], an optimal power allocation scheme (OPA) have been proposed to achieve the better SEP performance. However, for the case that the relays and sources are battery-powered, we need to consider individual transmission power constraints, i.e., 0≤*P*
_{1},*P*
_{2},*P*
_{
r
}≤*P*. Thus, in this section, we propose an individual PA (IPA) scheme under the individual transmission power constraints.

As in the derivation of (19), it is obvious to draw the conclusion that the IPA scheme have the same bounds as the EPA scheme, which implies that their performances would be almost the same (this is later confirmed by simulations in Section 6). Meanwhile, it can be shown that considerable transmission power saving is achieved using the IPA compared to the EPA.

*M*antennas sources and

*K*relays. The average power consumption for the IPA, normalized by the EPA, is given by

Since \(0 \le \frac {{\min \left (\eta _{1}^{\mathcal {R}},\eta _{2}^{\mathcal {R}}\right)}}{{\max \left (\eta _{1}^{\mathcal {R}},\eta _{2}^{\mathcal {R}}\right)}} \le 1\), the total transmission power consumption of the IPA is always less than that of the EPA.

Since a closed-form solution of the total power consumption for the proposed IPA scheme is very complicated, we consider the dual case when *M*=*N*, since the system is more efficient on this antenna configuration. For notational convenience, we use the pair (*M*,*K*) to represent the system configuration, e.g., (2, 4) represents that both the source nodes have *M*=2 antennas and a single relay is selected out of *K*=4 relays. We investigate the behaviors of \(\mathbb {E}\left [ {\frac {{\min \left (\eta _{1}^{{\mathcal {R}}},\eta _{2}^{{\mathcal {R}}}\right)}}{{\max \left (\eta _{1}^{{\mathcal {R}}},\eta _{2}^{{\mathcal {R}}}\right)}}} \right ]\) when (*M*,*K*)=(1,1), \( (M,K)=(M\in {\mathbb {N}^{+} },\infty), \) and \((M,K)=(\infty,K\in {\mathbb {N} })\) in Lemma 3 and Proposition 3 to gain insights into the performance analysis.

###
**Lemma**
**3**.

*M*,

*K*)=(1,1), for two RVs \({X} = \eta _{1}^{\mathcal {R}}\), and \({Y} = \eta _{2}^{\mathcal {R}}\), we have the CDF of \( Z = \frac {{\min (X,Y)}}{{\max (X,Y)}} \) as

###
*Proof*.

See Appendix 7.3 Proof of Lemma 3. □

From Lemma 3, the expectation of *Z* is obtained by \(\mathbb {E}[Z] = {\int _{0}^{1}} {z{f_{Z}}(z)dz} = {F_{Z}}(1) - {\int _{0}^{1}} {{F_{Z}}(z)dz} = \frac {\pi }{2} - 1\). The normalized power consumption for the IPA in (29) becomes 0.8569. The result indicates that the IPA could save about 14 *%* transmission power consumption compared to the EPA.

###
**Proposition**
**3**.

We consider the BF-RS scheme with the IPA in the two-way relay system. When \( (M,K)=\left (M\in {\mathbb {N}^{+} },\infty \right) \) and \((M,K)=\left (\infty,K\in {\mathbb {N}^{+} }\right)\), for two RVs \({X} = \eta _{1}^{\mathcal {R}}\) and \({Y} = \eta _{2}^{\mathcal {R}}\), it can be shown that the expectation of \(Z = \frac {{\min (X,Y)}}{{\max (X,Y)}}\) becomes 1, i.e., \(\mathbb {E}(Z) = 1\).

###
*Proof*.

See Appendix 7.4 Proof of Proposition 3. □

As shown in Section 6, a better power saving can be achieved by decreasing the numbers of the sources antennas and the relays. It indicates the IPA is more suitable to be applied in the scenarios where the numbers of sources antennas and relays are limited.

At the end of this section, we consider the complexity order of the proposed IPA schemes in the multi-antenna two-way relay system. Note that the complexity order is dominated by complex multiplications in this paper. For Eq. (27), the calculations include the 2 norm operations, additions, comparisons, and divisions. As a result, the complexity order of the IPA with *M*-antennas and *N*-antennas at *S*
_{1} and *S*
_{2}, respectively, is *O*(*M*
^{2})+*O*(*N*
^{2})+*O*(*M*)+*O*(*N*)+*O*(1)=*O*(max(*M*,*N*)^{2}).

## 6 Simulation results

*P*

_{1}=

*P*

_{2}=

*P*

_{ r }=1(0 dB), in the simulations of Figs. 2, 3, 4, 5 and 6. For convenience of the comparison, we assume that the total power constraint of each PA scheme is

*P*

_{ T }=3 (=4.77 dB). Furthermore, we assume that the sources and relays have the same noise variance.

Besides, we introduce the curves obtained by using (SNR−*a*)^{−d
} as the references to analyze the diversity gain, where *a* is a real number and *d* is a positive integer. If the SEP curves of the schemes tend to be parallel with (SNR−*a*)^{−d
} in high SNR region, it reveals that a diversity gain of *d* is achieved.

### 6.1 Simulated results

In Fig. 2, we compare the performance of the O-BF-RS and S-BF-RS schemes, where *P*
_{1}=*P*
_{2}=*P*
_{
r
}=1. It is shown that the performance difference between the S-BF-RS and the O-BF-RS schemes is negligible. The intuitive explanation of the phenomenon is that the overall system performance of the two way relay system is limited by the worst link. In other words, once the relay which maximizes the worst SNR of the two links is selected, it is equivalent to minimize the overall system SEP. Thus, the result indicates that we can use the S-BF-RS instead of the O-BF-RS. […] The figure also presents that the curves of the setting (2,4) and (3,2) intersect each other. The qualitative explanation of the phenomenon is that once the SNR is low, more antennas is beneficial to achieving the better performance. Thus, the performance of (3,2) outperforms that of (2,4) in low SNR regions. However, since the diversity of (2,4) is larger than the diversity of (3,2), the performance of (2,4) outperforms that of (3,2) in high SNR regions, which further results in the intersection of the curves.

Figure 3 shows the overall system SEP performance of different transmission schemes to validate the advantages of the BF-RS scheme. We compare the BF-RS scheme with the Almouti code RS (AC-RS) and the diagonal code RS (DC-RS) with *M*=2. Note that the AC-RS scheme also requires the full CSI for the relay selection process. It is shown that both the DC-RS and BF-RS schemes can achieve a full transmit and RS diversity gain of *d*=*K*
*M*. However, the diversity order of the AC-RS scheme is only *d*=*M*. Comparing the SEP curves of AC-RS between (2, 2) and (2, 4), we can find that the RS is only helpful for coding gain, but not diversity gain in the AC-RS scheme. Overall, the BF-RS scheme outperforms the AC-RS and DC-RS schemes in all the SNR regions.

### 6.2 Analytical results

In Fig. 4, we illustrate the diversity gain of the BF-RS scheme with different configurations of (*M*,*K*). The performance curves of the BF-RS scheme show the same decay trend with that of SN*R*
^{−K
M
} for all the configurations. The results show that the BF-RS scheme achieves a diversity gain of *d*=*K*
*M*. In addition, we can find that the performance of configurations of (*M*,*K*)=(3,2) and (4, 2) are better than those of configurations of (2, 3) and (2, 4), respectively. From this, we can draw the conclusion that increasing the number of the source antennas is more helpful than increasing the number of the relays on the overall system SEP performance.

Figure 5 shows the SEP performance of a special case of the BF-RS scheme with (*M*,*K*,*N*)=(1,2,2),(2,2,2), and (3,2,2). The simulation result is within the curves of the theoretical upper and lower bounds. As shown in Fig. 5, the upper bound is very close to the simulated SEP curve. The accuracy of upper bound can indicate that the approximations in the theoretical derivation of (19) are accurate. Meanwhile, it can be noticed that the lower bound is parallel with the simulated SEP curve with a constant gap in all SNR region. In summary, our derived bounds can predict the performance accurately. Furthermore, the analytical asymptotic SEP and simulated SEP of the BF-RS scheme are presented as well. It is shown that, at the high SNR region, the asymptotic SEP given by (25) approaches the simulated SEP. The result has verified our analytical derivation.

### 6.3 PA

Figure 6 shows the SEP performance of the BF-RS scheme with the proposed IPA scheme. The results of the EPA and OPA [9] are also provided for comparison purposes. It can be observed that the SEP curves of the proposed IPA scheme are very close to the SEP curves of the EPA scheme. Meanwhile, it is shown that the gap between the performances of OPA and IPA is about 1–2 dB. This gain results from the fact that the more power consumption is used in OPA than that in IPA.

*P*

_{ T }=3. It can be observed that the proposed IPA scheme obtains almost 14

*%*power saving when (

*M*,

*K*)=(1,1). The power cost increases with the number of source antennas and the number of relays. The results verify our derivation. In summary, the EPA is introduced as a benchmark in Figs. 6 and 7. The results show that the OPA outperforms the EPA in terms of the SEP once the total power constraint is adopted. Likewise, the IPA outperforms the EPA in terms of the power cost once the independent power constraint is adopted.

*Z*in terms of different numbers of source antennas and relays. It is shown that the \(\mathbb {E}[Z]\) increases monotonically, which confirms that the effective power saving of the proposed IPA scheme is obtained when the numbers of antennas of the sources and the relays are limited.

## 7 Conclusions

In this paper, we have studied the performance of various transmission schemes for multiple-antenna two-way relay systems with RS in terms of SEP. Specifically, we have focused on the performance of the BF-RS scheme as it can outperform other schemes significantly. We derived the analytical upper and lower bounds of the end-to-end system SEP in the closed form as well as the asymptotic SEP expression in high SNR regime. The analytical performance predictions with the derived SEP expressions were verified by simulations. Based on individual power constraints, we also proposed an IPA scheme to save the total transmit power. Both analytical and simulated results indicated that the BF-RS scheme with IPA could save considerable amount of energy.

## 8 Endnote

^{1} We do not provide existing schemes’ performances in detail in this paper, but their performances are shown in Section 6 by simulations.

## 9 Appendix

### 9.1 Proof of Lemma 1, Proposition 1

**Appendix 7.1.** We focus on the PDF of \(\gamma _{\min {\mathcal {R}}}\). Let *γ*
_{
mk
}=*γ*∥**h**
_{
mk
}∥^{2},*m*=1,2 and **h**
_{1k
}=[*h*
_{11,k
}
*h*
_{12,k
} … *h*
_{1M,k
}]^{
T
}, and **h**
_{2k
}=[*h*
_{21,k
}
*h*
_{22,k
} … *h*
_{2N,k
}]^{
T
}. Since \({\left | {{h_{1{n_{t}},k}}} \right |^{2}}\), *n*
_{
t
}=1,2,…,*M*, *k*=1,2,…,*K*, is independent chi-square distributed with 2*M* degrees of freedom, the PDF of *γ*
_{1k
} is \( {f_{{\gamma _{1k}}}}(\xi) = \frac {{{\xi ^{{M} - 1}}}}{{({M} - 1)!{\gamma ^{{M}}}}}{e^{- \frac {\xi }{\gamma }}} \). The CDF of *γ*
_{1k
} is given by \( {F_{{\gamma _{1k}}}}(\xi) = 1 - {e^{- \frac {\xi }{\gamma }}}\sum \limits _{q = 0}^{{M} - 1} {\frac {{{{(\xi /\gamma)}^{q}}}}{{q!}}}. \) Likewise, the PDF and CDF of *γ*
_{2k
} can be easily obtained as well. Define \( {\beta _{\text {min}}^{k}} = \min ({\gamma _{1k}},{ \gamma _{2k}}), \) the CDF of \({\beta _{\text {min}}^{k}}\) is \({F_{\beta _{\text {min}}^{k}}}(\xi) = 1 - \left ({{e^{- \frac {{2\xi }}{\gamma }}}\sum \limits _{{m_{1}} = 0}^{M - 1} {\sum \limits _{{m_{2}} = 0}^{N - 1} {\frac {{{{(\xi /\gamma)}^{{m_{1}} + {m_{2}}}}}}{{{m_{1}}!{m_{2}}!}}}} } \right). \)

Consequently, using the binomial expansion, we can obtain the CDF of \(\gamma _{\min {\mathcal {R}}}\). The PDF of \(\gamma _{\min {\mathcal {R}}}\) can be obtained by differentiating the CDF in (31).

Applying Lemma 1 in (19) and (21), the analytical end-to-end SEP in Proposition 2 can be obtained by the integral of [22, 2.33.10, 8.350.2].

### 9.2 Proof of Lemma 2, Proposition 2

**Appendix 7.2.**Differentiating the CDF in (31), we have

where *c* is a constant and if *M*≠*N*, \(c = \frac {{K\min \left ({M,N} \right)}}{{{{\left ({\min \left ({M,N} \right)!} \right)}^{K}}{{\bar \gamma }^{K\min \left ({M,N} \right)}}}}\), otherwise \(c = \frac {{{2^{K}}KM}}{{{{\left ({M!} \right)}^{K}}{{\bar \gamma }^{KM}}}}\).

where *Γ*(·) is the Gamma function.

### 9.3 Proof of Lemma 3

*M*,

*K*)=(1,1), the CDFs of

*X*and

*Y*are given by \({{{F}}_{X}}(x) = 1 - {e^{- \frac {x^{2}}{2}}} \) and \({{{F}}_{Y}}(y) = 1 - {e^{- \frac {y^{2}}{2}}} \), respectively. The CDF of \(Z = \frac {{\min (X,Y)}}{{\max (X,Y)}}\) can be expressed as

*x*,

*y*≥0, we have

Due to the symmetry, it is straightforward to obtain *I*
_{2} from *I*
_{1}. Then, the CDF *F*
_{
Z
}(*z*)=*I*
_{1}+*I*
_{2}=2*I*
_{1}.

### 9.4 Proof of Proposition 3

Based on the RS criterion as (15), when *K*→*∞*, it is obvious to see \( \mathop {\lim }\limits _{K \to \infty } \mathbb {E}[X] = \infty \) and\( \mathop {\lim }\limits _{K \to \infty } \mathbb {E}[Y] = \infty \). Let *ζ*= min(*X*,*Y*), *ψ*= max(*X*,*Y*). Without loss of generality, we assume *X*≤*Y*. As the PDF of *ψ* is given by *f*
_{
ψ
}(*y*)=2*F*(*y*)*f*(*y*), the condition probability density function of *ζ* becomes \({f_{\zeta } }(x|y) = \frac {{f(x,y)}}{{{f_{\psi } }(y)}} = \frac {{f(x)}}{{2F(y)}}\).

*K*→

*∞*, can be expressed as

Clearly, with \(\mathop {\lim }\limits _{y \to \infty } F(y) = 1\), we have \({I_{3}} = \frac {1}{2}\). Due to symmetry, it is straightforward to obtain *I*
_{4} for *I*
_{3} by exchange *x* and *y*. The expectation of *Z*, when *K*→*∞*, is \(\mathop {\lim }\limits _{K \to \infty } \mathbb {E}[Z] = 1 \).

*M*→

*∞*and

*K*∈

*N*

^{+}. Since \({X} = \eta _{1}^{\mathcal {R}}\) and \({Y} = \eta _{2}^{\mathcal {R}}\) are generalized Rayleigh RVs,

*X*

^{2}and

*Y*

^{2}are chi-square distributed with 2

*M*degrees of freedom. Using high-order moments of the generalized Rayleigh distribution [15, 2-1-138] and Stirling’s formula [24], we find

*X*is obtained as \(\mathop {\lim }\limits _{{M} \to \infty } \frac {{\mathbb {E}\left [ {{X^{2}}} \right ] - \mathbb {E}{{\left [ X \right ]}^{2}}}}{{\mathbb {E}\left [ X \right ]}} = 0\). The result indicates that

*X*is equal to \(\sqrt {2({M} - 1)} \) with probability 1 when

*M*→

*∞*. The derivation is also valid to

*Y*. The expectation of \(Z = \frac {{\min (X,Y)}}{{\max (X,Y)}}\), when

*M*→

*∞*, can be expressed as

It completes the proof.

## Declarations

### Acknowledgements

This work is supported in part by the National Science Foundation of China (NSFC, Grant No. 61471008), the Specialized Research Fund for the Doctoral Program of the Ministry of Education of China (Grant No. 20120001120125), and the National Natural Science Foundation of Beijing (Grant No. 4144075). The correspondence author is Chen Chen (E-mail: c.chen@pku.edu.cn).

## Authors’ Affiliations

## References

- T Cui, F Gao, T Ho, A Nallanathan, in Proc. IEEE ICC. Distributed space-time coding for two-way wireless relay networks (IEEEBeijing, China, 2008), pp. 3888–3892.Google Scholar
- D To, J Choi, IM Kim, Error probability analysis of bidirectional relay systems using Alamouti scheme. IEEE Commun. Lett. 14(8), 758–760 (2010).View ArticleGoogle Scholar
- FK Gong, JK Zhang, G Jian-hua, Distributed concatenated Alamouti codes for two-way relaying networks. IEEE Wireless Commun. Lett. 1(3), 197–200 (2012).View ArticleGoogle Scholar
- C Chen, L Bai, B Wu, J Choi, Relay selection and beamforming for cooperative bi-directional transmissions with physical layer network coding. IET Commun. 5(14), 2059–2067 (2011).MathSciNetView ArticleGoogle Scholar
- X Jia, L Yang, H Fu, Tight performance bounds for two-way opportunistic amplify-and-forward wireless relaying networks with TDBC protocols. EURASIP J. Wirel. Commun. Netw. 1(192), 1–8 (2012).Google Scholar
- LS Jayasinghe, N Rajatheva, M Latva-Aho, Robust precoder-decoder design for physical layer network coding-based MIMO two-way relaying system. EURASIP J. Wirel. Commun. Netw. 1(137), 1–16 (2013).Google Scholar
- Q Zhou, Y Li, F Lau, B Vucetic, Decode-and-forward two-way relaying with network coding and opportunistic relay selection. IEEE Trans. Commun. 58(11), 3070–3076 (2010).View ArticleGoogle Scholar
- S Beygi, M Kafashan, H Bahrami, T Le-Ngoc, M Maleki, Space-time trellis codes for two-way relay MIMO channels with single-antenna relay nodes. IEEE Trans. Veh. Technol. 62(8), 4040–4045 (2013).View ArticleGoogle Scholar
- T Do, J Wang, L Song, Y Kim, Joint relay selection and power allocation for two-way relaying with physical layer network coding. IEEE Commun. Lett. 17(2), 301–304 (2013).View ArticleGoogle Scholar
- L Song, Relay selection for two-way relaying with amplify-and-forward protocols. IEEE Trans. Veh. Technol. 60(4), 1954–1959 (2011).View ArticleGoogle Scholar
- C Zhang, J Ge, J Li, Y Hu, Fairness-aware power allocation for asymmetric two-way AF relaying networks. Electron. Lett. 48(15), 959–961 (2012).View ArticleGoogle Scholar
- S Talwar, Y Jing, S Shahbazpanahi, Joint relay selection and power allocation for two-way relay networks. IEEE Signal Process. Lett. 18(2), 91–94 (2011).View ArticleGoogle Scholar
- S Alamouti, A simple transmit diversity technique for wireless communications. IEEE J. Sel. Areas Commun. 16(8), 1451–1458 (1998).View ArticleGoogle Scholar
- EG Larsson, P Stoica, Space-time block coding for wireless communications (Cambridge University Press, New York, 2003).Google Scholar
- J Proakis, Digital communications, 4th edition (McGraw-Hill, New York, 2000).Google Scholar
- TKY Lo, Maximum ratio transmission. IEEE Trans. Commun. 47(10), 1458–1461 (1999).View ArticleGoogle Scholar
- RHY Louie, Y Li, HA Suraweera, B Vucetic, Performance analysis of beamforming in two hop amplify and forward relay networks with antenna correlation. IEEE Trans. Wireless Commun. 8(6), 3132–3141 (2009).View ArticleGoogle Scholar
- Y Lu, N Yang, H Dai, X Wang, Opportunistic decode-and-forward relaying with beamforming in two-wave with diffuse power fading. IEEE Trans. Veh. Technol. 61(7), 3050–3060 (2012).View ArticleGoogle Scholar
- M Ju, IM Kim, Error performance analysis of BPSK modulation in physical-layer network-coded bidirectional relay networks. IEEE Trans. Commun. 58(10), 2770–2775 (2010).View ArticleGoogle Scholar
- M Soysa, HA Suraweera, C Tellambura, HK Garg, Partial and opportunistic relay selection with outdated channel estimates. IEEE Trans. Commun. 60(3), 840–850 (2012).View ArticleGoogle Scholar
- M Abramowitz, IA Stegun, Handbook of mathematical functions with formulas, graphs, and mathematical tables, 9th Edition (Dover, New York, 1970).Google Scholar
- IS Gradshteyn, IM Ryzhik, Table of integrals, series, and products, 7th edition (Academic, New York, 2007).Google Scholar
- Z Wang, G Giannakis, A simple and general parameterization quantifying performance in fading channels. IEEE Trans. Commun. 51(8), 1389–1398 (2003).View ArticleGoogle Scholar
- RB Paris, D Kaminsky, Asymptotics and the Mellin-Barnes integrals (Cambridge University Press, New York, 2001).Google Scholar

## Copyright

This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.