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

A Novel Sparse Representation Classification Method for Gas Identification Using Self-Adapted Temperature Modulated Gas Sensors

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Aixiang He — School of Information & Electronic Engineering, Shandong Technology and Business University, Yantai 264005, China
  2. Guangfen Wei — School of Information & Electronic Engineering, Shandong Technology and Business University, Yantai 264005, China
  3. Jun Yu — The Key Laboratory of Liaoning for Integrated Circuits Technology, Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian 116023, China
  4. Meihua Li — School of Information & Electronic Engineering, Shandong Technology and Business University, Yantai 264005, China
  5. Zhongzhou Li — The Key Laboratory of Liaoning for Integrated Circuits Technology, Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian 116023, China
  6. Zhenan Tang — The Key Laboratory of Liaoning for Integrated Circuits Technology, Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian 116023, China
DOI
10.3390/s19092173
저널
Sensors
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
8
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s19092173
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W2944720376

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
electronic nose, gas identification, hydrogen, methane, carbon monoxide
판단 근거
논문은 전자 코(electronic nose) 시스템을 이용한 가스(수소, 메탄 등) 식별 알고리즘을 다루고 있습니다. 이는 수소연료전지(PEMFC) 시스템의 가스 성분 분석 및 모니터링 기술에 응용될 수 있는 데이터 처리 모델링 연구입니다.
R&D 활용 포인트
수소연료전지(PEMFC) 시스템 내 가스 농도 및 성분 변화를 실시간으로 정밀하게 모니터링하고 진단하는 센서 데이터 분석 알고리즘 개발에 활용 가능합니다.
평가 입력
본문 37,411자

초록

A novel sparse representation classification method (SRC), namly SRC based on Method of Optimal Directions (SRC_MOD), is proposed for electronic nose system in this paper. By finding both a synthesis dictionary and a corresponding coefficient vector, the i-th class training samples are approximated as a linear combination of a few of the dictionary atoms. The optimal solutions of the synthesis dictionary and coefficient vector are found by MOD. Finally, testing samples are identified by evaluating which class causes the least reconstruction error. The proposed algorithm is evaluated on the analysis of hydrogen, methane, carbon monoxide, and benzene at self-adapted modulated operating temperature. Experimental results show that the proposed method is quite efficient and computationally inexpensive to obtain excellent identification for the target gases.

본문 37,411자

본문 펼치기
# _sensors_ _Article_ ## A Novel Sparse Representation Classification Method for Gas Identification Using Self-Adapted Temperature Modulated Gas Sensors Aixiang He <sup>1,</sup> * , Guangfen Wei <sup>1</sup> , Jun Yu <sup>2</sup> , Meihua Li <sup>1</sup> , Zhongzhou Li <sup>2</sup> and Zhenan Tang <sup>2,</sup> * 1 School of Information & Electronic Engineering, Shandong Technology and Business University, Yantai 264005, China; guangfen.wei@sdtbu.edu.cn (G.W.); limeihua@sdtbu.edu.cn (M.L.) 2 The Key Laboratory of Liaoning for Integrated Circuits Technology, Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian 116023, China; junyu@dlut.edu.cn (J.Y.); lizhongzhou127@163.com (Z.L.) * Correspondence: sdgshax@126.com (A.H.); tangza@dlut.edu.cn (Z.T.); Tel.: +86-136-4645-4139 (A.H.); +86-138-9863-3170 (Z.T.) Received: 13 April 2019; Accepted: 7 May 2019; Published: 10 May 2019 [���������](http://www.mdpi.com/1424-8220/19/9/2173?type=check_update&version=1) [�������](http://www.mdpi.com/1424-8220/19/9/2173?type=check_update&version=1) Abstract: A novel sparse representation classification method (SRC), namly SRC based on Method of Optimal Directions (SRC_MOD), is proposed for electronic nose system in this paper. By finding both a synthesis dictionary and a corresponding coefficient vector, the _i_ -th class training samples are approximated as a linear combination of a few of the dictionary atoms. The optimal solutions of the synthesis dictionary and coefficient vector are found by MOD. Finally, testing samples are identified by evaluating which class causes the least reconstruction error. The proposed algorithm is evaluated on the analysis of hydrogen, methane, carbon monoxide, and benzene at self-adapted modulated operating temperature. Experimental results show that the proposed method is quite efficient and computationally inexpensive to obtain excellent identification for the target gases. Keywords: electronic nose; gas identification; sparse representation classification (SRC); method of optimal directions (MOD); temperature modulation 1. Introduction Electronic noses are technical devices that contain a gas sensor array and pattern recognition system [1]. However, the pattern recognition of electronic noses, in many cases, is plagued with problems. It is quite usual to encounter drift, scattering due to concentration effects, highly correlated features, or non-Gaussian data distributions [2,3]. In addition, due to high calibration costs and complex experimental conditions, the number of training samples is limited. Hence, the performance of classifier is very important to electronic noses, as they can improve the robustness to the problems mentioned above. At present, there are many classification methods for gas sensor data [4–9] such as deep learning and support vector machine (SVM). Since the concept of deep learning was put forward, it has attracted the attention of many scholars [10–12]. Peng et al. proposed a novel Deep Convolutional Neural Network (DCNN) tailored for gas classification [13]. Wei et al. also proposed a new improved LeNet-5 gas identification convolutional neural network structure for electronic noses [14]. Because support vector machine (SVM) has good generalization properties and robustness against the curse of dimensionality [15], SVM has been widely applied to gas identification [16–18]. Vergara et al. used Inhibitory Support Vector Machine (ISVM) to detect and identify odor under complex environmental conditions [17]. Sakumura et al. also used SVM to detect respiratory samples, and achieved high detection accuracy [18]. _Sensors_ 2019, _19_ [, 2173; doi:10.3390/s19092173](http://dx.doi.org/10.3390/s19092173) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors) _Sensors_ 2019, _19_, 2173 2 of 11 Other explored classification methods are artificial neural network [19], decision tree [20], and Bayesian Networks [21], etc. For example, Aleixandre used probabilistic neural network (PNN) and multilayer perceptrons (MLP) to discriminate four different pollutant gases [22]. Cho et al. used classification and regression tree to identify acetone, nitrobenzene, octane, and nitrotoluene, and obtained 94% classification accuracy [23]. Sparse representation classification (SRC) is proved to be robust to outliers, noise, and even incomplete measurements [24–26], and some scholars have successfully used SRC to solve the problem of gas classification, such as, Guo et al. [27] who used sparse representation-based classification to identify breath samples. However, SRC is time consuming, which limits its application. The contribution of this paper is to propose a novel sparse representation classification method, namly SRC based on Method of Optimal Directions (SRC_MOD), to improve the classification performance of electronic nose. In order to improve the learning speed, the training set is divided into some subsets according to the label of samples, and the optimal solution of synthesis dictionary submatrix and coefficient submatrix are solved by MOD. Moreover, the testing phase is separated from the training phase. The structure of the article is as follows: Section 2 describes briefly introduces the experimental setup and data collection. Section 3 analyzes the proposed SRC_MOD method. Section 4 discusses comparison results with other classifiers. Section 5 presents the conclusions. 2. Experimental Set-Up and Data Collection _2.1._ _The Measurement Circuit_ The selectivity and sensitivity of the metal oxide gas sensors can be improved by optimizing the operation temperature of the sensors [28,29]. Martinelli designed a self-adapted temperature modulation circuit and achieved high detection accuracy. This method implements the concept of self-adapted temperature modulation, and it is based on the evidence that the sensitivity to the gas of the sensor resistance depends on the operating temperature, and, conversely, the sensitivity to the temperature depends on the gas [28]. In this paper, we proposed an improved self-adapted temperature modulated measurement circuit to improve the performance of the electronic nose. The measurement circuit is shown in Figure 1. It mainly contains a multivibrator circuit, three gas sensors and a comparator _C_ 1. The resistances of sensor 1 and sensor 2 are part of the multivibrator circuit. _VREFL_ and _VREFH_ represent low and high reference voltage of heating voltage, respectively. In this paper, _VREFL_ = 2 V and _VREFH_ = 5 V. .001μ _F_ Figure 1. The measurement circuit. Sensor 1 is TGS2610, sensor 2 is TGS2610, and sensor 3 is TGS2620. _VREFL_ and _VREFH_ represent low and high reference voltage of heating voltage, respectively. _Sensors_ 2019, _19_, 2173 3 of 11 We can see from Figure 1 that if the output voltage _VO_ 3 of the 555 timer is low ( _VO_ 3 ≈ 0 V), _VO_ 3 < _VREFL_, the output voltage of comparator _C_ 1 is low, and the transistor _T_ 1 will be cut off. When this happens, the heating voltage across sensor 3 or the three sensors? will be close to _VREFL_ . On the other hand, if the output voltage _VO_ 3 is high ( _VO_ 3 ≈ _VCC_ ), _VO_ 3 - _VREFL_, the output voltage of comparator _C_ 1 is high, the transistor _T_ 1 will be turned on. When this occurs, the heating voltage across sensor 3 or the three sensors? will be close to _VREFH_ . _VO_ 3 is a square wave signal whose period depends on the capacitor _C_ and the sensor resistances of sensor 1 and sensor 2. The charging time of capacitor _C_ is given by: _T_ 1 = ( _RA_ + _RB_ ) _C_ ln <sup>_<u>VCC</u>_</sup> <sup>−</sup> <sup>_<u>VT</u>_</sup> <sup>−</sup> _VCC_ - _VT_ + where, _VT_ + = 3 <sup><u>2</u></sup> <sup>_VCC_</sup> <sup>,</sup> <sup>_VT_</sup> <sup>−</sup> <sup>=</sup> <sup><u>1</u></sup> 3 <sup>_VCC_</sup> <sup>.</sup> And the discharge time of the capacitor _C_ is given by: (1) _T_ 2 = _RBC_ ln <sup><u>0 −</u></sup> <sup>_<u>VT</u>_</sup> <sup><u>+</u></sup> (2) 0 − _VT_ hence, the period of square wave signal is: _T_ = _T_ 1 + _T_ 2 = ( _RA_ + 2 _RB_ ) _C_ ln 2 (3) and the duty cycle of the square wave signal _V_ O3 is: _~~<u>RA</u>~~_ _q_ = _RA_ + _RB_ The output voltage of the third sensor 3 is given by: (4) _<u>R</u>_ _~~<u>L</u>~~_ _VO_ = _RS_ 3 + _RL_ _VCC_ (5) where, _RS_ 3 is the sensor resistor of the third TGS2620 sensor. _2.2._ _The Experimental Set-Up_ Figure 2 shows the experimental set-up. The testing system uses two computer-controlled, digital mass flow controllers (MFCs). The testing gas at the desired concentration is conveyed to a 300 mL volume testing chamber by MFCs with highly reproducibility and higher accuracy. We keep the total flow constant for each test. In this paper, the total flow rate is set to 500 sccm. Figure 2. The experimental set-up. _Sensors_ 2019, _19_, 2173 4 of 11 The above-mentioned measurement circuit that contains three gas sensors (TGS2610, TGS2610, and TGS2620, Figaro, Inc. Japan) is placed into the testing chamber. In order to collect all experimental samples, a LabVIEW environment program running on a PC platform, and the sample frequency is set to 1 Hz. The measurement procedure is as follows: (1) Clean testing chamber with dry air for 50 s. (2) The testing gas at the desired concentration is conveyed to the testing chamber by MFCs for 100 s. (3) Clean the testing chamber with dry air for 100 s. When the three sensors return to baseline steady-state response, repeat step 1 to 3 for the next test until all the experiments are completed. _2.3._ _Data Collection_ Four chemical analytes with different concentrations are tested by the electronic nose system. As shown in Table 1, the tested gases are hydrogen, methane, carbon monoxide, and benzene. Each test is repeated 20 times, and finally 400 samples are collected. <u>Table 1.</u> <u>Dataset in detail.</u> Label Analyte Concentration (ppm) Number 1 hydrogen 1000, 2000, 3000, 4000, 5000 100 2 methane 1000, 2000, 3000, 4000, 5000 100 3 carbon monoxide 100, 200, 300, 400, 500 100 4 benzene 10, 15, 20, 25, 30 100 ~~Total~~ ~~40~~ 0 Figure 3 shows the heating voltage of 30 ppm benzene and the output voltages of four analytes. We can see from Figure 3a, the frequency of heating waveform in the middle is higher than that on both sides. The reason for this phenomenon is related to the change of resistances of sensor 1 and sensor 2. The reducing gas is injected into the testing chamber from the time of 51 to 150 s, which leads to the decrease of sensor resistances and the increase of waveform frequency. In this paper, setting _C_ = 100 µF, the periods _T_ of the heating voltage range from 2 to 25 s and the frequencies range from 40 to 500 mHz. 5 4.6 4.2 3.8 3.4 3 2.6 2.2 1.8 1.4 hydrogen methane carbon monoxide benzene (a) 4.5 4 3.5 3 2.5 2 1.5 1 0.5 (b) 1 0 50 100 150 200 250 Time (s) 0 0 50 100 150 200 250 Time (s) ( a ) ( b ) Figure 3. ( a ) The heating voltage of 30 ppm benzene; ( b ) The output voltages of 3000 ppm hydrogen, 3000 ppm methane, 300 ppm carbon monoxide, and 30 ppm benzene. In this paper, 40 samples are choosed as a testing set, and the other samples for training and validation. In order to improve robustness of the algorithm, the classifiers use 10-fold cross-validation _Sensors_ 2019, _19_, 2173 5 of 11 method. 360 samples are randomly divided into 10 subsets with equal size. A single subset is retained as the validation set, and the remaining nine subsets are used as training set. Hence, the number of validation samples is 36 and the number of training samples is 324. The program runs 10 times, with each of the 10 subsets used exactly once as the validation set. The prediction model with the highest recognition rate is used as the final model to identify the testing gas. 3. The Proposed SRC_MOD Algorithm for Gas Identification Suppose _VO_ ∈ _R_ <sup>250×1</sup> denotes a sensor signal that is a time-based variable and in total has 250 points. Firstly, the sensor siganl is removed additive noise or drift by _x_ = _VO_ - _Vre f_, where, _Vre f_ is baseline steady-state output voltage in dry air. Then, the sensor sample _x_ is normalized by _x_ = ( _x_ - min( _x_ ))/(max( _x_ ) − min( _x_ )), where, min() and max() denote the sample minimum and maximum value. The normalized training sample dataset is represented by a matrix _X_ = [ _X_ 1, _X_ 2, · · ·, _Xn_ ] ∈ _R_ <sup>250×324</sup>, where, _Xi_, _i_ = 1, 2, · · ·, _n_, is a submatrix of training sample corresponding to class _i_ and each column is a sensor sample, _n_ is total number of categories. The _i_ th class training samples _Xi_ is approximated as a linear combination of some few of the dictionary atoms. The approximation _Xi_ <sup>∗</sup> <sup>can be written as:</sup> _Xi_ <sup>∗</sup> <sup>=</sup> <sup>_DiWi_</sup> _s_ . _t_ . min∥ _Wi_ ∥0 (6) where, ∥· ∥0 is _l_ 0-norm, _Wi_ is the coefficients of the _i_ th class training samples and most of the entries in _Wi_ are zero, _Di_ is a synthesis dictionary corresponding to class _i_ . Equation (6) describes each given sensor signal as the sparsest representation _Wi_ over the synthesis dictionary _Di_, and aims to jointly find the proper representations and the dictionary. If a solution has been found such that every representation has fewer non-zero entries, a candidate feasible model has been found. In this paper, the synthesis dictionary _Di_ is initialized as a random matrix with the size of 250 × 250. Equation (6) can be formulated as an optimization problem with respect to _Wi_ and _Di_ . With γ, we may put it as: { _Di_, _Wi_ } = argmin _Di_, _Wi_ (∥ _Xi_ - _DiWi_ ∥ <sup>2</sup> 2 <sup>+ γ∥</sup> <sup>_Wi_</sup> <sup>∥0)</sup> (7) As γ increases, the solution is getting more dense. Solutions of Equation (7) can be found by the Method of Optimal Directions (MOD). MOD is a dictionary learning algorithm [30]. It’s aim is to find both a dictionary _Di_ and a corresponding coefficient matrix _Wi_ such that the representation error _R_ = _Xi_ - _DiWi_ is minimized and _Wi_ fulfill some sparseness criterion. The procedures of obtaining the optimal solution of _Di_ and _Wi_ are summarized in Algorithm 1. Algorithm 1. Obtain the optimal solution of _Di_ and _Wi_ Input: The _i_ -th class training samples _Xi_, maximum error ε, _k_ = 1. 1. Initialize dictionary _D_ <sup>(0)</sup> and _W_ <sup>(0)</sup> with two random matrices. _i_ _i_ 2. _while_ ( _error_ - ε) ( _W_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ( _W_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _i_ _i_ −1 update _D_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> _i_ update _W_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> _i_ _i_ _Wi_ <sup>(∥</sup> <sup>_Xi_</sup> <sup>−</sup> <sup>_D_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _i_ <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> = _Xi_ ( _Wi_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> <sup>_k_</sup> <sup>+1)</sup> = argmin _i_ _Wi_ _W_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _i_ _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ) _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ∥ _i_ _T_ _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ) _T_ ) 2 2 <sup>) by pursuit algorithm [31];</sup> ; _error_ = ∥ _Xi_ - _Di_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _Wi_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ∥ _i_ 2 _error_ = ∥ _Xi_ - _Di_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> _Wi_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> ∥ _F_ <sup>;</sup> _k_ ← _k_ + 1; _end while_ Output: The _i_ -th class synthesis dictionary _Di_ and coefficient matrix _Wi_ . For ∀ _i_, the training samples _X_ can be projected onto a coding coefficient space via _PiX_, where _Pi_ is an analysis dictionary corresponding to class _i_ . The coding coefficient matrix _Wi_ is given by: _Sensors_ 2019, _19_, 2173 6 of 11 _Wi_ = _PiXi_ (8) where, _Pi_ is a full-rank matrix. If most of large coefficients generated by _PiX_ are concentrated in _Wi_, while the coding coefficients of the other class training samples over _Pi_ is as small as possible, the discrimination power of _Pi_ can be promoted. Hence, we may improve the discrimination power of _Pi_ 2 by min ∥ _PiXi_ ∥ _F_ <sup>, where,</sup> <sup>_X_</sup> _i_ <sup>is the complementary data matrix of</sup> <sup>_X_</sup> _i_ <sup>in the whole training set</sup> <sup>_X_</sup> <sup>and ∥· ∥</sup> _F_ is the Hilbert-Schmidt norm or the Frobenius norm. We evaluate the error using a Frobenius norm. The _i_ -th class analysis dictionary _Pi_ can be approximated by 2 _F_ <sup>+ β∥</sup> <sup>_P_</sup> _i_ <sup>∥2</sup> _F_ <sup>2</sup> _F_ <sup>)</sup> (9) _Pi_ = argmin( _Pi_ ∥ _Wi_ - _PiXi_ ∥ <sup>2</sup> _F_ <sup>2</sup> _F_ <sup>+ α∥</sup> <sup>_PiXi_</sup> <sup>∥</sup> where, the first term minimizes the error of the _i_ th class coding coefficients, the second term is used to improve the recognition performance of the analysis dictionary _Pi_, and α is a scalar constant. The third term is to avoid a high risk of overfitting to training samples, and β is a regularization parameter. We then solve for _Pi_ by least-squares. Differentiating Formula (9) with respect to _Pi_, such a differentiation results in: ∂∂ _Pi_ <sup>(∥</sup> <sup>_Wi_</sup> <sup>−</sup> <sup>_PiXi_</sup> <sup>∥</sup> _F_ <sup>2</sup> 2 _F_ <sup>+ β∥</sup> <sup>_P_</sup> _i_ <sup>∥2</sup> _F_ _F_ <sup>2</sup> <sup>+ α∥</sup> <sup>_PiXi_</sup> <sup>∥</sup> <sup>2</sup> _F_ <sup>)</sup> (10) (11) = 2( _PiXi_ - _Wi_ ) _Xi_ <sup>_T_</sup> <sup>+ 2α</sup> <sup>_PiXiX_</sup> _~~T~~_ _i_ <sup>+ 2β</sup> <sup>_P_</sup> _i_ Setting Equation (10) equal to zero gives the optimum _Pi_ as: _Pi_ = ( _WiXi_ <sup>_T_</sup> _i_ <sup>_T_</sup> <sup>)(</sup> <sup>_XiX_</sup> _i_ <sup>_T_</sup> _i_ <sup>_T_</sup> <sup>+ α</sup> <sup>_XiX_</sup> _~~T~~_ −1 _i_ <sup>+ β</sup> <sup>_I_</sup> <sup>)</sup> Since _Wi_ = _PiXi_, Equation (6) can also be given by _Xi_ <sup>∗</sup> <sup>=</sup> <sup>_DiPiXi_</sup> (12) Define Φ _i_ = _DiPi_ as a projection matrix, and the approximation _Xi_ <sup>∗</sup> <sup>is then rewritten as</sup> _Xi_ <sup>∗</sup> <sup>=</sup> <sup>Φ</sup> <sup>_iXi_</sup> (13) Using Equation (13), an arbitrary testing sample _xtest_ can be reconstructed as: _x_ <sup>∗</sup> _i_ <sup>=</sup> <sup>Φ</sup> <sup>_ixtest_</sup> (14) We obtain _n_ approximations _x_ <sup>∗</sup> 1 <sup>∗</sup> 1 <sup>,</sup> <sup>_x_</sup> 2 <sup>∗</sup> <sup>, · · ·</sup> <sup>,</sup> <sup>_x_</sup> _n_ <sup>∗</sup> <sup>, and calculate the residual between</sup> <sup>_xtest_</sup> <sup>and</sup> <sup>_x_</sup> <sup>∗</sup> _i_ <sup>∗</sup> _i_ <sup>by</sup> _i_ <sup>∥</sup> <sup>_x_</sup> _i_ <sup>∗</sup> _Label_ ( _xtest_ ) = argmin _i_ _i_ <sup>∗</sup> <sup>−</sup> <sup>_xtest_</sup> <sup>∥2</sup> 2 <sup>2</sup> 2 (15) where, ∥· ∥2 is _l_ 2-norm. The label corresponding to the minimum residual is the class of the testing sample. Figure 4 shows the original testing sample _xtest_ and four reconstrcted samples _x_ <sup>∗</sup> _i_ <sup>, (</sup> <sup>_i_</sup> <sup>= 1, 2, 3, 4).</sup> <sup>_x_</sup> <sup>∗</sup> _i_ <sup>is</sup> obtained by Formula (14). From Figure 4, we can see that _x_ <sup>∗</sup> 2 <sup>is closest to the original testing sample</sup> <sup>_xtest_</sup> Figure 4 shows the original testing sample _xtest_ and four reconstrcted samples _x_ <sup>∗</sup> _i_ <sup>∗</sup> _i_ <sup>, (</sup> <sup>_i_</sup> <sup>= 1, 2, 3, 4).</sup> <sup>_x_</sup> <sup>∗</sup> _i_ obtained by Formula (14). From Figure 4, we can see that _x_ <sup>∗</sup> 2 <sup>is closest to the original testing sample</sup> <sup>_xtest_</sup> The residuals between _xtest_ and _x_ <sup>∗</sup> _i_ <sup>, (</sup> <sup>_i_</sup> <sup>= 1, 2, 3, 4) are represented in Figure 5.</sup> <sup>From Figure 5, we can see</sup> The residuals between _xtest_ and _x_ <sup>∗</sup> _i_ <sup>, (</sup> <sup>_i_</sup> <sup>= 1, 2, 3, 4) are represented in Figure 5.</sup> <sup>From Figure 5, we can see</sup> that the second residual is the smallest. Hence, the testing sample _xtest_ is the 2nd class, namely methane. _Sensors_ 2019, _<u>19</u>_ <u>, 2173</u> 7 of 11 2 1.5 1 0.5 0 -0.5 x <sup>*</sup> <u>2</u> xtest (a) x <sup>*</sup> <u>1</u> xtest 2 1.5 1 0.5 0 -0.5 (b) -1 0 50 100 150 ~~200~~ 250 Time (s) 2 2 1.5 1 0.5 0 -0.5 -1 0 50 100 150 ~~200~~ 250 Time (s) (d) x <sup>*</sup> <u>4</u> xtest (c) x <sup>*</sup> <u>3</u> xtest 1.5 1 0.5 0 -0.5 -1 0 50 100 150 200 250 Time (s) -1 0 50 100 150 200 250 Time (s) Figure 4. The original testing sample and four reconstrcted samples for 1000 ppm methane ( a ) The original testing sample _xtest_ and the 1th class reconstrcted sample _x_ <sup>∗</sup> 1 <sup>; (</sup> <sup>b</sup> <sup>) The original testing sample</sup> original testing sample _xtest_ and the 1th class reconstrcted sample _x_ <sup>∗</sup> 1 <sup>; (</sup> <sup>b</sup> <sup>) The original testing sample</sup> _xtest_ and the 2th class reconstrcted sample _x_ <sup>∗</sup> 2 <sup>;</sup> <sup>(</sup> <sup>c</sup> <sup>)</sup> <sup>The</sup> <sup>original</sup> <sup>testing</sup> <sup>sample</sup> <sup>_xtest_</sup> <sup>and</sup> <sup>the</sup> <sup>3th</sup> <sup>class</sup> _xtest_ and the 2th class reconstrcted sample _x_ <sup>∗</sup> 2 <sup>;</sup> <sup>(</sup> <sup>c</sup> <sup>)</sup> <sup>The</sup> <sup>original</sup> <sup>testing</sup> <sup>sample</sup> <sup>_xtest_</sup> <sup>and</sup> <sup>the</sup> <sup>3th</sup> <sup>class</sup> reconstrcted sample _x_ <sup>∗</sup> 3 <sup>; (</sup> <sup>d</sup> <sup>) The original testing sample</sup> <sup>_xtest_</sup> <sup>and the 4th class reconstrcted sample</sup> <sup>_x_</sup> <sup>∗</sup> 4 <sup>.</sup> <sup>∗</sup> 3 <sup>; (</sup> <sup>d</sup> <sup>) The original testing sample</sup> <sup>_xtest_</sup> <sup>and the 4th class reconstrcted sample</sup> <sup>_x_</sup> <sup>∗</sup> 4 <sup>.</sup> 200 180 160 140 120 100 80 60 40 20 0 1 2 3 4 Class index Figure 5. Residuals b ~~etween the~~ ~~<mark>original s</mark>~~ ~~ample and reconstruc~~ ted samples. The proposed SRC_MOD algorithm is summarized in Algorithm 2. Algorithm 2. The proposed SRC_MOD algorithm Input: The training samples for _n_ classes, testing samples. 1. _for i_ = _1_ : _n_ obtain _Di_ and _Wi_ by Algorithm 1; obtain _Pi_ by Equation (11); _end for_ 2. Φ _i_ = _DiPi_ 3. Reconstructing the testing sample by Equation (14) 4. To identify the testing sample by Equation (15) Output: The label of the testing sample. _Sensors_ 2019, _19_, 2173 8 of 11 4. Comparisons with Other Classifiers In order to evaluate the performance of the proposed algorithm, we compare it with other algorithms, such as SRC (used in [27]), the dictionary learning (DL) classifier (proposed in [32]), deep learning (used in [14]) and BP artificial neural network. All experiments in this paper run on a dual-core processor with a CPU main frequency of 2.4 GHz. Python is applied for deep learning and MATLAB for the other algorithms. Accuracy and processing time are the average values of all testing samples. For SRC, the algorithm is the same as that in [27]. At first, the testing sample is approximated as a linear combination of all training samples _xtest_ = _WXtrain_ (16) where, _W_ is a sparse coefficient vector, _Xtrain_ is a matrix of all training samples. The sparsest solution of Equation (16) is defined as the following an _l_ 1-minimization problem: _W_ = argmin (17) _W_ <sup>(∥</sup> <sup>_WXtrain_</sup> <sup>−</sup> <sup>_xtest_</sup> <sup>∥2 + λ∥</sup> <sup>_W_</sup> <sup>∥1)</sup> where, ∥· ∥1 is _l_ 1-norm, λ is the regularization parameter. The solution to the _l_ 1-minimization problem can also be obtained by using the MATLAB package provided by Reference [33]. Keep the _i_ th class coefficients and set the other coefficients equal to zero. We have _Wi_ <sup>∗</sup> <sup>= {0, 0,</sup> <sup>_Wi_</sup> <sup>, · · ·</sup> <sup>, 0}</sup> (18) Reconstruct the testing sample by _x_ <sup>∗</sup> _i_ <sup>∗</sup> _i_ <sup>=</sup> <sup>_W_</sup> _i_ <sup>∗</sup> Reconstruct the testing sample by _x_ <sup>∗</sup> _i_ <sup>=</sup> <sup>_W_</sup> _i_ <sup>∗</sup> <sup>_Xtrain_</sup> <sup>, (</sup> <sup>_i_</sup> <sup>= 1, 2, 3, 4) and use Equation (15) to obtain</sup> the class of the testing sample. For DL classifier, the _i_ -th class analysis dictionary, coding coefficients, and synthesis dictionary are trained together to generate the prediction model. It is a simple and effective dictionary learning algorithm. This is our previous work and more details of the algorithm are shown in [32]. For deep learning, as shown in Figure 6, a LeNet-5 convolutional neural network structure is built. C1 and C3 are convolutional layers with kernel size of 3 × 3 and 2 × 2, respectively. C1 computes 20 filters over its input. The first convolutional layer C1 takes a matrix with size of 25 × 10 × 1 and outputs a matrix with size of 25 × 10 × 20. Pooling layer P2 and P4 are all done with 2 × 2 windows. Max pooling consists of extracting windows from the input features and outputting the max value of each channel. Before the first max-pooling layer P2, the feature map is 25 × 10, but the pooling operation halves it to 12 × 5. The numbers of fully connected layer F5 and F6 are 120 and 84, respectively. Finally, the label of gas sample is obtained. This is also our previous work and more details are shown in [14]. Figure 6. The LeNet-5 structure. _Sensors_ 2019, _19_, 2173 9 of 11 For the BP artificial neural network, the structure of the BP network is set to 250-501-4. The transfer function ‘tansig’ is applied for hidden layer, and ‘purelin’ for output layer. The experimental results of the proposed SRC_MOD method are shown in Table 2. From Table 2, we can see that the average accuracy of SRC_MOD is about 98.44%, the average training time is nearly 0.2061 s and the average testing time is nearly 3.1 ms. SRC_MOD classifier obtains high accuracy in short testing time. Hence, the performance of the SRC_MOD classifier is perfect. Table 2. Performance comparison with other algorithms. Algorithm Accuracy (%) Training Time (s) Testing Time (ms) SRC_MOD 98.44 0.2061 3.1 SRC 98.52 no need 1987.9 DL 96.88 0.8061 6.5 Deep learning 91.87 12.84 23.5 BP 84.51 6.399 12.7 The experimental results of other classifiers are also shown in Table 2. The average accuracy of SRC is about 98.52% and the average testing time is nearly 1987.9 ms. The testing time is 641 times longer than that of SRC_MOD. The main reason is that training and testing of SRC are conducted simultaneously, solving _l_ 1-minimization problem is time consuming, repeatedly training for each test leads to longer processing time. The average accuracy of DL classifier is about 96.88% and the testing time is nearly 6.5 ms. We find that SRC_MOD method is superior to the DL classifier in both recognition accuracy and testing time. Since alternating direction method of multipliers(ADMM) is more complex than MOD when obtaining the optimal solution of _Di_ . The average accuracy of deep learning is about 91.87%, the average training time is nearly 12.84 s and testing time is nearly 23.5 ms. The performance of deep learning significantly worse than SRC_MOD method. The main reason is that deep learning is more suitable for large training sets. In this experiment, the size of training samples is too small to show its advantage. For BP artificial neural network, the performance significantly worse than the other classifiers. In a word, comparison results show that the proposed SRC_MOD method is quite efficient and computationally inexpensive to obtain excellent identification for the target gases. 5. Conclusions This paper presents a SRC_MOD gas recognition algorithm. First the _i_ -th class training samples are approximated as a linear combination of the synthesis dictionary atoms. Next, MOD is applied to solve the optimal solution of the synthesis dictionary and coefficient vector. Finally, we obtain the analysis dictionary and establish the prediction model. Compared with other classical classifiers (such as SRC, dictionary learning classifier, deep learning and BP artificial neural network), the experimental results show that SRC_MOD has better performance, not only in recognition rate but also in testing speed. Author Contributions: Conceptualization, A.H. and Z.T. Funding acquisition, A.H.; G.W.; M.L. and Z.T. Investigation, M.L. and Z.L. Methodology, A.H. Project administration, Z.T. Writing—original draft, A.H. Writing—review & editing, G.W. and J.Y. Funding: This research was funded in part by the Natural Science Foundation of China (No. 61131004, 61174007), in part by a Project of Shandong Province Higher Educational Science and Technology Program (No. J18KA325), in part by the PhD Start-up Fund of Shandong Technology and Business University (No. BS201810, BS201811), and in part by Key Research and Development Projects of Yantai (No. 2018XSCC033). Conflicts of Interest: The authors declare no conflict of interest. _Sensors_ 2019, _19_, 2173 10 of 11 References 1. Persaud, K.; Dodd, G. Analysis of discrimination mechanisms in the mammalian olfactory system using a model nose. _Nature_ 1982, _299_, 352. [[CrossRef]](http://dx.doi.org/10.1038/299352a0) 2. Hierlemann, A.; Gutierrez-Osuna, R. Higher-order chemical sensing. _Chem._ _Rev._ 2008, _108_, 563–613. [[CrossRef]](http://dx.doi.org/10.1021/cr068116m) 3. Marco, S.; Gutierrez-Galvez, A. Signal and data processing for machine olfaction and chemical sensing: A review. _IEEE Sens._ _J._ 2012, _12_, 3189–3214. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2012.2192920) 4. Pardo, M.; Sberveglieri, G. Comparing the performance of different features in sensor arrays. _Sens._ _Actuators_ _B Chem._ 2007, _123_, 437–443. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2006.09.041) 5. Boeker, P. On ‘electronic nose’methodology. _Sens._ _Actuators B Chem._ 2014, _204_, 2–17. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2014.07.087) 6. Alizadeh, T. Chemiresistor sensors array optimization by using the method of coupled statistical techniques and its application as an electronic nose for some organic vapors recognition. _Sens._ _Actuators B Chem._ 2010, _143_, 740–749. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2009.10.018) 7. Llobet, E.; Brezmes, J.; Gualdron, O.; Vilanova, X.; Correig, X. Building parsimonious fuzzy ARTMAP models by variable selection with a cascaded genetic algorithm: Application to multisensor systems for gas analysis. _Sens._ _Actuators B Chem._ 2004, _99_, 267–272. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2003.11.019) 8. Gualdrón, O.; Brezmes, J.; Llobet, E.; Amari, A.; Vilanova, X.; Bouchikhi, B.; Correig, X. Variable selection for support vector machine based multisensor systems. _Sens._ _Actuators B Chem._ 2007, _122_, 259–268. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2006.05.029) 9. Yang, Y.S.; Ha, S.-C.; Kim, Y.S. A matched-profile method for simple and robust vapor recognition in electronic nose (E-nose) system. _Sens._ _Actuators B Chem._ 2005, _106_, 263–270. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2004.08.008) 10. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. _Nature_ 2015, _521_, 436. [[CrossRef]](http://dx.doi.org/10.1038/nature14539) 11. Schmidhuber, J. Deep learning in neural networks: An overview. _Neural Netw._ 2015, _61_, 85–117. [[CrossRef]](http://dx.doi.org/10.1016/j.neunet.2014.09.003) 12. Erhan, D.; Bengio, Y.; Courville, A.; Manzagol, P.A.; Vincent, P.; Bengio, S. Why does unsupervised pre-training help deep learning? _J. Mach._ _Learn._ _Res._ 2010, _11_, 625–660. 13. Peng, P.; Xiaojin, Z.; Xiaofang, P. Gas Classification Using Deep Convolutional Neural Networks. _Sensors_ 2018, _18_, 157. [[CrossRef]](http://dx.doi.org/10.3390/s18010157) 14. Wei, G.; Li, G.; Zhao, J.; He, A. Development of a LeNet-5 Gas Identification CNN Structure for Electronic Noses. _Sensors_ 2019, _19_, 217. [[CrossRef]](http://dx.doi.org/10.3390/s19010217) 15. Cortes, C.; Vapnik, V. Support vector machine. _Mach._ _Learn._ 1995, _20_, 273–297. [[CrossRef]](http://dx.doi.org/10.1007/BF00994018) 16. Brudzewski, K.; Osowski, S.; Markiewicz, T. Classification of milk by means of an electronic nose and SVM neural network. _Sens._ _Actuators B Chem._ 2004, _98_, 291–298. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2003.10.028) 17. Vergara, A.; Fonollosa, J.; Mahiques, J.; Trincavelli, M.; Rulkov, N.; Huerta, R. On the performance of gas sensor arrays in open sampling systems using Inhibitory Support Vector Machines. _Sens._ _Actuators B Chem._ 2013, _185_, 462–477. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2013.05.027) 18. Sakumura, Y.; Koyama, Y.; Tokutake, H.; Hida, T.; Sato, K.; Itoh, T.; Akamatsu, T.; Shin, W.; Seitz, W.R. Diagnosis by volatile organic compounds in exhaled breath from lung cancer patients using support vector machine algorithm. _Sensors_ 2017, _17_, 287. [[CrossRef]](http://dx.doi.org/10.3390/s17020287) 19. Shahid, A.; Choi, J.-H.; Rana, A.U.H.S.; Kim, H.-S. Least Squares Neural Network-Based Wireless E-Nose System Using an SnO2 Sensor Array. _Sensors_ 2018, _18_, 1446. [[CrossRef]](http://dx.doi.org/10.3390/s18051446) 20. He, A.; Yu, J.; Wei, G.; Chen, Y.; Wu, H.; Tang, Z. Short-Time Fourier Transform and Decision Tree-Based Pattern Recognition for Gas Identification Using Temperature Modulated Microhotplate Gas Sensors. _J. Sens._ 2016, _2016_, 7603931. [[CrossRef]](http://dx.doi.org/10.1155/2016/7603931) 21. Li, C.; Heinemann, P.; Sherry, R. Neural network and Bayesian network fusion models to fuse electronic nose and surface acoustic wave sensor data for apple defect detection. _Sens._ _Actuators B Chem._ 2007, _125_, 301–310. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2007.02.027) 22. Aleixandre, M.; Sayago, I.; Horrillo, M.; Fernández, M.; Arés, L.; García, M.; Santos, J.; Gutierrez, J. Analysis of neural networks and analysis of feature selection with genetic algorithm to discriminate among pollutant gas. _Sens._ _Actuators B Chem._ 2004, _103_, 122–128. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2004.04.044) 23. Cho, J.; Li, X.; Gu, Z.; Kurup, P.U. Recognition of explosive precursors using nanowire sensor array and decision tree learning. _IEEE Sens._ _J._ 2012, _12_, 2384–2391. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2011.2182042) 24. Yang, M.; Zhang, L.; Feng, X.; Zhang, D. Sparse representation based fisher discrimination dictionary learning for image classification. _Int._ _J. Comput._ _Vis._ 2014, _109_, 209–232. [[CrossRef]](http://dx.doi.org/10.1007/s11263-014-0722-8) _Sensors_ 2019, _19_, 2173 11 of 11 25. Zheng, C.-H.; Zhang, L.; Ng, T.-Y.; Shiu, C.K.S.; Huang, D.-S. Metasample-based sparse representation for tumor classification. _IEEE_ / _ACM Trans._ _Comput._ _Biol._ _Bioinform._ 2011, _8_, 1273–1282. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TCBB.2011.20) 26. Zhang, L.; Yang, M.; Feng, X. Sparse representation or collaborative representation: Which helps face recognition? In Proceedings of the 2011 International Conference on Computer Vision, Barcelona, Spain, 6–13 November 2011; pp. 471–478. 27. Guo, D.; Zhang, D.; Zhang, L. Sparse representation-based classification for breath sample identification. _Sens._ _Actuators B Chem._ 2011, _158_, 43–53. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2011.05.010) 28. Martinelli, E.; Polese, D.; Catini, A.; D’Amico, A.; Di Natale, C. Self-adapted temperature modulation in metal-oxide semiconductor gas sensors. _Sens._ _Actuators B Chem._ 2012, _161_, 534–541. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2011.10.072) 29. Gosangi, R.; Gutierrez-Osuna, R. Active temperature programming for metal-oxide chemoresistors. _IEEE Sens. J._ 2010, _10_, 1075–1082. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2010.2042165) 30. Engan, K.; Aase, S.O.; Husøy, J.H. Multi-frame compression: Theory and design. _Signal Process._ 2000, _80_, 2121–2140. [[CrossRef]](http://dx.doi.org/10.1016/S0165-1684%0x2800%0x2900072-4) 31. Tropp, J.A.; Gilbert, A.C. Signal recovery from random measurements via orthogonal matching pursuit. _IEEE Trans._ _Inf._ _Theory_ 2007, _53_, 4655–4666. [[CrossRef]](http://dx.doi.org/10.1109/TIT.2007.909108) 32. He, A.; Wei, G.; Yu, J.; Tang, Z.; Lin, Z.; Wang, P. A novel dictionary learning method for gas identification with a gas sensor array. _IEEE Trans._ _Ind._ _Electron._ 2017, _64_, 9709–9715. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2017.2748034) 33. Koh, K.; Kim, S.; Boyd, S. _l_ 1 ls: A Matlab Solver for large-scale _l_ 1-Regularized Least Squares Problems. Available online: [https://web.stanford.edu/~{}boyd/l1_ls/l1_ls_usrguide.pdf (accessed on 9 May 2019).](https://web.stanford.edu/~{}boyd/l1_ls/l1_ls_usrguide.pdf) © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution [(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 74문단 · 24,711자

(제목 없음)

1A novel sparse representation classification method (SRC), namly SRC based on Method of Optimal Directions (SRC_MOD), is proposed for electronic nose system in this paper. By finding both a synthesis dictionary and a corresponding coefficient vector, the i-th class training samples are approximated as a linear combination of a few of the dictionary atoms. The optimal solutions of the synthesis dictionary and coefficient vector are found by MOD. Finally, testing samples are identified by evaluating which class causes the least reconstruction error. The proposed algorithm is evaluated on the analysis of hydrogen, methane, carbon monoxide, and benzene at self-adapted modulated operating temperature. Experimental results show that the proposed method is quite efficient and computationally inexpensive to obtain excellent identification for the target gases. Other explored classification methods are artificial neural network [19], decision tree [20], and Bayesian Networks [21], etc. For example, Aleixandre used probabilistic neural network (PNN) and multilayer perceptrons (MLP) to discriminate four different pollutant gases [22]. Cho et al. used classification and regression tree to identify acetone, nitrobenzene, octane, and nitrotoluene, and obtained 94% classification accuracy [23].Sparse representation classification (SRC) is proved to be robust to outliers, noise, and even incomplete measurements[24][25][26], and some scholars have successfully used SRC to solve the problem of gas classification, such as, Guo et al. [27] who used sparse representation-based classification to identify breath samples. However, SRC is time consuming, which limits its application.The contribution of this paper is to propose a novel sparse representation classification method, namly SRC based on Method of Optimal Directions (SRC_MOD), to improve the classification performance of electronic nose. In order to improve the learning speed, the training set is divided into some subsets according to the label of samples, and the optimal solution of synthesis dictionary submatrix and coefficient submatrix are solved by MOD. Moreover, the testing phase is separated from the training phase. The structure of the article is as follows: Section 2 describes briefly introduces the experimental setup and data collection. Section 3 analyzes the proposed SRC_MOD method. Section 4 discusses comparison results with other classifiers. Section 5 presents the conclusions.

Introduction

2Electronic noses are technical devices that contain a gas sensor array and pattern recognition system [1]. However, the pattern recognition of electronic noses, in many cases, is plagued with problems. It is quite usual to encounter drift, scattering due to concentration effects, highly correlated features, or non-Gaussian data distributions [2,3]. In addition, due to high calibration costs and complex experimental conditions, the number of training samples is limited. Hence, the performance of classifier is very important to electronic noses, as they can improve the robustness to the problems mentioned above.

3At present, there are many classification methods for gas sensor data [4][5][6][7][8][9] such as deep learning and support vector machine (SVM). Since the concept of deep learning was put forward, it has attracted the attention of many scholars [10][11][12]. Peng et al. proposed a novel Deep Convolutional Neural Network (DCNN) tailored for gas classification [13]. Wei et al. also proposed a new improved LeNet-5 gas identification convolutional neural network structure for electronic noses [14].

4Because support vector machine (SVM) has good generalization properties and robustness against the curse of dimensionality [15], SVM has been widely applied to gas identification [16][17][18]. Vergara et al. used Inhibitory Support Vector Machine (ISVM) to detect and identify odor under complex environmental conditions [17]. Sakumura et al. also used SVM to detect respiratory samples, and achieved high detection accuracy [18].

The Measurement Circuit

5The selectivity and sensitivity of the metal oxide gas sensors can be improved by optimizing the operation temperature of the sensors [28,29]. Martinelli designed a self-adapted temperature modulation circuit and achieved high detection accuracy. This method implements the concept of self-adapted temperature modulation, and it is based on the evidence that the sensitivity to the gas of the sensor resistance depends on the operating temperature, and, conversely, the sensitivity to the temperature depends on the gas [28].

6In this paper, we proposed an improved self-adapted temperature modulated measurement circuit to improve the performance of the electronic nose. The measurement circuit is shown in Figure 1. It mainly contains a multivibrator circuit, three gas sensors and a comparator C 1 . The resistances of sensor 1 and sensor 2 are part of the multivibrator circuit. V REFL and V REFH represent low and high reference voltage of heating voltage, respectively. In this paper, V REFL = 2 V and V REFH = 5 V. complex environmental conditions [17]. Sakumura et al. also used SVM to detect respiratory samples, and achieved high detection accuracy [18].

7Other explored classification methods are artificial neural network [19], decision tree [20], and Bayesian Networks [21], etc. For example, Aleixandre used probabilistic neural network (PNN) and multilayer perceptrons (MLP) to discriminate four different pollutant gases [22]. Cho et al. used classification and regression tree to identify acetone, nitrobenzene, octane, and nitrotoluene, and obtained 94% classification accuracy [23].

8Sparse representation classification (SRC) is proved to be robust to outliers, noise, and even incomplete measurements [24][25][26], and some scholars have successfully used SRC to solve the problem of gas classification, such as, Guo et al. [27] who used sparse representation-based classification to identify breath samples. However, SRC is time consuming, which limits its application.

9The contribution of this paper is to propose a novel sparse representation classification method, namly SRC based on Method of Optimal Directions (SRC_MOD), to improve the classification performance of electronic nose. In order to improve the learning speed, the training set is divided into some subsets according to the label of samples, and the optimal solution of synthesis dictionary submatrix and coefficient submatrix are solved by MOD. Moreover, the testing phase is separated from the training phase. The structure of the article is as follows: Section 2 describes briefly introduces the experimental setup and data collection. Section 3 analyzes the proposed SRC_MOD method. Section 4 discusses comparison results with other classifiers. Section 5 presents the conclusions.

10The selectivity and sensitivity of the metal oxide gas sensors can be improved by optimizing the operation temperature of the sensors [28,29]. Martinelli designed a self-adapted temperature modulation circuit and achieved high detection accuracy. This method implements the concept of self-adapted temperature modulation, and it is based on the evidence that the sensitivity to the gas of the sensor resistance depends on the operating temperature, and, conversely, the sensitivity to the temperature depends on the gas [28].

11In this paper, we proposed an improved self-adapted temperature modulated measurement circuit to improve the performance of the electronic nose. The measurement circuit is shown in Figure 1. It mainly contains a multivibrator circuit, three gas sensors and a comparator 1 C . The resistances of sensor 1 and sensor 2 are part of the multivibrator circuit. VREFL and VREFH represent low and high reference voltage of heating voltage, respectively. In this paper, VREFL = 2 V and VREFH = 5 V. We can see from Figure 1 that if the output voltage V O3 of the 555 timer is low (V O3 ≈ 0 V), V O3 < V REFL , the output voltage of comparator C 1 is low, and the transistor T 1 will be cut off. When this happens, the heating voltage across sensor 3 or the three sensors? will be close to V REFL . On the other hand, if the output voltage V O3 is high (V O3 ≈ V CC ), V O3 > V REFL , the output voltage of comparator C 1 is high, the transistor T 1 will be turned on. When this occurs, the heating voltage across sensor 3 or the three sensors? will be close to V REFH . V O3 is a square wave signal whose period depends on the capacitor C and the sensor resistances of sensor 1 and sensor 2. The charging time of capacitor C is given by:

12And the discharge time of the capacitor C is given by:

13hence, the period of square wave signal is:

14and the duty cycle of the square wave signal V O3 is:

15The output voltage of the third sensor 3 is given by:

16where, R S3 is the sensor resistor of the third TGS2620 sensor. Figure 2 shows the experimental set-up. The testing system uses two computer-controlled, digital mass flow controllers (MFCs). The testing gas at the desired concentration is conveyed to a 300 mL volume testing chamber by MFCs with highly reproducibility and higher accuracy. We keep the total flow constant for each test. In this paper, the total flow rate is set to 500 sccm. Figure 1. The measurement circuit. Sensor 1 is TGS2610, sensor 2 is TGS2610, and sensor 3 is TGS2620. VREFL and VREFH represent low and high reference voltage of heating voltage, respectively.

The Experimental Set-Up

17We can see from Figure 1 that if the output voltage

18, the output voltage of comparator 1 C is low, and the transistor 1 T will be cut off. When this happens, the heating voltage across sensor 3 or the three sensors? will be close to VREFL. On the other hand, if the output voltage

19, the output voltage of comparator 1 C is high, the transistor 1 T will be turned on. When this occurs, the heating voltage across sensor 3 or the three sensors? will be close to VREFH.

203 O V is a square wave signal whose period depends on the capacitor C and the sensor resistances of sensor 1 and sensor 2. The charging time of capacitor C is given by:

21And the discharge time of the capacitor C is given by:

22hence, the period of square wave signal is:

23and the duty cycle of the square wave signal VO3 is:

24The output voltage of the third sensor 3 is given by:

25where, RS3 is the sensor resistor of the third TGS2620 sensor. Figure 2 shows the experimental set-up. The testing system uses two computer-controlled, digital mass flow controllers (MFCs). The testing gas at the desired concentration is conveyed to a 300 mL volume testing chamber by MFCs with highly reproducibility and higher accuracy. We keep the total flow constant for each test. In this paper, the total flow rate is set to 500 sccm. The above-mentioned measurement circuit that contains three gas sensors (TGS2610, TGS2610, and TGS2620, Figaro, Inc. Japan) is placed into the testing chamber. In order to collect all experimental samples, a LabVIEW environment program running on a PC platform, and the sample frequency is set to 1 Hz.

26The measurement procedure is as follows:

27(1) Clean testing chamber with dry air for 50 s.

28(2) The testing gas at the desired concentration is conveyed to the testing chamber by MFCs for 100 s.

29(3) Clean the testing chamber with dry air for 100 s.

30When the three sensors return to baseline steady-state response, repeat step 1 to 3 for the next test until all the experiments are completed.

Data Collection

31Four chemical analytes with different concentrations are tested by the electronic nose system. As shown in Table 1, the tested gases are hydrogen, methane, carbon monoxide, and benzene. Each test is repeated 20 times, and finally 400 samples are collected. Figure 3 shows the heating voltage of 30 ppm benzene and the output voltages of four analytes. We can see from Figure 3a, the frequency of heating waveform in the middle is higher than that on both sides. The reason for this phenomenon is related to the change of resistances of sensor 1 and sensor 2. The reducing gas is injected into the testing chamber from the time of 51 to 150 s, which leads to the decrease of sensor resistances and the increase of waveform frequency. In this paper, setting C = 100 µF, the periods T of the heating voltage range from 2 to 25 s and the frequencies range from 40 to 500 mHz. The above-mentioned measurement circuit that contains three gas sensors (TGS2610, TGS2610, and TGS2620, Figaro, Inc. Japan) is placed into the testing chamber. In order to collect all experimental samples, a LabVIEW environment program running on a PC platform, and the sample frequency is set to 1 Hz.

32The measurement procedure is as follows:

33(1) Clean testing chamber with dry air for 50 s.

34(2) The testing gas at the desired concentration is conveyed to the testing chamber by MFCs for 100 s.

35(3) Clean the testing chamber with dry air for 100 s.

36When the three sensors return to baseline steady-state response, repeat step 1 to 3 for the next test until all the experiments are completed.

37Four chemical analytes with different concentrations are tested by the electronic nose system. As shown in Table 1, the tested gases are hydrogen, methane, carbon monoxide, and benzene. Each test is repeated 20 times, and finally 400 samples are collected. Figure 3 shows the heating voltage of 30 ppm benzene and the output voltages of four analytes. We can see from Figure 3a, the frequency of heating waveform in the middle is higher than that on both sides. The reason for this phenomenon is related to the change of resistances of sensor 1 and sensor 2. The reducing gas is injected into the testing chamber from the time of 51 to 150 s, which leads to the decrease of sensor resistances and the increase of waveform frequency. In this paper, setting C = 100 μF, the periods T of the heating voltage range from 2 to 25 s and the frequencies range from 40 to 500 mHz. method. 360 samples are randomly divided into 10 subsets with equal size. A single subset is retained as the validation set, and the remaining nine subsets are used as training set. Hence, the number of validation samples is 36 and the number of training samples is 324. The program runs 10 times, with each of the 10 subsets used exactly once as the validation set. The prediction model with the highest recognition rate is used as the final model to identify the testing gas.

The Proposed SRC_MOD Algorithm for Gas Identification

38Suppose V O ∈ R 250×1 denotes a sensor signal that is a time-based variable and in total has 250 points. Firstly, the sensor siganl is removed additive noise or drift by x = V O − V re f , where, V re f is baseline steady-state output voltage in dry air. Then, the sensor sample x is normalized by x = (x − min(x))/(max(x) − min(x)), where, min() and max() denote the sample minimum and maximum value.

39The normalized training sample dataset is represented by a matrix X = [X 1 , X 2 , · · · , X n ] ∈ R 250×324 , where, X i , i = 1, 2, · · · , n, is a submatrix of training sample corresponding to class i and each column is a sensor sample, n is total number of categories.

40The ith class training samples X i is approximated as a linear combination of some few of the dictionary atoms. The approximation X * i can be written as:

41where, · 0 is l 0 -norm, W i is the coefficients of the ith class training samples and most of the entries in W i are zero, D i is a synthesis dictionary corresponding to class i. Equation (6) describes each given sensor signal as the sparsest representation W i over the synthesis dictionary D i , and aims to jointly find the proper representations and the dictionary. If a solution has been found such that every representation has fewer non-zero entries, a candidate feasible model has been found. In this paper, the synthesis dictionary D i is initialized as a random matrix with the size of 250 × 250. Equation (6) can be formulated as an optimization problem with respect to W i and D i . With γ, we may put it as:

42As γ increases, the solution is getting more dense. Solutions of Equation (7) can be found by the Method of Optimal Directions (MOD). MOD is a dictionary learning algorithm [30]. It's aim is to find both a dictionary D i and a corresponding coefficient matrix W i such that the representation error R = X i − D i W i is minimized and W i fulfill some sparseness criterion. The procedures of obtaining the optimal solution of D i and W i are summarized in Algorithm 1.

Algorithm 1. Obtain the optimal solution of D i and W i

43Input: The i-th class training samples X i , maximum error ε, k = 1.

Initialize dictionary

442 ) by pursuit algorithm [31]; For ∀i, the training samples X can be projected onto a coding coefficient space via P i X, where P i is an analysis dictionary corresponding to class i. The coding coefficient matrix W i is given by:

45where, P i is a full-rank matrix. If most of large coefficients generated by P i X are concentrated in W i , while the coding coefficients of the other class training samples over P i is as small as possible, the discrimination power of P i can be promoted. Hence, we may improve the discrimination power of P i by min P i X i 2 F , where, X i is the complementary data matrix of X i in the whole training set X and · F is the Hilbert-Schmidt norm or the Frobenius norm.

46We evaluate the error using a Frobenius norm. The i-th class analysis dictionary P i can be approximated by

47where, the first term minimizes the error of the ith class coding coefficients, the second term is used to improve the recognition performance of the analysis dictionary P i , and α is a scalar constant. The third term is to avoid a high risk of overfitting to training samples, and β is a regularization parameter. We then solve for P i by least-squares. Differentiating Formula (9) with respect to P i , such a differentiation results in:

48Setting Equation (10) equal to zero gives the optimum P i as:

49Since W i = P i X i , Equation (6) can also be given by

50Define Φ i = D i P i as a projection matrix, and the approximation X * i is then rewritten as

51Using Equation (13), an arbitrary testing sample x test can be reconstructed as:

52We obtain n approximations x * 1 , x * 2 , · · · , x * n , and calculate the residual between x test and x * i by

53where, · 2 is l 2 -norm. The label corresponding to the minimum residual is the class of the testing sample. Figure 4 shows the original testing sample x test and four reconstrcted samples x * i , (i = 1, 2, 3, 4). x * i is obtained by Formula (14). From Figure 4, we can see that x * 2 is closest to the original testing sample x test The residuals between x test and x * i , (i = 1, 2, 3, 4) are represented in Figure 5. From Figure 5, we can see that the second residual is the smallest. Hence, the testing sample x test is the 2nd class, namely methane.

54x is obtained by Formula (14). From Figure 4, we can see that * 2

55x is closest to the original testing sample test Figure 5. From Figure 5, we can see that the second residual is the smallest. Hence, the testing sample test

56x is the 2nd class, namely methane. x .

57x is obtained by Formula (14). From Figure 4, we can see that 2

58x is closest to the original testing sample test Figure 5. From Figure 5, we can see that the second residual is the smallest. Hence, the testing sample test

59x is the 2nd class, namely methane. x . The proposed SRC_MOD algorithm is summarized in Algorithm 2.

Algorithm 2. The proposed SRC_MOD algorithm

60Input: The training samples for n classes, testing samples.

611. for i = 1:n obtain D i and W i by Algorithm 1; obtain P i by Equation (11); end for 2. Φ i = D i P i 3. Reconstructing the testing sample by Equation (14) 4. To identify the testing sample by Equation (15) Output: The label of the testing sample.

Comparisons with Other Classifiers

62In order to evaluate the performance of the proposed algorithm, we compare it with other algorithms, such as SRC (used in [27]), the dictionary learning (DL) classifier (proposed in [32]), deep learning (used in [14]) and BP artificial neural network. All experiments in this paper run on a dual-core processor with a CPU main frequency of 2.4 GHz. Python is applied for deep learning and MATLAB for the other algorithms. Accuracy and processing time are the average values of all testing samples.

63For SRC, the algorithm is the same as that in [27]. At first, the testing sample is approximated as a linear combination of all training samples

64where, W is a sparse coefficient vector, X train is a matrix of all training samples. The sparsest solution of Equation (16) is defined as the following an l 1 -minimization problem:

65where, · 1 is l 1 -norm, λ is the regularization parameter. The solution to the l 1 -minimization problem can also be obtained by using the MATLAB package provided by Reference [33]. Keep the ith class coefficients and set the other coefficients equal to zero. We have

66Reconstruct the testing sample by x * i = W * i X train , (i = 1, 2, 3, 4) and use Equation (15) to obtain the class of the testing sample.

67For DL classifier, the i-th class analysis dictionary, coding coefficients, and synthesis dictionary are trained together to generate the prediction model. It is a simple and effective dictionary learning algorithm. This is our previous work and more details of the algorithm are shown in [32].

68For deep learning, as shown in Figure 6, a LeNet-5 convolutional neural network structure is built. C1 and C3 are convolutional layers with kernel size of 3 × 3 and 2 × 2, respectively. C1 computes 20 filters over its input. The first convolutional layer C1 takes a matrix with size of 25 × 10 × 1 and outputs a matrix with size of 25 × 10 × 20. Pooling layer P2 and P4 are all done with 2 × 2 windows. Max pooling consists of extracting windows from the input features and outputting the max value of each channel. Before the first max-pooling layer P2, the feature map is 25 × 10, but the pooling operation halves it to 12 × 5. The numbers of fully connected layer F5 and F6 are 120 and 84, respectively. Finally, the label of gas sample is obtained. This is also our previous work and more details are shown in [14]. For the BP artificial neural network, the structure of the BP network is set to 250-501-4. The transfer function 'tansig' is applied for hidden layer, and 'purelin' for output layer.

69The experimental results of the proposed SRC_MOD method are shown in Table 2. From Table 2, we can see that the average accuracy of SRC_MOD is about 98.44%, the average training time is For the BP artificial neural network, the structure of the BP network is set to 250-501-4. The transfer function 'tansig' is applied for hidden layer, and 'purelin' for output layer.

70The experimental results of the proposed SRC_MOD method are shown in Table 2. From Table 2, we can see that the average accuracy of SRC_MOD is about 98.44%, the average training time is nearly 0.2061 s and the average testing time is nearly 3.1 ms. SRC_MOD classifier obtains high accuracy in short testing time. Hence, the performance of the SRC_MOD classifier is perfect. The experimental results of other classifiers are also shown in Table 2. The average accuracy of SRC is about 98.52% and the average testing time is nearly 1987.9 ms. The testing time is 641 times longer than that of SRC_MOD. The main reason is that training and testing of SRC are conducted simultaneously, solving l 1 -minimization problem is time consuming, repeatedly training for each test leads to longer processing time.

71The average accuracy of DL classifier is about 96.88% and the testing time is nearly 6.5 ms. We find that SRC_MOD method is superior to the DL classifier in both recognition accuracy and testing time. Since alternating direction method of multipliers(ADMM) is more complex than MOD when obtaining the optimal solution of D i .

72The average accuracy of deep learning is about 91.87%, the average training time is nearly 12.84 s and testing time is nearly 23.5 ms. The performance of deep learning significantly worse than SRC_MOD method. The main reason is that deep learning is more suitable for large training sets. In this experiment, the size of training samples is too small to show its advantage. For BP artificial neural network, the performance significantly worse than the other classifiers.

73In a word, comparison results show that the proposed SRC_MOD method is quite efficient and computationally inexpensive to obtain excellent identification for the target gases.

Conclusions

74This paper presents a SRC_MOD gas recognition algorithm. First the i-th class training samples are approximated as a linear combination of the synthesis dictionary atoms. Next, MOD is applied to solve the optimal solution of the synthesis dictionary and coefficient vector. Finally, we obtain the analysis dictionary and establish the prediction model. Compared with other classical classifiers (such as SRC, dictionary learning classifier, deep learning and BP artificial neural network), the experimental results show that SRC_MOD has better performance, not only in recognition rate but also in testing speed.

참고문헌 32건

  1. Comparing the performance of different features in sensor arrays Sensors and Actuators B Chemical · Elsevier BV · 2006 10.1016/j.snb.2006.09.041
  2. Sparse Representation Based Fisher Discrimination Dictionary Learning for Image Classification International Journal of Computer Vision · Springer Science+Business Media · 2014 10.1007/s11263-014-0722-8
  3. Variable selection for support vector machine based multisensor systems Sensors and Actuators B Chemical · Elsevier BV · 2006 10.1016/j.snb.2006.05.029
  4. Analysis of discrimination mechanisms in the mammalian olfactory system using a model nose Nature · Nature Portfolio · 1982 10.1038/299352a0
  5. Building parsimonious fuzzy ARTMAP models by variable selection with a cascaded genetic algorithm: application to multisensor systems for gas analysis Sensors and Actuators B Chemical · Elsevier BV · 2004 10.1016/j.snb.2003.11.019
  6. Multi-frame compression: theory and design Signal Processing · Elsevier BV · 2000 10.1016/s0165-1684(00)00072-4
  7. On ‘Electronic Nose’ methodology Sensors and Actuators B Chemical · Elsevier BV · 2014 10.1016/j.snb.2014.07.087
  8. Analysis of neural networks and analysis of feature selection with genetic algorithm to discriminate among pollutant gas Sensors and Actuators B Chemical · Elsevier BV · 2004 10.1016/j.snb.2004.04.044
  9. Signal and Data Processing for Machine Olfaction and Chemical Sensing: A Review IEEE Sensors Journal · IEEE Sensors Council · 2012 10.1109/jsen.2012.2192920
  10. Sparse representation-based classification for breath sample identification Sensors and Actuators B Chemical · Elsevier BV · 2011 10.1016/j.snb.2011.05.010
  11. Neural network and Bayesian network fusion models to fuse electronic nose and surface acoustic wave sensor data for apple defect detection Sensors and Actuators B Chemical · Elsevier BV · 2007 10.1016/j.snb.2007.02.027
  12. Classification of milk by means of an electronic nose and SVM neural network Sensors and Actuators B Chemical · Elsevier BV · 2003 10.1016/j.snb.2003.10.028
  13. A matched-profile method for simple and robust vapor recognition in electronic nose (E-nose) system Sensors and Actuators B Chemical · Elsevier BV · 2004 10.1016/j.snb.2004.08.008
  14. Self-adapted temperature modulation in metal-oxide semiconductor gas sensors Sensors and Actuators B Chemical · Elsevier BV · 2011 10.1016/j.snb.2011.10.072
  15. Deep learning in neural networks: An overview Neural Networks · Elsevier BV · 2014 10.1016/j.neunet.2014.09.003
  16. On the performance of gas sensor arrays in open sampling systems using Inhibitory Support Vector Machines Sensors and Actuators B Chemical · Elsevier BV · 2013 10.1016/j.snb.2013.05.027
  17. Chemiresistor sensors array optimization by using the method of coupled statistical techniques and its application as an electronic nose for some organic vapors recognition Sensors and Actuators B Chemical · Elsevier BV · 2009 10.1016/j.snb.2009.10.018
  18. Recognition of Explosive Precursors Using Nanowire Sensor Array and Decision Tree Learning IEEE Sensors Journal · IEEE Sensors Council · 2012 10.1109/jsen.2011.2182042
  19. Signal Recovery From Random Measurements Via Orthogonal Matching Pursuit IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 2007 10.1109/tit.2007.909108
  20. Sparse representation or collaborative representation: Which helps face recognition? 2011 10.1109/iccv.2011.6126277
  21. Higher-Order Chemical Sensing Chemical Reviews · American Chemical Society · 2008 10.1021/cr068116m
  22. Metasample-Based Sparse Representation for Tumor Classification IEEE/ACM Transactions on Computational Biology and Bioinformatics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tcbb.2011.20
  23. Why Does Unsupervised Pre-training Help Deep Learning? Journal of Machine Learning Research · The MIT Press · 2010
  24. Active Temperature Programming for Metal-Oxide Chemoresistors IEEE Sensors Journal · IEEE Sensors Council · 2010 10.1109/jsen.2010.2042165
  25. Short-Time Fourier Transform and Decision Tree-Based Pattern Recognition for Gas Identification Using Temperature Modulated Microhotplate Gas Sensors Journal of Sensors · Hindawi Publishing Corporation · 2016 10.1155/2016/7603931
  26. Diagnosis by Volatile Organic Compounds in Exhaled Breath from Lung Cancer Patients Using Support Vector Machine Algorithm Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17020287
  27. A Novel Dictionary Learning Method for Gas Identification With a Gas Sensor Array IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2748034
  28. Gas Classification Using Deep Convolutional Neural Networks Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18010157
  29. Least Squares Neural Network-Based Wireless E-Nose System Using an SnO2 Sensor Array Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18051446
  30. Development of a LeNet-5 Gas Identification CNN Structure for Electronic Noses Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19010217
  31. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  32. Support-vector networks Machine Learning · Springer Science+Business Media · 1995 10.1007/bf00994018