You are on page 1of 13

IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO.

1, JANUARY 2013 63

Fast Multiband Spectrum Scanning for


Cognitive Radio Systems
Raied Caromi, Student Member, IEEE, Yan Xin, Senior Member, IEEE, and Lifeng Lai, Member, IEEE

AbstractThis paper considers the problem of how to quickly band, including single-carrier single band [1][4] and multi-
and accurately determine the availability of each spectrum band carrier single band [7] (e.g., single band orthogonal frequency
for a multi-band primary system using one or few sensors. division multiplexing (OFDM)). Recently, multi-band (multi-
Such problem is referred to as spectrum scanning. Two cases
of practical interest are studied: 1) a single sensor case in which channel)2 spectrum sensing has gained considerable research
only one spectrum band is observed at one time; and 2) a multiple attention [18], [19]. More specifically, in [20] and [21],
sensor case in which multiple spectrum bands are observed simul- multiple narrow-band sensors (detectors), each for a spectrum
taneously. For each case, scenarios with and without a scanning band, are used to simultaneously observe multiple spectrum
delay constraint are investigated. Using mathematical tools from bands. Multi-band joint energy detection [20] and sequential
optimal stopping theory, optimal spectrum scanning algorithms
are developed to minimize a cost function that strikes a desirable detection [21] were developed to maximize overall throughput
trade-off between detection performance and sensing delay. In the performance. When the number of candidate bands is large,
non delay-constrained case, it is shown that the optimal scanning these spectrum sensing schemes require a large number of
algorithm is a concatenated sequential probability ratio test sensors and joint simultaneous operation of these sensors and
(C-SPRT). In the delay-constrained case, the optimal scanning thus are of prohibitively large implementation complexity. In
algorithm has a high implementation complexity and truncation
algorithms are developed as alternative low complexity options. [22] and [23], a detector based on a wide-band receiver is used
Numerical examples are provided to illustrate the effectiveness to collect signal samples from all multiple candidate bands.
of the proposed algorithms. Sequential probability ratio tests (SPRT) and fixed sample size
Index TermsCognitive radio, spectrum sensing, optimal stop- (FSS) sensing algorithms are developed to minimize multi-
ping, Multiband, sequential analysis. band sensing delay. However, a wide-band detector typically
requires a high speed analog-to-digital converter (ADC) and
extra signal processing elements, thus incurring additional
I. I NTRODUCTION cost/complexity.
In this paper, we consider the problem of how to determine
S Pectrum sensing is widely regarded as a key technology
to enable dynamic spectrum access for cognitive radio
(CR) systems [1][17]. Roughly speaking, spectrum sensing
the availability of each spectrum band in a multi-band primary
system with small delay and small error probabilities using a
can be classified into two categories: single-band sensing and single or few sensors. With one or a small number of sensors,
multi-band sensing. As far as spectrum sensing is concerned, secondary users (SUs) are able to observe one band or a
the major difference between single-band sensing and multi- small subset of candidate bands at a time. Two scenarios of
band sensing is that in a multi-band system, sensing needs practical interests are investigated. In the first scenario, there
to be performed over spectrum bands that support different is a strict delay constraint on the spectrum scanning. That is,
primary user activities1 . Most early work on spectrum sensing the spectrum scanning needs to be complete within a certain
has been primarily focused on sensing a single spectrum time period. In the second scenario, there is no strict time
constraint for the scanning. That is, the spectrum scanning
Paper approved by H. Arslan, the Editor for Cognitive Radio and OFDM of continues until the completion of the entire detection process.
the IEEE Communications Society. Manuscript received September 6, 2011;
revised March 13, 2012.
In both scenarios, our goal is to design spectrum scanning
The work of R. Caromi and L. Lai was supported by the National schemes that minimize a cost function that strikes a balance
Science Foundation CAREER award under grant CCF-10-54338 and by the between error probabilities and detection delay.
National Science Foundation under grant DMS-12-65663. The material in
this paper was presented in part at the 44th annual Conference on Information
We first consider a single sensor case, in which only
Sciences and Systems, Princeton, NJ, Mar. 2010, and at the IEEE International one spectrum band is observed at a time. To minimize the
Conference on Wireless Communications and Signal Processing, Suzhou, scanning cost, the detector needs to design 1) selection rules
China, Oct. 2010.
R. Caromi is with the Department of Systems Engineering, University of
that decide which band to collect signal samples at each
Arkansas, Little Rock, AR 72204 USA (e-mail: rmcaromi@ualr.edu). time; 2) termination rules that decide when to terminate
Y. Xin was with NEC Laboratories America, Inc., Princeton, NJ 08540 the entire scanning process; and 3) terminal decision rules
USA. He is now with Samsung Dallas Technology Laboratories, Richardson,
Texas 75082 USA (e-mail: yan.xin@sta.samsung.com).
that decide the availability of each band after the scanning
L. Lai is with the Department of Electrical and Computer Engineer- process is complete. We first show that the problem at hand
ing, Worcester Polytechnic Institute, Worcester, MA 01609 USA (e-mail: can be converted into a Markovian optimal stopping time
llai@wpi.edu).
Digital Object Identifier 10.1109/TCOMM.2012.101712.110599
problem [25]. Using mathematical tools from the optimal
1 In this paper, we treat each single band as an entity in the sense that a stopping theory, we derive the optimal algorithms for both
single band no matter whether it is a single-carrier or multi-carrier single
band only has two possible states: unoccupied or occupied. 2 In this paper, we use multi-band and multi-channel interchangeably.
0090-6778/13$31.00 
c 2013 IEEE
64 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO. 1, JANUARY 2013

(k)
scenarios with and without a delay constraint. We show that in use q0 () to denote the density function of the signal received
(k)
the scenario without a delay constraint, the optimal scanning at the k th band when there is only noise, and use q1 () to
algorithm is a concatenated sequential probability ratio test denote the density function of the signal received at the k th
(C-SPRT). More specifically, we perform a SPRT test for the band when there is primary signal. The algorithms developed
(k)
first band. Once the SPRT test is complete for this band, we in this paper work for any form of density functions q0 ()
switch to another band and carry out another SPRT on the (k)
and q1 (). Furthermore, for generality, we allow the density
newly switched band. The scanning process completes once functions to be different for different k.
all the bands have been detected by using SPRT. Hence, the (k)
Let 0 denote the a priori probability that band k is
scanning algorithm can be efficiently implemented. On the
occupied by the primary user (PU). Generally speaking, the
other hand, the implementation of the optimal algorithm for (k)
values of 0 can be different for different bands. We further
the scenario with a strict delay constraint requires large look
assume that the status (occupied/unoccupied) of each band is
up tables and frequent updating of posterior probabilities, thus
independent of the status of other bands and the channel status
incurring a prohibitively high computational complexity. To
remains unchanged during the scanning process. Our goal is
reduce the complexity for the delay-constrained scenario, we
to design an algorithm to decide the presence/absence of PU
also propose several truncated C-SPRT algorithms that have
on each band in a way that minimizes an appropriate measure,
very low implementation complexity yet are asymptotically
which takes into account detection error probabilities and the
optimal.
sampling cost. We consider a sequential testing setup in which
We next generalize the study to the multiple sensor case,
SU needs to detect the status of all K candidate spectrum
in which multiple spectrum bands can be simultaneously
bands. At each time j, SU tunes to a subset of bands M from
observed. The detector again needs to design band selection
the set K to make an observation, the set M has a size of M
rules (in this case, select a subset of bands), termination rules
that represents the number of simultaneous observations. After
and terminal decision rules to minimize the cost function.
taking one observation each from these M bands, the detector
The problem can also be converted into a Markovian optimal
needs to decide whether to terminate the scanning or to con-
stopping time problem, and optimal rules can be derived using
tinue. Let denote the termination rule that SU uses to decide
the tools from the optimal stopping theory. To reduce the
whether or not to terminate the scanning. If SU terminates the
complexity, we also design several low complexity algorithms.
scanning at time j, then it determines the occupancy of all
Extensive numerical results are presented to show the effec- (1) (K)
tiveness of the proposed algorithms. bands using a terminal decision rule j = (j , , j ),
(k)
The remainder of this paper is organized as follows. Sec- in which j takes values in {0, 1} with 0 indicating that
tion II presents the system model and problem formulation. band k is free and 1 indicating that band k is occupied. Let
In Section III, optimal single observation scanning algorithms = { j , j = 1, 2, } denote the sequence of decision rules
are developed for both delay-constrained and non delay- used at SU. If SU chooses to continue scanning, then it uses
constrained scenarios. Several low complexity truncated C- the band selection function j to select M bands from the
SPRT schemes are also developed to reduce the implementa- set K and makes another observation from the selected band.
tion complexity for the delay-constrained scenario. Section IV We use = {j , j = 1, 2, . . . , } to denote the sequence of
extends the study to the multiple simultaneous observations band selection functions. At the end of the scanning process,
case. In Section V, we provide extensive numerical results to there are two types of error probabilities for band k. The first
(k)
illustrate the effectiveness of the proposed algorithms. Finally, one is the false-alarm probability PF A that is the probability
(k) (k)
in Section VI, we present several concluding remarks. of declaring hypothesis H1 is true while hypothesis H0 is
(k)
true and the second one is the misdetection probability PMD
II. S YSTEM M ODEL AND P ROBLEM F ORMULATION (k)
that is the probability of declaring hypothesis H0 to be true
In the system considered, SU can make simultaneous ob- (k)
while hypothesis H1 is true.
servations on a subset of M spectrum bands from the set (k)
K, which consists of all K candidate spectrum bands. Let Intuitively speaking, the lower PF A is, the higher number
(k) of spectrum bands are successfully identified as free and hence
Yj denote the signal sample received by SU, at time j from
band k. If there is no primary transmission over band k at more secondary transmission opportunities can be exploited.
(k) (k)
time j, then the received signal sample Yj can be written Whereas the lower PMD is, the lower the probability that
as Yj
(k) (k) (k)
= Wj , in which Wj is the background noise, SU interferes with primary transmissions. If there is no noise
uncertainty [31], [32], both types of error probabilities can be
whereas, if there is a primary transmission over band k at
(k) (k) (k) (k) made arbitrarily small by letting the number of samples go to
time j, then Yj can be written as Yj = Xj + Wj ,
(k) infinity3 . However, this will incur significant delay to reach
in which Xj is the primary signal sample. Mathematically, a decision. Therefore, an appropriate cost function needs to
the detection of the primary signals at the k th band can be strike a desirable tradeoff between the decision delay and the
formulated as a binary hypothesis testing problem as follows: detection error probabilities. In this paper, we aim to determine
H0
(k)
: Yj
(k)
= Wj ,
(k)
j = 1, 2, , the termination rule , the terminal decision rules and the
(k) (k) (k) (k)
H1 : Yj = Xj + Wj , j = 1, 2, (1)
(k) 3 In this paper, we do not consider noise uncertainty effects on the detection
where H0 refers to the hypothesis that channel k is free and performance [31], [32]. The noise uncertainty effects in a multichannel setup
(k)
H1 refers to the hypothesis that channel k is occupied. We will be investigated in our future work.
CAROMI et al.: FAST MULTIBAND SPECTRUM SCANNING FOR COGNITIVE RADIO SYSTEMS 65

