Energy Detection Based Spectrum Sensing Over Wireless Fading Channels In Cognitive Radio Network

DOI : 10.17577/IJERTV2IS3403

Download Full-Text PDF Cite this Publication

Text Only Version

Energy Detection Based Spectrum Sensing Over Wireless Fading Channels In Cognitive Radio Network

Omkar S. Vaidya

M.E. (Communication Engineering), M.I.T., Aurangabad

Vijaya M. Kulkarni

Asso. Prof. (Electronics & Communication), M.I.T., Aurangabad.

Abstract

The rapid growth of wireless communications has made the problem of under utilization of spectrum. Cognitive Radio technology has come out to solve this problem by allowing unlicensed user to use licensed spectrum bands opportunistically without affecting their performance. To sense existence of licensed user, Energy Detection based spectrum sensing technique is used over different wireless fading channels. Performance metrics like probability of false alarm, probability of detection and signal to noise ratio are evaluated by analyzing receiver operating characteristics. This paper presents a simulation comparison among different wireless fading channels. The results show that probability of detection is improved in all fading channels and Nakagami-m fading channels gives more improved performance than other fading channels by using Energy Detection Spectrum Sensing Technique.

  1. Introduction

    Traditional wireless networks use fixed spectrum allocation policies for licensed users. Recent studies on the measurement of the spectrum show that by conventional spectrum an allocation policy, the average utilization of the spectrum is low as illustrated in Figure 1 [1], [2]. And this underutilization is due to the fact that a licensed user may not fully utilize the spectrum at all times in all locations. Hence to meet the increasing spectrum demands for wireless applications, needs of flexible spectrum management technique are arises in order to improve efficiency of spectrum. Dynamic Spectrum access is proposed to solve these current inefficiency problems and hence Cognitive Radio (CR) is the key enabling technology which will enable the user to determine which portion of spectrum is available and detect presence of licensed users when user is operated in licensed band (i.e. Spectrum Sensing). CR detect unused spectrum and share spectrum without harmful interference with other users. To sense the existence of licensed user, Spectrum

    Sensing techniques are used. This paper is aimed to discuss Energy detection based Spectrum Sensing Technique over different Wireless Fading Channel and analyze improvement in signal detection capability.

    Figure 1 Spectrum under-utilization

    A number of schemes related to Energy detection based spectrum sensing have been investigated in the literature. The problem of detecting an unknown deterministic signal over a flat band limited Gaussian noise channel was first addressed by Urkowitz [3]. By using Shanons sampling formula, the problem of the detection of a deterministic signal in white Gaussian noise, by means of an energy measuring device, reduces to the consideration of the sum of these squares of statistically independent Gaussian variables. When the signal is absent, the decision statistic has a central chi-square distribution with the same numbers of degrees of freedom equal to twice the time-bandwidth product of the input. When the signal is present, the decision statistics has non-central chi-square distribution with the same number of degrees of freedom and a non-centrality parameter equal to ratio of signal to two-sided noise spectral density. In [4], author looked into the performance of spectrum sensing based on spectrum estimation. Mathematical expressions are derived for the probability of false alarm, and the probability of miss for i.i.d Rayleigh and Rician channels. The provided expressions were

    confirmed by the corresponding Monte Carlo simulation results. In comparison with time-domain energy detection, we find that the probability of false alarm at a specific frequency is not affected by changing the observations length. Similarly, the probability of missed detection is not affected by the change of vector length when all other parameters are fixed. In addition, the results have revealed that, in comparison with the conventional energy detector, the studied frequency domain technique yields significant performance enhancement in the form of reduced probability of false alarm. The performance of energy detector is characterized by Receiver Operating curves usually. S. Atapattu et al. [5] used AOC (Area under the Receiver Operating curves) to analyze the performance of the energy detector method over Nakagami fading channels. Results showed that a higher value of fading parameter leads to larger average AUC, and thus, higher overall detection capability. This is because the average AUC converges to unity faster when the average SNR and the fading index increase Also, amongst the average SNR and the fading parameter, the average SNR is shown to be the dominant factor in determining the detection capability, particularly in the low-SNR region. Mohammad Hossain et.al. [6] analyzed the performance of cooperative spectrum sensing for different number of Cognitive Radio users in Cognitive Radio. Performance of cooperative spectrum sensing over Rayleigh and Nakagami fading are presented and compared. It has been found that probability of missed detection is decreased by using different number of CR users. It is observed that OR rule gives better performance than AND and MAJORITY rule in various channels. Also it is observed that spectrum sensing for different number of CR users is harder in presence of Rayleigh and Nakagami fading and performance of energy detection degrades more in Nakagami channels than Rayleigh channel. In [7], the performance of energy detection based spectrum sensing in multipath fading environment is analyzed using OFDM multiplexing technique. A predetermined value of probability of detection and probability of false Alarm is used in order to calculate the optimum threshold value. That threshold value is used to evaluate the performance in the sense of probability of detection Vs SNR. This is known as Constant detection rates (CDR) and Constant False Alarm rates (CFAR). In real time scenarios the noise variance is unknown therefore both known and unknown noise variance cases are also discussed.

    The main objective of the Project is to study and evaluate closed form expressions for probability of detection for various fading channels like additive

    white Gaussian noise (AWGN), Rayleigh and Nakagami. Also this project gives primitive objective is to study and analyze performance of energy detection based spectrum sensing technique using receiver operating characteristics curve (ROC).

    The paper is organized as follows: Section 2 explains System Modeling for Energy detection based Spectrum Sensing in which closed form expressions for Probability of Detection for various Fading Channels are evaluated. Simulation results for different fading channels are presented in Section 3. Finally the report is concluded in Section 4 that highlights the applications that merit attention in future scope for development.

  2. System Modeling

    Energy detection is the most popular spectrum sensing method since it is simple to implement and does not require any prior information about the primary signal [8]. An energy detector (ED) simply treats the primary signal as noise and decides on the presence or absence of the primary signal based on the energy of the observed signal. Since it does not need any a priori knowledge of the primary signal, the ED is robust to the variation of the primary signal. Moreover, the ED does not involve complicated signal processing and has low complexity. In pratice, energy detection is especially suitable for wide-band spectrum sensing [9]. Energy detector is composed of four main blocks as shown in Figure 2 [10].

    Figure 2 Block Diagram of Energy Detection Based Spectrum Sensing

    The output that comes out of the integrator is energy of the filtered received signal over the time interval T and this output is considered as the test statistic to test the two hypotheses H0 and H1 [3]. H0: corresponds to the absence of the signal and presence of only noise. H1: corresponds to the presence of both signal and noise.

    Thus for the two state hypotheses numbers of important cases are:-

    1. H1 turns out to be TRUE in case of presence of primary user i.e. P (H1 / H1) is known as Probability of Detection (Pd).

    2. H0 turns out to be TRUE in case of presence of

      primary user i.e. P (H0 / H1) is known as Probability of Missed-Detection (Pm).

    3. H1 turns out to be TRUE in case of absence of

    primary user i.e. P (H1 / H0) is known as Probability of

    1 y

    d 1

    y

    2

    False Alarm (Pf).

      1. Decision Statistic

        Pf

        2 (d ) 2

        e dy

        (7)

        Considering the following notations: x (t) is the transmitted signal waveform, y (t) is the received signal waveform, wi (t) is in-phase noise component, wq (t) is quadrature phase component, BN is noise bandwidth,

        Substituting y t, dy dt and changing the limits of

        2 2

        integration to , , we get,

        2

        N0 is power-spectral density (two-sided), N is power

        spectral density (one-sided), T is the sampling interval,

        1

        Es is the signal energy, is decision threshold. The

        received signal y (t) is filtered by a pre-filter which is

        Pf

        2 (d )

        td 1e(t ) dt

        (8)

        a b a n d – p a s s filter. The filtered signal is then passed through A/D converter i.e. converted to

        samples. Decision statistic can be Y or any quantity or which is monotonic with Y. Taking Y as decision

        /2

        P (d, / 2)

        f (d )

        (9)

        statistic [3].

        1 T

        where (.) is the incomplete gamma function [14]. Now, probability of detection can be written by

        Y ' y2 (t)dt N0 0

        (1)

        making use of cumulative distribution function [13].

        Decision statistic Y under H1 has a non-central chi- square distributed [11] with 2BNT degrees of freedom

        and non-centrality parameter given by Es [3]. Now,

        N0

        defining Signal to Noise Ratio (SNR), in terms of

        Pd = 1 FY () (10)

        The cumulative distribution function (CDF) of Y can be obtained (for an even number of degrees of freedom which is 2d in this case) as [11],

        non-centrality parameter as in [12],

        FY ' ( y) 1 Qd ( , )

        (11)

        Es

        N

        Es

        2N0 2

        (2)

        Therefore using (10) and (11), probability of detection Pd for AWGN channel is [12],

      2. Probability of detection for AWGN Channel

        Pd Qd ( , )

        (12)

        Probability of detection Pd and false alarm Pf can

        Using (2)

        P Q ( 2 , )

        (13)

        be evaluated respectively by [12],

        Pd = P(Y > |H1) (3)

        Pf = P(Y > |H0) (4)

        Where is decision threshold, Also, Pf can be written in terms of Probability density function as [13],

        d d

        Where, Qd(.,.) is the generalized Marcum-Q function and thus, probability of detection for AWGN channel can be evaluated using above expression.

      3. Probability of detection for Rayleigh Channel

        Probability density function for Rayleigh channel

        is [15],

        Pf

        From (4), we get:

        fY ' ( y)dy

        y

        (5)

        f() 1 exp

        , 0

        (14)

        1 d 1 2

        Pf

        y e dy

        d

        d

        (6)

        Probability of detection for Rayleigh Channel is

        2 (d )

        Dividing and multiplying the RHS of above equation by 2d-1, we get,

        obtained by averaging their probability density function over Probability of detection for AWGN Channel [12],

        Pd ,R Pd f ( )d

        0

        (15)

        m=1/2, it becomes a one-sided Gaussian distribution, and when m= the distribution becomes an impulse (no fading). Second, the Rice distribution can be

        Where P Chann

        d,R is the probability of detection for Rayleigh ith (13), (14) and (15) becomes:

        closely approximated by using the following relation between the Rice factor K and the Nakagami shape

        el. W

        P

        1 Q ( 2 ,

        ) ex d

        p

        p

        (16)

        factor m;

        m2 m

        d ,R d

        K , m 1

        (20)

        0

        Now substituting x, x2 , d 2xdx

        in (16),

        m m2 m

        we get,

        x2

        (K 1)2

        m (2K 1)

        (21)

        2

        Pd ,R x.Qd ( 2x,

        0

        Considering result in [16],

        ) exp dx

        (17)

        Since the Rice distribution contains a Bessel function while the Nakagami distribution does not, the Nakagami distribution often leads to convenient closed form analytical expressions that are otherwise

        p2 x2

        b2

        2 .exp .

        2 .exp .

        2 2 M 1

        unattainable. Using the alternative representation of

        2

        1 2

        p a

        Marcum-Q function given in [17], can be written as

        dx.x.exp QM (ax, b)

        0

        p a2

        2 2

        n nu 1 2 k

        b . a

        M 2

        2 2 n

        M 2 2 n

        e e

        exp 2 p2 a2

        1 b . a

        1 b

        Qd ( 2 ,

        ) n!

        k ! 2

        (22)

        2 2

        n0

        k 0

        n0 n! 2

        p a

        n0 n! 2

        If the signal amplitude follows a Nakagami

        Comparing (17) and (18),

        (18)

        distribution, then the PDF of follows a gamma PDF given by,

        p2 2 , a

        2b , and M d .

        f()

        1 m m

        m1 exp

        m

        , 0

        (23)

        (m)

        Thus, using (18) Probability of detection for Rayleigh where, m is the Nakagami parameter. The average Pd in

        Channel can be expressed as [12],

        case of Nakagami Channels

        Pd Nak can now be obtained

        e( / 2) 1

        e( / 2) 1

        n by averaging (13) over (23) and then using again the

        Pd , R

        d 2

        n! 2

        change of variable x

        2 yielding,

        n0

        d 2

        n

        (19)

        mx2

        d

        d

        1 exp 2(1 ) exp 2 1

        Pd Nak a x2m1 exp

        2 Q (x,

        )dx

        (24)

        n0 n! 2(1 )

        n0 n! 2(1 )

        0

        The above expression gives the probability of detection

        1 m m

        for Energy detection based spectrum sensing over Rayleigh Channel.

        where,

        a (m)2m1

        (25)

        2 m

        2 m

      4. Probability of detection for Nakagami-m fading Channel

    In this case, a closed form formula of Nakagami channels can be given by,

    The Nakagami distribution is often used for the

    u 1 ( / 2)

    following reasons. First, the Nakagmi distribution can model fading conditions that are either more or less severe than Rayleigh fading. When m=1, the Nakagami distribution becomes the Rayleigh distribution, when

    Pd Nak a G1 2(n!)

    F m; n 1; (26)

    n1 1

    n1 1

    1

    where, 1F1(.;.;.) is the confluent hypergeometric function [18].

    2

    m

    m

    (m)

    m

    mx 2

    e /2

    (27)

    2m1

    2

    and

    G1 x

    0

    exp Qd (x,

    )dx

    (28)

    Where Q(.,.) is the first order Marcum Q-function. G1 can be evaluated for inter m with aid of [14].

    2m-1 (m -1)!

    (- / 2). m

    m

    m m-1

    G e

    m 1

    L –

    1 m m

    m

    m

    m-1

    2 m

    Figure 3 Complementary ROC Curve when SNR = – 30 dB

    m-2

    m n

    Ln –

    m 2 m

    n0

    Where, Ln is the Laguerre polynomial of degree n.

  3. Simulation Result

