1 Introduction

Non orthogonal multiple access (NOMA) has been considered as a promising technique to enhance the spectral efficiency of the fifth generation (5G) communication networks [1]. Unlike orthogonal multiple access (OMA) techniques, NOMA had been proposed to serve multiple users of multiple communication signals at the same time/frequency/code slot but with different power levels [2, 3]. Then, the separation is carried out by the method of successive interference cancellation (SIC).

The impact of user pairing has been recognized as a concept of hybrid NOMA/OMA design where the authors in [4] compared the sum rate of a dual pairing NOMA based users with orthogonal based ones. In [5] the authors considered the fairness of the users where proper power resource coefficients were allocated fairly. The NOMA technique had been utilized by many transceiver communication systems such as uplink transmissions [6], coordination deployment systems [7] and downlink transmissions [8]. Actually, a closed form expression for the sum rates of NOMA with two BSs was derived in [7] using a coordinated superposition coding.

Meanwhile, cognitive radio networks have been recognized as a useful tool for solving the problem of scarcity of spectral resources and to provide a spectral efficiency by licensed/unlicensed spectrum sharing [9]. In cognitive radio networks, it is permissible to unlicensed secondary users to access the spectrum of licensed primary users without interference with the primary users [10]. NOMA techniques can be involved in cognitive radio networks where the secondary users have the opportunities to share the licensed spectrum even if the primary users are in very poor channel conditions. The key feature lies in firstly decoding the message intended to the primary user by the secondary user. Then, the secondary user can detect its own message by utilizing the appropriate power level and decoding techniques, e.g., SIC [11]. Thus, both the primary and secondary users can be served simultaneously.

Cooperative communication based NOMA has attracted much attention to promote the transmission reliability and improve the system performance. Particularly, the secondary user can serve as potential relay to improve the performance of the primary user via cooperative communication. Various cooperative techniques have been proposed in the literature. For example, in [12] the user with a good channel condition acts as a relay for the user with such a poor one. More recently, NOMA with a dedicated relay was introduced in [13] to avoid overloaded information on relay users. Wireless power harvesting was applied to cooperative NOMA in [14], where the impact of the locations of randomly deployed users was extensively investigated in a downlink single cell system. The scenario of multiple users equipped with multiple antennas was investigated in [15]. Two optimal relay selection strategies based on cooperative NOMA scheme were proposed in [16]. A comparative study between the achievable capacities in cooperative NOMA/OMA and power allocation schemes was depicted in [17]. In [18] the multiple-input–multiple-output MIMO based NOMA system was discussed within multi-antenna networks where the MIMO channels were converted into multiple parallel single channels.

However, in the context of a cooperative NOMA scheme within a cognitive radio network, the primary user may suffer from very poor channel condition or its channel may vary according to the location which requires the paired secondary user/s to adjust the allocated power level of the redirected signal to the primary user, e.g., the power allocation resource is proportional to the channel condition. Moreover, it is desired in the secondary user network to exchange signals via the lowest possible number of possible resources (i.e., time/frequency/code).

Motivated by this fact, in this paper a novel of a downlink cognitive radio network will be proposed where a BS controls multiple secondary users and one primary user. One potential secondary user (e.g., any-casting transmission) is selected to transmit the controlled signals simultaneously to both the other secondary users and the primary user to increase the reliability of both networks.

Different from the contributions [16, 17] and [19] in the literature, the fading coefficient of the primary user within the network dynamically determines the amount of allocated powers and it can be efficiently modeled by a certain QoS threshold condition at the primary user. Therefore, the allocated power resources for both secondary and primary users vary greatly depending on the channel characteristics of both (S to S) and (S to P) paths.

The contributions of the paper can be summarized as follows:

  • Two equivalent cases of a secondary user selection scheme are proposed that aim at maximizing the minimum of the joint base-station to secondary (BS to S) and secondary to secondary (S to S) channels’ coefficients under a certain condition of secondary to primary (S to P) channel coefficient.

  • At high SINR, approximately exact and asymptotic NOMA expressions for the average achievable sum rate of the network will be derived and compared with the existing OMA schemes. Simulation results emphasize the correctness of our derivations and ensure that the proposed system outperforms the conventional OMA by using the lowest possible number of time resources. This paves the way of exploiting more and more saved time resources at successive stages of communications [24].

  • It will be shown that the channel characteristic of the BS-S path has a great impact on the performance and it should be optimized to make the use of NOMA scheme.

The reminder of this paper is organized as follows: in Sect. 2 the system model is presented. In Sect. 3, the proposed user selection is investigated and a comprehensive analysis for the average achievable sum rate as an important metric is provided. Simulation results are carried out in Sect. 4 to emphasize the correctness of our theoretical analysis. Finally, Sect. 5 concludes the paper.

2 System and Channel Models

A CR network based NOMA system is considered with one BS, one primary user and a set of \(R_{{\mathcal{N}}}\), \({\mathcal{N}} \in \left\{ {1,2, \ldots .,N} \right\}\), cooperative secondary users which mutually exchange messages among themselves. Particularly, the BS employs the NOMA technique to communicate simultaneously with the primary user and one any-casting secondary user which is selected from the secondary cooperative system to mitigate the non-decodable message to both primary and secondary nodes. As shown in Fig. 1, the selected secondary user acts as a relay to the primary user and both are paired to perform NOMA.

Fig. 1
figure 1

System and channel model

It is assumed that all nodes are equipped with a single antenna and a half duplex mode communication is considered. Furthermore, all communication channels are flat fading and error free estimated Rayleigh channels. It is further assumed that all the nodes are confirmed to know global channel state information (CSI). Users’ channels are ordered according to their QoS requirements.

Two time slots are involved in communications. In the first time slot, the BS broadcasts simultaneously two superimposed signals by employing the superposition code, the transmitted signal can be expressed by [1, 2],

$$B = x_{s} \sqrt {P_{b} a_{si} } + x_{p} \sqrt {P_{b} a_{sp} }$$
(1)

where \(x_{s} \; {\text{and}}\; x_{p}\) are the transmitted symbols of the secondary and primary system, respectively, \(P_{b}\) is the BS limited power, \(a_{si} \;{\text{and}} \;a_{sp}\) are the power allocation resources and \(E\left\{ {\left| {x_{k} } \right|^{2} } \right\} = 1, k \in \left\{ {s,p} \right\}\). Following the NOMA principle, it is noted that \(a_{si} + a_{sp} = 1\), \(a_{si} < a_{sp}\), i.e., \(S_{p}\) is allocated with more power to ensure fairness to the downlink users. Thus, the received signal at the secondary user \(i\), \(R_{i}\), and the primary user \(p\) can be respectively expressed as,

$$r_{bi} = h_{bi} B + n_{i} ,$$
(2)
$$r_{bp} = h_{bp} B + n_{p}^{\left( b \right)}$$
(3)

where \(h_{bi}\) is the \(BS - R_{i}\) channel fading coefficient, \({n_{i}} \sim CN\left( {0,N_{0} } \right)\) is the additive white Gaussian noise (AWGN) signal at the secondary user \(i\), \(h_{bp}\) is the channel fading coefficient of the \(BS - p\) direct path, \({n_{p}^{\left( b \right)}} \sim CN\left( {0,N_{0} } \right)\) is the corresponding additive white Gaussian noise (AWGN) signal associated the reception of the BS signal (where the superscript \(b\) belongs to the transmit BS signal).

The secondary user \(i\) decodes the symbol \(x_{p}\) by treating the symbol \(x_{s}\) as a noise, then, cancels it from the superimposed signals using successive interference cancellation (SIC) to acquire the symbol \(x_{s}\). Thus, the conditions for the secondary user \(i\) to be able to successfully decode the two signals, i.e., its own signal and the primary user signal, are given by [21],

