- Research
- Open Access
- Published:

# Alamouti-coded decode-and-forward protocol with optimum relay selection and power allocation for cooperative communications

*EURASIP Journal on Wireless Communications and Networking*
**volume 2014**, Article number: 112 (2014)

## Abstract

In this paper, an Alamouti-coded decode-and-forward protocol with optimum relay selection for three-user one destination cooperative communications is investigated. Particularly, we design the new protocol that allows the source node retransmitting the signal to the destination node at the same time as the relay node forwarding the received signal to the destination node with an Alamouti coding scheme. We exploit the cooperative maximum ratio combining technique (C-MRC) at the destination for combining a multiple copy of received signals. Therefore, the proposed scheme achieves the maximum diversity gain and lower probability of error in comparison with the existing decode and forward protocol. We also analyze a symbol error rate (SER) upper bound of the single relay system, and exploit a result of this analysis to select the optimum relay in a multiple-relay cooperation scheme based on the minimum SER selection strategy. Moreover, the optimum power allocation for the proposed protocol is derived, and it is able to provide the optimum transmission power strategy to the source and the relay nodes in order to achieve the minimum probability of error. In the performance analysis, the theoretical error probability is studied and compared with the simulation results. Simulation results indicate that the proposed protocol significantly outperforms the existing protocols, and the theoretical error probability curve is relatively close to the simulated SER curve.

## 1 Introduction

In the future multimedia communications, broadband wireless communications will play a major role in personal voice and data communications that support fixed, nomadic, portable, and mobile accesses. There are many techniques that could be able to enhance the performance of wireless communications, including a multiple-input multiple-output (MIMO) system. However, given the current technology, equipping more antennas to handheld devices is far from practical. Recently, a generalized MIMO system, called cooperative communications [1], has been proposed for realizing the advantage of the conventional MIMO system, e.g., a diversity gain. By the cooperation of active users equipped with a single antenna in the wireless network, cooperative communications can be established in a distributed fashion.

It is well-known that Alamouti's space-time coding [2] could enhance the performance of wireless communication systems over flat fading channels by the virtue of the diversity gain obtained from the exploitation of two antennas at the transmitter. Furthermore, the decoding algorithm is also practically feasible with an acceptable complexity. In [3], a probability of error performance analysis for decode-and-forward cooperation protocol in wireless networks has been proposed, where the comparison between a closed-form symbol error rate (SER) formulation and an upper bound approximation have been investigated. In [4], the new combining technique, namely a cooperative maximum ratio combining (C-MRC), is proposed to overcome the diversity gain limitation of the conventional decode-and-forward protocol. In [5], the Hurwitz-Radon space-time code for the wireless relay network has been proposed. The results show that the diversity factor depends on the number of relays, and a 10-dB signal-to-noise ratio (SNR) improvement compared with the single relay system is achieved. In [6], the authors show the closed-form expression of the average symbol error probability for a distributed Alamouti scheme in wireless relay networks and examine such scheme by using the Monte Carlo simulation. In [7], the authors investigate a difference between the diversity of multiple relays and the diversity of multiple receivers/transmitters, and show the switching scheme with the space-time modulation that is able to reduce a bit error rate in the wireless relay communications. In [8], the performance analysis of Alamouti's coded-based cooperative communication has been proposed, where the system uses an amplify-and-forward (AF) strategy over Nakagami's fading. In addition, the system performance is not fully optimized by using this strategy because of the problem of synchronization. The best-relay selection scheme for cooperative networks has been introduced in [9], and it is called an opportunistic relaying. According to the opportunistic relaying, a single relay among a set of relay nodes is selected, depending on which relay provides the ‘best’ end-to-end path between source and destination nodes. The authors in [9] show that this scheme yields the same diversity order as the cooperative communication using a space-time coding in both decode-and-forward (DF) and amplify-and-forward protocols. The authors in [10] investigate the performance of the best-relay selection scheme, where the ‘best’ relay only participates in the relaying phase. Therefore, two channels are only needed in this case (one for the direct link and another one for the best relay link) regardless of the number of relays. The best relay is defined as the relay node that is able to yield the highest signal-to-noise ratio at the destination node. In [11], a two-hop cooperative multiple-relay communication network is considered. The authors propose the exact outage and capacity performance expression for relay selection over a wide range of SNR regimes. In [12], the authors propose a new relay selection scheme for cooperative decode-and-forward with multiple antennas that achieve a full diversity order.

Referring to the existing Alamouti-based decode-and-forward protocol in [3], it is obvious that the degree-of-freedom of the system, i.e., a possible opportunity of signal transmission in all available time slots, is not fully used. Furthermore, such system performance could be enhanced by the cooperative maximum ratio combining (C-MRC) technique, and the bandwidth efficiency could also be increased by using the optimum relay selection technique. These facts motivate us to propose the new protocol, and the main contributions of this paper are as follows.

