Open Access
This article is

- freely available
- re-usable

*Sensors*
**2019**,
*19*(3),
736;
https://doi.org/10.3390/s19030736

Article

NOMA-Assisted Multiple Access Scheme for IoT Deployment: Relay Selection Model and Secrecy Performance Improvement

^{1}

Wireless Communications Research Group, Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City, Vietnam

^{2}

Industrial University of Ho Chi Minh City (IUH), Ho Chi Minh City, Vietnam

^{3}

Department of Telecommunications, VSB—Technical University of Ostrava, 708 00 Ostrava, Czech Republic

^{*}

Author to whom correspondence should be addressed.

Received: 8 January 2019 / Accepted: 7 February 2019 / Published: 12 February 2019

## Abstract

**:**

In this paper, an Internet-of-Things (IoT) system containing a relay selection is studied as employing an emerging multiple access scheme, namely non-orthogonal multiple access (NOMA). This paper proposes a new scheme to consider secure performance, to be called relay selection NOMA (RS-NOMA). In particular, we consider metrics to evaluate secure performance in such an RS-NOMA system where a base station (master node in IoT) sends confidential messages to two main sensors (so-called NOMA users) under the influence of an external eavesdropper. In the proposed IoT scheme, both two NOMA sensors and an illegal sensor are served with different levels of allocated power at the base station. It is noticed that such RS-NOMA operates in two hop transmission of the relaying system. We formulate the closed-form expressions of secure outage probability (SOP) and the strictly positive secure capacity (SPSC) to examine the secrecy performance under controlling setting parameters such as transmit signal-to-noise ratio (SNR), the number of selected relays, channel gains, and threshold rates. The different performance is illustrated as performing comparisons between NOMA and orthogonal multiple access (OMA). Finally, the advantage of NOMA in secure performance over orthogonal multiple access (OMA) is confirmed both analytically and numerically.

Keywords:

relay selection; NOMA; IoT; secure outage probability; strictly positive secure capacity## 1. Introduction

Any eavesdropper is able to disturb the signal easily due to the broadcasting environment of wireless communication. At the application layer (i.e., highest layer), encryption methodology using cryptography is conventionally implemented to assurance the secure information transmission. Nevertheless, to tackle with situation of speedy growth of computer networks, these procedures and secure keys become ineffective ways, especially in increasing computing capability [1]. Additionally, great encounters in secure communications include the security of key transmission, the complexity of key management, and distribution [2]. Consequently, physical layer security (PLS) is an effective way to fight eavesdropping and diminish the overhearing information and it is considered as an extra data fostering key encryption technology as in [3,4].

To provide a network access technique for the next generation of wireless communications, an emerging multiple access scheme, namely, non-orthogonal multiple access (NOMA) transmission was proposed in many works such as [5]. The power domain and channel quality are acquired to exploit different performance of NOMA users regarding multiple access. As a main characterization, a significantly strengthened performance results from NOMA users with good channels, while relatively poor performance is seen in NOMA users with bad channel conditions [6]. Combining NOMA with cooperative communication [7,8,9], cooperative NOMA (C-NOMA) transmission scheme is proposed as a possible solution to generate a unique system in which users with better channel circumstances assist forwarding signal to distance users who are affected in situations of worse channels [7,10].

To achieve an advantage of the diversity related to wireless channels in relaying networks, a relay selection scheme has been broadly implemented and considered as improving the quality of the transmission [11]. Especially, a relay network is introduced in some technical deployment snapshots of the IoT devices of SmartBridge, SmartDIMES, and SmartSenSysCalLab [12]. Two policies in energy harvesting architecture inclusing time switching (TS) relaying, power splitting (PS) relaying are empoyed with NOMA and it is considered as suitable deployment of wireless powered IoT relay systems [13]. In a practical scenario, main technologies for wireless communication systems (for example LTE) are required to deploy multiuser selection or scheduling schemes. In addition, the relay selection scheme under NOMA networks is introduced and analysed in recent works [14,15,16]. A great improvement in the QoS of the system is resulted from a system model which combines cooperative relay and NOMA. In particular, a two-stage relay selection is proposed and derived with respect to closed-form expressions on outage probability and they are obtained in cooperative systems using decode-and-forward as in [14]. The approximate and asymptotic expressions on average sum rate are examined as combining relay selection and amplify-and-forward (AF) assisted NOMA [15]. Moreover, by analyzing the outage probability and its asymptotic results, a partial relay selection scheme is studied in [16]. The fixed and adaptive power allocations (PAs) at the relays are introduced in cooperative NOMA to consider two optimal relay selection schemes, namely as the two-stage weighted-max-min (WMM) and max-weighted-harmonic-mean (MWHM) schemes [17]. On the orther hand, to improve the performance in throughput and coverage, new model is exploited as combining the orthogonal frequency division multiple access (OFDMA) and cooperative multicast (CM) technology to perform the intra-cooperation of multicast group (MG) [18]. In other systems, relay selection (RS) non-orthogonal multiple access (NOMA) is studied in terms of the diversity orders by deployment of RS schemes for full-duplex /half-duplex communications [19].

Furthermore, power allocation and user scheduling are discussed as the other encounters in NOMA networks [20]. To improve the NOMA’s performance, power distribution therein shows a major characterization affecting different user’s performance since certain power partitions which are allocated for multiple superposed users, and this topic fascinates a lot of study. For instance, fixed power allocation scheme is deploy to serve two NOMA users and its performance is evaluated by employing the closed-form expression of outage probability and ergodic sum-rate in [21]. In addition, a general two-user power allocation algorithm is proposed by overcoming the drawbacks of fixed power distribution in NOMA network [22]. On the other hand, fairness performance of NOMA network is resulted by varying power allocation factors as investigation in [23]. While sum rate maximization and proportional fairness criteria under impact of the power allocation algorithms is studied for two user NOMA networks in [24].

On the other hand, stochastic geometry networks are exploited regarding the physical layer security to apply to 5G NOMA networks in [25]. To enhance the secrecy performance for single antenna and multiple-antenna stochastic geometry networks two dissimilar schemes were considered as extended work of [25] and detailed contribution can be observed in [26]. Furthermore, the optimal decoding order, power allocation and transmission rates are important metrics to evaluate and exhibit a new design of NOMA under secrecy considerations [27]. A single-input single-output (SISO) system serving NOMA scheme was investigated in terms of secure performance in [28]. In such system, optimal power allocation policy is proposed to highlight advantage of secrecy performance of NOMA compared with that in the conventional OMA [28]. The authors in [29] exploited physical layer security in downlink of NOMA systems [29] and both the exact and asymptotic secrecy outage probability (SOP) were investigated to examine secure performance of the SISO and MISO NOMA systems. In other trend of research, two transmit antenna selection (TAS) schemes were proposed to perform secure performance evaluation in cooperative NOMA networks in [30], and then the closed-form formula of the ergodic secrecy rate was achieved. To the best of the authors’ knowledge, there are few works related to the analysis of the physical layer security in relay selection NOMA systems. Thus, this is the main motivation of this work.

From the above analysis, it is worth noting that a few studies have considered the technical design of NOMA relaying architecture against the unwanted eavesdropper with appropriate secrecy. This paper aims to exploit the advantage of relay selection to improve system performance of IoT deploying NOMA. In particular, this motivates us to design secure NOMA schemes for the practical IoT scenario where the relay is selected to forward signal with enhanced performance at NOMA receivers. In this scenario, we use the secrecy probability to measure the secrecy performance of the system since the perfect secrecy rate is usually not obtained, and hence, it can not be evaluated as the secrecy metric. We highlight that the SOP and SPSC are appropriate secrecy metrics for security consideration in the NOMA systems.

The primary contributions of the paper are summarized as follows:

- Targeting the secrecy outage constraint, we comprehensively study the design of NOMA-assisted IoT system against the external eavesdropper. The transmit signal to noise ratio (SNR) at the base station (BS), transmission rates, and power allocated factors to each user are considered as main parameters. These values need be determined in design of RS-NOMA. For the first time, we analytically prove that the relay selection provides improved secure performance at higher number of relay for RS-NOMA.
- For Decode-and-Forward (DF) mode, we show that the outage behavior of RS- NOMA scheme is superior to that of OMA scheme in the specific SNR region. Furthermore, we confirm that the RS-NOMA scheme depends on how strong the eavesdropper channel is. In fact, SOP and SPSC of far user depend on the number of relay selected.
- Both analytically and numerically, the exactness of derived expressions is verified and we compare the performance of the NOMA scheme with that of the OMA scheme in the studied problems with the secrecy outage constraint.

The remainder of this paper is organized as follows. In Section 2, the system model is introduced. The detailed analysis in terms of SOP metric is proposed in Section 3. In Section 4, we derive an exact expression of SPSC in RS-NOMA. Section 5 presents the benchmark of OMA scheme for further evaluation. Numerical results are presented in Section 6. Concluding remarks are given in Section 7.

The main notations of this paper are shown as follows: $\mathrm{E}\left\{\xb7\right\}$ denotes expectation operation; ${f}_{X}\left(.\right)$ and ${F}_{X}\left(.\right)$ stand for the probability density function (PDF) and the cumulative distribution function (CDF) of a random variable X.

## 2. System Model of Secure Analysis for DF Relay Selection

Figure 1 represents the considered RS-NOMA assisted IoT system including a base station (BS), multiple relays (i.e., K relays), two main sensors (D1, strong user, and D2, poor user), and an eavesdropper (E) in an IoT network. In such a system model, the BS is located in the cell-center, strong user D1 and E are located near with the BS while the poor user D2 is very close to the cell-edge. In this situation, it is assumed that there is no direct links between BS and the poor user due to high obstructions or deep fading. However, quality of transmission from the BS to D2 will be improved by employing relay selection scheme. We further assume that single antenna is equipped at all nodes in the RS-NOMA network and each link employing channels associated with independent Rayleigh fading. As most expectations in the literature, it is assumed that E can acquire the signals transmitted from the BS.

The channel coefficients from the BS to relay $k,k=1,2,\dots ,K$ and the eavesdropper are denoted by ${h}_{SRk}$ and ${h}_{E}$, respectively. Next, the channel coefficient from the BS to near NOMA user is ${h}_{D1}$, while ${g}_{kD2}$ is denoted as channel coefficient between relay k and D2. These channels are normalized as Rayleigh fading channel. We assume the quasi-static block fading model adopted; it means the channel coefficients are kept constant during the transmission of one message, which includes a block of symbols, and adjust independently of one block to the next block. We call ${P}_{S}$ is transmit power at the BS, ${\alpha}_{1}$, ${\alpha}_{2}$ are power allocation factors for two NOMA users and they satisfy ${\alpha}_{1}+{\alpha}_{2}=1$. It is noted that ${x}_{1}$, ${x}_{2}$ are simultaneous transmissions from the BS to serve two NOMA users D1, D2 respectively. In addition, we denote ${w}_{U}$ as Additive white Gaussian noise (AWGN) term at node U.

As a fundamental principle of RS-NOMA, the transmitter is enabled to simultaneously assist multiple users. To perform this task, the superposition coding (SC) is deployed in the transmitter to conduct a linear combination of multiple signals to serve the users. The composed signal ${x}_{S}^{NOMA}$ is transmitted from the BS to all relays and two NOMA users in the first phase, which is shown as

