• No results found

Cognitive Radios: Discriminant Analysis for Automatic Signal Detection in Measured Power Spectra

N/A
N/A
Protected

Academic year: 2022

Share "Cognitive Radios: Discriminant Analysis for Automatic Signal Detection in Measured Power Spectra"

Copied!
11
0
0

Loading.... (view fulltext now)

Full text

(1)

http://www.diva-portal.org

Preprint

This is the submitted version of a paper published in IEEE Transactions on Instrumentation and

Measurement.

Citation for the original published paper (version of record):

Gonzales-Fuentes, L., Barbe, K., Van Moer, W., Björsell, N. (2013)

Cognitive Radios: Discriminant Analysis for Automatic Signal Detection in Measured Power Spectra.

IEEE Transactions on Instrumentation and Measurement, 62(12): 3351-3360

http://dx.doi.org/10.1109/TIM.2013.2265607

Access to the published version may require subscription.

N.B. When citing this work, cite the original published paper.

Permanent link to this version:

http://urn.kb.se/resolve?urn=urn:nbn:se:hig:diva-15966

(2)

Cognitive Radios: Discriminant Analysis for Automatic Signal Detection in Measured Power Spectra

1

Lee Gonzales Fuentes,

2

Kurt Barbé,

1,2

Wendy Van Moer and

1

Niclas Björsell

1 University of Gävle, Kungsbäcksvägen 47, 801 76 Gävle, Sweden

2Vrije Universiteit Brussel, Dept. ELEC\M2ESA, Pleinlaan 2, B-1050 Brussels, Belgium Email: lee_gzs_fts@yahoo.com

Abstract— Signal detection of primary users for cognitive radios enables spectrum use agility. In normal operation conditions, the sensed spectrum is nonflat i.e. the power spectrum is not constant. A novel method proposed the segmentation of the measured spectra into regions where the flatness condition is approximately valid. As a result, an automatic detection of the significant spectral components together with an estimate of the magnitude of the spectral component and a measure of the quality of classification became available. In this paper, we optimize the methodology for signal detection for cognitive radios such that the probability that a spectral component was incorrectly classified is minimized. Simulation and measurement results show the advantages of the presented technique in different types of measured spectra.

Keywords- Discriminant analysis; spectrum sensing; signal detection; cognitive radio; power spectrum; spectral component;

rice distribution; statistics.

I. INTRODUCTION

The efficient use of a natural resource like the radio electromagnetic spectrum can be achieved by means of cognitive radio. Cognitive radio is an intelligent wireless communication system that is cognizant of its radio frequency environment, learns from it and adapts its transmission or reception parameters to the different variations of its surrounding. It dynamically monitors the unused spectrum, exploiting it by unlicensed users or transferring it when requested by licensed users such that interference between users is prevented [a]. This “sensing” feature of cognitive radio is fundamental for an efficient management of the spectrum.

Some methods are suggested for this purpose i.e. geo-location database and spectrum sensing. Spectrum sensing enables the cognitive radio to adapt to the environment by identifying the unused portions of spectrum and transmit in these spectrum holes. Cognitive radio should therefore determine if a signal from a user is locally present in a determined frequency band.

Hence, the spectrum sensing problem can be reduced to the signal detection of a primary transmitter. A simple approach is the visual analysis of the signal spectrum. If the signal-to-noise ratio (SNR) is high enough, it is possible to determine the presence of a signal component since a signal line leaps out of the noise floor. However, some factors can turn this into a difficult task: low SNR, fading and multipath in wireless communication, and noise power uncertainty [1], [2].

Some spectrum sensing techniques are already available.

The Energy Detection (ED) method [3] does not need any information of the signal to be detected, but requires a good

estimate of the noise power [4]. Hence, it is very vulnerable to noise uncertainty. Some improvement can be achieved by means of energy and autocorrelation statistics, where no knowledge of the signal and noise are required but an increment on the channel gain is needed [5]. To overcome these shortcomings, test-statistic based methods: the Covariance (CV) method [6], [7] and the Maximum-Minimum Eigenvalue (MME) detection [12] are blind algorithms insensitive to noise. MME assumes an infinite number of samples and requires knowledge the number of primary users [9], [10]. A latest method [11] is based on Random Vandermonde Matrices (RVM), which presents a better performance than the previous methods even for a finite number of measurement samples. These sensing techniques present some specific applications and limitations [12], and generally required information either on the noise power or the signal characteristics.

The problem of discerning signal from noise in an observed spectrum is also tackled by harmonic or periodic components detection methods. Most of these methods are parametric and assume a statistical model of the signal [5]-[9], [14]-[17]. The multitaper method (MTM) is one nonparametric spectral estimator that uses an orthonormal sequence of Slepian tapers or windows and their corresponding eigenspectra values. MTM is nearly optimal and computationally feasible, particularly for small sample measurements [b], [c]. However, its complexity increases as the number of tapers increases. Filter banks have been used to simplify MTM [d]. Recent studies indicate that the quality of the method is controlled by the number of tapers, threshold, and signal and noise power [e]. Aside of the detection of the spectral lines, no information on either the probability of misclassification of the frequency lines or the estimate of the magnitude of the spectral component is provided.

An automatic harmonic detection method [18] based on a statistical test has been developed. This technique automatically detects harmonics and has three major advantages over the existing methods.

1) The method requires no user interaction and minimal postulated noise assumptions.

2) The probability of false alarm is obtained.

3) The estimate of the magnitude of every detected harmonic component is computed for a probabilistic validation of the classification.

(3)

The method presented in [18] is shown to be optimal for flat spectra only [19]. However, it can be extended towards nonflat spectra for signal detection in cognitive radios [20].

This is obtained, by segmenting the spectrum and applying the method to each segment. The segmentation clearly has some advantages:

1) The presence or absence of a signal regardless of the shape of the spectrum can be detected.

2) Reduction in the misclassification probabilities can be achieved by recomputing the validation process of the regrouped frequency lines with high probabilities of misclassification.

3) The width of the segment can be updated to minimize the misclassification probabilities.

