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

Design of an Electronic Nose System with Automatic End-Tidal Breath Gas Collection for Enhanced Breath Detection Performance

관련 필름·전자재료 · (18) VENT(방수통기 부품)

기본 정보

저자
  1. Dongfu Xu — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  2. Pu Liu — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  3. Xiangming Meng — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  4. Yizhou Chen — Neuroscience Institute, Carnegie Mellon University, Pittsburgh, PA 15213, USA
  5. Lei Du — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  6. Yan Zhang — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  7. Lixin Qiao — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  8. Wei Zhang — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  9. Jiale Kuang — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
  10. Jingjing Liu — College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China
DOI
10.3390/mi16040463
저널
Micromachines
발행년도
2025
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/mi16040463
토픽
Analytical Chemistry and Sensors
OpenAlex ID
W4409434277

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

End-tidal breath gases originate deep within the lungs, and their composition is an especially accurate reflection of the body’s metabolism and health status. Therefore, accurate collection of end-tidal breath gases is crucial to enhance electronic noses’ performance in breath detection. Regarding this issue, this study proposes a novel electronic nose system and employs a threshold control method based on exhaled gas flow characteristics to design a gas collection module. The module monitors real-time gas flow with a flow meter and integrates solenoid valves to regulate the gas path, enabling automatic collection of end-tidal breath gas. In this way, the design reduces dead space gas contamination and the impact of individual breathing pattern differences. The sensor array is designed to detect the collected gas, and the response chamber is optimized to improve the detection stability. At the same time, the control module realizes automation of the experiment process, including control of the gas path state, signal transmission, and data storage. Finally, the system is used for breath detection. We employ classical machine learning algorithms to classify breath samples from different health conditions with a classification accuracy of more than 90%, which is better than the accuracy achieved in other studies of this type. This is due to the improved quality of the gas we extracted, demonstrating the superiority of our proposed electronic nose system.

본문 56,468자