In this paper, we propose the Alamouti-coded decode-and-forward protocol with an optimum relay selection technique for cooperative communications. The system allows the source node transmitting the signal in the second time slot at the same time as the relay node is decoding and forwarding the signal that is received from the source node in the first time slot to the destination using Alamouti's coding scheme. At the destination node, the received signal from both source and relay nodes will be combined by using a cooperative maximum ratio combining technique. In the C-MRC technique, the received signal sent by the relay node at the destination is weighted by the quality of the channel, i.e., a ratio of channel variances, before combining with the received signal sent by the source node resulting in an enhanced error probability and signal-to-noise ratio (SNR). The proposed scheme provides a much lower error probability in comparison with existing cooperative protocols. We also analyze a symbol error rate upper-bound for the Alamouti-coded decode-and-forward protocol with the C-MRC signal combining, and evaluate the analysis results by comparing with the simulation results. Based on this analysis, we can select the optimum relay that provides the lower probability of error for cooperative communications. Finally, we derive the optimum power allocation for the proposed system by minimizing the upper-bound on probability of error, and we are able to provide the optimum power transmission strategy to the source and relay nodes for data transmission. In the performance analysis section, the result shows that the theoretical error probability curve is close to that the simulated one, and the error probability of the optimum relay selection strategy is lower than the fixed relay strategy.

The rest of this paper is organized as follows: In section 2, we describe the system and received signal models. In section 3, we analyze the total SNR of the system and the expressions of MRC and C-MRC signal combining techniques for Alamouti-coded decode-and-forward protocol. In section 4, we analyze the average SER of the proposed system and propose the optimum relay selection technique for the Alamouti-coded decode-and-forward protocol. We also investigate the optimum power allocation for the proposed system in this section. In section 5, the simulation results are shown, and we conclude this paper in section 6.

## 2 System and received signal models

### 2.1 System model

In this section, we consider the Alamouti-coded decode-and-forward protocol with relay selection for cooperative communications. We consider three users and one destination (D) in the system, in which the first user acts as a source (S) and other users act as relays (R), as shown in Figure 1.

In Figure 1, we assume that each relay knows its source-to-relay and relay-to-destination channel variances. Next, each relay sends this channel information to the source node through some feedback channels. Thus, the source can compute and select only one optimum relay to cooperate with by the decision algorithm with the feedback information. We employ a decode-and-forward protocol in the broadcasting phase, in which the best relay node receives the source’s transmitted signal, decodes and re-modulates it, and retransmits this newly modulated signal to the destination, as shown in Figure 2. In the relaying phase, the transmitting symbols from the source and relay nodes will be encoded by Alamouti's space-time coding, as shown in the following matrix [2]:

where *C* is the Alamouti's coding matrix, and *S*_{1} and *S*_{2} are the transmitting symbols in two consecutive time slots.In Figure 2a,b, it is worth noticing that we also exploit the source-to-destination symbols in the broadcasting phases, i.e., phases 1 and 3, as additional received signals for combining with the source-to-destination symbols in the relaying phases, i.e. phases 2 and 4, by using the cooperative maximum ratio combining technique in order to enhance the SNR of the received signal sent by the source node. Therefore, the error probability will be correspondingly reduced. In addition, this benefit is achieved by a full utilization of signal transmission in both broadcasting and relaying phases of cooperative communications. By integrating the proposed cooperative communications with the Alamouti's coding scheme, we could achieve a full diversity gain with the enhanced SNR for the source-to-destination received signal. We divide our communications into four phases as follows.In phase 1 of Figure 2a, the source node broadcasts its modulated signal to the selected relay (based on the optimum relay selection technique described in section 4.2) and the destination nodes through wireless channels. In phase 2 of Figure 2a, the relay node decodes and forwards the received signal, sent by the source node, to the destination node. In this relaying phase, the source node transmits another signal to the destination node based on the Alamouti's coding. Similarly, the signal transmission in phases 3 and 4 in Figure 2b is equivalent to phases 1 and 2, respectively, except the symbol encoding has to obey the Alamouti's coding matrix, as shown in (1). We employ a time-division multiple access (TDMA) scheme for signal transmission, and we consider a half-rate communication with the QPSK modulation so that the bandwidth efficiency equals 1 bit/s/Hz. Essentially, we will lose four times in one communication frame to transmit two symbols so that we employ the QPSK modulation to compensate such bandwidth efficiency loss.

### 2.2 Received signal model

