Computer Science and Engineering
p-ISSN: 2163-1484 e-ISSN: 2163-1492
2015; 5(1A): 15-22
doi:10.5923/s.computer.201501.03
1College of Electrical and Automation Engineering, Hefei University of Technology, Hefei, China
2College of Physics and Information Science, Hunan Normal University, Changsha, China
3Department of Electrical and Computer Engineering, Texas A&M University, College Station, TX, USA
Correspondence to: Lifen Yuan , College of Electrical and Automation Engineering, Hefei University of Technology, Hefei, China.
| Email: | ![]() |
Copyright © 2015 Scientific & Academic Publishing. All Rights Reserved.
Secondary users are considered for using the licensed spectrum without causing harmful interference to the primary users in cognitive radios, which results in a challenge for spectrum sensing. Spectrum sensing is an ability of secondary users to independently detect spectral opportunities without any assistance from primary users. The methods based on standard analog-to-digital converters could lead to unaffordable high sampling rate or implementations for wideband spectrum sensing. Based on the compressed sensing theory, a wideband spectrum sensing method is presented. Gabor functions are selected to build the atom dictionary for exploring the sparse representation of the wideband signal. Matching pursuit algorithm is introduced to select the optimal atoms that can result in the most sparsity of representation. Finally, Wigner-distribution is used to reconstruct the spectrum of the wideband spectrum on the sparse representation. Simulation results show that this method can greatly decrease the sampling rate of the wideband signal and sense the primary user’s existence successfully.
Keywords: Wideband spectrum sensing, Matching pursuits, Gabor atoms
Cite this paper: Lifen Yuan , Mi Lu , A Wideband Spectrum Sensing Method Based on Compressed Sensing by Using Matching Pursuits, Computer Science and Engineering, Vol. 5 No. 1A, 2015, pp. 15-22. doi: 10.5923/s.computer.201501.03.
. The received signal at the CRs is first down-converted to baseband before further signal processing and decision making. Without loss of generality, we consider only the equivalent baseband received signals
throughout the paper. The process of cooperative sensing starts with spectrum sensing performed individually at each CR user called local sensing. Typically, local sensing for primary signal detection can be formulated as a binary hypothesis problem as follows [15]:![]() | (1) |
is the equivalent baseband signal received by secondary user during the sensing period,
is the signal from the primary user,
is stochastic noise, and
is the temporary amplitude gain of the channel.
and
denote as the hypotheses of the absence and the presence of the primary user. By using sampling rate
over the observation time τ, we could obtain a discrete time sequence
, in a vector form
. Here,
is chosen to be a natural number.Document [8] reports that localized temporal and geographic spectrum utilization are extremely low. What’s more, compressive theory indicates that, if a signal is sparse in some basis, it can be reconstructed by using signal sampled with a sub-Nyquist sampling rate. Mathematically, by using sub-Nyquist sampling rate
, the compressed samples
can be written as![]() | (2) |
denotes an
measurement matrix. For spectrum sensing system, the goal is to reconstruct
or its discrete Fourier transform (DFT) spectrum
denotes a DFT matrix ) from
[16].
be a Hilbert space, we define a dictionary as a family
of vectors in
, such that
,
are called time-frequency atoms. Depending upon the choice of time-frequency atoms, the decomposition might have very different properties. Let
be the closed linear span of the dictionary vectors. Finite linear expansions of vectors in
are dense in the space
. We say that the dictionary is complete if and only if
. When the signal space
has a finite dimension
, the dictionary
may have an infinite number of elements and it is supposed to be complete. Document [17] gives an efficient implementation of matching pursuit algorithm and prove that the norm of residues decays exponentially, which is very important for sparse representation.Suppose
is a finite index set included in
such that for any
![]() | (3) |
and the dictionary redundancy, set
can be much smaller than
. The matching pursuit is initialized by computing the inner products
. Let
be the residual vector after approximating
in the direction of
, the vector
can be decomposed into![]() | (4) |
, such
is chosen that
is maximum![]() | (5) |
, and the
th order residue
is sub decomposed into ![]() | (6) |
, which closely matches the residue
. After
iteration, the original signal can be represented as![]() | (7) |
is selected, we compute the inner product of the new residue
with any
, and an updating formula can be derived![]() | (8) |
. The number of iterations is the minimum
such that![]() | (9) |
![]() | (10) |
depends upon the decay rate of
, and it is much smaller that N in most applications. There exists
and
can be represented as![]() | (11) |
can be written as![]() | (12) |
is an observing matrix, and
is a matrix constructed by
optimal atoms. Assume
and
corresponding to the atoms and the indices that maximum
, respectively,
and
corresponding to the residual and the projection of the signal.
is the kth
,
is the desired precision, and
is the approximation of
. The main steps of compressed sampling algorithm are summarized below.
is introduced, which is defined as![]() | (13) |
, defined over
, the integral is replaced by a discrete sum![]() | (14) |
![]() | (15) |
![]() | (16) |
with a zero average![]() | (17) |
and centered in the neighborhood of
. A dictionary of time-frequency atoms is obtained by scaling
by
and translating it by 
![]() | (18) |
.Wideband spectrums are signals that have properties that rapidly change in time and frequency. The properties of a wideband spectrum are revealed by transforms that decompose signals over elementary wavelet atoms. Representing a wideband spectrum with its independent factors is a form of translation invariance that is important for spectrum sensing. Decomposition in orthonormal bases lack this translation invariance. Matching pursuits are translation invariance if calculated in translation-invariant dictionaries. An atoms dictionary
is translation invariant if for any
for
. From the formula (7), it can be concluded that the matching pursuit of
selects a translation by
of the same vectors
with the same decomposition coefficients:![]() | (19) |
, a discrete Gaussian window is defined by![]() | (20) |
is adjusted so that
. A Gabor time-frequency frame is derived with time intervals
and frequency intervals
:![]() | (21) |
vectors. Theorem 5.19 in [24] proves that a necessary condition to obtain a frame is that
, and thus
. Table 5.3 in [24] shows that for
, the Gabor dictionary is nearly a tight frame.A multiscale Gabor dictionary is a union of such tight frames![]() | (22) |
typically to avoid having too-small or too-large windows. Its size is thus
, and for
, it is nearly a tight frame with frame bounds
. A translation-invariant dictionary is a much larger dictionary obtained by setting
and
in (21), and it thus includes
vectors. A smaller size dictionary
with
for
is selected in this paper. The position and frequency of this atom are refined with formula (5). It finds a close time-frequency atom
in the larger translation-invariant dictionary, which has a better correlation with
.
where
,
is a random time offset,
is AWGN with zero mean and unit variance,
is the receive power at CR. The overall bandwidth
. The signal-to-noise ratios (SNRs) are natural numbers between 7dB and 27 dB. The integer undersampling scheme in [26] is used to sample the entire bandwidth all at once, in which the sampling rate is an integer fraction of the wideband Nyquist rate. And the relationship between the frequency samples
for integer undersampling and the frequency samples
for wideband Nyquist sampling is [26]
where
is the sub-sampling factor, which is defined as the ratio of the Nyquist rate to the actual sampling rate,
is the number of narrow-band frequency channels. Each channel has equal bandwidth
and the entire wideband width is
.
is the number of wideband Nyquist samples per channel in a sensing window. Thus the entire sensing window duration for wideband Nyquist sampling is
samples.
is the central frequency of the jth PU signal,
. The spectrum sensing length is
. Rather than using the Nyquist sampling rate 4GHz,
is adopted. The total samples are 20000. According to the construction of the Gabor atoms in formula (21), the parameters of the Gabor atom are set as:
,
,
,
According to the analysis in Section 3, the atoms number in a dictionary is
for
, here N is the dimension of the vectors. In this simulation, the maximum atom number is set to 8. The simulation results in Fig.1 show the PU’s reconstruction when 8 times are run to select the optimal atoms. Fig.1(a) is the original signal of wideband and Fig.1(c) is the reconstructed signal using Gabor atoms based on compressive sensing, which shows that the PU’s spectrum can be reconstructed correctly. Fig.1(b) is the relationship between selected atom index and the run sequence. Fig.2 illustrates the coefficients of the selected atoms and the atom index, which shows that most of the coefficients are zero. Thus, the coefficients vector is sparse, and we should only save those nonzero coefficients and their indexes, which can decrease the memory cost greatly. Fig.3 shows the relationship between the normalized reconstructed error and the number of selected atoms, which illustrated that normalized reconstructed error is fluctuant and the local minimum error can be obtained when 2 atoms are selected.![]() | Figure 1. Simulation Results of Wideband Spectrum Sensing Algorithm |
![]() | Figure 2. Coefficients of the selected atoms |
![]() | Figure 3. Reconstruction error with the number of atoms |