Next Article in Journal
An Image Focusing Method for Sparsity-Driven Radar Imaging of Rotating Targets
Previous Article in Journal
Space Subdivision in Indoor Mobile Laser Scanning Point Clouds Based on Scanline Analysis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Wideband Spectrum Sensing: A Bayesian Compressive Sensing Approach

Electrical Engineering Department, University of North Dakota, Grand Forks, ND 58202, USA
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(6), 1839; https://doi.org/10.3390/s18061839
Submission received: 17 April 2018 / Revised: 24 May 2018 / Accepted: 4 June 2018 / Published: 5 June 2018
(This article belongs to the Section Sensor Networks)

Abstract

:
Sensing the wideband spectrum is an important process for next-generation wireless communication systems. Spectrum sensing primarily aims at detecting unused spectrum holes over wide frequency bands so that secondary users can use them to meet their requirements in terms of quality-of-service. However, this sensing process requires a great deal of time, which is not acceptable for timely communications. In addition, the sensing measurements are often affected by uncertainty. In this paper, we propose an approach based on Bayesian compressive sensing to speed up the process of sensing and to handle uncertainty. This approach takes only a few measurements using a Toeplitz matrix, recovers the wideband signal from a few measurements using Bayesian compressive sensing via fast Laplace prior, and detects either the presence or absence of the primary user using an autocorrelation-based detection method. The proposed approach was implemented using GNU Radio software and Universal Software Radio Peripheral units and was tested on real-world signals. The results show that the proposed approach speeds up the sensing process by minimizing the number of samples while achieving the same performance as Nyquist-based sensing techniques regarding both the probabilities of detection and false alarm.

1. Introduction

