Abstract: In the cognitive radio, spectrum sensing is the first task to check the presence of licensed users.
Among the different approaches of spectrum sensing, energy detection (ED) is the easiest approach in
terms of computational complexity which requires less prior information. In this paper, energy detection
(ED) is considered under a typical fading unknown as channel and white Gaussian noises. Introducing an
idea of auxiliary noise variance estimation for the absence of prior knowledge of noise power, Hybrid
Energy Detection-1 (HED1) / Hybrid Energy Detection-2 (HED2) approach of signal detection is set
forth. For HED1, noise variance is estimated in S auxiliary noise only slots and for HED2 noise variance
is estimated in S auxiliary slots which are declared only noise signal slots by ED. The detection
performance of the considered methods are derived and expressed by analytical formulas. The impact
of noise estimation accuracy on the performance of ED is compared based on Receiver Operating
Characteristics (ROC) curves and Performance Curves. This study shows that the performance of ED can
be increased in terms of ROC performance even in low SNR by increasing the number of samples
considered for noise variance estimation.
2. SYSTEM MODELING
In our system model, we consider a single sensor Energy
Detector which senses and decides the presence or
absence of the primary signal within a defined spectrum
band W. In a given sensing time interval T, the Energy
Detector calculates its detection statistic taking N
samples of received signal . Let
(1)
be the received vector at an arbitrary sensing
interval T, where the element is the discrete
baseband complex sample at the receiver at time . Now
the spectrum sensing problem using Energy Detection
can be viewed as a binary detection problem. The
decision of the Energy Detector is the test of the
following hypothesis.
(2)
Where,
n = 1, 2, 3N, represents the samples (detection
period).
is the received signal vector at the sensor and is
a channel vector which is assumed to be constant and
memory less within the sampling interval,
is the primary signal vector,
, which is assumed
to be Complex Gaussian Distributed signal with zero
mean and variance having flat band limited power
spectrum density PSD:
is noise vector,
also assumed to be
Complex Gaussian Distributed Noise signal with
zero mean and variance : .
[Note: is the notation for Complex Normal
Distribution Random Variable and is the Real Normal
Distribution Random Variable]
Using the information of the received signal vector to
develop a test statistic , which is the measure of the
average energy of the received signal over a sensing
interval N, the detector compares against a
predefined threshold . If then it decides in favor (10)
of Null Hypothesis otherwise in favor of Alternate
Hypothesis . The average energy of the received
signal
B. Hybrid Energy Detection
vector normalized by the noise variance can
be
represented as, In HED, Noise Variance is estimated on L auxiliary
noise
(3) only slots and supposing the noise variance is constant
over the adjacent slots, we perform independent noise
estimation in auxiliary noise only slots where we are
A. Energy Detection sure that the primary signal is absent. Since we are sure
that there is only noise in each slots, noise variance
can
In energy detection we compare the calculated decision be estimated by using all the samples. Consider
statistic of the sample with the predefined threshold. The a
detection statistic is obtained by integrating the energy sampling window of length M before and adjacent to the
of the signal over certain time interval T. detection window which is containing only the noise
samples for sure. Then the estimated noise variance from
the noise only samples using a Maximum Likelihood
noise power estimate can be written as,
Figure 1: Energy based detector (11)
For Null Hypothesis rearranging the above equation (3) denotes that the noise only samples are adjacent to
using , we get, the detection window. If the estimated variance is
constant, the estimation can be averaged over S
(4)
successive noise- only slots. Thus, above equation (11)
The decision statistic for null hypothesis can can be modified by averaging over S successive noise-
only slots as,
be (12)
summarized as Chi Square Distribution with 2N degrees
of freedom scaled by the factor . Now the Energy Detection Test statistics using equation
(12) becomes,
(5)
(13)
Similarly for Alternate Hypothesis, considering the
channel coefficient as a constant value rather than a Here denotes the detection statistics for the Hybrid
vector and rearranging the equation (3) using Energy Detection scheme and the statistical
, we summarize the decision statistics as, distribution of depends upon the particular
estimation technique considered. Moreover equation (13)
(6) can be considered as the parametric likelihood ratio test
when the signal to be detected is assumed to be Gaussian
with zero mean and variance . Now for Null
A numerical study shows that Energy Detection ROC
Hypothesis rearranging the above equation (13) using
curve based on chi-squared distributions may be
and equation (11), we get,
accurately represented by binomial receiver operating
characteristics (ROC) curves. This allows the detector (14)
accuracy and the ROC shape assymetry to be expressed
simply in terms of distribution parameters[5]. The Summarizing the result of decision statistics ,
probabilities of false alarm Pf and probability of detection
Pd for a given threshold energy is given by, it
follows the F-Distribution for both the hypothesis
(7) with
different scaling factor.
(8)
(9) M
are made sufficiently large, the F-Distributed Random
Variable in equation (15) converges to a Gaussian
distribution [23]. It gave two approximation models
where both transform the C-CDF of F-Distributed
Random Variable to a Q-function with different
parameter. In figure 2, we have plotted the Mean Square
Error (MSE) of the approximation considering of
(19)
distributions as a comparison criteria for varying N and
found that the approximation shows perfect result for N
greater than 40. It also shows that the MSE is nearly
zero, i.e. the Gaussian approximation is perfectly true C. Hybrid Energy Detection-2
for N >
40, which indicated that the degree of freedom In HED2, Noise Variance is estimated on S
greater than 40 is sufficient for approximating Chi auxiliary
Squared Distribution of the detection statistic to a noise only slots which are declared noise only by ED.
Gaussian distribution. Supposing the noise variance is constant over the
adjacent slots, we perform independent noise
-4
6
x 10
estimation in auxiliary noise only slots which are
declared by ED by considering a sampling
5 window of length M before and adjacent to the
detection window containing only the noise samples.
4
Optimum performance of Energy detection technique can
Mean square error
0.9
After certain mathematical procesiing using equation
(24), we get 0.8
0.7
Detection probability Pd
(25) 0.6
0.5
0.4
Similarly, for the same threshold level
the probability of detection is given by, 0.3
0.2 N = 20
N = 50
0.1 N = 100
N = 200
Following the same line of reasoning and using 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
below.
Figure 3: ROC plot of Energy Detection with SNR = -10dB for
varying number of samples
(26)
N = 400, SNR = -10dB
1
0.6
used in the decision making by comparing the detection
statistic with the threshold value. In context of Energy
0.5
Detector, the detection statistic can be obtained by
0.4 integrating the energy of the signal over certain time
0.3 interval T. The analysis of semi-blind spectrum sensing
algorithms, especially, ED is carried out in context to
CRN. The analysis is then extended to hybrid
approaches of ED with analytical expressions for the
performance
0.2 S=1 parameters, PD and PFa is derived for each algorithms.
S=2
0.1 S = 10 Impact of noise variance estimation on ED was
0 carried out based on ROC curves and Probability of
detection vs
-16 -14 -12 -10 -8 -6
SNR (dB)
-4 -2 0 2 4
SNR curves. The results showed that the effect
of
Figure 5: Probability of detection vs SNR for Hybrid Energy fluctuation of noise variance estimate from nominal
Detection value is severe in case of small number of auxiliary
slots used for the estimation of noise variance. High
detection
HED2 Analytical HED2 Analytical taken to calculate decision statistics and the proper
0.8 0.8
HED Analytical HED Analytical detection rate decreases simultaneously with
Mis-Detection Probability
Mis-Detection Probability
ED Analytical ED Analytical
0.6 0.6
lower
0.4 0.4 number of samples considered to calculate the decision
0.2 0.2 statistics. Increase in SNR also increases the detection
0 0
probability but it is not always possible to have higher
value of SNR in real scenario. Even at low SNR, the
(Pm)
(Pm)
-10 -5 0 5 10 -10 -5 0 5 10
SNR in dB SNR in dB
performance of ED, HED and HED2 is better in regards
1 1
HED2 Analytical HED2 Analytical
considered to calculate the decision statistic.
0.8 0.8
HED Analytical HED Analytical
Mis-Detection Probability
Mis-Detection Probability
(Pm)
0 0
-10 -5 0 5 10 -10 -5 0 5 10 Technology, Atlanta, GA 30332, United States, Next
SNR in dB SNR in dB generation/dynamic spectrum access/cognitive radio
Figure 6: plot of Single Sensor Hybrid Energy wireless
networks: A survey Received 2 January 2006; accepted 2 May
Detection-2 for Gaussian Approximation of the Decision 2006
Statistics for N = 10, S = (2, 10, 20, 50), M = 10, SNR =
[2] J. Mitola & G.Q. Maguire, Royal Institute of Technology
-10dB to 10 dB, and false alarm probability pf = 0.1. Cognitive Radio: Making Software Radios More
Personal, IEEE Personal Communication, August 1999
Figure 6 illustrates the simulation of Single Sensor
HED2 [3] H.Urkowitz, Senior Member, IEEE Energy Detection of
ROC curves when the noise variance is Unknown Deterministic Signals, Proceedings of IEEE, Vol.
55, No 4, April 1967
independently estimated by applying the obtained
equation over S auxillary only noise slots determined by [4] C.Selami & M. Torlak, Dept. of Electrical Engineering,
University of Texas at Dallas,A Comparison of Energy
ED and the estimate is used in equation (3) for all Detectability Models for Spectrum Sensing , 2008, IEEE
other slots recursively. For generating the HED2
performance curve, ED parameters within HED2 are, N [5] V.I Kostylev, Voronezh State University, Universitetskaya,
Energy Detection of a Signal of Random Amplitude, 2002 IEEE
= 10, pd_ed = 0.5, assuming signal probability 0.5 and
noise probability 0.5. Since, there is a chance of [6] F.F. Digham, M.S Alouni and M.K. Simon On the Energy
Detection of Unknown Signals over Fading Channels,
misdetection in case of HED2, performance of HED2 is Department of Electrical and Computer Engineering, University of
slightly lower than HED but still no visible difference Minnesota
can be noted in extreme high or low SNR values. With
the increase of the number of slots
[7] Y. Zhuan, M. Gokhan, G.John , Wireless Solution Research [11] Y. Zeng, Y.C. Liang, A.T Hoang, Y. Peh, Reliability of
Center, Motorola Labs, Schaumburg, II, USA Department of Spectrum Sensing Under Noise and Interference Uncertainty,
EECS, Northwestern University, Evanston, II, USA, Energy Communications Workshop, 2009. ICC Workshops 2009. IEEE
Detection using Estimated Noise Variance for Spectrum International Conference on, vol., no., pp.1,5, 14 -18 June 2009
Sensing in Cognitive Radio Networks, 2008 IEEE doi: 10.1109/ICCW .2009.5208033
[8] V.I Kostylev, Energy detection of a signal with random [12] V. Valenta, R. Marlek, G. Baudoin, M. Villegas, M. Suarez,
amplitude, Communications, 2002. ICC 2002. IEEE and F. Robert, "Survey on spectrum utilization in Europe:
International Conference on , vol.3, no.pp.1606,1610 vol.3, 2002 Measurements, analyses and observations," in Fifth International
doi: Conference on Cognitive Radio Oriented Wireless Networks &
10.1109/ICC.2002.997120 Communications (CROWNCOM 2010), 2010
[9] A. Mariani; A. Giorgetti, M. Chiani, SNR Wall for Energy [13] Z. Khalaf, A. Nafkha, J. Palicot , Enhanced hybrid spectrum
Detection with Noise Power Estimation, Communications (ICC), sensing architecture for cognitive radio equipment, General
2011 IEEE International Conference on , vol., no., pp.1,6, 5 -9 Assembly and Scientific Symposium, 2011 XXXth URSI ,
June 2011 doi: 10.1109/icc.2011.5963367 vol., no., pp.1,4, 13-20 Aug. 2011 doi:
10.1109/URSIGASS.2011.6050528
[10] Kalamkar, S. Sanket, Banerjee, Adrish, On the performance of
generalized energy detector under noise uncertainty in [14] F. Moghimi, R. Schober, R.K Mallik, Hybrid Coherent/Energy
cognitive radio, Communications (NCC), 2013 National Detection for Cognitive Radio Networks, Wireless
Conference on , vol., no., pp.1,5, 15-17 Feb. 2013 doi: Communications, IEEE Transactions, vol.10, no.5,
10.1109/NCC.2013.6487927 pp.1594,1605, May 2011
doi:10.1109/TWC.2011.030411.100973