We divide the received signal into four phases. In phase 1, the received signals at the destination and relay nodes sent by the source node are described in (2) and (3), respectively. In phase 2, the received signal at the destination node, that is simultaneously sent by relay and source nodes based on the proposed protocol shown in Table 1, is described in (4).

Phase 1:

Phase 2:

where *y*_{d 1} and *y*_{r 1} are the received signals at the destination and the relay nodes in phase 1, respectively, in which *S*_{1} denotes a transmitted symbol of the source node, *y*_{d 2} is the received signal at the destination node in phase 2, in which the source node transmits a symbol *S*_{2} and the relay node decodes and forwards the decoded symbol *Ŝ*_{1}; *P*_{1} and *P*_{2} are the transmit power of the source and the relay nodes, respectively; *H*_{d 1}, *H*_{r 1}, *H*_{d 2}, and *H*_{r 2} are the channel impulse responses of the source-to-destination link in phase 1, the source-to-relay link in phase 1, the source-to-destination link in phase 2, and the relay-to-destination link in phase 2, respectively. In addition, we introduce a weighting factor *w* in phase 2 based on a concept of C-MRC signal combining, *y*_{d 1} in which *w* = *γ*_{eq}/*γ*_{rd}, where *γ*_{eq} = min (*γ*_{sr}, *γ*_{rd}), and *γ*_{sr} and *γ*_{rd} are the instantaneous SNR between the source-to-relay link and the relay-to-destination link, respectively. Furthermore, *n*_{d 1}, *n*_{r 1}, and *n*_{d2} are zero-mean complex additive white Gaussian noise (AWGN) with variance *N*_{0} at the destination in phase 1, at the relay in phase 2, and at the destination nodes in phase 2, respectively. Basically, the Alamouti's coding scheme uses two time slots to transmit two symbols. Hence, the received signals of phases 3 and 4 can be described as follows:

Phase 3:

Phase 4:

where *y*_{d 3} and *y*_{r 3} are the received signals at the destination and the relay nodes in phase 3, respectively, *y*_{d 4} is the received signal at the destination node in phase 4, in which the source node transmits a symbol *S*_{1}^{*} and the relay node decodes and forwards the decoded symbol − *S*_{2}^{*}. In addition, *n*_{d 3}, *n*_{r 3}, and *n*_{d4} are zero-mean complex additive white Gaussian noise (AWGN) with variance *N*_{0} at the destination in phase 3, at the relay in phase 4, and at the destination nodes in phase 4, respectively. We now assume that all channels are modeled as quasi-static Rayleigh flat-fading channels, i.e., *H*_{d 1} = *H*_{d 2} = *H*_{d 3} = *H*_{d 4}, *H*_{
r1
} = *H*_{r 3} and *H*_{
r2
} = *H*_{r 4}, within one transmission frame according to a typical assumption for the Alamouti's coding scheme [2].

## 3 Signal combining technique

In this section, we combine the received signals in all phases in order to detect *S*_{1} and *S*_{2} by using a maximum ratio combining (MRC) technique and a cooperative maximum ratio combining (C-MRC) technique. We also derive a closed-form expression of the total SNR resulted from such combining techniques. It could be shown that the output of the MRC detector at the destination can be expressed as follows:

where *γ*_{total} is the total SNR, *γ*_{direct} is the SNR of a symbol in phase 1 or 3, and *γ*_{Alamouti} is the SNR of a symbol in phase 2 or 4.

### 3.1 Maximum ratio combining (MRC) technique

The maximum ratio signal combining for the received signals in (2), (4), (5), and (7) can be expressed as [13]

where ${\mathit{y}}_{{\tilde{\mathit{S}}}_{1}\left(\mathrm{MRC}\right)}$ and ${\mathit{y}}_{{\tilde{\mathit{S}}}_{2}\left(\mathrm{MRC}\right)}$ are the output of the MRC combiner at the destination, and

denote the MRC weight, where *N*_{0} is a variance of AWGN. By substituting (2), (4), (5), and (7) into (9) and (10), we have

where *N*_{S 1(MRC)} and *N*_{S 2(MRC)} are the total noise at the destination node expressed by

For the sake of simplicity, we regard that *H*_{d 1} = *H*_{d 2} = *H*_{d 3} = *H*_{d 4} = *H*_{direct} and *H*_{
r2
} = *H*_{r 4} = *H*_{relay}. The total SNR of the MRC output can be derived as follows:

where *γ*_{S 1} is the total SNR of a symbol *S*_{1} and *γ*_{s 2} is the total SNR of a symbol *S*_{2}.

It is worth noticing that the MRC combining yields the maximum SNR to (15) and (16), given that the estimated signals *Ŝ*_{1} and *Ŝ*_{2} at the relay node are correctly decoded. Specifically, in practical applications, the correctness of symbols *Ŝ*_{1} and *Ŝ*_{2} solely depends on the quality of the channel link from the source to relay link. Hence, the MRC combining cannot guarantee the maximum SNR as mentioned in [9].

### 3.2 Cooperative maximum ratio combining technique

The cooperative maximum ratio signal combining for the received signals in (2), (4), (5), and (7) could be expressed as follows [4]:

where ${\mathit{y}}_{{\tilde{\mathit{S}}}_{1}\left(\mathrm{MRC}\right)}$ and ${\mathit{y}}_{{\tilde{\mathit{S}}}_{2}\left(\mathrm{MRC}\right)}$ are the output of the C-MRC combiner at the destination and

denote the C-MRC weight where *N*_{0} is a variance of AWGN. By substituting (2), (4), (5), and (7) into (17) and (18), we have

where *N*_{S 1(C-MRC)} and *N*_{S 2(C-MRC)} are the total noise at the destination node

In the concept of C-MRC, it is worth noticing that the quality of the decoded symbols *Ŝ*_{1} and *Ŝ*_{2} greatly depends on the SNR of the source-to-relay link. Specifically, if *γ*_{sr} < *γ*_{rd} , i.e., more error could be anticipated on *Ŝ*_{1} and *Ŝ*_{2}, then the confidence is reduced on the source-to-relay link. This fact results in the expression of *w* = *γ*_{eq}/*γ*_{rd}, where *γ*_{eq} = min (*γ*_{sr}, *γ*_{rd}), and *γ*_{sr} and *γ*_{rd} are the instantaneous SNR between source-to-relay and relay-to-destination links. The total SNR of the MRC output can be derived as follows:

In this paper, we employ the C-MRC signal combining technique at the destination node because it could provide a full diversity gain, and it is superior to the MRC signal combining. Once the signal combining, i.e. (23) and (24), has been done at the destination node, the destination node’s receiver will perform the symbol detection, i.e. *S*_{1} and *S*_{2}, by using a maximum-likelihood (ML) receiver.

## 4 Performance analysis

### 4.1 Probability of error analysis

In this section, we analyze the error probability performance, i.e., a symbol error rate (SER), of the Alamouti-coded decode-and-forward protocol for cooperative communications with the C-MRC signal combining. We derive a SER upper bound for the proposed system with the M-PSK modulation. When the M-PSK modulation is used in the system, with the instantaneous SNR (*γ*) in (23) and (24), the conditional SER, where the channel coefficients *H*_{sd}, *H*_{sr}, and *H*_{rd} are the channel impulse responses of the source-to-destination link, source-to-relay link, and the relay-to-destination link, respectively, can be written as [14].

where *b*_{psk} = sin^{2}(*π*/*M*) and *M* = 2^{k} with *k* even. The channel variances of *H*_{sd} and *H*_{rd} are defined by *δ*_{sd}^{2} and *δ*_{rd}^{2}, respectively. The conditional SER given *H*_{sd}, *H*_{sr}, and *H*_{rd} and *w* could be expressed by