The quality of the segmentation algorithm depends on the proper selection of the boundaries of every segment. In this paper, the probabilities of misclassification results will be used to update the boundaries of the original segments such that the automatic signal detection is recomputed and the misclassification probabilities are reduced. Hence, the detection algorithm can become useful for signal detection for cognitive radio applications due to the advantages above other methods.

The paper is organized as follows: Section II provides a concise description of the automatic method as well as its advantages and disadvantages. The segmentation technique for nonflat spectra is explained in Section III. In Section IV, the segmentation technique is used for signal detection. Section V illustrates the proposed algorithms on simulation examples.

Section VI assesses the performance of the method on measurement examples. Section VII proposes an update for the segment bounds. In the final section, conclusions are given.

II. DISCRIMINANT ANALYSIS METHOD

In this section, the discriminant analysis algorithm described in [18] is summarized since it forms the basis of the extended method that is proposed in this paper. Furthermore, the advantages and the disadvantages of this technique are elaborated on.

A. Signal assumptions

Let 𝑥(𝑡) be a continuous time signal such that

𝑥(𝑡) = 𝑔(𝑡) + 𝑛(𝑡), (1) where 𝑔(𝑡) is a periodic multisine signal with K arbitrary tones, and 𝑛(𝑡) is a noise process such that its power spectral density 𝑆𝑛(𝑗𝜔) and its variance 𝜎𝑛2 exist.

The signal 𝑥(𝑡) is digitized and the resulting signal is 𝑥𝑑(𝑛) with 𝑛 = 0, … , 𝑁 − 1. The magnitude of the signal 𝐴𝑥(𝑘) = |𝑋𝑑(𝑘)|, where 𝑋𝑑(𝑘) is the discrete Fourier coefficient of the signal 𝑥𝑑(𝑛) at frequency bin 𝑘.

The amplitude measurement 𝐴𝑥(𝑘) can be represented by:

𝐴𝑥(𝑘) = |𝐺𝑑(𝑘) + 𝑁𝑑(𝑘)| (2) where 𝐺𝑑(𝑘) and 𝑁𝑑(𝑘) are the discrete Fourier coefficients at frequency bin k of the signal and noise, respectively. The

variable 𝑁𝑑(𝑘) is complex circular Gaussian distributed with zero mean and variance 𝑆𝑛(𝑗𝜔𝑘). Thus, 𝐴𝑥(𝑘) is distributed according to the Rice probability density function

𝑅𝑖𝑐𝑒(|𝐺𝑑(𝑘)|, ½𝑆𝑛(𝑗𝜔𝑘)). (3) A random variable Z is Rice distributed 𝑍~𝑅𝑖𝑐𝑒(𝑣, 𝜎2) if 𝑍 = √𝑋2+ 𝑌2with 𝑋~𝑁(𝑣 cos 𝜃 , 𝜎2) and 𝑌~𝑁(𝑣 cos 𝜃 , 𝜎2) are two independent normal distributions where 𝑣 is the amplitude of the signal, 𝜎2 is the variance of the signal and 𝜃 is a real number.

B. Automatic detection

The automatic detection algorithm can be divided in three major parts: the discriminant analysis, the estimation of the magnitudes of the signal and noise power and the probabilistic validation of the detected spectral lines.

1. Discriminant Analysis

The main philosophy of discriminant analysis is to partition the data in two groups such that the groups are maximally separated under the constraint that the variance within every group is as small as possible. Expressing this objective in a statistical testing framework results in Fisher’s quadratic discriminant [18], [21], such that

𝑇2= �𝐴�𝑥𝐼−𝐴�𝑥𝐽

2

𝜎𝐼2(|𝐼|−1)+𝜎𝐽2(|𝐽|−1)(|𝐼| + |𝐽| − 2), (4) where 𝐴̂𝐼𝑥 and 𝐴̂𝑥𝐽represent the mean amplitude of the classified signal lines and noise lines, respectively. The variables |𝐼| and

|𝐽| represent the respective number of classified signal and noise lines. Finally, 𝜎𝐼2 and 𝜎𝐽2 are the respective variances of the amplitudes of the classified signal and noise lines. The objective of the discriminant analysis is to maximize (4).

Therefore, the set of frequency bins of the signal lines I and of the noise lines J should be chosen in such a way that the numerator or distance between the group means is maximized, and the denominator or distance within the group variances is minimized. A binary grid search is used to come to the correct discrimination height.

2. Estimation of signal and noise power magnitudes In this paragraph, the method of moment (MoM) estimator for the noise power and signal component magnitudes is derived [20].

Assuming that the noise spectrum is white, the estimate of the noise power for noise frequency lines 𝑘 ∈ 𝐽 is

𝑆̂𝑛(𝑗𝜔𝑘) =|𝐽|1 ∑ �𝐴𝑘∈𝐽 𝑥(𝑘)�2. (5)

The maximum likelihood for the signal component is not available. The MoM estimator in [18] is used to estimate the signal magnitude for 𝑘 ∈ 𝐼

�𝐺�𝑑(𝑘)� = �𝐴𝑘2(𝑘) − 𝑆̂𝑛(𝑗𝜔𝑘). (6)

3. Probabilistic validation of the detected spectral lines

(4)

In order to assess the quality of the classification, the probability of false classification is computed by studying the probability distribution of the amplitude measurements 𝐴𝑥(𝑘).

To formally introduce the probability of misclassification, we denote 𝐴(𝑘) to be the random variable describing the amplitude measurement at frequency k which follows a Rice distribution with parameters (|𝐺𝑑(𝑘)|, (½)𝑆𝑛(𝑗𝜔𝑘)) for signal lines and (0, (½)𝑆𝑛(𝑗𝜔𝑘)) for noise lines.

Hence, ℙ(𝐴(𝑘) > 𝐴𝑥(𝑘)|𝑘 ∉ 𝐼) is the probability that 𝐴(𝑘) can be larger than the measurement 𝐴𝑥(𝑘), even when k is a noise line. ℙ(𝐴(𝑘) < 𝐴𝑥(𝑘)|𝑘 ∉ 𝐼) is the probability that 𝐴(𝑘) can be smaller than the measurement 𝐴𝑥(𝑘), even when k is a signal line. Based on the nature of k, the values in (5) and (6) are used to estimate the probabilities as follows

𝜋�(𝑘) = �

1 − 𝐹𝑅𝑖𝑐𝑒�0,1

