International Journal of Antennas and Propagation

Volume 2014, Article ID 506457, 13 pages

http://dx.doi.org/10.1155/2014/506457

## Application of a Channel Estimation Algorithm to Spectrum Sensing in a Cognitive Radio Context

^{1}IETR-Supélec, 35000 Rennes, France^{2}ECAM Rennes-Louis de Broglie, 35170 Rennes, France^{3}Zodiac Data Systems, 14000 Caen, France

Received 7 November 2013; Accepted 27 January 2014; Published 26 March 2014

Academic Editor: Ali El-Hajj

Copyright © 2014 Vincent Savaux et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This paper deals with spectrum sensing in an orthogonal frequency division multiplexing (OFDM) context, allowing an opportunistic user to detect a vacant spectrum resource in a licensed band. The proposed method is based on an iterative algorithm used for the joint estimation of noise variance and frequency selective channel. It can be seen as a second-order detector, since it is performed by means of the minimum mean square error criterion. The main advantage of the proposed algorithm is its capability to perform spectrum sensing, noise variance estimation, and channel estimation in the presence of a signal. Furthermore, the sensing duration is limited to only one OFDM symbol. We theoretically show the convergence of the algorithm, and we derive its analytical detection and false alarm probabilities. Furthermore, we show that the detector is very efficient, even for low SNR values, and is robust against a channel uncertainty.

#### 1. Introduction

Wireless communications are facing a constant increase of data-rate-consuming transmissions, due to the multiplications of the applications and services, while the available spectrum resource is naturally limited. Furthermore, most of the frequency bands are already allocated to specific licenses. However, some of these licensed bands are not used at their full capacity, which results in spectrum holes along the time and frequency axes [1], whereas they could be exploited in order to achieve the requirements of data rate. Away from the usual paradigm in which the channels are allocated only for licensed users, Mitola and Maguire Jr. defined the cognitive radio [2], allowing an opportunistic access by unlicensed users to the unused frequency bands. In such network, the opportunistic users, called secondary users (SUs), can use licensed bands when primary users (PUs) are not active. The main condition for the SUs to use the licensed bands is to minimize the interferences with PUs. Thus, they must be able to sense the presence of the PUs, even if the PU’s signal is attenuated compared to the noise level. Figure 1 depicts the concept of spectrum sensing: a PU transmitter (PU-Tx) is transmitting to a PU receiver (PU-Rx) while a SU transmitter intends to transmit in the same band. In order to avoid the interferences with the PU, the SU has to perform spectrum sensing. In order to lighten the drawing, only one PU-Rx and two SU-Rxs are depicted, but the network can obviously be more complex. The process set up by the SUs to sense the presence of the PUs is called spectrum sensing. The authors of [3–5] propose detailed reviews of the different techniques of spectrum sensing. The different methods are usually classified into two main categories: the cooperative detection and the noncooperative detection. In this paper, we take an interest in the latter.

The noncooperative detection concerns a sole SU who tries to detect the presence of the PU alone. Among the wide range of methods [3–6], one can describe the main ones: the energy detector measures the energy of the received signal and compares it to a threshold. It has a low complexity of implementation and does not require any knowledge on the PU’s signal features. However, the choice of the threshold value depends on the noise variance, and the uncertainties on the noise level may cause important degradations of the detector performance [7, 8]. The matched-filter correlates the received signal with the one transmitted by the PU, which is supposed to be known at the receiver [9, 10]. This is the optimal detector when the signal is transmitted with AWGN only and supposed to be known at the receiver. Due to these hypotheses, this method is generally not applicable in practice, and its performance is degraded when the knowledge of the signal is erroneous [11]. Less binding than the matched-filter, the feature detectors only use several characteristics of the signal to detect the PU. Thus, the waveform-based sensing uses the preamble of the PU’s signal (used for the synchronization, the estimation, etc.) to perform a correlation with the received signal [12]. However, the performance of the waveform-based sensing is degraded in the presence of selective channels. In the same way, when a CP is used in an OFDM signal, its autocorrelation function becomes time-varying, so a second-order-based method consists of detecting the peaks in the autocorrelation function at time-lag . More generally, the cyclostationarity detector exploits the periodic redundancy of all telecommunications signals to differentiate it from a pure Gaussian noise [13, 14]. As indicated in [5], the redundancy can occur due to periodic patterns such as the CP, the symbol rate, or the channel code. However, these second-order detectors require large sensing time, that is, a large number of symbols to be performed. In [15], a hybrid architecture composed of both energy and cyclostationarity is proposed. It allows the energy detector to compensate its limitation due to the noise uncertainty thanks to a cyclostationarity detection stage whose computation time is reduced. Another attractive technique called eigenvalue-based detection uses the characteristics of the covariance matrix of large-sized random matrices (e.g., containing noise samples only) [16–18]. Indeed, the random matrix theory proved that the distribution of the eigenvalues of such matrix tends to a deterministic function. In [16], if the noise variance is known, the signal is detected if a peak appears outside of the domain of the function. Using the same theory, the authors of [17] propose the maximum-minimum eigenvalue (MME) detection, whose principle consists of comparing the ratio between the maximum and minimum eigenvalues with a threshold to take the decision. Based on the same theory, both techniques have the same asymptotic performance, but the latter does not require the noise level to be performed. However, these two methods require matrices with very large sizes, hence, a large number of sensors and a long sensing time. In order to use MME detection with a single sensor, the authors of [19] propose to artificially create a large matrix by stacking the shifted vectors of the received sampled signal. However, this method is limited since the rows of the created matrix are correlated.

