Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2026 Feb 24;26(5):1406. doi: 10.3390/s26051406

Eigenbased Multi-Antenna Spectrum Sensing: Experimental Validation on a Software-Defined Radio Testbed

Daniel Gaetano Riviello 1,2,*,, Giusi Alfano 3,
Editor: Dimitrie Popescu
PMCID: PMC12986721  PMID: 41829369

Abstract

Spectrum Sensing (SS) is expected to play a crucial role in forthcoming 6G Cognitive Radio Networks (CRNs), where unlicensed users will be able to dynamically access the spectrum and perform opportunistic transmissions without generating interference for licensed users. In this work, we investigate multiple-antenna SS techniques by analyzing the performance of several widely used detection schemes—namely, Roy’s Largest Root Test (RLRT), the Generalized Likelihood Ratio Test (GLRT), the Eigenvalue Ratio Detector (ERD), and the Energy Detector (ED)—under varying false-alarm probabilities and signal-to-noise ratios (SNRs). We assume there are a fixed number of sensors at the secondary-user receiver, namely, four. To evaluate the behavior of these detectors in realistic conditions, we developed a software-defined radio (SDR) testbed using Universal Software Radio Peripherals (USRPs), enabling both primary-user signal transmission and secondary-user data acquisition. The experimental results, illustrated through Receiver Operating Characteristic (ROC) and performance curves, are compared with simulation outcomes. The analysis is complemented by a detailed state-of-the-art listing of the available analytical characterizations of the false-alarm probabilities for the considered SS schemes. In particular, the GLRT false-alarm probability, previously unavailable in explicit form for a four-antenna equipped receiver, is computed as well. These results validate the superior detection capability of RLRT over the other schemes tested, confirming its effectiveness not only in theoretical analysis but also in practical SDR-based implementations.

Keywords: software-defined radio, 6G-CRN, Spectrum Sensing, RLRT, GLRT, URSP

1. Introduction

Cognitive Radio Networking (CRN) [1] was conceived as a paradigm through which to counteract the growing shortage of available spectrum resources by promoting the intelligent coexistence of licensed and unlicensed users [2]. Through dynamic sensing and adaptation, CRN allows secondary systems to opportunistically exploit underused frequency bands without causing harmful interference for primary users. Owing to these capabilities, CRN is expected to become a key enabling technology for future 6G communication infrastructures, which will demand unprecedented flexibility, spectrum efficiency, and context awareness.

At the heart of CRN’s functionality lies Spectrum Sensing (SS), a critical process responsible for identifying whether a given frequency band is occupied by a primary transmitter (the busy condition) or currently vacant (in an idle state). The reliability of this sensing process directly impacts spectrum utilization efficiency and interference avoidance. As such, the development of accurate, fast, and robust SS algorithms has remained one of the cornerstone challenges in cognitive radio research over the past two decades [3,4,5]. These efforts have led to a wide range of techniques capable of coping with low signal-to-noise ratios (SNRs), channel variability, and practical hardware constraints.

The present work focuses on a measurement-based evaluation of several well-established SS strategies that operate based on the statistical properties of the received signal covariance matrix [6,7,8,9]. In systems equipped with multiple antennas, such eigenvalue-based approaches exploit spatial diversity to enhance detection reliability. The algorithms considered throughout this work include both statistically grounded procedures, such as the Generalized Likelihood Ratio Test (GLRT) [10] and Roy’s Largest Root Test (RLRT) [11], and more heuristic alternatives, such as the Energy Detector (ED) [12] and the Eigenvalue Ratio Detector (ERD) [6]. While the former rely on rigorous estimation-theoretic principles, the latter are often favored for their implementation simplicity in practical scenarios. In particular, in this work, we extend the content in [13] in two main directions:

  • With reference to statistically grounded procedures, we provide a detailed analytical characterization of the false-alarm probabilities for all SS schemes presented both at finite size as well as in the asymptotic regime, and, especially for GLRT, we elaborate on the findings of [14] to provide a more explicit performance evaluation for the finite-dimensional case;

  • We add a further heuristic scheme, the above mentioned ERD, to the investigation and, after providing a semi-asymptotic analysis of its performance, carry out a performance evaluation of this SS algorithm both experimentally (i.e., using measurements) as well as via simulations.

The practical implementation of CRN principles has been greatly facilitated by the emergence of software-defined radio (SDR) technology [1,15], which offers a highly flexible and reconfigurable platform for real-time signal acquisition, processing, and control (for a recent account on the topic, see [16]). By shifting signal-processing functionalities from rigid hardware components to programmable software modules [17], SDR devices enable dynamic reconfiguration of the radio front end in response to variations in the surrounding electromagnetic environment—an essential requirement for effective CRN [18]. This inherent adaptability allows radios to modify transmission parameters, waveforms, and protocols on the fly, thereby supporting intelligent spectrum awareness and decision making. Among the available SDR platforms, the Universal Software Radio Peripheral (USRP) has gained particular prominence due to its cost-effectiveness, modular hardware architecture, and seamless compatibility with widely used open-source software frameworks [19,20]. These features make the USRP a popular and reliable choice for the prototyping, implementation, and experimental evaluation of CRN functionalities. The close synergy between CRN concepts and SDR platforms further enables the experimental validation of theoretical spectrum sensing and adaptation strategies, effectively bridging the gap between analytical modeling and real-world performance assessment. This convergence marks a significant step toward the realization of more adaptive, autonomous, and intelligent radio systems capable of continuous self-optimization in dynamic wireless environments.

