Next Article in Journal
Analysis of Relationship between Microwave Magnetic Properties and Magnetic Structure of Permalloy Films
Previous Article in Journal
Characterization of Flow with a V-Shaped NMR Sensor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accelerating the Diagnosis of Pandemic Infection Based on Rapid Sampling Algorithm for Fast-Response Breath Gas Analyzers

Institute of Optoelectronics, Military University of Technology, 2 Kaliskiego Str., 00-908 Warsaw, Poland
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(19), 6164; https://doi.org/10.3390/s24196164
Submission received: 27 August 2024 / Revised: 21 September 2024 / Accepted: 23 September 2024 / Published: 24 September 2024
(This article belongs to the Section Physical Sensors)

Abstract

:
This paper presents a novel technique for extracting the alveolar part of human breath. Gas exchange occurs between blood and inhaled air in the alveoli, which is helpful in medical diagnostics based on breath analysis. Consequently, the alveolar portion of the exhaled air contains specific concentrations of endogenous EVOC (exogenous volatile organic compound), which, among other factors, depend on the person’s health condition. As this part of the breath enables the screening for diseases, accurate sample collection for testing is crucial. Inaccurate sampling can significantly alter the composition of the specimen, alter the concentration of EVOC (biomarkers) and adversely affect the diagnosis. Furthermore, the volume of alveolar air is minimal (usually <350 mL), especially in the case of people affected by respiratory system problems. For these reasons, precise sampling is a key factor in the effectiveness of medical diagnostic systems. A new technique ensuring high accuracy and repeatability is presented in the article. It is based on analyzing the changes in carbon dioxide concentration in human breath using a fast and compensated non-dispersive infrared (NDIR) sensor and the simple moving adjacent average (SMAA) algorithm. Research has shown that this method accurately identifies exhalation phases with an uncertainty as low as 20 ms. This provides around 350 ms of breath duration for carrying out additional stages of the diagnostic process using various types of analyzers.

1. Introduction

Exhaled air composition analysis is a rapidly developing, non-invasive clinical diagnostics technique. It enables the screening of patients to determine their health condition. Among the endogenous gases in human breath, there are particular gases, so-called biomarkers [1], whose concentration change is characteristic of a given disease. Low concentrations of biomarkers (at the ppb-ppm level [2]) impose specific requirements not only on their detection systems (gas analyzers) but also on the procedures and tools used to collect and prepare the breath sample. For this reason, the technology for sampling human exhaled air is essential and constitutes a separate research issue in developing exhaled air analysis systems [3]. A key challenge for such a system is developing separation procedures that would allow accurate extraction of the volume of exhaled air containing a specific biomarker (or set of biomarkers) from a defined part of the respiratory apparatus undisturbed [4]. The presence of biomarkers differs between the respective parts of the human respiratory system; for example, a high concentration of nitric oxide (NO) can be found in the upper respiratory tract, but its origin is unknown and could be caused by the patient’s addiction to smoking [5]. The NO from the lower respiratory tract carries information about the body’s metabolic processes [6]. The low concentration of valid biomarkers in this part of exhaled air also increases the requirements for the sensitivity of the analyzers in the case of gases such as NO. The most sensitive detection methods are already used, such as laser absorption spectroscopy or chemiluminescence [7,8].
The lower the concentration of an analyzed biomarker of the diagnosed disease, the greater the importance of accurately determining the respiratory phases and their precise separation. At rest, approximately 10–15 breaths per minute are usually taken, and each breath contains 500–600 mL of exhaled air. According to ATS/ERS guidelines [9], the patient should be able to exhale for 10 s with a standard flow of 50 mL/s, where 7 s is air from the lower respiratory tract, the so-called third phase (III) of exhalation. Assuming that the uncertainty of volume of the third phase separation is as low as 5%, the maximum time allocated to executing a separation procedure by a system should be less than 350 ms. Accurate sample collection is essential for rapid testing of large numbers of potential patients, as demonstrated, for example, by the coronavirus 2019 (COVID-19) pandemic. Handling of respiratory samples in the reported studies on rapid COVID-19 diagnostic methods is usually based on Tedlar bags [10] and specific time-consuming procedures related to sample preparation, such as heating and sending. It significantly limits the possibilities of large-scale diagnostics, which are required for many cases.
This article analyses the solutions used so far. It presents a new and fast NDIR-based technique to extract exhaled air samples, ensuring direct delivery of an accurately selected breath sample, enabling the determination of its origin from the human respiratory system while reducing disturbances in biomarker concentrations and providing repeatability of the entire diagnostic system. Aspects of using NDIR sensors for this application are discussed in [11]. The ability to directly transfer an air sample to the fast-response exhalation gas analyzer (e.g., based on laser techniques [12]) provides a valuable opportunity to observe concentration changes during exhalation in a specific phase, rather than measuring the average concentration value, as is the case when a sample is collected into a container (Tedlar bags). The measurement is made after the entire volume of the air sample has been collected.

2. Materials and Methods