In this paper, we propose to perform spectrum sensing by means of a minimum mean square error (MMSE-)based iterative algorithm developed in [20] for the joint estimation of noise variance and frequency selective channel. Since we consider a sole receiver, the context of the next sections will be the noncooperative detection of a PU transmitting an OFDM signal by a single SU in a given narrow band. In the presence or absence of signal, the algorithm converges after a few iterations and performs the estimation of the noise variance. We then add a metric to the method presented in [20] in order to turn it into a spectrum sensing algorithm. The metric is defined by the difference between the second-order moment of the received signal and the estimated noise variance. If the PU is present (resp. absent), the metric is equal to the power of the transmitted signal (resp. equal to zero). As the algorithm is based on MMSE criterion, it requires the estimation of the channel covariance matrix, so the detector can be classified as a second-order statistics detector. Compared to usual second-order statistics detectors such as MME, the proposed one only needs the time duration of one OFDM symbol to be performed. It is also robust in frequency selective channels context. Furthermore, when the PU’s signal is present, it achieves a joint estimation of noise variance and channel. When the PU is absent, it also performs the noise variance estimation, and it is proved that it reaches the exact noise power value. In this paper, a theoretical expression of the detection and the false alarm probabilities are derived, and we show that they are very close to the simulations.

In this paper, the normal font is used for scalar variables, the boldface is used for vectors, and the underlined boldface is used for matrices. Furthermore, small letters point out the variables in the time domain and capital letters in the frequency domain.

This paper is organized as follows: Section 2 presents the system model and the algorithm developed in [20]. In Section 3, we prove the convergence of the algorithm in the absence of the signal, and we characterize the detector in Section 4. In Section 5, we give the theoretical expressions of the false alarm and detection probabilities. Simulations results are depicted in Section 6, and finally we draw our conclusions in Section 7.

#### 2. Background

##### 2.1. System Model

We consider the problem of the detection of an OFDM pilot preamble over a Rayleigh fading channel with additive white Gaussian noise (AWGN) in a given band. After the -points discrete Fourier transform (DFT), the received signal is noted . According to the presence or the absence of the primary user (PU) in the band, the usual hypothesis test is given by where and denote the absence and the presence of the PU hypotheses, respectively. According to the model given in [20], the variable is the complex vector of the frequency response of the channel, composed of the frequency response samples , : where is the number of paths of the channel and and are the zero-mean Gaussian path coefficients and the sampled path delays, respectively. We assume that the channel follows a wide sense stationary uncorrelated scattering (WSSUS) model [21]. Consequently, follows a Rayleigh distribution. The variable is the diagonal matrix composed of the pilots such that , without loss of generality, and is the vector of AWGN with variance . Let us assume that, under hypothesis , the receiver is synchronized on the position of the preamble .

##### 2.2. Iterative Algorithm for the Channel and Noise Variance Estimation

We now briefly recall the steps of the algorithm for the joint and iterative estimation of the channel and the noise variance as given in [20], that is, under the hypothesis . Basically, it is an MMSE-based iterative algorithm in which, at each step, the noise variance estimation feeds the channel estimation and vice versa. In addition to the noise variance, the linear-MMSE (LMMSE) channel estimation [22] requires the channel covariance matrix that has to be estimated at the receiver. This estimated channel covariance matrix is noted . The algorithm from [20] is described by Figure 2 and its steps are detailed in the following.