Extensive experimental research has been reported in the literature to validate SS algorithms using SDR-based setups, particularly focusing on well-known implementations of the ED [12,21,22,23] and cyclostationary feature detectors [24]. Building upon such foundational studies, the present contribution offers a comparative performance analysis of eigenvalue-based detection schemes, including the GLRT, the RLRT, and the ERD, alongside the classical ED, using both simulated and experimentally collected datasets. The experimental framework, designed around a USRP-based receiver, facilitates reproducible real-world testing while capturing the stochastic nature of wireless propagation and hardware-induced imperfections.

From an analytical perspective, the statistical performance of the above detectors has been rigorously studied under various assumptions regarding the number of antennas, observation samples, and channel conditions. Random Matrix Theory has emerged as a powerful instrument for deriving closed-form or asymptotic characterizations of key performance indicators, notably the probabilities of false alarms and detection. These analyses typically fall into two complementary regimes. The first corresponds to the finite-sample setting (see, e.g., [25]), where both the number of antennas and the number of time-domain snapshots are limited, allowing for exact, but often cumbersome, derivations. The second regime considers the large-system limit [26], in which the number of sensors and samples grows simultaneously while a constant ratio is maintained. This asymptotic framework provides insightful scaling laws and compact expressions for detection thresholds, offering valuable guidance for system design and parameter tuning.

Both the finite-sized and asymptotic approaches offer insight into the dependence of sensing performance on the SNR, the number of antennas, and the observation interval length. However, due to their simplicity with respect to the finite sample settings, asymptotic formulations have become an indispensable analytical tool, complementing experimental investigations and serving as the foundation for robust CRN algorithm design. The present study contributes to this ongoing line of research by combining theoretical understanding, numerical simulation, and real-world measurements to provide a comprehensive assessment of eigenvalue-based spectrum sensing within a practical multiple-antenna SDR framework.

This work is structured as follows: Section 2 relates the development of the system model and describes the sensing schemes. It also provides an outline of the corresponding analytical performance computation. The experimental setup and numerical results are reported in Section 4, while Section 5 concludes the work.

Notation

Throughout the paper, we denote vectors and matrices with boldface lowercase and uppercase letters, respectively. A hat on the variable denotes an estimated quantity (either numerically or measurement-based). We use E[·] to denote the statistical expectation. ||·|| denotes the Euclidean norm of a vector, and ·F denotes the Frobenius norm of a matrix, while we use tr(·) to denote the trace of a square matrix. For matrices and vectors, (·)H indicates the conjugate transpose. Finally, |·| is the determinant of a square matrix.

2. System Model

We focus on an SS setting where a receiver equipped with K antennas collects N time samples from each antenna. We use y(n)=y1(n),,yK(n)T to denote the K×1 received vector at time n1,,N, with generic entry yk(n) denoting the discrete baseband complex sample at the k-th receiving antenna.

Under H0, namely, in the absence of a primary signal, yk(n) is a vector of complex Gaussian noise samples with zero mean and variance σv2

y(n)|H0=v(n) (1)

where v(n)NC(0K×1,σv2IK×K). Under H1, instead, both the primary signal and noise are present; therefore,

y(n)|H1=x(n)+v(n)=hs(n)+v(n) (2)

where s(n) is the transmitted signal sample, modeled, without a loss of generality, as Gaussian-distributed with zero mean and variance σs2, while h is the K×1 unknown complex channel vector, affected by Rayleigh flat fading. The channel is assumed to be memoryless and constant during the detection period; i.e., block fading is assumed. Under H1, we define the signal-to-noise ratio (SNR) at the receiver as

ρEx(n)2Ev(n)2=σs2σv2h2K. (3)

The detector collects the received samples in the K×N matrix:

Yy(1)y(N)=hs+V (4)

where ss(1)s(N) is a 1×N signal vector, and Vv(1)v(N) is a K×N noise matrix. The sample covariance matrix R of the received samples is therefore given by

R1NYYH. (5)

In our next analysis, we will make reference to the spectral decomposition of R=UΛUH, with U denoting the random unitary matrix of the eigenvectors and Λ corresponding to the diagonal matrix of the random eigenvalues, whose largest value is denoted as λmax and whose smallest value is denoted as λmin, throughout the work.

Crucial to our signal detection task is, in particular, the exploitation of the largest eigenvalue. Indeed, with reference to the scenario where a primary signal is present, and upon defining, for given system parameters, the quantities

τ1=Kρ+1, (6)
μsτ1,K/Nτ11+KN(τ11) (7)

and

ξsτ1,K/Nτ11KN(τ11)2. (8)

one can describe a phase transition phenomenon for the largest the eigenvalue of R (see [27]), depending on the relative strength of the primary signal, such that, almost surely (a.s.)

λmaxa.s.σv2N+K2,ifτ11+K/Nλmaxa.s.σv2μsτ1,K/N,ifτ1>1+K/N. (9)

3. Spectrum-Sensing Schemes and Performance Computation

The test statistic employed by the detector to discriminate between the null hypothesis H0 and the presence of the primary signal H1 is denoted as T; to make a decision, the detector compares it against a pre-defined threshold t: if T>t, it chooses H1; otherwise, it chooses H0. As a consequence, the probability of a false alarm

Pfa=Pr(T>t|H0) (10)

and the probability of detection is defined as

Pd=Pr(T>t|H1). (11)

