원시데이터 수집 시스템
선정목록으로

Decision Tree Pattern Recognition Model for Radio Frequency Interference Suppression in NQR Experiments

관련 모빌리티 소재 · (3) 자동차 인테리어 소재

기본 정보

저자
  1. Mona Ibrahim — Department of Physics, University of Surrey, Guildford GU2 7XH, UK
  2. D. D. Parrish — Department of Physics, University of Surrey, Guildford GU2 7XH, UK
  3. Tim Brown — Institute for Communication Systems, University of Surrey, Guildford GU2 7XH, UK
  4. P. J. McDonald — Department of Physics, University of Surrey, Guildford GU2 7XH, UK
DOI
10.3390/s19143153
저널
Sensors
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
11
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s19143153
토픽
Solid-state spectroscopy and crystallography
OpenAlex ID
W2960022641

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 자동차 인테리어 소재' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Radio frequency interference places a major limitation on the in-situ use of unshielded nuclear quadrupole or nuclear magnetic resonance methods in industrial environments for quality control and assurance applications. In this work, we take the detection of contraband in an airport security-type application that is subject to burst mode radio frequency interference as a test case. We show that a machine learning decision tree model is ideally suited to the automated identification of interference bursts, and can be used in support of automated interference suppression algorithms. The usefulness of the data processed additionally by the new algorithm compared to traditional processing is shown in a receiver operating characteristic (ROC) analysis of a validation trial designed to mimic a security contraband detection application. The results show a highly significant increase in the area under the ROC curve from 0.580 to 0.906 for the proper identification of recovered data distorted by interfering bursts.

본문 51,102자