(1) At the beginning, only the LS channel estimation performed on a pilot preamble is available at the receiver, so the only way to estimate the covariance matrix denoted by is where is the Hermitian transposition. Furthermore, a stopping criterion is fixed. Let us denote to be the index of the iteration.

(2) At the first step of the algorithm, the LMMSE channel estimation [22, 23] is performed with : where points out the initialization value of the noise variance and is equal to the identity matrix .

(3) The noise variance is estimated by means of the MMSE criterion [24] , with : with being the Frobenius matrix norm, defined by . If the algorithm keeps on computing with , it is proved in [20] that converges to zero. Under this condition, the algorithm enters into an endless loop. This is due to the fact that is sensitive to the noise and then it is a rough approximation of the exact covariance matrix. In order to obtain a more accurate channel covariance matrix, it is now possible to use , such that

(4) For , the iterative estimation steps (4) and (6) are performed by using (6):

It will be shown afterwards that the characterization of the initialization remains the same in the presence or absence of the PU. However, it is already obvious that must be strictly positive; otherwise, in (7). In that case, , and the algorithm enters into an endless loop.

(5) While , go back to Step 4 with ; otherwise, go to Step 6.

(6) End of the algorithm. We note to be the index of the last iteration.

It is proved in [20] that this algorithm converges if the initialization value of the noise variance is chosen such that , where is the second-order moment of the received signal . Moreover, the algorithm converges to limits that are close to the exact values . From (4) and (7) we can deduce the complexity of the algorithm. The LMMSE channel estimation requires scalar multiplications for the matrix inversion and multiplication and the noise variance . The covariance matrices estimation also requires operations. Finally, we then evaluate the complexity of the proposed algorithm by .

Unlike the presented model, the next section investigates the behavior of the algorithm when the PU is absent, that is, under hypothesis .

#### 3. Convergence of the Iterative Algorithm under Hypothesis

The signal is now supposed to be absent, so the received signal is . The convergence of the proposed algorithm in the case of absence of signal is going to be proved. Furthermore, it will be proved afterwards that the nonnull solution allows to turn the MMSE-based algorithm into a free band detector. To this end, the first four steps of the iterative algorithm presented in Section 2.2 are expressed under hypothesis .

##### 3.1. Expression of the Algorithm under

Let us consider that the receiver does not know if the signal is present or absent, so the same formalism as in Section 2.2 is used, and the steps of the algorithm are recalled by considering noise only. At the beginning of the process, the LS channel estimation has been performed, . The following steps are as follows.

(1) From , the channel covariance matrix is estimated by

Additionally, a stopping criterion and an initialization are set.

(2) At iteration of the algorithm, the LMMSE channel estimation is performed by using :

(3) The MMSE noise variance estimation is performed with : and a new covariance matrix is computed by

Indeed, it is proved in the Appendix that if the algorithm keeps on computing with , then the sequence necessarily converges to zero. When is used, and in spite of its inputs being different, the algorithm has exactly the same response whatever the hypothesis, or .

(4) Then, for , iteratively perform the channel and the noise variance estimation:

From these first four steps of the algorithm, it is now possible to prove that the algorithm converges to a nonnull solution under .

##### 3.2. Scalar Expression of the Sequence under

The convergence of the algorithm is now going to be proved, and its limit characterized. To this end, we will first obtain a scalar expression of the sequence . We use the Hermitian property of , and we develop (12) with (10) to get

Let us assume that is large enough to justify the approximation . Since the estimation of the noise variance is calculated by means of the trace in (14), we make the assumption that as a first approximation , and then it is possible to replace by in (14). Thus, by reinjecting (16) in (13) and (14), it yields

For a better readability, we note the following mathematical developments:

##### 3.3. Convergence of the Sequence to a Nonnull Solution

One can observe that the sequence is built from a function such that if we note , we have

The sequence converges if has at least one fixed point. Zero is an obvious fixed point, but it has been proved in the Appendix that the algorithm enters into an endless loop if converges to zero. We then solve the equation to find the other fixed points:

Since we exclude zero as a solution, the previous expressions can be simplified by , and the problem amounts to look for real roots of the polynomial . Since it is a second order polynomial, in order to find real solutions, the first condition on the initialization is to obtain the discriminant positive; that is,

As is absolutely unknown, one can find a stronger condition on , conditionally to . We then find the roots and of the polynomial under the condition :

