RIS-Assisted D2D Communication over Nakagami-m Fading with RSMA

In this study, we investigated reconfigurable intelligent surface (RIS)-assisted device-to-device (D2D) communication systems over Nakagami-m fading channels. To enhance the reliability of RIS-assisted D2D communications, we utilized the rate-splitting multiple access (RSMA) technique to maximize the achievable ergodic rate for our considered systems. Specifically, both devices decoded the common symbol by treating private symbols as interference, and then each private symbol was decoded by treating the other as interference. In order to maximize the achievable ergodic rate at the destination, we analyzed the achievable ergodic rate of the RIS link and the D2D link, and the destination jointly decoded both symbols transmitted from the source and device by involving the maximum ratio combination (MRC). We obtained a closed-form expression for the achievable ergodic rate of the proposed RIS-assisted D2D communication system. Finally, we investigated the influence of power allocation factors and the number of reflective elements on the achievable ergodic rate. As seen by the numerical results, there was a good match between the analysis and simulation results, as well as significant superiority compared with existing works.


Introduction
In recent years, device-to-device (D2D) communication has been widely regarded as one of the key technologies in 5G.However, D2D communication is largely limited by the propagation environment.As an emerging technology, a reconfigurable intelligent surface (RIS) is able to dynamically and intelligently regulate the channel environment, which can be used to solve the issue of a poor propagation environment [1].An RIS is considered a significant breakthrough in existing wireless communication technologies [2], particularly playing a crucial role in the 5G and upcoming 6G eras [3].An RIS consists of a large number of low-cost passive reflective elements integrated on a plane, which can be controlled through a pre-programmed controller [4].Each reflective component of an RIS can independently adjust the amplitude and/or phase of the incident signal so that it achieves precise three-dimensional reflection beamforming.Moreover, it is able to intelligently reconfigure the wireless propagation environment, which makes the channel state information (CSI) controllable and significantly improves the performance of wireless communication networks [5].In [6], the closed-form expressions of the outage probability and channel capacity over Rice fading channels are provided.The authors derived a closedform expression for the tight upper bound of the achievable ergodic rate of RIS-assisted D2D systems over Nakagami-m fading channels [7].In [8], an efficient active elements selection (AES) algorithm was proposed to enhance the system performance for hybrid RIS-assisted D2D communication systems, where a subset of RIS elements was selected from the whole elements set to connect with power amplifiers, serving as the active RIS, while the others reflected the incident signals passively, serving as the passive RIS.In [9], the achievable ergodic rate of cooperative relay systems over Nakagami-m fading channels were analyzed.A novel RIS-aided joint simultaneous wireless information and power transfer (SWIPT)-mobile edge computing (MEC) system was considered in [10], where the user could maximize the saved energy by optimizing the RIS reflection coefficients to simultaneously cater to both energy harvesting and task offloading.Ref. [11] proposes a novel approximate method to evaluate the channel performance of cascaded RIS-aided wireless networks with phase errors over Nakagami-m fading channels.Novel RIS-based energy harvesting (EH) systems with linear EH (L-EH) and non-linear EH (NL-EH) models over Nakagami-m fading channels are presented in [12], where the closed-form expressions of throughput, outage probability, and average harvested power were derived.
With the exponential growth of device connectivity, data traffic will also result in much interference [13].Therefore, a technology is needed to improve anti-interference performance while simultaneously maintaining high spectral efficiency and high energy efficiency during large-scale connections [14].Non-orthogonal multiple access (NOMA) provides a higher data rate, spectral efficiency, and energy efficiency compared with traditional orthogonal multiple access (OMA), which can be used to solve the aforementioned problem [15].However, NOMA has a serious problem, which requires a large number of successive interference cancellation (SIC) operations, which will result in high computational complexity.For a large number of users, some users in NOMA must decode their own information under high interference from other users.To overcome this problem, rate-splitting multiple access (RSMA) technology was proposed.RSMA adopts a singlelayer SIC, where common user information is extracted and divided into separate common information flows, and each user's private information is divided into multiple private information flows [16].Compared with NOMA, the interference in RSMA is reduced by partially treating the interference as noise [17,18].Multiple studies showed that RSMA is a strong contender for the future of wireless communications.For example, ref. [19] solved the non-convex sum-rate maximization problem in RSMA first.The authors showed that the uplink RSMA is more reliable compared with uplink NOMA in communication with finite block length codes [20].Ref. [21] investigated RSMA in short-packet communication and demonstrated that RSMA with smaller block lengths achieves the same maximumminimum fairness rate as NOMA and space division multiple access (SDMA).Ref. [22] first adopted the data-oriented approach in downlink RSMA systems.The authors addressed the problem of the orthogonal frequency division multiplexing (OFDM) waveform under linear time-varying (LTV) channels by considering RSMA in [23].Although RSMA is an important multiple access technology that outperforms other contemporary multiple access techniques in terms of throughput, it still requires low latency and high reliability.
In [24], an RIS-assisted unmanned aerial vehicle (UAV)-based vehicular communication system was investigated, and the outage performance of the availability of direct UAV-desired vehicle equipment (DVE) link under an interference-limited scenario was analyzed.The RIS-assisted RSMA communication system where a base station broadcast signals to multiple users with a dedicated RIS was considered in [25].The expression of the outage probability was derived for the scenarios of optimal and discrete phase shifts.Referring to [24,25], they mainly investigated the outage performance of RIS-assisted communication systems with RSMA, while we utilized the maximum ratio combination (MRC) to obtain a higher achievable ergodic rate and derived the closed-form expression of it.
According to the above studies, an RIS is clearly an effective technology that can be used to improve the communication environment of D2D systems.In this study, we attempted to analyze the achievable ergodic rate of the proposed RIS-assisted D2D communication system over a Nakagami-m fading channel, which can model general communication environments, including Rayleigh and Rician fading.The main contributions are summarized as follows: • We propose an RIS-assisted communication system consisting of a source, an RIS, and two near and far devices, where the far device is beyond the coverage of the source, and the RIS is used to assist the far device communication.The achievable ergodic rate of the proposed system over a Nakagami-m fading channel was analyzed.