(29)

Detection probability (Pd), False alarm probability (Pf) and missed detection probability (Pmd = 1 – Pd) are the key measurement metrics that are used to analyze the performance of spectrum sensing techniques. The performance of a spectrum sensing technique is illustrated by the receiver operating characteristics (ROC) curve which is a plot of Pd versus Pf or Pmd versus Pf. All simulation was done on MATLAB version 7.10.0 (R2010a) over three different fading channels viz. AWGN, Rayleigh and Nakagami Channels. Monte-Carlo method is used for simulation. We described receiver through it complimentary ROC curves for a different values of probability of false alarm, probability of detection and signal to noise ratio.

From Figure 3-5, it is clearly seen that, for vey less probability of false alarm values, probability of missed detection is very high. But, as Pf values are getting increased, Pmd values are going to reduce drastically. Thus, it improves performance of energy detector at low SNR values. Table 1 show that values of probability of false alarm increases; there is drastic decrease in probability of missed detection. Similarly, as values of SNR are varying there is still decrease in values of probability of missed detection.

Figure 4 Complementary ROC Curve when SNR = – 20 dB

Figure 5 Complementary ROC Curve when SNR = – 10 dB

Table 1: Comparison of Probability of missed detection (Pmd) versus Probability of false alarm (Pf) when SNR is varying over different Wireless Fading Channels