Hereinafter, we detail the SS schemes exploited in the experimental setups. The first one, the ED, exploits the difference in energy levels corresponding to the two alternative scenarios of the presence vs. absence of a primary signal. In turn, the ERD relies on the increased value of the ratio between the largest and smallest eigenvalue under H1 w.r.t. H0. The remaining two schemes are based on classical estimation-theoretic criteria and depend on the statistical behavior of the largest eigenvalue of the sample covariance matrix of the collected data.

3.1. Energy Detector

The test statistic TED computes the average energy of the received signal over the N collected samples, normalized by the noise variance σv2, namely,

TED=1KNσv2k=1Kn=1Nyk(n)2=YF2KNσv2. (12)

Note that, since, according to the definition of the Frobenius norm, YF2=tr(YYH), TED can be expressed in terms of the spectrum of the sample covariance, as follows:

TED=tr(R)Kσv2=i=1KλiKσv2. (13)

For this test, since the law of the normalized trace Tn=tr(R)/K can be determined, e.g., as in Equation (8) of [14], by solving

fTn(x)=KKN(KN1)!xKN1eKx, (14)

the corresponding Pfa can be written as

Pfa=Pr(Tn>σv2t|H0)=eKσv2t=0KN1(Kσv2t)!. (15)

Receiver operating characteristic (ROC) curves are computed based on both values of Pfa and Pd, while the inversion of (15) leads to a proper threshold setting for performance computation. For eigenvalue-based schemes, as anticipated in the Introduction, there will be a need to resort to an asymptotic approach to carry out a performance analysis.

3.2. ERD

The idea behind the ERD is that the presence of a primary-user signal has a greater impact on the largest eigenvalue of the covariance of the collected samples than on the corresponding smallest one [6].

As a consequence, the test statistic of this sensing scheme is expressed as

TERDλmaxλmin. (16)

Therefore, its probability law coincides with that of the so-called standard condition number of the matrix R.

While the statistical distribution of (16) for a dual-antenna receiver (i.e., when K=2) is known thanks to [28], its closed-form expression for arbitrary values of K can be found in Theorem 1 of [29].

The corresponding false-alarm probability, for a given threshold t>0, can be written as

Pfa=1κ=1K0+det(Θ(λ,t))dλ, (17)

where

κ==1K(N)!(K)!1, (18)

and the K×K matrix Θ(λ) has the following entries:

Θi,j(λ,t)=γ(NK+i+j1,tλ)γ(NK+i+j1,λ),i;λNK+i+j2eλ,i=. (19)

In order to assess the analytical performance of the ERD, we resort to an asymptotic approach, where both the number of samples N and the number of receiving antennas K are assumed to grow large at the same rate; that is, the so-called aspect ratio of the random matrix R, e.g., KN, is a number between 0 and 1 (for our purposes, indeed, 0<KN1).

Under this assumption, we can exploit the convergence results for the extreme eigenvalues of R, stating that

λmaxa.s.b=N+K2, (20)
λmina.s.a=NK2, (21)

while, in distribution, upon defining the scaling parameters

ν=N+KN1+K11/3, (22)

and

μ=KNK1N11/3, (23)

both the random variables

1=λmaxbν

and

K=λminaμ

converge to a random variable distributed according to a second order Tracy–Widom distribution (TW2), whose Cumulative Distribution Function (CDF) for the Gaussian Unitary Ensemble (GUE) is explicitly given by

FTW2(x)=expx(sx)q2(s)ds (24)

where q(s) is the unique solution to the Painlevé II differential equation

q(s)=sq(s)+2q3(s) (25)

satisfying the boundary condition

q(s)Ai(s),s+ (26)

where Ai(s) denotes the Airy special function, one of the two linearly independent solutions to the following differential equation:

z(w)wz(w)=0. (27)

As a consequence of the above analysis, the Probability Density Function (PDF) of TERD can be written as per Equations (12) and (13) of [6], relying on proper linear transformations of the TW2 law for the involved eigenvalues, namely,

fλmax(x)=1νfTW2xbν, (28)
fλmin(x)=1μfTW2xaμ, (29)

and approximating, for the sake of simplicity, the behavior of λmax and λmin as if they were independent random variables in order to obtain the PDF and, therefore, the CDF of TERD, e.g., F¯T.

Indeed, the PDF of TERD, e.g., f¯T, can be obtained via Equation (14) of [6] as:

f¯T(t)=0+xfλmax(tx)fλmin(x)dx·I(t>1), (30)

with I(·) being the indicator function of the inner interval. As a consequence of the above computation, threshold setting for ERD is performed upon computing tERD=F¯T1(1Pfa).

3.3. RLRT

Roy’s test exploits as test statistics the largest eigenvalue of the sample covariance, normalized by the noise variance. Therefore,

TRLRTλmaxσv2, (31)

Pfa can be immediately computed, for this sensing scheme, as

Pfa=1Pr(λmax<σv2t|H0)=1κ|Φ(σv2t)|, (32)

with κ as in (18), and where

[Φ(x)]i,j=(N+K+i+j2)!1exk=0N+K+i+j2xkk!.

Let us recall that, under H0, the CDF of λmax is provided in Corollary 2 of [30], while, under H1, it assumes the expression derived in [31].

As discussed, a phase transition threshold exists for the identifiability of a signal with RLRT or GRLT, which can take place only if

τ1>1+K/N (33)

After a phase transition, i.e., in case signals are actually identifiable, the scaled and normalized largest eigenvalue converges in distribution to a standard real Gaussian random variable [32], i.e.,

