- Open Access
- Total Downloads : 665
- Authors : Geethu S, Mathini Sellathurai, G. Lakshminarayanan
- Paper ID : IJERTV2IS50147
- Volume & Issue : Volume 02, Issue 05 (May 2013)
- Published (First Online): 02-05-2013
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Wide Band Spectrum Sensing Using Window Based Energy Detector For AWGN And Rayleigh Channels
Geethu S
National Institute of Technology Trichy Tiruchirappalli, India
Mathini Sellathurai
Heriot Watt University Edinburgh, United Kingdom
G. Lakshminarayanan
National Institute of Technology Trichy Tiruchirappalli, India
Abstract
Cognitive Radio is an efficient technique to exploit the underutilized electromagnetic spectrum by introducing opportunistic usage of frequency bands that are not occupied by primary users. Spectrum sensing is a fundamental part of Cognitive Radio systems. A common low complexity technique for spectrum sensing is energy detection, however energy detection is known to fail in the presence of noise uncertainty. In this paper a window based energy detection technique that reduces the noise in the spectrum by averaging the power samples in the frequency domain is proposed to identify the presence of primary users. It is clearly shown that this window based technique improves the detection performance. Moreover the existence of primary users in sub bands of the wideband signal is also identified using this modified method. Simulations based on wideband signals in both fading as well as non fading environment are presented to verify the proposed technique.
-
Introduction
A major challenge in wireless communications is the increased usage of electromagnetic spectrum resource. However the allocated spectrum is found to be significantly inefficiently utilized. Cognitive Radio (CR) is a concept that has been introduced for facilitating more efficient and opportunistic utilization of the available electromagnetic spectrum [1]. CR is characterized by the fact that it can adapt to the environment by changing its operating parameters such as frequency, modulation, format etc. In a CR network the secondary users are the CR users that are allowed to utilize the spectrum when the licensed or primary users are absent. In order to do this, the secondary user
should detect the existence of primary user without any error. Spectrum sensing aims to determine the presence of primary users and spectrum availability. Therefore, efficient and effective spectrum sensing is of extreme importance in CR networks.
Spectrum sensing is the ability to measure and sense the parameters related to channel characteristics, power, availability of spectrum, interference and operating environments. A number of spectrum sensing methods are proposed for identifying the presence of primary signal transmission. They can be broadly classified as: Energy detector (ED) [2-5], Matched filter (MF) [5], [6], Likelihood Ratio Test (LRT) [9] and cyclostationarity based detectors [7], [8]. Each of these techniques has different requirements, advantages and disadvantages. Among these techniques LRT [9] is proven to be the optimal, but it is very difficult to use, as it requires exact channel knowledge as well as source and signal distributions, which would be difficult to obtain practically. The Matched filer [5], [6] method requires synchronization and perfect knowledge of channel responses from the licensed primary user. The cyclostationarity based detection [7],
[8] requires knowledge of cyclic frequencies of primary users. However energy detection [2-5], unlike the other methods, is a very attractive means of spectrum sensing because of its low computational and implementation complexities. It is a generic method as it does not require any knowledge on the primary users signal and it is robust to unknown channels and fading. However it requires exact knowledge of noise power [10]. Moreover energy detectors are not robust to noise variance uncertainty.In this paper, to overcome the shortcomings of conventional energy detectors, an alternative method for wide band spectrum sensing is proposed using the window technique, which reduces or filters out the noise fluctuations in the frequency domain. As this
proposed technique reduces the noise fluctuations, it
signal absence. Let xc (t) hsc (t) c (t) be the
therefore enhances the performance of the detector in the presence of noise uncertainty. The objective of this technique is to smoothen the highly distorted signal by
continuous-time received signal, where possible primary users signal and c (t)
sc (t) is the is the noise.
finding the average of the power samples. Similar to the ideal energy detector, this technique also does not
Assume we are in interested in a frequency band with bandwidth W. The received signal is sampled at a
require any information about the channel and the
sampling rate fs , where fs W and
Ts fs is the
primary user signal and, moreover, its performance is significantly good even in the fading channels. Normally an energy detector performs the sensing over the entire wide band and hence sub band detection is not possible. However, in the proposed method, the existence of primary users in the sub bands is also made possible. The novel contribution of this paper
sampling period. Then, we define x(n) x(nTs ) as the received signal samples, s(n) s(nTs ) as the primary signal samples and (n) (nTs ) as the noise samples. The two hypotheses of the received signal can be stated as:
includes, the proposal of a technique that is capable of detecting the primary user signal in fading channels and even in the presence of noise uncertainty. Moreover the existence of primary users in individual sub bands is
H0 : x(n) (n)
H1 : x(n) hs(n) (n)
: signal absent
: signal present
shown to be possible using the proposed method. This paper is organized as follows: In section II, the basic energy detector is explained. The proposed window
H0 is the null hypothesis meaning that the received
signal has noise only. On the other hand, the hypothesis H1 means that the received signal has both signal and
based energy detector is explained in section III.
noise, where
s(n)
is transmitted by the primary users
Simulation results are shown in section IV and the conclusions are drawn in section V.
-
System Model
-
Conventional Energy Detector
Energy detection [2-5] is the simplest and the most common technique for spectrum sensing because of its low complexity. The block diagram of an energy detector in frequency domain is shown in Fig. 1. The detector computes the energy of the received signal and compares it to a threshold value to determine the presence or absence of primary user.
Figure 1. Energy Detector block diagram
In frequency domain, in order to measure the energy of the signal, the received signal is first sampled and these frequency domain samples are obtained by taking an N point fast fourier transform (FFT). The sample coefficients are squared and then average is taken. This decision value is then compared with the threshold. When the decision value of the energy detector is greater than the threshold, the primary user is declared to be present.
Basically the purpose of spectrum sensing is to distinguish between two states: signal presence and
and x(n) is the signal received by the secondary users
over a channel with gain h. h is constant when the channel is non-fading . When the channel is fading, h includes fading effects. (n) is the noise vector which
contains independently and identically distributed (i.i.d) AWGN samples with zero mean and variance
2 .
However, the performance of the detector relies highy on the noise level as it uses this as a predefined threshold. The detector is not robust in the presence of noise uncertainty. In practical scenarios, it is not possible to obtain the correct value of noise variance and hence the energy detector fails to operate well. For fading channel also the performance degrades quite significantly thus making the detector ineffective. Therefore an alternative method has been proposed here to relieve the drawbacks and improve performance.
-
Window Based Energy Detectors
The improved window based method block diagram is shown in Fig. 2. Here, instead of taking the direct average of the squared received frequency domain signals as in conventional energy detector, a windowing operation is performed on the received signals to reduce unwanted noise fluctuations and hence facilitate the proper detection of the primary user signals.
Figure 2. Window Based Energy Detector Block Diagram
Pfa P(TED | H0 ) p0 (t)dt
Pd P(TED | H1 ) p1(t)dt
(4)
(5)
As in section 2.1, using an N-point FFT, the received signal is transformed into frequency domain.
where p0 (t) and p1 (t) are the probability density
The frequency sample X(k) can be given by the
functions (PDFs) under the hypotheses H0
and H1
Discrete Fourier transform (DFT) equation:
respectively and is the decision threshold. As a
N 1
j 2 k
results of the central limit theorem, the test statistic,
X (k) x(n)e N
, 0 k N 1
(1)
TED ,, under hypothesis H0 , can be approximated as a
n0
real Gaussian variable with mean
-
2 and variance
In order to reduce the effect of noise fluctuations, a window function is used. Here the entire spectrum is divided into number of windows based on the window size. The power samples P(k) are passed through this window function where the samples, P(k), are obtained by taking the square of each of the samples, X(k). The size of the window can be arbitrarily predefined and is a parameter that can be varied depending on system performance. The jth window function can be defined as
-
4 N while TED , under hypothesis H1 , can be approximated as a real Gaussian variable with mean (1 ) 2 and variance (1 2) 4 N where
s
s
22 22 is the received signal to noise ratio (SNR) of the primary user as measured at the secondary receiver.
The threshold can be expressed as follows
w
w
Q1 Pfa
1
1 2
(6)
z( j) P(k)
(2)
N
w n1
where w is the window size. When the power samples, P(k), are passed through this window function, the average is calculated and then the function shifts to the next set of samples and so forth to get a smoother curve.
-
-
-
Signal Detection
-
Detection in non-fading channels
-
Detection in Rayleigh fading channels
In fading environment, the distributions and probabilities differ since the SNR can exhibit various distribution [12-14], however specifically, the probability, Pfa , remains the same because it is
independent of SNR.
The probability of detection for the fading channel can be expressed as [16]:
The test static, TED , for energy detection is given
P Q 2m , f
(x)dx
(7)
by [15]
m
d , fading m
TED z(n)
(3)
where f (x) is the probability distribution function
n1
where m is the number of windows.
Based on the decision statistics, the threshold can be derived from the formulations for probability of detection (Pd) and Probability of false alarm (Pfa) as follows [15]
of SNR under fading, m is the time-bandwidth product and Qm (.,.) is the Marcum Q-function.
Under Rayleigh fading, the signal amplitude follows a Rayleigh distribution and hence the SNR follows an exponential PDF, which may be defined as
f () 1 e , (8)
where is the average SNR.
-
-
Simulations
In this section, simulation results will be given for the purpose of comparison with the theoretical expressions given in the previous section. In common with the previous section, two distinct type of channel scenario are considered. These scenarios are:
-
Additive White Gaussian Noise (AWGN) ,
-
Rayleigh fading.
-
Wide Band Signals
The signal under consideration for detection is a digital video broadcastterrestrial (DVB-T) signal, which has a bandwidth of 8MHz. The sequence of blocks in signal is modulated according to the orthogonal frequency division multiplexing (OFDM) technique using 1705 carriers (2k mode). In the time domain, the duration of data part is 224 microseconds and the guard band part is 56 microseconds (1/4 of the symbol duration).
entire spectrum is divided into different sections and individual detection is performed in each sub band. If a sub band is found to be empty, then it can be allocated to the secondary or the cognitive user.
-
AWGN channel scenario
In Fig.4 the proposed window-based method is compared with the conventional energy detector for the received DVB-T signals for the case of a simple AWGN channel scenario. From the Fig.4 it is clear that the proposed method outperforms the conventional method and the probability of detection is higher than the conventional energy detector at low SNRs, which is the requirement for the CR devices. In Fig. 5 the sample size, N, is plotted against the probability of detection, Pd, for different values of Pfa. From the Fig. 5 it is clear that as N increases, the probability of detection also increases.
SNR versus Probability of detection
1
0.9
0.8
Here these signals are considered for the case of three primary users occupying different sub bands. The spectrum is shown in Fig.3.
Power Spectral Density
0.7
Probability of detection, Pd
Probability of detection, Pd
0.6
0.5
conventional ED proposed method
-30
-40
Power/frequency (dB/Hz)
Power/frequency (dB/Hz)
-50
-60
-70
-80
-90
-100
-110
-120
0 20 40 60 80 100 120 140 160 180
Frequency (MHz)
Figure.3 Wide band spectrum
In order to simulate the algorithm at low SNR, AWGN samples are added to obtain various SNRs. After passing DVB-T signals through the window function of the proposed detector, the noise fluctuations in the spectrum are very much reduced. Here the window size is selected to be 50 for the purpose of computationally tractable simulations. The conventional energy detector is not robust n the presence of fading and hence proper signal detection becomes impossible. However, the proposed window based detector is found to be robust even in fading channels. In order to identify the existence of primary users in each sub bands of the wide band spectrum, the
0.4
0.3
0.2
0.1
0
-24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4
SNR in dB
Figure 4. Performance for DVB-Tsignal detection compared to conventional energy
detector (Pfa = 0.1)
The dependency of the performance with window size for the proposed detector is shown in Fig. 6. It is clear from Fig. 6 that Pd, is higher for high window sizes and performance degrades as the window size decreases. In Fig. 7 ROC curves are plotted for the proposed detector in the presence of noise uncertainty. One of the most important factors that degrade the performance of conventional energy detector is the existence of noise uncertainty. From Fig. 7, it is clear that the performance of the proposed detector is significantly higher when there is noise uncertainty.
One of the biggest advantages of the proposed detector is that it is capable of identifying the presence of primary users in sub bands over a wide bandwidth. For simulation, the entire spectrum is divided into 3 sub bands, each 60MHz in width. From Fig. 8 it is clear
that the proposed detector is capable of sensing each sub band individually whereas the conventional energy detector performs sensing over the entire wideband and thus individual sub band is detection is not possible. Detection of users in individual sub bands is an important advantage of this technique. Generally signal detection using Energy Detector [2-5], Covariance Absolute Value method [17], Eigen Value method [18], cyclostationarity method [7], [8] are efficiently done in narrow bands and if comes to wideband scenario they detect the existence of users over the entire range of band. And if multiple users are present in the wide band these detection methods wont individually differentiate or identify each user. But identification of
1
0.9
Probability of detection, Pd
Probability of detection, Pd
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
ROC under AWGN (SNR = -12dB)
window detector with noise uncertainity conventional detector with noise uncertainity
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Probability of false alarm, Pfa
the existence of multiple users in the wideband is essential for the proper efficient working of the cognitive radio devices. And this problem is properly
Figure 7. ROC curve in the presence of noise uncertainty
addressed using this technique meeting the target 1
ROC of ED under AWGN
probability of detection requirements of the cognitive radio devices.
0.9
0.8
1
0.9
0.8
Probability of detection, Pd
Probability of detection, Pd
0.7
0.6
0.5
0.4
0.3
0.2
Sample size versus Probability of detection(SNR = -20dB)
Pfa = 0.05
Pfa = 0.1
Pfa = 0.2
0.7
Probability of detection,Pd
Probability of detection,Pd
0.6
0.5
0.4
0.3
0.2
0.1
Subband 1
Subband 2
Subband 3
conventional energy detector
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Probability of false alarm,Pfa
0.1
0
1 2 3 4 5 6 7 8 9 10
Figure 8. ROC curve showing sub band
detection.
Sample size ,N
4
x 10
-
Rayleigh Fading
Figure 5. Sample size versus Pd, at different values of probability of false alarm
SNR versus Probability of detection
1
0.9
In this case the received signal reaches the cognitive user or the secondary user after passing through a Rayleigh faded channel. In such a fading environment, spectrum sensing would be hindered by the uncertainty
0.8
Probability of detection, Pd
Probability of detection, Pd
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
window size = 10
window size = 50
window size = 100
resulting from channel randomness. In such cases, a low received energy may be due to faded primary signal rather than unoccupied signal space [13], [14]. This would result in larger interferences to the primary users. As mentioned in Section 3.2, in a fading environment, the distributions and probabilities vary from the case of the non fading environment and the SNR can exhibit various different distributions. A fundamental parameter that determines the quality of detection is the average SNR, which mainly depends on
-24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4
SNR in dB
Figure 6. SNR versus Pd, for various window sizes.
the primary users distance to the secondary users as well as its transmitted power. In Fig. 9, the proposed method is compared with conventional energy detector under Rayleigh fading. From the Fig. 9, it is clear that
the proposed method outperforms the conventional energy detector and it satisfies the probability of detection criterion for CR devices at low SNRs.
SNR versus Probability of detection under Rayleigh fading
1
0.9
0.8
Probability of detection, Pd
Probability of detection, Pd
0.7
0.6
-
A. Sonnenschein and P. M. Fishman, Radiometric detection of spread spectrum signals in noise of uncertainty power, IEEE Transaction Aerospace Electron. Syst., Vol. 28, No. 3, July 1992.
-
D. Cabric, A. Tkachenko, R. W. Broderson, Spectrum sensing measurements of pilot, energy and collaborative detection, in Proc. MILCOM, October 2006.
-
H. S. Chen, W. Gao, D. G. Daut, Signature based spectrum sensing algorithms for IEEE 802.22 WRAN, in Proc. IEEE ICC, June 2007.
-
W. A. Gardner, Exploitation of spectral redundancy in cyclostationary signals, IEEE Signal Process. Mag.
0.5
0.4
0.3
0.2
0.1
0
proposed method conventional ED
Vol.8, No. 2, April 1991.
-
N. Han, S. H. Shon, J. O. Joo, J. M. Kim, Spectral correlation based signal detection method for spectrum sensing in IEEE 802.22 WRAN systems, in Proc. Int. Conf. Advanced Comm. Technology., Phoenix Park,Korea,Feb.2006.
-
S. M. Kay, Fundamentals of Statistical Signal Processing: Detection Theory, Vol.2, Englewood Cliffs,
-22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 0
SNR in dB
Figure 9. Comparison of performance of DVB-T signal detection for conventional
energy detector and proposed energy under Rayleigh fading (Pfa = 0.1)
-
-
-
Conclusions
Energy detection is an attractive spectrum sensing technique for CR because of its low complexity and ease of implementation. Moreover, it does not require any information about the primary user signal and is robust to channel, delay, frequency offset and timing uncertainty. However, its performance degrades in the presence of noise uncertainty. Thus an alternative energy detector using a window function is introduced to reduce noise fluctuations and perform efficient signal detection. Moreover identification of the existence of multiple users in the sub bands of a wideband signal is also facilitated in this method. The simulation results show that the proposed technique performs efficiently in fading s well as noisy channels and even in the presence of noise uncertainty. It is also seen to meet the required target probability of detection for CR devices. Extending this technique to the cooperative method of spectrum sensing will be the subject of future work.
-
References
-
S. Haykin, Cognitive Radio : Brain-empowered wireless Communications, IEEE Journal on selected areas of Communications, Vol. 23, No. 2, Feb 2005.
-
H. Urkowitz, Energy Detection of Unknown Deterministic Signals, Proceedings of the IEEE, Vol. 55, No. 4, April 1967.
-
R. Tandra, A. Sahai, Fundamental limits on detection in low SNR under noise uncertainty, in Proc. WirelessCom, Maui, HI, June 2005, pp. 464-469.
NJ: Prentice-Hall, 1998.
-
R. Tandra, A. Sahai, SNR walls for Signal Detection, IEEE Journals of Selected Topics in Signal Processing. Vol. 2, No. 1, February 2008.
-
A. V. Oppenhiem, R. W. Schafer, J. R. Buck, Discrete- Time Signal Processing , Prentice Hall, 1999.
-
F. F. Digham, M. S. Alouni, M. K. Simon , On the Energy Detection of Unknown signals over Fading Channels, IEEE Proceedings, 2003.
-
K. Arora, A. Kansal, K. Singh, pComparison of Energy Detection Based Spectrum Sensing Methods Over Fading Channels in Cognitive Radio, Signal Processing: An International Journal(SPIJ), Vol. 5, Issue 2, 2011.
-
Y. Li, Y. Zhang, H. Zhang, Primary Signal Detection over Rayleigh Fading Channel for Cognitive Radio, International Conference on Uncertainty Reasoning and Knowledge Engineering , 2011.
-
D. C. Oh and Y. H. Lee., Energy Detection Based Spectrum Sensing for Sensing Error Minimization in Cognitive Radio Networks, International Journal of Communication Networks and Information Security.
Vol. 1, No.1 , April 2009
-
E Cho,On optimum sensing time over fading channels of cognitive radio system, Master thesis,Altoo Univesity, Espoo, Finland , October 2010.
-
Y. Zeng, Spectrum-Sensing Algorithms for Cognitive Radio Based on Statistical Covariances, IEEE transactions on Vehicular Technology, Vol.58, No.4, May 2009.
-
Y. Zeng, Eigenvalue- Based Spectrum Sensing Algorithms for Cognitive Radio, IEEE transactions on Communications, Vol. 57, No. 6, June 2009.