Value of Pf

AWGN

Rayleigh

Nakagami

Probability of missed detection

Probability of missed detection

Probability of missed detection

SNR =

-30dB

SNR =

-20dB

SNR =

-10dB

SNR =

-30dB

SNR =

-20dB

SNR =

-10dB

SNR =

-30dB

SNR =

-20dB

SNR =

-10dB

0.0001

1

1

0.821

1

1

0.804

1

1

0.826

0.1521

1

0.999

0.002

0.92

0.852

0.001

1

0.999

0.002

0.3969

0.999

0.393

0

0.623

0.496

0

0.999

0.381

0

0.4761

0.593

0.125

0

0.505

0.333

0

0.583

0.13

0

0.5329

0.051

0.035

0

0.441

0.271

0

0.062

0.041

0

Table 2: Comparison of Probability of detection (Pd) versus Probability of false alarm (Pf) when SNR is varying over different Wireless Fading Channels

Value of Pf

AWGN

Rayleigh

Nakagami

Probability of detection

Probability of detection

Probability of detection

SNR =

-30dB

SNR =

-20dB

SNR =

-10dB

SNR =

-30dB

SNR =

-20dB

SNR =

-10dB

SNR =

-30dB

SNR =

-20dB

SNR =

-10dB

0.0049

0.004