N1/2λmaxσv2μsτ1,K/Nσv2ξsτ1,K/NN(0,1),ifτ1>1+K/N, (34)

with

μsτ1,K/Nτ11+KN(τ11) (35)

and

ξsτ1,K/Nτ11KN(τ11)2. (36)

In the remainder of this section, for ease of notation, we forgo the dependence on τ1 and K/N in both the expressions of ξs and μs.

As a consequence of the convergence results for the largest eigenvalue, it turns out that an approximate expression for the threshold of RLRT, for a given tolerated false-alarm rate of α, is

tRLRT(α)μs+FTW21(1α)ξs (37)

where FTW21 is the inverse of the TW2 CDF (24). We also remark that, for single-signal detection, the presence of a phase transition phenomenon, for detectability under the alternate hypothesis, can be explicitly formulated in terms of a critical detection threshold, depending on the SNR, as follows:

ρCrit=1KN (38)

3.4. GLRT

In the case of GLRT-based SS, the test statistic, derived by applying the GLR criterion to our detection problem, reads as

TGLRTλmax1Ktr(R). (39)

Its analytical characterization turns out to be challenging; however, even though the correlation between λmax and the normalized trace in the denominator of (39) is intractable, as observed in [33], (39) and (13) are statistically independent. Therefore, the computation of an exact expression for both the PDF as well as the CDF for finite values of K and N has been provided in [14,34] (a thorough analysis of the literature in the asymptotic case can be found, e.g., in [10,26]). With reference to Equation (14) of [14], the false-alarm probability of the GLRT corresponding to a threshold t>0 can be expressed as

Pfa=1(KN1)!KKN1i=1Kj=NK(N+K)i2i2iKNj2ci,jC(t)θKit+CKiθtKiC(1), (40)

where

C(y)=KiKNj2q=0KNj1(i/K)q(q+j+1)1(KNj2q)!q!yq+j+1,

and the ways of expressing the values of ci,j are reported in the Appendix A. Under H1, a finite-sample statistical analysis of the GLRT can be performed by exploiting the results reported in [35], where the random variable 1/TGLRT is characterized. This is the subject of ongoing work. The setting of the threshold for GLRT exploits asymptotic arguments, as done for the RLRT in the previous sub-paragraph, since they are both affected by the phase transition phenomenon, impacting signal detectability. An effective approximation of the Pfa of the GLRT scheme can be found in [26]:

PrTGLRTμsξs<sFTW2(s)12NKμsξs2FTW2(s), (41)

The definitions of ξs and μs are given in the RLRT paragraph. Notice that (41) can be numerically inverted in an efficient way to find the required threshold tGLRT(α).

3.5. Analytical vs. Simulated Statistics

The degree of matching between analytically computed and numerically simulated statistics of the considered SS schemes has been thoroughly investigated in the literature (see, e.g., [14,26,29]), discussing, in turn, issues regarding computing exact formulae obtained in finite-sized settings or the suitability of asymptotic characterizations for quantifying performance in real scenarios, involving a moderate number of sensors and/or processed samples. For the sake of ensuring the self-consistency of our analysis, in Figure 1, we depict both the analytical PDFs of all the sensing strategies considered (obtained via the formerly described asymptotic procedures), as well as their simulated counterparts, for different values of the ratio K/N, ranging from 0.1 (which is already suitable for resorting to random-matrix-theory-grounded analysis) to 0.4, a reduced-sample-size scenario that, while theoretically of interest, does not match usual SS settings, where the number of samples is quite a bit larger than the number of collecting sensors. The sensitivity of the ERD, RLRT, and GLRT to the behavior of the largest eigenvalue of the sample covariance of the channel can be easily remarked, whereas for the ED, only the variance changes, decreasing with increasing values of K/N, while the expected value of the received energy remains constant.

Figure 1.

Figure 1

Analytical vs. empirical PDFs of all proposed SS schemes under null hypothesis for different values of K/N.

4. Experimental Setup and Numerical Results

Figure 2 and Figure 3 show the SDR experimental setup, in which the multi-antenna SS algorithms were tested and validated through over-the-air real-time signal transmission and acquisition and subsequent data processing and performance evaluation. The setup is composed of three main components:

  • The first component was a host computer, a SiComputer Extrema Workstations W200, equipped with an Intel Core i9-14900K CPU, with 3200 MHz and 24 cores, 64 GB of DDR4 RAM, and a Mellanox ConnectX-5 100 Gbps Ethernet adapter. The SDR software installed was MATLAB R2024b together with the Wireless Testbench support package for NI USRP radios.

  • The second was an Ettus Research USRP X310, equipped with a Xilinx Kintex-7 FPGA, with two independent TX/RX channels, capable of streaming up to 200 MSamples/s per channel. The USRP X310 was used as single-antenna transmitter and connected to the workstation through a 10 Gbps Ethernet adapter. Notice that in order to obtain sufficiently low SNR levels suitable for testing the SS schemes at hand, we did not connect an external antenna to the transmitter.

  • The third component was an NI Ettus USRP X410, equipped with a Xilinx Zynq Ultrascale+ ZU28DR RF System on Chip (RFSoC), with four independent TX/RX channels, capable of streaming up to 250 MSamples/s per channel. The USRP X410 was used as a multi-antenna receiver and was connected to the workstation through the QSFP28 interface using a 100 Gbps Ethernet adapter.

Figure 2.

Figure 2