Given |*H*|^{2} having an independent Rayleigh distribution with E[|*H*|^{2}] = *δ*_{
H
}^{2}, one can show that

By averaging over the Rayleigh fading channel *H*_{sd}, *H*_{sr}, and *H*_{rd}, the upper bound on conditional SER of proposed system can be expressed as

where

It is worth noticing that (28) has been derived by using the assumption that *H*_{sd}, *H*_{sr}, *H*_{rd}, and *w* are statistically independent; therefore, the result in (28) serves as the upper bound on conditional SER. In fact, *H*_{sr}, *H*_{rd}, and *w* are jointly dependent.

From (28), if we substitute sin^{2}*θ* = 1, which is the maximum value, then all integrands reach their maximum value. The upper bound on the conditional SER of the proposed system can be expressed as [15, 16].

where *A* = *b*_{psk}*P*_{1}*δ*_{sd}^{2} and *C* = *b*_{psk}*P*_{2}*δ*_{rd}^{2}.

When a probability density function (pdf) of *w* is known, we can find an average SER upper bound of the system as follows:

According to the derivation in the Appendix, the pdf of *w* can be derived, and the upper bound on the average SER of the proposed system can be expressed as follows [17–19]:

where *A* = *b*_{psk}*P*_{1}*δ*_{sd}^{2} and *C* = *b*_{psk}*P*_{2}*δ*_{rd}^{2}.

### 4.2 The proposed optimum relay selection technique