•
We carried out the analysis of the achievable ergodic rate of RIS and D2D links with RSMA and then combined their signals by an MRC scheme, which could help to obtain a higher achievable ergodic rate compared with conventional RIS-assisted D2D communication systems.Furthermore, we derived the closed-form expression of the achievable ergodic rate at the destination, where our proposed scheme performed better than the previous benchmark.

•
The influence of power allocation factors and the number of reflective elements on the achievable ergodic rate were also investigated, where the optimal number of RIS elements was found for the proposed system.The numerical results verified the correctness of our analysis, as well as the superiority of the proposed scheme compared with a conventional scheme.

System Model
As shown in Figure 1, we considered a cooperative scenario that consists of a source S, an RIS R, and two devices D 1 and D 2 .S and both devices D 1 and D 2 are equipped with a single antenna.The RIS containing N passive reflective elements is deployed between S and D 2 , and it is closer to S. In addition, D 1 is another device between S and D 2 , where it receives a signal from S and transmits the signal to D 2 .Since the channel S to D 2 is blocked, D 2 is beyond the coverage of S. In a conventional D2D communication system, the destination-received signal is only from device D 1 .This means that the achievable ergodic rate at the destination is low.Thus, the transmission from S to D 2 requires the assistance of an RIS to help improve the performance of the wireless communication.The channels S-R, R-D 2 , S-D 1 , and D 1 -D 2 are respectively denoted by h SR ∈ C N×1 , h RD 2 ∈ C N×1 , h SD 1 , and h D 1 D 2 , which follow independent and identical Nakagami-m distributions.There are two phases involved in the whole transmission.In the first phase, the source broadcasts symbols s c , s 1 , and s 2 to the RIS and D 1 , where s c stands for the common symbol and s 1 and s 2 are private symbols for D 1 and D 2 , respectively.By adopting the superposition coding, the transmitted signal is in the from of √ a c * P t s c + √ a 1 * P t s 1 + √ a 2 * P t s 2 , where a c , a 1 , and a 2 , with a c + a 1 + a 2 = 1, denote the power allocation factors, and P t stands for the total transmitted power.Since the decoding scheme is RSMA, s c should be allocated more transmission power than s 1 and s 2 , i.e., a c > a 1 + a 2 .The received signal at D 1 is thus given by where n δ , for δ ∈ {SR, SD 1 , RD 2 , D 1 D 2 }, is the additive white Gaussian noise (AWGN), which has a zero mean and variance σ 2 .Then, the RIS reflects the symbols to D 2 in the same phase, where the signals at D 2 reflected from the RIS can be given by the reflecting coefficients can be fully represented by the diagonal matrix Θ = ηdiag(exp jθ 1 , . . ., exp jθ N ), where η ∈ (0, 1] is the fixed amplitude reflection coefficient and {θ 1 , . . ., θ N } are the phase-shift variables that can be optimized by the RIS.
In the second phase, D 1 forwards the decoded symbols s c and s 2 to D 2 .The transmitted signal is in the form of (3) 2.1.Recent Scheme Revisited D 2 decodes s c and s 2 from the RIS and D 1 decodes s c , s 1 , and s 2 from the source in the first phase.Since the decoding scheme is RSMA, D 2 decodes the common symbol s c first by treating s 1 and s 2 as noise and then decodes the private symbol s 2 by treating s 1 as noise, where the signal-to-interference-plus-noise ratios (SINRs) for s c and s 2 at D 2 are respectively given by γ By the same scheme, the SINRs for s c , s 1 , and s 2 at D 1 can be The received SINRs of s c and s 2 at D 2 in the second phase are respectively given by γ To ensure the decoding correctness, the achievable SNRs for s c and s 2 at the D2D link should be

