- Open Access
- Total Downloads : 373
- Authors : Pranav Patel, Arpita Patel
- Paper ID : IJERTV4IS050358
- Volume & Issue : Volume 04, Issue 05 (May 2015)
- DOI : http://dx.doi.org/10.17577/IJERTV4IS050358
- Published (First Online): 16-05-2015
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
The Harvest of Energy Detection Adjunct Spectrum Sensing is Analyzed using ROC Curves
1Pranav Patel,2Arpita Patel
1Post Graduate Student, 2Assistant Professor, Charotar University of Science and Technology, Changa-388421, Gujarat, India
AbstractThe rapid usage of wireless-communications in personal,commercial and governmental capacities, efficient spectrum utilization has become a prime topic of interest. Most of the licensed bands suffer from under-utilization and less spectral occupancy of spectrum. Cognitive radio technology promising solution to the problem of low spectral occupancy and inefficient utilization of the licensed radio spectrum. A prime constituent of the cognitive radio technology is spectrum sensing. Energy detection (ED) is one of the popular spectrum sensing technique for cognitive radio. In this paper show that performance of the ED technique was evaluated by use of ROC curves over AWGN channels. Simulation results show that the detection probability increase significantly when SNR increase. It is also observed that the signal can be detected even in very low SNR region by increasing no of samples (N)when the noise power is perfectly know.
Index TermsCognitive Radio (CR),Energy detection (ED), Probability of detection (PD), Probability of false alarm (PFA), Threshold selection, Receiver operating characteristics (ROC).
-
INTRODUCTION
In last few decades a booming growth is experienced in the Wireless Communication [1], due to increase in the wireless device count, the radio spectrum is becoming increasingly congested. Devices based on wireless standards and technologies will remain increasing in future, which in turn will lead to spectrum scarcity in wireless communication. The limited availability of spectrum has become a bottleneck in the fulfillment of the consumers demand. The Federal Communication Commission (FCC) [2] report has shown that spectrum scarcity is mostly due to under-utilization of licensed spectrum. The licensed bands are exclusive usage band which provides protection against interference from other radio systems. It is observed that around 90-95% of the licensed radio spectrum is not in use at any location at any given time. The under-utilization of licensed spectrum has led to the problem of artificial spectrum scarcity.
In order to overcome the inefficient spectrum utilization and to meet the increasing demand has led to the coining of new concept Cognitive Radio. The Cognitive Radio is a technology which efficiently utilizes the licensed spectrum without causing any harm to the licensed users. It searches the licensed frequency bands for unused spectrum, and uses them efficiently. The unused licensed spectrum is also known as
white spaces [1, 3].
A main component of the CR technology is spectrum sensing. Spectrum sensing allows CRs to be aware of the surroundings environments by determining which frequencies are in use. A number of various methods are proposed for identifying the presence signal in transmissions. The prominent spectrum sensing techniques used are energy detection (ED), matched filter detection (MFD), cyclo-stationary detection. A comparative study of these schemes reveals that energy detection (ED) is the most extensively used spectrum sensing scheme because it's not required any a priori knowledge about the primary user (PU) characteristics. It`s straightforward to implement, and has low computational complexity while being excellent for detecting independent & identically distributed (IID) primary user (PU) signals.
Sensing the performance of the energy detector is specified by the following general metrics: The probability of detection (PD), the probability of false alarm (PFA), the probability of missed detection (PM). In essence, the energy detection based spectrum sensing method should record a high probability of detection, low miss detection probability and low probability of false alarm. The receiver performance is quantified by depicting the receiver operating characteristics (ROC) curves. ROC graphs are employed to show trade-offs between detection probability and false alarm rates, thus allowing the determination of an optimal threshold. To plot ROC curves, one parameter is varied while the other is fixed.
This paper is organized as follows: In section II explains the energy detection (ED) system model & derivation ofprobability of detection (PD) and probability of false alarm (PFA) under the AWGN channel. In Section III describes the simulation result and comments. Finally,in Section IV concludes the entire research work carried out.
-
COGNITIVE RADIO
The system model for energy detection which is used to identify the presence or absence of primary signal is shown below in Fig. the received signal x(t) is filtered by a band pass filter (BPF), followed by a square law device. The output signal of band-pass filter used to limit the noisepower and to normalize the noise variance with bandwidth W is squared and integrated over the observation time T. Eventually, the output of the integrator (also called decision statistic) u, is compared with a threshold , to decide whether a scanned band is vacant (H0) or occupied (H1).The decision statistic for ED technique is given as:
N
v x2 (k )
k 1
(1)
from specific PD or from specific PFA.The appraisal treating of the detection threshold from the PFA is called CFAR (Constant false alarm rate). In CFAR doesnt require the channel SNR information to be known [6]. The appraisal treating of the
Analytically, determining the sample signal x(t) is reduced to an identificationproblem, formalized as an hypothesis test; H0 and H1. H0 implies an absence of the signal, whereas H1 denotes presence of the signal.
This is described as:
x(k) = n(k) H0
(2)
= h s(k) + n(k) H1 , k = 1, . , N
Where , x(k) is the received signal sample to be analyzed at
detection threshold from the PD is called CDR (Constant detection rate). From the result of equations the derivation of the threshold is very identical for CFAR & CDR. In this paper, we consider CFAR method is taken for detection threshold () selection.
As discussed in energy detection system model, the probability of false alarm & detection depend on the probability of density function (PDF) of the test statistic under H0& H1 respectively. In the following, we explain the exact derivation of PFA and PD under the AWGN channel.
n
each instant k, n(k) represents the (AWGN) additive white Gaussian noise with zero mean and variance 2 , s(k)
-
Exact derivation of Probability of false alarm (PFA AWGN:
) under
represents the PU transmitted signal sample which is to be detected and h is the channel gain between the primary signal transmitter and the detector. N denotes the number of samples of observed signal of bandwidth W for T seconds, mathematically given by N = 2TW = 2m, where mrepresents the time-bandwidth product. This is a binary signal detection problem in which cognitive radio (CR) has to decide between two Hypothesis, H0 (band vacant) and H1 (band occupied).
The performance of ED measured by two metrics sensitivity (probability of detection) and specificity (Probability of false alarm): probability of false alarm (Pfa), which denotes the probability that the detection algorithm falsely decides that PU is present in the considered frequency band when it actually is unavailable, & probability of detection (Pd), which represents the probability of correctly detecting the PU signal
The additive white Gaussiannoise (AWGN) is a channel model where the onlyimpairment in communication is noise; with a constant spectral density. These models do not account for channel impairments.
n
n
n
n
From eqn (2) under hypothesis H0, x(k) = n(k) ~ N(0, 2 ), where n(k) is assumed to Gaussian noise with zero mean and variance 2 . The test statistic v is the sum of square of N Gaussian random variables (RVs), each with zero mean & variance 2 . So, test statistic v normalized with 2 is
known as a central chi-square distribution with N degrees of freedom [7]. It is represented as:
1 N 1 2
H0: 2 v ( 2 n(k))
in the scanned frequency band [4]. Probability of false
alarm(Pfa) and probability of detection (Pd) are mathematically represented by: N
n k 1 n
Pfa Pr (signal is detected/H0 ) Pr (v /H0 )
f (v/H0 )dv
(3)
(z(k))2
k 1
N
~ 2
where z(k) ~ N(0,1)
(5)
(6)
f ( 1
v/H
) 2
Pd Pr (signal is detected/H1 ) Pr (v /H1 )
f (v/H1 )dv
(4)
Used these Equation into (3) show that 2 0 N ,
n
PFA is represented as:
Pfa
Pr (v /H0)
Where,f(v|Hi) represents the pdf of test statistic under hypothesis Hiwith i= 0, 1. So our target at maximizing PD while minimizing PFA. ROC graphs are employed to display trade-offs between detection probability(PD) and false alarm rates(PFA). ROC curve mainly depends on the threshold().
P ( 1 v 1 /H )
r 2 2 0
n n
1
f ( 2 v/H0 ) dv
(7)
The threshold determines all performance metrics, PD, PFA n
n
and PMD.When the threshold () increases (or decreases), both 2
PFand PDdecrease (and increase) [5].Thus threshold ()
selection can be seen as a vital problem to balance the two contrary objectives (i.e., increase Pdwhile decreasePfor vice- versa).The detector`s threshold value is determined either
Q 2 ( )
2
N
n
(8)
Where, Q 2
N
2
(
)
2 denoted the right-tail probability for a
n
Where, (, ) is the incomplete Gamma function, it is
defined by (, ) x1ex dx .
N random variable (RVs) and represented the threshold.
n
The threshold () depends on the noise variance( 2 ).
Now the resulting probability density function (PDF) of 2
The energy detection (ED) threshold () for CFAR is derived from equation (11) as [7]:
2 1
N 2n Fm
(Pfa )
(12)
random variable can be determined.
N
We early discuss 2 random variables is a central chi-square
distribution. So, according to general PDF equation of central chi-square distribution as:
From equation threshold depend on the number of observed samples (N), noise variance ( 2) & probability of detection (PFA).So the value of threshold () is not related to SNR.From equation PFA depends on two parameters: time-bandwidth product (m) and the threshold ().Typically, PFA is given a
f X ( x)
1 xN
2 1e
x
2 2 , x 0
value between10-1 102 . Time-bandwidth product (m=
n
2
N 2N 2 N
2WT) is between the range 1-25. For example, PFA<10 is
( )
2
Where in our case =1 re-write above equation as:
x
attained with m = 25 at 76 [8-10]. Since varies from 0 to 1, PFA is easily computed using(11) for a given m.
-
Exact derivation of Probability of detection (PD) under
1 N 1
f X ( x)
x 2 e 2
2N 2 ( N )
2
(9)
AWGN:
n
From equation (2) under hypothesis H1, x(k) = s(k) + n(k) ~
Now expressing PFA in the terms of probability density function (PDF) as:
N(A, 2 ).The test statistic v is the sum of square of N Gaussian random variables (RVs), each with mean A and
Pfa
2
2
x N 1e x
f X
2
n
( x) dx
variance 2 . So the distribution of the test statistic v follows
n
a non-central chi-square distribution with N degrees of freedom.The probability density function (PDF) of non- central chi-square distribution as:
Pfa
N dx
(10)
2 2 ( N )
N 2
( x c )
2 2 1 x 4 2
n
1
N
Dividing and multiplying by 2 2
above equation we get:
fX (x) 2 ( ) e
I N 1(
x c )
2
c
(13)
1
P
x N 1 x
N
Where, In (y) is the nth-order modified Bessel function. c is the non-centrality parameter given as:
2
fa 2 ( N )
2
n
( 2 ) 2
e 2 dx
N
( A )2 NA
2
c 2 2
(14)
k 1 n n
Now putting
x =t, dx dt & N =m, also changing the limits
And is the known as signal to noise ratio (SNR).
2 2 2
of above equations we get:
Pfa
1
(m)
(t)m1et dt
Now expressing PD in the terms of probability density function (PDF) as:
2 n
d X
2
2
2
(m, )
n
(m)
P f
2
n
(x) dx
F ( )
(11)
N 2
( x c )
2 c
n
N 1 c
(15)
m 2 2
1 ( x ) 4 e
2
n
2 I ( x )
2
Now substituting x=y2, c=a2,also changing the limits of above equations we get:
e
I
m y2 a2
Pd
y am1
2
n
2
m1
(ay) dy
Now, we are using the definition of generalized Marcum Q- function incomplete gamma function as:
2 2
x ( x ) 1e I
Q (, )
Therefore,
x
2
1
(x) dx
Pd Qm (a,
)
2
n
Figure 1. Probability of detection (Pd) vs SNR ROC curve for AWGN channel.
Qm (
Q (
c ,
N ,
)
2
n
)
Here, the probability of false alarm (PFA)is increased from
0.01 to 0.05 &N = 1000.From this plot, it is inferred that the performance of the energy detector improves with an increase in SNR and increase in probability of false alarm (PFA) respectively. It is shown in table 1 &2.
m 2 (16)
n
Where, m=N/2 is the time-bandwidth product, inferred to be an integer number.Using derivation of PD and PFA Receiver operating characteristics (ROC) shows the performance of the energy detector under the AWGN channel can be drawn.
-
-
SIMULATION RESULT AND DISCUSSION
In our experiment we use the Lenovo laptop with i3 2.5 GHz processor with Windows 8.1 operating system. All simulations in this work are executed using MATLAB version R2013a. We used Monte Carlo (MC) method for simulations. The receiver performance is decided by depicting the receiver operating characteristics (ROC) curves. These curves enable examination of the association between sensitivity (probability of detection) and specificity (false alarm rate), for different thresholds, thus allowing the determination of the best threshold.With the draw of Roc curves, one parameter is varied while the other is certain.This enables the practices of different scenarios of interest.
The plot of Probability of detection (PD) Vs SNR with varying values of probability of false alarm (PFA) in AWGN is ilustrated in figure 1.
Figure 2 shows the results for the performance metrics of ROC (Receiver operating Characteristics) plot of probability of detection (Pd) vs probability of false alarm (Pfa). Here we have taken probability of false alarm (Pfa) is 0-1 with increment of 0.05, N=1000 & the signal to noise ratio (SNR) at three different values -10dB,-12dB,-15dB. From this plot, it is inferred that the SNR (signal to noise ratio) increases the probability of detection (Pd) is increasing.
Figure 2.PdvsPfROC curve for various value of SNR.
Table 1. Improvement in Probability of detection(PD) with increase in Signal to Noise Ratio(SNR) in Energy Detection Method for AWGN Channel.
Probability of false alarm (PF)
Probability of detection (PD) (SNR= -15dB)
Probability of detection (PD) (SNR= -10 dB)
Improvement (In times)
0.01
0.1774
0.6987
2.9385
0.05
0.3211
0.8366
1.6054
0.1
0.4161
0.8862
1.1297
Table 2. Improvement in Probability of detection(PD) with increase in probability of false alarm (PFA) in Energy Detection Method for AWGN Channel.
SNR (in dB)
PFA=0.01
PFA=0.05
PFA=0.1
-15
0.1774
0.3211
0.4161
-14
0.2328
0.3867
0.4944
-13
0.3078
0.4769
0.5757
-12
0.4097
0.5955
0.6783
-11
0.5454
0.7108
0.7856
-10
0.6987
0.8366
0.8862
-9
0.8465
0.9345
0.9537
-8
0.9572
0.9815
0.9895
-7
0.9916
0.998
0.9994
-6
0.9996
0.9999
1
Figure 3 shows the results for the performance metrics of complementary ROC (Receiver operating Characteristics)
Figure 4 shows that ROC plot of probability of detection (PD) for different SNR and no of samples (N) under AWGN channel. Here we take the probability of false alarm (Pfa) is
-
& the no of samples (N) is changed to 1000, 1500, 2000. From this plot, it is inferred no of samples (N) increases the probability of detection (Pd) is increasing. It is shown in table 3.
Figure 4. ROC curve for various value of SNR &N.
Table 3. Improvement in Probability of detection (PD) with increase in no of samples (N) in Energy Detection Method for AWGN Channel.
SNR
N=1000
N=1500
N=2000
-15
0.4092
0.4804
0.5372
-14
0.4885
0.5671
0.6298
-13
0.5713
0.6754
0.7254
-12
0.6728
0.7764
0.8519
-11
0.7912
0.8794
0.9351
-10
0.883
0.9557
0.9834
-9
0.956
0.9901
0.9975
-8
0.9909
0.9996
0.9997
-7
0.9985
0.9999
1
plot of probability of miss-detection (Pm) vs probability of
false alarm (Pfa). Here we have taken probability of false alarm (Pfa) is 0-1 with increment of 0.01, N=1000 & the signal to noise ratio (SNR) at three different values -10dB,- 12dB,-15dB. From this plot, it is inferred that the SNR (signal to noise ratio) increases the probability of detection (Pd) is increasing &probability of miss-detection (Pm) is minimized at a fixed point of probability of false alarm (Pfa).
Figure 3.Pmvs Pf ROC curve for various value of SNR.
-
-
CONCLUSIONS
In this paper, we discuss energy detection based spectrum sensing method. We derive exact close form expression of probability of detection and probability of false alarm under the AWGN channel. The operation of energy detection (ED) techniques has been harvested using receiver operating characteristics curves (ROC). A Separate ROC curves such as Probability of detection (Pd) vs SNR plots, Probability of detection (Pd) vs probability of false alarm (Pfa), probability of miss-detection (Pm) vs probability of false alarm (Pfa) has been plotted over AWGN channel. Probability of detection is depends on a SNR& no of samples (N). When the SNR is increased probability of miss-detection decreases & Probability of detection (Pd) increases. The Probability of false alarm (Pfa) is an effect on the probability of detection (Pd). So the probability of false alarm (Pfa) is increased probability of detection (Pd) increases.
ACKNOWLEDGEMENT
We would like to thank Charotar University of Science and Technology for its constant and throughout support for our paper.
REFERENCES
-
Y. Xiao and F. Hu, Cognitive radio networks, CRC press, 2008.
-
FCC, "Second report and order and memorandum opinion and order," 2008.
-
Haykin, Simon. "Cognitive radio: brain-empowered wireless communications."Selected Areas in Communications, IEEE Journal on 23, no. 2 (2005): 201-220.
-
I. F. Akyildiz, W. Y. Lee, M.C. Vuran and S. Mohanty, NeXt Generation / Dynamic Spectrum Access / Cognitive Radio Wireless Networks: A Survey, Computer Networks Journal (Elsevier), vol. 50, pp. 2127-2159, 2006.
-
Atapattu, Saman, ChinthaTellambura, and Hai Jiang. Energy Detection for Spectrum Sensing in Cognitive Radio. Springer, 2014.
-
T. Yucek and H. Arslan. A survey of spectrum sensing algorithms for cognitive radio applications. Communications Surveys & Tutorials, IEEE, 11(1):116{130, 2009.
-
Umar, Raza, Asrar UH Sheikh, and Mohamed Deriche. "Unveiling the hidden assumptions of energy detector based spectrum sensing for cognitive radios."Communications Surveys & Tutorials, IEEE 16, no. 2 (2014): 713-728.
-
Urkowitz, Harry, "Energy detection of unknown deterministic signals," Proceedings of the IEEE, vol.55, no.4, pp.523, 531, April 1967.
-
Stevenson, C.; Chouinard, G.; Zhongding Lei; Wendong Hu; Shellhammer, S.J.; Caldwell, W., "IEEE 802.22: The first cognitive radio wireless regional area network standard," Communications Magazine, IEEE, vol.47, no.1, pp.130,138, January 2009.
-
F.F. Digham, M.S. Alouini and M.K. Simon, Energy Detection of unknown signals over fading channels, IEEE Transactions on Communications, Vol. 5, No.1, pp. 21-24, 2007.