$${x}_{S}^{NOMA}=\sqrt{{\alpha}_{1}{P}_{S}}{x}_{1}+\sqrt{{\alpha}_{2}{P}_{S}}{x}_{2}.$$

The received signal at D1 in the direct link is expressed by

$$\begin{array}{cc}{y}_{SD1}^{NOMA}\hfill & ={h}_{D1}{x}_{S}^{NOMA}+{w}_{D1}\hfill \\ & ={h}_{D1}\left(\sqrt{{\alpha}_{1}{P}_{S}}{x}_{1}+\sqrt{{\alpha}_{2}{P}_{S}}{x}_{2}\right)+{w}_{D1}.\hfill \end{array}$$

Here, it is AWGN noise and variance of ${\sigma}_{0}^{2}$.

The received signal at ${R}_{k}$ is given by

$$\begin{array}{cc}{y}_{SRk}^{NOMA}\hfill & ={h}_{SRk}{x}_{S}^{NOMA}+{w}_{R}\hfill \\ & ={h}_{SRk}\left(\sqrt{{\alpha}_{1}{P}_{S}}{x}_{1}+\sqrt{{\alpha}_{2}{P}_{S}}{x}_{2}\right)+{w}_{Rk}.\hfill \end{array}$$

In this paper, it is assumed that users are not arranged by their channel conditions. Under such considered RS-NOMA scheme, ${x}_{2}$ can be detected at user 1 before using successive interference cancellation (SIC) [6]. Therefore, the received instantaneous signal-to-interference-noise ratio (SINR) of the user D1 can be given as SNR to detect ${x}_{2}$ as

$$\begin{array}{c}{\gamma}_{SD1,x2}^{NOMA}=\frac{{\alpha}_{2}{P}_{S}{\left|{h}_{D1}\right|}^{2}}{{\alpha}_{1}{P}_{S}{\left|{h}_{D1}\right|}^{2}+{\sigma}_{0}^{2}}=\frac{{\alpha}_{2}{\rho}_{S}{\left|{h}_{D1}\right|}^{2}}{{\alpha}_{1}{\rho}_{S}{\left|{h}_{D1}\right|}^{2}+1}.\hfill \end{array}$$

The SIC is carried out at D1 to remove the signal for D2, therefore the instantaneous rate for D1 detect the signal ${x}_{1}$ is given by
where ${\rho}_{S}=\frac{{P}_{S}}{{\sigma}_{0}^{2}}$.

$$\begin{array}{c}{\gamma}_{SD1,x1}^{NOMA}=\frac{{\alpha}_{1}{P}_{S}{\left|{h}_{D1}\right|}^{2}}{{\sigma}_{0}^{2}}={\alpha}_{1}{\rho}_{S}{\left|{h}_{D1}\right|}^{2}\hfill \end{array}$$

In this situation, it is possible to apply fixed power allocation coefficients in two NOMA users in such relay selection mode. To improve the performance of the relay selection schemes, reasonable power optimization can be further studied, and this concern may be considered in our future work.

At relay, ${x}_{2}$ can be detected before using SIC and as employing SIC, ${x}_{2}$ will be regarded as interference eliminated before decoding signal ${x}_{1}$. It is assumed that these relays can not harm D1 and there is no detection on ${x}_{1}$. Firstly, the expression of SNR must be computed to decode ${x}_{2}$ transmitted from the BS to relay as

$$\begin{array}{c}{\gamma}_{SR,x2}^{NOMA}=\frac{{\alpha}_{2}{P}_{S}{\left|{h}_{SRk}\right|}^{2}}{{\alpha}_{1}{P}_{S}{\left|{h}_{SRk}\right|}^{2}+{\sigma}_{0}^{2}}=\frac{{\alpha}_{2}{\rho}_{S}{\left|{h}_{SRk}\right|}^{2}}{{\alpha}_{1}{\rho}_{S}{\left|{h}_{SRk}\right|}^{2}+1}.\hfill \end{array}$$

At the cell-edge user, the received signal can be obtained at D2 from the relay as

$$\begin{array}{c}{y}_{R{D}_{2}}^{NOMA}={g}_{kD2}\sqrt{{P}_{R}}{x}_{2}+{w}_{{D}_{2}}.\hfill \end{array}$$

Therefore, calculating SNR to detect ${x}_{2}$, which is transmitted in the second hop from the kth relay to user D2, is given as
where ${\rho}_{R}=\frac{{P}_{R}}{{\sigma}_{0}^{2}}$.

$$\begin{array}{c}{\gamma}_{RD2,x2}^{NOMA}=\frac{{P}_{R}{\left|{g}_{kD2}\right|}^{2}}{{\sigma}_{0}^{2}}={\rho}_{R}{\left|{g}_{kD2}\right|}^{2},\hfill \end{array}$$

The received signal at D2 which forwarded by D1 is expressed as

$$\begin{array}{c}{y}_{D1D2}^{NOMA}={g}_{D12}\sqrt{{P}_{R}}{x}_{2}+{w}_{{D}_{2}}.\hfill \end{array}$$

The received SINR at D2 to get ${x}_{2}$ for link is given by

$$\begin{array}{c}{\gamma}_{D12,x2}^{NOMA}=\frac{{P}_{R}{\left|{g}_{D12}\right|}^{2}}{{\sigma}_{0}^{2}}={\rho}_{R}{\left|{g}_{D12}\right|}^{2}.\hfill \end{array}$$

Regarding computation of the received signal to interference plus noise ratio (SINRs) at the eavesdropper, here, we overestimate the eavesdropper’s capability. A worst-case assumption from the legitimate user’s perspective is made here. That is, E is equipped capability of the multiuser detection. In more detailed consideration, user E performs parallel interference cancellation (PIC) to distinguish the superimposed mixture. In such a scenario, the eavesdropper knows the decoding order and the power allocation factors. Thus, we have to adopt the worst-case assumption from the legitimate user’s perspective due to the conservativeness mandated by the security studies. It is worth noting that this assumption has been adopted in previous work on the secrecy of NOMA systems [25,26]. It is shown that the received signal at E is

$$\begin{array}{cc}{y}_{SE}^{NOMA}\hfill & ={h}_{E}{x}_{S}^{NOMA}+{w}_{E}\hfill \\ & ={h}_{E}\left(\sqrt{{\alpha}_{1}{P}_{S}}{x}_{1}+\sqrt{{\alpha}_{2}{P}_{S}}{x}_{2}\right)+{w}_{E}.\hfill \end{array}$$

Therefore, SNR is computed to overhear ${x}_{1}$ at E as
where ${\rho}_{E}=\frac{{P}_{S}}{{\sigma}_{E}^{2}}$, Here, AWGN noise term at E has variance of ${\sigma}_{E}^{2}$.

$$\begin{array}{c}{\gamma}_{SE1}^{NOMA}=\frac{{\alpha}_{1}{P}_{S}{\left|{h}_{E}\right|}^{2}}{{\sigma}_{E}^{2}}={\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2},\hfill \end{array}$$

And then, SNR related to overhearing signal ${x}_{2}$ at E is given by

$$\begin{array}{c}{\gamma}_{SE2}^{NOMA}=\frac{{\alpha}_{2}{P}_{S}{\left|{h}_{E}\right|}^{2}}{{\sigma}_{E}^{2}}={\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}.\hfill \end{array}$$

In this RS-NOMA scheme, the best relay node is selected by the following criterion. Firstly, the end-to-end SNR following DF mode can be computed by [31]
where ${\gamma}_{SRk,x2}$ stands for SNR at the first hop from the BS transmitting signal to the kth relay $Rk$.

$$\begin{array}{c}{\gamma}_{k}^{NOMA}=\mathrm{min}\left({\gamma}_{SRk,x2}^{NOMA},{\gamma}_{RD2,x2}^{NOMA}\right),\hfill \end{array}$$

The index ${k}^{\ast}$ in group of relay in considered criteria is determined by

$$\begin{array}{c}{\gamma}_{k\ast}^{NOMA}=\underset{k=1,\dots ,K}{\mathrm{max}}\left({\gamma}_{k}^{NOMA}\right)\hfill \end{array}.$$

The secrecy capacity for D1 is obtained as
where ${\left[x\right]}^{+}=\mathrm{max}\left\{x,0\right\}$. It is worth noting that D2 employs Maximum ratio combining (MRC) principle to process mixture signal as existence of both D1-D2 link and Source-Selected Relay-D2 link. As a result, the secrecy capacity for D2 is obtained as [16]

$$\begin{array}{c}{C}_{x1}^{NOMA}={\left[\frac{1}{2}{\mathrm{log}}_{2}\left(\frac{1+\mathrm{min}\left({\gamma}_{SD1,x1}^{NOMA},{\gamma}_{SD1,x2}^{NOMA}\right)}{1+{\gamma}_{SE1}^{NOMA}}\right)\right]}^{+},\hfill \end{array}$$

$$\begin{array}{c}{C}_{x2}^{NOMA}={\left[\frac{1}{2}{\mathrm{log}}_{2}\left(\frac{1+\mathrm{max}\left(\mathrm{min}\left({\gamma}_{SD1,x2}^{NOMA},{\gamma}_{D12,x2}^{NOMA}\right),{\gamma}_{k\ast}^{NOMA}\right)}{1+{\gamma}_{SE2}^{NOMA}}\right)\right]}^{+}.\hfill \end{array}$$

## 3. Secure Outage Performance in RS-NOMA

In this section, the secrecy capacity is studied for Rayleigh fading channels in terms of the SOP. To describe the secrecy performance of a wireless communication system, such a metric is also an important performance measurement and SOP is generally used. In particular, the SOP is defined as the probability that the instantaneous secrecy capacity ${C}_{sec}$ will drop below a required secrecy rate threshold R (i.e., if ${C}_{sec}<R$, information security will not be satisfied, and then an outage event can be raised; otherwise, perfect secrecy will be maintained).

#### 3.1. SOP at D1

**Proposition**

**1.**