It is well aware that the diversity gain of the cooperative communication system can be increased by the number of the relay in the system [1]. In this section, we proposed the optimum relay selection technique such that the source node can select the optimum cooperative relay depending on the channel quality of each link. Assuming that all channel information in the system is known to the source node by the virtue of some feedback channels, the source node is able to exploit this information to find the optimum relay for cooperative communications by using the following rule:

where *R*_{1} stands for the relay 1, and *R*_{2} stands for the relay 2.The concept of optimum relay selection can be explained as follows (Figure 3): Referring to the system model in section 2, the source node could be possibly transmitting the data to the destination by using relay 1 or relay 2. From (32), the source node needs the feedback channel information of source to relay and relay to destination links for calculating the upper bound on averaged SER for relay 1 and relay 2, respectively. Thus, the optimum relay that provides the lower probability of error for cooperative communications is selected. In the simulation, the proposed optimum relay selection technique outperforms the fixed relay selection technique. This is because of the diversity gain, which depends on the number of relays, as will be shown in the simulation results (section 5).

### 4.3 The optimum power allocation

In the cooperative communication system, the source node transmits the data to the destination node with the transmission power *P*_{1}, and the relay helps the source node to re-transmit the data with transmission power *P*_{2}. Thus, the total transmission power is equal to *P* = *P*_{1} + *P*_{2}, and the transmission power ratio is equal to *P*_{r}, where *P*_{r} = *P*_{1}/*P*_{2}.

In this section, the optimum power allocation is investigated, in which the transmission power *P*_{1} and *P*_{2} could be optimally allocated. The transmission power ratio can be increased or decreased depending on the channel quality of the system. The optimum power allocation strategy can be obtained by minimizing the upper bound on the average SER, i.e. (29), as follows:

Substituting *A* = *b*_{psk}*P*_{1}*δ*_{sd}^{2} and *C* = *b*_{psk}*P*_{2}*δ*_{rd}^{2} to arrive at

We solve the optimization problem in (34) by using the standard Lagrangian method to arrive at

By taking the partial derivative on (36) with respect to *P*_{1,} and setting the result to 0, we have

With the power constraint *P* = *P*_{1} + *P*_{2}, the optimum transmission power can be obtained as follows:

It could be observed that the optimum power allocation expressions in (38) and (39) at high SNR regimes mainly depend on the value of noise variances. However, in the low SNR regimes, the transmission power ratio will depend on the channel quality of the source-to-destination and the relay-to-destination links. It could also be observed that if the channel quality of the source-to-destination link is better than the relay-to-destination link, the transmission power ratio (*P*_{r}) will be greater than one. However, if the channel quality of the source-to-destination link is less than the relay-to-destination link, the *P*_{r} will be less than one. In the system which has the same channel quality between the source-to-destination link and the relay-to-destination link, the transmission power *P*_{1} will be equal to *P*_{2}, i.e., *P*_{r} = 1. In addition, the constraint that *P*_{1} > 0 and *P*_{2} > 0 must be held because the source and relay nodes must be co-existed in order to form the Alamouti-coded cooperative communications.

Therefore, some amount of power must be allocated to both source and relay nodes; as a result, the constraint *P*_{1} > 0, *P*_{2} > 0, if and only if *P* > 0, will be valid. In other words, if *P*_{1} = 0, it is equivalent to the case that there is no source node, and, hence the relay node cannot form the Alamouti-coded cooperative communications with any other node. This is not the considered case in the paper. It is also worth noticing that the power allocation does not depend on the source-to-relay link because the effect of this link has been averaged in the upper bound on the average SER expression in (32), and it results in a multiplicative factor, i.e., *δ*_{rd}^{2}/*δ*_{sr}^{2} + *δ*_{rd}^{2}, which is independent of *P*_{1} and *P*_{2}.

## 5 Simulation result

In this section, based on a computer simulation, a performance evaluation of the proposed Alamouti-coded decode-and-forward protocol with optimum relay selection for cooperative communication will be examined. The simulation is conducted under quasi-static Rayleigh flat fading channel. The digital modulation with QPSK constellation is employed. The total transmit power is fixed to be *P* = 2 W, and the bandwidth efficiency is 1 bit/s/Hz. The variances of channel links will be varied to different values in order to examine the proposed system in various aspects. In simulation results, we define (*δ*_{sd}^{2}, *δ*_{sr}^{2}, *δ*_{rd}^{2}) as channel variances of the source-to-destination, the source-to-relay, and the relay-to-destination links, respectively.In Figure 4, we present a curve of a simulated average SER versus SNR (dB) for two-user DF cooperative communication systems, including the curve for DF cooperative scheme with the proposed Alamouti's coding. The existing DF cooperative results in higher probability of error than the proposed protocol about 2 to 4 dB.In Figure 5, we present a curve of a simulated average SER versus SNR (dB) for two users, i.e., one source node and one relay node, in DF cooperative communication systems with C-MRC signal combining, including the curve for a direct transmission scheme, the curve for a DF cooperative scheme, and the curve for an Alamouti-coded decode-and-forward protocol for cooperative communications. It is worth noticing that the proposed cooperative scheme is much superior to the non-cooperative scheme. This is because of the diversity gain achieved in the proposed cooperative communication system. In addition, the different channel variance represents the different channel quality, in which the high value means a good channel because the path loss is small.

In Figure 6, we present a curve of average SER versus SNR (dB) for three-user cooperative communication systems, i.e., one source node and two relay nodes, including the curve for the decode-and-forward protocol with optimum relay selection and Alamouti coding, the proposed Alamouti-coded decode-and-forward protocol with optimum relay selection and an ordinary cooperative decode-and-forward protocol. It is worth noticing that the best relay selection technique is much superior than the existing cooperative protocol. This is because of the diversity gain achieved in the increasing bandwidth efficiency depending on the number of relays. The existing DF cooperative protocol results in higher probability of error than the proposed system over 5 dB at SER lower than 10^{−3}. The results show that the Alamouti coding yields the lower probability of error than the existing DF protocol about 1.5 dB at SNR higher than 20 dB.

In Figure 7, we present the SER of the Alamouti-coded decode-and-forward protocol with optimum relay selection cooperative communications with the different transmission power level P_{1}. Note that we define the SNR as SNR = 10 log [*P*/*N*_{0}], where *P* stands for the total transmit power of the system and *N*_{0} stands for the noise variances of all relay and destination nodes, in which they are assumed identical. It is worth noticing that the power allocation expression in (38) and (39) depend on the system noise variance, i.e. *N*_{0}; the channel variances, i.e. *δ*_{sd}^{2} and *δ*_{rd}^{2}; and the total transmit power *P*. In Figure 7a, we considered the system with all channel variance equals to 1. From this figure, we can see that the ratio *P*_{1}/*P* = 0.5 provides the best performance for the difference SNR levels (10, 20, and 30 dB). In a high SNR regime, the optimum power allocation results in an equal power allocation as shown in Figure 7b, where variance (0.1, 1, 1) is considered. In a low SNR regime, the power allocation results in two cases: (A) small channel variance in the source-to-destination link compared with the relay-to-destination link, where variance (0.1, 1, 1) and (B) high channel variance in the source-to-destination link compared with the relay-to-destination link, where variance (1, 1, 0.1). For case A in Figure 7c, we can observe that less power will be allocated to the source node and more power will be allocated to the relay node. This is because the SNR in the source-to-destination link in (23) and (24) contains a factor of (1 + *w*) which is higher than factor (*w*) in the relay-to-destination link. Therefore, more power will be allocated to the relay node in order to maximize the total SNR. For case B in Figure 7c, we can also observe that more power will be allocated to the source node and less power will be allocated to the relay node. In this case, the C-MRC weight *w* approaches 1, which is the maximum value. Hence, at low SNR with the small channel variances in the relay-to-destination link, the proposed system will perform close to the non-cooperative communication system in order to minimize the effect of uncertainty in the relay link.

In Figure 8, the optimum power allocation of the proposed system is presented. The curves show the comparison between theoretical upper bound on error probability of the proposed protocol with and without the optimum power allocation techniques. In the system, which has the high channel quality (i.e., channel variance of 5 for all of channel links) and the low channel quality system (i.e., channel variance of 0.5 for all of channel links), the results confirm that the proposed protocol yields the same error probability as the equal power allocation because the transmission power *P*_{1} and *P*_{2} are almost identical. However, in the case that the channel variance is equal to 0.05 for the source-to-destination link, and the channel variance of 5 for the source-to-relay link and the relay-to-destination link, the system which employs the optimum power allocation technique shows the lower error probability at low SNR regimes. At high SNR regimes, the transmission power resulted from the optimum power allocation is the same as the equal power allocation because the noise variance in (38) and (39) have an insignificant influence.In Figure 9, we present the comparison between simulated SER and the theoretical upper bound on an average SER of the proposed system with and without the optimum power allocation technique. These results show that theoretical curves perform close to the simulation curves in all case. In addition, in the case of optimum power allocation, the proposed system yields a lower probability of error in low SNR regimes, and the probability of error is close to the equal power allocation case in high SNR regimes.

## 6 Conclusion

In this paper, we have proposed the Alamouti-coded decode-and-forward protocol with optimum relay selection for three-user cooperative communications. The optimum relay selection protocol in the scenario of a high channel link, i.e., a channel variance of the source-to-destination link, the source-to-relay link, and the relay-to-destination link are equal to 5, significantly outperforms the existing decode-and-forward (DF) protocol, where the SNR improvement over 5 dB at SER lower than 10^{−3} is observed. Furthermore, the proposed Alamouti's coding scheme performs better than existing DF protocol of about 1 dB at all SER regimes. In the performance analysis, the derived probability of error shows a close result to the simulated one. In addition, the derived upper bound on an average SER could be used to determine the optimum transmission power for the source node and the relay node. It is worth noticing that the optimum power allocation could enhance the error probability of the system effectively, especially in the low SNR regimes. Furthermore, in the case of no information about the channel variances, the equal power allocation could be fairly used instead as confirmed by the simulation results in high SNR regimes. Furthermore, the proposed protocol achieves a full diversity gain by the virtue of increasing a number of signal transmissions in the relaying phases.

## Appendix

The probability density function (pdf) of *w* can be derived, where *w* is the weighting function of the C-MRC signal combining technique, as follows,

Suppose that *X* and *Y* are independent exponential random variables, with densities *ae*^{−au} and *be*^{−bu}, *u* > 0, respectively. For any 0 < *x* <1 and *s* > 0, *a* is the channel variance between source to relay link, and *b* is the channel variance between relay to destination link.

For any 0 < x < 1, by the law of total probability (conditioned on *Y*)

Hence,

The probability density function is obtained by the derivative of (43). The ratio, called *R* (*R* = min (*X,Y*)/*Y*), has positive mass at *x* = 1; therefore, the density of R on (0,1) does not integrate to 1. Specifically, the probability density function *f*_{
R
} of R on (0,1) is given by

It holds

which is less than 1. This implies that *P*(*R* = 1) = *b*/(*a* + *b*). Indeed, *P*(*R* = 1) = *P*(min(*X*, *Y*) = *Y*)*P*(*Y* ≤ *X*), and hence, by the law of total probability (conditioning on *X*),

