Next Article in Journal
Ultra-Scaled Si Nanowire Biosensors for Single DNA Molecule Detection
Previous Article in Journal
Brillouin-Scattering Induced Noise in DAS: A Case Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modified Gini Index Detector for Cooperative Spectrum Sensing over Line-of-Sight Channels

by
Dayan Adionel Guimarães
National Institute of Telecommunications—Inatel, Av. João de Camargo 510, Santa Rita do Sapucaí 37540-000, MG, Brazil
Sensors 2023, 23(12), 5403; https://doi.org/10.3390/s23125403
Submission received: 6 May 2023 / Revised: 25 May 2023 / Accepted: 1 June 2023 / Published: 7 June 2023
(This article belongs to the Section Communications)

Abstract

:
Recently, the Gini index detector (GID) has been proposed as an alternative for data-fusion cooperative spectrum sensing, being mostly suitable for channels with line-of-sight or dominant multi-path components. The GID is quite robust against time-varying noise and signal powers, has the constant false-alarm rate property, can outperform many the state-of-the-art robust detectors, and is one of the simplest detectors developed so far. The modified GID (mGID) is devised in this article. It inherits the attractive attributes of the GID, yet with a computational cost far below the GID. Specifically, the time complexity of the mGID obeys approximately the same run-time growth rate of the GID, but has a constant factor approximately 23.4 times smaller. Equivalently, the mGID takes approximately 4 % of the computation time spent to calculate the GID test statistic, which brings a huge reduction in the latency of the spectrum sensing process. Moreover, this latency reduction comes with no performance loss with respect to the GID.

1. Introduction

The massive deployment of wireless communication systems in recent years has caused a shortage of the radio-frequency (RF) spectrum. This shortage can be credited to the fixed spectrum allocation policy, in which a primary user (PU) network is given exclusive rights to use a specific RF band. However, research indicates that many allocated RF bands are not fully utilized in certain regions and time periods, leading to inefficient spectrum usage [1,2,3]. As the Internet of Things (IoT) and 5G/6G networks continue to expand, the RF spectrum scarcity issue is expected to worsen, since these technologies require higher bandwidths and will intensify the competition for the limited spectrum resources [4].
One potential solution to the problem of inefficient use of the RF spectrum is the adoption of cognitive radio (CR) networks [5]. These networks are capable of identifying vacant bands resulting from the primary network’s varying spectrum occupation in time and space. A dynamic spectrum access (DSA) policy can be adopted in this case. In DSA, cognitive secondary user (SU) terminals opportunistically make use of unoccupied RF bands. The technique used by the secondary network to utilize vacant bands is called spectrum sensing. This technique is extensively covered in the literature; see for example [3,4,6,7,8] and references therein.
Spectrum sensing can be performed independently by each SU, or can apply multiple SUs in collaboration. When performed by each SU, it can have its performance penalized by propagation-related phenomena, such as multi-path fading, shadowing due to signal blockage, and hidden terminals caused by PU signals not arriving at an SU with detectable strength. On the other hand, cooperative spectrum sensing (CSS) applies several SUs to improve the accuracy of decisions upon the channel occupation state. Thus, CSS has been considered the preferred solution for detecting vacant spectrum bands.
In this paper, a centralized CSS with data fusion is considered, in which the samples of the PU signal received by the SUs are forwarded to the FC, where test statistic computation and comparison with a decision threshold are performed to yield the global decision on the occupation state of the sensed band. This decision is then broadcast to the SUs, which subsequently compete for the band if it is vacant using an appropriate multiple-access technique.

1.1. Related Research

The literature is rich in research works proposing detectors for spectrum sensing. Many of them apply the sample covariance matrix (SCM) as the received PU signal, as described for instance in [9,10,11,12,13,14,15] and references therein. These detectors are usually referred to as covariance-based detectors.
Blind detectors are considered herein. They do not make use of any information about the detected signal or the noise variance. Examples are the Hadamard ratio (HR) detector [9], the arithmetic to geometric mean (AGM) detector [10], volume-based detectors (VD), number 1 (VD1) and number 2 (VD2) [11], the maximum–minimum eigenvalue detector (MMED) [12], the eigenvalue-based generalized likelihood ratio test (GLRT) [12] detector, the Gini index detector (GID) [13], the Gerschgorin radii and centers ratio (GRCR) [14] detector, and the Pietra–Ricci index detector (PRIDe) [15].
The computational burdens associated with the calculation of the test statistics of the above-mentioned detectors differ, depending on the operations needed. For example, the HR and VD are based on the determinant of the SCM. The AGM, the MMED, and the GLRT need the estimation of the eigenvalues of the SCM. On the other hand, the GID, GRCR, and PRIDe operate directly on the elements of the SCM, and as a consequence are less complex.
The GID, GRCR, and PRIDe are particularly noteworthy, not only because they have lower computational complexity, but also because they are more robust against signal and noise power variations than the other detectors considered herein.
The GID detector is further explored in this work. Its test statistic is based on the Gini index, which is a statistical dispersion metric commonly used in economics and social sciences as a measure of inequality [13]. Although the GID test statistic does not make use of eigenvalues or determinants of the SCM, its computational cost is penalized due to the relatively high burden associated with the calculation of the magnitude of the elements of the SCM, or the magnitude of the results of operations performed on the SCM elements. This work aims at reducing the computational cost of the GID detector, which is achieved by replacing with real quantities the complex values operated in the test statistic while maintaining the original Gini-index-based operations defined in [13].

1.2. Contribution and Structure of the Article

