Keywords

9.1 Introduction

In general, channel capacity is used as a basic performance measurement tool for the analysis and design of new and more efficient techniques to improve the spectral efficiency of wireless communication systems. An adaptive power transmission scheme that achieves the Shannon capacity under the fading environment was discussed in [1], and average transmit power constraints along with the availability of channel state information (CSI) at the cognitive transmitter were initially considered in [2]. The power optimization problem with peak and average transmit power constraints was investigated [3]. In spectrum sharing systems, CSI can be used at the cognitive/secondary transmitter to adaptively adjust the transmission resources as discussed in [4, 5]. In [5], knowledge of the secondary link CSI and information at the secondary transmitter (ST) (CR transmitter) about the channel between the secondary transmitter and the primary receiver (PR) was used to obtain the optimal power transmission policy of the secondary user (SU) under constraints on the peak and average received-power at the primary receiver. Ghasem and Sousa [6] demonstrated that the secondary user may take advantage in the fading environment between the primary and secondary user by opportunistically transmitting with high power when the signal received by the licensed receiver is deeply faded.

One of the most efficient ways to determine the spectrum occupancy is to sense the activity of primary users operating in the secondary user’s range of communication [7]. Practically, it is difficult for a secondary user to have direct access to the CSI pertaining to the primary user link. Recent work on spectrum sharing systems has concentrated on sensing the primary transmitter’s activity, and is based on local processing at the secondary user side [8]. In this context, the sensing ability is provided by a sensing detector mounted on the secondary user’s equipment, which scans the spectrum for specific times [9]. The activity statistics of the primary user’s signal in the shared spectrum is computed and, based on the sensing information [10], the cognitive user is capable of determining the local presence of the primary transmitter in a specific spectrum band. For instance, the received signals at the energy-based detector [11, 12] were used to detect the presence of unknown primary transmitters. However, by using this sensing information obtained from the spectrum sensor and considering that the secondary transmitter does not have information about the state of its corresponding channel, the power adaptation strategy that maximizes the channel capacity of the secondary user’s link is investigated in [13]. Rezki and Alouini in [14] considered the limited/imperfect CSI at the secondary transmitter and computed the Ergodic channel capacity. Further, in [15] the power allocation for erroneous estimated channel gain between the secondary user and primary base station was performed through a geometric programming problem which was solved by Lagrange dual decomposition. However, only the underlay spectrum sharing model was considered in [15]. Parsaeefard and Sharafat in [16] considered the cognitive nodes as relay nodes and illustrated the power and channel allocation strategy to the cognitive users in the Rayleigh fading environment. In [17], the rate loss constraint (RLC) is considered instead of conventional interference power constraints in order to protect the primary user, and the channel capacity of a cognitive user that utilizes primary users’ OFDM (orthogonal frequency division multiplexing) subcarriers, is maximized by RLC and cognitive user transmit power constraints. In [14,15,16,17,18] the authors computed the channel capacity of the cognitive user without considering the channel sensing information available at the secondary transmitter.

In this chapter, we focus on a cognitive radio wireless communication system with maximum achievable Ergodic channel capacity, considering a single cognitive user. In a collaborative communication framework, either extra relay terminals assist the communication between some dedicated sources and their corresponding destinations, and/or they allow the users in a network to help each other to achieve higher communication system capacity than the single point-to-point communication between source and destination [19, 20]. In this chapter we have considered point-to-point communication between the cognitive users without any kind of cooperation/collaboration among them. Therefore, if more than one cognitive users are competing to access the primary user’s spectrum hole, then due to probable inter-cognitive users’ interference, the maximum achievable channel capacity is upper bounded by only the single cognitive user’s case. The proposed spectrum sharing system has a pair of primary transmitter (PT) and PR as well as a pair of ST and secondary receiver (SR), as shown in Fig. 9.1. Further, the small-scale fading effects over the transmit power of the secondary transmitter in the proposed system has been explored. However, in [21] this type of system model is considered without fading in the link channel between the ST and the PR. Therefore, the Ergodic channel capacity for the Nakagami-m fading channel in the secondary and primary links is the basic motivation of this chapter. The power of the secondary transmitter is controlled based on the:

Fig. 9.1
figure 1

The proposed spectrum sharing system model

  1. (i)

    Sensing information about the primary user’s activity, and

  2. (ii)

    CSI of the secondary and primary link.

Moreover, the constraint on average interference at the primary radio receiver is considered for the channel capacity . Since the cognitive user is able to adapt any modulation strategy, it can change its modulation strategy according to the fading environment, and hence both policies in the rate and power are established [22], which is referred as the variable rate and power transmission scheme. In this context, we have also considered the variable rate and power M-QAM transmission strategy in the cognitive radio communication system where the rate and power of the ST is adaptively controlled based on the availability of the secondary user’s link CSI and sensing information about the primary user’s activity. Therefore, in this chapter we have numerically computed the channel capacity in the fading environment under the average interference power constraint with two adaptation policies for spectrum sharing. The channel capacity is maximized for these two policies by considering the Lagrange optimization problem for average interference power constraint. The small-scale fading effect over the transmit power of the secondary transmitter is also presented.

The remainder of this chapter is organized as follows. Section 9.2 concerns the spectrum sharing system model. Section 9.3 discusses the power and rate adaptation policy, and in Sect. 9.4 Ergodic channel capacity of the adaptation policies under Nakagami-m fading is computed. In Sect. 9.5, the numerical simulation results of the proposed spectrum sharing model are presented, and finally, Sect. 9.6 summarizes the work.

9.2 Spectrum Sharing System

9.2.1 System Model

This proposed spectrum sharing system consists of a PT and PR pair as well as an ST and SR pair, as shown in Fig. 9.1. In this scenario, the secondary user is allowed to use the spectrum band assigned to the primary user as long as the interference power imposed by secondary transmitter on the primary receiver is less than a predefined threshold value, which is the interference temperature limit. We consider the primary user link that is the channel between the PT and PR to be a stationary block-fading channel. According to the definition of block-fading, the channel gain remains constant over some block length T and after that time, the channel gain changes to a new independent value based on its distribution [21].

