Skip to main content

Time domain averaging and correlation-based improved spectrum sensing method for cognitive radio

Abstract

Based on the combination of time domain averaging and correlation, we propose an effective time domain averaging and correlation-based spectrum sensing (TDA-C-SS) method used in very low signal-to-noise ratio (SNR) environments. With the assumption that the received signals from the primary users are deterministic, the proposed TDA-C-SS 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 TDA-C-SS 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 TDA-C-SS 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 covariance-based methods for spectrum sensing in additive i.i.d white noise environments have been proposed [6-8]. These reported methods do not need the prior information about the signal and the noise power to achieve a sensing performance in a low signal-to-noise 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 correlation-based spectrum sensing (TDA-C-SS) 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 TDA-C-SS method does not need any aforementioned prior information and achieve desirable sensing performance in very low SNR environments. The TDA-C-SS 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 TDA-C-SS 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 TDA-C-SS 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, [t1,t2], of spectrum sensing, let z(t) be the continuous-time signal received by the secondary user. The process of the spectrum sensing is regarded as a two-hypotheses-test problem at a time duration, [t1,t2], i.e., â„‹ 0 : the primary signal is absent and â„‹ 1 : the primary signal is present, described by

z c (t)= w c ( t ) t ∈ [ t 1 , t 2 ] ℋ 0 s c ( t ) + w c ( t ) t ∈ [ t 1 , t 2 ] ℋ 1
(1)

where for t1≤t3,t4≤t2

s c ( t ) = s pri − c ( t ) t ∈ [ t 3 , t 4 ] 0 mul

and spri−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 f0 and a narrow bandwidth W. The signal z c (t) defined in (1) is sampled at a frequency f s ≤Lmul(f0+W/2), where, Lmul is a large constant, for example, Lmul=100. The choice of such values of f s and Lmul 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

z(n)= w ( n ) n = [ 1 , … , N 0 ] ℋ 0 s ( n ) + w ( n ) n = [ 1 , … , N 0 ] ℋ 1
(2)

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 f0+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 f0+W/2 to allow an appropriate large value of Lmul possible. It is also possible to use down conversion process [12] to generate the received samples when the value of f0+W/2 is very high.

3 The proposed spectrum sensing method

The proposed TDA-C-SS 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,N0], the time average operation is defined by

e(n)= ∑ j = − M M z ( n · L mul + j ) 2 M + 1 n=1,…,N
(3)

where M is a small positive integer, for example, M=5, and N=[N0/Lmul].

If the samples from the primary users are treated as deterministic ones, f s is Lmul times of f0+W/2 and M is small, it means that

s ( n · L mul ) ≈ ∑ j = − M M s ( n · L mul + j ) 2 M + 1 , n = 1 , … , N.

with the assumption that w c (t) is i.i.d white noise, we easily obtain the following from (2):

e ( n ) = ∑ j = − M M w ( n · L mul + j ) 2 M + 1 = ω ( n ) ℋ 0 ∑ j = − M M s ( n · L mul + j ) 2 M + 1 + ∑ j = − M M w ( n · L mul + j ) 2 M + 1 ≈ s ( n · L mul ) + ω ( n ) ℋ 1
(4)

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 δ 2 2 M + 1 . Let us define SNR=10lg ∑ n = 1 N s 2 ( n · L mul ) N · 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 (i)= 1 N ∑ n = 1 N e(n)e(n−i). Then, under ℋ 0 , we have

r e (i)= 1 N ∑ n = 1 N ω(n)ω(n−i)
(5)

Under â„‹ 1 , we have

r e ( i ) ≈ 1 N ∑ n = 1 N [ s ( n L mul ) + ω ( n ) ] [ s ( ( n − i ) L mul ) + ω ( n − i ) ] = 1 N ∑ n = 1 N s ( n L mul ) s ( ( n − i ) L mul ) + 1 N ∑ n = 1 N s ( n L mul ) ω ( n − i ) + 1 N ∑ n = 1 N s ( ( n − i ) L mul ) ω ( n ) + 1 N ∑ n = 1 N ω ( n ) ω ( n − i )
(6)

It is noted that the samples from the i.i.d white noise, ω c (t), which has a zero mean and a variance of δ 2 2 M + 1 , the product of s(n Lmul)ω(n−i) are the samples from mutually independent random variables with a zero mean and a variance of s 2 ( n L mul ) δ 2 2 M + 1 . Therefore, based on the central limit theorem, it is concluded that the term 1 N ∑ n = 1 N s(n L mul )ω(n−i) in (6) can be treated as a sample sequence of a Gaussian random variable g∼N(0, δ 2 ( 2 M + 1 ) N 2 ∑ n = 1 N s 2 (n L mul )) when N→∞. Because lim n → ∞ Prob|g−0|<ε=1 for an arbitrary positive ε, we have 1 N ∑ n = 1 N s(n L mul )ω(n−i)→0 when N→∞. Similarly, we also conclude that the term 1 N ∑ n = 1 N s((n−i) L mul )ω(n)→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

1 N ∑ n = 1 N ω ( n ) ω ( n − i ) = E [ ω c ( t ) ω c ( t − i ) ] = δ 2 2 M + 1 i = 0 0 i ≠ 0

where E[ ·] is the expectation operation. Finally, the first term in (6), i.e. 1 N ∑ n = 1 N s(n L mul )s((n−i) L mul ), 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.,

