 Research
 Open Access
 Published:
Time domain averaging and correlationbased improved spectrum sensing method for cognitive radio
EURASIP Journal on Advances in Signal Processing volume 2014, Article number: 46 (2014)
Abstract
Based on the combination of time domain averaging and correlation, we propose an effective time domain averaging and correlationbased spectrum sensing (TDACSS) method used in very low signaltonoise ratio (SNR) environments. With the assumption that the received signals from the primary users are deterministic, the proposed TDACSS method processes the received samples by a time averaging operation to improve the SNR. Correlation operation is then performed with a correlation matrix to determine the existence of the primary signal in the received samples. The TDACSS method does not need any prior information on the received samples and the associated noise power to achieve improved sensing performance. Simulation results are presented to show the effectiveness of the proposed TDACSS method.
1 Introduction
Cognitive radio (CR) networks allow unlicensed (or secondary) users to opportunistically exploit the underutilized spectrum bandwidth of the licensed (or primary) users. Spectrum sensing is a key operation performed by the CR networks to determine the spectrum holes of the spectrum allocated to a primary user. In the literature, several kinds of typical spectrum sensing methods have been reported, including energy detection methods [1, 2], matched filter detection methods [3, 4], and cyclostationarity feature detection methods [5]. The energy detection methods need the prior knowledge of noise power and are vulnerable to the noise uncertainty. The matched filter detection methods need to know the waveform of the primary user in advance. The methods of cyclostationarity feature detection require the information on the cyclic frequencies of the primary user. The prior knowledge requirements of these methods often limit their realistic applicability. To avoid these undesirable requirements, some new statistical covariancebased methods for spectrum sensing in additive i.i.d white noise environments have been proposed [68]. These reported methods do not need the prior information about the signal and the noise power to achieve a sensing performance in a low signaltonoise ratio (SNR) environment of 22 dB. However, these methods assume that the primary user’s signal is a stationary random process and that all the received data samples contain the primary user’s signal if it exists. In fact, most existing spectrum sensing methods require the last assumption. In fact, it is very possible that only a part of the received samples in practice contain the signal from the primary user or a part of or all the received samples are from some signals that are not stationary. For example, the initial transient signal, known as fingerprint of a wireless device [6], from the primary user is not stationary. If such samples are used, the methods reported in [7–9] will lose the supporting prerequisite and become unusable. Even in the cases that these required assumptions are valid, it is difficult for the methods in [7–9] to obtain the theoretical sensing performance in lower SNR environments when the number of the received samples available is limited.
To overcome these problems and support more effective sensing in low SNR environments, we propose an effective time domain averaging and correlationbased spectrum sensing (TDACSS) method based on time domain averaging and correlation for spectrum sensing in additive i.i.d white noise environments. Similar to the methods reported in [7–9], the proposed TDACSS method does not need any aforementioned prior information and achieve desirable sensing performance in very low SNR environments. The TDACSS method assumes the signal from the primary user to be deterministic. By making use of time domain averaging, the SNR of the received samples is increased. Then, the task of spectrum sensing is obtained by performing the correlation operation. Simulation results from various environments are presented to show the effectiveness of the proposed TDACSS method.
The rest of this paper is organized as follows. Section 2 describes the system model and sampling operations to obtain the input sample sequence. Section 3 gives the proposed TDACSS spectrum sensing method. Simulation results and discussions are presented in Section 4. Finally, conclusion is drawn in Section 5.
2 System model and sampling description
In a duration, [t_{1},t_{2}], of spectrum sensing, let z(t) be the continuoustime signal received by the secondary user. The process of the spectrum sensing is regarded as a twohypothesestest problem at a time duration, [t_{1},t_{2}], i.e., {\mathcal{\mathscr{H}}}_{0}: the primary signal is absent and {\mathcal{\mathscr{H}}}_{1}: the primary signal is present, described by
where for t_{1}≤t_{3},t_{4}≤t_{2}
and s_{pri−c}(t) is any received primary signal, and w_{ c }(t) is the i.i.d white noise with a zero mean and a variance represented by δ^{2}.
Let us be interested in the frequency band with central frequency f_{0} and a narrow bandwidth W. The signal z_{ c }(t) defined in (1) is sampled at a frequency f_{ s }≤L_{mul}(f_{0}+W/2), where, L_{mul} is a large constant, for example, L_{mul}=100. The choice of such values of f_{ s } and L_{mul} is for the purpose of time domain averaging in our proposed method, which is to be described in Section 3. The two hypotheses in (1) are then expressed as
where, z(n)=z_{ c }(n/f_{ s }), s(n)=s_{ c }(n/f_{ s }) and w(n)=w_{ c }(n/f_{ s }).
It is worth noting that if f_{0}+W/2 is very high, it is difficult to implement the sampling process because the available high speed samplers can support up to several tens of GHz [10–12]. Therefore, we should suitably select the value of f_{0}+W/2 to allow an appropriate large value of L_{mul} possible. It is also possible to use down conversion process [12] to generate the received samples when the value of f_{0}+W/2 is very high.
3 The proposed spectrum sensing method
The proposed TDACSS method treats the samples of the primary users to be deterministic. It firstly averages the received data samples in the time domain to increase SNR (or reduce the noise) then obtains the spectrum sensing by means of correlation operations.
3.1 Sample time domain averaging
Time domain averaging is an effective method to decrease noise power for periodic signal detection [13] (and therein [13]). For the obtained data sample sequence z(n),n∈[1,N_{0}], the time average operation is defined by
where M is a small positive integer, for example, M=5, and N=[N_{0}/L_{mul}].
If the samples from the primary users are treated as deterministic ones, f_{ s } is L_{mul} times of f_{0}+W/2 and M is small, it means that
with the assumption that w_{ c }(t) is i.i.d white noise, we easily obtain the following from (2):
where ω(n) can be considered as the samples of the i.i.d white noise ω_{ c }(t) with a zero mean and a variance of \frac{{\delta}^{2}}{2M+1}. Let us define \text{SNR}=10\mathit{\text{lg}}\frac{\sum _{n=1}^{N}{s}^{2}(n\xb7{L}_{\text{mul}})}{N\xb7\text{Var[noise]}}, where Var[.] denotes the variance of a random variable. It can be easily proved that the SNR of the sequence produced by the time averaging process is increased by 10l g(2M+1) dB. If M=5, for example, the SNR of the time averaged output is increased by about 10 dB. This gain in SNR is very valuable for effective spectrum sensing in the environment of strong noise.
3.2 Correlation operation and sensing decision
Similar to the method in [7], let us perform the correlation operation on the input samples and make a decision on the signal presence of the primary user based on a constructed correlation matrix. Being different from that in [7], however, the correlation used here is to be discussed from the view point of deterministic signal samples.
Let us consider the correlation defined by {r}_{e}\left(i\right)=\frac{1}{N}\sum _{n=1}^{N}e\left(n\right)e(ni). Then, under {\mathcal{\mathscr{H}}}_{0}, we have
Under {\mathcal{\mathscr{H}}}_{1}, we have
It is noted that the samples from the i.i.d white noise, ω_{ c }(t), which has a zero mean and a variance of \frac{{\delta}^{2}}{2M+1}, the product of s(n L_{mul})ω(n−i) are the samples from mutually independent random variables with a zero mean and a variance of \frac{{s}^{2}\left(n{L}_{\text{mul}}\right){\delta}^{2}}{2M+1}. Therefore, based on the central limit theorem, it is concluded that the term \frac{1}{N}\sum _{n=1}^{N}s\left(n{L}_{\text{mul}}\right)\omega (ni) in (6) can be treated as a sample sequence of a Gaussian random variable g\sim N(0,\frac{{\delta}^{2}}{(2M+1){N}^{2}}\sum _{n=1}^{N}{s}^{2}(n{L}_{\text{mul}}\left)\right) when N→∞. Because \underset{n\to \infty}{lim}\mathit{\text{Prob}}g0<\epsilon =1 for an arbitrary positive ε, we have \frac{1}{N}\sum _{n=1}^{N}s\left(n{L}_{\text{mul}}\right)\omega (ni)\to 0 when N→∞. Similarly, we also conclude that the term \frac{1}{N}\sum _{n=1}^{N}s\left(\right(ni\left){L}_{\text{mul}}\right)\omega \left(n\right)\to 0 in (6) when N→∞. In addition, according to statistics theory, it is also noted that when N→∞, (5) or the last term in (6) satisfies
where E[ ·] is the expectation operation. Finally, the first term in (6), i.e. \frac{1}{N}\sum _{n=1}^{N}s\left(n{L}_{\text{mul}}\right)s\left(\right(ni\left){L}_{\text{mul}}\right), i=1,2,3,… are usually not identically zero when s(n) is a deterministic sample sequence.
Let us construct an L×L correlation matrix in the same form as that in [6], i.e.,
Note that we have tested P_{ d } versus L by experiments, and the experiment results show that when L≥10, Pd is not affected greatly by L, as a result, we choose the integer L=10 for the purpose of lower computation complexity. Based on the previous analysis of r_{ e }(i) values, apparently, the sensing test statistics and decision policies of the computerassisted videodensitometry (CAV) method and the GCBA method in [7] are still applicable for our method. For the sake of simplicity, here, we use the test statistics and decision policy of the CAV method in [7], i.e., the test statistics is defined by [7]
where r_{ n m } is the element located in the nth row and mth column of the matrix R_{ e }. With a positive threshold value λ, the sensing decision for the primary signal is made by
3.3 The TDACSS Method
Based on the discussion above, we propose the an improved spectrum sensing method as follows.

