1. Introduction
Nowadays, the electromagnetic spectrum has become increasingly crowded, especially due to the development of mobile communications. Thus, it is noticed that channels with different bandwidths are used, from narrowband to wideband. The 4G generation of mobile communications uses variable channel bandwidths, from 1.4 to 20 MHz, while IEEE 802.11n/ac/ax wireless local area networks, to improve data throughput, extend channel bandwidths up to 160 MHz. In addition, channel resource access techniques and digital modulation methods create electromagnetic field variability in both amplitude and time.
The efficient use of resources requires real-time knowledge of the electromagnetic spectrum. In this context, a different approach to monitoring the electromagnetic spectrum is needed. International Telecommunication Union (ITU) has issued several recommendations regarding electromagnetic spectrum monitoring equipment [
1]. Thus, due to the large variability in time, it is recommended that the measurements be performed in real time and the analysis of the electromagnetic spectrum include not only an amplitude analysis but also a phase analysis of the spectral components [
1]. Monitoring strategies for the electromagnetic spectrum have been reviewed in several countries [
2,
3,
4]. Thus, in the USA, starting in 2013, the National Telecommunications and Information Administration (NTIA) and the National Institute of Standards and Technology (NIST) initiated new electromagnetic spectrum monitoring capabilities [
2,
5]. By implementing these capabilities, a specific infrastructure for electromagnetic spectrum monitoring has been developed and the results of electromagnetic field measurements can be easily accessed in real time using Internet facilities. To this end, a pilot program involving industry entities, academia and government agencies was developed, with the objective of generating a database called the Measured Spectrum Occupancy Database (MSOD).
Some recent studies have shown that electromagnetic spectrum monitoring suffers from two essential limitations [
6,
7]: lack or reduced scalability and lack of supporting applications to be operated directly by the monitoring sensor. The electromagnetic monitoring is the responsibility of government agencies, which usually use expensive monitoring stations. This makes scalability limited or even nonexistent. The monitoring stations are usually composed of high-performance spectrum analyzers that already have various functions implemented. This creates a relatively closed environment for further processing of the recorded data.
A low-cost alternative to deploying a spectrum monitoring station was recently offered by Software Defined Radio (SDR) technology. The requirements for large-scale broadband real-time monitoring are successfully met [
7]. Due to the relatively low price of SDR platforms, the number of sensors in the entire architecture of the monitoring network may become much higher. Additionally, their small size and flexibility offer the possibility of placing them in different locations. In this way, the qualitative and quantitative descriptors of the electromagnetic environment are substantially improved.
Several electromagnetic spectrum monitoring solutions have recently been proposed—for example, the Microsoft Spectrum Observatories (
https://www.google.com/get/spectrumdatabase/ (accessed on 24 March 2021)). A recent project is the ElectroSense project (
https://electrosense.org/ (accessed on 24 March 2021)), which is the first initiative that aims to exploit the facilities offered by low-cost programmable spectrum sensors, such as SDR sensors [
8,
9,
10].
The adequacy of SDR platform parameters for real-time and accurate monitoring is an important factor in the design of the monitoring station. This depends on the characteristics of the monitored signals (bandwidth, frequency range, duration of symbols used for data packaging, transmission technique to access the channel resources, spatial distribution of data using Multiple Input-Multiple Output (MIMO) and beamforming techniques, etc.). Recently, specialists have reported several electromagnetic spectrum monitoring stations based on SDR technology [
11,
12,
13,
14,
15]. The main characteristics of an SDR platform that will influence the performance of a monitoring station are as follows: frequency range, sampling frequency and resolution of the digital–analog converter [
16,
17,
18]. The applications of SDR platforms have expanded as a result of the benefits offered by software processing, a series of results that have been recently reported in many areas [
19,
20,
21,
22].
The key factors that define the figure of merit of a sensor for electromagnetic spectrum monitoring are [
7]: low cost; small form-factor; wide-band; distributed; real time; commercial off-the-shelf (COTS) hardware; flexibility. The SDR receiver proposed in [
23] has a recording time of 4 s, and the power spectrum is computed via Fast Fourier Transform (FFT), at a resolution of 8192 points. For a sampling frequency of 100 MHz, a frequency resolution of 100 MHz/8192 = 12.207 kHz resulted. Other features are the following: frequency range of (9 kHz–3500 MHz); the noise factor of the receiver is 6 dB; the resolution of the digital analog converter is 16 bits; search speed is 1 GHz/s and real-time acquisition band is at least 16 MHz [
23].
A sensor whose structure is based on low-cost commercial off-the-shelf (COTS) hardware components is proposed in [
7]. The radio interface is the RTL-SDR USB platform and allows a typical sampling frequency of 2.4 MS/s. The cost of such a sensor is less than USD 100. Comparative evaluations of a Universal Software Radio Peripheral (USRP) SDR platform have shown that the sensitivity is approximately 10 dB lower than the USRP’s. The low-cost monitoring system is able to sense, analyze and compress a lossless 2.4 MHz band at a frequency resolution of less than 10 kHz [
7].
Another electromagnetic field sensor that also has a radio interface of the RTL-SDR USB platform is presented in [
8]. The sensor is configured in two acquisition modes. The first mode allows determination of the power spectral density (PSD) by implementing processing operations at the sensor level (sampling windowing, FFT, averaging, data compression). The second acquisition mode does not use processing at the sensor level, but directly records the In-phase and Quadrature (IQ) components of the raw signal samples. The RTL-SDR radio interface is controlled by a Raspberry Pi device to reduce the cost. Depending on the compression factors and data averaging, transfer rates of the order of 50–100 Kb/s are obtained in the PSD mode, while much higher data transfer rates are obtained, up to the 50 Mb/s, in the IQ acquisition mode [
8].
The present paper aims to design and implement an electromagnetic spectrum monitoring station with real-time analysis capabilities to track signals emitted in the TETRA communications standard. The TETRA standard was designed for emergency situations and is used primarily by government agencies [
24,
25].
A sensor for monitoring TETRA signals was initially tested by the authors of this paper and the preliminary results are reported in [
26]. This sensor has been improved and thus new TETRA signal monitoring capabilities have been developed.
The main contributions of the current work are:
Integration of a Geo-Location module and new support applications have been added
A low-cost Global Navigation Satellite System (GNSS) module has been integrated into the sensor. A software application has been added to calculate the power of each TETRA channel. The readings from the GNSS module were synchronized with the measurement of the power of the TETRA channels.
Real-time processing capabilities and instantaneous acquisition frequency bandwidth have been improved
An extension has been added through which the sensor can be used either for the Uplink frequency range or for the Downlink frequency range. In this way, it is possible to monitor the emissions of both the terminal and the base stations. Several SDR platforms on the market have been tested. A platform has been chosen and integrated into the monitoring sensor that allows real-time acquisition of the full range of TETRA signals.
COTS sensor and a small form-factor have been achieved
In order to improve the portability of the sensor its size and weight have been reduced substantially. The design and implementation of the sensor took into account the choice of COTS hardware components. The SDR platform was controlled with a Raspberry Pi device. This led to the low price of the sensor.
The main benefit of our sensor is that the data are collected simultaneously, in real time, for all TETRA channels, and the information, after processing, can be obtained in detail for each TETRA channel separately. As a general goal, we aimed to achieve a sensor capable of providing a complete real-time characterization of TETRA signals in all four dimensions: amplitude, time, frequency, space (location).
Next, the work is organized as follows: in
Section 2, the measurement sensor based on the SDR platform is presented in detail and the method of monitoring the electromagnetic spectrum specific to the TETRA standard is explained.
Section 3 presents the results following the calibration of the system in laboratory conditions and testing in real environmental conditions.
Section 4 formulates the general conclusions of the work.
2. Material and Methods
The main features of the TETRA standard are [
24]: 25 kHz channel bandwidth; 200 channels in a 5 MHz frequency band; duplex working mode (between 380 and 385 MHz for mobile station (MS) and between 390 and 395 MHz for base station (BS)); access to communication channel resources based on frequency access techniques (Frequency Division Multiplexing Access—FDMA) but also in time (Time Division Multiplexing Access—TDMA). From the perspective of real-time acquisition, the following characteristics must be taken into account: frame length: 56.67 ms; slot duration: 14.167 ms; duration of a multiframe (18 frames): 1.02 s. According to the specifications of the TETRA standard, a monitoring station devoted to BS measurement should simultaneously acquire 200 channels, each with a bandwidth of 25 kHz, in the frequency range from 390 to 395 MHz, with an acquisition time of less than 14 ms.
2.1. The Procedure of TETRA Signal Channel Power Determination
Figure 1 shows the processing operations through which the monitoring results of the TETRA signals were obtained. In the case of measurements made in laboratory conditions, TETRA signals are provided by a signal generator, while in the case of measurements in real conditions, they were obtained by means of a receiving antenna scanning the TETRA network emissions.
The radio interface based on the SDR platform acquires the TETRA signals, transforms them into digital format and records them sequentially. Subsequently, the IQ signal samples obtained at the output of the radio interface are applied to the FFT processor for characterization in the frequency domain. The frequency resolution obtained is given by the ratio between the sampling frequency Fs and the number of points N necessary for the FFT calculation, as shown in Relation (1), based on [
27]:
If the sampling frequency is 5.12 MHz and the number of points N is 2048, a resolution of 2.5 kHz is obtained. If we take into account the fact that the bandwidth of the TETRA channel is 25 kHz, it means that 10 points are used for the calculation of the channel power. Through software applications, following the processing of spectral lines resulting from the application of FFT, the TETRA signals can be characterized in detail (for example, the power of each channel can be calculated, etc.).
The method of the TETRA channel power calculation is presented graphically in
Figure 2. At each FFT bin, the details of the TETRA signals will be considered. Starting from the fact that the TETRA spectrum occupies a bandwidth of 5 MHz centered on the frequency of 382.5 MHz in the case of Uplink and on 392.5 MHz in the case of Downlink, a sampling frequency of 5.12 MHz was established for the FFT calculation. In this way, a bandwidth of 0.12 MHz (0.06 MHz left and right, respectively, of the TETRA spectrum) remains outside of the spectrum of interest. The power of a TETRA channel is calculated through the amplitudes of the spectral lines inside the channel. Thus, for this purpose, the mathematical expression presented in [
28] will be applied (2):
where:
Pchi represents the power expressed in dBm calculated for channel
i (
i = 0, …, 199);
Bch represents the TETRA channel bandwidth (in this case 25 kHz);
BNIF represents the band of the noise filter used;
Pi represents the power in dBm corresponding to each pixel (spectral line);
Ni+1 and
Ni represent the indexes of the measurement points for each TETRA channel.
In general, the points between which we find the channel
i (
i = 0, …, 199) are determined with the relations of (3):
Therefore, the selection of a TETRA channel is made by identifying the spectral lines corresponding to the channel and the calculation of the channel power takes place further by applying Relation (2).
2.2. Sensor Design and Implementation: Software Applications
The software applications were designed and implemented in the free and open-source GNU Radio software development toolkit. In 2001, Eric Blossom began implementing the GNU Radio project in order to provide a general framework for SDR platforms in terms of software control [
29].
Software application for data control and processing in the case of our sensor includes several modules. Some of them are made with existing signal processing blocks available in libraries of the GNU Radio toolkit, others have been written and implemented especially for our sensor needs.
Figure 3 shows the radio interface module of the SDR platform. The module is built with existing GNU Radio blocks and it also includes: a block for displaying the spectrum (QT Frequency Sink), a block for saving IQ samples (File Sink) and a block that prepares the
N samples for the purpose of FFT calculation (Stream to Vector). The vector size is given by the number of FFT calculation points (FFT_size).
In
Figure 4, the module of data logging and FFT calculation is presented. The block can be found in the GNU Radio libraries. The number of calculation points of the FFT is imposed by means of the variable FFT_size. Additionally, depending on the purpose, different types of windows can be chosen: rectangular, hamming, blackman, etc.
Figure 5 emphasizes the power calculation module of the TETRA channel (Channel Power Measurement). The module was written specifically for this purpose in Python and imported into GNU Radio. Basically, this module implements the procedure presented in
Section 2.2.
In
Figure 6, we show the module devoted to the selection the TETRA channel and to the displaying of its power. The module consists of the GNU Radio blocks already available.
Figure 7 shows the Geo-Location module. This module was written specifically in Python and has the role of integrating the measurements provided by a low-cost GNSS receiver into our monitoring sensor. The reason for choosing the GNSS receiver was that it has the advantage of accessing several satellites simultaneously. This leads to an increased positioning accuracy, a decreased redundancy and an increased availability of the received positioning data, even when the field of view of satellites is partially obstructed.
The used GNSS receiver is able to catch signals from the GPS and GLONASS satellite constellations and manages to have a positioning accuracy of about 2.5 m. Data from the GNSS receiver are transmitted to the sensor using the NMEA-0183 protocol. The Python application interprets the Recommended Minimum Specific GNSS Data (RMC) messages and synchronizes the position with the measurements made on the TETRA signals. The data are then saved in a *.csv file type for further processing. Additionally, through the Qt QML Map block, the data are displayed on the map.
2.3. Sensor Testing Methodology in the Laboratory
The TETRA signals’ monitoring sensor was tested in laboratory conditions based on three SDR platform models: ADALM Pluto, Hack RF One and NI USRP 2930. The results of the measurements performed with our sensor were compared with those performed by a high-performance Rohde & Schwarz spectrum analyzer, model FSV13, which was used as reference. The TETRA signal source was provided by a Rohde & Schwarz SMBV 100 A vector signal generator. Additionally, in the sweep mode, the Rohde & Schwarz SM 300 vector signal generator was used.
Figure 8 shows the measurement set-up containing the three SDR platform models, the R&S SMV 100 A signal generators, the R&S SM300 and the R&S FSV13 spectrum analyzer.
Three SDR platform models were chosen based on the following criteria: low-cost price (for this purpose, the SDR platforms ADALM Pluto and Hack RF One were chosen); real-time monitoring capabilities for a bandwidth of at least 5 MHz (for this purpose, the minimum acquisition band for each platform must be 5 MHz); small dimensions and the possibility of using a USB power supply in order to have a portable sensor (this is accomplished by the low cost of ADALM Pluto and Hack RF One platforms); high-quality monitoring capabilities (sensitivity, amplitude dynamic range, etc.) if precise measurement results are expected (for this purpose, the SDR NI USRP 2930 platform was chosen).
The HackRF One platform has the following characteristics: frequency range: 1 MHz to 6 GHz; instantaneous bandwidth: up to 20 MHz; interface: USB 2.0; analog digital converter (ADC) resolution: 8 bits. The ADALM Pluto platform has the following characteristics: frequency range: 325 MHz to 3.8 GHz; up to 20 MHz of instantaneous bandwidth; 12-bit ADC resolution. The two platforms are low-cost and were chosen from the perspective of analyzing the influence of the resolution of the digital analog converter on the sensor performance. For the NI USRP 2930 platform: frequency range: 50 MHz to 2.2 GHz; 14-bit ADC resolution; maximum real-time instantaneous bandwidth: 20 MHz; noise figure: 5 to 7 dB.
The laboratory tests of the sensor included: the frequency response in the range of TETRA signals (for Downlink, between 390 and 395 MHz); analysis of the amplitude dynamic range; adjacent channel interference attenuation analysis; determining the sensor’s own noise level; analysis of the influence of the number of FFT points on the sensor’s performance. The tests comprised all three SDR platforms, and a comparison was made with the reference values obtained by using the professional R&S FSV13 analyzer in the same measurement conditions.
The R&S SM300 signal generator was used to study the frequency response. Its settings were: sweep operating mode in the frequency range from 390 to 395 MHz; frequency step: 1 kHz; dwell time: 200 ms.
The study of the dynamic amplitude range was performed using the R&S SMBV 100 A generator as a signal source emitting a TETRA channel (channel 131, central frequency 393.2875 MHz) with an output level from −112 to −32 dBm.
The attenuation of the adjacent channel was determined both for the 1st order adjacent channels and for the 2nd order adjacent channels. For this purpose, an R&S SMBV 100 A signal generator was used.
The study of the noise of the SDR platforms and of the R&S analyzer FSVR13 was performed by measuring the noise power of the TETRA channel in the conditions in which the load impedance of 50 ohms was connected to the RF input.
An analysis of the influence of the FFT number of points was performed taking into consideration three cases: 2048 points (frequency resolution of 2.5 kHz); 4096 points (frequency resolution of 1.25 kHz) and 8192 points (frequency resolution of 0.625 kHz).
2.4. Sensor Testing Methodology in the Real Environment
The design and implementation of the sensor were based of the assumption of achieving a low-cost sensor with a high degree of portability, to be simply used for outdoor measurements. The size, weight and power are important requirements. The sensor’s control was achieved in two variants: (a) with a laptop; (b) with a Raspberry Pi device. The small single-board computer had the following characteristics: Processor: Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5 GHz; RAM: 4 GB LPDDR4-3200 SDRAM; Connectivity: 2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE, Gigabit Ethernet; Power supply: 5 V DC via USB-C connector (minimum 3 A).
To meet the mobility conditions and to ensure the local control interface of the Raspberry computer, it was equipped with a high-performance display model HyperPixel 4.0. The protection of the components of the Raspberry device was provided by preparing a 3D printed resin housing (short curing time, high level of details with firm edges and smooth surfaces). The housing has a system of holes that allow optimal operation of the fan by passing the air flow to the outside.
Figure 9 shows the portable sensor with all its components. The approximate cost of such a sensor is EUR 320 (ADALM Pluto SDR platform: approx. EUR 130; HiperPixel 4.0 touch display: approx. EUR 40; Raspberry Pi: approx. EUR 50; Cooling fan: approx. EUR 10; Housing: approx. EUR 10; Motorola GMAE4256 magnetic antenna: EUR 45; GN-803G USB GNSS GPS GLONASS Receiver: EUR 12; External accumulator Huawei SuperCharge, rated capacity 6800 mAh-5 V 4 A: EUR 20).
A virtual private network (VPN) was implemented for remote sensor management. The network architecture is shown in
Figure 10. The VPN server was deployed on a Raspberry Pi 3B+ computer, using the open source OpenVPN solution. The sensors were configured to automatically connect to the VPN when they start, when there is an Internet connection available. This creates a private virtual network that works regardless of how customers (sensors) are connect to the Internet. The system administrator thus has direct access to the sensors regardless of how they connect to the Internet. They can establish Secure Socket Shell (SSH) connections to configure the operating system, or can view and operate directly in the graphical interface of the sensors using the graphical desktop interface sharing system, Virtual Network Computing (VNC).
The Internet connection of the sensors is made through Wi-Fi access points, in the 2.4 or 5 GHz bands, with the communication infrastructure being provided by both mobile data service providers and data service providers through wired networks (in the case of sensors located in fixed locations). The files resulting from the measurements and deposited in the storage memory of each sensor are automatically synchronized on the File Transfer Protocol (FTP) server, at programmable time intervals, using the rsync utility. This has the advantage of greatly reducing data traffic in the network as the synchronization of files is carried out by checking the time of files’ modifications and their sizes, with the data transmission taking place only if necessary.
In order to process the data recorded by the field sensors, a software application has been written. It allows different analyses—for example, the representation of the electromagnetic field level measured by a particular sensor on the map, on any of the 200 TETRA channels.
The field testing (in situ) of the sensor took into account not only the static sensor, but also the moving one. Therefore, its placement on a vehicle was considered, while data collection through the private remote management network and the subsequent analysis of the results were enabled. The itineraries of the vehicle carrying the sensor were chosen so as to allow a constant travel speed. A study of the influence of certain different dynamics situations on data accuracy of the TETRA channels measurements was also performed.
4. Conclusions
The present paper aimed to design, implement and test a sensor based on SDR technology that is able to monitor the entire electromagnetic spectrum of the TETRA signals.
We focused specifically on achieving a sensor that would allow large-scale monitoring of the electromagnetic spectrum. We obtained a sensor made with COTS hardware components and with technical characteristics comparable to those of a high-performance monitoring system built by well-known suppliers. The advantage of this is that the cost is very low.
The sensor has been tested both in laboratory conditions and in real outdoor operating conditions. Real-time information on all TETRA channels can solve problems such as: radio coverage determination, signal classification based on the values of channel power; intrusion or interference detection. The accuracy of the sensor was validated by comparing the measurements with a high-performance spectrum analyzer. The evaluation of the sensor will continue with the implementation of an uncertainty budget calculation procedure for the measurements. For this purpose, the combined standard uncertainty for the measured power levels will be determined by extracting probability density functions of the uncertainties of the input quantities and then applying the uncertainty equation.
Future research directions consist of: expanding storage capacities at the level of the monitoring network by creating a database, especially with IQ signal samples; testing of Big Data and Machine Learning algorithms in order to process the data resulting from the long-term acquisition; expanding the monitoring capabilities of low-cost sensors and other signals, especially in the case of broadband signals (for which the instantaneous acquisition must cover bandwidths of the order of 100 MHz).