The SOP for D1 can be expressed as
where ${\phi}_{1}={2}^{2{R}_{1}}{\alpha}_{1}{\rho}_{E},{\psi}_{1}={2}^{2{R}_{1}}-1,U\left({t}_{1}\right)={\int}_{0}^{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}\mathrm{exp}\left(-\frac{{\alpha}_{2}}{{\alpha}_{1}{t}_{1}{\rho}_{S}{\lambda}_{D1}}+\frac{{t}_{1}}{{\phi}_{1}{\alpha}_{1}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\right)d{t}_{1}$. From here to following sections, we denote ${\lambda}_{D1}$, ${\lambda}_{D12}$, ${\lambda}_{SRk}$, ${\lambda}_{kD2}$, ${\lambda}_{E}$ as channel gains of links BS-D1, D1-D2, BS-Rk, Rk-D2, BS-E respectively. Here, ${R}_{1}$ denotes the target data rate of D1.

$$\begin{array}{c}{P}_{SOP1}^{NOMA}=1-\frac{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}{\left({\alpha}_{1}{\rho}_{S}{\lambda}_{D1}+{\phi}_{1}{\lambda}_{E}\right){\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(-\frac{{\psi}_{1}}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}+\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}{{\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\right)U\left({t}_{1}\right),\hfill \end{array}$$

**Proof.**

See in Appendix A. ☐

#### 3.2. SOP at D2

**Proposition**

**2.**

For performance evaluation on user D2, we formulate SOP as
where ${\phi}_{2}={2}^{2{R}_{2}}{\alpha}_{2}{\rho}_{E},{\psi}_{2}={2}^{2{R}_{2}}-1,q\left({t}_{2}\right)={\int}_{0}^{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{S}}{{\alpha}_{1}{\rho}_{S}{t}_{2}{\lambda}_{D1}}+\frac{{t}_{2}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\right)d{t}_{2},q\left({t}_{3}\right)={\int}_{0}^{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}\mathrm{exp}\left(-\frac{{\alpha}_{2}}{{\alpha}_{1}{t}_{3}{\rho}_{S}{\lambda}_{SR1}}+\frac{{t}_{3}}{{\phi}_{2}{\alpha}_{1}{\lambda}_{E}}\right)d{t}_{3}$. We denote ${R}_{2}$ as the target data rate of D2.

$$\begin{array}{cc}{P}_{SOP2}^{NOMA}\hfill & =1-\frac{{\rho}_{R}{\lambda}_{D12}}{\left({\rho}_{R}{\lambda}_{D12}+{\phi}_{2}{\lambda}_{E}\right){\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{D12}}\right)q\left({t}_{2}\right)\hfill \\ & \times \prod _{k=1}^{K}\left(\frac{{\rho}_{R}{\lambda}_{kD2}}{\left({\rho}_{R}{\lambda}_{kD2}+{\phi}_{2}{\lambda}_{E}\right){\phi}_{2}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}{{\phi}_{2}{\alpha}_{1}{\lambda}_{E}}-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{kD2}}\right)q\left({t}_{3}\right)\right),\hfill \end{array}$$

**Proof.**

See in Appendix B. ☐

The secure performance can be examined for the whole NOMA system by deploying this formula

$$\begin{array}{c}O{P}_{NOMA}=1-\left(1-O{P}_{1-NOMA}\right)\left(1-O{P}_{2-NOMA}\right).\hfill \end{array}$$

## 4. SPSC Analysis in RS-NOMA

In such RS-NOMA, the SPSC is fundamentally defined as the probability of the secrecy capacity ${C}_{sec}$ being zero. Under this circumstance, SPSC is an extra metric characterizing the properties of physical channels in wireless communication, and hence, physical-layer (PHY) security is perfectly evaluated to exhibit the RS-NOMA scheme to real application under the existence of eavesdropper in nature wireless transmission environment. In general, the SPSC can be calculated by

$${P}_{SPSC}=\mathrm{Pr}\left({C}_{sec}>0\right)$$

#### 4.1. SPSC Compution at D1

From the definition above, we have the outage formula in this case as

$$\begin{array}{cc}{P}_{SPSC1}^{NOMA}\hfill & =\mathrm{Pr}\left({C}_{x1}^{NOMA}>0\right)\hfill \\ & =\mathrm{Pr}\left({\gamma}_{SD1,x1}^{NOMA}>{\gamma}_{SE1}^{NOMA},{\gamma}_{SD1,x2}^{NOMA}>{\gamma}_{SE1}^{NOMA}\right)\hfill \\ & \approx \underset{{P}_{1}}{\underbrace{\mathrm{Pr}\left({\gamma}_{SD1,x1}^{NOMA}>{\gamma}_{SE1}^{NOMA}\right)}}\underset{{P}_{2}}{\underbrace{\mathrm{Pr}\left({\gamma}_{SD1,x2}^{NOMA}>{\gamma}_{SE1}^{NOMA}\right)}}.\hfill \end{array}$$

Such outage event must be constrained by $\frac{{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{{\rho}_{S}}>\frac{{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{{\alpha}_{2}{\rho}_{S}-{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}$. Firstly, ${P}_{1}$ can be written by

$$\begin{array}{cc}{P}_{1}\hfill & =\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}>\frac{{\rho}_{E}}{{\rho}_{S}}{\left|{h}_{E}\right|}^{2}\right)\hfill \\ & ={\int}_{0}^{\frac{{\alpha}_{2}-{\alpha}_{1}}{{\alpha}_{1}{\alpha}_{1}{\rho}_{E}}}\mathrm{exp}\left(-\frac{{\rho}_{E}x}{{\rho}_{S}{\lambda}_{D1}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{{\rho}_{S}{\lambda}_{D1}}{{\rho}_{S}{\lambda}_{D1}+{\rho}_{E}{\lambda}_{E}}\left(\mathrm{exp}\left(-\left(\frac{{\rho}_{E}}{{\rho}_{S}{\lambda}_{D1}}+\frac{1}{{\lambda}_{E}}\right)\frac{{\alpha}_{2}-{\alpha}_{1}}{{\alpha}_{1}{\alpha}_{1}{\rho}_{E}}\right)-1\right)\hfill \end{array}$$

Similarly, in case of $\frac{{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{{\alpha}_{2}{\rho}_{S}-{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}>\frac{{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{{\rho}_{S}}$, ${P}_{2}$ can be calculated as

$$\begin{array}{cc}{P}_{2}\hfill & =\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}>\frac{{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{{\alpha}_{2}{\rho}_{S}-{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}\right)\hfill \\ & ={\int}_{\frac{{\alpha}_{2}-{\alpha}_{1}}{{\alpha}_{1}{\alpha}_{1}{\rho}_{E}}}^{\infty}\mathrm{exp}\left(-\frac{{\alpha}_{1}{\rho}_{E}x}{\left({\alpha}_{2}{\rho}_{S}-{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}x\right){\lambda}_{D1}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \end{array}$$

To calculate the above integral, we set new variable as $v={\alpha}_{2}{\rho}_{S}-{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}x\to x=\frac{{\alpha}_{2}{\rho}_{S}-v}{{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}}$, then it can be expressed by

$$\begin{array}{cc}{P}_{2}=\frac{1}{{\lambda}_{E}}\hfill & {\int}_{{\alpha}_{1}{\rho}_{S}}^{{\alpha}_{2}{\rho}_{S}}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{S}-v}{{\alpha}_{1}{\rho}_{S}v{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}-v}{{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)\frac{dv}{-{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}}\\ & =\frac{1}{{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}}{{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)q\left(v\right).\hfill \end{array}$$

Therefore, the SPSC is then computed to evaluate secure performance at D1 as
where $m=\frac{{\rho}_{S}{\lambda}_{D1}}{\left({\rho}_{S}{\lambda}_{D1}+{\rho}_{E}{\lambda}_{E}\right){\alpha}_{1}{\alpha}_{1}{\rho}_{S}{\rho}_{E}{\lambda}_{E}},n=\frac{{\rho}_{E}}{{\rho}_{S}{\lambda}_{D1}}+\frac{1}{{\lambda}_{E}},q\left(v\right)={\int}_{{\alpha}_{2}{\rho}_{S}}^{{\alpha}_{1}{\rho}_{S}}\mathrm{exp}\left(-\frac{{\alpha}_{2}}{{\alpha}_{1}v{\lambda}_{D1}}+\frac{v}{{\alpha}_{1}{\rho}_{S}{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)dv$.

$$\begin{array}{cc}{P}_{SPSC1}^{NOMA}\hfill & ={P}_{1}\times {P}_{2}\hfill \\ & =m\left(\begin{array}{c}q\left(v\right)\mathrm{exp}\left(-\frac{n\left({\alpha}_{2}-{\alpha}_{1}\right)}{{\alpha}_{1}{\alpha}_{1}{\rho}_{E}}+\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}}{{\alpha}_{1}{\alpha}_{1}{\rho}_{S}{\rho}_{E}{\lambda}_{E}}\right)\hfill \\ -q\left(v\right)\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}}{{\alpha}_{1}{\alpha}_{1}{\rho}_{S}{\rho}_{E}{\lambda}_{E}}\right)\hfill \end{array}\right),\hfill \end{array}$$

#### 4.2. SPSC Computation at D2

In a similar way, the SPSC performance at D2 can be expressed as

$$\begin{array}{cc}{P}_{SPSC2}^{NOMA}\hfill & =\mathrm{Pr}\left({C}_{x2}^{NOMA}>0\right)\hfill \\ & =\underset{G}{\underbrace{\mathrm{Pr}\left(\mathrm{min}\left({\gamma}_{SD1,x2}^{NOMA},{\gamma}_{D12,x2}^{NOMA}\right)>{\gamma}_{SE2}^{NOMA}\right)}}\hfill \\ & \times \underset{H}{\underbrace{\mathrm{Pr}\left(\underset{k=1\dots K}{\mathrm{max}}\left(\mathrm{min}\left({\gamma}_{SR,x2}^{NOMA},{\gamma}_{RKD2,x2}^{NOMA}\right)\right)>{\gamma}_{SE2}^{NOMA}\right)}}.\hfill \end{array}$$

To proceed from this formula, we first consider term of G and it can be calculated as

$$\begin{array}{cc}G\hfill & =\mathrm{Pr}\left(\mathrm{min}\left({\gamma}_{SD1,x2}^{NOMA},{\gamma}_{D12,x2}^{NOMA}\right)>{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}\right)\hfill \\ & =\underset{{G}_{1}}{\underbrace{\mathrm{Pr}\left(\frac{{\alpha}_{2}{\rho}_{S}{\left|{h}_{D1}\right|}^{2}}{{\alpha}_{1}{\rho}_{S}{\left|{h}_{D1}\right|}^{2}+1}>{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}\right)}}\underset{{G}_{2}}{\underbrace{\mathrm{Pr}\left({\rho}_{R}{\left|{g}_{D12}\right|}^{2}>{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}\right)}}.\hfill \end{array}$$

It is worth noting that the outage probability must satisfy the condition of ${\rho}_{S}-{\alpha}_{1}{\rho}_{S}{\rho}_{E}{\left|{h}_{E}\right|}^{2}>0\to {\left|{h}_{E}\right|}^{2}<\frac{1}{{\alpha}_{1}{\rho}_{E}}$. As a result, it can be rewritten as

$$\begin{array}{cc}{G}_{1}\hfill & ={\int}_{0}^{\frac{1}{{\alpha}_{1}{\rho}_{E}}}\mathrm{exp}\left(-\frac{{\rho}_{E}x}{\left(1-{\alpha}_{1}{\rho}_{E}x\right){\rho}_{S}{\lambda}_{D1}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{1}{{\lambda}_{E}}{\int}_{0}^{\frac{1}{{\alpha}_{1}{\rho}_{E}}}\mathrm{exp}\left(-\frac{{\rho}_{E}x}{\left(1-{\alpha}_{1}{\rho}_{E}x\right){\rho}_{S}{\lambda}_{D1}}-\frac{x}{{\lambda}_{E}}\right)dx.\hfill \end{array}$$

Next, a new variable can be put as ${v}_{1}=1-{\alpha}_{1}{\rho}_{E}x\to x=\frac{1-{v}_{1}}{{\alpha}_{1}{\rho}_{E}}$ to calculate the above integral. As a result, it can be expressed by
where $q\left({v}_{1}\right)={\int}_{0}^{1}\mathrm{exp}\left(-\frac{1}{{\alpha}_{1}{v}_{1}{\rho}_{S}{\lambda}_{D1}}+\frac{{v}_{1}}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)d{v}_{1}$.

$$\begin{array}{cc}{G}_{1}\hfill & =\frac{1}{{\lambda}_{E}}{\int}_{1}^{0}\mathrm{exp}\left(-\frac{1-{v}_{1}}{{\alpha}_{1}{v}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{1-{v}_{1}}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)\frac{d{v}_{1}}{-{\alpha}_{1}{\rho}_{E}}\hfill \\ & =\frac{1}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{1}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)q\left({v}_{1}\right),\hfill \end{array}$$

Similarly, we have

$$\begin{array}{cc}{G}_{2}\hfill & =\mathrm{Pr}\left({\left|{h}_{D12}\right|}^{2}>\frac{{\alpha}_{2}{\rho}_{E}}{{\rho}_{R}}{\left|{h}_{E}\right|}^{2}\right)\hfill \\ & ={\int}_{0}^{\infty}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{E}x}{{\rho}_{R}{\lambda}_{D12}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{{\rho}_{R}{\lambda}_{D12}}{{\rho}_{R}{\lambda}_{D12}+{\alpha}_{2}{\rho}_{E}{\lambda}_{E}}.\hfill \end{array}$$

From (30) and (31), we have

$$\begin{array}{c}G=\frac{{\rho}_{R}{\lambda}_{D12}}{\left({\rho}_{R}{\lambda}_{D12}+{\alpha}_{2}{\rho}_{E}{\lambda}_{E}\right){\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{1}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)q\left({v}_{1}\right).\hfill \end{array}$$

From (27), H can be calculated as

$$\begin{array}{cc}H\hfill & =\mathrm{Pr}\left(\underset{k=1\dots K}{\mathrm{max}}\left(\mathrm{min}\left({\gamma}_{SR,x2}^{NOMA},{\gamma}_{RKD2,x2}^{NOMA}\right)\right)>{\gamma}_{SE2}^{NOMA}\right)\hfill \\ & =\prod _{k=1}^{K}\left(\underset{{H}_{1}}{\underbrace{\mathrm{Pr}\left(\frac{{\alpha}_{2}{\rho}_{S}{\left|{h}_{SR1}\right|}^{2}}{{\alpha}_{1}{\rho}_{S}{\left|{h}_{SR1}\right|}^{2}+1}>\zeta \right)}}\underset{{H}_{2}}{\underbrace{\mathrm{Pr}\left({\rho}_{R}{\left|{g}_{kD2}\right|}^{2}>\zeta \right)}}\right).\hfill \end{array}$$

${H}_{1}$ can be computed as:

$$\begin{array}{cc}{H}_{1}\hfill & =\mathrm{Pr}\left(\frac{{\alpha}_{2}{\rho}_{S}{\left|{h}_{SR1}\right|}^{2}}{{\alpha}_{1}{\rho}_{S}{\left|{h}_{SR1}\right|}^{2}+1}>\zeta \right)\hfill \\ & =\mathrm{Pr}\left({\left|{h}_{SR1}\right|}^{2}>\frac{\zeta}{\left({\alpha}_{2}-\zeta {\alpha}_{1}\right){\rho}_{S}}\right)\hfill \\ & =\left\{\begin{array}{cc}\mathrm{exp}\left(-\frac{\zeta}{\left({\alpha}_{2}-\zeta {\alpha}_{1}\right){\rho}_{S}{\lambda}_{SR1}}\right),& \zeta <\frac{{\alpha}_{2}}{{\alpha}_{1}}\\ 0,& \zeta \ge \frac{{\alpha}_{2}}{{\alpha}_{1}}\end{array}.\right.\hfill \end{array}$$

Similarly, we can calculate ${H}_{2}$ to be

$$\begin{array}{c}{H}_{2}=\mathrm{Pr}\left({\left|{g}_{kD2}\right|}^{2}>\frac{\zeta}{{\rho}_{R}}\right)=\mathrm{exp}\left(-\frac{\zeta}{{\rho}_{R}{\lambda}_{kD2}}.\right)\hfill \end{array}$$

It is constrained by ${\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}<\frac{{\alpha}_{2}}{{\alpha}_{1}}\to {\left|{h}_{E}\right|}^{2}<\frac{1}{{\alpha}_{1}{\rho}_{E}}$. In this situation, it can be rewritten as

$$\begin{array}{cc}{H}_{1}\times {H}_{2}\hfill & ={\mathrm{E}}_{{\left|{h}_{E}\right|}^{2}}\left\{\underset{{H}_{1}}{\underbrace{\mathrm{exp}\left(-\frac{\zeta}{\left({\alpha}_{2}-\delta {\alpha}_{1}\right){\rho}_{S}{\lambda}_{SR1}}\right)}}\times \underset{{H}_{2}}{\underbrace{\mathrm{exp}\left(-\frac{\zeta}{{\rho}_{R}{\lambda}_{kD2}}\right)}},\zeta <\frac{{\alpha}_{2}}{{\alpha}_{1}}\right\}\hfill \\ & ={\mathrm{E}}_{{\left|{h}_{E}\right|}^{2}}\left\{\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{\left({\alpha}_{2}-{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}{\alpha}_{1}\right){\rho}_{S}{\lambda}_{SR1}}\right)\times \mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}{{\rho}_{R}{\lambda}_{kD2}}\right),{\left|{h}_{E}\right|}^{2}<\frac{1}{{\alpha}_{1}{\rho}_{E}}\right\}\hfill \\ & =\frac{1}{{\lambda}_{E}}{\int}_{0}^{\frac{1}{{\alpha}_{1}{\rho}_{E}}}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{E}x}{\left({\alpha}_{2}-{\alpha}_{1}{\alpha}_{2}{\rho}_{E}x\right){\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}{\rho}_{E}x}{{\rho}_{R}{\lambda}_{kD2}}-\frac{x}{{\lambda}_{E}}\right)dx.\hfill \end{array}$$

We formulate H as

$$\begin{array}{c}H=1-\prod _{k=1}^{K}\left(1-{\int}_{0}^{\frac{1}{{\alpha}_{1}{\rho}_{E}}}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{E}x}{\left({\alpha}_{2}-{\alpha}_{1}{\alpha}_{2}{\rho}_{E}x\right){\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}{\rho}_{E}x}{{\rho}_{R}{\lambda}_{kD2}}-\frac{x}{{\lambda}_{E}}\right)dx\right).\hfill \end{array}$$

Therefore, the SPSC evaluation at D2 can be determined by
where $q\left({v}_{1}\right)={\int}_{0}^{1}\mathrm{exp}\left(-\frac{1}{{\alpha}_{1}{v}_{1}{\rho}_{S}{\lambda}_{D1}}+\frac{{v}_{1}}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)d{v}_{1},\zeta ={\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}$.

$$\begin{array}{cc}{P}_{SPSC2}^{NOMA}\hfill & =\frac{{\rho}_{R}{\lambda}_{D12}}{\left({\rho}_{R}{\lambda}_{D12}+{\alpha}_{2}{\rho}_{E}{\lambda}_{E}\right){\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{1}{{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right)q\left({v}_{1}\right)\hfill \\ & \times \left(1-\prod _{k=1}^{K}\left(1-{\int}_{0}^{\frac{1}{{\alpha}_{1}{\rho}_{E}}}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{E}x}{\left({\alpha}_{2}-{\alpha}_{1}{\alpha}_{2}{\rho}_{E}x\right){\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}{\rho}_{E}x}{{\rho}_{R}{\lambda}_{kD2}}-\frac{x}{{\lambda}_{E}}\right)dx\right)\right),\hfill \end{array}$$

## 5. Optimization and Studying OMA as Benchmark

#### 5.1. Selection of ${\alpha}_{1}$ for NOMA Transmission

In this section, we perform a numerical search for the value of ${\alpha}_{1}$ that minimizes outage performance. However, these derived expressions of outage probability can not exhibit optimal ${\alpha}_{1}$. Fortunately, it can show an approximation to ${\alpha}_{1}$ obtained in a simple manner from the following observations
where ${\vartheta}_{SD1,x1}={\rho}_{S}{\left|{h}_{D1}\right|}^{2}$,
and
where ${\epsilon}_{2}={2}^{2{R}_{2}}$.

$$\begin{array}{c}{\gamma}_{SD1,x1}^{NOMA}\ge {\epsilon}_{2}\Rightarrow {\vartheta}_{SD1,x1}\ge \frac{{\epsilon}_{2}}{{\alpha}_{1}},\hfill \end{array}$$

$$\begin{array}{c}{\gamma}_{SD1,x2}^{NOMA}\ge {\epsilon}_{2}\Rightarrow {\vartheta}_{SD1,x2}\ge \frac{{\epsilon}_{2}}{{\alpha}_{2}-{\alpha}_{1}{\epsilon}_{2}},\hfill \end{array}$$

Clearly, the value of ${\alpha}_{1}$ which minimizes outage performance is equivalent with evaluation of ${\vartheta}_{SD1,x1}$ and ${\vartheta}_{SD1,x2}$ as below

$$\begin{array}{c}{\vartheta}_{SD1,x2}={\vartheta}_{SD1,x1}\Rightarrow {\alpha}_{1}=\frac{1}{2+{\epsilon}_{2}}.\hfill \end{array}$$

Although our derivation is clearly an approximation computation, its accuracy will be verified later in the numerical results section. It is interesting to see that considered outage value does not depend on the instantaneous channel values and it depends only on the target rates of the two users.

#### 5.2. Asymptotic Analysis

We first consider asymptotic SOP for D1. To investigate the asymptotic secrecy performance, we also provide an asymptotic SOP analysis.

From (18), at high SNR ${\rho}_{E}$ the SOP performance of D1 based NOMA system can be asymptotically expressed as
where ${\epsilon}_{1}={2}^{2{R}_{1}}$.

$$\begin{array}{c}{P}_{SOP1-asy}^{NOMA}\approx \mathrm{Pr}\left(\frac{1+\frac{{a}_{2}}{{a}_{1}}}{1+{\alpha}_{1}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}<{2}^{2{R}_{1}}\right)\approx \mathrm{Pr}\left({\left|{h}_{E}\right|}^{2}>\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{1}}{{\epsilon}_{1}{\alpha}_{1}{\rho}_{E}}\right)\approx \mathrm{exp}\left(-\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{1}}{{\epsilon}_{1}{\alpha}_{1}{\rho}_{E}{\lambda}_{E}}\right),\hfill \end{array}$$

Then, we perform asymptotic derivation for SOP of D2. Similarly, from (19), the asymptotic expression for a D2 is given by

$$\begin{array}{c}{P}_{SOP2}^{NOMA}\approx \underset{{U}_{1}}{\underbrace{\mathrm{Pr}\left(\frac{1+\frac{{a}_{2}}{{a}_{1}}}{1+{\gamma}_{SE2}^{NOMA}}<{2}^{2{R}_{2}}\right)}}\underset{{U}_{2}}{\underbrace{\mathrm{Pr}\left(\frac{1+\frac{{a}_{2}}{{a}_{1}}}{1+{\gamma}_{SE2\ast}^{NOMA}}\ge {2}^{2{R}_{2}}\right)}}.\hfill \end{array}$$

From (43), we can calculate ${U}_{1}$ as

$$\begin{array}{c}{U}_{1}=\mathrm{Pr}\left(\frac{1+\frac{{a}_{2}}{{a}_{1}}}{1+{\alpha}_{2}{\rho}_{E}{\left|{h}_{E}\right|}^{2}}<{2}^{2{R}_{2}}\right)\approx \mathrm{exp}\left(-\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{2}}{{\epsilon}_{2}{\alpha}_{2}{\rho}_{E}{\lambda}_{E}}\right).\hfill \end{array}$$

Similarly, with ${U}_{2}$ we get

$$\begin{array}{cc}{U}_{2}\hfill & =\mathrm{Pr}\left(\frac{1+\frac{{a}_{2}}{{a}_{1}}}{1+{\gamma}_{SE2\ast}^{NOMA}}<{2}^{2{R}_{2}}\right)=\prod _{k=1}^{K}\mathrm{Pr}\left({\left|{h}_{E}\right|}^{2}>\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{2}}{{\epsilon}_{2}{\alpha}_{2}{\rho}_{E}}\right)\hfill \\ & =\prod _{k=1}^{K}\left(\mathrm{exp}\left(-\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{2}}{{\epsilon}_{2}{\alpha}_{2}{\rho}_{E}{\lambda}_{E}}\right)\right).\hfill \end{array}$$

Replacing (44) and (45) into (43) leads to

$$\begin{array}{c}{P}_{SOP2}^{NOMA}\approx \mathrm{exp}\left(-\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{2}}{{\epsilon}_{2}{\alpha}_{2}{\rho}_{E}{\lambda}_{E}}\right)\prod _{k=1}^{K}\left(\mathrm{exp}\left(-\frac{1+\frac{{a}_{2}}{{a}_{1}}-{\epsilon}_{2}}{{\epsilon}_{2}{\alpha}_{2}{\rho}_{E}{\lambda}_{E}}\right)\right).\hfill \end{array}$$

#### 5.3. Consideration on OMA as Benchmark

As a traditional multiple access scheme, OMA is still deployed in a huge number of applications. It is further considered an advantage of NOMA compared with older counterpart, i.e., OMA. Although security concerns in OMA scheme are studied in the literature, this paper carefully presents the main computations to make such comparisons clearer. In OMA, we first compute SNR to detect ${x}_{1}$ from the BS to D1 as

$$\begin{array}{c}{\gamma}_{SD1,x1}^{OMA}=\frac{{P}_{S}{\left|{h}_{D1}\right|}^{2}}{{\sigma}_{0}^{2}}={\rho}_{S}{\left|{h}_{D1}\right|}^{2}.\hfill \end{array}$$

To detect ${x}_{2}$ from the BS to relay, it is required to calculate SNR as

$$\begin{array}{c}{\gamma}_{SR,x2}^{OMA}=\frac{{P}_{S}{\left|{h}_{SR1}\right|}^{2}}{{\sigma}_{0}^{2}}={\rho}_{S}{\left|{h}_{SRk}\right|}^{2}.\hfill \end{array}$$

We compute SNR to detect ${x}_{2}$ in second hop from relay to D2 as

$$\begin{array}{c}{\gamma}_{RD2,x2}^{OMA}=\frac{{P}_{R}{\left|{g}_{kD2}\right|}^{2}}{{\sigma}_{0}^{2}}={\rho}_{R}{\left|{g}_{kD2}\right|}^{2}.\hfill \end{array}$$

It is shown SNR to detect signal ${x}_{1}$, ${x}_{2}$ at E respectively
and

$$\begin{array}{c}{\gamma}_{SE1}^{OMA}=\frac{{P}_{S}{\left|{h}_{E}\right|}^{2}}{{\sigma}_{E}^{2}}={\rho}_{E}{\left|{h}_{E}\right|}^{2},\hfill \end{array}$$

$$\begin{array}{c}{\gamma}_{SE2}^{OMA}=\frac{{P}_{S}{\left|{h}_{E}\right|}^{2}}{{\sigma}_{E}^{2}}={\rho}_{E}{\left|{h}_{E}\right|}^{2}.\hfill \end{array}$$

Similarly, the secrecy capacity for D1 in OMA is obtained as

$$\begin{array}{c}{C}_{x1}^{OMA}={\left[\frac{1}{2}{\mathrm{log}}_{2}\left(\frac{1+{\gamma}_{SD1,x1}^{OMA}}{1+{\gamma}_{SE1}^{OMA}}\right)\right]}^{+}\hfill \end{array}.$$

The secrecy capacity for D2 in OMA is obtained as

$$\begin{array}{c}{C}_{x\ast 2}^{OMA}={\left[\frac{1}{4}{\mathrm{log}}_{2}\left(\frac{1+{\gamma}_{k\ast}^{OMA}}{1+{\gamma}_{SE2}^{OMA}}\right)\right]}^{+}\hfill \end{array}.$$

It is worth noting that the best relay node is selected by the following criterion ${\gamma}_{k\ast}^{OMA}=\underset{k=1,\dots ,K}{\mathrm{max}}\left({\gamma}_{k}^{OMA}\right)$ with ${\gamma}_{k}^{OMA}=\mathrm{min}\left({\gamma}_{SR,x2}^{OMA},{\gamma}_{RD2,x2}^{OMA}\right)$.

In similar way, SOP at D1 in OMA scheme is given by

$$\begin{array}{cc}{P}_{SOP1}^{OMA}\hfill & =1-\mathrm{Pr}\left({C}_{x1}^{OMA}\ge {\xi}_{1}\right)=1-\mathrm{Pr}\left(\frac{1+{\gamma}_{SD1,x1}^{OMA}}{1+{\gamma}_{SE1}^{OMA}}\ge {\xi}_{1}\right)\hfill \\ & =1-\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}\ge \frac{{\xi}_{1}{\rho}_{E}}{{\rho}_{S}}{\left|{h}_{E}\right|}^{2}+\frac{{\xi}_{1}-1}{{\rho}_{S}}\right).\hfill \end{array}$$

In next step, it is calculated as

$$\begin{array}{cc}{P}_{SOP1}^{OMA}\hfill & =1-\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}\ge {A}_{1}^{OMA}{\left|{h}_{E}\right|}^{2}+{B}_{1}^{OMA}\right)\hfill \\ & =1-{\int}_{0}^{\infty}\mathrm{exp}\left(-\frac{{A}_{1}^{OMA}x+{B}_{1}^{OMA}}{{\lambda}_{D1}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =1-\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{{B}_{1}^{OMA}}{{\lambda}_{D1}}\right){\int}_{0}^{\infty}\mathrm{exp}\left(-\left(\frac{{A}_{1}^{OMA}}{{\lambda}_{D1}}+\frac{1}{{\lambda}_{E}}\right)x\right)dx.\hfill \end{array}$$

Finally, SOP at D1 in this situation is given by
where ${\xi}_{1}={2}^{2{R}_{1}}$, ${A}_{1}^{OMA}=\frac{{\xi}_{1}{\rho}_{E}}{{\rho}_{S}},{B}_{1}^{OMA}=\frac{{\xi}_{1}-1}{{\rho}_{S}}$.

$$\begin{array}{c}{P}_{SOP1}^{OMA}=1-\frac{{\lambda}_{D1}}{{\lambda}_{E}{A}_{1}^{OMA}+{\lambda}_{D1}}\mathrm{exp}\left(-\frac{{B}_{1}^{OMA}}{{\lambda}_{D1}}\right)\hfill \end{array},$$

The SOP at D2 in OMA scheme is further computed as

$$\begin{array}{cc}{P}_{SOP2}^{OMA}\hfill & =\mathrm{Pr}\left({C}_{x\ast 2}^{OMA}<{R}_{2}\right)=\mathrm{Pr}\left(\frac{1+{\gamma}_{k\ast}^{OMA}}{1+{\gamma}_{SE2}^{OMA}}<{2}^{4{R}_{2}}\right)\hfill \\ & =\mathrm{Pr}\left(\underset{{\nu}^{\ast}}{\underbrace{\underset{k=1,\dots ,K}{\mathrm{max}}\left(\mathrm{min}\left({\rho}_{S}{\left|{h}_{SR1}\right|}^{2},{\rho}_{R}{\left|{g}_{kD2}\right|}^{2}\right)\right)}}<\psi {\left|{h}_{E}\right|}^{2}+\mu \right).\hfill \end{array}$$

And then, it is rewritten as
where $\psi ={2}^{4{R}_{2}}{\rho}_{E},\mu ={2}^{4{R}_{2}}-1,\eta =\frac{1}{{\rho}_{S}{\lambda}_{SRk}}+\frac{1}{{\rho}_{R}{\lambda}_{kD2}}$.

$$\begin{array}{cc}{P}_{SOP2}^{OMA}\hfill & =\underset{0}{\overset{\infty}{\int}}\left(1-{F}_{{\nu}^{\ast}}\left(-\eta {y}_{1}\right)\right){f}_{{\left|{h}_{E}\right|}^{2}}\left(x\right)dx\hfill \\ & ={\int}_{0}^{\infty}\left[1-{\left(1-\mathrm{exp}\left(-\eta \left(\psi x+\mu \right)\right)\right)}^{k}\right]\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(\frac{-x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-k\eta \mu \right)\hfill \\ & \times {\int}_{0}^{\infty}\left(\sum _{k=1}^{K}\left(\begin{array}{c}K\hfill \\ k\hfill \end{array}\right){\left(-1\right)}^{k-1}\mathrm{exp}\left(-\left(k\eta \psi +\frac{1}{{\lambda}_{E}}\right)x\right)\right)dx\hfill \\ & =1-\mathrm{exp}\left(-k\eta \mu \right)\sum _{k=1}^{K}\left(\begin{array}{c}K\hfill \\ k\hfill \end{array}\right){\left(-1\right)}^{k-1}\frac{1}{k\eta \psi {\lambda}_{E}+1},\hfill \end{array}$$

The SOP for secure performance evaluation of whole OMA is given as

$$\begin{array}{c}O{P}_{OMA}=1-\left(1-O{P}_{1-OMA}\right)\left(1-O{P}_{2-OMA}\right).\hfill \end{array}$$

Regarding SPSC analysis for an OMA scenario, we have the following equation in similar computation. We first present SPSC metric at D1 as

$$\begin{array}{cc}{P}_{SPSC1}^{OMA}\hfill & =\mathrm{Pr}\left({C}_{x1}^{OMA}>0\right)=\mathrm{Pr}\left({\gamma}_{SD1,x1}^{OMA}>{\gamma}_{SE1}^{OMA}\right)\hfill \\ & =\frac{1}{{\lambda}_{E}}{\int}_{0}^{\infty}\mathrm{exp}\left(-\left(\frac{{\rho}_{E}}{{\rho}_{S}{\lambda}_{D1}}+\frac{1}{{\lambda}_{E}}\right)x\right)dx=\frac{{\rho}_{S}{\lambda}_{D1}}{{\rho}_{E}{\lambda}_{E}+{\rho}_{S}{\lambda}_{D1}}.\hfill \end{array}$$

Furthermore, the expression of SPSC metric can be derived at D2 as
where $\eta =\frac{1}{{\rho}_{S}{\lambda}_{SRk}}+\frac{1}{{\rho}_{R}{\lambda}_{kD2}}$.

$$\begin{array}{cc}{P}_{SPSC2}^{OMA}\hfill & =\underset{0}{\overset{\infty}{\int}}\left(1-{F}_{{\nu}^{\ast}}\left(-\eta {y}_{2}\right)\right){f}_{{\left|{h}_{E}\right|}^{2}}\left(x\right)dx\hfill \\ & ={\int}_{0}^{\infty}\left[1-{\left(1-\mathrm{exp}\left(-\eta {\rho}_{E}x\right)\right)}^{k}\right]\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(\frac{-x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{1}{{\lambda}_{E}}{\int}_{0}^{\infty}\left(\sum _{k=1}^{K}\left(\begin{array}{c}K\hfill \\ k\hfill \end{array}\right){\left(-1\right)}^{k-1}\mathrm{exp}\left(-\left(k\eta {\rho}_{E}+\frac{1}{{\lambda}_{E}}\right)x\right)\right)dx\hfill \\ & =1-\sum _{k=1}^{K}\left(\begin{array}{c}K\hfill \\ k\hfill \end{array}\right){\left(-1\right)}^{k-1}\frac{1}{k\eta {\rho}_{E}{\lambda}_{E}+1},\hfill \end{array}$$

## 6. Numerical Results

In this section, we provide numerical examples to evaluate the secrecy performance of RS-NOMA under impact of eavesdropper based on two system metrics including SOP and SPSC. Specifically, we investigate these metrics by considering the effects of transmit SNR, fixed power allocation factors, the number of relays, channel gains.

As an important parameter of NOMA, the impact of different threshold rates on the SOP performance of user D1 is simulated in Figure 2. The reason for such observation is that the threshold rate is the limited secure capacity as performing probability calculation. At high threshold rate, the performance gap between NOMA and OMA can be observed clearly. In addition, asymptotic evaluation shows that outage behavior is constant because such outage does not depend on ${\rho}_{S}$. This observation can be seen in the following experiments.

Another observation is that the impact of the number of relays selected to forward signal to user D2. As a further development, Figure 3 plots the SOP of NOMA scheme versus a different number of relays. As observed from the figure, we can see that the higher number of selected relays also strongly affect secure performance of RS-NOMA scheme compared with small variations at OMA. The most important thing is that the RS-NOMA furnishes with $K=5$ relay providing remarkable improvement in secure outage performance. This is due to the fact that there are more chances to achieve improved signal to serve far NOMA user. This observation confirms a role of relay selection to enhanced secure performance in the considered RS-NOMA.

Figure 4 plots the outage probability of RS-NOMA and OMA schemes versus SNR for simulation settings with ${\lambda}_{E}=1$, ${\rho}_{E}=0$ dB, ${R}_{1}=0.5$, ${R}_{2}=1$. Obviously, the outage probability curves match precisely with the Monte Carlo simulation results. In this observation, the performance gap between NOMA and OMA is small as changing channel gain of link S-D1. This is in contrast with Figure 4, which shows larger a performance gap between NOMA and OMA for secure consideration at D2.

In Figure 5, the SOP performance of the RS-NOMA and OMA schemes with different threshold rates at D2 are compared to provide an impact of the required rates on secure performance. We setup the main parameters as ${{\lambda}_{D}}_{1}={{\lambda}_{D}}_{12}={\lambda}_{SRk}={{\lambda}_{kD}}_{2}={\lambda}_{E}=1$, ${\rho}_{E}=-10$ dB, $K=1$. It can be seen from both figures that the proposed RS-NOMA scheme can remarkably enhance the secure performance compared to the OMA scheme. Performance gaps between NOMA and OMA can be seen clearly at higher threshold rate ${R}_{2}$.

In Figure 6, we compare the secure performance for the RS-NOMA and OMA schemes with different strong levels of eavesdroppers. To perform the simulation, the required parameters are summarized as ${{\lambda}_{D}}_{1}={\lambda}_{E}=1$, ${R}_{1}=0.5$, ${R}_{2}=1$. It can be evidently seen that SOP in the OMA is better than that in the RS-NOMA scheme. The main reason for this is that the cooperative NOMA network is sensitive to the relation between the target data rates and power allocation. In a similar trend, we see the performance gap at user D2 as in Figure 7. In this situation, the simulated parameters are shown in this case as ${{\lambda}_{D}}_{1}={{\lambda}_{D}}_{12}={\lambda}_{SRk}={{\lambda}_{kD}}_{2}={\lambda}_{E}=1$, ${R}_{2}=0.5$, $K=3$. To provide more insights, the secure performance of the whole system needs be considered. In Figure 8, the curves of SOP are illustrated to show performance gaps among these cases including User D1, User D2 and the whole NOMA system.

In Figure 9, an optimal value of power allocation factor, i.e., ${\alpha}_{1}$ can be checked by a numerical method. It can be confirmed that our derivation in an approximate manner is similar to numerical value obtained. This is the guideline for designing NOMA to achieve the lowest outage performance.

In Figure 10, further simulation is performed for consideration at D1; the SPSC performance versus transmit SNR is presented. As can be seen, at lower SNR regime, SPSC performance between OMA and NOMA is similar. This observation will change at higher SNR. The strong characterization of eavesdropper leads to varying SPSC performance. As seen in other simulations, this result verifies the exactness of the analytical computations presented in the previous section.

In Figure 11, the curves of SPSC versus transmit SNR at D2 are presented. As can be seen, the analytical results can match the simulations very well. Obviously, by varying channel gains of the eavesdropper, the SPSC will be changed. Meanwhile, the performance gap between OMA and NOMA in such SPSC is linear in the range of SNR from −20 dB to 5 dB and it does not exist if the SNR is greater than 10 dB. Like previous simulations, this result coincides with the analysis in analytical computations presented in the previous section.

## 7. Conclusions

In this study, the closed-form expressions are derived in a scenario of relaying network deploying NOMA. In such NOMA, relay in group is selected to evaluate secure performance in situations regarding the existence of secrecy probability in such RS-NOMA. In this scenario, we considered a system with an eavesdropper, multiple-relay, two NOMA users, and a base station. As an important achievement, the best relay selection criteria was recommended to enhance system secrecy performance against eavesdropping attacks. By evaluating the effects of various indicators of the system, we investigated two main metrics, the SPSC and the SOP and then secrecy performance analysis is achieved. In addition, we further demonstrated the accuracy of the analysis using Monte Carlo simulations. In addition, we confirmed the advantage of NOMA scheme compared with OMA at specific values of simulated parameters. For future work, multiple antenna at the base station and multiple eavesdroppers should be examined together with relaying techniques to illustrate a practical implementation of RS-NOMA.

## Author Contributions

D.-T.D. introduced the idea, contributed to developing some mathematical analysis; M.-S.V.N. performed the simulation experiments; T.-A.H. contributed some mathematical analysis; M.V. provided valuable comments.

## Funding

This research received support from the grant SGS reg. No. SP2019/41 conducted at VSB Technical University of Ostrava, Czech Republic.

## Conflicts of Interest

The authors declare no conflict of interest.

## Appendix A

**Proof of Proposition**

**A1.**

We first compute SOP based on the concerned definition as

$$\begin{array}{cc}{P}_{SOP1}^{NOMA}\hfill & =1-\mathrm{Pr}\left({C}_{x1}^{NOMA}\ge {R}_{1}\right)\hfill \\ & =1-\mathrm{Pr}\left(\frac{1}{2}{\mathrm{log}}_{2}\left(min\left(\frac{1+{\gamma}_{SD1,x1}^{NOMA}}{1+{\gamma}_{SE1}^{NOMA}},\frac{1+{\gamma}_{SD1,x2}^{NOMA}}{1+{\gamma}_{SE1}^{NOMA}}\right)\right)\ge {R}_{1}\right)\hfill \\ & \approx 1-\underset{{X}_{1}}{\underbrace{\mathrm{Pr}\left({\gamma}_{SD1,x1}^{NOMA}\ge {2}^{2{R}_{1}}\left(1+{\gamma}_{SE1}^{NOMA}\right)-1\right)}}\underset{{X}_{2}}{\underbrace{\mathrm{Pr}\left({\gamma}_{SD1,x2}^{NOMA}\ge {2}^{2{R}_{1}}\left(1+{\gamma}_{SE1}^{NOMA}\right)-1\right)}}.\hfill \end{array}$$

To compute such outage, ${X}_{1}$ can be first calculated as
where ${\phi}_{1}={2}^{2{R}_{1}}{\alpha}_{1}{\rho}_{E},{\psi}_{1}={2}^{2{R}_{1}}-1$.

$$\begin{array}{cc}{X}_{1}\hfill & =\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}\ge \frac{{\phi}_{1}{\left|{h}_{E}\right|}^{2}+{\psi}_{1}}{{\alpha}_{1}{\rho}_{S}}\right)\hfill \\ & ={\int}_{0}^{\infty}\mathrm{exp}\left(-\frac{{\phi}_{1}{\left|{h}_{E}\right|}^{2}+{\psi}_{1}}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}+{\epsilon}_{1}{\lambda}_{E}}\mathrm{exp}\left(-\frac{{\psi}_{1}}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}\right).\hfill \end{array}$$