The growing number of wireless devices, the increasing demand for higher data rates, and the current static allocation of the radio spectrum are the leading causes of the radio spectrum scarcity problem. To address this issue and to enhance access to the radio spectrum, cognitive radio technology has been proposed as a viable solution. A cognitive radio system is a smart wireless communication system that can sense the radio spectrum, detect unused spectrum holes, and adjust dynamically its transmission parameters to access free frequency channels without causing any harmful interference to the licensed users or primary users [1,2,3]. In this regard, spectrum sensing plays a crucial role in the 3-process cognitive cycle by making cognitive radio systems aware of their radio environments. Over the last decade, several sensing techniques have been proposed to detect the primary user activities. Examples of these techniques include energy detection [4], cyclostationary detection [5], and matched filter detection [6]. Energy detection is a simple technique as it does not require prior knowledge about the primary user signal. However, it is sensitive to noise as it does not distinguish between samples coming from the signal and those coming from noise. Cyclostationary-based detection is robust to noise and has high detection performance compared with energy detection. Matched filter-based detection requires some prior knowledge about the primary user signal as it compares the received samples to some saved pilots from this signal. This technique is not practical as this information about the signal is often unavailable.
These techniques aim at detecting spectral opportunities over narrow frequency bands; however, cognitive radio systems aim to exploit spectral opportunities over broad frequency bands ranging from hundreds of megahertz to hundreds of gigahertz and consequently these sensing techniques cannot be applied directly to perform wideband spectrum sensing.
Wideband spectrum sensing is one of the challenges facing researchers to design next-generation communication systems because this process requires a high sampling rate, which results in a high processing time and energy consumption. In conventional communication systems, this sensing is performed by an Analog-to-Digital Converter (ADC) working at the Nyquist rate leading to a high sampling rate and implementation complexity [7]. For instance, to sense a wideband signal over broad frequency bands ranging from 0 to   6   GHz , this signal has to be sampled with a high-resolution Analog-to-Digital Converter working at the Nyquist rate, which needs to be at least twice the maximum frequency of the band-limited signal, meaning 12   GHz or higher. The implementation of Nyquist-based sensing techniques is thus impractical for wideband spectrum sensing because of the hardware limitations and the computational cost.
Several sensing approaches have been proposed to perform wideband spectrum sensing [8,9,10,11]. These approaches perform wideband spectrum sensing using the Nyquist rate. For instance, the authors of [8,9,10,11] performed spectrum measurements to find the spectrum usage pattern for broad frequency bands. To overcome the limitations of the models proposed in [8,9,10,11], some recent innovative techniques have been proposed such as wavelet-based detection [12,13,14], multi-band joint detection [15], and filter-band-based sensing [16,17,18]. The wavelet-based detection approach is an edge-based detection that characterizes the edges of the occupied channels. Using this information wavelet-based detection techniques divide the wideband spectrum into several elementary building blocks, and then a wavelet transform is applied to detect irregularities in the structure of the spectrum, which carry valuable information about the occupied channels and their frequency locations. These techniques introduce a significant latency. One way to reduce this latency is to jointly sense several bands. In multi-band joint detection, a secondary user simultaneously senses several sub-bands, and for each band, the energy of the received samples is calculated. Then, it sets optimal thresholds for all the sub-bands to maximize the likelihood of detection and minimize the likelihood of false alarm. Solving the optimization problem to find the optimal thresholds introduces a large latency instead of reducing it. In filter bank-based detection, several band-pass filters are used. At the output of each filter, an energy detector is used to detect the activity of the primary user. All the techniques mentioned above have limitations such as a high sampling rate, large latency, and high power consumption. In addition, some of these techniques have a high hardware cost. Moreover, in most of these research studies, energy detection was used to sense the frequency channels and to estimate their occupancies. However, energy detection is highly sensitive to noise, as it does not distinguish between the noise and signals; thus, this technique is inefficient particularly at low SNR values [19].
Uncertainty is yet another problem that affects wideband spectrum sensing. The authors of [20] proposed a Bayesian model to estimate the occupancy of frequency channels over broad bands and handle uncertainty. The model was implemented using GNU radio software and USRP units and was tested in real-world scenarios. Energy detection, autocorrelation, and correlation-based Euclidian Distance techniques were used for sensing these frequency channels ranging from 825 MHz to 5.8 GHz. Their results show that scanning the wideband spectrum requires a high processing time, which is not acceptable for the current or next-generation communication systems. Recently, the authors of [21] proposed an improved probabilistic model based on a Bayesian network to handle uncertainty and increase the probability of detection of these sensing techniques by estimating the level of noise. Similar to the previous studies, this method samples all the channels at the Nyquist rate, which results in a high processing time and computation cost. The authors of [22] proposed a Bayesian compressive sensing with a circulant matrix for narrow-band spectrum sensing to handle uncertainty. The proposed approach was not used for wideband spectrum sensing and it has been evaluated using only the mean square error, the recovery error, and processing time. The application of this Bayesian compressive sensing to perform spectrum sensing was not evaluated using probabilities of detection and false alarm.
To speed up the process of sensing the wideband spectrum, compressive sensing has been proposed [22,23,24]. This paradigm reduces the number of measurements to be sampled and recovers the original sparse signal from these few measurements [25]. It involves three main processes: sparse representation, measurement or encoding, and sparse recovery or decoding. Compressive sensing theory relies on two fundamental concepts: sparsity and mutual coherence [26]. These two conditions are necessary to ensure that the sparse recovery problem, which is an undetermined linear system, can be solved. In wireless communication, most of the signals are sparse in the frequency domain, as a handful of frequency channels are continuously occupied by their primary users while others are not or are sparsely used. This characteristic has enabled the application of compressive sensing for wideband spectrum sensing [22,23,24].
Tian et al. [27] introduced compressive sensing theory for sensing the wideband spectrum. Since then, several works have been proposed in this context [22,24,27,28,29,30,31,32,33,34,35]. For instance, the authors of [3] suggested an Analog-to-Information converter (AIC) that consists of a pseudo-random number generator, which produces a few measurements that are used to recover the sparse signal. This approach reduces the high sampling rate; however, it presents some drawbacks such as the high computational complexity because of the large size of the measurement matrix, and the performance of the AIC model can be easily affected by design imperfections. Also, the authors did not investigate how the number of measurements can be selected. To address this issue, the authors of [33] introduced a two-step compressive sensing-based model for reducing the sampling rate. The first step of this scheme consists of estimating the sparsity level of the wideband signal and accordingly adjusting the number of measurements used for sampling in the second step. This model introduced extra complexity to the wideband spectrum sensing by performing the estimation of the sparsity level. The authors of [34] proposed an approach in which they adjusted the number of measurements interactively until reaching a desired signal recovery error, which introduced further complexity to the model. To reduce the complexity of these previous approaches, the authors of [35] presented a framework that combines compressive spectrum sensing with geo-location database. This database provides the system with the necessary information about the occupancy of a band of interest to estimate its sparsity level and, accordingly, find the accurate number of measurements to guarantee the best recovery of the wideband signal. This model is impractical since the database has to be updated in real-time to provide the system with the right information.
Most of the proposed compressive-sensing techniques have been evaluated in either a noise-free environment or using simulations in non-realistic scenarios. For instance, the authors [26] evaluated their compressive sensing model using probabilities of detection and false alarm using simulation and under high values of signal to noise ratio, SNR = 15 dB. The performance of the algorithm under a low signal-to-noise ratio was not considered. It would be more reasonable to test the behavior of the models under low signal-to-noise ratios and on real-world signals, especially if these models are based on methods sensitive to noise such as energy detection. In addition, the validation of the proposed model using only simulations with Matlab is not sufficient. Indeed, several parameters that are assumed to be constant in simulations are random in real-world scenarios.
A few research works have been conducted on the implementation of compressive sensing to investigate the reliability of this new sensing framework. For instance, the authors of [36,37] proposed a modulated wideband converter model for multi-channel CS-based sensing. The authors of [33] proposed an analog-to-information sampler to implement compressive sensing. The authors of [27] tested their wideband spectrum sensing technique on real-time TV white space signals obtained by a CRFS RFeye node to validate the proposed model; however, this model was not tested and the evaluation of the proposed model in an uncontrolled environment is very difficult. Thus, there is a strong need for validating the compressed wideband sensing techniques using real-world experiments and to test these techniques on real signals to ensure the reliability of these sensing techniques.
In this paper, we propose a Bayesian compressive approach for sensing the wideband radio spectrum. The proposed scheme is based on Bayesian compressive sensing via fast Laplace prior (BCS-LP) to recover the wideband signal from a few measurements combined with an autocorrelation-based detection technique to obtain an accurate sensing decision. Unlike most of the existing techniques, the proposed model uses an autocorrelation-based detection technique because it is insensitive to noise. The proposed approach was implemented using GNU Radio software and universal software radio peripheral (USRP) units and was extensively tested on real-time signals. The experimental setup uses real-time signal transmitted and recorded using the USRP and GNU radio. The level of the signal-to-noise ratio was measured using a method based on the eigenvalues of the sample covariance matrix of the received signal [24,25,26,27].
The contributions of this paper can be summarized as follows:
  • A review of the wideband sensing techniques
  • The mathematical model of the Bayesian compressive sensing-based method
  • An experimental setup using software defined radio units
  • An evaluation of the proposed approach using several metrics
  • A Comparison between the proposed approach and three Nyquist-based sensing techniques
The rest of this paper is structured as follows. Section 2 describes the proposed model and its mathematical model as well as the experimental setup. Section 3 presents and discusses the obtained results. Conclusions and perspectives are drawn in Section 4.

2. Methodology

The proposed approach for sensing the wideband spectrum is based on Bayesian compressive sensing and an autocorrelation-based detection technique. During this sensing, the receiver only captures a few samples. Then, the Bayesian-based recovery technique recovers the wideband signal from these few measurements followed by the autocorrelation-based detection technique to obtain the sensing decision. In the first part of this section, the mathematical model of the proposed approach is described, and in the second part, the implementation of this approach is described as well as the experimental setup used to test the model.

