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

A chemiresistive sensor array based on polyaniline nanocomposites and machine learning classification

관련 필름·전자재료 · (18) VENT(방수통기 부품) (15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. J. C. Kroutil — Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and
  2. Alexandr Laposa — Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and
  3. Ali Ahmad — Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and
  4. J. Voves — Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and
  5. Vojtěch Povolný — Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and
  6. Ladislav Klimša — FZU -Institute of Physics, of the Czech Academy of Sciences, Na Slovance 1999/2, 182 21 Prague, Czech Republic
  7. Marina Davydova — FZU -Institute of Physics, of the Czech Academy of Sciences, Na Slovance 1999/2, 182 21 Prague, Czech Republic
  8. M. Hušák — Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and
DOI
10.3762/bjnano.13.34
저널
Beilstein Journal of Nanotechnology
발행년도
2022
발행기관
Beilstein Institute for the Advancement of Chemical Sciences
피인용수
10
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3762/bjnano.13.34
토픽
Conducting polymers and applications
OpenAlex ID
W4285740777

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
(15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
소재 합성·설계
확신도
0.80
근거 용어
polyaniline nanocomposites, flexible sensor array, gas sensor, conductive polymers, interdigital electrode
판단 근거
전도성 고분자인 폴리아닐린(PANI)과 무기 나노입자를 복합화한 나노복합체 소재를 연구하였으며, 이를 유연한(flexible) 기판 위에 코팅하여 가스 센서 어레이를 제조하는 공정을 다루고 있습니다.
R&D 활용 포인트
코오롱인더스트리의 VENT(방수통기 부품)나 디스플레이용 필름 사업에서 활용 가능한 유연 기판 위 기능성 고분자/나노복합체 코팅 기술 및 센싱 소재 설계에 참고할 수 있습니다.
평가 입력
본문 38,082자

초록

The selective detection of ammonia (NH3), nitrogen dioxide (NO2), carbon oxides (CO2 and CO), acetone ((CH3)2CO), and toluene (C6H5CH3) is investigated by means of a gas sensor array based on polyaniline nanocomposites. The array composed by seven different conductive sensors with composite sensing layers are measured and analyzed using machine learning. Statistical tools, such as principal component analysis and linear discriminant analysis, are used as dimensionality reduction methods. Five different classification methods, namely k-nearest neighbors algorithm, support vector machine, random forest, decision tree classifier, and Gaussian process classification (GPC) are compared to evaluate the accuracy of target gas determination. We found the Gaussian process classification model trained on features extracted from the data by principal component analysis to be a highly accurate method reach to 99% of the classification of six different gases.

본문 38,082자

본문 펼치기
# A chemiresistive sensor array based on polyaniline nanocomposites and machine learning classification Jiri Kroutil <sup>*1</sup>, Alexandr Laposa <sup>‡1</sup>, Ali Ahmad <sup>‡1</sup>, Jan Voves <sup>‡1</sup>, Vojtech Povolny <sup>‡1</sup>, Ladislav Klimsa <sup>‡2</sup>, Marina Davydova <sup>‡2</sup> and Miroslav Husak <sup>‡1</sup> Full Research Paper [Open Access](https://www.beilstein-journals.org/bjnano/about/openAccess.htm) Address: 1Department of Microelectronics, Czech Technical University in Prague, Technicka 2,166 27 Prague, Czech Republic and <sup>2</sup> FZU Institute of Physics, of the Czech Academy of Sciences, Na Slovance 1999/2, 182 21 Prague, Czech Republic Email: Jiri Kroutil <sup>*</sup> [- kroutj1@fel.cvut.cz](mailto:kroutj1@fel.cvut.cz) - Corresponding author ‡ Equal contributors Keywords: feature extraction; gas sensor; pattern recognition; sensor array _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. [https://doi.org/10.3762/bjnano.13.34](https://doi.org/10.3762/bjnano.13.34) Received: 14 December 2021 Accepted: 25 March 2022 Published: 27 April 2022 Associate Editor: N. Motta © 2022 Kroutil et al.; licensee Beilstein-Institut. License and terms: see end of document. ## Abstract The selective detection of ammonia (NH3), nitrogen dioxide (NO2), carbon oxides (CO2 and CO), acetone ((CH3)2CO), and toluene (C6H5CH3) is investigated by means of a gas sensor array based on polyaniline nanocomposites. The array composed by seven different conductive sensors with composite sensing layers are measured and analyzed using machine learning. Statistical tools, such as principal component analysis and linear discriminant analysis, are used as dimensionality reduction methods. Five different classification methods, namely _k_ -nearest neighbors algorithm, support vector machine, random forest, decision tree classifier, and Gaussian process classification (GPC) are compared to evaluate the accuracy of target gas determination. We found the Gaussian process classification model trained on features extracted from the data by principal component analysis to be a highly accurate method reach to 99% of the classification of six different gases. ## Introduction The control and monitoring of toxic gaseous substances, such as ammonia, nitrogen oxides, and various volatile organic compounds, is crucial in automotive, defense, aviation, chemical, medicine, and food industries [1,2]. Research on chemical sensors is currently focused on the fabrication of multisensor arrays for enhanced detection and identification of various chemical compounds. In most cases, the crosssensitivity toward different chemical analytes is unavoidable, regardless of their oxidizing or reducing nature. Many authors have suggested a number of ways to overcome the drawbacks of cross-sensitivity/selectivity and reliability of the sensor arrays [3-5]. One powerful tool to address the abovementioned drawbacks is the implementation of a multisensor array combined with appropriate pattern recognition and classification tools [6]. Recently, classification in gas sensing applications has been carried out by principal 411 component analysis to identify the difference between VOCs, supported by a vector machine to distinguish between acetone, nitrogen dioxide, and ammonia, and by a neutral network model to distinguish between ammonia and formaldehyde gas [7-9]. In our previous work [10], we demonstrated a combination of organic (polyaniline, PANI) and inorganic (carbon nanotubes (CNT), SnO2, TiO2) materials in a gas sensors based on nanocomposite layers with good sensitivity, temperature stability, reversibility, which was operating at room temperature. Herein, we extended our study by applying other nanocomposite sensing layers, namely PANI/ZnO, PANI/WO3 (nanopowder), PANI/WO3 (nanotubes), PANI/In2O3, PANI/C60 (fullerene), PANI/nanocrystalline diamond (NCD), and PANI/BaTiO3, deposited on a flexible sensor array platform with a new design. Seven different nanocomposite sensing layers deposited on the array were exposed to six different gases (ammonia, carbon dioxide, nitrogen dioxide, carbon monoxide, acetone, and toluene). Moreover, the obtained data were used for machine learning classification. Many pattern recognition models based on intuitive, linear and nonlinear supervised techniques have been explored in E-nose data [11,12]. A considerable number of studies have been implemented in recent years using different statistical analysis algorithms, like principal component analysis (PCA), linear discriminant analysis (LDA), _k_ -nearest neighbors algorithm (KNN), support vector machine (SVM), decision tree classifier (DT), random forest (RF), and Gaussian process classification (GPC) in order to enhance the discrimination of gases and get better selectivity [13]. In this work we suggest a new method in our classification system by combining the abovementioned methods and using the output of the two most powerful techniques in dimensionality reduction and increasing interpretability. We apply PCA and LDA as input data for five machine learning algorithms with a 10-fold cross-validation method. The preprocessing stage was implemented by applying PCA and LDA on the extracted dataset [14,15]. Five different kinds of flexible pattern recognition algorithms have been used for the classification of gas sensor data using a 10-fold cross-validation to reach the highest classification rate. ## Results and Discussion The sensors layers were investigated by scanning electron microcopy (SEM), Raman spectroscopy, current–voltage and temperature analysis, and gas sensing analysis. Further, statistical classification analysis was implemented for the evaluation of target gases. _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. Scanning electron microscopy and Raman spectroscopy The surface morphology and uniformity of additives in PANI of the deposited active layers were examined by scanning electron microscopy (TESCAN FERA3 GM), as shown in Figure 1a–h. All nanocomposite active layers, that is, PANI/ZnO, PANI/ WO3 (nanopowder), PANI/WO3 (nanowires), PANI/In2O3, PANI/C60, PANI/NCD, and PANI/BaTiO3 have similar morphological features with a uniform distribution of additives in Figure 1: SEM micrographs of deposited layers on an interdigital transducer structure: (a) PANI/ZnO, (b) PANI/WO3 (nanopowder), (c) PANI/WO3 (nanowire), (d) PANI/In2O3, (e) PANI/C60, (f) PANI/ NCD, (g) PANI/BaTiO3, and (h) pristine PANI. 412 polyaniline. We can observe small ZnO flakes and WO3 nanowires homogeneously distributed in the layers. Pristine PANI was examined by SEM (Figure 1h) and Raman spectroscopy (Raman spectrometer Renishaw inVia Qontor) at room temperature with 633 nm excitation wavelength (Figure 2). The spectrum of pristine PANI is typical of the emeraldine salt, showing the following main bands: (1) 748 cm <sup>−1</sup> (Q ring bending, C–C ring deformation); (2) 810 and 870 cm <sup>−1</sup> (out-of-plane C–H vibrations in the aromatic Figure 2: The Raman spectra of the PANI. Figure 3: Current–voltage characteristics of active layers. _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. rings); (3) 1169 cm <sup>−1</sup> (C–H bending of the quinoid rings); (4) 1221 and 1260 cm <sup>−1</sup> (C–N in benzene diamine units); (5) 1336 cm <sup>−1</sup> (C–N <sup>+</sup>, characteristic band of the polaron radical cation); (6) 1412 cm <sup>−1</sup> (phenazine structures); (7) 1498 cm <sup>−1</sup> (C=N of the quinoid nonprotonated diimine units); (8) 1590 cm <sup>−1</sup> (C=C stretching vibration of the quinonoid ring) [16,17]. Current–voltage and temperature analysis Figure 3 shows current–voltage characteristics of active layers. These characteristics were examined for currents up to 200 mA and exhibit an almost linear character. Figure 4 shows the temperature dependence of the relative resistance of PANI/nanocomposite layers for different temperatures. All layers exhibit a decrease in resistance with increasing temperature and composite layers exhibit lower temperature dependences in comparison to a pristine PANI layer. The resistance _R_ 0 and the average temperature coefficient of resistance (TCRs) values of the prepared sensing layers are given in Table 1. All active layers have a negative temperature coefficient. The resistivity of these nanocomposites depends on the p–n depletion layer width on the interface between the n-type nanoparticles and the surrounding p-type PANi molecules. Gas sensing analysis The gas sensing characterizations of sensitive layers were performed using a custom-built apparatus (Figure 5). The characterization system consists of mass flow controllers (Bronkhorst 413 Figure 4: Temperature dependence characteristics of active layers. Table 1: Average TCRs of prepared sensitive layers in range from 20 to 80 °C. Layer _R_ 0 (Ω) TCR (K <sup>−1</sup> ) PANI+ZnO 85123 −0.012 PANI+WO3 (nanopowder) 1764 −0.009 PANI+WO3 (nanowires) 25906 −0.009 PANI+In2O3 50750 −0.011 PANI+C60 3305 −0.01 PANI+NCD 3549 −0.01 PANI+BaTiO3 4338 −0.0096 PANI 4240 −0.012 _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. High-Tech) for setting the required gas concentration, a sourcemeter (Keithley, Model 2400) for resistance measurement of active layers, an air-tight chamber with electrical feedthroughs for the sensor array, a relay multiplexor for switching four sensor elements, and a Labview-based data acquisition system. The sensing layers were tested towards carbon dioxide (250 ppm CO2), carbon monoxide (25 ppm), ammonia (25 ppm), nitrogen dioxide (25 ppm), acetone (6%), toluene (500 ppm) and humid air (RH) in synthetic air (SA) at room temperature. The response of the sensing layers was calculated by the relative resistance change: Figure 5: Schematic diagram of the gas sensing characterizations apparatus. 414 (1) where _R_ 0 is the resistance at room temperature in synthetic air and _R_ g is the resistance of the sensor in the presence of the specific gas. The dynamic responses of sensing layers for gases are displayed in Figure 6. The experiment consisted of 5 min of sensor exposure to a certain gas concentration and 5 min of purging at a flow rate of 100 mL·s <sup>−1</sup> . It is evident that all active layers have _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. the highest sensitivity and clear response to NH3. All active composite layers except PANI+ZnO exhibit a higher sensitivity toward NH3 in comparison to a pristine PANI layer. PANI+ZnO composite shows the lowest sensitivity to all gases. Moreover, the resistance decreases when the polyaniline composite sensing layers are exposed to toluene. In addition, the sensor responses of all sensing layers to NO2 gas are nearly three times lower than those to NH3. Due to the high sensitivity to NH3 gas, the sensing layers were also tested towards different concentrations of NH3 at room temperature (Figure 7). It is evident that all sensing layers Figure 6: Gas characterization of active layers towards (a) 25 ppm of NH3, (b) 25 ppm of NO2, (c) 25 ppm of CO, (d) 250 ppm of CO2, (e) 6000 ppm of acetone, and (f) 500 ppm of toluene at room temperature. 415 _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. Figure 7: The responses of sensing layers for different concentrations of NH3. demonstrate an enhancement in sensitivity to the highest gas concentration (50 ppm) as well as incomplete reversibility. When the operating temperature increased up to 80 °C, the sensing layers showed an at least three times lower response to ammonia in contrast to the room temperature measurements (Figure 7), but with almost complete reversibility (Figure 8). The gas sensing mechanism of nanocomposite layers based on PANI was discussed in [10]. Polyaniline is known as one of the Figure 8: Gas characterization of active layers to different concentrations of NH3 at 80 °C. 416 most famous p-type conductive polymers. During the exposure to a reducing gas (NH3), the emeraldine salt form of polyaniline is converted to the emeraldine base form leading to an increase in resistance due to the decrease of hole density within the p-type film [18]. In the case of the hybrid structures, a p–n heterojunction is formed between polyaniline and n-type nanostructures such as ZnO, WO3, In2O3, or fullerene [19]. The protons from polyaniline are transferred to the NH3 molecules. This results in a widening of the depletion layers on p–n junctions and, thus, the resistance increases [18]. All these effects are reversible when the reducing gas is replaced by air. Beside these effects, nanostructures added into polyaniline increase the initial resistance due to larger disorder and deformation of the polyaniline conjugation chains. The summary of the gas sensor responses for all active layers is shown in Figure 9. All layers show an increasing resistivity as a clear response to CO, CO2, NH3, and NO2. Figure 9: The summary of the gas sensor responses for all active layers. Additionally, to exclude the influence of humidity on the sensor signal, the sensor arrays were exposed to various relative humidity levels ranging from 20% to 80% (Figure 10). The obtained results show a decreasing sensor response with increasing RH% value. This change in response toward relative humidity is due to the adsorption of water molecules and an increase of charge concentration due to PANI doping and the formation of charge transfer complexes [20]. The decrease of electrical resistance is caused by the greater mobility of the dopant ions, related to the development of PANI chains. Furthermore, the swelling effect contributes to the change in resistivity [21]. Statistical classification analysis A data preprocessing stage was applied on the gas sensor responses to improve the overall pattern analysis performance. _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. Figure 10: RH dependences of the sensing layers. It was implemented by applying PCA and LDA on the extracted dataset of exposing six different gases to sensor arrays with seven different PANI/nanocomposite sensing layers. Figure 11 presents two-dimensional LDA and PCA projections of the extracted features. Regarding the LDA results, LDA1 describes approximately 72% and LDA2 describes 20.6% of data varia Figure 11: Two-dimensional (a) LDA and (b) PCA projections of extracted features. 417 tion. By using the LDA method, a good classification with clearly separated clusters is obtained for NO2, CO2, acetone, and NH3, but an overlap (overlaps are highlighted by ovalshaped drawings) was detected between CO and toluene. Applying the PCA method, we found that PCA1 describes approximately 94%, while PCA2 only 3.6% of data variation. These results demonstrate that PCA2 could be neglected in comparison with PCA1. Therefore, by analyzing the data projection on PCA1 to evaluate the behavior of the sensors, a high classification in clearly separated clusters is obtained for all gases via PCA. However, PCA and LDA results should be evaluated by machine learning algorithms for high accuracy. The generated feature set by PCA and LDA was provided to the classification algorithms as input vectors, Then, the training/ testing process of SVM, KNN, DT, RF, and GPC classifiers was executed by using the 10-fold and 2-fold cross-validation approach. Table 2 shows the classification rate percentage of the sensor array after applying different classification algorithms. Table 2: Gas classification rate. _K_ - fold _K_ = 10 _K_ = 2 cross-validation Classifier PCA (%) LDA (%) PCA (%) LDA (%) KNN 89 69 68 55 SVM 73 77 57 61 RF 97 78 71 57 DT 96 72 65 52 GPC 99 74 85 58 For visualization, Figure 12 illustrates the classification accuracy of the test samples based on the presented five classifiers. The result shows that, by applying 10-fold cross-validation method, 10–90% of training and test samples were analyzed. KNN, RF, DT, and GPC classifiers yielded a higher classification rate when the PCA method was used as input vector. A different behavior was detected for SVM, where a higher classification rate was achieved by the LDA method as input vector for SVM. The highest rate with 99% classification of the target gases was achieved by using PCA as input vector to train the GPC classifier. Results show that using a smaller amount of training samples, such as the 2-fold cross-validation method in which 50% of training and test samples were analyzed, could strongly decrease the classification rate. In the case of the RF classifier, classification decreased by 30%. The same result of a 30% decrease was obtained for KNN. However, GPC still shows a very high classification rate (85%) even with 50% less training samples, which proves the high capacity and powerful _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. Figure 12: Total classification accuracy using the five classifiers SVM, KNN, DT, RF, and GPC with _K_ -fold cross-validation ( _K_ = 2, _K_ = 10). discrimination of using the PCA–GPC combination for E-nose and gas sensor applications. The usage of a powerful classification system based on statistical analysis and machine learning algorithms is a prime need for sensing applications in different fields, such as gas detection and monitoring [22,23], food industry [24], and agriculture [25]. However, the potential of such electronic nose systems varies according to the implemented classification system. Only between two and four different statistical analysis and classification algorithms were used in the cited literature [22-25]. In this work, we developed a robust system with seven different mathematical algorithms and we examined the interaction between these algorithms. The seven algorithms were studied in deep using different combinations and the highest classification rate was obtained by PCA/GPC. ## Conclusion We presented the fabrication and characterization of seven different composite sensors based on polyaniline. These sensors 418 were used in gas sensing arrays. The sensitivity and selectivity of the gas sensing system was successfully tested on a set of six different gases. The improvement of the selectivity was analyzed by implementation of a complex statistical classification system. The strength of statistical analysis and classification algorithms was determined and was based on several factors such as data field application, parameters, behavior of the system, and the convenience of data behavior and the data correlation regarding the mathematical algorithms and calculations. For different data patterns the algorithms show different strength and reliability. For our system it was possible to perform a suitable preprocessing and feature selection of the dataset by PCA for powerful predictions with uncertainty determined by GPC, which summarizes the distribution of random variables and define the covariance function of the data, a crucial ingredient for our system predictions. The highest classification rate of about 99% was obtained for our classification system using PCA and GPC. ## Experimental Sensor array fabrication The sensor array with four interdigitated electrode systems was manufactured as a flexible printed circuit board (DuPont Pyralux AP8535 with 75 µm thickness, double-sided, copperclad laminate in an all-polyimide composite of polyimide film bonded to copper foil). It contains the heating elements and the temperature sensors for the temperature controlling of individual sensing layers. The heating element can also be used for the desorption of measured gases or heating slightly above the ambient temperature in order to reduce temperature fluctuation. The 18 µm thick Cu interdigitated electrodes were covered with a 12 µm thick gold layer to improve the corrosion resistance. Figure 13: Sensor array fabrication. _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. The width and spacing of interdigitated electrodes are 100 µm. The heating element (surface-mounted device SMD0402 resistor with an electric resistance of 50 Ω) and a platinum temperature sensor (SMD0603 Pt1000) are placed on the bottom side of each sensor by soldering with Sn0.63Pb0.37. The sensor size array is 16.2 mm (width) × 16.2 mm (length) with the sensing layer size of 1.7 mm × 1.7 mm. A pin header connector is used for connection of the sensor array. Sensor arrays with PANI/nanocomposite (PANI/ZnO, PANI/ WO3 (nanopowder), PANI/WO3 (nanowires), PANI/In2O3, PANI/C60, PANI/NCD, and PANI/BaTiO3) sensing layers were fabricated similarly as reported in [10]. The whole fabrication process of the sensor array is described in Figure 13. First, the protonated emeraldine salt form of PANI was prepared by oxidation of 0.2 M aniline hydrochloride with 0.25 M ammonium persulfate at room temperature (25 °C). The precipitate obtained after the polymerization was filtered and purified by 0.2 M hydrochloric acid and acetone. Subsequently, pure polyaniline was dried over silica gel in a desiccator for 24 h. Next, the dispersion solutions were prepared by mixing 24 mg PANI and 5 mg additives (zinc oxide, two forms of tungsten oxide, indium oxide, fullerene, NCD, and barium titanate) in 2 mL xylene. Table 3 shows properties of the used additives. The prepared solutions were mixed in a shaker for 30 min and subsequently ultrasonicated for 30 min. Finally, the obtained dispersion solutions were deposited by a micropipette on the interdigitated electrode arrays. After that, the deposited sensor layers were dried using the integrated heating elements at 60 °C for 2 h and whole sensor array was subsequently dried in a 419 _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. Table 3: Properties of the used additives. Additive Properties zinc oxide (ZnO) nanopowder, particle size < 50 nm, surface area > 10.8 m <sup>2</sup> ·g <sup>−1</sup> tungsten oxide (WO3) nanopowder, particle size < 100 nm tungsten oxide (WO3) nanowires, diameter 50 nm, length 10 µm indium oxide (In2O3) nanopowder, particle size < 100 nm, 99.9% trace metals basis fullerene (C60) sublimed form nanocrystalline diamond (NCD) nanopowder, particle size < 5 nm barium(IV) titanate (BaTiO3) nanopowder (cubic crystalline phase), particle size < 100 nm, ≥99% trace metals basis desiccator over silica gel for 24 h. Before the deposition, the sensor array platforms were cleaned in acetone and isopropyl alcohol for 15 min and then exposed to hexamethyldisilazane (HMDS) for 2 h to improve the adhesion of sensing layers. Figure 14 demonstrates the top view of sensor array with nanocomposite sensing layers and the bottom view with heating elements and temperature sensors [26]. Statistical classification system The classification capability for the gas sensor arrays was analyzed and studied to achieve the highest classification rate by constructing a classification system according to the block diagram in Figure 15. PCA and LDA were implemented and applied in order to extract the data measured from seven sensing layers, namely PANI/ZnO, PANI/WO3 (nanopowder), PANI/ WO3 (nanowires), PANI/In2O3, PANI/C60, PANI/NCD, and PANI/BaTiO3, and the result was used to train/test five different classification algorithms. In this work, KNN, SVM, RF, DT, and GPC were used to achieve the highest classification rate. This paragraph and the following paragraph about PCA and LDA follow closely the corresponding content in [27]. PCA is a Figure 15: Smart sensing system block diagram. Figure 14: Sensor array with nanocomposite sensing layers with dimensions and bottom view with heating elements and temperature sensors. 420 linear transformation that preserves as much data variance as possible. PCA chooses a matrix T that minimizes the mean squared distance between original data and those reconstructed from reduced data. It has been shown that (2) where U and Λ are the eigenvector matrix and the diagonal eigenvalues matrix of the data covariance matrix, respectively. PCA has been extensively used for gas sensor applications [2830]. LDA provides a linear projection of the data with ( _c_ - 1) dimensions, by considering the scatter of data within each class and across classes. Projection directions are those that maximize the inter-class separation of the projected data. The LDA transformation matrix is given by (3) where S W and Λ W are, respectively, the eigenvectors matrix and the diagonal eigenvalues matrix of the within-class scatter W. S B is the eigenvectors matrix of the between-class scatter B. LDA was previously used for gas detection applications [31,32]. KNN is a supervised algorithm that is used for classification and regression, KNN is based on the minimum distance of the unknown sample to the training samples, by selecting the specified number of points ( _k_ ) that are closest to the unknown sample [33]. Then the unknown sample can be identified by the majority votes. SVM is an algorithm capable of performing classification and regression. The SVM algorithm enhances the classification function by finding the hyperplane in an _N_ -dimensional space that has the widest margin between training data and class boundaries. Many possible hyperplanes could be chosen, but SVM aims to find a plane with the maximum margin, that is, the maximum distance between data points of different classes in feature space. A linear decision boundary is constructed in form of a hyperplane: (4) A support vector machine takes the input vectors and outputs a hyperplane that separates different classes. Hyperplanes are _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. decision boundaries that help to classify different classes [34,35]. Samples with an unknown class will be classified by the decision boundary, samples falling on either side of the hyperplane can be attributed to different classes. DT is a learning algorithm. It is a tree-structured classifier where the classification model is performed by a series of test questions and conditions with finite depth based on the features of input data in a tree structure. After the decision tree has been built, sorting of an unknown sample is simple. It begins with the top node of the tree and goes to the leaf. It undergoes distribution channels of the nodes and it follows to the next node, for which a new condition is subjected to the sample till it reaches the leaf node. The unknown sample is labeled and sorted, and a new and unknown sample is classified [36,37]. RF is an ensemble method for classification and regression tasks that uses multiple models of several DT to achieve a better output classification. The concept of the algorithm to build the structure is to select random samples from the dataset and create a decision tree from each sample and to get prediction results from each decision tree created [38]. The RF consists of a large number of individual decision trees. Each tree votes for a class prediction in the random forest, and the prediction with the most votes becomes the prediction of random forest. GPC is a supervised learning method and a generalization of the Gaussian distribution of probability, which can be used for advanced non-parametric machine learning algorithms for classification problems [39]. GPC puts a Gaussian prior over a latent function, which is then squashed by a logistic function to obtain the probabilistic classification. In GPC, the posterior of the latent function is not Gaussian [40]. In GPC, for a given dataset, the training data _x_ 1,..., _x_ n are chosen with the corresponding class labels _y_ = ( _y_ 1,..., _y_ n), to predict the class of a test sample: (5) where Φ denotes the standard normal cumulative distribution function, that is, Gaussian process classification is not a parametric model. Instead, training is carried out to get hyperparameters that are needed for the covariance function and posterior. The target of GPC is to obtain the distribution of a latent variable corresponding to test sample _x_ *: 421 (6) where _p_ ( _f_ | _x_ 1, …, _x_ n, _y_ ) is the posterior over the latent variables, and this distribution subsequently will be used to predict the probabilistic prediction: (7) ## Acknowledgements The classification system was processed by Scikit-learn, which is one of the most popular machine learning libraries of python. Anaconda installer for Python 3.8 was used to run all the libraries and Jupyter Notebooks. This work contains parts from the thesis of J. Kroutil, "Gas sensor array with nanocomposite films", Czech Technical University in Prague, 2019. ## Funding This work was supported by the Czech Science Foundation project No. GA22-04533S „Printed heterogeneous gas sensor arrays with enhanced sensitivity and selectivity“, by the grant of CTU No. SGS20/176/OHK3/3T/13, by the project Centre of the Advanced Applied Natural Sciences No. CZ.02.1.01/0.0/0.0/ 16_019/0000778 supported by the Operation Programme Research, Development and Education co-financed by European Comunity and by Ministry of Education Czech Republic and by the grant CzechNanoLab Research Infrastructure supported by MEYS CR (LM2018110). ## ORCID ® iDs [Jiri Kroutil - https://orcid.org/0000-0002-0644-8135](https://orcid.org/0000-0002-0644-8135) [Alexandr Laposa - https://orcid.org/0000-0002-7529-9567](https://orcid.org/0000-0002-7529-9567) [Ali Ahmad - https://orcid.org/0000-0001-9673-6802](https://orcid.org/0000-0001-9673-6802) [Ladislav Klimsa - https://orcid.org/0000-0002-3653-8254](https://orcid.org/0000-0002-3653-8254) ## References 1. Hosseini, S. H.; Khalkhali, R. A.; Noor, P. _Monatsh. Chem._ 2010, _141,_ [1049–1053. doi:10.1007/s00706-010-0374-5](https://doi.org/10.1007%2Fs00706-010-0374-5) 2. Akbar, S.; Dutta, P.; Lee, C. _Int. J. Appl. Ceram. Technol._ 2006, _3,_ [302–311. doi:10.1111/j.1744-7402.2006.02084.x](https://doi.org/10.1111%2Fj.1744-7402.2006.02084.x) 3. Korotcenkov, G.; Han, S. D.; Cho, B. K.; Brinzari, V. _Crit. Rev. Solid State Mater. Sci._ 2009, _34,_ 1–17. [doi:10.1080/10408430902815725](https://doi.org/10.1080%2F10408430902815725) 4. Korotcenkov, G.; Cho, B. K. _Sens. Actuators, B_ 2013, _188,_ 709–728. [doi:10.1016/j.snb.2013.07.101](https://doi.org/10.1016%2Fj.snb.2013.07.101) 5. Mao, Y.; Park, T. J.; Wong, S. S. _Chem. Commun._ 2005, _46,_ [5721–5735. doi:10.1039/b509960a](https://doi.org/10.1039%2Fb509960a) _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. 6. Zee, F.; Judy, J. W. _Sens. Actuators, B_ 2001, _72,_ 120–128. [doi:10.1016/s0925-4005(00)00638-9](https://doi.org/10.1016%2Fs0925-4005%2800%2900638-9) 7. Liu, S. F.; Moh, L. C. H.; Swager, T. M. _Chem. Mater._ 2015, _27,_ [3560–3563. doi:10.1021/acs.chemmater.5b00153](https://doi.org/10.1021%2Facs.chemmater.5b00153) 8. Pugh, D. C.; Newton, E. J.; Naik, A. J. T.; Hailes, S. M. V.; Parkin, I. P. _J. Mater. Chem. A_ 2014, _2,_ [4758–4764. doi:10.1039/c3ta15049f](https://doi.org/10.1039%2Fc3ta15049f) 9. Zhang, D.; Liu, J.; Jiang, C.; Liu, A.; Xia, B. _Sens. Actuators, B_ 2017, _240,_ [55–65. doi:10.1016/j.snb.2016.08.085](https://doi.org/10.1016%2Fj.snb.2016.08.085) 10.Kroutil, J.; Laposa, A.; Voves, J.; Davydova, M.; Nahlik, J.; Kulha, P.; Husak, M. _IEEE Sens. J._ 2018, _18,_ 3759–3766. [doi:10.1109/jsen.2018.2811461](https://doi.org/10.1109%2Fjsen.2018.2811461) 11.Zhang, L.; Liu, Y.; Deng, P. _IEEE Trans. Instrum. Meas._ 2017, _66,_ [1679–1692. doi:10.1109/tim.2017.2669818](https://doi.org/10.1109%2Ftim.2017.2669818) 12.Zhang, L.; Zhang, D.; Yin, X.; Liu, Y. _IEEE Sens. J._ 2016, _16,_ [4919–4931. doi:10.1109/jsen.2016.2551743](https://doi.org/10.1109%2Fjsen.2016.2551743) 13.Zhang, L.; Tian, F.; Nie, H.; Dang, L.; Li, G.; Ye, Q.; Kadri, C. _Sens. Actuators, B_ 2012, _174,_ [114–125. doi:10.1016/j.snb.2012.07.021](https://doi.org/10.1016%2Fj.snb.2012.07.021) 14.Kiselev, I.; Sommer, M.; Kaur Mann, J.; Sysoev, V. V. _IEEE Sens. J._ 2010, _10,_ [849–855. doi:10.1109/jsen.2009.2036441](https://doi.org/10.1109%2Fjsen.2009.2036441) 15.Ahluwalia, A.; De Rossi, D. _Encyclopedia of Materials: Science and_ _Technology;_ [2001; pp 344–347. doi:10.1016/b0-08-043152-6/00071-1](https://doi.org/10.1016%2Fb0-08-043152-6%2F00071-1) 16.Salvatierra, R. V.; Moura, L. G.; Oliveira, M. M.; Pimenta, M. A.; Zarbin, A. J. G. _J. Raman Spectrosc._ 2012, _43,_ 1094–1100. [doi:10.1002/jrs.3144](https://doi.org/10.1002%2Fjrs.3144) 17.Trchová, M.; Morávková, Z.; Bláha, M.; Stejskal, J. _Electrochim. Acta_ 2014, _122,_ [28–38. doi:10.1016/j.electacta.2013.10.133](https://doi.org/10.1016%2Fj.electacta.2013.10.133) 18.Nie, Q.; Pang, Z.; Lu, H.; Cai, Y.; Wei, Q. _Beilstein J. Nanotechnol._ 2016, _7,_ [1312–1321. doi:10.3762/bjnano.7.122](https://doi.org/10.3762%2Fbjnano.7.122) 19.Kulkarni, S. B.; Navale, Y. H.; Navale, S. T.; Stadler, F. J.; Ramgir, N. S.; Patil, V. B. _Sens. Actuators, B_ 2019, _288,_ 279–288. [doi:10.1016/j.snb.2019.02.094](https://doi.org/10.1016%2Fj.snb.2019.02.094) 20.Chani, M. T. S.; Karimov, K. S.; Khalid, F. A.; Moiz, S. A. _Solid State Sci._ 2013, _18,_ 78–82. [doi:10.1016/j.solidstatesciences.2013.01.005](https://doi.org/10.1016%2Fj.solidstatesciences.2013.01.005) 21.Anisimov, Y. A.; Evitts, R. W.; Cree, D. E.; Wilson, L. D. _Polymers (Basel, Switz.)_ 2021, _13,_ [2722. doi:10.3390/polym13162722](https://doi.org/10.3390%2Fpolym13162722) 22.Robin, Y.; Goodarzi, P.; Baur, T.; Schultealbert, C.; Schutze, A.; Schneider, T. Machine Learning based calibration time reduction for Gas Sensors in Temperature Cycled Operation. In _2021 IEEE_ _International Instrumentation and Measurement Technology_ _Conference,_ I2MTC, Glasgow, UK, May 17–20, 2021; IEEE, 2021; pp 1–6. 23.Brahim-Belhouari, S.; Bermak, A. _Pattern Recognit. Lett._ 2005, _26,_ [699–706. doi:10.1016/j.patrec.2004.09.020](https://doi.org/10.1016%2Fj.patrec.2004.09.020) 24.Tan, J.; Balasubramanian, B.; Sukha, D.; Ramkissoon, S.; Umaharan, P. _J. Food Process Eng._ 2019, [42. doi:10.1111/jfpe.13175](https://doi.org/10.1111%2Fjfpe.13175) 25.Amkor, A.; Maaider, K.; El Barbri, N. _Sens. Actuators, A_ 2021, _328,_ [112787. doi:10.1016/j.sna.2021.112787](https://doi.org/10.1016%2Fj.sna.2021.112787) 26.Kroutil, J. Gas sensor array with nanocompositefilms. Ph.D. Thesis, Czech Technical University in Prague, 2019. 27.Bermak, A.; Belhouari, S. B.; Shi, M.; Martinez, D. _Pattern recognition_ _techniques for odor discrimination in gas sensor array;_ _Encyclopedia of_ _Sensors_, Vol. X; 2006; pp 1–17. 28.Kermit, M.; Tomic, O. _IEEE Sens. J._ 2003, _3,_ 218–228. [doi:10.1109/jsen.2002.807488](https://doi.org/10.1109%2Fjsen.2002.807488) 29.McEntegart, C. M.; Penrose, W. R.; Strathmann, S.; Stetter, J. R. _Sens. Actuators, B_ 2000, _70,_ 170–176. [doi:10.1016/s0925-4005(00)00561-x](https://doi.org/10.1016%2Fs0925-4005%2800%2900561-x) 30.Penza, M.; Cassano, G.; Tortorella, F.; Zaccaria, G. _Sens. Actuators, B_ 2001, _73,_ [76–87. doi:10.1016/s0925-4005(00)00687-0](https://doi.org/10.1016%2Fs0925-4005%2800%2900687-0) 422 31.Aishima, T. _J. Agric. Food Chem._ 1991, _39,_ 752–756. [doi:10.1021/jf00004a027](https://doi.org/10.1021%2Fjf00004a027) 32.Brahim-Belhouari, S.; Bermak, A.; Wei, G.; Chan, P. C. H. A comparative study of density models for gas identification using microelectronic gas sensor. In _Proceedings of the 3rd IEEE_ _International Symposium on Signal Processing and Information_ _Technology,_ ISSPIT 2003, Darmstadt, Germany, Dec 17, 2003; IEEE, [2003; pp 138–141. doi:10.1109/isspit.2003.1341079](https://doi.org/10.1109%2Fisspit.2003.1341079) 33.Petersson, H. Multivariate Exploration and Processing of Sensor Data-applications with multidimensional sensor systems. Ph.D. Thesis, Linköpings Universitet, Sweden, 2008. 34.Boser, B. E.; Guyon, I. M.; Vapnik, V. N. A training algorithm for optimal margin classifiers. In _Proceedings of the Fifth Annual ACM Workshop_ _on Computational Learning Theory,_ Fifth Annual Workshop on Computational Learning Theory, Pittsburgh, PA, USA; Association for Computing Machinery: New York, NY, USA, 1992; pp 144–152. [doi:10.1145/130385.130401](https://doi.org/10.1145%2F130385.130401) 35.Cortes, C.; Vapnik, V. _Mach. Learn._ 1995, _20,_ 273–297. [doi:10.1023/a:1022627411411](https://doi.org/10.1023%2Fa%3A1022627411411) 36.Cho, J.; Li, X.; Gu, Z.; Kurup, P. U. _IEEE Sens. J._ 2012, _12,_ [2384–2391. doi:10.1109/jsen.2011.2182042](https://doi.org/10.1109%2Fjsen.2011.2182042) 37.Li, Q.; Bermak, A. _J. Low Power Electron. Appl._ 2011, _1,_ 45–58. [doi:10.3390/jlpea1010045](https://doi.org/10.3390%2Fjlpea1010045) 38.Shi, T.; Horvath, S. _J. Comput. Graph. Stat._ 2006, _15,_ 118–138. [doi:10.1198/106186006x94072](https://doi.org/10.1198%2F106186006x94072) 39.Yuan, F.; Xia, X.; Shi, J.; Li, H.; Li, G. _IEEE Access_ 2017, _5,_ [6833–6841. doi:10.1109/access.2017.2697408](https://doi.org/10.1109%2Faccess.2017.2697408) 40.Rasmussen, C. E.; Williams, C. K. I. _Gaussian Processes for Machine_ _Learning;_ [The MIT Press, 2006. doi:10.7551/mitpress/3206.001.0001](https://doi.org/10.7551%2Fmitpress%2F3206.001.0001) ## License and Terms This is an open access article licensed under the terms of the Beilstein-Institut Open Access License Agreement <u>[(https://www.beilstein-journals.org/bjnano/terms), which is](https://www.beilstein-journals.org/bjnano/terms)</u> identical to the Creative Commons Attribution 4.0 International License <u>[(https://creativecommons.org/licenses/by/4.0). The reuse of](https://creativecommons.org/licenses/by/4.0)</u> material under this license requires that the author(s), source and license are credited. Third-party material in this article could be subject to other licenses (typically indicated in the credit line), and in this case, users are required to obtain permission from the license holder to reuse the material. The definitive version of this article is the electronic one which can be found at: <u>[https://doi.org/10.3762/bjnano.13.34](https://doi.org/10.3762/bjnano.13.34)</u> _Beilstein J. Nanotechnol._ 2022, _13,_ 411–423. 423

섹션 본문 34문단 · 23,332자

(제목 없음)

1The selective detection of ammonia (NH 3 ), nitrogen dioxide (NO 2 ), carbon oxides (CO 2 and CO), acetone ((CH 3 ) 2 CO), and toluene (C 6 H 5 CH 3 ) is investigated by means of a gas sensor array based on polyaniline nanocomposites. The array composed by seven different conductive sensors with composite sensing layers are measured and analyzed using machine learning. Statistical tools, such as principal component analysis and linear discriminant analysis, are used as dimensionality reduction methods. Five different classification methods, namely k-nearest neighbors algorithm, support vector machine, random forest, decision tree classifier, and Gaussian process classification (GPC) are compared to evaluate the accuracy of target gas determination. We found the Gaussian process classification model trained on features extracted from the data by principal component analysis to be a highly accurate method reach to 99% of the classification of six different gases.411

Introduction

2The control and monitoring of toxic gaseous substances, such as ammonia, nitrogen oxides, and various volatile organic compounds, is crucial in automotive, defense, aviation, chemical, medicine, and food industries [1,2]. Research on chemical sensors is currently focused on the fabrication of multisensor arrays for enhanced detection and identification of various chemical compounds. In most cases, the crosssensitivity toward different chemical analytes is unavoidable, regardless of their oxidizing or reducing nature. Many authors have suggested a number of ways to overcome the drawbacks of cross-sensitivity/selectivity and reliability of the sensor arrays [3][4][5]. One powerful tool to address the abovementioned drawbacks is the implementation of a multisensor array combined with appropriate pattern recognition and classification tools [6]. Recently, classification in gas sensing applications has been carried out by principal component analysis to identify the difference between VOCs, supported by a vector machine to distinguish between acetone, nitrogen dioxide, and ammonia, and by a neutral network model to distinguish between ammonia and formaldehyde gas [7][8][9].

3In our previous work [10], we demonstrated a combination of organic (polyaniline, PANI) and inorganic (carbon nanotubes (CNT), SnO 2 , TiO 2 ) materials in a gas sensors based on nanocomposite layers with good sensitivity, temperature stability, reversibility, which was operating at room temperature. Herein, we extended our study by applying other nanocomposite sensing layers, namely PANI/ZnO, PANI/WO 3 (nanopowder), PANI/WO 3 (nanotubes), PANI/In 2 O 3 , PANI/C 60 (fullerene), PANI/nanocrystalline diamond (NCD), and PANI/BaTiO 3 , deposited on a flexible sensor array platform with a new design. Seven different nanocomposite sensing layers deposited on the array were exposed to six different gases (ammonia, carbon dioxide, nitrogen dioxide, carbon monoxide, acetone, and toluene). Moreover, the obtained data were used for machine learning classification.

4Many pattern recognition models based on intuitive, linear and nonlinear supervised techniques have been explored in E-nose data [11,12]. A considerable number of studies have been implemented in recent years using different statistical analysis algorithms, like principal component analysis (PCA), linear discriminant analysis (LDA), k-nearest neighbors algorithm (KNN), support vector machine (SVM), decision tree classifier (DT), random forest (RF), and Gaussian process classification (GPC) in order to enhance the discrimination of gases and get better selectivity [13]. In this work we suggest a new method in our classification system by combining the abovementioned methods and using the output of the two most powerful techniques in dimensionality reduction and increasing interpretability. We apply PCA and LDA as input data for five machine learning algorithms with a 10-fold cross-validation method.

5The preprocessing stage was implemented by applying PCA and LDA on the extracted dataset [14,15]. Five different kinds of flexible pattern recognition algorithms have been used for the classification of gas sensor data using a 10-fold cross-validation to reach the highest classification rate.

Results and Discussion

6The sensors layers were investigated by scanning electron microcopy (SEM), Raman spectroscopy, current-voltage and temperature analysis, and gas sensing analysis. Further, statistical classification analysis was implemented for the evaluation of target gases.

Scanning electron microscopy and Raman spectroscopy

7The surface morphology and uniformity of additives in PANI of the deposited active layers were examined by scanning electron microscopy (TESCAN FERA3 GM), as shown in Figure 1a-h. All nanocomposite active layers, that is, PANI/ZnO, PANI/ WO 3 (nanopowder), PANI/WO 3 (nanowires), PANI/In 2 O 3 , PANI/C 60 , PANI/NCD, and PANI/BaTiO 3 have similar morphological features with a uniform distribution of additives in polyaniline. We can observe small ZnO flakes and WO 3 nanowires homogeneously distributed in the layers.

8Pristine PANI was examined by SEM ( Figure 1h) and Raman spectroscopy (Raman spectrometer Renishaw inVia Qontor) at room temperature with 633 nm excitation wavelength ( Figure 2). The spectrum of pristine PANI is typical of the emeraldine salt, showing the following main bands: (1) 748 cm −1 (Q ring bending, C-C ring deformation); (2) 810 and 870 cm −1 (out-of-plane C-H vibrations in the aromatic rings); (3) 1169 cm −1 (C-H bending of the quinoid rings); (4) 1221 and 1260 cm −1 (C-N in benzene diamine units); (5) 1336 cm −1 (C-N + , characteristic band of the polaron radical cation); (6) 1412 cm −1 (phenazine structures); (7) 1498 cm −1 (C=N of the quinoid nonprotonated diimine units); (8) 1590 cm −1 (C=C stretching vibration of the quinonoid ring) [16,17]. Figure 4 shows the temperature dependence of the relative resistance of PANI/nanocomposite layers for different temperatures. All layers exhibit a decrease in resistance with increasing temperature and composite layers exhibit lower temperature dependences in comparison to a pristine PANI layer. The resistance R 0 and the average temperature coefficient of resistance (TCRs) values of the prepared sensing layers are given in Table 1. All active layers have a negative temperature coefficient. The resistivity of these nanocomposites depends on the p-n depletion layer width on the interface between the n-type nanoparticles and the surrounding p-type PANi molecules.

Gas sensing analysis

9The gas sensing characterizations of sensitive layers were performed using a custom-built apparatus ( Figure 5). The characterization system consists of mass flow controllers (Bronkhorst High-Tech) for setting the required gas concentration, a sourcemeter (Keithley, Model 2400) for resistance measurement of active layers, an air-tight chamber with electrical feedthroughs for the sensor array, a relay multiplexor for switching four sensor elements, and a Labview-based data acquisition system.

10The sensing layers were tested towards carbon dioxide (250 ppm CO 2 ), carbon monoxide (25 ppm), ammonia (25 ppm), nitrogen dioxide (25 ppm), acetone (6%), toluene (500 ppm) and humid air (RH) in synthetic air (SA) at room temperature. The response of the sensing layers was calculated by the relative resistance change: (1)

11where R 0 is the resistance at room temperature in synthetic air and R g is the resistance of the sensor in the presence of the specific gas.

12The dynamic responses of sensing layers for gases are displayed in Figure 6. The experiment consisted of 5 min of sensor exposure to a certain gas concentration and 5 min of purging at a flow rate of 100 mL·s −1 . It is evident that all active layers have the highest sensitivity and clear response to NH 3 . All active composite layers except PANI+ZnO exhibit a higher sensitivity toward NH 3 in comparison to a pristine PANI layer. PANI+ZnO composite shows the lowest sensitivity to all gases. Moreover, the resistance decreases when the polyaniline composite sensing layers are exposed to toluene. In addition, the sensor responses of all sensing layers to NO 2 gas are nearly three times lower than those to NH 3 .

13Due to the high sensitivity to NH 3 gas, the sensing layers were also tested towards different concentrations of NH 3 at room temperature ( Figure 7). It is evident that all sensing layers demonstrate an enhancement in sensitivity to the highest gas concentration (50 ppm) as well as incomplete reversibility.

14When the operating temperature increased up to 80 °C, the sensing layers showed an at least three times lower response to ammonia in contrast to the room temperature measurements (Figure 7), but with almost complete reversibility ( Figure 8).

15The gas sensing mechanism of nanocomposite layers based on PANI was discussed in [10]. Polyaniline is known as one of the most famous p-type conductive polymers. During the exposure to a reducing gas (NH 3 ), the emeraldine salt form of polyaniline is converted to the emeraldine base form leading to an increase in resistance due to the decrease of hole density within the p-type film [18]. In the case of the hybrid structures, a p-n heterojunction is formed between polyaniline and n-type nanostructures such as ZnO, WO 3 , In 2 O 3 , or fullerene [19]. The protons from polyaniline are transferred to the NH 3 molecules. This results in a widening of the depletion layers on p-n junctions and, thus, the resistance increases [18]. All these effects are reversible when the reducing gas is replaced by air. Beside these effects, nanostructures added into polyaniline increase the initial resistance due to larger disorder and deformation of the polyaniline conjugation chains. The summary of the gas sensor responses for all active layers is shown in Figure 9. All layers show an increasing resistivity as a clear response to CO, CO 2 , NH 3 , and NO 2 . Additionally, to exclude the influence of humidity on the sensor signal, the sensor arrays were exposed to various relative humidity levels ranging from 20% to 80% ( Figure 10). The obtained results show a decreasing sensor response with increasing RH% value. This change in response toward relative humidity is due to the adsorption of water molecules and an increase of charge concentration due to PANI doping and the formation of charge transfer complexes [20]. The decrease of electrical resistance is caused by the greater mobility of the dopant ions, related to the development of PANI chains. Furthermore, the swelling effect contributes to the change in resistivity [21].

Statistical classification analysis

16A data preprocessing stage was applied on the gas sensor responses to improve the overall pattern analysis performance. It was implemented by applying PCA and LDA on the extracted dataset of exposing six different gases to sensor arrays with seven different PANI/nanocomposite sensing layers. Figure 11 presents two-dimensional LDA and PCA projections of the extracted features. Regarding the LDA results, LDA1 describes approximately 72% and LDA2 describes 20.6% of data varia-tion. By using the LDA method, a good classification with clearly separated clusters is obtained for NO 2 , CO 2 , acetone, and NH 3 , but an overlap (overlaps are highlighted by ovalshaped drawings) was detected between CO and toluene.

17Applying the PCA method, we found that PCA1 describes approximately 94%, while PCA2 only 3.6% of data variation. These results demonstrate that PCA2 could be neglected in comparison with PCA1. Therefore, by analyzing the data projection on PCA1 to evaluate the behavior of the sensors, a high classification in clearly separated clusters is obtained for all gases via PCA. However, PCA and LDA results should be evaluated by machine learning algorithms for high accuracy. The generated feature set by PCA and LDA was provided to the classification algorithms as input vectors, Then, the training/ testing process of SVM, KNN, DT, RF, and GPC classifiers was executed by using the 10-fold and 2-fold cross-validation approach. Table 2 shows the classification rate percentage of the sensor array after applying different classification algorithms. For visualization, Figure 12 illustrates the classification accuracy of the test samples based on the presented five classifiers. The result shows that, by applying 10-fold cross-validation method, 10-90% of training and test samples were analyzed. KNN, RF, DT, and GPC classifiers yielded a higher classification rate when the PCA method was used as input vector. A different behavior was detected for SVM, where a higher classification rate was achieved by the LDA method as input vector for SVM. The highest rate with 99% classification of the target gases was achieved by using PCA as input vector to train the GPC classifier. Results show that using a smaller amount of training samples, such as the 2-fold cross-validation method in which 50% of training and test samples were analyzed, could strongly decrease the classification rate. In the case of the RF classifier, classification decreased by 30%. The same result of a 30% decrease was obtained for KNN. However, GPC still shows a very high classification rate (85%) even with 50% less training samples, which proves the high capacity and powerful discrimination of using the PCA-GPC combination for E-nose and gas sensor applications.

18The usage of a powerful classification system based on statistical analysis and machine learning algorithms is a prime need for sensing applications in different fields, such as gas detection and monitoring [22,23], food industry [24], and agriculture [25]. However, the potential of such electronic nose systems varies according to the implemented classification system. Only between two and four different statistical analysis and classification algorithms were used in the cited literature [22][23][24][25]. In this work, we developed a robust system with seven different mathematical algorithms and we examined the interaction between these algorithms. The seven algorithms were studied in deep using different combinations and the highest classification rate was obtained by PCA/GPC.

Conclusion

19We presented the fabrication and characterization of seven different composite sensors based on polyaniline. These sensors were used in gas sensing arrays. The sensitivity and selectivity of the gas sensing system was successfully tested on a set of six different gases. The improvement of the selectivity was analyzed by implementation of a complex statistical classification system. The strength of statistical analysis and classification algorithms was determined and was based on several factors such as data field application, parameters, behavior of the system, and the convenience of data behavior and the data correlation regarding the mathematical algorithms and calculations. For different data patterns the algorithms show different strength and reliability. For our system it was possible to perform a suitable preprocessing and feature selection of the dataset by PCA for powerful predictions with uncertainty determined by GPC, which summarizes the distribution of random variables and define the covariance function of the data, a crucial ingredient for our system predictions. The highest classification rate of about 99% was obtained for our classification system using PCA and GPC.

Experimental Sensor array fabrication

20The sensor array with four interdigitated electrode systems was manufactured as a flexible printed circuit board (DuPont Pyralux AP8535 with 75 µm thickness, double-sided, copperclad laminate in an all-polyimide composite of polyimide film bonded to copper foil). It contains the heating elements and the temperature sensors for the temperature controlling of individual sensing layers. The heating element can also be used for the desorption of measured gases or heating slightly above the ambient temperature in order to reduce temperature fluctuation. The 18 µm thick Cu interdigitated electrodes were covered with a 12 µm thick gold layer to improve the corrosion resistance.

21The width and spacing of interdigitated electrodes are 100 µm. The heating element (surface-mounted device SMD0402 resistor with an electric resistance of 50 Ω) and a platinum temperature sensor (SMD0603 Pt1000) are placed on the bottom side of each sensor by soldering with Sn 0.63 Pb 0.37 . The sensor size array is 16.2 mm (width) × 16.2 mm (length) with the sensing layer size of 1.7 mm × 1.7 mm. A pin header connector is used for connection of the sensor array.

22Sensor arrays with PANI/nanocomposite (PANI/ZnO, PANI/ WO 3 (nanopowder), PANI/WO 3 (nanowires), PANI/In 2 O 3 , PANI/C 60 , PANI/NCD, and PANI/BaTiO 3 ) sensing layers were fabricated similarly as reported in [10]. The whole fabrication process of the sensor array is described in Figure 13.

23First, the protonated emeraldine salt form of PANI was prepared by oxidation of 0.2 M aniline hydrochloride with 0.25 M ammonium persulfate at room temperature (25 °C). The precipitate obtained after the polymerization was filtered and purified by 0.2 M hydrochloric acid and acetone. Subsequently, pure polyaniline was dried over silica gel in a desiccator for 24 h.

24Next, the dispersion solutions were prepared by mixing 24 mg PANI and 5 mg additives (zinc oxide, two forms of tungsten oxide, indium oxide, fullerene, NCD, and barium titanate) in 2 mL xylene. Table 3 shows properties of the used additives. The prepared solutions were mixed in a shaker for 30 min and subsequently ultrasonicated for 30 min. Finally, the obtained dispersion solutions were deposited by a micropipette on the interdigitated electrode arrays. After that, the deposited sensor layers were dried using the integrated heating elements at 60 °C for 2 h and whole sensor array was subsequently dried in a nanopowder (cubic crystalline phase), particle size < 100 nm, ≥99% trace metals basis desiccator over silica gel for 24 h. Before the deposition, the sensor array platforms were cleaned in acetone and isopropyl alcohol for 15 min and then exposed to hexamethyldisilazane (HMDS) for 2 h to improve the adhesion of sensing layers. Figure 14 demonstrates the top view of sensor array with nanocomposite sensing layers and the bottom view with heating elements and temperature sensors [26].

Statistical classification system

25The classification capability for the gas sensor arrays was analyzed and studied to achieve the highest classification rate by constructing a classification system according to the block diagram in Figure 15. PCA and LDA were implemented and applied in order to extract the data measured from seven sensing layers, namely PANI/ZnO, PANI/WO 3 (nanopowder), PANI/ WO 3 (nanowires), PANI/In 2 O 3 , PANI/C 60 , PANI/NCD, and PANI/BaTiO 3 , and the result was used to train/test five different classification algorithms. In this work, KNN, SVM, RF, DT, and GPC were used to achieve the highest classification rate.

26This paragraph and the following paragraph about PCA and LDA follow closely the corresponding content in [27]. PCA is a linear transformation that preserves as much data variance as possible. PCA chooses a matrix T that minimizes the mean squared distance between original data and those reconstructed from reduced data. It has been shown that (2) where U and Λ are the eigenvector matrix and the diagonal eigenvalues matrix of the data covariance matrix, respectively. PCA has been extensively used for gas sensor applications [28][29][30].

27LDA provides a linear projection of the data with (c -1) dimensions, by considering the scatter of data within each class and across classes. Projection directions are those that maximize the inter-class separation of the projected data. The LDA transformation matrix is given by (3) where S W and Λ W are, respectively, the eigenvectors matrix and the diagonal eigenvalues matrix of the within-class scatter W. S B is the eigenvectors matrix of the between-class scatter B. LDA was previously used for gas detection applications [31,32].

28KNN is a supervised algorithm that is used for classification and regression, KNN is based on the minimum distance of the unknown sample to the training samples, by selecting the specified number of points (k) that are closest to the unknown sample [33]. Then the unknown sample can be identified by the majority votes.

29SVM is an algorithm capable of performing classification and regression. The SVM algorithm enhances the classification function by finding the hyperplane in an N-dimensional space that has the widest margin between training data and class boundaries. Many possible hyperplanes could be chosen, but SVM aims to find a plane with the maximum margin, that is, the maximum distance between data points of different classes in feature space. A linear decision boundary is constructed in form of a hyperplane:

30A support vector machine takes the input vectors and outputs a hyperplane that separates different classes. Hyperplanes are decision boundaries that help to classify different classes [34,35]. Samples with an unknown class will be classified by the decision boundary, samples falling on either side of the hyperplane can be attributed to different classes.

31DT is a learning algorithm. It is a tree-structured classifier where the classification model is performed by a series of test questions and conditions with finite depth based on the features of input data in a tree structure. After the decision tree has been built, sorting of an unknown sample is simple. It begins with the top node of the tree and goes to the leaf. It undergoes distribution channels of the nodes and it follows to the next node, for which a new condition is subjected to the sample till it reaches the leaf node. The unknown sample is labeled and sorted, and a new and unknown sample is classified [36,37].

32RF is an ensemble method for classification and regression tasks that uses multiple models of several DT to achieve a better output classification. The concept of the algorithm to build the structure is to select random samples from the dataset and create a decision tree from each sample and to get prediction results from each decision tree created [38]. The RF consists of a large number of individual decision trees. Each tree votes for a class prediction in the random forest, and the prediction with the most votes becomes the prediction of random forest.

33GPC is a supervised learning method and a generalization of the Gaussian distribution of probability, which can be used for advanced non-parametric machine learning algorithms for classification problems [39]. GPC puts a Gaussian prior over a latent function, which is then squashed by a logistic function to obtain the probabilistic classification. In GPC, the posterior of the latent function is not Gaussian [40]. In GPC, for a given dataset, the training data x 1 ,..., x n are chosen with the corresponding class labels y = (y 1 ,..., y n ), to predict the class of a test sample:

34where Φ denotes the standard normal cumulative distribution function, that is, Gaussian process classification is not a parametric model. Instead, training is carried out to get hyperparameters that are needed for the covariance function and posterior. The target of GPC is to obtain the distribution of a latent variable corresponding to test sample x*: (6) where p(f|x 1 , …, x n , y) is the posterior over the latent variables, and this distribution subsequently will be used to predict the probabilistic prediction:

참고문헌 37건

  1. A comparative study of density models for gas identification using microelectronic gas sensor 2004 10.1109/isspit.2003.1341079
  2. Polyaniline based impedance humidity sensors Solid State Sciences · Elsevier BV · 2013 10.1016/j.solidstatesciences.2013.01.005
  3. Classification of multiple indoor air contaminants by an electronic nose and a hybrid support vector machine Sensors and Actuators B Chemical · Elsevier BV · 2012 10.1016/j.snb.2012.07.021
  4. Synthesis of classes of ternary metal oxide nanostructures Chemical Communications · Royal Society of Chemistry · 2005 10.1039/b509960a
  5. Aroma discrimination by pattern recognition analysis of responses from semiconductor gas sensor array Journal of Agricultural and Food Chemistry · American Chemical Society · 1991 10.1021/jf00004a027
  6. Unsupervised Learning With Random Forest Predictors Journal of Computational and Graphical Statistics · Taylor & Francis · 2006 10.1198/106186006x94072
  7. A Low-Power Hardware-Friendly Binary Decision Tree Classifier for Gas Identification Journal of Low Power Electronics and Applications · Multidisciplinary Digital Publishing Institute · 2011 10.3390/jlpea1010045
  8. Study of polyaniline conducting/electroactive polymer as sensor for some agricultural phosphorus pesticides Monatshefte für Chemie - Chemical Monthly · Springer Science+Business Media · 2010 10.1007/s00706-010-0374-5
  9. The gas sensing properties of zeolite modified zinc oxide Journal of Materials Chemistry A · Royal Society of Chemistry · 2014 10.1039/c3ta15049f
  10. Detection and discrimination of coliform bacteria with gas sensor arrays Sensors and Actuators B Chemical · Elsevier BV · 2000 10.1016/s0925-4005(00)00561-x
  11. A training algorithm for optimal margin classifiers 1992 10.1145/130385.130401
  12. Grain Size Effects in Sensor Response of Nanostructured SnO<sub>2</sub>- and In<sub>2</sub>O<sub>3</sub>-Based Conductometric Thin Film Gas Sensor Critical reviews in solid state and materials sciences/CRC critical reviews in solid state and materials sciences · Taylor & Francis · 2009 10.1080/10408430902815725
  13. Raman spectroscopy of polyaniline and oligoaniline thin films Electrochimica Acta · Elsevier BV · 2013 10.1016/j.electacta.2013.10.133
  14. Recognition of Explosive Precursors Using Nanowire Sensor Array and Decision Tree Learning IEEE Sensors Journal · IEEE Sensors Council · 2012 10.1109/jsen.2011.2182042
  15. High‐Temperature Ceramic Gas Sensors: A Review International Journal of Applied Ceramic Technology · Wiley · 2006 10.1111/j.1744-7402.2006.02084.x
  16. Gas identification using density models Pattern Recognition Letters · Elsevier BV · 2004 10.1016/j.patrec.2004.09.020
  17. Independent component analysis applied on gas sensor array measurement data IEEE Sensors Journal · IEEE Sensors Council · 2003 10.1109/jsen.2002.807488
  18. Support-Vector Networks Machine Learning · Springer Science+Business Media · 1995 10.1023/a:1022627411411
  19. Micromachined polymer-based chemical gas sensor array Sensors and Actuators B Chemical · Elsevier BV · 2001 10.1016/s0925-4005(00)00638-9
  20. Resonant Raman spectroscopy and spectroelectrochemistry characterization of carbon nanotubes/polyaniline thin film obtained through interfacial polymerization Journal of Raman Spectroscopy · Wiley · 2012 10.1002/jrs.3144
  21. Employment of Electric Potential to Build a Gas-Selective Response of Metal Oxide Gas Sensor Array IEEE Sensors Journal · IEEE Sensors Council · 2010 10.1109/jsen.2009.2036441
  22. Classification of food, beverages and perfumes by WO3 thin-film sensors array and pattern recognition techniques Sensors and Actuators B Chemical · Elsevier BV · 2001 10.1016/s0925-4005(00)00687-0
  23. Engineering approaches for the improvement of conductometric gas sensor parameters Sensors and Actuators B Chemical · Elsevier BV · 2013 10.1016/j.snb.2013.07.101
  24. A Novel Semi-Supervised Learning Approach in Artificial Olfaction for E-Nose Application IEEE Sensors Journal · IEEE Sensors Council · 2016 10.1109/jsen.2016.2551743
  25. Quantitative detection of formaldehyde and ammonia gas via metal oxide-modified graphene-based sensor array combining with neural network model Sensors and Actuators B Chemical · Elsevier BV · 2016 10.1016/j.snb.2016.08.085
  26. Single-Walled Carbon Nanotube–Metalloporphyrin Chemiresistive Gas Sensor Arrays for Volatile Organic Compounds Chemistry of Materials · American Chemical Society · 2015 10.1021/acs.chemmater.5b00153
  27. Ammonia gas sensors based on In<sub>2</sub>O<sub>3</sub>/PANI hetero-nanofibers operating at room temperature Beilstein Journal of Nanotechnology · Beilstein Institute for the Advancement of Chemical Sciences · 2016 10.3762/bjnano.7.122
  28. Odor Recognition in Multiple E-Nose Systems With Cross-Domain Discriminative Subspace Learning IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2017 10.1109/tim.2017.2669818
  29. Non-Linear Dimensionality Reduction and Gaussian Process Based Classification Method for Smoke Detection IEEE Access · Institute of Electrical and Electronics Engineers · 2017 10.1109/access.2017.2697408
  30. Performance Evaluation of Low-Cost Flexible Gas Sensor Array With Nanocomposite Polyaniline Films IEEE Sensors Journal · IEEE Sensors Council · 2018 10.1109/jsen.2018.2811461
  31. Hybrid polyaniline-WO3 flexible sensor: A room temperature competence towards NH3 gas Sensors and Actuators B Chemical · Elsevier BV · 2019 10.1016/j.snb.2019.02.094
  32. Sensing fermentation degree of cocoa (Theobroma cacao L.) beans by machine learning classification models based electronic nose system Journal of Food Process Engineering · Wiley · 2019 10.1111/jfpe.13175
  33. Mint treatment day prediction using a multi-sensors system and machine learning algorithms Sensors and Actuators A Physical · Elsevier BV · 2021 10.1016/j.sna.2021.112787
  34. Polyaniline/Biopolymer Composite Systems for Humidity Sensor Applications: A Review Polymers · Multidisciplinary Digital Publishing Institute · 2021 10.3390/polym13162722
  35. (제목 없음) Directory of Open access Books (OAPEN Foundation) · 2022 10.7551/mitpress/3206.001.0001
  36. Artificial Noses and Tongues Elsevier eBooks · Elsevier BV · 2001 10.1016/b0-08-043152-6/00071-1
  37. 2012 IEEE international instrumentation and measurement technology conference IEEE Instrumentation & Measurement Magazine · Institute of Electrical and Electronics Engineers · 2011 10.1109/mim.2011.6086893