TABLE I
band selection rules that minimize the cost LIST OF SYMBOLS
 K 
 
(k) (k) (k) (k) (k) (k) k k th band.
inf cE{ } + c0 (1 0 )PF A + c1 0 PMD , K Number of bands in the mutliband setup.
, , (k)
k=1 Yj Received signal sample of band k at time j.
(2) (k)
where E is expectation under the probability measure q = Wj Additive noise.
(k)
(k) (k) (k) (k) H0 Hypothesis test that band k is free.
[q (1) , q (2) , . . . , q (K) ] with q (k) := (1 0 )q0 + 0 q1 . (k)
H1 Hypothesis test that band k is occupied.
The parameter c denotes the cost of unit delay, and hence (k)
q0 (.) Noise only density function at band k.
the term cE{ } in the cost function represents the average (k)
(k) q1 (.) Primary signal and noise density function at band k.
cost of scanning delay. Similarly, c0 denotes the cost of a (k)
0 Priori probability that band k is occupied.
(k)
false alarm event happening over band k, and c1 denotes K Set of bands K = {1, . . . , K}
the cost of a misdetection event happening over band k. For M Set of simultaneous observation bands.
(k) (k) M Number of simultaneous observations.
generality, we allow c0 and c1 to be different for different Termination rule.
(k) (k) (k) (k) (k) (k)
bands. Clearly, the term (1 0 )c0 PF A + 0 c1 PMD is j
(k)
Terminal decision rule.
the average cost of detection errors over band k. Hence, the j Band selection rule.
(k)
cost function specified in (2) takes into consideration detection PF A False alarm probability of band k.
(k)
error probabilities and sampling cost, which are two key PM D Misdetection probability of band k.
c Cost of unit delay.
parameters closely related to the throughput of SU systems. (k)
c0 Cost of false alarm error of band k.
We note that other than the Bayesian formulation adopted (k)
c1 Cost of misdetection error of band k.
in (2), one could also use a variational formulation to strike (k)
(k) PF A Target false alarm probability of band k.
a balance between the error probabilities, namely PF A and (k)
(k) PM D Target misdetection probability of band k.
PMD and the average delay E{ }. More specifically, in T Total delay time.
(k)
the variational formulation, one aims to solve the following j Posterior probability that band k is occupied.
optimization problem: Fj Set of observation till time j.
Jj,T (Fj ) Minimal expected cost-to-go function at time j.
inf E{ }, (3) (k)
Aj,T Expected value of the cost-to-go function.
, ,
opt Optimal termination rule.
(k) (k) (k) (k) U (k)
s.t. PF A PF A , PMD PMD , for k = 1, , K. Upper bound of posterior probability in SPRT.
L(k) Lower bound of posterior probability in SPRT.
(k)
That is, we want to minimize the average delay under the Stopping rule of the sequential test
(k)
constraint that the error probabilities are less than target false BU Upper bound of the likelihood ratio.
(k) (k) (k)
alarm and misdetection probabilities PF A and PMD . However, BL Lower bound of the likelihood ratio.
following the same line of argument in Section 4.3 of [24], [(k) ]2 White Gaussian noise variance.
P (k) Power of the signal.
one can obtain the solution to (3) once the solution of the SN R(k) Signal to noise ratio.
Bayesian formulation is found. Hence, in this paper, we focus E( ) The overall average sample number (ASN) of SPRT.
on the Bayesian formulation (2). F SS Total fixed sample size of energy detector.
Two different scenarios will be considered. In the first Q1 Inverse of the Q function.
(k) Saved time of uniformly added truncation at band k.
scenario, SU needs to stop the scanning by time T . That is, the
stopping time is restricted to a finite interval [0, T ], called the
delay-constrained scenario. This models the situation in which
there is a strict delay constraint. In the second scenario, there is posterior probability of band k being occupied after collecting
(k)
no delay constraint on the scanning time, called the non delay- an observation Yj using the following equation
constrained scenario. Relying on results from optimal stopping (k) (k) (k)
theory, we obtain optimal solutions for both scenarios. For (k) j1 q1 (Yj )
j = (k) (k) (k) (k) (k) (k)
, (4)
convenience, a list of the mathematical symbols used is shown j1 q1 (Yj ) + (1 j1 )q0 (Yj )
in Table I.
(k)
where the sequence j is evaluated recursively as in [25]. For
III. T HE S INGLE O BSERVATION C ASE band k that is not selected at time j, the posterior probability
(k) (k) (k)
In this section, we develop scanning algorithms that solve j is not updated, i.e., j = j1 .
(2) for both delay-constrained and non delay-constrained sce- At this point, it is not clear whether or not j is a sufficient
narios when M = 1, i.e., the single observation case. Hence, statistic for the optimization problem (2). If j is a sufficient
at time j, the detector will use the band selection rule j statistic, then at time j, we can make our termination rule ,
to select which band to perform sensing. The results for this terminal decision rule and band selection rule solely based
special case provide insights for the solution of the general on j . This will greatly simplify our problem. We will show
case. below that j is indeed a sufficient statistic for the problem
(k)
Let j denote the posterior probability that band k is under study.
occupied after collecting observations up to time j. We define We first study the optimal terminal decision rule . Follow-
(1) (K)
j := (j , , j ). If j = k, then SU selects band ing a standard argument in [26], it is easy to show that for
k to sense at time j. Via Bayesian rule, we can update the any given termination rule and band selection rules , the
66 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO. 1, JANUARY 2013


K
At first, it is clear that JT,T
following simple terminal decision rule is optimal: (k)
= min{c0 (1
 k=1
(k) (k) (k) (k) (k) (k) (k)
(k) 1, if c1 c0 (1 ), T ), c1 T }, since we have to stop at time T . Given
= (5)
Jj+1,T (Fj+1 ), we have the following equation
(k) (k) (k) (k)
0, if c1 < c0 (1 ),

for any k {1, . . . , K}. The interpretation of this decision 


K  
Jj,T (Fj ) = min
(k) (k) (k) (k)
(k) (k)
rule is clear. More specifically, c1 is the average cost of min c0 (1 j ), c1 j ,
k=1
making a misdetection error. That is, we declare band k to
(k) (k)  
be free while band k is busy. Similarly c0 (1 ) is the c + inf E Jj+1,T (Fj+1 )|Fj , j ) . (7)
average cost of making a false alarm error, that is we declare j

band k to be busy while band k is free. Thus, we declare


K  
(k) (k) (k) (k)
that band k is occupied if the cost of a misdetection event In this equation, the term min c0 (1 j ), c1 j
k=1
is larger than that of a false alarm event, and vice visa. This is the additional cost that will incur if SU decides to stop
result suggests that the terminal decisions can be made only
scanning at time j. The term c+inf E Jj+1,T (Fj+1 )|Fj , j
based on j . With these terminal decision rules, the objective j
function in (2) is then converted into is the minimal expected additional cost that will incur
 if SU does not stop at time j. Note that the term