Host computer: SiComputer Extrema Workstations W200.

Figure 3.

Figure 3

Ettus Research USRP X310, and NI Ettus USRP X410 on the right.

In order to assess the performance of the RLRT, GRLT, ERD and ED SS schemes, we assumed, as a primary user signal, there was a single carrier QPSK-modulated signal at a carrier frequency of fc=3.85 GHz with a baud rate Rs of 1 MBd/s. We used four samples per symbol; therefore, the USRP radios were set to a sample rate of fs=4 Msamples/s. The narrow band was chosen for the primary signal to ensure there was a flat fading channel. Given the four channels of the USRP X410, K=4, and we performed the experiment for both N=20 and N=40 samples.

Thresholds were computed previously for several values of Pfa and stored offline in a lookup table. While for the ED, the situation is quite straightforward, for RLRT, we used Momar Dieng’s MATLAB package “RMLab” [36], which provides the CDF FTW2 of the TW2 distribution. We computed the centering and scaling parameters as in (20) and (22), and then we used the bisection method to retrieve the correct threshold tRLRT value for any input Pfa. For ERD, we first used the same “RMLab” package to compute the scaled and centered PDFs fλmax(tx) and fλmin(x) of the TW2 distribution as defined in (28) and (29), respectively, for different values of t; secondly, we obtained the PDF of the ERD as in (30) by means of numerical integration for each value of t; lastly, we obtained the CDF of ERD by numerically integrating the pdf, and we used the bisection method again to retrieve the correct threshold tERD value for any input Pfa. Finally, for GLRT, we used the routines in [26], providing the inverted modified distribution of (41).

The SDR experiment can be condensed into three phases:

  • 1.
    Noise variance estimation under H0: In this phase, no transmission occurred, and the USRP X410 acquired samples over its four channels for a total duration of T0=4 s. Under the null hypothesis, the Maximum Likelihood estimation of the noise variance σv2 can be written as follows:
    σ^v2=Y|H0F2KN. (42)
  • 2.
    Primary user signal transmission and multi-antenna acquisition under H1: The USRP X310 was set up to continuously transmit the QPSK-modulated signal, and, simultaneously, the USRP X410 acquired samples under H1 again for T0=4 s. We can estimate the SNR ρ^ at the receiver using the following approach:
    ρ^=Y|H1F2KNσv2^1 (43)
  • 3.

    Performance evaluation and comparison with simulated data: In the last phase, we processed the acquired samples into slots of N samples, and we computed the RLRT, ERD, GLRT, and ED test statistics. The results were generated through error counting by means of ROC curves for a specific SNR value and by means of a Pd vs. SNR curve for a specific Pfa value. In particular, for a fixed Pfa, the points of each curve were obtained from the experimental setup by progressively increasing the transmit gain by 0.5 dB at each step and repeating the procedure detailed in these three steps. Experimental results were compared against simulated ones; i.e., we performed a parallel Monte Carlo simulation by generating Gaussian samples with signal variance σs2=ρ^σ^v2/h2, and we applied the same test statistics and metric evaluations.

ROC curves for N=20 are reported in Figure 4, for all the considered SS schemes. Nonidealities in the experimental setup (such as interference during noise estimation, uneven noise floor levels among the four antennas, quantization noise, mulitpath fading, etc.) clearly impact the corresponding performance, which results in poorer performance than the simulated counterparts. As expected, RLRT outperformed all the other schemes, i.e., GLRT, in which there is no prior knowledge of the noise variance; the ED, which cannot make use of any information about the primary signal subspace; and, finally, ERD, which suffers from high noise sensitivity. Another relevant issue affecting the ERD is the underestimation of the denominator with respect to the case of test statistics based on estimation-theoretic criteria, such as the best-performing RLRT and the GLRT as well.

Figure 4.

Figure 4

ROC curve: N=20, K=4, and SNR=4.81 dB.

Among all nonidealities, multipath fading should be mitigated by the narrowband signal, while the uneven noise floor levels and received signal powers among the four independent channels play a pivotal role in the performance gap between the experimental and simulated results. A quantitative analysis of the unevenness of the received signal power between USRP antennas is reported in Figure 5, in which the relative full-scale received power levels are plotted against the input transmit radio gain for each USRP channel.

Figure 5.

Figure 5

Received signal plus noise power level as a function of the TX gain.

The performance curves representing the behavior of the probability of detection vs. SNR, at a target false-alarm probability of 0.01, are depicted in Figure 6 for N=20. A very similar behavior was observed for all tests, as shown in Figure 4, as the performance ranking among the analyzed algorithms was retained.

Figure 6.

Figure 6

Pd vs. SNR: N=20, K=4, and Pfa=0.01.

A complementary perspective, i.e., the probability of misdetection (Pmd=1Pd) vs. SNR, with Pfa=0.001, is reported in Figure 7, wherein, for N=20, the curves do not hold to the already observed behavior over the whole SNR range due to the highly demanding target false alarm, combined with the processing of a small number of samples. However, RLRT still outperforms the remaining schemes, and ERD offers the poorest performance in this case as well.

Figure 7.

Figure 7

Pmd vs. SNR: N=20, K=4, and Pfa=0.001.

The analysis is repeated for an increased sample size of N=40; in particular, ROC curves are reported in Figure 8, while the probability of detection vs. SNR is depicted in Figure 9. Performance ranking is unaffected by the increase of the number of collected samples, whereas the absolute performance benefits of the availability of a higher number of data. Remarkably, Figure 10 confirms that the performance ranking is fully retained for N=40.