2𝑆̂𝑛(𝑗𝜔𝑘)�(𝐴𝑥(𝑘)) 𝐹𝑅𝑖𝑐𝑒�|𝐺�𝑑(𝑘)|,1

2𝑆̂𝑛(𝑗𝜔𝑘)�(𝐴𝑥(𝑘)) , (7) where 𝐹𝑅𝑖𝑐𝑒 denotes the cumulative distribution function of the Rice distribution.

Note that the discriminant analysis method described in this section has the following advantages.

1) It is fully automatic, with no user interaction.

2) It provides an estimate of the spectral component.

3) It provides a user-friendly and simple validation.

However, the presented technique only works under the assumption that the considered power spectrum of both signal and noise is flat, which cannot be assumed in practical applications e.g. normal operation conditions of cognitive radios.

III. SEGMENTATION ALGORITHM

In this paragraph, we propose an extension of the discriminant analysis method (Section II) to nonflat spectra using visual analysis. This can be done by partitioning the spectra into small segments in which the power spectrum of the noise can be approximated as being flat. To asses this, we need to detect the frequency lines that are purely noise contributions.

Doing so, the width of the region where the flatness condition holds can be determined.

A. Initial detection method for signal and noise components By a simple visual inspection, one can already have a rough idea of which parts of the spectrum contain signal, and which contain noise. A signal line typically has larger magnitude than its neighboring noise frequency lines. In the proposed detection algorithm, we consider a frequency line to be a potential signal line if the magnitude difference between this frequency line and its neighboring frequency lines is larger than a user-defined value δ𝐺. Whereas a noise line is determined if the difference between the analyzed frequency line and its neighboring frequency lines is smaller than δ𝐺. To implement the above idea, we apply the following equations to obtain these maximum and minimum magnitude values:

𝐴𝑥(𝑙) < 𝐴𝑥(𝑘) − δ𝐺, (8)

𝐴𝑥(𝑙) > 𝐴𝑥(𝑘) − δ𝐺, (9) where 𝑘 < 𝑙. Every 𝐴𝑥(𝑘) satisfying (8) is a local maximum, and is denoted as 𝐴𝑥𝑚𝑎𝑥(𝑘). Every 𝐴𝑥(𝑘) satisfying (9) is a local minimum and is denoted as 𝐴𝑥𝑚𝑖𝑛(𝑘).

The result of this algorithm is illustrated in Fig. 1. The crosses represent the frequency lines 𝑘 with magnitude 𝐴𝑥𝑚𝑎𝑥(𝑘), these lines are possibly signal contributions. The circles represent the frequency lines 𝑘 with magnitude 𝐴𝑥𝑚𝑖𝑛(𝑘) and these lines are definitely noise contributions. The remaining frequency lines can be either noise or signal contributions.

Figure 1. Local maximum and minimum spectral line detection: (gray) amplitude measurement, (cross marked lines) local maximum and (circled lines) local minimum.

B. Segmentation width

Based on the previously detected noise contributions with magnitude 𝐴𝑥𝑚𝑖𝑛(𝑘) , the segments where the spectrum is locally flat are to be determined. Let 𝑘upper and 𝑘lower be the frequency lines where maximal magnitude and minimal magnitude are found when satisfying (10) and (11).

𝐴𝑥𝑚𝑖𝑛(𝑙) < 𝐴𝑥𝑚𝑖𝑛�𝑘upper� − δ𝑆𝐺, (10) 𝐴𝑥𝑚𝑖𝑛(𝑙 ) > 𝐴𝑥𝑚𝑖𝑛(𝑘lower) − δ𝑆𝐺, (11) The frequency lines 𝑘upper and 𝑘lower are the positions at which the magnitude of the noise power presents abrupt changes. Consequently, these frequency lines determine the bounds of a segment within which the noise power does not significantly deviate.

The order in which these frequency lines appear define the right bound of a segment, while the left bound of the next segment is the right bound of the previous segment. An exception occurs for the frequency lines located at the beginning and end of the spectrum, for which the left and right bounds are respectively 1 and 𝑁 . For instance, having i maximal values 𝑘upper and j minimal values 𝑘lower, the bounds of the different segments can be determined as follows:

0 1 2 3 4 5 6

-55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0

Frequency [radians/sample]

Magnitude [dBm]

(5)

1-𝑘upper(1), 𝑘upper(1)- 𝑘lower(2), 𝑘lower(2) - 𝑘upper(3),…,𝑘upper(𝑖)- 𝑘lower(𝑗), 𝑘lower(𝑗)- 𝑁.

An illustrative example is presented in Fig. 2. The diamonds represent the magnitudes of the bounds of the segments with maximal magnitude and the squares represent the magnitudes of the bounds with minimal magnitude.

Clearly, the main difficulty is to select the proper values for δ𝐺

and δ𝑆𝐺. Although these values can be selected arbitrarily by the user, some interesting rules-of-thumb are proposed:

Figure 2. Bound detection of segments: (gray) amplitude measurement, (dashed vertical lines) bounds, (diamond) bounds at frequency lines with maximal magnitude, and (square) bounds at frequency lines with minimal magnitude.

1) For SNR values higher than -5 dB. At high SNR, the Rice distribution of the amplitude of a disturbed signal can be approximated to Gaussian distribution. Visual analysis indicates us that most 𝐴𝑥𝑚𝑎𝑥(𝑘) and 𝐴𝑚𝑖𝑛𝑥 (𝑘) are found to lie around two standard deviations of the mean of the power spectrum. Thus, δ𝐺 would reflect the 95% confidence interval for Gaussian random variables. A starting value for δ𝐺 is given by

𝛿𝐺= |𝜇 + 2𝜎|, (12) where 𝜇 and 𝜎 are the mean and the standard deviation of the magnitude of the discrete Fourier coefficient of the signal 𝐴𝑥(𝑘), respectively. Magnitude values that exceed at least δ𝐺, assures an initial detection of signal and noise spectral lines.

Whereas a starting value for δ𝑆𝐺 can be given by the standard deviation of the detected 𝐴𝑥𝑚𝑖𝑛(𝑘) values.

