- Research
- Open Access

# Joint detection scheme for cooperative spectrum sensing in cognitive radio network

- Yijiang Nan
^{1}Email authorView ORCID ID profile, - Chenglin Zhao
^{1}and - Bin Li
^{1}

**2016**:79

https://doi.org/10.1186/s13638-016-0570-z

© Nan et al. 2016

**Received: **30 September 2015

**Accepted: **24 February 2016

**Published: **10 March 2016

## Abstract

In this paper, a new architecture of cognitive radio network (CRN) is presented for future dynamic spectrum sharing in time-variant flat fading (TVFF) channels. We consider a practical scenario where secondary users (SUs) are able to access the idle spectrum by secondary user routers (SU_Rs). Managed by a fusion center (FC), SU_Rs can work together to capture the idle spectrum, and then assign to the SUs. Besides, it is imperative to guarantee the wireless communication quality between primary base station (P_BS) and SU_Rs. Therefore, a new cooperative spectrum sensing (CSS) algorithm is suggested to recursively estimate the channel state information (CSI) while capturing the idle licensed band. The united mathematics model relies on a dynamic state-space model (DSM) and a Bernoulli filters (BF) algorithm. TVFF channels are modeled as finite-state Markov channel (FSMC). In order to reduce complexity of CSS, the particles are manipulated and reconstructed. Experimental simulations demonstrate that, by exploiting dynamic CSI, sensing performance of the new CSS algorithm will surpass the traditional schemes and this new architecture can be used in a realistic spectrum sharing system.

## Keywords

- Cognitive radio network
- Cooperative spectrum sharing
- Time-variant flat fading
- Dynamic state-space model
- Bernoulli filters

## 1 Introduction

In radar sensor networks, recent advances on waveform design and diversity [1, 2] have made spectrum sensing possible for applications such as radar sensor selections [3] and target detection [4]. Similarly, spectrum sensing is also possible for wireless networks. With tremendous growth in the wireless network market, the number of subscribers and the demand for high data rate have escalated greatly so as to strengthen the scarcity of spectrum resource in wireless networks [5]. However, the traditional approach of fixed spectrum allocation to a licensed network leads to the spectrum underutilization. According to the report from Federal Communications Commission (FCC), the spectrum utilization in the usage of allocated spectrum is as low as 15 % [6]. As a result, this defect motivates the development of cognitive radio network (CRN) that allows secondary users to seek idle licensed bands cooperatively and share them dynamically. Without causing serious interference to the primary users (PUs), such dynamic spectrum sharing will considerably improve the frequency utilization [7]. In fact, it has been widely adopted by both the FCC policy initiatives and IEEE standardizations, such as IEEE 802.22 [8] and IEEE 802.11k [9].

Despite enhancement of spectrum utilization, the transmission from secondary users (SUs) can interfere with the PU negatively. To guarantee interference-free spectrum access, the SUs are required to monitor the primary spectrum so as to capture the idle time in PU transmissions (also called spectrum holes). In CRN, cooperative spectrum sensing (CSS), participated by a group of spatially distributed SUs, has been widely adopted in previous sensing algorithms [10–12]. Compared with a single cognitive radio, CSS algorithms use multiple sensors and combine their measurements into one decision. Thus, CSS can overcome some limitations [7] of single spectrum sensing like energy constraints, and they are more suitable for the CRN, which consists of multiple nodes.

We consider the time-variant flat fading (TVFF) channels in the CRN. For the considered scenario, TVFF channels may deteriorate the sensing performance and reduce the quality of wireless communication between P_BS and SU_Rs. Therefore, in realistic TVFF scenarios, besides the idle licensed band, time-variant channel state information (CSI) on the cognitive links, as the important network information, needs to be estimated to ensure good sensing performance and helps SU_Rs acquire a better communication quality. Therefore, it is essential to propose a new CSS algorithm, which does not merely detect the PU and estimate the varying CSI jointly but also can be applicable to the new architecture.

However, most existing sensing algorithms are less attractive. With boosting the uncertainty on CSI, TVFF will remarkably degrade the sensing performance. Although some existing schemes take statistical property of fading effects into account [13], they can just reduce the detrimental effects to some extent but fail to track the evolution of such dynamic TVFF channels. From another aspect, since the received signals from P_BS will be disappeared intermittently, CSI is also hard to be acquired in CRN systems. Some feasible techniques such as machine learning methods [14] have been adopted; nevertheless, a separated CSI estimation will increase computational complex considerably, which limits their applications.

- 1.
We establish a dynamic state-space model (DSM) to characterize the process of change in CRN by Markov process, including the PU work state and the varying TVFF channels. With the scope of an ordinary base station, the synchronization can be obtained by Global Positioning System (GPS) [15], thus assuming that the synchronization and a priori pilot can be available. The matched filter (MF) method, as the optimal observed output, is used as the measurement.

- 2.
Considering the measurement determined by both the PU work state and CSI, the time evolution Bernoulli random finite set (BRFS) is adopted to characterize the complex DSM procedure. Based on the Bayes theory and sequential estimation schemes, the cardinality (i.e., PU work state) and elements (i.e., CSI) of BRFS are estimated recursively. Particle filter is adopted to implement the above scheme.

- 3.
As the number of SU_R increases, more dimensions of CSI vector will render the exponential growth of complexity. To combat this challenge, we further manipulate the construction of particles and rebuild new particles, based on the independence of channels. In this way, the computation burden of an existing joint estimation-based sensing scheme can be greatly alleviated.

The remainder of this work is organized as follows. The DSM is designed in Section 2. Section 3 presents the CSS algorithm, a two-step BF mechanism, which has its foundation in the Bayesian theory and the BRFS. In Section 4, the implementation of each step and manipulation of particles will be described in detail. In Section 5, compared numerical simulations and performance analysis are provided. Finally, we conclude the investigation in Section 6.

## 2 System model

*S*(.) and

*H*(.) and one measurement equation

*G*(.). The transitional function

*S*(.) characterizes the stochastic evolution of the PU’s state

*s*

_{ n }∊

**S**= {0,1} of the

*n*th discrete time as the first-order Markov process. The other transition function

*H*(.) specifies dynamic behaviors of CSI vector

**α**

_{ n }= [

*α*

_{0,n },…,

*α*

_{ u,n },…,

*α*

_{ U − 1,n }]

^{ T }(

*u*= 0,…,

*U*− 1), where

*α*

_{ u,n }denotes the channels between P_BS and

*u*th SU_R. The observation function

*G*(.) then describes

**y**

_{ n }= [

*y*

_{0,n },…,

*y*

_{ u,n },…,

*y*

_{ U − 1,n }]

^{ T }(

*u*= 0,…,

*U −*1), where

*y*

_{ u,n }denotes the signal through matched filter of

*u*th SU_R and

**d**

_{ n,m }= [

*d*

_{ n,0 },…,

*d*

_{ n,m },…,

*d*

_{ n,M − 1}]

^{T}denotes the pilot sequence signal of PU at

*n*th discrete time, where

*M*signifies the length of pilot sequence. The random noise is involved in measurement process, and denoted by

**z**

_{ n,m }= [

*z*

_{0,n,m },…,

*z*

_{ u,n,m },…,

*z*

_{ U − 1,n,m }]

^{T}, which is viewed as zero-mean additive white Gaussian noise (AWGN).

- 1.
The distance between different SU_Rs is far enough so that the elements of CSI vector

**α**_{ n }are of little correlation. Therefore,*α*_{0,n },…,*α*_{ u,n },…,*α*_{ U − 1,n }are assumed to be*independent and identically distributed*(i.i.d.) variables. - 2.
In a slow-varying case, each fading channel gain

*α*_{ u,n }is assumed to remain unchanged with*L*successive sensing slots. The static duration*L*is related with the maximum Doppler frequency shift*f*_{ D }, which is inversely proportional to*L*. Because of asynchrony of channel and the PU work state, we assume*n*’ represents the changing slot of*α*_{ u,n }. For connection of two time index,*l*is defined as the*l*th (0<*l*<*L*) PU switching slot in the slot*n*’; thus,*n*=*L*(*n*’ − 1) +*l*. - 3.
The PU’s state is assumed to keep invariant in each sensing slot.

### 2.1 Evolution of the PU work state

*s*

_{ n }∊

**S**, where

*s*

_{ n }= 1 denotes the active state and

*s*

_{ n }= 0 represents the other one, respectively. Survival probability

*p*

_{s}= Pr{

*s*

_{ n + 1}= 1|

*s*

_{ n }= 1} represents the PU work state that remains an active state from the slot

*n*to slot

*n +*1. Similarly, birth probability

*p*

_{b}= Pr{

*s*

_{ n + 1}= 1|

*s*

_{ n }= 0} represents switching active state. Therefore, the transitional probability matrix of the PU work state is given by

### 2.2 Cognitive TVFF channel model

In CRN, wireless propagation suffers from white Gaussian noises and TVFF. In this investigation, we fully make use of the finite-state Markov channel (FSMC) [16] to specify the cognitive channels because its Markov property can effectively characterize the dynamic property of TVFF and match its statistical model.

*K*discrete states and each state transfers to others with specified probability. Let

*A*

_{ k }∊

**A**= {

*A*

_{0},

*A*

_{2},…,

*A*

_{ K − 1}} denotes each channel state. Correlatively, the state transition can be characterized by a transitional probability matrix

**Π**

_{ K }×

_{ K }= {

*π*

_{ i → j },

*i*,

*j*∈0,1,…,

*K*− 1}:

*π*

_{ k’ → k }accounts for the transitional probability from the state

*k*’ at

*n*’ − 1 (channel slot index) to the state

*k*at

*n*’:

**π**= [

*π*

_{0},…,

*π*

_{ k },…,

*π*

_{ K − 1}]

^{ T }, where

*π*

_{ k }= Pr{

*α*

_{ n’}=

*A*

_{ k }} is stationary distribution of channel state

*A*

_{ k }, and this vector can be solved by

**Π**

_{ K }×

_{ K }

^{ T }

**π**=

**π**. The nonnegative channel amplitude will be partitioned into

*K*non-overlapping regions:

*V*= {[

*v*

_{0},

*v*

_{1}], [

*v*

_{1},

*v*

_{2}],…, [

*v*

_{ K − 1},

*v*

_{ K }]}. Suppose the PDF of fading channel (e.g., Rayleigh or Rican distribution)

*f*(

*α*), the steady probability of channel states can be computed by integrating between the region [

*v*

_{ k − 1},

*v*

_{ k }]:

_{ k }= 1

**/**

*K*, the partitioning bounds are easily derived from

*A*

_{ k’}to

*A*

_{ k }can be determined by

*f*(

*α*

_{ n’ − 1,}

*α*

_{ n’}) is the bivariate joint PDF.

### 2.3 Observation model

Here, *H*
_{0} and *H*
_{1} represent two opposite hypotheses, respectively, i.e., idle work state and active work state; *M* is the length of pilot signal; *y*
_{
u,n
}∊**y**
_{
n
} is the measurement in the *u*th SU_R; *d*
_{
n,m
}∊**d**
_{
n,m
} is the amplitude of pilot signal in *n*th sensing slot; and the AWGN is *z*
_{
u,n,m
}∊**z**
_{
n,m
} with zero mean and a variance of *σ*
_{
n
}
^{2}, i.e., *z*
_{
u,n,m
} ~ *N*(0, *σ*
_{
n
}
^{2}).

*φ*(

**y**

_{ n }|

*s*

_{ n },

**α**

_{ n }) may follow joint distribution, consisting of

*φ*

_{ u }(

*y*

_{ u,n }|

*s*

_{ n },

*α*

_{ u,n }) (

*u*= 0,…,

*U*– 1):

*α*

_{ u,n }and the PU work state

*s*

_{ n }, sub-likelihood function

*φ*

_{ u }(

*y*

_{ u,n }|

*s*

_{ n },

*α*

_{ u,n }) may follow a Gaussian distribution with zero mean under

*H*

_{0}(

*s*

_{ n }= 0), and with none-zero mean under

*H*

_{1}(

*s*

_{ n }= 1):

*σ*

^{2}represents the variance of Gaussian noise.

## 3 Joint cooperative spectrum sensing algorithm

In classical CSS schemes, i.e., optimal soft combination scheme [10], such combination of detection and estimation will not be implemented, since most of them are also threshold-based techniques, which only solve detection issues. Therefore, a Bayesian stochastic approach is an effective solution to estimate such two parameters jointly. Our task is to estimate recursively the posterior PDF of the state **s**
_{
n
}, which is viewed as **s**
_{
n
} = {*s*
_{
n
},**α**
_{
n
}}.

### 3.1 Optimal soft combination scheme

*LR*(

**y**

_{ n }) between two hypotheses and decision function are expressed as

*h*is the threshold determined by the given false alarm.

*LR*(

**y**

_{ n }) which is expressed as

*y*’

_{ n }is the total accumulated measurement as the weight summation of different SU_Rs, whose weight

*w*’

_{ u,n }is corresponding to its instantaneous signal to noise ratio (SNR)

*γ*

_{ u,n }at time slot

*n*. Thus, we obtain the optimal soft combination in our DSM.

### 3.2 Bayesian scheme

*p*(

**s**

_{ n }|

**s**

_{ n − 1}) and the likelihood function

*φ*(

**y**

_{ n }|

**s**

_{ n }), the joint posterior distribution is then propagated sequentially via the well-known two-step procedure, assuming that initial density of the state,

*p*(

**s**

_{0}) is known.

- 1.The first-predicting step will be integrated via the Chapman–Kolmogorov equation as follows:$$ {p}_{n\left|n-1\right.}\left({\mathbf{s}}_n\left|{\mathbf{y}}_{0:n-1}\right.\right)={\displaystyle \int {p}_{n-1\left|n-1\right.}\left({\mathbf{s}}_{n-1}\left|{\mathbf{y}}_{0:n-1}\right.\right)\cdot \phi \left({\mathbf{s}}_n\left|{\mathbf{s}}_{n-1}\right.\right)}d{\mathbf{s}}_{n-1} $$(16)where
*p*_{ n − 1|n − 1}(**s**_{ n − 1}|**y**_{0:n − 1}) denotes the posterior density of**s**at*n*− 1th slot and transitional function*ϕ*(**s**_{ n }|**s**_{ n − 1}) can be decomposed as$$ \phi \left({\mathbf{s}}_n\left|{\mathbf{s}}_{n-1}\right.\right)= \Pr \left({s}_n\left|{s}_{n-1}\right.\right)\times {\displaystyle \prod_{u=0}^{U\hbox{-} 1}{\pi}_{n\left|n-1\right.}\left({\alpha}_{u,n}\left|{\alpha}_{u,n-1}\right.\right),\kern0.5em u=0,1,\dots, U-1} $$(17) - 2The second-updating step applies the Bayes rule to update the predicted PDF. Taking measurement vector
**y**_{ n }into account, current posterior density can be expressed as$$ {p}_{n\left|n\right.}\left({\mathbf{s}}_n\left|{\mathbf{y}}_{0:n}\right.\right)=\frac{p_{n\left|n-1\right.}\left({\mathbf{s}}_n\left|{\mathbf{y}}_{0:n-1}\right.\right)\cdot \varphi \left({\mathbf{y}}_n\left|{\mathbf{s}}_n\right.\right)}{{\displaystyle \int {p}_{n\left|n-1\right.}\left({\mathbf{s}}_n\left|{\mathbf{y}}_{0:n-1}\right.\right)\cdot \varphi \left({\mathbf{y}}_n\left|{\mathbf{s}}_n\right.\right)}d{\mathbf{s}}_n} $$(18)Knowing the posterior

*p*_{ n|n }(**s**_{ n }|**y**_{0:n }), we can estimate the CSI and PU work state according to maximum A posteriori (MAP) criterion.

### 3.3 Bernoulli random finite sets

Despite the independence of two estimated variables, we cannot just model them simply as **s**
_{
n
} = [*s*
_{
n
}, **α**
_{
n
}]^{
T
} since the measurement **y**
_{
n
} is not made of multiplication. The likelihood function of **y**
_{
n
} switches alternately along with appearance/disappearance of PU. Thus, BRFS [18] ℱ, as a stochastic variable that takes a value as an empty or singleton set, is fully suitable for the construction of state **s**
_{
n
}.

*ρ*(

*k*) =

*Pr*{|ℱ| =

*k*},

*k*∈ {0, 1}, and it can be defined as a PU work state. Meanwhile, its element is completely specified by a joint distribution

*p*

_{ k }({

**α**

_{0}…

**α**

_{ k }…

**α**

_{ K −1}}) conditioned on cardinality

*k*and can stand for CSI vector

**α**

_{ n }, whose distribution is related to the TVFF. In order to describe the statistical nature of such ℱ, we adopt Mahler’s approach [18], finite set statistics (FISST) PDF, to specify BRFS. This

*n*th PDF is uniquely determined by

*ρ*(

*k*) and

*p*

_{ n }(

**α**

_{ n }):

*q*or has a singleton element with probability

*q*. The set integral is defined as

*n*− 1, we can write the priori transitional density:

*π*

_{ n|n − 1}(.) is the transitional density of CSI

**α**

_{ n }obtained from the FSMC model and

*b*

_{ n|n − 1}(.) is the birth density, which represents the initial density of CSI

**α**

_{ n }when the PU is reactive.

### 3.4 Bernoulli filters algorithm

A stochastic algorithm, named Bernoulli filters, is a useful tool to estimate the posterior FISST PDF of BRFS recursively. According to eq. (19) above, the FISST PDF of BRFS ℱ_{
n
} at *n*th slot is made up of two important distributions. One is the posterior density of PU’s appearance *q*
_{
n|n
}. The other one is the posterior spatial PDF of the CSI **α**
_{
n.
}, *f*
_{
n|n
}(**α**
_{
n
}).

- 1.
Predict step

It is assumed that the posterior FISST PDF of BRFS ℱ_{ n −1}is (*p*_{ n −1|n − 1}ℱ_{ n − 1}|**y**_{ n −1}) at*n*− 1th slot, which includes two terms*q*_{ n − 1|n − 1}and*f*_{ n − 1|n − 1}(**α**_{ n }) above. Then, the predicted FISST PDF of BRFS (*p*_{ n|n − 1}ℱ_{ n −1}|**y**_{ n −1}) has been derived originally from eq. (16). Based on the Mahler approach eq. (20), (*p*_{ n|n − 1}ℱ_{ n }|**y**_{ n −1}) is derived from$$ \begin{array}{l}{p}_{n\Big|n-1\operatorname{}}\left({\mathcal{F}}_n\Big|{\mathbf{y}}_{n-1}\operatorname{}\right)\\ {}={\displaystyle \int {\phi}_{n\Big|n-1\operatorname{}}\left({\mathcal{F}}_n\Big|{\mathcal{F}}_{n-1}\operatorname{}\right){p}_{n-1\Big|n-1\operatorname{}}\left({\mathcal{F}}_{n-1}\Big|{\mathbf{y}}_{n-1}\operatorname{}\right)\delta {\mathcal{F}}_{n-1}}\\ {}={\phi}_{n\Big|n-1\operatorname{}}\left({\mathcal{F}}_n\Big|\varnothing \operatorname{}\right){p}_{n-1\Big|n-1\operatorname{}}\left(\varnothing \Big|{\mathbf{y}}_{n-1}\operatorname{}\right)\\ {}+{\displaystyle \int {\phi}_{n\Big|n-1\operatorname{}}\left({\mathcal{F}}_n\Big|\left\{{\upalpha}_{n-1}\right\}\operatorname{}\right){p}_{n-1\Big|n-1\operatorname{}}\left(\left\{{\upalpha}_{n-1}\right\}\Big|{\mathbf{y}}_{n-1}\operatorname{}\right)\boldsymbol{d}{\upalpha}_{n-1}}\end{array} $$(22)

_{ n }= Ø and ℱ

_{ n }= {

**α**

_{ n }}. Two predictions

*q*

_{ n|n − 1}and

*f*

_{ n|n − 1}(

**α**

_{ n }) of

*p*

_{ n|n − 1}(F

_{ n }|

**y**

_{ n − 1}), based on the FISST PDF of BRFS in eq. (19), can be simplified as

*f*

_{ n|n − 1}(

**α**

_{ n }) consists of two parts, i.e., birth part and survival part.

- 2.
Update step

The updated processing of BF for the MF-based measurement vector**y**_{ n }has been derived from eq. (10). Recalling from predicted FISST PDF of BRFS (*p*_{ n|n − 1}ℱ_{ n }|**y**_{ n −1}), the updated FISST PDF of BRFS (*p*_{ n|n }ℱ_{ n }|**y**_{ n }) is based on the Bayes rule:$$ {p}_{n\left|n\right.}\left({\mathrm{\mathcal{F}}}_n\left|{\mathbf{y}}_{0:n}\right.\right)=\frac{p_{n\left|n-1\right.}\left({\mathrm{\mathcal{F}}}_n\left|{\mathbf{y}}_{0:n-1}\right.\right)\cdot \varphi \left({\mathbf{y}}_n\left|{\mathrm{\mathcal{F}}}_n\right.\right)}{p\left({\mathbf{y}}_n\left|{\mathbf{y}}_{0:n-1}\right.\right)} $$(25)

_{ n }. Therefore, the current probability of PU appearance

*q*

_{ n|n }and spatial PDF

*f*

_{ n|n }(

**α**

_{ n }) can be constructed as

*r*

_{ n }(.) represents the measurement likelihood ratio between two hypotheses:

Note that eq. (28) is effectively the same as the conventional Bayesian estimation update eq. (18).

## 4 Implementation

Before implementation of BF, some crucial problem should be taken fully into account. One problem is the asynchrony between the PU work state and CSI, which motivate us to refine the BF algorithm. On the other hand, how to eliminate the exponential growth of complexity associated with increasing number of SU_Rs is a key point for the application.

### 4.1 Asynchrony of BF algorithm

*α*

_{ u,n }will be evolved from the channel state over the last channel slot

*n*’ − 1, not from the channel state at slot

*n*− 1. Thus, the predicted function in eq. (24) will be reconstructed as

*l*

_{ l }denotes the estimation of CSI

**α**

_{ n }in the final PU active state over the slot

*n*’ − 1. This handy manipulation solves non-synchronous problems successfully without any error because of the independence of such two terms,

*q*and

*f*

_{ n|n }(

**α**

_{ n }).

### 4.2 Implementation of Bernoulli filters

**α**

_{ n },

*f*

_{ n|n }(

**α**

_{ n }), via a group of discrete particles {

*w*

_{ n }

^{(i)},

**α**

_{ n }

^{(i)}}(

*i*= 1,…,

*T*), where

**α**

_{ n }

^{(i)}is the state of the particle of

*f*

_{ n|n }(

**α**

_{ n }),

*T*is the total number of particles, and

*w*

_{ n }

^{(i)}are its weight. Since

*f*

_{ n|n }(

**α**

_{ n }) is a probability density function, the weight is normalized and the sum of

*w*

_{ n }

^{(i)}is equal to 1.

*n*− 1, the probability of existence

*q*

_{ n − 1|n − 1}and the spatial PDF

*f*

_{ n − 1|n − 1}(

**α**

_{ n − 1}) is approximated by

*δ*

_{ b }(.) is the Dirac delta function that is concentrated at point

*b*.

- 1.
Predicted step

In the predicted step, the FISST PDF of F_{ n }is implemented as follows: the prior probability of the PU work state*q*_{ n|n − 1}is easily straightforward; see eq. (23). According to eq. (30), the predicted step for*f*_{ n|L(n’ − 2) + ll }(**α**_{ n }) involves the sum of two terms: birth and survival parts, which should be approximated numerically due to the intractable integration on the continuous distribution. Therefore, it can be described as$$ {f}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}\left({\boldsymbol{\upalpha}}_n\right)\approx {\displaystyle \sum_{i=1}^{T+B}{w}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}{\delta}_{{\boldsymbol{\upalpha}}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}}\left({\boldsymbol{\upalpha}}_n\right)} $$(32)where*B*denotes the number of birth particles. Two groups of particles above will be simulated accordingly from$$ {\boldsymbol{\upalpha}}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}=\left\{\begin{array}{l}{\pi}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}\left({\boldsymbol{\upalpha}}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}\left|{\boldsymbol{\upalpha}}_{L\left(n\hbox{'}-2\right)+{l}_l}^{(i)},{\mathbf{y}}_{1:n-1}\right.\right),\kern0.5em i=1,\dots, T\hfill \\ {}{\beta}_n\left({\boldsymbol{\upalpha}}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}\left|{\mathbf{y}}_{1:n-1}\right.\right),\kern6.5em i=T+1,\dots, T+B\hfill \end{array}\right. $$(33)where birth particles are drawn from birth density*β*_{ n }(.). At the same time, we adopt prior transitional density of CSI**α**_{ n }as the sequential importance sampling; thus, weight*w*_{ n − 1}^{(i)}, corresponding to particle**α**_{ n }^{(i)}, will be predicted according to [19]:$$ {w}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}=\left\{\begin{array}{l}\frac{p_s{q}_{n-1\left|n-1\right.}}{q_{n\left|n-1\right.}}{w}_{L\left(n\hbox{'}-2\right)+{l}_l}^{(i)},\kern3em i=1,\dots, T\hfill \\ {}\frac{p_b\left(1-{q}_{n-1\left|n-1\right.}\right)}{q_{n\left|n-1\right.}}{w}_{L\left(n\hbox{'}-2\right)+{l}_l}^{(i)},\kern1em i=T+1,\dots, T+B\hfill \end{array}\right. $$(34)

**α**

_{ n },

*b*

_{ n|L(n’ − 2) + ll }(

**α**

_{ n }), in absence of prior knowledge, a more effective way is to use the previous measurements to build adaptively birth particles [20], which follow the standard Chapman–Kolmogorov prediction the same as the survival transition in eq. (16):

*b*

_{ L(n’ − 2) + ll }(.) can be sampled from the prior transitional density

*f*

_{ L(n’ − 2) + ll |L(n’ − 3) + ll }(

**α**

_{ L(n’ − 2) + ll }) at slot

*L*(

*n*’ − 2) +

*l*

_{ l }with equal weight

*w*

_{ L(n’ − 2) + ll }

^{(i)}= 1/

*B*.

- 2.
Updated step

In the updated step, the processing of implementation is similar to the predicted one. The weight*w*_{ n| L(n’ − 2) + ll }^{(i)}in eq. (34) is renewed by likelihood function:$$ {\tilde{w}}_n^{(i)}={\varphi}_n\left({\mathbf{y}}_n\left|\left\{{\boldsymbol{\upalpha}}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}\right\}\right.\right){w}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)} $$(36)Then, the normalized weight of*i*th particle is derived as$$ {w}_n^{(i)}=\frac{{\tilde{w}}_n^{(i)}}{{\displaystyle \sum_{i=1}^{T+B}{\tilde{w}}_n^{(i)}}} $$(37)Finally,

**α**_{ n }^{(i)}is equal to**α**_{ L(n’ − 2) + ll }^{(i)}with its corresponding weight*w*_{ n }^{(i)}.On the other hand, posterior density of PU’s appearance

*q*_{ n|n }is constructed recursively in eq. (27). In this equation, the integral of likelihood ratio and predicted function are approximated by$$ \begin{array}{c}\hfill {I}_n={\displaystyle \int {r}_n\left({\mathbf{y}}_n\left|\left\{{\boldsymbol{\upalpha}}_n\right\}\right.\right){f}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}\left({\boldsymbol{\upalpha}}_n\right)d{\boldsymbol{\upalpha}}_n}\hfill \\ {}\hfill \approx {\displaystyle \sum_{i=1}^{T+B}{r}_n\left({\mathbf{y}}_n\left|\left\{{\boldsymbol{\upalpha}}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}\right\}\right.\right)}{w}_{n\left|L\left(n\hbox{'}-2\right)+{l}_l\right.}^{(i)}\hfill \end{array} $$(38)Then,

*q*_{ n|n }is obtained with ease.

- 3.
MAP estimation

Based on the MAP, the threshold*γ*_{ n }at slot*n*will be set up to 0.5 empirically and CSI**α**_{ n }can be estimated by spatial PDF*f*_{ n|n }(**α**_{ n }):$$ {\widehat{s}}_n=\left\{\begin{array}{c}\hfill 1,\kern1.75em {q}_{n\left|n\right.}\ge {\gamma}_n\left(\mathrm{active}\right)\hfill \\ {}\hfill 0,\kern1.75em {q}_{n\left|n\right.}<{\gamma}_n,\left(\mathrm{idle}\right)\hfill \end{array}\right. $$(39)$$ {\widehat{\boldsymbol{\upalpha}}}_n= \arg \underset{\alpha_{i,n}\in \mathbf{A}}{max}{f}_{n\left|n\right.}\left({\boldsymbol{\upalpha}}_n\right) $$(40)

### 4.3 Reducing complexity

In the CSS algorithm, the particle number (*T* + *B*) conditions the accuracy of spatial PDF *f*
_{
n|n
}(**α**
_{
n
}). In order to ensure the existence of each kind of particle’s transition, all kinds of particles should be fully contained. With the increasing SU_R’s number *I*, exponential growth of particles will deteriorate computational efficiency seriously.

*f*

_{ n|n }(

**α**

_{ n }) rather than approximate the whole PDF. Thus, in Fig. 4, we can manipulate particles via detaching, sorting, and assembling, which polarizes particles between best and worst. Based on independence of different channels, we can detach each particle of

*f*

_{ n|L(n’ − 2) + ll }(

**α**

_{ n }) in eq. (40),

*f*

_{ n|L(n’ − 2) + ll }(

**α**

_{ n }) into

*U*marginal distribution density functions, which belong to each channel. Then, we calculate sub-likelihood of each sub-particle

*α*

_{ n|L(n’ − 2) + ll }

^{(i)}by the function eq. (12) and sort them in descending order. Finally, by integrating the associated sub-particle in each channel, we reconstruct the particles and recalculate its likelihood function using eq. (11). With the above scheme, we just consider the

*K*kinds of particles in one channel avoiding the exponential growth of particles and a majority of particles of

*f*

_{ n|n }(

**α**

_{ n }) will focus on optimal value after resampling.

Although we minimize the particle numbers by ignoring sub-optimal particles, this scheme cuts across the principle of diversity of particles in particle filters. Nevertheless, this is not the case. In the case of independent channels, variety of particles in CSI vector depends on each channel and such polarization does not cause the decline in sub-particle variety. Hence, it is entirely appropriate to match the PF principle.

## 5 Simulation

*σ*

_{ R }

^{2}is the variance of Rayleigh fading.

*σ*

_{ R }

^{2}= 0.1, the number of discrete channel state

*K*= 5. It is apparent that the CSS algorithm is operated recursively under the Bayesian criterion and thus defines the total detection probability

*P*

_{ D }, which is adopted as a metric in [21], which considers the correct detection in both hypotheses

*H*

_{1}and

*H*

_{0}:

### 5.1 Different SU_R numbers

In the first experiment, performance of *P*
_{
D
} and *MSE* has been fully investigated from different numbers of SU_Rs. In the simulation, the length of pilot signal *M* is configured to 100. The transitional probability (*p*
_{
b
}, *p*
_{
s
}) is set to (0.4, 0.7). The static length of *L* is configured to 20. We set the number of survival particle *T* and birth particle *B* to 50 and 50.

*U*= 3, 5, and 7. It is noted that the

*P*

_{ D }will be increased with increasing SNR, which is finally up to 1. It is comprehensible that the more SU_Rs cooperate, the better performance of

*P*

_{ D }is shown. That is because with more SU_Rs, the FC is able to obtain more observations about the P_BS; as a result, the accuracy of sensing will be enhanced.

*U*= 5 to

*U*= 7 is far less than that from

*U*= 3 to

*U*= 5.

### 5.2 Comparative analysis in sensing performance

For a comparative analysis, a classical optimal soft combination scheme has been entirely investigated in [10]. In this simulation, the number of SU_Rs is set to 5, the static length *L* is 20, and length of pilot signal is 100. The threshold in the classical scheme can be obtained according to the observation model in this paper. With *P*
_{
f
} = 0.1, its detection probability *P*
_{
d
} = Pr{*LR*(**y**
_{
n
})>*h*|*H*
_{1}} curves have been shown in Fig. 6. Since the CSS algorithm belongs essentially to the Bayesian rule, in order to maximum the total detection probability *P*
_{
D
}, the false alarm probability has been hidden in the *P*
_{
D
}, where *P*
_{
f
} will be fixed hardly. Nevertheless, for comparing sensing performance of two schemes, a cooperative joint scheme can still be evaluated under the NP criterion. The blue solid curve belonging to the new scheme gains an advantage over the soft combination scheme with a fixed *P*
_{
f
} = 0.1.

*H*

_{1}and

*H*

_{0}(Fig. 7). It is crucial that such estimated CSI is surely responsible for the communication quality of cognitive link as well.

## 6 Conclusions

This work presents a new framework to reach dynamic spectrum sharing in TVFF channels. The central question addressed in the paper is how to effectively detect the occupancy of PU’s band and estimate the CSI jointly. Based on a BF scheme, we design a joint CSS algorithm which achieves harmony and complementarity of detecting and estimating. Experimental simulation has validated our new scheme clearly. This new scheme also provides a promising solution to sense other dynamic parameters like the location of primary users in CRN. By casting these parameters into the DSM, they can be estimated recursively together by the BF algorithm. Thus, the new CSS is accessible to a more realistic CRN.

## Declarations

### Acknowledgements

This work was supported by NSFC (61379016) and SRFDP (20130005110016).

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

## References

- Q Liang, Automatic target recognition using waveform diversity in radar sensor networks. Pattern Recogn Lett
**29**(3), 377–381 (2008)View ArticleGoogle Scholar - Q Liang, Waveform design and diversity in radar sensor networks: theoretical analysis and application to automatic target recognition. In sensor and ad hoc communications and networks, 2006. SECON’06. 2006 3rd annual IEEE communications society on Vol. 2 (IEEE, Reston, VA, 2006), pp. 684-689Google Scholar
- Q Liang, X Cheng, SC Huang, D Chen, Opportunistic sensing in wireless sensor networks: theory and application. IEEE Trans Comput
**63**(8), 2002–2010 (2014)MathSciNetView ArticleGoogle Scholar - S Singh, Q Liang, D Chen, L Sheng, Sense through wall human detection using UWB radar. EURASIP J Wirel Commun Netw
**2011**(1), 1–11 (2011)View ArticleGoogle Scholar - S. Haykin, Cognitive radio: brain-empowered wireless communications. Selected Areas in Communications, IEEE J 23(2), 201-220 (2005)Google Scholar
- Federal Communications Commission, Spectrum policy task force report, FCC 02-155 (2002)Google Scholar
- E Axell, G Leus, EG Larsson, HV Poor, Spectrum sensing for cognitive radio: state-of-the-art and recent advances. IEEE Signal Processing Mag
**29**(3), 101–116 (2012)View ArticleGoogle Scholar - C.R. Stevenson, C. Cordeiro, E. Sofer, G. Chouinard, Functional requirements for the 802.22 WRAN standard: IEEE 802.22-05/0007r46 (IEEE, Piscataway, 2005)Google Scholar
- IEEE, Draft supplement to standard for telecommunications and information exchange between systems—LAN/MAN specific requirements—Part 11 (2003) wireless medium access control (MAC) and physical layer (PHY) specifications: specification for radio resource measurement: IEEE 802.11k/D0.7 (IEEE, Piscataway, 2003)Google Scholar
- J Ma, G Zhao, Y Li, Soft combination and detection for cooperative spectrum sensing in cognitive radio networks. IEEE Trans Wirel Commun
**7**(11), 4502–4507 (2008)View ArticleGoogle Scholar - SM Mishra, A Sahai, RW Brodersen, Cooperative sensing among cognitive radios. In Communications, 2006. ICC’06. IEEE International Conference on Vol. 4. (IEEE, Istanbul, 2006), pp. 1658-1663Google Scholar
- Z Quan, S Cui, AH Sayed, Optimal linear cooperation for spectrum sensing in cognitive radio networks. IEEE J Selected Top Signal Processing
**2**(1), 28–40 (2008)View ArticleGoogle Scholar - FF Digham, MS Alouini, MK Simon, On the energy detection of unknown signals over fading channels. In Communications, 2003. ICC’03. IEEE international conference on Vol. 5. (IEEE, 2003), pp. 3575-3579Google Scholar
- M Bkassiny, Y Li, SK Jayaweera, A survey on machine-learning techniques in cognitive radios. IEEE Commun Surv Tutor
**15**(3), 1136–1159 (2013)View ArticleGoogle Scholar - W Lewandowski, J Azoubib, WJ Klepczynski, GPS: primary tool for time transfer. Proc IEEE
**87**(1), 163–172 (1999)View ArticleGoogle Scholar - P Sadeghi, RA Kennedy, PB Rapajic, R Shams, Finite-state Markov modeling of fading channels-a survey of principles and applications. IEEE Signal Processing Mag
**25**(5), 57–80 (2008)View ArticleGoogle Scholar - C Zhao, M Sun, B Li, L Zhao, X Peng, Blind spectrum sensing for cognitive radio over time-variant multipath flat-fading channels. EURASIP J Wirel Commun Netw
**2014**(1), 1–13 (2014)View ArticleGoogle Scholar - RP Mahler, Statistical multisource-multitarget information fusion. (Artech House, Inc., Norwood, MA, USA, 2007)Google Scholar
- B Ristic, BT Vo, BN Vo, A Farina, A tutorial on Bernoulli filters: theory, implementation and applications. IEEE Trans Signal Processing
**61**(13), 3406–3430 (2013)MathSciNetView ArticleGoogle Scholar - B Ristic, S Arulampalam, Bernoulli particle filter with observer control for bearings-only tracking in clutter. IEEE Trans Aerosp Electron Syst
**48**(3), 2405–2415 (2012)View ArticleGoogle Scholar - B Li, S Li, A Nallanathan, Y Nan, C Zhao, Z Zhou, Deep sensing for next-generation dynamic spectrum sharing: more than detecting the occupancy state of primary spectrum. IEEE Trans Commun
**63**(7), 2442–2457 (2015)View ArticleGoogle Scholar