You are on page 1of 4

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/224122416

Analysis of area under the ROC curve of energy detection

Article  in  IEEE Transactions on Wireless Communications · April 2010


DOI: 10.1109/TWC.2010.03.091085 · Source: IEEE Xplore

CITATIONS READS

146 804

3 authors:

Saman Atapattu Chintha Tellambura


University of Melbourne University of Alberta
94 PUBLICATIONS   2,857 CITATIONS    650 PUBLICATIONS   16,704 CITATIONS   

SEE PROFILE SEE PROFILE

Hai Jiang
Arkansas State University - Jonesboro
207 PUBLICATIONS   5,232 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

energy harvesting View project

Ambient Backscatter Communication Systems View project

All content following this page was uploaded by Saman Atapattu on 14 March 2014.

The user has requested enhancement of the downloaded file.


IEEE COMMUNICATIONS LETTERS, VOL. 15, NO. 12, DECEMBER 2011 1301
"©2011 IEEE. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or p romotional purposes or for creating new

MGF Based Analysis of Area under the ROC Curve in Energy Detection
collective works for resale or redistribution to servers or lists, or to reuse any copyrig hted component of this work in other works must be obtained from the IEEE."

Saman Atapattu, Student Member, IEEE, Chintha Tellambura, Fellow, IEEE, and Hai Jiang, Member, IEEE

Abstract—The area under the receiver operating characteristic as single-valued measures for overall detection capability of
(ROC) curve (AUC), an important performance measure of the an energy detector. In these references, the AUC and CAUC
energy detector, is derived for Nakagami-𝑚 and 𝜂-𝜇 fading of systems with no diversity reception, with several popular
channels. The analysis is based on the moment generating
function (MGF) of the received signal-to-noise ratio (SNR). The diversity schemes, with channel estimation errors, with fading
derived closed-form expressions do not include special functions, correlations, and with relay networks are comprehensively
thus reducing computational issues. The analytical framework analyzed. However, the analytical approaches of [5], [7], [8]
can also be applied in cases with other fading channels, with may not suffice for some network scenarios (e.g., coopera-
diversity reception, or with cooperative spectrum sensing. tive spectrum sensing). Moreover, the special functions (e.g.,
Index Terms—Area under ROC curve (AUC), energy detection, Marcum-𝑄, confluent hypergeometric, and regularized conflu-
moment generating function (MGF). ent hypergeometric functions) in the detection probability and
the AUC expressions lead to high computational complexity.
I. I NTRODUCTION To circumvent these drawbacks, based on moment generating

T HE presence of unknown deterministic signals of an function (MGF) of the received signal-to-noise ratio (SNR),
active wireless communications network can be detected this letter proposes an alternative analytical approach to evalu-
by the energy detection. This technique is frequently analyzed ate the AUC by reformulating it as a complex integral, which
in the wireless communications community, especially for can be evaluated by calculating the residues [9]. The residue
the spectrum sensing in cognitive radio networks and the calculations are simple, with no special functions involved,
signal detection in ultra-wideband (UWB) communications. In and are readily available in all modern mathematical softwares
cognitive radio networks, energy detection is a promising spec- (e.g., Mathematica and MAPLE).
trum sensing technique because it is a non-coherent technique
with low implementation complexity. The conventional energy II. S YSTEM M ODEL
detector measures the energy associated with the received A. Channel and Signal Models
signal over a specified time period and a bandwidth.
Depending on the unknown signal status (absent or present),
The performance of an energy detector is analyzed by using
the received signal status at the receiver can be described by
two key metrics: detection probability (or missed-detection
using a binary hypothesis: ℋ0 (signal absent) and ℋ1 (signal
probability) and false alarm probability. Typically, detection
present). The additive white Gaussian noise (AWGN) at the
capability at a given threshold is illustrated using a receiver
receiver is assumed to be a circularly symmetric complex
operating characteristic (ROC) curve – a plot of the detec-
Gaussian random variable with mean zero and one-sided
tion probability versus the false alarm probability when the
power spectral density 𝑁0 . The conventional energy detection,
threshold varies from 0 to ∞. In the open literature, the
which has an ideal bandpass filter with bandwidth 𝑊 and
performance of an energy detector, based on ROC curve, has
an integrator within time interval 𝑇 , is considered. For an
been analyzed for small scale and large scale fading, different
unknown deterministic signal, the probabilities of false alarm,
diversity reception techniques, and data and decision fusion
𝑃𝑓 (𝜆), and detection, 𝑃𝑑 (𝛾, 𝜆), can be evaluated as [1]
cooperative spectrum sensing [1]–[4]. However, it is desirable
to have a single parameter to measure the overall detection Γ(𝑢, 𝜆2 ) √ √
capability. Thus, the area under the ROC curve (AUC) has 𝑃𝑓 (𝜆) = and 𝑃𝑑 (𝛾, 𝜆) = 𝑄𝑢 ( 2𝛾, 𝜆), (1)
Γ(𝑢)
been introduced as an alternative performance measure [5].
AUC is also used as a metric for fault detection performance where 𝑢 = 𝑊 𝑇 , 𝜆 is a predefined threshold value, 𝛾 is SNR
of wavelet-based detection techniques [6]. given as 𝛾 = 𝐸𝑠 ∣ℎ∣2 /𝑁0 , 𝐸𝑠 is the power budget at the
AUC and complementary AUC (CAUC, which is the area transmitter, ℎ is wireless channel gain, 𝑄𝑢 (⋅, ⋅) is the 𝑢th order
under the complementary ROC curve) are proposed in [5] generalized Marcum-𝑄 function, Γ(⋅) is the gamma function,
and [7], respectively, and subsequently investigated in [8], and Γ(⋅, ⋅) is the upper incomplete gamma function.

