Optimization results for the parallel DF relaying with different number of nodes.

## Abstract

In this study, we evaluate the performance of differential evolution (DE) and particle swarm optimization (PSO) algorithms in free-space optical (FSO) and mobile radio communications systems. In particular, we obtain the optimal transmission distances for multiple-relay nodes in FSO communication systems and optimal relay locations in mobile radio communications systems for the cooperative-diversity networks, using both algorithms. We investigate the performance comparison of DE and PSO algorithms for the parallel decode-and-forward (DF) relaying. Then, we analyze the cost functions. Furthermore, we present the execution time and the stability of the DE and PSO algorithms.

### Keywords

- free-space optical communications
- cooperative-diversity networks
- optimal distance
- differential evolution algorithm
- particle swarm optimization algorithm

## 1. Introduction

The aim of the optimization was to provide the best-suited solution to a problem under the given constraints. The optimization algorithms have recently been much attention and gained significant importance in plenty of engineering problems [1–8]. In this study, we evaluate the performance analysis of differential evolution (DE) and particle swarm optimization (PSO) algorithms both in free-space optical (FSO) and in mobile radio communications systems.

FSO communications have been proposed as a solution for the various applications including fiber backup, and backhaul for wireless communications networks [9]. Despite the fact that the usage of FSO communications is widespread in major applications for wireless communications, the performance limitations for long-range links due to the atmospheric turbulence-induced fading have had profound impacts in FSO communications systems. The method used for relay-assisted FSO transmission links is one of the fading mitigation technique has attracted significant attentions recently in FSO communications networks [9–11]. In [9], the authors consider relay-assisted FSO communications and investigate the outage performance under serial and parallel scheme with amplify-and-forward (AF), and decode-and-forward (DF) relaying models. The authors in [10] consider a cooperative FSO communications via optical AF relay and investigate the bit error probability performance. Bit error rate (BER) analysis of cooperative systems in FSO networks is presented in [11]. The outage performance analysis of FSO communications is presented in both [12] and [13]. Kashani et al. [14] consider the diversity gain analysis and determine the optimal relay locations for both the serial and the parallel relaying schemes. Although cooperative transmissions have greatly been considered in the above manuscripts, to the best of the authors’ knowledge, there has not been any notable research for the relay-assisted FSO communications systems using the optimization algorithms. To fill the research gap, in this paper, we analyze the performance of both DE and PSO algorithms in terms of the transmission distances when applied for the parallel DF relaying in FSO systems. Moreover, we investigate the performance comparison of these two algorithms in respect to the execution time, cost, and stability analysis.

In our study, as a second part of this paper, we focus on dual-hop cooperative-diversity network to study the impact of the relay location between the source and the destination. Cooperative-diversity relay networks provide a significant performance increment in the radio frequency power transmission and the spatial diversity. They are also shown to be a promising solution to mitigate the signal fading arising from the multipath propagation in wireless communications [15, 16]. In the cooperative-diversity networks, relay terminals are employed between the transmitter and receiver nodes, over multiple communications routes, in which two main protocols are used as follows: (i) amplify-and-forward and (ii) DF [15–21].

Most of the previous publications have studied the cooperative-diversity performance over different fading channels [15–26]. In [15], the authors analyzed the cooperative-diversity network using AF cooperation protocol, operating over independent, but not necessarily identically distributed Nakagami-m fading channels. The paper in [17] addressed the multi-branch adaptive DF scheme for cooperative-diversity networks. The best relay selection scheme for cooperative-diversity network is studied in [18]. Furthermore, [19] investigated the advantage of the diversity over direct transmission and conventional non-cooperative relaying scheme. In all these papers, analytical framework for performance analysis of BER and the outage probability is provided [15, 17–19]. As far as we know, both DE and PSO algorithms have not been applied for obtaining the optimal location of the relaying terminal over Nakagami-m fading channel.

To fill the research gaps in mobile radio communications using cooperative-diversity relay network, in this paper, we provide an optimization algorithms results, indicating the optimal location of the relaying terminal in the parallel-relaying scheme.

In summary, for the first part of this paper, the key contributions are twofold:

First, the locations of each individual relay nodes and the transmission distances are optimized for the parallel DF relaying scheme in FSO systems. Second, and more importantly, none of the previous studies provide a comparison among optimization algorithms when applied for FSO systems. In this paper, we investigate the performance comparison of DE and PSO algorithms for the parallel DF relaying in respect to the execution time, cost, and stability analysis.