본문 펼치기
# _sensors_ _Article_ ## Decision Tree Pattern Recognition Model for Radio Frequency Interference Suppression in NQR Experiments Mona Ibrahim <sup>1,</sup> *, Dan J. Parrish <sup>1</sup> , Tim W. C. Brown <sup>2</sup> and Peter J. McDonald <sup>1</sup> 1 Department of Physics, University of Surrey, Guildford GU2 7XH, UK 2 Institute for Communication Systems, University of Surrey, Guildford GU2 7XH, UK * Correspondence: m.ibrahim@surrey.ac.uk; Tel.: +44-0148-368-6782 Received: 13 May 2019; Accepted: 14 July 2019; Published: 17 July 2019 [���������](https://www.mdpi.com/1424-8220/19/14/3153?type=check_update&version=2) [�������](https://www.mdpi.com/1424-8220/19/14/3153?type=check_update&version=2) Abstract: Radio frequency interference places a major limitation on the in-situ use of unshielded nuclear quadrupole or nuclear magnetic resonance methods in industrial environments for quality control and assurance applications. In this work, we take the detection of contraband in an airport security-type application that is subject to burst mode radio frequency interference as a test case. We show that a machine learning decision tree model is ideally suited to the automated identification of interference bursts, and can be used in support of automated interference suppression algorithms. The usefulness of the data processed additionally by the new algorithm compared to traditional processing is shown in a receiver operating characteristic (ROC) analysis of a validation trial designed to mimic a security contraband detection application. The results show a highly significant increase in the area under the ROC curve from 0.580 to 0.906 for the proper identification of recovered data distorted by interfering bursts. Keywords: nuclear magnetic resonance; nuclear quadrupole resonance; radio frequency interference; machine learning classification 1. Introduction Nuclear magnetic resonance (NMR) and nuclear quadrupole resonance (NQR) are widely used as laboratory techniques to characterize materials and processes. However, there is also interest in using these methods for in-situ sensing applications, with a growing list of established and nascent application areas—the most developed being oil-well logging [1]. Other areas include in- or by-line quality control and assurance in food processing, agri-sciences, the built environment, and security [2,3]. In these applications, measurements are typically made at a low frequency (1–10 MHz), where the sensitivity and signal-to-noise ratio are major practical issues. Noise, in its broadest sense, can be incoherent, such as thermal white noise emanating from the NMR/NQR sensor coil, or coherent interference. Incoherent noise is removed by signal averaging or, in-extremis, the use of specialist hardware based on, for instance, superconducting quantum interference device sensors [4]. Coherent noise includes internal acoustic ringing of the apparatus following an excitation pulse, and also external radio frequency interference (RFI) [5]. Normally, acoustic ringing is eliminated using an excitation pulse phase cycling scheme, but where this is not sufficient, additional methods have been proposed, for instance, active and passive Q-damping and reverse-phase pulses [6]. RFI, where possible, should be eliminated using Faraday shielding. In the case of oil-well logging, the Earth provides a natural Faraday shield. However, in other instances, such as security and tree moisture applications, shielding is limited or impossible. _Sensors_ 2019, _19_ [, 3153; doi:10.3390/s19143153](http://dx.doi.org/10.3390/s19143153) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2019, _19_, 3153 2 of 17 When RFI is detected in unshielded NMR or NQR experiments, it often saturates the receiver and generally completely obscures the signal. Signal averaging is not possible, as RFI occurs with sufficient frequency to cumulatively obliterate the entire time domain signal in the averaged data. Therefore, it needs to be removed. The experimental bandwidth coupled with the spread of different carrier frequencies in the RFI is such that direct bandpass filtering is not workable. Therefore, an alternate signal processing approach is required. In modern digital spectrometers, NMR or NQR data processing can be thought of as comprising of two principle steps. The first is the demodulation and filtering of the radio frequency signal to reveal the baseband signal in the time domain. The second is the processing of that signal either in the time or reciprocal frequency domain, to yield chemical specific or microstructural specific information about the sample, which may be very rich in content. For security applications, such as contraband detection, NQR is often favored, and the second step may be as simple as to identify if an NQR signal is, or is not, present. There have been previous attempts going back many years, in both hardware and software, to remove the coherent interference from NMR/NQR signals. In the literature [7], tests of landmine detection are reported, which include running multiple RFI sensors in parallel with the principal NQR experimental sensor. The data from the additional sensors is used to estimate the RFI at the site of the principal sensor, and hence subtract it out from the NQR data. No specific figures for the RFI removal efficiency are given. However, resultant from the tests, a false alarm rate of circa 0.1 mine per square meter explored was reported with “100%” mine detection efficiency. Further multiple channel approaches for RFI mitigation in NQR applications can be found in the literature [8–10]. All of these studies show good results. For instance, in static trials in the literature [8] (the detector moved across the field in [7]), interference suppression by 54%was achieved. Advanced filtering methods have also been studied. In the literature [11], a single sensor least mean squares technique was used to estimate the background interference, and a Bayesian discriminant algorithm was used to recover the NQR signal from the remaining data. The same group used Kalman filtering in the literature [12]. The results are compared to a static peak energy detector. The Bayesian approach typically (using multiple data sets) improves the reverse diagonal detection performance/false alarm rate on a receiver operating characteristics curve for effectiveness trials from 75%/25% to better than 85%/15%. In the literature [13,14] a method is proposed to remove the RFI from both the stochastic and conventional NQR data using a signal of interest free data. For the simulated data with a signal to noise ratio of typically −30 dB corrupted by RFI at up to 100 dB, detection probabilities in excess of 80% (conventional) and 90% (stochastic) are reported. Although this method shows good results for improving the signal-to-noise ratio (SNR), the authors assume that the RFI lies in a low-rank linear interference subspace. Such an RFI is less likely to mimic real world RFI that is, in most cases, nonlinear and non-stationary. More recently, an advanced filtering method, dubbed interference-cancelled echo-train approximate maximum-likelihood, has been introduced by some of the same authors [15]. This is specifically designed to target RFI, with a significant fraction of spectral width very close to, but not on, the NQR frequency, which is also non-stationary. Comparably good probability of detection/false alarm rates are reported from simulated data for this harder problem. The results for the laboratory acquired experimental data are strikingly better (>95%/5%), although it is not evident that the RFI is as challenging. In the literature [16], the authors also allow for non-stationary RFI. The algorithms perform well, with more than a 90% detection probability for signal to interference ratios, up to of the order of 40 dB. In the literature [17], a singular value decomposition (SVD) algorithm is introduced for RFI cancellation in NMR signals. By removing the singular values corresponding to the RFI and noise, the amplitudes of the interference peaks are suppressed by 10 dB. Finally, the authors of [18] suggested a method based on the linear predictive coding of RFI through NMR signals. This method is especially applicable to measurements in highly inhomogeneous magnetic fields, where the echo duration is extremely short. _Sensors_ 2019, _19_, 3153 3 of 17 In this paper, we explore the opportunity to use machine learning to reduce the impact of RFI on NQR data. Furthermore, unlike most of the earlier studies that advanced signal processing methodologies, we specifically address burst-mode RFI that, as discussed below, is typical of aeronautical mobile communications interference rather than quasi-continuous RFI typical of, for example, radio transmissions. We have previously shown that burst-mode RFI dominates in our laboratories. Machine learning could be invoked for both parts of the processing; first, the identification and removal of RFI, and second, information retrieval from the demodulated signal. However, as the analysis of the time domain demodulated signal is application-specific, whilst the need to remove RFI is generic, we focus on the first—the identification and removal of RFI. Specifically, we develop, train, and apply a decision tree model to identify instances of burst-mode RFI. A very simple strategy to remove this RFI is then tested. We remove the RFI affected parts of the data and replace it with data from a repeat, but differently affected, experiment in a weighted averaging process. In order to measure the improvement that machine learning brings to the data processing, we use a trial involving human volunteers to measure the reliability with which they can “see” a signal in the processed data. This (ideally) yes/no criterion is typical of the first stage of security applications, such as baggage scanning at airports. While we address a security type application, the generic nature of the RFI identification and removal makes the methodology widely applicable. Two final points are noted here—the first is that while machine learning has advanced at a great pace with new protocols continuing to be proposed, we have found it sufficient to use a well-established method, decision tree classification, for our purposes. As stated below, it has been proven to be more successful than the alternatives that we have assessed. The second is that, to our knowledge, there is no work to explore machine learning for RFI suppression in NMR/NQR applications specifically. However, it is being used to explore RFI suppression in other areas of technology [19]. Section 2 covers a brief description of the experimental setup, and details the emulated RFI within a Faraday shield. Section 3 details the suggested RFI suppression technique, it includes a description of the decision tree model and how it is going to be used for RFI suppression. Section 4 covers the results together with the validation and some discussion, and a conclusion in Section 5 ends the article. 2. Experimental Setup _2.1._ _Radio-Frequency Interference:_ _Recording and Reproduction_ We previously recorded a significant volume of RFI within the environs of our laboratories at frequencies in the range of approximately 0 to 10 MHz [18]. Outdoor measurements were undertaken at our laboratories, where it was found that a significant fraction of the RFI comprised pulsed aircraft communication data. We are located close to two major London international airports. Repeat measurements have been made recently, three years later. They confirm the long-term significance of the problem. Figure 1 shows a recent short time domain exemplar RFI signal and its Fourier Transform in the frequency window of interest, so as to illustrate the nature of the signal to be tackled. The signal was recorded directly using the unshielded NQR detector used in this work. Numerous interfering carrier and sideband channels can be observed. In order to have a reproducible, controlled, RFI of a variable amplitude, frequency, and phase, the recorded RFI data were given a binary threshold for “on” or “off”. The resultant mask was used to switch controlled carrier and sideband signals at frequencies around the NQR frequency with a desired amplitude and phase to high and low states. Hence, we can generate a known, but randomized, pseudo-RFI that mimics real-world burst-mode RFI. _Sensors_ 2019, _19_, 3153 4 of 17 Figure 1. Exemplar radio frequency interference (RFI) recorded through a tuned nuclear quadrupole resonance (NQR) coil and bandpass preamplifiers, as used in the experiments, save that the coil is unshielded. A series of short duration noise bursts are seen with carrier frequencies spread across the NQR frequency bandwidth. ( a, b ) signal elements at different time resolutions. ( c ) Fourier transform of a 100 ms data sample. The data were recorded at 31 MHz with a 10 MHz analogue low pass filter in the line. _2.2._ _Experimental Testbed_ Although our target application is in-situ NQR, progress is best made on a test bed within a Faraday shield, into which the pseudo-RFI is deliberately broadcast. To that end, a Faraday shielded demonstrator was built within a 70 × 70 × 70 cm <sup>3</sup> box. Figure 2 is a schematic of the demonstrator. The demonstrator contained the NQR spectrometer coil and three further coils to transmit RFI. Each coil was cylindrical, circa 14 cm long and 7.8 cm in diameter, with an internal volume of 670 cm <sup>3</sup> . The coils comprised of 11 conductor turns. The NQR coil was parallel-series tuned to 3.6 MHz and 50 Ω, with circa 110 pF and 50 pF capacitors. They had a nominal bandwidth of 0.2 MHz. The NQR coil was used to contain the sample, to transmit radio-frequency NQR excitation pulses, and to detect NQR signals, as well as detect RFI. The NQR coil was mounted centrally on the demonstrator base plate. The RFI transmission coils were mounted on the top plate and two side walls, and oriented in orthogonal directions. These enabled the simultaneous broadcasting of three RFI channels representing three real sources. The three channels of pseudo RFI were broadcast into the box using two PXIe 5423 dual channel (four channels maximum) arbitrary waveform generator cards run by a PXIe-8840 computer, all contained in a PXIe 1071 four bay chassis. The cards transmitted the digitized RFI at 10 MHz. The PXIe system was programmed in LabVIEW. The NQR excitation pulses were generated by a Redstone spectrometer operating at 3.6 MHz, amplified and broadcast to the NQR coil. Signals from the NQR coil could be detected and processed by the Redstone spectrometer in the normal way, enabling the functioning of the base experiment to be tested. More usually, the signal from the NQR coil was recorded by a PXIe 5170R eight Channel Oscilloscope. The data were continuously recorded throughout the experiment at an oversampled rate of 10 MHz. _Sensors_ 2019, _19_, 3153 5 of 17 Figure 2. A schematic diagram of the experimental testbed. _2.3._ _NQR Carr Purcell Meiboom Gill (CPMG) and Free Induction Decay (FID) Experiments_ Sodium Nitrite has three nitrogen NQR resonances at circa 1.0, 3.6, and 4.6 MHz at room temperature. The resonance at 3.6 MHz offers a relatively safe (in the health and safety context) analogue for a wide range of contraband materials. With all of the cables and coils connected to the equipment, and with the Faraday shield in place, but with no deliberately broadcast RFI, an <sup>14</sup> N free induction decay (FID) experiment using a 0.2 kg sodium nitrite as a sample easily achieved a signal to noise ratio (SNR) of 140 in 32 repetition scans. Without the shielding, the same experiment produced an SNR of 2.2. The _P_ 90 excitation pulse length was 240 µs. More generally, Carr Purcell Meiboom Gill (CPMG) experiments were performed. The sodium nitrite sample mass was varied between 0 and 200 g in steps of 50 g. As the resonance frequency can be strongly temperature dependent (typically few kHz/K), and in a real-world application the sample temperature may be, at best, poorly specified, the NQR frequency was varied randomly according to a Gaussian distribution, with central frequency 3.6 MHz and standard deviation 0.0065 MHz, between the experiments. The NQR coil was not retuned with changing the NQR frequency. All of the other key NQR parameters were also varied, including the following: the number of echoes, _necho_ ∈{4, 8, 12}; the echo spacing, 500 < τ < 3300 µ s (linear distribution); and the excitation pulse length, 186 < _P_ 90 < 293 µ s (linear distribution, with _P_ <sup>_true_</sup> 90 = 240 µs). The refocusing pulse length was always twice the excitation pulse length. For each selected parameter set, a “set” of 64 echo train “scans” were individually recorded. Three channels of different pseudo random RFIs were broadcast into the experiments simultaneously. For each channel and for every individual scan, the RFI mask, amplitude ( _A_ ), carrier and sideband frequencies ( _fc_, _fs_ ), and phase (ϕ) were randomly varied in and around the bandwidth of the NQR experiment. The lowest RFI amplitude (excluding zero) was chosen so that, with an RFI carrier frequency of 3.6 MHz, a signal was detected in the NMR coil with an amplitude comparable to the smallest sodium nitrite sample signal. The largest amplitude was chosen so that it saturated the spectrometer receiver and was perceived as an approximate square-wave. The RFI mask and other parameters were recorded so as to enable the subsequent reconstruction of the RFI, if, and when, desired, for example, for the training the decision tree model. Three series of data were recoded spanning the full range of parameter space, namely: 1. Data Series I: Identical NQR parameters were run for each of the five sample masses. A total of 120 data sets (equivalent to 7680 scans, equivalent to circa 51,200 echoes) were recorded. This first _Sensors_ 2019, _19_, 3153 6 of 17 data set was used primarily for training the analysis algorithms. The data were recorded by one of us and made available—with all of the random acquisition parameters—to another who performed the training. Twenty percent of the data were recorded without RFI. 2. Data Series II: This was similar to Series I, in that repeated combinations of parameters were used for recording the data for each sample mass, however, the series contained only 40 sets (2560 scans and 24,576 echoes). The data and selected parameters ( _P_ 90, τ, number of echoes, and _fNQR_ ), as would normally be known, were made available to the analyst. No information regarding the RFI or sample mass were available for the analyst. 3. Data Series III: This much larger volume of data contained 200 sets (12,800 scans and 102,400 echoes). The sample mass was now also varied randomly across the data sets. Only the raw data was made available to the analyst—in particular, no information was provided about the sample mass or RFI mask prior to the analysis. 3. Decision Tree Model for RFI Suppression _3.1._ _RFI Suppression by Decision Tree Classifier_ In this work, the decision was taken to perform this operation in three steps. First, we used a decision tree model to identify the locations of the RFI within the raw time domain signal before demodulation. Second, we demodulated the entire signal (including RFI). Third, we acted on the demodulated signal to suppress the RFI at the now known locations. These three actions are discussed separately and are shown in the flowchart in Figure 3. Figure 3. A flowchart of the RFI suppression using the decision tree model. Decision tree models are one of the most popular machine learning models because of their simplicity in term of the mathematical models used during training and predicting data, and because of their rapidity. A decision tree classification is a machine-learning model based on sequentially partitioning the data into decreasingly small sets. The tree starts at a root node, where the data is divided into two smaller sets based on a binary “feature” test of the data—that is, upon whether some quantitative measure derived from the data is, for instance, greater or less than a threshold value. Features can be temporal- or frequency-based, or based on some characteristic of the probability distribution of the data [20–23]. Further successive binary splittings of the data are made, based on further feature decisions. At each splitting, a smaller set of data is formed, and the process continues until no more splitting is possible or the chosen maximum number of splits is achieved. At this point, the data are grouped into “classes”. A tree thereby comprises of nodes (decision points), branches (decision _Sensors_ 2019, _19_, 3153 7 of 17 outcomes), and leaves (class or classification outcomes). The training program is designed to optimize the tree for classifying a particular type of data, given the known classes of the training data set. However, a fully-grown tree is likely to overfit the data, leading to poor accuracy on unseen data. Pruning is used to overcome overfitting. A discovered decision tree specific to this work is given in the results section to illustrate the process. Further discussions of decision trees can be found in the literature [24]. The data consists of NQR scans; these are time series (see Figure 4). Each scan comprises a number of “units”, defined as the time series from the start of one refocusing excitation pulse to the next. Each unit is composed of four main parts, namely: NQR excitation pulse, receiver ring down following saturation of the receiver by the pulse, echo, and RFI, as identified in the figure. The core idea of this work is to suppress the RFI from all units. Therefore, for the decision tree model, the four classes are the following: pulse, ring down, echo, and RFI. Note that the data starts with a pulse half the length ( _P_ 90) of all of the others ( _P_ 180), and that this is followed by an interval half the duration of all of the others. This is standard for the experiment; the useful data is in the wider intervals. Figure 4. An exemplar recorded scan comprised of 3 units to illustrate the different component classes. Training data were prepared using recorded scans from the first experimental series. Each scan was separated into units, each comprising (ideally) an excitation pulse at the start, followed by echo data. In practice, because the PXIe and Redstone instruments ran asynchronously, there was a variable delay at the start of each recorded scan. In order to eliminate this delay and ensure accurate data timing between the scans and units, a dummy binary signal ( _x_ ) was created, in such a way that it was equal to zero all over the scan, save that it is equal to one at the expected location of the pulses. The dummy signal started with _P_ 90; it did not include the varying gap before the first pulse in each scan, as shown in Figure 5. Figure 5. A single recorded data scan (in blue) comprised of 8 units with the corresponding dummy binary signal (in orange). _Sensors_ 2019, _19_, 3153 8 of 17 The delay between the dummy binary and an actual scan, _y_, is calculated using the normalized cross-correlation between the two signals, at all possible lags, as follows: _Rxy_ ( _m_ ) = _E_ <sup>�</sup> _xn_ + _m_ _y_ <sup>∗</sup> _n_ - = _E_ - _xn_ _y_ ∗ _n_ - _m_ - (1) The calculated delay is given by the negative of the lag, for which the normalized cross-correlation has the largest absolute value. This delay, and the known pulse gap (τ) enabled different scans to be accurately aligned and divided into units. For model training, it is required to characterize each region of every training scan as one of the following four classes: pulse, ring down, echo data, or RFI. As the number of units is large, this process was automated. Identification of the _P_ 180 pulse is straightforward, as it occurs at the start of the unit and has a known duration. Furthermore, for training, RFI is identified using the RFI transmit mask previously discussed. In order to separate the ring down and therefore find the beginning of the echo within a data unit, we run a moving average filter on the data region immediately following the _P_ 180 pulse. The ring down is judged to have ended where the modulus of the data intensity, ��� _y_ ���, first equals the time averaged root mean square plus one standard deviation of the remaining echo signal. The echo data is identified as all that remains after the separation of the pulse, ring down, and RFI. The training data is thus fully separated into classes. For each of these parts, we passed a sliding window of 20 µs (about 218 data points) across the data—the windows did not overlap. For each of these windows, a set of 27 features were computed, ready to be input into the decision tree classifier. The features comprised a combination of temporal and frequency characteristics of each data window, as well as statistical characteristics. The chosen features were documented as follows. For each training 20 µs data segment ( _y_ ) and its magnitude (��� _y_ ���), we measured the following features: the statistical means ( _<u>y</u>_ ) and ( and <u>���</u> _y_ <u>���), the standard deviations, as follows:</u> σ = ~~�~~ <u>�</u> _N_ _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_yi_</sup> <sup>−</sup> <sup>_<u>y</u>_</sup> <sup>)</sup> (2) _N_ σ|| = ~~�~~ - _N_ _<u>i</u>_ <u>=1</u> <sup>(|</sup> <sup>_yi_</sup> <sup>| −</sup> (3) _N_ <u>���</u> _y_ <u>���)</u> where _N_ is the unit length, the kurtosis, as follows: - _Ni_ <u>=1</u> <sup>(</sup> <sup>_yi_</sup> <sup>−</sup> <sup>_<u>y</u>_</sup> <sup>)4/</sup> <sup>_N_</sup> (4) σ <sup>4</sup> (7) σ|| <sup>3</sup> and the skewness and _k_ = _k_ || = _sk_ = _sk_ || = - _Ni_ =1 <sup>(</sup> 4 ���� _yi_ ����−��� _y_ <u>���)</u> / _N_ (5) σ|| <sup>4</sup> - _Ni_ <u>=1</u> <sup>(</sup> <sup>_yi_</sup> <sup>−</sup> <sup>_<u>y</u>_</sup> <sup>)3/</sup> <sup>_N_</sup> (6) σ <sup>3</sup> - _Ni_ <u>=1</u> <sup>(|</sup> <sup>_yi_</sup> <sup>| −</sup> 3 <u>���</u> _y_ <u>���)</u> / _N_ _Sensors_ 2019, _19_, 3153 9 of 17 and the 25th and 75th percentile, and the 25th and 75th cumulated sums for both _y_ and ��� _y_ ���. For each data unit, we measured the average of the derivative ( _y_ <sup>′</sup> ), the power - _Ni_ <u>=−01</u> <sup>_yi_</sup> <sup>2</sup> , (8) _N_ the envelope, and the start and end times of the segment. The frequency features are as follows: the maximal frequency and its height, the number of peaks, the sum of the heights of these peaks, the average distance that separates two neighboring peaks, and the area under the curve in the spectral density graph. In this work, we used a supervised decision tree model, as the data and the classes were known. Hence, at the training stage, the inputs of the model were the features, and the target was the corresponding classes. Labelled training data was fed to the decision tree model. We set 100 as the maximum number of splittings for the model, and adopted a _k_ = 25-fold cross validation methodology. The _k_ -fold cross validation consisted of portioning the available data into _k_ bins (or folds) of equal size. One of these subsets was picked as a test set. The remaining _k_ - 1 sets were put together into a training set, so as to train the machine learning algorithm and find the accuracy on the test set. The model was run _k_ times, with each set used in turn as the test set, in order to find the general accuracy of the model by averaging across the _k_ runs. The _k_ -fold cross validation was illustrated in Figure 6. Figure 6. An illustration of the _k_ -fold validation method. The data training was performed in the MATLAB (data pre-processing, training algorithms, and validation) and Python (training decision tree model and feature importance) programming languages. _3.2._ _Demodulation_ The data were quadrature demodulated in the normal fashion, using standard MATLAB <sup>®</sup> functions. A low pass filter of 10 kHz was applied. Checks were made that data recorded with the PXIe and demodulated in MATLAB were essentially the same as that demodulated by the spectrometer. An exact equivalence was not obtained, as the spectrometer filter detail was unknown. _3.3._ _RFI Suppression_ The RFI removal strategy chosen was the most straightforward possible. As the RFI was in burst mode, we did not need to adopt the complex filtering methodologies as needed more widely by others. A typical data set contained 64 scans. The methodology consisted of emptying the regions of data within individual scans that were classified by the decision tree model as containing RFI. At every time point, the data from the remaining scans that do not include RFI at that point is averaged. We term this “direct removal”, as illustrated in Figure 7. _Sensors_ 2019, _19_, 3153 10 of 17 Figure 7. An illustration of RFI direct removal. The figure shows, from top to bottom, four data units, each comprising an excitation pulse and ring down at the start, echo data close to the baseline noise level, and multiple bursts of RFI. The instances of RFI are identified by the small dash-line red-rectangles. The two tall black rectangles highlight two segments of data differently affected by RFI. In the left-hand case, only Unit 1 is affected, and so the data from Units 2, 3, and 4 is averaged; in the right hand case, both Units 2 and 3 are affected, so Units 1 and 4 are used. 4. Results of RFI Removal _4.1._ _Training_ Training was first performed using all 27 features. Using the Scikit-Learn library in Python. We found that for each 20 µ s long data segment, the features that were most the important in determining whether it contained pulse, ring down, echo signal, or RFI were the following: the 75th percentile, the maximal frequency, the derivative average, the starting time of the segment within the whole data segment, the sum of the frequency peaks, the average distance between peaks, the end time, and the data kurtosis (as shown in Figure 8). On this basis, the training was repeated using just the most important eight, and then four, features. The topmost levels of the very heavily pruned, four-feature decision tree discovered by the training is shown in Figure 9 for illustrative purposes. Only eight nodes were retained. The full trees from 27, 8, and 4 features are available from the University of Surrey data repository. Figure 8. Feature importance scores of the eight most important features. The confusion matrix of the trained RFI identification model for the tree based on all 27 features is shown in Figure 10a. An overall accuracy of 98.2% ± 0.2% was obtained on the training data. Specifically, the model correctly identified 86.0% ± 0.2% of the RFI occurrences. The false negative rate was therefore 14%. The machine got confused on 14% between echo and RFI, predominantly when the RFI amplitude was very close to the echo amplitude and when the modulation frequency was very close to the NQR frequency. _Sensors_ 2019, _19_, 3153 11 of 17 Figure 9. The training output, but very heavily pruned, decision tree based on the four most significant features. Nodes are shown light blue, leaves light green, and branches with numerical test conditions as arrows. The classes are as follows: (1) pulse, (2) ring down (3) echo data, and (4) RFI. Figure 10. Confusion matrices of the decision tree model using the following: ( a ) 27 features, ( b ) 8 features, and ( c ) 4 features. An example of how well the proposed model is able to correctly classify the different parts of a unit is shown in Figure 11. This figure shows that the proposed model can successfully identify all of the different parts of the unit. The resultant confusion matrices are shown for trees with fewer features (as shown in Figure 10b,c). Fewer features produce almost as good results. Notwithstanding the identification of ring down, the echo data and RFI were degraded, and so we continued to use 27 features throughout the remainder of this work. Figure 11. Recognition of the different parts of a random unit by the decision tree RFI suppression model. The original data is in the upper part of the figure. The lower part shows the classification result, where the blue, red, black, and green coloration represent the predicted pulse, echo, RFI, and ring down, respectively. _Sensors_ 2019, _19_, 3153 12 of 17 _4.2._ _Comparative Tests_ The decision tree model for RFI identification and localization, followed by direct RFI removal and averaging, was applied to data series II and III. Here, we present a series of exemplars where a limited number of parameters were varied, in order to show the scale of improvement possible. Figure 12a shows the demodulated and averaged data for a set of 64 scans acquired at a frequency of 3.6034 MHz in the presence of RFI. The pulse length ( _P_ 90 = 223 µs) and the pulse gap is τ = 5868 µs. Only the train of _necho_ = 8 refocusing the pulses and echoes is shown repeating every τ; the initial excitation pulse is excluded. The refocusing pulses appear as white vertical bands, where they saturate the receiver. More-or-less everywhere else, the data is completely corrupted by RFI, which, at any time point, may have occurred in just a handful of the averaged scans. However, no single scan within the average is completely RFI free. Figure 12. An averaged and demodulated signal. The red, green, and blue lines represent the real, imaginary, and magnitude of the data, respectively: ( a ) without and ( b ) with the application of the RFI decision tree identification model and removal algorithm. Figure 12b shows the same data after the decision tree machine identification of RFI, demodulation, and RFI elimination by direct removal. The improvement is immediate and obvious. The oscillating quadrature components of the underlying NQR signal can be seen clearly. The oscillations reveal that the signal is off resonance by 2 kHz. This figure and analysis of a large number of experiments suggests that, as long as enough averages (data sets) are available, the direct removal is a satisfactory strategy to remove burst mode RFI once identified. In order to evidence the impact of the different experimental parameters on obtaining a clean NQR signal in the presence of RFI, we showed the results of applying the algorithm to different experiments. In each case, without the new processing, the echo signals (where present) were completely obscured by RFI. In Figure 13, we varied the sample mass, by 0, 100, and 200 g, but kept the other parameters constant and close to optimal, as follows: τ = 3000 µs, offset frequency δ _fNQR_ = 0.17 kHz, and _necho_ = 8 and _P_ 90 = 240 µs. The observed signal amplitude was seen to scale with the sample mass. Importantly, no signal was seen with no sample. In order to demonstrate the efficiency of the method while varying other key NQR parameters, namely, frequency, _P_ 90, and τ, we showed three sets of processed data in Figure 13. In each case, the sample weight was 100 g, and the ideal parameters are about the following: _f_ NQR = 3.6051 MHz, _P_ 90 = 240 µs, and τ = 3000 µs. _Sensors_ 2019, _19_, 3153 13 of 17 Figure 13. Application of the RFI suppression model on the data. The red, green, and blue lines represent the real, the imaginary, and the magnitude of the data, respectively, as follows: ( a ) of 0 g, ( b ) of 100 g, and ( c ) of 200 g. All of the other parameters are the same. In Figure 14a, δ _f_ NQR = 0.8 kHz, with _P_ 90 = 240 µs and τ = 3000 µs. The signal can still be seen, but with slightly less amplitude. In a real security application, this scenario might result from an unusually warmed or cooled sample. In Figure 14b, the signal is not seen. This is because of a combination of things. In particular, the _P_ 90 = 195 µs is sub optimum, which might result from a poorly calibrated instrument, and τ = 5866 µs is long. The offset δ _fNQR_ = 0.3 kHz is probably not insignificant. In Figure 14c, _P_ 90 = 200 µs, and τ = 3240 µs and δ _fNQR_ = 3.5 kHz. A small, but rapidly oscillating signal can be identified. Figure 14. Application of RFI suppression model on data of the same 100 g weight sample, but varying key experimental parameters: see text for an explanation of the parameter changes in ( a ), ( b ) and ( c ). The red, green, and blue lines represent the real, imaginary, and magnitude of the data, respectively. _4.3._ _Choice of Decision Tree Model_ In this work, we used the decision tree model. This is a well-established and robust machine learning protocol that is easily implemented. However, other alternatives are available, and have been used in other applications. Amongst these are K-nearest neighbors (KNN) [25] and support vector machine (SVM) [26]. We do not repeat the details here, suffice to say neither was as satisfactory as that of the decision tree for the RFI removal of NQR data. We used the same set of training data with the same _k_ = 25-fold cross validation to compare with KNN and SVM. KNN gave about 95% accuracy and SVM gave about 91% accuracy compared to the decision tree model, which gave 98.2% accuracy for the correct identification of RFI. _Sensors_ 2019, _19_, 3153 14 of 17 5. Results of RFI Removal A perceived security application involves human operators (in a later application, a machine recognition system) viewing a data set and making an instant go/no-go decision as to whether a signal has been detected. In an attempt to mimic this, a trial was established where volunteers were first trained to recognize NQR signals in graphical plots of processed data sets, such as seen in Figures 13 and 14. The volunteers were each then shown a random selection of 100 differently processed echo trains. A random, approximate half, of each 100 echo trains shown were demodulated and filtered in the normal way. The other half were treated for removal of RFI using the decision tree model, before identical demodulation and filtering. The data from series III was used for this exercise. The volunteers were asked to indicate their confidence, using a 0–10 scale, as follows: “NQR signal definitely present—10”, indicating contraband present, down to “NQR signal definitely not present—0”, meaning no contraband present. A score of five meant that they were uncertain and could not decide if a signal was, or was not, present. Receiver operating characteristic (ROC) curves are a standard tool to analyze the results of such a trial [20]. They are routinely used to illustrate the efficiency of RFI removal schemes from NQR data, although not, as far as we are aware, for using blind trials with human volunteers inspecting the data, as we used here (see e.g., [9–15]). They measure the rate at which a model correctly predicts a true positive result for a given rate of false positive (or false alarm) identification. For the ROC analysis presented here, the volunteer scores were separated post trial, back into those arising from the RFI decision tree treated and not-treated data. Furthermore, the volunteer score ratings were converted (linear scaling) to a probability likelihood (0 to 1). A decision threshold was set from which the true and false positive identification rates could be calculated as a function of the decision threshold. The data from the 21 volunteers were combined. In this way, the improvement brought by the RFI identification and removal could be quantified. The exercise yielded two roughly equal fractions of data, namely: with and without decision tree identification, and the direct removal of RFI. Based on the aggregated volunteer scores arising from the human trial, two receiver operating characteristic (ROC) curves were calculated for each fraction. The curves are shown is Figure 15. In this figure, the thick red line is for the data containing an RFI that has been processed with RFI removal, as well as demodulation and filtering, whereas the thick blue line is for demodulation and filtering only. Figure 15. Receiver operating characteristic (ROC) curves comparing the results of voting for signals appearance, which are processed by the proposed algorithm (red curve), and not processed (blue curve). The dashed lines represent the results when all signals contain RFI, and the solid lines represent a mixture or RFI and non RFI. _Sensors_ 2019, _19_, 3153 15 of 17 The respective areas under curve (AUC) are 0.906 and 0.580, strongly endorsing two observations. First, without RFI removal, the data is almost useless as “guessing” yields using the diagonal line with AUC = 0.5. Second, RFI removal has a very positive impact. Under ideal scenarios, the “curve” is square and AUC = 1. In order to test whether active RFI suppression negatively affects signal detection when there is no RFI present (i.e., does RFI suppression make the result worse when no RFI is present due to miss-classification of data units?), we further calculated and added two more ROC curves, these for the data sets that specifically included data when no RFI was present. These are shown as the dotted lines in Figure 15; as these two curves are very similar to before, we conclude that when the RFI is not present in the data, the algorithm does not overly classify the NQR echo signal as RFI and make matters worse. 6. Conclusions We have shown that a decision tree model, machine learning algorithm is very well suited to the problem of identifying short radio frequency interference bursts, as they may corrupt the NQR signals enabling strategies to suppress these burst from the measured signals. Burst mode RFI, for instance, because of air craft communications, is not the only source of RFI at low MHz frequencies that may corrupt NQR signals, but, in the environs of our laboratory, it is by far the most dominant. It is less likely that this method could be successfully used on a lower level, continuous background RFI, although there is clear opportunity to develop the methodology further by incorporating the additional data available from the other RFI sensors—this is the subject of ongoing work. Once RFI is detected, a strategy is required to suppress it. Here, we have used a simple method of direct removal, and averaging the remaining data across multiple scans. This strategy is effective here for the RFI incidence rate studied, and with 64 scans available to average. However, with this strategy, care must be taken to ensure that sufficient averages are recorded, so as to ensure that at least one data set is contributed at all times. Notwithstanding that 64 scans were available per data set, in practice, only two or three good units were available to contribute to part of an echo in some cases. A possible alternate strategy for RFI removal post identification is linear predictive coding. We have previously explored this in the related context of RFI corrupting very short duration echoes. The RFI was predicted through the echo, and was subtracted out. The reverse scenario is used to predict the long echo through the burst of RFI. It may have benefit when only a very few (<64) averages are available. It would also be interesting to test a boosted decision tree methodology, and to compare the enhancement in term of the accuracy and speed of the model. The ROC curves shown here do not discriminate the data as a function of the sample mass, and hence, sensitivity is not assessed. Such an analysis is very much application specific. Author Contributions: Methodology, data analysis, software, and validation, M.I.; conceptualization, M.I., P.J.M., and T.W.C.B.; experimental, D.J.P.; formal analysis, M.I.; investigation, P.J.M.; curation, M.I. and D.J.P.; original draft preparation, M.I. and D.J.P.; review and editing, P.J.M. and T.W.C.B.; visualization, M.I.; supervision and funding acquisition, P.J.M. Funding: This research was funded by the U.K. Engineering and Physical Sciences Research Council (grant number EP/N018834/1). D.J.P. thanks the EPSRC Centre for Doctoral Training in Micro and NanoMaterials (University of Surrey) and the Defence Science and Technology Laboratory (Dstl), United Kingdom for financial support. Conflicts of Interest: The authors declare no conflict of interest. References 1. Kleinberg, R.L. Well logging. In _Encyclopedia of Nuclear Magnetic Resonance_ ; Grant, D.M., Harris, R.K., Eds.; Willey: Chichester, UK, 1996; Volume 8, pp. 4960–4969. 2. Meribout, M. Optimal Design for a Portable NMR and MRI-based Multiphase Flow Meter. _IEEE Trans._ _Ind._ _Electron._ 2019, _66_, 6354–6361. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2018.2870361) _Sensors_ 2019, _19_, 3153 16 of 17 3. Mitchell, J.; Gladden, L.F.; Chandrasekera, T.C.; Fordham, E.J. Low-field permanent magnets for industrial process and quality control. _Prog._ _Nucl._ _Magn._ _Res._ _Spectrosc._ 2014, _76_, 1–60. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.pnmrs.2013.09.001) 4. Yesinowski, J.P.; Buess, M.L.; Garroway, A.N.; Ziegeweid, M.; Pines, A. Detection of 14N and 35Cl in Cocaine Base and Hydrochloride Using NQR, NMR, and SQUID. _Technol._ _Anal._ _Chem._ 1995, _67_, 2256–2263. [[CrossRef]](http://dx.doi.org/10.1021/ac00109a053) 5. Buess, M.L.; Garroway, A.N.; Yesinowski, J.P. Removing the effects of acoustic ringing and reducing temperature effects in the detection of explosives by NQR. U.S. Patent 5365171A, 15 November 1994. 6. Barras, J.; Gaskell, M.J.; Hunt, N.; Jenkinson, R.I.; Mann, K.R.; Pedder, D.A.G.; Shilstone, G.N.; Smith, J.A.S. Detection of ammonium nitrate inside vehicles by nuclear quadrupole resonance. _Appl._ _Magn._ _Reson._ 2004, _25_, 411–437. [[CrossRef]](http://dx.doi.org/10.1007/BF03166538) 7. Garroway, A.; Buess, M.; Miller, J. Remote Sensing by Nuclear Quadrupole Resonance. _IEEE Trans._ _Geosci._ _Remote Sens._ 2001, _39_, 1108–1118. [[CrossRef]](http://dx.doi.org/10.1109/36.927420) 8. Sakuta, K.; Araya, T.; Kitamura, Y. Environmental MHz Noise Reduction for SQUID Application. _IEEE Trans._ _Appl._ _Supercond._ 2007, _17_, 729. [[CrossRef]](http://dx.doi.org/10.1109/TASC.2007.897867) 9. Butt, N.R.; Jakobsson, A.; Somasundaram, S.D.; Smith, J.A.S. Robust Multichannel Detection of Mixtures Using Nuclear Quadrupole Resonance. _IEEE Trans._ _Signal Process._ 2008, _56_, 5042–5050. [[CrossRef]](http://dx.doi.org/10.1109/TSP.2008.928704) 10. Xiong, H.; Li, J.; Barrall, G.A. Joint TNT and RDX detection via quadrupole resonance. _IEEE Trans._ _Aerosp._ _Electron._ _Syst._ 2007, _43_, 1282–1293. [[CrossRef]](http://dx.doi.org/10.1109/TAES.2007.4407458) 11. Tantum, S.L.; Collins, L.M.; Carin, L.; Gorodnitsky, I.; Hibbs, A.D.; Walsh, D.O.; Barrall, G.A.; Gregory, D.M.; Matthews, R.; Vierkotter, S.A. Signal processing for NQR discrimination of buried landmines. _Proc._ _SPIE_ 1999, _3710_, 474–482. 12. Tan, Y.; Tantum, S.L.; Collins, L.M. Kalman Filtering for Enhanced Landmine Detection Using Nuclear Quadrupole Resonance. _IEEE Trans._ _Geosci._ _Remote Sens._ 2005, _43_, 1507–1516. 13. Somasundaram, S.D.; Jakobsson, A.; Rowe, M.D.; Smith, J.A.S.; Butt, N.R.; Althoefer, K. Robust Detection of Stochastic Nuclear Quadrupole Resonance Signals. _IEEE Signal._ _Process._ 2008, _56_, 4221–4229. [[CrossRef]](http://dx.doi.org/10.1109/TSP.2008.923809) 14. Somasundaram, S.D.; Jakobsson, A.; Butt, N.R. Countering Radio Frequency Interference in Single-Sensor Quadrupole Resonance. _IEEE Geosci._ _Remote Sens._ _Lett._ 2009, _6_, 62–66. [[CrossRef]](http://dx.doi.org/10.1109/LGRS.2008.2005792) 15. Shao, W.; Barras, J.; Althoefer, K.; Kosmas, P. Detecting NQR signals severely polluted by interference. _Signal Process._ 2017, _138_, 256–264. [[CrossRef]](http://dx.doi.org/10.1016/j.sigpro.2017.03.032) 16. Rudberg, T.; Jakobsson, A. Robust Detection of Nuclear Quadrupole Resonance Signals in a Non-Shielded Environment. In Proceedings of the 19th European Signal Processing Conference (EUSIPCO), Barcelona, Spain, 29 August 2011. 17. Chen, W.; Ma, H.; Yu, D.; Zhang, H. SVD-based technique for interference cancellation and noise reduction in NMR measurement of time-dependent magnetic fields. _Sensors_ 2016, _16_, 323. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s16030323) 18. Ibrahim, M.; Pardi, C.I.; Brown, T.W.C.; McDonald, P.J. Active elimination of radio frequency interference for improved signal-to-noise ratio for in-situ NMR experiments in strong magnetic field gradients. _J. Magn._ _Reson._ 2018, _287_, 99–109. [[CrossRef] [PubMed]](http://dx.doi.org/10.1016/j.jmr.2018.01.002) 19. Yu, J.; Li, J.; Sun, B.; Chen, J.; Li, C. Multiclass Radio Frequency Interference Detection and Suppression for SAR Based on the Single Shot MultiBox Detector. _Sensors_ 2018, _18_, 4034. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s18114034) 20. Zhao, M.; Lin, J. Health Assessment of Rotating Machinery Using a Rotary Encoder. _IEEE Trans._ _Ind._ _Electron._ 2018, _65_, 2548–2556. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2017.2739689) 21. Deng, Z.; Fu, X.; Cheng, Q.; Shi, L.; Liu, W. CC-DTW: An Accurate Indoor Fingerprinting Localization Using Calibrated Channel State Information and Modified Dynamic Time Warping. _Sensors_ 2019, _19_, 1984. [[CrossRef] [PubMed]](http://dx.doi.org/10.3390/s19091984) 22. Kang, M.; Islam, M.R.; Kim, J.; Kim, J.M.; Pecht, M.L. A Hybrid Feature Selection Scheme for Reducing Diagnostic Performance Deterioration Caused by Outliers in Data-Driven Diagnostics. _IEEE_ _Tans._ _Ind._ _Electron._ 2016, _63_, 3299–3310. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2016.2527623) 23. Zhao, J.; Chen, L.; Pedrycz, W.; Wang, W. Variational Inference-Based Automatic Relevance Determination Kernel for Embedded Feature Selection of Noisy Industrial Data. _IEEE Trans._ _Ind._ _Electron._ 2019, _66_, 416–428. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2018.2815997) 24. Song, Y.Y.; Lu, Y. Decision tree methods: Applications for classification and prediction. _Shanghai Arch._ _Psychiatry_ 2015, _27_ [, 130–135. [PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/26120265) _Sensors_ 2019, _19_, 3153 17 of 17 25. Mo, Y.; Zhong, R.; Sun, H.; Wu, Q.; Du, L.; Geng, Y.; Cao, S. Integrated Airborne LiDAR Data and Imagery for Suburban Land Cover Classification Using Machine Learning Methods. _Sensors_ 2019, _19_, 1996. [[CrossRef]](http://dx.doi.org/10.3390/s19091996) [[PubMed]](http://www.ncbi.nlm.nih.gov/pubmed/31035415) 26. Corinna, K.C.; Muhr, R.; Spöck, G. Classifying Image Stacks of Specular Silicon Wafer Back Surface Regions: Performance Comparison of CNNs and SVMs. _Sensors_ 2019, _19_, 2056. © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 51문단 · 37,040자

(제목 없음)

1Radio frequency interference places a major limitation on the in-situ use of unshielded nuclear quadrupole or nuclear magnetic resonance methods in industrial environments for quality control and assurance applications. In this work, we take the detection of contraband in an airport security-type application that is subject to burst mode radio frequency interference as a test case. We show that a machine learning decision tree model is ideally suited to the automated identification of interference bursts, and can be used in support of automated interference suppression algorithms. The usefulness of the data processed additionally by the new algorithm compared to traditional processing is shown in a receiver operating characteristic (ROC) analysis of a validation trial designed to mimic a security contraband detection application. The results show a highly significant increase in the area under the ROC curve from 0.580 to 0.906 for the proper identification of recovered data distorted by interfering bursts.When RFI is detected in unshielded NMR or NQR experiments, it often saturates the receiver and generally completely obscures the signal. Signal averaging is not possible, as RFI occurs with sufficient frequency to cumulatively obliterate the entire time domain signal in the averaged data. Therefore, it needs to be removed. The experimental bandwidth coupled with the spread of different carrier frequencies in the RFI is such that direct bandpass filtering is not workable. Therefore, an alternate signal processing approach is required.In modern digital spectrometers, NMR or NQR data processing can be thought of as comprising of two principle steps. The first is the demodulation and filtering of the radio frequency signal to reveal the baseband signal in the time domain. The second is the processing of that signal either in the time or reciprocal frequency domain, to yield chemical specific or microstructural specific information about the sample, which may be very rich in content. For security applications, such as contraband detection, NQR is often favored, and the second step may be as simple as to identify if an NQR signal is, or is not, present.There have been previous attempts going back many years, in both hardware and software, to remove the coherent interference from NMR/NQR signals. In the literature [7], tests of landmine detection are reported, which include running multiple RFI sensors in parallel with the principal NQR experimental sensor. The data from the additional sensors is used to estimate the RFI at the site of the principal sensor, and hence subtract it out from the NQR data. No specific figures for the RFI removal efficiency are given. However, resultant from the tests, a false alarm rate of circa 0.1 mine per square meter explored was reported with "100%" mine detection efficiency. Further multiple channel approaches for RFI mitigation in NQR applications can be found in the literature[8][9][10]. All of these studies show good results. For instance, in static trials in the literature [8] (the detector moved across the field in [7]), interference suppression by 54%was achieved.Advanced filtering methods have also been studied. In the literature [11], a single sensor least mean squares technique was used to estimate the background interference, and a Bayesian discriminant algorithm was used to recover the NQR signal from the remaining data. The same group used Kalman filtering in the literature[12]. The results are compared to a static peak energy detector. The Bayesian approach typically (using multiple data sets) improves the reverse diagonal detection performance/false alarm rate on a receiver operating characteristics curve for effectiveness trials from 75%/25% to better than 85%/15%. In the literature[13,14]a method is proposed to remove the RFI from both the stochastic and conventional NQR data using a signal of interest free data. For the simulated data with a signal to noise ratio of typically −30 dB corrupted by RFI at up to 100 dB, detection probabilities in excess of 80% (conventional) and 90% (stochastic) are reported. Although this method shows good results for improving the signal-to-noise ratio (SNR), the authors assume that the RFI lies in a low-rank linear interference subspace. Such an RFI is less likely to mimic real world RFI that is, in most cases, nonlinear and non-stationary. More recently, an advanced filtering method, dubbed interference-cancelled echo-train approximate maximum-likelihood, has been introduced by some of the same authors[15]. This is specifically designed to target RFI, with a significant fraction of spectral width very close to, but not on, the NQR frequency, which is also non-stationary. Comparably good probability of detection/false alarm rates are reported from simulated data for this harder problem. The results for the laboratory acquired experimental data are strikingly better (>95%/5%), although it is not evident that the RFI is as challenging. In the literature[16], the authors also allow for non-stationary RFI. The algorithms perform well, with more than a 90% detection probability for signal to interference ratios, up to of the order of 40 dB. In the literature [17], a singular value decomposition (SVD) algorithm is introduced for RFI cancellation in NMR signals. By removing the singular values corresponding to the RFI and noise, the amplitudes of the interference peaks are suppressed by 10 dB. Finally, the authors of [18] suggested a method based on the linear predictive coding of RFI through NMR signals. This method is especially applicable to measurements in highly inhomogeneous magnetic fields, where the echo duration is extremely short.

Introduction

2Nuclear magnetic resonance (NMR) and nuclear quadrupole resonance (NQR) are widely used as laboratory techniques to characterize materials and processes. However, there is also interest in using these methods for in-situ sensing applications, with a growing list of established and nascent application areas-the most developed being oil-well logging [1]. Other areas include in-or by-line quality control and assurance in food processing, agri-sciences, the built environment, and security [2,3]. In these applications, measurements are typically made at a low frequency (1)(2)(3)(4)(5)(6)(7)(8)(9)(10), where the sensitivity and signal-to-noise ratio are major practical issues. Noise, in its broadest sense, can be incoherent, such as thermal white noise emanating from the NMR/NQR sensor coil, or coherent interference. Incoherent noise is removed by signal averaging or, in-extremis, the use of specialist hardware based on, for instance, superconducting quantum interference device sensors [4]. Coherent noise includes internal acoustic ringing of the apparatus following an excitation pulse, and also external radio frequency interference (RFI) [5]. Normally, acoustic ringing is eliminated using an excitation pulse phase cycling scheme, but where this is not sufficient, additional methods have been proposed, for instance, active and passive Q-damping and reverse-phase pulses [6]. RFI, where possible, should be eliminated using Faraday shielding. In the case of oil-well logging, the Earth provides a natural Faraday shield. However, in other instances, such as security and tree moisture applications, shielding is limited or impossible.

3In this paper, we explore the opportunity to use machine learning to reduce the impact of RFI on NQR data. Furthermore, unlike most of the earlier studies that advanced signal processing methodologies, we specifically address burst-mode RFI that, as discussed below, is typical of aeronautical mobile communications interference rather than quasi-continuous RFI typical of, for example, radio transmissions. We have previously shown that burst-mode RFI dominates in our laboratories.

4Machine learning could be invoked for both parts of the processing; first, the identification and removal of RFI, and second, information retrieval from the demodulated signal. However, as the analysis of the time domain demodulated signal is application-specific, whilst the need to remove RFI is generic, we focus on the first-the identification and removal of RFI. Specifically, we develop, train, and apply a decision tree model to identify instances of burst-mode RFI. A very simple strategy to remove this RFI is then tested. We remove the RFI affected parts of the data and replace it with data from a repeat, but differently affected, experiment in a weighted averaging process. In order to measure the improvement that machine learning brings to the data processing, we use a trial involving human volunteers to measure the reliability with which they can "see" a signal in the processed data. This (ideally) yes/no criterion is typical of the first stage of security applications, such as baggage scanning at airports. While we address a security type application, the generic nature of the RFI identification and removal makes the methodology widely applicable.

5Two final points are noted here-the first is that while machine learning has advanced at a great pace with new protocols continuing to be proposed, we have found it sufficient to use a well-established method, decision tree classification, for our purposes. As stated below, it has been proven to be more successful than the alternatives that we have assessed. The second is that, to our knowledge, there is no work to explore machine learning for RFI suppression in NMR/NQR applications specifically. However, it is being used to explore RFI suppression in other areas of technology [19].

6Section 2 covers a brief description of the experimental setup, and details the emulated RFI within a Faraday shield. Section 3 details the suggested RFI suppression technique, it includes a description of the decision tree model and how it is going to be used for RFI suppression. Section 4 covers the results together with the validation and some discussion, and a conclusion in Section 5 ends the article.

Radio-Frequency Interference: Recording and Reproduction

7We previously recorded a significant volume of RFI within the environs of our laboratories at frequencies in the range of approximately 0 to 10 MHz [18]. Outdoor measurements were undertaken at our laboratories, where it was found that a significant fraction of the RFI comprised pulsed aircraft communication data. We are located close to two major London international airports. Repeat measurements have been made recently, three years later. They confirm the long-term significance of the problem. Figure 1 shows a recent short time domain exemplar RFI signal and its Fourier Transform in the frequency window of interest, so as to illustrate the nature of the signal to be tackled. The signal was recorded directly using the unshielded NQR detector used in this work. Numerous interfering carrier and sideband channels can be observed.

8In order to have a reproducible, controlled, RFI of a variable amplitude, frequency, and phase, the recorded RFI data were given a binary threshold for "on" or "off". The resultant mask was used to switch controlled carrier and sideband signals at frequencies around the NQR frequency with a desired amplitude and phase to high and low states. Hence, we can generate a known, but randomized, pseudo-RFI that mimics real-world burst-mode RFI.

Experimental Testbed

9Although our target application is in-situ NQR, progress is best made on a test bed within a Faraday shield, into which the pseudo-RFI is deliberately broadcast. To that end, a Faraday shielded demonstrator was built within a 70 × 70 × 70 cm 3 box. Figure 2 is a schematic of the demonstrator. The demonstrator contained the NQR spectrometer coil and three further coils to transmit RFI. Each coil was cylindrical, circa 14 cm long and 7.8 cm in diameter, with an internal volume of 670 cm 3 . The coils comprised of 11 conductor turns. The NQR coil was parallel-series tuned to 3.6 MHz and 50 Ω, with circa 110 pF and 50 pF capacitors. They had a nominal bandwidth of 0.2 MHz. The NQR coil was used to contain the sample, to transmit radio-frequency NQR excitation pulses, and to detect NQR signals, as well as detect RFI. The NQR coil was mounted centrally on the demonstrator base plate. The RFI transmission coils were mounted on the top plate and two side walls, and oriented in orthogonal directions. These enabled the simultaneous broadcasting of three RFI channels representing three real sources. The three channels of pseudo RFI were broadcast into the box using two PXIe 5423 dual channel (four channels maximum) arbitrary waveform generator cards run by a PXIe-8840 computer, all contained in a PXIe 1071 four bay chassis. The cards transmitted the digitized RFI at 10 MHz. The PXIe system was programmed in LabVIEW.

10The NQR excitation pulses were generated by a Redstone spectrometer operating at 3.6 MHz, amplified and broadcast to the NQR coil. Signals from the NQR coil could be detected and processed by the Redstone spectrometer in the normal way, enabling the functioning of the base experiment to be tested. More usually, the signal from the NQR coil was recorded by a PXIe 5170R eight Channel Oscilloscope. The data were continuously recorded throughout the experiment at an oversampled rate of 10 MHz.

NQR Carr Purcell Meiboom Gill (CPMG) and Free Induction Decay (FID) Experiments

11Sodium Nitrite has three nitrogen NQR resonances at circa 1.0, 3.6, and 4.6 MHz at room temperature. The resonance at 3.6 MHz offers a relatively safe (in the health and safety context) analogue for a wide range of contraband materials.

12With all of the cables and coils connected to the equipment, and with the Faraday shield in place, but with no deliberately broadcast RFI, an 14 N free induction decay (FID) experiment using a 0.2 kg sodium nitrite as a sample easily achieved a signal to noise ratio (SNR) of 140 in 32 repetition scans. Without the shielding, the same experiment produced an SNR of 2.2. The P 90 excitation pulse length was 240 µs.

13More generally, Carr Purcell Meiboom Gill (CPMG) experiments were performed. The sodium nitrite sample mass was varied between 0 and 200 g in steps of 50 g. As the resonance frequency can be strongly temperature dependent (typically few kHz/K), and in a real-world application the sample temperature may be, at best, poorly specified, the NQR frequency was varied randomly according to a Gaussian distribution, with central frequency 3.6 MHz and standard deviation 0.0065 MHz, between the experiments. The NQR coil was not retuned with changing the NQR frequency.

14All of the other key NQR parameters were also varied, including the following: the number of echoes, n echo ∈ {4, 8, 12}; the echo spacing, 500 < τ < 3300 µ s (linear distribution); and the excitation pulse length, 186 < P 90 < 293 µ s (linear distribution, with P true 90 = 240 µs). The refocusing pulse length was always twice the excitation pulse length. For each selected parameter set, a "set" of 64 echo train "scans" were individually recorded.

15Three channels of different pseudo random RFIs were broadcast into the experiments simultaneously. For each channel and for every individual scan, the RFI mask, amplitude (A), carrier and sideband frequencies ( f c , f s ), and phase (ϕ) were randomly varied in and around the bandwidth of the NQR experiment. The lowest RFI amplitude (excluding zero) was chosen so that, with an RFI carrier frequency of 3.6 MHz, a signal was detected in the NMR coil with an amplitude comparable to the smallest sodium nitrite sample signal. The largest amplitude was chosen so that it saturated the spectrometer receiver and was perceived as an approximate square-wave. The RFI mask and other parameters were recorded so as to enable the subsequent reconstruction of the RFI, if, and when, desired, for example, for the training the decision tree model.

16Three series of data were recoded spanning the full range of parameter space, namely:

171. Data Series I: Identical NQR parameters were run for each of the five sample masses. A total of 120 data sets (equivalent to 7680 scans, equivalent to circa 51,200 echoes) were recorded. This first data set was used primarily for training the analysis algorithms. The data were recorded by one of us and made available-with all of the random acquisition parameters-to another who performed the training. Twenty percent of the data were recorded without RFI.

2.

18Data Series II: This was similar to Series I, in that repeated combinations of parameters were used for recording the data for each sample mass, however, the series contained only 40 sets (2560 scans and 24,576 echoes). The data and selected parameters (P 90 , τ, number of echoes, and f NQR ), as would normally be known, were made available to the analyst. No information regarding the RFI or sample mass were available for the analyst.

3.

19Data Series III: This much larger volume of data contained 200 sets (12,800 scans and 102,400 echoes). The sample mass was now also varied randomly across the data sets. Only the raw data was made available to the analyst-in particular, no information was provided about the sample mass or RFI mask prior to the analysis.

RFI Suppression by Decision Tree Classifier

20In this work, the decision was taken to perform this operation in three steps. First, we used a decision tree model to identify the locations of the RFI within the raw time domain signal before demodulation. Second, we demodulated the entire signal (including RFI). Third, we acted on the demodulated signal to suppress the RFI at the now known locations. These three actions are discussed separately and are shown in the flowchart in Figure 3. Decision tree models are one of the most popular machine learning models because of their simplicity in term of the mathematical models used during training and predicting data, and because of their rapidity.

21A decision tree classification is a machine-learning model based on sequentially partitioning the data into decreasingly small sets. The tree starts at a root node, where the data is divided into two smaller sets based on a binary "feature" test of the data-that is, upon whether some quantitative measure derived from the data is, for instance, greater or less than a threshold value. Features can be temporal-or frequency-based, or based on some characteristic of the probability distribution of the data [20][21][22][23]. Further successive binary splittings of the data are made, based on further feature decisions. At each splitting, a smaller set of data is formed, and the process continues until no more splitting is possible or the chosen maximum number of splits is achieved. At this point, the data are grouped into "classes". A tree thereby comprises of nodes (decision points), branches (decision outcomes), and leaves (class or classification outcomes). The training program is designed to optimize the tree for classifying a particular type of data, given the known classes of the training data set. However, a fully-grown tree is likely to overfit the data, leading to poor accuracy on unseen data. Pruning is used to overcome overfitting. A discovered decision tree specific to this work is given in the results section to illustrate the process. Further discussions of decision trees can be found in the literature [24].

22The data consists of NQR scans; these are time series (see Figure 4). Each scan comprises a number of "units", defined as the time series from the start of one refocusing excitation pulse to the next. Each unit is composed of four main parts, namely: NQR excitation pulse, receiver ring down following saturation of the receiver by the pulse, echo, and RFI, as identified in the figure. The core idea of this work is to suppress the RFI from all units. Therefore, for the decision tree model, the four classes are the following: pulse, ring down, echo, and RFI. Note that the data starts with a pulse half the length (P 90 ) of all of the others (P 180 ), and that this is followed by an interval half the duration of all of the others. This is standard for the experiment; the useful data is in the wider intervals. Training data were prepared using recorded scans from the first experimental series. Each scan was separated into units, each comprising (ideally) an excitation pulse at the start, followed by echo data. In practice, because the PXIe and Redstone instruments ran asynchronously, there was a variable delay at the start of each recorded scan. In order to eliminate this delay and ensure accurate data timing between the scans and units, a dummy binary signal (x) was created, in such a way that it was equal to zero all over the scan, save that it is equal to one at the expected location of the pulses. The dummy signal started with P 90 ; it did not include the varying gap before the first pulse in each scan, as shown in Figure 5. The delay between the dummy binary and an actual scan, y, is calculated using the normalized cross-correlation between the two signals, at all possible lags, as follows:

23The calculated delay is given by the negative of the lag, for which the normalized cross-correlation has the largest absolute value. This delay, and the known pulse gap (τ) enabled different scans to be accurately aligned and divided into units.

24For model training, it is required to characterize each region of every training scan as one of the following four classes: pulse, ring down, echo data, or RFI. As the number of units is large, this process was automated. Identification of the P 180 pulse is straightforward, as it occurs at the start of the unit and has a known duration. Furthermore, for training, RFI is identified using the RFI transmit mask previously discussed. In order to separate the ring down and therefore find the beginning of the echo within a data unit, we run a moving average filter on the data region immediately following the P 180 pulse. The ring down is judged to have ended where the modulus of the data intensity, y , first equals the time averaged root mean square plus one standard deviation of the remaining echo signal. The echo data is identified as all that remains after the separation of the pulse, ring down, and RFI. The training data is thus fully separated into classes.

25For each of these parts, we passed a sliding window of 20 µs (about 218 data points) across the data-the windows did not overlap. For each of these windows, a set of 27 features were computed, ready to be input into the decision tree classifier. The features comprised a combination of temporal and frequency characteristics of each data window, as well as statistical characteristics. The chosen features were documented as follows.

26For each training 20 µs data segment (y) and its magnitude ( y ), we measured the following features: the statistical means (y) and ( y ), the standard deviations, as follows:

27and

28where N is the unit length, the kurtosis, as follows:

29and

30the skewness

31and

32and the 25th and 75th percentile, and the 25th and 75th cumulated sums for both y and y . For each data unit, we measured the average of the derivative ( y ), the power

33the envelope, and the start and end times of the segment. The frequency features are as follows: the maximal frequency and its height, the number of peaks, the sum of the heights of these peaks, the average distance that separates two neighboring peaks, and the area under the curve in the spectral density graph.

34In this work, we used a supervised decision tree model, as the data and the classes were known. Hence, at the training stage, the inputs of the model were the features, and the target was the corresponding classes. Labelled training data was fed to the decision tree model. We set 100 as the maximum number of splittings for the model, and adopted a k = 25-fold cross validation methodology. The k-fold cross validation consisted of portioning the available data into k bins (or folds) of equal size. One of these subsets was picked as a test set. The remaining k − 1 sets were put together into a training set, so as to train the machine learning algorithm and find the accuracy on the test set. The model was run k times, with each set used in turn as the test set, in order to find the general accuracy of the model by averaging across the k runs. The k-fold cross validation was illustrated in Figure 6. The data training was performed in the MATLAB (data pre-processing, training algorithms, and validation) and Python (training decision tree model and feature importance) programming languages.

Demodulation

35The data were quadrature demodulated in the normal fashion, using standard MATLAB ® functions. A low pass filter of 10 kHz was applied. Checks were made that data recorded with the PXIe and demodulated in MATLAB were essentially the same as that demodulated by the spectrometer. An exact equivalence was not obtained, as the spectrometer filter detail was unknown.

RFI Suppression

36The RFI removal strategy chosen was the most straightforward possible. As the RFI was in burst mode, we did not need to adopt the complex filtering methodologies as needed more widely by others. A typical data set contained 64 scans. The methodology consisted of emptying the regions of data within individual scans that were classified by the decision tree model as containing RFI. At every time point, the data from the remaining scans that do not include RFI at that point is averaged. We term this "direct removal", as illustrated in Figure 7. In the left-hand case, only Unit 1 is affected, and so the data from Units 2, 3, and 4 is averaged; in the right hand case, both Units 2 and 3 are affected, so Units 1 and 4 are used.

Training

37Training was first performed using all 27 features. Using the Scikit-Learn library in Python. We found that for each 20 µ s long data segment, the features that were most the important in determining whether it contained pulse, ring down, echo signal, or RFI were the following: the 75th percentile, the maximal frequency, the derivative average, the starting time of the segment within the whole data segment, the sum of the frequency peaks, the average distance between peaks, the end time, and the data kurtosis (as shown in Figure 8). On this basis, the training was repeated using just the most important eight, and then four, features.

38The topmost levels of the very heavily pruned, four-feature decision tree discovered by the training is shown in Figure 9 for illustrative purposes. Only eight nodes were retained. The full trees from 27, 8, and 4 features are available from the University of Surrey data repository. The confusion matrix of the trained RFI identification model for the tree based on all 27 features is shown in Figure 10a. An overall accuracy of 98.2% ± 0.2% was obtained on the training data. Specifically, the model correctly identified 86.0% ± 0.2% of the RFI occurrences. The false negative rate was therefore 14%. The machine got confused on 14% between echo and RFI, predominantly when the RFI amplitude was very close to the echo amplitude and when the modulation frequency was very close to the NQR frequency. An example of how well the proposed model is able to correctly classify the different parts of a unit is shown in Figure 11. This figure shows that the proposed model can successfully identify all of the different parts of the unit. The resultant confusion matrices are shown for trees with fewer features (as shown in Figure 10b,c). Fewer features produce almost as good results. Notwithstanding the identification of ring down, the echo data and RFI were degraded, and so we continued to use 27 features throughout the remainder of this work.

Comparative Tests

39The decision tree model for RFI identification and localization, followed by direct RFI removal and averaging, was applied to data series II and III. Here, we present a series of exemplars where a limited number of parameters were varied, in order to show the scale of improvement possible. Figure 12a shows the demodulated and averaged data for a set of 64 scans acquired at a frequency of 3.6034 MHz in the presence of RFI. The pulse length (P 90 = 223 µs) and the pulse gap is τ = 5868 µs. Only the train of n echo = 8 refocusing the pulses and echoes is shown repeating every τ; the initial excitation pulse is excluded. The refocusing pulses appear as white vertical bands, where they saturate the receiver. More-or-less everywhere else, the data is completely corrupted by RFI, which, at any time point, may have occurred in just a handful of the averaged scans. However, no single scan within the average is completely RFI free. Figure 12b shows the same data after the decision tree machine identification of RFI, demodulation, and RFI elimination by direct removal. The improvement is immediate and obvious. The oscillating quadrature components of the underlying NQR signal can be seen clearly. The oscillations reveal that the signal is off resonance by 2 kHz. This figure and analysis of a large number of experiments suggests that, as long as enough averages (data sets) are available, the direct removal is a satisfactory strategy to remove burst mode RFI once identified.

40In order to evidence the impact of the different experimental parameters on obtaining a clean NQR signal in the presence of RFI, we showed the results of applying the algorithm to different experiments. In each case, without the new processing, the echo signals (where present) were completely obscured by RFI.

41In Figure 13, we varied the sample mass, by 0, 100, and 200 g, but kept the other parameters constant and close to optimal, as follows: τ = 3000 µs, offset frequency δ f NQR = 0.17 kHz, and n echo = 8 and P 90 = 240 µs. The observed signal amplitude was seen to scale with the sample mass. Importantly, no signal was seen with no sample.

42In order to demonstrate the efficiency of the method while varying other key NQR parameters, namely, frequency, P 90 , and τ, we showed three sets of processed data in Figure 13. In each case, the sample weight was 100 g, and the ideal parameters are about the following: f NQR = 3.6051 MHz, P 90 = 240 µs, and τ = 3000 µs. In Figure 14a, δ f NQR = 0.8 kHz, with P 90 = 240 µs and τ = 3000 µs. The signal can still be seen, but with slightly less amplitude. In a real security application, this scenario might result from an unusually warmed or cooled sample. In Figure 14b, the signal is not seen. This is because of a combination of things. In particular, the P 90 = 195 µs is sub optimum, which might result from a poorly calibrated instrument, and τ = 5866 µs is long. The offset δ f NQR = 0.3 kHz is probably not insignificant. In Figure 14c, P 90 = 200 µs, and τ = 3240 µs and δ f NQR = 3.5 kHz. A small, but rapidly oscillating signal can be identified.

Choice of Decision Tree Model

43In this work, we used the decision tree model. This is a well-established and robust machine learning protocol that is easily implemented. However, other alternatives are available, and have been used in other applications. Amongst these are K-nearest neighbors (KNN) [25] and support vector machine (SVM) [26]. We do not repeat the details here, suffice to say neither was as satisfactory as that of the decision tree for the RFI removal of NQR data. We used the same set of training data with the same k = 25-fold cross validation to compare with KNN and SVM. KNN gave about 95% accuracy and SVM gave about 91% accuracy compared to the decision tree model, which gave 98.2% accuracy for the correct identification of RFI.

Results of RFI Removal

44A perceived security application involves human operators (in a later application, a machine recognition system) viewing a data set and making an instant go/no-go decision as to whether a signal has been detected.

45In an attempt to mimic this, a trial was established where volunteers were first trained to recognize NQR signals in graphical plots of processed data sets, such as seen in Figures 13 and 14. The volunteers were each then shown a random selection of 100 differently processed echo trains. A random, approximate half, of each 100 echo trains shown were demodulated and filtered in the normal way. The other half were treated for removal of RFI using the decision tree model, before identical demodulation and filtering. The data from series III was used for this exercise. The volunteers were asked to indicate their confidence, using a 0-10 scale, as follows: "NQR signal definitely present-10", indicating contraband present, down to "NQR signal definitely not present-0", meaning no contraband present. A score of five meant that they were uncertain and could not decide if a signal was, or was not, present.

46Receiver operating characteristic (ROC) curves are a standard tool to analyze the results of such a trial [20]. They are routinely used to illustrate the efficiency of RFI removal schemes from NQR data, although not, as far as we are aware, for using blind trials with human volunteers inspecting the data, as we used here (see e.g., [9][10][11][12][13][14][15]). They measure the rate at which a model correctly predicts a true positive result for a given rate of false positive (or false alarm) identification. For the ROC analysis presented here, the volunteer scores were separated post trial, back into those arising from the RFI decision tree treated and not-treated data. Furthermore, the volunteer score ratings were converted (linear scaling) to a probability likelihood (0 to 1). A decision threshold was set from which the true and false positive identification rates could be calculated as a function of the decision threshold. The data from the 21 volunteers were combined. In this way, the improvement brought by the RFI identification and removal could be quantified. The exercise yielded two roughly equal fractions of data, namely: with and without decision tree identification, and the direct removal of RFI. Based on the aggregated volunteer scores arising from the human trial, two receiver operating characteristic (ROC) curves were calculated for each fraction. The curves are shown is Figure 15. In this figure, the thick red line is for the data containing an RFI that has been processed with RFI removal, as well as demodulation and filtering, whereas the thick blue line is for demodulation and filtering only. The respective areas under curve (AUC) are 0.906 and 0.580, strongly endorsing two observations. First, without RFI removal, the data is almost useless as "guessing" yields using the diagonal line with AUC = 0.5. Second, RFI removal has a very positive impact. Under ideal scenarios, the "curve" is square and AUC = 1.

47In order to test whether active RFI suppression negatively affects signal detection when there is no RFI present (i.e., does RFI suppression make the result worse when no RFI is present due to miss-classification of data units?), we further calculated and added two more ROC curves, these for the data sets that specifically included data when no RFI was present. These are shown as the dotted lines in Figure 15; as these two curves are very similar to before, we conclude that when the RFI is not present in the data, the algorithm does not overly classify the NQR echo signal as RFI and make matters worse.

Conclusions

48We have shown that a decision tree model, machine learning algorithm is very well suited to the problem of identifying short radio frequency interference bursts, as they may corrupt the NQR signals enabling strategies to suppress these burst from the measured signals. Burst mode RFI, for instance, because of air craft communications, is not the only source of RFI at low MHz frequencies that may corrupt NQR signals, but, in the environs of our laboratory, it is by far the most dominant. It is less likely that this method could be successfully used on a lower level, continuous background RFI, although there is clear opportunity to develop the methodology further by incorporating the additional data available from the other RFI sensors-this is the subject of ongoing work.

49Once RFI is detected, a strategy is required to suppress it. Here, we have used a simple method of direct removal, and averaging the remaining data across multiple scans. This strategy is effective here for the RFI incidence rate studied, and with 64 scans available to average. However, with this strategy, care must be taken to ensure that sufficient averages are recorded, so as to ensure that at least one data set is contributed at all times. Notwithstanding that 64 scans were available per data set, in practice, only two or three good units were available to contribute to part of an echo in some cases.

50A possible alternate strategy for RFI removal post identification is linear predictive coding. We have previously explored this in the related context of RFI corrupting very short duration echoes. The RFI was predicted through the echo, and was subtracted out. The reverse scenario is used to predict the long echo through the burst of RFI. It may have benefit when only a very few (<64) averages are available. It would also be interesting to test a boosted decision tree methodology, and to compare the enhancement in term of the accuracy and speed of the model.

51The ROC curves shown here do not discriminate the data as a function of the sample mass, and hence, sensitivity is not assessed. Such an analysis is very much application specific.

참고문헌 24건

  1. Kalman filtering for enhanced landmine detection using quadrupole resonance IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2005 10.1109/tgrs.2005.846863
  2. Low-field permanent magnets for industrial process and quality control Progress in Nuclear Magnetic Resonance Spectroscopy · Elsevier BV · 2013 10.1016/j.pnmrs.2013.09.001
  3. Signal processing for NQR discrimination of buried land mines Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 1999 10.1117/12.357071
  4. Detection of 14N and 35Cl in Cocaine Base and Hydrochloride Using NQR, NMR, and SQUID Techniques Analytical Chemistry · American Chemical Society · 1995 10.1021/ac00109a053
  5. Robust Multichannel Detection of Mixtures Using Nuclear Quadrupole Resonance IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2008 10.1109/tsp.2008.928704
  6. Robust Detection of Stochastic Nuclear Quadrupole Resonance Signals IEEE Transactions on Signal Processing · Institute of Electrical and Electronics Engineers · 2008 10.1109/tsp.2008.923809
  7. Environmental MHz Noise Reduction for SQUID Application IEEE Transactions on Applied Superconductivity · IEEE Council on Superconductivity · 2007 10.1109/tasc.2007.897867
  8. Countering Radio Frequency Interference in Single-Sensor Quadrupole Resonance IEEE Geoscience and Remote Sensing Letters · Institute of Electrical and Electronics Engineers · 2008 10.1109/lgrs.2008.2005792
  9. Remote sensing by nuclear quadrupole resonance IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2001 10.1109/36.927420
  10. SVD-Based Technique for Interference Cancellation and Noise Reduction in NMR Measurement of Time-Dependent Magnetic Fields Sensors · Multidisciplinary Digital Publishing Institute · 2016 10.3390/s16030323
  11. A Hybrid Feature Selection Scheme for Reducing Diagnostic Performance Deterioration Caused by Outliers in Data-Driven Diagnostics IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2016 10.1109/tie.2016.2527623
  12. Decision tree methods: applications for classification and prediction 2015
  13. Detecting NQR signals severely polluted by interference Signal Processing · Elsevier BV · 2017 10.1016/j.sigpro.2017.03.032
  14. Health Assessment of Rotating Machinery Using a Rotary Encoder IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2739689
  15. Active elimination of radio frequency interference for improved signal-to-noise ratio for in-situ NMR experiments in strong magnetic field gradients Journal of Magnetic Resonance · Elsevier BV · 2018 10.1016/j.jmr.2018.01.002
  16. Variational Inference based Automatic Relevance Determination Kernel for Embedded Feature Selection of Noisy Industrial Data IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2815997
  17. Optimal Design for a Portable NMR- and MRI-Based Multiphase Flow Meter IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tie.2018.2870361
  18. Multiclass Radio Frequency Interference Detection and Suppression for SAR Based on the Single Shot MultiBox Detector Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18114034
  19. CC-DTW: An Accurate Indoor Fingerprinting Localization Using Calibrated Channel State Information and Modified Dynamic Time Warping Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19091984
  20. Integrated Airborne LiDAR Data and Imagery for Suburban Land Cover Classification Using Machine Learning Methods Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19091996
  21. Classifying Image Stacks of Specular Silicon Wafer Back Surface Regions: Performance Comparison of CNNs and SVMs Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19092056
  22. Joint TNT and RDX detection via quadrupole resonance IEEE Transactions on Aerospace and Electronic Systems · Institute of Electrical and Electronics Engineers · 2007 10.1109/taes.2007.4407458
  23. Detection of ammonium nitrate inside vehicles by nuclear quadrupole resonance Applied Magnetic Resonance · Springer Science+Business Media · 2004 10.1007/bf03166538
  24. Decision tree methods: applications for classification and prediction. PubMed · National Institutes of Health · 2015 10.11919/j.issn.1002-0829.215044