Manuscript received July 1, 2011. The associate editor coordinating the


review of this letter and approving it for publication was Y. Chen.
B. Performance Measurement
This work was supported by the Izaak Walton Killam Memorial Scholarship We next consider the AUC, which measures overall detec-
at the University of Alberta, Canada; the Alberta Innovates - Technology
Futures, Alberta, Canada; and the Natural Science and Engineering Research tion capability of the energy detector. Different from [5], [7],
Council (NSERC) of Canada. [8], this measure is derived by using an alternative approach
The authors are with the Department of Electrical and Computer Engi- as follows.
neering, University of Alberta, Edmonton, AB, Canada T6G 2V4 (e-mail:
{atapattu, hai1}@ualberta.ca, chintha@ece.ualberta.ca). Applying the threshold averaging method,
∫ ∞ the instantaneous
∂𝑃𝑓 (𝜆)
Digital Object Identifier 10.1109/LCOMM.2011.103111.111420 AUC, 𝐴(𝛾), can be given as 𝐴(𝛾) = − 0 𝑃𝑑 (𝛾, 𝜆) ∂𝜆 𝑑𝜆.
1089-7798/11$26.00 ⃝
c 2011 IEEE
1302 IEEE COMMUNICATIONS LETTERS, VOL. 15, NO. 12, DECEMBER 2011