The average transmit power of the PT is assumed to be \(P_{t}\), its average ON/active time is α, and its average OFF/inactive time is \(\bar{\alpha } = 1 - \alpha\) [13]. In addition, we have assumed a discrete-time flat-fading channel with perfect CSI at the receiver and transmitter of the secondary user. As shown in Fig. 9.1, the secondary/cognitive receiver generates and estimates the channel power gain \(\left( {\widehat{{\gamma_{s} }}} \right)\) between the secondary transmitter and secondary receiver (SR). We have assumed that the channel power gain is fed back to the secondary transmitter error-free and without delay. Further, the channel gain between the transmitter and receiver of the secondary user, ST and PR as well as between the PT and ST, are given by \(\sqrt {\gamma_{s} } ,\,\sqrt {\gamma_{p} }\), and \(\sqrt {\gamma_{m} }\), respectively. The channel power gains \(\gamma_{s} ,\gamma_{p}\), and \(\gamma_{m}\) are independent of each other. We have obtained the cognitive radio communication system’s Ergodic channel capacity by considering the distribution of \(\gamma_{s}\) and \(\gamma_{p}\) as the Nakagami-m distribution. d m , d s and d p are the distances between ST to PR, ST to SR, and ST to PR, respectively. Moreover, the channel between the PT and SR is considered an additive white Gaussian noise (AWGN) channel, denoted as n, and can be modeled as a zero-mean Gaussian random variable with variance N 0 B, where N 0 and B denote the noise power spectral density and the signal bandwidth, respectively. x is the data transmitted from ST and \(\hat{x}\) is the estimated transmitted data at SR as shown in Fig. 9.1.

9.2.2 Spectrum Sensing Module

As is clear from Fig. 9.1, the secondary transmitter is equipped with a spectrum sensing detector whose function is to sense the frequency band of the primary user for the secondary user’s transmission. Based on the received signals, the detector computes a single sensing metric denoted by ξ, [12]. The sensing metric is the total primary signal power in the number of independent signal samples [13]. We consider that the statistics of ξ conditioned on the primary user being active or idle are known prior to the ST. Using the energy detection method for sensing information on the primary user being active or idle, the sensing parameter ξ is modeled according to Chi-square probability distribution functions (pdfs) with ν degrees of freedom as discussed in [11], where ν is related to the number of samples used in the sensing period, N We define the pdf of ξ, given that the PT is active or idle, by \(f_{1} (\xi )\) and \(f_{0} (\xi )\), respectively, that is, \(f_{1} (\xi )\) and \(f_{0} (\xi )\) are conditional probabilities. According to [23, pp. 941], for a large number of ν (for example ≥30), one can approximate the Chi-square distribution with a Gaussian pdf. Since the number of observation samples can be large enough for the approximation to be valid, we choose \(f_{1} (\xi )\sim {\mathcal{N}}(\mu_{1,} \delta_{1}^{2} )\) and \(f_{0} (\xi )\sim {\mathcal{N}}(\mu_{0,} \delta_{0}^{2} )\), where \((\mu_{1,} \delta_{1}^{2} )\) and \((\mu_{0,} \delta_{0}^{2} )\) are given by [8]. The probability distribution of \(\xi\) depends on [13]:

(9.1a)

and the probability distributions of \(\xi\) are given as [8]:

$$\left. {\begin{array}{*{20}l} {f_{0} \left( \xi \right) = \frac{1}{{\sqrt {2\pi \delta_{0}^{2} } }}exp\left( {\frac{{ - \left( {\xi - \mu_{0} } \right)^{2} }}{{2\delta_{0}^{2} }}} \right)} \hfill \\ {f_{1} \left( \xi \right) = \frac{1}{{\sqrt {2\pi \delta_{1}^{2} } }}exp\left( {\frac{{ - \left( {\xi - \mu_{1} } \right)^{2} }}{{2\delta_{1}^{2} }}} \right)} \hfill \\ \end{array} } \right\}$$
(9.1b)

In this chapter, we have used the energy detector for spectrum sensing due to its easy implementation and low computational complexity, as discussed in [11]. The other sensing detectors can also be used for spectrum sensing since the authors’ main motive is to compute the sensing metric \(\xi\), which represents the total signal power observed or the correlation between the observed signal and a known signal pattern [13]. However, the main difference lies in the number of samples required for the same performance in different detectors, and that depends on the required signal-to-noise ratio [11]. In addition, the cognitive radio user transmission should be limited so that it does not cause harmful interference to the primary user. Therefore, a limit or constraint is set at PR called the average interference power constraint or simply interference constraint. When PU is active, ST cannot transmit at a power which exceeds the average interference power constraint at the primary receiver, which is given as [21]:

$$E_{{\upgamma_{{{\text{s}},}}\upxi,\upgamma_{\text{p}} }} \left[ {P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\gamma_{\text{p}} |PUisON} \right] \le Q_{\text{int}} ;\forall \gamma_{\text{s}} ,\gamma_{{{\text{p}}, }} \xi$$
(9.2)

where the transmit power of SU is \(P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\) and expectation over the joint pdf of random variables \(\upgamma_{\text{s}} ,\upgamma_{\text{p }}\) and \(\upxi\) is denoted by \({\text{E}}_{{\upgamma_{{{\text{s}},}}\upxi,\upgamma_{\text{p}} }} \left[ . \right]\). \(Q_{\text{int}}\) is the interference limit set at PR, that is, the maximum interference power that it can tolerate without degrading its own performance. The constraint defined in Eq. (9.2) is used to compute the Ergodic channel capacity . However, the average interference power constraint is considered only because we have assumed that the licensed user performance is measured by the average signal-to-noise ratio (SNR) and not by instantaneous SNR. Moreover, the Ergodic channel capacity under the average received power constraint is, in general, higher than that of the peak received power constraint due to the more restrictive nature of the peak power, as opposed to the average interference power constraint.

9.3 Rate and Power Adaptation Policy for M-QAM

