Professional Documents
Culture Documents
Abstract—Cognitive Radio has arrested the attention of detector is the energy of the input signal over a certain time
researchers for the simple reason of optimum utilization of interval [6, 7].
available spectrum of wireless communication in the recent
scenario. The spectrum sensing by energy detection is one of the The presence or absence of a primary user is usually
techniques for detecting spectrum holes. This paper revisits the formulated by the probability statistics of detection.
existing energy detection technique. The influence of dynamic
Let us assume that Ns is total number of samples during
threshold and noise uncertainty factor on performance
parameters of a communication system namely: probability of
sensing time. The average power of the (input) received signal
detection and probability of false alarm is studied and an attempt R(n) is known and noise is White Gaussian in nature with
has been made to deduce significance of their ratio on the sensing variance as ın2 . The test statistic of the energy detector is
technique. An empirical relationship between the sampling considered as:-
number and SNR is also proposed based on the computations 1
¦ s R(n)R(n)
N −1
D(R) = (1)
and tabulation using simulated results through MATLAB.
N s n =0
Keywords— Cognitive radio, spectrum sensing, energy
detection, probability of detection, probability of false alarm, where D(R) refers to decision variable and Ȗ is decision
sampling number, dynamic threshold variable threshold [7]. The decision variable or the test
statistic is compared to a threshold to detect the presence or
I. INTRODUCTION absence of the primary signal. The performance of all
Detection of available frequency spectrum or “spectrum spectrum sensing techniques can be analysed and indicated by
sensing” is of utmost importance and supposedly the first step two probabilities i.e. the probability of detection (PD) and the
towards Cognitive Radio Implementation [1-3]. There are probability of false alarm (PFA).
number of spectrum sensing techniques that examine the
availability of the frequency spectrum. Among them, energy Here, Probability of Detection (PD) is defined as the probability
detection technique involves estimation of energy of the that the sensing algorithm has successfully detected the
received signal at Cognitive Radio Receiver. The estimated presence of the primary signal and Probability of False Alarm
sensed energy is then compared with a set threshold to signify (PFA) is the probability that the sensing algorithm asserts to
the presence or absence of primary signal [3, 5]. detect the presence of the primary signal even when the
This paper reviews the background work of the existing primary signal is absent but falsely driven by noise.
energy detection techniques for spectrum sensing. The effect of
dynamic threshold and noise uncertainty on the performance of The expressions for the performance analysis parameters
detection technique [6] has been investigated through from central limit theorems are given [6] as:-
MATLAB simulation. Further, an attempt has been made to
formulate the empirical relationship between sampling number § ·
¨ ¸
and SNR for energy detection technique. ¨ Ȗ − ı 2n ¸ (2)
PFA =Q¨ ¸
¨ 2 ı2 ¸
¨ N n ¸
II. SYSTEM MODEL © S ¹
Normally in most of communication systems, the noise is
assumed to be Gaussian with zero mean, and has band limited
power spectrum density [6, 7]. The output of the energy
§ ·
¨ ¸
(
¨ Ȗ − P + ı 2n ¸
PD = Q ¨
) (3)
C. Noise Uncertainty& Dynamic Threshold
¸
¨ 2 (P + ı 2 ) ¸
¨ N n ¸
© S ¹ In above cases, we have taken noise uncertainty and dynamic
where Q (.) is the Standard Gaussian Complementary threshold factor separately. Let us combine both these factors
Cumulative Distribution Function (CDF) and P is the average for finding probability of detection. The performance
signal power. Computing Ȗ threshold in terms of PFA & PD parameters PD & PFA are computed by modifying equation (2)
from (2), (3) we get, & (3). In the expression for PD of (3), the factor (P+ ın2) is
replaced by (P+ ın2/ ȡ) & Ȗ as Ȗ/ȡ’. For PFA of (4), ın2 is
replaced as ȡın2 & Ȗ as ȡ’Ȗ. The sampling number or the
2 2
Ȗ = Q −1 (PFA ) ı 2n + ı 2n = Q −1 (PD )(P + ı 2n ) + ( P + ı 2n ) sensing duration is now expressed in terms of ȡ’ (dynamic
Ns Ns threshold) & ȡ (noise uncertainty) as:
(4)
Ns = 2 [(ȡ/ ȡ') Q-1 (PFA) – ȡ'(1/ ȡ + SNR) Q-1 (PD)] 2 [ȡ'SNR +
-1
where Q (.) is the inverse standard Gaussian
ȡ'/ ȡ – ȡ/ ȡ')]-2 (8)
Complementary CDF. Ns is expressed in terms of PFA, PD &
SNR, Probability of detection (PD) and probability of false alarm
(PFA) are related as given by
[
N S = 2 Q −1 (PFA ) − Q −1 (PD )(1 + SNR) / SNR 2 ]
2
(5) ª ρ −1
« Q (PFA ) -
Ns ρ' ρ º
(ȡ' SNR + − ) »
ρ ' 2 ȡ ρ' »
PD = Q «
SNR = P/ın2 is the signal-to-noise ratio. It may note that the « 1 »
« ρ ' (SNR + ) »
expression of Ns in (5) is free from the variable Ȗ (decision ¬ ȡ ¼ (9)
threshold).
A. Noise Uncertainty It is observed that (8) & (7) incorporate the ratio of dynamic
threshold factor (ȡ') to noise uncertainty factor (ȡ) also.
(6)
Energy detection algorithm which involves fixed threshold
offers degraded performance with noise uncertainty. This
indicates that the dynamic threshold would yield better
performance in presence of noise uncertainty [8, 9].
B. Dynamic Threshold
The dynamic threshold factor ȡ’ (ȡ ‘ 1) has been introduced
in such a way that threshold Ȗ lie in the interval [Ȗ/ȡ’, ȡ’Ȗ],
instead of remaining constant [6]. In a way similar to the case
of noise uncertainty showed in the previous section, Ns may
expressed as Fig. 1 Variation of Probability of Detection (PD) with SNR for different values
of Number of samples
[ ][ 2
N s = 2 Q −1 ( PFA ) − ρ '2 (1 + SNR )Q −1 ( PD ) ρ '2 SNR + ( ρ '2 − 1) ]−2
(7)
378
2014 International Conference on Signal Processing and Integrated Networks (SPIN)
Thus, neglecting the effect of noise uncertainty (i.e. ȡ = 1) four Let us now try to derive an empirical relation between SNR
different sample points with values Ns =10, Ns =100, Ns =2000 and Ns, through a linear regression technique. The equation is
and Ns =5000 over SNR range of -20 to 5 dB are considered. of the form f(x) = p1x + p2. Table 1 shows the polynomial
With above values, the graph of probability of detection vs. coefficients for PD = 0.5, 0.7 and 0.9 in descending powers.
SNR has been plotted through MATLAB. As discussed in
Section II (A), the energy detector model without noise TABLE I. LIEAR FIT COOEFFICIENTS FOR PROBABILITY OF DETECTION
uncertainty yields a performance as depicted in Fig. 1, the (PD) = 0.5, 0.7, 0.9
simulated graph of SNR values on X-axis and probability of
Coefficients of Linear fit
detection on Y-axis for different number of sample points Ns PD
(Ns=10, Ns=100, Ns=2000 and Ns=5000). p1 p2
It is observed in Fig. 1 that for a fixed value of SNR, the 0.5 -0.501 5.18
probability of detection is improved by increasing the number
0.7 -0.5165 6.749
of samples. It is also, observed in Fig. 1 that i.) At very low
values of Ns (small sampling number), the PD does not 0.9 -0.5249 8.201
increases significantly even with increasing SNR. ii.) As Ns
increases, there is a significant increase in PD even at low
values of SNR. Thus, the optimum detection at low SNR
values would require higher sampling number or sensing Figs. 3 shows typical the linear fit and the corresponding
duration for a case without noise uncertainty factor. original data points for PD = 0.5 with dots while the solid line
represents the computed data regression line.
Now, from Fig.1 we attempt to find a correlation between
the SNR and number of samples. For this purpose, we generate
many more number of graphs (not shown in the Fig.1 for
brevity) corresponding to different sampling number ranging
from 100 to 20000 with varying interval. So, that one gets
more data corresponding to a fixed value of PD.
379
2014 International Conference on Signal Processing and Integrated Networks (SPIN)
performance. Here, Ns=1000 at varying SNR values and C. With Dynamic Threshold
ȡ=1.12. The simulated results clearly depicts that the
performance of sensing technique is very sensitive to noise
Enhancement of the performance of a energy detector
uncertainty.
technique by introduction of concept of dynamic threshold (ȡ')
has been illustrated in Fig. 7 for Ns=1000. It is observed that
i.) when ȡ' =1, (fixed threshold), PD is low and increases only
at higher SNR values. ii.) The probability of detection is
greatly improved as the value of ȡ' is increased even at low
SNR. Introduction of dynamic threshold helps in improvement
of performance.
.
380
2014 International Conference on Signal Processing and Integrated Networks (SPIN)
IV. CONCLUSIONS
REFERENCES
381