Breath samples are extracted using many methods, e.g., based on sound analysis of air flow, volume/pressure of exhaled air analysis, or by observing the concentration changes of specific gases such as N2 or CO2 (Table 1).
The airflow sound analysis on the respiratory tract is very convenient because it can be applied while the patient is asleep. Varying volumes of collected breath samples or inconsistent duration of sample acquisition and breath part determined by the diagnostician may be sufficient for analyzers that do not require large sample volumes (e.g., GC/MS). More accurate techniques for separating exhalation phases are based on analyzing exhaled air parameters such as flow, pressure, or concentration. The simplest of these uses a fixed threshold value for a specific gas concentration, but its main disadvantage is that it varies from person to person.
The existing methods for analyzing human exhalation have not yet been standardized [19] and are based on general recommendations [8]. In addition, the reported sampling techniques (acoustic, volumetric, time) are difficult to compare due to the different methodologies used depending on the target of diagnostic procedures. There are also no standard criteria for determining exhalation samples for testing [13].
The analysis of the disadvantages of the described methods shows that the concentrations of biomarkers also depend on the patient’s individual characteristics (age, sex, diet, smoking), so identical and precisely defined samples should be provided for their accurate analysis. It can be pretty challenging because the breath sampling methods depend highly on patient cooperation and do not ensure desirable control over the patient’s breathing process [20]. Considering the difficulties with objective and precise separation of breath phases, attention has been focused on the possibility of utilizing changes in the concentration of selected gases in exhaled air.
Further analysis showed that the analysis of the concentration of nitrogen or carbon dioxide in exhalation provides the most significant possibility of precise extraction of samples from human breath. Nitrogen is used in single-breath nitrogen washout/multiple-breath nitrogen washout (SBNW/MBNW) methods but requires expensive apparatus or indirect measurements of the N2 fraction [21]. For this reason, the CO2 analysis is vastly superior. Fast and accurate CO2 sensors that utilize non-dispersive infrared (NDIR) technology are widely used in healthcare [22]. Typical absorption spectra for the CO2 and H2O mixture, in the range of 1 μm–11 μm, are shown in Figure 1.
CO2 sensors that use the phenomenon of infrared radiation absorption at a wavelength of 4.3 μm are highly resistant to interference with a gas, including water vapor. Analysis was carried out using HITRAN (version 4.1) software for a 2 cm absorption cell and gas concentrations of CO2 (5%) and H2O (5.8%). Carbon dioxide and water vapor concentration corresponded to the typical values in exhaled human air. The following simplified relationship exists between water vapor concentration and relative humidity (1):
R H = C H 2 O · P s a t ( T )
where C H 2 O is HO2 concentration, P is air pressure and sat (T) is the saturation vapor pressure of water at a given temperature T (the maximum amount of water vapor the air can hold). The error of RH calculation is less than 0.5% in the temperature range of −50 °C to 50 °C [23].
The process can be divided into four phases based on monitoring CO2 concentration during exhalation (capnography) (Table 2). Different phases may be interesting for separate research purposes depending on the biomarker. Biomarkers can be found in both the upper respiratory tract: for example, albumin as a potential biomarker of plasma leaking into the airways [24]; VOCs from the oral cavity as a biomarker of oral squamous cell carcinoma [25] and the lower respiratory tract; for example, isoprene, which is a potential biomarker of liver fibrosis [26]; procalcitonin, which appears to be a biomarker of ventilator-associated pneumonia [27]; and nitric oxide as a biomarker of asthma, angina, hyperbilirubinemia [28]. The origins of some of these biomarkers are still not fully elucidated [29], but it seems that the most valuable part of breath for the analysis of VOCs is the third phase [30]. The gases exhaled during this phase come from the lower respiratory tract, which is involved in gas exchange from metabolic processes in the alveoli, where blood-gas exchange occurs [31].
During the second phase an almost linear increase in CO2 concentration and flattening of the characteristics specific phase rdcan be observed. However, the beginning of the third phase is not precisely defined (Table 3).
The authors in [38] provided a very useful definition sufficiently based on scientific scrutiny of the beginning of the third breath phase. Based on volumetric capnography, linear regression from the beginning of the second phase and 40% of expired air volume were labelled as expiratory slope function. The alveolar plateau (the third phase) was compared using linear regression of data points between 40% and 80% of exhaled air volume. However, recent reviews [40] observed ambiguity in publications, even in methodological terms, and we therefore propose guidelines to specify the gas exchange measurement or estimations algorithm. The methods presented are often impractical for real-time measurements and the automatic analysis of many samples. The beginning of phase III is only calculated after it ceases.
Additionally, practical characteristics may differ from typical ones (shapes, slopes, noise, fluctuations) [41], which could increase uncertainty and lower repeatability. In this case, a method that minimizes the influence of patient and device-based parameters should be developed. Otherwise, measured biomarker concentrations are considered to be unreliable due to the mixing of air from different phases of exhaled breath.
The authors propose an algorithm that analyses changes in CO2 concentration using the SMAA (Simple Moving Adjacent Average) filter, which allows for the precise detection of the beginning of the third breath phase. A constant threshold value of the dSMAA/dt function can be determined corresponding to it. A similar method, called the first derivative wave analysis (FDWA), has helped analyze cardiogenic oscillations with a constant slope of the third phase based on the concentration of exhaled N2 and CO2 [42]. The proposed method was compared with one presented in [18]. As a procedure for detecting the phase III slope, the authors proposed using the ‘breakpoint’ analysis of the exhaled nitrogen waveform. The breakpoint was determined where the correlation coefficient of the bilinear regression of the data segment of the second–third phase transition reached its maximum value. The analogical shape of the exhaled carbon dioxide waveform can also be helpful for capnography analysis.

3. Developed Breath’s Third Phase Detection Algorithm

The simplest method to determine the transition point between phases is the analysis of the time-based (dCO2/dt) [43] or volume-based (dCO2/dv) dynamics [44]. It is straightforward to calculate and implement in autonomic systems. However, it may not be effective for a signal with fluctuations or in any other way deviating from the typical shape of a capnographic waveform obtained from a CO2 sensor (Figure 2a). Visible fluctuations of the signal in the third phase indicate the need for an application of additional signal processing technique (Table 4).
In contrast, this solution uses the SMAA algorithm to remove higher frequency fluctuations. SMAA for n x point is calculated as an arithmetic mean average of n x and i chosen symmetrically around the output point (previous and next neighbouring points, from n x i to n x + i ), according to Equation (2):
S M A A = n x i + + n x 1 + n x + n x + 1 + + n x + i 2 i + 1 ,
Additionally, it allows us to calculate the first derivative of SMAA (3)
d S M A A d t = S M A A t 2 S M A A t 1 t 2 t 1 ,
where S M A A t 2 and S M A A t 1 denote the moving average of the neighboring points for the time t 2 and t 1 , respectively. Applying dSMAA/dt allows smoothing of the capnograph data to precisely determine the beginning of the third phase (Figure 2b).
This algorithm was developed using a method based on determining the intersection point of linear regression lines of the second and third phases of exhalation. A constant dSMAA/dt threshold value enables the determination of the beginning of the third phase of exhalation.

4. Experiments

The rapid breath sampling method was studied using the system previously described as the Breath Sampling Unit (BSU) in [3]. As portrayed below, the patient was equipped with a single-use face mask with a breath filter that blocked more than 99.99% of bacteria and viruses in the exhaled stream (Figure 3).
The appearance of flow in the system indicated the beginning of the patient’s exhalation. If flow occurred, the sample parameters were measured (pressure, humidity, temperature, and CO2 concentration). When the first exhalation phase began, the Ev2 solenoid valve opened, sending this part of the exhalation to the gas analyzer. If the patient continued to exhale, the concentration of CO2 in the exhaled air started to increase, indicating the beginning of phase II. When the declared dSMAA/dt value (threshold) was exceeded, the phase III solenoid valve (Ev3) opened, allowing this part of the exhaled air to be sent to the analyzer [47]. Separation of the phases of respiration was performed using Lucifer 221S SS316L (Parker, OH, USA) solenoid valves dedicated to medical applications, which have an operating time of approximately 180 ms. Math calculations, I/O procedures, and algorithm realization took less than 5 ms for the ATMega328P microcontroller. For humidity measurements, the SHT21 sensor (Sensirion, Stäfa, Switzerland) was used, while for temperature and pressure monitoring, the BMP180/BMP280 sensors (Bosch Sensortec, Reutlingen, Germany) were implemented. The flow was determined from the pressure drop of the exhaled air using the Hagen–Poiseuille law. The measurement procedure of these four gas sample parameters took less than 165 ms. Consequently, no more than 350 ms was needed to execute the entire algorithm for extracting the selected exhalation phase. The view of the experimental system during the test is presented in Figure 4.
It enabled achieving a very high repeatability of 95%. The value was calculated based on the variance of the beginning time of the third breath phase of the single user determined by the dSMAA/dt algorithm, concerning this time determined by the analytical method. All data in the system were collected by a control unit and sent to a PC for later processing.
Practical tests were conducted to verify further the method presented. A dataset of different CO2 waveforms was collected from 14 volunteers using a developed technique (Table 5). The selected volunteers considered the different nature of the respiratory system of healthy individuals [48]. The study aimed to experimentally measure the characteristics of CO2 changes in exhaled air during the day. Because of this, the volunteers exhaled at different times of the day, before and after exercise, and before and after a meal, which amassed 320 breath samples.
The CO2 measures obtained in this experiment selected readings with fluctuations in CO2 concentration during the third phase of exhalation and at different exhalation times. It made it possible to analyze the working of the CO2 NDIR sensor under real conditions. The simplified block diagram of the sampling algorithm using Dsmaa/dt algorithm is presented in Figure 5.
Verification was carried out by comparing the results of the Dsmaa/dt algorithm (with estimates of 3 points forward and backward from the analyzed point) with the calculation method of the coefficient of determination (R2) presented in [18]. For this purpose, OriginPro software (2024b version) with the Piecewise Fit function was applied. Analysis showed that the beginning of the third breath phase determined by the bilinear regression method indicated the same timestamp as the Dsmaa/dt method with an uncertainty of 20 ms, which led to the conclusion that the proposed algorithm seems reliable (Figure 6). Furthermore, the proposed method is characterized by a more straightforward mathematical description and lower computational complexity.
The authors successfully implemented the Dsmaa/dt algorithm in a single-core 8-bit 16 MHz AVR microcontroller. The device was designed to allow the patient to exhale for as long as possible, providing a collection of as much the third phase sample volume as possible. Parameters of the breath sample: CO2 concentration, temperature, pressure, and flow are monitored in real-time. When airflow occurs, the first breath phase begins, and the Dsmaa/dt of CO2 concentration can be calculated. When the Dsmaa/dt value threshold is exceeded, the third phase breath sample is directed to the analyzer. The Dsmaa/dt threshold level was experimentally determined in the developed Breath Sampling Unit to a value of 0.85. When the patient stops exhaling, the extraction of the breath sample is complete. For the experimental setup, to obtain 2 L of breath third phase samples, approximately 5–6 exhalations are required, and the entire sample acquisition time is approximately one minute. Therefore, it is a quick method that minimizes inconvenience for the patient. Indeed, this process may be longer in patients with weaker lung function but, pending the experiment, it did not exceed the typical 2 min.

5. Results

For the data analysis presented, the CO2 NDIR sensor from the UT100C capnograph was used. This sensor was selected because it is intended for medical use and has a fast data readout (20 ms). Many commercially available CO2 NDIR sensors are dedicated to process control or safety (where sensor speed is not as essential and readout delay over 1 s is acceptable), but are too slow for exhaled gas concentration analysis. The sensor was calibrated to minimize the impact of air pressure and temperature on CO2 readings. Four waveforms were selected from the whole set of breath samples to analyze the results of the dSMAA/dt algorithm that can handle It. They were chosen for their interesting and unusual characteristics, nontypical shapes, and different CO2 concentrations. For every case, the beginning of the third breath phase was calculated using linear regression of the expiratory upstroke and the alveolar plateau (Figure 7a–d).
The experimental capnograph waveforms enabled designating the beginning of the third breath phase. Furthermore, the CO2 concentration threshold was calculated. It was observed that, for different persons, the threshold of CO2 concentration pointing to the third phase was about 4%, but there were cases where it was much higher (more than 4.5%) and sometimes much lower (around 1.7%). Regardless of the differing exhaled CO2 concentration, the beginning of the third breath phase was designated, and determining whether the Dsmaa/dt exceeded the threshold value for any of the data in the set did not cause any problems. Moreover, neither different breath duration (between 8 and 12 s) nor capnograph shape affected the ability to designate the third phase. The Dsmaa/dt algorithm seemed insensitive to breath duration, signal fluctuations, and different levels of CO2 concentration in exhaled breath.
The verification analysis of the presented algorithm was performed for CO2 waveforms characteristic of specific respiratory system diseases. Four highlighted diseases were found in the literature [49,50,51,52]. The waveforms were digitized using WebPlotDigitizer (https://automeris.io/, accessed on 20 May 2024) software and analyzed via algorithm performance. It should be noted that the dSMAA/dt algorithm determined the beginning of the third breath phase respiration in all cases (Figure 7e,f).
A study of the algorithm readings was performed at different exhalation durations to assess the repeatability of the measurements. Waveforms were taken from collected capnograph data with more than 10 s of exhalation time. These exhalations were described as “long”. The second-case waveforms were described as “short”, taking up 2 to 3 s of exhalation time. The beginning of the third phase and the corresponding concentration of CO2 were determined (Figure 8).
In both cases, the beginning of the third breath phase was designated. Again, different levels of CO2 concentration were observed at the dSMAA/dt threshold. It is noted that for different people, the threshold of CO2 concentration pointing to the third phase of the first breath was in the wide range between 2.66% and 4.36%. Different durations of breathing (including rapid ones) did not affect the algorithm’s functionality.

6. Discussion

The developed algorithm was dedicated to determining the beginning of the third breath phase. Its property is the ability to calculate the transition point between the second and third phases. The presented method for assessing the beginning of the third breath phase seems to be useful for precise selection of breath from the upper and lower respiratory tract. The primary usability parameters are presented in the Table 3. By using the dSMAA/dt function, the beginning of the third phase is designated. For the commercially available fast NDIR CO2 sensor, a delay of up to 20 ms was observed. It allows for very high repeatability because the differences between individual tests did not exceed 5%. Compared to machine learning algorithms and multi-task techniques [53], the proposed method is relatively simple and easy to implement. Due to the calculations’ low complexity, it seems useful even for low-power devices or those with low computing capabilities.
This indicates the possibility of using such breath sampling devices and collecting a precise part of human breath. Consequently, it could be helpful in future diagnoses, for example, in the COVID-19 pandemic. Ethyl butanoate, which comes from the lower respiratory tract, was found to be a biomarker of the said disease. Still, the COVID-19 breath test from the upper respiratory tract could prove quicker and more accessible [54]. Furthermore, its early detection of the possibility of predicting disease or difference with early stages of influenza or pulmonary infections has gained much interest [55].
Breath sampling with breath phase selection allows analysis of endogenous gases linked to metabolic activity in the human body and enables scanning for biomarkers in exogenous gases. EVOCs originate from external variables such as diet, drugs, medications, environmental exposure [56], or the activity of microorganisms in the human body [57], which can be biomarker characteristics of specific diseases.

7. Conclusions

A novel algorithm for detecting the beginning of the third phase of human breath was presented. Calculations based on the dSMAA/dt algorithm of CO2 concentration in exhaled air can designate a constant threshold corresponding to the beginning of the alveolar breath phase. The presented method was compared with two other techniques. The first was analytical and used linear regression of the expiratory upstroke and alveolar plateau on the capnograph waveform. The second method was based on calculations of the maximum value of the coefficient of determination (R2) of bilinear regression of the second and the third breath phases. Both methods obtained the same final results. Based on experimental CO2 waveforms from volunteers, the usefulness of the developed dSMAA/dt method was showcased. The beginnings of the third breath phases were designated independently of exhalation time, CO2 concentration, and capnographic waveform shape, which proves the adaptative property of the algorithm developed. The research on characteristic exemplary data for specific respiratory disease diseases showed potential for use in clinical practice. Verification tests showed low uncertainty in detecting the desired exhalation phase (20 ms) and achieved very high repeatability (>95%).
Furthermore, due to the current ambiguity in the precise definitions of the breath parts, it could be helpful when standardizing the methods to separate the human breath into separate exhalation phases. A desirable direction for developing these types of devices, which can significantly improve their parameters, is the implementation of artificial intelligence in the algorithm [58].

Author Contributions

Conceptualization, J.W.; methodology, A.P. and J.W.; software, A.P.; validation, A.P. and J.W.; formal analysis, A.P. and J.W.; investigation, A.P.; resources, A.P. and J.W.; data curation, A.P. and J.W.; writing—original draft, A.P. and J.W.; writing—review and editing, A.P. and J.W.; visualization, A.P. and J.W.; supervision, J.W.; project administration, J.W.; funding acquisition, J.W. All authors have read and agreed to the published version of the manuscript.

Funding

Project of the Ministry of Education and Science for the maintenance of scientific and research equipment entitled: “iLABS—Integrated laboratory of absorption spectroscopy” No.: 20/565987/SPUB/SP/2023.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data that support the findings of this study are included within the article.

Acknowledgments

The research was carried out in the laboratory of the Institute of Optoelectronics with financial support from the project of the Ministry of Education and Science, No.: 20/565987/SPUB/SP/2023.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Buszewski, B.; Kesy, M.; Ligor, T.A.A. Human exhaled air analytics: Biomarkers of diseases. Biomed. Chromatogr. 2007, 21, 553–556. [Google Scholar] [CrossRef] [PubMed]
  2. Das, S.; Pal, M. Review—Non-Invasive Monitoring of Human Health by Exhaled Breath Analysis: A Comprehensive Review. J. Electrochem. Soc. 2020, 167, 037562. [Google Scholar] [CrossRef]
  3. Szabra, D.; Prokopiuk, A.; Mikołajczyk, J.; Ligor, T.; Buszewski, B.; Bielecki, Z. Air sampling unit for breath analyzers. Rev. Sci. Instrum. 2017, 88, 115006. [Google Scholar] [CrossRef] [PubMed]
  4. Garcia-Marcos, L.; Edwards, J.; Kennington, E.; Aurora, P.; Baraldi, E.; Carraro, S.; Gappa, M.; Louis, R.; Moreno-Galdo, A.; Peroni, D.G.; et al. Priorities for future research into asthma diagnostic tools: A PAN-EU consensus exercise from the European asthma research innovation partnership (EARIP). Clin. Exp. Allergy 2018, 48, 104–120. [Google Scholar] [CrossRef] [PubMed]
  5. Zhang, D.; Xiao, Y.; Luo, J.; Wang, X.; Qiao, Y.; Huang, R.; Wu, W. Measurement of fractional exhaled nitric oxide and nasal nitric oxide in male patients with obstructive sleep apnea. Sleep Breath 2019, 23, 785–793. [Google Scholar] [CrossRef] [PubMed]
  6. Stacewicz, T.; Bielecki, Z.; Wojtas, J.; Magryta, P.; Mikolajczyk, J.; Szabra, D. Detection of disease markers in human breath with laser absorption spectroscopy. Opto-Electron. Rev. 2016, 24, 82–94. [Google Scholar] [CrossRef]
  7. Wojtas, J.; Mikolajczyk, J.; Nowakowski, M.; Rutecka, B.; Medrzycki, R.; Bielecki, Z. Applying CEAS method to UV, VIS, and IR spectroscopy sensors. Bull. Pol. Acad. Sci. Tech. Sci. 2011, 59, 415–418. [Google Scholar] [CrossRef]
  8. American Thoracic Society Documents ATS / ERS Recommendations for Standardized Procedures for the Online and Offline Measurement of Exhaled Lower Respiratory Nitric Oxide and Nasal Nitric Oxide, 2005. Crit. Care Med. 2005, 171, 912–930. [CrossRef]
  9. Myers, R.; Ruszkiewicz, D.M.; Meister, A.; Bartolomeu, C.; Atkar-Khattra, S.; Thomas, C.L.P.; Lam, S. Breath testing for SARS-CoV-2 infection. eBioMedicine 2023, 92, 104584. [Google Scholar] [CrossRef]
  10. Palaniappan, R.; Sundaraj, K.; Sundaraj, S. Adaptive neuro-fuzzy inference system for breath phase detection and breath cycle segmentation. Comput. Methods Programs Biomed. 2017, 145, 67–72. [Google Scholar] [CrossRef]
  11. Prokopiuk, A.; Bielecki, Z.; Wojtas, J. Improving the accuracy of the NDIR-based CO2 sensor for breath analysis. Metrol. Meas. Syst. 2021, 28, 803–812. [Google Scholar] [CrossRef]
  12. Wojtas, J.; Bielecki, Z. Signal processing system in cavity enhanced spectroscopy. Opto-Electron. Rev. 2008, 16, 420–427. [Google Scholar] [CrossRef]
  13. Beauchamp, J.D.; Miekisch, W. Breath sampling and standardization. In Breathborne Biomarkers and the Human Volatilome, 2nd ed.; Beauchamp, J., Davis, C., Pleil, J., Eds.; Elsevier: Boston, MA, USA, 2020; pp. 23–41. [Google Scholar] [CrossRef]
  14. Czippelová, B.; Nováková, S.; Šarlinová, M.; Baranovičová, E.; Urbanová, A.; Turianiková, Z.; Krohová, J.Č.; Halašová, E.; Škovierová, H. Impact of breath sample collection method and length of storage of breath samples in Tedlar bags on the level of selected volatiles assessed using gas chromatography-ion mobility spectrometry (GC-IMS). J. Breath Res. 2024, 18, 036004. [Google Scholar] [CrossRef] [PubMed]
  15. Siobal, M.S. Monitoring Exhaled Carbon Dioxide. Respir. Care 2016, 61, 1397–1416. [Google Scholar] [CrossRef] [PubMed]
  16. Singh, O.P.; Howe, T.A.; Malarvili, M.B. Real-time human respiration carbon dioxide measurement device for cardiorespiratory assessment. J. Breath Res. 2018, 12, 026003. [Google Scholar] [CrossRef]
  17. MBW Phase-III Slope Analysis. Available online: https://nddmed.com/pulmonary-resources/download/application-notes (accessed on 21 September 2024).
  18. Stuart-Andrews, C.R.; Kelly, V.J.; Sands, S.A.; Lewis, A.J.; Ellis, M.J.; Thompson, B.R. Automated detection of the phase III slope during inert gas washout testing. J. Appl. Physiol. 2012, 112, 1073–1081. [Google Scholar] [CrossRef]
  19. Francescato, M.P.; Thieschäfer, L.; Cettolo, V.; Hoffmann, U. Comparison of different breath-by-breath gas exchange algorithms using a gas exchange simulation system. Respir. Physiol. Neurobiol. 2019, 266, 171–178. [Google Scholar] [CrossRef]
  20. Song, C.; Wang, J.; Zhao, P.; Zhang, Y.; Zhang, Q. A novel method for chronic obstructive pulmonary disease detection using comprehensive respiratory impedance and electrocardiogram-derived respiration. Measurement 2024, 236, 114978. [Google Scholar] [CrossRef]
  21. Oestreich, M.A.; Doswald, I.; Salem, Y.; Künstle, N.; Wyler, F.; Frauchiger, B.S.; Kentgens, A.-C.; Latzin, P.; Yammine, S. A computerized tool for the systematic visual quality assessment of infant multiple-breath washout measurements. Front. Pediatr. 2024, 12, 1393291. [Google Scholar] [CrossRef]
  22. Xu, M.; Xu, Y.; Tao, J.; Wen, L.; Zheng, C.; Yu, Z.; He, S. Development of a compact NDIR CO2 gas sensor for harsh environments. Infrared Phys. Technol. 2024, 136, 105035. [Google Scholar] [CrossRef]
  23. McRae, G.J. A Simple Procedure for Calculating Atmospheric Water Vapor Concentration. J. Air Pollut. Control Assoc. 1980, 30, 394. [Google Scholar] [CrossRef]
  24. Bake, B.; Larsson, P.; Ljungkvist, G.; Ljungström, E.; Olin, A.C. Exhaled particles and small airways. Respir. Res. 2019, 20, 1–14. [Google Scholar] [CrossRef]
  25. Bouza, M.; Gonzalez-Soto, J.; Pereiro, R.; De Vicente, J.C.; Sanz-Medel, A. Exhaled breath and oral cavity VOCs as potential biomarkers in oral cancer patients. J. Breath Res. 2017, 11, 016015. [Google Scholar] [CrossRef]
  26. Alkhouri, N.; Singh, T.; Alsabbagh, E.; Guirguis, J.; Chami, T.; Hanouneh, I.; Grove, D.; Lopez, R.; Dweik, R. Isoprene in the exhaled breath is a novel biomarker for advanced fibrosis in patients with chronic liver disease: A pilot study. Clin. Transl. Gastroenterol. 2015, 6, e112. [Google Scholar] [CrossRef] [PubMed]
  27. Mahmoud, A.R. Diagnostic utility of serum procalcitonin in ventilator-associated pneumonia in the pediatric intensive care unit. Minia J. Med. Res. 2024. [Google Scholar] [CrossRef]
  28. Wojtas, J. Application of cavity enhanced absorption spectroscopy to the detection of nitric oxide, carbonyl sulphide, and ethane—Breath biomarkers of serious diseases. Sensors 2015, 15, 14356–14369. [Google Scholar] [CrossRef]
  29. Bodaghi, A.; Fattahi, N.; Ramazani, A. Biomarkers: Promising and valuable tools towards diagnosis, prognosis and treatment of Covid-19 and other diseases. Heliyon 2023, 9, e13323. [Google Scholar] [CrossRef] [PubMed]
  30. Kwiatkowski, A.; Chludziński, T.; Saidi, T.; Welearegay, T.G.; Jaimes-Mogollón, A.L.; El Bari, N.; Borys, S.; Bouchikhi, B.; Smulko, J.; Ionescu, R. Assessment of electronic sensing techniques for the rapid identification of alveolar echinococcosis through exhaled breath analysis. Sensors 2020, 20, 2666. [Google Scholar] [CrossRef] [PubMed]
  31. Jia, Z.; Patra, A.; Kutty, V.K.; Venkatesan, T. Critical review of volatile organic compound analysis in breath and in vitro cell culture for detection of lung cancer. Metabolites 2019, 9, 52. [Google Scholar] [CrossRef]
  32. Geiger, K.; Guttmann, J.; Braun, G.; Schubert, J.K.; Spittler, K.-H. CO2-controlled sampling of alveolar gas in mechanically ventilated patients. J. Appl. Physiol. 2017, 90, 486–492. [Google Scholar] [CrossRef]
  33. Ganta, R.; Raj, T.D.; Capnography, I. Data Interpretation in Anesthesia: A Clinical Guide; Raj, T.D., Ed.; Springer: Cham, Switzerland, 2017; pp. 35–38. [Google Scholar] [CrossRef]
  34. Kazemi, M.; Krishnan, M.B.; Howe, T.A. Frequency analysis of capnogram signals to differentiate asthmatic and non-asthmatic conditions using radial basis function neural networks. Iran. J. Allergy Asthma Immunol. 2013, 12, 236–246. [Google Scholar] [CrossRef] [PubMed]
  35. Bhavani-Shankar, K.; Philip, J.H. Defining segments and phases of a time capnogram. Anesth. Analg. 2000, 91, 973–977. [Google Scholar] [CrossRef] [PubMed]
  36. Suárez-Sipmann, F.; Villar, J.; Ferrando, C.; Sánchez-Giralt, J.A.; Tusman, G. Monitoring Expired CO2 Kinetics to Individualize Lung-Protective Ventilation in Patients with the Acute Respiratory Distress Syndrome. Front. Physiol. 2021, 12, 785014. [Google Scholar] [CrossRef]
  37. Verscheure, S.; Massion, P.B.; Verschuren, F.; Damas, P.; Magder, S. Volumetric capnography: Lessons from the past and current clinical applications. Crit. Care 2016, 20, 1–9. [Google Scholar] [CrossRef]
  38. Böhm, S.H.; Maisch, S.; Von Sandersleben, A.; Thamm, O.; Passoni, I.; Arca, J.M.; Tusman, G. The effects of lung recruitment on the phase III slope of volumetric capnography in morbidly obese patients. Anesth. Analg. 2009, 109, 151–159. [Google Scholar] [CrossRef]
  39. Jaffe, M.B. Carbon dioxide measurement. In Capnography; Paulus, D.A., Gravenstein, J.S., Jaffe, M.B., Gravenstein, N., Eds.; Cambridge University Press: Cambridge, UK, 2011; pp. 381–396. [Google Scholar]
  40. Golja, P.; Cettolo, V.; Francescato, M.P. Calculation algorithms for breath-by-breath alveolar gas exchange: The unknowns! Eur. J. Appl. Physiol. 2018, 118, 1869–1876. [Google Scholar] [CrossRef] [PubMed]
  41. How to Read and Interpret End-Tidal Capnography Waveforms. Available online: https://www.jems.com/patient-care/how-to-read-and-interpret-end-tidal-capnography-waveforms/ (accessed on 21 September 2024).
  42. Min, K.; Wada, S. A mathematical model for the first derivative wave analysis of the volumetric capnogram from the perspective of erythrocyte motion profiles. Heliyon 2019, 5, e01824. [Google Scholar] [CrossRef]
  43. Singh, O.P.; Palaniappan, R.; Malarvili, M. Automatic Quantitative Analysis of Human Respired Carbon Dioxide Waveform for Asthma and Non-Asthma Classification Using Support Vector Machine. IEEE Access 2018, 6, 55245–55256. [Google Scholar] [CrossRef]
  44. Hirabayashi, G.; Yokose, Y.; Oshika, H.; Saito, M.; Maruyama, K.; Andoh, T. Effects of volume-targeted pressure-controlled inverse ratio ventilation on functional residual capacity and dead space in obese patients undergoing robot-assisted laparoscopic radical prostatectomy. BJA Open 2022, 3, 100020. [Google Scholar] [CrossRef]
  45. Beaver, W.L.; Wasserman, K.; Whipp, B.J. A new method for detecting anaerobic threshold by gas exchange. J. Appl. Physiol. 2016, 121, 2020–2027. [Google Scholar] [CrossRef]
  46. Akter, S.; Khan, F.; Ullah, M.A. Development of Algorithm to Extract Features from Capnograph Signal. In Proceedings of the 12th International Conference on Electrical and Computer Engineering (ICECE), Dhaka, Bangladesh, 21–23 December 2022. [Google Scholar] [CrossRef]
  47. Mikolajczyk, J.; Wojtas, J.; Bielecki, Z.; Stacewicz, T.; Szabra, D.; Nowakowski, M.; Magryta, P.; Prokopiuk, A.; Mędrzycki, R. System of Optoelectronic Sensors for Breath Analysis. Metrol. Meas. Syst. 2016, 23, 481–489. [Google Scholar] [CrossRef]
  48. Singh, O.P.; El-Badawy, I.M.; Malarvili, M.B. Design and validation of a handheld capnography device for cardiopulmonary assessment based on the Arduino platform. J. Innov. Opt. Health Sci. 2021, 14, 2150015. [Google Scholar] [CrossRef]
  49. Thompson, J.E.; Jaffe, M.B. Capnographic waveforms in the mechanically ventilated patient. Respir. Care 2005, 50, 100–108. [Google Scholar] [PubMed]
  50. Soleimanpour, H. Capnography in the Emergency Department. Emerg. Med. Open Access 2012, 02, 7–10. [Google Scholar] [CrossRef]
  51. Farish, S.E.; Garcia, P.S. Capnography primer for oral and maxillofacial surgery: Review and technical considerations. J. Anesth. Clin. Res. 2013, 4, 295. [Google Scholar] [CrossRef]
  52. Griffis, C.A. End-tidal CO2 monitoring during anesthesia. J. Am. Assoc. Nurse Anesth. 1986, 54, 4. [Google Scholar]
  53. Ni, W.; Wang, T.; Wu, Y.; Liu, X.; Li, Z.; Yang, R.; Zhang, K.; Yang, J.; Zeng, M.; Hu, N.; et al. Multi-task deep learning model for quantitative volatile organic compounds analysis by feature fusion of electronic nose sensing. Sens. Actuators B Chem. 2024, 417, 136206. [Google Scholar] [CrossRef]
  54. Walker, H.J.; Burrell, M.M. Could breath analysis by MS could be a solution to rapid, non-invasive testing for COVID-19? Bioanalysis 2020, 2, 1213–1217. [Google Scholar] [CrossRef]
  55. Kwiatkowski, A.; Borys, S.; Sikorska, K.; Drozdowska, K.; Smulko, J.M. Clinical studies of detecting COVID-19 from exhaled breath with electronic nose. Sci. Rep. 2022, 12, 15990. [Google Scholar] [CrossRef]
  56. Gaude, E.; Nakhleh, M.K.; Patassini, S.; Boschmans, J.; Allsworth, M.; Boyle, B.; Van Der Schee, M.P. Targeted breath analysis: Exogenous volatile organic compounds (EVOC) as metabolic pathway-specific probes. J. Breath Res. 2019, 13, 032001. [Google Scholar] [CrossRef]
  57. Filipiak, W.; Ager, C.; Troppmair, J. Predicting the future from the past: Volatile markers for respiratory infections. Eur. Respir. J. 2017, 49, 1700264. [Google Scholar] [CrossRef] [PubMed]
  58. Musiałek, F.; Szabra, D.; Wojtas, J. Time-Efficient SNR Optimization of WMS-Based Gas Sensor Using a Genetic Algorithm. Sensors 2024, 24, 1842. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Infrared absorption spectra of CO2 and H2O, assuming regular concentrations in human breath of 5.0% and 5.8%, respectively.
Figure 1. Infrared absorption spectra of CO2 and H2O, assuming regular concentrations in human breath of 5.0% and 5.8%, respectively.
Sensors 24 06164 g001
Figure 2. (a) An ambitious definition of the beginning of the third phase using the dCO2/dt method and an exemplary experimental signal with fluctuations from the NDIR CO2 sensor. LII (blue line) is a linear regression of expiratory upstroke, LIII (green line) is a linear regression of alveolar plateau, the beginning of the third phase determined by crossing point of LII/LIII lines, (b) dSMAA/dt algorithm and calculation of the start of the third breath phase at the intersection of linear regression slope of LII and LIII.
Figure 2. (a) An ambitious definition of the beginning of the third phase using the dCO2/dt method and an exemplary experimental signal with fluctuations from the NDIR CO2 sensor. LII (blue line) is a linear regression of expiratory upstroke, LIII (green line) is a linear regression of alveolar plateau, the beginning of the third phase determined by crossing point of LII/LIII lines, (b) dSMAA/dt algorithm and calculation of the start of the third breath phase at the intersection of linear regression slope of LII and LIII.
Sensors 24 06164 g002
Figure 3. Experimental setup of Breath Sampling Unit.
Figure 3. Experimental setup of Breath Sampling Unit.
Sensors 24 06164 g003
Figure 4. A photo of the experimental system with the implemented algorithm and the required hardware components: control unit (green mark) and patient interface, indicators of the beginning of the patient’s exhalation, and gas analyzer interface (red marks).
Figure 4. A photo of the experimental system with the implemented algorithm and the required hardware components: control unit (green mark) and patient interface, indicators of the beginning of the patient’s exhalation, and gas analyzer interface (red marks).
Sensors 24 06164 g004
Figure 5. Block diagram of Breath Sampling Unit using the proposed Dsmaa/dt algorithm.
Figure 5. Block diagram of Breath Sampling Unit using the proposed Dsmaa/dt algorithm.
Sensors 24 06164 g005
Figure 6. The beginning of breath’s third phase detection with different algorithms. LII (green line) defines the slope of second breath phase, LIII (blue line) defines the slope of the third breath phase—the intersection point of LII, and LIII defines the start time of the III phase using the analytical method. The same point is designated by calculating the maximum value of the coefficient of determination (R2) of LII/LIII bilinear regression and calculating the threshold value of Dsmaa/dt method.
Figure 6. The beginning of breath’s third phase detection with different algorithms. LII (green line) defines the slope of second breath phase, LIII (blue line) defines the slope of the third breath phase—the intersection point of LII, and LIII defines the start time of the III phase using the analytical method. The same point is designated by calculating the maximum value of the coefficient of determination (R2) of LII/LIII bilinear regression and calculating the threshold value of Dsmaa/dt method.
Sensors 24 06164 g006
Figure 7. Analysis of the dSMAA/dt algorithm for various experimental capnographic waveform sets: (a) close to normal (typical one), (b) with the phase III fluctuations, (c) with the phase III “boost”, (d) “shark fin” shape, (e) lung muscle relaxation, (f) kyphoscoliosis, (g) cardiac oscillations, (h) pneumothorax. Black line—raw CO2 concentration smoothed with SMAA filtering, LII, LIII—linear regression of expiratory upstroke and alveolar plateau, red—characteristic dSMAA/dt calculated from CO2 concentration with designated constant value corresponding to the third phase of the beginning of breath.
Figure 7. Analysis of the dSMAA/dt algorithm for various experimental capnographic waveform sets: (a) close to normal (typical one), (b) with the phase III fluctuations, (c) with the phase III “boost”, (d) “shark fin” shape, (e) lung muscle relaxation, (f) kyphoscoliosis, (g) cardiac oscillations, (h) pneumothorax. Black line—raw CO2 concentration smoothed with SMAA filtering, LII, LIII—linear regression of expiratory upstroke and alveolar plateau, red—characteristic dSMAA/dt calculated from CO2 concentration with designated constant value corresponding to the third phase of the beginning of breath.
Sensors 24 06164 g007
Figure 8. Determining the beginning of the III breath phase and corresponding CO2 concentration for (a) “long” and (b) “short” breaths.
Figure 8. Determining the beginning of the III breath phase and corresponding CO2 concentration for (a) “long” and (b) “short” breaths.
Sensors 24 06164 g008
Table 1. Review of breath sampling methods for testing.
Table 1. Review of breath sampling methods for testing.
Principle of OperationDisadvantagesLiterature
Analysis of the sounds of air flowing through the trachea or in the lungsRelatively complex signal analysis (spectral analysis, phase-shift information, neuro-fuzzy systems)[13]
Assumed constant volume or duration of phasesThe phases’ duration and volumes vary from patient to patient and depend on gender, age, etc.[14]
Determined by the operatorAn experienced operator is required, and identification is subjective[15]
Analysis of pressure changes in the patient’s exhalationIdentification results depend on many important factors resulting from the patient’s health condition[16]
Constant threshold of selected gas concentration The threshold may be different for each patient[17]
Analysis of dynamics of gas concentration changesComplex procedures that require a lot of computing power and time, usually performed after exhalation[18]
Table 2. Respiratory phases determined by the CO2 concentration in the exhaled air [32,33].
Table 2. Respiratory phases determined by the CO2 concentration in the exhaled air [32,33].
Breath PhaseDescription
IBeginning of exhalation. Air from the mouth and trachea (known as dead space) that is not involved in gas exchange. Low CO2 concentration, is usually used as a reference in the analysis.
IIMixed air from dead space and alveoli. A rapid increase in CO2 concentration to approximately 3–5%.
IIIAir from the alveoli. Slow increase of the CO2 concentration to the maximum level known as the end-tidal point (EtCO2).
IVVery fast decrease in CO2 concentration to the ambient level and the beginning of the following breath process.
Table 3. Definitions of the beginning of the third breath phase.
Table 3. Definitions of the beginning of the third breath phase.
DefinitionLiterature
The point is generally placed between the expiratory stroke and the alveolar plateau.[34]
The beginning of the flat part of CO2 changes as a function of time (time-resolved capnography)[35]
The beginning of the flat part of CO2 changes as a function of volume (volume-resolved capnography)[36]
The point of intersection of both slopes is determined by the linear regression method.[37]
Dependencies between specific constant breath volumes[38]
Constant CO2 concentration threshold about 3% ÷ 3.8%[39]
Analysis of dynamics of gas concentration changes[16]
Table 4. Common methods of capnograph signal processing.
Table 4. Common methods of capnograph signal processing.
MethodsLiterature
Finite impulse response (FIR) 10 Hz low pass filter and moving average filters to limit signal bandwidth, remove noise, and smooth raw CO2 signal[16]
Averaging data for removing fluctuations in ventilation[45]
Dedicated filtering methods[46]
Table 5. Basic characteristics of volunteers.
Table 5. Basic characteristics of volunteers.
Sex
(M—Male, F—Female)
Age (Years)Weight (kg)Height (cm)Smokers
(Y—yes, N—No)
Number of Air Samples Collected
M4685176N30
F3560164N40
M2663166N50
F4252164N30
M4598186N30
M4770170N30
F3358169N40
M4677180N30
M4887172N10
M3676169N10
F5255164N10
F4958165N10
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.

Share and Cite

MDPI and ACS Style

Prokopiuk, A.; Wojtas, J. Accelerating the Diagnosis of Pandemic Infection Based on Rapid Sampling Algorithm for Fast-Response Breath Gas Analyzers. Sensors 2024, 24, 6164. https://doi.org/10.3390/s24196164

AMA Style

Prokopiuk A, Wojtas J. Accelerating the Diagnosis of Pandemic Infection Based on Rapid Sampling Algorithm for Fast-Response Breath Gas Analyzers. Sensors. 2024; 24(19):6164. https://doi.org/10.3390/s24196164

Chicago/Turabian Style

Prokopiuk, Artur, and Jacek Wojtas. 2024. "Accelerating the Diagnosis of Pandemic Infection Based on Rapid Sampling Algorithm for Fast-Response Breath Gas Analyzers" Sensors 24, no. 19: 6164. https://doi.org/10.3390/s24196164

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

Article Metrics

Back to TopTop