The modified Gini index detector (mGID) is proposed in this paper. Likewise, the GID, the test statistic of the mGID, is formed from the elements of the SCM, which makes it less complex than most of the state-of-the-art detectors proposed so far. The mGID inherits important attributes of the GID, namely, blindness, attractive robustness against nonuniform and time-varying received signal and noise levels, and a constant false-alarm rate (CFAR). Moreover, its performance is practically equal to the GID’s. In summary, the main contributions of the present work are as follows:
  • The novel and practical mGID test statistic, whose computational cost is drastically reduced when compared to the GID, with practically no performance loss and inherited desirable attributes of the GID.
  • A two-fold model improvement with respect to [13] time-varying signal power attached to path-loss and corrected signal-to-noise ratio (SNR) calibration.
  • Numerical results that provide insight into the system’s operation and support the conclusions of the work.
  • A fully-commented Matlab simulation code [16] capable of supporting a complete system analysis under a variety of circumstances and system parameters.
The remainder of the article is organized as follows: Section 2 describes the signal, noise, and channel models. The GID and mGID test statistics are addressed in Section 3. Numerical results and interpretations are presented in Section 4. The conclusions and opportunities for future research are given in Section 5.

2. Signal, Noise, and Channel Models

The model for centralized CSS with data fusion adopted herein is grounded on [13,15]. It considers m SUs in cooperation, each one collecting n samples of the PU signal during a sensing interval. The samples gathered by the SUs are transmitted to the FC over an error-free report channel, forming the sample matrix Y C m × n , which is given by
Y = h x T + V ,
where the vector x C n × 1 contains the PU signal samples, which can be modeled as zero-mean complex Gaussian random variables or modulated signal samples in the base band. Here, a base-band quaternary phase-shift keying (QPSK) PU signal is adopted.
The channel vector h C m × 1 in (1) is formed by elements, h i , that represent the sensing channel gains between the PU transmitter and the ith SU, for i = 1 , , m . The variation in these gains over time can model the fading effect produced in the signal due to multi-path propagation of the electromagnetic wave and other propagation-related variations imposed on the PU signal, such as shadowing due to blockage by obstacles.
When modeling spectrum sensing, the gains of the channels between the PU transmitter and the SU’s receivers are often considered constant during the sensing interval, and independent and identically distributed among consecutive sensing events. The constant channel gains mean that the duration of the sensing interval is shorter than the coherence time [17] of the sensing channel, that is, the signal fading produced by the channel changes slowly and can be considered practically constant during the entire sensing interval. On the other hand, the independence between successive sensing events means that the interval between these events is greater than the coherence time of the sensing channel. Additionally, the multiplication between h and x T in (1) is meant to model a flat fading channel whose coherence bandwidth is larger than the bandwidth of the PU signal [17].
The channel vector is modeled as h = G a , where G is a gain matrix to be defined a little later, and a C m × 1 is a vector formed by complex-Gaussian random variables a i C N [ K / ( 2 K + 2 ) , 1 / ( K + 1 ) ] , where K = 10 K ( dB ) / 10 is the Rice factor [17] of the channels between the PU transmitter and the SUs, and where K ( dB ) = 10 log 10 ( K ) is the Rice factor in decibels.
When a channel is subjected to Ricean fading, the Rice factor is a measure of the ratio between the signal strength received via the dominant propagation path and the power of the signals coming from the other paths. A dominant propagation path occurs, for example, in a line-of-sight (LoS) condition between the transmit and receive antennas, or when a strong specular reflection of the transmitted signal towards the receiver happens. A larger Rice factor is associated with less variability (i.e., less fading) in the instantaneous received signal strength. A zero Rice factor ( K ( dB ) = dB) corresponds to a channel with Rayleigh fading. On the other hand, a pure additive white Gaussian noise (AWGN) channel results if K ( dB ) =  dB. In practical terms, K ( dB ) < 10 dB corresponds to an approximate Rayleigh fading, and K ( dB ) > 10 dB makes the channel approximately free of fading.
From measurements reported in [18], it has been found that K ( dB ) is an environment-dependent random variable that can be well characterized by a Gaussian distribution with mean μ K and standard deviation σ K , both in dB, i.e., K ( dB ) N [ μ K , σ K ] . Typical values of μ K and σ K are determined according to the propagation characteristics of the area, and are reported in [18] as well. This model for the Ricean fading is consistent with reality: While moving, an SU receiver experiences different situations in terms of the line of sight with the PU transmitter antenna. For example, urban areas typically have a large number of big obstacles between the PU and the SUs, which reduces the mean Rice factor and increases its variability, which is measured by σ K . On the other hand, rural or open areas exhibit higher Rice factors, on average, but have lower variability due to the smaller number and small diversity of the obstacles commonly found in these areas. An urban area typically has μ K = 1.88 dB and σ K = 4.13 dB. Rural or open areas typically have μ K = 2.63 dB and σ K = 3.82 dB. Suburban regions are commonly associated with μ K = 2.41 dB and σ K = 3.84 dB [18].
The present signal model also takes into account that the received signal power levels across the SUs may be unequal and time-varying due to the different distances between the PU transmitter and the SUs, and due to the variation in theses distances across different sensing events caused by the motion of the SUs. To model unequal and time-varying received signal levels, the above-mentioned gain matrix G R m × m is given by G = diag ( p / P tx ) , where p = [ P rx 1 , , P rx m ] T is the vector containing the received PU signal powers across the m SUs, with [ · ] T denoting transposition, P tx is the transmitted PU signal power in watts, and the operator diag ( · ) returns a diagonal matrix whose diagonal is formed by the elements of the vector in the argument.
The log-distance path-loss prediction model [17] represents a very simple form to calculate the area-mean received signal power at a distance d from the transmitter. It can be used to calculate the PU signal power received by the ith SU, P rx i , yielding
P rx i = P tx d 0 d i η ,
where d 0 is a reference distance in the far-field region of the PU transmit antenna, d i is the distance between the PU transmitter and the ith SU receiver, and η is the environment-dependent dimensionless path-loss exponent [17]. The larger the value of η , the grater the signal attenuation at a given distance.
Variability in thermal noise at the SUs’ receivers is also assumed in the present model. In practice, this variability cannot be neglected and is caused by multiple factors, such as variations in the ambient temperatures to which the SUs are subjected, uncalibrated receiver front-end circuits, uneven noise figures and gains of the low noise amplifiers (LNAs), and unwanted signals present in the sensed band, such as atmospheric noise and RF interference, which can be considered as background noise added to the receiver thermal noise. In this paper, the nonuniform and time-varying characteristic of the noise power is modeled as follows: since the elements in the ith row of the matrix V C m × n in (1) are associated with the ith SU, they are represented by independent Gaussian random variables whose mean is zero and the variance is
σ i 2 = ( 1 + ρ u i ) σ ¯ 2 ,
where u i is a realization of a uniform random variable U i in the interval [ 1 , 1 ] , that is, U i U [ 1 , 1 ] , σ ¯ 2 is the noise variance averaged across all SUs, and 0 ρ < 1 , which is a predefined parameter of the model, is the fractional variation in the noise power around σ ¯ 2 .
The instantaneous signal-to-noise ratio, γ , across the SUs is a random variable, since it depends on σ i 2 and on the distances d i , which vary according to the random SUs’ locations. In light of (2) and (3), a realization of γ is given by
γ = 1 m i = 1 m P tx d 0 / d i η ( 1 + ρ u i ) σ ¯ 2 .
Thus, the average SNR across the SUs, which is also a predefined parameter of the model, is given by
SNR = E [ γ ] ,
where E [ γ ] is the expected value of γ .
To implement this variable noise level model, firstly the expectation of the uncalibrated γ has to be calculated, which is defined for an uncalibrated average noise variance σ ¯ 2 = 1 and for a given realization of the SUs’ locations. Taking into account that the random variables U i U [ 1 , 1 ] are independent from each other, it can be written, in light of (4), that
E [ γ ] = 1 m i = 1 m E P rx i ( 1 + ρ U i ) ,
where the uniform random variable Z i = 1 + ρ U i lies in-between a = 1 ρ and b = 1 + ρ .
The expectation of the random variable P rx i / Z i is given by
E P rx i Z i = a b P rx i z i ( b a ) d z i = P rx i b a ln b a .
Applying this result in (6), with a = 1 ρ and b = 1 + ρ , the expected value of γ for 0 < ρ < 1 is found to be
E [ γ ] = ln 1 + ρ 1 ρ 2 ρ m i = 1 m P rx i .
For ρ = 0 , Equation (8) yields an indeterminate result that can be easily solved taking into account that
lim ρ 0 1 2 ρ ln 1 + ρ 1 ρ = 1 ,
in this case yielding
E [ γ ] = 1 m i = 1 m P rx i .
Since SNR = E [ γ ] = E [ γ ] / σ ¯ 2 , the calibrated average noise variance is given by
σ ¯ 2 = E [ γ ] SNR .
In the last step, this σ ¯ 2 is plugged into (3), along with a realization u i of the random variable U i , to yield σ i 2 , which is the variance in the noise samples in the ith row of the matrix  V . New values of { σ i 2 } are computed in each sensing round, conferring the time-varying character to the noise power.
The present SNR calibration model corrects the one considered in [13], in which the SNR is given by the ratio between the average signal power and the average noise power, which could be better named average signal to average noise power ratio. Notice from (4) and (5) that the correct SNR calculation is the average of the quotient between the instantaneous signal power and the instantaneous noise power. Using the notation adopted herein, in [13] it is considered that
SNR = 1 m i = 1 m P rx i E [ ( 1 + ρ U i ) σ ¯ 2 ] = 1 m σ ¯ 2 i = 1 m P rx i ,
and here, it is established that
SNR = 1 m i = 1 m E P rx i ( 1 + ρ U i ) σ ¯ 2 = ln 1 + ρ 1 ρ 2 ρ m σ ¯ 2 i = 1 m P rx i ,
where the factor ln [ ( 1 + ρ ) / ( 1 ρ ) ] / 2 ρ makes explicit the inequality between the two SNR definitions. This factor is plotted in Figure 1, in dB, as a function of ρ . If the SNR is defined according to [13] so that it remains constant for any  ρ , the actual SNR will be 10 log 10 { ln [ ( 1 + ρ ) / ( 1 ρ ) ] / 2 ρ } dB higher, progressively overestimating the detector’s performance in regard to the one achieved with the correct SNR, as ρ becomes larger.
The influence of the correct SNR calibration on the detector’s performance is evidenced by means of a numerical result presented in Section 4, specifically by Figure 7.