$$\frac{1}{2}\log_{2} \left( {1 + \gamma_{bi}^{\left( p \right)} } \right) = \frac{1}{2}\log_{2} \left( {1 + \frac{{\left| {h_{bi} } \right|^{2} P_{b} a_{sp} }}{{\left| {h_{bi} } \right|^{2} P_{b} a_{si} + N_{0}^{2} }}} \right) > R_{p} ,$$
(4)
$$\frac{1}{2}\log_{2} \left( {1 + \gamma_{bi}^{\left( s \right)} } \right) = \frac{1}{2}\log_{2} \left( {1 + \frac{{\left| {h_{bi} } \right|^{2} P_{b} a_{si} }}{{N_{0}^{2} }}} \right) > R_{s}$$
(5)

where \(\gamma_{bi}^{\left( p \right)}\) and \(\gamma_{bi}^{\left( s \right)}\) are the signal to interference plus noise ratios (SINRs) of the primary and the secondary users, respectively, experienced at the secondary user \(i\). Here, \(R_{p} \;{\text{and}}\; R_{s}\) represent the target rates of the primary and the secondary users, respectively. The primary user decodes its own signal treating the other as a noise provided that,

$$\frac{1}{2}\log_{2} \left( {1 + \gamma_{bp} } \right) = \frac{1}{2}\log_{2} \left( {1 + \frac{{\left| {h_{bp} } \right|^{2} P_{b} a_{sp} }}{{\left| {h_{bp} } \right|^{2} P_{b} a_{si} + N_{0}^{2} }}} \right) > R_{p} .$$
(6)

where \(\gamma_{bp}\) is the signal to interference plus noise ratios (SINRs) of the primary user \(p\).

At the second time slot, the secondary user \(i\) forwards the re-encoded primary signal to the primary user to reinforce the high priority signal as well as it forwards simultaneously the secondary signal to the secondary system by employing different resource allocation coefficients.Footnote 1 The two signals can be obtained separately as,

$$S_{ip} = x_{p} \sqrt {P_{R} a_{ip} } ,$$
(7)
$$S_{ij} = x_{s} \sqrt {P_{R} a_{ij} } , j \in {\mathcal{N}} - \left\{ i \right\},$$
(8)

where \(S_{ip}\) is the transmitted signal to the primary user at the secondary user \(i\) end, \(S_{ij} , j \in {\mathcal{N}} - \left\{ i \right\}\), is the transmitted signal to the secondary user \(j\) at the secondary user \(i\) end, \(P_{R}\) is the secondary user (relay) limited power, \(a_{ij} \; {\text{and}}\; a_{ip}\) are the power allocation resources.

It is noted that the two separate signals are summed. Thus, the received signal at the secondary user \(j, j \in {\mathcal{N}} - \left\{ i \right\}\), and the primary user \(p\) can be respectively expressed as,

$$r_{ij} = h_{ij} \left( {S_{ij} + S_{ip} } \right) + n_{j} ,$$
(9)
$$r_{ip} = h_{ip} \left( {S_{ij} + S_{ip} } \right) + n_{p}^{\left( i \right)} , j \in {\mathcal{N}} - \left\{ i \right\},$$
(10)

where \(h_{ij} , j \in {\mathcal{N}} - \left\{ i \right\}\), is the \(R_{i} - R_{j}\) channel fading coefficient, \(n_{j} \sim CN\left( {0,N_{0} } \right)\) is the additive white Gaussian noise (AWGN) signal at the secondary user \(j\), \(h_{ip}\) is the channel fading coefficient of the \(R_{i} - p\) path, \(n_{p}^{\left( i \right)} \sim CN\left( {0,N_{0} } \right)\) is the corresponding additive white Gaussian noise (AWGN) signal associated the reception of the \(R_{i}\) signal (where the superscript \(i\) belongs to the secondary user \(i\) transmitted signal).

Recall from the previous concept that the secondary user \(j\) decodes the received signal using SIC with an achievable rate no more than \(\frac{1}{2}\log_{2} \left( {1 + \frac{{\left| {h_{ij} } \right|^{2} P_{R} a_{ij} }}{{N_{0}^{2} }}} \right)\) provided that the primary constraints are satisfied.

In contrast to the previous secondary user \(i\) power allocation scheme which implies that, \(a_{ij} + a_{ip} = 1\), \(a_{ij} < a_{ip}\), a strict target SINR that guarantees the primary user’s QoS is introduced exploiting the channel characteristic of the primary and the secondary users. In particular, an upper limit of power allocated by \(a_{ij}\) may need to satisfy,

$$\frac{{\left| {h_{ip} } \right|^{2} P_{R} a_{ip} }}{{\left| {h_{ip} } \right|^{2} P_{R} a_{ij} + N_{0}^{2} }} \ge {\mathbb{I}},\text{ }j \in {\mathcal{N}} - \left\{ i \right\}$$
(11)

where \({\mathbb{I}}\) represents the constraint SINR. Thus, \(a_{ij}\) varies as a function of the primary fading coefficient which implies that,

$$a_{ij} = { min }_{i} \left( {{ max }\left( {0,\frac{{\left| {h_{ip} } \right|^{2} P_{R} - N_{0}^{2} {\mathbb{I}}}}{{\left| {h_{ip} } \right|^{2} P_{R} \left( {{\mathbb{I}} + 1} \right)}}} \right)} \right), \quad j \in {\mathcal{N}} - \left\{ i \right\} .$$
(12)

Two involved relay selection schemes are proposed in the next section based on the previous condition. The necessary condition for the priority of the primary user to receive the secondary signal can be given as,

$$a_{ip} \left| {h_{ip} } \right|^{2} > a_{ij} \left| {h_{ij} } \right|^{2} .$$
(13)

In the following section, two equivalent relay selection schemes which are characterized by strict power allocation coefficients are proposed for any-casting cognitive radio system to guarantee an adoptable QoS to the primary user. Then, we focus on the achievable rate analysis as an important performance metric.

3 Relay Selection and Performance Analysis

Different from the work [16, 17], one potential secondary user is selected from the set \(R_{{\mathcal{N}}}\) of secondary users, e.g., relying on the following selection criteria, to play its role in any-casting cognitive radio system where it transmits the signals intended to the primary user and the rest subset of \(R_{j}\), \(j \in {\mathcal{N}} - \left\{ i \right\}\), secondary users by dynamically allocating a variable power resource depending on the instantaneous measurement of the primary channel fading coefficient.

Besides, new expressions for secondary user selection based on resource allocation parameters and statistical channels’ conditions are derived. Then, the impact of those parameters on the achievable transmission rate will be calculated.