본문 펼치기
_Article_ # Design of an Electronic Nose System with Automatic End-Tidal Breath Gas Collection for Enhanced Breath Detection Performance Dongfu Xu <sup>1</sup> , Pu Liu <sup>1</sup> , Xiangming Meng <sup>1,†</sup> , Yizhou Chen <sup>2</sup> , Lei Du <sup>1</sup> , Yan Zhang <sup>1</sup> , Lixin Qiao <sup>1</sup> , Wei Zhang <sup>1</sup> , Jiale Kuang <sup>1</sup> and Jingjing Liu <sup>1,</sup> * 1 College of Automation Engineering, Northeast Electric Power University, Jilin 132012, China; 20162696@neepu.edu.cn (D.X.); 2202300635@neepu.edu.cn (P.L.); mxmforgo@gmail.com (X.M.); 2202300745@neepu.edu.cn (L.D.); 2202200607@neepu.edu.cn (Y.Z.); 2202300756@neepu.edu.cn (L.Q.); 2202300733@neepu.edu.cn (W.Z.); 2202300748@neepu.edu.cn (J.K.) 2 Neuroscience Institute, Carnegie Mellon University, Pittsburgh, PA 15213, USA; yizhoucc@gmail.com * Correspondence: jingjing_liu@neepu.edu.cn - Current address: Chongqing Onespace Technology Co., Ltd., Beijing 101111, China. Academic Editor: Cheng-Hsin Chuang Received: 7 March 2025 Revised: 7 April 2025 Accepted: 12 April 2025 Published: 14 April 2025 Citation: Xu, D.; Liu, P.; Meng, X.; Chen, Y.; Du, L.; Zhang, Y.; Qiao, L.; Zhang, W.; Kuang, J.; Liu, J. Design of an Electronic Nose System with Automatic End-Tidal Breath Gas Collection for Enhanced Breath Detection Performance. _Micromachines_ 2025, _16_, 463. [https://doi.org/](https://doi.org/10.3390/mi16040463) [10.3390/mi16040463](https://doi.org/10.3390/mi16040463) Copyright: © 2024 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 [(https://creativecommons.org/](https://creativecommons.org/licenses/by/4.0/) [licenses/by/4.0/).](https://creativecommons.org/licenses/by/4.0/) Abstract: End-tidal breath gases originate deep within the lungs, and their composition is an especially accurate reflection of the body’s metabolism and health status. Therefore, accurate collection of end-tidal breath gases is crucial to enhance electronic noses’ performance in breath detection. Regarding this issue, this study proposes a novel electronic nose system and employs a threshold control method based on exhaled gas flow characteristics to design a gas collection module. The module monitors real-time gas flow with a flow meter and integrates solenoid valves to regulate the gas path, enabling automatic collection of end-tidal breath gas. In this way, the design reduces dead space gas contamination and the impact of individual breathing pattern differences. The sensor array is designed to detect the collected gas, and the response chamber is optimized to improve the detection stability. At the same time, the control module realizes automation of the experiment process, including control of the gas path state, signal transmission, and data storage. Finally, the system is used for breath detection. We employ classical machine learning algorithms to classify breath samples from different health conditions with a classification accuracy of more than 90%, which is better than the accuracy achieved in other studies of this type. This is due to the improved quality of the gas we extracted, demonstrating the superiority of our proposed electronic nose system. Keywords: electronic nose; end-tidal breath gases; exhaled breath analysis 1. Introduction Exhaled breath analysis is a method used in medical research and clinical detection. Human exhaled breath contains diverse volatile organic compounds (VOCs) and other gas molecules [1]. These molecules contain important information about the human body. The identification of disease-specific biomarkers enables health monitoring and disease prediction [2,3]. The metabolite profile of the human body in a disease state is different from that in the normal state. For example, elevated levels of methane and hydrogen are observed in patients with gastrointestinal disorders [4], and increased carbon monoxide concentrations are found in patients with respiratory diseases [5]. Disease conditions frequently induce intricate interrelationships among exhaled gas components. A precise understanding of the molecular composition of exhaled gases could significantly _Micromachines_ 2025, _16_, 463 2 of 17 enhance diagnostic capabilities. However, the inherent complexity of these interactions poses challenges for accurate measurement and quantification, underscoring the need for advanced analytical tools. The electronic nose, fitted with an array of gas sensors corresponding to the characteristics of the gas composition to be measured [6,7], offers a sophisticated tool for analyzing breath composition. By combining the ‘gas fingerprint’ information output from the sensors with pattern recognition algorithms, the electronic nose can identify [8,9], detect [10,11], and quantify [12,13] the exhaled gas. Furthermore, this approach compensates for the cross-sensitivity issue of a single sensor. The advancements in gas sensor technology and artificial intelligence have accelerated the evolution of electronic noses for exhaled breath tests. Their noninvasive detection methods offer rapid and convenient diagnosis [14–18]. Human exhaled gas consists of end-tidal breath gases and dead space gases. End-tidal breath gases have completed gas exchange with the blood in the alveoli and provide more clinically relevant information about the body’s physiological state [19]. On the other hand, dead space gases do not participate in gas exchange during each breath, and they are mainly present in the anatomic dead space area, i.e., from the nose and mouth to the terminal bronchioles. The dead space gas’s composition is similar to that of the ambient air [20]. Therefore, breath analysis experiments should mitigate the influence of dead space gases to ensure the accuracy of results. Most existing studies do not consider this factor. Although a limited number of approaches have been proposed to address this issue, they all have different limitations. Hao et al. [21] employed an electronic nose to analyze VOCs in breathed gas for lung cancer detection. In their study, subjects exhaled into a Tedlar bag. Since no exogenous VOCs in the physiological dead space were removed, the concentration of the targeted gas components was significantly reduced. To reduce the effects of dead space gases, Castellanos and Capuano et al. [22,23] proposed that subjects should first exhale part of the gas into the surrounding air and then exhale the remaining gas into the Tedlar bag [24]. This approach relies on subjective experience to remove dead space gas, which results in low efficiency and large errors. Grabowska-Polanowska and Mieth et al. [25–27] proposed using a carbon dioxide (CO2) sensor to differentiate and exclude dead space gases. However, water vapor in human exhaled gas can significantly impair the CO2 sensor’s detection accuracy. Additionally, squeezing the Tedlar bag is the conventional method of introducing the gas into the sensor chamber during the detection procedure. Different squeezing methods and strengths typically result in the issue of uncontrollable airflow [28]. Some studies have managed to control airflow by redesigning the chamber structure and introducing devices such as vacuum pumps. These solutions are complex and require frequent adjustments. Therefore, there is a pressing need to improve the system structure design and control mechanisms of traditional electronic nose systems. In this study, we proposed a novel electronic nose system. The system incorporates a gas collection path based on a threshold separation standard, combining solenoid valves with a gas flow meter to ensure precise collection of end-tidal breath gases. Additionally, by optimizing the layout and control mechanisms between modules, we achieved autonomous control of the experimental process, eliminating issues with unsteady airflow. To validate the system’s performance, we selected the corresponding sensors according to the physical condition of the subjects to form the sensor array and conducted a human health status classification experiment, using machine learning algorithms (including Linear Discriminant Analysis (LDA) [29,30], Support Vector Machine (SVM) [31,32], K Nearest Neighbor (KNN) [33,34], and Random Forest (RF) [35]) to process the data. The experiment produced improved accuracy compared to related experiments. The results further verified the advantages of this system. _Micromachines_ 2025, _16_, 463 3 of 17 2. Electronic Nose Device A structural diagram of the proposed electronic nose system is shown in Figure 1. The gas collection module consists of a mouthpiece, flow meter, solenoid valve, gas container, activated carbon filter, and vacuum pump. This setup enables the collection of the exhaled gases and the cleaning of the gas path. The sensor array, a crucial part of the detection module, is made of sensors that are sensitive to the target components in exhaled gases. Our test subjects were all young adults, averaging around 23 years old, with no major health conditions. Therefore, in assessing health status, we primarily focused on common ailments such as colds, diarrhea, and coughs, which involve the lungs, airways, digestive system, metabolic function, and certain chronic diseases. Based on the correlation between specific exhaled gas components and these health conditions, we carefully selected appropriate sensors—all of which were metal oxide semiconductor sensors (Weisheng, Zhengzhou, China). Digestive system disorders can be identified through exhaled gases such as hydrogen, methane, and hydrogen sulfide. To detect these gases, we utilized sensors such as MQ-138, MQ-8, MQ-136, MP-35, and MQ-4B, which exhibit high sensitivity to these compounds. Similarly, lung and airway diseases can be monitored by analyzing exhaled gases such as carbon monoxide and propane. For this purpose, we employed MQ-5, MQ-7B, MQ-9, and MP-135 sensors, which are particularly responsive to these gases. Additionally, metabolic disorders can be tracked through exhaled biomarkers such as acetone and ethanol, for which we selected MQ-138, WSP2110, and MP-135 sensors due to their sensitivity to these substances. Details on the sensors and the gases they detect are shown in Table A1. The system control module manages the gas path states and data transmission. The control module consists of a relay, a solenoid valve, a flow meter, a data acquisition board, a power module, and host computer software. Figure 1. Structural diagram of electronic nose system. Through systematic structural design, each module is optimally integrated to meet various functional requirements. The gas container is directly connected to the sensor chamber through a solenoid valve, and the process of the collected gas entering the chamber is completely isolated from the external environment. This design prevents the introduction of ambient VOCs, thereby maintaining the integrity of the sample. This real-time dynamic process also prevents condensation caused by the gas remaining in the gas container for too long. _2.1._ _Gas Collection Module Design and Methodology_ During a full exhalation, the ratio of end-tidal breath gas to dead space gas is approximately 7:3 [1]. This relationship can be verified using the Bohr equation [36], which _Micromachines_ 2025, _16_, 463 4 of 17 leverages the dilution effect of carbon dioxide partial pressure. Since dead space gas does not participate in gas exchange, it does not absorb carbon dioxide from the blood; endtidal breath gas is the sole component actively involved in this process. By measuring the difference between the partial pressure of carbon dioxide in exhaled gas and that in arterial blood, the proportion of dead space gas within the full exhalation can be accurately determined. Through extensive experimentation and analysis, it has been determined that dead space gas typically constitutes around 30% of an individual’s total exhaled gas [37], while end-tidal breath gas accounts for 70%. This corresponds to an end-tidal breath gas to dead space gas ratio of approximately 7:3. This finding has also been corroborated by anatomical studies [38]. Rohrer et al. reported that the volume of anatomical dead space is approximately 150 mL, whereas the total exhaled gas volume is around 500 mL. Today, this conclusion is widely recognized and applied in the field of respiratory medicine [39]. Based on this feature, a complete gas collection path was designed using the ratio of dead space gas to end-tidal breath gas content as the separation criterion (Figure 2). Since spirometry varies between subjects, setting the same separation threshold for all would result in significant errors. To address this, a pre-experiment should be conducted for each subject to determine their corresponding threshold before gas collection. In the gas collection path, a flow meter is installed between the mouthpiece and solenoid valve A. We utilize a high-precision MENS series gas flow meter with a measuring range of 0 to 500 L/min and a working pressure of below 1 MPa. The measurement accuracy is within ±1% FS, ensuring reliable performance. The flow meter features a compact design, with a height of 12 cm, a length of 9 cm, and a width of 3.5 cm, making it well suited for integration into the electronic nose system. It measures the exhaled gas flow and transmits the flow data to the host computer. The solenoid valve is a three-way valve of the FQY-23 series with polytetrafluoroethylene (PTFE) internal components. One end of the valve is connected to an activated carbon molecular sieve, which filters out interfering gases from the ambient air during the cleaning of the device, The other two ends are used to control the opening and closing of the gas line to the gas container. The internal connections and the gas container are also made of PTFE tubes. PTFE exhibits extremely high chemical inertness and does not adsorb volatile compounds from the sample gas. A vacuum pump is employed to generate a negative-pressure environment to clean the device. The gas collection path has three states: a cleaning state, a dead space gas removal state, and an end-tidal breath gas collection state. During the cleaning state, external air enters the device from the port of the activated carbon molecular to clean the system. This process cleanses the system by flushing out residual gases and contaminants, preparing the device for accurate sampling. During the dead space gas removal state, the anterior gas exhaled by the human body enters the collection device from the left side and exits through the right side. This ensures that dead space gases are excluded from subsequent analysis. During the collection state, the subsequent exhaled gas enters from the left side and is stored in the gas container. The solenoid valve connects its left port to the right port when powered and connects its upper port to the right port when not powered. The schematic diagram of gas distribution and flow change in the gas path in the end-tidal breath gas collection state is shown in Figure 2. At this stage, the gas flow value is lower than the threshold value, and the dead space gas has all been discharged through the gas path. The end-tidal breath gases are stored in the gas container, where it is compressed to achieve enrichment as the gas accumulates. _Micromachines_ 2025, _16_, 463 5 of 17 Figure 2. Schematic diagram of end-tidal breath gas collection state. _2.2._ _Sensor Chamber Design_ The design of a stable and controlled chamber is critical for improving the accuracy of gas detection. The chamber is made of PTFE material, which is chemically stable and non-toxic and does not produce interfering gas molecules. To improve chamber tightness, a grooved design at the top cover is used to secure the fit between the cover and the chamber body. The size of the response space of the chamber is minimized to prevent the response space from being too large for adequate contact between the gas and the sensor. In addition, considering gas dynamics, all corners within the chamber are rounded to reduce dead space and facilitate the cleaning and detection processes. The electronic nose circuit board is placed inside the chamber, with the sensor array facing downwards, 3 mm away from the bottom. _2.3._ _System Control Flow_ In the electronic nose control system, the host computer is the primary control unit, communicating with the actuating components (solenoid valve and vacuum pump) via a data acquisition board. The system operation is divided into two stages: the pre-experiment stage and the formal experiment stage (Figure 3). During the pre-experiment stage, the subject exhales a complete breath sample into the collection device. The host computer reads the data from the flow meter and calculates the threshold value; this process is repeated three times to take the average value as the final threshold value output. In the formal experiment stage, the host computer first activates the vacuum pump to clean the gas path and then switches the collection device to the dead space gas removal state. The subject begins exhalation, and when the gas flow drops below the preset threshold, the device automatically transitions to the end-tidal breath gas collection state. Once exhalation ends, the device switches to the detection state, directing the gas into the chamber. The sensor array then outputs response data, which is transmitted to the host computer for storage. This automated control process enhances experimental efficiency and minimizes human error. A 10-min break is scheduled between the pre-experimental stage and the formal experimental stage to allow the subject’s lung gas concentration to return to a stable level. This rest period helps minimize bias caused by biomarker consumption, ensuring that the exhaled gas collected during the formal experiment is more representative and consistent. _Micromachines_ 2025, _16_, 463 6 of 17 To ensure that the gas enters the sensor chamber at a constant flow rate and reduces the impact of airflow fluctuations on sensor accuracy, a PWM-controlled vacuum pump is used in this setup. Pulse Width Modulation (PWM) is a technique that utilizes the digital output of a microprocessor to control analog circuits. It has two key adjustable parameters: frequency and duty cycle. The frequency defines how many times the signal transitions from high to low and back to high per second, while the duty cycle represents the proportion of time the signal remains at a high level within one cycle. At a fixed frequency, varying the duty cycle allows different analog output voltages. Consequently, most motors regulate their speed by adjusting the duty cycle—the higher the duty cycle, the faster the motor speed. In this experiment, we reduced the duty cycle of vacuum pump E when transitioning from the cleaning state to the detection state. During the cleaning phase, a higher duty cycle was used to enhance efficiency and cleaning quality. However, in the detection phase, the motor must create a negative pressure environment within the detection chamber to introduce the sample gas. If the gas flow rate is too high, the sample may not have sufficient contact with the sensor, affecting the diffusion and adsorption of gas molecules on the sensor’s sensitive layer, ultimately leading to detection errors. To mitigate this issue, we lowered the duty cycle during this stage. Once the experiment enters the detection state, the vacuum pump’s speed is decreased by lowering the duty cycle of the PWM wave. Figure 3. System control flow chart. _2.4._ _Detection Module Circuit Design_ The electronic nose circuit board is composed of two primary sections: the power supply circuit and the sensor peripheral circuit. As most sensors in the system require a 5 V heating voltage and a reference voltage, a 5 V switching power supply circuit (Figure 4c) and a reference power supply circuit (Figure 4b) are designed to meet these requirements. The 5 V switching power supply, utilizing a TPS56528 chip (YouXin Electronic, Shenzhen, China), operates with an input voltage range of 4.5–18 V, an output voltage range of 0.6–7 V, a switching frequency of 650 kHz, and an output current capacity of 5 A. The reference power supply uses a REF5050 chip (YouXin Electronic, Shenzhen, China) to provide the necessary operating voltage for the sensors. Additionally, for sensors such as the MP9 used in methane gas detection, which require a heating voltage of 1.5 V ± 0.1 V, an adjustable switching power supply circuit is also designed (Figure 4d). The adjustable switching power supply circuit employs a TPS562200 chip (YouXin Electronic, Shenzhen, China). According to the special operating temperature conditions of the sensor, it is heated one _Micromachines_ 2025, _16_, 463 7 of 17 minute before detection. The sensor peripheral circuit is shown in Figure 4a, the response output from the short-circuited pins 4 and 6 is transmitted to the data acquisition board for digital signal conversion. ( a ) ( b ) ( c ) ( d ) Figure 4. ( a ) Sensor peripheral circuit; ( b ) reference power supply circuit; ( c ) 5 V switching power supply circuit; ( d ) adjustable switching power supply circuit. 3. Experimental Operation _3.1._ _Experimental Design_ We established strict experimental procedures and precautions for the classification of human health conditions. A self-assessed health rating scale was used for quantitative analysis [40], and the questions set in the scale are shown in Table A2. Each question is rated on a scale from 0 to 10, with a total of 11 levels. Participants assign scores based on their own condition, where a lower score indicates a more severe presence of the associated disease. The final score is calculated as the sum of the six individual question scores. Based on this total score, health status is classified into three levels: below 45 is considered “poor”, 46 to 55 is classified as “good”, and 56 or above is rated as “excellent”. Self-assessed health rating scale is a subjective evaluation of an individual’s health status, and researches have indicated that it is strongly correlated with the actual health status [41], which can reflect the health level of the organism [42]. In addition, human health conditions were classified using our designed electronic nose in conjunction with some machine learning algorithms [33]. To control confounding factors, the selected subjects were all 23 years old, had no major diseases, and had no unhealthy habits (smoking, drinking, etc.). In addition, relevant experimental steps were designed to avoid the influence of exercise, medication, disease, and diet on the exhalation spectrum. The experiment lasted for ten days, and a total of 115 sets of data were collected. All subjects were notified of the purpose of the experiment in advance and signed informed consent forms. _Micromachines_ 2025, _16_, 463 8 of 17 The complete experimental procedure consisted of five stages: determination of the separation threshold, gas path cleaning, gas collection, sample detection, and data processing. To minimize the impact of temperature, we preheated the sensor before detection using a designed power supply circuit, ensuring that the sensor reached its optimal operating temperature. To reduce the influence of humidity, we continuously purged the detection chamber with gas until it reaches the detection state, maintaining a ventilated environment to prevent water vapor condensation. _3.2._ _Determination of the Separation Threshold_ Figure 5 presents a schematic diagram of the expiratory flow versus time curve during the pre-experiment stage. The threshold value for each subject can be determined using the threshold separation criterion. The vertical coordinate at the threshold point in the figure represents the required threshold value. The specific method is as follows: Figure 5. Schematic diagram of the expiratory flow–time curve. Firstly, the total amount of exhaled gas can be calculated from the flow value data: _V_ 1 + _V_ 2 = - _t_ 0 <sup>_Qdt_</sup> (1) where _Q_ is the value of the gas flow, _V_ 1 is the volume of end-tidal breath gas, and _V_ 2 is the volume of dead space gas. Equation (2) is used to determine the volume of _V_ 2, and Equation (3) is used to determine the time point _t_ 1 at which all of the dead space gas has passed through the flow meter. _V_ 2 = <sup><u>3</u></sup> (2) 10 <sup>(</sup> <sup>_V_</sup> <sup>1 +</sup> <sup>_V_</sup> <sup>2)</sup> - _t_ 1 _Qdt_ = _V_ 2 (3) 0 The distribution of gas in the collection device at the moment _t_ 1 is shown in Figure 6. To accurately collect the end-tidal breath gas, it is necessary to combine the volume of the gas container to solve for the time point _t_ 2 when all the dead space gas passes through solenoid valve B. The method is given in the following equation: - _t_ 2 _Qdt_ = 0 - _t_ 1 _Qdt_ + _V_ 3 (4) 0 where _V_ 3 is the volume of the gas container and the flow value at time _t_ 2 is the separation threshold. _Micromachines_ 2025, _16_, 463 9 of 17 Figure 6. Gas distribution at time _t_ 1. 4. Experimental Results and Discussion _4.1._ _Data Feasibility Analysis and Preprocessing_ To investigate the differences in the patterns of sensor data under different health conditions, this study selected the integral ratio of the output data from each sensor as the feature and plotted the box plot shown in Figure 7. When comparing the box plots of different sensors under the same health condition, clear differences between the sensors are observed. This result shows that each sensor responds differently to specific gas compositions. Focusing on the box plots of the same sensor under different health conditions, in terms of the measured data’s median, mean, and interquartile range, there are notable variations in the data distribution across different health conditions. These differences demonstrated that the electronic nose system can differentiate between distinct health statuses effectively. ( a ) ( b ) Figure 7. ( a ) Sensor 1–5 response data box plot. ( b ) Sensor 6–10 response data box plot. The raw signal collected during the measurement is the analog voltage output from each gas sensor. Because changes in temperature and humidity in the environment may affect the performance of the sensor, this study uses the conductivity ratio instead of the raw sensor voltage. Additionally, this study employs multiple sensors in an array, each with varying original voltage outputs. By using the conductivity ratio as a standardized index, data from different sensors can be normalized onto the same scale, facilitating data fusion, subsequent processing, and machine learning modeling. The formula of conductivity ratio is shown in Equation (5). _R_ g = _G_ gas/ _Gair_ (5) where _Gair_ is the conductivity value in clean air and _G_ gas is the conductivity value in the measured gas. To effectively remove data noise and reduce redundant information, we performed the following preprocessing steps on the collected data. First, we employed mean filtering to reduce noise in the original data. Next, we extracted five features, including the integration _Micromachines_ 2025, _16_, 463 10 of 17 ratio, the maximum location, the maximum first-order derivative, and two frequencydomain eigenvalues. _4.2._ _Classification and Model Validation_ Electronic nose breath detection experiments frequently employ classical machine learning algorithms such as LDA, SVM, RF, and KNN, which perform exceptionally well when handling non-linear data. In this study, these traditional algorithms were employed to facilitate comparisons with similar experiments and validate the effectiveness of the electronic nose device in collecting end-tidal breath gases. Traditional machine learning algorithms are inefficient when dealing with high-dimensional data, and overfitting may occur. To solve this challenge, we combined dimension reduction method to process the data. First, the extracted five feature value data are processed using the LDA method for dimensionality reduction, reducing the original 50-dimensional features to 2-dimensional. The resulting 2-dimensional data are then fed into SVM, RF, and KNN models for classification [43]. The models’ performance was assessed using classification accuracy, recall, precision, and the F1 score. While accuracy reflects overall correctness, recall, precision, and F1 score provide more reliable evaluation in imbalanced health testing tasks by emphasizing missed detections, false positives, and the balance between them. In addition to LDA for dimensionality reduction, the PCA method was also applied to reduce the original 50 dimensions of the feature data to 3 dimension. The reduced data were then fed into the classification model for validation. However, the classification results after PCA dimensionality reduction were not satisfactory due to the nonlinear nature of the electronic nose data. The data distribution after PCA dimensionality reduction is shown in Figure A1, and the corresponding classification results are presented in Table A3. LDA projects each sample _xi_ _∈_ _R_ <sup>50</sup> of the 50-dimensional feature data to 2 dimensions, and finds the optimal projection basis vectors ( _ω_ 1, _ω_ 2) that maximizes the separation between classes for projection to 2 dimensions. _Sw_ is the total within-class scatter matrix and _Sb_ is the between-class scatter matrix. The formula is as follows: _Sw_ = 3 ## j ∑=1 xi ∑ ∈Cj ( _xi −_ _µj_ )( _xi −_ _µj_ ) <sup>_T_</sup> (6) _Sb_ = 3 ## ∑ _j_ =1 _Nj_ ( _µj −_ _µ_ )( _µj −_ _µ_ ) <sup>_T_</sup> (7) In the above equation, _C_ j is the sample of the _j_ th class and _µj_ is the mean vector of the sample of the _j_ th class. To maximize the ratio of between-class scatter to within-class scatter, it is converted to the following equation: _J_ = <sup>_<u>ωTSbω</u>_</sup> (8) _ω_ <sup>_T_</sup> _Swω_ This is transformed into the following feature-solving problem in the following equation: _Sbω_ = _λSwω_ (9) The eigenvectors ( _ω_ 1, _ω_ 2) corresponding to the first two largest eigenvalues are selected and the data are projected to obtain the following data output: _yi_ = - - _T_ _ω_ 1 <sup>_T_</sup> <sup>_xi_</sup> <sup>,</sup> <sup>_ω_</sup> 2 <sup>_T_</sup> <sup>_x_</sup> _i_ _i_ = 1, 2, .... _N_ (10) The distribution of the data after LDA dimensionality reduction is shown in Figure 8. The complexity of the data is reduced while the most discriminative features are extracted. The dimensionality-reduced data are then fed into the classification model for classification. _Micromachines_ 2025, _16_, 463 11 of 17 SVM seeks to identify the optimal hyperplane that divides different data classes by maximizing the margin between them [44]. We start with the given training samples: _T_ = _{_ ( _x_ 1, _y_ 1), ( _x_ 2, _y_ 2), ..., ( _xi_, _yi_ ) _}_ (11) where _xi_ is the _i_ th feature vector and _yi_ is the class marker; here, _xi_ _∈_ _R_ <sup>2</sup>, _i_ = 1, 2, 3, ..., _N_ _yi_ _∈{−_ 1, +1 _}_, _i_ = 1, 2, 3, ..., _N_ ; when the class marker is equal to +1, it is a positive case, and when it is equal to _−_ 1, it is a negative case. We classify them using the following linear function: _f_ ( _x_ ) = _ω_ <sup>_T_</sup> _x_ + _b_ = _n_ ## ∑ _i_ =1 _ωixi_ + _b_ (12) The primary objective of the support vector machines is to minimize the objective function: ## min 1 2 ∥ω∥ 2 + c ∑ n _i_ =1 _ζi_ (13) _s_ . _a_ . _yi_ ( _ω_ <sup>_T_</sup> _xi_ + _b_ ) _≥_ 1 _−_ _ζi_, _ζi_ _≥_ 0 (14) For the nonlinear problem in this experiment, the data are mapped to a higher dimensional space by introducing a kernel function to find a linearly divisible hyperplane in the higher dimensional space. The model’s decision function is _f_ ( _x_ ) = _n_ ## ∑ _i_ =1 _αiyiK_ ( _xi_, _x_ ) + _b_ (15) where _K_ ( _xi_, _x_ ) is the kernel function, the radial basis kernel function (RBF) is selected as the kernel function of the model after experimental validation with the specific formulae into the following: _K_ ( _xi_, _xj_ ) = exp( _−γ||xi −_ _xj||_ <sup>2</sup> ) (16) Since this experiment is a multi-classification problem, a ‘one-vs.-one’ approach is adopted to establish a multi-classification model, <sup>_<u>n</u>_</sup> <sup><u>(</u></sup> <sup>_<u>n</u>_</sup> 2 <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> support vector machines are con structed, and each support vector machine is trained with two different categories of data. The final classification result is determined through a majority voting mechanism [45]. Figure 8. Results of LDA dimensionality reduction. The performance of an SVM heavily relies on the hyperparameter settings, and if the _c_ and _γ_ parameters are not properly combined, the model may suffer from overfitting or underfitting. Therefore, this study uses Genetic Algorithm (GA) to determine the optimal hyperparameters of the SVM model. Each individual in the population represents a set of candidate parameters and its fitness value is calculated by a fitness function to measure the merit of this parameter combination. The genetic algorithm gradually finds the individual _Micromachines_ 2025, _16_, 463 12 of 17 with the best fitness value through operations such as selection, crossover, and mutation. As shown in Figure 9, the SVM model reaches the highest performance after 7 generations of GA execution. To verify the effectiveness of genetic algorithm optimization, we randomly selected five sets of parameter combinations within the same parameter range as the optimization algorithm as the parameters before optimization for comparative validation. The classification results are shown in Table 1. Figure 9. The graph illustrating the optimization of SVM parameters using GA. Table 1. Comparison of classification accuracy before and after optimization. Parameter Combination ( _c_ , _γ_ ) (0.01,1) (0.1,1) (1,1) (1,10) (10,100) GA(1,0.2) Accuracy 39.49% 62.29% 69.25% 91.19% 50.95% 92.06% KNN works on the principle of classification based on the similarity between sample points. Firstly the sample to be classified is fed into the model and we use Euclidean distance to calculate its distance to the sample points in the training set. The formula is as follows: _d_ ( _x_ <sup>_′_</sup>, _xi_ ) = ( _x_ <sup>_′_</sup> 1 <sup>_′_</sup> <sup>_−_</sup> <sup>_xi_</sup> <sup>1)2</sup> <sup>+ (</sup> <sup>_x_</sup> 2 <sup>_′_</sup> <sup>_−_</sup> <sup>_xi_</sup> <sup>2)2</sup> (17) A set containing the distances from all sample points in the training set to _x_ <sup>_′_</sup> is generated: _D_ <sup>_′_</sup> = _{_ ( _x_ 1, _d_ ( _x_ <sup>_′_</sup>, _x_ 1)), ( _x_ 2, _d_ ( _x_ <sup>_′_</sup>, _x_ 2)), ..., ( _xn_, _d_ ( _x_ <sup>_′_</sup>, _xn_ )) (18) The K neighbors with the smallest distances are selected from the distance set _D_ <sup>_′_</sup> to determine the class of the sample [46]. RF forms a forest by building multiple decision trees [47]. Different decision trees are independent to each other, and when a new sample is input, each decision tree in the forest is allowed to make a classification judgment separately. The final result is decided by ‘voting’ of all trees. We used five-fold cross-validation to split the dataset into five subsets for training and testing. Table 2 presents the classification results of three algorithms on the test samples. The experimental results show that the classification accuracy of all three algorithms is greater than 90%, indicating that our electronic nose system can effectively differentiate different health conditions in the human body. Besides, the recall of each category is also above 88%. The F1 score combines the precision and recall of the model, and the results of each category are higher than 89%, which effectively excludes the influence of category imbalance on the assessment of the model’s real performance. Many existing studies used electronic noses for breath testing, often using algorithms such as KNN, RF, LDA, and SVM to process the data [12,48–51]. They have shown successful results in differentiating between diseases such as diabetes, renal disorders, airway diseases, and cancer. However, _Micromachines_ 2025, _16_, 463 13 of 17 the classification accuracies of these studies were between 70% and 90%. In contrast, we have achieved significantly better experimental results in this study. The reason lies in the optimal design of the collection module of the electronic nose system. By correlating the exhaled gas flow with the gas separation threshold and conducting a pre-experiment to account for inter-subject variations in lung capacity, we ensured a precise collection of end-tidal breath gases, which are more directly related to human health status. This method improves the quality and representativeness of the experimental data from the source, providing a strong foundation for accurate and reliable classification results. Table 2. Classification results of three algorithms for different health conditions. Index Excellent Good Poor LDA-SVM LDA-RF LDA-KNN 5. Conclusions Accuracy 92.06% Recall 92% 93.33% 90.83% Precision 96.67% 90.14% 93.06% <u>F1 Score</u> <u>93.74%</u> <u>91.44%</u> <u>91.88%</u> Accuracy 90.32% Recall 92% 91.11% 88.33% Precision 93.81% 90.14% 91.28% <u>F1 Score</u> <u>92.20%</u> <u>90.12%</u> <u>89.61%</u> Accuracy 93.04% Recall 92.31% 97.78% 88.64% Precision 96% 88% 97.50% F1 Score 94.12% 92.63% 92.86% This study designed an electronic nose system that can automatically collect endtidal breath gases and predict the subject health condition from the collected gas with high accuracy. A threshold separation method based on expiratory flow characteristics was proposed. Based on this method combined with the solenoid valve to control the gas path state, accurate end-tidal breath gas collection was achieved. Structural and control method improvements further minimized external interference and allowed for full automation of the experimental process. Breath tests were performed on subjects with different health conditions and the data were processed using LDA-SVM, LDA-RF, and LDA-KNN classification algorithms. The results show that the classification accuracies of the test set are over 90%, outperforming similar studies. With the same experimental process and classification algorithms, the excellent performance of this study is mainly due to the enhancement of the raw data collection stage, where we successfully isolated the end-tidal breath gases that are more representative of the human health condition. Compared to other existing studies, we have a higher accuracy of end-tidal breath gas collection by the proposed threshold separation method. In summary, the electronic nose system developed in this study shows strong potential for end-tidal breath gas collection and health status classification. Because the samples collected are of higher quality and the differences between individuals are more clearly expressed, it is easier for the model to learn the characteristic patterns that are truly associated with the target disease, rather than noise or confounding factors. Moreover, the signal intensity of VOCs in the end-tidal breath gas is more concentrated, and the eigenvalue data are more prominent, which further improves the performance of the model. To further enhance detection performance, future research will integrate pulse monitoring devices and heart rate testing equipment, utilizing data fusion techniques to provide more comprehensive and accurate monitoring of human health status. Additionally, deep _Micromachines_ 2025, _16_, 463 14 of 17 learning methods will be introduced to handle larger and more diverse datasets resulting from the fusion process. Moreover, the system’s structural design will be further optimized by incorporating a microcontroller to enhance portability and adaptability. Author Contributions: Conceptualization, J.L. and D.X.; methodology, P.L. and X.M.; software, P.L. and L.D.; validation, D.X.; formal analysis, Y.Z.; investigation, L.Q.; resources, W.Z.; data curation, J.K.; writing—original draft preparation, P.L.; writing—review and editing, D.X. and J.L.; visualization, Y.C.; supervision, J.L.; project administration, D.X.; funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript. Funding: This research was funded by the National Natural Science Foundation of China (31871882). Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: The sensor data will be made available upon request. Conflicts of Interest: Author Xiangming Meng was employed by the company Chongqing Onespace Technology Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. Appendix A _Appendix A.1_ Table A1. Sensor array information. Number Sensor Target Gas 1 MQ-138 toluene, acetone, ethanol, hydrogen 2 MQ-136 hydrogen sulfide 3 MQ-8 hydrogen 4 MQ-5 methane, propane 5 MQ-7B carbon monoxide 6 WSP2110 acetone, toluene, alcohol 7 MQ-4B methane 8 MP-9 carbon monoxide, methane 9 MP-4 methane 10 MP-135 hydrogen, alcohol, carbon monoxide _Appendix A.2_ Table A2. Health status rating scale. Date of Experiment: Subject: Health Status: 1. Are you currently experiencing gastrointestinal distress? 2. Do you currently have any respiratory complaints, such as coughing or nasal congestion? 3. Have you had any recent symptoms of panic and weakness? 4. How was the quality of your sleep last night? 5. Are you experiencing toothache, mouth eruptions, and yellowing of the urine? 6. Do you currently have a cold? Note: Score: _Micromachines_ 2025, _16_, 463 15 of 17 _Appendix A.3_ Figure A1. Results of PCA dimensionality reduction. _Appendix A.4_ Table A3. Data classification results after PCA dimensionality reduction. PCA-SVM PCA-RF PCA-KNN Accuracy 65.71% 56.16% 54.29% References 1. Li, Y.; Wei, X.; Zhou, Y.; Wang, J.; You, R. Research progress of electronic nose technology in exhaled breath disease analysis. _Microsyst._ _Nanoeng._ 2023, _9_, 129. [[CrossRef]](http://doi.org/10.1038/s41378-023-00594-0) 2. Shanmugasundaram, A.; Manorama, S.V.; Kim, D.-S.; Jeong, Y.-J.; Weon Lee, D. Toward Point-of-Care chronic disease Management: Biomarker detection in exhaled breath using an E-Nose sensor based on rGO/SnO2 superstructures. _Chem._ _Eng._ _J._ 2022, _448_, 137736. [[CrossRef]](http://dx.doi.org/10.1016/j.cej.2022.137736) 3. Moon, H.G.; Jung, Y.; Han, S.D.; Shim, Y.-S.; Shin, B.; Lee, T.; Kim, J.-S.; Lee, S.; Jun, S.C.; Park, H.-H.; et al. Chemiresistive Electronic Nose toward Detection of Biomarkers in Exhaled Breath. _ACS Appl._ _Mater._ _Interfaces_ 2016, _8_, 20969–20976. [[CrossRef]](http://dx.doi.org/10.1021/acsami.6b03256) 4. Wilder-Smith, C.H.; Olesen, S.S.; Materna, A.; Drewes, A.M. Breath methane concentrations and markers of obesity in patients with functional gastrointestinal disorders. _United Eur._ _Gastroenterol._ _J._ 2017, _6_, 595–603. [[CrossRef]](http://dx.doi.org/10.1177/2050640617744457) 5. Scharte, M.; von Ostrowski, T.A.; Daudel, F.; Freise, H.; Van Aken, H.; Bone, H.G. Endogenous carbon monoxide production correlates weakly with severity of acute illness. _Eur. J. Anaesthesiol._ 2006, _23_ [, 117–122. [CrossRef]](http://dx.doi.org/10.1017/S0265021505002012) 6. Esfahani, S.; Wicaksono, A.; Mozdiak, E.; Arasaradnam, R.P.; Covington, J.A. Non-Invasive Diagnosis of Diabetes by Volatile Organic Compounds in Urine Using FAIMS and Fox4000 Electronic Nose. _Biosensors_ 2018, _8_, 121. [[CrossRef]](http://dx.doi.org/10.3390/bios8040121) 7. Wang, X.; Li, H.; Wang, Y.; Fu, B.; Ai, B. Intelligent Detection and Odor Recognition of Cigarette Packaging Paper Boxes Based on a Homemade Electronic Nose. _Micromachines_ 2024, _15_, 458. [[CrossRef]](http://dx.doi.org/10.3390/mi15040458) 8. Meléndez, F.; Sánchez, R.; Fernández, J.Á.; Belacortu, Y.; Bermúdez, F.; Arroyo, P.; Martín-Vertedor, D.; Lozano, J. Design of a Multisensory Device for Tomato Volatile Compound Detection Based on a Mixed Metal Oxide—Electrochemical Sensor Array and Optical Reader. _Micromachines_ 2023, _14_, 1761. [[CrossRef]](http://dx.doi.org/10.3390/mi14091761) 9. Sánchez, C.; Santos, J.P.; Lozano, J. Use of Electronic Noses for Diagnosis of Digestive and Respiratory Diseases through the Breath. _Biosensors_ 2019, _9_, 35. [[CrossRef]](http://dx.doi.org/10.3390/bios9010035) 10. Aghoutane, Y.; Brebu, M.; Moufid, M.; Ionescu, R.; Bouchikhi, B.; El Bari, N. Detection of Counterfeit Perfumes by Using GC-MS Technique and Electronic Nose System Combined with Chemometric Tools. _Micromachines_ 2023, _14_, 524. [[CrossRef]](http://dx.doi.org/10.3390/mi14030524) 11. Yang, H.-Y.; Chen, W.-C.; Tsai, R.-C. Accuracy of the Electronic Nose Breath Tests in Clinical Application: A Systematic Review and Meta-Analysis. _Biosensors_ 2021, _11_, 469. [[CrossRef]](http://dx.doi.org/10.3390/bios11110469) 12. Westenbrink, E.; Arasaradnam, R.P.; O’Connell, N.; Bailey, C.; Nwokolo, C.; Bardhan, K.D.; Covington, J.A. Development and application of a new electronic nose instrument for the detection of colorectal cancer. _Biosens._ _Bioelectron._ 2015, _67_, 733–738. [[CrossRef]](http://dx.doi.org/10.1016/j.bios.2014.10.044) 13. Lee, C.-H.; Chen, I.-T.; Yang, H.-C.; Chen, Y.J. An AI-powered Electronic Nose System with Fingerprint Extraction for Aroma Recognition of Coffee Beans. _Micromachines_ 2022, _13_, 1313. [[CrossRef]](http://dx.doi.org/10.3390/mi13081313) _Micromachines_ 2025, _16_, 463 16 of 17 14. Zhang, J.; Xue, Y.; Sun, Q.; Zhang, T.; Chen, Y.; Yu, W.; Xiong, Y.; Wei, X.; Yu, G.; Wan, H.; et al. A miniaturized electronic nose with artificial neural network for anti-interference detection of mixed indoor hazardous gases. _Sens._ _Actuators B_ 2021, _326_, 128822. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2020.128822) 15. Saidi, T.; Zaim, O.; Moufid, M.; El Bari, N.; Ionescu, R.; Bouchikhi, B. Exhaled breath analysis using electronic nose and gas chromatography–mass spectrometry for non-invasive diagnosis of chronic kidney disease, diabetes mellitus and healthy subjects. _Sens._ _Actuators B_ 2018, _257_, 178–188. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2017.10.178) 16. Rahman, S.; Alwadie, A.S.; Irfan, M.; Nawaz, R.; Raza, M.; Javed, E.; Awais, M. Wireless E-Nose Sensors to Detect Volatile Organic Gases through Multivariate Analysis. _Micromachines_ 2020, _11_, 597. [[CrossRef]](http://dx.doi.org/10.3390/mi11060597) 17. Das, P.; Marvi, P.K.; Ganguly, S.; Tang, X.; Wang, B.; Srinivasan, S.; Rajabzadeh, A.R.; Rosenkranz, A. MXene-Based Elastomer Mimetic Stretchable Sensors: Design, Properties, and Applications. _Nano-Micro Lett._ 2024, _16_, 135. [[CrossRef]](http://dx.doi.org/10.1007/s40820-024-01349-w) 18. Ward, A.; Petrie, A.; Honek, J.F.; Tang, X.S. Analyte-Dependent Sensing Mechanisms: The Fabrication and Characterization of a 32-Channel Array of SWCNT-TF Chemiresistive Sensors. _IEEE Nanotechnol._ _Mag._ 2014, _8_, 29–37. [[CrossRef]](http://dx.doi.org/10.1109/MNANO.2014.2313211) 19. van den Velde, S.; Quirynen, M.; van Hee, P.; van Steenberghe, D. Differences between Alveolar Air and Mouth Air. _Anal._ _Chem._ 2007, _79_, 3425–3429. [[CrossRef]](http://dx.doi.org/10.1021/ac062009a) 20. Caro, J.; Gallego, M. Alveolar Air and Urine Analyses As Biomarkers of Exposure to Trihalomethanes in an Indoor Swimming Pool. _Environ._ _Sci._ _Technol._ 2008, _42_, 5002–5007. [[CrossRef]](http://dx.doi.org/10.1021/es800415p) 21. Hao, Y.; Liang, X.; Mingfu, C.; Xing, C.; Ping, W.; Jiwei, J.; Yuelin, W. Detection volatile organic compounds in breath as markers of lung cancer using a novel electronic nose. In Proceedings of the Sensor, 2003 IEEE, Toronto, ON, Canada, 22–24 October 2003; pp. 1333–1337. 22. Castellanos, M.; Xifra, G.; Fernández-Real, J. M.; Sánchez, J.M. Breath gas concentrations mirror exposure to sevoflurane and isopropyl alcohol in hospital environments in non-occupational conditions. _J. Breath Res._ 2016, _10_, 016001. [[CrossRef]](http://dx.doi.org/10.1088/1752-7155/10/1/016001) 23. Alonso, M.; Castellanos, M.; Sanchez, J.M. Evaluation of potential breath biomarkers for active smoking: Assessment of smoking habits. _Anal._ _Bioanal._ _Chem._ 2010, _396_, 2987–2995. [[CrossRef]](http://dx.doi.org/10.1007/s00216-010-3524-z) 24. Wang, X.R.; Lizier, J.T.; Berna, A.Z.; Bravo, F.G.; Trowell, S.C. Human breath-print identification by E-nose, using informationtheoretic feature selection prior to classification. _Sens._ _Actuators B_ 2015, _217_, 165–174. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2014.09.115) 25. Grabowska-Polanowska, B.; Faber, J.; Skowron, M.; Miarka, P.; Pietrzycka, A.; Sliwka, I.; Amann, A. Detection of potential chronic <sup>´</sup> kidney disease markers in breath using gas chromatography with mass-spectral detection coupled with thermal desorption method. _J. Chromatogr._ _A_ 2013, _1301_, 179–189. [[CrossRef]](http://dx.doi.org/10.1016/j.chroma.2013.05.012) 26. Mieth, M.; Schubert, J. K.; Gröger, T.; Sabel, B.; Kischkel, S.; Fuchs, P.; Hein, D.; Zimmermann, R.; Miekisch, W. Automated Needle Trap Heart-Cut GC/MS and Needle Trap Comprehensive Two-Dimensional GC/TOF-MS for Breath Gas Analysis in the Clinical Environment. _Anal._ _Chem._ 2010, _82_, 2541–2551. [[CrossRef]](http://dx.doi.org/10.1021/ac100061k) 27. Guo, L.; Wang, C.; Chi, C.; Wang, X.; Liu, S.; Zhao, W.; Ke, C.; Xu, G.; Li, E. Exhaled breath volatile biomarker analysis for thyroid cancer. _Transl._ _Res._ 2015, _166_, 188–195. [[CrossRef]](http://dx.doi.org/10.1016/j.trsl.2015.01.005) 28. Panigrahi, S.; Balasubramanian, S.; Gu, H.; Logue, C.M.; Marchello, M. Design and development of a metal oxide based electronic nose for spoilage classification of beef. _Sens._ _Actuators B_ 2006, _119_, 2–14. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2005.03.120) 29. Aghili, N.S.; Rasekh, M.; Karami, H.; Edriss, O.; Wilson, A.D.; Ramos, J. Aromatic Fingerprints: VOC Analysis with E-Nose and GC-MS for Rapid Detection of Adulteration in Sesame Oil. _Sensors_ 2023, _23_, 6294. [[CrossRef]](http://dx.doi.org/10.3390/s23146294) 30. Chen, H.; Huo, D.; Zhang, J. Gas Recognition in E-Nose System: A Review. _IEEE Trans._ _Biomed._ _Circuits Syst._ 2022, _16_, 169–184. [[CrossRef]](http://dx.doi.org/10.1109/TBCAS.2022.3166530) 31. Binson, V.A.; Subramoniam, M.; Sunny, Y.; Mathew, L. Prediction of Pulmonary Diseases With Electronic Nose Using SVM and XGBoost. _IEEE Sens._ _J._ 2021, _21_, 20886–20895. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2021.3100390) 32. de la Rica-Martinez, A.; Martínez-Muñoz, G.; Sanjuan, M.A.; Conesa-Celdrán, A.; Garcia-Moreno, L.; Estan-Cerezo, G.; Oates, M.J.; Gonzalo-Jimenez, N.; Ruiz-Canales, A. Low-Cost Electronic Nose for the Determination of Urinary Infections. _Sensors_ 2024, _24_, 157. [[CrossRef]](http://dx.doi.org/10.3390/s24010157) 33. Li, Z.; Yu, J.; Dong, D.; Yao, G.; Wei, G.; He, A.; Wu, H.; Zhu, H.; Huang, Z.; Tang, Z. E-nose based on a high-integrated and low-power metal oxide gas sensor array. _Sens._ _Actuators B_ 2023, _380_, 133289. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2023.133289) 34. Güney, S.; Atasoy, A. Multiclass classification of n-butanol concentrations with k-nearest neighbor algorithm and support vector machine in an electronic nose. _Sens._ _Actuators B_ 2012, _166–167_, 721–725. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2012.03.047) 35. Qian, J.; Tian, F.; Luo, Y.; Lu, M.; Zhang, A. A Novel Multisensor Detection System Design for Low Concentrations of Volatile Organic Compounds. _IRE Trans._ _Ind._ _Electron._ 2022, _69_, 5314–5324. [[CrossRef]](http://dx.doi.org/10.1109/TIE.2021.3080218) 36. Robertson, H.T. Dead space: the physiology of wasted ventilation. _Eur._ _Respir._ _J._ 2014, _45_, 1704–1716. [[CrossRef]](http://dx.doi.org/10.1183/09031936.00137614) 37. Gertler, R. Respiratory Mechanics. _Anesthesiol._ _Clin._ 2021, _39_, 415–440. [[CrossRef]](http://dx.doi.org/10.1016/j.anclin.2021.04.003) 38. Gray, J.S.; Grodins, F.S.; Carter, E.T. Alveolar and Total Ventilation and the Dead Space Problem. _J. Appl._ _Physiol._ 1956, _9_, 307–320. [[CrossRef]](http://dx.doi.org/10.1152/jappl.1956.9.3.307) 39. Petersson, J.; Glenny, R.W. Gas Exchange in the Lung. _Semin._ _Respir._ _Crit._ _Care Med._ 2023, _44_, 555–568. [[CrossRef]](http://dx.doi.org/10.1055/s-0043-1770060) _Micromachines_ 2025, _16_, 463 17 of 17 40. Xu, J.; Zhang, J.; Feng, L.; Qiu, J. Self-rated health of population in southern China: Association with socio-demographic characteristics measured with multiple-item self-rated health measurement scale. _BMC Public Health_ 2010, _10_, 393. [[CrossRef]](http://dx.doi.org/10.1186/1471-2458-10-393) 41. Wannamethee, G.; Shaper, A.G. Self-assessment of Health Status and Mortality in Middle-Aged British Men. _Int._ _J. Epidemiol._ 1991, _20_, 239–245. [[CrossRef]](http://dx.doi.org/10.1093/ije/20.1.239) 42. Parissis, J.T.; Nikolaou, M.; Farmakis, D.; Paraskevaidis, I.A.; Bistola, V.; Venetsanou, K.; Katsaras, D.; Filippatos, G.; Kremastinos, D.T. Self-assessment of health status is associated with inflammatory activation and predicts long-term outcomes in chronic heart failure. _Eur._ _J. Heart Fail._ 2009, _11_, 163–169. [[CrossRef]](http://dx.doi.org/10.1093/eurjhf/hfn032) 43. Luo, H.; Jia, P.; Qiao, S.; Duan, S. Enhancing electronic nose performance based on a novel QPSO-RBM technique. _Sens._ _Actuators_ _B_ 2018, _259_, 241–249. [[CrossRef]](http://dx.doi.org/10.1016/j.snb.2017.12.026) 44. Zhou, Y.; Zhang, T.; Hu, J. System Design and SVM Identification Algorithm for the Ultrasonically Catalyzed Single-Sensor E-Nose. _IEEE Trans._ _Instrum._ _Meas._ 2022, _71_, 1–9. [[CrossRef]](http://dx.doi.org/10.1109/TIM.2022.3162280) 45. Hendrick, H.; Hidayat, R.; Horng, G.J.; Wang, Z.H. Non-Invasive Method for Tuberculosis Exhaled Breath Classification Using Electronic Nose. _IEEE Sens._ _J._ 2021, _21_, 11184–11191. [[CrossRef]](http://dx.doi.org/10.1109/JSEN.2021.3061616) 46. Gu, S.; Chen, W.; Wang, Z.; Wang, J.; Huo, Y. Rapid detection of Aspergillus spp. infection levels on milled rice by headspace-gas chromatography ion-mobility spectrometry (HS-GC-IMS) and E-nose. _LWT_ 2020, _132_, 109758. [[CrossRef]](http://dx.doi.org/10.1016/j.lwt.2020.109758) 47. Capman, N.S.S.; Zhen, X.V.; Nelson, J.T.; Chaganti, V.R.S.K.; Finc, R.C.; Lyden, M.J.; Williams, T.L.; Freking, M.; Sherwood, G.J.; Bühlmann, P.; et al. Machine Learning-Based Rapid Detection of Volatile Organic Compounds in a Graphene Electronic Nose. _ACS Nano_ 2022, _16_, 19567–19583. [[CrossRef]](http://dx.doi.org/10.1021/acsnano.2c10240) 48. Guo, D.; Zhang, D.; Li, N.; Zhang, L.; Yang, J. A Novel Breath Analysis System Based on Electronic Olfaction. _IEEE Trans._ _Biomed._ _Eng._ 2010, _57_, 2753–2763. [[CrossRef]](http://dx.doi.org/10.1109/TBME.2010.2055864) 49. Li, W.; Liu, H.; Xie, D.; He, Z.; Pi, X. Lung Cancer Screening Based on Type-different Sensor Arrays. _Sci._ _Rep._ 2017, _7_, 1969. [[CrossRef]](http://dx.doi.org/10.1038/s41598-017-02154-9) 50. Tirz¯ıte, M.; Bukovskis, M.; Strazda, G.; Jurka, N.; Taivans, I. Detection of lung cancer in exhaled breath with an electronic nose using support vector machine analysis. _J. Breath Res._ 2017, _11_, 036009. [[CrossRef]](http://dx.doi.org/10.1088/1752-7163/aa7799) 51. Fernandes, M.P.; Venkatesh, S.; Sudarshan, B.G. Early Detection of Lung Cancer Using Nano-Nose—A Review. _Open Biomed._ _Eng._ _J._ 2015, _9_, 228–233. [[CrossRef]](http://dx.doi.org/10.2174/1874120701509010228) Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