The data rate and power adaptation is a potential transmission strategy which adjusts the transmit power and data rate of a cognitive radio system to improve the spectrum efficiency for utilizing the shared spectrum [21, 24,25,26]. Data rate adaptation is a spectrally efficient technique, and its adaptation can be achieved either through variation of the symbol time duration [27] or by varying the constellation size [28]. However, the former method is spectrally inefficient and requires variable-bandwidth system design as discussed in [29]. The variable data rate adaptation policy using varying constellation size is fixed bandwidth with a spectrally efficient method [29]. The Ergodic channel capacity under adaptation policy of the variable data rate and power transmission strategy in M-QAM signal constellation is considered with the knowledge of CSI and spectrum sensing information at the secondary transmitter side, which satisfies the predefined bit-error-rate (BER) requirements and adheres to the constraints on the average interference power at the primary user. In this case, the cognitive radio adapts the transmit power according to:

  1. (i)

    the primary and secondary channel power gain \(\gamma_{\text{p}}\) and \(\gamma_{\text{s}}\), respectively,

  2. (ii)

    the primary user’s activity states \(\upxi\), subjected to the average interference, and

  3. (iii)

    the instantaneous bit-error-rate constraint \(P_{b} \left( {\gamma_{\text{s}} ,\xi } \right) = P_{\text{b}}\).

The \(P_{b}\) bound for each value of \(\gamma_{\text{s}}\) and \(\upxi\) is given as [21]:

$$P_{b} \left( {\gamma_{\text{s}} ,\xi } \right) \le 0.2exp\left( {\frac{ - 1.5}{M - 1} \times \frac{{P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\gamma_{\text{s}} }}{{N_{0} B}}} \right)$$
(9.3)

where M is the constellation size or the number of symbols in the particular modulation format. \(P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\) is the transmit power of ST. To satisfy the conditions as discussed in Eq. (9.3), we can adjust the values of M and \(P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\). However, the instantaneous bit error rate constraint given by Eq. (9.3) holds for \(M \ge 4\) [21]. We can also express Eq. (9.3) by the following mathematical expression:

$$P_{\text{b}} \left( {\gamma_{s} ,\xi } \right) \le 0.2exp\left( {\frac{ - 1.5}{M - 1}SNR_{\text{ss}} } \right)$$
(9.3a)

where \(SNR_{\text{ss}}\) is the signal-to-noise power ratio of the ST to SR. For both the adaptive data rate and adaptive power transmission policy, Eq. (9.3) should be satisfied for the following constraint on average interference power:

$$\frac{{P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\gamma_{\text{p}} }}{{N_{0} B}} \le Q_{\text{int}}$$
(9.3b)

or

$$SNR_{\text{sp}} \le Q_{\text{int}}$$

where \(SNR_{\text{sp}}\) is the signal-to-noise power ratio of secondary transmitter to primary receiver. After some mathematical manipulation of Eq. (9.3), we obtain the following maximum constellation size for a given \(P_{b} \left( {\gamma_{\text{s}} ,\xi } \right)\):

$$M\left( {\gamma_{\text{s}} ,\xi } \right) = 1 + K\left( {\frac{{P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\gamma_{\text{s}} }}{{N_{0} B}}} \right)$$
(9.3c)

Moreover, we can achieve the constellation size that is the value of M in M-QAM modulation format for an arbitrary chosen bit-error-rate, the average interference power and the ratio of \(\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }}\), and is given by the following expression:

$$M = 1 + K\left( {\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }}} \right)Q_{\text{int}}$$

and,

$$M = 2^{n} = 2^{{log_{2} \left( {1 + K\left( {\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }}} \right)Q_{\text{int}} } \right)}}$$
(9.4)

where

$$K = \frac{ - 1.5}{{In\left( {5P_{\text{b}} } \right)}} < 1$$
(9.5)

and n is the number of bits per symbol. However, for \(M < 4\) which is assumed for BPSK, the error rate is given in [29]. Therefore, the Ergodic channel capacity under average interference power constraint and given \(P_{\text{b}}\) is:

$$\frac{{C_{\text{er}} }}{B} = \max_{{P(\gamma_{\text{s}} ,\gamma_{\text{p}} ,\xi )}} \iint {log_{2} \left( {1 + \frac{{K\gamma_{\text{s}} P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )}}{{N_{0} B}}} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))}d\gamma_{\text{s}} d\gamma_{\text{p}}$$
(9.6)

With the constraint:

$$\iint {\gamma_{\text{p}} P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}},}} \xi )f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )f_{1} \left( \xi \right)}d\gamma_{\text{s}} d\gamma_{\text{p}} \le Q_{\text{int}}$$
(9.7)

The transmitter power \(P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right)\) of the cognitive transmitter is the joint function of secondary channel gain, primary channel gain and sensing metric. Asghari and Aissa [21] provided a mathematical expression for the channel capacity of the secondary user’s link for power adaptation policies under the interference and peak power constraint with the sensing pdf’s. However, the primary user’s link channel power gain \(\gamma_{p}\), which is presented in Eq. (9.6), was not considered in [30]. Now, we have to maximize the Ergodic capacity of the system as given by Eq. (9.6) by simultaneously satisfying the constraint given in Eq. (9.7). Therefore, to yield the optimal power allocation \(P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right)\), we form the Lagrangian multiplier, \(\lambda\) [31] and construct the following Lagrangian function:

$$\begin{aligned} & L\left( {P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right),\lambda } \right) \\ & \quad = \iint {log_{2} \left( {1 + \frac{{K\gamma_{\text{s}} P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )}}{{N_{0} B}}} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))}d\gamma_{\text{s}} d\gamma_{\text{p}} \\ & \quad -\uplambda\left( {\iint {\gamma_{\text{p}} P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )f_{1} \left( \xi \right)}d\gamma_{\text{s}} d\gamma_{\text{p}} - Q_{\text{int}} } \right) \\ \end{aligned}$$
(9.8)

\(L\left( {P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right),\lambda } \right)\) is the concave function of \(P(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi )\), and the interference constraint defined in Eq. (9.7) is convex, therefore the first order condition that is the derivative of \(L\left( {P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right),\lambda } \right)\) with respect to \(P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right)\) is a sufficient KKT condition for the optimality [32] and the sufficient condition allows us to obtain a solution. Now, the optimization problem being convex (i.e. this problem is a maximization problem with a concave cost function and a convex set of constraints), there is a unique solution. Hence, the solution given by the sufficient condition is the only solution and is given by:

$$\begin{aligned} \frac{\partial L(P,\lambda )}{\partial P} & = \frac{1}{{1 + \frac{{K\gamma_{\text{s}} P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right)}}{{N_{0} B}}}}\frac{{K\gamma_{\text{s}} }}{{N_{0} B}}\left( {\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right)} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} \left( {\gamma_{\text{p}} } \right) \\ & \quad -\uplambda\gamma_{\text{p}} f_{1} \left( \xi \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} \left( {\gamma_{\text{p}} } \right) = 0 \\ \end{aligned}$$

or

$$\begin{aligned} \frac{\partial L(P,\lambda )}{\partial P} & = \frac{{K\gamma_{\text{s}} }}{{N_{0} B + K\gamma_{s} P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right)}}\left( {\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right)} \right) \\ & \quad -\uplambda\gamma_{\text{p}} f_{1} \left( \xi \right) = 0 \\ \end{aligned}$$
(9.9)

and

$$P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right) = \frac{{\gamma_{\upmu} \left( \xi \right)}}{{\uplambda\gamma_{\text{p}} }} - \frac{{N_{0} B}}{{\gamma_{\text{s}} K}}$$
(9.10a)

If we assume \(P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right) = 0\) for some values of \(\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }}\) and \(\xi\), which take place in the condition defined below and after putting \(P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right) = 0\) in Eq. (9.10a), we get:

$$\frac{{\gamma_{\text{p}} }}{{\gamma_{\text{s}} }} > \frac{{\gamma_{\upmu} \left( \xi \right)K}}{{\uplambda\,N_{0} B}}$$
(9.10b)

Therefore, from Eqs. (9.10a) and (9.10b), the power \(P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right)\) is adapted to maximize the Ergodic channel capacity as defined in Eq. (9.6), which is given as:

$$P\left( {\gamma_{{{\text{s}},}} \gamma_{{{\text{p}}, }} \xi } \right) = \left\{ {\begin{array}{*{20}l} {\frac{{\gamma_{\upmu} \left( \xi \right)}}{{\uplambda\gamma_{\text{p}} }} - \frac{{N_{0} B}}{{\gamma_{s} K}},} \hfill & {\frac{{\gamma_{\text{p}} }}{{\gamma_{\text{s}} }} \le \frac{{\gamma_{\upmu} \left( \xi \right)K}}{{\uplambda\,N_{0} B}}} \hfill \\ {0,} \hfill & {\frac{{\gamma_{\text{p}} }}{{\gamma_{\text{s}} }} > \frac{{\gamma_{\upmu} \left( \xi \right)K}}{{\uplambda\,N_{0} B}}} \hfill \\ \end{array} } \right.$$
(9.10c)

where

$$\gamma_{\upmu} \left( \xi \right) = \alpha + \bar{\alpha }\frac{{f_{0} \left( \xi \right)}}{{f_{1} \left( \xi \right)}}.$$
(9.11)

The optimal power allocation obtained by Eq. (9.10a) represents the greater transmission power, which can be used when \(\gamma_{\text{s}}\) increases and \(\gamma_{p}\) decreases and the average interference constraint at the primary receiver is satisfied. This is due to the primary user’s fading channel advantage which enhances the cognitive user’s capacity. The sensing decision is considered in Eq. (9.11), where we observe that when the conditional probability that the PU is idle \(\left( {f_{0} \left( \xi \right)} \right)\) gets higher than that of being active \(\left( {f_{1} \left( \xi \right)} \right)\), then the value of \(\upgamma_{\upmu} \left(\upxi \right)\) has an ascending behavior and \(\upgamma_{\upmu} \left(\upxi \right)\) > 1, otherwise, \(\upgamma_{\upmu} \left(\upxi \right)\) < 1. Therefore, as the conditional probability distribution of the primary user being idle gets higher than being active, \(\upgamma_{\upmu} \left(\upxi \right)\) increases and, consequently, we can increase the secondary user’s transmission power without causing harmful interference to the PR. Note that when \(\upgamma_{\upmu} \left(\upxi \right)\) = 1, the ST has no information about the primary user’s activity. Accordingly, it considers that the primary user is always active \(\left( {\frac{{{\text{f}}_{0} \left(\upxi \right)}}{{{\text{f}}_{1} \left(\upxi \right)}} = 1} \right)\) and continuously transmits with the same power level with which it is already transmitting. For \(\upgamma_{\upmu} \left(\upxi \right)\), the values of \(f_{0} \left( \xi \right)\) and \(f_{1} \left( \xi \right)\) should be taken at that value of \(\xi\) which is computed by the sensing detector for a given detection and false alarm probabilities. A higher value of \(\upxi\) as compared to threshold that is the energy computed in a particular time interval over a spectrum, indicates the presence of PU signal, and vice versa [13]. However, if we modify the probability of false alarm, the value of \(\upxi\) is also modified. By substituting Eq. (9.10a) in Eq. (9.7), we get:

$${\iint\nolimits_{0}^{\frac{{K\gamma_{\upmu} \left( \xi \right)}}{{\uplambda_{0} N_{0} B}}}\left( {\frac{{\gamma_{\upmu} \left( \xi \right)}}{{\uplambda_{0} }} - \frac{{N_{0} B\gamma_{\text{p}} }}{{\gamma_{\text{s}} K}}} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )f_{1} \left( \xi \right)}d\gamma_{\text{s}} d\gamma_{\text{p}} = Q_{\text{int}}$$

where \(\uplambda_{0}\) is determined in such a way that the average interference power constraint in Eq. (9.7) is equal to \(Q_{\text{int}}\)

$${\iint\nolimits_{0}^{{\frac{{K\gamma_{\upmu} \left( \xi \right)}}{{\uplambda_{0} N_{0} B}}}}} {\left( {\frac{{\gamma_{\upmu} \left( \xi \right)}}{{\uplambda_{0} N_{0} B}} - \frac{{\gamma_{\text{p}} }}{{\gamma_{\text{s}} K}}} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )f_{1} \left( \xi \right)}d\gamma_{\text{s}} d\gamma_{\text{p}} = \frac{{Q_{\text{int}} }}{{N_{0} B}} = \varPhi$$

or

$${\iint\nolimits_{0}^{{K\gamma_{\mu } \left( \xi \right)\gamma_{0} }}} {\left( {\gamma_{\mu } \left( \xi \right)\gamma_{0} - \frac{{\gamma_{p} }}{{\gamma_{s} K}}} \right)f_{s} \left( {\gamma_{s} } \right)f_{p} \left( {\gamma_{p} } \right)f_{1} \left( \xi \right)}d\gamma_{s} d\gamma_{p} = {\varPhi}$$
(9.12)

where \(\gamma_{0} = \frac{1}{{\uplambda_{0} N_{0} B}}\), and \(\Phi = \frac{{Q_{\text{int}} }}{{N_{0} B}}\) is the average SNR [4]. By substituting Eq. (9.10a) in Eq. (9.6), gives the following Ergodic channel capacity expression:

$$\frac{{C_{\text{er}} }}{B} = \int_{{\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }} \ge \frac{{N_{0} B \uplambda_{0} }}{{K\gamma_{\upmu} \left( \xi \right)}} = \frac{1}{{K\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } {log_{2} \left( {1 + \frac{{K\gamma_{\text{s}} }}{{N_{0} B}}\left[ {\frac{{\gamma_{\upmu} \left( \xi \right)}}{{\uplambda_{0} \gamma_{\text{p}} }} - \frac{{N_{0} B}}{{\gamma_{\text{s}} K}}} \right]} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))} d\gamma_{\text{s}} d\gamma_{\text{p}}$$

or

$$\frac{{C_{\text{er}} }}{B} = \int_{{\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }} \ge \frac{{N_{0} B \uplambda_{0} }}{{K\gamma_{\upmu} \left( \xi \right)}} = \frac{1}{{K\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } {log_{2} \left( {\frac{{K\gamma_{\text{s}} \gamma_{\upmu} \left( \xi \right)}}{{N_{0} B \uplambda_{0} \gamma_{\text{p}} }}} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))} d\gamma_{\text{s}} d\gamma_{\text{p}}$$

or

$$\frac{{C_{\text{er}} }}{B} = \int_{{\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }} \ge \frac{{N_{0} B\uplambda_{0} }}{{K\gamma_{\upmu} \left( \xi \right)}} = \frac{1}{{K\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } {log_{2} \left( {\frac{{K\gamma_{\text{s}} \gamma_{\upmu} \left( \xi \right)\gamma_{0} }}{{\gamma_{\text{p}} }}} \right)f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))} d\gamma_{\text{s}} d\gamma_{\text{p}}$$
(9.13)