Using the derivative of 𝑃𝑓 (𝜆) with respect to (w.r.t.) 𝜆 and an 2) 𝜂-𝜇 (Format I): The MGF of 𝜂-𝜇 (Format I) fading
alternative representation of 𝑃𝑑 (𝛾, 𝜆) [4, eq. (4)], 𝐴(𝛾) can model is 𝐾 𝜇 /[(𝑠 + 𝑐1 )𝜇 (𝑠 + 𝑐2 )𝜇 ], where 𝐾 = 4𝜇2 ℎ/¯ 𝛾 2,
be written as 𝑐1 = 2(ℎ − 𝐻)𝜇/¯ 𝛾 , 𝑐2 = 2(ℎ + 𝐻)𝜇/¯ 𝛾 , 𝜇 represents the
∫ ∞ − 𝜆 ∮ ( 1 −1)𝛾+ 𝜆 𝑧 𝜆 number of multipath clusters (𝜇 > 0), and the respective
𝑒 2 𝑒 𝑧 2 𝜆𝑢−1 𝑒− 2
𝐴(𝛾) = 𝑑𝑧 𝑑𝜆 𝐻 and ℎ are defined as 𝐻 = (𝜂 −1 − 𝜂)/4 and ℎ =
0 𝑗2𝜋 Ω 𝑧 𝑢 (1 − 𝑧) 2𝑢 Γ(𝑢)
∮ 1 ∫ ∞ 𝑢−1 −(1− 𝑧 )𝜆 (2 + 𝜂 −1 + 𝜂)/4 where 𝜂 (> 0) is the power ratio of the in-
1 𝑒( 𝑧 −1)𝛾 𝜆 𝑒 2
phase component to the quadrature component [10].
= 𝑑𝜆𝑑𝑧 (2)
𝑢
𝑗2𝜋 Ω 𝑧 (1 − 𝑧) 0 𝑢
2 Γ(𝑢) The average AUC over 𝜂-𝜇 fading, 𝐴¯𝜂𝜇 , is derived based
∮ 1
1 𝑒( 𝑧 −1)𝛾 on (3) and (4), as (6) at( the top of the next page, ) where
= 𝑑𝑧,
𝑗2𝜋 Ω 𝑧 𝑢 (1 − 𝑧)(2 − 𝑧)𝑢 ( ) 𝐷𝜇−1
(𝑧−
1
1 )𝜇 𝑧 𝑢−2𝜇 (1−𝑧)(2−𝑧)𝑢 ∣𝑧= 1
1+𝑐1
1 1+𝑐2
Res 𝑔; 1+𝑐 = ,
where Ω is a circular contour of radius 𝑟 ∈ [0, 1), and the 1 ( (𝜇−1)! )
second equality of (2) results after changing integration orders. ( ) 𝐷𝜇−1 1
1 )𝜇 𝑧 𝑢−2𝜇 (1−𝑧)(2−𝑧)𝑢 ∣𝑧= 1
(𝑧− 1+𝑐2
1 1+𝑐1
Res 𝑔; 1+𝑐 2
= (𝜇−1)! ,
III. AVERAGE AUC ( )
𝐷𝑢−2𝜇−1 1
∣𝑧=0
The average AUC under different fading channels is given (𝑧− 1
1+𝑐
)𝜇 (𝑧− 1
1+𝑐
)𝜇 (1−𝑧)(2−𝑧)𝑢
Res(𝑔; 0) = 1 2
(𝑢−2𝜇−1)! , and
in this section. With direct integration over∫the channel SNR
∞ 𝜇 (the number of multipath clusters) is an integer value.
distribution 𝑓𝛾 (𝑥), the average AUC, 𝐴¯ = 0 𝐴(𝑥)𝑓𝛾 (𝑥)𝑑𝑥,
The AUC expressions (5) and (6) are closed-form. These
can be written using (2) as
∮ expressions can be exactly evaluated by symbolic mathemat-
1 ical softwares (e.g., Mathematica and MAPLE). They do not
𝐴¯ = 𝑔(𝑧)𝑑𝑧, (3)
𝑗2𝜋 Ω include any special functions (such as confluent hypergeomet-
where ( ) ric and Marcum-𝑄 functions appearing in [5], [7], [8]).
ℳ𝛾 1 − 1𝑧
𝑔(𝑧) = 𝑢 ,
𝑧 (1 − 𝑧)(2 − 𝑧)𝑢 B. AUC in other Network Scenarios
−𝑠𝛾 If the MGF of 𝛾 is in a simple rational form (e.g., in
ℳ𝛾 (𝑠) = 𝔼(𝑒 ) is MGF of the received SNR 𝛾, and
𝔼(⋅) means expectation. The Residue Theorem in complex Nakagami-𝑚 and 𝜂-𝜇 fading), the proposed analytical ap-
analysis is one of the effective techniques to evaluate the proach based on residue evaluation is effective. Unfortunately,
∑∞ 𝑖
contour integral in (3). If 𝑔(𝑧) = 𝑖=−∞ 𝑎𝑖 (𝑧 − 𝑧0 ) , the MGFs of some fading models (e.g., 𝐾 or 𝐾𝐺 model) or some
integration
∮ of 𝑔(𝑧) in a closed contour Ω encircling 𝑧0 is given network scenarios (e.g., cooperative spectrum sensing) do not
by Ω 𝑔(𝑧)𝑑𝑧 = 𝑗2𝜋𝑎−1 where 𝑎−1 is the complex residue. If have a rational form. For those scenarios, we make the fol-
the contour encloses multiple poles, then the general result is lowing suggestions: 1) [11] proposes a mixture gamma (MG)
∮ ∑ model for the distribution of the SNR, which can accurately
𝑔(𝑧)𝑑𝑧 = 𝑗2𝜋 Res(𝑔; 𝑎𝑖 ), (4) approximate existing fading channels. The MGF of the MG
Ω 𝑎𝑖 ∈𝒜 model is in a simple rational form; 2) for cooperative spectrum
where 𝒜 is the set of poles contained inside the contour, and sensing in cognitive radio, we have derived in [4] the rational
Res(𝑔; 𝑎𝑖 ) denotes residue of function 𝑔(𝑧) at 𝑧 = 𝑎𝑖 [9]. form MGFs; and 3) in general, the Taylor series and the Padé
Readers are referred to our paper [4], in which a detailed approximation of the MGF can generate rational forms. In
discussion on calculation of residues is given. summary, if the exact MGF is not in a suitable rational form,
an accurate rational approximation can be derived, which can
A. Average AUC over Nakagami-m and 𝜂-𝜇 Fading Channels be used in (4). Thus, the proposed analytical approach based
on the MGF furnishes a unified framework.
We consider Nakagami-𝑚 and 𝜂-𝜇 (Format I) fading mod-
els, as they are popularly used to model the non-line of sight
IV. N UMERICAL AND S IMULATION R ESULTS
small-scale fading of a wireless channel. Note that Rayleigh
fading model is a special case of the Nakagami-𝑚 model. This section provides numerical and semi-analytical Monte-
1) (Nakagami-𝑚: The MGF of Nakagami-𝑚 fading model Carlo simulation results. For numerical results, equations
)𝑚
is 1/ 1 + 𝑚 𝛾
¯
𝑠 , where 𝛾¯ is the average SNR and 𝑚 is the (5) and (6) are used for Nakagami-𝑚 and 𝜂-𝜇 channels,
fading parameter. The average AUC over Nakagami-𝑚 fading, respectively. For semi-analytical Monte-Carlo simulations, 106
𝐴¯Nak , is derived based on (3) and (4), as channel realizations are generated, each of which is used by
⎧ [ ( ) ] eq. (9) in [5] to calculate the instantaneous AUC, and the
⎨ 1𝛾¯ 𝑚 Res 𝑔; 𝑚+¯ 𝛾
¯
+ Res (𝑔; 0) : 𝑢>𝑚 average AUC is calculated over the 106 instantaneous AUCs.
(1+ 𝑚 ) 𝛾
𝐴¯Nak = ( )
The average CAUC (CAUC=1-AUC) versus average SNR
⎩ 1
¯ 𝑚 Res
𝛾
¯
𝑔; 𝑚+¯𝛾 : 𝑢 ≤ 𝑚.
(1+ 𝑚
𝛾
) curves are plotted, with 𝑢 = 2. Fig. 1 shows the average
( ) ( ) (5) CAUC for Nakagami-𝑚 fading channel, which demonstrates
𝛾
¯ 1 𝑚−1 1
Res 𝑔; 𝑚+¯ 𝛾 = (𝑚−1)! 𝐷 𝑢−𝑚 (1−𝑧)(2−𝑧)𝑢 ∣ 𝛾
¯
𝑧= 𝑚+¯ , the effect of fading parameter 𝑚 on overall detection capabil-
( 𝑧 ) 𝛾
1 ity. When 𝑚 increases, the average CAUC decreases, which
Res(𝑔; 0) = (𝑢−𝑚−1)! 𝐷𝑢−𝑚−1 𝑧− 𝛾¯ 𝑚1(1−𝑧)(2−𝑧)𝑢 ∣𝑧=0 ,
( 𝑚+¯𝛾 ) means the overall detection capability increases. Moreover, the
and 𝐷𝑛 (𝑓 (𝑧)) denotes the 𝑛th derivative of 𝑓 (𝑧) w.r.t. 𝑧. detection performance increases with order 𝑚 as 𝑚 increases
When 𝑚 = 1, 𝐴¯Nak is the average AUC over Rayleigh fading. from 1, 2, 3, to 5. Thus, the detection diversity order is 𝑚.
ATAPATTU et al.: MGF BASED ANALYSIS OF AREA UNDER THE ROC CURVE IN ENERGY DETECTION 1303