2.1. Mathematical Model

The wideband signal considered is divided into N sub-bands. Then, the received signal at the secondary user can be expressed as:
y ( t ) = n = 1 N x n ( t ) h n ( t ) + w ( t ) ,
where x n ( t ) denotes the signal of the n t h primary user, h n ( t ) denotes the channel response, and w ( t ) denotes an additive white Gaussian noise.
In the frequency domain, this signal can be expressed as:
Y ( f ) = n = 1 N D h x n ( f ) + w ( f ) ,
where D h   denotes a diagonal N × N channel gain matrix.
At a time   t , only a few M channels are occupied where   M < < N . Consider S the set of occupied channels. Then, for all channels that do not belong to the set   S , their corresponding signals are zero. Thus, the received signal can be reduced to:
y ( t ) = n S x n ( t ) h ( t ) + w ( t ) ,
Y ( f ) = n S D h x n ( f ) + w ( f ) ,
where Y ( f ) is sparse in the frequency domain, which makes the application of compressive sensing work.
The received signal is then reduced using a sensing matrix to obtain the vector of measurements. A sensing matrix, which has to satisfy the Restricted Isometry Property, is used to select the few measurements from the sparse signal. The vector of measurements is then given by:
z f = Φ y f ,
where x denotes an N × 1 vector, z f denotes the M × 1 measurements vector, Φ denotes an M × N sensing matrix, and y f is the projection of the received signal on the frequency domain.
The signal is then reconstructed from the set of measurements z f using the Bayesian via Fast Laplace prior technique, which uses prior knowledge of the sparse signal in order to recover the original sparse signal.
The recovery formulation is given as
min y f || y f || 1   s . t .   z f = Φ y f ,
The signal is then reconstructed from the set of measurements z f using the Bayesian via Fast Laplace prior technique, which uses a Bayesian inference on the sparse signal in order to recover the original sparse signal.
Bayesian compressive sensing requires determining a joint probability distribution function (pdf) of the hierarchical model f ( y f , γ , β , z f ) . This pdf function is defined as:
f ( y f , γ , β , z f ) = f ( z f / y f , β )   · f ( y f / γ ) ·   p ( γ ) ·   p ( β ) ,
where β = σ 2 2 denotes the inverse of noise variance, γ   and   β denote hyper-parameters, and the vector of observations z f is assumed to underline a normal probability distribution with zero mean and variance equal to β 1 . Thus, the conditional probability of measurement vector z f given the sparse signal y f can be expressed as:
f ( z f / y f , β ) = N ( z f / ϕ y f , β 1 ) ,
The hyper-parameter β underlines a gamma probability distribution function, and this pdf can be given by:
f ( β / a β , b β ) = Γ ( β / a β , b β ) ,
The signal model is equivalent to using a Laplace prior on the coefficients y f ; thereby, we can formulate the probability density function as:
f ( y f | γ ) = ( γ 2 ) N exp ( γ 2 || y f || 1 ) ,
The Bayesian inference is given by:
f ( x , γ , β , λ / z f ) = f ( y f / z f , γ , β , λ ) f ( γ , β , λ / z f ) ,
Since f ( y f / z f , γ , β , λ ) f ( y f , z f , γ , β , λ ) , then the distribution f ( y f / z f , γ , β , λ ) is a multivariate Gaussian distribution N ( y f / μ , ) with the parameters:
μ = β ϕ T y , = [ β ϕ T ϕ + ] 1 , and     = d i a g ( 1 / γ i ) ,
f ( γ , β , λ / z f ) = [ f ( γ , β , λ , z f ) / f ( z f ) ]     f ( γ , β , λ , z f ) is used to estimate the hyperparameters. We estimate these hyperparameters by maximizing the joint distribution f ( γ , β , λ , z f )   or its logarithm   l :
l = log ( f ( γ , β , λ , y ) ) = 1 2 l o g | C | 1 2 y T C 1 y + N l o g ( λ ) 1 2 γ i + ϑ 2 log ( ϑ 2 ) log ( ( ϑ 2 ) ) + ( ϑ 2 1 ) log ( λ ) ϑ 2 λ + ( a β 1 ) log ( β ) b β β ,
The updates of other parameters can be determined by setting the two partial derivatives of the logarithm of the joint probability density function f ( γ , β , λ , z f ) to zero. This can be expressed as:
d l d λ = 0 and d l d β = 0 ,
Thus, we find expressions for these two hyper-parameters, which are given by:
β = N 2 + a β || y ϕ x 2 || 2 + b β ,
λ = N 1 + ϑ 2 i γ i 2 + ϑ 2 ,
Once we determine the hyper-parameters, we can find an expression for the joint probability density function f ( y f , γ , β , z f ) , and consequently we can solve the recovery problem given by Equation (6).
Once the wideband signal is recovered, a detection technique has to be applied to obtain the sensing decision. In our model, we performed the detection using autocorrelation-based sensing detection because of its advantages compared to other techniques [4]. This sensing technique uses some cyclostationary features of the signal samples to distinguish the transmitted signal from noise [5]. The autocorrelation of the received signal is thus analyzed to decide between two states: the signal is considered absent, denoted by   0 , and the signal is considered present, denoted by   1 .
  0 :   y ( n ) = w ( n ) ,
  1 :   y ( n ) = s ( n ) + w ( n ) ,
where y ( n ) denotes the received signal, s(n) denotes the primary user signal, and w ( n ) is an additive white Gaussian noise.
The statistical covariance matrices of the vector y ( n ) and s ( n ) , which are denoted by R y and   R s , respectively, are given by:
R y = E [ y ( n ) y T ( n ) ] ,
R s = E [ s ( n ) s T ( n ) ] ,
where E denotes the expectation and the ( · ) T represents the transpose operator.
The matrix R y can be expressed as follows:
R y = R s + σ η 2 Ι ,
where σ η 2 denotes the variance of the noise and I represents the identity matrix.
If the signal s ( n ) is absent, the off-diagonal entries of R x are zeros ( R y ) i i = 0 as well as   R s = 0 . The authors of [5] proposed a ratio between the sum of all elements of   R y ,   T 1 , and the sum of its diagonal elements, T 2 , as a metric to detect the presence or the absence of the signal. If the ratio is equal to 1, it means that there is no signal, and if the ratio is greater than 1, then the signal is considered present. T 1 and T 2 are defined as:
T 1 = 1 L j L i L | r i j | ,
T 2 = 1 L j L | r i j |
where r i j denotes the ij-th element of the matrix R y .