3. Test Statistics, Time Complexities, and Constant False-Alarm Rate of GID and mGID

This section presents the GID test statistic and the derivation of its modified version, the mGID test statistic. A time complexity analysis is subsequently performed by comparing the computer run time of both detectors. Finally, the constant false-alarm rate properties of the GID and mGID are addressed.

3.1. GID and mGID Test Statistics

The matrix Y defined in (1), which contains the m n samples received by the m SUs, is formed at the FC. Under the hypothesis H 0 , the primary signal is absent in the sensed band, yielding Y = V . Under the hypothesis H 1 , then Y = h x T + V . Given Y , the SCM of order m is subsequently computed at the FC, according to
R = 1 n Y Y ,
where † denotes complex conjugate and transpose.
Let r i denote the ith element of the vector r formed by stacking all columns of R , for i = 1 , , m 2 . The GID test statistic proposed in [13] is computed at the FC according to
T GID = 2 ( m 2 m ) i = 1 m 2 r i i = 1 m 2 i = 1 m 2 r i r j ,
where the constant 2 ( m 2 m ) has been used in [13] for convenience, but it does not influence the performance of the GID detector, and can be removed.
The decision on the occupation state of the sensed band is made at the FC by comparing T GID with a decision threshold λ . If T GID > λ , the decision is made in favor of the hypothesis H 1 . Otherwise, H 0 is chosen. The value of λ is defined a priori, according to the desired false-alarm rate.
The calculation of the magnitude of the complex quantities contained in r is responsible for the main computational burden associated with the test statistic (12). The magnitude calculation carries a relatively high computational cost due to its computation as the square root of the sum of the squared-real and squared-imaginary parts. To aggravate this computational burden, such calculation must be performed m 2 times in the numerator and  m 4 times in the denominator of (12).
The mGID test statistic proposed in this paper is formed by replacing the possibly complex quantities, r i , in (12) by the real quantities q i = ( r i ) + ( r i ) , where ( r i ) and ( r i k ) are the real and the imaginary parts of r i , respectively. As a consequence, the computational cost of the mGID is drastically reduced in comparison with the GID. It is noteworthy that a similar procedure has been used in [19] to devise the modified Pietra–Ricci index detector (mPRIDe). The resultant mGID test statistic is
T mGID = i = 1 m 2 q i i = 1 m 2 j = i m 2 q i q j ,
from which the constant 2 ( m 2 m ) has been removed, and an additional simplification has been performed in the right-hand summation of the denominator, which sums from j = i to j = m 2 instead of the original sum from j = 1 to j = m 2 . This simplification takes into account that | q i q j | = | q j q i | .
To illustrate the implication of using | q i | instead of | r i | , Figure 2 depicts random realizations of | r i | and | q i | for m = 3 , corresponding to the sample covariance matrix
R = r 1 r 4 r 7 r 2 r 5 r 8 r 3 r 6 r 9 10 6 0.118 0.046 + j 0.003 0.040 + j 0.004 0.046 j 0.003 0.068 0.022 + j 0.004 0.040 j 0.004 0.022 j 0.004 0.071 .
From this figure, it can be seen that the values of | r i | and | q i | = | ( r i ) + ( r i ) | are not pairwise equal, except for the diagonal elements of R , which correspond to r 1 = q 1 , r 5 = q 5 , and r 9 = q 9 . Nonetheless, there is a compensation effect in the sums i | q i | that can be observed in the values of ( q 2 , q 4 ) , ( q 3 , q 7 ) , and ( q 6 , q 8 ) : notice that q 2 is shifted below r 2 approximately the same amount that q 4 is shifted above r 4 ; analogously, q 3 is shifted below r 3 approximately the same amount that q 7 is shifted above r 7 ; and q 6 is shifted below r 6 approximately the same amount that q 8 is shifted above r 8 . As a consequence, i | q i | i | r i | , which produces a negligible modification in the numerator of T mGID with respect to the numerator of T GID . The same reasoning applies to the denominators, that is, i j | q i q j | i j | r i r j | . Thus, there is a small difference between T GID and T mGID , which guarantees that their performances are approximately the same, to be confirmed by the results presented in Section 4.

