Next Article in Journal
Review of Optical Fiber Sensors for Temperature, Salinity, and Pressure Sensing and Measurement in Seawater
Next Article in Special Issue
Techniques to Improve the Performance of Planar Microwave Sensors: A Review and Recent Developments
Previous Article in Journal
Heavy Rain Face Image Restoration: Integrating Physical Degradation Model and Facial Component-Guided Adversarial Learning
Previous Article in Special Issue
A Novel Coupling Mechanism for CSRRs as Near-Field Dielectric Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Selective Microwave Zeroth-Order Resonator Sensor Aided by Machine Learning

1
Electrical and Computer Engineering, University of Alberta, Edmonton, AB T6G 1H9, Canada
2
Applied Cybernetics, University of Hradec Králové, 500 03 Hradec Králové, Czech Republic
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(14), 5362; https://doi.org/10.3390/s22145362
Submission received: 29 May 2022 / Revised: 3 July 2022 / Accepted: 15 July 2022 / Published: 18 July 2022
(This article belongs to the Special Issue State-of-the-Art Technologies in Microwave Sensors)

Abstract

:
Microwave sensors are principally sensitive to effective permittivity, and hence not selective to a specific material under test (MUT). In this work, a highly compact microwave planar sensor based on zeroth-order resonance is designed to operate at three distant frequencies of 3.5, 4.3, and 5 GHz, with the size of only λ g m i n / 8 per resonator. This resonator is deployed to characterize liquid mixtures with one desired MUT (here water) combined with an interfering material (e.g., methanol, ethanol, or acetone) with various concentrations (0%:10%:100%). To achieve a sensor with selectivity to water, a convolutional neural network (CNN) is used to recognize different concentrations of water regardless of the host medium. To obtain a high accuracy of this classification, Style-GAN is utilized to generate a reliable sensor response for concentrations between water and the host medium (methanol, ethanol, and acetone). A high accuracy of 90.7% is achieved using CNN for selectively discriminating water concentrations.

1. Introduction

Microwave planar sensors have recently spread in a wide range of applications including material characterization [1,2], the oil and sand industry [3,4,5], the biomedical field [6,7,8], and many others [9,10]. The main motivation behind the growing interest in these sensors is a combination of their intriguing features (such as low-cost mass production, simple design, high sensitivity) and, more importantly, non-contact mode of sensing. The latter allows for the interaction of materials in the proximity of the sensor to be interrogated without direct contact. This enables the operation of the sensor in harsh environments and inaccessible areas. This eventually prolongs the sensor life as the maintenance cost significantly decreases. However, this contact-less sensing scheme becomes problematic when the material under test (MUT) resides within an unknown background material. Similarly, when an interfering medium/material is present in the sensing range of a microwave planar sensor, the measurement results are affected. The microwave sensing principle in resonator-based sensors is attributed to the effective dielectric load on the resonator. It is clear that the mixture of several liquids modifies the dielectric properties, which can be quantified using the Maxwell–Garnett equation [11], compared with that of only a single MUT. In addition, unintended changes in the environment that impact the effective dielectric properties (e.g., relative humidity [12] or temperature [13]) may also lead to inaccuracies in the sensing outcome. As a result, planar sensing has complexities that need to be resolved in the microwave regime.
This article elaborates on a common issue among others of microwave sensors that are sensitivity to the effective medium rather than a specific MUT. It then proposes a technique to overcome this issue using machine learning. In a complex matrix consisting of two MUTs, one can determine the contribution of each material in the solution using a continuous regression model of the sensor response, e.g., using resonance frequency. The reason for the choice of resonance frequency is its robustness to the environmental thermal noise in comparison to the resonance amplitude. This regression is easily computed when the background medium is known. However, when the desired MUT is mixed with another, unknown liquid, it becomes erroneous to identify the level of desired MUT. In this work, we propose a multi-resonance sensor that is empowered with a machine learning algorithm to quantify the level of selected MUT in a binary mixture regardless of the host medium. This resonance-based process [14,15,16,17] yields a sensor that is not only sensitive, but also selective to only a single MUT, a characteristic that is not inherent to microwave sensors. The methodology used to differentiate various concentrations of the desired MUT (from 0 100 % ) is discretized into 11 groups using a convolutional neural network (CNN). Since CNN typically takes an image as the input, a novel approach is employed to convert the sensor measurement into an image, known as a heat map, suitable for the subsequent machine learning blocks. Deep learning has been used in various areas including biomedical [18,19,20,21] and agricultural applications [22,23], wherein self-feature extraction is exploited and learned through CNN [24,25].
It should be noted that using deep learning CNN as the classifier requires a large dataset for training. Using n extensive training set, CNN outperforms other methods such as ImageNet [26]. However, this process is intrinsically time consuming due to the need to individually label the measured samples. This results in a limited number of available training data points and, subsequently, in an overfitted trained model. At the same time, hand-crafted measurements are prone to error, especially for small concentrations of the desired MUT. To address the challenges associated with the use of CNN for material characterization, this paper introduces a technique to generate a large number of data points with high accuracy using a generative adversarial network (GAN) [27,28] called Style-GAN. It has been shown that GANs can be used for image generation [29], audio generation [30], and language processing [31]. However, the specifics of image generation are not sufficiently determined to allow controlled manipulation of the generated image. In contrast, Style-GAN as a variant of GANs, can generate realistic images because of the presence of latent vectors, which allow direct manipulation of the generated images. In this article, Style-GAN is used to generate a large number of suitable sensor responses for all intermediate concentrations between the selected MUT (here water) and undesired background material. This approach generates images with high accuracy, suitable for a CNN-based classification algorithm. In turn, it facilitates the effective evaluation of the sensor response for an arbitrary binary mixture.
The are two main novel contributions of the proposed approach as follows. First, the generation of a large number of synthetic sensor responses is of utmost importance specifically when measurement requires huge resources for high accuracy. This requirement is successfully met using Style-GAN (i.e., data augmentation). Second, the level of selected MUT is assessed by classifying the sensor response considering not just a single host medium, but several different media. Enabling this selectivity in sensing for a microwave sensor is conducted using a CNN that is trained to realize a selective microwave sensor. All in all, a significantly compact design is developed to be sensitive to only a single material of interest.

2. Sensor Design and Analysis

The unique properties of left-handed metamaterials introduced sophisticated devices with novel electromagnetic propagation properties. Reported structures include a resonant approach using SRR and metal wire [32] and a non-resonant one using an interdigital capacitor (IDC) and stubs [33]. The use of SRR and wire in the microwave regime is cumbersome due to the size limitations and narrow bandwidth. The transmission line approach, however, results in regions of operation for a positive, negative, or even zero phase constant ( β ). A typical series IDC and parallel stub, shown in Figure 1a, is essentially comprised of a series capacitor C L and a parallel inductor L L . In addition, the inductance of the series IDC and the capacitance between the stub and the ground, known as L R and C R , respectively, are used to comprehensively represent the equivalent circuit model of the unit cell. This combination leads to a composite right-/left-handed transmission line (CRLH TL). It can be designed for balanced resonances between series ω s e and shunt ω s h tanks as follows:
ω s e = 1 L R C L ,
ω s h = 1 L L C R .
The propagation constant β C R L H can be computed according to:
β C R L H = ω 2 L R C R + 1 ω 2 L R C L L R L L + C R C L .
In the case of a zero propagation constant ( β = 0 ) from (3), an infinite wavelength is supported.
The resonances of an open-ended CRLH TL occur when the propagation constant of each resonance β n is defined as:
β n = n π l , with n = 0 , ± 1 , ± 2 , , ± ( N 1 ) ,
where l , n , and N represent the length of the resonator, mode number, and number of unit cells, respectively. It is apparent that with β = 0 , the wavelength λ g = 2 π / β n becomes infinite and the resonance frequency is no longer tied to the sensor size. In comparison, the resonator size for a conventional open-ended resonator is half-wavelength. This feature of zeroth-order resonators allows for significant miniaturization, which is the motivation for this choice of resonator, especially when three resonators are used for a multi-resonance application. Since the material permittivity changes across frequency, it is recommended to study the material behavior in a broadband or multi-frequency span. In this design, three frequencies are chosen to cover a relatively large frequency span. In order to implement resonators associated with this frequency, the series capacitance and shunt inductance of a zero-order resonator can be arbitrarily chosen. To have a compact and consistent sensitive region for the MUT, the architecture of the IDC is shared among all resonators, while the length of the shunt inductors determines the resonance frequencies; therefore, one can obtain the resonance frequency of interest for each resonator by tuning the length of the corresponding shunt inductor. It is noteworthy to mention that the placement order of resonators affects the amplitude of transmission specifically for the lowest resonance. Considering this fact, the shunt inductor related to the lowest resonance frequency is located in the middle followed by feedback from the simulation results.

2.1. CRLH Analysis

The CRLH unit cell for the zeroth-order resonator is depicted in Figure 1a, which is essentially comprised of a series IDC and a stub shorted with a via. This is equivalent to a composite of series and parallel resonators, where the engineered series IDC fingers contribute to both capacitance and inductance. A similar assumption holds true for the shunt stub, which possesses capacitive features between the stub and the ground, while the stub acts as an inductor due to its short length (< λ g / 4 ). The pure left-handed TL representation is given in Figure 1c as well, where only the main contributing components, i.e., the series capacitance C L and shunt inductance L L , are presented. However, the presence of the underlying copper traces acting as C L and L L is significant enough to consider the regular representation of a right-handed TL as well.
The proposed resonator sensor is depicted in Figure 1d, where three zeroth-order resonators are cascaded with shared IDCs and separate shunt inductors. This sensor is comprised of three distinct resonance frequencies differentiated by specific stub lengths. The equivalent circuit model of the whole multi-resonator sensor is shown in Figure 1e, which is indeed a combination of three CRLH TLs in Figure 1b. Each capacitor is shared between two resonators; hence, in the corresponding circuit model given in Figure 1f, each series C L is doubled to illustrate each CRLH TL unit cell with a symmetrical representation. The regular TL circuit model denoting the input and output of the sensor is given as a symmetric series inductance ( L T L / 2 ) and shunt capacitance ( C T L ).
The relationship between the theoretical parameters ( S 21 and resonance frequency) and dielectric properties of the MUT can be derived through the following analysis: Accurate modeling of the sensor response is conducted through ABCD matrix analysis. Since the individual components of the sensor are cascaded, the whole design is divided into three main subsections including two transmission lines in the input and output ( T I / O ), three individual CRLH resonators ( C i , i = 1, 2, 3), and two series capacitances ( 2 C L ), as shown in Figure 1f.

2.1.1. Input/Output Transmission Line

The two transmission lines at the input and output of the sensor with the length of l I / O , propagation constant β , and characterization impedance Z 0 = 1 / Y 0 are modeled as follows:
T I / O = c o s ( β l I / O ) j Z 0 s i n ( β l I / O ) j Y 0 s i n ( β l I / O ) c o s ( β l I / O )

2.1.2. Connecting Capacitances

The two marginal capacitances as shown in Figure 1f are modeled as follows:
T 2 C L = 1 1 j ω 2 C L 0 1
where 2 C L is impacted by the MUT ( ε M U T ) and is modified as follows:
2 C L 2 C L = 2 C L ε r + ε M U T ε r + 1

2.1.3. CRLH Model

Each individual resonator is modeled with a cascade of capacitors and inductors, as shown in Figure 1f, which allows for matrix multiplication to determine the overall transfer function of each CRLH unit cell.
T C R L H i = 1 j ω L T L / 2 0 1 1 1 2 j ω C L 0 1 1 0 j ω C i 1 1 0 1 j ω L i 1 1 1 2 j ω C L 0 1 1 j ω L T L / 2 0 1
which can be summarized as follows:
T C R L H i = A i B i C i D i
The total transfer function is obtained by cascading all elements as follows:
T I / O × T 2 C L × T C R L H 1 × T C R L H 2 × T C R L H 3 × T 2 C L × T I / O = A B C D
Therefore, scattering parameter S 21 can be obtained with the following conversion equation:
S 21 = 2 A + B / Z 0 + C Z 0 + D
The corresponding resonance frequency of each resonator can be obtained through the equation when β C R L H = 0, as shown in Equation (2).

2.2. Sensor Topology and Field Analysis

A detailed top-view of the proposed sensor is shown in Figure 2a with the dimensions also given in Table 1. The structure is exposed to the MUT within a fluidic channel model, shown in Figure 2b, where the tubing is designed to cover the whole IDC section to exploit the fringing fields. Extending the tube to cover all IDCs engages all resonators and affects their resonance profiles simultaneously. This way, a multi-resonant sensor is structured, which is utilized to enable the characterization of a material over a wide range of frequencies.
The multi-resonator sensor was simulated in Ansys Electronics (HFSS) considering the bare resonator without any material/tube on it. HFSS uses a numerical method called the finite element method. Finite elements refer to smaller subsections that the desired structure is divided into. A solution for the fields (electric/magnetic) within the entire finite elements (mesh) is achieved when Maxwell’s equations are satisfied across inter-element boundaries. Once the field solution is available, the scattering parameters of the design are obtained. Mathematically, considering the boundary conditions and excitations, HFSS solves for the electric field E as follows:
× 1 μ r × E K 0 2 ε r E = 0
where μ r = μ μ 0 , ε r = ε ε 0 , K 0 2 = ω 2 ε 0 μ 0 = ω 2 c 2 , and for the magnetic field H as follows:
H = 1 ω μ × E
The magnitude of electric fields, shown in Figure 3a, also depicts the location of highly concentrated regions at a specific frequency that corresponds to the resonance of each resonator. For one, the shortest stub is associated with the highest resonance frequency, as shown in Figure 3a (left), with high electric fields concentrated on the left-most resonator. Please note that, in these simulations, the input port is located at the right side. Following the same inverse proportionality between the resonance frequency and the stub length, the next two resonances are also represented in the middle/right figures for the middle and lowest resonance frequencies, respectively. All resonances at 3.5, 4.3, and 4.9 GHz are also correlated with the corresponding magnitude of surface currents on the microstrip traces, as shown in Figure 3b. It is evident that the surface currents are maximally excited at each resonator with the corresponding resonance frequency, while affecting other resonators to a minimal degree. In addition, to demonstrate the depth of electric fields into the free space, E is depicted in Figure 4a–c. It is also clear that with the presence of tube filled with an analyte, here water, the surrounding volume around a resonator also becomes deeply interrogated compared with the adjacent locations. This also reaffirms that the resonators are able to interact with an MUT deep inside the fluidic tube.

2.3. Sensor Response in Simulation

In this section, the fluidic tube holding the desired MUT is placed on the IDCs and the sensor response is simulated for various dielectric properties of the MUT. This performance analysis involves both permittivity ε r and the loss tangent tan ( δ ) . First, the permittivity of the MUT inside the tubing is varied from 10 to 70 with increments of 10, while the loss tangent is kept constant at tan ( δ ) = 0 . This allows interpreting the results and their sensitivity to only the real permittivity variation. The magnitude and phase of transmission profiles S 21 are depicted in Figure 5a,b, respectively. It is clear that the three resonances are separate enough from each other to avoid significant mutual loading. The resonance frequencies decrease while the permittivity increases, which is apparent in both the magnitude and phase profiles. In another exercise, shown in Figure 5c,d, the effect of the loss tangent was studied. It is shown that increasing the value of tan ( δ ) from 0 up to 1 with an increment of 0.2 reduces the sharpness of the resonances and their amplitude. This lowered amplitude of resonance translates to the lowered slope of the S 21 with shallower curves.
It should be noted that the sensor response depends on the equivalent dielectric properties of the MUT over a wide range of frequencies. In this simulation, however, only a fixed value is used for both S 21 and S 21 , which is an averaged value at 4.5 GHz. This method not only reduces the simulation time, but also holds high accuracy with respect to the trends in the sensor response.

3. Measurement Results and Discussion

3.1. Measurement Setup

The measurement setup includes a S5065 copper mountain vector network analyzer (VNA), which is connected to the sensor with two STABILITY Microwave/RF (SC-N) cables as shown in Figure 6. Two syringe pumps, Pump 11 Elite (gray) and Cole-Parmer single syringe infusion pump (CAT No.78-9100C) (blue), were used to inject the MUT through a polytetrafluoroethylene (PTFE) fluidic channel. A plastic container was used to collect the waste material from the fluidic channel. The whole system resides inside a cubic chamber, which is covered by a foam sheet broadband microwave absorber (ECCOSORB-AN79) to protect the sensing environment from microwave inferences.

3.2. Results and Discussion

The proposed multi-resonator sensor was fabricated on the Rogers 5880 substrate with the parameters given in Table 1. The sensor was etched with ammonium persulfate dissolved in water. Using Copper Mountain S5065, transmission/reflection parameters in both magnitude (red) and phase (blue) were measured, as shown in Figure 7. A polytetrafluoroethylene (PTFE) fluidic channel with outer diameter = 1 / 8 and inner diameter = 1 / 16 was mounted on the sensor surface, allowing the MUT to flow through. An initial measurement response of the sensor without any liquid inside is shown in Figure 7. The measured resonance profile matches with the simulation result and verifies the three resonances in both the frequency and magnitude of resonance for either transmission S 21 or reflection S 11 (zoomed in with grey color) scattering parameters. Some minor discrepancies go back to the fabrication errors for the in-house etching process, as well as to the implementation of vias.
In this work, several binary mixtures were prepared with water in a secondary liquid, here including methanol, ethanol, and acetone. In order to achieve different mixtures with various concentrations of water, two syringe pumps were used. The syringe pumps were tuned to allow different flow rates for the constituting liquids of a mixture. As a result of a proper flow rate for the syringe holding water, concentrated solutions with increments of 10 % were obtained.
Since the microwave sensor is tightly linked with the effective dielectric constant of the solution, their effective permittivity was calculated through the Cole–Cole model with parameters taken from [34,35,36] as follows:
ε = ε + ( ε 0 ε ) 1 + ( j ω τ ) 1 α ,
where τ is the relaxation time constant, α is an empirical parameter, and ε 0 and ε are the low-frequency and high-frequency dielectric constant, respectively.
The propagation of electromagnetic waves inside a medium is tightly linked to the constituent parameters of the medium including the permittivity ( ε r ) and loss tangent (tan( δ )). Considering different concentrations of water when the permittivity increases at a given frequency, the wave speed that is determined by v = 1 μ ε reduces. Similarly, the wavelength decreases according to → ( λ = v f ). On the other hand, propagation in a lossy medium with a non-zero loss tangent affects the wave amplitude by a factor of e α z , where α = ω μ ε 2 1 + t a n ( δ ) 2 1 .
Figure 8a depicts the bulk medium permittivity values at the wide range of frequencies covering the span of interest. Subsequently, the binary mixtures of water in methanol, ethanol, and acetone are also computed and plotted in Figure 8b–d. It is apparent that the relative permittivity decreases over frequency for all solutions; however, the trend of the loss tangent is not predictable. With this in mind, various instances at a given frequency exist wherein the relative permittivity values overlap, which results in a similar performance for the frequency of operation in all three resonances of the proposed sensor. This leads to an indecisive conclusion on the nature of the ingredients since more than one candidate can be found that result in the same effective permittivity. This suggests that the effect of the background medium is considerable on the sensor response. The impact of background material is more elaborated when the concentrated solutions of water in methanol/ethanol/acetone are tested within a PTFE tubing. Measurements were recorded using LabView with time interval of 5 s, leading to a total of 50 measured sensor responses per intermediate concentration. The corresponding resonance frequencies are down-shifted in Figure 9 as a result of increased water content (equivalent to increased effective permittivity), as shown in Figure 8b–d. The trend is more significant for ethanol compared to the other MUT due to its lower permittivity at the frequency of interest compared to methanol or acetone. It can also be inferred that the measured sensor parameters of resonance, such as frequency and amplitude, do not independently suggest the nature of the ingredients in a binary mixture. In other words, a single resonance frequency value can be attributed to more than one MUT. Therefore, the feature of the microwave sensor that is sensitive to the effective permittivity leaves the sensor non-selective to the MUT. In order to resolve this issue, in this work, a CNN-based classifier was used to distinguish different mixtures using feature extraction. Since CNNs depend on image-based data, the measured sensor response needs to be converted to a graphical representation. To address this issue, a novel representation was obtained based on the amplitude and phase of transmission S 21 , as shown in Figure 10a. To obtain an image from these results, the phase diagram vs. frequency was kept as the baseline and the magnitude of transmission was used as the color intensity between white (low | S 21 | ) and red (high | S 21 | ), which is called a heat map in this work and shown in Figure 10b. This way, the results are completely conveyed in a unified format from which the constituent parameters can also be recovered. An image representation of 256 × 256 × 3 is fed to the network as the input data for a given transmission profile.

3.3. Style-GAN

Different concentrations of water in MUTs need to be meticulously prepared with proper flow rate adjustment in the syringes. Generating a high number of input data points for CNN requires time-consuming and laborious hands-on work, which is prone to error in sample preparation/testing. This is the main motivation to use an automated response generation for the sensor in its linear mode of operation. Please note that the fluidic channel cross-section is small and loads the sensor minimally, thus helping to exploit the linear mode of the sensor. In this section, a machine learning algorithm was employed to generate images with characteristics derived from two sources linearly using Style-GAN according to the linear mode of the sensor. Style interpolation incorporates two latent source imagesof ω 1 and ω 2 to generate a new style ω = λ · ω 1 + ( 1 λ ) · ω 2 , where λ stands for a strength parameter towards a class direction. This method was introduced by Keras et al. of Nvidia Research in 2018 [37]. Since then, Style-GAN generator has been applied in various applications including the generation of human faces and medical image synthesis [38,39]. Inspired by its wide-ranging application potential, this method was also used in the proposed microwave sensor.
A Style-GAN is characterized by two inputs of noise vectors and a randomized latent vector. The noise generated from a normal distribution creates stochastic variations, and the randomized vector sampled from a normal distribution determines global features in an image. This combination of latent vector and noise results in a variety of generated images. The architecture of Style-GAN is shown in Figure 11, which is composed of a mapping network f and a synthesis network g. The mapping network f is a multilayer perceptron with a latent code z Z , where z is a 512 × 1 vector sampled from a normal distribution N ( 0 , 1 ) . This network outputs a style vector w W with the shape of 512 × 1 . The purpose of the mapping network is to enable w to learn the distribution of the training set. The synthesis network g uses noise and style vector w to generate new images. This network is comprised of 14 (or 16–18) layers with seven (or 8–9) blocks for the image resolution of 256 2 (or 512 2 –1024 2 ). Each block consists of six operations: upscaling (1×), noise addition (2×), AdaIN (2×), and 3 × 3 convolution (1×). The operations of all blocks are similar except the first one, where a constant tensor is initialized. In each block, vector w and noise are used as the inputs. The affine transformation, shown with Sensors 22 05362 i001 in Figure 11, converts vector w into the style mean μ and the style variance σ . An adaptive instance normalization uses the statistical information of μ and σ to pass the properties of the adapted style to the next one as follows:
A d a I N ( x i , y ) = y s , i · x i μ x i σ ( x i ) + y b , i ,
where y s , i , y b , i stands for the standard deviation and mean of the adapted style, respectively; x i is the feature tensor passed from the previous operations.
The scaling per channel, shown with Sensors 22 05362 i002 in Figure 11, fits the shape of the noise into the propagating tensor and sums them. A final RGB convolution is applied to the output, which transforms the tensor into a desired image of sensor response.
In this work, Style-GAN Encoder was used [40] to modify the high-level attributes. Mapping network f transforms Z drawn from normal distribution N ( 0 , 1 ) to W to enable high-end attribute encoding. The new images generated by style interpolation utilize the linear relationship ω = λ · ω 1 + ( 1 λ ) · ω 2 , which results in a smooth transition between the source and target images.
The source materials of S 1 (water) and S 2 (methanol/ethanol/acetone) are measured with LabView every 5 s to arrive at 1000 measurements per sample. These sensor responses are converted into heat maps in order to train StyleGAN. The generated images between each set of S 1 and S 2 are represented in Figure 12 with λ factors between 0.1 and 0.9 with increments of 0.1 , which represent increases of the concentration by 10 % . This graph represents the sensor responses for each concentration assuming there is a linear variation in the sensor response, which is inferred from Figure 9a. Desired concentrations of water in all above-mentioned materials with 10 % increments are also measured with the sensor topology shown in Figure 6. These measured responses are used as true values for comparison with the generated responses by Style-GAN using the following metrics.
The similarity between two images is measured with the structural similarity index (SSIM) for each subimage with a side length of 11 as follows:
SSIM ( x , y ) = ( 2 μ x μ y + c 1 ) ( 2 σ x y + c 2 ) ( μ x 2 + μ y 2 + c 1 ) ( σ x 2 + σ x 2 + c 2 ) ,
where μ x and μ y are the average pixel intensity of the subimages x and y, respectively. The standard deviations of the subimages x and y are, respectively, σ x and σ y , and the covariance of the two subimages is σ x y . In addition, the peak-to-signal ratio (PSNR) is used for quality assessments as follows:
PSNR = 10 l o g 10 ( MAX i 2 MSE ) ,
where MAX is the highest scale value of the pixels and the mean of absolute error (MSE) is defined as follows:
MSE = 1 M N O x = 1 M y = 1 N z = 1 O ( Y ( x , y , z ) Y ^ ( x , y , z ) ) 2
Finally, to evaluate the performance of Style-GAN, the Frechet inception distance (FID) is used.
These metrics are computed and shown in Figure 13a–c versus the number of epochs. Style-GAN converges at 300 epochs with PSNR = 27.4 dB , SSIM = 0.859 , and FID = 21.6 . The accuracy of the generated images was verified, which ensures that the generated images can be used as the input dataset to train CNN classification.

3.4. Classification Using CNN

The images generated using Style-GAN comprise the input set to train the classifier for different concentrations of water in various host media. This way, image representations of measured sensor responses are mapped to the corresponding concentrations of water. This model has two components: feature extraction in the front end (convolutional and pooling layers) and predictive classifier in the back end. The CNN model was evaluated for various combinations of parameters including the number of layers (1, 2, 3), optimizers (Adam, Stochastic gradient decent), learning rates (0.001, 0.01, 0.1), and loss functions (binary cross-entropy, categorical cross-entropy).
Regarding the optimization of our model, our dataset has a specific format, magnitude, and phase of a frequency-based parameter, which is significantly different from well-known datasets in the literature. Other CNN-based deep networks are already pre-trained to be used for nominal objects. In order to apply those models to our dataset, one needs to train them from scratch. Besides, our dataset has a fixed pattern, which helps its recognition and training to be faster with simple networks without dealing with complex (deep) ones. Therefore, the used model in this manuscript was compared with a CNN comprised of different numbers of layers. In each case, different combinations of hyperparameters were compared to evaluate the model performance. The metrics of sensitivity, specificity, and accuracy were chosen to compare the network performance with detailed mathematical formulas as follows:
S e n s i t i v i t y = T P T P + F N
S p e c i f i c i t y = T N T N + F P
A c c u r a c y = T P + T N T N + T P + F P + F N
where T P , T N , F P , and F N represent true positive, true negative, false positive, and false negative, respectively. Figure 14 demonstrates the sensitivity and specificity analysis among the three different network layers of 1, 2, and 3. It is evident that the number of layers has a negligible impact on the model effectiveness as the measured sensor responses are simple with a fixed pattern. Therefore, the simplest model with only a single CNN layer was chosen to be used in this analysis.
The CNN model structure with the highest accuracy could be achieved as follows: a single convolutional layer with 32 filters with the size of ( 3 , 3 ) is followed by a max pooling layer. In order to provide features for the classifiers, filter maps were flattened. The output layer contains 11 nodes corresponding to 11 water concentration samples. Since the problem is a multi-class classification task, it requires using the softmax activation function. A dense layer with 100 nodes is between the feature extractor and the output layer to interpret the features. All layers except the output layer use ReLu as the activation function. The stochastic gradient descent optimizer with learning rate l r = 0.01 and momentum β = 0.9 was used to optimize the categorical cross-entropy loss (CCE) function. Here, to monitor the model performance, accuracy and loss were chosen as the evaluation metrics.
The saved Style-GAN generator model was used to create 500 heat maps per concentration from which 80% were used as the training set and 20% as the validation set to train the CNN classifier. Once the CNN was trained, 50 unseen heat maps per class obtained from measurement were used to test the CNN classifier performance as the external dataset. Figure 15a,b depicts the classifier’s convergence curves including the accuracy and loss metrics over 100 epochs. The confusion matrix depicted in Figure 15 c shows a high accuracy of 90.7 % over all classes. This confirms the selectivity of the sensor to the desired MUT (here water) regardless of the background material.

3.5. Model Uncertainty

Regarding the robustness of the model, high probabilities in classification do not guarantee the high certainty of the model. In the proposed work, the Gaussian process (GP) was applied to the features of the last layer of the CNN model, which allows for the practical evaluation of uncertainty bounds without losing the power of the deep learning model. The activations of the last hidden layer were extracted as the features that were used to train the GP. The GP comprises a Matern kernel [41] with ν = 3 / 2 with white noise to account for noisy data. Several different states of white noise level were increasingly introduced to the model to distort it. As a result, the model with various noise levels according to standard deviation σ 0.02 , 0.04 , 0.06 , 0.08 , 0.1 in the last layer accounting for the noisy data was evaluated for three different layers 1, 2, and 3, and the accuracy is reported as shown in Figure 16. The test and validation set are also included for comparison. It is clear that the single-layer CNN model has comparable performance as the ones with more layers. As a result, a single-layer CNN was used to conserve resources and simulation time.

3.6. Comparative Analysis

A comparative analysis is detailed in Table 2 where planar microwave sensors are examined with respect to the frequency of operation, method of operation, materials used, and proposed applications. Some sources [42] report sensors to analyze the composition of the solution using a multi-resonance approach. However, these sensors are not developed to selectively react to only a single material. In contrast, the proposed system enables the sensor to be selective only to a specific MUT in a complex matrix. For instance, in biological analysis of the body state such as the glucose level in the blood, several analytes including fructose, galactose, caffeine, etc., also undergo changes as a result of food intake. Therefore, designing a sensor to be selective to only glucose within such a complex matrix is the ultimate goal to enable sophisticated clinical applications. Hence, using the proposed sensor, the effects of single or multiple background interfering impacts can be nullified. In addition, the proposed approach introduces a novel method to increase the number of measured materials with high accuracy. Therefore, the measurement inaccuracies due to human error or setup displacements can be avoided.
On the limitation of the proposed study, the sensitivity of the microwave sensor to the placement of the MUT, as well as the surrounding medium in the sensor’s proximity are of high importance. Typically, microwave devices need to be protected from environmental electromagnetic interference for high accuracy and repetition. Lastly, the number of measurements to be considered in the training process needs to be high for better convergence; however, too many measurements usually include higher human errors. In our study, we tried to avoid such errors with the help of StyleGAN, whose performance is tied to available resources (e.g., memory, GPU, etc.).

4. Conclusions

In this work, a multi-resonator sensor using metamaterial transmission line zeroth-order resonators was developed that covers a wide range of frequencies from 3 GHz to 5.5 GHz. The resonator was exposed to binary mixtures of water in {methanol, ethanol, and acetone} with concentrations ranging from 0 % 100 % with increments of 10 % . The sensor was developed to be selective to only water regardless of the host medium. In this process, a convolutional neural network was used as the classification algorithm. Sensor response ( | S 21 | and S 21 ) was converted into heat maps with the phase vs. frequency diagram colored by the magnitude of S 21 . These images were fed to the CNN as the input. A large number of images were generated using Style-GAN on the heat maps from two sources. Using Style-GAN, heat maps of intermediate concentrations were generated with a high PSNR of 27.4 dB. Finally, the classification of all samples into 11 categories (0%:10%:100% all-inclusive) confirmed a high accuracy of image generation by Style-GAN combined with the CNN classifier of 90.7%. This approach promises the development microwave sensors selective to a desired material of interest.

Author Contributions

Conceptualization, N.K., N.G., and P.M.; methodology, N.K. and N.G.; validation, N.K. and N.G.; formal analysis, N.K.; resources, P.M.; writing—original draft preparation, N.K.; writing—review and editing, P.M.; visualization, N.K.; supervision, P.M.; funding acquisition, P.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Natural Science and Engineering Research Council (NSERC) of Canada, the Future Energy System (FES), and by CMC Microsystems.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are not publicly available due to data privacy restrictions.

Acknowledgments

The authors would like to thank Rogers Corp. for their generous donations in substrates.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abdolrazzaghi, M.; Daneshmand, M. Exploiting sensitivity enhancement in micro-wave planar sensors using intermodulation products with phase noise analysis. IEEE Trans. Circuits Syst. I Reg. Papers 2020, 67, 4382–4395. [Google Scholar] [CrossRef]
  2. Kazemi, N.; Schofield, K.; Musilek, P. A high-resolution reflective microwave planar sensor for sensing of vanadium electrolyte. Sensors 2021, 21, 3759. [Google Scholar] [CrossRef] [PubMed]
  3. Abdolrazzaghi, M.; Zarifi, M.H.; Floquet, C.F.; Daneshmand, M. Contactless asphaltene detection using an active planar microwave resonator sensor. Energy Fuels 2017, 31, 8784–8791. [Google Scholar] [CrossRef]
  4. Baghelani, M. A Single-Wire Microwave Sensor for Selective Water and Clay in Bitumen Analysis at High Temperatures. IEEE Trans. Instrum. Meas. 2021, 70, 1–8. [Google Scholar] [CrossRef]
  5. Abbasi, Z.; Niazi, H.; Abdolrazzaghi, M.; Chen, W.; Daneshmand, M. Monitoring pH level using high-resolution microwave sensor for mitigation of stress corrosion cracking in steel pipelines. IEEE Sens. J. 2020, 20, 7033–7043. [Google Scholar] [CrossRef]
  6. Baghelani, M.; Abbasi, Z.; Daneshmand, M.; Light, P.E. Non-invasive continuous-time glucose monitoring system using a chipless printable sensor based on split ring microwave resonators. Sci. Rep. 2020, 10, 12980. [Google Scholar]
  7. Abdolrazzaghi, M.; Katchinskiy, N.; Elezzabi, A.Y.; Light, P.E.; Daneshmand, M. Noninvasive glucose sensing in aqueous solutions using an active split-ring resonator. IEEE Sens. J. 2021, 21, 18742–18755. [Google Scholar] [CrossRef]
  8. Li, Z.; Tian, X.; Qiu, C.W.; Ho, J.S. Metasurfaces for bioelectronics and healthcare. Nat. Electron. 2021, 4, 382–391. [Google Scholar] [CrossRef]
  9. Muñoz-Enano, J.; Coromina, J.; Vélez, P.; Su, L.; Gil, M.; Casacuberta, P.; Martín, F. Planar phase-variation microwave sensors for material characterization: A review and comparison of various approaches. Sensors 2021, 21, 1542. [Google Scholar] [CrossRef]
  10. Martín, F.; Vélez, P.; Gil, M. Microwave sensors based on resonant elements. Sensors 2020, 20, 3375. [Google Scholar] [CrossRef]
  11. Markel, V.A. Introduction to the Maxwell Garnett approximation: Tutorial. J. Opt. Soc. Am. A 2016, 33, 1244–1256. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Abdolrazzaghi, M.; Khan, S.; Daneshmand, M. A dual-mode split-ring resonator to eliminate relative humidity impact. IEEE Microw. Wirel. Compon. Lett. 2018, 28, 939–941. [Google Scholar] [CrossRef]
  13. Kazemi, N.; Abdolrazzaghi, M.; Musilek, P.; Daneshmand, M. A temperature-compensated high-resolution microwave sensor using artificial neural network. IEEE Microw. Wirel. Compon. Lett. 2020, 30, 919–922. [Google Scholar] [CrossRef]
  14. Chaparro-Ortiz, D.A.; Sejas-García, S.C.; Torres-Torres, R. Relative Permittivity and Loss Tangent Determination Combining Broadband S-parameter and Single-Frequency Resonator Measurements. IEEE Trans. Electromagn. Compat. 2022, 1–7. [Google Scholar] [CrossRef]
  15. Abdolrazzaghi, M.; Daneshmand, M.; Iyer, A.K. Strongly enhanced sensitivity in planar microwave sensors based on metamaterial coupling. IEEE Trans. Microw. Theory Tech. 2018, 66, 1843–1855. [Google Scholar] [CrossRef] [Green Version]
  16. Abdolrazzaghi, M.; Kazemi, N.; Daneshmand, M. Sensitive spectroscopy using DSRR array and Linvill negative impedance. In Proceedings of the 2019 IEEE/MTT-S International Microwave Symposium (IMS), Boston, MA, USA, 2–7 June 2019; pp. 1080–1083. [Google Scholar]
  17. Abdolrazzaghi, M.; Kazemi, N.; Daneshmand, M. An SIW oscillator for microfluidic lossy medium characterization. In Proceedings of the 2020 IEEE/MTT-S International Microwave Symposium (IMS), Los Angeles, CA, USA, 4–6 August 2020; pp. 221–224. [Google Scholar]
  18. Farooq, A.; Anwar, S.; Awais, M.; Rehman, S. A deep CNN based multi-class classification of Alzheimer’s disease using MRI. In Proceedings of the 2017 IEEE International Conference on Imaging Systems and Techniques (IST), Beijing, China, 18–20 October 2017; pp. 1–6. [Google Scholar]
  19. Badža, M.M.; Barjaktarović, M.Č. Classification of brain tumors from MRI images using a convolutional neural network. Appl. Sci. 2020, 10, 1999. [Google Scholar] [CrossRef] [Green Version]
  20. Le, N.Q.K.; Nguyen, B.P. Prediction of FMN binding sites in electron transport chains based on 2-D CNN and PSSM Profiles. IEEE/ACM Trans. Comput. Biol. Bioinform. 2019, 18, 2189–2197. [Google Scholar] [CrossRef]
  21. Le, N.Q.K.; Ho, Q.T. Deep transformers and convolutional neural network in identifying DNA N6-methyladenine sites in cross-species genomes. Methods 2022, 204, 199–206. [Google Scholar] [CrossRef]
  22. Li, W.; Wang, D.; Li, M.; Gao, Y.; Wu, J.; Yang, X. Field detection of tiny pests from sticky trap images using deep learning in agricultural greenhouse. Comput. Electron. Agric. 2021, 183, 106048. [Google Scholar] [CrossRef]
  23. Barbedo, J.G. Factors influencing the use of deep learning for plant disease recognition. Biosyst. Eng. 2018, 172, 84–91. [Google Scholar] [CrossRef]
  24. Raza, A.; Ayub, H.; Khan, J.A.; Ahmad, I.; Salama, A.S.; Daradkeh, Y.I.; Javeed, D.; Ur Rehman, A.; Hamam, H. A Hybrid Deep Learning-Based Approach for Brain Tumor Classification. Electronics 2022, 11, 1146. [Google Scholar] [CrossRef]
  25. Lu, C.Y.; Rustia, D.J.A.; Lin, T.T. Generative adversarial network based image augmentation for insect pest classification enhancement. IFAC-PapersOnLine 2019, 52, 1–5. [Google Scholar] [CrossRef]
  26. Ahmad, I.; Ullah, I.; Khan, W.U.; Ur Rehman, A.; Adrees, M.S.; Saleem, M.Q.; Cheikhrouhou, O.; Hamam, H.; Shafiq, M. Efficient algorithms for E-healthcare to solve multiobject fuse detection problem. J. Healthc. Eng. 2021, 2021, 9500304. [Google Scholar] [CrossRef]
  27. Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative adversarial nets. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, USA, 8–13 December 2014; Voume 27. [Google Scholar]
  28. Sabuhi, M.; Zhou, M.; Bezemer, C.P.; Musilek, P. Applications of Generative Adversarial Networks in Anomaly Detection: A Systematic Literature Review. IEEE Access 2021, 9, 161003–161029. [Google Scholar] [CrossRef]
  29. Brock, A.; Donahue, J.; Simonyan, K. Large scale GAN training for high fidelity natural image synthesis. arXiv 2018, arXiv:1809.11096. [Google Scholar]
  30. Donahue, C.; McAuley, J.; Puckette, M. Synthesizing audio with generative adversarial networks. arXiv 2018, arXiv:1802.04208. [Google Scholar]
  31. Kusner, M.J.; Hernández-Lobato, J.M. Gans for sequences of discrete elements with the gumbel-softmax distribution. arXiv 2016, arXiv:1611.04051. [Google Scholar]
  32. Simovski, C.R.; Belov, P.A.; He, S. Backward wave region and negative material parameters of a structure formed by lattices of wires and split-ring resonators. IEEE Trans. Antennas Propag. 2003, 51, 2582–2591. [Google Scholar] [CrossRef]
  33. Lai, A.; Itoh, T.; Caloz, C. Composite right/left-handed transmission line metamaterials. IEEE Microw. Mag. 2004, 5, 34–50. [Google Scholar] [CrossRef]
  34. Kumbharkhane, A.; Helambe, S.; Lokhande, M.; Doraiswamy, S.; Mehrotra, S. Structural study of aqueous solutions of tetrahydrofuran and acetone mixtures using dielectric relaxation technique. Pramana 1996, 46, 91–98. [Google Scholar] [CrossRef]
  35. Petong, P.; Pottel, R.; Kaatze, U. Water- ethanol mixtures at different compositions and temperatures: A dieletric relaxation study. J. Phys. Chem. A 2000, 104, 7420–7428. [Google Scholar] [CrossRef]
  36. Smith, R., Jr.; Lee, S.; Komori, H.; Arai, K. Relative permittivity and dielectric relaxation in aqueous alcohol solutions. Fluid Phase Equilibria 1998, 144, 315–322. [Google Scholar] [CrossRef]
  37. Karras, T.; Laine, S.; Aila, T. A style-based generator architecture for generative adversarial networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 4401–4410. [Google Scholar]
  38. Fetty, L.; Bylund, M.; Kuess, P.; Heilemann, G.; Nyholm, T.; Georg, D.; Löfstedt, T. Latent space manipulation for high-resolution medical image synthesis via the StyleGAN. Z. Med. Phys. 2020, 30, 305–314. [Google Scholar] [CrossRef]
  39. Schutte, K.; Moindrot, O.; Hérent, P.; Schiratti, J.B.; Jégou, S. Using stylegan for visual interpretability of deep learning models on medical images. arXiv 2021, arXiv:2101.07563. [Google Scholar]
  40. Nikitko, D. Stylegan-Encoder. Available online: https://github.com/Puzer/stylegan-encoder (accessed on 29 May 2022).
  41. Williams, C.K.; Rasmussen, C.E. Gaussian Processes for Machine Learning; MIT Press: Cambridge, MA, USA, 2006; Volume 2. [Google Scholar]
  42. Baghelani, M.; Hosseini, N.; Daneshmand, M. Artificial intelligence assisted noncontact microwave sensor for multivariable biofuel analysis. IEEE Trans. Ind. Electron. 2020, 68, 11492–11500. [Google Scholar] [CrossRef]
  43. Baghelani, M.; Hosseini, N.; Daneshmand, M. Non-contact real-time water and brine concentration monitoring in crude oil based on multi-variable analysis of microwave resonators. Measurement 2021, 177, 109286. [Google Scholar] [CrossRef]
  44. Saeedi, S.; Chamaani, S. Non-contact Time Domain Ultra Wide Band Milk Spectroscopy. IEEE Sens. J. 2021, 21, 13849–13857. [Google Scholar] [CrossRef]
  45. Harnsoongnoen, S.; Wanthong, A. A non-contact planar microwave sensor for detection of high-salinity water containing NaCl, KCl, CaCl2, MgCl2 and Na2CO3. Sens. Actuators B Chem. 2021, 331, 129355. [Google Scholar] [CrossRef]
  46. Saghati, A.P.; Batra, J.S.; Kameoka, J.; Entesari, K. A metamaterial-inspired wideband microwave interferometry sensor for dielectric spectroscopy of liquid chemicals. IEEE Trans. Microw. Theory Tech. 2017, 65, 2558–2571. [Google Scholar] [CrossRef]
  47. Havelka, D.; Krivosudský, O.; Průša, J.; Cifra, M. Rational design of sensor for broadband dielectric spectroscopy of biomolecules. Sens. Actuators B Chem. 2018, 273, 62–69. [Google Scholar] [CrossRef]
  48. Baghelani, M. Wide-Band Label-Free Selective Microwave Resonator-Based Sensors for Multi-Component Liquid Analysis. IEEE Sens. J. 2021, 22, 2128–2134. [Google Scholar] [CrossRef]
  49. Hosseini, N.; Baghelani, M. Selective real-time non-contact multi-variable water-alcohol-sugar concentration analysis during fermentation process using microwave split-ring resonator based sensor. Sens. Actuators A Phys. 2021, 325, 112695. [Google Scholar] [CrossRef]
Figure 1. Composite right-/left-hand transmission line unit cell in (a) layout and (b) equivalent circuit model with series and shunt resonators. (c) A typical left-handed transmission line without considering the right-handed transmission line components. (d) Layout of the proposed sensor with three adjacent resonators sharing similar capacitors and different stubs. (e) Equivalent circuit model of the proposed multi-resonator-based sensor. (f) Simplified circuit model with blocks of CRLH cells.
Figure 1. Composite right-/left-hand transmission line unit cell in (a) layout and (b) equivalent circuit model with series and shunt resonators. (c) A typical left-handed transmission line without considering the right-handed transmission line components. (d) Layout of the proposed sensor with three adjacent resonators sharing similar capacitors and different stubs. (e) Equivalent circuit model of the proposed multi-resonator-based sensor. (f) Simplified circuit model with blocks of CRLH cells.
Sensors 22 05362 g001
Figure 2. (a) Top-view of the proposed multi-resonator sensor. (b) Perspective of the sensor with the fluidic channel mounted on the top.
Figure 2. (a) Top-view of the proposed multi-resonator sensor. (b) Perspective of the sensor with the fluidic channel mounted on the top.
Sensors 22 05362 g002
Figure 3. Sensor field analysis in HFSS with (a) magnitude of electric field E and (b) magnitude of surface current J s u r f .
Figure 3. Sensor field analysis in HFSS with (a) magnitude of electric field E and (b) magnitude of surface current J s u r f .
Sensors 22 05362 g003
Figure 4. Magnitude of electric field E with the filled tube on the sensor at all resonances of (a) 4.9 GHz, (b) 4.3 GHz, and (c) 3.5 GHz.
Figure 4. Magnitude of electric field E with the filled tube on the sensor at all resonances of (a) 4.9 GHz, (b) 4.3 GHz, and (c) 3.5 GHz.
Sensors 22 05362 g004
Figure 5. Sensor performance for a filled tube on the sensor. The effect of variable permittivity and tan ( δ ) = 0 on (a) S 21 and (b) S 21 and loss tangent variation with ε r = 70 on (c) S 21 and (d) S 21 .
Figure 5. Sensor performance for a filled tube on the sensor. The effect of variable permittivity and tan ( δ ) = 0 on (a) S 21 and (b) S 21 and loss tangent variation with ε r = 70 on (c) S 21 and (d) S 21 .
Sensors 22 05362 g005
Figure 6. Measurement setup with two syringe pumps and the fluidic PTFE tube mounted on the sensor.
Figure 6. Measurement setup with two syringe pumps and the fluidic PTFE tube mounted on the sensor.
Sensors 22 05362 g006
Figure 7. Comparison between measured (solid) and simulated (dashed) scattering parameters in magnitude (blue) and phase (red).
Figure 7. Comparison between measured (solid) and simulated (dashed) scattering parameters in magnitude (blue) and phase (red).
Sensors 22 05362 g007
Figure 8. Dielectric properties of the bulk medium including water, methanol, ethanol, and acetone (a) and of concentrated solutions of water in ethanol (b), acetone (c), and methanol (d). Please note that the arrows demonstrate the increase in the water concentrations from 0−100%.
Figure 8. Dielectric properties of the bulk medium including water, methanol, ethanol, and acetone (a) and of concentrated solutions of water in ethanol (b), acetone (c), and methanol (d). Please note that the arrows demonstrate the increase in the water concentrations from 0−100%.
Sensors 22 05362 g008
Figure 9. Measured sensor response for various concentrations of water in methanol/ethanol/acetone in both (a) resonance frequency and (b) amplitude of resonance.
Figure 9. Measured sensor response for various concentrations of water in methanol/ethanol/acetone in both (a) resonance frequency and (b) amplitude of resonance.
Sensors 22 05362 g009
Figure 10. (a) Magnitude and phase of resonator sensor response. (b) Corresponding S 21 phase vs. frequency with the color intensity determined by the | S 21 | level.
Figure 10. (a) Magnitude and phase of resonator sensor response. (b) Corresponding S 21 phase vs. frequency with the color intensity determined by the | S 21 | level.
Sensors 22 05362 g010
Figure 11. The style-based generator architecture.
Figure 11. The style-based generator architecture.
Sensors 22 05362 g011
Figure 12. Interpolation between heat maps of the source materials of water ( S 1 ) and the next source S 2 from methanol, ethanol, and acetone in Rows 1, 2, and 3, respectively.
Figure 12. Interpolation between heat maps of the source materials of water ( S 1 ) and the next source S 2 from methanol, ethanol, and acetone in Rows 1, 2, and 3, respectively.
Sensors 22 05362 g012
Figure 13. Image generation metrics using Style-GAN given as (a) PSNR, (b) SSIM, and (c) FID score.
Figure 13. Image generation metrics using Style-GAN given as (a) PSNR, (b) SSIM, and (c) FID score.
Sensors 22 05362 g013
Figure 14. (a) Sensitivity and (b) specificity analysis for CNNs with different numbers of layers and hyperparameters including optimizers, learning rates, and loss functions. In the box plots the central line defines the median. The lower and upper hinges of the boxes correspond to the 25th and 75th percentiles, and the whiskers are the minimum and maximum values. Outliers that differ significantly from the rest of the dataset are plotted as individual points (diamond) beyond the whiskers on the box-plot.
Figure 14. (a) Sensitivity and (b) specificity analysis for CNNs with different numbers of layers and hyperparameters including optimizers, learning rates, and loss functions. In the box plots the central line defines the median. The lower and upper hinges of the boxes correspond to the 25th and 75th percentiles, and the whiskers are the minimum and maximum values. Outliers that differ significantly from the rest of the dataset are plotted as individual points (diamond) beyond the whiskers on the box-plot.
Sensors 22 05362 g014
Figure 15. CNN Classifier (a) accuracy and (b) loss per epoch number. Confusion matrix for classifying the samples into categories of water percentage from 0 100 % with 10 % increments. (c) Confusion matrix for the selective microwave sensor.
Figure 15. CNN Classifier (a) accuracy and (b) loss per epoch number. Confusion matrix for classifying the samples into categories of water percentage from 0 100 % with 10 % increments. (c) Confusion matrix for the selective microwave sensor.
Sensors 22 05362 g015
Figure 16. Uncertainty of the model with various noise levels being increasingly introduced with the corresponding standard deviation σ 0.02 , 0.04 , 0.06 , 0.08 , 0.1 .
Figure 16. Uncertainty of the model with various noise levels being increasingly introduced with the corresponding standard deviation σ 0.02 , 0.04 , 0.06 , 0.08 , 0.1 .
Sensors 22 05362 g016
Table 1. Sensor parameters’ dimensions and substrate information.
Table 1. Sensor parameters’ dimensions and substrate information.
ParametergWstublIDCIstub1Istub2Istub3
Value [mm]0.40.8434.52
Rogers   5880  ε s u b s t r a t e tan ( δ ) Thickness
2.20.00090.5
Table 2. Comparison table for various sensors studying selectivity features.
Table 2. Comparison table for various sensors studying selectivity features.
RefSensing Technique f res  [GHz]MethodMaterialApplications/Metrics
[42]Planar SRR 10.5–4.5Multi-harmonics analysis using ANNWater/ethanol/gasolineGas and oil industryMSE: 0.057%
[43]Planar SRR1–10Mathematical analysis Saline water/oil/brineDetection of water and brine in oil—Error: 0.87%
[44]Xethru Radar6–7.75Time-domain analysisWater and fat in raw milkDairy industry MSE: 0.29%
[45] μ strip SRR0.5–2.2logarithmic regression methodCaCl2, NaCl, KCl, MgCl2 and Na2CO3Concentrations of salts in water—error: ±1 MHz
[46]CSRR 24.2–8Microwave interferometryEthanol/methanol/ butan-1-ol/propan-1-olError: 1.1%
[47]CBCPW0.5–40Stokes–Einstein–Debye equationWater/AlanineBiosensing and bioelectromagnetics
[48]Multi-Slot SRR0.1–6.5Multi-resonance analyzed using AIWater/methanolethanol/peroxide/acetoneglycerol/propanolMSE: 0.13%
[4]Single wire coil0.2–4.5Volumetric analysis of the mixtures Water–clay/bitumenBitumen–water–clay analysis—MAE: 4%
[49]Planar SRR1.1, 2.2Mathematical analysis of ε in mixtureEthanol–water–glucoseFermentation process in food industry—Error: 0.087%
This work0th-order resonator3–6CNN-based selective classifierWater in methanol, ethanol, acetoneSelectivity in biomedical/CCE: 0.21%accuracy: 90.7%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kazemi, N.; Gholizadeh, N.; Musilek, P. Selective Microwave Zeroth-Order Resonator Sensor Aided by Machine Learning. Sensors 2022, 22, 5362. https://doi.org/10.3390/s22145362

AMA Style

Kazemi N, Gholizadeh N, Musilek P. Selective Microwave Zeroth-Order Resonator Sensor Aided by Machine Learning. Sensors. 2022; 22(14):5362. https://doi.org/10.3390/s22145362

Chicago/Turabian Style

Kazemi, Nazli, Nastaran Gholizadeh, and Petr Musilek. 2022. "Selective Microwave Zeroth-Order Resonator Sensor Aided by Machine Learning" Sensors 22, no. 14: 5362. https://doi.org/10.3390/s22145362

APA Style

Kazemi, N., Gholizadeh, N., & Musilek, P. (2022). Selective Microwave Zeroth-Order Resonator Sensor Aided by Machine Learning. Sensors, 22(14), 5362. https://doi.org/10.3390/s22145362

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

Article Metrics

Back to TopTop