2.2. Experimental Setup

The proposed approach and the Nyquist-based model were implemented using GNU Radio and USRP units. GNU Radio is open source software that contains several digital signal-processing blocks, which can be used to implement radio subsystems. To create a new customized block in GNU Radio, either C++ or Python language can be used. USRP units are Software Defined Radio devices designed for RF applications and can be interfaced with GNU Radio software, which has a USRP Hardware Driver (UHD) block allowing the computer to capture the samples coming from these units.
The USRP units used in this work have W B X daughterboards with a maximum effective bandwidth of 25 MHz. Given a wideband signal of bandwidth higher than 25 MHz, USRP units cannot sense the whole bandwidth spectrum in one-step. The procedure considered is a multistep process in the frequency domain. This procedure defines the spectrum range to be sensed, and then the algorithm changes the central frequency of the receiver to obtain the samples to be processed. This process is repeated for all frequencies within the testing range.
This experimental setup is illustrated in Figure 1. Two sets of USRP units and two computers have been used. In the transmitter, consisting of one USRP and one computer, we emulate the signal generated by the primary user, in which the characteristics of the signal are adjusted for transmission. Random Additive White Gaussian noise (AWGN) is added to the signals before transmission.
The second USRP, which acts as the receiver, is tuned to a center frequency. Then, the samples corresponding to this center frequency are captured by the UHD block and saved in a Python Numpy Array using the block printer_f. For each center frequency, the measurement matrix is applied to the array that contains the samples captured from the USRP unit to obtain only a few samples. The sensing matrix used is a random Gaussian matrix. Based on these few samples and a Toeplitz measurement matrix, the signal is reconstructed via the BCS-LP recovery technique, and then the autocorrelation technique is applied to the recovered signal to determine the presence or the absence of the primary user. All collected measurements are saved in a Python Numpy array. For comparison purposes, standard sensing is also performed for each center frequency, which skips the compressive sensing part and applies the autocorrelation directly to the received signal. The same operation is done for all center frequencies listed in Table 1.
Table 1 shows the list of frequency channels of four bands considered for this sensing. Their ranges, the spacing between the frequency channels of the same band, and the number of channels in each band are presented. These frequencies were chosen for their high use in real-world communication scenarios.

3. Results

