Keywords

1 Introduction

According to Nyquist’s sampling theorem, a continuous-time band-limited signal x(t) with bandwidth B > 0 can be exactly recovered from twice as many samples per second as the highest frequency present in the signal, i.e., 2B also known as the Nyquist rate [1]. However, around 2004, Donoho [2] proved that at given knowledge about sparsity of a signal, the signal may be reconstructed back with even fewer samples than required by Nyquist’s sampling theorem, also known as compressed sensing (CS).

To implement wideband spectrum sensing, cognitive radio (CR) needs fast analog-to-digital converter (ADC) but the achievable sampling rate of ADC is only 3.6 Gsps. Capitalizing on the wideband signal spectrum sparseness, CS technique can be employed in spectrum sensing in CR network [3]. Tian and Giannakis [4] firstly applied CS theory to wideband CR networks for acquiring spectrum at sub-Nyquist sampling rates. In most scenarios in CR networks, the number of used channels is comparatively much lesser than total channels; those are vacant at a particular time and space. Therefore, when dealing with channel estimation problem in CR system where the channel band is really wide and dynamic and occupation information of the channels is compressible, CS can be exploited, since CS does not require any knowledge of the underlying multipath channel, based on the fact that a sparse structure is exhibited by the physical multipath channels in angle delay Doppler spreading, especially at large signal space dimensions, it is advantageous to utilize sparse channel estimation method based on convex/linear programming, which can be proved to outperform the existing least square-based methods [5]. Jia et al. [6] presented channel estimation algorithm for OFDM-CR, based on OMP and applied sparsity adaptive matching pursuit (SAMP) algorithm for the first time for channel estimation in NC-OFDM systems. Moreover, for the reconstruction time-consuming of SAMP algorithm was too large, modified adaptive matching pursuit (MAMP) algorithm was introduced as an improved SAMP algorithm. Qi et al. [7] introduced sparse channel estimation (SCE) scheme in OFDM-CR, where pilot design was formulated as an optimal column selection problem and constrained cross entropy optimization-based scheme was proposed to obtain an optimized pilot pattern.

The remainder of this paper is structured as follows Sect. 2 presents CR system model for spectrum sensing and channel estimation. In Sect. 3, CS-based spectrum sensing and channel estimation scheme is proposed. Section 4 demonstrates and summarizes the performance advantages of proposed CS-based scheme over traditional energy detection spectrum sensing and maximum likelihood ratio-based channel estimation techniques. Section 5 concludes the paper.

2 System Model and Problem Statement

Suppose that CR system aims to find spectral holes (SHs) in the frequency range of 0 to W Hertz, as shown in Fig. 1. During the spectrum sensing interval, all CR nodes keep quiet. Thus, the continuous signal received at the receiver of CR network, i.e., x(t), is composed of primary users’ (PUs) signals and additive white Gaussian noise (AWGN).

Fig. 1
figure 1

Frequency frame of wideband cognitive radio

Mathematically, using sub-Nyquist sampling rate f S (f S < 2W), the compressed samples y (yC M×1, M = τ f S ≪ N) can be written as

$$ {y } = {\varphi }{ x } = {\varphi }{\psi }_{\text{S}} $$
(1)

where φ is an m × N sensing matrix, ψ S is sparsifying matrix and y is the measurement vector of m measurements. Let μ(φ, ψ) be the coherence between φ and ψ, S = k/N be the sparsity measure, then we can choose minimum number of measurements required for reconstruction of x from y

$$ {m } \ge { C}_{0} \cdot \, \mu^{ 2} \left( {\varphi , \, {\psi} } \right) \, \cdot{ S }\cdot{ \log }\,N $$
(2)

for a Gaussian measurement matrix m, where C 0 is a constant. An estimate can be obtained by solving the CS reconstruction problem [8]:

$$ {{\hat{x}}}\,\, = {\text{ arg min}}\left| {\left| {x} \right|} \right|_{1} \quad {\text{s.t.}}\;{y} = \varphi \,{\psi }\,{ x} $$
(3)

After spectrum reconstruction secondary users (SUs) sense the recovered channel spectrum in order to identify frequency holes. If K symbol periods are allocated for channel sensing, the problem can be described as the hypothesis testing problem, mathematically:

$$ {\mathbf{\mathcal{H}}}_{0} :{ z}_{i} = { n}_{i} \quad{i } = { 1},{ 2},\ldots,{K} $$
(4)
$$ {\mathbf{\mathcal{H}}}_{1} :{ z}_{i} = { x}_{i} + { n}_{i} ,\quad{i } = { 1},{ 2},\ldots,{K} $$
(5)