0.139

0.754

0.026

0.178

0.768

0.003

0.147

0.747

0.0225

0.055

0.46

0.944

0.153

0.498

0.931

0.056

0.508

0.925

0.0625

0.28

0.767

0.978

0.336

0.735

0.984

0.296

0.767

0.983

0.1369

0.624

0.922

0.998

0.572

0.895

0.999

0.607

0.92

0.996

0.2401

0.873

0.982

0.999

0.751

0.96

1

0.889

0.984

0.998

Table 3: Comparison of Probability of detection (Pd) versus Signal to Noise Ratio (SNR) when Probability of false alarm (Pf) is varying over different Wireless Fading Channels

1

Value of SNR

(in dB)

AWGN

Rayleigh

Nakagami

Probability of detection

Probability of detection

Probability of detection

Pf = 0.001

Pf = 0.003

Pf = 0.005

Pf = 0.001

Pf = 0.003

Pf = 0.005

Pf = 0.001

Pf = 0.003

Pf = 0.005

– 15

0

0.017

0.057

0.0339

0.11

0.183

0

0

0

– 14

0.016

0.101

0.227

0.072

0.198

0.278

0

0

0

– 13

0.101

0.295

0.442

0.144

0.345

0.481

0

0

0

– 12

0.283

0.555

0.721