3.2. Time Complexities

Regardless of the magnitude of a real number, its absolute value can be calculated in constant time. Taking this fact into account, the time complexity of (13), using the big- O notation, is O ( m 4 ) , as determined by the computation of its denominator. Analogously, the time complexity of (12) is also O ( m 4 ) . However, (12) is computed with a larger constant factor than in the case of (13) because the absolute value of a complex quantity applies a square-root operation, which is way more computationally expensive than multiplications or additions. Hence, the detectors GID and mGID have the same time complexity in terms of the big- O notation, but the GID test statistic takes longer to be computed due to the higher computational cost of the square-root operation.
In order to assess the time complexities of the GID and mGID test statistics, run-time measurements were carried out for them, as a function of the number of SUs, m, using a computer with an 11th Gen Intel Core i7-11800H @ 2.30 GHz processor, with 64 GB RAM, running the Windows 11 Professional and the 64-bit Matlab R2018b, and measured via the Matlab functions tic and toc . These functions were respectively placed before and after the subroutine that computes the corresponding test statistics in the Matlab code [16]. The resultant measurements are shown in Figure 3.
A power curve fitting of the type a x b + c was applied to the run-time measurement results, using the pwrfit function of the Mathcad software [20], version 15, yielding a 1 2.2 × 10 7 , b 1 3.90 , and c 1 3.5 × 10 5 for the GID, and a 2 9.4 × 10 9 , b 2 3.86 , and c 2 9.3 × 10 6 for the mGID. From this procedure, it is demonstrated the fourth-power growth rate of the computation time for both detectors, as given by b 1 and b 2 , approximately equals 4, and the much larger constant time factor of the GID is approximately 23.4 times larger than in the case of the mGID, as given by a 1 / a 2 23.4 . In other words, the mGID test statistic (13) takes approximately 4 % of the computation time spent for calculating the GID test statistic (12), which represents a huge reduction in the latency of the spectrum sensing process.

3.3. Constant False-Alarm Rate