After spectrum sensing, CR adopts noncontiguous orthogonal frequency division multiplexing (NC-OFDM) technique that decomposes wideband into orthogonal sub-channels. The sub-channels are activated when the spectrum is idle and when it is not available corresponding sub-channels are deactivated.

For S number of nonzero elements, the vector is S-sparse, discrete Fourier transform (DFT) size is N, active sub-carriers are M and pilot sub-carriers (c p) are K (K ≤ M). The CP length is greater than the maximum possible path delay (Fig. 2).

Fig. 2
figure 2

NC-OFDM-based CR system

OFDM symbol data X(n) contains mapping signals and pilot signals. After removing CP, discrete Fourier transform (DFT) is applied to the received time-domain signal y n for n ϵ [0, N − 1] to obtain k ϵ [0, N − 1]. The discrete-time channel model is:

$$ {h}\left( {n} \right) = \sum\limits_{{{l} = 0}}^{{{l} - 1}} {{h}_{\text{l}} {\delta }({n} - {\text{l}})} $$
(6)

where the impulse response vector of the channel h = [h 0, h 1,…, h l−1]T remains unchanged in multiple OFDM symbol period of time reflects the slow time variation of the channel. The relation between the transmitted pilots and received pilots can be written as:

$$ \left[ {\begin{array}{*{20}c} {{y}({c}_{{{\text{p}}_{1} }} )} \\ {{y}({c}_{{{\text{p}}_{2} }} )} \\ {\begin{array}{*{20}c} \vdots \\ {{y}({C}_{{{\text{p}}k}} )} \\ \end{array} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} {{x}({c}_{{{\text{p}}_{1} }} )} & {\begin{array}{*{20}c} 0 & \ldots \\ \end{array} } & 0 \\ {\begin{array}{*{20}c} 0 \\ \vdots \\ \end{array} } & {\begin{array}{*{20}c} \ddots & {} \\ {} & \ddots \\ \end{array} } & {\begin{array}{*{20}c} 0 \\ \vdots \\ \end{array} } \\ 0 & {\begin{array}{*{20}c} 0 & \ldots \\ \end{array} } & {{x}({c}_{{{\text{p}}k }} )} \\ \end{array} } \right] \cdot {F}_{{{K} \times {L}}} \cdot \left[ {\begin{array}{*{20}c} {{h}(1)} \\ {\begin{array}{*{20}c} {{h}(2)} \\ \vdots \\ \end{array} } \\ {{h}({L})} \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {{Z}(1)} \\ {\begin{array}{*{20}c} {{Z}(2)} \\ \vdots \\ \end{array} } \\ {{Z}({K})} \\ \end{array} } \right] $$
(7)

where Z is additive white Gaussian noise (AWGN) and is F K×L is a DFT sub matrix given by:

$$ {F}_{{{K} \times {L}}} = \frac{1}{\sqrt N }\left[ {\begin{array}{*{20}c} 1 & {\begin{array}{*{20}c} {{w}^{{{c}_{{{\text{p}}_{1} }} }} } & \ldots \\ \end{array} } & {{w}^{{{c}_{{{\text{p}}_{1} }} .\left( {{L} - 1} \right)}} } \\ {\begin{array}{*{20}c} 1 \\ \vdots \\ \end{array} } & {\begin{array}{*{20}c} \ddots & {} \\ {} & \ddots \\ \end{array} } & {\begin{array}{*{20}c} {{w}^{{{c}_{{{p}_{2} }} .({L} - 1)}} } \\ \vdots \\ \end{array} } \\ 1 & {\begin{array}{*{20}c} {{w}^{{{c}_{{{\text{p}}_{K} }} }} } & \ldots \\ \end{array} } & {{w}^{{{c}_{{{\text{p}}_{K} }} ({L} - 1)}} } \\ \end{array} } \right] $$
(8)

where \( {w}^{nl} = {\text{e}}^{{ - {j}\frac{{2{\pi }{nl}}}{N}}} \) . Let A = XF K×L , then (7) can be written as:

$$ {y } = { Ah } + { Z} $$
(9)

Since the channel delay spread is much larger than sampling period [9], particularly for OFDM systems with over sampling, most components of h are either zero or nearly zero, which implies that h is sparse. With this a priori condition, CS theory can be applied to estimate h.

3 Compressed Spectrum Sensing Algorithm

Consider a discrete-time signal \( x \in {\mathcal{P}}^{N} \), which can be expressed as X(n) where n = 1, 2, …, N. The claim of compressive sensing is that from m (m ≪ n) measurements, we can reconstruct the original signal x with nonadaptive linear measurements. This does not violate the Shannon–Nyquist sampling theorem as reconstruction of only sparse signals is possible. According to Eq. (1):