Figure 8.

Figure 8

ROC curve: N=40, K=4, and SNR=4.99 dB.

Figure 9.

Figure 9

Pd vs. SNR: N=40, K=4, and Pfa=0.01.

Figure 10.

Figure 10

Pmd vs. SNR: N=40, K=4, and Pfa=0.001.

Overall, the experimental test statistics, with data acquired through SDR platforms, require approximately 0.5–1 more dB to achieve the same performance as the corresponding simulated ones.

As a final remark, we evaluated, based on simulated data only, the impact of employing a Gaussian primary signal on the performance of our tests and contrasted this, for each SS scheme, with our main working assumption, i.e., transmitting a QPSK-modulated signal. The curves, reported in Figure 11, confirm that, for the range of values of interest regarding the probability of detection, QPSK transmission is beneficial w.r.t. the use of a Gaussian signal.

Figure 11.

Figure 11

QPSK-modulated vs. Gaussian-distributed primary signal: Pd vs. SNR, N=40, K=4, and Pfa=0.01.

5. Conclusions

An SDR-based experimental setup was developed to evaluate the performance of multi-antenna SS algorithms under realistic conditions. In this framework, a secondary user terminal equipped with K=4 receiving antennas was employed to collect measurement data. The acquired signals were processed to estimate the false-alarm and detection probabilities associated with four SS schemes, namely, ED, ERD, the GLRT, and RLRT. A thorough review of the mathematical literature was carried out to individuate, whenever available, explicit expressions for the false-alarm performance of each considered scheme, both in the finite-size as well as in an asymptotic regime, where the number of collected samples and that of the receiving sensors both tend toward infinity at the same rate. On top of this, an explicit characterization of the GLRT test statistics in the case of a four-sensor-equipped receiver is provided. The measurement-based performance curves were then compared with the results obtained from numerical simulations. The comparison demonstrates a very close match between experimental and simulated data, confirming the reliability of the proposed setup and the validity of the adopted simulation models. Future research plans include the investigation of finite-size statistical analysis of the presented eigenbased SS schemes under an alternate hypothesis (in the presence of the primary signal); moreover, our presented analysis could be extended to a higher number of sensors, upon a hardware update, and it could include testing on colored noise as well.

Appendix A

For any positive integer m, let us define the polynomial as in Equation (29) of [14]

Lm(x)=2k=02(1)k(mk+2)!k!(2k)!xkexm!k=0m(mk+2)!k!(mk)!xk, (A1)

and recall the expression of the normalizing constant, corresponding to the case we are interested in, namely,

D4,N=13!(N1)!(N2)!(N3)!(N4)! (A2)

An expression for the PDF of (39), corresponding to K=4, is obtained from Equation (33) of [14] as follows:

f(x)=D4,NxN4ex[2LN1(x)LN2(x)LN3(x)+LN(x)LN2(x)LN4(x)  LN32(x)LN(x)LN12(x)LN4(x)LN2(x)3]. (A3)

In [14], the suggested roadmap for obtaining the explicit expression of the coefficients of interest requires one to first expand all products of the polynomials appearing in (A4); unless otherwise stated, the products of polynomials of the type

La(x)Lb(x)Lc(x),

with a,b,c{N4,N3,N2,N1,N}, are to be simplified with the help of Equation (34) of [14]:

r=0aprxrr=0bqrxrr=0clrxr=r=0a+b+ct=max{0,rc}min{r,a+b}k=max{0,tb}min{t,a}pkqtklrtxr (A4)

After collecting all coefficients for each term of the type xreix, i=1,,4 and applying the identity principle of polynomials to the newly grouped coefficients and to the Equation (6) of [14], it turns out that the required value of the ci,j’s in (40), for i=1,,4 and all corresponding values of j, is given by the coefficient of xj(N4) in the simplified polynomial according to (A4).

We remark that this procedure works only for K=4. For lower values of K, fully explicit expressions of the ci,j’s are reported from Equations (23) to (26) of [14], wherein the procedure for obtaining the expressions for K=4 is also outlined, without identifying the degree of the coefficients to be taken into account to finalize the computation.

For K5, the ci,j’s can be computed via a numerical algorithm, introduced and exploited in [37,38].

Author Contributions

Conceptualization, D.G.R. and G.A.; methodology, D.G.R. and G.A.; software, D.G.R.; validation, D.G.R. and G.A.; formal analysis, G.A.; investigation, D.G.R. and G.A.; writing—original draft preparation, D.G.R. and G.A.; writing—review and editing, D.G.R. and G.A. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are available from the first author, D.G.R., upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

Funding Statement

The work of Daniel Gaetano Riviello was partially supported by the European Union—NextGenerationEU—National Recovery and Resilience Plan (Piano Nazionale di Ripresa e Resilienza, PNRR) through the Project: “SoBigData.it—Strengthening the Italian RI for Social Mining and Big Data Analytics”, under Grant Prot. IR0000013—Avviso n. 3264 del 28 December 2021. The work of Giusi Alfano was funded by the European Union—NextGenerationEU under the project NRRP RESTART, RESearch and innovation on future Telecommunications systems and networks to make Italy more smART PE 00000001—Cascade Call SMART project, with CUP E63C22002040007.

Footnotes

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.