The CFAR property is the ability of a detector to maintain the false-alarm rate irrespective the value of a system parameter of interest [19]. In the context of spectrum sensing, the parameter of interest is the noise variance.
To assess the CFAR property of the GID and mGID, Figure 4 depicts the empirical probability density functions (PDFs) of T GID and T mGID , under H 0 and H 1 , for m = 6 , SNR = 13 dB, η = 2.5 , n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB, for 50,000 realizations of each test statistic, under each hypothesis, and for two different values of the average noise variance σ ¯ 2 . The specific noise variances σ ¯ 2 = 1.9408 × 10 6 and σ ¯ 2 = 4.4921 × 10 5 resulted from setting the PU transmitted signal power to 5 and 50 watts, respectively.
From Figure 4, it can be seen that the supports of the PDFs of T GID under H 0 do not change when subjected to different noise variances, the same occurring with T mGID . Hence, given a predefined decision threshold, the probability of a false alarm will not change with the noise variance, which confers the CFAR property to the GID and mGID.
Figure 4 also suggests that the performances of the GID and mGID are the same, since the PDFs of their test statistics are practically identical in shape, except for a small shift of the mGID’s PDFs to the left, relative to the GID’s.

4. Numerical Results

This section addresses the performance of the detectors GID and mGID, as well as of the competing state-of-the-art blind detectors listed in Section 1, namely, PRIDe, HR, VD1 (VD number 1), GLRT, MMED, AGM, and GRCR. The test statistics of these competing detectors are given in the sequel.
The test statistic of the PRIDe detector [15] is
T PRIDe = i = 1 m 2 | r i | i = 1 m 2 | r i r ¯ | ,
where r i is the same variable defined in (12), and r ¯ = ( 1 / m 2 ) i = 1 m 2 r i .
The HR test statistic [9] is computed as
T HR = det ( R ) i = 1 m r i , i ,
where r i , j is the element in the i-th row and j-th column of the sample covariance matrix R , and det ( R ) is the determinant of R .
The VD1 detector [11] has a test statistic given by
T VD 1 = log det ( E 1 R ) ,
where E = diag ( e ) , with diag ( e ) being the diagonal matrix whose main diagonal corresponds to the vector e = [ e 1 , e 2 , , e m ] , where e i = R ( i , : ) 2 and · 2 denotes the Euclidean norm.
The test statistic of the eigenvalue-based GLRT detector [12] is
T GLRT = λ 1 i = 1 m λ i ,
where λ 1 λ 2 λ m are the eigenvalues of R .
The detector MMED [12] forms its test statistic according to
T MMED = λ 1 λ m .
In the case of the AGM [10], the test statistic is given by
T AGM = 1 m i = 1 m λ i i = 1 m λ i 1 / m ,
and the GRCR [14] has a test statistic computed according to
T GRCR = i = 1 m j = 1 , j i m | r i , j | i = 1 m r i , i .
The performances reported herein have been measured in terms of the probability of detection, P d , for a fixed P fa = 0.1 , as a function of the main system parameters. All results were generated via Monte Carlo computer simulations using the Matlab R2018a running the source code available in [16].
The CSS topology adopted for analysis is exemplified in Figure 5. It comprises a secondary network with m SUs ( m = 10 in this example) uniformly distributed in a circular coverage area with radius r meters (a normalized r = 1 has been used in this figure), with the PU transmitter located at ( x , y ) = ( r , r ) meters, with ( x , y ) = ( 1 , 1 ) meter in the figure, and the FC located at the center of the coverage area. Each sensing event requires defining new random positions of the SUs, aiming at mimicking mobile SUs. The PU signal samples, which come from a base-band QPSK signal, are then generated according to the model described in Section 2 for the vector x . These samples are multiplied by the channel vector h and the result is added to the noise matrix V , according to (1), forming the matrix Y of received signal samples. As demonstrated in Section 2, the channel vector h accounts for multi-path fading and distance-dependent signal attenuation from the PU transmitter to the SUs. Subsequently, matrix Y is made available to the FC, where the sample covariance matrix R is computed, and from which the desired test statistics are formed. For each detector under analysis, a number of 20,000 test statistic values are computed under H 0 and H 1 , and used to estimate the cumulative distribution functions (CDFs) from which P d is read for the reference P fa = 0.1 .
Figure 6 depicts P d versus the mean of the Rice factor of the sensing channel, μ K , for m = 6 SUs, SNR = 13 dB, path-loss exponent η = 2.5 , coverage radius r = 1 km, n = 250 samples per SU, fraction of noise power variation ρ = 0.5 , and standard deviation of the Rice factor σ K = 0 dB.
The main result unveiled by Figure 6 is the influence of the line-of-sight condition from the PU transmitter to the SUs on the performance of the detectors, especially in the case of the GID and mGID. Firstly, notice that the GID and mGID achieve practically the same performances. Moreover, they become attractive under a moderate-to-high LoS component, i.e., for μ K > 0 dB. Taking this fact into consideration, the remaining results of this section consider μ K = 20 dB, which tightly approximates a pure AWGN channel. This is to explore the GID and mGID operations under the scenario corresponding to their best performances.
Figure 6 also demonstrates that the performance variation pattern of the PRIDe is similar to the GID and mGID, yielding a better performance for lower values of μ K and a worse performance for higher values of μ K . The other detectors exhibit low sensitivity to the variation in μ K , with the GLRT, MMED, and AGM being practically useless. This is because these three detectors are not robust against variations in the received signal and noise levels, which are implicitly present in the setup used to plot Figure 6.
The effect on P d due to changes in the fraction ρ that governs the amount of noise power variation about its average is shown in Figure 7, for m = 6 , SNR = 13 dB, η = 2.5 , r = 1 km, n = 250 , μ K = 20 dB, and σ K = 0 dB. Figure 7a considers the new model for calibrating the SNR, according to (5) and related equations, while Figure 7b has been plotted under the SNR definition given in [13], which corresponds to the ratio between the average signal power to the average noise power. Notice that the performances of the GID and mGID are practically the same, and that they are quite robust against the variation in the noise level, up to ρ = 0.8 , the same occurring with the detectors PRIDe, HR, VD1, and GRCR. The performance of the detectors GLRT, MMED, and AGM are highly affected by the value of ρ , as anticipated in the comments about Figure 6.
On the other hand, Figure 7b suggests a much better robustness of the GID, mGID, and PRIDe than the other detectors; an equivalent conclusion regarding the GID has been reported in [13]. Since Figure 7a adopts the correct way of computing the SNR as the average of the quotient between the instantaneous signal and noise powers, the conclusions drawn from it are the correct ones. In Figure 7b, the probability of detection for all detectors are overestimated at higher values of ρ , since the actual (correct) SNRs in this case have been measured as 12.98 , 12.93 , 12.73 , 12.37 , 11.61 , and 8.74 dB, respectively, for ρ = 0 , 0.2 , 0.4 , 0.6 , 0.8 , and 0.99 (recall that the SNR associated with Figure 7b has been configured as 13 dB for any ρ , applying the incorrect definition). Observe that if 13 dB is subtracted from the above SNR values, the results are approximately the quantities given in Figure 1.
To put it concisely, the detectors GID, mGID, PRIDe, HR, VD1, and GRCR show some resistance to changes in noise power, but their level of robustness is not as high as perceived when an incorrect definition of the SNR is utilized.
Figure 8 gives P d versus the number of SUs, m, for SNR = 14 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB. As expected, the performances of all robust detectors improve as m increases, whereas the non-robust ones (GLRT, MMED, and AGM) do not follow this improvement pattern due to the deleterious influence of the signal and noise level variations. For the system settings considered in Figure 8, the GID and mGID considerably outperform the other detectors, closely followed by the PRIDe. Once again, the results show practically identical performances of the GID and mGID.
Figure 9 depicts P d versus the SNR, in dB, assuming m = 6 , η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB. The performance improvement observed for all detectors as the SNR increases is the expected outcome. The GID and mGID performances, once again, are in agreement with each other, and are superior to the other detectors, given that the line-of-sight condition has been established by setting μ K = 20 dB. The PRIDe performs quite similarly to the GID and mGID, while the HR, VD1, and GRCR come in third position with practically identical performances. It can be seen that, in spite of being under nonuniform received signal and noise powers, the GLRT, MMED, and AGM are capable of attaining satisfactory performances, but only at relatively higher SNR regimes.
The influence, on P d , of the distances from the PU to the SUs, which depend on the ( x , y ) coordinates of the PU, is shown in Figure 10 for x = y , m = 6 , SNR = 14 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB. The non-robust detectors (GLRT, MMED, and AGM) are useless for any PU coordinate, which is owed to the variability in signal and noise levels and to the SNR value (see Figure 9). When the PU coordinates x , y are below 3 r m, the performances of all robust detectors decrease due to the larger relative discrepancies among the received signal powers, similarly to what happens when the path-loss exponent increases. For x , y above 3 r m, practically no performance changes are observed for all detectors, meaning that the relative discrepancies among the received signal powers were not capable of causing performance loss or improvement.
Finally, Figure 11 gives P d as a function of the path-loss exponent, η . The detectors GLRT, MMED, and AGM attain useless performances for any η , a consequence of their non-robustness to the noise and signal power variations. The performances of the remaining detectors reduce as η becomes larger, which seems an expected outcome if one recalls that a larger path-loss exponent means higher signal attenuation from the PU to the SUs. However, the performance reduction shown in Figure 11 is not directly caused by the higher attenuation, since the SNR has been set as fixed for any η . A higher path-loss exponent produces higher differences among the received signal power levels, which translate into worse spectrum sensing performances. For instance, a realization of the received signal powers, in dBm, for η = 1 was 14.4 , 14.0 , 13.9 , 16.4 , 17.9 , and 14.5 . For η = 4 , another realization of the signal powers, also in dBm, was 79.7 , 75.1 , 80.2 , 75.2 , 65.8 , and 65.9 . Notice the higher variations in the second case.

