Introduction

Capnography is a real-time, effort-independent respiratory monitoring modality that represents the breath-to-breath dynamics of exhaled carbon dioxide (CO2) concentration1,2,3,4,5. The shape of the capnogram curve can reveal essential information about lung ventilation, ventilation-perfusion matching, and metabolic status5,6. It is routinely used in operating rooms and intensive care units. However, capnography is now also emerging in other medical specialties as a monitoring and diagnostic tool, such as in pulmonology7,8,9, sleep medicine10,11,12, and pediatrics13,14,15. Its wider application is further facilitated by its ability to quantify ventilation dead space parameters when combined with measurements of expired volume5,16. While capnography has become a mandatory monitoring tool in ventilated patients, its potential to assess cardiopulmonary status has also been recognized in spontaneously breathing subjects.

Based on the measurement site of the CO2 concentration, mainstream and sidestream capnography are available. Mainstream capnography employs an infrared sensor directly in the breathing circuit, offering precise CO2 analysis of the entire volume of expired gas near the patient. Conversely, sidestream capnography analyzes the expired gas distal to the patient by sampling a portion of the expired gas. However, the accuracy of sidestream capnography is limited by the smaller volume of gas analyzed, its slower response time17,18, and the risk of gas mixing3,19, which may contribute to the dynamic distortion of the CO2 curve, especially at high respiratory rates19,20. Consequently, significant differences have been observed in the capnogram shape factors and dead space parameters between mainstream and sidestream techniques in mechanically ventilated patients20. Nonetheless, fundamental differences in pressure conditions exist between mechanical ventilation and spontaneous breathing, leading to a gap in knowledge regarding how spontaneous breathing influences the relationship between the two capnography techniques.

Therefore, our objective was to compare shape factor and dead space parameters measured by mainstream and sidestream capnography in spontaneously breathing subjects. To uncover potential differences stemming from the distinct dynamic responses of the two methods, we introduced varying respiratory rates as a challenge.

Materials and methods

Participants

The study protocol was approved by the Regional and Institutional Review Board of Human Investigations of the University of Szeged, Hungary (No. 186/2020; address: 6720 Szeged, Dugonics tér 13. Hungary, 25 January 2021), and the participants gave their written informed consent to take part in the study. The study was performed in accordance with the ethical standards laid down in the 1964 Declaration of Helsinki and its later amendments. The study followed the applicable CONSORT guidelines, and the patient flow chart is shown in Fig. 1. Selection criteria were: informed consent, age above 18 years, and ability to collaborate. Exclusion criteria were not set.

Fig. 1
figure 1

Patient Flow Chart: A total of 36 participants were enrolled in the study, with selection criteria including informed consent, being over 18 years of age, and the ability to cooperate. All volunteers were eligible for the intervention; however, one patient was excluded due to a lack of appropriate cooperation.

Thirty-six volunteers were included in the study between December 2021 and June 2022. The demographics of the subjects are demonstrated in Table 1. Regarding the underlying clinical conditions of the subjects, 3 subjects had treated hypertension, 2 subjects had type 2 diabetes, 6 subjects had pollen allergy (out of season for all of them), 2 subjects had asthma under medical control and 2 subjects were smokers. One healthy subject was excluded from the analyzes due to inappropriate cooperation.

Table 1 Patient characteristics expressed as number of patients (n) or mean ± SD.

Recording and analyses of capnograms

The measurement set-up is designed to provide simultaneous sampling of the mainstream (Novametrix, Capnogard®, Andover, MA, USA) and sidestream (Datex Oscar II™, Datex-Ohmeda, Helsinki, Finland) capnograms and the central airflow by a screen pneumotachograph (Piston Ltd, Budapest, Hungary). The CO2 and ventilation flow signals were digitized at a sampling rate of 256 Hz and analyzed using custom-developed software.

For each expiratory cycle, the volumetric capnogram curves were determined separately from the mainstream and sidestream CO2 partial pressure recordings, and from the volume signals obtained by integrating the corresponding flow data. The sidestream time capnogram recordings were offset by -0.46 s relative to the flow signals to adjust for the transport delay caused by the gas being drawn into the analyzer. This time gap was calibrated by inspecting the difference between the main and sidestream capnogram signals as the carbon dioxide concentration gradually changed.

The evaluation of the shape indices for both capnograph (main- and sidestream) curves and in both domains (time and volume) was based on the concepts described earlier21,22. Briefly, the second phase slopes of the mainstream and sidestream capnograms, which reflect the combined emptying of the airway-alveolar compartments, were calculated from the slope obtained at the inflection point in both the time (S2T,MS and S2T,SS) and volume (S2V,MS and S2V,SS) domains. Phase 3 slopes of the time and volumetric capnograms, reflecting the dynamics of the alveolar space emptying, determined by main- (S3T,MS and S3V,MS) and sidestream capnography (S3T,SS and S3V,SS) were defined by a linear regression fitted to the middle third of phase 3. Since the slopes of the capnogram curves are affected by the end-tidal CO2 concentration (ETCO2), these variables were also expressed as normalized values to the respective ETCO2 levels; these normalized phase 2 and phase 3 slopes are denoted by Sn2 and Sn3 prefixes, respectively.

The generated volumetric capnogram curves also allowed the calculation of dead spaces for both measurement techniques. The Fowler dead space, representing the anatomical dead space, was defined as the volume exhaled up to the inflection point of phase 2 from the main- and sidestream (VDFMS and VDFSS) capnograms23. The physiological dead space according to Bohr (VDBMS and VDBSS) was calculated from the main- and sidestream capnograms as24:

$$VDB_{MS} / V_{T} = \, \left( {PACO_{2,MS} {-} \, P\overline{E}CO_{2,MS} } \right) / PACO_{2,MS}$$
$$VDB_{SS} / V_{T} = \, \left( {PACO_{2,SS} {-} \, P\overline{E}CO_{2,SS} } \right) / PACO_{2,SS}$$

where PACO2,MS and PACO2,SS are the mean alveolar partial pressure of CO2, obtained by taking the value at the midpoint of phase 3 in the main- and sidestream volumetric capnograms. PĒCO2,MS and PĒCO2,SS are the mixed expired CO2 partial pressure values, determined in each expiratory cycle by dividing the integrated MS and SS volumetric capnogram curves by the current expired gas volume (VT). The Fowler and Bohr dead space fractions (VnDF, VnDB) were obtained by dividing the corresponding dead space volumes by VT. Minute ventilation (MV) was calculated as the product of respiratory rate and the current expired VT.

Study protocol

Participants were instructed to breathe through the mouth and wear a noseclip. The experimental setup included a mouthpiece, a bacterial filter, the sampling cuvette of the mainstream capnograph, the screen pneumotachograph, and the connection of the sidestream capnograph’s sampling port. During the measurement phase, participants were instructed to synchronize their breathing with a metronome app (Metronome-reloaded, by Chris and Uwe, downloaded from Apple App Store) for 90 s, while volumetric capnography data with both devices was recorded. Following this, participants were instructed to remove the nose clip and breathe spontaneously for 3 min without any specific guidance before the start of another recording epoch.

This entire procedure was repeated at three different breathing rates: first at 12 breaths per minute (medium rate), then at 9 breaths per minute (low rate), and finally at 20 breaths per minute (high rate).

Statistical analysis

Sample size estimation was performed based on previous capnography data obtained from mechanically ventilated patients20 using the differences between S3T,MS and S3T,SS to allow for Bland–Altman analyses using a level of significance (α, type I error) of 0.05 and a power (1-β) of 0.9 (type II error of 0.1). The estimation resulted in a need for a minimum of 34 subjects. The estimations were carried out using the software MedCalc (version 20.218, MedCalc Software Ltd, Ostend, Belgium; https://www.medcalc.org).

Continuous variables are described as mean and standard deviation (SD), if normally distributed, or median and minimum–maximum, if not normally distributed. Two-way repeated measures analyses of variance (ANOVA) were used for comparisons between mean values of capnography indices using capnography device (mainstream or sidestream) and breathing frequency (medium, low, or high) as factors of comparison. Pairwise comparisons were performed by using Holm-Sidak post hoc analyses. Correlations of the indices between the two devices were examined by applying a Pearson correlation test. Correlation coefficients for the same parameter under different breathing frequencies were compared by applying Fisher z-transformation on all correlation coefficients, then performing pairwise comparisons z-tests using asymptotic normality. Bonferroni correction was applied to the P values to correct for multiple comparisons. The agreement of various capnography indices between mainstream and sidestream capnography was assessed by using Bland–Altman plots25. Effects of breathing frequency on the agreement and its proportional error were assessed using repeated measures mixed analyses of covariance (ANCOVA) using breathing frequency as a factor and average value obtained from mainstream and sidestream capnography as a covariate of comparison with least significant difference (LSD) adjustments used for pairwise post hoc analyses.

The statistical tests were performed with SigmaPlot (version 13, Systat Software, Inc., Chicago, IL, United States) and IBM SPSS Statistics (version 29.0.0.0, IBM Corp., Armonk, NY, USA). Statistical analyses were conducted with a significance level of p < 0.05, and all reported p-values are two-sided.

Results

Figure S1 in the online data supplement displays time and volumetric capnography curves, measured using both main- and sidestream techniques, in a representative patient at low, medium, and high breathing rates.

Table 2 displays ventilation parameters and capnography indices across different breathing rates, using both main- and sidestream techniques. An increase in breathing frequency resulted in a decrease in VT and an increase in MV, leading to lower ETCO2 values. However, ETCO2 values were consistent across breathing rates, regardless of the measurement technique. In contrast, capnography shape factors and dead space parameters measured by main- and sidestream methods showed significant differences (p < 0.001), except for VDF at low and medium breathing rates. Notably, there were significant increases in S2T (p < 0.001), S2V (p < 0.001), S3T (p < 0.001), and S3V (p < 0.005) with higher breathing frequencies, while VDB remained unaffected by changes in breathing rate.

Table 2 Ventilation parameters and capnography indices obtained at low, medium and high breathing frequencies in spontaneously breathing subjects (n = 35).

Figure 2 illustrates normalized shape factors and ventilation dead space parameters measured with both main- and sidestream capnography at varying breathing frequencies. All normalized shape factors (p < 0.001) and VnDF (p < 0.05) showed significant differences between measurements from main- and sidestream capnograms, except for VnDB, which was unaffected by the measurement technique. An increase in breathing frequency significantly raised Sn2T (p < 0.001), Sn3T (p < 0.001), Sn3V (p < 0.001), VnDF (p < 0.01), and VnDB (p < 0.01), whereas Sn2V significantly decreased at higher breathing frequencies (p < 0.01).

Fig. 2
figure 2

Normalized phase 2 and 3 slopes obtained from time (Sn2T, Sn3T) and volumetric capnograms (Sn2V, Sn3V), Fowler’s anatomical (VnDF) and Bohr’s physiological (VnDB) dead space fractions measured with both mainstream (empty boxes) and sidestream (hatched boxes) techniques in spontaneously breathing subjects (n = 35) at low (blue), medium (white) and high (red) breathing frequencies. #: p < 0.05, $: p < 0.01, *: p < 0.001.

Figure 3 shows the correlations between normalized shape factors, ventilation dead space parameters, and ETCO2 measured using both main- and sidestream capnography across various breathing frequencies. Significant correlations were found for all capnographic parameters assessed by main- and sidestream techniques at all breathing rates. When comparing correlation coefficients, an increase in breathing rate significantly weakened the association for Sn3T (p < 0.05), while the correlation for VnDF showed a significant increase (p < 0.05).

Fig. 3
figure 3

Correlations between the absolute values of time and volumetric capnography indices measured by mainstream (MS, horizontal axis) and sidestream capnography (SS, vertical axis). Linear regressions for low (blue), medium (black) and high (red) breathing frequencies are shown as continuous lines, grey dashed lines indicate the lines of identity. Pearson correlation coefficients (r) and p values for each breathing rate are shown separately in each panel with the corresponding colors. *: r values p < 0.05 vs. low, #: r values p < 0.05 vs. medium. ETCO2: end-tidal CO2; Sn2T and Sn3T: normalized phase 2 and 3 slopes in time capnogram, respectively; Sn2V and Sn3V: normalized phase 2 and 3 slopes in volumetric capnogram, respectively; VnDF: Fowler (anatomical) dead space fraction; VnDB: Bohr (physiological) dead space fraction.

We assessed the impact of altering breathing frequency as an intervention on capnogram indices, focusing on the relative differences when assessed by main- and sidestream capnography, as shown in Fig. 3. Significant correlations were observed for the relative changes in all capnogram parameters across various breathing frequencies. Furthermore, the analysis indicated that a higher breathing rate significantly enhanced the correlation for changes in Sn2T (p < 0.05) and reduced the correlation coefficients for changes in VnDB (p < 0.05).

The results of the Bland–Altman analyses are presented in Figs. S2-S4 (online data supplement), and a summary of the mean bias and limits of agreement are summarized in Table 3. Main- and sidestream capnography techniques demonstrated good agreement with a narrow bias for ETCO2, VDB, and VnDB across all breathing rates. However, such analyses of other capnography shape factors and dead space parameters revealed systematic bias and wider limits of agreement when measured with both sidestream and mainstream techniques. Breathing frequency had significant effect on the agreement between the two techniques for all parameters (p < 0.05), except Sn2T and VDF. The absolute values of the measured parameters had significant effect on the differences between sidestream and mainstream techniques resulting in a proportional error (trend) for all parameters (p < 0.05), except S3T and VDB.

Table 3 Mean bias and 95% limits of agreement are determined by Bland–Altman analyses in spontaneously breathing healthy subjects (n = 35).

Discussion

The results of the present study demonstrate significant correlations between shape factor and ventilation dead space parameters obtained by mainstream and sidestream capnography in subjects breathing spontaneously. The respiratory rate significantly impacted all capnography parameters, regardless of the measurement technique used. However, both mainstream and sidestream approaches exhibited comparable abilities in detecting changes in capnography indices in response to variations of the breathing rate, as indicated by the excellent concordance between the two techniques. Conversely, the agreement between mainstream and sidestreammeasurements depends on the breathing frequency, exhibiting a broad range of variability from relatively poor for most outcomes to relatively close for ETCO2 and physiological dead space.

The influence of breathing frequency on the amount of expired CO2 with a particular focus on the ETCO2 and VT alterations is well documented26,27. While these changes are expected to manifest in alterations of capnogram shape factors and dead space parameters, there is a notable research gap in this respect. Increased breathing frequency results in steeper phase 2 and 3 slopes in the time domain, attributable to higher expiratory flows (Table 2, Fig. 2). This faster breathing reduces the gas transition zone between the conducting and respiratory zones, leading to a decrease in the S2V. Anatomical and physiological dead space fractions demonstrate a positive relationship with breathing frequency, indicating less efficient gas exchange at higher rates. Although the overall changes are consistent across measurement techniques, significant discrepancies exist between side- and mainstream measurements for all capnogram parameters except for VDB. This discrepancy can be attributed to the fundamental difference between the two techniques. Sidestream estimates are biased by the axial gas diffusion in the sampling tube3,19,20, which affects the dynamic response of the measurement system in a frequency-dependent manner.

The frequency-dependent discrepancy between the capnography parameters obtained by main- and sidestream techniques was further explored by analyzing their relationships. These analyzes generally revealed significant correlations between the shape factors and dead space indices with a wide range in the strength of associations (Fig. 3). Parameters related to the late phase of the expiration (phase 3 slopes and physiological dead space) exhibited very strong correlations since this part of the capnogram is less sensitive to the dynamic distortion caused by the sampling tube. Conversely, distal gas analysis by sidestream approach is more prone to a bias for the parameters associated with the early phase of expiration (phase 2 slopes and anatomical dead space), where the dynamic changes in the volume and pressure are dominant. Interestingly, while alteration in the breathing rate affected the absolute values of the capnogram parameters, this intervention had a significant effect on the strength of correlation only for Sn3T. This finding indicates that sidestream assessments of the capnogram indices reflect those measured by the mainstream technique as a reference, except for the phase 3 slope time domain at high breathing rate. This uncertainty in the sidestream assessment can be attributed to the shortened breathing cycle, which blurs the transitions between the phases (Fig. S1), thereby diminishing the reliability of the sidestream estimates.

We also extended the analysis to compare the agreement between main- and sidestream capnography parameters (Table 3 and Figures S2-S4). These analyses revealed good agreements for ETCO2 and physiological dead space measurements (VDB and VnDB). However, the agreements for other capnogram parameters were relatively poor, characterized by large biases, wide limits of agreement, and significant proportional errors. As expected, increasing breathing frequency weakened the agreements due to the impaired dynamic response of the sidestream estimates. While the devices are not interchangeable for assessing the absolute values of the capnogram parameters, a good concordance was observed in the changes of these indices to alterations in breathing rate as a challenge (Fig. 4). This finding suggests that both capnography techniques can effectively serve as trend monitors for detecting changes in ventilation and/or ventilation-perfusion matching.

Fig. 4
figure 4

Correlations between the changes in time and volumetric capnography indices to alterations of breathing frequency measured by mainstream (MS, horizontal axis) and sidestream capnography (SS, vertical axis). Linear regressions for the transitions from medium to low (black), high to medium (green) and high to low (magenta) breathing frequencies are shown as continuous lines, grey dashed lines indicate the lines of identity. Pearson correlation coefficients (r) and p values for each change in breathing rate are shown separately in each panel with the corresponding colors. *: r values p < 0.05 versus normal to low, #: r values p < 0.05 versus high to medium. ETCO2: end-tidal CO2; Sn2T and Sn3T: normalized phase 2 and 3 slopes in time capnogram, respectively; Sn2V and Sn3V: normalized phase 2 and 3 slopes in volumetric capnogram, respectively; VnDF: Fowler (anatomical) dead space fraction; VnDB: Bohr (physiological) dead space fraction.

The strength of correlation and the limits of agreement in S3T and S3V are comparable to those obtained earlier in mechanically ventilated patients20. However, the concordance between the main- and sidestream estimates for phase 2 slopes and dead space fractions in subjects breathing spontaneously is markedly stronger than the correlations and agreements observed under mechanical ventilation20. This finding is of particular interest, given that mechanical ventilation theoretically provides strictly monotonous and uniformly controlled pressure and flow conditions in the lungs, in contrast to the variability seen with spontaneous breathing. The stronger association observed between the main- and sidestream techniques may be attributed to the fundamentally different pressure conditions experienced during spontaneous breathing compared to mechanical ventilation. Alternating positive airway pressure during mechanical ventilation introduces significant dynamic variations in sampling flow rate, which distorts the sidestream capnogram, especially in the rapidly changing phases (i.e. phase 2)28. During spontaneous breathing, however, the amplitude of negative pressure swings at the inlet is physiologically smaller. Thus, sidestream measurements exhibit less bias from the pressure fluctuations that occur during transitions between the inspiratory and expiratory phases of spontaneous breathing.

Some methodological aspects and limitations warrant consideration. While consistent changes in the capnogram parameters were evidenced across different breathing frequencies, our study did not aim to induce major gas exchange disturbances through these voluntary changes in breathing rate. Therefore, we limited the selection of breathing rates to those within physiological ranges to ensure that gas exchange parameters remain in the physiological range. The use of controlled breathing rates can also pose some limitations; however allowing spontaneous breathing frequencies would have introduced additional variabilities and would have complicated the comparison. Another important aspect of our study is the inclusion of a somewhat heterogeneous population, including a few patients with mild cardiorespiratory disorders, thereby supporting the generalizability of our findings to a wider population. Furthermore, despite the study being conducted with a moderate number of patients, the statistical tests achieved high power levels. This ensures that we can draw statistical conclusions with a high degree of confidence.

In summary, we simultaneously measured shape factor parameters and ventilation dead space fractions in spontaneously breathing subjects using both main- and sidestream capnography. Our analysis revealed consistent assessments of ETCO2 and Bohr physiological dead space across measurement techniques, indicating these assessments are technique-invariant. In contrast, other capnography indices varied depending on the expired gas analysis site. Despite a general lack of agreement across different measurements, our study found strong and significant correlations in the absolute values of capnography indices, particularly in their ability to reflect relative changes associated with altered breathing rates. Given the consideration of mainstream capnography as the reference technique, the observed close association underscores the effectiveness of sidestream capnography in monitoring within-subject variations in shape factors and dead space fractions. Consequently, sidestream capnography emerges as a reliable method for monitoring trends both in the time and volumetric domain in clinical scenarios where mainstream technique is not available or not feasible (e.g., polysomnography or noninvasive ventilation), allowing the assessment of alterations in lung ventilation, and evaluating ventilation-perfusion matching in spontaneously breathing subjects.