K
(k) (k)
E Jj+1,T (Fj+1 )|Fj , j depends on Fj , the observation up
inf E c + min c0 (1 (k) ), c1 (k) . (6)
,
k=1 to time j and j , the band selection rule. Hence, Jj,T (Fj )
also depends on the entire observation up to time j, namely
We will use results from optimal stopping theory [25] to solve
Fj . The following lemma shows that one can greatly simplify
this problem.
the form of these functions.
Lemma 1: For each j, the minimal expected cost-to-go
A. The Delay-Constrained Scenario function Jj,T (Fj ) can be written as a function of j , say
We first consider the scenario in which we have strict delay Jj,T ( j ) and the optimal band selection function j depends
constraint T , i.e., we need to finish the scanning by time T . only on j .
At each time instant j, SU needs to decide whether or not Proof: We will prove the lemma by induction. Clearly,
to terminate the scanning based on the observations that have K
  
JT,T (FT ) =
(k) (k) (k) (k)
been collected so far. Let Fj denote the set of observations till min c0 (1 T ), c1 T (8)
time j, and let Jj,T (Fj ) denote the minimal expected cost-to- k=1
go function at time j. This is the minimal value of the expected is a function of T only. Let JT,T ( T ) denote this function.
additional cost that will incur by any strategy between time j Suppose that Jj+1,T (Fj+1 ) depends on j+1 only. Let us
and T . Note that Jj,T (Fj ) is a function of Fj , j and T . At use Jj+1,T ( j+1 ) to denote it. We now show that Jj,T (Fj )
this stage, it is not clear what the optimal strategy between depends on j only. First, we have (9), since j admits only
time j and T is, and it is also not clear what the form of the K possible values, the term c + inf E {Jj+1,T ( j+1 )|Fj , j }
function Jj,T (Fj ) is. In the following, we will obtain the form j

of this function recursively using dynamic programming, and can be written as c + min E {Jj+1,T ( j+1 )|Fj , j }. If j =
j
then obtain the optimal solution based on this function. k, then we have (10), since if we select band k, only the

 
K
    
Jj,T (Fj ) = min , c + inf E Jj+1,T (Fj+1 )|Fj , j
(k) (k) (k) (k)
min c0 (1 j ), c1 j
j
k=1
K 
  
(k) (k) (k) (k)
= min min c0 (1 j ), c1 j , c + inf E {Jj+1,T ( j+1 )|Fj , j } . (9)
j
k=1

  (k) (k) (k) 



(1) j q1 (yj+1 ) (k)
E Jj+1,T ( j+1 )|Fj , j = k = Jj+1,T j , , (k) (k) (k) (k) (k) (k)
, , j
j q1 (yj+1 ) + (1 j )q0 (yj+1 )
 
(k) (k) (k) (k) (k) (k) (k) (k)
j q1 (yj+1 ) + (1 j )q0 (yj+1 ) dyj+1 := Aj,T ( j ), (10)

 
K
    
Jj,T (Fj ) , c + inf E Jj+1
(k) (k) (k) (k) T
= min min c0 (1 j ), c1 j (Fj+1 )|Fj , j
j
k=1
K 
    
(k) (k) (k) (k) (k)
= min min c0 (1 j ), c1 j , c + min Aj,T ( j ) , (11)
k
k=1
CAROMI et al.: FAST MULTIBAND SPECTRUM SCANNING FOR COGNITIVE RADIO SYSTEMS 67

posterior probability of band k will be updated. Clearly, this thus are the major hurdles in the implementation. We will
(k)
is a function of j , and we will use Aj,T ( j ) to denote this develop several low-complexity algorithms in Section III-C
function. As a result, we have (11), which is a function of j based on insights gained from the non delay-constrained
only, and we will use Jj,T ( j ) to denote this function. scenario discussed in Section III-B.
Now, the optimal band selection function is given by
  B. The Non Delay-Constrained Scenario
(k)
j = argmin Aj,T ( j ) , (12)
In this section, we consider the non delay-constrained
which depends on j . scenario. We can obtain the optimal solution for this problem
From this result, we know that j is a sufficient statistic via two approaches. The first one is to let the delay constraint
for this problem. Without loss of optimality, we can make our T defined in Section III-A go to . For each T , we obtain the
decisions solely based on j . Furthermore, since j depends optimal solution as outlined in Section III-A. As T increases,
on j only, we have that {j : j = 0, 1, } forms a Markov the solution will converge to the optimal solution for the case
process. with no deadline constraint. The convergence is guaranteed
(k)
Regarding the functions Jj,T ( j ) and Aj,T ( j ), we have by Theorem 3.7 of [25]. This approach will be explained in
the following result. Let 0 denote a vector whose entries are detail in Section IV-B.
all zeros and 1 denote a vector whose entries are all ones. Another approach is to exploit the decoupled structure of
(k)
Lemma 2: The functions Jj,T ( j ) and Aj,T ( j ) are non- the optimization problem (6). In the following, we will adopt
negative concave functions of j . And Jj,T (0) = Jj,T (1) = this approach. For any stopping time , let (k) be the amount
(k) (k) of time we spend on detecting band k. We can express (6) as
Aj,T (0) = Aj,T (1) = 0.
(k) K   
Proof: The fact Jj,T (0) = Jj,T (1) = Aj,T (0) = (k)
K
(k) (k) (k) (k)
(k) cE + min c0 (1 ), c1
Aj,T (1) = 0 can be shown by using a simple inductive k=1 k=1
argument. K 
 
(k) (k) (k) (k)
The concavity of these functions can be shown in the same = cE{ (k) } + min c0 (1 ), c1 .
k=1
manner as [30].
These supporting lemmas show that the finite-horizon ver- As a result, the quantity to be minimized is related to only
sion of the optimization problem (6) can be converted to the total amount of detection time. Particularly, the quantity is
irrespective of sensing
 ordering (band selection
 rules). Once
a Markov optimal stopping time problem [25]. Using the (k) (k) (k) (k)
results from optimal stopping theory, we know that the optimal E{ (k) } + min c0 (1 ), c1 is minimized for
termination rule has the following form each band, the summation is also minimized. One key obser-
 vation is that these K optimization problems are independent
K  
(k) (k) (k) (k) of each other. We can minimize each term independently.
opt = inf j : min c0 (1 j ), c1 j
Note that this is not the case for the scenario considered in
k=1
  Section III-A. In Section III-A, we need to stop before time
(k)
= c + min Aj,T ( j ) . (13)
K
k T and hence we have an additional constraint (k) T ,
k=1
That is, the optimal time to terminate the scanning is the time which couples these K optimization problems.
(k)
when the cost that will incur if SU decides to stop scanning, For
 each k, the solution  that minimizes E{ } +
(k) (k) (k) (k)
is equal to the minimal expected cost that will incur if SU min c0 (1 ), c1 is the well-known SPRT al-
does not stop. (k) (k) (k)
gorithm [25]. More specifically, for any c, c0 , c1 , q0 and
In summary, the optimal scanning algorithm with a deadline (k)
q1 , the solution is parameterized by two parameters U (k)
T is described as follows:
and L(k) . The stopping rule of the sequential test at the kth
1) Initialization: Given the maximum sensing time T , den- band is
(k) (k) (k)
sity functions q0 and q1 , the cost of errors c0 and (k)
(k) (k) 0, if L(k) < j < U (k) ,
c1 , we use (8), (10) and (11) to recursively compute = (14)
(k) 1, otherwise,
the functions Jj,T () and Aj,T ().
2) After collecting a sample, we use (4) to update the pos- and the terminal decision rule in (5) becomes
terior probability that a selected band is being occupied. 
(k)
(k) 1, if j U (k) ,
3) Use (12) to select which band to sense if we decide to = (k) (15)
continuing sensing. 0, if j L(k) .
4) Use (13) to decide whether we should terminate scan- The stopping rule in (14) requires the sequential test to
ning or not. If we decide to continue scanning, go back continue if the posterior probability lies within the bound-
to 2). If we decide to terminate scanning, then we use aries U (k) and L(k) , and to stop sensing otherwise. Once
decision rule (5) to decide the availability of each band. the sequential test is stopped, a decision should be made
Remark 1: In the delay-constrained scenario, the optimal based on the terminal decision rule of (15). That is, claiming
(k) (k) (k)
algorithm involves recursive computation of Jj,T () and hypothesis H0 if j L(k) or claiming hypothesis H1
(k)
Aj,T (), and frequent updating of the posterior probability (k)
if j U (k) . In the original Walds SPRT [28], there is no
(k)
j . These steps incur high computational complexity and upper limit on the number of observations required to reach a
68 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO. 1, JANUARY 2013

decision. This may lead to an increase in number of samples further simplified as


in case of ambiguous observations. However, this problem    
 (k) 2 (k)
will be treated in Section III-C by truncation as we propose [Yi ] > d(k) |S (k) | log 1 + SN R(k) + log BU ,
different truncation schemes as an alternative to the optimal iS (k)
multiband delay-constrained scenario. (17)
    
The optimization problem does not depend on and no (k) (k)
[Yi ]2 < d(k) |S (k) | log 1 + SN R(k) + log BL ,
delay constraint is imposed on the scanning process. Hence,
iS (k)
with no loss of optimality, we can start scanning from band (18)
1, once we finish scanning band 1, we switch to band 2. The
entire scanning process is terminated, once we finish scanning
in which d(k) = [ (k) ]2 (SN R(k) + 1)/SN R(k) and |S (k) | is
band K. In summary, we have the following solution.
the size of the set S (k) .
(k) (k)
1) Initialization: Given density functions q0 and q1 , and In general, it is difficult to obtain a closed form expressions
(k) (k) (k) (k)
the costs of errors c0 and c1 , compute parameters for the boundary values BU and BL [28]. Since the optimal
(k) (k)
L and U . solution is the concatenated SPRT, we can use the approxi-
2) Starting from band 1, after taking each sample from mation techniques for the SPRT to simplify the computation
(k) (k)
band k, use (4) to update the posterior probability. If of BL and BU . In practice, we will first specify the target
(k) (L(k) , U (k) ), stay on band k to collect more (k) (k)
error probabilities. That is, PF A and PMD are given. Then,
samples. If k U (k) , claim that band k is busy, and using Walds approximation [25], [28], we have
switch to band k + 1 to sense. If (k) L(k) , claim that
band k is free, and switch to band k + 1 to sense. (k) (k)
BU = (1 PMD )/PF A ,
(k) (k) (k) (k)
BL = PMD /(1 PF A ). (19)
3) The scanning is finished, once we finish scanning band
K.
The actual false-alarm and misdetection probabilities of SPRT
Remark 2: It is clear that the optimal algorithm is a con- using upper- and lower-bounds in (19) are upper-bounded by
(k) (k)
catenation of SPRTs (C-SPRT), which is much simpler as the target PF A and PMD , respectively, and more importantly
compared with the solution for the delay-constrained scenario. the actual error probabilities become quite close to the target
(k) (k)
This algorithm can be further simplified for specific density counterparts when PF A and PMD are small. In SPRT, the
functions. For example, assuming Gaussian random vari- number of observations required to reach a decision is a ran-
(k) (k)
ables, we have q0 (Yj ) = 1/[ (k) ]2 exp(|Yj |2 /[ (k) ]2 ) dom number. The average (expected) sample number (ASN)
(k) (k) is thus considered as a useful benchmark for SPRT.
and q1 (Yj ) = 1/(P (k) + [ (k) ]2 ) exp(|Yj |2 /(P (k) +
(k) 2 (k) 2
[ ] )). Here, [ ] is the variance of the Gaussian noise We next evaluate ASN of C-SPRT. Let us first consider
(k)
over band k and P (k) is the power of the signal over band k. the kth band. Let l be the sample number required to
Let S (k) denote the set of time slots in which we select band reach a decision for the kth band  under Hl for l = 0, 1.
(k) (k) (k) (k) (k)
k to sense up to time j. Using Bayes rule and the fact that Let us define Zi := log q1 (Yi )/q0 (Yi ) and
(k)
the observations are assumed to be independent and identically r(k) = 1/(SN R(k) + 1). We can readily compute Zi =
(k)
distributed (i.i.d.) [26], the posterior probability can be written log r(k) + |Yi |2 /d(k) . By some straightforward computation,
as (k) (k)
we have 0 := E[Zi |H0 ] = log r(k) + 1 r(k) and
(k) (k)
(k)  (k) (k) 1 := E[Zi |H1 ] = logr(k) + [r(k) ]1 1. Following from
0 q1 (Yi ) (k)
(k) iS (k)
[25], we have E l |Hl
j = (k)  (k) (k) (k)  (k) (k)
,
0 q1 (Yi ) + (1 0 ) q0 (Yi )
(k) (k) (k) (k)
iS (k) iS (k) 1 BL [exp(tl BU ) 1] + BU [1 exp(tl BL )]
(k) (k) (k)
,
l exp(tl BU ) exp(tl BL )
(k) (k)
hence j > U (k) and j < L(k) imply that
where l = 0, 1 and tl is a nonzero constant satisfying
 (k) (k)
(k)
E[exp(tl Zi )|Hl ] = 1. It can be readily determined that t0
q1 (Yi ) (k)
iS (k) U (k) (1 0 ) (k) is equal to 1 while t1 is equal to 1. Clearly, the overall ASN
 (k) (k)
> (k)
:= BU , and can be expressed as
q0 (Yi ) 0 (1 U (k) )
iS (k)
 (k) (k)
K
    
q1 (Yi ) (k) E( ) =
(k) (k) (k) (k)
E l |H0 (10 )+E l |H1 0 . (20)
(k)
iS (k) L (1 0 ) (k)
 (k) (k)
< (k)
:= BL , (16) k=1
q0 (Yi ) 0 (1 L(k) )
iS (k) To compare ASN of C-SPRT with the fixed sample size (FSS)
of the energy detector, we compute the minimum FSS required
(k) (k)
respectively. Let SN R(k) = P (k) /[ (k) ]2 denote the signal- to achieve target PF A and PMD in the multiband setup for
to-noise ratio (SNR) at band k. Since Q0 CN (0, [ (k) ]2 ) the same density functions above. The test statistic in this case
and Q1 CN (0, P (k) + [ (k) ]2 ), these two equations can be is the energy of the received signal compared to a threshold
CAROMI et al.: FAST MULTIBAND SPECTRUM SCANNING FOR COGNITIVE RADIO SYSTEMS 69

(1) T /K
[27]. By simple manipulations, FSS can be expressed as 1
(2) T /K
K 
  2
1 (k) (3) (T /K)
F SS = Q1 (PF A ) 3
SN R(k)
k=1
2
(k)
(SN R(k) + 1)Q1 (1 PMD ) . (21)
..
. (K) T /K
K
In summary, we have the following simplified scanning
scheme: Fig. 1. An illustration of C-SPRT with the uniform truncation.
(k) (k)
1) Given target error probabilities PMD and PF A , we (1)
(k) (k) 1 T
use (19) to compute BL and BU . (2) T (1)
(k) 2
2) After taking a sample Yi from band k, we use (17) 3 (3) T (1) (2)
and (18) to decide whether we should skip to the next
band or not. If (17) is satisfied, claim that band k is busy .
and skip to the next band. If (18) is satisfied, then we ..(K) K1
K T 1 (k)
declare that band k is free and skip to the next band.
If neither of these two is satisfied, stay on band k to Fig. 2. An illustration of C-SPRT with the tail truncation.
observe more samples.

C. Truncated C-SPRT Schemes one achieved by the non-truncated C-SPRT. If T is quite small,
then it is highly likely that C-SPRT with tail truncation will
As mentioned above, the complexity of the optimal solution
not have time to finish detecting all K bands. In such a case,
for the delay-constrained scenario is very high. Inspired by
we assume that a random decision (like tossing a coin) will
the solution for the scenario with no delay constraint, we
be made for undetected bands, thus incurring high detection
propose several truncated C-SPRT that can be used for the
errors. This is the major disadvantage of C-SPRT with tail
delay-constrained scenario. In the truncated C-SPRT, SPRT
truncation.
will be run on each band. However, a deadline will be
3) Uniformly Added Truncation: To overcome potential
imposed on each band. If SPRT does not finish before the
drawbacks of the uniform truncation and the tail truncation,
deadline is reached, then it will be forced to finish, and
we next present the uniformly added truncation. As shown in
a decision will be made using the information gathered at
Fig. 3, we initially set the maximal detection time to be T .
that time. In the following, we consider several truncation
During the detection process, we will use the detection time
methods, namely uniform truncation, tail truncation, uniformly
saved in any detection stage to extend the maximal detection
added truncation, and sequentially added truncation. All these
time for a later detection stage in a uniform manner. That
truncated algorithms are asymptotically optimal as the delay
is, the saved detection time will be added to the maximum
constraint is relaxed. In these truncation schemes, we adopt a
detection time of the undetected bands equally. The max-
simple and natural scanning order (from channel 1 to channel
imum detection time for the kth band is T /K + (k1) ,
K), which is not necessarily optimal. One can find the optimal
where (k) can be  recursively computed
 as (0) = 0 and
scanning order following the steps in [29]. However, the (k1) (k) +
complexity of the algorithm for finding the optimal scanning (k) = (k1) + T /K+Kk , where x + denotes
order is very high. Since our goal is to find a low-complexity max{0, x}. As an example, if K = 16, T = 1600 and
but asymptotically optimal schemes, we opt to use this natural (1) = 10, then after detecting the first band, we save 90
scanning order. sample periods and will use it to equally extend the maximum
1) Uniform Truncation: In the uniform truncation, we need detection time for the rest 15 bands. Thus, the maximum
to finish detecting each band within a period of time T /K as detection time for the rest bands now is 106 sample periods.
illustrated in Fig. 1. That is, the maximal detection time is By doing so, uniformly added truncation can guarantee that
equal for all bands. In particular, the saved time for detecting no random detection will take place and the detector can fully
a band will not be reallocated for detecting other bands. As can utilize available detection time.
be seen from the above description, the advantage of uniform 4) Sequentially Added Truncation: In the uniformly added
truncation is that no random decision will take place in the truncation, the saved detection time will be added to the
detection process, but the disadvantage of the method is that maximum detection time of the undetected bands in a uniform
it does not utilize the saved time from the bands that can be manner. Apparently, when T is small, it may lead to too
quickly detected. much truncation in an early detection stage. To amend this
2) Tail Truncation: In the tail truncation, we need to finish deficiency, we next propose an alternative truncation method,
the detection process within a period of time T . It implies that called the sequentially added truncation. The method is the
detection time is distributed unevenly among K bands. To be same as the uniformly add truncation except that the saved
specific,
k1 (l) the maximum detection time for the kth band is T time on detecting the current band will be used to extend only
l=1 as shown in Fig. 2. Intuitively, if T is sufficiently the maximum detection time of the next band. The maximum
large, then C-SPRT with tail truncation will be able to scan all detection time of the k th band can be written as T /K + (k1) ,
the bands, thus being able to achieve a probability similar to where (0) = 0 and (k) = (k1) + T /K (k) + .
70 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO. 1, JANUARY 2013

(1) T /K
1 and the meaning of each term is the same as that of the single-
2 (2) T /K + (1) observation case.
T /K + (3)
3 
K  
Jj,T (Fj ) = min
(k) (k) (k) (k)
min c0 (1 j ), c1 j ,
.
. k=1
 
. (K)
T /K + (K1)
c + inf E Jj+1,T (Fj+1 )|Fj , j ) . (24)
K j

Fig. 3. An illustration of C-SPRT with the uniformly added truncation.


Similar to Section III, we have the following lemma that
simplifies the forms of the cost-to-go functions.
IV. T HE M ULTIPLE S IMULTANEOUS O BSERVATION C ASE Lemma 3: For each j, the minimal expected cost-to-go
function Jj,T (Fj ) can be written as a function of j , say
In this section, we consider the case in which the sensor can
Jj,T ( j ) and the optimal band selection function j depends
take observations from more than one band at a time. Similar
only on j .
to Section III, we consider both delay-constrained and non
Proof: We will prove the lemma by induction. Clearly,
delay-constrained scenarios. We discuss the two simultaneous K  
observation case (i.e., M = 2) in detail. The case with more
JT,T (FT ) =
(k) (k)
min c (1 ), c
(k) (k)
is a func-
0 T 1 T
than two simultaneous observations is similar. k=1
(k) tion of T only. Let JT,T ( T ) denote this function. Sup-
Again, we use j to denote the posterior probability that pose that Jj+1,T (Fj+1 ) depends on j+1 only. Let us use
band k is occupied after collecting observations up to time
(1) (K) Jj+1,T ( j+1 ) to denote it. We now show that Jj,T (Fj )
j. We define j := (j , , j ). If j = (k1 , k2 ), that depends on j only.
is SU selects bands k1 and k2 to sense at time j, then via   K(K1)
First, we have (25), since j admits only K2 = 2
Bayes rule, we can update the posterior probability of bands
(k ) possible values, the term c + inf E {Jj+1,T ( j+1 )|Fj , j }
k1 and k2 being occupied after collecting observations Yj 1 j
(k )
and Yj 2 using the following equations can be written as c + min E {Jj+1,T ( j+1 )|Fj , j }. If j =
j
(k1 , k2 ), then we have (26), since if we select bands k1
(k ) (k1 ) (k1 )
(k1 )
1
j1 q1 (Yj ) and k2 , only the posterior probability of bands k1 and k2
j = (k1 ) (k1 ) (k ) (k1 ) (k1 ) (k )
, will be updated. Clearly, this is a function of j and is
j1 q1 (Yj 1 ) + (1 j1 )q0 (Yj 1 ) (k ,k )
(k2 ) (k2 ) (k )
denoted by Aj,T1 2 ( j ). Then, we have (27) which is a
(k2 ) j1 q1 (Yj 2 ) function of j only, and we will use Jj,T ( j ) to denote this
j = (k2 ) (k2 ) (k ) (k2 ) (k2 ) (k )
.
j1 q1 (Yj 2 ) + (1 j1 )q0 (Yj 2 ) function. Now, the  optimal band  selection function is given
(k1 ,k2 )
by j = argmin Aj,T ( j ) , which depends on j .
For band k that is not selected at time j, the posterior From this result, we know that j is a sufficient statistic
(k) (k) (k)
probability j is not updated, i.e., j = j1 . for this problem. Without loss of optimality, we can make our
We first study the optimal terminal decision rules . Similar decisions solely based on j . Furthermore, since j depends
to Section III, it is easy to show that the following simple on j only, we have that { j : j = 0, 1, } forms a Markov
terminal decision rule is optimal: (k ,k )
process. Regarding the functions Jj,T ( j ) and Aj,T1 2 ( j )

(k) (k) (k) (k) we have the following result similar to Lemma 2.
(k) 1, if c1 c0 (1 ), (k ,k )
= (k) (k) (k) (k) (22) Lemma 4: The functions Jj,T ( j ) and Aj,T1 2 ( j ) are
0, if c1 < c0 (1 ),
non-negative concave functions of j . And Jj,T (0) =
(k ,k ) (k ,k )
for any k {1, . . . , K}. This result suggests that the terminal Jj,T (1) = Aj,T1 2 (0) = Aj,T1 2 (1) = 0.
decisions can be made only based on j . With these terminal Proof: The proof is similar to that for Lemma 2, and thus
decision rules, the objective function in (2) under two simul- is omitted.
taneous observations is again converted into These supporting lemmas show that the finite-horizon ver-
  sion of the optimization problem (23) can be converted to
K   a Markov optimal stopping time problem [25]. Using the
(k) (k) (k) (k)
inf E c + min c0 (1 ), c1 . (23)
, results from optimal stopping theory, we know that the optimal
k=1
stopping time has the following form

A. The Delay-Constrained Scenario  K  


(k) (k) (k) (k)
opt = inf j : min c0 (1 j ), c1 j
At each time instant j, SU needs to decide whether to ter- k=1
minate scanning based on the observations that have been col-  
(k1 ,k2 )
lected so far. Similar to Section III, we use Jj,T (Fj ) to denote = c + min Aj,T ( j ) . (28)
k1 ,k2
the minimal expected cost-to-go function at time j. At first, it

K  
is clear that JT,T =
(k) (k) (k) (k) That is, the optimal stopping time is the time when the cost
min c (1 ), c 0 , since
T 1 T
k=1 that will incur if SU decides to stop scanning, is equal to the
we have to stop at time T . Given Jj+1,T (Fj+1 ), we have (24) minimal expected cost that will incur if SU does not stop.
CAROMI et al.: FAST MULTIBAND SPECTRUM SCANNING FOR COGNITIVE RADIO SYSTEMS 71

(k)

B. The Non Delay-Constrained Scenario (k) ), c1 (k) , c + min A(k1 ,k2 ) () . As a result, the
k1 ,k2
We next consider the non delay-constrained scenario. We optimal stopping rule is found in (30)

and the band selection
can obtain the optimal solution by driving the constraint T in rule is j = argmin A(k1 ,k2 ) ( j ) , which depends only on
Section IV-A go to infinity as detailed in the following. j .
First, we have Jj,T +1 () Jj,T (), since the set of K
  
(k) (k) (k) (k)
allowed stopping time is enlarged if we allow the delay- opt = min{j : min c0 (1 j ), c1 j
constraint T to increase. Furthermore, we have 0 Jj,T 1 k=1
 
for any j and T , and hence the following limit is well-
= c + min A(k1 ,k2 ) ( j ) }. (30)
defined: lim Jj,T () = inf Jj,T () = Jj, (). Also, k1 ,k2
T T >j
we have Jj, () = Jj+1, (), due to the i.i.d. nature of We next discuss the structure of the optimal solution and
the observations. We will use J() to denote this common present a simple heuristic scheme. For any stopping time ,
function. It is easy to check that J() is a concave function let (k) be the amount of time we spend on detecting band
in . Furthermore, it can be shown that J() is unique. k. It is easy to see that in the optimal solution, we have =
K (k)
By the dominated convergence theorem, the limit in (29) k=1 /2, since we will always make observations from
K (k) two bands at any time before we terminate the test. Hence, in
is well defined. Hence, J() = min min c0 (1
k=1 the optimal test, when the test is terminated, there exists a set

 
K
    
Jj,T (Fj ) = min , c + inf E Jj+1,T (Fj+1 )|Fj , j
(k) (k) (k) (k)
min c0 (1 j ), c1 j
j
k=1
K 
  
(k) (k) (k) (k)
= min min c0 (1 j ), c1 j , c + inf E {Jj+1,T ( j+1 )|Fj , j } . (25)
j
k=1

E Jj+1,T ( j+1 )|Fj , j = (k1 , k2 ) =


  (k ) (k ) (k1 ) (k ) (k ) (k2 ) 
j 1 q1 1 (yj+1 ) j 2 q1 2 (yj+1 )
Jj+1,T (k ) (k ) (k ) (k ) (k ) (k1 )
, , (k ) (k ) (k2 ) (k ) (k ) (k2 )
1 q1 1 (yj+1 1
) + (1 j 1 )q0 1 (yj+1 ) j 2 q1 2 (yj+1 ) + (1 j 2 )q0 2 (yj+1 )
 j  
(k1 ) (k1 ) (k1 ) (k1 ) (k1 ) (k1 ) (k2 ) (k2 ) (k2 ) (k2 ) (k2 ) (k2 ) (k1 ) (k2 )
j q1 (yj+1 ) + (1 j )q0 (yj+1 ) j q1 (yj+1 ) + (1 j )q0 (yj+1 ) dyj+1 dyj+1
(k ,k2 )
:= Aj,T1 ( j ), (26)
 
K
    
Jj,T (Fj ) , c + inf E Jj+1
(k) (k) (k) (k) T
= min min c0 (1 j ), c1 j (Fj+1 )|Fj , j
j
k=1
K 
    
(k) (k) (k) (k) (k1 ,k2 )
= min min c0 (1 j ), c1 j , c + min Aj,T ( j ) , (27)
k1 ,k2
k=1

(k ,k2 )
lim Aj,T1 () =
T
  (k1 ) (k ) (k2 ) (k ) 
(k1 ) q1 (yj+1
1
) (k2 ) q1 (yj+1
2
)
lim Jj+1,T (k ) (k ) (k ) (k )
, , (k ) (k ) (k ) (k )
T (k1 ) q1 1 (yj+1
1
) + (1 (k1 ) )q0 1 (yj+1
1
) (k2 ) q1 2 (yj+1
2
) + (1 (k2 ) )q0 2 (yj+1
2
)
  
(k ) (k1 ) (k ) (k1 ) (k ) (k2 ) (k ) (k2 ) (k1 ) (k2 )
(k1 ) q1 1 (yj+1 ) + (1 (k1 ) )q0 1 (yj+1 ) (k2 ) q1 2 (yj+1 ) + (1 (k2 ) )q0 2 (yj+1 ) dyj+1 dyj+1
  (k1 ) (k ) (k2 ) (k ) 
(k1 ) q1 (yj+1
1
) (k2 ) q1 (yj+1
2
)
= lim Jj+1,T (k ) (k ) (k ) (k )
, , (k ) (k ) (k ) (k )
T (k1 ) q1 1 (yj+11
) + (1 (k1 ) )q0 1 (yj+1
1
) (k2 ) q1 2 (yj+1
2
) + (1 (k2 ) )q0 2 (yj+12
)
  
(k ) (k1 ) (k ) (k1 ) (k ) (k2 ) (k ) (k2 ) (k1 ) (k2 )
(k1 ) q1 1 (yj+1 ) + (1 (k1 ) )q0 1 (yj+1 ) (k2 ) q1 2 (yj+1 ) + (1 (k2 ) )q0 2 (yj+1 ) dyj+1 dyj+1
  (k1 ) (k ) (k2 ) (k ) 
(k1 ) q1 (yj+1
1
) (k2 ) q1 (yj+1
2
)
= J (k ) (k ) (k ) (k )
, , (k ) (k ) (k ) (k )
(k1 ) q1 1 (yj+1
1
) + (1 (k1 ) )q0 1 (yj+1
1
) (k2 ) q1 2 (yj+1
2
) + (1 (k2 ) )q0 2 (yj+12
)
  
(k ) (k1 ) (k ) (k1 ) (k ) (k2 ) (k ) (k2 ) (k1 ) (k2 )
(k1 ) q1 1 (yj+1 ) + (1 (k1 ) )q0 1 (yj+1 ) (k2 ) q1 2 (yj+1 ) + (1 (k2 ) )q0 2 (yj+1 ) dyj+1 dyj+1
:= A(k1 ,k2 ) (). (29)
72 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO. 1, JANUARY 2013

TABLE II
K1 K such that kK1 (k) = kKc (k) . D ETECTION P ERFORMANCE OF C-SPRT FOR K = 4, 16, 64
1
Using this observation, we can rewrite (23) as
  SNR (dB) 0 5 10

K
(k)  
K   PF A (K = 4, Monte Carlo) 0.005 0.04 0.09
(k) (k) (k) (k)
inf cE + min c0 (1 ), c1 PF A (K = 16, Monte Carlo) 0.005 0.04 0.09
, 2 PF A (K = 64, Monte Carlo) 0.005 0.04 0.09
k=1 k=1
  PM D (K = 4, Monte Carlo) 0.008 0.05 0.1
s.t. K1 K, (k) = (k) . (31) PM D (K = 16, Monte Carlo) 0.008 0.05 0.1
kK1 kKc
1 PM D (K = 64, Monte Carlo) 0.008 0.05 0.1
ASN (K = 4, Monte Carlo) 85 305 1615
The constraint in (31) makes the problem challenging. The ASN (K = 16, Monte Carlo) 342 1222 6468
approach to obtain the optimal solution mentioned above (i.e., ASN (K = 64, Monte Carlo) 1368 4888 25875
ASN (K = 4, Numerical) 76 281 1548
by letting T ) has a high computational complexity. In ASN (K = 16, Numerical) 304 1126 6194
the following, we propose a heuristic scheme. The basic idea ASN (K = 64, Numerical) 1216 4502 24775
of the heuristic scheme is to drop the constraint in (31). This ASN (K = 16, PF A = PM D = 0.1) 161 844 6468
allows us to decouple the optimization problem, and enables FSS (K = 16, PF A = PM D = 0.1) 240 1424 11600
ASN (K = 16, PF A = PM D = 0.01) 342 1990 16138
us to derive a simple scheme that has a similar flavor as that FSS (K = 16, PF A = PM D = 0.01) 784 4656 38192
of the single observation case discussed in Section III. More
specifically, if we ignore the constraint in (31), then we have
K  Furthermore, we assume that both noise and signal are com-
 K  
(k) (k) (k)
cE /2 + min c0 (1 (k) ), c1 (k) plex Gaussian.
k=1 k=1 Test Example 1: Table II compares C-SPRT in terms of
K 
   false-alarm and misdetection probabilities and ASN for differ-
(k) (k)
= c/2E{ (k) } + min c0 (1 (k) ), c1 (k) . ent SNR for K = 4, 16, 64 for the single observation case. In
k=1 this table, we use PF A and PMD to denote average false-alarm
K (k)
and misdetection probabilities. That is, PF A = k=1 PF A /K
As a result, the quantity to be minimized is only related to K (k)
the total amount of detection time. Particularly, the quantity is and PMD = k=1 PMD /K. As can be observed from the
 ordering (band selection
irrespective of sensing  rules). Once table, ASN increases linearly as K increases. ASN obtained by
(k) (k) (k) (k) Monte-Carlo simulation is quite close to one obtained by using
c/2E{ (k) }+min c0 (1 ), c1 is minimized for
an approximation in (20). Table II also compares C-SPRT and
each k, the summation is also minimized. Again, now these K
energy detection in terms of the number of samples required
optimization problems are independent of each other. Similar
to achieve the same false-alarm and misdetection probabilities.
to Section III-B, we can minimize each term independently
As can be seen from the table, C-SPRT requires much less
and obtain a heuristic solution in which SPRT is run on each
ASN than energy detection in the cases of (PF A , PMD ) =
band.
(0.1, 0.1) and (PF A , PMD ) = (0.01, 0.01). Furthermore, it
can be observed from the table that as compared to energy
C. Multiple Simultaneous Observation Truncated C-SPRT detection, the lower the target error probabilities are, the higher
Schemes ASN savings can be achieved for C-SPRT.
The same truncated C-SPRT schemes discussed in Sec- Test Example 2: In this example, we compare four trunca-
tion III-C could be used for the multiple observations case tion methods in terms of the false-alarm probability, the mis-
to reduce the complexity for the delay-constrained scenario. detection probability for different cases of SNR, the number of
The uniform and tail truncation schemes are very similar to bands and truncation time for the single observation case. The
those of the single observation case. The available time T is results of the error probabilities for three different parameter
equally divided between all bands in the uniform truncation configuration cases are shown in Table III. Fig. 4 shows ASN
scheme, while the total scanning time should not exceed versus SNR for the first case. Comparing the results of PF A
the available time T for the tail truncation scheme. In the and PMD in this case (i.e., K = 16, T = 3560) and ASN in
uniformly added truncation, the saved detection time from Fig. 4 yields to a conclusion that when the delay constraint is
each sensor will be added uniformly to the maximum detection strict, all truncations suffers from large detection errors when
time of the undetected bands. Finally, for the sequentially SNR is small while the non truncated C-SPRT suffers from
added truncation scheme, the saved time from each sensor large ASN to scan all the available bands when SNR is small.
during the detection process will be added to the next available The tail truncation approach suffers a large number of random
band to scan. decision errors and requires the largest ASN among these
truncation methods to achieve similar detection performance.
The overall performance shows that among the four trunca-
V. N UMERICAL E XAMPLES
tion methods, the sequentially added truncation method yields
In this section, we provide several numerical examples the most desirable tradeoff between the detection performance
to illustrate the effectiveness of the algorithms developed in and the detection delay. This is because the sequentially added
(k)
this paper. In all the examples, we assume that 0 for truncation method avoids random detection and fully utilizes
k = 1, . . . , K is equal to 1/2 unless indicated otherwise and available detection time. In the second case, both the number
the results are obtained by using Monte-Carlo simulations. of bands, K, and the allowed time, T , are increased by a
CAROMI et al.: FAST MULTIBAND SPECTRUM SCANNING FOR COGNITIVE RADIO SYSTEMS 73

5
x 10
2.5

3.5
10 1 Channel sense
2
2 Channels sense
3.4
4 Channels sense
10
4
10 1.5
10 9.5 9 8.5 8

ASN
ASN

No truncation
Uniform truncation 0.5
Uniformly added truncation
Tail truncation
3
10 Sequentially added truncation
0
14 13 12 11 10 9 8 7 6 5 15 10 5
SNR (dB) SNR (dB)

Fig. 4. ASN versus SNR of the truncation C-SPRT with K = 16 , T = Fig. 5. ASN versus SNR for multiple simultaneous observations without
3560. a delay constraint.

TABLE III
D ETECTION P ERFORMANCE OF C-SPRT FOR DIFFERENT VALUES OF SNR

SNR=15 dB SNR=10 dB SNR=5 dB


Methods PF A PM D PF A PM D PF A PM D
No Truncation 0.1014 0.1051 0.0917 0.0933 0.0773 0.0875
Case 1: Uniform Truncation 0.4052 0.4262 0.2357 0.2528 0.0793 0.0913
K = 16, Uniformly Added Truncation 0.4032 0.4147 0.2145 0.2341 0.0791 0.0922
T = 3560 Tail Truncation 0.4720 0.4670 0.2767 0.2747 0.0799 0.0933
Sequentially Added Truncation 0.3958 0.4183 0.2139 0.2239 0.0730 0.0951
No Truncation 0.0960 0.0983 0.0902 0.0973 0.0747 0.0933
Case 2: Uniform Truncation 0.3986 0.4181 0.2339 0.2446 0.0745 0.0959
K = 64, Uniformly Added Truncation 0.3988 0.4168 0.2201 0.2292 0.0773 0.0919
T = 14240 Tail Truncation 0.4693 0.4765 0.2750 0.2797 0.07916 0.0921
Sequentially Added Truncation 0.3969 0.4159 0.2184 0.2278 0.0768 0.0936
No Truncation 0.0962 0.0982 0.0910 0.0972 0.0751 0.0929
Case 3: Uniform Truncation 0.2534 0.2624 0.0957 0.0997 0.0780 0.0961
K = 64, Uniformly Added Truncation 0.2460 0.2535 0.0925 0.0973 0.0737 0.0931
T = 113920 Tail Truncation 0.3027 0.2991 0.0916 0.0980 0.0762 0.0922
Sequentially Added Truncation 0.2427 0.2454 0.0923 0.0945 0.0739 0.0913

factor of 4. From Table III, it is clear that the performance 4


3.6
10
10
is very similar to the first case. The results in the third case
show that the average number of errors decreases considerably
3.2
when the allowable delay T increases while K is fixed. The 10
12 11 10
ASN

truncated schemes perform similarly to non-truncated C-SPRT


when SNR increases. 10
3

No truncation
Test Example 3: In this example, we illustrate the effect of Uniform truncation
Uniformly added truncation
multiple simultaneous observations in the non delay-constraint Tail truncation
case. Fig. 5 shows ASN versus SNR of one band observation, Sequentially added truncation

14 13 12 11 10 9 8 7 6 5
two-band observations and four-band observations at one time. SNR (dB)

ASN decreases to about the half of the case of two-band


observations at one time compared to one band observation Fig. 6. ASN versus SNR for 4-simultaneous observations case with K = 16,
T = 3560.
and about 1/4 for the case of four-band observations at one
time.
Test Example 4: In this example, we show the effect of
multiple simultaneous observations in the delay-constrained
scenario. The truncation schemes are applied to the four
simultaneous observations case. The results of the error prob- SNR under which the truncation schemes have similar ASN
abilities are shown in Table IV. Fig. 6 shows ASN vs SNR performance as that of the non truncation scheme is shifted
for the four simultaneous observations case with K = 16 by about 3 dB in the four simultaneous observation. Table V
and T = 3560. The overall performance of the multiple compares the error probability performance for various values
observation truncation schemes shows that the sequentially of M with the same delay constraint. It is clear that by
added truncation and the uniformly added truncation methods increasing the number of simultaneous observations, one can
have similar performance. A comparison between Fig. 6 and reduce the error probabilities in scanning with the same delay
Fig. 4 of single observation sense shows that the critical constraint.
74 IEEE TRANSACTIONS ON COMMUNICATIONS, VOL. 61, NO. 1, JANUARY 2013

TABLE IV
D ETECTION P ERFORMANCE OF THE 4- SIMULTANEOUS OBSERVATIONS C-SPRT

SNR=15 dB SNR=10 dB SNR=5 dB


Methods PF A PM D PF A PM D PF A PM D
No Truncation 0.0921 0.0995 0.0908 0.0957 0.0750 0.0897
Case1: Uniform Truncation 0.3131 0.3241 0.1170 0.1169 0.0762 0.0938
K = 16, Uniformly Added Truncation 0.3129 0.3247 0.1020 0.1054 0.0794 0.0958
T = 3560 Tail Truncation 0.3875 0.3900 0.0943 0.0939 0.0777 0.0953
Sequentially Added Truncation 0.3106 0.3248 0.0983 0.1039 0.0733 0.0920
No Truncation 0.0958 0.1001 0.0896 0.0983 0.0758 0.0936
Case2: Uniform Truncation 0.3157 0.3290 0.1100 0.1176 0.0765 0.0914
K = 64, Uniformly Added Truncation 0.3134 0.3243 0.0946 0.1033 0.0774 0.0954
T = 14240 Tail Truncation 0.3996 0.3973 0.0904 0.0995 0.0754 0.0922
Sequentially Added Truncation 0.3197 0.3233 0.0926 0.0996 0.0756 0.0942
No Truncation 0.0942 0.0985 0.0891 0.0981 0.0773 0.0956
Case3: Uniform Truncation 0.1196 0.1234 0.0924 0.0961 0.0775 0.0952
K = 64, Uniformly Added Truncation 0.1022 0.1056 0.0929 0.0994 0.0766 0.0921
T = 113920 Tail Truncation 0.0989 0.1006 0.0917 0.0972 0.0758 0.0923
Sequentially Added Truncation 0.0998 0.1021 0.0906 0.0982 0.0772 0.0955

TABLE V
D ETECTION P ERFORMANCE OF THE SINGLE AND MULTIPLE SIMULTANEOUS OBSERVATIONS C-SPRT, SNR = 10 dB

1 band sense 2 bands sense 4 bands sense


Methods PF A PM D PF A PM D PF A PM D
No Truncation 0.0917 0.0933 0.0865 0.1003 0.0908 0.0957
Case1: Uniform Truncation 0.2357 0.2528 0.1613 0.1678 0.1170 0.1169
K = 16, Uniformly Added Truncation 0.2145 0.2341 0.1367 0.1432 0.1020 0.1054
T = 3560 Tail Truncation 0.2767 0.2747 0.0992 0.1154 0.0943 0.0939
Sequentially Added Truncation 0.2139 0.2239 0.1279 0.1312 0.0983 0.1039
No Truncation 0.0902 0.0973 0.0906 0.0985 0.0896 0.0983
Case2: Uniform Truncation 0.2339 0.2446 0.1594 0.1688 0.1100 0.1176
K = 64, Uniformly Added Truncation 0.2201 0.2292 0.1307 0.1364 0.0946 0.1033
T = 14240 Tail Truncation 0.2750 0.2797 0.0953 0.0987 0.0904 0.0995
Sequentially Added Truncation 0.2184 0.2278 0.1064 0.1122 0.0926 0.0996
No Truncation 0.0904 0.0969 0.0906 0.0984 0.0901 0.0934
Case3: Uniform Truncation 0.1605 0.1679 0.1072 0.1167 0.0931 0.0992
K = 64, Uniformly Added Truncation 0.1311 0.1386 0.0967 0.1052 0.0925 0.0983
T = 28480 Tail Truncation 0.0942 0.1005 0.0914 0.0988 0.0903 0.0998
Sequentially Added Truncation 0.1009 0.1097 0.0924 0.0987 0.0908 0.0990
No Truncation 0.0910 0.0972 0.0898 0.0959 0.0891 0.0981
Case4: Uniform Truncation 0.0957 0.0997 0.0927 0.0992 0.0924 0.0961
K = 64, Uniformly Added Truncation 0.0925 0.0973 0.0925 0.0991 0.0929 0.0994
T = 113920 Tail Truncation 0.0916 0.0980 0.0914 0.0955 0.0917 0.0972
Sequentially Added Truncation 0.0923 0.0945 0.0930 0.0957 0.0906 0.0982

VI. C ONCLUDING R EMARK manner. We have shown that the truncated SPRT can be used
as a practical alternative for the finite-horizon case. Several
In this paper, we have investigated fast spectrum scanning truncation methods have been proposed and investigated. The
algorithms for multiband CR systems using one or few narrow- results have also been extended to the multiple simultaneous
band detectors. Particularly, we have considered the single and observations case. Extensive numerical examples have been
multiple simultaneous observation case. For each case, both provided to show the effectiveness of the proposed algorithms.
delay-constrained and non delay-constrained scenarios have
been studied. Using tools from optimal stopping theory, we
have developed optimal scanning algorithms that minimize R EFERENCES
cost functions that take both detection error probabilities and [1] W. Zhang and K. B. Letaief, Cooperative spectrum sensing with
detection delay into consideration. For the single observation transmit and relay diversity in cognitive radio networks, IEEE Trans.
case, the optimal algorithm for the delay-constrained scenario Wireless Commun., vol. 7, no. 12, pp. 47614766, Dec. 2008.
[2] W. Zhang, R. K. Mallik, and K. B. Letaief, Optimization of cooperative
requires large look-up tables and frequently updating of pos- spectrum sensing with energy detection in cognitive radio networks,
terior probabilities, thus having a prohibitive computational IEEE Trans. Wireless Commun., vol. 8, no. 12, pp. 57615766, Dec.
complexity. In the non delay-constrained scenario with a single 2009.
[3] D. Duan, L. Yang, and J. C. Principe, Cooperative diversity of spectrum
observation, the optimal algorithm has been shown to be sensing for cognitive radio systems, IEEE Trans. Signal Process., vol.
C-SPRT, which can be implemented in a relatively simple 58, no. 6, pp. 32183227, June 2010.
CAROMI et al.: FAST MULTIBAND SPECTRUM SCANNING FOR COGNITIVE RADIO SYSTEMS 75

[4] , Optimal linear cooperation for spectrum sensing in cognitive [27] S. M. Kay, Fundamentals of Statistical Signal Processing, Volume 2:
radio networks, IEEE J. Sel. Topics Signal Process., vol. 2, no. 1, pp. Detection Theory. Prentice Hall, 1998.
2840, Feb. 2008. [28] A. Wald, Sequential Analysis . Prentice Hall, 1947.
[5] Y. Zeng and Y. Liang, Maximum-minimum eigenvalue detection for [29] H. Jiang, L. Lai, R. Fan, and H. Vincent Poor, Optimal selection
cognitive radio, in Proc. 2007 IEEE International Symp. Personal, of channel sensing order in cognitive radios, IEEE Trans. Wireless
Indoor, Mobile Radio Commun., pp. 15. Commun., vol. 8, no. 1, pp. 297307, Jan. 2009.
[6] T. H. Lim, R. Zhang, Y.-C. Liang, and H. Zeng, GLRT-based spectrum [30] L. Lai, H. V. Poor, Y. Xin, and G. Georgiadis, Quickest search over
sensing for cognitive radio, in Proc. 2008 IEEE Global Telecommun. multiple sequences, IEEE Trans. Inf. Theory, vol. 57, no. 8, pp. 5375
Conf., pp. 15. 5386, Aug. 2011.
[7] D. Cabric, S. M. Mishra, and R. W. Brodersen, Implementation issues [31] A. Sonnenschein and P. M. Fishman, Radiometric detection of spread-
in spectrum sensing for cognitive radios, in Proc. 2004 Asilomar Conf. spectrum signals in noise of uncertain power, IEEE Trans. Aerosp.
Signals, Syst. Comput., pp. 772776. Electron. Syst., vol. 28, no. 3, pp. 654660, July 1992.
[8] H. Tang, Some physical layer issues of wide-band cognitive radio [32] R. Tandra and A. Sahai, SNR walls for signal detection, IEEE J. Sel.
systems, in Proc. 2005 IEEE Intl. Symp. New Frontiers Dynamic Topics Signal Process., vol. 2, no. 1, pp. 417, Feb. 2008.
Spectrum Access Netw., pp. 151159.
[9] S. Shankar, C. Cordeiro, and K. Challapali, Spectrum agile radios:
utilization and sensing architectures, in Proc. 2005 IEEE Intl. Symp. Raied Caromi (S12) received the B.Sc. and M.Sc.
New Frontiers Dynamic Spectrum Access Netw., pp. 160169. degrees in electrical engineering from University of
Mosul, Mosul, Iraq, in 1999 and 2002, respectively.
[10] J. Lunden, A. Huttunen, V. Koivunen, and H. V. Poor, Multiple sensing
He is currently a Ph.D. candidate in the Department
in cognitive radios based on multiple cyclic frequencies, in Proc.
of System Engineering at University of Arkansas at
2007 Intl. Conf. Cognitive Radio Oriented Wireless Netw. Commun.,
Little Rock (UALR). From 2004 to 2008 he was
pp. 15831590.
an assistant lecturer in the College of Electronic
[11] P. D. Sutton, K. E. Nolan, and L. E. Doyle, Cyclostationary signatures
Engineering at University of Mosul. During the
in practical cognitive radio applications, IEEE J. Sel. Areas Commun.,
same period, he worked as a system administrator
vol. 2, no. 1, pp. 1324, Jan. 2008.
for a private wireless internet service company. From
[12] Z. Tian and G. B. Giannakis, A wavelet approach to wideband spectrum
2010 till present he is a teaching assistant in the
sensing for cognitive radios, in Proc. 2006 Intl. Conf. Cognitive Radio
Department of System Engineering at UALR. His research interests include
Oriented Wireless Netw. Commun., pp. 15.
cognitive radio, spectrum sensing, Baysian sequential analysis, estimation and
[13] A. Ghasemi and E. S. Sousa, Collaborative spectrum sensing in detection. Mr. Caromi is a member of Phi Kappa Phi Honor Society.
cognitive radio networks, in Proc. 2005 IEEE Intl. Symp. New Frontiers
Dynamic Spectrum Access Netw., pp. 131136. Yan Xin (S00, M03, SM10) received the B.E.
[14] G. Ganesan and Y. G. Li, Cooperative spectrum sensing in cognitive degree in electronics engineering from Beijing Uni-
radio, part I: two user networks, IEEE Trans. Wireless Commun., vol. 6, versity of Technology, Beijing, China, in 1992, the
no. 6, pp. 22042213, June 2007. M. Sc. degree in mathematics, the M.Sc. degree
[15] , Cooperative spectrum sensing in cognitive radio, part II: mul- in electrical engineering, and the Ph.D. degree in
tiuser networks, IEEE Trans. Wireless Commun., 2007, submitted. electrical engineering from University of Minnesota,
[16] G. Ganesan, Y. G. Li, B. Bing, and S. Li, Spatiotemporal sensing in Minneapolis, in 1998, 2000, and 2003, respectively.
cognitive radio networks, IEEE J. Sel. Areas Commun., vol. 28, no. 1, From 2004 to 2008, he was an assistant professor
pp. 512, Jan. 2008. in the Department of Electrical and Computer Engi-
[17] S. M. Mishra, A. Sahai, and R. W. Brodersen, Cooperative sensing neering, National University of Singapore. He was a
among cognitive radios, in Proc. 2006 IEEE Intl. Conf. Commun., research staff member at NEC Laboratories America
vol. 4, pp. 16581663. Inc., Princeton, New Jersey from 2008 to 2012. He is now with Samsung
[18] Y. Xin and L. Lai, Fast wideband spectrum scanning for multi-channel Dallas Technology Laboratories, Richardson, Texas. His research interests
cognitive radio systems, in Proc. 2010 Conference on Information include cognitive radio, MIMO Communication, and network information
Sciences and Systems. theory. Dr. Xin was the co-recipient of the 2004 IEEE Marconi Prize Paper
[19] R. Caromi, Y. Xin, and L. Lai, Fast multichannel spectrum scanning Award in wireless communications.
with multiple simultaneous observations, in Proc. 2010 IEEE Intl. Conf.
Wireless Commun. Signal Process. Lifeng Lai (M07) received the B.E. and M. E.
[20] Z. Quan, S. Cui, A. H. Sayed, and H. V. Poor, Wideband spectrum degrees from Zhejiang University, Hangzhou, China
sensing in cognitive radio networks, in Proc. 2008 International Conf. in 2001 and 2004 respectively, and the PhD degree
Commun., pp. 901906. from The Ohio State University at Columbus, OH,
[21] S. J. Kim and G. B. Giannakis, Rate-optimal and reduced-complexity in 2007. He was a postdoctoral research associate
sequential sensing algorithms for cognitive OFDM radios, in Proc. 2009 at Princeton University from 2007 to 2009 and
Conf. Inform. Sci. Syst., pp. 141-146. an assistant professor at University of Arkansas,
[22] S. J. Kim, G. Li, and G. B. Giannakis, Minimum-delay spectrum sens- Little Rock from 2009 to 2012. In Aug. 2012, He
ing for multi-band cognitive radios, in Proc. 2010 IEEE GLOBECOM joined the Department of Electrical and Computer
Conf., pp. 15. Engineering at Worcester Polytechnic Institute as an
[23] S. J. Kim and G. B. Giannakis, Sequential and cooperative sensing for assistant professor. Dr. Lais research interests in-
multichannel cognitive radios, IEEE Trans. Signal Process., vol. 58, clude wireless communications, information security, and information theory.
no. 8, pp. 42394253, Aug. 2010. Dr. Lai was a Distinguished University Fellow of the Ohio State University
[24] A. N. Shiryaev, Optimal Stopping Rules. Springer, 1978. from 2004 to 2007. He is a co-recipient of the Best Paper Award from IEEE
[25] H. V. Poor and O. Hadjiliadis, Quickest Detection. Cambridge University Global Communications Conference (Globecom), 2008, the Best Paper Award
Press, 2008. from IEEE Conference on Communications (ICC), 2011. He received the
[26] H. V. Poor, An Introduction to Signal Detection and Estimation. National Science Foundation CAREER Award in 2011, and Northrop Young
Springer-Verlag, 1994. Researcher Award in 2012.

You might also like