3.1 Relay Selection Schemes

  1. (1)

    Statistical maxmin the joint end to end (case 1) This scheme can be carried out by selecting the secondary user, \(i^{*}\), with the best weakest amongst all the candidates as follows:

    $$i^{*} = \arg max_{i} \left( {min\left( {\gamma_{bi} ,\gamma_{ip} ,\gamma_{ij} } \right)} \right) \triangleq \arg max_{i} \left( {min\left( {\left| {h_{bi} } \right|^{2} ,\left| {h_{ip} } \right|^{2} ,\left| {h_{ij} } \right|^{2} } \right)} \right),a_{ij} = const. .$$
    (14)

    where \(\gamma_{bi} , \gamma_{ip} \;{\text{and}}\; \gamma_{ij} ,\) are the signal to interference plus noise ratios (SINRs) of the \(BS - R_{i}\), the \(R_{i} - p\) and the \(R_{i} - R_{j}\), respectively. Obviously, \(\left| {h_{bi} } \right|^{2} ,\left| {h_{ip} } \right|^{2} \;{\text{and}}\; \left| {h_{ij} } \right|^{2}\) are uncorrelated, i.e., statistically independent, and the selection can be simply realized.

  2. (2)

    Statistical maxmin the joint secondary user phases (case 2) This scheme can be carried out by selecting the secondary user, \(i^{*}\), that maximizes the minimum of the joint secondary user statistics under the QoS constraint of primary user in (12), namely, \(i^{*}\) satisfies,

    $$i^{*} = \arg max_{i} \left( {min\left( {\gamma_{bi} ,\gamma_{ij} } \right)} \right) = \arg max_{i} \left( {min\left( {\gamma_{bi}^{\left( s \right)} ,\gamma_{ij} } \right)} \right) \triangleq \arg max_{i} \left( {min\left( {\frac{{\left| {h_{bi} } \right|^{2} P_{b} a_{si} }}{{N_{0}^{2} }},\frac{{\left| {h_{ij} } \right|^{2} P_{R} a_{ij} }}{{N_{0}^{2} }}} \right)} \right), a_{ij} = min_{i} \left( {max\left( {0,\frac{{\left| {h_{ip} } \right|^{2} P_{R} - N_{0}^{2} {\mathbb{I}}}}{{\left| {h_{ip} } \right|^{2} P_{R} \left( {{\mathbb{I}} + 1} \right)}}} \right)} \right), j \in {\mathcal{N}} - \left\{ i \right\} .$$
    (15)

    where at the secondary user \(i\), \(R_{p} > R_{s}\).

Particularly, we will statistically analyze the second scheme and the first scheme can be obtained simply by a similar analysis. Let \(\bar{F}_{A} \left( x \right) = 1 - F_{A} \left( x \right)\) be the complement of the cumulative density function (CDF) of the random variable (R.V.) \(A\). Let us generally define that the fading coefficients \(\left| {h_{qr} } \right|^{2} , q,r \in \left\{ {b,i,p, j} \right\}\) satisfy Rayleigh fading conditions and undergo independent exponential distributions with means \(\lambda_{qr}\), where their CDFs family can be expressed by,

$$F_{{\left| {h_{qr} } \right|^{2} }} \left( x \right) = 1 - \hbox{exp}\left( { -\Omega _{qr} x} \right) .$$
(16)

where \(\Omega _{qr} = \left( {\lambda_{qr} \frac{{P_{s} }}{{N_{0} }}} \right)^{ - 1} ,\quad s \in \left\{ {b,R} \right\}\).

By further considering, \({\text{Z}}_{\text{i}} \triangleq \left( {min\left( {\gamma_{bi} ,\gamma_{ij} } \right)} \right)\), we have the following theorem.

Theorem 1

The secondary user selection rule according to (15) is determined statistically by selecting \(i\) that maximizes The CDF of \(Z_{i}\), is given by,

$$i^{*} = \arg max_{i} \left( {Z_{i} } \right) = \arg Pr\left( {max_{i} \left( {Z_{i} } \right) \le z} \right) \Rightarrow arg\mathop \prod \limits_{i = 1}^{N} F_{{Z_{i} }} \left( z \right) .$$
(17)

where \(\bar{F}_{{Z_{i} }} \left( z \right) = \bar{F}_{{\gamma_{bi} }} \left( z \right)\bar{F}_{{\gamma_{ij} }} \left( z \right), \bar{F}_{{\gamma_{bi} }} \left( z \right) = { \exp }\left( { - \frac{{\Omega_{bi} N_{0}^{2} z}}{{P_{b} a_{si} }}} \right), \bar{F}_{{\gamma_{ij} }} \left( z \right) = \frac{{2\Omega_{ij} N_{0}^{2} }}{{P_{R} }}\sqrt {\frac{{{\text{z}}{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right)\Omega_{ip} }}{{\Omega_{ij} }}} { \exp }\left( { - \frac{{N_{0}^{2} }}{{P_{R} }}\left( {{\mathbb{I}}\Omega_{ip} + z\left( {{\mathbb{I}} + 1} \right)\Omega_{ij} } \right)} \right)K_{1} \left( {2\frac{{N_{0}^{2} }}{{P_{R} }}\sqrt {{\text{z}}{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right)\Omega_{ij} \Omega_{ip} } } \right), j \in {\mathcal{N}} - \left\{ i \right\},K_{1} \left( . \right)\) is the first order modified Bessel function of the second kind and \(z\) is an arbitrary threshold.

Proof

See Appendix 1.

In the above theorem, we state the statistical conditions for selecting the \(i\hbox{th}\) secondary user out of \(N\) users to forward the BS signals. If the order statistics are applied [24], \(F_{{Z_{i} }} \left( z \right)\) has to be substituted in the following equation,

$$F_{{Z_{i:N} }} \left( z \right) = \frac{N!}{{\left( {i - 1} \right)!\left( {N - i} \right)!}}\mathop \sum \limits_{w = 0}^{N - i} \left( {\begin{array}{*{20}c} {N - i} \\ w \\ \end{array} } \right)\left( { - 1} \right)^{w} \frac{{\left( {F_{{Z_{i} }} \left( z \right)} \right)^{i + w} }}{i + w} ,$$
(18)

where \(Z_{i} , 1 \le i \le N\), are independent and identical R.V.s.

3.2 Statistical Achievable Rate

In order to successfully decode the received signals at the secondary and the primary users, certain constraints on transmission rates should not be exceeded. The achievable rate represents an important metric that characterizes those constraints. It is dominated by the channel of the poor condition. The achievable rate associated with the symbol \(x_{s}\), \(C_{i} = \frac{1}{2}\log_{2} \left( {1 + \gamma_{i} } \right)\), involves an achievable SINR, \(\gamma_{i}\), which can be extracted using SIC at the secondary user \(i\) to be in the form of,

$$\gamma_{i} = min\left( {\frac{{\left| {h_{bi} } \right|^{2} P_{b} a_{si} }}{{N_{0}^{2} }},\frac{{\left| {h_{ij} } \right|^{2} P_{R} a_{ij} }}{{N_{0}^{2} }}} \right), \quad j \in {\mathcal{N}} - \left\{ i \right\} .$$
(19)

At the end of the second time slot, the primary user performs maximal ratio combining (MRC) of the received signals. Thus, The achievable rate associated with the symbol \(x_{p}\), \(C_{p} = \frac{1}{2}\log_{2} \left( {1 + \gamma_{p} } \right)\), involves an achievable SINR, \(\gamma_{p}\),which can be given by,

$$\gamma_{p} = min\left( {\frac{{\left| {h_{bi} } \right|^{2} P_{b} a_{sp} }}{{\left| {h_{bi} } \right|^{2} P_{b} a_{si} + N_{0}^{2} }},\frac{{\left| {h_{ip} } \right|^{2} P_{R} a_{ip} }}{{\left| {h_{ip} } \right|^{2} P_{R} a_{ij} + N_{0}^{2} }} + \frac{{\left| {h_{bp} } \right|^{2} P_{b} a_{sp} }}{{\left| {h_{bp} } \right|^{2} P_{b} a_{si} + N_{0}^{2} }}} \right) .$$
(20)