섹션 본문 56문단 · 34,803자

(제목 없음)

1End-tidal breath gases originate deep within the lungs, and their composition is an especially accurate reflection of the body's metabolism and health status.Therefore, accurate collection of end-tidal breath gases is crucial to enhance electronic noses' performance in breath detection.Regarding this issue, this study proposes a novel electronic nose system and employs a threshold control method based on exhaled gas flow characteristics to design a gas collection module.The module monitors real-time gas flow with a flow meter and integrates solenoid valves to regulate the gas path, enabling automatic collection of end-tidal breath gas.In this way, the design reduces dead space gas contamination and the impact of individual breathing pattern differences.The sensor array is designed to detect the collected gas, and the response chamber is optimized to improve the detection stability.At the same time, the control module realizes automation of the experiment process, including control of the gas path state, signal transmission, and data storage.Finally, the system is used for breath detection.We employ classical machine learning algorithms to classify breath samples from different health conditions with a classification accuracy of more than 90%, which is better than the accuracy achieved in other studies of this type.This is due to the improved quality of the gas we extracted, demonstrating the superiority of our proposed electronic nose system.

Introduction

2Exhaled breath analysis is a method used in medical research and clinical detection.Human exhaled breath contains diverse volatile organic compounds (VOCs) and other gas molecules [1].These molecules contain important information about the human body.The identification of disease-specific biomarkers enables health monitoring and disease prediction [2,3].The metabolite profile of the human body in a disease state is different from that in the normal state.For example, elevated levels of methane and hydrogen are observed in patients with gastrointestinal disorders [4], and increased carbon monoxide concentrations are found in patients with respiratory diseases [5].Disease conditions frequently induce intricate interrelationships among exhaled gas components.A precise understanding of the molecular composition of exhaled gases could significantly enhance diagnostic capabilities.However, the inherent complexity of these interactions poses challenges for accurate measurement and quantification, underscoring the need for advanced analytical tools.The electronic nose, fitted with an array of gas sensors corresponding to the characteristics of the gas composition to be measured [6,7], offers a sophisticated tool for analyzing breath composition.By combining the 'gas fingerprint' information output from the sensors with pattern recognition algorithms, the electronic nose can identify [8,9], detect [10,11], and quantify [12,13] the exhaled gas.Furthermore, this approach compensates for the cross-sensitivity issue of a single sensor.The advancements in gas sensor technology and artificial intelligence have accelerated the evolution of electronic noses for exhaled breath tests.Their noninvasive detection methods offer rapid and convenient diagnosis [14][15][16][17][18].