In addition, ${X}_{2}$ can be expressed by

$$\begin{array}{c}{X}_{2}=\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}\ge \frac{{\phi}_{1}{\left|{h}_{E}\right|}^{2}+{\psi}_{1}}{{\rho}_{S}\left({\alpha}_{2}-{\psi}_{1}{\alpha}_{1}-{\phi}_{1}{\alpha}_{1}{\left|{h}_{E}\right|}^{2}\right)}\right).\hfill \end{array}$$

It is noted that strict constraint here is ${\rho}_{S}\left({\alpha}_{2}-{\psi}_{1}{\alpha}_{1}-{\phi}_{1}{\alpha}_{1}{\left|{h}_{E}\right|}^{2}\right)>0\to {\left|{h}_{E}\right|}^{2}<\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}{{\phi}_{1}{\alpha}_{1}}$ then ${X}_{2}$ can be further computed by

$$\begin{array}{c}{X}_{2}={\int}_{0}^{\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}{{\phi}_{1}{\alpha}_{1}}}\mathrm{exp}\left(-\frac{{\phi}_{1}x+{\psi}_{1}}{\left({\alpha}_{2}-{\psi}_{1}{\alpha}_{1}-{\phi}_{1}{\alpha}_{1}x\right){\rho}_{S}{\lambda}_{D1}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx.\hfill \end{array}$$

Next, new variable can be seen as ${t}_{1}={\alpha}_{2}-{\psi}_{1}{\alpha}_{1}-{\phi}_{1}{\alpha}_{1}x\to x=\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}-{t}_{1}}{{\phi}_{1}{\alpha}_{1}}$ then ${X}_{2}$ can be re-expressed by