⎧ [ ( ) ( ) ]
⎨ 𝐾𝜇 1
Res 𝑔; 1+𝑐 + Res 𝑔; 1
+ Res (𝑔; 0) : 𝑢 > 2𝜇
(1+𝑐1 )𝜇 (1+𝑐2 )𝜇 ( 1+𝑐2 )]
𝐴¯𝜂𝜇 = [ ( 1
) (6)
⎩ 𝐾𝜇 1
Res 𝑔; 1+𝑐 1
+ Res 𝑔; 1+𝑐 : 𝑢 ≤ 2𝜇
(1+𝑐1 )𝜇 (1+𝑐2 )𝜇 1 2

Numerical
Numerical −1 Simulation
−1 Simulation 10
10

m = 1, 2, 3, 5 −2
−2 10
10
μ = 1, 2, 3, 5

Average CAUC
Average CAUC

−3
−3 10
10

−4
−4 10
10

−5
−5 10
10

−6
−6 10
10 0 5 10 15 20 25 30 35
0 5 10 15 20 25 30 35 Average SNR
Average SNR

Fig. 1. Average CAUC for Nakagami-𝑚 fading channel. Fig. 2. Average CAUC for 𝜂-𝜇 fading channel (Format I), 𝜂 = 0.5.

Since a general proof for detection diversity order may need The analytical results do not include special functions, thus
more space, we give a numerical example. When 𝑚 = 2 and reducing computational issues, and are amenable to rapid
𝑢 = 3, from (5), 𝐴¯Nak can be evaluated as computer evaluation by using mathematical softwares. This
[ analysis can be extended to other fading models and different
4 1/8 1 network scenarios, e.g., cooperative spectrum sensing.
𝐴¯Nak = ( )2 − ( )2 ( )3
(2 + 𝛾¯ )2 𝛾
¯ 2 𝛾
¯ 4+¯
𝛾
2+¯
𝛾 2+¯
𝛾 2+¯
𝛾 2+¯
𝛾
] R EFERENCES
3 1 (7)
+ [1] F. F. Digham, M. S. Alouini, and M. K. Simon, “On the energy detection
( )( )4 + ( )2 ( )( )3 of unknown signals over fading channels,” IEEE Trans. Commun.,
2 𝛾
¯ 4+¯
𝛾 2 𝛾
¯ 4+¯
𝛾
2+¯𝛾 2+¯𝛾 2+¯
𝛾 2+¯𝛾 2+¯𝛾 2+¯
𝛾 vol. 55, no. 1, pp. 21–24, Jan. 2007.
[2] S. P. Herath, N. Rajatheva, and C. Tellambura, “Energy detection
𝛾 −2 + 𝒪(¯
= 1 − 15.5¯ 𝛾 −3 ). of unknown signals in fading and diversity reception,” IEEE Trans.
Commun., vol. 59, no. 9, pp. 2443–2453, Sep. 2011.
Thus, the detection diversity order is 2. Fig. 2 shows the [3] S. Atapattu, C. Tellambura, and H. Jiang, “Performance of an energy
average CAUC for 𝜂-𝜇 fading model (Format I), which detector over channels with both multipath fading and shadowing,” IEEE
demonstrates the effect of the number (𝜇) of multipath clusters Trans. Wireless Commun., vol. 9, no. 12, pp. 3662–3670, Dec. 2010.
[4] ——, “Energy detection based cooperative spectrum sensing in cognitive
on overall detection capability. When 𝜇 = 1, 2, 3, and 5, radio networks,” IEEE Trans. Wireless Commun., vol. 10, no. 4, pp.
the average CAUC decreases in the order of 2, 4, 6, and 10, 1232–1241, Apr. 2011.
respectively. This means overall detection capability increases [5] ——, “Analysis of area under the ROC curve of energy detection,” IEEE
Trans. Wireless Commun., vol. 9, no. 3, pp. 1216–1225, Mar. 2010.
with order 2𝜇, and the detection diversity order is 2𝜇. [6] R. Waschburger, H. M. Paiva, J. J. Ribeiro e Silva, and R. K. H. Galvao,
Similar to [1-3], a small value of 𝑢 (= 2) is considered “Fault detection in a laboratory helicopter employing a wavelet-based
in above results. A larger 𝑢 will increase the computational analytical redundancy approach,” in Proc. SysTol 2010, pp. 70–75.
[7] S. Atapattu, C. Tellambura, and H. Jiang, “Performance of energy de-
complexity, since our approach needs to compute a derivative tection: a complementary AUC approach,” in Proc. 2010 GLOBECOM.
of order 𝑢. It takes less than 10 minutes for a 3.4 GHz [8] S. Alam, O. Odejide, O. Olabiyi, and A. Annamalai, “Further results on
computer processor to compute 𝑢 = 3500 case. For values of area under the ROC curve of energy detectors over generalized fading
channels,” in Proc. 2011 IEEE Sarnoff Symposium.
𝑢 up to 10,000, a more powerful workstation may be needed. [9] S. G. Krantz, Handbook of Complex Variables, 1st edition. Birkhuser
Boston, 1999.
[10] M. D. Yacoub, “The 𝜅-𝜇 distribution and the 𝜂-𝜇 distribution,” IEEE
V. C ONCLUSION Antennas Propagat. Mag., vol. 49, no. 1, pp. 68–81, Feb. 2007.
[11] S. Atapattu, C. Tellambura, and H. Jiang, “A mixture gamma distribution
Closed-form expressions for the AUC of energy detector to model the SNR of wireless channels,” IEEE Trans. Wireless Commun.,
over Nakagami-𝑚 and 𝜂-𝜇 fading channels are derived. This 2011, to appear.
analysis uses the MGF of the received SNR at the energy
detector output, and subsequently applies the residue theorem.

View publication stats

You might also like