or

$$\frac{{C_{\text{er}} }}{B} = {}_{{\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }} \ge \frac{{N_{0} B\,\uplambda_{0} }}{{K\gamma_{\upmu} \left( \xi \right)}}}}^{{E_{{\gamma_{\text{s}} ,\gamma_{\text{p}} ,\xi }} }} \left[ {log_{2} \left( {\frac{{K\gamma_{\text{u}} \left( \xi \right)\gamma_{\text{s}} }}{{\lambda_{0} N_{0} B\gamma_{\text{p}} }}} \right)} \right]$$
(9.14)

where \(C_{er}\) denotes the Ergodic capacity and Ε[.] denotes the expectation operator. Equation (9.14) is similar to that presented in [21, Eq. (30)] except the term \(\gamma_{\text{p}}\), which is due to the consideration of the primary channel gain in the cognitive user’s system capacity. However, when only the power adaptation policy is considered instead of power and rate adaptation policy, then the additional constraint of Eq. (9.5) is not needed, and the Ergodic channel capacity of adaptive power transmission policy is given by the following mathematical expression, substituting K = 1 in Eq. (9.14):

$$\frac{{C_{\text{er}} }}{B} = {}_{{\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }} \ge \frac{{N_{0} B\,\uplambda_{0} }}{{\gamma_{\upmu} \left( \xi \right)}}}}^{{E_{{\gamma_{\text{s}} ,\gamma_{\text{p}} ,\xi }} }} \left[ {log_{2} \left( {\frac{{\gamma_{\text{u}} \left( \xi \right)\gamma_{\text{s}} }}{{\lambda_{0} N_{0} B\gamma_{\text{p}} }}} \right)} \right]$$
(9.15)

Comparing the Ergodic capacity of power adaptation policy as given by Eq. (9.15) and rate and power adaptation policy for M-QAM modulation format in Eq. (9.14), Eq. (9.14) reveals that there is an effective power loss of K for adaptive M-QAM compared to that of Eq. (9.15). However, for the adaptive power transmission policy, the probability of error is significantly greater and is fixed, at 0.0446, in comparison to that of the adaptive rate and power transmission policy, where the probability of bit error can vary according to the quality-of-service requirement.

9.4 Effect of Channel Conditions

In this section, we explore the fading channel effect on the cognitive radio communication system performance and numerically compute the Ergodic channel capacity in different fading environments.

  • Nakagami-m fading

The Nakagami-m distribution often provides the best fit to the urban [33] and indoor [34] multipath propagation and gives AWGN, Rayleigh and Rician fading channel models by adjusting the fading parameter m, which is the ratio of line-of-sight (LOS) signal power to the multipath signal power. The channel fading model based on Nakagami distribution, both \(\gamma_{s}\) and \(\gamma_{p}\), would be distributed according to the following Gamma distribution [6]:

$$f\left( \gamma \right) = \frac{{m^{m} \gamma^{m - 1} }}{\varGamma (m)}e^{ - m\gamma }$$

where m and \(\gamma\) are shape parameter and channel power gain, respectively. Therefore, the pdf \(f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )\) is given as:

$$f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} \left( {\gamma_{\text{p}} } \right) = \left( {\frac{{m_{0} }}{{m_{1} }}} \right)^{{m_{0} }} \frac{{z^{{m_{1} - 1}} }}{{\beta \left( {m_{0} ,m_{1} } \right)\left( {x + \frac{{m_{0} }}{{m_{1} }}} \right)^{{m_{0} + m_{1} }} }}$$
(9.16)

where \(m_{0}\) and \(m_{1}\) are m parameters [6] for \(\gamma_{\text{p}}\) and \(\gamma_{\text{s}}\), respectively. \(\frac{{\gamma_{\text{p}} }}{{\gamma_{\text{s}} }} = z\), and z is a random variable. \(\beta (.)\) is the beta function. When \(m_{0} = m_{1} = m\), the Eq. (9.16) becomes:

$$f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} \left( {\gamma_{\text{p}} } \right) = \frac{{z^{m - 1} }}{{\beta \left( {m,m} \right)\left( {z + 1} \right)^{2m} }}$$
(9.17)

By substituting Eq. (9.17) in (9.12), we yield the following value of secondary transmit power, which satisfies the average interference constraint for the Nakagami-m fading channel:

$$\mathop {\iint }\limits_{0}^{{K\gamma_{\upmu} \left( \xi \right)\gamma_{0} }} \left( {\gamma_{\upmu} \left( \xi \right)\gamma_{0} - \frac{{\gamma_{\text{p}} }}{{\gamma_{\text{s}} K}}} \right)\frac{{z^{m - 1} }}{{\beta \left( {m,m} \right)\left( {z + 1} \right)^{2m} }}f_{1} \left( \xi \right)d\gamma_{\text{s}} d\gamma_{\text{p}} = \frac{{Q_{\text{int}} }}{{N_{0} B}}$$
(9.18)

and the Ergodic channel capacity from Eq. (9.13), for the Nakagami-m fading environment is given by:

$$\frac{{C_{\text{er}} }}{B} = \int_{{\frac{{\gamma_{\text{s}} }}{{\gamma_{\text{p}} }} \ge \frac{{N_{0} B\,\uplambda_{0} }}{{K\gamma_{\upmu} \left( \xi \right)}} = \frac{1}{{K\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } {log_{2} \left( {\frac{{K\gamma_{\text{s}} \gamma_{\upmu} \left( \xi \right)\gamma_{0} }}{{\gamma_{\text{p}} }}} \right)\frac{{z^{m - 1} }}{{\beta \left( {m,m} \right)\left( {z + 1} \right)^{2m} }}(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))} d\gamma_{\text{s}} d\gamma_{\text{p}}$$
(9.19)

9.4.1 Rayleigh Fading

The Nakagami-m distribution with fading parameter equal to 1 represents the Rayleigh fading channel, and the pdf \(f_{\text{s}} \left( {\gamma_{\text{s}} } \right)f_{\text{p}} (\gamma_{\text{p}} )\) will have log-logistic distribution [6]. By substituting \(m = 1\) in Eq. (9.18), we get:

$$\int_{0}^{{K\gamma_{\upmu} \left( \xi \right)\gamma_{0} }} {\left( {\gamma_{\upmu} \left( \xi \right)\gamma_{0} - \frac{z}{K}} \right)\frac{1}{{\left( {1 + z} \right)^{2} }}f_{1} \left( \xi \right)dz = \frac{{Q_{\text{int}} }}{{N_{0} B}}}$$

or

$$f_{1} \left( \xi \right)\left( { - \frac{1}{K}\log_{2} \left( {1 + K\gamma_{\upmu} \left( \xi \right)\gamma_{0} } \right) + \gamma_{\upmu} \left( \xi \right)\gamma_{0} } \right) = \frac{{Q_{\text{int}} }}{{N_{0} B}} = \varPhi$$
(9.20)

Therefore the capacity of the cognitive radio communication system in the Rayleigh fading environment is achieved by putting m = 1 in Eq. (9.19):

$$\begin{aligned} & \frac{{C_{\text{er}} }}{B} = \mathop \smallint \limits_{{\frac{1}{{\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } log_{2} \left( {K\gamma_{0} \gamma_{\upmu} \left( \xi \right)z} \right)\frac{1}{{\left( {1 + z} \right)^{2} }}(\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right))dz \\ & {\text{or}}\,\frac{{C_{\text{er}} }}{B} = \left( {\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right)} \right){ \log }_{2} \left( {1 + K\gamma_{\upmu} \left( \xi \right)\gamma_{0} \left(\Phi \right)} \right) \\ \end{aligned}$$
(9.21)

where \(\gamma_{0} \left( \varPhi \right)\) is from the Eq. (9.20) for a given \(\varPhi\). Equation (9.21) gives the Ergodic channel capacity of adaptive rate and power transmission policy under the Rayleigh fading environment. Further, the capacity of adaptive power transmission policy under the Rayleigh fading environment is as given below:

$$\frac{{C_{\text{er}} }}{B} = \left( {\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right)} \right)log_{2} \left( {1 + \gamma_{\upmu} \left( \xi \right)\gamma_{0} \left( \alpha \right)} \right)$$
(9.22)

9.4.2 Rician Fading

The Nakagami-m distribution with the fading parameter greater than or equal to 2 represents the Rician fading channel. Now, by substituting \(m = 2\) in Eq. (9.18), we get the following expression for the Rician fading channel:

$$\mathop \smallint \limits_{0}^{{K\gamma_{\upmu} \left( \xi \right)\gamma_{0} }} \left( {\gamma_{\upmu} \left( \xi \right)\gamma_{0} - \frac{z}{K}} \right)\frac{6z}{{\left( {1 + z} \right)^{4} }}f_{1} \left( \xi \right)dz = \frac{{Q_{\text{int}} }}{{N_{0} B}}$$

or

$$f_{1} \left( \xi \right)\left( {\frac{{3K\gamma_{0} \gamma_{\upmu} \left( \xi \right) + 2}}{{6K\left( {1 + K\gamma_{0} \gamma_{\upmu} \left( \xi \right)} \right)^{2} }} + \frac{{\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}{6} - \frac{2}{6K}} \right) = \frac{{Q_{\text{int}} }}{{N_{0} B}} = \varPhi$$
(9.23)

Therefore, for the spectrum sharing system operating under the predefined power constraints and a target BER value \(P_{\text{b}}\), the Rician fading channel capacity expression of the secondary user’s link, based on the adaptive rate and power M-QAM transmission policy, is obtained by putting m = 2 in Eq. (9.19):

$$\frac{{C_{\text{er}} }}{B} = \int_{{\frac{1}{{K\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } {log_{2} \left( {K\gamma_{0} \left( \varPhi \right)\gamma_{\upmu} \left( \xi \right)z} \right)\frac{6z}{{\left( {1 + z} \right)^{4} }}\left( {\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right)} \right)d} z$$
(9.24)

where \(\gamma_{0} \left( \varPhi \right)\) is from Eq. (9.23) for a given \(\varPhi\). Furthermore, the Ergodic channel capacity of adaptive power transmission policy in the Rician fading environment is given by the following expression:

$$\frac{{C_{\text{er}} }}{B} = \int_{{\frac{1}{{\gamma_{0} \gamma_{\upmu} \left( \xi \right)}}}}^{\infty } {log_{2} \left( {\gamma_{0} \gamma_{\upmu} \left( \xi \right)z} \right)\frac{6z}{{\left( {1 + z} \right)^{4} }}\left( {\alpha f_{1} \left( \xi \right) + \bar{\alpha }f_{0} \left( \xi \right)} \right)dz}$$
(9.25)

Similarly, we can compute the channel capacity for different fading parameter values, however it leads to cumbersome mathematical expressions.

9.5 Simulation Results

In this section, we numerically simulate the proposed spectrum sharing system model that operates under the constraints on the average received-interference power in the Nakagami-m fading environment for adaptation strategies such as variable power and variable rate and power, as presented in the preceding Sects. 9.3 and 9.4.

The position of terminals as shown in Fig. 9.1 is assumed in such a way that \(d_{s} = d_{p} = 1\) (unit) and \(d_{\text{m}} = 3\) (unit). The channel gains \(\left( {\upgamma_{\text{s}} } \right)^{1/2}\) and \(\left( {\upgamma_{\text{p}} } \right)^{1/2}\) are distributed according to the Nakagami-m fading pdf. Furthermore, we assumed \({\text{N}}_{0} {\text{B }}\) = 1 and the sensing detector computes the sensing-information metric for N = 30 observation samples. We suppose that the primary user remains active at 50% of the time (α = 0.5) and have set the PU’s transmit power \({\text{P}}_{\text{t}}\) = 1. Figure 9.2a illustrates the distribution of conditional probabilities \(f_{0} \left( \xi \right)\) and \(f_{1} \left( \xi \right)\) corresponding to the different values of energy detected by sensing detector in the particular number of samples. Moreover, these distributions are used for the computation of \(\gamma_{\mu } \left( \xi \right)\) for different detected energy values in a particular interval as shown in Fig. 9.2b. Three regions have been recognized for the parameter \(\upgamma_{\upmu} \left(\upxi \right)\), namely, \(\upgamma_{\upmu} \left(\upxi \right) > 1,\,\upgamma_{\upmu} \left(\upxi \right) = 1\) and \(\upgamma_{\upmu} \left(\upxi \right) < 1\). In Fig. 9.2b, when \(\upgamma_{\upmu} \left(\upxi \right) > 1\) represent that the probability of the PU to be idle is higher than that of being active otherwise, \(\upgamma_{\upmu} \left(\upxi \right) < 1\). The power and rate are adapted according to the channel gains and the sensing information. Moreover, the higher power levels are used by secondary users when the probability of the primary user being inactive is significantly more (higher values of \(\left. {\upgamma_{\upmu} \left(\upxi \right)} \right)\) in comparison to the case for which \(\upgamma_{\upmu} \left(\upxi \right)\) is less. We have considered the bit-error-probability \(10^{ - 2} ,\,10^{ - 4}\) and \(10^{ - 6}\) for the adaptive rate and power transmission policy for these two cases: \(\left( {\upgamma_{\upmu} \left(\upxi \right) > 1} \right.\) and \(\left. {\upgamma_{\upmu} \left(\upxi \right) < 1} \right)\).

Fig. 9.2
figure 2

The soft sensing information a Spectrum sensing probability density functions given that the primary user is idle \({\text{f}}_{0} \left(\upxi \right)\) and active \({\text{f}}_{1} \left(\upxi \right)\) [21], and b \(\upgamma_{\upmu} \left(\upxi \right)\) variation for N = 30, \(P_{t} = 1\), α = 0.5 and \({\text{d}}_{\text{m}} = 3\) [21]

For the Rayleigh fading environment or Nakagami-m distribution with m = 1, Fig. 9.3a, b shows the variation of the Lagrangian parameter \(\lambda\) and Ergodic channel capacity with \(Q_{\text{int}}\) for the adaptive power and adaptive rate and power transmission policy, while considering the sensing information metric available at the cognitive user. The simulation results in Fig. 9.3 are presented for the value of parameter \(\upgamma_{\upmu} \left(\upxi \right) < 1\). Moreover, Fig. 9.3a shows the optimum value of the Lagrangian parameter for the given \(Q_{\text{int}}\) and \(\upgamma_{\upmu} \left(\upxi \right)\), which satisfy (9.20) and provide the adaptation in transmit power needed for the Rayleigh fading channel. It is clear from Fig. 9.3b that as the interference tolerance \(\left( {Q_{\text{int}} } \right)\) at the primary receiver increases, the capacity of the secondary user increases due to the increase in transmit power of the secondary user. The Ergodic capacity of adaptive rate and power transmission policy is less in comparison to that of the adaptive power transmission policy, since there is an additional constraint on target BER in the former policy. In addition, as the required BER decreases, the Ergodic capacity of the system is less, as depicted from Fig. 9.3b. For example, the capacity for \(P_{b}\) of \(10^{ - 6}\) is less than that for \(P_{b} = 10^{ - 2}\) due to the stricter constraint on the required error rate.

Fig. 9.3
figure 3

The response of primary receiver interference power constraint for the adaptive power and adaptive rate and power transmission policies in the Rayleigh fading channel for M-QAM modulation and \(\upgamma_{\upmu} \left(\upxi \right) = 0.8\) over a the Lagrangian parameter, and b Ergodic channel capacity

In Fig. 9.4a, b, we have considered the value of the parameter \(\upgamma_{\upmu} \left(\upxi \right) > 1\), which shows that the probability of the primary user being active is greater than that of it being inactive so it leads to an increase in the transmit power; consequently the result is an increase in capacity of the secondary user in comparison to the capacity that is shown in Fig. 9.3b, where \(\upgamma_{\upmu} \left(\upxi \right) < 1\). Further, without considering the sensing information available at the secondary user, the capacity variations with \(Q_{\text{int}}\) presented in Fig. 9.5 have been validated with Fig. 3 of [6], which is the case when only the average interference power constraint is considered. The effect of average interference power constraint \(Q_{\text{int}}\) on the capacity and Lagrangian parameter λ in the Nakagami-m fading environment with \(m = 2,\) that is, for the Rician fading channel for the adaptive power and adaptive rate and power transmission, is shown in Fig. 9.6a, b for the case when \(\upgamma_{\upmu} \left(\upxi \right) < 1\). Moreover, for the adaptive power and adaptive rate and power transmission policy, the comparison of the capacity for three cases of BER that is \(10^{ - 2}\), \(10^{ - 4}\) and \(10^{ - 6}\) is presented in Fig. 9.6b.

Fig. 9.4
figure 4

The response of primary receiver interference power constraint for the adaptive power and adaptive rate and power transmission policies in the Rayleigh fading channel for M-QAM modulation and \(\upgamma_{\upmu} \left(\upxi \right) = 1.2\) over a the Lagrangian parameter, and b Ergodic channel capacity

Fig. 9.5
figure 5

The capacity under the average interference-power constraint as reported in [6]

Fig. 9.6
figure 6

The response of primary receiver interference power constraint for the adaptive power and adaptive rate and power transmission policies in the Rician fading channel for M-QAM modulation and \(\upgamma_{\upmu} \left(\upxi \right) = 0.8\) over a the Lagrangian parameter, and b Ergodic channel capacity

Figure 9.7a, b present the Lagrangian parameter and capacity in the Rician fading environment (Nakagami-m distribution with m = 2) for \(\upgamma_{\upmu} \left(\upxi \right) > 1\). The comparison of Fig. 9.6b with 9.7b reveals that the significant enhancement in the capacity is due to the higher power adaptation of the secondary transmitter. Moreover, the capacity comparison between Rayleigh and Rician fading environments demonstrates that the capacity of the cognitive radio network for the latter case is less than that of the former for a given \(Q_{int}\). The reason lies in the fact that severe primary channel Rayleigh fading gives an advantage to the secondary transmitter to increase its transmission power while keeping the interference power constraint constant in comparison to the Rician fading channel with \(m = 2\), which is less severe due to the presence of a line-of-sight (LOS) component. Moreover, Fig. 9.8a, b shows the adaptation in the constellation size according to the channel gain ratio of the secondary-to-primary user and average interference power for different BER, respectively. It is also clear from Fig. 9.8a, b that the number of bits per symbol or the constellation size of the modulation technique increases as the channel gain ratio of the ST to PR increases, or the average interference power limit at PR increases for the chosen BER. Thus significantly better channel conditions of the secondary link lead to the adaptation of higher modulation format.

Fig. 9.7
figure 7

The response of primary receiver interference power constraint for the adaptive power and adaptive rate and power transmission policies in the Rician fading channel for M-QAM modulation and \(\upgamma_{\upmu} \left(\upxi \right) = 1.2\) over a the Lagrangian parameter, and b Ergodic channel capacity

Fig. 9.8
figure 8

The constellation size adaptation a according to the signal-to-noise power ratios of secondary-to-primary user for \(Q_{int} = 0dB\), and b with the interference power constraint, for the given signal-to-noise power ratios (10 dB) of secondary-to-primary user for adaptive power and rate transmission policy with \(P_{b} = 10^{ - 2}\), \(10^{ - 4}\), and \(10^{ - 6}\)

9.6 Summary

In this chapter, we have considered a spectrum sharing concept for the cognitive radio system where the secondary user’s transmit power and rate can be adjusted based on the sensing information of the primary user and secondary user, as well as secondary-to-primary user’s fading environment. In addition, the spectrum sharing system operates under the average interference power constraints of the PR. In this context, we have demonstrated the Ergodic capacity of the cognitive radio communication system with power and rate adaptation policy in different fading environments for a chosen BER. Since the Nakagami-m distribution is fit for both the Rayleigh and Rician fading distributions by varying the fading parameter, the Ergodic capacity for both these distributions were presented. The numerically simulated results for the Ergodic capacity were presented for both the adaptive power and adaptive rate and power transmission policies, which revealed that the adaptive power transmission has more capacity than that of the adaptive rate and power transmission policy at the cost of BER. Moreover, we have demonstrated that knowledge of the sensing parameter provides an opportunity to control the secondary user’s transmission parameters, such as rate and power, according to different primary users activity levels observed by the sensing detector. However, the secondary transmitter can adapt different modulation by varying the value of M in M-QAM according to the channel conditions, BER and interference constraints. Further, it was illustrated that the capacity, in the case of Rician fading environment, is lower than that of Rayleigh fading because a LOS component present in the ST to PR has provided a more prominent effect on the capacity of the secondary user in comparison to that present in the ST-to-SR link.