$$\begin{array}{cc}{X}_{2}\hfill & =\frac{1}{{\phi}_{1}{\alpha}_{1}{\lambda}_{E}}{\int}_{0}^{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}\mathrm{exp}\left(-\frac{{\alpha}_{2}-{t}_{1}}{{\alpha}_{1}{t}_{1}{\rho}_{S}{\lambda}_{D1}}\right)\mathrm{exp}\left(-\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}-{t}_{1}}{{\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\right)d{t}_{1}\hfill \\ & =\frac{1}{{\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}{{\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\right)U\left({t}_{1}\right).\hfill \end{array}$$

After performing simple manipulations, it can be obtained that

$$\begin{array}{c}{P}_{SOP1}^{NOMA}=1-\frac{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}{\left({\alpha}_{1}{\rho}_{S}{\lambda}_{D1}+{\phi}_{1}{\lambda}_{E}\right){\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(-\frac{{\psi}_{1}}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}+\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}-{\psi}_{1}{\alpha}_{1}}{{\phi}_{1}{\alpha}_{1}{\lambda}_{E}}\right)U\left({t}_{1}\right).\hfill \end{array}$$

This is end of the proof. ☐

## Appendix B

**Proof of Proposition**

**A2.**

From the definition, it can be expressed SOP as

$$\begin{array}{cc}{P}_{SOP2}^{NOMA}\hfill & =\mathrm{Pr}\left({C}_{x2}^{NOMA}<{R}_{2}\right)\hfill \\ & =\mathrm{Pr}\left({\gamma}_{SD1,x2}^{NOMA}<{2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\cup {\gamma}_{D12,x2}^{NOMA}<{2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\right)\hfill \\ & \times \mathrm{Pr}\left({\gamma}_{SRk\ast ,x2}^{NOMA}<{2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\cup {\gamma}_{Rk\ast D2,x2}^{NOMA}<{2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\right)\hfill \\ & =\underset{{Q}_{1}}{\underbrace{\left(1-\mathrm{Pr}\left({\gamma}_{SD1,x2}^{NOMA}\ge {2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1,{\gamma}_{D12,x2}^{NOMA}\ge {2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\right)\right)}}\hfill \\ & \times \underset{{Q}_{2}}{\underbrace{\prod _{k=1}^{K}\left(1-\mathrm{Pr}\left({\gamma}_{SRk,x2}^{NOMA}\ge {2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1,{\gamma}_{RkD2,x2}^{NOMA}\ge {2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\right)\right)}}.\hfill \end{array}$$

In this situation, ${R}_{1}$ can be written as

$$\begin{array}{cc}{Q}_{1}\hfill & =1-\mathrm{Pr}\left({\gamma}_{SD1,x2}^{NOMA}\ge {2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1,{\gamma}_{D12,x2}^{NOMA}\ge {2}^{2{R}_{2}}\left(1+{\gamma}_{SE2}^{NOMA}\right)-1\right)\hfill \\ & =1-\underset{{J}_{1}}{\underbrace{\mathrm{Pr}\left({\left|{h}_{D1}\right|}^{2}\ge \frac{{\phi}_{2}{\left|{h}_{E}\right|}^{2}+{\psi}_{2}}{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\left|{h}_{E}\right|}^{2}}\right)}}\underset{{J}_{2}}{\underbrace{\mathrm{Pr}\left({\left|{g}_{D12}\right|}^{2}\ge \frac{{\phi}_{2}{\left|{h}_{E}\right|}^{2}+{\psi}_{2}}{{\rho}_{R}}\right)}}.\hfill \end{array}$$

This case requires the constraint as ${\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\left|{h}_{E}\right|}^{2}>0\to {\left|{h}_{E}\right|}^{2}<\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}}$ then ${J}_{1}$ can be expressed by

$$\begin{array}{c}{J}_{1}=\frac{1}{{\lambda}_{E}}{\int}_{0}^{\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}{{\epsilon}_{2}{\alpha}_{1}{\rho}_{S}}}\mathrm{exp}\left(-\frac{{\phi}_{2}x+{\psi}_{2}}{\left({\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{\phi}_{2}{\alpha}_{1}{\rho}_{S}x\right){\lambda}_{D1}}-\frac{x}{{\lambda}_{E}}\right)dx.\hfill \end{array}$$

To further computation, we set new variable as ${t}_{2}={\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{\phi}_{2}{\alpha}_{1}{\rho}_{S}x\to x=\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{t}_{2}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}}$ then it can be expressed by

$$\begin{array}{c}{J}_{1}=\frac{1}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\right)q\left({t}_{2}\right).\end{array}$$

In this step, it can be shown ${J}_{2}$ as

$$\begin{array}{cc}{J}_{2}\hfill & =\mathrm{Pr}\left({\left|{h}_{D12}\right|}^{2}\ge \frac{{\phi}_{2}{\left|{h}_{E}\right|}^{2}+{\psi}_{2}}{{\rho}_{R}}\right)\hfill \\ & ={\int}_{0}^{\infty}\mathrm{exp}\left(-\frac{{\phi}_{2}x+{\psi}_{2}}{{\rho}_{R}{\lambda}_{D12}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{{\rho}_{R}{\lambda}_{D12}}{{\rho}_{R}{\lambda}_{D12}+{\phi}_{2}{\lambda}_{E}}\mathrm{exp}\left(-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{D12}}\right).\hfill \end{array}$$

From (A10) and (A11), it can be obtained ${R}_{1}$ as
where ${\phi}_{2}={2}^{2{R}_{2}}{\alpha}_{2}{\rho}_{E},{\psi}_{2}={2}^{2{R}_{2}}-1,q\left({t}_{2}\right)={\int}_{0}^{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}\mathrm{exp}\left(-\frac{{\alpha}_{2}{\rho}_{S}}{{\alpha}_{1}{\rho}_{S}{t}_{2}{\lambda}_{D1}}+\frac{{t}_{2}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\right)d{t}_{2}$.

$$\begin{array}{c}{Q}_{1}=1-\frac{{\rho}_{R}{\lambda}_{D12}}{\left({\rho}_{R}{\lambda}_{D12}+{\phi}_{2}{\lambda}_{E}\right){\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{D12}}\right)q\left({t}_{2}\right),\end{array}$$

Then, ${R}_{2}$ can be calculated as

$$\begin{array}{c}{Q}_{2}=\prod _{k=1}^{K}\left(1-\underset{{Y}_{1}}{\underbrace{\mathrm{Pr}\left({\left|{h}_{SR1}\right|}^{2}\ge \frac{{\phi}_{2}{\left|{h}_{E}\right|}^{2}+{\psi}_{2}}{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\left|{h}_{E}\right|}^{2}}\right)}}\underset{{Y}_{2}}{\underbrace{\mathrm{Pr}\left({\left|{g}_{kD2}\right|}^{2}\ge \frac{{\phi}_{2}{\left|{h}_{E}\right|}^{2}+{\psi}_{2}}{{\rho}_{R}}\right)}}\right).\end{array}$$

Such outage event need the condition as ${\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}-{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\left|{h}_{E}\right|}^{2}>0\to {\left|{h}_{E}\right|}^{2}<\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}{{\phi}_{2}{\alpha}_{1}}$ then ${Y}_{1}$ can be expressed by

$$\begin{array}{c}{Y}_{1}=\frac{1}{{\lambda}_{E}}{\int}_{0}^{\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}{{\phi}_{2}{\alpha}_{1}}}\mathrm{exp}\left(-\frac{{\phi}_{2}x+{\psi}_{2}}{\left({\alpha}_{2}-{\psi}_{2}{\alpha}_{1}-{\phi}_{2}{\alpha}_{1}x\right){\rho}_{S}{\lambda}_{SR1}}-\frac{x}{{\lambda}_{E}}\right)dx.\hfill \end{array}$$

Similarly, we set new variable as ${t}_{3}={\alpha}_{2}-{\psi}_{2}{\alpha}_{1}-{\phi}_{2}{\alpha}_{1}x\to x=\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}-{t}_{3}}{{\phi}_{2}{\alpha}_{1}}$ then it can be expressed by

$$\begin{array}{c}{Y}_{1}=\frac{1}{{\phi}_{2}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}{{\phi}_{2}{\alpha}_{1}{\lambda}_{E}}\right)q\left({t}_{3}\right).\hfill \end{array}$$

As a result, we have ${Y}_{2}$

$$\begin{array}{cc}{Y}_{2}\hfill & ={\int}_{0}^{\infty}\mathrm{exp}\left(-\frac{{\phi}_{2}x+{\psi}_{2}}{{\rho}_{R}{\lambda}_{kD2}}\right)\frac{1}{{\lambda}_{E}}\mathrm{exp}\left(-\frac{x}{{\lambda}_{E}}\right)dx\hfill \\ & =\frac{{\rho}_{R}{\lambda}_{kD2}}{{\rho}_{R}{\lambda}_{kD2}+{\phi}_{2}{\lambda}_{E}}\mathrm{exp}\left(-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{kD2}}\right).\hfill \end{array}$$

From (A15) and (A16), ${R}_{2}$ is rewritten as

$$\begin{array}{c}{Q}_{2}=\prod _{k=1}^{K}\left(1-\frac{{\rho}_{R}{\lambda}_{kD2}}{\left({\rho}_{R}{\lambda}_{kD2}+{\phi}_{2}{\lambda}_{E}\right){\phi}_{2}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}{{\phi}_{2}{\alpha}_{1}{\lambda}_{E}}-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{kD2}}\right)q\left({t}_{3}\right)\right).\hfill \end{array}$$

Then, ${P}_{SOP2}^{NOMA}$ can be achieved that

$$\begin{array}{cc}{P}_{SOP2}^{NOMA}\hfill & =\left(1-\frac{{\rho}_{R}{\lambda}_{D12}}{\left({\rho}_{R}{\lambda}_{D12}+{\phi}_{2}{\lambda}_{E}\right){\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{D1}}-\frac{{\alpha}_{2}{\rho}_{S}-{\psi}_{2}{\alpha}_{1}{\rho}_{S}}{{\phi}_{2}{\alpha}_{1}{\rho}_{S}{\lambda}_{E}}-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{D12}}\right)q\left({t}_{2}\right)\right)\hfill \\ & \times \prod _{k=1}^{K}\left(1-\frac{{\rho}_{R}{\lambda}_{kD2}}{\left({\rho}_{R}{\lambda}_{kD2}+{\phi}_{2}{\lambda}_{E}\right){\phi}_{2}{\alpha}_{1}{\lambda}_{E}}\mathrm{exp}\left(\frac{1}{{\alpha}_{1}{\rho}_{S}{\lambda}_{SR1}}-\frac{{\alpha}_{2}-{\psi}_{2}{\alpha}_{1}}{{\phi}_{2}{\alpha}_{1}{\lambda}_{E}}-\frac{{\psi}_{2}}{{\rho}_{R}{\lambda}_{kD2}}\right)q\left({t}_{3}\right)\right).\hfill \end{array}$$

This is end of the proof. ☐

## References

- Mukherjee, A.; Fakoorian, S.A.A.; Huang, J.; Swindlehurst, A.L. Principles of Physical Layer Security in Multiuser Wireless Networks: A Survey. IEEE Commun. Surv. Tutor.
**2014**, 16, 1550–1573. [Google Scholar] [CrossRef][Green Version] - Barenghi, A.; Breveglieri, L.; Koren, I.; Naccache, D. Fault Injection Attacks on Cryptographic Devices: Theory, Practice, and Countermeasures. Proc. IEEE
**2012**, 100, 3056–3076. [Google Scholar] [CrossRef][Green Version] - Hu, L.; Wen, H.; Wu, B.; Pan, F.; Liao, R.-F.; Song, H.; Tang, J.; Wang, X. Cooperative Jamming for Physical Layer Security Enhancement in Internet-of-Things. IEEE Internet Things J.
**2018**, 5, 219–228. [Google Scholar] [CrossRef] - Rawat, D.B.; White, T.; Parwez, M.S.; Bajracharya, C.; Song, M. Evaluating Secrecy Outage of Physical Layer Security in Large-Scale MIMO Wireless Communications for Cyber-Physical Systems. IEEE Internet Things J.
**2017**, 4, 1987–1993. [Google Scholar] [CrossRef] - Do, D.-T.; Le, C.-B. Application of NOMA in Wireless System with Wireless Power Transfer Scheme: Outage and Ergodic Capacity Performance Analysis. Sensors
**2018**, 18, 3501. [Google Scholar] [CrossRef] [PubMed] - Yang, Z.; Ding, Z.; Wu, Y.; Fan, P. Novel Relay Selection Strategies for Cooperative NOMA. IEEE Trans. Veh. Technol.
**2017**, 66, 10114–10123. [Google Scholar] [CrossRef] - Nguyen, T.-L.; Do, D.-T. Exploiting Impacts of Intercell Interference on SWIPT-assisted Non-orthogonal Multiple Access. Wirel. Commun. Mob. Comput.
**2018**, 2018, 2525492. [Google Scholar] [CrossRef] - Do, D.-T.; Nguyen, H.-S.; Voznak, M.; Nguye, T.-S. Wireless powered relaying networks under imperfect channel state information: System performance and optimal policy for instantaneous rates. Radioengineering
**2017**, 26, 869–877. [Google Scholar] [CrossRef] - Nguye, T.-L.; Do, D.-T. A new look at AF two-way relaying networks: energy harvesting architecture and impact of co-channel interference. Ann. Telecommun.
**2017**, 72, 669–678. [Google Scholar] - Men, J.; Ge, J.; Zhang, C. Performance Analysis of Nonorthogonal Multiple Access for Relaying Networks Over Nakagami-mFading Channels. IEEE Trans. Veh. Technol.
**2017**, 66, 1200–1208. [Google Scholar] [CrossRef] - Nguyen, X.-X.; Do, D.-T. Maximum harvested energy policy in full-duplex relaying networks with SWIPT. Int. J. Commun. Syst.
**2017**, 30, e3359. [Google Scholar] [CrossRef] - Fortino, G.; Russo, W.; Savaglio, C.; Shen, W.; Zhou, M. Agent-Oriented Cooperative Smart Objects: From IoT System Design to Implementation. IEEE Trans. Syst. Man Cybern. Syst.
**2018**, 48, 1939–1956. [Google Scholar] [CrossRef] - Rauniyar, A.; Engelstad, P.; Østerbø, O.N. RF Energy Harvesting and Information Transmission Based on NOMA for Wireless Powered IoT Relay Systems. Sensors
**2018**, 18, 3254. [Google Scholar] [CrossRef] [PubMed] - Ding, Z.; Dai, H.; Poor, H.V. Relay Selection for Cooperative NOMA. IEEE Wirel. Commun. Lett.
**2016**, 5, 416–419. [Google Scholar] [CrossRef][Green Version] - Kim, J.; Song, M.S.; Lee, I. Achievable rate of best relay selection for non-orthogonal multiple access-based cooperative relaying systems. In Proceedings of the International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Korea, 19–21 October 2016; pp. 960–962. [Google Scholar]
- Lee, S.; da Costa, D.B.; Duong, T.Q. Outage Probability of Non-Orthogonal Multiple Access Schemes with Partial Relay Selection. In Proceedings of the IEEE 27th Annual IEEE International Symposium on Personal, Indoor and Mobile Radio Communications, Valencia, Spain, 4–8 September 2016. [Google Scholar]
- Xu, P.; Yang, Z.; Ding, Z.; Zhang, Z. Optimal Relay Selection Schemes for Cooperative NOMA. IEEE Trans. Veh. Technol.
**2018**, 67, 7851–7855. [Google Scholar] [CrossRef] - Zhang, Y.; Wang, X.; Wang, D.; Zhang, Y.; Zhao, Q.; Deng, Q. NOMA-based Cooperative Opportunistic Multicast Transmission Scheme for Two Multicast Groups: Relay selection and Performance Analysis. IEEE Access
**2018**, 6, 62793–62805. [Google Scholar] [CrossRef] - Yue, X.; Liu, Y.; Kang, S.; Nallanathan, A.; Ding, Z. Spatially Random Relay Selection for Full/Half-Duplex Cooperative NOMA Networks. IEEE Trans. Commun.
**2018**, 66, 3294–3308. [Google Scholar] [CrossRef] - Benjebbour, A.; Saito, Y.; Kishiyama, Y.; Li, A.; Harada, A.; Nakamura, T. Concept and practical considerations of non-orthogonal multiple access (NOMA) for future radio access. In Proceedings of the International Symposium on Intelligent Signal Processing and Communication Systems, Naha, Japan, 12–15 November 2013; pp. 770–774. [Google Scholar]
- Ding, Z.; Yang, Z.; Fan, P.; Poor, H.V. On the Performance of Non-Orthogonal Multiple Access in 5G Systems with Randomly Deployed Users. IEEE Signal Process Lett.
**2014**, 21, 1501–1505. [Google Scholar] [CrossRef][Green Version] - Yang, Z.; Ding, Z.; Fan, P.; Al-Dhahir, N. A General Power Allocation Scheme to Guarantee Quality of Service in Downlink and Uplink NOMA Systems. IEEE Trans. Wirel. Commun.
**2016**, 15, 7244–7257. [Google Scholar] [CrossRef] - Timotheou, S.; Krikidis, I. Fairness for Non-Orthogonal Multiple Access in 5G Systems. IEEE Signal Process Lett.
**2015**, 22, 1647–1651. [Google Scholar] [CrossRef][Green Version] - Choi, J. Power Allocation for Max-Sum Rate and Max-Min Rate Proportional Fairness in NOMA. IEEE Commun. Lett.
**2016**, 20, 2055–2058. [Google Scholar] [CrossRef] - Qin, Z.; Liu, Y.; Ding, Z.; Gao, Y.; Elkashlan, M. Physical layer security for 5G non-orthogonal multiple access in large-scale networks. In Proceedings of the IEEE International Conference on Communications (ICC), Kuala Lumpur, Malaysia, 22–27 May 2016; pp. 1–6. [Google Scholar]
- Liu, Y.; Qin, Z.; Elkashlan, M.; Gao, Y.; Hanzo, L. Enhancing the Physical Layer Security of Non-Orthogonal Multiple Access in Large-Scale Networks. IEEE Trans. Wirel. Commun.
**2017**, 16, 1656–1672. [Google Scholar] [CrossRef] - He, B.; Liu, A.; Yang, N.; Lau, V.K.N. On the Design of Secure Non-Orthogonal Multiple Access Systems. IEEE J. Sel. Areas Commun.
**2017**, 35, 2196–2206. [Google Scholar] [CrossRef][Green Version] - Zhang, Y.; Wang, H.; Yang, Q.; Ding, Z. Secrecy Sum Rate Maximization in Non-orthogonal Multiple Access. IEEE Commun. Lett.
**2016**, 20, 930–933. [Google Scholar] [CrossRef][Green Version] - Lei, H.; Zhang, J.; Park, K.; Xu, P.; Ansar, I.S.; Pan, G.; Alomair, B.; Alouini, M. On Secure NOMA Systems With Transmit Antenna Selection Schemes. IEEE Access
**2017**, 5, 17450–17464. [Google Scholar] [CrossRef][Green Version] - Lv, L.; Ni, Q.; Ding, Z.; Chen, J. Cooperative non-orthogonal relaying for security enhancement in untrusted relay networks. In Proceedings of the 2017 IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar]
- Wang, W.; Teh, K.C.; Li, K.H. Generalized Relay Selection for Improved Security in Cooperative DF Relay Networks. IIEEE Wirel. Commun. Lett.
**2016**, 5, 28–31. [Google Scholar] [CrossRef]

**Figure 1.**System model of a RS-NOMA assisted IoT system in the existence of an external eavesdropper.

**Figure 2.**Comparison study on SOP of NOMA and OMA for User D1 versus ${\rho}_{S}={\rho}_{R}$ as changing ${R}_{1}$ (${{\lambda}_{D}}_{1}={\lambda}_{E}=1$, ${\rho}_{E}=0$ dB, ${R}_{2}=1$).

**Figure 3.**Comparison study on SOP of NOMA and OMA for User D2 versus ${\rho}_{S}={\rho}_{R}$ as changing K (${{\lambda}_{D}}_{1}={{\lambda}_{D}}_{12}={\lambda}_{SRk}={{\lambda}_{kD}}_{2}={\lambda}_{E}=1$, ${\rho}_{E}=-10$ dB, ${R}_{2}=1$).

**Figure 4.**Comparison study on SOP of NOMA and OMA for User D1 versus transmit ${\rho}_{S}={\rho}_{R}$ as varying ${\lambda}_{D1}$.

**Figure 6.**Comparison study of SOP for NOMA and OMA for User D1 versus ${\rho}_{S}={\rho}_{R}$ as varying ${\rho}_{E}$.

**Figure 7.**Comparison study of SOP for NOMA and OMA for User D2 versus ${\rho}_{S}={\rho}_{R}$ as varying ${\rho}_{E}$.

**Figure 8.**Comparison study of SOP in several cases versus ${\rho}_{S}={\rho}_{R}$ (${{\lambda}_{D}}_{1}={{\lambda}_{D}}_{12}={\lambda}_{SRk}={{\lambda}_{kD}}_{2}={\lambda}_{E}=1$, ${\rho}_{E}=-8$ dB, $K=1$, ${R}_{1}={R}_{2}=1$).

**Figure 9.**Optimal SOP in several cases with indication of optimal value regarding ${\alpha}_{1}$ (${{\lambda}_{D}}_{1}={{\lambda}_{D}}_{12}={\lambda}_{SRk}={{\lambda}_{kD}}_{2}={\lambda}_{E}=1$, ${\rho}_{E}=-5$ dB, $K=1$, ${R}_{1}={R}_{2}=0.5$).

**Figure 10.**Comparison study of SPSC in several cases versus ${\rho}_{S}={\rho}_{R}$ at D1 as setting different values of ${\rho}_{E}$ (${{\lambda}_{D}}_{1}={\lambda}_{E}=1$, ${R}_{1}=0.5$, ${R}_{2}=1$).

**Figure 11.**SPSC performance in several cases versus ${\rho}_{S}={\rho}_{R}$ as different choices of ${\rho}_{E}$ (${{\lambda}_{D}}_{1}={{\lambda}_{D}}_{12}={\lambda}_{SRk}={{\lambda}_{kD}}_{2}={\lambda}_{E}=1$, $K=1$, ${R}_{1}=0.5$,${R}_{2}=1$).

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).