Proposed Receiver Design
In the RIS-assisted D2D system, the channel of S-D 2 is blocked, for which we need an RIS and another device to help transmit the symbols.To enhance the reliability, we leveraged RSMA to decode the received signals.In particular, the common symbol s c is decoded first at either D 1 or D 2 , and the private symbol follows after the SIC.The MRC is adopted by combining y RD 2 and y D 1 D 2 to develop spatial diversity and improve the transmission SINRs of the symbols s c and s 2 at D 2 .
The achievable rate of s c is given by R c = 1 2 log 2 (1 + γ c ), where and that of s , where

Achievable Ergodic Rate Analysis
In this section, we analyze the achievable ergodic rate of the RIS and D2D channels, respectively.To simplify the analysis, the ideal passive beamforming (IPB) with perfect channel estimation (PCE) is considered at the RIS, and all elements have the same reflection amplitude.Note that the equivalent channel , and a 2 x a 1 x+1 are all monotonically increasing functions, their related composite functions (Equations ( 4) and ( 5)) are also monotonically increasing.Consequently, the maximum rate will be achieved when the phase shifts are selected as , which means that every term has the same phase as h SD 2 .
Therefore, we can obtain Equations ( 15) and ( 16), which are given by γ C(I)

Analysis for RIS
For an RIS-assisted D2D communication system over Nakagami-m fading, we first denote Y = η|h SR | n |h RD 2 | n and X = ∑ N n=1 Y. Since the channels are independent, we obtain The Nakagami-m fading channel can be expressed by where m i indicates the fading severity parameter of the link and Ω i stands for the scale parameter for i ∈ {h SR , h RD 2 , h SD 1 , h D 1 D 2 }.Through mathematical deduction, we can can further obtain Denoting as the mean and variance of X, from [7], we can obtain the expressions of µ X and δ 2 X as and Using Jensen's inequality: the achievable ergodic rate at the RIS channel can be expressed by where r * ∈ {r RIS c , r RIS p } and γ * ∈ {γ (a 2 +a 3 )x+1 and a 3 x a 2 x+1 are concave, Jensen's inequality is used to provide the upper bounds on their expected values: E[γ From Equations ( 26) and ( 27), it is clear that a 1 x (a 2 +a 3 )x+1 and a 3 x a 2 x+1 monotonically increase; therefore, we further derive its achievable ergodic rate, which is shown as ). (31)