If we notice that when tends to , then also tends to , we get

It can be seen that by choosing a sufficiently large initialization value , the sequence converges to a value as close as possible to the exact value of the noise variance . This characterization of the initialization value perfectly tallies with the one made for the sufficient condition in [20]; that is, . Moreover, it will be further shown that this condition allows to differentiate from . Thus, choosing with a large value is the condition for the algorithm to converge to a nonnull solution for both hypotheses and . Besides that, since it converges, the stopping criterion can also be the same under . Finally, the MMSE-based algorithm can be used as a free band detector.

Figure 3 displays the function for different values of , compared with and for a fixed value . By comparing the curves of for different initializations values, we verify that the larger the value of , the closer to the real value of .

#### 4. Proposed Detector

##### 4.1. Decision Rule for the Proposed Detector

In this section, a decision rule for the detector is proposed. To this end, whatever or , it is supposed that the algorithm has converged; that is, the condition is reached and then . The second-order moment of the received signal is expressed under the hypotheses and : The second-order moment is the decision metric used for the energy detector. Here, a different metric noted is proposed and defined by where is the noise variance estimation performed by the proposed iterative algorithm. From (24), the metric (25) is rewritten according to the hypotheses and : By fixing a threshold , the decision criterion is now The detection and false alarm probabilities are defined by

The detection probability is the probability to decide while the PU is present, and the false alarm probability is the probability to decide while the PU is absent. As mentioned in [6, 25], the sensibility of the detector (the expected value of and ) depends on the application. In a cognitive radio context, the SU has to minimize the interference with the PU, so the probability of detection has to be maximized, whereas if the false alarm probability is not optimized, it only implies that the SU misses white spaces. On the contrary, in a radar application, a false alarm could have serious consequences, especially in a military context.

##### 4.2. Expression of the Proposed Detector

By taking into account the previous decision rule, it is possible to extend the practical algorithm proposed in the scenario of the joint estimation of the SNR and the channel for free band detections, as it is summed up in Algorithm 1.

It can be seen that the structure of Algorithm 1 is similar to the one of [20] and summarized in Section 2.2, but with a detection part. Thus, compared to the methods of the literature, the proposed one not only returns the decision and but also provides(i)the noise variance estimation, if ;(ii)the channel and SNR estimations, if .

An a priori qualitative analysis of the detector can be done. Indeed, from (26), one can deduce that by supposing a good estimation of , tends to a value close to zero under and to a value close to under . By supposing a normalized signal power, one can suppose that choosing a value between zero and one allows getting a viable detector. Concerning the value of the threshold , since it ensures the convergence of the algorithm, it has no effect on the detector performance. This property will be shown by simulations afterward.

In the context of cognitive radio, the SUs have to target a given detection probability, noted . Thus, according to the Neyman-Pearson criterion [26], the best value of the threshold can be analytically derived (when it is possible) by solving and by maximizing the likelihood ratio test (LRT) To this end, the probability density functions (pdfs) of have to be expressed, which is proposed in the next section.

#### 5. Detection and False Alarm Probabilities

##### 5.1. Probability Density Function of under

Under the hypothesis , since it is proved in [20] that the noise variance estimation is very accurate, it is reasonable to suppose that the noise variance estimation is good enough to consider that , so the contribution of is prevailing in (26) so that where , are the cross-factors + , whose means (for a sufficiently large value of ) are equal to zero, since and are zero-mean uncorrelated Gaussian processes. The development of (30) then simply yields

The result in (31) obtained with the approximation may be debated, since it has been proved in [20] that the noise estimation under hypothesis is slightly biased. However, it will be shown in Section 6 that this approximation is accurate for low values of . From the channel frequency response expression (2) and remembering that , the metric (31) can be rewritten by

According to the Rayleigh distributed WSSUS channel model, whatever , the gains are uncorrelated zero-mean Gaussian processes. For a large enough value , let us assume that the mean of the cross-factors of the right side in (32) are equal to zero. Finally, the metric is simply written as follows: then follows a chi-square distribution with degrees of freedom. The probability density function (pdf) noted of the decision statistic under is then expressed by where is the gamma function [27].

##### 5.2. Probability Density Function of under

The theoretical probability density function (pdf) expression of the metric under the hypothesis is now developed. To this end, let us assume that the initialization value of the algorithm is chosen large enough to state , in accordance with the previously formulated hypotheses in Section 3.3. Whatever , each sample follows a zero-mean Gaussian process with variance ; has a chi-square distribution with a degree of liberty equal to 2:

The mean and the variance of this distribution are equal to and , respectively. In an OFDM context, we reasonably suppose that is large enough (e.g., ) to consider that from the central limit theorem follows a normal distribution , and then follows a centered normal distribution . Consequently, the metric has a chi distribution with one degree of liberty:

As a conclusion, the probability density functions of the metric , according to and , are given by

##### 5.3. Analytical Expressions of and

The detection and false alarm probabilities and are obtained by integrating (38) between the fixed threshold and . For the calculation of , the solution is derived in [28, 29]: where is the incomplete gamma function [27]. In the case , we have

By using the variable change and knowing that , one can recognize the complementary error function :

Since the incomplete gamma function is not directly invertible in (39), it is not possible to derive an analytical expression of the threshold in function of the targeted detection probability . However, an approximation by means of a computer calculation or a series expansion of the invert of (39) or a simple characterization of by simulations can be done. We will consider this third solution thereafter. Furthermore, the next section aims to characterize the performance of the proposed detection algorithm and the validity of the proposed analytical developments.

#### 6. Simulations Results

##### 6.1. Simulations Parameters

The signal parameters used for the simulations are based on those of the digital radio mondiale (DRM/DRM+) standard [30]. This standard designs the digital radio broadcasting over the current AM/FM bands. When it is transmitted, the signal is composed of 148 independent carriers. The symbol and the cyclic prefix durations are 14.66 ms and 5.33 ms, respectively. Although the DRM standard recommends a pilot distribution in staggered rows, we consider a block-type pilot arrangement, according to the model used in [20]. The channel used in the presence of a PU is based on the model of the DRM/DRM+ standard, whose path gains are normalized. The channel parameters are summed up in Table 1.

##### 6.2. Choice of the Threshold

Figure 4 depicts the metric versus the number of iterations, under the hypotheses and . The SNR is fixed equal to 0 dB. In presence of signal, the average signal power is equal to 1. The simulation is performed by means of 4000 simulation runs.

It can be seen that the a priori qualitative analysis is verified. Indeed, for a sufficient number of iterations (according to the value , as shown thereafter), converges to under and converges toward zero under . It has been noticed that it is not possible to find an exact value of according to . However, it is observable on Figure 4 that the choice of the threshold is not restrictive. Indeed, choosing as small as expected ensures a probability close to one, and, for a sufficient number of iterations, it also ensures a low value for . Nevertheless, reducing the value of increases the number of required iterations, as shown in the following. Hence, for an expected detection probability, a tradeoff between the complexity and the acceptable level of false alarm probability has to be taken into account, since each iteration requires operations.

##### 6.3. Effect of the Choice of on the Detector Performance

It is shown in this section that the choice of the threshold value does not have any effect on the detection performance of the proposed method but only impacts the convergence speed of the algorithm. Figure 5 depicts the curves of detection and false alarm probabilities and versus the SNR from −15 dB to 10 dB. In order to ensure the convergence of the algorithm, must have a low value. The subfigures (a) and (b) then depict the curves and for and , respectively. According to the previous recommendations, the initialization is equal to . We also arbitrarily fix the threshold , its effect on the detection performance being further studied. The figure is obtained thanks to 2000 simulation runs.

We observe that the curves of and match from Figures 5(a) to 5(b). is equal to zero or nearly for all SNR values and reaches one from SNR = −5 dB. The detector can then reach the perfect one from SNR ≥ −5 dB, that is, in low SNR environment. We conclude that, assuming a value of low enough to ensure the convergence of the algorithm, this threshold does not have any effect on the detection performance of the proposed method.

Figure 6 displays the iterations number the algorithm needs before it stops versus the SNR from −10 to 10 dB. We consider three different values for the threshold: = 0.01, 0.001, and 0.0001. The simulations conditions remain the same.

Although Figures 5(a) and 5(b) display almost the same probabilities whatever the threshold , they differ from each other according to the number of iterations the algorithm requires before stopping. Indeed, remembering that we compare with , the lower , the larger the number of iterations needed to reach . However, Figure 6 shows that the maximum mean of iterations is less than 7 for SNR = −10 dB and shows the maximum mean of iterations is less than 5 for SNR = −10 dB and = 0.0001, which is a reasonable number of iterations. We conclude that the choice of has no effect on the detector efficiency, while it allows the convergence of the algorithm. Besides this result, the number of required iterations reasonably increases when and the SNR have low values. The detector then remains usable in practice under these conditions.

##### 6.4. Detector Performance with Channel Uncertainty

In this part, we study the behavior of the proposed detector when a non-WSS channel is considered. To this end, we artificially correlate the different paths by inserting the gain into the other path gains. Thus, from the originally created channel impulse response with independent paths, we build a new correlated vector such that, for , we define a correlation coefficient by where , being a coefficient that is calculated in function of the expected , and and are the variances of and , respectively. Figure 7 displays the detection probability versus the SNR for the proposed detection under a channel correlation condition. Three curves are considered: the reference () and two correlated channels with and . We observe a limited gap of 1 dB between the reference curve and the two others. We conclude that the proposed detector is robust against the channel uncertainty.

##### 6.5. Receiver Operating Characteristic of the Detector

The performance of a detector is usually evaluated by means of the receiver operating characteristic (ROC) curves, depicting the detection probability in function of the false alarm probability . The optimal detector is logically reached at the point . The curve is called line of chance and corresponds to a detector that makes as much good decisions as false alarms. If the ROC curve is above the first bisector, the detector is efficient, since .

Figure 8 shows the ROC curves of the proposed detector for low SNR values (−10 dB and SNR = 0 dB). It is compared to the energy detector and the second-order moment-based MME [31]. The simulations conditions remain the same, and we fix the threshold . In Figure 8(a), the proposed detector is compared to the usual energy detector, whose metric is equal to the second order-moment of the received signal . This metric is compared to a threshold to obtain the following decision rule:

In Figure 8(b), the proposed detector is also compared to the usual MME detector, whose metric is equal to the ratio of the maximum and the nonzero minimum eigenvalues of the received signal covariance matrix ; that is, . The same aforementioned decision rule is used. Since a SISO system is assumed, is obtained by concatenating consecutive OFDM symbols so that and then . In that way, is equivalent to a system with sensors. However, due to the nature of the channel, the different received OFDM symbols are correlated. In Figure 8(b), the ROC curves of MME are obtained for , 10, and 20 symbols, and the SNR is equal to −10 dB. Each point of the curves is obtained by means of 2000 simulation runs.

We observe in Figure 8(a) that the proposed detector outperforms the energy detector, whatever the SNR. Indeed, as we consider the detection of a preamble transmitted over a Rayleigh channel, the power of the received signal in (30) is not constant and follows a chi-square distribution. Consequently, for simulations made at a fixed SNR, the noise variance is also a varying process, which deteriorates the detector performance. For additional details about the theoretical development of the energy detection of signals with random amplitude, please refer to [28, 29]. We also may explain the performance of our detector by the fact that we use the same sensing time to compare the energy detector and the proposed algorithm, that is, only one OFDM symbol length. The 148 samples of one OFDM symbol are not enough to obtain an accurate energy detector. Figure 8(a) also confirms that the proposed detector is very efficient, since it is able to reach the perfect detector for . Indeed, for SNR = 0 dB, we observe that the ROC curve reaches the point , as we remarked in Figures 5(a) and 5(b) for SNR ≥ −5 dB. In Figure 8(b), we observe that MME requires symbols to reach the performance of the proposed method, because MME is efficient for a very large size of , and the vectors of the latter matrix are correlated. Thus, for a given performance, the complexity of MME is (for the computation and the diagonalization of ) and the one of the proposed algorithm is . Since we reasonably have , we conclude that the iterative method is more complex than usual second-order moment-based techniques. However, the proposed algorithm also performs the noise variance estimation if and the SNR and channel estimation if , which is an advantage by comparison with the techniques of the literature.

Figure 9 compares the ROC curves of the proposed detector given by simulation with the theoretical ones and given by (39) and (41), respectively. We notice that the theoretical curve for SNR = 0 dB is very close to the one obtained by simulation, whereas for SNR = −10 dB, the difference is more noticeable. This observation tallies with the discussion on the approximation in the calculation of the metric under the hypothesis . Indeed, this approximation is justified for high values of SNR but becomes wrong for the very low SNR values. However, the theoretical curves give an idea of the detector performance for a given SNR, even for low SNR values.

#### 7. Conclusion

In this paper, an iterative algorithm for spectrum sensing in a cognitive radio context has been presented. Originally proposed in [20] for the joint estimation of the noise and the channel, this method is based on the second-order moment of the received signal. In the presence of a primary user (PU), the algorithm estimates the channel and the noise variance. If the PU is not active, the algorithm returns a very accurate estimation of the noise level. By comparing the noise variance to the second moment of the received signal estimation (useful signal with noise or only noise), it is then possible to determine if the PU is present or absent. From that an analytical expression of the detection and false alarm probabilities have been proposed, and it is shown that they are very close to the simulations. It is also shown that the detector reaches the perfect one from very low SNR values. The algorithm offers numerous advantages as it performs a PU detection, the noise variance, and the channel estimation if the PU is active and it returns the noise level in the frequency band when the PU is absent, without changing the structure proposed in [20]. The future work concerning the detector will focus on the synchronization of the SU on the PU’s signal.

#### Appendix

If the algorithm keeps on computing at each iteration with the covariance matrix under hypothesis , then we deduce the following for Step 4.

Perform the LMMSE channel estimation

Perform the MMSE noise variance estimation

It is assumed that is large enough to get . We make in first approximation , so the development of (A.2) yields and by factorizing by :

The sequence is built from a function such that if we note , we obtain with . Figure 10 displays the curve of for different values of and compares them with .

It is trivial that from the expression of in (A.5) that the only solution of is zero. We find the same results as in the case of a received pilot preamble under hypothesis ; that is, if the algorithm is exclusively performed with , then the sole limit of is zero and the algorithm enters into an endless loop. It justifies the change of channel covariance matrix from to under hypothesis as well as under hypothesis .

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### References

- Spectrum Efficiency Working Group, “Report of the spectrum efficiency working group,” Tech. Rep., Federal Communications Commission, 2002. View at Google Scholar
- J. Mitola III and G. Q. Maguire Jr., “Cognitive radio: making software radios more personal,”
*IEEE Personal Communications*, vol. 6, no. 4, pp. 13–18, 1999. View at Publisher · View at Google Scholar · View at Scopus - T. Yücek and H. Arslan, “A survey of spectrum sensing algorithms for cognitive radio applications,”
*IEEE Communications Surveys and Tutorials*, vol. 11, no. 1, pp. 116–130, 2009. View at Publisher · View at Google Scholar · View at Scopus - L. Lu, X. Zhou, U. Onunkwo, and G. Y. Li, “Ten years of research in spectrum sensing and sharing in cognitive radio,”
*EURASIP Journal on Wireless Communications and Networking*, vol. 2012, article 28, 2012. View at Google Scholar - E. Axell, G. Leus, E. G. Larsson, and H. V. Poor, “Spectrum sensing for cognitive radio: state-of-the-art and recent advances,”
*IEEE Signal Processing Magazine*, vol. 29, no. 3, pp. 101–116, 2012. View at Publisher · View at Google Scholar · View at Scopus - Z. Khalaf,
*Contributions à l’étude de détection des bandes libres dans le contexte de la radio intelligente [Ph.D. thesis]*, Supélec, Rennes, France, 2013. - R. Tandra and A. Sahai, “SNR walls for signal detection,”
*IEEE Journal on Selected Topics in Signal Processing*, vol. 2, no. 1, pp. 4–17, 2008. View at Publisher · View at Google Scholar · View at Scopus - W. Jouini, “Energy detection limits under log-normal approximated noise uncertainty,”
*IEEE Signal Processing Letters*, vol. 18, no. 7, pp. 423–426, 2011. View at Google Scholar - J. Proakis and M. Salehi,
*Digital Communications*, McGraw-Hill, 2008. - R. Price and N. Abramson, “Detection theory,”
*IEEE Transactions on Information Theory*, vol. 7, no. 3, pp. 135–139, 1961. View at Google Scholar - A. Sahai, N. Hoven, and R. Tandra, “Some fundamental limits on cognitive radio,” Proceedings of the Forty-Second Allerton Conference on Communication, Control and Computing, 2004.
- H. Tang, “Some physical layer issues of wide-band cognitive radio systems,” in
*2005 1st IEEE International Symposium on New Frontiers in Dynamic Spectrum Access Networks, DySPAN 2005*, pp. 151–159, usa, November 2005. View at Publisher · View at Google Scholar · View at Scopus - W. A. Gardner, “Exploitation of spectral redundancy in cyclostationary signals,”
*IEEE Signal Processing Magazine*, vol. 8, no. 2, pp. 14–36, 1991. View at Google Scholar · View at Scopus - J. Lundén, V. Koivunen, A. Huttunen, and H. V. Poor, “Spectrum sensing in cognitive radios based on multiple cyclic frequencies,” in
*Proceedings of the 2nd International Conference on Cognitive Radio Oriented Wireless Networks and Communications (CrownCom '07)*, pp. 37–43, Orlando, Fla, USA, August 2007. View at Publisher · View at Google Scholar · View at Scopus - Z. Khalaf, A. Nafkha, J. Palicot, and M. Ghozzi, “Hybrid spectrum sensing architecture for cognitive radio equipment,” in
*Proceedings of the 6th Advanced International Conference on Telecommunications (AICT '10)*, pp. 46–51, May 2010. View at Publisher · View at Google Scholar · View at Scopus - L. S. Cardoso, M. Debbah, P. Bianchi, and J. Najim, “Cooperative spectrum sensing using random matrix theory,” in
*Proceedings of the 3rd International Symposium on Wireless Pervasive Computing (ISWPC '08)*, pp. 334–338, Santorini, Greece, May 2008. View at Publisher · View at Google Scholar · View at Scopus - Y. Zeng and Y.-C. Liang, “Eigenvalue-based spectrum sensing algorithms for cognitive radio,”
*IEEE Transactions on Communications*, vol. 57, no. 6, pp. 1784–1793, 2009. View at Publisher · View at Google Scholar · View at Scopus - F. Penna and R. Garello, “Theoretical performance analysis of eigenvalue-based detection,” http://arxiv.org/abs/0907.1523.
- F. Liu, S. Guo, and Y. Sun, “Primary user signal detection based on virtual multiple antennas for cognitive radio networks,”
*Progress in Electromagnetics Research C*, vol. 42, pp. 213–227, 2013. View at Google Scholar - V. Savaux, Y. Louët, M. Djoko-Kouam, and A. Skrzypczak, “Application of a joint and iterative MMSE-based estimation of SNR and frequency selective channel for OFDM systems,”
*EURASIP Journal on Advances in Signal Processing*, vol. 2013, article 128, 2013. View at Google Scholar - P. Bello, “Characterization of randomly time-variant linear channels,”
*IEEE Transactions on Communications Systems*, vol. 11, no. 4, pp. 360–393, 1963. View at Google Scholar - O. Edfors, M. Sandell, J.-J. D. van de Beek, S. K. Wilson, and P. O. Börjesson, “OFDM channel estimation by singular value decomposition,”
*IEEE Transactions on Communications*, vol. 46, no. 7, pp. 931–939, 1998. View at Publisher · View at Google Scholar · View at Scopus - M. Biguesh and A. B. Gershman, “Downlink channel estimation in cellular systems with antenna arrays at base stations using channel probing with feedback,”
*Eurasip Journal on Applied Signal Processing*, vol. 2004, no. 9, pp. 1330–1339, 2004. View at Publisher · View at Google Scholar · View at Scopus - S. Kay,
*Fundamentals of Statistical Signal Processing: Estimation Theory*, Prentice-Hall, 2003. - F. Iutzler and P. Ciblat, “Fully distributed signal detection: application to cognitive radio,” in
*Proceedings of the European Signal Processing Conference (EUSIPCO '13)*, 2013. - S. M. Kay,
*Fundamentals of Statistical Signal Processing: Detection Theory*, vol. 2, Prentice Hall, 1998. - M. Abramowitz and I. Stegun,
*Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables*, Dover, New York, NY, USA, 1970. - V. I. Kostylev, “Energy detection of a signal with random amplitude,” in
*Proceedings of the International Conference on Communications (ICC '02)*, vol. 3, pp. 1606–1610, May 2002. View at Scopus - F. F. Digham, M.-S. Alouini, and M. K. Simon, “On the energy detection of unknown signals over fading channels,”
*IEEE Transactions on Communications*, vol. 55, no. 1, pp. 21–24, 2007. View at Publisher · View at Google Scholar · View at Scopus - ETSI, “Digital Radio Mondiale (DRM), system specification,” Tech. Rep. ES 201 980 V 3.1.1, ETSI, 2009. View at Google Scholar
- Y. Zeng and Y.-C. Liang, “Spectrum-sensing algorithms for cognitive radio based on statistical covariances,”
*IEEE Transactions on Vehicular Technology*, vol. 58, no. 4, pp. 1804–1815, 2009. View at Publisher · View at Google Scholar · View at Scopus