Shuiping Ni* , Huigang Chang** and Yuping Xu**Adaptive Cooperative Spectrum Sensing Based on SNR Estimation in Cognitive Radio NetworksAbstract: Single-user spectrum sensing is susceptible to multipath effects, shadow effects, hidden terminals and other unfavorable factors, leading to misjudgment of perceived results. In order to increase the detection accuracy and reduce spectrum sensing cost, we propose an adaptive cooperative sensing strategy based on an estimated signal-to-noise ratio (SNR). Which can adaptive select different sensing strategy during the local sensing phase. When the estimated SNR is higher than the selection threshold, adaptive double threshold energy detector (ED) is implemented, otherwise cyclostationary feature detector is performed. Due to the fact that only a better sensing strategy is implemented in a period, the detection accuracy is improved under the condition of low SNR with low complexity. The local sensing node transmits the perceived results through the control channel to the fusion center (FC), and uses voting rule to make the hard decision. Thus the transmission bandwidth is effectively saved. Simulation results show that the proposed scheme can effectively improve the system detection probability, shorten the average sensing time, and has better robustness without largely increasing the costs of sensing system. Keywords: Adaptive Spectrum Sensing , Cognitive Radio , Detection Time , Fusion Center , SNR Estimation , Voting Rule 1. IntroductionSpectrum is a valuable natural resource for wireless communications. However, the static spectrum allocation policy only allows primary users (PUs) to access the licensed frequency band for data transmission, which makes low spectrum utilization. Wireless communication technology is developing very rapidly, which made spectrum resources more and more tense. Cognitive radio (CR) serving as an effective technology to improve spectrum utilization efficiency, the secondary user has opportunity to get access to the spectrum holes (SH) to realize the sharing of spectrum resources by sensing the surrounding wireless environment [1,2]. The detection probability (PD) of the SH must be improved to avoid affecting the normal communication of the PUs and to make full use of the spectrums. While the false alarm probability (PFA) must be reduced as much as possible to take full advantage of spectrum holes. Spectrum sensing is the core technology of CR, which required to detect the spectrum holes in a short time. In IEEE802.22 standards, the detection probability of cognitive users should be more than 90%, the PFA is less than 10%, the sensing time is not more than 2 seconds so as to ensure that the spectrum resources are fully utilized without affecting the normal communication of PUs [3]. Single user spectrum sensing often cannot achieve good performance, accordingly cooperative spectrum sensing is proposed which detects the licensed spectrum occupied or not through mutual cooperation by sensing node. It mainly includes local spectrum sensing and data fusion. That is, if we want to improve the cooperative detection performance, we should study from these two aspects: one is to improve the local detection probability and another is to use a better fusion rule. At present, the typical local spectrum sensing algorithms mainly includes energy detector (ED), cyclostationary feature detector and matched filter detector [4]. ED is widely used for coarse sensing because no prior information is needed and has low complexity. However, there are some disadvantages under low signal-to-noise ratio (SNR) conditions, such as poor robustness and inability to distinguish between primary signal and noise. Although the matched filter detector can maximize the SNR and achieve better detection performance. However, it is necessary to design a dedicated receiver which requires the Pus’ prior information and it is difficult to implementing in the complex wireless environment. Cyclostationary feature detector has better anti-interference capacity and has a higher detection performance when SNR is low. However, it has higher computational complexity and much longer sensing time. Above all, in [5], the authors proposed a cooperative sensing method based on double threshold ED, which applied double threshold ED in the local nodes, and used the hard decision rule made the final judgement in the fusion center (FC). However, under low SNR, the detection performance is not ideal. In the document [6], authors proposed two-stage spectrum sensing method where first stage adopted the single threshold energy detection, If the detection result proved to be SH, the second stage involved in cyclostationary feature detection, then the final decision was made. Although in such way the detection probability of local sensor can be improved, but each sensing period need to go through sensing twice, therefore it increases the sensing time. The different spectrum sensing strategies are selected in this paper by estimating the SNR. Which only one of the detection techniques operates in one cycle, thus making detection less redundant. The local results of CRs are transmitted to the FC by 1-bit information, and make the final decision through voting rule. When the decision statistic of the CRs for adaptive double threshold ED falls into the uncertain region where between the high and low threshold, the sensing information is not sent. Thus, it is not only preventing the interferences from the invalid users, but also saves the transmission bandwidth. When more than half of the participants in the FC determine the PU signal exists, then the fusion center determines the existence of PU signals, otherwise the PU signal does not exist [7]. The rest contents of this paper are arranged as follows. In Section 2, we introduce the system model of cooperative spectrum sensing. Section 3 describe the proposed scheme. Section 4 analyze the system performance. We provide simulation results to demonstrate the performance in Section 5. Finally, conclusions are drawn in Section 6. 2. Adaptive Cooperative Sensing System Model2.1 System ModelThe cooperative sensing system model is shown in Fig. 1, assuming that it includes 1 PU, a data FC, and N cognitive users which choose perform adaptive double threshold ED or cyclostationary feature detection according to the estimated SNR. First, each CR performs their own local spectrum sensing independently, then sends the sensing results to FC through control channel with the form of 1-bit information, if the PU signal is present, the result is 1, otherwise 0 is transmitted. Finally, the FC judges whether the PU is present or not according to local decision results, then the FC feedbacks the final decision results to CRs [8]. 2.2 Cooperative Sensing Mathematical ModelUsing the following hypothesis model to describe the signal detection problem of the ith CRs [9,10]:
(1)[TeX:] $$y_{i}(n)=\left\{\begin{array}{ll}{w(n)} \\ {h_{s}(n)+w_{i}(n)} & {n=1, \ldots, \mathrm{M}} & {\left(H_{1}\right)}\end{array}\right.$$where i=1,2,... N, N represents the number of cognitive users. yi(n) is the detected signal at the ith cognitive users and si(n) represents the PU signal. Moreover, wi(n) is the AWGN with zero mean and variance of [TeX:] $$\sigma_{w}^{2}, \mathrm{v}$$, which is recorded as [TeX:] $$w_{i}(n) \sim \mathrm{N}\left(0, \sigma_{w}^{2}\right)$$, hi, M signify the sensing channel gain and the number of sample respectively. H0 indicates that the authorized channel is idle, and H1 indicates that the authorized channel is occupied. 3. Adaptive Spectrum Sensing Methods3.1 SNR EstimationSNR estimation is used to measure the signal-to-noise ratio in the channel, which is an important parameter that reflect the state of the channel. In this paper, each cognitive user according to the estimated SNR of the received signal selects one of the spectrum sensing methods from cyclostationary feature detection and adaptive double threshold ED. This is different from the methods of used single double-threshold energy sensing in the document [5] and the double sensing in one perceptual cycle in the document [6]. Under the low SNR, therefore, the cyclostationary feature detection method is used to make up for the disadvantage of poor detection performance by energy detection. The ith cognitive user estimates the received signals’ SNR and the mathematical formula to calculate estimated SNR value (ESNR ) can be written as [11]:
(2)[TeX:] $$E_{S N R}=\frac{P_{s}}{P_{w}}=\frac{\frac{1}{\mathrm{M}} \sum_{n=1}^{\mathrm{M}}\left|y_{i}(n)\right|^{2}}{\frac{1}{\mathrm{M}} \sum_{n=1}^{\mathrm{M}}\left|w_{i}(n)\right|^{2}}$$where M represents the number of samples. Then converts the result obtained from (2) to the form of SNR Si in decibels (dB):
Replay (2) into (3) can be simplified as
(4)[TeX:] $$S_{i}=E_{S N R} | \mathrm{d} \mathrm{B}=10 \times \lg \left[\frac{\sum_{n=1}^{\mathrm{M}}\left|y_{i}(n)\right|^{2}}{\sum_{n=1}^{\mathrm{M}}\left|w_{i}(n)\right|^{2}}\right]$$The estimated SNR Si is compared with the selection threshold . If [TeX:] $$S_{i} \geq \gamma$$, performed the adaptive double threshold ED to obtain faster speeds and lower degree of computational complexity. Otherwise cyclostationary feature detection will be performed to increase detection accuracy when SNR is low [12]. According to experience, the value of is equal to the SNR that can achieve higher detection probability when energy detection is used. 3.2 Adaptive Double Threshold EDThe decision statistic of ED is X, then it compared with the two thresholds to determine if the PU signal is present. Thereby making the final decision.
The detection probability is Pd and the false alarm probability is Pf for energy detection are calculated as follows [13]:
(6)[TeX:] $$P_{f}=P\left\{\mathrm{X}>\lambda | H_{o}\right\}=Q\left(\frac{\lambda-\mathrm{M} \delta_{w}^{2}}{\sqrt{2 \mathrm{M} \delta_{w}^{4}}}\right)$$
(7)[TeX:] $$P_{d}=P\left\{\mathrm{X}>\lambda | H_{I}\right\}=Q\left(\frac{\lambda-\mathrm{M}\left(\delta_{s}^{2}+\delta_{w}^{2}\right)}{\sqrt{2 \mathrm{M}\left(\delta_{s}^{2}+\delta_{w}^{2}\right)^{2}}}\right)$$where [TeX:] $$Q(x)=\frac{1}{\sqrt{2 \pi}} \int_{x}^{\infty} e^{-t^{2} / 2}$$dt denotes Q-function, [TeX:] $$\delta_{w}^{2} \text { and } \delta_{s}^{2}$$ are representing the noise variance and signal variance, respectively. The target false alarm probability is [TeX:] $$\overline{P_{f}}$$. From formula (6) the threshold can be given by
(8)[TeX:] $$\lambda=Q^{-1}\left(\overline{\mathrm{P}_{f}}\right) \times \sqrt{2 \mathrm{M} \delta_{w}^{4}}+\mathrm{M} \delta_{w}^{2}$$where is a design of single threshold. Due to the influence of changes in the surrounding wireless environment, single-threshold energy detection may lead to misjudgment, which has greater limitations. Therefore, high and low thresholds are set based on the uncertainty of the noise and determined by the maximum and minimum noise variance. In the wireless network environment, defined the noise uncertainty is belonged to [TeX:] $$\left[\delta_{w}^{2} / \rho, \rho \delta_{w}^{2}\right]$$ , where [TeX:] $$\rho=E_{S N R}$$ represents the quantified uncertainty parameters and [TeX:] $$\rho \geq 1$$, referring to the constant false alarm detection theory, the upper threshold H and lower threshold L can be given by
(9)[TeX:] $$\begin{array}{l}{\lambda_{\mathrm{H}}=Q^{-1}\left(\overline{\mathrm{P}_{f}}\right) \times \sqrt{2 \mathrm{M} \rho \delta_{w}^{4}}+\mathrm{M} \rho \delta_{w}^{2}} \\ {\lambda_{\mathrm{L}}=Q^{-1}\left(\overline{\mathrm{P}_{f}}\right) \times \sqrt{2 \mathrm{M} \delta_{w}^{4} / \rho}+\mathrm{M} \delta_{w}^{2} / \rho}\end{array}$$The decision statistic is compared with H and L, when [TeX:] $$\mathrm{x} \leq \lambda_{\mathrm{L}}$$, it means that the PU is not present, then the decision is H0, and the binary information 0 is sent to the FC. If [TeX:] $$\mathrm{X} \geq \lambda_{\mathrm{H}}$$, it presents the PU exists, then judged as H1, and the binary information 1 is sent to the FC. If [TeX:] $$\lambda_{\mathrm{L}}<\mathrm{X}<\lambda_{\mathrm{H}}$$, he fusion decision information is not sent. 3.3 Cyclostationary Feature Detection3.3.1 Algorithm flowThe PU signal transmitted in the channel is modulated and encoded such that its mean and autocorrelation functions are periodically change with the cyclical stability characteristics. While noise due to its randomness does not include this feature. Therefore, by analyzing the cyclic correlation function of the detection signal, these characteristics can be detected, so that the signal and noise can be distinguished to realize the perception of the PU signal. The block diagram of cyclostationary feature detection is shown Fig. 4. First, the cyclic autocorrelation function (CAF) of the sampled signal can be formulated as [14]:
(10)[TeX:] $$R_{y}^{a}(k)=\lim _{\mathrm{M} \rightarrow \infty} \frac{1}{2 \mathrm{M}+1} \sum_{n=-\mathrm{M}}^{\mathrm{M}}\left[y(n+k) e^{-j \pi a(n+k)}\right] *\left[y(n) e^{-j \pi \omega n}\right]$$where a is the introduced cyclic frequency (CF), and the spectral correlation function (SCF) can be obtained by the following formula through fast Fourier transform (FFT) [15].
where [TeX:] $$S_{y}^{a}(f)$$ is a two-dimensional function of frequency and cycle frequency, which can also called cyclostationary spectral density (CSD). Under certain conditions, the PU signal can be determined according to the value of CSD. 3.3.2 Cyclostationary decision ruleAs the noise does not have the characteristics of cyclical stability, the energy of the noise is mainly concentrated on the zero cycle frequency, i.e., when the cyclic frequency = 0, the cyclic spectral density function has a larger value. However, when the cyclic frequency [TeX:] $$\alpha \neq 0$$, the value of the density function of the noise is very small or even close to zero, i.e., [TeX:] $$S_{y}^{a}(f) \approx 0$$, while the cyclic spectrum of PU signals will have a large peak. By searching for the peak value of the signal cycle spectrum when the cyclic frequency is non-zero determined whether the signal exists. After simplification, the decision rule can be determined as
(12)[TeX:] $$S_{y}^{a}(f)=\left\{\begin{array}{ll}{S_{s}^{a}(f)} & {H_{1}} \\ {0} & {H_{0}}\end{array}(\alpha \neq 0)\right.$$where [TeX:] $$S_{s}^{a}(f)$$ is the cyclic spectral density function of the authorized modulation signal, let Y represent [TeX:] $$S_{y}^{a}(f)$$ and the decision threshold be c. When [TeX:] $$Y>\lambda_{c}$$, the PU signal is present (H1), and when [TeX:] $$Y \leq \lambda_{c}$$, the PU signal is absent (H0), then sends hard decision information to the FC. The detection probability and false alarm probability of cyclostationary feature detection are expressed as
(13)[TeX:] $$P_{d i}^{C}=P\left(Y>\lambda_{c} | H_{1}\right), P_{f i}^{C}=P\left(Y>\lambda_{c} | H_{0}\right)$$Cyclostationary feature detection can take full advantage of the cyclical stationary characteristics of the signal and is not susceptible to the uncertainty of noise. Therefore, it has a better robustness when the SNR is low. However, due to its high complexity and long running time, it is often used in the case of poor channel environment. 4. System Performance Analysis and Fusion Criteria4.1 Performance AnalysisThe cognitive user due to the different environment in the network, so the SNR estimation is uncertain. According to the different estimated SNR, there may be two detection methods which are adaptive double threshold ED and cyclization detection. The PD and the PFA of the local sensing node can be expressed as
(14)[TeX:] $$\begin{aligned} \mathrm{P}_{d i} &=\mathrm{P}\left(S_{i} \geq \gamma\right) P_{d i}^{E}+\mathrm{P}\left(S_{i}<\gamma\right) P_{d i}^{C} \\ &=\mathrm{P}\left(S_{i} \geq \gamma\right) P\left(\mathrm{X}>\lambda_{H} | H_{1}\right)+\mathrm{P}\left(S_{i}<\gamma\right) P\left(Y>\lambda_{c} | H_{1}\right) \end{aligned}$$
(15)[TeX:] $$\begin{aligned} \mathrm{P}_{f i} &=\mathrm{P}\left(S_{i} \geq \gamma\right) P_{f i}^{E}+\mathrm{P}\left(S_{i}<\gamma\right) P_{f i}^{C} \\ &=\mathrm{P}\left(S_{i} \geq \gamma\right) P\left(\mathrm{X}>\lambda_{H} | H_{0}\right)+\mathrm{P}\left(S_{i}<\gamma\right) P\left(Y>\lambda_{c} | H_{0}\right) \end{aligned}$$where [TeX:] $$\mathrm{P}_{f_{f}}^{E} \text { and } \mathrm{P}_{d i}^{E}$$ are represent the PFA and PD of adaptive double threshold ED respectively, [TeX:] $$\mathrm{P}\left(S_{i} \geq \gamma\right)$$ and [TeX:] $$\mathrm{P}\left(S_{i}<\gamma\right)$$ are the probability of selecting the adaptive double threshold ED and the cyclostationary feature detection, respectively, [TeX:] $$\mathrm{P}\left(S_{i} \geq \gamma\right)+\mathrm{P}\left(S_{i}<\gamma\right)=1$$. By adjusting the value of the selected threshold, the probability of selecting different detectors is changed to obtain a better balance between sensing time and sensing performance. The mean detection time of the system is
(16)[TeX:] $$\mathrm{T}_{i}=\mathrm{P}\left(S_{i} \geq \gamma\right) \mathrm{T}_{E}+\mathrm{P}\left(S_{i}<\gamma\right) \mathrm{T}_{C}$$where TE and TC are the time for adaptive double threshold ED and cyclostationary feature detection operation, respectively. 4.2 Fusion RuleThe FC adopts the voting rule to get the final decision according to the sensing results of the CRs. Assuming that [TeX:] $$\eta(\eta \leq \mathrm{N})$$ users among the N sensing participators send 1-bit information [TeX:] $$\left(D_{1}, D_{2} \cdots \cdots, D_{\eta}\right)$$ to the FC. [TeX:] $$D_{\eta}$$ indicates whether the PU signals exists among the N CRs who are involved in cooperative sensing. The expression is as follows
(17)[TeX:] $$D_{i}=\left\{\begin{array}{ll}{0} & {H_{0} : \mathrm{PU} \text { absent }} \\ {1} & {H_{1} : \text { PU present }}\end{array}\right.$$After fusion there is a total of [TeX:] $$\sum_{i}^{n} D_{i}$$ CRs which determine the existence of the PU signal. According to the paper [7], the voting rule is adopted in the fusion of information so as to minimize the total error probability. Let K=η/2, only more than half of the participants believe that the PU signal exists, the fusion center finally determines the PU signals exists and feedbacks the results to CRs, otherwise it is judged that the PU is absent. For [TeX:] $$Q=\sum_{i}^{\eta} D_{i}$$, the final decision rule of the FC is given by the expression
(18)[TeX:] $$\left\{\begin{array}{l}{H_{0} :\mathcal{Q}<\mathrm{K}} \\ {H_{1} : \mathcal{Q} \geq \mathrm{K}}\end{array}\right.$$The total detection probability and PFA of the proposed scheme is given by [16]:
(19)[TeX:] $$\mathcal{Q}_{d}=\mathrm{P}\left\{\mathrm{H}_{1} | H_{1}\right\}=\sum_{l=\mathrm{K}}^{\eta}\left(\begin{array}{l}{\eta} \\ {l}\end{array}\right) P_{d i}^{l}\left(1-P_{d i}\right)^{\eta-l}$$
(20)[TeX:] $$\mathcal{Q}_{f}=\mathrm{P}\left\{\mathrm{H}_{1}| | H_{0}\right\}=\sum_{l=\mathrm{K}}^{\eta}\left(\begin{array}{l}{\eta} \\ {l}\end{array}\right) P_{f i}^{l}\left(1-P_{f i}\right)^{\eta-l}$$The total error probability ([TeX:] $$\mathcal{Q}_{e}$$) can be expressed as the sum of PFA and missed probability, which can be expressed by the following formula:
(21)[TeX:] $$\mathcal{Q}_{e}=\mathcal{Q}_{f}+\mathcal{Q}_{m}=\mathcal{Q}_{f}+\left(1-\mathcal{Q}_{d}\right)$$where [TeX:] $$\mathcal{Q}_{m}$$ is the missing probability of cooperative spectrum sensing. 5. Simulations and Performance AnalysisIn order to verify the effectiveness and feasibility of the proposed scheme, implemented simulations and compared with the double threshold energy detection [5] and the two step sensing method [6]. Applied Monte Carlo method for experimentation and the parameters of simulations are defined in Table 1. Table 1.
Assuming that the signal of the PU adopts BPSK modulation, and the number of CRs is N = 11, the sampling number M is equal to 1024 points, carrier frequency fc = 5 MHz, symbol rate fd = 2M bps, and the number of simulation count is equal to 3,000. In the simulation experiment, the SNR range is [-20, 5], set the adaptive cooperative sensing selection threshold =-10dB. This is because as the SNR increases, the PD increases gradually. When the SNR is larger than -10 dB, the adaptive double threshold ED can achieve better detection effect. The receiver operation characteristic (ROC) curves of the three detectors are depicted in Figs. 5 and 6 when Pf is 0.05 and 0.005, respectively. From the figures we know that with the PFA increases, the PD increases under low SNR, the PD of double-threshold ED is the lowest which means that it is easy to cause misjudgment. With SNR changes, the PD of the proposed scheme is higher than the other two methods. Especially when SNR is -20 dB, the PD of the proposed scheme is about three times the double threshold ED, and more than 20% higher than the two-step detector. This is because the proposed scheme can adopt the cyclostationary feature detection which has strong robustness under low SNR, and perform the adaptive double threshold ED when the SNR is higher, so it has a higher degree of PD. The proposed scheme can select a better sensing strategy which makes the system more robust and reduces the system costs, and this solution is ideal for cooperative spectrum sensing systems. Therefore, the proposed scheme can adapt to the complex and volatile wireless environment, improve the system detection performance, and comes to achieve intelligent detection. Fig. 7 shows the relationship between the PFA and the PD of the three schemes when SNR is -18 dB. The figure shows that when the PFA is fixed, the PD of the proposed detection scheme is higher than the double threshold ED and the two-step spectrum detection. When Pf=0.1, the Pd is approximately equal to 0.9, which is about two times the double threshold ED. Under the same PD, the proposed scheme has a smaller PFA compared with the other two methods, also exhibits good detection characteristics under low SNR conditions. Fig. 8 shows the total error probability of the proposed scheme ROC curves when the number of CRs is 3, 5, and 9, respectively and Pf=0.005. From the figure we can see, with the increase of SNR, the total error probability will gradually decrease or even reach to 0. It shows that the level of SNR has a big influence on the detection accuracy. And as the number of cooperating users increases, the total error rate of the proposed scheme decreases. Fig. 9 shows the mean detection time versus SNR when Pf equal to 0.05. We know that there is an inverse relationship between mean detection time and SNR of the three detection measures, i.e., as SNR increases, the mean detection time decreases. The mean detection time of proposed scheme is shorter than two-step spectrum detection, which is consistent with the theoretical expectation. This is due to the two-step spectrum sensing in a detecting cycle involves two detectors which are energy detection and cyclostationary feature detection, so it takes a longer. However, the proposed scheme can adaptively adjust the sensing strategy according to the change of estimated SNR. When the average SNR is low, the mean sensing time is longer because the probability of performing cyclostationary detection is high. However, as the SNR increases, it tends to employ the adaptive double threshold ED, the mean detection time decreases, and even the detection speed is similar to that of double-threshold ED. 6. ConclusionThe paper puts up with a novel cooperative spectrum sensing scheme where local CRs employ different sensing strategy according to the SNR estimation. When the SNR estimated by the cognitive user is higher than the threshold value, the adaptive double threshold ED is adopted, otherwise the cyclostationary detection is employed, thereby reducing system-aware complexity redundancy. The results of the local decision are transmitted to FC in the form of 1-bit. The FC adopts voting rule to make the final decision whether the PUs exists according to the number of cognitive users which involved in the data fusion. It can effectively reduce the interference of invalid cognitive users and save the transmission bandwidth. The simulation results show that the proposed scheme can improve the detection performance effectively and reduce the mean detection time. BiographyShuiping Nihttps://orcid.org/0000-0003-0524-367XHe received M.S. and Ph.D. degrees in School of Electronic Engineering from Beijing University of Posts and Telecommunications in 2004 and 2017, respectively. And He is currently an associate professor at the School of Computer Science and Technology, Henan Polytechnic University. His current research interests include wireless communication and embedded system. BiographyBiographyReferences
|