Analysis for D2D Communication
In this section, the achievable ergodic rate of the D2D communication is characterized over Nakagami-m fading channels.For better readability, we donate λ i = ρβ i , where , and the probability distribution function (PDF) and cumulative distribution function (CDF) of λ i can respectively be given as where ρ = P t δ 2 stands for the transmission SNR.The achievable ergodic rate of the D2D links can be rewritten as The closed form of the achievable ergodic rate of the D2D link can be given as where r case1 c , r case2 c , r case1 p , and r case2 p can be obtained by Equations (A6)-(A9), which are found in Appendix A. Similarly, the achievable ergodic rate of the RIS-assisted D2D communication system can be calculated by where r RIS c + r RIS p can be obtained by Equation (31).

Numerical Results
In this section, we provide the results of simulations performed to evaluate the performance of the considered RIS-assisted D2D communication system over Nakagami-m fading.In addition, m was set as 2 for all links; Ω was set as 1 for the S-R link and 5 for R-D 2 , S-D 1 , and D 1 -D 2 links; δ 2 was set to −70 dBm; the reflection coefficient η i was set to 1; and the power allocation coefficients were set to a c = 0.7, a 1 = 0.1, and a 2 = 0.2.All the Monte Carlo results were obtained over 10 6 independent realizations.Note that all the parameters, such as the channel fading parameter and reflective coefficient, as well as the network topologies, could be set arbitrarily.
Figure 2 displays the analytical achievable ergodic rate under different numbers of reflective elements, which were set to (N 1 , N 2 , N 3 ) = (100, 200, 300).The curves of the Monte Carlo simulations were also plotted to evaluate the correctness of the closed-form expressions.The simulations and analysis given in the graph legend respectively indicate the Monte Carlo simulation results and the results of our analytical closed form of the achievable ergodic rate, which are presented in Equation (36).In the high-SNR region, the analytical achievable ergodic rate was generally close to the Monte Carlo simulations under different numbers of reflective elements, demonstrating the correctness of our theoretical analysis.Figure 3 compares our proposed RIS-assisted D2D communication system to a conventional D2D communication system, where the number of reflective elements was set to N = 100, showing that our proposed scheme was significantly superior to existing works.It is obvious that an RIS is an excellent technology that can be used to effectively improve the communication performance of D2D systems.Figure 4 plots the achievable ergodic rate in devices D 1 and D 2 under different private power allocation factors.We set the power allocation of the common symbol s c to a c = 0.7.The figure illustrates that as the achievable ergodic rate of D 2 increased, the rate of D 1 decreased since given the power allocation factor of common symbol was fixed, the power allocation factors of the two private symbols assumed the inverse correlation.Thus, the impact of the achievable ergodic rate in D 1 should be considered while improving the rate of s 1 based on fairness.The relationship between the achievable ergodic rate and the number of reflective elements is demonstrated with different SNRs in Figure 5, assuming that (SNR 1 , SNR 2 , SNR 3 ) = (5,15,25).It is clearly observed that the achievable ergodic rate increased rapidly when the number N belonged to 50-70, and increased a little in other intervals.Therefore, we worked out the optimal number of RIS reflective elements in this system to be N = 70, which could effectively improve the achievable ergodic rate while reduce the waste of the RIS reflective elements.

Conclusions
In this study, we focused on RIS-assisted D2D communication systems over Nakagamim fading.We derived the closed-form expression of the achievable ergodic rate for an RIS link and a D2D link.We used simulation results to verify the numerical solution and investigated the influence of power allocation factors on the achievable ergodic rate.In the high-SNR region, the achievable rate became a constant value.Furthermore, we compared our proposed RIS-assisted D2D scheme to a conventional D2D scheme, which showed significant superiority compared with existing works.Furthermore, we also studied the relationship between the achievable ergodic rate and the number of reflective elements, where the optimal number of RIS elements was found for the proposed system.Finally, in future works, we will analyze RIS-assisted and D2D systems in near-field communication and the system performance will be analyzed.
√ a c * P t s c + (1 − a c ) * P t s 2 .The signals at D 2 transmitted from D 1 are given by

Figure 4 .
Figure 4. Achievable ergodic rates of D 1 and D 2 versus a 2 .

Figure 5 .
Figure 5. Achievable ergodic rate versus the number of RIS elements with different SNRs.