1 Introduction

Recently because of the influx of smartphone and due to digital dividend there has been increased trend for application that demand high data rates. Due to digital dividend and shift in user pattern a lot of under-utilised spectrum is observed typically in VHF and UHF band of electromagnetic spectrum and such sparsely used bands are also known as TV white spaces (TVWS). Cognitive radio (CR) has been considered as a powerful technique to increase the spectral efficiency by enabling unlicensed secondary users to access underutilized spectrum opportunistically. Federal Communication Commission (FCC) in USA and Office Communication (Ofcom) in UK have legalised the usage of TVWS in VHF and UHF part of the spectrum. In USA non-contiguous TVWS are located in frequency range of 54–698 MHz and portion of frequency ranging from 470 MHz to 790 MHz exists in Europe. There are some new standards which involve cognitive radio principle few to mention are wireless metropolitan area network (WMAN) IEEE 802.22 for broadband applications in remote areas, wireless local area network (WLAN) standard known as IEEE 802.11af which uses master and slave architecture and notion of white space database, IEEE 802.15.4m an low data rate short range wireless personal area network (WPAN) system with cognitive radio and a host of other network types shall experience cognitive radio based transformation. Performance of cognitive radio is assessed by the type of detector it uses and the number of sub-bands it can harness and relinquish if the incumbent user reactivates and reclaims its licensed band. A number of detectors has been considered for the implementation in CR transceivers for example energy detector [1, 2], matched filter detector [3, 4], Eigen-value based detector [5, 6], detectors involving cyclostationarity [7] and wavelet-based detection [8] etc.

2 Background Study

The problem of reactivation failure is associated with the non-time-slotted cognitive radio networks (NTS-CRN) where the PU and SU traffic is not synchronised i.e. PU randomly leaves and reclaims its licensed channel. In time-slotted CRN PU and SU traffic is synchronised i.e. SU transmits after its senses that there is no incumbent user present on that band. In non-time-slotted CRN PU may sense the busy channel since it can’t distinguish between PUs traffic and SU traffic and thus goes into back off stage and retransmits with persistent carrier sense multiple access (p-CSMA) which might result in collision and ultimately affect the PU throughput if the SU doesn’t sense the PU reactivation and leave licensed PU sub-channel. For time-slotted CRN we use half-duplex spectrum sensing scheme and medium access control (MAC) protocol. Similarly, for non-time-slotted CRN a novel full-duplex spectrum sensing scheme and a novel cognitive medium access control (CMAC) protocol can be used.

Liang et al. [9] developed seminal expression on sensing-throughput of cognitive radio where he found optimal sensing period which achieves maximum throughput and reference [10] proposes full-duplex spectrum sensing algorithms for non-time-slotted full-duplex cognitive radio. Because of ubiquitous nature of OFDM based communication systems work in [11] focuses on sensing-throughput tradeoff of the OFDM based cognitive radio and the probability of false alarm expression in Nakagami-m and Rician fading channels. Reference [12] studies the interference caused by SU due to missed detection of PU and the extent to which PU is affected in terms of capacity-outage performance under Rayleigh and Nakagami fading channels and suggests beacon placement at transmitter and receiver. Novel and computationally efficient detection algorithm for OFDM based PUs is discussed in [13] where the performance of various detectors in AWGN and Rayleigh fading channels is also assessed. Multi-antenna sensing and Generalized Likelihood Ratio (GLR) detector is investigated when channel gain, noise variance and PU signal values are unknown [14]. Ghassemi et al. [15] proposes peak-to-average-power ratio (PAPR) reduction in non-contiguous OFDM (NC-OFDM) using selected mapping (SLM) sequence which results in out-of-band (OOB) reduction and improved PAPR and bit error rate (BER) for NC-OFDM signals, whereas PAPR reduction in OFDM based CR using clockwise subcarrier activation is presented in [16] and a novel signal cancellation method is proposed in [17] for joint PAPR reduction and sidelobe suppression in NC-OFDM based CR network. Work in [18] deals with cooperative spectrum sensing with energy-detector over multipath fading and shadowing with different fusion strategies and using single and multiple cognitive relays. Work in [19] calculates energy efficiency versus optimal sensing time for CR network. Reference [20] presents the cooperative wideband spectrum sensing over fading channels and models the aliasing effects of sub-Nyquist sampling. Yunfei Chen [21] gave an energy detector with enhanced performance for random signals in Gaussian noise. Energy efficient cognitive radio for joint spectrum sensing and data transmission which uses co-located layer of relays with amplify-and-forward strategy to relay data from source to destination has been proposed in [22].

The remainder of the paper is structured as follows: Sect. 3 explains Full-duplex communication for non-time-slotted cognitive radio and the control model for NTS-CR and TS-CR. It also presents the Full-duplex spectrum sensing algorithm for FDC-CR with which it declares the absence and presence of PU. Section 1 defines the system model for NTS-CR and presents the probability of detection and probability of false alarm used for receiver operating characteristic curve (ROC) to see the detector performance and the throughput for secondary user. Following this Sect. 5 compares the throughput of half-duplex and full-duplex communication cognitive radio. Finally, Sect. 6 contains the numerical results on probability of detection, probability of false alarm, probability of missed detection and throughput of the HDC and FDC cognitive radio.

3 Full-Duplex Communication Non-time Slotted CR

In NTS-CR using FDC-SS we use two antennas for sensing and transmission simultaneously in contrast to TS-CR in which one antenna is used for periodic sensing and transmission. In TS-CR MAC frame is divided into sensing-time and data transmission time. It is a proven fact that PU protection is guaranteed at increased sensing time which reduces the data transmission time, thereby affecting the throughput of SU. In the following section we discuss problem of reactivation failure for NTS-CR network (NTS-CRN).

3.1 NTS-CRN Control Model

In TS-CRN PU traffic and SU traffic is synchronous i.e. SU scans for the availability of under-utilised channel in its fixed sensing duration and quits after it performs data transmission in a fixed transmission time. Figure 2 shows control model of the NTS-CRN where we can see the PU traffic and SU traffic is asynchronous because PU and SU don’t quit and reclaim the channel within fixed time interval. In NTS-CRN we divide transmission period of the SU into P sensing periods for sensing the channel with different antenna.

3.2 Reactivation Failure of NTS-CRN

In NTS-CRN since the PU and SU arrive and quite channel randomly therefore collision may take place if the PU wants to reclaim licensed channel when SU is transmitting. In this scenario PU can’t recognise the traffic of peer PU or SU i.e. whether licensed channel is occupied by peer PU or SU, therefore PU goes in back-off stage and transmits with p-CSMA. If the licensed channel is occupied by SU then collision takes place and PU goes into back-off stage and senses the channel but if the network time is expired PU discards the traffic. PU’s such failure to reclaim its licensed channel is known as reactivation failure. This problem of reactivation failure can be solved with FDC-SS algorithm as shown in Algorithm 1 in which SU senses for the arrival of PU during transmission phase.

Fig. 1
figure 1

Multi-channel cognitive radio network model

Fig. 2
figure 2

Control model for NTS-CR

figure e

3.3 FDC-SS Scheme

Figure 4 shows non-slotted multi-channel cognitive radio network model where PUs use their L licensed sub-channels and M SUs opportunistically contend for the PU licensed sub-channels.

4 FDC-SS System Model

We can write the sampled output of CR employing energy-detector as follows:

$$\begin{aligned} y(n)=\sqrt{k}hs(n)+w(n)\, n=0,1,2,\ldots ,N-1 \end{aligned}$$
(1)

where h is channel gain between PU and SU and has Rayleigh distribution. s(n) is sampled PU signal, w(n) is sampled AWGN with zero mean and variance \(\sigma _w^{2}\) i.e. \(\mathcal {N}\sim (0,\sigma _w^{2})\) and k is self-interference introduced because of the simultaneous sensing and transmission that takes place in NTS-CR. Where \(k=0\) means maximum self-interference is introduced and no self-interference for \(k=1\). The test statistics using FDC-SS at the output of the energy detector of NTS-CR can be given as in Eq. 2.

$$\begin{aligned} T_{N}(y)={\left\{ \begin{array}{ll} \frac{1}{N}\Bigg (\sum _{n=0}^{u}\mid \sqrt{k}hs(n)+w(n) \mid ^{2}+\sum _{n=u+1}^{N}\mid w(n)\mid ^{2}\Bigg ), &{}\text{ if } \,\mathcal {H}_{10}\\ \\ \frac{1}{N}\Bigg (\sum _{n=0}^{v}\mid w(n) \mid ^{2}+\sum _{n=v+1}^{N}\mid \sqrt{k}hs(n)+w(n)\mid ^{2}\Bigg ), &{}\text{ if }\,\mathcal {H}_{01} \end{array}\right. } \end{aligned}$$
(2)

Where hypothesis \(\mathcal {H}_{10}\) means PU is active for first u samples and then becomes inactive for rest of the samples \(n=u+1\) to N. and hypothesis \(\mathcal {H}_{01}\) means the PU was inactive for the first v samples and then became active for rest of the samples \(n=v+1\) to N. N is total number of samples for entire sensing period. Here we consider PU signal s(n) and noise w(n) as circularly symmetric complex Gaussian (CSCG) which represents signals with rich-ISI such as OFDM. For large number of samples N we can invoke central limit theorem (CLT) under hypothesis \(\mathcal {H}_{10}\) and the PDF of the test statistics \(T_{N}{y}\), \(p_{10}(x)\) can be approximated by Gaussian distribution. Thus the \(P_{D}\) and \(P_{FA}\) of NTS-CR respectively can be given mathematically as in Eqs. 3 and 4 respectively.

$$\begin{aligned} \begin{aligned} P_{FA}(\xi ,N,u,k)&=Pr \cdot \Big ({T_{N}(y)>\xi \mid \mathcal {H}_{10}}\Big )=\int _{\xi }^{\infty }p_{10}(x) dx\\&=Q\Bigg (\frac{\frac{\xi }{\sigma _{w}^{2}}-\frac{u}{N}k\gamma _{ps}-1}{\sqrt{\frac{u}{N^{2}}\big (k\gamma _{ps}+1\big )^{2}+\frac{N-u}{N^{2}}}}\Bigg ) \end{aligned} \end{aligned}$$
(3)
$$\begin{aligned} \begin{aligned} P_{D}(\xi ,N,v,k)&=Pr \cdot \Big ({T_{N}(y)>\xi \mid \mathcal {H}_{01}}\Big )=\int _{\xi }^{\infty }p_{01}(x) dx\\&=Q\Bigg (\frac{\frac{\xi }{\sigma _{u}^{2}}-\frac{N-v}{N}k\gamma _{ps}-1}{\sqrt{\frac{N-v}{N^{2}}\big (k\gamma _{ps}+1\big )^{2}+\frac{v}{N^{2}}}}\Bigg ) \end{aligned} \end{aligned}$$
(4)

where \(\xi\) is the threshold of the energy detector employed at the receiver. Now we can set \(u=0,v=0\) and \(k=1\) in above equations and we can obtain \(P_{FA}(\xi ,N,u,k)\) and \(P_{D}(\xi ,N,v,k)\) for TS-CR as follows:

$$\begin{aligned} P_{FA}(\xi ,N,u,k)= & {} Q\Bigg (\Big (\frac{\xi }{\sigma _{w}^{2}}-1 \Big )\sqrt{N}\Bigg ) \end{aligned}$$
(5)
$$\begin{aligned} P_{D}(\xi ,N,v,k)= & {} \Bigg (\bigg (\frac{\xi }{\sigma _{w}^2}-\gamma _{ps}-1\bigg )\frac{\sqrt{N}}{\gamma _{ps}+1}\Bigg ) \end{aligned}$$
(6)

From above two equations we can see that the \(P_{FA}\) and \(P_{D}\) for TS-CR are special case of NTS-CR. For a given \({\bar{P}}_D\), \(P_{FA}\) relates to \(P_D\) and for a given \({\bar{P}}_{FA}\),\(P_D\) relates to \(P_{FA}\) respectively as follows [9]:

$$\begin{aligned} P_{FA}= & {} Q\Bigg (\sqrt{2\gamma +1}Q^{-1}\big ({\bar{P}}_D\big )+\sqrt{\tau f_s}\gamma \Bigg ) \end{aligned}$$
(7)
$$\begin{aligned} P_D= & {} Q\Bigg (\frac{1}{\sqrt{2\gamma +1}}\bigg (Q^{-1}\big ({\bar{P}}_{FA}\big )-\sqrt{\tau f_s}\gamma \bigg )\Bigg ) \end{aligned}$$
(8)

Similarly, for given \(({\bar{P}}_D,\bar{P}_{FA})\), the minimum number of samples are given by:

$$\begin{aligned} N_{min}=\frac{1}{2}\bigg [Q^{-1}({\bar{P}}_{FA})-Q^{-1}({\bar{P}}_D)\sqrt{2\gamma +1}\bigg ]^2 \end{aligned}$$
(9)

5 HDC-SS and FDC-SS Sensing-Throughput Comparison

HDC-SS involves MAC frame with duration T which consists of sensing time \(\tau\) and data transmission time \((T-\tau )\). Whereas FDC-SS involves sensing and data transmission time equal to entire frame duration T with collocated antennas used for spectrum sensing and data transmission respectively. There are two scenarios for which SU can operate in PU’s licensed band:

  • Scenario I When PU is not present and no false alarm is generated by SU

  • Scenario II When PU is present but it’s not detected by SU.

In both scenarios the achievable throughputs of the SU link are \(\Big (\frac{T-\tau }{T}\Big )\log _2\Big (1+P_s\big /N_0\Big )\) and \(\Big (\frac{T-\tau }{T}\Big )\log _2\Big (1+P_s\big /P_o+N_0\Big )\)respectively. Where \(P_s\) = received power of SU, \(P_p\) = PU power as an interference to SU and \(N_0\) is the noise power. The probability of occurrence of scenario I and scenario II are \(\Big (1-P_{FA}(\xi ,N,u,k)\Big )P(\mathcal {H}_0)\) and \(\Big (1-P_{D}(\xi ,N,v,k)\Big )P(\mathcal {H}_1)\). Let us say if:

$$\begin{aligned} R_0(\xi ,N, u,k)= & {} \bigg (\frac{T-\tau }{T}\bigg )\log _2\bigg (1+SNR_s\bigg )\nonumber \\& \times \bigg (1-P_{FA}(\xi ,N,u,k)\bigg )P(\mathcal {H}_0) \end{aligned}$$
(10)
$$\begin{aligned} R_1(\xi ,N,v,k)= & {} \bigg (\frac{T-\tau }{T}\bigg )\log _2\bigg (1+\frac{SNR_s}{SNR_p}\bigg )\nonumber \\& \times \bigg (1-P_D(\xi ,N,v,k)\bigg )P(\mathcal {H}_1) \end{aligned}$$
(11)

Then the average throughput of the SU is:

$$\begin{aligned} R=R_0(\xi ,N,u,k)+R_1(\xi ,N,v,k) \end{aligned}$$
(12)

Now for HDC-SS longer the sensing time \(\tau\), shorter is the data transmission time \(T-\tau\) which results in less throughput for SU. Similarly for FDC-SS let us assume that there is no self-interference and SU operates over entire frame duration T. Following the same steps we can derive average throughout for NTS-CR with HDC-SS. Now average throughput of the TS-CR and NTS-CR with HDC-SS and FDC-SS respectively is as follows:

$$\begin{aligned}&R_0(\xi ,N,u,k)+R_1(\xi ,N,v,k)<R_0^{F}(\xi ,N,u,k)+R_1^{F}(\xi ,N,v,k) \end{aligned}$$
(13)
$$\begin{aligned}&\bigg (\frac{T-\tau }{T}\bigg )\Bigg \{\log _2\bigg (1+SNR_s\bigg )\bigg (1-P_{FA}(\xi ,N,u,k)\bigg )P(\mathcal {H}_0)+\log _2\bigg (1+\frac{SNR_s}{1+SNR_p}\bigg )\bigg (1-P_D(\xi ,N,v,k)\bigg )P(\mathcal {H}_1)\Bigg \}\nonumber \\&\quad < \log _2\bigg (1+SNR_s\bigg )\bigg (1-P_{FA}(\xi ,N,u,k)\bigg )P(\mathcal {H}_0)+\log _2\bigg (1+\frac{SNR_s}{1+SNR_p}\bigg )\bigg (1-P_D(\xi ,N,v,k)\bigg )P(\mathcal {H}_1) \end{aligned}$$
(14)

From Eq. (13) it is clear that the average throughput of NTS-CR employing FDC-SS is greater than the throughput of the TS-CR employing HDC-SS.

6 Numerical Results and Discussion

Figure 3 shows the probability of detection versus energy-detection threshold for the for NTS-CR without self-interference i.e. \(k=1\). We can see that the probability of detection decreases as the threshold increases. It also decreases with the increase in number of samples for which PU is initially absent i.e from \(v=500\) to \(v=1500\). Figure 4 shows the probability of missed detection versus threshold for NTS-CR with no self-interference. We can see the probability of missed detection increases with the increase in threshold \(\epsilon\). It also increases with the increase in number of samples assigned to PU for which initially remains inactive.

Fig. 3
figure 3

Probability of detection versus threshold of TS-CR with HDC-SS and NTS-CR with FDC-SS without self-interference

Fig. 4
figure 4

Probability of missed detection versus threshold of TC-CR with HDC-SS and NTS-CR with FDC-SS without self-interference

Figure 5 shows the probability of detection of TS-CR and NTS-CR with HDC-SS and FDC-SS spectrum sensing scheme. Here we consider the effect of self-interference and compare the probability of detection with self-interference and without self-interference. We can see the \(P_D\) for TS-CR outperforms all the cases of NTS-CR because the PU exists for some samples. Moreover, the \(P_D\) decreases as the energy-detector threshold increases, it also decreases for NTS-CR with the self-interference and without self-interference. However, the \(P_D\) without self-interference is higher than the \(P_D\) with self-interference, but the performance gap is very small. Similarly, Fig. 6 shows the probability of missed detection which increases with the increase in energy-detection threshold. It also increases with the increase in number of initial sample values for which PU remains inactive. The probability of missed detection also increases with the increase in self-interference k. There is small performance gap between probability of missed detection with self-interference and without self-interference, but there is significant difference in probability of missed detection for TS-CR and the probability of missed detection when the number of initial samples for which PU is inactive increase to \(v=1500\). For example at energy-detection threshold of \(\xi =1\) the probability of missed detection is 0.2 which increases to \(P_{MD}\) value of 0.55 for PU which remains inactive for initial sample values of \(v=1500\). We summarise different values of \(P_{D}\), \(P_{MD}\) and \(P_{FA}\) in the following Table 1. Note that we calculate the \(P_{FA}\) when he PU is active initially for u samples and then leave the channel for rest of the sample values (Tables 1, 2).

Table 1 \(P_{D}\), \(P_{MD}\) and \(P_{FA}\) values for non-time slotted CRN with self-interference and without self-interference
Fig. 5
figure 5

Probability of detection versus threshold of TS-CR with HDC-SS and NTS-CR with FDC-CR with and without interference

Fig. 6
figure 6

Probability of missed detection versus threshold of TS-CR with HDC-SS and NTS-CR with FDC-SS with and without interference

Figures 7 and 8 on probability of false alarm follows our intuition developed after our earlier discussions on \(P_D\) and \(P_{MD}\) with and without self-interference for TS-CR and NTS-CR. We can see the probability of false alarm of TS-CR is less when the PU is initially active for \(u=500\) to \(u=1500\) samples and later subsides and leaves the channel empty. This is also true for the \(P_{FA}\) values with self-interference and without self-interference. For fixed sample values let us say \(u=500\) the \(P_{FA}\) with interference is little higher than the \(P_{FA}\) without self-interference i.e. \(k=0.9\), however the performance gap is very small (Fig. 9). We can expect more degradation in \(P_{FA}\) when the self-interference factor is reduced from \(k=0.9\) to \(k=0.1\) where sever interference can be expected. Figure 10 shows the statistical attestation of the throughput of NTS-CR which uses FDC-SS is greater than the throughput of TS-CR at different vales of SNRs.

Fig. 7
figure 7

Probability of false alarm versus threshold of TS-CR with HDC-SS and NTS-CR with FDC-SS without self-interference

Fig. 8
figure 8

Probability of false alarm versus threshold of TS-CR with HDC-SS and NTS-CR with FDC-SS with and without interference

Fig. 9
figure 9

Throughput versus sensing time of TS-CR with HDC-SS and NTS-CR with FDC-SS at SNR values of −2 and \(-4\) dB respectively

Fig. 10
figure 10

Bar graph of throughput versus sensing time for TS-CR with HDC-SS and NTS-CR with FDC-SS at SNR values of −2 and −4 dB respectively

Table 2 Throughput of TS-CR with HDC-SS and NTS-CR with FDC-SS at SNR values of −2 dB

7 Conclusion

Cognitive Radio revolves around two basic and important QoS indicators which is increased throughput yield for SU and maximum protection to PU. Half-duplex communication cognitive radio which first senses and then according to sensing statistics performs data transmission. This shall reduce data transmission time for half-duplex communication cognitive radio at low SNR regimes which means throughput compromise for SU. We have seen that Full-duplex communication cognitive radio with full-duplex spectrum sensing outperforms half-duplex with half-duplex spectrum sensing schemes. We have calculated the \(P_{D}\),\(P_{FA}\), \(P_D\) and throughput of the TS-CR and the NTS-CR with half and full duplex spectrum sensing. It has been proved that full-duplex cognitive radio yields more throughout than the half-duplex spectrum. We obtain approximately \(5.9\%\) increase for NTS-CR with FDC-SS at sensing time of 6 ms. Similarly, \(10\%\) of increase in throughput at sensing time of 10 ms has been observed for NTS-CR with FDC-SS for SNR values of −2 dB.