2) For SNR values lower than -5dB. The previous definitions for δ𝐺 and δ𝑆𝐺 can result in larger values that do not always detect enough initial spectral lines and hence make not feasible to find the bounds of the segments. However, these values can be used as initial values, and then decreased them in such a way that the chosen δ𝐺 allows detecting a sufficient number of initial spectral lines. For δ𝑆𝐺, one can try lower or higher values than the standard deviation of the

𝐴𝑚𝑖𝑛𝑥 (𝑘) values. A trade-off between the δ𝐺 and δ𝑆𝐺 is present, where increments on δ𝐺 allow decrements on δ𝑆𝐺.

IV. SIGNAL DETECTION

In this section, the segmentation technique is used for signal detection. The idea is to apply the method described in Section II, as detailed in [18], to each of the detected segments.

In Fig. 3, the signal detection method is illustrated. The gray curve is the spectrum analyzer amplitude measurement.

Once applied the segmentation algorithm to the measured amplitude, as seen in Fig. 1 and Fig. 2, each segment receives a different discrimination height. The horizontal black lines represent the discrimination heights. Within each segment, the frequencies with measured amplitude below the discrimination height are classified as being noise lines while the frequencies with measured amplitude above the discrimination height are classified as signal lines. The dark black curve is the smooth discrimination curve over the full frequency band of interest.

This curve is obtained when a polynomial is fitted to the centers of every discrimination height, which are identified as black circles over the different segments. Data fitting using a polynomial regression model is used for this purpose [23].

Given N data points on frequency lines 𝑘 , and the discrimination height ℎ function, the discrimination height variable is modeled as a linear combination of the variable 𝑘.

Regression estimates the model parameters α and some uncontrolled errors ε are present. A p-order of the polynomial model can be synthesized as

ℎ(𝑘) = ∑𝑝−1𝑖=0α𝑖. (𝑘)𝑖+ ε(𝑘). (13) The estimate of the polynomial coefficients is given by

𝛂� = (𝑿𝑇𝑿)−1𝑿𝑇𝒉. (14) where 𝛂 is an p-by-1 vector of the model parameters, 𝑿 is a N- by-p vector of frequency lines, and 𝒉 is a N-by-p vector of discrimination heights. Using least square method is possible to fit the model to the data and estimate the polynomial coefficients. Once the coefficients are found, the polynomial is evaluated over the full range of frequency lines.

The degree of the polynomial is chosen by the user, lower values are always desired (𝑝 ≤ 7) to avoid over fitting and approximate better the noise floor shape. The degree can be chosen as the maximum number of degree-1 that does not exit the condition number of the matrix, and assure the system of equations (14) to be well-conditioned.

The obtained polynomial curve in Fig. 3 clearly shows that the extended automatic detection algorithm is able to separate the signal lines from the noise without any user interaction.

0 1 2 3 4 5 6

-55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0

Frequency [radians/sample]

Magnitude [dBm]

(6)

Figure 3. Polynomial fitting curve for an SNR of -10dB: (gray) amplitude measurement, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, and (solid gray line) discrimination heights.

V. NUMERICAL EXAMPLES

This section provides some simulation examples where the performance of the technique will be evaluated for different SNR ranging from 0 to -21 dB as required by the IEEE standard for cognitive radios [24].

A. Different amplitude under white noise

The signal satisfies the representation given in (1), where 𝑔(𝑡) is a multisine with different amplitude spectrum and 8 tones arbitrarily chosen, while 𝑛(𝑡) is a zero-mean white Gaussian noise sequence.

In Fig. 4, the segmentation technique is used for signal detection of a disturbed signal presenting an SNR of -15 dB.

δ𝐺 and δ𝑆𝐺 are computed as described in Section III-B.3, as a result δ𝐺= 15.12 and δ𝑆𝐺= 0.97. Since not enough initial values are found to run the algorithm, δ𝐺 is reduced.

Therefore, the initial detection of signal and noise spectral lines is performed using (8) and (9) with δ𝐺= 8. The reduction of δ𝐺 allows increments of δ𝑆𝐺. Next, the bound segments are found with (10) and (11) when δ𝑆𝐺=1.5 is chosen. The signal detection is performed as described in Section II, and a different discriminant height is assigned to each segment.

Polynomial fitting is performed as described in Section IV, resulting in a discrimination curve of degree p=7.

Next, the estimators (5) and (6) are computed to estimate the noise power and signal magnitude. The magnitude estimate 𝐺�𝑑(𝑘) is ranging from -10.55 to -3.32 dBm the visual observations. However, the noise estimate 𝑆̂𝑛(𝑗𝜔𝑘) presents values of -68 dBm, which seems to correspond to an underestimate.

Hence, the validation process was performed. The misclassification probabilities are calculated with (7). The method detects 108 signal lines, in which 7 lines were correctly classified and received misclassification probabilities of 0, while the other 101 lines received probabilities around 0.07.

The remaining frequency lines are classified as noise lines and present misclassification probabilities ranged from 0 to 0.63.

The frequency lines with amplitude values close to the discrimination height are susceptible to be misclassified and therefore, to present higher misclassification probabilities. This suggests that the classification process was not correct for those frequency lines and consequently, that the segment bounds were not chosen properly. Given that, these frequency lines are moved to the other group and the validation process is recomputed with (7). The misclassification probabilities for the signal lines ranged from 0 to 0.43, while the noise lines received misclassification probabilities ranged from 0 to 0.49.

Regrouping of the frequency lines balances the misclassification probabilities at the expense of worsening the misclassification probability of one of the groups.

For instance, a detected noise line at a frequency of 0.6197 radians/sample presents a misclassification probability of 0.56

Figure 4. Automatic signal detection for an SNR of -15 dB: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, and (solid gray line) discrimination heights.

as seen in Fig. 5. This suggests that this frequency line was wrongly classified as a noise line and hence, it is moved to the signal line group receiving a misclassification probability of 0 as illustrated in Fig. 6, which demonstrates this frequency line was a misdetected signal line. An interesting observation is that, even when the method wrongly classifies some frequency lines either as a signal or noise line, the validation process is able to recognize this by assigning considerably high probability values to those frequency lines.

B. Uniform signal amplitude under colored noise