In summary, the ratio *R* is a random variable supported on [0,1]. It has a distribution function *F*_{
R
}, given by

and *F*_{
R
}(1) = 1.

Thus, *F*_{
R
} has jump discontinuity at *x* = 1, where

which is the probability *P*(*R* = 1). In particular, the density function of *R* exists only for *x* < 1. It is given by

and

Hence, given *a* being the variance of a random variable *x* and *b* being the variance of a random variable *y*, the pdf of *R* = min (*X,Y*)/*Y* could be expressed as

Substituting (51) into (31), we have an upper bound on the average SER as follows:

By using a partial fraction expansion technique, we can prove that

Hence,

where $\mathit{Xa}=\frac{{\mathit{N}}_{0}^{2}\mathit{ab}}{\left({\mathit{N}}_{0}+\left(-\frac{{\mathit{N}}_{0}}{\mathit{A}}-1\right)\mathit{C}\right){\left(\left(-\frac{{\mathit{N}}_{0}}{\mathit{A}}-1\right)\mathit{a}+\mathit{b}\right)}^{2}}$, $\mathit{Xb}=\frac{{\mathit{N}}_{0}^{2}\mathit{ab}}{\left({\mathit{N}}_{0}+\left(1-\frac{{\mathit{N}}_{0}}{\mathit{C}}\right)\mathit{A}\right){\left(-\frac{{\mathit{N}}_{0}}{\mathit{C}}\mathit{a}+\mathit{b}\right)}^{2}}$, $\mathit{Xc}=\frac{{\mathit{N}}_{0}^{2}\mathit{ab}}{\left({\mathit{N}}_{0}+\left(1-\frac{\mathit{b}}{\mathit{a}}\right)\mathit{A}\right)\left({\mathit{N}}_{0}-\frac{\mathit{b}}{\mathit{a}}\mathit{C}\right)}$, and $\mathit{Xd}=\frac{{\mathit{N}}_{0}^{2}\mathit{ab}-\mathit{Xa}{\mathit{N}}_{0}{\mathit{b}}^{2}-\mathit{Xb}\left({\mathit{N}}_{0}+\mathit{A}\right){\mathit{b}}^{2}-\mathit{Xc}\left({\mathit{N}}_{0}^{2}+{\mathit{N}}_{0}\mathit{A}\right)}{\left({\mathit{N}}_{0}^{2}+{\mathit{N}}_{0}\mathit{A}\right)\mathit{b}}$.

It could be verified that *Xa*, *Xb*, *Xc*, and *Xd* are invalid values of this expansion because these parameters will make the total probability of error less than zero, i.e., *P*_{psk} **<** 0. Therefore, we can reasonably ignore them. Finally, the total probability of error of the system can be shown as stated in equation (32)

## References

- 1.
Laneman JN, Tse DNC, Wornell GW: Cooperative diversity in wireless networks: efficient protocols and outage behavior.

*IEEE Trans Inform Theor*2004, 50: 3062-3080. 10.1109/TIT.2004.838089 - 2.
Alamouti SM: A simple transmit diversity technique for wireless communications.

*IEEE J Sel Area Comm*1998, 16: 1451-1458. 10.1109/49.730453 - 3.
Weifeng S, Sadek A, Liu AK: SER performance analysis and optimum power allocation for decode-and-forward cooperation protocol in wireless networks. In

*Paper presented at the IEEE Conference on Wireless Communication and Networking*. New Orleans; 13-17 March 2005 - 4.
Wang T, Cano A, Giannakis GB, Laneman JN: High-performance cooperative demodulation with decode-and-forward relays.

*IEEE Trans Wireless Comm*2007, 55(No. 7):1427-1438. - 5.
Hua Y, Mei Y, Chang Y: Wireless antennas – making wireless communications perform like wireless communications. In

*IEEE Topical Conference on Wireless Communication Technology*. Honolulu; 47-73. 15-17 Oct 2003 - 6.
Duong TQ, Dac-Binh H, Hoai-An T, Nguyen-Son V: Symbol error probability of Distributed-Alamouti scheme in wireless relay networks. In

*IEEE Vehicular Technology Conference, VTC spring, 2008*. Singapore; 648-652. 11-14 May 2008 - 7.
Chang Y, Hua Y: Diversity analysis of orthogonal space-time modulation for distributed wireless relays. In

*Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP '04)*. Montreal, Canada; 2004:561-564. 17-21 May - 8.
Atapattu S, Rajatheva N: Analysis of Alamouti code transmission over TDMA-based cooperative protocol. In

*Paper presented at the IEEE Vehicular Technology Conference, 2008*. VTC Spring 2008, Singapore; 11-14 May 2008 - 9.
Bletsas A, Shin H, Win MZ, Lippman A: A simple cooperative diversity method based on network path selection.

*IEEE Journal on Selected Areas in Communications*2006, 24(3):659-672. - 10.
Ikki SS, Ahmed MH: Performance analysis of adaptive decode-and-forward cooperative diversity network with best-relay selection.

*IEEE Transactions on Communications*2010, 58(1):68-72. - 11.
Adinoyi A, Fan Y, Yanikomeroglu H, Poor HV, Alshaalan F: Performance of selection relaying and cooperative diversity.

*IEEE Trans Wireless Comm*2009, 8(12):5790-5795. - 12.
Jin X, No JS, Shin DJ: Relay selection for decode-and-forward cooperative network with multiple antennas.

*IEEE Trans Wireless Comm*2011, 10(12):4068-4079. - 13.
Brennan DG: Linear diversity combining techniques.

*Proc IEEE*2003, 91(2):331-356. 10.1109/JPROC.2002.808163 - 14.
Swasdio W, Pirak C: A novel Alamouti-coded decode-and-forward protocol for cooperative communications. In

*IEEE Conference*. TENCON, Fukuoka; 2010:2091-2095. 21-24 Nov 2010 - 15.
Swasdio W, Pirak C, Ascheid G: Alamoti-coded decode-and-forward protocol with optimum relay selection for cooperative communications. In

*International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMIT)*. Budapest;5–7Oct 2011 - 16.
Weifeng S, Sadek A, Liu AK:

*Cooperative Communication and Networking*. Cambridge University Press, Cambridge; 2009. - 17.
Hasna MO, Alouini MS: End-to-end performance of transmission systems with relays over Rayleigh-fading channels.

*IEEE Trans Wireless Comm*2003, 2: 1126-1131. 10.1109/TWC.2003.819030 - 18.
Simon MK, Alouini MS:

*Digital Communication over Fading with Formulas, Graphs and Mathematical Tables*. 9th edition. Dover, New York; 1970. - 19.
Papoulis A:

*Probability, Random Variables, and Stochastic Processes*. McGraw-Hill, New York; 1991.

## Acknowledgements

This work is financially supported by the Thailand Research Fund (TRF) and the Office of the Higher Education Commission (OHEC) under the grant number MRG5080388.

## Author information

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

## About this article

### Cite this article

Swasdio, W., Pirak, C., Jitapunkul, S. *et al.* Alamouti-coded decode-and-forward protocol with optimum relay selection and power allocation for cooperative communications.
*J Wireless Com Network* **2014, **112 (2014) doi:10.1186/1687-1499-2014-112

#### Received

#### Accepted

#### Published

#### DOI

### Keywords

- Cooperative communications
- Alamouti coding
- Optimum relay selection
- Optimum power allocation