R e = r e ( 0 ) r e ( 1 ) ⋯ r e ( L − 1 ) r e ( 1 ) r e ( 0 ) ⋯ r e ( L − 2 ) ⋮ ⋮ ⋯ ⋮ r e ( L − 1 ) r e ( L − 2 ) ⋯ r e ( 0 )
(7)

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 computer-assisted 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]

T= ∑ n = 1 L ∑ m = 1 L | r nm | ∑ m = 1 L | r mm |
(8)

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

T > λ Present T ≤ λ Absent

3.3 The TDA-C-SS 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,…,N0.

  • 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 TDA-C-SS

From the description above, it is seen that the proposed TDA-C-SS 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 TDA-C-SS 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 f0=100 MHz, bandwidth W=36.8 KHz. Based on the discussion in Section 2, the sampling frequencies used for the proposed TDA-C-SS method and the CAV method are f s =10.3 GHz≥Lmul(f0+W/2), where, Lmul=100, and f s =103 MHz≥f0+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 TDA-C-SS 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 TDA-C-SS 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 TDA-C-SS with M=2,5, and 10 are −18.5,−26,−29.3, and 32.2 dB, respectively.

Figure 1
figure 1

P d curves versus SNR for case I.

Figure 2
figure 2

P d curves versus P f for case I.

4.2 Simulation for case II and case III

In case II, the received sample sequence is 45,000 zero-valued signal samples followed by 5,000 wireless microphone signal samples that are generated in case I. The segment of zero-valued 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 TDA-C-SS method is f s =10.3 GHz. For case III, we use a fingerprint signal, which is generated by using the unit-step response of a second-order RLC parallel circuit described by a differential equation:

d 2 i l ( t ) d t 2 + 2 σ d i l ( t ) dt + w 0 2 i l ( t ) = 1 L f C f i s ( t )

with L f =1 0 − 8 , C f =10−10,R=0.08,σ=R/2 L f =4,000,000, w 0 = 1 / L f C f =1 0 9 . The fingerprint signal has the central frequency f0=160 MHz and the bandwidth W=8 MHz. The sampling frequency for the TDA-C-SS method is f s =16.4 GHz≥Lmul(f0+W/2), where, Lmul=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 TDA-C-SS 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 TDA-C-SS 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.

Figure 3
figure 3

P d versus SNR obtained by the TDA-C-SS method for case II and case III.

Figure 4
figure 4

P d curves versus P f of the TDA-C-SS for case II and case III.

5 Conclusion

In this paper, an improved spectrum sensing method, TDA-C-SS, 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

  1. 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:772-776.

    Google Scholar 

  2. Sahai A, Cabric D: Spectrum sensing: fundamental limits and practical challenges. In IEEE Int. Symp. New Frontiers DySPAN. Baltmore, Maryland, USA; 2005:1-90.

    Google Scholar 

  3. 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.

    Google Scholar 

  4. 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:6487-6492.

    Google Scholar 

  5. 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:1765-1770.

    Google Scholar 

  6. 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.

    Google Scholar 

  7. Zeng Y, Liang YC: Spectrum-sensing algorithms for cognitive radio based on statistical covariance. IEEE Trans. Veh. Technol 2009, 58(4):1804-1815.

    Article  Google Scholar 

  8. Zeng Y, Liang YC: Eigenvalue-based spectrum sensing algorithms for cognitive radio. IEEE Trans. Commun 2009, 57(6):1784-1793.

    Article  Google Scholar 

  9. Zeng Y, Liang YC, Zhang R: Blindly combined energy detection for spectrum sensing in cognitive radio. IEEE Signal Process. Lett 2008, 15: 649-652.

    Article  Google Scholar 

  10. Lecklider T: Raising the B/W bar to 32 GHz. Eval. Eng 2010, 49(6):34.

    Google Scholar 

  11. Zhao YJ, Hu YH, Wang HJ: Enhanced random equivalent sampling based on compressed sensing. IEEE Trans. on Instrum. Meas 2012, 61(3):579-586.

    Article  Google Scholar 

  12. Lopez-Valcarce R, Vazquez-Vilar 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:96-100.

    Google Scholar 

  13. Pini M, Akos DM: Exploiting GNSS signal structure to enhance observability. IEEE Trans. Aerospace Electron. Sys 2007, 43(4):1553-1565.

    Article  Google Scholar 

  14. Zeng Y, Liang YC: Performance of eigenvalue based sensing algorithms for detection of DTV and wireless microphone signals. In IEEE 802.22-06/186r0. Phoenix Park, South Korea; 2006.

    Google Scholar 

Download references

Acknowledgements

This work is funded by the National Science Foundation of China (61271316, 61071152), 973 Program (2010CB731403, 2010CB731406, 2013CB329605) of China, Chinese National ‘Twelfth Five-Year’ 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

Authors

Corresponding author

Correspondence to Shenghong Li.

Additional information

Competing interests

The authors declare that they have no competing interests.

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.

Reprints and permissions

About this article

Cite this article

Li, S., Bi, G. Time domain averaging and correlation-based improved spectrum sensing method for cognitive radio. EURASIP J. Adv. Signal Process. 2014, 46 (2014). https://doi.org/10.1186/1687-6180-2014-46

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1687-6180-2014-46

Keywords