Following the representation given in (1), the signal 𝑔(𝑡) is a multisine with uniform amplitude spectrum and 8 tones. The noise sequence 𝑛(𝑡) is a zero-mean colored noise, which is obtained using a Butterworth low pass filter at a normalized frequency of 0.5. In Fig. 7, the segmentation technique for signal detection of the disturbed signal with an SNR of -10dB is performed as described in Section III. δ𝐺 and δ𝑆𝐺 are computed as described in Section III-B.3, as a result δ𝐺= 14.43 and δ𝑆𝐺= 16.02 are computed. The standard deviation of the 𝐴𝑥𝑚𝑖𝑛(𝑘) values is large due to the shape of the spectra, where for the frequency lines higher than the cut-off frequency, the magnitude can reach very low values in contrast with the

0 1 2 3 4 5 6

-45 -40 -35 -30 -25 -20 -15 -10 -5 0 5

Frequency [radians/sample]

Magnitude [dBm]

0 1 2 3 4 5 6

-55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0

Frequency [radians/sample]

Magnitude [dBm]

(7)

magnitude of the frequency lines lower than the cut-off frequency. Therefore, δ𝑆𝐺 needs to be reduced. The initial detection of signal and noise spectral lines is performed using (8) and (9) is possible with the 𝛿𝐺= 14.43. The value of 𝛿𝐺 was obtained from (12). The bound detection is performed with (10) and (11) when 𝛿𝑆𝐺= 1 is chosen. Once segments are defined, the signal detection is performed as

Figure 5. Probabilistic of misclassification for detected spectral lines in the frequency band [0.5, 0.7] radians/sample: (upper graph) segmented spectra, (middle graph) probability of falsely classified noise lines, (lower graph) probability of falsely classified signal lines, and (solid black rectangle) falsely detected noise line with its corresponding probability of misclassification.

described in Section II. Polynomial fitting is performed as described in Section IV, resulting in a discrimination curve of degree p=2.

Next, the estimators (5) and (6) are computed. The signal amplitude estimate 𝐺�𝑑(𝑘) ranges from -4.82 to -3.11 dBm, which coincides with the visual observations. The noise estimate presents values of -85.78 dBm to -10.86 dBm.

The probabilistic validation described is performed. The misclassification probabilities are calculated with (7). The method detects correctly 8 signal line and received misclassification probabilities with values that ranges from 1.66e-14 to 0. The remaining frequency lines are classified as noise lines receiving misclassification probability values ranging from 1.20e-06 to 0.6321. The frequency lines with misclassification probability higher than 0.5 are moved to the other group and the validation process recomputed with (7).

The misclassification probabilities for the 725 detected signal lines are lower than 0.43, while for the noise lines lower values than 0.49 are computed. Again, the regrouping of the frequency lines balances the misclassification probabilities at the expense of worsening the misclassification probability of the signal lines.

According to the discriminant analysis philosophy, the objective is to separate the groups in order to minimize the misclassification probabilities. When the segmentation algorithm is used for signal detection, the validation step suggests that the segmentation was incorrect for some frequency lines. However, the fact that by regrouping the

Figure 6. Probabilistic of misclassification for detected signal lines in the frequency band [0.5, 0.7] radians/sample: (upper graph) segmented spectra, (middle graph) probability of falsely classified noise lines, and (lower graph) probability of falsely classified signals and (solid black rectangle) regrouped noise line with its corresponding probability of misclassification.

Figure 7. Automatic signal detection for a multisine with uniform amplitude and an SNR of -10dB: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, (solid gray line) discrimination heights and (black arrows) eight signal tones.

frequency lines, the misclassification probabilities are altered indicates that the width of the segment can be manipulated

0.5 0.55 0.6 0.65 0.7

-50 -40 -30 -20 -10 0

Magnitude [dBm]

0.5 0.55 0.6 0.65 0.7

0 0.2 0.4 0.6 0.8 1

Probability of being falsely classified as noise

Probability of Misclassification

0.5 0.55 0.6 0.65 0.7

0 0.2 0.4 0.6 0.8 1

Probability of being falsely classified as signal

Probability of Misclassification

Frequency [radians/sample]

0.5 0.55 0.6 0.65 0.7

-50 -40 -30 -20 -10 0

Magnitude [dBm]

0.5 0.55 0.6 0.65 0.7

0 0.2 0.4 0.6 0.8 1

Probability of being falsely classified as noise

Probability of Misclassification

0.5 0.55 0.6 0.65 0.7

0 0.2 0.4 0.6 0.8 1

Probability of being falsely classified as signal

Probability of Misclassification

Frequency [radians/sample]

0 1 2 3 4 5 6

-80 -70 -60 -50 -40 -30 -20 -10 0

Frequency [GHz]

Magnitude [dBm]

(8)

when the values of δ𝐺 and δ𝑆𝐺are updated using the probabilistic validation results. This can improve the performance of the method and hence, reduce the misclassification probabilities.

VI. MEASUREMENT EXAMPLES

In the measurement examples, signals with different spectrum shape are measured. The computer-generated signals are sent to a signal generator in its time-domain version using a carrier frequency 𝑓𝑐 = 1.5𝐺𝐻𝑧. The amplitude of the signal was measured with a signal analyzer using a bandwidth 𝐵𝑊 = 100𝑀𝐻𝑧 and 100001 number of sweep points. The measured amplitude is sent back to a computer, where the signal detection method is applied to the data. The examples present multisine signals with 8 tones disturbed either by white or colored noise sequences. This controlled laboratory experiment will allow us to evaluate the proposed technique.

A. Multisine with different amplitude under white noise The multisine shown in Fig. 3 is measured. The values of δG and δSG are computed as described in Section III-B.3, as a result δ𝐺= 24.43 and δ𝑆𝐺= 1.94. However, a reduction for δG is needed to assure sufficient initial values. δG= 10 is found to compute (9) and (10). The initial detection of signal and noise spectral components is performed. The segment bounds are found with (11) and (12) using δSG= 1. Since this is a data-driven method, these values differ from the ones of the simulation examples, since the amount of data is higher.

Next, the signal detection is applied to every segment as shown in Fig. 8. The horizontal black lines are the different discrimination heights of every segment, according to the segmentation and signal detection algorithms. The black circles are the center of the discrimination heights to which a discrimination curve of degree p=2 is fitted and it is distinguished as a bold dark curve.

The estimators (5) and (6) are computed to estimate the noise power and signal magnitudes. The signal amplitude estimate 𝐺�𝑑(𝑘) is ranging from -47.99 to -35.81 dBm. The

Figure 8. Automatic signal detection for an SNR of -10 dB: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, (solid gray line) discrimination heights and (black arrows) eight signal tones.

noise power estimate 𝑆̂𝑛(𝑗𝜔𝑘) for the different segments ranges from -62.88 to -38.54 dBm.

Finally, the probabilistic validation is performed. The misclassification probabilities are estimated using (7). In total, 4747 lines were classified as noise lines and the probabilities ranged from 0 to 0.63. The method detects 254 signal lines, from which 8 are correctly detected as signal lines presenting a misclassification probability of 0 while the other 246 detected signal lines received probabilities around 0.1609.

B. Uniform signal amplitude under colored noise

In this example, the amplitude of the signal is uniform. The noise sequence is colored using a shaping Butterworth filter with a cutoff frequency of 0.75. The values of δG and δSG are computed as described in Section III-B.3, as a result δ𝐺= 23.27 and δ𝑆𝐺= 7.44. An initial detection of signal and noise components is performed using δ𝐺= 6 to compute (8) and (9).

The boundaries of the segments are determined with (10) and (11) and δ𝑆𝐺= 4. Next, the signal detection is applied to every segment of the measured amplitude spectrum and polynomial fitting results in a discrimination curve of p=2, as shown in Fig.

9. The same legend from Fig. 8 holds.

Using (5) and (6), the signal amplitude estimate 𝐺�𝑑(𝑘) ranges from -47.97 to -35.27 dBm, while the noise estimate 𝑆̂𝑛(𝑗𝜔𝑘)ranges from -96.42 to -41.13 dBm. The validation process is performed. The misclassification probabilities are calculated with (7). The method detects 132 as signal lines, from which 8 are correctly classified as signal lines and received misclassification probabilities of 0 while the remaining detected signal lines received a misclassification probability values that reach up to 0.15. The remaining frequency lines were classified as noise lines and received misclassification probabilities from 0 to 0.63. After regrouping of frequency lines, the signal lines received probability values of 0.43 and the noise lines received probability values of 0.49.

In this particular example, the frequency lines higher than the cut-off frequency present a decreasing noise floor which

1.5 1.505 1.51 1.515 1.52 1.525 1.53 1.535 1.54 1.545 1.55 -65

-60 -55 -50 -45 -40 -35

Frequency [GHz]

Magnitude [dBm]

1.5 1.505 1.51 1.515 1.52 1.525 1.53 1.535 1.54 1.545 1.55 -100

-90 -80 -70 -60 -50 -40

Frequency [GHz]

Magnitude [dBm]

(9)

Figure 9. Automatic signal detection for a multisine with uniform amplitude and an SNR of -10 dB: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, (solid gray line) discrimination heights, and (black arrows) eight signal tones.

makes the signal lines more visible. Therefore, the algorithm can find a good position for the discrimination height cutting between the noise floor and the signal lines. This is acknowledged by the lower misclassification probabilities assigned to these frequency lines.

A measure of the quality of the classification can also be given in terms of risk of misclassification, where the quality of the detection and hence, of the segmentation algorithm are evaluated by measuring the magnitude of misclassification probability of every frequency line in the full band of interest.

It became obvious during the validation process that some frequency lines whose amplitude lies close to the discrimination height present a high risk of being misclassified in either group. These frequency lines present amplitudes that are low enough to be considered as noise lines but also high enough to be considered as signal lines. This duality is reflected in the misclassification probability values assigned to them. Consequently, the amplitudes of the frequency lines with sufficient distance from the discrimination height will

Figure 10. Risk of misclassification for spectral lines of an SNR of -10dB:

(black) high risk of misclassification, (dark gray) considerable risk of misclassification, (gray) low risk of misclassification, and (light gray) very low risk of misclassification.

Figure 11. Risk of misclassification for spectral lines of a multisine with uniform amplitude and an SNR of -10dB: (black) high risk of misclassification, (dark gray) considerable risk of misclassification, (gray) low risk of misclassification, and (light gray) very low risk of misclassification.

present low misclassification probabilities and therefore a small risk of being incorrectly classified whether as noise or signal lines.

For this purpose, the spectrum is sliced into different regions that cover the different levels of risk. The risk of being falsely classified as being either noise or signal line is illustrated in Fig. 10 and Fig. 11 from the measurement examples showed in Fig. 8 and Fig. 9. In a light gray color are the frequency lines with very low risk 𝜋�(𝑘)<10%, in gray color are the frequency lines with low risk 10%<𝜋�(𝑘)<30%, in dark gray color are the frequency lines with considerable risk 30%<𝜋�(𝑘)<50%, and in black color the frequencies with high risk 𝜋�(𝑘)>50% of being incorrectly classified.

VII. BOUNDARIES UPDATE USING PROBABILITIES OF MISCLASSIFICATION

In Section III, the segmentation algorithm is an attempt to define flat regions where the automatic signal detection method can be applied. The boundaries are determined at frequencies where the power spectrum is not constant i.e. where an abrupt change is perceived. In a disturbed signal, this can occur at many points in the spectra. The proper selection of the boundaries thus depends on the proper selection of the values δG and δSG. How large these values are, determines the sensitivity of these two parameters to the changes in the spectrum, and present a direct impact in the correct performance of the automatic signal detection method.

Generally, when the values of δG and δSG are too large, the method can miss some changing points and when too small it can detect many irrelevant changing points and hence, the computation becomes slower. From the simulation and measurement examples, the reduction of the misclassification probabilities of the detected noise lines becomes a challenge since the objective of the automatic signal detection method is to minimize the misclassification probabilities.

In order to reduce the misclassification probability values, this section proposes an iterative algorithm scanning for some missed changes within the previously defined segments. For this purpose, we can reuse the formulas given in (10) and (11) to search the missed changing points. Since the spectrum within the segment is approximately flat, δSG can be defined as the rule of thumb suggested with (12) so, new kupper and klower frequency lines that present maximal and minimal amplitudes are chosen from the Axmin(k) values found within the initial segment bounds, as explained in Section III- B. The appearance of these new positions together with the previous ones generates newer segments and hence different discriminant heights. The median of the misclassification of the detected noise lines is computed. The process is repeated while a reduction on the misclassification probabilities is accomplished or stopped when the opposite occurs. When no Aminx (k) values are found between the bounds, the algorithm then reduces δG until the average of the misclassification probabilities is minimized.

1.5 1.505 1.51 1.515 1.52 1.525 1.53 1.535 1.54 1.545 1.55 -60

-55 -50 -45 -40

Frequency [GHz]

Amplitude [dBm]

1.5 1.505 1.51 1.515 1.52 1.525 1.53 1.535 1.54 1.545 1.55 -90

-80 -70 -60 -50 -40

Frequency [GHz]

Amplitude [dBm]

(10)

Using the misclassification probabilities from the simulation example shown in Fig. 3, an update of the boundaries of the segments is performed and the signal detection method is applied to each new segment as seen in Fig. 12. The same legend from Fig. 3 holds. In total, 19 segments are obtained from which 12 were the initial segments and 7 are the new segments. The median of the misclassification probabilities for noise lines after the update was reduced to 0.39. A discrimination curve of degree p=7 is fitted to the centers of the discrimination heights.

The signal detection is performed after updating the boundaries of the simulation example shown in Fig. 5, and this can be seen in Fig. 13. In total, 14 segments are obtained from which 4 are initial segments and 10 are the new segments. The median of the misclassification for noise lines initially reached 0.63, and after the update of the boundaries it reduced to 0.49.

A discrimination curve of degree p=4 is found.

In the measurement example shown in Fig. 9, the misclassification probability values presented in Section VI-B were used to perform the update of the boundaries as seen in Fig. 14. The number of segments increased from 6 to 28.

Figure 12. Automatic signal detection for an SNR of -10 dB after bound update: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, (solid gray line) discrimination heights, and (black arrows) eight signal tones.

Figure 13. Automatic signal detection for a multisine with uniform amplitude and an SNR of -10 dB after bound update: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, (solid gray line) discrimination heights, and (black arrows) eight signal tones.

Figure 14. Automatic signal detection for a measured multisine with uniform amplitude and an SNR of -10 dB after bound update: (gray) amplitude of frequency lines, (bold dark curve) discrimination curve, (black circles) center of discriminant heights, (solid gray line) discrimination heights, and (black arrows) eight signal tones.

Decreasing δ𝑆𝐺 did not give better results. The median of the misclassification probabilities decreased from 0.63 to 0.51.

A discrimination curve of degree p=3 is needed.

In all the three cases, it is interesting to point out that in the presence of more segments both the discrimination heights and especially the discrimination curve adapts better to the shape of the noise floor. This is visually evident when the polynomial curve is found slightly above the noise floor, leaving the signal lines raise above it.

CONCLUSION

This paper proposes an extension of [18] to signal detection for nonflat spectra using a segmentation method [20] and an

0 1 2 3 4 5 6

-55 -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0

Frequency [radians/sample]

Magnitude [dBm]

0 1 2 3 4 5 6

-80 -70 -60 -50 -40 -30 -20 -10

Frequency [radians/sample]

Magnitude [dBm]

1.5 1.505 1.51 1.515 1.52 1.525 1.53 1.535 1.54 1.545 1.55 -100

-90 -80 -70 -60 -50 -40

Frequency [GHz]

Magnitude [dBm]

(11)

iterative algorithm to update the segment boundaries such that the automatic signal detection method [18] can be used for spectrum sensing in cognitive radio and the misclassification probabilities are minimized. The only prior information needed is that within a frequency band, the discrimination method separates two groups: a signal and noise group. The advantage of the method over previous methods is minimal user interaction. No knowledge on the disturbing noise power is necessary which contrasts with the energy detection method.

Furthermore, one does not need to specify in advance the number of primary users transmitting in the band of interest such that the proposed technique is fully blind.

ACKNOWLEDGEMENT

This work was funded in part by a post-doctoral fellowship of the research foundation Flanders (FWO) and the research council of the VUB (OZR).

REFERENCES

[1] I. F. Akyildiz, Won-Yeol Lee. M. C. Vuran, and S. Mohanty,

“NeXt generation/dynamic spectrum access/cognitive radio wireless networks: A survey,” Computer Networks, vol. 50, pp. 2127-2159, Sept.

2006.

[2] R. Tandra, and A. Sahai, “SNR Walls for Signal Detection,” IEEE Journal of Selected Topics in Signal Processing, vol. 2, no. 1, Feb. 2008 [3] H. Urkowitz, “Energy Detection of Unknown Deterministic Signals,”

Proc. IEEE, vol. 55, no. 4, pp. 523-531, Apr. 1967.

[4] F. F. Digham, M. –S. Alouini, and M. K. Simon, “On the Energy Detection of Unknown Signals over Fading Channels” in Proc. IEEE on Communicationsm vol.55, no.1, pp.21-24, Jan. 2007

[5] Y. Zhou, Z. Zhou and S. Zhang, “An Improved Spectrum Sensing Method: Energy-Autocorrelation-Based Detection Technology,"

Circuitsm Systems, and Signal Processing, Online First™, Jul. 2012.

[6] Y. Zeng, and Y. C. Liang, “Covariance Based Signal Detections for Cognitive Radio,” presented at DySPAN 2007, Dublin, Ireland, Apr. 17- 20, 2007.

[7] Y. Zeng, and Y. C. Liang, “Spectrum-Sensing Algorithms for Cognitive Radio based on Statistical Covariances,” IEEE Transactions on Vehicular Technology

[8] Y. Zeng, and Y. C. Liang, “Maximum-Minimum Eigenvalue Detection For Cognitive Radio,” The 18th Annual IEEE International Symposium on Personal, Indoor and Mobile Radio Communications, vol. 106, no.

395, 2006, pp. 91-95.

[9] A. Kortun, T. Ratnarajah, M. Sellarhurai, C. Zhong, and C. B. Papadias,

”On the performance of Eigenvalue-Based Cooperative Spectrum Sensing for Cognitive Radio, ” IEEE Journal of Selected Topics in Signal Processing, vol. 5, no. 1, pp. 49-55, Feb. 2011

[10] D. L. Carni, L. De Vito, and S. Rapuano, “A portable instrument for automatic detection and classification of telecommunication signals,”

Measurement, vol. 45, pp. 182-189, Feb. 2012

[11] L. Wang, B. Zheng, and W. Zhu, “Spectrum Sensing Based on Asymptotic Behavior of Random Vandermonde Matrices,"2011 IEEE International Conference on Communications (ICC), vol., no., pp.1-5, 5- 9 June 2011.

[12] J. C. Clement, K. V. Krishnan, and A. Bagubali, “Cognitive Radio:

Spectrum Sensing Problems in Signal Processing,” International Journal of Computer Applications, vol. 40, no. 16, pp. 37-40, Feb. 2012.

[13] W. Van Moer, Y. Rolain, and J. Schouckens, “An atuomatic harmonic selection scheme for measurements and calibration with the nonlinear vectorial network analyzer,” IEEE Trans. Instrum. Meas. Vol. 51, no. 2, pp. 337-341, Apr. 2002.

[14] D. Rabijns, G. Vandersteen, and W. Van Moer, “an automatic detection scheme for periodic signal based on spectrum analyzer measurements,”

IEEE Trans. Instrum. Meas., vol. 53, no.3, pp. 847-853, Jun. 2004.

[15] S.-T. Chiu, “Detecting Periodic Components in a White Gaussian Time Series,” J. Roy Statist Soc B, no. 2, 249–259, 1989.

[16] M. Ahdesmäki, H. Lähdesmäki, R. Pearson, H. Huttunen, and O. Yli- Harja, “Robust detection of periodic time series measured from biological systems,” BioMed Ccentral, Bioinformatics, May 2005.

[17] A. W. Liew, N.Law, X. Cao, and H. Yan, “Statistical Powe of Fisher Test for the Detection of Short Periodic Gene Expression Profiles,”

Pattern Recognit, vol. 42, no. 4, pp. 549-556, Apr. 2009

[18] K. Barbé, and W. Van Moer, “Automatic Detection, Estimation, and Validation of Harmonic Components in Measured Power Spectra: All- in-One-Approach,” IEEE Trans. Instrum. Meas., vol. 60, no. 3, pp.

1061-1069, Mar. 2011.

[19] M. Hamid, K. Barbé, N.Bjorsell, and W. Van Moer, "Spectrum sensing through spectrum discriminator and maximum minimum eigenvalue detector: A comparative study," IEEE International Instrumentation and Measurement Technology Conference I2MTC 2012, Graz, Austria vol., no., pp.2252-2256, May 13-16, 2012

[20] L. Gonzales Fuentes, K. Barbé, W. Van Moer, and N. Björsell,

“Cognitive Radio: Discriminant Analysis finds the free space,” IEEE International Instrumentation and Measurement Tehcnology Conference I2MTC 2012, Graz, Austria, vol., no., pp. 2242-2247, May 13-16, 2012.

[21] W.R. Klecka, Discriminant Analysis. Beverly Hills, CA: Sage, 1980.

[22] M. Kendall and A. Stuart, The advanced theory of statistics, 4th ed.

London: Griffin, 1983.

[23] M. T. Heat, Scientific Computing: An Introductory Survey, 2nd ed. New York: McGraw Hill, 2002.

[24] M. Sherman, A.N. Mody, R. Martinez, C. Rodriguez, and R. Reddy,

“IEEE Standards Supporting Cognitive Radio and Networks, Dynamic Spectrum Access, and Coexistence,” Communications Magazine, IEEE, vol.46, no. 7, pp. 72-79, Jul. 2008.

[a] S. Haykin, “Cognitive Radio: Brain-Empowered Wireless Communications,” IEEE Journal on Selected Areas in Communications, vol. 23, no.2, pp. 201-220, Feb. 2005.

[b] S. Haykin, “The Multitaper Method for Accurate Spectrum Sensing in Cognitive Radio Environments,” Conference Record of the Forty-First Asilomar Conference on Signals, Systems and Computers ACSSC 2007, vol., no., pp. 436-439, Nov. 4-7 2007

[c] S. Haykin, D. J. Thomson, and J. H. Reed, “Spectrum Sensing for Cognitive Radio,” Proceedings of the IEEE, vol. 97, no. 5m pp. 849-877, May 2009.

[d] D. Rawatm and G. Yan, “Spectrum Sensing Methods and Dynamic Spectrum Sharing in Cognitive Radio Networks: A Survey,” International Journal of Research and Reviews in Wirelesss Sensor Networks, vol. 1, no. 1, March 2011.

[e] O. A. Alghamdi, M. Z. Ahmed, and M. A. Abu-Rgheff, “Probabilities of detection and false alarm in multitaper based spectrum sensing for cognitive radio systems in AWGN,” IEEE International Conference on Communication Systems ICCS 2010, vol., no., pp. 579-584, Nov. 17-19, 2010

References

Related documents

Since this paper aims to understand how the use of Visby cathedral has been affected by the increased attention it has received as a tourist destination this chapter needs to cover

You suspect that the icosaeder is not fair - not uniform probability for the different outcomes in a roll - and therefore want to investigate the probability p of having 9 come up in

Landau damping simulation Figure 3 (left) with the adaptive number of Hermite mode takes 46.7 s while the reference simulation that uses fixed number of Hermite modes takes 56.3 s..

Each block is implemented by a recurrent neural network (RNN). The encoder takes a sequence of tokens from buggy source code as input and encodes it into vectors, using an

In complex B, the signal sequence forms a 4-turn a-helical structure, deeply embedded into a groove formed by the GM linker, aM1, finger loop, aM5 and the C-terminal sequence (Fig..

They may appeal primarily to EU law lawyers, but they may very well be of immediate interest for anyone interested in sports law and governance of professional sports, for

The root cause classification data for the pods ”Company” and ”Greet employee”, shown in Figure 12a and 12b respectively, clearly shows that the anomaly’s root cause have been

First of all, we notice that in the Budget this year about 90 to 95- percent of all the reclamation appropriations contained in this bill are for the deyelopment