5. Conclusions and Opportunities for Future Research

The modified GID (mGID) has been proposed in this article. It has been observed that the mGID inherited the attractive attributes of the GID, additionally having a computational cost far below the GID. The time complexity of the mGID obeys approximately the same growth rate of the GID, but has a constant factor approximately 23.4 times smaller. In other words, the mGID spends approximately 4 % of the processing time spent to calculate the GID test statistic, which corresponds to a huge reduction in the latency of the spectrum sensing process. Furthermore, this latency reduction has come with no performance loss in the mGID with respect to the GID.
Two improvements to the models originally proposed in [13] have also been suggested: (i) the variations in the received signal levels have been associated with the path loss of the channels between the PU transmitter and the SUs; and (ii) the models for the SNR computation and calibration of the corresponding noise power level have been modified to take into account the correct definition of the SNR as the expectation of the quotient between the random signal and noise power levels. Besides more trustable results, these improvements have uncovered the actual degree of robustness of the analyzed detectors against time-varying signal and noise levels, which is not as high as previously reported in the literature.
A fully-commented Matlab code has been made available at [16], allowing a complete performance analysis of the detectors considered herein under a variety of circumstances and system parameters. Other detectors can be easily added to the analysis by simply adapting or reproducing the sub-routines inside the code.
Some opportunities for future research departing from the present work can be highlighted: (i) the hardware implementation of the mGID in a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), or both, is a natural path beyond the contributions of this article; (ii) the model described in Section 2 is already an appealing and practical model, but could be improved by adding spatially correlated shadowing and erroneous report channels to allow for the assessment of their influences on the spectrum sensing performance; (iii) in a simpler work, other detectors could be also compared with the mGID in terms of performance and computational cost.