3Human exhaled gas consists of end-tidal breath gases and dead space gases.End-tidal breath gases have completed gas exchange with the blood in the alveoli and provide more clinically relevant information about the body's physiological state [19].On the other hand, dead space gases do not participate in gas exchange during each breath, and they are mainly present in the anatomic dead space area, i.e., from the nose and mouth to the terminal bronchioles.The dead space gas's composition is similar to that of the ambient air [20].Therefore, breath analysis experiments should mitigate the influence of dead space gases to ensure the accuracy of results.Most existing studies do not consider this factor.Although a limited number of approaches have been proposed to address this issue, they all have different limitations.

4Hao et al. [21] employed an electronic nose to analyze VOCs in breathed gas for lung cancer detection.In their study, subjects exhaled into a Tedlar bag.Since no exogenous VOCs in the physiological dead space were removed, the concentration of the targeted gas components was significantly reduced.To reduce the effects of dead space gases, Castellanos and Capuano et al. [22,23] proposed that subjects should first exhale part of the gas into the surrounding air and then exhale the remaining gas into the Tedlar bag [24].This approach relies on subjective experience to remove dead space gas, which results in low efficiency and large errors.Grabowska-Polanowska and Mieth et al. [25][26][27] proposed using a carbon dioxide (CO2) sensor to differentiate and exclude dead space gases.However, water vapor in human exhaled gas can significantly impair the CO2 sensor's detection accuracy.Additionally, squeezing the Tedlar bag is the conventional method of introducing the gas into the sensor chamber during the detection procedure.Different squeezing methods and strengths typically result in the issue of uncontrollable airflow [28].Some studies have managed to control airflow by redesigning the chamber structure and introducing devices such as vacuum pumps.These solutions are complex and require frequent adjustments.Therefore, there is a pressing need to improve the system structure design and control mechanisms of traditional electronic nose systems.