To fulfill the system performance analysis, it is necessary to marginally derive statistical formulas for the achievable rates, \(\gamma_{i}\) and \(\gamma_{p}\). The CDF of \(\gamma_{i}\) follows directly from Theorem 1, and it can be denoted by the R.V. \(Z_{i} , \;{\text{i}} . {\text{e}} .\; F_{{Z_{i} }} \left( z \right) = Pr\left( {\left( {\gamma_{bi}^{\left( s \right)} > z,\gamma_{ij} > z} \right)} \right) = 1 - \bar{F}_{{Z_{i} }} \left( z \right)\). Thereafter, The CDF of \(\gamma_{p}\) will be derived in the following theorem.

Theorem 2

According to (20) the complement of the CDF of \(Z_{p}\) is determined statistically by (21) at the top of next page, where \({\mathcal{J}}\left( z \right) = \mathop \int \limits_{0}^{\infty } \frac{{a_{ip} N_{0}^{2} }}{{P\left( {a_{ip} - xa_{ij} } \right)^{2} }}\exp \left( { - \frac{{N_{0}^{2} }}{P}\left( {\frac{{\Omega_{ip} x}}{{\left( {a_{ip} - xa_{ij} } \right)}} + \frac{{\Omega_{bp} \left( {z - x} \right)}}{{\left( {a_{sp} - \left( {z - x} \right)a_{si} } \right)}}} \right)} \right)dx\).

Proof

See Appendix 2.

Under the considered conditions, it is obvious that \(\gamma_{ip} = \frac{{\left| {h_{ip} } \right|^{2} Pa_{ip} }}{{\left| {h_{ip} } \right|^{2} Pa_{ij} + N_{0}^{2} }}\) is lower bounded by \({\mathbb{I}}\). Therefore, \(\left( {min\left( {\gamma_{bi}^{\left( p \right)} ,\gamma_{ip} + \gamma_{bp} } \right)} \right) \ge \left( {min\left( {\gamma_{bi}^{\left( p \right)} ,{\mathbb{I}} + \gamma_{bp} } \right)} \right)\) which can be used instead and it represents the worst-case scenario.

Corollary

According to (20) the complement of the CDF of \(Z_{p} = \left( {min\left( {\gamma_{bi}^{\left( p \right)} ,{\mathbb{I}} + \gamma_{bp} } \right)} \right)\) is determined statistically