Funding

This work was supported in part by RNP (Brazil), with resources from MCTIC (Brazil), Grant 01245.010604/2020-14, under the Brazil 6G project of the Radiocommunication Reference Center (Centro de Referência em Radiocomunicações, CRR) of the Inatel (Brazil), and in part by CNPq (Brazil), Grant 302589/2021-0.

Conflicts of Interest

The author declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AGMArithmetic to geometric mean
ASICApplication-specific integrated circuit
AWGNAdditive white Gaussian noise
CDFCumulative distribution function
CRCognitive radio
CSSCooperative spectrum sensing
DSADynamic spectrum access
FCFusion center
FPGAField programmable gate array
GIDGini index detector
GLRTGeneralized likelihood ratio test
GRCRGerschgorin radii and centers ratio
HRHadamard ratio
IoTInternet of Things
LNALow-noise amplifier
LoSLine of sight
mGIDModified Gini index detector
MMEDMaximum-minimum eigenvalue detector
mPRIDeModified Pietra–Ricci index detector
PDFProbability density function
PRIDePietra-Ricci index detector
PUPrimary user
QPSKQuadrature phase-shift keying
RFRadio frequency
SCMSample covariance matrix
SNRSignal-to-noise ratio
SUSecondary user
VDVolume-based detector
VD1Volume-based detector number 1
VD2Volume-based detector number 2
5GFifth generation
6GSixth generation

References

  1. Federal Communications Commission, FCC. Spectrum Policy Task Force Report; FCC: Washington, DC, USA, 2002.
  2. Das, D.; Das, S. A Survey on Spectrum Occupancy Measurement for Cognitive Radio. Wirel. Pers. Commun. 2015, 85, 2581–2598. [Google Scholar] [CrossRef]
  3. Arjoune, Y.; Kaabouch, N. A Comprehensive Survey on Spectrum Sensing in Cognitive Radio Networks: Recent Advances, New Challenges, and Future Research Directions. Sensors 2019, 19, 126. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Nasser, A.; Al Haj Hassan, H.; Abou Chaaya, J.; Mansour, A.; Yao, K.C. Spectrum Sensing for Cognitive Radio: Recent Advances and Future Challenge. Sensors 2021, 21, 2408. [Google Scholar] [CrossRef] [PubMed]
  5. Mitola, J., III; Maguire, G.Q., Jr. Cognitive radio: Making software radios more personal. IEEE Pers. Commun. Mag. 1999, 6, 13–18. [Google Scholar] [CrossRef] [Green Version]
  6. Zeng, Y.; Liang, Y.C.; Hoang, A.; Zhang, R. A Review on Spectrum Sensing for Cognitive Radio: Challenges and Solutions. EURASIP J. Adv. Signal Process. 2010, 2010, 381465. [Google Scholar] [CrossRef] [Green Version]
  7. Akyildiz, I.F.; Lo, B.F.; Balakrishnan, R. Cooperative Spectrum Sensing in Cognitive Radio Networks: A Survey. Elsevier Phys. Comm. 2011, 4, 40–62. [Google Scholar] [CrossRef]
  8. Guimarães, D.A. Spectrum Sensing: A Tutorial. J. Commun. Inf. Syst. 2022, 37, 10–29. [Google Scholar] [CrossRef]
  9. Huang, L.; Xiao, Y.; So, H.C.; Fang, J. Accurate Performance Analysis of Hadamard Ratio Test for Robust Spectrum Sensing. IEEE Trans. Wirel. Commun. 2015, 14, 750–758. [Google Scholar] [CrossRef]
  10. Zhang, R.; Lim, T.J.; Liang, Y.C.; Zeng, Y. Multi-antenna based spectrum sensing for cognitive radios: A GLRT approach. IEEE Trans. Commun. 2010, 58, 84–88. [Google Scholar] [CrossRef]
  11. Huang, L.; Qian, C.; Xiao, Y.; Zhang, Q.T. Performance Analysis of Volume-Based Spectrum Sensing for Cognitive Radio. IEEE Trans. Wirel. Commun. 2015, 14, 317–330. [Google Scholar] [CrossRef]
  12. Nadler, B.; Penna, F.; Garello, R. Performance of Eigenvalue-Based Signal Detectors with Known and Unknown Noise Level. In Proceedings of the IEEE International Conference on Communications, Kyoto, Japan, 5–9 June 2011; pp. 1–5. [Google Scholar]
  13. Guimarães, D.A. Gini index inspired robust detector for spectrum sensing over Ricean channels. Electron. Lett. 2019, 55, 713–714. [Google Scholar] [CrossRef] [Green Version]
  14. Guimarães, D.A. Robust test statistic for cooperative spectrum sensing based on the Gerschgorin circle theorem. IEEE Access 2018, 6, 2445–2456. [Google Scholar] [CrossRef]
  15. Guimarães, D.A. Pietra-Ricci Index Detector for Centralized Data Fusion Cooperative Spectrum Sensing. IEEE Trans. Veh. Technol. 2020, 69, 12354–12358. [Google Scholar] [CrossRef]
  16. Guimarães, D.A. Matlab Simulation Code for GID, mGID and other Detectors for Centralized Data Fusion Cooperative Spectrum Sensing. Available online: https://www.dropbox.com/s/ck5tvcmu1bhzigb/mGIDversusGID.m?dl=0 (accessed on 1 June 2023).
  17. Rappaport, T.S. Wireless Communications: Principles And Practice, 2nd ed.; Pearson Education: London, UK, 2010. [Google Scholar]
  18. Zhu, S.; Ghazaany, T.S.; Jones, S.M.R.; Abd-Alhameed, R.A.; Noras, J.M.; Van Buren, T.; Wilson, J.; Suggett, T.; Marker, S. Probability Distribution of Rician K-Factor in Urban, Suburban and Rural Areas Using Real-World Captured Data. IEEE Trans. Antennas Propag. 2014, 62, 3835–3839. [Google Scholar] [CrossRef] [Green Version]
  19. Guimarães, D.A.; Pereira, E.J.T.; Shrestha, R. Resource-Efficient Low-Latency Modified Pietra-Ricci Index Detector for Spectrum Sensing in Cognitive Radio Networks. IEEE Trans. Veh. Technol. 2023, 1–15. [Google Scholar] [CrossRef]
  20. PTC, Inc. PTC Mathcad Prime. 2023. Available online: https://www.mathcad.com/pt/whats-new (accessed on 1 June 2023).