Step 1: sample the received signal at frequency f_{ s } to obtain the discrete samples z(n),n=1,2,…,N_{0}.

Step 2: for a given value of M, calculate e(n),n=1,2,…,N by (3).

Step 3: for a given value of L, calculate r_{ e }(i),i=0,1,…,L−1, and construct the matrix R_{ e } in (7).

Step 4: calculate T in (8), and properly choose the value of λ for the sensing decision.
Similar to the approach reported in [7, 9], let us use the computer simulation approach based on the given probability of false alarm, P_{ f }, to choose the threshold λ. That is, first, a P_{ f } value is given and white noise is generated as the input, and then with a number of simulation results of T in (8), the threshold value, λ, is selected to meet the requirement of P_{ f }.
3.4 Performance analysis of the proposed TDACSS
From the description above, it is seen that the proposed TDACSS method does not need any prior information about the waveform and the cyclic frequencies of the primary user’s signal and the noise power, which is similar to those methods in [7–9]. In contrast, our proposed method is also valid when only part of the received sample sequence contain the primary user’s signal, which is the main different from those in [7–9] that assume that the primary user’s signal is a stationary random process and that all the received samples must contain the primary user’s signal. Therefore, the proposed method is more general and flexible.
By the averaging operation in the time domain, the proposed TDACSS method is able to achieve an SNR improvement by 10l g(2M+1) dB compared with the CAV method in [7] for the same values of N and L. Therefore, the proposed one is expected to improve the sensing performance substantially particularly in low SNR environments.
4 Simulations
In this section, simulation results are reported for the following three signal settings in the AWGN environments to verify the effectiveness of the proposed method.

Case I: the signal from the primary user is stationary. During spectrum sensing, all the received samples contain the signal of the primary user.

Case II: the signal from the primary user is stationary. During spectrum sensing, only a part of the received samples contain the signal of the primary user.

Case III: the signal from the primary user is not stationary.
For comparison, we also present the simulation results of the CAV method [6] applicable for case I. For all the simulations, the values of threshold λ are chosen by the computer simulation approach described previously, and 1,000 Monte Carlo runs are carried out to estimate the value of λ.
4.1 Simulation for case I
We use a wireless microphone signal generated by the method in [14] with the following parameters: central frequency f_{0}=100 MHz, bandwidth W=36.8 KHz. Based on the discussion in Section 2, the sampling frequencies used for the proposed TDACSS method and the CAV method are f_{ s }=10.3 GHz≥L_{mul}(f_{0}+W/2), where, L_{mul}=100, and f_{ s }=103 MHz≥f_{0}+W/2, respectively.
Figure 1 illustrates the detection probability P_{ d } versus SNRs with P_{ f }=0.1,L=10,N=50,000. Figure 2 presents the detection probability P_{ d } versus the false alarm probability, P_{ f }, with SNR=−30 dB,L=10,N=50,000, for the proposed TDACSS method, with different values of M, and the CAV method. From Figures 1 and 2, it is seen that under the same conditions, the detection performance of the proposed method is better than that of the CAV and can be improved further with increase of M. In addition, Figure 1 shows that, compared with the CAV method, the TDACSS method achieves the improvement on the sensing performance by about 10l g(2M+1)dB in SNR. To achieve P_{ d }=0.985, the values of the SNR needed by the CAV method and the TDACSS with M=2,5, and 10 are −18.5,−26,−29.3, and 32.2 dB, respectively.
4.2 Simulation for case II and case III
In case II, the received sample sequence is 45,000 zerovalued signal samples followed by 5,000 wireless microphone signal samples that are generated in case I. The segment of zerovalued signal samples is included for the frequently observed situation in which the primary user begins to occupy its channel after the secondary user has monitored the channel for certain period of time. The sampling frequency for the TDACSS method is f_{ s }=10.3 GHz. For case III, we use a fingerprint signal, which is generated by using the unitstep response of a secondorder RLC parallel circuit described by a differential equation:
with {L}_{f}=1{0}^{8},{C}_{f}=1010,R=0.08,\sigma =R/2{L}_{f}=4,000,000,{w}_{0}=\sqrt{1/{L}_{f}{C}_{f}}=1{0}^{9}. The fingerprint signal has the central frequency f_{0}=160 MHz and the bandwidth W=8 MHz. The sampling frequency for the TDACSS method is f_{ s }=16.4 GHz≥L_{mul}(f_{0}+W/2), where, L_{mul}=100.
It is not reasonable to use the CAV method because the signals used in case II and case III are not stationary. Therefore, we only verify the effectiveness of the proposed TDACSS method. Figures 3 and 4 give, respectively, detection probability versus SNRs for the two cases with P_{ f }=0.1,L=10,N=50,000, and the detection probability P_{ d } versus the false alarm probability P_{ f } with SNR=−30 dB,L=10,N=50,000. From these figures, it is seen that the TDACSS method is still effective because this method does not consider the properties of the received signal. Similarly, the detection performance can be improved further with the increased value of M.
5 Conclusion
In this paper, an improved spectrum sensing method, TDACSS, based on time domain averaging and correlation has been proposed. The time domain averaging process has been typically used to decrease the noise effects, and correlation matrix has been constructed to decide the existence of the primary user’s signal. In comparing with other reported method, such as CAV method, the proposed one can sense a primary user’s signal in the white noise environment in very low SNR environments without requiring any prior knowledge about the signal and noise power. In particular, the proposed method is flexible to effectively sense the signals that are not stationary. Our simulation results have shown the desirable advantages of the proposed methods.
References
Cabric D, Mishra SM, Brodersen RW: Implementation issues in spectrum sensing for cognitive radios. In Proc. Asilomar Conf. Signals, Syst. Computers. Pacific Grove, CA, USA; 2004:772776.
Sahai A, Cabric D: Spectrum sensing: fundamental limits and practical challenges. In IEEE Int. Symp. New Frontiers DySPAN. Baltmore, Maryland, USA; 2005:190.
Cabric D, Tkachenko A, Brodersen RW: Spectrum sensing measurements of pilot, energy, and collaborative detection. In Proc. IEEE Military Commun. Conf. (MILCOM). Washington, D.C., USA; 2007.
Chen HS, Gao W, Daut DG: Signature based spectrum sensing algorithms for IEEE 802.22 WRAN. In Proc. IEEE Int. Conf. Communications (ICC). Glasgow, Scotland, UK; 2007:64876492.
Han N, Shon SH, Joo JO, Kim JM: Spectral correlation based signal detection method for spectrum sensing in IEEE 802.22 WRAN systems. In Proc. Intern. Conf. Advanced Commun. Technology. Phoenix Park, South Korea; 2006:17651770.
Xu JY, Zhang HS: Detection to primary user based on radio frequency fingerprint in cognitive radio. In Proc. Intern. Cong. Image and Signal Processing (CISP). Tianjin, China; 2009.
Zeng Y, Liang YC: Spectrumsensing algorithms for cognitive radio based on statistical covariance. IEEE Trans. Veh. Technol 2009, 58(4):18041815.
Zeng Y, Liang YC: Eigenvaluebased spectrum sensing algorithms for cognitive radio. IEEE Trans. Commun 2009, 57(6):17841793.
Zeng Y, Liang YC, Zhang R: Blindly combined energy detection for spectrum sensing in cognitive radio. IEEE Signal Process. Lett 2008, 15: 649652.
Lecklider T: Raising the B/W bar to 32 GHz. Eval. Eng 2010, 49(6):34.
Zhao YJ, Hu YH, Wang HJ: Enhanced random equivalent sampling based on compressed sensing. IEEE Trans. on Instrum. Meas 2012, 61(3):579586.
LopezValcarce R, VazquezVilar G: Wideband spectrum sensing in cognitive radio: joint estimation of noise variance and multiple signal levels. In IEEE International Workshop on Signal Processing Advances for Wireless Communications (SPAWC 2009). Perugia, Italy; 2009:96100.
Pini M, Akos DM: Exploiting GNSS signal structure to enhance observability. IEEE Trans. Aerospace Electron. Sys 2007, 43(4):15531565.
Zeng Y, Liang YC: Performance of eigenvalue based sensing algorithms for detection of DTV and wireless microphone signals. In IEEE 802.2206/186r0. Phoenix Park, South Korea; 2006.
Acknowledgements
This work is funded by the National Science Foundation of China (61271316, 61071152), 973 Program (2010CB731403, 2010CB731406, 2013CB329605) of China, Chinese National ‘Twelfth FiveYear’ Plan for Science & Technology Support (2012BAH38 B04), Key Laboratory for Shanghai Integrated Information Security Management Technology Research, and Chinese National Engineering Laboratory for Information Content Analysis Technology.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Li, S., Bi, G. Time domain averaging and correlationbased improved spectrum sensing method for cognitive radio. EURASIP J. Adv. Signal Process. 2014, 46 (2014). https://doi.org/10.1186/16876180201446
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/16876180201446
Keywords
 Cognitive radio
 Spectrum sensing
 Time domain averaging
 Correlation