For the second part of this paper, there is a major contribution:

To fill the research gaps in cooperative-diversity relay network, we provide a rigorous data for the optimal location of the relaying terminal over Nakagami-m fading channel achieving the best error performance using both DE and PSO algorithms in the parallel relaying schemes.

The rest of this paper is organized as follows: The system model and performance analysis are discussed in Section 2 exploiting the DE and PSO algorithms. Section 3 provides the numerical results and simulations. Finally, the concluding remarks are given in Section 4.

## 2. System model and performance analysis using the optimization algorithms

### 2.1. FSO communications systems

This section presents the system model for FSO communications networks with parallel DF cooperative relaying protocol shown in Figure 1a. We consider that the FSO links between the source-to-relay (*S* → *R*_{j}, *j* = 1, 2, …, *M*) and relay-to-destination (*R*_{j} → *D*) are subjected to atmospheric turbulence-induced log-normal fading [1]. Here, the *j* index refers to the number of the relay nodes, where the maximum number of relay nodes (*R*_{j}) is defined with *M* (*j* = 1, 2, …, *M*) as shown in Figure 1a. Besides, the normalized path loss can be expressed as *ℓ*(*d*) and *ℓ*(*d*_{S,D}) are defined as the path losses for the distance of *d* and for the distance between source and destination (*d*_{S,D}), respectively [13, 14]. Here, *σ* is the atmospheric attenuation coefficient. In the same figure below, *j* − *th* decoding relay, and *j* − *th* relay and the destination where the relay nodes are placed on the straight line connecting the source and the destination.

In [14], the outage probability for the parallel DF relaying is expressed as follows:

where *Q* function, *M* is the relay number. Here, *P* is the power margin and defined by *P* = (*P*_{T}/*P*_{th}), where *P*_{T} is the total transmitted power, and *P*_{th} is the threshold value for the transmit power in case of no outage is available. *P*_{T} is expressed as *P*_{S} is the source power, and *P*_{j} is the power of the *j* − *th* relay [9]. In Eq. (1), the variance of the fading log-amplitude, *χ* is defined by *σ*_{χ}^{2}(*d*) = *min* {0.124 *k*^{(7/6)} *C*_{n}^{2} *d*^{(11/6)}, 0.5}, where *k* = (2*π*/*λ*) is the wave number, and *λ* is the wavelength [10]. The mean value of the fading log-amplitude is modeled as

In the outage probability of the parallel DF relaying scheme, there are 2^{M} possibilities for decoding the signal between *S* and *R*_{j}. In Eq. (1) the *i* index refers to the number of possible combinations where the *i* − *th* possible set is defined by *W*(*i*), and the possible set of distances between the relays and destination is given by *μ*_{ξ} is the mean value, and *σ*_{ξ} is the variance of the log-amplitude factor, also given in [9, 14].

For the optimization problem, a function is employed to minimize the outage probability for the parallel DF relaying, which can be written as *j* = 1, 2,...., *M*. Optimal transmission distance is maximized by optimizing the locations of the relays, at an outage probability of 10^{− 6} as modeled as follows [27]:

The flowcharts for the optimization of the transmission distance using DE and PSO algorithms are shown in Figures 2 and 3, successively.

### 2.2. Mobile radio communications systems using cooperative-diversity relay networks

A system, consisting of a source terminal (*S*), a cooperative relay terminal (*R*_{j}, *j* = 1, 2, …, *M*), and a destination terminal (*D*), is considered, as shown in Figure 1b. The source and the destination operate in half-duplex mode and both equipped with a single pair of transmit and receive antennas. Source communicates with the destination over both the direct link and relaying terminal links [17, 20]. The cooperation method is based on DF relaying in which the source information is decoded first and then retransmitted to the destination. We consider that the received signals from the source and the relays are combined together using the method of equal gain combining (EGC) [15, 17, 28]. We assume that the diversity paths between the source-to-relay terminals (*S* → *R*_{j}) and the relay terminals-to-destination (*R*_{j} → *D*) are independent non-identically distributed Nakagami-m fading. The direct link between the source and destination (*S* → *D*) has also Nakagami-m distribution. Besides, the additive white Gaussian noise (AWGN) terms of *S* → *D* link, *S* → *R*_{j} and *R*_{j} → *D* links have zero mean and equal variance of *N*_{0} [15, 17].