$$ {y} = \varphi {{\hat{x}}} = \varphi {\psi}_{\text{s}} = \varphi {\psi}_{\text{s}} {F}^{ - 1} {{\hat{X}}} $$
(10)

where F −1 \( {{\hat{X}}} \) is the inverse Fourier transform of \( {{\hat{x}}} \). Using Eq. (10) problem reconstruction of \( {{\hat{x}}} \) can be converted into the problem of reconstruction of \( {{\hat{X}}} \):

$$ {{\hat{x}}} = { \arg }_{x} { \hbox{min} }||{{\hat{X}}}||_{0} \quad \text{s.t.}\;{y } = \left( {{\varphi }{ F}^{ - 1} } \right){{\hat{X}}} $$
(11)

Basis pursuit (BP) [10] can be used for signal reconstruction, which transforms the sparseness constraint on into a convex optimization problem solvable by linear programming:

$$ {{\hat{x}}} = { \arg }_{x} { \hbox{min} }||{{\hat{X}}}||_{ 1} \quad \text{s.t.}\; {y } = \left( {{\varphi }{F}^{ - 1} } \right){{\hat{X}}} $$
(12)

To deal with the signals with noise components, some variants of LASSO algorithm can be developed by minimizing the usual sum of squared errors:

$$ {{\hat{x}}} = {\text{ arg min}}||{{\hat{X}}}\left| {\left| {_{0}} \quad \text{s.t.}\; \right|} \right| \, {\varphi }{ F}^{ - 1} {{\hat{X}}}-{ y }||_{ 2} \le \, {\varepsilon } $$
(13)

where ε is recovery error threshold. The problem can be solved with a two-step scheme: first, use compressed measurements y to estimate the sparse sequence and second, reconstruct signal \( {{\hat{x}}} \) according to ψ s.

Orthogonal matching pursuit (OMP) algorithm [1113] suggests the reconstruction under the conditions of a given iteration number, as the iterative process is forced to stop, OMP algorithm needs a lot of linear measurement to ensure accurate reconstruction. The basic idea of the OMP algorithm is to select the columns of measurement matrix with greedy iterative algorithm, make sure the correlative value between the columns selected in each iteration and the current redundant vector is maximum, and then subtract the correlative value from the sampling vector and repeat iteration until the number of iterations achieves the sparse degree s. OMP algorithm selects an atom in each iteration to update the atom collection, which will certainly pay a large time for reconstruction. The number of iterations is closely related to sparse degree S and the number of samples m, with their increase, time consumption will also increase significantly.

Problem with OMP algorithm is that it is not adaptive, pre-estimate of the sparse degree of the sparse signal is needed, and the reconstruction accuracy is not satisfactory. In reality, the sparse degree of the sparse channel is usually unknown. Sahoo et al. [14] proposed extended OMP-CS algorithm in order to improve the accuracy of reconstruction and make the algorithm adaptive. In the ExtOMP-CS algorithm, one key issue is how to choose the step size. Unlike the OMP-CS algorithm, the iteration times of ExtOMP-CS algorithm is not certain and is related to step size, and computational complexity and computational time are higher in the ExtOMP-CS algorithm than OMP-CS algorithm.

An extension to OMP algorithms is the compressed sampling matching pursuit (CoSaMP) algorithm [15]. The basis of the algorithm is OMP but CoSaMP can be shown to have tighter bounds on its convergence and performance [16].

For any 2S-sparse channel vector x, CoSaMP algorithm produces the channel estimator \( {{\hat{x}}} \) that satisfies

$$ ||x - \hat{x}||_{ 2} \, \le \,C \, \,\,{ \hbox{max} }\{\upvarepsilon,{ 1}/\sqrt s ||x - \hat{x}_{ 2S} \left| {\left| {_{ 1} + \, } \right|} \right|z||_{ 2} \} $$
(14)

for a given parameter ε, and x 2S is a best 2S-sparse approximation to x.

Having estimated \( {{\hat{x}}} \), SU finds the presence of PUs in a certain sub-band using energy detector. Let the energy \( E_{\text{p}} = \sum\nolimits_{{i\,\upvarepsilon\,{\text{sub-channel}}\,m}} {\hat{x}_{i} } \) received in sub-channel M. The spectrum availability is decided by:

$$ {\mathbf{\mathcal{H}}}\left( n \right) \, = \left\{ {\begin{array}{*{20}c} {{\mathcal{H}}_{0} \,\,\,\,\, Z_{i} \ge\uplambda} \\ {{\mathcal{H}}_{1} \,\,\,\,\,Z_{i} \le\uplambda} \\ \end{array} } \right. $$
(15)

The threshold λ is a decision threshold and is a design parameter for the CR receiver system. P d probability of detection and P f probability of false alarm are two probabilities used for performance evaluation of the scheme.

$$ {P}_{\text{f}} = { P}_{\text{r}} \left\{ {{Z } \ge \, \lambda |{H}_{0} } \right\} $$
(16)
$$ {P}_{\text{d}} = {P}_{\text{r}} \left\{{{Z } < \lambda |{H}_{ 1} } \right\} $$
(17)

After deactivating, the active sub carriers random pilots are assigned. As wireless channels are rapidly decaying, the channel response h is highly sparse because of the small number of significant multipath components. A sparse high-resolution signal h can be recovered with high probability with a constraint from the measurements y. The corresponding model can be written as

$$ { \hbox{min} }_{{{h}\, \in \,{c}^{N} }} \left\| {h} \right\|_{0} \quad{\text{s.t.}}\,\,{y } = {A h} $$
(18)

Problem (18) is NP-hard problem and even for moderate N, it is not possible to solve. \( \ell_{ 1} \) relaxation model with the same constraints can be used as an alternative.

$$ { \hbox{min} }_{{{h}\, \in \,{c}^{N} }} \left\| {h} \right\|_{1} \quad {\text{s.t.}}\,\,{y } = {A h} $$
(19)

The reconstruction can never be exact due to the noise present in the measurements. Using a final de-noising step based on least square problem, noise can be eliminated.

4 Performance Analysis and Simulation Result

In NC-OFDM, the power spectral density (PSD) of P th sub-carrier signal is characterized of the form

$$ {\varGamma }_{k} \left({f} \right) = {K }\cdot{\text{sinc}}^{ 2} \left({\left({{f}-{f}_{\text{P}} } \right){T}_{\text{S}} } \right) $$
(20)

where K is the signal level, fk is the sub-carrier center frequency, T S is the OFDM symbol duration and TG is guard interval. Assuming independent symbols in different sub-carriers, the PSD of an NC-OFDM signal is obtained as

$$ {\varGamma }\left({f} \right) = \sum\limits_{P} {{\varGamma }_{P} \left({f} \right)} $$
(21)

where index P is the number of active subcarriers. In this paper, a wideband spectrum of 0–100 MHz is considered with total six sub-bands (B 1B 6). Among these sub-bands, B 1, B 3, and B 5 located at 1–10 MHz, 20–35 MHz, 70–75 MHz, have relatively high PSD in the range of 0.0277–0.1126, as shown in Fig. 3 by level 16–25. For CS, the compression ratio is set to 75 % and the noise level is 8 dB.

Fig. 3
figure 3

Wideband spectrum \( {{\hat{X}}} \)

4.1 Recovered PSD

Using algorithm 1 based the CS scheme, wideband spectrum can be successfully reconstructed back at sub-Nyquist rate, as shown in Fig. 4.

Fig. 4
figure 4

Reconstructed spectrum

4.2 Probability of Detection Performance

The performance of the conventional generalized likelihood ratio test scheme and CS-based spectrum sensing scheme is evaluated and compared via the probability of detection P d for a constant false alarm rate of P f = 0.08 (Fig. 5).

Fig. 5
figure 5

Comparison of probability of detection performances

4.3 BER Performance

An OFDM-based CR system is considered with M = 1024 subcarriers, after spectrum sensing without any false alarm or missing detection and deactivating those subcarriers occupied by PUs, there are 512 remaining OFDM subcarriers for SUs, including three noncontiguous subcarrier blocks, i.e., {1, 2, …, 256}, {513, 514, …, 640} and {897, 898, …, 1024}, with the number of subcarriers in each block being 256, 128, and 128, respectively. A sparse multipath channel h is considered with L = 60 taps where 5 nonzero taps are placed randomly. The channel estimation performance is evaluated now using the designed pilot patterns.

Figure 6 shows BER performance of two schemes—proposed CS channel estimation and channel estimation scheme based on LS. Improved BER performance of the proposed CS-based scheme can be seen from the above figure, over the conventional LS-based scheme.

Fig. 6
figure 6

Comparison of BER performances

5 Conclusion

CS is a very promising technique in wireless communication networks. However, the studies on the applications of CS are just in fewer areas. Even in these areas, a lot of problems are still not been fully settled, limiting the performance of CS. In CR network systems, if the number of channels, is not large enough, the requirement of sparsity cannot be guaranteed, which limits the advantages of CS. In this paper, the application of CS is demonstrated in CR networks and based on the advantages of the proposed scheme, the problem of designing a high-performance CR receiver indicates that the approach should work both for spectrum sensing and channel estimation.