Skip to main content
Springer logoLink to Springer
. 2024 Mar 13;191(4):196. doi: 10.1007/s00604-024-06258-8

Metal oxide-based gas sensor array for VOCs determination in complex mixtures using machine learning

Shivam Singh 1, Sajana S 1, Poornima Varma 2, Gajje Sreelekha 3, Chandranath Adak 3,, Rajendra P Shukla 4,, Vinayak B Kamble 1,
PMCID: PMC10937778  PMID: 38478125

Abstract

Detection of volatile organic compounds (VOCs) from the breath is becoming a viable route for the early detection of diseases non-invasively. This paper presents a sensor array of 3 component metal oxides that give maximal cross-sensitivity and can successfully use machine learning methods to identify four distinct VOCs in a mixture. The metal oxide sensor array comprises NiO-Au (ohmic), CuO-Au (Schottky), and ZnO–Au (Schottky) sensors made by the DC reactive sputtering method and having a film thickness of 80–100 nm. The NiO and CuO films have ultrafine particle sizes of < 50 nm and rough surface texture, while ZnO films consist of nanoscale platelets. This array was subjected to various VOC concentrations, including ethanol, acetone, toluene, and chloroform, one by one and in a pair/mix of gases. Thus, the response values show severe interference and departure from commonly observed power law behavior. The dataset obtained from individual gases and their mixtures were analyzed using multiple machine learning algorithms, such as Random Forest (RF), K-Nearest Neighbor (KNN), Decision Tree, Linear Regression, Logistic Regression, Naive Bayes, Linear Discriminant Analysis, Artificial Neural Network, and Support Vector Machine. KNN and RF have shown more than 99% accuracy in classifying different varying chemicals in the gas mixtures. In regression analysis, KNN has delivered the best results with an R2 value of more than 0.99 and LOD of 0.012 ppm, 0.015 ppm, 0.014 ppm, and 0.025 ppm for predicting the concentrations of acetone, toluene, ethanol, and chloroform, respectively, in complex mixtures. Therefore, it is demonstrated that the array utilizing the provided algorithms can classify and predict the concentrations of the four gases simultaneously for disease diagnosis and treatment monitoring.

Graphical Abstract

graphic file with name 604_2024_6258_Figa_HTML.jpg

Supplementary Information

The online version contains supplementary material available at 10.1007/s00604-024-06258-8.

Keywords: Gas sensor, Sensor array, Metal oxides, VOCs, Complex mixture, Machine learning

Introduction

With the advent of modern technology, there is much interest in reducing surgical involvement and enhancing the early identification of illness. Since it is quicker, less intrusive, and more accessible than a traditional clinical assessment, identifying certain illnesses employing human exhaled air has garnered great interest [1]. In this context, exhaled breath is the ideal non-invasive approach since it accurately captures the metabolic processes occurring within the human body [2]. Compared to lab tests, disease identification utilizing expiratory VOCs has emerged as the preferable approach for early screening. Besides, it has another excellent relevance for continuous breath monitoring for knowing health anomalies that appear transient or periodic. Breath monitoring has several benefits [3], the most significant among them being a simple, quick, and straightforward sampling collection method provided by its non-invasive approach [4].

Many (about hundreds) of volatile chemical molecules are found in an individual’s breath. Some volatile organic compounds (VOC) chemicals, notably isoprene (heart disease), acetone (diabetes), toluene (lung cancer), nitrogen monoxide (asthma), pentane (heart disease), and ammonia (kidney dysfunction), are established indicators that anticipate underlying disorders. However, several variables affect the constitution of exhaled breath and can be broadly classified as lifestyle-based, health-based, and environment-based. The usual range for toxicants in a person's exhaled breath is between parts per billion (PPB) to parts per trillion (PPT) [5]. The number of VOCs and their relative proportions are specific to the health of individuals, or unexpected VOCs may be released by irregular metabolic reactions [6]. Therefore, breath evaluation is often used to identify various diseases, including renal dysfunction, prostate cancer, and other types of cancers [7]. Identifying various indicators for each ailment makes it possible to distinguish between healthy people and those with illnesses using a sensor array. It is also possible to continually monitor those using wearable technology [8].

The brief involvement of these VOCs in various diseases through exhalation and their severe effect on the human body are expressed in detail in the Online Resource (Section 1). We have identified those common VOCs like ethanol, toluene, acetone, and chloroform, among the biomarkers routinely used to analyze the response.

Current state-of-the-art technologies use gas chromatography followed by mass spectroscopy to analyze breath samples to investigate specific VOCs in patient samples. Although those are precise, these techniques require a sophisticated setup and trained individuals to handle those, increasing the analysis cost. Moreover, it is also a time-consuming process to get the analysis report from centralized laboratories. These techniques also use labeling or pretreatment of the samples, which may affect the exact levels of the VOCs in complex media.

Recently, chemiresistive gas sensors have been explored to analyze VOCs in breath samples due to their simple design, high sensitivity, fast response time, and cost-effectiveness [9]. These sensors can be employed at the point of care for VOC analysis. Metal oxide-based gas sensors have gained significant interest in these sensors due to their small size, ease of operation, inexpensiveness, excellent sensing performance, and low maintenance. However, despite the high sensitivity and fast response time, these sensors have yet to reach clinical studies due to the presence of interfering species generating overlapping and masking gas-sensing signals. The electrical signals generated from the gas sensor in a multi-component mixture solution make it difficult to differentiate between signals of the target analyte and interfering species. In the recent past, another approach called “electronic nose” where a gas sensor array has been utilized in place of a single sensor to record the response in a multi-component mixture solution, and the data was analyzed using machine learning (ML) algorithms [10].

The gas sensor array consists of non-specific sensors in the array and records the fingerprints of the multi-component mixture solution. This approach reduced the effect of interfering species and required no pretreatment of the breath samples, thereby shifting the challenges of gas sensing from the physical to the digital domain.

Thus, the work presented in the manuscript projects the metal oxide sensor array for diagnostics of various biomarkers from breath for early detection of diseases. However, the biomarkers in breath are exhaled as mixtures, and therefore, their identification, as well as quantification, is a challenging task. Here, we use machine learning methods for identification (classification) and quantification (regression). Besides, the sensor array is made of reliable metal oxide thin films fabricated using a sputtering method. Therefore, not only qualitative but also quantitative detection of four VOCs simultaneously allows the detection of multiple diseases and monitoring of the health of individuals.

Experimental details

In this section, we discuss the fabrication of the MOS gas sensor array, followed by experiment setups for ML-based gaseous chemical classification and regression analysis.

Fabricating metal oxide (MOS) gas sensor array

Thin film deposition using DC reactive magnetron sputtering

DC reactive magnetron sputtering was used to create thin films of CuO, NiO, and ZnO onto both glass and alumina substrates. These interdigitated gold electrodes (IDE) equipped alumina substrates comprise two finely constructed, closely spaced gold electrodes and two connecting tracks that have all been diligently sculpted. It had a ceramic substrate that was 22.8 × 7.6 × 1 mm in length, width, and height. Notably, there was a distinct gap of 200 µm between the interdigitated gold electrodes. During DC magnetron sputtering, the metal (copper, nickel, and zinc) targets (99.99%) of 1 inch in diameter and a few millimeters thick were employed. The sputter gas was pure argon (99.9997%), while the reactive gas was pure oxygen (99.9997%). Mass flow regulators controlled both gas flows independently. The sputtering chamber was vacuumed to a base pressure of about 10−6 mbar with the help of a turbo molecular vacuum pump and a rotary mechanical backing pump before the thin oxide films were deposited. The input parameters of different voltages and currents were used. The constant argon flow rate was 30 SCCM. Pre-sputtering was kept going for 10 min to ensure the target surface was thoroughly scrubbed. Following the pre-sputtering step, 10 SCCM of oxygen was added into the reaction chamber, while the deposition pressure was maintained at a constant ~ 10−2 mbar. Thin film deposition on substrates may begin once the shutter is opened. The optimum deposition time (td) was different for three oxides, while the optimum substrate temperature (Ts) was 300 K. After rotating the substrates while maintaining a distance of 6–8 cm from the target, we found the best results. Supplementary Table S1 shows the variation of deposition parameters for all three oxide films. The sputtered samples are shown digitally in the Online resource (ESM_1(inset)).

Material characterization of MOS gas sensor array

Powder X-ray diffraction (XRD) was used to examine the microstructure and crystallinity of materials using a Bruker powder XRD device utilizing Cu kα radiation (λ = 1.5418 Å) and a nickel filter. Data were gathered at a scan rate of 2 data points per minute, with steps of 2 theta ranging from 10 to 80 degrees. The films’ surface morphology was captured using a Nova NANOSEM 450 equipped with energy dispersive spectroscopy (EDS). We used a secondary emission mode with an operating voltage of 15 kV for this particular picture capture. EDS was used to verify the composition of the elements. Raman spectroscopy was performed with a Horiba scientific Xplora plus spectrometer using a 514-nm-wavelength argon laser. The samples’ thickness was determined using a KLA Tencor D600 stylus surface profiler equipped with a step height measuring system.

The electrical measurements

The I–V characteristics of the oxide thin films deposited in the alumina substrate with gold IDEs were investigated from room temperature to 300°C. The R vs. T measurements reported here are done in an equilibrium fashion; i.e., the temperature is held constant at the desired values (within the experimental limits ± 1°C, the heating stage made by Linkam, UK), and the sample is thermalized at a given temperature. The system had a platinum (PT100) temperature measurement and control sensor. The system was under ambient conditions, as the final sensing studies would be done in ambient conditions. The bias voltage was swept between − 10 and + 10 V to each sensor at ambient temperatures. The resistance values at each temperature were calculated from I-V slopes.

Gas sensing studies using MOS sensor array: experimental setup

Gas sensing experiments were carried out by observing how the thin films’ electrical resistance changed in response to various VOCs at fixed operating temperatures. The sample gases were infused under dynamic flow conditions fixed by mass flow controllers (Maker Alicat, USA) with varying capacities. The details of the vapor concentration calculation are in the Online resource.

Figure 1 depicts the indigenous gas sensing system used in this investigation. The films were mounted on a sample holder that could reach 400°C using a heater underneath the sample holder to evaluate the gas sensing characteristic in a detecting chamber (make Excel Instruments, India). A type-K thermocouple-inserted sample holder was used to measure the sensor’s temperature. An alumina substrate with interdigitated gold electrodes is utilized for measuring sensor resistance. The details of the substrate and electrode dimensions are in the Online resource. A Keithley 6517B electrometer linked to a workstation was used to measure the sensor resistance by applying a consistent bias voltage of 10 V to two probes. With a tolerance of 1 fA, it is a high-resistance analyzer that could contribute meaningfully to 1015 ohms. Exposing the deposited films to the appropriate vapors diluted in air was necessary to test the sensor response to ethanol and other volatile organic chemicals. The % response (S) was calculated using Eq. (1) as below.

%Response,S=Ra-RgRa 1

where, Ra is the sensor resistance within airflow and Rg is the sensor resistance when the test gas is present. It should be noted that the response sign for n-type and p-type devices is opposite to the stated gas. The sensor resistance decreases when n-type material is exposed to a reducing gas because the gas injects excess carriers into the material. But as the resistance decreases, the resistance changes the most, increasing 100% monotonically. However, suppose the resistance increases due to gas exposure, as in the case of p-type material subjected to reducing gas. In that situation, the standard deviation of the resistance change is more significant than 100% or greater than double the original value.

Fig. 1.

Fig. 1

The schematic diagram of the gas sensing setup used for the experiment

The chemiresistive array sensing tests were done by passing a set amount of target gas mixed with a predefined proportion of air, determined by the equalization method at fixed intervals. Both with and without the analyte, the total flow was maintained at 500 SCCM, and the two-probe mode was used to collect the sensor’s resistance data. The sensors were tested by being exposed to ethanol concentrations of 100–2400 ppm at 200°C. Individual response research utilizing toluene, chloroform, and acetone was also carried out under identical conditions. By cooling the liquids in the tube to the same temperature and using the same MFC dispersion ratios, similar studies were conducted at 200°C to examine ethanol’s cross-sensitivity to other gases such as toluene, chloroform, and acetone. The volatile liquids are used to generate the vapors of the desired gas for sensing. Here, the bubblers are maintained at a constant temperature, and the carrier gas is bubbled through the liquid in the thermostat to generate the vapors subjected to sensor exposure. Here, the concentrations of the vapors are mainly governed by constant temperature baths and the flow rate of the carrier gas to a certain extent. Therefore, the gas concentrations utilized were primarily governed by the generation rate and vapor pressure.

Gaseous chemical classification and regression analysis using machine learning models

The dataset used in this study consists of gas sensor data comprising three different mixtures. Each mixture represents a distinct scenario based on the number of gases present, namely.

  • i.

    1-gas: a single gaseous chemical,

  • ii.

    2-gases: mixture with one constant chemical and one varying chemical, and

  • iii.

    3-gases: mixture with two constant chemicals and one varying chemical.

The chemicals involved in these mixtures are acetone, toluene, chloroform, and ethanol. We performed the analysis on these 1-gas, 2-gases, and 3-gases datasets. The primary objective was to explore and investigate the region where the concentrations of these interfering biomarkers were high. Subsequently, the sensor response was recorded by introducing variable gas concentrations within this specific range, as mentioned above. This approach thoroughly examines and characterizes the sensor’s behavior when exposed to various interfering gases at different concentrations. Besides, the gas sensing apparatus’ practical limits, such as MFC resolution accuracy, primarily determined our study’s interference gas concentration selection. We have been focusing on our system’s capacity to manage intricate gas combinations while optimizing and miniaturizing them. Working with metal oxides has been a critical component of our strategy since it allows us to extrapolate response concentration curves to lower parts per million (ppm) concentrations. Tapping into the power of machine learning to improve our system’s accuracy and forecasting powers at these lower concentrations is envisaged. The strategy is to be rigorously trained and fine-tuned to produce highly accurate predictions even at sub-ppm levels. All possible combinations of four biomarkers were employed to record the readings for the mixtures with two and three gases, as mentioned in Supplementary Table S2. A gaseous chemical that needs to be classified or whose concentration needs to be anticipated is kept variable for datasets with mixtures of gases. Three sensing components (CuO, NiO, and ZnO) are used in the dataset to record measurements. The objective is to predict or classify the concentration of the varying gas, whether it is acetone, toluene, chloroform, or ethanol.

Each dataset has the following sample rows: 2,241,436 sample rows for 1-gas, 227,617 rows for the mixture of 2-gases, and 131,120 rows for the mixture of 3-gases. There are 6, 8, and 10 columns in the abovementioned datasets. The correlation matrices for the three datasets are shown in the Online resource (ESM_3). We performed two types of analysis: (i) classification to categorize the varying gas/ chemical and (ii) regression analysis to predict the concentration of the gas.

For the classification task with the 1-gas dataset, we used five features, i.e., resistance, time, concentration in terms of parts per million (PPM), temperature, and electrode, to categorize the varying chemicals. For the classification task with a 2-gases dataset, we used seven features, i.e., time, ZnO_resistance, NiO_resistance, CuO resistance, constant_chemical (CC), CC_PPM, and varying_chemical_PPM (VC_PPM), to classify varying_chemical (VC). For the 3-gases dataset, we used nine features, i.e., time, ZnO_resistance, NiO_resistance, CuO resistance, constant_chemical_1 (CC_1), CC_1_PPM, CC_2, CC_2_PPM, and varying_chemical PPM, to classify varying_chemical (VC). For regression tasks with 1-gas, we predicted the gas concentration in PPM; for both the 2- and 3-gases datasets, we predicted VC_PPM. The rest of the column values were used as features. For the experimental analysis, the dataset was divided into training, validation, and testing sets with a ratio of 56:14:30. To assess the performance of the classification analysis, the accuracy metric was used, and for the regression analysis, the mean absolute error (MAE), mean squared error (MSE), root mean square error (RMSE), normalized RMSE (NRMSE), coefficient of determination (R2), limits of detection (LoD), and limit of quantification (LoQ) was employed [11, 12]. Here, we present the results of the test dataset.

We observed significant outliers in the dataset. Outliers in the input data may distort and deceive ML models during training, leading to longer training times, less accurate models, and ultimately worse outcomes. Therefore, the outliers were eliminated using the data quantile information [13] defining an upper and lower limit. A data value was eliminated from our primary data frame if it exceeded the upper limit or fell below the lower limit. The datasets underwent preprocessing steps to conduct a comprehensive analysis, including outlier detection and removal, min–max scaling to handle variations in feature values, and label encoding to address categorical features [14]. Categorical data [15] was encoded using label encoding, as only eight distinct values were in the categorical column. It is crucial to convert categorical data into a numerical format to enable processing by ML models. Other approaches for categorical data include one-hot encoding, vectorization, and label encoding. Upon completing the dataset preprocessing, models were built using the selected algorithms. Rigorous hyperparameter tuning was performed for all the algorithms employed in this gas sensor dataset analysis. Grid search cross-validation was utilized for hyperparameter tuning [16].

Machine configuration

All the ML-based analyses were performed on the TensorFlow-2 framework having Python 3.7.13 over a computer with Intel(R) Xeon(R) CPU @ 2.00 GHz having 52 GB RAM and Tesla T4 16 GB GPU.

Results

This section discusses the fabrication of devices, characterization of the gas sensor array, ML-based classification, and regression of gaseous chemicals.

Device fabrication, characterization of the gas sensor array, and sensing studies

To create our device, we used a DC reactive magnetron sputtering technique to deposit copper, nickel, and zinc oxide on an alumina substrate having interdigitated gold electrodes with the corresponding metal targets. Supplementary Table S1 represents the sputtering parameter to ensure the deposition process is accurate. Pre-deposition of 10 min was done to ensure that the surface was thoroughly scrubbed and no contamination was left. Online Resource (ESM_1 (inset)) represents the schematic diagram of our fabricated device. The gold electrodes were vital because they helped the device detect resistance changes when exposed to different gases.

Material characterization of MOS gas sensor array

The as-prepared oxide thin films were deployed for the sensor array, and the same were examined using various techniques to explore the particular details of the structure and composition. Although the samples used in gas sensing are deposited on alumina substrates, the XRD of those films was primarily dominated by highly crystalline alumina substrate peaks. Therefore, to confirm the crystallinity of each synthesized sensor film, the same was also deposited on glass and investigated using XRD. The corresponding XRD patterns of CuO, NiO, and ZnO are displayed in Fig. 2a–c. From all these XRD data, it may be inferred that each of the oxide layers is formed albeit with a thickness estimated at 80–100 nm, which results in the poor intensity of peaks. No peaks corresponding to any impurity are seen to the best of the resolution in any of the XRD patterns. ZnO and NiO show a firm texture in crystallinity marked by a single diffraction peak. This implies that the films are preferentially oriented (except CuO) along a certain direction [22]. This happens due to homogeneous nucleation of the oxide crystals, which grow along the crystal’s energetically most favorable (lowest formation energy) planes. Moreover, the broadening of the peaks reflects a smaller crystallite size, possibly due to a lack of energy for long-range growth as the deposition is carried out at room temperature. Nevertheless, such small crystallite size and low thickness are favorable for gas sensing as the sensing response is dramatically improved if the dimensions are of the order of space charge region [17]. Along with the crystalline structure, the morphology (shape, grain size, porosity, etc.) of the sensor films significantly affects the sensing attributes of the chemiresistive sensors. Therefore, the microstructure and morphology of the films are examined using scanning electron microscopy and microscopic composition analysis using energy-dispersive X-ray spectroscopy. Figure 2g–o shows the same for all three films at low and high magnifications.

Fig. 2.

Fig. 2

The XRD patterns and Raman spectra of (a, d) CuO, (b, e) NiO, and (c, f) ZnO thin films at room temperature (for XRD, the samples were also deposited on glass substrates). The scanning electron micrographs of CuO, NiO, and ZnO at low (gi) and high (jo) magnifications, respectively

Copper oxide

Figure 2a illustrates the CuO XRD data with characteristic patterns for the (002), (− 111), and (111) reflections of a monoclinic CuO with lattice constants of 5.13 Å, 3.42 Å, and 4.68 Å (JCPDS: 01–073-6023). Because of the films’ low thickness (~ 80 nm), the XRD pattern is not significant in analyzing the crystallinity of the films. Therefore, Raman spectra have been investigated for all three samples at room temperature. Here, the signal is collected from the tiny focus of the laser beam on the film surface and is organized in back reflection geometry. Therefore, it shows much better sensitivity to the surface than the substrate that lies underneath. The Raman spectra identify their vibrational properties at ambient temperature and are found to give peaks that are unique to each material. The copper oxide Raman spectrum on an alumina substrate is shown in Fig. 2d, depicting Raman modes at 292.6 cm−1, 345.3 cm−1, and 627.5 cm−1. The positions of the peaks in the spectra with this specimen are in close vicinity of those corresponding reported CuO values [18, 19]. Besides, the peak at low energy, i.e., 224.9 cm−1, could be due to local partial suboxide, as seen by Debbichi et al. [20]. Several factors, such as poor crystallinity, an accumulation of structural faults in the crystalline lattice, and fluorescence of the incident radiation, may be responsible for the broad baseline around 100 cm−1 and 800 cm−1 seen in this spectral region.

When observed under a scanning electron microscope, the films look rough in texture and are coated onto alumina grains uniformly (Fig. 2g). The finer crystallite size is seen distinctly in a scanning electron microscope at high magnification (Fig. 2j,m). It should be noted that the films are deposited on a polycrystalline alumina substrate that has a distinct grain structure of particle size nearly 2–3 μm. The same is seen in SEM images of all the films. However, the sensing oxide film deposited on its top takes an almost conformal shape of the alumina substrate grains. Figure 2m shows the finer crystallite size, having distinct triangular morphology. In the EDS spectrum shown in the Online resource (ESM_4(a)), the film shows only copper, oxygen, and aluminum from the alumina substrate. The quantification is challenging because of the oxygen signal from the bottom oxide substrate.

Nickel oxide

The (111) and (200), considered as the top of NiO (JCPDS: 00–047-1049), were matched by the middle XRD pattern, which corresponds to a cubic arrangement with lattice constants of a = b = c = 4.17 Å. Figure 2e depicts the Raman spectra recorded for NiO thin films deposited on a glass substrate for 18 min. As per identification in the literature [21], the observed peaks may be ascribed to the one-phonon constituting TO (389.2 cm−1) and LO (567.7 cm−1) modes. The second harmonic, i.e., 2TO (789.5 cm−1) and 2LO modes (1099.5 cm−1), confirms the phase. The Ni–O bond’s stretching mode and flaws are both indicated by the peak LO’s considerable breadth (576.7 cm−1) [22, 23]. The broad nature of the peak arises from the finer crystallite sizes, and therefore, a significant overlap exists among the peaks.

As discussed in the case of copper oxide, it may be seen that the particles of nickel oxide film are also clustered, making it rougher in texture, as seen in Fig. 2h. In this case, several open pores have diameters of 500 nm. The film develops in tiers, and the texture appears granular (see Fig. 2k,n). Nevertheless, such a high surface roughness and, thereby, high surface area benefit the gas sensing devices. In this case, the chemical composition examined using the EDS spectrum shows only Ni and O other than the Al signal contributed by the substrate, as shown in the Online resource (ESM_4(b)).

Zinc oxide

The bottom-most XRD pattern, i.e., Fig. 2c, shows a single prominent peak that matches the ZnO wurtzite structure for (002) reflection (JCPDS: 00–036-1451), and it possesses a hexagonal structure with cell parameters (a = b = 3.25 Å and c = 5.21 Å). The Raman modes A1g(TO) positioned at 380.38 cm−1 E2(H) at 418.7 cm−1 constitute the vibrational configurations corresponding to the hexagonal wurtzite geometry of ZnO [24, 25] on an alumina surface, as shown in Fig. 2f. However, the peak at 321.0 cm−1 matches up to the second-order vibration mode originating from the zone boundary phonons [E2(high)–E2 (low)] of hexagonal ZnO [26]. Besides, two broad peaks contribute to the extensive background, which could be due to the finite size of the crystallites and the broadening mentioned earlier. Overall, the three samples’ Raman spectra show very low intensities and significant peak broadening. Like XRD, this broadening results from the sufficiently small size of the crystallites. Therefore, these results are in good agreement with that of the XRD of the films. However, it shows better confirmation of single-phase oxide films and their nanocrystalline nature.

Unlike the other two films, the ZnO film imaging was challenging due to the excessive charging effect due to the poor conductivity. Typically, at high magnification (Fig. 2l,o), ZnO films are lamellar structures that are further composed of smaller grains. The film showed a 2D sheet-like nature toward the edges, and the presence of sheets and (002) seen in Fig. 2i,l, a single peak in XRD, points to the same. The same could also be the reason for the sharp peak in the Raman spectrum. Besides, the trigonal structure of alumina could help grow 2D sheets of ZnO that have hexagonal symmetry in the c-plane. The EDS spectra consist of Zn and O elements (except Al arising from the substrate). More SEM micrographs are shown in Supplementary Fig. S4.

Electrical measurement of the MOS gas sensor array

The I-V characteristics of the sensors were measured from room temperature up to 300°C. The I-Vs at room temperature are shown in Fig. 3a–d, while the entire temperature range is shown in Online resource [ESM_5(a, d), S5(b, e), and S5(c, f)] for CuO, NiO, and ZnO. The resistance values so deduced were plotted as a function of temperature, and all the samples demonstrated a typical insulating/semiconducting nature. (See Online resource (ESM_6.) The typical value of resistances was about 500 kΩ, 20 MΩ, and 100 MΩ for CuO, Ni, O, and ZnO, respectively, at room temperature. These dropped to 423 Ω, 14 kΩ, and 684 kΩ at 300 °C for CuO, NiO, and ZnO, respectively.

Fig. 3.

Fig. 3

The room temperature I-V of (a) CuO, (b) NiO, and (c) ZnO and (d) their comparison together. The thermionic emission model analysis of temperature-dependent I-V data and ln(Io/T2) vs 1/T plot for estimating the barrier height for (e, h) NiO, (f, i) CuO, and (g, j) ZnO thin films with Au electrodes. The corresponding band bending is shown in (k) NiO, (l) CuO, and (m) ZnO

The IVs were mainly linear. However, some showed a slight nonlinearity, such as CuO, mostly at room temperature (see Fig. 3a). To explore the nature of the contact, the I-Vs were analyzed using a thermionic emission model wherein the temperature dependence of current followed the Richardson–Dushman (Eq. (2)) [27, 28].

I=SAT2e-eϕkBT1-eqVkBT 2

Here, kB is Boltzmann constant, A* is Richardson constant, and S represents the device area. It may be shown that following the same equation, the slope of the graph of ln(I/T2) vs. 1/T allows estimation of the barrier height, which is the difference between the work function (WF) of the metal and semiconductor. Knowing the WF of the metal (5.1 eV for Au), it is easy to deduce the same of the oxide semiconductor. The same plots for all three oxides are shown in Fig. 3e–g and 3h–j. Of the three, only NiO has formed ohmic contact with Au electrodes, while CuO and ZnO have formed Schottky (non-ohmic) contact with Au electrodes. Since both sides of the same metal electrodes are used, it creates a double Schottky barrier. One of the two junctions is always reverse biased irrespective of the polarity of bias applied. The band bending and barrier heights are shown in Fig. 3k–m.

It is observed that having a heterojunction barrier, such as Schottky contacts, induces selectivity of specific gas in the oxide-based sensors. Therefore, these contacts may have contributed to the selective identification of gases.

Here, CuO and NiO are p-type semiconductors, while ZnO is an n-type semiconductor. The typical carrier type in these binary oxides arises because of particular defect chemistry [29]. The p-type oxides have metal vacancies, whereas n-type oxides have oxygen vacancies as the dominant type of defect. These give rise to the acceptor and donor levels within the forbidden gap, respectively. In this case, the thin film fabrication was done under significant oxygen partial pressures (30:10 SCCM of Ar and O2 ratio). It ensures high lattice oxygen content in films, increasing metal vacancies for p-type and reducing oxygen vacancies for n-type. Therefore, the p-type films are more conducting than the n-type oxides under oxygen-rich deposition conditions.

Oxides, particularly ZnO conductivity (significantly just above room temperature), are strongly affected by the atmospheric oxygen content and moisture content. Some of our group’s recent papers have reported protonic conductivity on ZnO nanoparticle surfaces, giving rise to the metal-like positive coefficient of temperature and its transition to semiconductor-like behavior at temperatures [29]. We also explored the frequency dependence of the electrical conductivity of the same ZnO nanoparticles and its ambiance [30]. Nevertheless, such anomalous behaviors are a vital function of size, morphology, and surface defects controlled via processing conditions. The studies mentioned above were performed on ZnO “nanoparticles” of 20 nm size. They, more importantly, were prepared by wet chemical methods where there may be significantly different surface defects and, therefore, different adsorption dynamics.

The ZnO samples reported in this work are deposited by DC reactive sputtering, leading to 2D nanosheets like ZnO. For similar sputtered films, the resistance anomalous behavior is not registered [31]. Besides, as seen in the newly added data, ZnO forms a non-ohmic contact with Au electrodes, and the electrode interface dominated the electrical behavior and sensing due to a high barrier (0.72 eV). The Schottky barrier leads to the inherent electric field in the sensor material, and the same enhances the response of the material as the carriers in the space charge region are heavily depleted, and any small change in carrier density leads to a significant difference in the conductance (G) of the Schottky junction.

G=ηkBeATeeϕkBT 3

where η is the ideality factor of the junction. Thus, the band bending changes lead to the barrier height (ϕ) change and the enhanced response. However, the Schottky barrier often induces selectivity in response, which is difficult to achieve in oxide materials’s intrinsic response [32, 33].

On the other hand, p-type oxides like NiO and CuO inherently prefer selective oxidation for some of the VOCs due to the solid catalytic properties of transition metals (oxides) [34, 35]. Besides, as discussed earlier, CuO also shows Schottky behavior with Au electrodes.

Gas sensing measurements and data curation

Many experiments were performed to generate the response dataset for the gas sensor array with response to selected gases. Here, sensor temperature, gas concentration, and gas type have been identified as primary parameters for the sensor output.

As seen in Fig. 4a–c, the gas sensor’s response was calculated and plotted for each gas at different concentrations. Overall, NiO showed a highly selective response to ethanol but a high response to all the gases. At the same time, ZnO had a consistently low response yet was selective to ethanol (see Fig. 4d). The actual data sets are shown in the Online resource (ESM_7). The consistently high response NiO may be attributed to their commensurate (low and high) defect concentrations, respectively, as defects provide an active site for surface oxygen adsorption [29, 36].

Fig. 4.

Fig. 4

The individual gas sensing results for four test gases (toluene, ethanol, acetone, and chloroform) of the three samples: (a) ZnO, (b) NiO, and (c) CuO at 200 °C. (d) The comparison of the response for 1000 ppm of each gas for each sensing electrode shows a preferred selectivity for ethanol in NiO and ZnO. In contrast, the CuO sensor does not offer any preferred selectivity. The solid lines denote power law fit. The bottom schematic shows the measurement protocol of the same sensor being exposed to one gas at a time

The chemoresistive semiconductor gas sensors follow the power law behavior where the response can be predicted in any concentration range if another range response is available. The power law is given, as shown in Eq. (4):

S=ACβ 4

where S is the sensor response as denoted earlier, C is the concentration of gas (here in units of ppm) and is the exponent, which usually has a value between 0 and 1. Here, 1 denotes linear dependence, 0.5 denotes quadratic dependence, and 0 denotes independent (no response). As seen in Fig. 4a–c, the measured response agrees very well with the power law behavior in all the cases; therefore, it can be easily extrapolated for the low concentration range. Working with metal oxides offers the advantage of power law behavior [37, 38]. Therefore, extrapolating the response concentration curves down to lower parts per million (ppm) concentrations is possible without any loss of generality.

The single gas experiment results shown in the Online resource (ESM_7) are straightforward and are similar to how traditional gas sensors are reported. However, as mentioned earlier, detecting test gases becomes challenging in the presence of other potentially interfering gases. The experiments were designed such that a predetermined concentration of the interfering species is first supplied as a background flow in the chamber, followed by the introduction of the test gas (2-gases) to assess the impact of the interfering species (other gas) on the primary analyte (test gas ethanol). Calculations were made using the response values after varying the test gas concentration. The two interfering gases were maintained constant in the next series of trials (3-gases) while the test gas concentration was altered. The representative data for ethanol response in chloroform (2-gases) and in toluene + chloroform (3-gases) have been shown in Fig. 5a,b. The Online resource displays the other data sets in ESM_8 and S9 for two and three gases, respectively.

Fig. 5.

Fig. 5

The dynamic response in resistance data of ethanol sensing in the presence of (a) chloroform and toluene, (b) chloroform at 200°C. For other combinations, the data is shown in the online resource

The values of response calculated here for 2-gases and 3-gases depict that the presence of any other VOCs led to a drastic reduction in response, as seen in Fig. 6. The response values calculated using Eq. (1) data for response in the absence and presence of a single interfering gas and a double interfering gas is shown in Fig. 6 for all the three sensors. Similar results are obtained when the treatment is done for all sensors and/or permutation – combinations of the gases. Therefore, the mixture of gases (shown by red, black, and green lines in Fig. 6) is a substantially different condition from that of the single gas exposure (indicated by blue lines). The effect is more pronounced in the case of NiO, as seen in Fig. 6a,b. Here, we found that the sensor does not obey the power law depicted in Eq. (4) when exposed to such a mixture. However, the same may be modified to incorporate the shift in response leading to a change in the response by an arbitrary value α such that

S=α+ACβ 5
Fig. 6.

Fig. 6

The response to a single gas present at a time alongside the same gas present in (a, c, e) one or (b, d, f) two more gases simultaneously investigated for all possible combinations. The top row is for NiO, the second is for CuO, and the third is for ZnO

This equation has been found to fit better, as seen in Fig. 6. In some cases, the value of α is so significant that it affects the limits of detection substantially.

The following discrepancies form the basis of our study. Although the use of these “classical “oxide systems has been clichéd, the practical aspects of application still suffer from challenges such as.

  1. lack of selectivity,

  2. practically extended response (and recovery times) to saturation (and recovery), and

  3. drift in the sensor baselines.

These often lead to inconsistencies; practically, there are no ways to avoid them as these are materials’ intrinsic properties to a large extent. One may optimize the design to minimize them but need help eliminating them. Therefore, our research focuses on obtaining a natural response within a consistent timeframe, specifically assessing cross-reactivity within complex mixtures. We considered the real-world environmental factors, such as surface non-recovery and surface passivation, which become particularly relevant once the sensor reaches saturation, potentially leading to a loss of its inherent activity.

Increasing the operating temperature could have improved some aspects like response and recovery times, enhanced sensitivity, or better baseline. See the results obtained by the same sensors at 350°C shown in the Online resource (ESM_10). Not only the energetic cost of continuously operating sensors from 200 to 350°C is substantially significant, but also constant exposure to very high temperatures leads to several other issues.

Our prime focus was to address the challenges of using metal oxide sensors regarding properties, including drift, high recovery, and response time in complex mixtures. To tackle these issues effectively, we successfully demonstrated the utility of our algorithms in machine learning techniques. Our approach involves various preprocessing steps, including data normalization, smoothening, and detecting outliers through our machine learning algorithm. These techniques collectively address baseline variations and other potential problems, enabling us to predict and manage variations and drift situations more accurately and reliably.

Classification and regression analysis of gases using machine learning

Gas classification

To reduce the complexity of the data while preserving trends and patterns, we used principal component analysis (PCA) [39] on the sensor signal response. The variances of first 5 principal components (PC1, PC2, PC3, PC4, and PC5) are shown in Supplementary Table S3 for 1-gas, 2-gases, and 3-gases datasets. A pictorial representation of the variability of the first 5 PCs has been shown in the Online resource (ESM_11).

Here, we formulated the task as a classification problem to classify the gaseous chemicals, i.e., acetone, toluene, chloroform, and ethanol. The classification models were developed using some supervised learning techniques, e.g., Logistic Regression [40], K-Nearest Neighbor (KNN) [41], Naïve Bayes (NB) [42], Random Forest (RF) [43], and Linear Discriminant Analysis (LDA) [44], based on the PCA results for the gas classification. Different plotted points were dispersed depending on the type of chemicals used, as shown in Fig. 7 and Supplementary Figs. S12–S13. By considering PC1 and PC2, we obtained the 2D plots of Fig. 7 and Supplementary Figs. S12–S13 over three datasets. In this instance, PC1, PC2, and PC3 were also employed to produce 3D graphs. Here, we can visualize the qualitative performances of the employed ML models. For example, in Fig. 7b,d, we can observe that KNN and RF have identified ethanol samples correctly. However, as seen in Fig. 7a,c,e, many ethanol samples have been misclassified as acetone by logistic regression, NB, and LDA. In this instance, PC1, PC2, and PC3 were also employed to produce 3D graphs. In logistic regression [40], the training procedure employed the one-vs-rest scheme since our task involves multiple classes. We used cross-entropy loss and L2 regularization here [45]. In KNN [41], empirically, the number of nearest neighbors was set to five, and the distance metric was chosen as Euclidean. In NB [42], every pair of features is conditionally independent given the class variable value, which is a supervised learning technique based on Bayes’ theorem. To classify our data, we employed the Gaussian Naïve Bayes method. The RF and Extra-Trees methods are two averaging algorithms based on randomized decision trees that we employed [43]. Each algorithm uses a perturb and combine method that is tailored for trees. It means adding randomization to the classifier design results in creating a diverse group of classifiers. The average forecast of the individual classifiers is used to represent the ensemble prediction. Using Bayes’ rule and fitting conditional class densities to the data, LDA [44] produces a linear decision boundary for classification. The model assumes that all classes have the same covariance matrix and fit a Gaussian density to each class. Supplementary Figs. S11 and S12 and Fig. 5 display the 2D and 3D plots of the three datasets obtained after classification using the above-employed methods.

Fig. 7.

Fig. 7

3-gases dataset: (ae) 2D and (fj) 3D classification plots respectively

In Table 1, we present the accuracies obtained by the employed models. Here, KNN and random forest attained good accuracies for all three datasets, in contrast to the ML models like logistic regression, NB, and LDA. For 1-gas and 2-gases datasets, KNN performed the best, and random forest attained the best result for the 2-gases dataset instead of their akin performances.

Table 1.

Model performances over various gas mixture datasets

Accuracy (%) Model
Dataset
Logistic Regression KNN Naïve Bayes Random Forest LDA
1-gas 65.56543 99.99802 71.75669 99.99679 60.06396
2-gases 42.21952 99.81154 60.93418 99.82108 39.78625
3-gases 38.73490 99.03290 51.83471 98.70436 39.76216

In Supplementary Figs. S12 and S13 and Fig. 7, we can also comprehend misclassification results produced by logistic regression, NB, and RF. For example, in Fig. 7 bottom-left, it can be seen that the ethanol part has been misclassified as acetone.

Regression analysis: quantification of gases in different mixtures

In this analysis, we found that the KNN-based regression [46] significantly exceeded the other algorithms in terms of performance when compared with some other contemporary models, such as artificial neural network (ANN), RF, decision tree, and linear regression [43, 4548]. The performance of the KNN relies on various parameters, such as the distance metric used to evaluate similar data points, the number of neighbors taken into consideration, and the weighting method used to aggregate their values. In this study, we attempted to enhance the effectiveness of the KNN in estimating the gas concentration in mixes. To decrease MSE and increase the R2, which gauges how much variance can be explained by the model, we set out to identify the optimal set of parameters.

To fine-tune the model, we experimented with various distance metrics, such as Euclidean, Manhattan, and Minkowski, with p = 3 and p = 4 [16]. We used two weighting schemes, distance and uniform, wherein closer neighbors have a higher weight, and we adjusted the number of neighbors taken into consideration, ranging from 1 to 10. The model’s performance was checked by applying cross-validation on the training and validation sets, and the optimum set of parameters was decided based on the parameters with the lowest MSE and optimum R2. During the hyperparameter tuning procedure for the KNN regression, the best parameter choices for each gas mixture were identified. For all the datasets, i.e., 1-gas, 2-gases, 3-gases, the Euclidean distance metric, the five nearest neighbors, and distance weighting were the most efficient choices. Encouraging results were obtained while analyzing the algorithm’s performance with all these ideal parameter configurations.

Table 2 presents the prediction performances of KNN regression on 1-gas, 2-gases, and 3-gases datasets, respectively, regarding RMSE, MSE, MAE, NRMSE, R2, LoD, and LoQ. The model successfully predicted the target variable for the 1-gas mixture with R2 of more than 0.99, showing its high prediction performance. Also, it was determined that the corresponding errors (RMSE, MSE, MAE, and NRMSE) were shallow. The model also obtained an outstanding R2, i.e., greater than 0.99 for the 2-gases and 3-gases mixtures, implying a solid connection between observed and predicted values. Also, errors were near zeros, implying comparatively smaller magnitudes of the prediction mistakes. The model also excelled in other performance metrics, e.g., LoD and LoQ, when examined in the instances of the 1-gas, 2-gases, and 3-gases datasets. In Fig. 8, we present the regression plots obtained using KNN regression, where x and y axes denote expected and obtained chemical concentrations separately for acetone, toluene, ethanol, and chloroform over 1-gas, 2-gases, and 3-gases datasets. As mentioned earlier, we have used ANN, Random Forest, Decision Tree, and Linear Regression for comparative prediction analysis. The ANN can learn and adapt to new data, making it a powerful tool for solving complex problems. However, ANN requires a lot of data and computational power to train and optimize, and its results may only sometimes be interpretable [45]. Here, in the ANN model, we had one neuron on the output layer that matched the concentration of the varying gas. The model comprised six hidden layers containing 128, 256, 512, 64, and 32 neurons. All hidden layers employed the ReLU (rectified linear unit) activation function to capture the nonlinearity [49]. We utilized a linear activation function in the output layer. The learning parameters for the ANN model were optimized on the training set using the Adam optimization function. Here, the training effectiveness was assessed using the loss function MSE. The following hyper-parameters were empirically fixed on the validation set: learning rate = 10−3, Adam’s first and second moment estimates 0.9 and 0.999, and zero-denominator remover = 10−7.

Table 2.

Prediction performance of KNN regression on 1-gas, 2-gases, and 3-gases datasets

Dataset Gas name RMSE MSE MAE NRMSE R2 LoD LoQ
1-gas Acetone 0.00086 7.43 × 10−7 0.00001 0.00114 0.99997 0.00344 0.01146
Toluene 0.00082 6.77 × 10−7 0.00001 0.00109 0.99997 0.00328 0.01095
Ethanol 0.00076 5.82 × 10−7 0.00001 0.00101 0.99997 0.00304 0.01015
Chloroform 0.00153 2.35 × 10−6 0.00004 0.00203 0.99990 0.00611 0.02039
2-gases Acetone 0.00131 1.72 × 10−6 0.00002 0.00319 0.99996 0.00957 0.03190
Toluene 0.00094 8.98 × 10−7 0.00001 0.00226 0.99998 0.00678 0.02260
Ethanol 0.00095 9.21 × 10−7 0.00001 0.00230 0.99998 0.00692 0.02309
Chloroform 0.00194 3.79 × 10−6 0.00006 0.00466 0.99992 0.01400 0.04669
3-gases Acetone 0.00163 2.67 × 10−6 0.00005 0.00393 0.99994 0.01179 0.03932
Toluene 0.00204 4.19 × 10−6 0.00006 0.00496 0.99991 0.01488 0.04961
Ethanol 0.00196 3.87 × 10−6 0.00005 0.00474 0.99992 0.01422 0.04742
Chloroform 0.00342 1.17 × 10−5 0.00020 0.00825 0.99976 0.02478 0.08260
Fig. 8.

Fig. 8

Prediction plots of KNN regression: 1st column: 1-gas dataset; 2nd column: 2-gases dataset; and 3rd column: 3-gases dataset. Row-wise, the prediction of acetone, toluene, ethanol, and chloroform, respectively

In linear regression [47], we model the relationship between the dependent and one or more independent variables. Here, we identify the line of best fit that minimizes the sum of squared errors between the predicted and actual values. In decision tree regression [48], we use a tree-like model of decisions and their possible consequences for prediction. However, they can be prone to overfitting and may need to be more accurate in certain situations. Random forest [43] ensembles multiple decision trees to improve performance and reduce overfitting. It randomly selects a subset of features and data samples for each tree to make it robust to noise and outliers. It also offers feature importance ranking and can handle missing data. However, it may perform poorly on imbalanced datasets and can be computationally expensive for large datasets.

In Supplementary Tables S4, S5, and S6, we compare the experimental results obtained on 1-gas, 2-gases, and 3-gases datasets using KNN regression, ANN, random forest, decision tree, and linear regression models. The evaluation results regarding metrics RMSE, MSE, MAE, NRMSE, R2, LoD, and LoQ are shown here for predicting acetone, toluene, ethanol, and chloroform gases. Overall, it can be observed from these tables that KNN regression outperformed here over all the datasets.

For better visibility, we summarize Supplementary Tables S4, S5, and S6 and compare the results concerning only R2 in Supplementary Table S7. The KNN-based regression technique achieved exceptional performance across all three datasets, achieving R2 of more than 0.99, in stark contrast to the contemporary regression models, such as ANN, random forest, decision tree, and linear regression. Only in the 2-gases dataset, for chloroform prediction, random forest performed slightly better than KNN regression. The performance of the random forest was also quite similar to the KNN regression here.

Discussion

Although metal oxide thin films are the most successful sensor materials, the major limitation of these materials is their lack of selectivity. The traditional way of characterizing gas sensor devices involves one-by-one exposure to each gas and characterizing the sensitivity, as shown in Fig. 4. In such cases, the sensor may show a significantly preferred sensitivity, called selectivity toward a particular gas (like ZnO and NiO shows for ethanol and CuO shows for acetone in the 1-gas case presented here). However, it gets challenging when another potential interfering gas exists in the atmosphere. Although the other interfering gas may not have high sensitivity when present individually, it adversely affects the response toward other gases through interference. For instance, when more than one gas is present, the response drastically reduces, as seen in Fig. 6. Thus, ethanol gas response when studied in the presence of other single or double gases, the response is substantially reduced (sometimes by order of magnitude as seen in NiO case). Therefore, using conventional analysis methods, gas mixtures are challenging to analyze using a single sensor or even an array of sensors. Albeit, the sensors utilized in the study are robust and sensitive and show good microstructural traits as required for an ideal metal oxide material for high responsivity [50, 51].

Subsequently, we employed ML-based methods to analyze the sensor array response of such a complex mixture where there is maximum cross-reactivity for one sensor (CuO), while the other two show some preferred selectivity (NiO and ZnO) toward ethanol. Our analysis involved ML algorithms like RF, KNN, Decision Tree, Linear Regression, Logistic Regression, Naive Bayes, LDA, ANN, and SVM which are used to find the patterns in response. Among these, RF and KNN gave the best results with extraordinary accuracy of more than 99%. The algorithms could classify and identify the gas type and reasonably estimate the gas concentration of the varying chemicals for 1-gas, 2-gases, and 3-gases datasets.

The level of complexity of data and the resources used, such as no of sensors in the array, no gases studied, the model used, and the complexity of data in this study have been compared with that of other studies reported in the literature and presented in Table 3. For instance, Djedidi O. et al. [52] created a method to use a single temperature-modulated MOS sensor and a data-driven model to detect and identify various gas species and their mixtures. By taking the characteristics from dynamic curves and introducing a four-sensor array, Chu J. et al. [53] could distinguish between 11 different NO2 and CO mixes and identify different target gases using BPNN. The categorization of VOC species and concentrations using a 108-device graphene-based sensor array swept at high speeds has been shown in the study conducted by Capman N S S. et al. [54]. To increase selectivity, the array was functionalized with 36 different chemical receptors. All devices were virtually probed simultaneously to gather a cross-reactive data set for ML algorithms. To discriminate between 5 distinct reducing gases, two multi-sensor chips made of SnO2 nanowires covered with Ag and Pt NPs were combined by Thai N X. et al. [55]. The “brain” of the system (based on the SVM) is trained using a first dataset of 4D points, and the sensor performance is tested using any subsequent point. With practical machine learning algorithms and MDS (molecular dynamic simulations), Huang S. et al. [56] have shown an ultrasensitive, highly discriminative graphene nanosensing platform for detecting and identifying NH3 and PH3 at room temperature. Kanaparthi et al. [57] have developed an analytical technique that uses a single chemiresistive ZnO gas sensor to detect NH3, CO2, and H2S gases selectively at significantly low power consumption. To anticipate the gas present in the air, ML techniques including NB, LR, SVM, and RF were used for the data comprised of sensor responses and ternary logic. Over a single chemiresistive sensor, Acharya S. and coworkers [58] used signal transform methods combined with ML technologies, which allowed for accurate quantification and selective identification of the tested VOCs. The feature extraction technique suggested in the study by Xu Y. et al. [59] is based on KPCA. Qualitative identification of mixed gas is made possible by the binary mixed gas identification model of the KNN classification method. A regression approach based on MVRVM was suggested to obtain quantitative gas concentration detection for the qualitative identification findings. Sett A. et al. [60]. used ZnO nanorods to create a susceptible, stable, and reliable VOC sensor. In reaction to three VOCs, the sensor showed high responsiveness and stability. Features were taken out and supplied into PCA as input. The literature [61] shows that applying statistical shape space preprocessing to the signal of temperature-modulated metal oxide gas sensors improves the selectivity of gas identification with an ANN-based ML algorithm compared to other signal processing methods like PCA, DWT, polynomial curve fitting, and data normalization. Intrinsic CuO and ZnO heterostructures with different weight percentages of CuO–ZnO were made and used as resistance sensors to find four volatile organic compounds. The SVM algorithm with stacked k-fold cross-validation was used for classification and measurement, and the MLR method was used [62].

Table 3.

Comparative analysis with some state-of-the-art studies

No. of sensors No. of gases together Complexity Models used Ref
1 (WO3) 3 (CO, O3, NO2) Medium SVM [52]
4 (commercial MOS sensors TGS 2600, TGS2602, TGS 2610, TGS 2620) 2 (NO2, CO) Medium BPNN + CNN [53]
1 (graphene) 36 VOC receptors High PCA + RF [54]
1 (SnO2 nanowires) 5 (acetone, ammonia, H2, H2S, ethanol) Medium SVM [55]
1 (graphene) 2 (NH3, PH3) Low PCA + LDA [56]
1 (ZnO) 3 (separate) (H2S, NH3, CO2) Low NB + LR + SVM + RF [57]
1 (SnO2) 4(separate) (formaldehyde, methanol, propanol, toluene) Low FFT + DWT (SVM + RF + MLP) [58]
5 (commercial MOS sensors TGS2600, TGS2610, TGS2611, TGS2602, TGS2620) 2 (CH4, CO) Medium PCA + ICA + KPCA + KNN + MVRVM [59]
1 (ZnO) 7 (separate) (toluene, acetone, NH3, ethanol, 2-propanol, formaldehyde, methanol) Low PCA [60]
3 (SnO2, Au/SnO2, AuPd/SnO2) 2 (methane, propane) Medium SSA [61]
3 (CuO, ZnO, CuO-ZnO) 4 (methanol, acetonitrile, isopropanol, toluene) Low t-SNE + SVM [62]
3 (ZnO, NiO, CuO) 4 (ethanol, acetone, toluene, chloroform) Medium KNN + ANN + RF + DT + LiR + LR + NB + LDA This work

SVM, support vector machine; BPNN, back propagation neural network; CNN, convolutional neural network; PCA, principal component analysis; RF, random forest; LDA, linear discriminant analysis; NB, Naïve Bayes; LR, logistic regression; FFT, fast Fourier transform; DWT, discrete wavelet transform; MLP, multilayer perceptron; ICA, independent component analysis; KPCA, kernel principal component analysis; KNN, K-nearest neighbors; MVRVM, multivariate relevance vector machine; SSA, statistical shape analysis; t-SNE, t-distributed stochastic neighbor embedding; DT, decision tree; LiR, linear regression; ANN, artificial neural network

On the other hand, in this work, we have used only three sensors that operate at the same temperature and show a distinct mix of selective (NiO and ZnO) and non-selective sensors (CuO) for ethanol vapors. Using two algorithms, we obtained the best possible classification (qualitative) and regression (quantitative) identification of gases. Moreover, the gases identified in the study are highly likely to indicate underlying physiological conditions in several diseases like diabetes, lung cancer, and heart disease. Therefore, sensor and analysis studies have high significance for biomedical diagnostics and point-of-care devices. In Table 3, it may be seen that the current study demonstrates excellent recognition capabilities with minimal elements in the sensor array.

Conclusion

In this study, we fabricated a gas sensor array consisting of three metal oxides, i.e., ZnO, NiO, and CuO. NiO showed ohmic contact with Au, while others showed Schottky. Each sensor in the array was extensively characterized using state-of-the-art surface and material characterization techniques (e.g., SEM and XRD). Each of these materials is highly responsive to a large number of gases, generating cross-reactive and complex chemiresistive signals; it can be used to detect many gases. Moreover, it is observed that when more than 2 VOCs are present in the atmosphere, the sensor’s response is drastically different. ML algorithms have been used to classify and predict the levels of individual gases in mixtures to handle such complex data sets. To get the best algorithms out of several that we tried, the parameters of the algorithms have been extensively optimized toward the classification and prediction of different analyte gases. We anticipate that the proposed sensor array can be used for the analysis of different VOCs in complex mixtures (e.g., breath) for non-invasive diagnostic of disease and its monitoring at the point-of-care. The developed sensor array could be used to diagnose different diseases at the point of need non-invasively, which can improve the quality of life of individuals.

Although it was not explicitly mentioned, the data used in the study has been curated for a long duration of several months (6–8 months); thus, the long-term stability is evident, and degradation with time, if any, is also integrated with the machine learning analysis. However, there could be a stand-alone study on the stability aspects.

Supplementary Information

Below is the link to the electronic supplementary material.

Funding

The authors are thankful to the SERB core research grant (CRG/2022/006973) Govt. of India for the funding support received. The Central Instrumentation Facility of IISER Thiruvananthapuram is also acknowledged for the XRD and SEM facilities.

Data availability

The data is available with the corresponding author upon reasonable request.

Declarations

Conflict of interest

The authors declare no competing interests.

Online resource

The Supplementary Material includes the sample fabrication details, the device design, the I-V characteristics, The Gas sensing data as well as the different ML model parameters, etc.

Footnotes

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Chandranath Adak, Email: chandranath@iitp.ac.in.

Rajendra P. Shukla, Email: r.p.shukla@utwente.nl

Vinayak B. Kamble, Email: kbvinayak@iisertvm.ac.in

References

  • 1.Buszewski B, Kesy M, Ligor T, Amann A. Human exhaled air analysis: biomarkers of disease. Biomed Chromatogr. 2007;21:553–566. doi: 10.1002/bmc.835. [DOI] [PubMed] [Google Scholar]
  • 2.Bos LDJ, Weda H, Wang Y, Knobel HH, Nijsen TME, Vink TJ, Zwinderman AH, Sterk PJ, Schultz MJ. Exhaled breath metabolomics as a noninvasive diagnostic tool for acute respiratory distress syndrome. Eur Respir J. 2014;44(1):188–197. doi: 10.1183/09031936.00005614. [DOI] [PubMed] [Google Scholar]
  • 3.Leunis N, Boumans ML, Kremer B, Din S, Stobberingh E, Kessels AGH, Kross KW. Application of an electronic nose in the diagnosis of head and neck cancer. Laryngoscope. 2014;124:1377–1381. doi: 10.1002/lary.24463. [DOI] [PubMed] [Google Scholar]
  • 4.Schwoebel H, Schubert R, Sklorz M, Kischkel S, Zimmermann R, Schubert J, Miekisch W. Phase-resolved real-time breath analysis during exercise by means of smart processing of PTR-MS data. Anal Bioanal Chem. 2011;401:2079–2091. doi: 10.1007/s00216-011-5173-2. [DOI] [PubMed] [Google Scholar]
  • 5.Shirasu M, Touhara K. The scent of disease: volatile organic compounds of the human body related to disease and disorder. J Biochem. 2011;150:257–266. doi: 10.1093/jb/mvr090. [DOI] [PubMed] [Google Scholar]
  • 6.Haick H, Broza YY, Mochalski P, Ruzsanyi V, Amann A. Assessment, origin, and implementation of breath volatile cancer markers. Chem Soc Rev. 2014;43:1423–49. doi: 10.1039/c3cs60329f. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Bhandari MP, Polaka I, Vangravs R, Mezmale L, Veliks V, Kirshners A, Mochalski P, Dias-Neto E, Leja M. Volatile markers for cancer in exhaled breath—could they be the signature of the gut microbiota? Molecules. 2023;28(8):3488. doi: 10.3390/molecules28083488. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Rymarczyk T, Stanikowski A, Nita P (2019) Wearable sensor array for biopotential measurements. In: 2019 applications of electromagnetics in modern engineering and medicine (PTZE). IEEE, pp 184–187
  • 9.Vajhadin F, Mazloum-Ardakani M, Amini A (2021) Metal oxide-based gas sensors for the detection of exhaled breath markers. Medical Devices & Sensors 4(1):e10161 [DOI] [PMC free article] [PubMed]
  • 10.Wijaya DR, Afianti F, Arifianto A, Rahmawati D, Kodogiannis VS. Ensemble machine learning approach for electronic nose signal processing. Sensing Bio-Sens Res. 2022;36:100495. [Google Scholar]
  • 11.Koutsandreas D, Spiliotis E, Petropoulos F, Assimakopoulos V. On the selection of forecasting accuracy measures. J Oper Res Soc. 2021;73:1–18. [Google Scholar]
  • 12.Uhrovčík J. Strategy for determination of LOD and LOQ values – some basic aspects. Talanta. 2014;119:178–80. doi: 10.1016/j.talanta.2013.10.061. [DOI] [PubMed] [Google Scholar]
  • 13.Cho H, Kim YJ, Jung HJ, Lee SW, Lee JW. OutlierD: an R package for outlier detection using quantile regression on mass spectrometry data. Bioinformatics. 2008;24:882–4. doi: 10.1093/bioinformatics/btn012. [DOI] [PubMed] [Google Scholar]
  • 14.Dasu T, Johnson T. Exploratory data mining and data cleaning. John Wiley & Sons; 2003. [Google Scholar]
  • 15.Powers D and Xie Y 2008 Statistical methods for categorical data analysis: Emerald Group Publishing Limited)
  • 16.Han J, Pei J and Tong H 2022 Data mining: concepts and techniques: Elsevier Science)
  • 17.Narayanaswamy S, No YS, Kamble V, Chakravarty S, SuriyaMurthy N, Angadi B. Effect of RF power on the structural, optical and gas sensing properties of RF-sputtered Al doped ZnO thin films. RSC Adv. 2015;6:9779–88. [Google Scholar]
  • 18.Chou MH, Liu SB, Huang CY, Wu SY, Cheng CL. Confocal Raman spectroscopic mapping studies on a single CuO nanowire. Appl Surf Sci. 2008;254:7539–7543. [Google Scholar]
  • 19.Chrzanowski J, Irwin JC. Raman scattering from cupric oxide. Solid State Commun. 1989;70:11–14. [Google Scholar]
  • 20.Debbichi L, Marco de Lucas MC, Pierson JF, Krüger P. Vibrational Properties of CuO and Cu4O3 from first-principles calculations, and Raman and infrared spectroscopy. J Phys Chem C. 2012;116:10232–7. [Google Scholar]
  • 21.Dietz R E, Brinkman W F, Meixner A E and Guggenheim H J 1972 Raman scattering by four magnons in NiO and KNiF3March 01, 1972) (vol 5) ed C D Graham, Jr. and J J Rhyne p 338
  • 22.Mironova-Ulmane N, Kuzmin A, Steins I, Grabis J, Sildos I, Pärs M. Raman scattering in nanosized nickel oxide NiO. J Phys: Conf Ser. 2007;93:012039. [Google Scholar]
  • 23.Rammal M, Omanovic S. Synthesis and characterization of NiO, MoO3, and NiMoO4 nanostructures through a green, facile method and their potential use as electrocatalysts for water splitting. Mater Chem Phys. 2020;255:123570. [Google Scholar]
  • 24.Korepanov V, Chan S-Y, Hsu H-C, Hamaguchi H-o. Phonon confinement and size effect in Raman spectra of ZnO nanoparticles. Heliyon. 2019;5:e01222. doi: 10.1016/j.heliyon.2019.e01222. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Koutu V, Shastri L, Malik MM. Effect of NaOH concentration on optical properties of zinc oxide nanoparticles. Mater Scie-Poland. 2016;34:819–827. [Google Scholar]
  • 26.JagannathaReddy A, Kokila MK, Nagabhushana H, Rao JL, Shivakumara C, Nagabhushana BM, Chakradhar RPS. EPR, thermo and photoluminescence properties of ZnO nanopowders Spectrochimica Acta. Part a Mol Biomol Spectrosc. 2011;81:59–63. doi: 10.1016/j.saa.2011.06.048. [DOI] [PubMed] [Google Scholar]
  • 27.Grundmann M 2010 The physics of semiconductors: Springer-Verlag Berlin Heidelberg
  • 28.Liu B, Chen L, Liu G, Abbas AN, Fathi M, Zhou C. High-performance chemical sensing using Schottky-contacted chemical vapor deposition grown monolayer MoS2 transistors. ACS Nano. 2014;8:5304–14. doi: 10.1021/nn5015215. [DOI] [PubMed] [Google Scholar]
  • 29.Urs Mb K, Kamble VB. Protonic conduction induced selective room temperature hydrogen response in ZnO/NiO heterojunction surfaces. Sens Actuators, B Chem. 2021;348:130605. [Google Scholar]
  • 30.Abhijith PV, Tom A, Urs K, Prajapati KN, Sajana S, Mitra J, Jaiswal-Nagar D, Kamble VB. Frequency dependent impedance response analysis of nanocrystalline ZnO chemiresistors. Nanotechnology. 2023;34:365501. doi: 10.1088/1361-6528/acdca0. [DOI] [PubMed] [Google Scholar]
  • 31.Lee J, Gao W, Li Z, Hodgson M, Metson J, Gong H, Pal U. Sputtered deposited nanocrystalline ZnO films: a correlation between electrical, optical and microstructural properties. Appl Phys A. 2005;80:1641–6. [Google Scholar]
  • 32.Minh Triet N, Thai Duy L, Hwang B-U, Hanif A, Siddiqui S, Park K-H, Cho C-Y, Lee N-E. High-performance Schottky diode gas sensor based on the heterojunction of three-dimensional nanohybrids of reduced graphene oxide–vertical ZnO nanorods on an AlGaN/GaN layer. ACS Appl Mater Interfaces. 2017;9:30722–32. doi: 10.1021/acsami.7b06461. [DOI] [PubMed] [Google Scholar]
  • 33.Jishnu V, Mishra SS, Mb KU, Thomas SP, Tiwary CS, Biswas K, Kamble VB. Highly sensitive and selective triethylamine sensing through high-entropy alloy (Ti–Zr–Cr–V–Ni) nanoparticle-induced fermi energy control of MoS2 nanosheets. ACS Appl Mater Interfaces. 2022;14:13653–64. doi: 10.1021/acsami.2c00531. [DOI] [PubMed] [Google Scholar]
  • 34.Kim H-J, Lee J-H. Highly sensitive and selective gas sensors using p-type oxide semiconductors: overview sensors and actuators B. Chemical. 2014;192:607–627. [Google Scholar]
  • 35.Wang C, Yin L, Zhang L, Xiang D, Gao R. Metal oxide gas sensors: sensitivity and influencing factors. Sensors. 2010;10:2088–2106. doi: 10.3390/s100302088. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Kamble VB, Umarji AM (2014) Correlating defect induced ferromagnetism and gas sensing properties of undoped tin oxide sensors. Appl Phys Lett 104(25)
  • 37.Hua Z, Li Y, Zeng Y, Wu Y. A theoretical investigation of the power-law response of metal oxide semiconductor gas sensors Ι: Schottky barrier control. Sens Actuators, B Chem. 2018;255:1911–1919. [Google Scholar]
  • 38.Yamazoe N, Shimanoe K. Theory of power laws for semiconductor gas sensors. Sens Actuators, B Chem. 2008;128:566–573. [Google Scholar]
  • 39.Abdi H, Williams L. Principal component analysis. Wiley Interdisc Rev: Comput Stat. 2010;2:433–459. [Google Scholar]
  • 40.Kleinbaum DG, Dietz K, Gail M, Klein M, Klein M (2008) Logistic regression. A self-learning Tekst
  • 41.Larose DT, Larose CD (2014) k-nearest neighbor algorithm. Wiley Data and Cybersecurity, pp 149-164
  • 42.Irina R 2001) An empirical study of the naive Bayes classifier. In: IJCAI 2001 workshop on empirical methods in artificial intelligence, vol 3, no 22. Seattle, pp 41-46
  • 43.Fratello M, Tagliaferri R (2018) Decision trees and random forests. Encyclopedia of bioinformatics and computational biology: ABC of bioinformatics 374
  • 44.Xanthopoulos P, Pardalos PM, Trafalis TB, Xanthopoulos P, Pardalos PM, Trafalis TB (2013) Linear discriminant analysis. Robust Data Mining pp 27–33
  • 45.Haykin S (1998) Neural networks: a comprehensive foundation. Prentice Hall PTR
  • 46.Kohli S, Godwin GT, Urolagin S (2020) Sales prediction using linear and KNN regression. In: Advances in machine learning and computational intelligence: Proceedings of ICMLCI 2019. Springer, Singapore, Singapore, pp 321–329
  • 47.Montgomery DC, Peck EA, Geoffrey Vining G. Introduction to linear regression analysis. John Wiley & Sons; 2021. [Google Scholar]
  • 48.Lewis RJ (2000) An introduction to classification and regression tree (CART) analysis. In: Annual meeting of the society for academic emergency medicine in San Francisco, California, vol 14. Department of Emergency Medicine Harbor-UCLA Medical Center Torrance, San Francisco
  • 49.Johannes S-H. Nonparametric regression using deep neural networks with ReLU activation function. Ann Stat. 2020;48:1875–1897. [Google Scholar]
  • 50.Hunter GW, Akbar S, Bhansali S, Daniele M, Erb PD, Johnson K, Liu C-C, Miller D, Oralkan O, Hesketh PJ, Manickam P, Vander Wal RL. Editors’ choice—critical review—a critical review of solid state gas sensors. J Electrochem Soc. 2020;167:037570. [Google Scholar]
  • 51.Korotcenkov G. Metal oxides for solid-state gas sensors: what determines our choice? Mater Sci Eng, B. 2007;139:1–23. [Google Scholar]
  • 52.Djedidi O, Djeziri M, Morati N, Seguin J-L, Bendahan MM, Contaret T. Accurate detection and discrimination of pollutant gases using a temperature modulated MOX sensor combined with feature extraction and support vector classification. Sensors Actuators B: Chem. 2021;339:129817. [Google Scholar]
  • 53.Chu J, Li W, Yang X, Wu Y, Wang D, Yang A, Yuan H, Wang X, Li Y, Rong M. Identification of gas mixtures via sensor array combining with neural networks. Sens Actuators, B Chem. 2020;329:129090. [Google Scholar]
  • 54.Capman NSS, Zhen XV, Nelson JT, Chaganti VRSK, Finc RC, Lyden MJ, Williams TL, Freking M, Sherwood GJ, Bühlmann P, Hogan CJ, Koester SJ. Machine learning-based rapid detection of volatile organic compounds in a graphene electronic nose Acs. NANO. 2022;16:19567–19583. doi: 10.1021/acsnano.2c10240. [DOI] [PubMed] [Google Scholar]
  • 55.Thai NX, Tonezzer M, Masera L, Nguyen H, Duy NV, Hoa ND. Multi gas sensors using one nanomaterial, temperature gradient, and machine learning algorithms for discrimination of gases and their concentration. Anal Chim Acta. 2020;1124:85–93. doi: 10.1016/j.aca.2020.05.015. [DOI] [PubMed] [Google Scholar]
  • 56.Huang S, Croy A, Panes-Ruiz LA, Khavrus V, Bezugly V, Ibarlucea B, Cuniberti G (2022) Machine learning-enabled smart gas sensing platform for identification of industrial gases. Adv Intell Syst 4(4):2200016
  • 57.Kanaparthi S, Singh SG. Discrimination of gases with a single chemiresistive multi-gas sensor using temperature sweeping and machine learning. Sens Actuators, B Chem. 2021;348:130725. [Google Scholar]
  • 58.Acharyya S, Nag S, Guha PK. Ultra-selective tin oxide-based chemiresistive gas sensor employing signal transform and machine learning techniques. Anal Chim Acta. 2022;1217:339996. doi: 10.1016/j.aca.2022.339996. [DOI] [PubMed] [Google Scholar]
  • 59.Xu Y, Zhao X, Chen Y, Zhao W. Research on a mixed gas recognition and concentration detection algorithm based on a metal oxide semiconductor olfactory system sensor array. Sensors. 2018;18(10):3264. doi: 10.3390/s18103264. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60.Sett A, Rana T, Roy R, Saha T, Bhattacharyya TK (2020) Selective detection of multiple VOCs employing zinc oxide nanorods and principle component. In: 2020 4th international conference on electronics, materials engineering & nano-technology (IEMENTech). IEEE, pp 1–6
  • 61.Krivetskiy VV, Andreev MD, Efitorov AO, Gaskov AM (2021) Statistical shape analysis preprocessing of temperature modulated metal oxide gas sensor response for machine learning improved selectivity of gases detection in real atmospheric conditions. Sens Actuators B: Chem 329:129187
  • 62.Kulkarni S, Ghosh R. CuO–ZnO p-n junctions for accurate prediction of multiple volatile organic compounds aided by machine learning algorithms. Anal Chim Acta. 2023;1253:341084. doi: 10.1016/j.aca.2023.341084. [DOI] [PubMed] [Google Scholar]

Associated Data

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

Supplementary Materials

Data Availability Statement

The data is available with the corresponding author upon reasonable request.


Articles from Mikrochimica Acta are provided here courtesy of Springer

RESOURCES