The source signal is transmitted with the energy of *E*_{s}, directly to the destination *D*, and the relays. The relays decode and transmit the multiple copies of the original source signal to the destination. Finally, at the destination, the direct and indirect links from the source and the relays are combined together. It should be noted that, at the destination, the total output signal-to-noise ratio (SNR) can be expressed as [15, 17]

where *S* → *D* link, between *S* and the *j* − *th* relay, and between the relay, *R*_{j} and the destination, successively [13, 14]. Note that, *h*_{S,D}, *S* → *D*, *S* → *R*_{j}, and *R*_{j} → *D* links, respectively [13]. Finally, a closed form for the error performance of the DF scheme for the cooperative-diversity relay network is given in [14] as follows:

where *β* = (*a*/*b*), *ς* = (*b* − *a*)^{2}/2, *υ* = (*b* + *a*)^{2}/2. In here, *a* and *b* are constant values depend on the modulation type. For instance, for differential binary phase shift keying (DBPSK) modulation *a* = 10^{− 3} and *γ*_{S,D}, where *m*_{S,D} is the fading parameter between the source and destination. In Eq. (4), *j* − *th* indirect relay link variable *ς* where *j* − *th* relay and the destination and *A*_{i} can be given for DBPSK modulation as *S* and *D*, *S* and the *j* − *th* relay, and *j* − *th* relay and the destination are denoted by *E*(.) is the statistical average operator, *d*_{x,y} is the distance, and *x* and *y*.

## 3. Numerical results and simulations

In this section, numerical and simulation results are presented for both FSO and mobile radio communication systems.

### 3.1. FSO communications systems

In this section, numerical results are presented. For the optimization algorithms, the parameters *λ* = 1550 *nm*, *σ* = 0.1, *P* = 9 dB are used, and totally 4 relays are evaluated. The cost function analysis is illustrated in Figure 4, for the DE and PSO algorithms in terms of the iteration number. It can be observed from the simulation results that the cost function for the PSO algorithm is minimized for the small number of iterations as compare to the DE algorithm. This result indicates that PSO outperforms DE in terms of the cost function. Here, the iteration number is set to 40, and the execution number is taken as 50.

Figure 5 shows the optimal *d*_{S,D} for the aforementioned algorithms. While 4 relays are used, *d*_{S,D} = 6.0547 km is calculated. For the each execution, PSO algorithm gives almost the same result. Therefore, it is obvious that PSO is more stable than the DE algorithm under the same setup.

It can be noticed from Figure 6 that the execution time for the PSO algorithm closely matches with the execution time of the DE algorithm for different number of relays.

Figure 7 shows the optimization results for the locations of each individual relay nodes. Accurate relay placements are obtained for *P* = 9 dB and 4 relays (*R*_{j}, *j* = 1, 2, 3, 4). The optimization results indicate that if the places of each individual relay nodes are similar, regardless of the relay number and the *P* value, better performance is achieved. Figure 7 clearly shows that the optimal places of the relay nodes for both algorithms are calculated as

Finally, the impact of the varying *P* on the optimal transmission distance for the DE and PSO algorithms is depicted in Figure 8. It can be seen from the below figure that the optimal transmission distance increases with *P* and the results for both algorithms closely match with each other for all *P* values.

The detailed optimization results with the DE and PSO algorithms for DF parallel relaying scheme are given in Table 1. Here, the results for the optimal transmission distances and optimal relay locations are listed for various *P* values, where *d*_{S,D} is the distance between the source and the destination (*S* → *D*) and *j* − *th* relay (*S* → *R*_{j}, *j* = 1, 2, …, *M*). Based on the numerical optimization results provided in Table 1, while the number of relays is increased, the relays are obliged to get close up to the source, and the distance between the source and the destination is shortened in low *P* region, as expected [31].

P(dB) | 2 Relays | 3 Relays | ||||||
---|---|---|---|---|---|---|---|---|

DE | PSO | DE | PSO | |||||

Optimald_{S,D} (km) | Optimal | Optimald_{S,D} (km) | Optimal | Optimald_{S,D} (km) | Optimal | Optimald_{S,D} (km) | Optimal | |

0 | 0.6323 | 0.2608 | 0.6323 | 0.2608 | 0.4017 | 0.1464 | 0.4016 | 0.1463 |

3 | 2.0304 | 0.8562 | 2.0304 | 0.8562 | 2.0453 | 0.7813 | 2.0453 | 0.7813 |

6 | 3.5568 | 1.5653 | 3.5568 | 1.5653 | 3.8708 | 1.6044 | 3.8708 | 1.6044 |

9 | 5.1021 | 2.3490 | 5.1021 | 2.3490 | 5.6697 | 2.5207 | 5.6697 | 2.5207 |

12 | 6.6391 | 3.1868 | 6.6392 | 3.1868 | 7.4014 | 3.4801 | 7.4014 | 3.4801 |

15 | 8.1326 | 4.0077 | 8.1326 | 4.0077 | 9.0656 | 4.4476 | 9.0656 | 4.4476 |

P(dB) | 4 Relays | 5 Relays | ||||||

0 | 0.2276 | 0.0756 | 0.2276 | 0.0756 | 0.2276 | 0.0756 | 0.2276 | 0.0756 |

3 | 2.0541 | 0.7280 | 2.0541 | 0.7280 | 2.0541 | 0.7280 | 2.0541 | 0.7280 |

6 | 4.0930 | 1.6114 | 4.0930 | 1.6114 | 4.0930 | 1.6114 | 4.0930 | 1.6114 |

9 | 6.0547 | 2.6065 | 6.0547 | 2.6065 | 6.0547 | 2.6065 | 6.0547 | 2.6065 |

12 | 7.9173 | 3.6665 | 7.9173 | 3.6665 | 7.9173 | 3.6665 | 7.9173 | 3.6665 |

15 | 9.6952 | 4.7477 | 9.6952 | 4.7477 | 9.6952 | 4.7477 | 9.6952 | 4.7477 |

### 3.2. Mobile radio communications systems

The error performance of the DF scheme for the cooperative-diversity relay network is illustrated in Table 2 with varying path loss exponent for different values of *E*_{s}/*N*_{0} when *M* = 1. The optimal relay placement (*d*_{S,R}) values to minimize the total error rate where the best minimum of *P*(*e*) is achieved for the proposed system are calculated with the help of DE and PSO algorithms.

Figure 9 shows the best BER performance for the considered system versus *E*_{s}/*N*_{0} when *M* = 1. The results clearly show that BER significantly decreases with the increase *E*_{s}/*N*_{0}. In the same figure, the path loss exponent (∈) is varied from 3 to 5.

Figure 10 demonstrates the effect of ∈ on the distance between source and the relay terminal (*d*_{S,R}) with varying *E*_{s}/*N*_{0}. This figure is plotted for

Table 3 shows that, the optimal *d*_{S,R} can be calculated where the best minimum of *P*(*e*) is achieved with varying *E*_{s}/*N*_{0} for different values of ∈ when *M* = 1.

The best BER performance for the considered system is depicted in Figure 11 when *M* = 1. It is seen that, for a fixed *E*_{s}/*N*_{0}, the performance of the considered system increases while ∈ increases.

The variation of the optimal *d*_{S,R} with varying *E*_{s}/*N*_{0} for different values of ∈ is depicted in Figure 12. We assume

Finally, the ROC (receiver operating characteristics) curves for ∈ = 4 are depicted in Figure 13. The fading parameters are set to be *E*_{s}/*N*_{0}.

## 4. Conclusions

In this paper, we present a comprehensive performance comparison of the DE and PSO algorithms both in FSO and in mobile radio communications systems. For the first part, we investigate the optimal transmission distances for different number of relay nodes and power margin values in the parallel DF relaying scheme. Moreover, we analyze the cost function and the execution time for the DE and PSO algorithms. As a second part of this paper, we consider the cooperative-diversity relay network for the mobile radio communications systems operating over Nakagami-m fading channel. We provide a rigorous data for the optimal locations of the relaying terminal in the parallel DF relaying scheme using DE and PSO algorithms. Then, we analyze the bit error probability with varying *E*_{s}/*N*_{0} using different values of path loss exponent, ∈ and fading parameters of *m*_{S,D},

We demonstrate that the cost functions are suitably minimized proving the accuracy of the employed optimization algorithms. We find out that both algorithms have similar execution time, besides PSO is more stable than the DE algorithm. Furthermore, the PSO algorithm outperforms DE algorithm with regard to the cost function. It should be emphasized that both optimization algorithms are reliable and can be used for the applications both in the FSO and mobile radio communications systems.