References

  • 1.Mitola J., Maguire G.Q. Cognitive radio: Making software radios more persona. IEEE Pers. Commun. 1999;6:13–18. doi: 10.1109/98.788210. [DOI] [Google Scholar]
  • 2.Ivanov A., Tonchev K., Poulkov V., Manolova A. Probabilistic spectrum sensing based on feature detection for 6G cognitive radio: A survey. IEEE Access. 2021;9:116994–117026. doi: 10.1109/ACCESS.2021.3106235. [DOI] [Google Scholar]
  • 3.Kortun A., Ratnarajah T., Sellathurai M., Zhong C., Papadias C.B. On the performance of eigenvalue-based cooperative spectrum sensing for cognitive radio. IEEE J. Sel. Top. Signal Process. 2011;5:49–55. doi: 10.1109/JSTSP.2010.2066957. [DOI] [Google Scholar]
  • 4.Rossi P.S., Ciuonzo D., Romano G. Orthogonality and Cooperation in Collaborative Spectrum Sensing through MIMO Decision Fusion. IEEE Trans. Wirel. Commun. 2013;12:118–125. doi: 10.1109/twc.2013.092013.130279. [DOI] [Google Scholar]
  • 5.Li Y., Zhang W., Wang C.-X., Sun J., Liu Y. Deep reinforcement learning for dynamic spectrum sensing and aggregation in multi-channel wireless networks. IEEE Trans. Cogn. Commun. Netw. 2020;6:464–475. doi: 10.1109/TCCN.2020.2982895. [DOI] [Google Scholar]
  • 6.Penna F., Garello R., Spirito M.A. Cooperative Spectrum Sensing based on the Limiting Eigenvalue Ratio Distribution in Wishart Matrices. IEEE Commun. Lett. 2009;13:507–509. doi: 10.1109/LCOMM.2009.090425. [DOI] [Google Scholar]
  • 7.Penna F., Garello R., Spirito M.A. Probability of Missed Detection in Eigenvalue Ratio Spectrum Sensing; Proceedings of the 2009 IEEE International Conference on Wireless and Mobile Computing, Networking and Communications; Marrakech, Morocco. 12–14 October 2009; pp. 117–122. [DOI] [Google Scholar]
  • 8.Wei L., Trikkonenn O. Spectrum Sensing in the Presence of Multiple Primary Users. IEEE Trans. Commun. 2012;60:1268–1277. doi: 10.1109/TCOMM.2012.022912.110073. [DOI] [Google Scholar]
  • 9.Alfano G., Riviello D.G., Garello R. Quadratic Form-Based Spectrum Sensing Algorithm for 6G Cognitive Radio Networks; Proceedings of the 2025 IEEE Wireless Communications and Networking Conference (WCNC); Milan, Italy. 24–27 March 2025; pp. 1–6. [DOI] [Google Scholar]
  • 10.Bianchi P., Debbah M., Maida M., Najim J. Performance of Statistical Tests for Source Detection using Random Matrix Theory. IEEE Trans. Inf. Theory. 2011;57:2400–2419. doi: 10.1109/TIT.2011.2111710. [DOI] [Google Scholar]
  • 11.Roy S.N. On a heuristic method of test construction and its use in multivariate analysis. Ann. Math. Stat. 1953;24:220–238. doi: 10.1214/aoms/1177729029. [DOI] [Google Scholar]
  • 12.Urkowitz H. Energy detection of unknown deterministic signals. Proc. IEEE. 1967;55:523–531. doi: 10.1109/PROC.1967.5573. [DOI] [Google Scholar]
  • 13.Riviello D.G., Alfano G. Software-Defined Radio Experimental Setup for Multi-Antenna Spectrum Sensing Algorithms; Proceedings of the 2025 IEEE-APS Topical Conference on Antennas and Propagation in Wireless Communications (APWC); Palermo, Italy. 8–12 September 2025; pp. 301–306. [DOI] [Google Scholar]
  • 14.Wei L., Tirkkonen O., Dharmawansa P., McKay M.R. On the exact distribution of the scaled largest eigenvalue; Proceedings of the 2012 IEEE International Conference on Communications (ICC); Ottawa, ON, Canada. 10–15 June 2012; pp. 2422–2426. [DOI] [Google Scholar]
  • 15.Molla D.M., Badis H., George L., Berbineau M. Software Defined Radio Platforms for Wireless Technologies. IEEE Access. 2022;10:26203–26229. doi: 10.1109/ACCESS.2022.3154364. [DOI] [Google Scholar]
  • 16.Abdellatif H., Ariyarathna V., Madanayake A., Jornet J.M. A Real-Time Software-Defined Radio Platform for Sub-Terahertz Communication Systems. IEEE Access. 2024;12:146315–146327. doi: 10.1109/ACCESS.2024.3473615. [DOI] [Google Scholar]
  • 17.Popescu D.C., Vida R. A Primer on Software Defined Radios. Infocommun. J. 2022;14:16–27. doi: 10.36244/ICJ.2022.3.3. [DOI] [Google Scholar]
  • 18.Yun Z., Lin N., Zhou S., Han S. Software-Defined Radio (SDR)-Based Real-Time WLANs for Industrial Wireless Sensing and Control. In: Ciuonzo D., Rossi P.S., editors. Wireless Sensor Networks in Smart Environments: Enabling Digitalization from Fundamentals to Advanced Solutions. John Wiley & Sons, Ltd.; Hoboken, NJ, USA: 2025. pp. 129–155. [DOI] [Google Scholar]
  • 19.Tong Z., Arifianto M.S., Liau C.F. Wireless transmission using universal software radio peripheral; Proceedings of the 2009 International Conference on Space Science and Communication; Port Dickson, Malaysia. 26–27 October 2009; pp. 19–23. [DOI] [Google Scholar]
  • 20.Simas J.P.d., Riviello D.G., Garello R. Software-Defined Radio Implementation of a LoRa Transceiver. Sensors. 2024;24:4825. doi: 10.3390/s24154825. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Digham F.F., Alouini M.S., Simon M.K. On the Energy Detection of Unknown Signals over Fading Channels. IEEE Trans. Commun. 2009;55:21–24. doi: 10.1109/TCOMM.2006.887483. [DOI] [Google Scholar]
  • 22.Zhang W., Mallik R.K., Letaief K.B. Optimization of cooperative spectrum sensing with energy detection in cognitive radio networks. IEEE Trans. Wirel. Commun. 2009;8:5761–5766. doi: 10.1109/TWC.2009.12.081710. [DOI] [Google Scholar]
  • 23.Muradi V.S., Paithane R.K., Ahmed A., Pawar A. Spectrum sensing in cognitive radio using Labview and NI USRP; Proceedings of the 2018 2nd International Conference on Inventive Systems and Control (ICISC); Coimbatore, India. 19–20 January 2018; pp. 1316–1319. [DOI] [Google Scholar]
  • 24.Nafkha A., Naoues M., Cichon K., Kliks A. Experimental spectrum sensing measurements using USRP Software Radio platform and GNU-radio; Proceedings of the 2014 9th International Conference on Cognitive Radio Oriented Wireless Networks and Communications (CROWNCOM); Oulu, Finland. 2–4 June 2014; pp. 429–434. [DOI] [Google Scholar]
  • 25.Riviello D.G., Alfano G., Garello R. Quadratic Forms in Random Matrices with Applications in Spectrum Sensing. Entropy. 2025;27:63. doi: 10.3390/e27010063. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Nadler B. On the distribution of the ratio of the largest eigenvalue to the trace of a Wishart matrix. J. Multivar. Anal. 2011;102:363–371. doi: 10.1016/j.jmva.2010.10.005. [DOI] [Google Scholar]
  • 27.Baik J., Silverstein J.W. Eigenvalues of large sample covariance matrices of spiked population models. J. Multivar. Anal. 2006;97:1382–1408. doi: 10.1016/j.jmva.2005.08.003. [DOI] [Google Scholar]
  • 28.Edelman A. Eigenvalues and Condition Numbers of Random Matrices. SIAM J. Matrix Anal. Appl. 1988;9:543–560. doi: 10.1137/0609045. [DOI] [Google Scholar]
  • 29.Matthaiou M., Mckay M.R., Smith P.J., Nossek J.A. On the condition number distribution of complex Wishart Matrices. IEEE Trans. Commun. 2010;58:1705–1717. doi: 10.1109/TCOMM.2010.06.090328. [DOI] [Google Scholar]
  • 30.Kang M., Alouini M.-S. Largest eigenvalue of complex Wishart matrices and performance analysis of MIMO MRC systems. IEEE J. Sel. Areas Commun. 2003;21:418–426. doi: 10.1109/JSAC.2003.809720. [DOI] [Google Scholar]
  • 31.Zanella A., Chiani M. On the Distribution of the ℓ-th Largest Eigenvalue of Spiked Complex Wishart Matrices. Acta Phys. Pol. B. 2020;51:1687–1705. doi: 10.5506/APhysPolB.51.1687. [DOI] [Google Scholar]
  • 32.Féral D., Péché S. The largest eigenvalues of sample covariance matrices for a spiked population: Diagonal case. J. Math. Phys. 2009;50:073302. doi: 10.1063/1.3155785. [DOI] [Google Scholar]
  • 33.Besson O., Scharf L.L. CFAR matched direction detector. IEEE Trans. Signal Process. 2006;54:2840–2844. doi: 10.1109/TSP.2006.874782. [DOI] [Google Scholar]
  • 34.Kortun A., Sellathurai M., Ratnarajah T., Zhong C. Distribution of the Ratio of the Largest Eigenvalue to the Trace of Complex Wishart Matrices. IEEE Trans. Signal Process. 2012;60:5527–5532. doi: 10.1109/TSP.2012.2205922. [DOI] [Google Scholar]
  • 35.Dissanayake P., Dharmawansa P., Chen Y. Distribution of the Scaled Condition Number of Single-Spiked Complex Wishart Matrices. IEEE Trans. Inf. Theory. 2022;68:6716–6737. doi: 10.1109/TIT.2022.3180286. [DOI] [Google Scholar]
  • 36.Dieng M. Distribution functions for edge eigenvalues in orthogonal and symplectic ensembles: Painlevé representations. Int. Math. Res. Not. 2005;2005:2263–2287. doi: 10.1155/IMRN.2005.2263. [DOI] [Google Scholar]
  • 37.Maaref A., Aissa S. Closed-form expressions for the outage and ergodic Shannon capacity of MIMO MRC systems. IEEE Trans. Commun. 2005;53:1092–1095. doi: 10.1109/TCOMM.2005.851564. [DOI] [Google Scholar]
  • 38.Dighe P.A., Mallik R.K., Jamuar S.R. Analysis of transmit-receive diversity in Rayleigh fading. IEEE Trans. Commun. 2003;51:694–703. doi: 10.1109/TCOMM.2003.810871. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data that support the findings of this study are available from the first author, D.G.R., upon reasonable request.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES