Next Article in Journal
Conscious Walk Methodology Design for Acoustic, Air Quality and Biodiversity Evaluation in Urban Environments
Previous Article in Journal
A Capacitive Biosensor for the Early Detection of Pancreatic Cancer Using Carbohydrate Antigen 19-9
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Unsupervised and Computationally Lightweight Spectrum Sensing in IoT Devices †

by
Rubén Martín-Clemente
1,*,‡ and
Vicente Zarzoso
2,‡
1
Signal Processing and Communications Department, University of Seville, 41092 Sevilla, Spain
2
Laboratoire d’Informatique, Signaux et Systèmes de Sophia Antipolis (I3S), Université Nice Côte d’Azur, 06903 Nice, France
*
Author to whom correspondence should be addressed.
Presented at the 9th International Electronic Conference on Sensors and Applications, 1–15 November 2022; Available online: https://ecsa-9.sciforum.net/.
These authors contributed equally to this work.
Eng. Proc. 2022, 27(1), 76; https://doi.org/10.3390/ecsa-9-13159
Published: 1 November 2022

Abstract

:
Principal component analysis (PCA) is a widespread technique in data analysis. Recently, the L1-norm has been proposed as an alternative criterion to classical L2-norm in PCA due to its greater robustness to outliers. The present work shows that, with a whitening step, L1-PCA can perform spectrum sensing and modulation recognition in IoT applications. Numerical experiments confirm this finding.

1. Introduction

The pressure on the radio spectrum is increasing as more and more Internet of Things (IoT) devices are deployed, as most of them communicate via wireless technology. Spectrum sharing poses serious challenges for stakeholders when massive amounts of data need to be transmitted, as both spectrum availability and bandwidth remain scarce resources, even after the advent of the impressive 5G technology. In the search of efficient solutions, there is a growing interest in incorporating cognitive radio technologies into IoT devices [1]. A cognitive radio is a wireless transceiver that can adapt its behavior to the environment. In particular, among other capabilities, the device must be able to automatically select the best channel in real time. The ultimate goal of cognitive radio is to make optimal and efficient use of the radio spectrum [2].
The key feature of cognitive radio devices is their spectrum-sensing capability: they must be able to detect whether a wireless channel is occupied and, if so, recognize the type of modulation of the radiofrequency signal in the channel. This is necessary, for example, to detect whether it is a primary user or an interferer who occupies the spectrum. To perform this recognition, matched filters or certain properties of the modulated signals, such as cyclostationarity, have been traditionally exploited [3,4]. In addition, deep learning techniques have recently been reported to perform well in classifying radiocommunication signals [5,6,7,8].
However, previous approaches for modulated signal recognition have a high computational complexity, which limits the ability of IoT transceivers to adapt to variations in their radio environment. In this communication, we will present a new method for spectrum sensing and categorization of modulated signals that has two main features (1) it is unsupervised and (2) it is computationally simple, so that it can operate even with IoT devices with limited capabilities and adapt in real time to changes in the channel. The proposed approach exploits properties of the L1 standard that have been explored in our previous work [9]. Experiments demonstrate the feasibility of the proposed approach.

2. Material and Methods

2.1. L1-Norm Principal Component Analysis

This section presents the foundations of the principal component analysis (PCA) based on the L1 norm [10,11,12], which is the theoretical method that underpins the approach presented in this paper.
Consider the observation of N samples x 1 , x 2 , , x N drawn from a d-dimensional random variable x R d , where it is assumed that the sample mean of the observed dataset is zero. The aim of traditional PCA is to find a direction defined by unit vector w R d , w 2 = 1 , such that the variance of all points in the set of projected samples
y n = w x n
is maximal. By defining vector y = [ y 1 , y 2 , , y N ] , the problem can be expressed in mathematical form as follows:
max w 2 = 1 y 2 = max w 2 = 1 n = 1 N w x n 2 .
Alternatively, by writing y = X w , where X = [ x 1 , , x N ] R d × N is the matrix that collects the observed data points, the problem can be recast as:
max w 2 = 1 X w 2 .
The main drawback with this method is that the square in (2) magnifies the effects of large outliers and, hence, this approach degrades when there is faulty data. To solve it, Ref. [10] proposed to replace the quadratic function by the absolute value, thus yielding the following optimization problem:
max w 2 = 1 y 1 = max w 2 = 1 X w 1 .
where
y 1 = n = 1 N | y n |
is the L1-norm of vector y . This new version of PCA has been given the name L1-norm based PCA or, simply, L1-PCA.
The maximization in (3) can be carried out using the low-computational-load-algorithm proposed by Kwak [10], whose main loop consists of the following two steps (observe the algorithm has no parameters to adjust):
  • y = X w i ;
  • w i + 1 = sign ( y ) X sign ( y ) X 2 .
where w i is the value of w after the ith iteration. It can be shown that this algorithm monotonically increases the objective function y 1 so that the algorithm converges at least to a local maximum. In case we want to find several optimal directions, say P, the algorithm is run P times with the constraint that the direction obtained after the k-th run, w k , must be orthogonal to w 1 , , w k 1 .

Discriminative Capabilities of the L1-Norm

Whitening is a common data pre-processing technique. It consists in linearly transforming the data such that the elements of the data vector become uncorrelated and of unit variance. Under a whitening constraint, therefore, the data covariance turns out to be equal to the identity matrix, i.e.,
1 N X X = I .
This is actually the generalization of standardizing the variables in the univariate case. Likewise, it can always be carried out without any loss of generality. In fact, there exist many whitening procedures and some of them are cost-effective [13].
It can be shown that, under the whitening assumption, L1-PCA is useful in classification problems. Specifically, close connections with Fisher’s linear discriminant analysis and the Fukunaga–Koontz transform (also known as ‘common spatial patterns’ technique) have been rigorously proven in [9,14]. Furthermore, L1-PCA can emulate these two techniques in a completely unsupervised manner. It is precisely these characteristics that have encouraged the present research.

3. Link to Modulation Recognition

A modulated signal can be expressed in general terms by the following expression [15]:
x ( t ) = i ( t ) cos ( 2 π f c t ) q ( t ) sin ( 2 π f c t ) ,
where i ( t ) and q ( t ) are named in phase and quadrature components, respectively, and f c is the carrier frequency. Each family of modulations, analog or digital, can be distinguished because it builds i ( t ) and q ( t ) in a different and characteristic way. For example, in a QAM modulation,
i ( t ) = k I k r ( t k T ) q ( t ) = k Q k r ( t k T )
where I k and Q k represent the coordinates of the k-th transmitted symbol in the QAM constellation diagram, T is the symbol duration time and r ( t ) is a pulse-shaped waveform of width T.
The best known approach to modulation recognition consists of two steps. First, distinctive features are extracted from the modulated signals, and second, a pattern recognition system is applied to determine the type of modulation. In the classic reference paper of Nandi and Azzouz [16], nine fundamental features have been proposed, all of which can be used to discriminate one modulation from others. These include the ‘maximum spectral power density of the normalized signal’, i.e.,
γ max = m a x | D F T [ x c n ( t ) ] | 2
where x c n ( t ) = x ( t ) x ¯ x ¯ , x ¯ is the average of the instantaneous amplitude of the signal and D F T stands for the discrete fourier transform; the ‘spectrum symmetry’, i.e.,
P = P L P U P L + P U
where P L and P U are the powers in the upper and the lower sidebands, and the ‘kurtosis’, which is defined by:
k = E { x c n 4 ( t ) } { E { x c n 2 ( t ) } } 2 .
The computation of these features is computationally intensive, however, which limits the practical application of this approach in IoT devices. As an alternative, we propose a method that only requires projecting the data in the appropriate directions, i.e., performing a reduced number of additions and multiplications. These directions will be precisely those determined by L1-PCA, which, unlike the previous features, can be computed offline and stored on the device. This approach has its theoretical roots in the relationship between the L1 norm and the kurtosis [17], which is one of the classical features proposed by Nandi and Azzouz [16], and the discriminative characteristics of this variant of PCA [9,14]. For reasons of space, a more detailed explanation will be left for future papers. The basics of the algorithm are illustrated by an example in the following Section.

4. Experimental Results

In this experimental demonstration, 64-QAM (Quadrature Amplitude Modulation), AM-DSB (Amplitude Modulated Double-SideBand transmission), and GFSK (Gaussian Frequency Shift Keying o GFSK) modulated signals have been used. These are representative of many real-world applications: 64-QAM is a typical subcarrier modulation in 5G, AM-DSB is a widely used analog modulation and GSFK is used, among others, by Bluetooth transceptors. Raw data are taken from the RADIOML 2016.10A dataset, which is one of the standards for research in this field and is publicly available at the RadioML website https://www.deepsig.ai/datasets (accessed on 1 September 2022). The dataset contains 1000 fragments or frames, all composed of 128 samples, of in-phase and quadrature components for each modulation type, although for simplicity only the in-phase components will be used in the experiments. Figure 1 shows some randomly chosen waveforms.
Therefore, the experiment considers 1000 samples x 1 , x 2 , , x 1000 from each modulation type, with x k R 128 for all k. The signal to noise ratio (SNR), i.e., the ratio of the power of the signal to the power of the noise, is 18 dB. As a pre-processing step, we subtract from each vector x k the average of its components, which is equivalent to removing the DC value from each in-phase signal. Additionally, to equalize the power of all signals, all vectors x k are normalized to be of unit-norm. The small number of outliers detected (which actually appear to be mislabeled data) are filtered out and replaced by arbitrary waveforms of the same modulation type. Finally, all vector samples from the three modulations are put together in a matrix X R 128 × 3000 as columns.
Matrix X is whitened using the singular value decomposition and then we find orthogonal directions w i , i = 1 , , P , that maximize the L1-norm of the projected data X w i using a slightly modified variant of the algorithm in [9]. Finally, we linearly transform each data vector x k by multiplying it with matrix W = [ w 1 , , w P ] as follows:
v k = W x k .
Figure 2 shows the squared norm of the vectors v k for P = 15 , with different colors for each type of modulation. It is seen that this procedure allows us to distinguish between 64-QAM, AM-DSB, and GFSK. Each type of modulation is amplified differently after the linear transformation (recall that the norm of all raw data was normalized to one in the pre-processing step). Furthermore, the procedure is unsupervised: the algorithm has not required any data label.
Note that the calculation of the directions w i can be done offline. All the IoT device has to do is project the data onto them and compare the result with a reference threshold. In other words, it does not need to calculate any feature, which leads to considerable computational savings.

5. Conclusions

The present work has experimentally shown that L1-PCA can be used for modulation classification. L1-PCA can be carried out using several efficient algorithms recently proposed in the literature. Our future work will be focused on establishing the theoretical foundations of this approach and on developing algorithms for complex environments, including fading and substantial noise.

Author Contributions

R.M.-C. and V.Z. contributed similarly. All authors have read and agreed to the published version of the manuscript.

Funding

This work is funded by the research project ACACIA (ref. US-1264994) awarded by the Junta de Andalucía (Consejería de Transformación Económica, Industria, Conocimiento y Universidades).

Data Availability Statement

Raw data used in the experiments can be found in https://www.deepsig.ai/datasets (accessed on 1 September 2022).

Conflicts of Interest

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

References

  1. Khan, A.; Rehmani, M.; Rachedi, A. Cognitive-radio-based internet of things: Applications, architectures, spectrum related functionalities, and future research directions. IEEE Wirel. Commun. 2017, 24, 17–25. [Google Scholar] [CrossRef]
  2. Peyman, S.; Haykin, S. Fundamentals of Cognitive Radio; John Wiley & Sons: Hoboken, NJ, USA, 2017. [Google Scholar]
  3. Urriza, P.; Rebeiz, E.; Cabric, D. Multiple antenna cyclostationary spectrum sensing based on the cyclic correlation significance test. IEEE J. Sel. Areas Commun. 2013, 31, 2185–2195. [Google Scholar] [CrossRef] [Green Version]
  4. Zhang, X.; Chai, R.; Gao, F. Matched filter based spectrum sensing and power level detection for cognitive radio network. In Proceedings of the IEEE Global Conference on Signal and Information Processing (Global SIP), Atlanta, GA, USA, 3–5 December 2014; pp. 1267–1270. [Google Scholar]
  5. O’Shea, T.; Roy, T.; Charles Clancy, T. Over-the-air deep learning based radio signal classification. IEEE J. Sel. Top. Signal Process. 2018, 12, 168–179. [Google Scholar] [CrossRef] [Green Version]
  6. Cai, J.; Gan, F.; Cao, X.; Liu, W. Signal Modulation Classification Based on the Transformer Network. IEEE Trans. Cogn. Commun. Netw. 2022, 8, 1348–1357. [Google Scholar] [CrossRef]
  7. Ansari, S.; Alnajjar, K.A.; Saad, M.; Abdallah, S.; El-Moursy, A.A. Automatic Digital Modulation Recognition Based on Genetic-Algorithm-Optimized Machine Learning Models. IEEE Access 2022, 10, 50265–50277. [Google Scholar] [CrossRef]
  8. Li, J.; Xin, T.; He, B.; Li, W. IQ Symbols Processing Schemes With LSTMs in OFDM System. IEEE Access 2022, 10, 70737–70745. [Google Scholar] [CrossRef]
  9. Camargo, J.; Martín-Clemente, R.; Hornillo-Mellado, S.; Zarzoso, V. L1-norm unsupervised Fukunaga-Koontz transform. Signal Process. 2021, 182, 107942. [Google Scholar] [CrossRef]
  10. Kwak, N. Principal component analysis based on L1-norm maximization. IEEE Trans. Pattern. Anal. Mach. Intell. 2008, 30, 1672–1680. [Google Scholar] [CrossRef] [PubMed]
  11. Dhanaraj, M.; Markopoulos, P.P. On the Asymptotic L1-PC of Elliptical Distributions. IEEE Signal Process. Lett. 2022, 29, 2343–2347. [Google Scholar] [CrossRef]
  12. Markopoulos, P.P.; Karystinos, G.N.; Pados, D.A. Optimal Algorithms for L1-subspace Signal Processing. IEEE Trans. Signal Process. 2014, 62, 5046–5058. [Google Scholar] [CrossRef]
  13. Thameri, M.; Kammoun, A.; Abed-Meraim, K.; Belouchrani, A. Fast principal component analysis and data whitening algorithms. In Proceedings of the International Workshop on Systems, Signal Processing and their Applications, WOSSPA, Tipaza, Algeria, 9–11 May 2011; pp. 139–142. [Google Scholar]
  14. Martín-Clemente, R.; Zarzoso, V. LDA via L1-PCA of whitened data. IEEE Trans. Signal Process. 2020, 68, 225–240. [Google Scholar] [CrossRef]
  15. Proakis, J.; Salehi, M. Digital Communications; Prentice-Hall: New York, NY, USA, 2007. [Google Scholar]
  16. Nandi, A.K.; Azzouz, E.E. Algorithms for automatic modulation recognition of communication signals. IEEE Trans. Commun. 1998, 46, 431–436. [Google Scholar] [CrossRef]
  17. Martın-Clemente, R.; Zarzoso, V. On the Link Between L1-PCA and ICA. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 515–528. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Illustration of typical 64QAM, AM−DSB, and GFSK in−phase waveforms.
Figure 1. Illustration of typical 64QAM, AM−DSB, and GFSK in−phase waveforms.
Engproc 27 00076 g001
Figure 2. Squared norm of the projected data vectors, separated by the type of modulation. The sample rate refers to the signal frame used.
Figure 2. Squared norm of the projected data vectors, separated by the type of modulation. The sample rate refers to the signal frame used.
Engproc 27 00076 g002
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Martín-Clemente, R.; Zarzoso, V. Unsupervised and Computationally Lightweight Spectrum Sensing in IoT Devices. Eng. Proc. 2022, 27, 76. https://doi.org/10.3390/ecsa-9-13159

AMA Style

Martín-Clemente R, Zarzoso V. Unsupervised and Computationally Lightweight Spectrum Sensing in IoT Devices. Engineering Proceedings. 2022; 27(1):76. https://doi.org/10.3390/ecsa-9-13159

Chicago/Turabian Style

Martín-Clemente, Rubén, and Vicente Zarzoso. 2022. "Unsupervised and Computationally Lightweight Spectrum Sensing in IoT Devices" Engineering Proceedings 27, no. 1: 76. https://doi.org/10.3390/ecsa-9-13159

Article Metrics

Back to TopTop