0.329

0.507

0.673

0

1

1

– 11

0.55

0.804

0.894

0.575

0.786

0.864

1

1

– 10

0.844

0.957

0.978

0.86

0.937

0.874

1

1

1

From Figure 6-8 and table 2, it is depicted that as values of probability of false alarm increases, values for probability of detection also increases. When values of SNR are increased, then there is dramatically increase observed in probability of detection at very few values of probability of false alarm. As SNR values vary from

-14 dB to -12 dB, probability of detection improves by

1.77 times in AWGN channel, by 1.95 times in Rayleigh Channel and by 1.84 times in case of Nakagami Channel.

From Figure 9-11 and table 3, it is clearly seen that as values of signal to noise ratio increases, values for probability of detection also increases. When values are drawn for constant probability of false alarm and Pf

increases, there is improvement in probability of detection observed. As values of Pf vary from 0.01 to 0.05, there is drastic improvement in probability of detection by 6.4 times in AWGN, 5.7 times in Rayleigh and 7.86 times in case of Nakagami Channel. Thus, by Monte-Carlo simulation method, it is observed that performance of energy detection based spectrum sensing is boosted up in Nakagami Channel compared with others.

4. Conclusion

In this paper, dynamic spectrum management techniques like Cognitive Radio Technology have been discussed. Performance of Energy detection based

Figure 6 ROC Curve when SNR = – 14 dB

Figure 7 ROC Curve when SNR = – 12 dB

Figure 8 ROC Curve when SNR = – 10 dB

Figure 9 Plot of Pd v/s SNR when Pf = 0.01

Figure 10 Plot of Pd v/s SNR when Pf = 0.03

Figure 11 Plot of Pd v/s SNR when Pf = 0.05 Spectrum Sensing is implemented over Wireless Fading channels viz. AWGN, Rayleigh and Nakagami

m fading channels. Closed form expressions for probability of detection and false alarm over different wireless fading channels are evaluated. Three performance metrics such as probability of detection, probability of false alarm and signal to noise ratio are considered for analysis for energy detection based spectrum sensing technique. Various ROC (Receiver Operating Characteristics) curves i.e. plot of Pd versus Pf or Pmd versus Pf has been plotted over fading channels. Monte-Carlo technique is used for simulation in MATLAB version 7.10.0.499 (R2010a) as a software platform.

As values of SNR vary from -30 dB to -10 dB, probability of detection improves by 1.77 times in AWGN Channel, 1.95 times in Rayleigh Channel and

1.84 times in Nakagami-m fading channels. Also, when probability of false alarm increases from 0.01 to 0.05, there is drastic improvement observed in probability of detection by 6.4 times in AWGN Channel, 5.7 times in Rayleigh Channel and 7.86 times in case of Nakagami

m fading channels. Thus in Cognitive Radio Network, it is observed that with low computational complexities, detection of presence of primary user signal is easiest job by using Energy detection based Spectrum sensing technique. From comparative plot, it is clearly observed that, among various fading channels Nakagamim fading channels gives more improvement in probability of detection than Rayleigh and AWGN fading channels.

4.1 Future Scope

In future, performance analysis can be done over other wireless fading channels like Rician, Suzuki etc. Also, cooperative spectrum sensing method can be used to achieve still better sensing performance in detector of Cognitive Radio Network.

References

  1. M. McHenry, Frequency agile spectrum access Technologies, in Proc. of FCC Workshop on Cognitive Radio, May 2003.

  2. G. Staple and K. Werbach, The end of spectrum scarcity, IEEE Spectrum, vol. 41, pp. 4852, March 2004.

  3. H. Urkowitz, Energy detection of unknown deterministic signals, Proc. IEEE, vol. 55, no. 4, pp. 523531, Apr. 1967.

  4. Ebtihal Haider Gismalla and Emad Alsusa, Performance Analysis of the Periodogram-Based Energy Detector in Fading Channels, IEEE Transaction on Signal Prpcessing, vol. 59, no.8, pp. 3712-3721, August 2011.

  5. S. Atapattu, C. Tellambura and H. Jiang, Analysis of Area under ROC curve of energy detection IEEE Transactions On Wireless Communications, Vol. 9,

    No.3, pp. 1216-1225, 2010.

  6. Mohammad Hossain, Shahoreare Ahmed, Md. Shamim Hossain, Md. Ibrahim Abdullah, Performance of Cooperative Spectrum Sensing for different numbers of CR users in Cognitive Radio, International Journal of Science and Research, vol. 1, issue 3, pp. 145-149, December 2012.

  7. Saqib Saleem and Khurram Shahzad, Performance Evaluation of Energy Detection Based Spectrum Sensing Technique for Wireless Channel, International Journal of Multidisciplinary Sciences and Engineering, Vol. 3, no. 5, pp. 31-34, May 2012.

  8. N. Reisi, M. Ahmadian and S. Salari, Performance Analysis of Energy Detection- based Spectrum Sensing over Fading Channels, 6th International Conference on Wireless Communications Networking and mobile Computing, No. 9, pp. 1-4, 2010.

  9. J. Ma, G . Y. Li a n d B. H. Juang, S i g n a l P r o c e s s i n g i n C o g n i t i v e R a d i o , Proceedings of IEEE, Vol.97, No. 5, pp.805-823, 2009.

  10. J. Segura and X. Wang, GLRT Based Spectrum Sensing for Cognitive Radio with Prior Information, IEEE Transactions on Communications, Vol. 58, No.7, pp.2137- 2146, 2010.

  11. J. G. Proakis, Digital Communications, New York: McGraw-Hill, ed. 4th, 2001.

  12. 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.

  13. A. Papoulis and S. U. Pillai, Probability, Random Variables, and Stochastic Processes, New York: McGraw-Hill, ed. 4th, 2002.

  14. I.S. Gradshteyn and I.M. Ryzhik. Table of Integrals, Series, and Products, New York: Academic Press, ed. 7th, 2007.

  15. Z. Han, R. Fan and H. Jiang, Replacement of Spectrum Sensing in Cognitive Radio, I E E E Transactions on Wireless Communications, Vol. 8, No.6, pp. 2819- 2826, 2009.

  16. A. H. Nuttall, Some integrals involving Q-M functions (Corresp.), IEEE Transactions on Information Theory, Vol.21, No. 1, pp. 95-96, 1975.

  17. M. Nakagami, The m distribution; a general formula of intensity distribution of rapid fading, Statistical Methods in Radio Wave Propagation, W.G. Hoffman, ed., pp. 336, 1960.

  18. 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, Nov. 8-11, 2005.

Leave a Reply