$$\begin{aligned} \bar{F}_{{Z_{p} }} \left( z \right) = \hfill \\ { \exp }\left( { - \frac{{\Omega_{bi} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right).\left\{ {\begin{array}{*{20}c} {{ \exp }\left( { - \frac{{\Omega_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) + { \exp }\left( { - \frac{{\Omega_{ip} zN_{0}^{2} }}{{P\left( {a_{ip} - za_{ij} } \right)}}} \right) - { \exp }\left( { - \frac{{\Omega_{ip} zN_{0}^{2} }}{{P\left( {a_{ip} - za_{ij} } \right)}}} \right) \times { \exp }\left( { - \frac{{\Omega_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) } \\ { + \left( {{ \exp }\left( {\frac{{\Omega_{ip} N_{0}^{2} }}{{Pa_{ij} }}} \right) + {\mathcal{J}}\left( z \right)} \right) \times \left( {1 - { \exp }\left( { - \frac{{\Omega_{ip} zN_{0}^{2} }}{{P\left( {a_{ip} - za_{ij} } \right)}}} \right)} \right)\left( {1 - { \exp }\left( { - \frac{{\Omega_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right)} \right), z < \frac{{a_{ip} }}{{a_{ij} }} < \frac{{a_{sp} }}{{a_{si} }}} \\ {{ \exp }\left( { - \frac{{{{\Omega }}_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) + \left( {{ \exp }\left( {\frac{{\Omega_{ip} N_{0}^{2} }}{{Pa_{ij} }}} \right) + {\mathcal{J}}\left( z \right)} \right) \times \left( {1 - { \exp }\left( { - \frac{{{{\Omega }}_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right)} \right), \frac{{a_{ip} }}{{a_{ij} }} < z < \frac{{a_{sp} }}{{a_{si} }}} \\ {\left( {{ \exp }\left( {\frac{{\Omega_{ip} N_{0}^{2} }}{{Pa_{ij} }}} \right) + {\mathcal{J}}\left( z \right)} \right), \frac{{a_{ip} }}{{a_{ij} }} < \frac{{a_{sp} }}{{a_{si} }} < z} \\ \end{array} } \right. \hfill \\ \end{aligned}$$
(21)
$$\bar{F}_{{Z_{p} }} \left( z \right) = \exp\left( { - \frac{{{{\Omega }}_{bi} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) \times \left\{ {\begin{array}{*{20}l} {{ \exp }\left( { - \frac{{\Omega_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) + { \exp }\left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right) - { \exp }\left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)} \hfill \\ { \times \;{ \exp }\left( { - \frac{{\Omega_{bp} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right),z < \frac{{a_{sp} }}{{a_{si} }}} \hfill \\ {{ \exp }\left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right),\frac{{a_{sp} }}{{a_{si} }} < z < \frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}}} \hfill \\ {0,\frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}} < z} \hfill \\ \end{array} } \right..$$
(22)

by ( 22 ) at the top of this page and for simplicity the following equation is used:

$$\bar{F}_{{Z_{p} }} \left( z \right) = \left\{ {\begin{array}{*{20}l} {{ \exp }\left( { - \frac{{\Omega_{bi} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) \times { \exp }\left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right),} \hfill \\ {z < \frac{{a_{sp} }}{{a_{si} }} + I} \hfill \\ {0,\frac{{a_{sp} }}{{a_{si} }} + I < z} \hfill \\ \end{array} } \right..$$
(23)

Proof

Let \(Z_{p} \triangleq \left( {{ min }\left( {\gamma_{bi}^{\left( p \right)} ,{\mathbb{I}} + \gamma_{bp} } \right)} \right)\), then, \(\bar{F}_{{{\mathbb{I}} + \gamma_{bp} }} \left( z \right)\) can be formulated as, \(\bar{F}_{{{\mathbb{I}} + \gamma_{bp} }} \left( z \right) = Pr\left( {{\mathbb{I}} + \gamma_{bp} > z} \right) = Pr\left( {\frac{{\left| {h_{bp} } \right|^{2} Pa_{sp} }}{{\left| {h_{bp} } \right|^{2} Pa_{si} + N_{0}^{2} }} > z - {\mathbb{I}}} \right) = { \exp }\left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)\) and (22) follows after simple algebraic manipulations by shifting by \({\mathbb{I}}\) and by using \(Pr\left( {\frac{{\left| {h_{bp} } \right|^{2} Pa_{sp} }}{{\left| {h_{bp} } \right|^{2} Pa_{si} + N_{0}^{2} }} > z - {\mathbb{I}}} \right) = 1\), if \(\frac{{a_{sp} }}{{a_{si} }} < z\) and \(z < \frac{{\left| {h_{bp} } \right|^{2} Pa_{sp} }}{{\left| {h_{bp} } \right|^{2} Pa_{si} + N_{0}^{2} }}\). A simple upper bound of (22) by reference to (23) and the proof is completed.

3.3 Average Achievable Sum Rate Analysis

The average sum rate is an important metric which gives an insightful investigation for the steady-state transmission rate. According to [25], the average achievable rate, i.e., the ergodic rate is defined as,

$$R_{aver} = \mathop \int \limits_{0}^{\infty } \frac{1}{2}\log_{2} \left( {1 + z} \right)f_{\gamma } \left( z \right)dz = \frac{1}{2\ln 2}\mathop \int \limits_{0}^{\infty } \frac{{\bar{F}_{\gamma } \left( z \right)}}{1 + z}dz.$$
(24)

where \(F_{\gamma } \left( z \right) = 1 - \bar{F}_{\gamma } \left( z \right)\) is the CDF of the SINR random variable.

3.4 Primary User

The average achievable rate for the primary user, e.g., associated with the symbol \(x_{p}\), is complicated by applying the formulas (21) and (22). Thus, (23) is applied instead. At the primary user, the average achievable rate can be calculated as in the following theorem.

Theorem 3

According to ( 23 ) the average achievable rate associated with \(x_{p}\) is given by,

$$R_{aver,p} \approx \frac{1}{2\ln 2} \times \frac{{\pi \left( {\frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}}} \right)}}{2L} \times$$
$$\mathop \sum \limits_{l = 1}^{L} \sqrt {1 - \theta_{l}^{2} } \times \frac{{\exp\left( { - \left( {\frac{{\Omega_{bi} \mu_{l} N_{0}^{2} }}{{P\left( {a_{sp} - \mu_{l} a_{si} } \right)}} + \frac{{{{\Omega }}_{bp} \left( {\mu_{l} - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {\mu_{l} - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)} \right)}}{{1 + \mu_{l} }}$$
(25)

where \(L\) is the adopted samples to ensure the approximation, \(\theta_{l} = \cos \left( {\frac{2l - 1}{2L}\pi } \right)\) and \(\mu_{l} = \left( {\frac{{\left( {\frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}}} \right)\left( {\theta_{l} + 1} \right)}}{2}} \right)\).

Proof

From (24), \(R_{aver} = \frac{1}{2\ln 2}\mathop \int \limits_{0}^{\infty } \frac{{\bar{F}_{\gamma } \left( z \right)}}{1 + z}dz = \frac{1}{2\ln 2}\mathop \int \limits_{0}^{{\frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}}}} \frac{{\exp \left( { - \frac{{\Omega_{bi} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) \times \exp \left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)}}{1 + z}dz\).

The above integral is mathematically intractable, Gauss–Chebyshev quadrature [24, 8.8.12] is applied to find an approximation. The integral yields,

$$\mathop \int \limits_{0}^{{\frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}}}} \frac{{\exp \left( { - \frac{{\Omega_{bi} zN_{0}^{2} }}{{P\left( {a_{sp} - za_{si} } \right)}}} \right) \times \exp \left( { - \frac{{\Omega_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)}}{1 + z}dz \approx \frac{{\pi \left( {\frac{{a_{sp} }}{{a_{si} }} + {\mathbb{I}}} \right)}}{2L}\mathop \sum \limits_{l = 1}^{L} \sqrt {1 - \theta_{l}^{2} } \frac{{\exp \left( { - \frac{{\Omega_{bi} \mu_{l} N_{0}^{2} }}{{P\left( {a_{sp} - \mu_{l} a_{si} } \right)}}} \right) \times \exp \left( { - \frac{{\Omega_{bp} \left( {\mu_{l} - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {\mu_{l} - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)}}{{1 + \mu_{l} }}$$

where \(\theta_{l}\) and \(\mu_{l}\) are defined in (25) which completes the proof.

3.5 Secondary User

The average achievable rate for the secondary user \(i\), e.g., associated with the symbol \(x_{s}\), may be calculated approximately as in the following theorem.

Theorem 4

According to (17) and (19), the average achievable rate associated with \(x_{s}\) is given by,

$$R_{aver,s} \approx \frac{1}{2\ln 2} \times 2\beta \times \exp \left( { - \frac{{N_{0}^{2} }}{P}\left( {{\mathbb{I}}\Omega_{ip} } \right)} \right) \times \left[ {\frac{{E_{1} \left( 0 \right)}}{2\beta }\exp \left( {\frac{{\beta^{2} }}{2\alpha }} \right)W_{{0,\frac{1}{2}}} \left( {\frac{{\beta^{2} }}{\alpha }} \right) - \mathop \sum \limits_{l = 1}^{L} A_{l} \times \frac{1}{{\sqrt {B_{l} } }} \times \frac{{\exp \left( { - \alpha B_{l} } \right) \times K_{1} \left( {2\beta \times \sqrt {B_{l} } } \right)}}{{1 + B_{l} }}} \right]$$
(26)

where \(L\) is the adopted samples to ensure the approximation,\(W_{\mu ,\upsilon } \left( . \right)\) is the Whittaker function, \(E_{1} \left( . \right)\) is the exponential integral function,\(\alpha = \frac{{N_{0}^{2} }}{P}\left( {\frac{{{{\Omega }}_{bi} }}{{a_{si} }} + \left( {{\mathbb{I}} + 1} \right){{\Omega }}_{ij} } \right)\), \(\beta = \frac{{N_{0}^{2} }}{P}\sqrt {{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right)\Omega_{ij} \Omega_{ip} }\), \(A_{l} = \frac{{\pi^{2} \sin \left( {\frac{2l - 1}{2L}\pi } \right)}}{{4L\cos^{2} \left( {\frac{\pi }{4} \times \cos \left( {\frac{2l - 1}{2L}\pi } \right) + \frac{\pi }{4}} \right)}}\) and \(B_{l} = \tan \left( {\frac{\pi }{4} \times \cos \left( {\frac{2l - 1}{2L}\pi } \right) + \frac{\pi }{4}} \right)\).

Proof

From \(\bar{F}_{{Z_{i} }} \left( z \right)\) in (17), \(R_{aver} = \frac{1}{2\ln 2}\mathop \int \limits_{0}^{\infty } \frac{{\bar{F}_{\gamma } \left( z \right)}}{1 + z}dz = \frac{1}{2\ln 2} \times \frac{{2{{\Omega }}_{ij} N_{0}^{2} }}{P}{\sqrt {\frac{{{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right){{\Omega }}_{ip} }}{{{{\Omega }}_{ij} }}}} \times \exp\left( { - \frac{{N_{0}^{2} }}{P}\left( {{\mathbb{I}}{{\Omega }}_{ip} } \right)} \right) \times \mathop \int \limits_{0}^{\infty } \frac{{\exp\left( { - \frac{{N_{0}^{2} }}{P}z\left( {\frac{{{{\Omega }}_{bi} }}{{a_{si} }} + \left( {{\mathbb{I}} + 1} \right){{\Omega }}_{ij} } \right)} \right) \times \sqrt z \times K_{1} \left( {2\frac{{N_{0}^{2} }}{P}\sqrt {{\text{z}}{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right){{\Omega }}_{ij} {{\Omega }}_{ip} } } \right)}}{1 + z}dz\). Putting \(\theta = \sqrt z\), the above integral becomes as,

$$\begin{aligned} & 2 \times \mathop \int \limits_{0}^{\infty } \frac{{\exp\left( { - \frac{{N_{0}^{2} }}{P}\theta^{2} \left( {\frac{{{{\Omega }}_{bi} }}{{a_{si} }} + \left( {{\mathbb{I}} + 1} \right){{\Omega }}_{ij} } \right)} \right) \times \theta^{2} \times K_{1} \left( {2\frac{{N_{0}^{2} }}{P}\sqrt {{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right){{\Omega }}_{ij} {{\Omega }}_{ip} } \times \theta } \right)}}{{1 + \theta^{2} }}d\theta \\ = & \underbrace {{\mathop \int \limits_{0}^{\infty } 2\exp\left( { - \frac{{N_{0}^{2} }}{P}\theta^{2} \left( {\frac{{\Omega_{bi} }}{{a_{si} }} + \left( {{\mathbb{I}} + 1} \right)\Omega_{ij} } \right)} \right) \times K_{1} \left( {2\frac{{N_{0}^{2} }}{P}\sqrt {{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right)\Omega_{ij} \Omega_{ip} } \times \theta } \right)d\theta }}_{{{\mathcal{J}}_{1} }} \\ & - \underbrace {{\mathop \int \limits_{0}^{\infty } 2\frac{{\exp\left( { - \frac{{N_{0}^{2} }}{P}\theta^{2} \left( {\frac{{\Omega_{bi} }}{{a_{si} }} + \left( {{\mathbb{I}} + 1} \right)\Omega_{ij} } \right)} \right) \times K_{1} \left( {2\frac{{N_{0}^{2} }}{P}\sqrt {{\mathbb{I}}\left( {{\mathbb{I}} + 1} \right)\Omega_{ij} \Omega_{ip} } \times \theta } \right)}}{{1 + \theta^{2} }}d\theta }}_{{{\mathcal{J}}_{2} }}. \\ \end{aligned}$$

\({\mathcal{J}}_{1}\) can be solved by using [22, 6.643.3], \(\mu = 0\) and \(\upsilon = \frac{1}{2}\), after putting \(\theta = \sqrt x\). Therefore, \({\mathcal{J}}_{1}\) can be expressed as,

$${\mathcal{J}}_{1} = \frac{{{{\Gamma }}\left( 1 \right){{\Gamma }}\left( 0 \right)}}{2\beta }\exp\left( {\frac{{\beta^{2} }}{2\alpha }} \right)W_{{0,\frac{1}{2}}} \left( {\frac{{\beta^{2} }}{\alpha }} \right)$$

where \(W_{\mu ,\upsilon } \left( . \right)\) is the Whittaker function, \(\beta\) and \(\alpha\) are defined in (26).

The integral \({\mathcal{J}}_{2}\) is a challenge, numerical analysis is used to provide a formula that is very closed to the exact one. Applying Gauss–Chebyshev quadrature, The integral \({\mathcal{J}}_{2}\) can be expressed by putting \(\theta = \sqrt {\tan x}\) as,

\({\mathcal{J}}_{2} = \mathop \int \nolimits_{0}^{{\frac{\pi }{2}}} \frac{1}{{\sqrt {\tan x} }} \times \frac{{\exp\left( { - \alpha \left( {\sqrt {\tan x} } \right)^{2} } \right) \times K_{1} \left( {2\beta \times \sqrt {\tan x} } \right)}}{1 + \tan x} \times \sec^{2} x\,dx \approx \mathop \sum \nolimits_{l = 1}^{L} A_{l} \times \frac{1}{{\sqrt {B_{l} } }} \times \frac{{\exp\left( { - \alpha B_{l} } \right) \times K_{1} \left( {2\beta \times \sqrt {B_{l} } } \right)}}{{1 + B_{l} }}\), where \(A_{l}\) and \(B_{l}\) are defined in (26). The proof is completed.

It should be noted that the integral \({\mathcal{J}}_{1}\) may lead to an indeterminate value, and therefore, it is required to be approximated, e.g., by limits, which is worth nothing. Alternatively, \({\mathcal{J}}_{1}\) and \({\mathcal{J}}_{2}\) can be approximated at once using Gauss–Chebyshev quadrature and the average achievable rate in (26) can be rewritten as,

$$R_{aver,s} = \frac{1}{2\ln 2}\mathop \int \limits_{0}^{\infty } \frac{{\bar{F}_{\gamma } \left( z \right)}}{1 + z}dz \approx \frac{1}{2\ln 2} \times 2\beta \times \exp\left( { - \frac{{N_{0}^{2} }}{P}\left( {{\mathbb{I}}{{\Omega }}_{ip} } \right)} \right) \times \mathop \sum \limits_{l = 1}^{L} A_{l} \times \sqrt {B_{l} } \times \frac{{\exp\left( { - \alpha B_{l} } \right) \times K_{1} \left( {2\beta \times \sqrt {B_{l} } } \right)}}{{1 + B_{l} }}.$$
(27)

Generally, the average achievable rates associated with \(x_{s}\) and \(x_{p}\) are still complex formulas. Hence, the asymptotic average achievable rates will be studied as approximations at high SINR. This represents a main agent that identifies and controls the network.

Let \(\frac{{N_{0}^{2} }}{P} \ll 1\), then, by using the series expansion of Bessel functions for small values of \(x\) which is given by,

$$xK_{1} \left( x \right) = 1 + \frac{{x^{2} }}{2}\ln \frac{x}{2} - \frac{{x^{2} }}{4}C$$
(28)

where \(C = \psi \left( 1 \right) + \psi \left( 2 \right)\) and \(\psi \left( . \right)\) is the Psi function defined in [23], it is evident that the asymptotic average achievable rate associated with \(x_{s}\) can be obtained by applying \(2\beta \sqrt z K_{1} \left( {2\beta \sqrt z } \right) \approx 1, \beta \to 0\), as follows,

$$\begin{aligned} R_{aver,s}^{\infty } \approx & \frac{1}{2\ln 2} \times \exp\left( { - \frac{{N_{0}^{2} }}{P}\left( {{\mathbb{I}}{{\Omega }}_{ip} } \right)} \right) \times \mathop \int \limits_{0}^{\infty } \frac{{e^{ - \alpha z} \times 2\beta \sqrt z \times K_{1} \left( {2\beta \sqrt z } \right)}}{1 + z}dz \\ & = \frac{1}{2\ln 2} \times \exp\left( { - \frac{{N_{0}^{2} }}{P}\left( {{\mathbb{I}}{{\Omega }}_{ip} } \right)} \right)\mathop \int \limits_{0}^{\infty } \frac{{e^{ - \alpha z} }}{1 + z}dz \\ & = - \exp\left( \alpha \right)Ei\left( { - \alpha } \right) \\ \end{aligned}$$
(29)

where the last term follows from [22, 3.352.4] and is the exponential integral.

Following similar steps, \(R_{aver,p} \approx \frac{1}{2\ln 2} \times \mathop \int \limits_{0}^{{\frac{{a_{sp} }}{{a_{si} }}}} \frac{{\exp\left( { - \frac{{{{\Omega }}_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right)}}{1 + z}dz\), by considering (23) for \(\frac{{N_{0}^{2} }}{P} \ll 1\) and letting \(\frac{{\left| {h_{bi} } \right|^{2} P_{b} a_{sp} }}{{\left| {h_{bi} } \right|^{2} P_{b} a_{si} + N_{0}^{2} }} \triangleq \frac{{a_{sp} }}{{a_{si} }}\) and \(\exp\left( { - \frac{{{{\Omega }}_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}} \right) \approx 1 - \frac{{{{\Omega }}_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}\). Then, a simplified expression for the asymptotic average achievable rate associated with \(x_{p}\) can be obtained as,

$$\begin{aligned} R_{aver,p}^{\infty } \approx & \frac{1}{2\ln 2} \times \mathop \int \limits_{0}^{{\frac{{a_{sp} }}{{a_{si} }}}} \frac{{1 - \frac{{{{\Omega }}_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)}}}}{1 + z}dz = \\ & \frac{1}{2}\log_{2} \left( {1 + \frac{{a_{sp} }}{{a_{si} }}} \right) - \mathop \int \limits_{0}^{{\frac{{a_{sp} }}{{a_{si} }}}} \frac{{{{\Omega }}_{bp} \left( {z - {\mathbb{I}}} \right)N_{0}^{2} }}{{P\left( {a_{sp} - \left( {z - {\mathbb{I}}} \right)a_{si} } \right)\left( {1 + z} \right)}}dz\begin{array}{*{20}c} a \\ = \\ \end{array} \frac{1}{2}\left( {1 - \frac{{N_{0}^{2} {{\Omega }}_{bp} }}{P}A} \right)\log_{2} \left( {1 + \frac{{a_{sp} }}{{a_{si} }}} \right) - \frac{1}{2}\frac{{N_{0}^{2} {{\Omega }}_{bp} }}{P}B\log_{2} \frac{{{\mathbb{I}}a_{si} }}{{a_{sp} + {\mathbb{I}}a_{si} }} \\ \end{aligned}$$
(30)

where \(\left( a \right)\) follows by applying the method of undetermined coefficients as, \(\frac{{\left( {z - {\mathbb{I}}} \right)}}{{\left( {a_{sp} + {\mathbb{I}}a_{si} - za_{si} } \right)\left( {1 + z} \right)}} = \frac{A}{{\left( {1 + z} \right)}} + \frac{B}{{\left( {a_{sp} + {\mathbb{I}}a_{si} - za_{si} } \right)}}, A = \frac{{ - \left( {{\mathbb{I}} + 1} \right)}}{{\left( {a_{sp} + \left( {{\mathbb{I}} + 1} \right)a_{si} } \right)}}\) and \(B = 1 - \frac{{\left( {{\mathbb{I}} + 1} \right)a_{si} }}{{\left( {a_{sp} + \left( {{\mathbb{I}} + 1} \right)a_{si} } \right)}}\). It is obvious that the asymptotic average achievable rate associated with \(x_{p}\) is bounded by \(\frac{1}{2}\log_{2} \left( {1 + \frac{{a_{sp} }}{{a_{si} }}} \right)\), as \(\frac{{N_{0}^{2} }}{P} \to 0\).

Combining (29) and (30), the asymptotic average achievable rate can simply be given by,

$$R_{sum}^{\infty } = R_{aver,s}^{\infty } + R_{aver,p}^{\infty } .$$
(31)

For performance comparison, the asymptotic average achievable rate of the conventional OMA cooperative system is analyzed.

In this case, the BS is not able to transmit more than one signal per time slot and each user decodes orthogonally its own received signal only.

Consider the scenario where the BS transmits the symbol \(x_{s}\) at the first time slot and the symbol \(x_{p}\) at the second time slot. In the second time slot, it is noted that the secondary user \(i\) relays the \(x_{s}\) signal to the secondary user \(j, j \in {\mathcal{N}} - \left\{ i \right\}\), and simultaneously the BS transmits the \(x_{p}\) signal which causes interference at the secondary user \(j, j \in {\mathcal{N}} - \left\{ i \right\}\).

In the considered OMA cooperative system, the achievable sum rate is a lack of the relayed \(x_{p}\) resource and there exists an undesirable interference at the secondary user \(j, j \in {\mathcal{N}} - \left\{ i \right\}\), as well. This reflects the benefits of using the NOMA system.

In fact, if the same power allocation coefficients is used in the OMA system, the OMA average achievable rate associated with \(x_{p}\) can be given by,

$$\begin{aligned} R_{aver OMA,p} = & \frac{1}{2\ln 2}\mathop \int \limits_{0}^{\infty } \frac{{\bar{F}_{{\gamma_{OMA,p} }} \left( z \right)}}{1 + z}dz = \mathop \int \limits_{0}^{\infty } \frac{{e^{{ - \frac{{{{\Omega }}_{sp} }}{{a_{sp} }}z}} }}{1 + z}dz \\ & = -\, exp\left( {\frac{{{{\Omega }}_{sp} }}{{a_{sp} }}} \right)Ei\left( { - \frac{{{{\Omega }}_{sp} }}{{a_{sp} }}} \right) \\ \end{aligned}$$
(32)

where the fading coefficient \({{\Omega }}_{sp} = \left( {\lambda_{sp} \frac{P}{{N_{0} }}} \right)^{ - 1}\). The asymptotic expression is obtained using the approximation \(Ei\left( { - x} \right) \approx {{\Upsilon }} + \ln x,\; {{\Upsilon }}\;{\text{is}}\; {\text{he}}\;{\text{Euler}}\;{\text{constant}}\) [22, 8.212.1] for small \(x\). Therefore, (32) can be modified as,

$$R_{aver OMA,p} = \frac{1}{2\ln 2}\left( { - {{\Upsilon }} + \left( {\frac{{{{\Omega }}_{sp} }}{{a_{sp} }}} \right) \times \ln \frac{{a_{sp} }}{{{{\Omega }}_{sp} }}} \right).$$
(33)

Accordingly, the achievable rate associated with \(x_{s}\) involves an achievable SINR, \(\gamma_{OMA,s}\), which can be given by,

$$\gamma_{OMA,s} = min\left( {\frac{{\left| {h_{bi} } \right|^{2} Pa_{si} }}{{N_{0}^{2} }},\frac{{\frac{{\left| {h_{ij} } \right|^{2} Pa_{ij} }}{{N_{0}^{2} }}}}{{\frac{{\left| {h_{sj} } \right|^{2} Pa_{sp} }}{{N_{0}^{2} }}}}} \right), \quad j \in {\mathcal{N}} - \left\{ i \right\}.$$
(34)

Thus, the CDF of \(\gamma_{OMA,s}\) is \(F_{{\gamma_{OMA,s} }} \left( z \right) = 1 - \bar{F}_{{\gamma_{OMA,s} }} \left( z \right)\), where \(\bar{F}_{{\gamma_{OMA,s} }} \left( z \right) = Pr\left( {\frac{{\left| {h_{bi} } \right|^{2} Pa_{si} }}{{N_{0}^{2} }} > z,\frac{{\frac{{\left| {h_{ij} } \right|^{2} Pa_{ij} }}{{N_{0}^{2} }}}}{{\frac{{\left| {h_{sj} } \right|^{2} Pa_{sp} }}{{N_{0}^{2} }}}} > z} \right) = Pr\left( {\frac{{\left| {h_{bi} } \right|^{2} Pa_{si} }}{{N_{0}^{2} }} > z} \right) \times Pr\left( {\frac{{\left| {h_{ij} } \right|^{2} a_{ij} }}{{\left| {h_{sj} } \right|^{2} a_{sp} }} > z} \right) = \exp\left( { - \frac{{{{\Omega }}_{bi} N_{0}^{2} z}}{{Pa_{si} }}} \right) \times \frac{{\frac{{{{\Omega }}_{ij} }}{{a_{ij} }}z}}{{\frac{{{{\Omega }}_{ij} }}{{a_{ij} }}z + \frac{{{{\Omega }}_{sj} }}{{a_{sp} }}}}\). By substitution, the OMA average achievable rate associated with \(x_{s}\) can be expressed as,

$$\begin{aligned} R_{aver OMA,s} = & \frac{1}{2\ln 2}\mathop \int \limits_{0}^{\infty } \frac{{\bar{F}_{{\gamma_{OMA,s} }} \left( z \right)}}{1 + z}dz \\ = & \frac{1}{2\ln 2} \times \mathop \int \limits_{0}^{\infty } \frac{{\exp\left( { - \in z} \right) \times \frac{z}{z + \kappa }}}{1 + z}dz\begin{array}{*{20}c} b \\ \end{array} \\=&- \frac{1}{2\ln 2}\left( {\left( {\frac{\kappa }{\kappa - 1} + 1} \right){ \exp }\left( \in \right)Ei\left( { - \in } \right) - \frac{\kappa }{\kappa - 1}\exp\left( {\kappa \in } \right)Ei\left( { - \kappa \in } \right)} \right) \\ \end{aligned}$$
(35)

where \(\in = \frac{{{{\Omega }}_{bi} N_{0}^{2} }}{{P_{b} a_{si} }}\), \(\kappa = \frac{{{{\Omega }}_{sj} a_{ij} }}{{a_{sp} {{\Omega }}_{ij} }}\) and \(\left( b \right):\) follows by applying the method of undetermined coefficients.

Again, the asymptotic achievable rate associated with \(x_{s}\) will be attained as,

$$R_{aver OMA,s} = - \frac{1}{2\ln 2}\left( {\left( {\frac{\kappa }{\kappa - 1} + 1} \right) \times \left( \in \right) \times \left( {{{\Upsilon }} + \ln \in } \right) - \frac{\kappa }{\kappa - 1} \times \left( {\kappa \in } \right) \times \left( {{{\Upsilon }} + \ln \kappa \in } \right)} \right).$$
(36)

Combining (32), (34) together and (33), (35) together, the average and the asymptotic average achievable sum rates can be easily extracted, respectively.

At high SINR, it should be noted that the average sum rates of both NOMA and OMA schemes can be improved by a scale of \(\frac{\sigma }{2} \times \ln \frac{{N_{0}^{2} }}{P}\), where \(\sigma\) is an arbitrary factor. However, in NOMA scheme the factor \(\sigma\) is more stringent than the case of OMA scheme which explains from the previous equations how the NOMA based system outperforms the OMA one. Besides, the scaling factor can be doubled in the NOMA scheme if the BS transmits another resource at the second time slot.

4 Simulation Results

In this section, we verify that the analytical derivations are consistent with the system simulation, then, we study the impact of the system parameters on the average achievable sum rate. This is confirmed by carrying out Monte Carlo simulations with \(10^{6}\) experimental trials. A proper co-ordination for the position of nodes is selected to justify the simulation results where all the coefficients, \({{\Omega }}_{qr}\), are modeled as, \({{\Omega }}_{qr} = \left( {\frac{1}{{d_{q,r} }}} \right)^{\delta } ,\delta = 2\), where \(\delta\) is the path loss exponent and \(d_{q,r}\) is the distance between the node \(q\) and the node \(r\).

The proposed NOMA scheme is compared with OMA conventional scheme where the benefit of applying NOMA scheme is clarified in the cooperative downlink system. The comparison is carried out against three different parameters, i.e., namely, the transmit SINR, \(\frac{P}{{N_{0}^{2} }}\), the power allocation resource \(a_{si}\) and the channel coefficient \({{\Omega }}_{bi}\). It is noted that, when we keep on the allocated power coefficient to the primary user dynamically proportional to its channel fading coefficient in order to achieve a certain QoS at the primary user, the average achievable sum rate is no longer dependent on, e.g., or limited by, the relayed path to the primary user. Therefore, the achievable rate of the primary user can be at least better than or equal the individual rate of the primary user OMA case. Meanwhile, we have the opportunity to select the secondary user that maximizes the achievable rate of the any-casting signal. Thus, an expected increase in the average achievable sum rate of NOMA scheme can be obtained.

From the previous analysis, one can find that the value of \({{\Omega }}_{bi}\) has a significant effect on the achievable sum rate performance especially when \({{\Omega }}_{bi} \ll {{\Omega }}_{ip}\). This is reasonable since it increases the effectiveness of exploiting the NOMA scheme, Three different cases of channel coefficients are considered, for \({{\Omega }}_{sp} = 1\), (1) \({{\Omega }}_{bi} = {{\Omega }}_{ip} = 2\), (2) \({{\Omega }}_{bi} = 2, {{\Omega }}_{ip} = 10\), (3) \({{\Omega }}_{bi} = 10 \;{\text{and}}\; {{\Omega }}_{ip} = 2\).

Figure 2 illustrates the relation between the average achievable sum rate and the actual transmit SINR, \(\frac{P}{{N_{0}^{2} }}\), at \(a_{sp} = 0.8\), \(a_{si} = 0.2\), \(a_{ij}\) and \(a_{ip}\) depends on \({\mathbb{I}} = 0.5\). In particular, the average achievable sum rates of the NOMA schemes, i.e., \(R_{sum}\) and \(R_{sum}^{\infty }\), are compared with the sum of individual rates of the OMA schemes, i.e., \({\Re }_{sum}\) and \({\Re }_{sum} \,at\, \frac{{N_{0}^{2} }}{P} \to 0\), where \({\Re }_{sum} = \left( {R_{aver OMA,s} + R_{aver OMA,p} } \right)\), at both the primary and secondary users. There exists a successful agreement between the theoretical and simulation points (denoted by square, circle and star yellow bubbles) which justifies our derivations. For high transmit SINR, the asymptotic expressions coincide with the exact ones. It is observed that the average achievable sum rate of the proposed NOMA scheme always outperforms the OMA conventional one due to the additional amount of relayed power resources and/or the existence of undesirable interference in OMA scheme recovered by SIC in NOMA scheme. In the proposed NOMA, a remarkable gain can be significantly observed over OMA scheme especially when \({{\Omega }}_{bi} \ll {{\Omega }}_{ip}\) [or equivalently, \(\frac{{{{\Omega }}_{bi} }}{{{{\Omega }}_{ip} }} \ll 1\) (case 3)] than the other cases at high SINR.

Fig. 2
figure 2

Theoretical and simulation results of the average achievable sum rate versus the transmit SINR for both NOMA and conventional OMA schemes

Exclusive search for optimal values of the power resource coefficient \(a_{si}\) offers a remarkable gain for the average achievable sum rate which depends inherently on the channel coefficients \(h_{bi}\) for a specific user \(i\) as depicted in Fig. 3. At \(\frac{P}{{N_{0}^{2} }} = 30\,{\text{dB}}\), this figure indicates a tight local maximum value for the achievable sum rate which represents an optimal adjustment of the transmit power allocation coefficient \(a_{si}\). The gain can achieve a significant enhancement by increasing both of \(\frac{P}{{N_{0}^{2} }}\) and/or \(\frac{{{{\Omega }}_{bi} }}{{{{\Omega }}_{ip} }}\). Due to space limitation, the analysis of finding out the optimal values of \(a_{si}\) is beyond our interest. It can be obtained analytically by solving for \(a_{si}\) that maximizes \(R_{sum}\). Again, the analytical results are perfectly closed to the simulation points.

Fig. 3
figure 3

Performance comparison of the average achievable sum rate versus the secondary user \(i\) power resource, \(a_{si}\) for NOMA/OMA schemes

In Fig. 4, for fixed \({{\Omega }}_{ip} = 2\) and \({{\Omega }}_{sp} = 2\), the inverse of B-i channel coefficient, i.e., \(1/{{\Omega }}_{bi}\), is examined for two different transmit levels of \(\frac{P}{{N_{0}^{2} }}\), i.e., \(\frac{P}{{N_{0}^{2} }} = 20 \;{\text{and}}\; 30\;{\text{dB}}\). It is turned out that the performance will be noticeably improved compared with the conventional OMA scheme as \({{\Omega }}_{bi}\) decreases.

Fig. 4
figure 4

Average sum rate versus the inverse channel fading coefficient, i.e., \(1/{{\Omega }}_{bi}\), of the base station \(BS \to i\) (secondary user \(i\)) link

In our proposed NOMA scheme, the reliability of the received signals at both the primary and secondary users can be enhanced when the BS transmits another resource at the second time slot.

5 Conclusions

In this paper, two equivalent cooperative relay selection schemes have been proposed for a downlink controlled cognitive radio based NOMA system. By exploiting the channel characteristics, new closed form expressions for the average achievable sum rate have been derived and compared with the existing OMA schemes at high SINR. Via simulation results, the benefit of employing the NOMA scheme in the considered downlink system has been investigated where employing the NOMA scheme acquires higher average achievable sum rate, saves the time resources and maximizes the network throughput.