5In this study, we proposed a novel electronic nose system.The system incorporates a gas collection path based on a threshold separation standard, combining solenoid valves with a gas flow meter to ensure precise collection of end-tidal breath gases.Additionally, by optimizing the layout and control mechanisms between modules, we achieved autonomous control of the experimental process, eliminating issues with unsteady airflow.To validate the system's performance, we selected the corresponding sensors according to the physical condition of the subjects to form the sensor array and conducted a human health status classification experiment, using machine learning algorithms (including Linear Discriminant Analysis (LDA) [29,30], Support Vector Machine (SVM) [31,32], K Nearest Neighbor (KNN) [33,34], and Random Forest (RF) [35]) to process the data.The experiment produced improved accuracy compared to related experiments.The results further verified the advantages of this system.

Electronic Nose Device

6A structural diagram of the proposed electronic nose system is shown in Figure 1.The gas collection module consists of a mouthpiece, flow meter, solenoid valve, gas container, activated carbon filter, and vacuum pump.This setup enables the collection of the exhaled gases and the cleaning of the gas path.The sensor array, a crucial part of the detection module, is made of sensors that are sensitive to the target components in exhaled gases.Our test subjects were all young adults, averaging around 23 years old, with no major health conditions.Therefore, in assessing health status, we primarily focused on common ailments such as colds, diarrhea, and coughs, which involve the lungs, airways, digestive system, metabolic function, and certain chronic diseases.Based on the correlation between specific exhaled gas components and these health conditions, we carefully selected appropriate sensors-all of which were metal oxide semiconductor sensors (Weisheng, Zhengzhou, China).Digestive system disorders can be identified through exhaled gases such as hydrogen, methane, and hydrogen sulfide.To detect these gases, we utilized sensors such as MQ-138, MQ-8, MQ-136, MP-35, and MQ-4B, which exhibit high sensitivity to these compounds.Similarly, lung and airway diseases can be monitored by analyzing exhaled gases such as carbon monoxide and propane.For this purpose, we employed MQ-5, MQ-7B, MQ-9, and MP-135 sensors, which are particularly responsive to these gases.Additionally, metabolic disorders can be tracked through exhaled biomarkers such as acetone and ethanol, for which we selected MQ-138, WSP2110, and MP-135 sensors due to their sensitivity to these substances.Details on the sensors and the gases they detect are shown in Table A1.The system control module manages the gas path states and data transmission.The control module consists of a relay, a solenoid valve, a flow meter, a data acquisition board, a power module, and host computer software.Through systematic structural design, each module is optimally integrated to meet various functional requirements.The gas container is directly connected to the sensor chamber through a solenoid valve, and the process of the collected gas entering the chamber is completely isolated from the external environment.This design prevents the introduction of ambient VOCs, thereby maintaining the integrity of the sample.This real-time dynamic process also prevents condensation caused by the gas remaining in the gas container for too long.

Gas Collection Module Design and Methodology

7During a full exhalation, the ratio of end-tidal breath gas to dead space gas is approximately 7:3 [1].This relationship can be verified using the Bohr equation [36], which leverages the dilution effect of carbon dioxide partial pressure.Since dead space gas does not participate in gas exchange, it does not absorb carbon dioxide from the blood; endtidal breath gas is the sole component actively involved in this process.By measuring the difference between the partial pressure of carbon dioxide in exhaled gas and that in arterial blood, the proportion of dead space gas within the full exhalation can be accurately determined.Through extensive experimentation and analysis, it has been determined that dead space gas typically constitutes around 30% of an individual's total exhaled gas [37], while end-tidal breath gas accounts for 70%.This corresponds to an end-tidal breath gas to dead space gas ratio of approximately 7:3.This finding has also been corroborated by anatomical studies [38].Rohrer et al. reported that the volume of anatomical dead space is approximately 150 mL, whereas the total exhaled gas volume is around 500 mL.Today, this conclusion is widely recognized and applied in the field of respiratory medicine [39].Based on this feature, a complete gas collection path was designed using the ratio of dead space gas to end-tidal breath gas content as the separation criterion (Figure 2).Since spirometry varies between subjects, setting the same separation threshold for all would result in significant errors.To address this, a pre-experiment should be conducted for each subject to determine their corresponding threshold before gas collection.

8In the gas collection path, a flow meter is installed between the mouthpiece and solenoid valve A. We utilize a high-precision MENS series gas flow meter with a measuring range of 0 to 500 L/min and a working pressure of below 1 MPa.The measurement accuracy is within ±1% FS, ensuring reliable performance.The flow meter features a compact design, with a height of 12 cm, a length of 9 cm, and a width of 3.5 cm, making it well suited for integration into the electronic nose system.It measures the exhaled gas flow and transmits the flow data to the host computer.The solenoid valve is a three-way valve of the FQY-23 series with polytetrafluoroethylene (PTFE) internal components.One end of the valve is connected to an activated carbon molecular sieve, which filters out interfering gases from the ambient air during the cleaning of the device, The other two ends are used to control the opening and closing of the gas line to the gas container.The internal connections and the gas container are also made of PTFE tubes.PTFE exhibits extremely high chemical inertness and does not adsorb volatile compounds from the sample gas.A vacuum pump is employed to generate a negative-pressure environment to clean the device.

9The gas collection path has three states: a cleaning state, a dead space gas removal state, and an end-tidal breath gas collection state.During the cleaning state, external air enters the device from the port of the activated carbon molecular to clean the system.This process cleanses the system by flushing out residual gases and contaminants, preparing the device for accurate sampling.During the dead space gas removal state, the anterior gas exhaled by the human body enters the collection device from the left side and exits through the right side.This ensures that dead space gases are excluded from subsequent analysis.During the collection state, the subsequent exhaled gas enters from the left side and is stored in the gas container.The solenoid valve connects its left port to the right port when powered and connects its upper port to the right port when not powered.

10The schematic diagram of gas distribution and flow change in the gas path in the end-tidal breath gas collection state is shown in Figure 2. At this stage, the gas flow value is lower than the threshold value, and the dead space gas has all been discharged through the gas path.The end-tidal breath gases are stored in the gas container, where it is compressed to achieve enrichment as the gas accumulates.

Sensor Chamber Design

11The design of a stable and controlled chamber is critical for improving the accuracy of gas detection.The chamber is made of PTFE material, which is chemically stable and non-toxic and does not produce interfering gas molecules.To improve chamber tightness, a grooved design at the top cover is used to secure the fit between the cover and the chamber body.The size of the response space of the chamber is minimized to prevent the response space from being too large for adequate contact between the gas and the sensor.In addition, considering gas dynamics, all corners within the chamber are rounded to reduce dead space and facilitate the cleaning and detection processes.The electronic nose circuit board is placed inside the chamber, with the sensor array facing downwards, 3 mm away from the bottom.

System Control Flow

12In the electronic nose control system, the host computer is the primary control unit, communicating with the actuating components (solenoid valve and vacuum pump) via a data acquisition board.The system operation is divided into two stages: the pre-experiment stage and the formal experiment stage (Figure 3).During the pre-experiment stage, the subject exhales a complete breath sample into the collection device.The host computer reads the data from the flow meter and calculates the threshold value; this process is repeated three times to take the average value as the final threshold value output.In the formal experiment stage, the host computer first activates the vacuum pump to clean the gas path and then switches the collection device to the dead space gas removal state.The subject begins exhalation, and when the gas flow drops below the preset threshold, the device automatically transitions to the end-tidal breath gas collection state.Once exhalation ends, the device switches to the detection state, directing the gas into the chamber.The sensor array then outputs response data, which is transmitted to the host computer for storage.This automated control process enhances experimental efficiency and minimizes human error.

13A 10-min break is scheduled between the pre-experimental stage and the formal experimental stage to allow the subject's lung gas concentration to return to a stable level.This rest period helps minimize bias caused by biomarker consumption, ensuring that the exhaled gas collected during the formal experiment is more representative and consistent.

14To ensure that the gas enters the sensor chamber at a constant flow rate and reduces the impact of airflow fluctuations on sensor accuracy, a PWM-controlled vacuum pump is used in this setup.Pulse Width Modulation (PWM) is a technique that utilizes the digital output of a microprocessor to control analog circuits.It has two key adjustable parameters: frequency and duty cycle.The frequency defines how many times the signal transitions from high to low and back to high per second, while the duty cycle represents the proportion of time the signal remains at a high level within one cycle.At a fixed frequency, varying the duty cycle allows different analog output voltages.Consequently, most motors regulate their speed by adjusting the duty cycle-the higher the duty cycle, the faster the motor speed.In this experiment, we reduced the duty cycle of vacuum pump E when transitioning from the cleaning state to the detection state.During the cleaning phase, a higher duty cycle was used to enhance efficiency and cleaning quality.However, in the detection phase, the motor must create a negative pressure environment within the detection chamber to introduce the sample gas.If the gas flow rate is too high, the sample may not have sufficient contact with the sensor, affecting the diffusion and adsorption of gas molecules on the sensor's sensitive layer, ultimately leading to detection errors.To mitigate this issue, we lowered the duty cycle during this stage.Once the experiment enters the detection state, the vacuum pump's speed is decreased by lowering the duty cycle of the PWM wave.

Detection Module Circuit Design

15The electronic nose circuit board is composed of two primary sections: the power supply circuit and the sensor peripheral circuit.As most sensors in the system require a 5 V heating voltage and a reference voltage, a 5 V switching power supply circuit (Figure 4c) and a reference power supply circuit (Figure 4b) are designed to meet these requirements.The 5 V switching power supply, utilizing a TPS56528 chip (YouXin Electronic, Shenzhen, China), operates with an input voltage range of 4.5-18 V, an output voltage range of 0.6-7 V, a switching frequency of 650 kHz, and an output current capacity of 5 A. The reference power supply uses a REF5050 chip (YouXin Electronic, Shenzhen, China) to provide the necessary operating voltage for the sensors.Additionally, for sensors such as the MP9 used in methane gas detection, which require a heating voltage of 1.5 V ± 0.1 V, an adjustable switching power supply circuit is also designed (Figure 4d).The adjustable switching power supply circuit employs a TPS562200 chip (YouXin Electronic, Shenzhen, China).According to the special operating temperature conditions of the sensor, it is heated one minute before detection.The sensor peripheral circuit is shown in Figure 4a, the response output from the short-circuited pins 4 and 6 is transmitted to the data acquisition board for digital signal conversion.

Experimental Design

16We established strict experimental procedures and precautions for the classification of human health conditions.A self-assessed health rating scale was used for quantitative analysis [40], and the questions set in the scale are shown in Table A2.Each question is rated on a scale from 0 to 10, with a total of 11 levels.Participants assign scores based on their own condition, where a lower score indicates a more severe presence of the associated disease.The final score is calculated as the sum of the six individual question scores.Based on this total score, health status is classified into three levels: below 45 is considered "poor", 46 to 55 is classified as "good", and 56 or above is rated as "excellent".Self-assessed health rating scale is a subjective evaluation of an individual's health status, and researches have indicated that it is strongly correlated with the actual health status [41], which can reflect the health level of the organism [42].In addition, human health conditions were classified using our designed electronic nose in conjunction with some machine learning algorithms [33].

17To control confounding factors, the selected subjects were all 23 years old, had no major diseases, and had no unhealthy habits (smoking, drinking, etc.).In addition, relevant experimental steps were designed to avoid the influence of exercise, medication, disease, and diet on the exhalation spectrum.The experiment lasted for ten days, and a total of 115 sets of data were collected.All subjects were notified of the purpose of the experiment in advance and signed informed consent forms.

18The complete experimental procedure consisted of five stages: determination of the separation threshold, gas path cleaning, gas collection, sample detection, and data processing.To minimize the impact of temperature, we preheated the sensor before detection using a designed power supply circuit, ensuring that the sensor reached its optimal operating temperature.To reduce the influence of humidity, we continuously purged the detection chamber with gas until it reaches the detection state, maintaining a ventilated environment to prevent water vapor condensation.Firstly, the total amount of exhaled gas can be calculated from the flow value data:

Determination of the Separation Threshold

19where Q is the value of the gas flow, V 1 is the volume of end-tidal breath gas, and V 2 is the volume of dead space gas.Equation ( 2) is used to determine the volume of V 2 , and Equation ( 3) is used to determine the time point t 1 at which all of the dead space gas has passed through the flow meter.

20The distribution of gas in the collection device at the moment t 1 is shown in Figure 6.To accurately collect the end-tidal breath gas, it is necessary to combine the volume of the gas container to solve for the time point t 2 when all the dead space gas passes through solenoid valve B. The method is given in the following equation:

21where V 3 is the volume of the gas container and the flow value at time t 2 is the separation threshold.

Data Feasibility Analysis and Preprocessing

22To investigate the differences in the patterns of sensor data under different health conditions, this study selected the integral ratio of the output data from each sensor as the feature and plotted the box plot shown in Figure 7.When comparing the box plots of different sensors under the same health condition, clear differences between the sensors are observed.This result shows that each sensor responds differently to specific gas compositions.Focusing on the box plots of the same sensor under different health conditions, in terms of the measured data's median, mean, and interquartile range, there are notable variations in the data distribution across different health conditions.These differences demonstrated that the electronic nose system can differentiate between distinct health statuses effectively.The raw signal collected during the measurement is the analog voltage output from each gas sensor.Because changes in temperature and humidity in the environment may affect the performance of the sensor, this study uses the conductivity ratio instead of the raw sensor voltage.Additionally, this study employs multiple sensors in an array, each with varying original voltage outputs.By using the conductivity ratio as a standardized index, data from different sensors can be normalized onto the same scale, facilitating data fusion, subsequent processing, and machine learning modeling.The formula of conductivity ratio is shown in Equation ( 5).

23R g = G gas /G air (5) where G air is the conductivity value in clean air and G gas is the conductivity value in the measured gas.

24To effectively remove data noise and reduce redundant information, we performed the following preprocessing steps on the collected data.First, we employed mean filtering to reduce noise in the original data.Next, we extracted five features, including the integration ratio, the maximum location, the maximum first-order derivative, and two frequencydomain eigenvalues.

Classification and Model Validation

25Electronic nose breath detection experiments frequently employ classical machine learning algorithms such as LDA, SVM, RF, and KNN, which perform exceptionally well when handling non-linear data.In this study, these traditional algorithms were employed to facilitate comparisons with similar experiments and validate the effectiveness of the electronic nose device in collecting end-tidal breath gases.Traditional machine learning algorithms are inefficient when dealing with high-dimensional data, and overfitting may occur.To solve this challenge, we combined dimension reduction method to process the data.First, the extracted five feature value data are processed using the LDA method for dimensionality reduction, reducing the original 50-dimensional features to 2-dimensional.The resulting 2-dimensional data are then fed into SVM, RF, and KNN models for classification [43].The models' performance was assessed using classification accuracy, recall, precision, and the F1 score.While accuracy reflects overall correctness, recall, precision, and F1 score provide more reliable evaluation in imbalanced health testing tasks by emphasizing missed detections, false positives, and the balance between them.

26In addition to LDA for dimensionality reduction, the PCA method was also applied to reduce the original 50 dimensions of the feature data to 3 dimension.The reduced data were then fed into the classification model for validation.However, the classification results after PCA dimensionality reduction were not satisfactory due to the nonlinear nature of the electronic nose data.The data distribution after PCA dimensionality reduction is shown in Figure A1, and the corresponding classification results are presented in Table A3.

27LDA projects each sample x i ∈ R 50 of the 50-dimensional feature data to 2 dimensions, and finds the optimal projection basis vectors (ω 1 , ω 2 ) that maximizes the separation between classes for projection to 2 dimensions.S w is the total within-class scatter matrix and S b is the between-class scatter matrix.The formula is as follows:

28In the above equation, C j is the sample of the jth class and µ j is the mean vector of the sample of the jth class.To maximize the ratio of between-class scatter to within-class scatter, it is converted to the following equation:

29This is transformed into the following feature-solving problem in the following equation:

30The eigenvectors (ω 1 , ω 2 ) corresponding to the first two largest eigenvalues are selected and the data are projected to obtain the following data output:

31The distribution of the data after LDA dimensionality reduction is shown in Figure 8.The complexity of the data is reduced while the most discriminative features are extracted.The dimensionality-reduced data are then fed into the classification model for classification.SVM seeks to identify the optimal hyperplane that divides different data classes by maximizing the margin between them [44].We start with the given training samples: T = {(x 1 , y 1 ), (x 2 , y 2 ), ..., (x i , y i )} (11) where x i is the ith feature vector and y i is the class marker; here, x i ∈ R 2 , i = 1, 2, 3, ..., N y i ∈ {−1, +1}, i = 1, 2, 3, ..., N; when the class marker is equal to +1, it is a positive case, and when it is equal to −1, it is a negative case.We classify them using the following linear function:

32The primary objective of the support vector machines is to minimize the objective function:

33For the nonlinear problem in this experiment, the data are mapped to a higher dimensional space by introducing a kernel function to find a linearly divisible hyperplane in the higher dimensional space.The model's decision function is

34where K(x i , x) is the kernel function, the radial basis kernel function (RBF) is selected as the kernel function of the model after experimental validation with the specific formulae into the following:

35Since this experiment is a multi-classification problem, a 'one-vs.-one'approach is adopted to establish a multi-classification model, n(n−1) 2 support vector machines are constructed, and each support vector machine is trained with two different categories of data.The final classification result is determined through a majority voting mechanism [45].The performance of an SVM heavily relies on the hyperparameter settings, and if the c and γ parameters are not properly combined, the model may suffer from overfitting or underfitting.Therefore, this study uses Genetic Algorithm (GA) to determine the optimal hyperparameters of the SVM model.Each individual in the population represents a set of candidate parameters and its fitness value is calculated by a fitness function to measure the merit of this parameter combination.The genetic algorithm gradually finds the individual with the best fitness value through operations such as selection, crossover, and mutation.As shown in Figure 9, the SVM model reaches the highest performance after 7 generations of GA execution.

36To verify the effectiveness of genetic algorithm optimization, we randomly selected five sets of parameter combinations within the same parameter range as the optimization algorithm as the parameters before optimization for comparative validation.The classification results are shown in Table 1.KNN works on the principle of classification based on the similarity between sample points.Firstly the sample to be classified is fed into the model and we use Euclidean distance to calculate its distance to the sample points in the training set.The formula is as follows:

37A set containing the distances from all sample points in the training set to x ′ is generated:

38The K neighbors with the smallest distances are selected from the distance set D ′ to determine the class of the sample [46].

39RF forms a forest by building multiple decision trees [47].Different decision trees are independent to each other, and when a new sample is input, each decision tree in the forest is allowed to make a classification judgment separately.The final result is decided by 'voting' of all trees.

40We used five-fold cross-validation to split the dataset into five subsets for training and testing.Table 2 presents the classification results of three algorithms on the test samples.

41The experimental results show that the classification accuracy of all three algorithms is greater than 90%, indicating that our electronic nose system can effectively differentiate different health conditions in the human body.Besides, the recall of each category is also above 88%.The F1 score combines the precision and recall of the model, and the results of each category are higher than 89%, which effectively excludes the influence of category imbalance on the assessment of the model's real performance.Many existing studies used electronic noses for breath testing, often using algorithms such as KNN, RF, LDA, and SVM to process the data [12,[48][49][50][51].They have shown successful results in differentiating between diseases such as diabetes, renal disorders, airway diseases, and cancer.However, the classification accuracies of these studies were between 70% and 90%.In contrast, we have achieved significantly better experimental results in this study.The reason lies in the optimal design of the collection module of the electronic nose system.By correlating the exhaled gas flow with the gas separation threshold and conducting a pre-experiment to account for inter-subject variations in lung capacity, we ensured a precise collection of end-tidal breath gases, which are more directly related to human health status.This method improves the quality and representativeness of the experimental data from the source, providing a strong foundation for accurate and reliable classification results.

Conclusions

42This study designed an electronic nose system that can automatically collect endtidal breath gases and predict the subject health condition from the collected gas with high accuracy.A threshold separation method based on expiratory flow characteristics was proposed.Based on this method combined with the solenoid valve to control the gas path state, accurate end-tidal breath gas collection was achieved.Structural and control method improvements further minimized external interference and allowed for full automation of the experimental process.Breath tests were performed on subjects with different health conditions and the data were processed using LDA-SVM, LDA-RF, and LDA-KNN classification algorithms.The results show that the classification accuracies of the test set are over 90%, outperforming similar studies.With the same experimental process and classification algorithms, the excellent performance of this study is mainly due to the enhancement of the raw data collection stage, where we successfully isolated the end-tidal breath gases that are more representative of the human health condition.Compared to other existing studies, we have a higher accuracy of end-tidal breath gas collection by the proposed threshold separation method.

43In summary, the electronic nose system developed in this study shows strong potential for end-tidal breath gas collection and health status classification.Because the samples collected are of higher quality and the differences between individuals are more clearly expressed, it is easier for the model to learn the characteristic patterns that are truly associated with the target disease, rather than noise or confounding factors.Moreover, the signal intensity of VOCs in the end-tidal breath gas is more concentrated, and the eigenvalue data are more prominent, which further improves the performance of the model.To further enhance detection performance, future research will integrate pulse monitoring devices and heart rate testing equipment, utilizing data fusion techniques to provide more comprehensive and accurate monitoring of human health status.Additionally, deep learning methods will be introduced to handle larger and more diverse datasets resulting from the fusion process.Moreover, the system's structural design will be further optimized by incorporating a microcontroller to enhance portability and adaptability.

Figure 1 .

44Figure 1.Structural diagram of electronic nose system.

Figure 2 .

45Figure 2. Schematic diagram of end-tidal breath gas collection state.

Figure 3 .

46Figure 3. System control flow chart.

Figure 4 .

47Figure 4. (a) Sensor peripheral circuit; (b) reference power supply circuit; (c) 5 V switching power supply circuit; (d) adjustable switching power supply circuit.

Figure 5

48Figure 5 presents a schematic diagram of the expiratory flow versus time curve during the pre-experiment stage.The threshold value for each subject can be determined using the threshold separation criterion.The vertical coordinate at the threshold point in the figure represents the required threshold value.The specific method is as follows:

Figure 5 .

49Figure 5. Schematic diagram of the expiratory flow-time curve.

Figure 6 .

50Figure 6.Gas distribution at time t 1 .

Figure 7 .

51Figure 7. (a) Sensor 1-5 response data box plot.(b) Sensor 6-10 response data box plot.

Figure 8 .

52Figure 8. Results of LDA dimensionality reduction.

Figure 9 .

53Figure 9.The graph illustrating the optimization of SVM parameters using GA.

Table 1 .

54Comparison of classification accuracy before and after optimization.

55Parameter Combination (c,γ) (0.01,1) (0.1,1) (1,1) (1,10) (10,100) GA(1,0.2)

Table 2 .

56Classification results of three algorithms for different health conditions.

참고문헌 50건

  1. Design and development of a metal oxide based electronic nose for spoilage classification of beef Sensors and Actuators B Chemical · Elsevier BV · 2006 10.1016/j.snb.2005.03.120
  2. Human breath-print identification by E-nose, using information-theoretic feature selection prior to classification Sensors and Actuators B Chemical · Elsevier BV · 2014 10.1016/j.snb.2014.09.115
  3. Evaluation of potential breath biomarkers for active smoking: assessment of smoking habits Analytical and Bioanalytical Chemistry · Springer Science+Business Media · 2010 10.1007/s00216-010-3524-z
  4. Multiclass classification of n-butanol concentrations with k-nearest neighbor algorithm and support vector machine in an electronic nose Sensors and Actuators B Chemical · Elsevier BV · 2012 10.1016/j.snb.2012.03.047
  5. Alveolar Air and Urine Analyses As Biomarkers of Exposure to Trihalomethanes in an Indoor Swimming Pool Environmental Science & Technology · American Chemical Society · 2008 10.1021/es800415p
  6. Differences between Alveolar Air and Mouth Air Analytical Chemistry · American Chemical Society · 2007 10.1021/ac062009a
  7. Self-Assessment of Health Status is Associated with Inflammatory Activation and Predicts Long-Term Outcomes in Chronic Heart Failure European Journal of Heart Failure · Elsevier BV · 2009 10.1093/eurjhf/hfn032
  8. Analyte-Dependent Sensing Mechanisms: The Fabrication and Characterization of a 32-Channel Array of SWCNT-TF Chemiresistive Sensors IEEE Nanotechnology Magazine · Institute of Electrical and Electronics Engineers · 2014 10.1109/mnano.2014.2313211
  9. Development and application of a new electronic nose instrument for the detection of colorectal cancer Biosensors and Bioelectronics · Elsevier BV · 2014 10.1016/j.bios.2014.10.044
  10. Detection of potential chronic kidney disease markers in breath using gas chromatography with mass-spectral detection coupled with thermal desorption method Journal of Chromatography A · Elsevier BV · 2013 10.1016/j.chroma.2013.05.012
  11. Automated Needle Trap Heart-Cut GC/MS and Needle Trap Comprehensive Two-Dimensional GC/TOF-MS for Breath Gas Analysis in the Clinical Environment Analytical Chemistry · American Chemical Society · 2010 10.1021/ac100061k
  12. Self-rated health of population in southern China: association with socio-demographic characteristics measured with multiple-item self-rated health measurement scale BMC Public Health · BioMed Central · 2010 10.1186/1471-2458-10-393
  13. A Novel Breath Analysis System Based on Electronic Olfaction IEEE Transactions on Biomedical Engineering · Institute of Electrical and Electronics Engineers · 2010 10.1109/tbme.2010.2055864
  14. Dead space: the physiology of wasted ventilation European Respiratory Journal · European Respiratory Society · 2014 10.1183/09031936.00137614
  15. Exhaled breath volatile biomarker analysis for thyroid cancer Translational research · Elsevier BV · 2015 10.1016/j.trsl.2015.01.005
  16. Endogenous carbon monoxide production correlates weakly with severity of acute illness European Journal of Anaesthesiology · Lippincott Williams & Wilkins · 2006 10.1017/s0265021505002012
  17. Self-assessment of Health Status and Mortality in Middle-Aged British Men International Journal of Epidemiology · Oxford University Press · 1991 10.1093/ije/20.1.239
  18. <i>Alveolar and Total Ventilation and the Dead Space Problem</i> Journal of Applied Physiology · American Physiological Society · 1956 10.1152/jappl.1956.9.3.307
  19. Early Detection of Lung Cancer Using Nano-Nose - A Review The Open Biomedical Engineering Journal · Bentham Science Publishers · 2015 10.2174/1874120701509010228
  20. Breath gas concentrations mirror exposure to sevoflurane and isopropyl alcohol in hospital environments in non-occupational conditions Journal of Breath Research · IOP Publishing · 2016 10.1088/1752-7155/10/1/016001
  21. Chemiresistive Electronic Nose toward Detection of Biomarkers in Exhaled Breath ACS Applied Materials & Interfaces · American Chemical Society · 2016 10.1021/acsami.6b03256
  22. Lung Cancer Screening Based on Type-different Sensor Arrays Scientific Reports · Nature Portfolio · 2017 10.1038/s41598-017-02154-9
  23. Detection of lung cancer in exhaled breath with an electronic nose using support vector machine analysis Journal of Breath Research · IOP Publishing · 2017 10.1088/1752-7163/aa7799
  24. Exhaled breath analysis using electronic nose and gas chromatography–mass spectrometry for non-invasive diagnosis of chronic kidney disease, diabetes mellitus and healthy subjects Sensors and Actuators B Chemical · Elsevier BV · 2017 10.1016/j.snb.2017.10.178
  25. Breath methane concentrations and markers of obesity in patients with functional gastrointestinal disorders United European Gastroenterology Journal · Wiley · 2017 10.1177/2050640617744457
  26. Enhancing electronic nose performance based on a novel QPSO-RBM technique Sensors and Actuators B Chemical · Elsevier BV · 2017 10.1016/j.snb.2017.12.026
  27. Non-Invasive Diagnosis of Diabetes by Volatile Organic Compounds in Urine Using FAIMS and Fox4000 Electronic Nose Biosensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/bios8040121
  28. Use of Electronic Noses for Diagnosis of Digestive and Respiratory Diseases through the Breath Biosensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/bios9010035
  29. Wireless E-Nose Sensors to Detect Volatile Organic Gases through Multivariate Analysis Micromachines · Multidisciplinary Digital Publishing Institute · 2020 10.3390/mi11060597
  30. Rapid detection of Aspergillus spp. infection levels on milled rice by headspace-gas chromatography ion-mobility spectrometry (HS-GC-IMS) and E-nose LWT · Elsevier BV · 2020 10.1016/j.lwt.2020.109758
  31. A miniaturized electronic nose with artificial neural network for anti-interference detection of mixed indoor hazardous gases Sensors and Actuators B Chemical · Elsevier BV · 2020 10.1016/j.snb.2020.128822
  32. Non-Invasive Method for Tuberculosis Exhaled Breath Classification Using Electronic Nose IEEE Sensors Journal · IEEE Sensors Council · 2021 10.1109/jsen.2021.3061616
  33. A Novel Multisensor Detection System Design for Low Concentrations of Volatile Organic Compounds IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tie.2021.3080218
  34. Prediction of Pulmonary Diseases With Electronic Nose Using SVM and XGBoost IEEE Sensors Journal · IEEE Sensors Council · 2021 10.1109/jsen.2021.3100390
  35. Respiratory Mechanics Anesthesiology Clinics · Elsevier BV · 2021 10.1016/j.anclin.2021.04.003
  36. Accuracy of the Electronic Nose Breath Tests in Clinical Application: A Systematic Review and Meta-Analysis Biosensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/bios11110469
  37. Gas Recognition in E-Nose System: A Review IEEE Transactions on Biomedical Circuits and Systems · Institute of Electrical and Electronics Engineers · 2022 10.1109/tbcas.2022.3166530
  38. System Design and SVM Identification Algorithm for the Ultrasonically Catalyzed Single-Sensor E-Nose IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2022 10.1109/tim.2022.3162280
  39. Toward Point-of-Care chronic disease Management: Biomarker detection in exhaled breath using an E-Nose sensor based on rGO/SnO2 superstructures Chemical Engineering Journal · Elsevier BV · 2022 10.1016/j.cej.2022.137736
  40. An AI-powered Electronic Nose System with Fingerprint Extraction for Aroma Recognition of Coffee Beans Micromachines · Multidisciplinary Digital Publishing Institute · 2022 10.3390/mi13081313
  41. Machine Learning-Based Rapid Detection of Volatile Organic Compounds in a Graphene Electronic Nose ACS Nano · American Chemical Society · 2022 10.1021/acsnano.2c10240
  42. E-nose based on a high-integrated and low-power metal oxide gas sensor array Sensors and Actuators B Chemical · Elsevier BV · 2023 10.1016/j.snb.2023.133289
  43. Detection of Counterfeit Perfumes by Using GC-MS Technique and Electronic Nose System Combined with Chemometric Tools Micromachines · Multidisciplinary Digital Publishing Institute · 2023 10.3390/mi14030524
  44. Aromatic Fingerprints: VOC Analysis with E-Nose and GC-MS for Rapid Detection of Adulteration in Sesame Oil Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23146294
  45. Design of a Multisensory Device for Tomato Volatile Compound Detection Based on a Mixed Metal Oxide—Electrochemical Sensor Array and Optical Reader Micromachines · Multidisciplinary Digital Publishing Institute · 2023 10.3390/mi14091761
  46. Gas Exchange in the Lung Seminars in Respiratory and Critical Care Medicine · Thieme Medical Publishers (Germany) · 2023 10.1055/s-0043-1770060
  47. Research progress of electronic nose technology in exhaled breath disease analysis Microsystems & Nanoengineering · Springer Nature · 2023 10.1038/s41378-023-00594-0
  48. Low-Cost Electronic Nose for the Determination of Urinary Infections Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s24010157
  49. MXene-Based Elastomer Mimetic Stretchable Sensors: Design, Properties, and Applications Nano-Micro Letters · Springer Science+Business Media · 2024 10.1007/s40820-024-01349-w
  50. Intelligent Detection and Odor Recognition of Cigarette Packaging Paper Boxes Based on a Homemade Electronic Nose Micromachines · Multidisciplinary Digital Publishing Institute · 2024 10.3390/mi15040458