Several experiments were performed to evaluate the efficiency of the proposed model. In the following, we present the results of the comparison between our proposed approach, Bayesian compressed sensing model, and the Nyquist-based sensing technique. The choice of the Bayesian recovery algorithm is justified by the results of a comparison between several recovery techniques [38] conducted in our previous work. These algorithms are basis pursuit (BP), gradient descent (Grades), orthogonal matching pursuit (OMP), iterative hard thresholding (IHT), and Bayesian via relevance vector machine (BCS-RVM). These algorithms were chosen because they best represent techniques from three categories: convex and relaxation, greedy, and Bayesian category. Metrics such as the recovery error and recovery time were used for the performance comparison. As summarized in Table 2, this work showed that OMP is the fastest algorithm, but it has a high recovery error; BP shows small recovery error, but it requires more recovery time; and Bayesian-based techniques are the balance between low recovery error and short recovery time.
The performance of compressive sensing techniques is affected by the measurement matrix used. In a previous work that compared the performances of measurement matrices [39], we show that the Toeplitz matrix outperforms the other measurement matrices. It has the advantages of reducing the randomness because of its deterministic construction and it satisfies the restricted isometry property, which can result in more accurate recovery and faster sensing process. For this reason, we used the Toeplitz matrix with the Bayesian recovery to perform compressive sensing.
In this work, to evaluate the wideband spectrum sensing models, several evaluation metrics are used, which are the probability of detection ( P d ), the probability of false alarm ( P f a ), the mean square error   ( MSE ) , and the sensing time.
The probabilities of detection and false alarm are given by:
P d = N D N T ,
P f a = N F A N T ,
where N D is the number of total detections, N F A is the number of total false alarms, and N T is the total number of trials.
The mean square error is given by:
MSE = 1 N ( Y Y ^ ) 2 ,
where Y is the received signal using Nyquist-based sensing and Y ^ is the recovered signal.
Table 3 summarizes the implementation parameters. The PU signal is a BPSK modulated signal with a transmission power of P = 70   dB , and the values of SNR is varied from   20   dB   to   20   dB . The absence of the PU signal is emulated by turning the transmitter off. In order to calculate the probabilities of detection and false alarm, we have considered a number of trials equal to   100 .
During the experiment, we encountered several challenges. The first challenge was how to generate signals with different signal-to-noise-ratio values because the noise is time-varying and cannot be controlled. We solved this problem by connecting both the USRPs of the receiver and the transmitter directly using a radio frequency (RF) cable, and we change the level of noise at the transmitter side. Another challenge was how to make sure that the SNR we are targeting is the one that we have created. To overcome this challenge, we used a noise measurement method based on the eigenvalues of covariance matrix of the received samples [40,41]. This technique allows one to estimate the noise power and the signal power in a signal at the receiver side.
Examples of results are shown in Figure 2, Figure 3, Figure 4 and Figure 5. Figure 2 presents a comparison between the probability of detection versus SNR for CS based sensing using different numbers of measurements and the probability of detection versus SNR of the Nyquist-based sensing technique. The SNR values range from 20   dB to   + 20   dB . This figure also shows that the probability of detection increases as SNR increases for both approaches, the proposed approach and Nyquist-based sensing, to reach 100 % for   SNR = 0   dB . It can also be observed that the probability of detection with CS based sensing reaches 100 % for lower SNR values as the number of measurements increases. For a number of measurements   M = 128 , the probability of detection reaches 100 % for SNR = 15   dB and for   M = 1024 , the probability of detection reaches 100 % for   SNR = 0   dB . If we reduce the number of measurements by   50 % , the probability of detection decreases by 10 % for SNR = 5 dB and by 5 % for SNR = 2   dB , but remains constant for SNR higher than 0   dB . This means that if we are able to estimate the value of   SNR , we can set the number of measurements to a specific value and still obtain the same value of probability of detection. For instance, for   SNR = 3   dB , the number of measurements can be reduced to M = 512 and the detection performance remains the same as the one of the Nyquist-based sensing.
Figure 3 shows the probability of detection versus the probability of false alarm for standard sensing and compressive sensing based techniques using different numbers of measurements. One can see that the probability of detection increases as the probability of false alarm increases to reach 100 % for P f a = 30 % for normal sensing and P f a = 50 % for compressive sensing based sensing for a compression ratio   M / N = 50 . The same figure shows that the probability of detection increases as the number of measurements increases. The lowest value of probability of detection corresponds to the number of measurements M = 128 and the highest one corresponds to the number of measurements   M = 1024 .
Figure 4 shows the MSE   of the proposed approach versus the number of measurements for different values of SNR . As expected, the mean square error decreases as the number of measurements increases for all values of SNR . The MSE corresponding to low SNR values is higher and the ones corresponding to high SNR values are lower. It can also be seen that the MSE increases as the SNR decreases. Hence, if we are able to estimate the value of SNR , we can choose the number of measurements accurately and then improve the detection performance of the compressive spectrum sensing technique.
Figure 5 shows the sensing time needed to scan 20 channels of the band 2.4 GHz, versus the number of measurements. As expected, the sensing time decreases as the number of measurements decreases. For instance, for the number of measurements M = 2048, the sensing time is 54 ms and for M = 1024, the sensing time is 37 ms, which means that if we decrease the number of measurements by 50%, the sensing time is also decreased by almost 32%.
Table 4 shows examples of performance comparisons of the two sensing techniques. Column a gives examples of results corresponding to the normal sensing technique. Columns   b ,   c , d , and e give examples of results corresponding to the compressive sensing based sensing technique for different measurements numbers, 1024 ,   512 ,   256 , and   128 . As one can see, for a 10% of probability of false alarm, normal sensing (a) achieves a probability of detection of 100 % for   SNR = 1   dB . However, the compressive sensing-based sensing technique achieves a detection probability of   100 % , 75 % , 15 % , and 0 % for SNR = 0   dB   for the measurement numbers 1024 ,   512 ,   256 , and 128 , respectively. The sensing time corresponding to the normal sensing based sensing technique is 54 ms while the time for the compressive sensing-based sensing technique is 37   ms , 33.6   ms , 30.4   ms , and 24.3   ms , for the measurement numbers, 1024 ,   512 ,   256 , and 128, respectively. For the mean square error, the compressive sensing based sensing technique has MSE values of 0.09 , 0.88 ,   1.156 , and 1.456 , for the measurement numbers, 1024 ,   512 ,   256 , and 128 , respectively. As a summary, one can conclude that by reducing the number of samples by 50 % , the probability of detection decreases by only a maximum of 10 % , but the sensing time is decreased by approximately 32 % .
Table 5 provides a comparison between several techniques. This table highlights the advantages and disadvantages of each technique. Wavelet-based detection has the advantages of reducing the sensing time compared with sequential sensing since it uses the irregularities in the edge to find the occupied channels as well as their locations. However, the sensing time of this detection approach is high because of the high sampling rate, which results in a high power consumption and complexity. This technique has also the disadvantage of low detection at low values of SNR. Multiband joint-based detection has the advantages of sensing multiple bands simultaneously, finding the optimal threshold for energy detector, and reducing the latency compared to wavelet-based detection. However, the optimization process requires an iterative process to find the optimal thresholds that increase the probability of detection while reducing the probability of false alarm. In addition, this technique uses the Nyquist rate, and consequently suffers from high complexity, large latency, and high complexity implementation. Filter bank-based detection senses the wideband spectrum using several band-pass filters, which can speed up the process of sensing compared to wavelet and multi-band based detection techniques. However, using energy detectors at the output of each filter does not give accurate sensing results as energy detection is very sensitive to noise. Moreover, filter bank-based detection has a high hardware cost since it requires several RF receiver and ADC converters, which is unpractical. Compressive sensing-based wideband spectrum sensing reduces the high sampling rate, and thus has a short processing time that can be up to 50% less than for Nyquist-based techniques while achieving the same detection performance. In addition, using autocorrelation with compressive sensing has the advantage of coping with noise uncertainty.

4. Conclusions

In this paper, we have proposed a novel approach for speeding up the process of wideband spectrum sensing, handling uncertainty, and identifying the free radio channels. This approach uses Bayesian compressive sensing combined with the autocorrelation-based detection. The proposed technique was implemented using GNU Radio and USRP units. Numerous experiments were performed to validate the proposed model using metrics, including the probability of detection, probability of false alarm, mean square error, and sensing time. The efficiency of the proposed model was compared with that of several Nyquist-based sensing techniques. These results show that this model speeds up the sensing process while achieving approximately the same probabilities of detection and false alarm as Nyquist-based sensing techniques. For future work, we will focus on further improving the detection performance of the compressive sensing techniques by measuring SNR and automatically selecting the number of measurements to reduce the recovery error. We plan also to investigate the application of one-bit compressive sensing for wideband spectrum sensing because of its advantages such as low complexity, fast sampling, and low storage cost as well as the robustness to noise.

Author Contributions

Conceptualization, Y.A. and N.K.; Methodology, Y.A. and N.K.; Software, Y.A. and N.K.; Validation, Y.A. and N.K.; Formal Analysis, Y.A. and N.K.; Investigation, Y.A. and N.K.; Resources, Y.A. and N.K.; Data Curation, Y.A. and N.K.; Writing-Original Draft Preparation, Y.A.; Writing-Review & Editing, Y.A. and N.K.; Visualization, Y.A.; Supervision, N.K.; Project Administration, N.K.; Funding Acquisition, N.K.

Funding

This research was funded by the National Science Foundation (NSF) grant number #1443861.

Conflicts of Interest

The authors declare no conflict of interest and the founding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

References

  1. Kaabouch, N.; Hu, W.C. Handbook of Research on Software-Defined and Cognitive Radio Technologies for Dynamic Spectrum Management; IGI global: Hershey, PA, USA, 2014. [Google Scholar]
  2. Pandit, S.; Singh, G. Spectrum Sensing in Cognitive Radio Networks: Potential Challenges and Future Perspective. In Springer Spectrum Sharing in Cognitive Radio Networks; Springer: Cham, Switzerland, 2017; pp. 35–75. [Google Scholar]
  3. Tropp, J.A.; Laska, J.N.; Duarte, M.F. Beyond Nyquist: Efficient Sampling of Sparse Bandlimited Signals. IEEE Trans. Inf. Theory 2010, 56, 520–544. [Google Scholar] [CrossRef] [Green Version]
  4. Arjoune, Y.; El Mrabet, Z.; El Ghazi, H.; Tamtaoui, A. Spectrum sensing: Enhanced energy detection technique based on noise measurement. In Proceedings of the IEEE Computing and Communication Workshop and conference, Las Vegas, NV, USA, 8–10 January 2018; pp. 828–834. [Google Scholar]
  5. Reyes, H.; Subramaniam, S.; Kaabouch, N. A spectrum sensing technique based on autocorrelation and Euclidean distance and its comparison with energy detection for cognitive radio networks. J. Comput. Electr. Eng. 2016, 52, 319–327. [Google Scholar] [CrossRef] [Green Version]
  6. Salahdine, F.; El Ghazi, H.; Kaabouch, N. Matched filter detection with dynamic threshold for cognitive radio networks. In Proceedings of the IEEE Wireless Networks and Mobile Communications Conference, Marrakesh, Morocco, 20–23 October 2015; pp. 1–7. [Google Scholar]
  7. Sun, H.; Nallanathan, A.; Wang, C.X.; Chen, Y. Wideband spectrum sensing for cognitive radio networks: A survey. IEEE Wirel. Commun. 2013, 20, 74–81. [Google Scholar]
  8. Chiang, R.I.C.; Rowe, G.B.; Sowerby, K.W. A Quantitative Analysis of Spectral Occupancy Measurements for Cognitive Radio. In Proceedings of the IEEE Vehicular Technology Conference, Baltimore, MD, USA, 30 September–3 October 2007; pp. 3016–3020. [Google Scholar]
  9. Islam, M.H.; Koh, C.L.; Oh, S.W. Spectrum Survey in Singapore: Occupancy Measurements and Analyses. In Proceedings of the IEEE Cognitive Radio Oriented Wireless Networks and Communications Conference, Singapore, 15–17 May 2008; pp. 1–7. [Google Scholar]
  10. Benitez, L.; Umbert, M.; Casadevall, F. Evaluation of Spectrum Occupancy in Spain for Cognitive Radio Applications. In Proceedings of the IEEE Vehicular Technology Conference, Anchorage, AK, USA, 20–23 September 2009; pp. 1–5. [Google Scholar]
  11. Huang, L.; Deng, Q.; Qiao, X. SDR implementation of cognitive radio: Sensing and disjoint spectrum access. In Proceedings of the Communications and Networking Conference in China, Beijing, China, 24–26 September 2009; pp. 1–5. [Google Scholar]
  12. Tian, Z.; Giannakis, G.B. A Wavelet Approach to Wideband Spectrum Sensing for Cognitive Radios. In Proceedings of the International Conference on Cognitive Radio Oriented Wireless Networks and Communications, Mykonos Island, Greece, 8–10 June 2006; pp. 1–5. [Google Scholar]
  13. Zhao, Y.; Wu, Y.; Wang, J.; Zhong, X.; Mei, L. Wavelet transform for spectrum sensing in Cognitive Radio networks. In Proceedings of the International Conference on Audio, Language, and Image Processing, Shanghai, China, 7–9 July 2014; pp. 565–569. [Google Scholar]
  14. Kumar, A.; Saha, S.; Bhattacharya, R. Improved wavelet transform based edge detection for wide band spectrum sensing in Cognitive Radio. In Proceedings of the USNC-URSI Radio Science Meeting, Boulder, CO, USA, 6–9 January 2016; pp. 21–22. [Google Scholar]
  15. Quan, Y.Z.; Shuguang Cui, Y.C.; Sayed, A.H.; Poor, H.V.; Zeng, Y.; Kua, K. Optimal Multiband Joint Detection for Spectrum Sensing in Cognitive Radio Networks. IEEE Trans. Signal Process. 2009, 57, 1128–1140. [Google Scholar] [CrossRef] [Green Version]
  16. Farhang-Boroujeny, B. Filter Bank Spectrum Sensing for Cognitive Radios. IEEE Trans. Signal Process. 2008, 56, 1801–1811. [Google Scholar] [CrossRef]
  17. Raghu, I.; Chowdary, S.S.; Elias, E. Efficient spectrum sensing for Cognitive Radio using Cosine Modulated Filter Banks. In Proceedings of the IEEE Region 10 Conference, Singapore, 22–25 November 2016; pp. 2086–2089. [Google Scholar]
  18. Sharma, K.; Sharma, A. Design of Cosine Modulated Filter Banks exploiting spline function for spectrum sensing in Cognitive Radio applications. In Proceedings of the International Conference on Power Electronics, Intelligent Control, and Energy Systems, Delhi, India, 4–6 July 2016; pp. 1–5. [Google Scholar]
  19. Manesh, M.R.; Kaabouch, N.; Apu, M.S. Performance Evaluation of Spectrum Sensing Techniques for Cognitive Radio Systems. In Proceedings of the IEEE Ubiquitous Computing, Electronics & Mobile Communication Conference, New York, NY, USA, 20–22 October 2016; pp. 1–7. [Google Scholar]
  20. Hector, R.; Subramaniam, S.; Kaabouch, N.; Hu, W.C. A Bayesian inference method for estimating the channel occupancy. In Proceedings of the IEEE Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), New York, NY, USA, 20–22 October 2016; pp. 1–6. [Google Scholar]
  21. Manesh, M.R.; Subramaniam, S.; Reyes, H. Spectrum Occupancy Monitoring Using a Probabilistic Model. J. Comput. Netw. 2017, 124, 87–96. [Google Scholar] [CrossRef]
  22. Salahdine, F.; Kaabouch, N.; El Ghazi, H. Bayesian Compressive Sensing with Circulant Matrix for Spectrum Sensing in CRN. In Proceedings of the IEEE Ubiquitous Computing, Electronics and Mobile Communication Conference, New York, NY, USA, 20–22 October 2016; pp. 1–7. [Google Scholar]
  23. Yin, W.; Wen, Z.; Li, S. Dynamic compressive spectrum sensing for cognitive radio networks. In Proceedings of the IEEE Information Sciences and Systems Conference, Baltimore, MD, USA, 23–25 March 2011; pp. 1–6. [Google Scholar]
  24. Qaisar, S.; Bilal, R.M.; Iqbal, W. Compressive sensing: From theory to applications, a survey. J. Commun. Netw. 2013, 15, 443–456. [Google Scholar] [CrossRef]
  25. Salahdine, F.; Kaabouch, N.; El Ghazi, H. A survey on compressive sensing techniques for cognitive radio networks. J. Phys. Commun. 2016, 20, 61–73. [Google Scholar] [CrossRef] [Green Version]
  26. Khalaf, T.A.; Abdelsadek, M.Y.; Farrag, M. Compressed Measurements Based Spectrum Sensing for Wideband Cognitive Radio Systems. Int. J. Antennas Propag. 2015, 2015, 1–7. [Google Scholar] [CrossRef]
  27. Qin, Z.; Gao, Y.; Plumbley, M.D.; Parini, C.G. Wideband spectrum sensing on real-time signals at sub-Nyquist sampling rates in single and cooperative multiple nodes. J. IEEE Trans. Signal Process. 2016, 64, 3106–3117. [Google Scholar] [CrossRef]
  28. Tian, J.; Giannakis, B. Compressed Sensing for Wideband Cognitive Radios. In Proceedings of the Acoustics, Speech and Signal Processing Conference, Honolulu, HI, USA, 15–20 April 2007; pp. 1357–1360. [Google Scholar]
  29. Sabahi, M.F.; Masoumzadeh, M.; Forouzan, A.R. Frequency-domain wideband compressive spectrum sensing. IET Commun. 2016, 10, 1655–1664. [Google Scholar] [CrossRef]
  30. Wang, Y.; Zhang, G. Compressed wideband spectrum sensing based on discrete cosine transform. Sci. World J. 2014, 2014, 1–7. [Google Scholar] [CrossRef] [PubMed]
  31. Yin, W. Compressive Spectrum Sensing for Cognitive Radio. In Proceedings of the IEEE Information Sciences and Systems Conference, Baltimore, MD, USA, 23–25 March 2011; pp. 1–6. [Google Scholar]
  32. Polo, Y.L.; Wang, Y.; Pandharipande, A.; Leus, G. Compressive wide-band spectrum sensing. In Proceedings of the IEEE Acoustics, Speech and Signal Processing, Taipei, Taiwan, 19–24 April 2009; pp. 2337–2340. [Google Scholar]
  33. Wang, Y.; Tian, Z.; Feng, C. Sparsity Order Estimation and its Application in Compressive Spectrum Sensing for Cognitive Radios. IEEE Trans. Wirel. Commun. 2012, 11, 2116–2125. [Google Scholar] [CrossRef] [Green Version]
  34. Sun, H.; Chiu, W.Y.; Nallanathan, A. Adaptive Compressive Spectrum Sensing for Wideband Cognitive Radios. IEEE Commun. Lett. 2012, 16, 1812–1815. [Google Scholar] [CrossRef] [Green Version]
  35. Qin, Z.; Gao, Y.; Parini, C.G. Data-Assisted Low Complexity Compressive Spectrum Sensing on Real-Time Signals Under Sub-Nyquist Rate. IEEE Trans. Wirel. Commun. 2016, 15, 1174–1185. [Google Scholar] [CrossRef]
  36. Mishali, M.; Eldar, Y. Blind multiband signal reconstruction: Compressed sensing for analog signals. IEEE Trans. Signal Process. 2009, 57, 993–1009. [Google Scholar] [CrossRef]
  37. Mishali, M.; Eldar, Y. From theory to practice: Sub-Nyquist sampling of sparse wideband analog signals. IEEE J. Sel. Signal Process. 2010, 4, 375–391. [Google Scholar] [CrossRef]
  38. Arjoune, Y.; Kaabouch, N.; El Ghazi, H.; Tamtaoui, A. Compressive sensing: Performance comparison of sparse recovery algorithms. In Proceedings of the IEEE Computing and Communication Workshop and Conference, Las Vegas, NV, USA, 9–11 January 2017; pp. 1–7. [Google Scholar]
  39. Arjoune, Y.; Kaabouch, N.; El Ghazi, H.; Tamtaoui, A. A performance comparison of measurement matrices in compressive sensing. Int. J. Commun. Syst. 2018, 31, e3576. [Google Scholar]
  40. Hamid, M.; Bjorsell, N.; Ben Slimane, S. Sample covariance matrix eigenvalues based blind SNR estimation. In Proceedings of the IEEE International Instrumentation and Measurement Technology Conference, Montevideo, Uruguay, 12–15 May 2014; pp. 718–722. [Google Scholar]
  41. Manesh, M.R.; Quadri, A.; Subramaniam, S.; Kaabouch, N. An optimized SNR estimation technique using particle swarm optimization algorithm. In Proceedings of the IEEE Computing and Communication Workshop and Conference, Las Vegas, NV, USA, 9–11 January 2017; pp. 1–6. [Google Scholar]
Figure 1. Experimental setup using software defined radio units and GNU Radio.
Figure 1. Experimental setup using software defined radio units and GNU Radio.
Sensors 18 01839 g001
Figure 2. Probability of detection versus SNR for two approaches, normal sensing and CS based sensing, of the channel 2.437 GHz for a probability of false alarm Pfa = 0.1, number of samples N = 2048, and four values of the number of measurements, M = 128, 256, 512, and 1024.
Figure 2. Probability of detection versus SNR for two approaches, normal sensing and CS based sensing, of the channel 2.437 GHz for a probability of false alarm Pfa = 0.1, number of samples N = 2048, and four values of the number of measurements, M = 128, 256, 512, and 1024.
Sensors 18 01839 g002
Figure 3. Probability of detection versus the probability of false alarm for the two approaches, normal sensing and CS based sensing, of the channel 2.437 GHz. In this experiment, SNR = −5 dB, number of samples N = 2048, and number of measurements, M = 128, 256, 512, and 1024.
Figure 3. Probability of detection versus the probability of false alarm for the two approaches, normal sensing and CS based sensing, of the channel 2.437 GHz. In this experiment, SNR = −5 dB, number of samples N = 2048, and number of measurements, M = 128, 256, 512, and 1024.
Sensors 18 01839 g003
Figure 4. Mean square error of the proposed approach versus the number of measurements for the SNR values −10, 0, 10, and 20 dB.
Figure 4. Mean square error of the proposed approach versus the number of measurements for the SNR values −10, 0, 10, and 20 dB.
Sensors 18 01839 g004
Figure 5. Sensing time for 20 channels of the band 2.437 GHz versus the number of measurements.
Figure 5. Sensing time for 20 channels of the band 2.437 GHz versus the number of measurements.
Sensors 18 01839 g005
Table 1. List of frequencies scanned in this work.
Table 1. List of frequencies scanned in this work.
Start Frequency MHzStop Frequency MHzNumber of ChannelsSpacing MHz
GSM 8508698941260.2
GSM 1900193019901260.2
Wi-Fi 2.424022501305
Wi-Fi 5.857255880305
Table 2. Performance comparison of recovery techniques.
Table 2. Performance comparison of recovery techniques.
Recovery TechniquesRecovery ErrorRecovery TimeComplexity
Convex and relaxation techniquesminorLong complex
Greedy techniquesHigh Short Not complex
Bayesian recovery techniquesminorShort Not complex
Table 3. Implementation parameters.
Table 3. Implementation parameters.
ParametersValues
Number of samples 2048
Modulation BPSK
Transmission power 70   dBm
FFT size 512
SNR range in dB 20   to   20  
Number of trials 100
Table 4. Performance Comparison of sensing techniques.
Table 4. Performance Comparison of sensing techniques.
Evaluation MetricsNyquist Sensing (a)Sensing with CS M / N = 50 % (b)Sensing with CS M / N = 25 % (c)Sensing with CS M / N = 12.5 % (d)Sensing with CS M / N = 6.25 % (e)
Probability of detection SNR =   0   dB   and P f a = 10 % 100 % 100 % 75 % 15 % 0 %
Processing time in (ms) 54 37 33.6 30.6 24.33
MSE for SNR = 0   dB No recovery 0.09 0.88 1.15 1.46
Table 5. Comparison between wideband spectrum sensing techniques.
Table 5. Comparison between wideband spectrum sensing techniques.
Wideband Sensing TechniqueAdvantagesDisadvantage
Wavelet-based detection [12,13,14]
  • Reduced latency compared to sequential sensing
  • Find the frequency locations of the occupied channels
  • No sensing of the sub-bands one-by-one is required
  • High latency
  • High power consumption
  • High sampling rate
  • High complexity of implementation
  • Low detection at low SNR values