Figure 1. Factor ln [ ( 1 + ρ ) / ( 1 ρ ) ] / 2 ρ , in dB, as a function of ρ .
Figure 1. Factor ln [ ( 1 + ρ ) / ( 1 ρ ) ] / 2 ρ , in dB, as a function of ρ .
Sensors 23 05403 g001
Figure 2. Random realizations of | r i | and | q i | for m = 3 .
Figure 2. Random realizations of | r i | and | q i | for m = 3 .
Sensors 23 05403 g002
Figure 3. Run-time computation measurements of the GID and mGID test statistics.
Figure 3. Run-time computation measurements of the GID and mGID test statistics.
Sensors 23 05403 g003
Figure 4. Empirical PDFs of the test statistics T GID and T mGID under H 0 and H 1 : (a) average noise variance σ ¯ 2 = 1.9408 × 10 6 ; (b) average noise variance σ ¯ 2 = 4.4921 × 10 5 .
Figure 4. Empirical PDFs of the test statistics T GID and T mGID under H 0 and H 1 : (a) average noise variance σ ¯ 2 = 1.9408 × 10 6 ; (b) average noise variance σ ¯ 2 = 4.4921 × 10 5 .
Sensors 23 05403 g004
Figure 5. CSS topology for m = 10 SUs, normalized coverage radius r = 1 m, FC at ( x , y ) = ( 0 , 0 ) m, and PU transmitter at ( x , y ) = ( 1 , 1 ) m.
Figure 5. CSS topology for m = 10 SUs, normalized coverage radius r = 1 m, FC at ( x , y ) = ( 0 , 0 ) m, and PU transmitter at ( x , y ) = ( 1 , 1 ) m.
Sensors 23 05403 g005
Figure 6. P d versus μ K , for m = 6 , SNR = 13 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , and σ K = 0 dB.
Figure 6. P d versus μ K , for m = 6 , SNR = 13 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , and σ K = 0 dB.
Sensors 23 05403 g006
Figure 7. P d versus ρ , for m = 6 , SNR = 13 dB, η = 2.5 , r = 1 km, n = 250 , μ K = 20 dB, and σ K = 0 dB: (a) correct SNR model; (b) incorrect SNR model.
Figure 7. P d versus ρ , for m = 6 , SNR = 13 dB, η = 2.5 , r = 1 km, n = 250 , μ K = 20 dB, and σ K = 0 dB: (a) correct SNR model; (b) incorrect SNR model.
Sensors 23 05403 g007
Figure 8. P d versus m for SNR = 14 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Figure 8. P d versus m for SNR = 14 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Sensors 23 05403 g008
Figure 9. P d versus SNR for m = 6 , η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Figure 9. P d versus SNR for m = 6 , η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Sensors 23 05403 g009
Figure 10. P d versus ( x , y ) coordinates of the PU transmitter, x = y , for m = 6 , SNR = 14 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Figure 10. P d versus ( x , y ) coordinates of the PU transmitter, x = y , for m = 6 , SNR = 14 dB, η = 2.5 , r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Sensors 23 05403 g010
Figure 11. P d versus η for m = 6 , SNR = 13 dB, r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Figure 11. P d versus η for m = 6 , SNR = 13 dB, r = 1 km, n = 250 , ρ = 0.5 , μ K = 20 dB, and σ K = 0 dB.
Sensors 23 05403 g011
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Guimarães, D.A. Modified Gini Index Detector for Cooperative Spectrum Sensing over Line-of-Sight Channels. Sensors 2023, 23, 5403. https://doi.org/10.3390/s23125403

AMA Style

Guimarães DA. Modified Gini Index Detector for Cooperative Spectrum Sensing over Line-of-Sight Channels. Sensors. 2023; 23(12):5403. https://doi.org/10.3390/s23125403

Chicago/Turabian Style

Guimarães, Dayan Adionel. 2023. "Modified Gini Index Detector for Cooperative Spectrum Sensing over Line-of-Sight Channels" Sensors 23, no. 12: 5403. https://doi.org/10.3390/s23125403

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

Article Metrics

Back to TopTop