Paper1 Jornal IJEIC
Paper1 Jornal IJEIC
Paper1 Jornal IJEIC
Abstract
The performance of a cognitive radio (CR) user is sometimes limited due to severe fading
or shadowing. In order to detect the primary user (PU) more accurately, we allow the
CR users to cooperate by sharing their information. In this paper we investigate
performance of single CR user and cooperative CR user based spectrum sensing (CSS)
using energy detector (ED) in channels such as Log-normal shadowing, Rayleigh and
Nakagami fading channels. Hard decision combining fusion rule (OR-logic, AND-logic
and MAJORITY-logic) is performed at fusion center (FC) to make the final decision
about the presence of PU. The performance of single CR user based spectrum sensing
scheme has been assessed in terms of missed detection (P m ) and false detection
probabilities (P f ). The performances of energy detector for different values of average
SNR are characterized through complementary receiver operating characteristic (ROC)
curves. Comparison among fusion rules has been investigated for a wide range of
average SNR values in Rayleigh and Nakagami fading channels. A simulation model
has been developed to evaluate performance of CSS in different fading environments.
The performance of CSS has also been studied for various data fusion rules in Log-
normal shadowing channel.
Keywords: Cognitive radio, energy detection, fading channels, fusion rules, detection
probability
1. Introduction
Cognitive radio (CR) technique has been proposed to solve the conflicts between
spectrum scarcity and spectrum under utilization [1]. It allows the CR users to share the
spectrum with primary users (PUs) by opportunistic accessing. The CR user can use the
spectrum only when it does not create any disturbance or interference to PUs.
Therefore, spectrum sensing is the key of cognitive radio technology since it needs to
detect the presence of PUs accurately and quickly. In many wireless applications, it is
of great interest to check the presence and availability of an active communication link
when the PU signal is unknown. In such scenarios, one appropriate choice consists of
using an energy detector (ED) which measures the energy in the received waveform
over an observation time window [2]. Spectrum sensing is a hard task because of
shadowing, fading and time-varying nature of wireless channels [3]. Due to the severe
multipath fading, a cognitive radio may fail to detect the presence of the PU. The
detection performance of a CR can be primarily determined on the basis of two metrics:
probability of false alarm, which denotes the probability of a CR user declaring that a
PU is present when the spectrum is actually free, and the probability of detection, which
15
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
2. System Model
The energy detection method is the common method for detection of unknown
signals in noise [2]. The block-diagram of an energy detector is shown in Figure 1. The
input band pass filter (BPF) selects the center frequency f c , and bandwidth of interest,
W.
BPF (.)2 T
(.)
X(t) 0
Decide
H0 or H1
16
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
The output of BPF filter is passed to a squaring device to measure the received
energy. Then an integrator is placed to determine the observation interval, T. Finally,
output of the integrator, Y, is compared with a detection threshold, to decide whether
the signal is present or not. We assume that each CR user employs same energy detector
and use the same threshold ( ).
where sin c( x) sin(x) and ni n( 2Wi ) . One can easily check that
x
ni ~ N (0, N 01W ), for all i. (3)
17
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
The noise energy can be approximated over the time interval (0, T), as [2, 11]:
T
1 2m 2
0 n 2
(t ) dt ni ,
2W i 1
(4)
ni
If we define ni , then the decision statistic Y can be written as [2, 11]:
N 01W
2m
Y ni 2 (5)
i 1
Y can be viewed as the sum of the squares of 2m standard Gaussian variates with zero mean
and unit variance. Therefore, Y follows a central chi-square ( 2 ) distribution with 2m
degrees of freedom. The same approach is applied when the signal s (t ) is present with the
replacement of each ni by ni si where si s( 2Wi ) . The decision statistic Y in this case
will have a non-central 2 distribution with 2m degrees of freedom and a non centrality
parameter 2 [2, 11]. We can describe the decision statistic in short-hand notations as:
2m , H 0 ,
2
Y ~ (6)
2 m (2 ), H 1 .
2
CR1
CR2
PU FC
CR3
CRN
18
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
Pd Qm ( 2 , ) f ( x)dx (9)
x
where f (x) is the probability density function (pdf) of SNR under fading.
f ( ) (1M ) M M
M 1
exp M , 0, (12)
where M is the Nakagami parameter. The average Pd in the case of Nakagami channel
( P dNak ) can be evaluated by substituting (12) in (9), here f (x) = f ( ) .
m1
P dNak G1 2/n2! 1 F1 ( M ; n 1; 2
n
M
) (13)
n1
where 1 F 1(.;.;.) is the confluent hyper geometric function ( (.,.;.)) [17, section 9.2],
1
( M ) 2M 1
M
M
, (14)
( M )
2
M
M
e / 2 , (15)
and
19
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
G1 2 M 1 M 1!
M
M
M
e
2 M
M
1
M
M
M
M 1
L
M 2
LM 1 2
M
M n
M n
2 M (16)
n0
where Ln (.) is the Laguerre polynomial of degree n [17, section 8.970]. We can obtain an
alternative expression for P dRay when setting M=1 in (13) and this expression is numerically
equivalent to the one obtained in (11).
3. Simulation Model
The simulation is developed in MATLAB using the following system parameters:
Time-bandwidth product, m = 5, average SNR, =10 dB and Q f 0.1 . To obtain the
fading channel power distribution one can rely on the amplitude/envelope distribution.
Let us assume that each multipath component (MPC) obeys an instantaneous fading
20
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
i. Generate a BPSK signal s(t) with 1, -1 up to 2TW samples and generate AWGN
signal n(t) with zero mean, variance N 01W i.e., N (0, N 01W ), here N 01 E s / .
ii. Received signal is x (t) = s (t) + n (t).
iii. Now x (t) is the input to BPF and output of squaring device is x2(t) and passes
2m
through integrator. Then the output of integrator Y is Y ni 2 (from equation
i 1
(5)).
iv. Detection threshold can be obtained for each specific value of Pf (from equation
(8)).
v. Compare Y with detection threshold .
vi. If Y is greater than , binary decision ‘1’ which indicates PU is present otherwise
binary decision ‘0’ which indicates PU is absent.
vii. The steps (i) to (vi) have been repeated for N number of CRs.
viii. Now each CR user has its own 1-bit binary decision (D), let H = DCR1 + D,CR2 +
DCR3…. + DCRN, then OR-logic fusion (if H>=1), AND-logic fusion( if H = N)
MAJORITY- logic fusion (if H >= N/2) are performed at FC.
ix. The steps (i) to (viii) have been repeated a large number of times and then the average
values of Qd and Qm have been estimated.
21
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
0
10
(i)
Probability of missed detection(Pm)
(ii)
-1
10
(iii)
(iv)
-2
10
-3
10 Aw gn
sigmadB=2 dB
sigmadB=6 dB
-4 sigmadB=12 dB
10
-4 -3 -2 -1 0
10 10 10 10 10
Probability of false alarm (Pf)
22
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
significantly. To achieve Pm =0.01, probability of false alarm is greater than 0.9, which results
in poor spectrum utilization. Analytical results for the case of Rayleigh fading channel which
are obtained from equation (14) are presented here for comparing with our simulation results.
Different values of Nakagami parameter, M=1 and 3 are considered. Rayleigh fading channel
characteristics would be achieved in a Nakagami fading channel if M is set to 1 [curve (i)].
Increase in Nakagami parameter M=1 to 3, significantly decrease the probability of missed
detection [curves (i) to (ii)). We can say that the performance of energy detector in Nakagami
fading channel (particularly for M=3) is better than the performance in Rayleigh fading
channel (M=1). Analytical results for the case of Nakagami fading channel which are
obtained from equation (16) are presented here for comparing with our simulation results.
0
10
(i)
Probability of missed detection (Pm)
-1
10 (ii)
AWGN,simul (iii)
-2
10 Rayl,simul
Rayl,theory
M=1,siml
-3 M=1,theory
10
M=3,simul
M=3,theory
-4 AWGN,theory
10
-4 -3 -2 -1 0
10 10 10 10 10
Probability of false alarm (Pf)
Figure 5 shows the performance comparison of single user’s energy detection based
spectrum sensing in the presence of shadowing, Rayleigh and Nakagami fading channels.
Nakagami parameter and shadowing dB-spread are assumed to be M=3, dB =2 dB,
respectively. Comparing the AWGN curve with those corresponding to fading, we observe
that spectrum sensing is difficult in the presence of shadowing, Rayleigh and Nakagami
fading channel. The performance of energy detector is the best in Nakagami fading channel
than performance in Log-normal shadowing and Rayleigh fading channel.
Figure 6 and Figure 7 show complementary ROC ( Qm vs. Q f ) curves for different
number of cooperative CR users under Log-normal shadowing (σdB=2 dB) and Rayleigh-
Nakagami fading respectively. Non- fading AWGN curve is also shown for comparison
(AWGN and N=1curves matched with curves in [6],[11]). We can observe in these figures
that fusing the decisions of different CR users cancels the effect of shadowing or fading on
the detection performance effectively. Moreover, with increase in N [curves (i) to (v) in both
figures), cooperative spectrum sensing out performs AWGN local sensing and single CR user
based sensing. This is due to the fact that for larger N, with high probability there will be a
user with a channel better than that of the non- fading AWGN case.
23
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
0
10
(i)
Probability of missed detection (Pm)
-1 (ii)
10
(iii)
-2 (iv)
10
-3 Aw gn
10
Log-normal shadow
Rayleigh
-4 Nakagami
10
-4 -3 -2 -1 0
10 10 10 10 10
Probability of false alarm (Pf)
0
10
(i)
-1
10 (ii)
(iii)
-2
Qm
10 (iv)
AWGN
-3 N=1(non-cooperation)
10
N=2
N=3 (v)
-4 N=6
10
-4 -3 -2 -1 0
10 10 10 10 10
Qf
24
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
0
10
(i)
-1
10 (ii)
(iii)
-2
Qm
10
N=1(non-coop), Rayleigh (iv)
N=3, Rayleigh
-3
N=6, Rayleigh (v)
10
N=1(non-coop), Nakagami
N=3, Nakagami (vi)
-4 N=6, Nakagami
10
-4 -3 -2 -1 0
10 10 10 10 10
Qf
Figure 7. Qm vs. Qf under Rayleigh and Nakagami Fading (M=3) for Different
Number of Cooperative CR users ( =10dB, m=5), OR Rule
(iii)
0.8 (i) (ii)
(iv) (v)
0.6 (vi)
Qd
Figure 9 shows the performance of hard decision fusion rules and their comparison based
on complementary receiver operating characteristics (ROC) curves for 3 cooperative CR
users under Log-normal shadowing channel. We have chosen dB =2 dB, m=5 and average
SNR =10 dB. We observe that for a particular value of Q f 0.1, probability of missed
detection (Qm ) is 0.005, 0.1 and above 0.8 for OR-logic fusion, MAJORITY and AND-logic
fusions respectively. We can say that OR-rule performs better than MAJORITY and AND-
logic fusions (curves (i), (iii) & (iv) respectively). The curve (ii) for non-cooperation case
(N=1) is provided for comparison purpose.
25
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
Figure 10 shows the performance of hard decision rules and their comparison based on
Qd vs. average SNR for 3 cooperative CR users under Rayleigh and Nakagami fading
channel (M=3),m = 5 and Q f 0.1. In case of performance of CSS in Nakagami fading
channel, for a particular value of average SNR i.e., 6 dB, probability of detection is above
0.8, 0.35 and 0.01 for OR-logic, MAJORITY-logic and AND-logic respectively. We can say
that OR-rule performs better than MAJORITY and AND-logic fusions [curves (i), (iii) and
(v) respectively]. Similarly, the performance of CSS under OR-logic fusion outperforms the
other fusion rules such as MAJORITY and AND-logic fusions [curves (ii), (iv) and (vi)
respectively] in Rayleigh fading channel. Under all cases of logic fusions we observe that the
performance of CSS in Nakagami fading channel is better than the performance in Rayleigh
fading channel.
0
10
(i)
-1
(ii)
10
(iii)
-2
Qm
10 (iv)
-3
10 N=1(non-cooperation)
OR-logic
Majority-logic
-4 AND-logic
10
-4 -3 -2 -1 0
10 10 10 10 10
Qf
(i)
0.8 (ii)
(iii)
0.6 (iv)
(vi)
(v)
Qd
26
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
5. Conclusion
We have investigated the performance of single CR and cooperative CR based
spectrum sensing schemes using energy detection under different fading channels. We
develop a simulation model for the evaluating the performance in terms of miss
detection and false alarm probabilities. The performance of CSS also has been
investigated via probability of detection versus different average SNR values in Log -
normal shadowing, Rayleigh and Nakagami fading channels. The performance of CSS
has been investigated for different data fusion rules (OR, MAJORITY and AND-rules)
using our simulation testbed and the performance has been compared with each other
through complementary ROC. Finally we have shown that cooperative spectrum sensing
using energy detection performs better for OR-logic fusion rule as compared to
MAJORITY and AND- logic fusions under same average SNR conditions in Rayleigh
and Nakagami fading channel. The above study is useful in designing a cooperative
cognitive network.
References
[1] S. Haykin, “Cognitive radio: brain-empowered wireless communications”, IEEE J. Select. Areas Commun,
vol. 23, (2005) February, pp. 201-220.
[2] H. Urkowitz, “Energy detection of unknown deterministic signals,” Proceedings of IEEE, vol. 55, (1967)
April, pp. 523–231.
[3] S. D. Cabric, S. M. Mishra and R. W. Brodersen, “Implementation issues in spectrum sensing for cognitive
radios”, in Proc. of Asilomar Conf. on Signals, Systems, and Computers, vol. 1, (2004) November 7-10, pp.
772–776.
[4] I. F. Akyildiz, B. F. Lo and R. Balakrishnan, “Cooperative Spectrum Sensing in Cognitive Radio Networks:
A Survey”, Physical Communication (Elsevier) Journal, vol. 4, no. 1, (2011) March, pp. 40-62.
[5] S. Kyperountas, N. Correal, Q. Shi and Z. Ye, “Performance analysis of cooperative spectrum sensing in
Suzuki fading channels”, in Proc. of IEEE International Conference on Cognitive Radio Oriented Wireless
Networks and Communications (CrownCom’07), (2008) June, pp. 428-432.
[6] A. Ghasemi and E. S. Sousa, “Collaborative spectrum sensing for opportunistic access in fading
environments”, in Proc. of 1st IEEE Symp. New Frontiers in Dynamic Spectrum Access Networks,
Baltimore, USA, (2005) November 8-11, pp. 131-136.
[7] A. Ghasemi and E. S. Sousa, “Opportunistic spectrum access in fading channels through collaborative
sensing”, IEEE Journal on selected Areas in Communications, vol. 2, no. 2, (2007) March, pp. 71-82.
[8] A. Ghasemi and E. S. Sousa, “Impact of user collaboration on the performance of opportunistic spectrum
access,” in Proc. IEEE Vehicular Technology Conference (VTC Fall'06), Montreal, September 2006.
[9] W. Zhang, R. Mallik and K. B. Letaief, “Cooperative Spectrum Sensing Optimization in Cognitive Radio
networks,” in Proc. IEEE Int. Conf. Commun., (2008) May, pp. 3411-3415.
[10] J. Duan and Y. Li, “Performance analysis of cooperative spectrum sensing in different fading channels”, in
Proc. IEEE Interantional conference on Computer Engineering and Technology (ICCET’10), (2010) June, pp.
v3-64-v3-68.
[11] F. F. Digham, M. S. Alouini and M. K. Simon, “On the energy detection of unknown signals over fading
channels”, in Proc. of IEEE International Conference on Communications (ICC’03), (2003) May, pp. 3575–
3579.
[12] S. Nallagonda, S. Suraparaju, S. D. Roy and S. Kundu, “Performance of energy detection based spectrum
sensing in fading channels”, in Proc. of IEEE International Conference on Computer and Communication
Technology (ICCCT’11), (2011) September, pp. 575-580.
[13] S. Nallagonda, S. D. Roy and S. Kundu, “Performance of cooperative spectrum sensing with censoring of
cognitive Radios in Rayleigh Fading Channel”, in Proc. of IEEE INDICON 2011, (2011) December.
[14] S. Nallagonda, S. D. Roy and S. Kundu, “Cooperative spectrum sensing with censoring of cognitive Radios
in Rayleigh Fading Channel”, accepted in Proc. of IEEE Eighteenth National conference on Communications
(NCC 2012), (2012) February.
[15] C. E. Shannon, “Communication in the presence of noise”, proc. IRE, vol. 37, (1949) January, pp. 10-21.
27
International Journal of Energy, Information and Communications
Vol. 3, Issue 3, August, 2012
[16] A. H. Nuttall, “Some integrals involving the QM function”, IEEE Transactions on Information Theory, vol.
21, no. 1, (1975) January, pp. 95–96.
[17] I. S. Gradshteyn and I. M. Ryzhik, “Table of Integrals, Series, and Products”, 5th ed. Academic Press, (1994).
[18] Y. Li and M. Dohler, “Cooperative communications: hardware, channel, PHY”, Jhon Wiley & Sons, (2010).
Authors
Sanjay Dhar Roy received his B.E. (Hons.) degree in Electronics and
Telecommunication Engineering in 1997 from Jadavpur University,
Kolkata, India and M.Tech. degree in Telecommunication Engineering in
2008 from NIT Durgapur. He received his Ph. D. degree from NIT
Durgapur in 2011. He worked for Koshika Telecom Ltd. from 1997 to
2000. After that he joined the Department of Electronics and
Communication Engineering, National Institute of Technology Durgapur
as a Lecturer in 2000 and is currently an Assistant Professor there. His
research interests include Radio Resource Management, Handoff, and
Cognitive Radio Networks. As of today, he has published fifty (50)
research papers in various journals and conferences. Dr. Dhar Roy is a
member of IEEE (Communication Society) and is a reviewer of IET
Communications, Electronics Letters and Journal of PIER, IJCS, Wiley,
International Journal of Electronics, Taylor & Francis.
28