Multi-band joint-based detection [15]
  • Optimize the selection of the threshold for energy detector
  • The detection is performed jointly
  • Reduced latency compared with wavelet-based detection
  • The optimization introduces large latency
  • High sampling rate
  • High complexity implementation
Filter bank-joint detection [16,17,18]
  • Moderate latency
  • High detection performance
  • Hardware cost
  • High sampling rate
  • Low detection performance at low SNR values
Compressive sensing-based detection
  • Reduced latency and sampling rate compared with Nyquist-based sensing
  • Insensitive to noise uncertainty
  • Reduce the processing time
  • Power consumption is reduced
  • The same detection performance as Nyquist-based detection with lost cost
  • The performance of this techniques depends on the accuracy of the recovery process
  • Estimation of the sparsity level and recovery introduce extra latency

Share and Cite

MDPI and ACS Style

Arjoune, Y.; Kaabouch, N. Wideband Spectrum Sensing: A Bayesian Compressive Sensing Approach. Sensors 2018, 18, 1839. https://doi.org/10.3390/s18061839

AMA Style

Arjoune Y, Kaabouch N. Wideband Spectrum Sensing: A Bayesian Compressive Sensing Approach. Sensors. 2018; 18(6):1839. https://doi.org/10.3390/s18061839

Chicago/Turabian Style

Arjoune, Youness, and Naima Kaabouch. 2018. "Wideband Spectrum Sensing: A Bayesian Compressive Sensing Approach" Sensors 18, no. 6: 1839. https://doi.org/10.3390/s18061839

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop