 Research
 Open Access
 Published:
Generalized estimation of the ventilatory distribution from the multiplebreath nitrogen washout
BioMedical Engineering OnLine volume 15, Article number: 89 (2016)
Abstract
Background
This work presents a generalized technique to estimate pulmonary ventilationtovolume (v/V) distributions using the multiplebreath nitrogen washout, in which both tidal volume (V _{ T }) and the endexpiratory lung volume (EELV) are allowed to vary during the maneuver. In addition, the volume of the series dead space (v _{ d }), unlike the classical model, is considered a common series unit connected to a set of parallel alveolar units.
Methods
The numerical solution for simulated data, either errorfree or with the N_{2} measurement contaminated with the addition of Gaussian random noise of 3 or 5 % standard deviation was tested under several conditions in a computational model constituted by 50 alveolar units with unimodal and bimodal distributions of v/V. Nonnegative least squares regression with Tikhonov regularization was employed for parameter retrieval. The solution was obtained with either unconstrained or constrained (V _{ T }, EELV and v _{ d }) conditions. The Tikhonov gain was fixed or estimated and a weighting matrix (WM) was considered. The quality of estimation was evaluated by the sum of the squared errors (SSE) (between reference and recovered distributions) and by the deviations of the first three moments calculated for both distributions. Additionally, a shape classification method was tested to identify the solution as unimodal or bimodal, by counting the number of shape agreements after 1000 repetitions.
Results
The accuracy of the results showed a high dependence on the noise amplitude. The best algorithm for SSE and moments included the constrained and the WM solvers, whereas shape agreement improved without WM, resulting in 97.2 % for unimodal and 90.0 % for bimodal distributions in the highest noise condition.
Conclusions
In conclusion this generalized method was able to identify v/V distributions from a lung model with a common series dead space even with variable V _{ T }. Although limitations remain in presence of experimental noise, appropriate combination of processing steps were also found to reduce estimation errors.
Background
The multiplebreath nitrogen washout (MBN_{2}W) and the singlebreath washout are classical pulmonary function tests, based on the measurement of the concentration or fraction of N_{2} in the breathing gases, to evaluate the ventilation inhomogeneity. Among measures and indices obtainable from the MBN_{2}W, one of the most useful is the functional residual capacity (FRC) or endexpiratory lung volume (EELV), meaning the relaxed lung functional volume comprising all ventilated alveolar units plus the series dead space. The MBN_{2}W is also able to convey information about ventilationtovolume (v/V) inhomogeneities, by profiling the rate of expiratory elimination of the tracer gas along many respiratory cycles [1]. Several indices developed to evaluate the ventilation inhomogeneity are derived from the MBN_{2}W, such as the lung clearance index [2] and the multiplebreath alveolar mixing inefficiency [3]. However, different patterns of inhomogeneity may be represented by the same values of these indices, which limit their specificity. Despite being relatively benign and noninvasive, the MBN_{2}W needed, when it was being experimentally explored, costly, bulky machinery such as respiratory mass spectrometers (RMS); it could not map anatomy nor the spatial distribution of the quantities it measured, and ultimately it saw a decline of interest as a technique for general, daytoday clinical application.
Along the time, the instrumentation to measure respiratory gas concentrations underwent evolutions. From the huge RMS to tiny capnometers and oximeters, their price and size shrunk, warranting broader use for them as alternatives to a direct measurement of N_{2}. The presence of such accessible devices suggest revisiting techniques such as MBN_{2}W. Even the usually nontrivial correction of the asynchrony between flow and concentration signals inherent to sidestream gas sampling, which requires high accuracy and is mandatory for adequate measurements of breathbybreath volumes of gases [4] can be spared, for instance with the available mainstream gas sensors [5] or by simplifications based in taking endtidal values as representative of mean alveolar concentrations, hence obviating the need for synchronization algorithms [6, 7].
On the other hand, the mathematical models available for the analysis of v/V distribution from the MBN_{2}W required very stringent maneuvers and circumstances: the fraction of N_{2} should decrease in an abrupt step between two respiratory cycles; tidal volume (V _{ T }) and, more importantly, the EELV should be kept constant throughout the maneuver, that is, inspiratory and expiratory V _{ T } must be equal. Those requirements may be difficult to meet, especially when the subject breathing spontaneously or in assisted modes of mechanical ventilation (MV) cannot cooperate by keeping a steady respiratory pattern. In order to overcome these limitations, new mathematical models, and model fitting techniques, must be developed. The objective of this work is to present, with simulated signals, a novel, more general mathematical model for the MBN_{2}W, which accounts for the presence of a series dead space [8] and possibly varying V _{ T }, EELV and inspiratory fraction of N_{2}, accompanied by candidate datafitting algorithms aiming at computing the v/V distribution in the lungs.
Methods
The present mathematical model (Fig. 1) comprises a set of N parallel alveolar units with a common series dead space operating as ideal gas mixers. In this model, the sum of the fractions of V _{ T } ventilating the alveolar units is equal to one, which differs from other approaches [1, 9] that model the anatomical dead space as one of the parallel alveolar units.
The assumptions governing the equations of the present model are the following:

1.
Each alveolar unit, as well as the dead space, are ideal gas mixers;

2.
All alveolar units are in parallel and they communicate exclusively over the common dead space;

3.
Respiratory gases enter and leave all alveolar units synchronously and their volumes are never emptied;

4.
All units, including the dead space, are in equilibrium and have the same N_{2} concentration prior to the nitrogen washout or washin;

5.
The common dead space, whose volume is always known, is in series with the set of alveolar units, and includes the anatomical and the instrumental dead spaces;

6.
The EELV, representing the sum of the volumes of all ventilated alveolar units plus the common dead space, is also always known;

7.
Gas diffusional phenomena is negligible;

8.
The respiratory exchange ratio is always unitary;

9.
The N_{2} solubility in blood and tissues is negligible;

10.
The ventilationtovolume ratios of the alveolar units are logarithmically distributed.
These assumptions, except that concerning the presence of a series common dead space, although not necessarily as explicit in this form, are the same as in previous works [9, 10].
The model formulation
Considering that a lung alveolar unit (\(J\)) is an ideal gas mixer characterized by an endexpiratory volume \(v(J)\) and a ventilation fraction of V _{ T } \(\gamma (J)\) the specific ventilation is defined as
By assuming an ideal step to a null inspiratory concentration of the tracer gas at the onset of the MBN_{2}W and a constant EELV during the maneuver, the classical modelling approach calculates the alveolar unit concentration of N_{2} at each new breath \((k)\) as
a dilution of the previous concentration in the endinspiratory alveolar unit volume.
If the lung is composed by N parallel alveolar units, the endtidal N_{2} concentration measured at the mouth is then a mixture
of the content of each alveolar unit weighted by the corresponding ventilation fraction. For a given distribution of \(S(J)\) and a set of initial alveolar units concentrations the model in Eqs. 1 and 2 can be fitted to real washout data using a linear solver to estimate the corresponding \(\gamma \left( J \right)\) values.
During MV, the ideal step condition is difficult to achieve without a specially designed circuit and does not hold with usual MV circuits. However, this condition can be disregarded by including the alveolar units inspired N_{2} concentration (\(F_{{N_{2} }}^{I,A} \left( k \right)\)) to the model. The new equation becomes
which has the same properties of Eq. 1. There is no explicit condition over \(F_{{N_{2} }}^{I,A} \left( k \right)\), so this can be used to incorporate a common series dead space (\(v_{d}\)) to the alveolar units.
At the beginning of inspiration, the concentration of N_{2} in \(v_{d}\) is equal to the endtidal concentration of the previous breath (Eq. 2). The alveolar units inspired gas is a mixture of the ventilator delivered gas (\(F_{{N_{2} }}^{I}\)) and \(v_{d}\) content, being given by
During MV, \(V_{T}\) is usually constant but novel modes, markedly the variable ventilation, may provide different volumes for each breath. To extend the model while preserving the constant \(S(J)\) distribution, a constant reference value of \(V_{T}\) (\(V_{T0}\)) must be incorporated. Redefining the specific ventilation as
changes Eq. 3 to
which is directly dependent on the ratio \(V_{T} /V_{T0}\). This ratio indicates that different V _{ T } can decrease or increase the dilution rate compared to the reference. In practice, this shifts the γ(J) distribution to slower or faster compartment regions while preserving its shape. The reference V _{ T0 } can be freely chosen and is a way to normalize the distribution to better compare intra and inter subject data. The algorithm was designed to estimate \(\gamma \left( J \right)\) irrespective of V _{ T }, though, so that we would have the same estimate for \(\gamma \left( J \right)\) whether V _{ T } is constant or variable. More generally, the intended effect of the algorithm is to factor out any change in V _{ T } in order to have a single curve for \(\gamma \left( J \right)\), for whatever values of V _{ T }, given a V _{ T0 }.
In all previous equations the inspiratory (\(V_{T}^{I}\)) and the expiratory (\(V_{T}^{E}\)) tidal volumes were considered equal, as expected for a relaxed patient under MV. However, in case of assisted ventilatory modes or during spontaneous ventilation this assumption is no longer valid. As \(S(J)\) is related to the (variable) alveolar units volumes, it needs to be defined using a reference value and the washout model must track the changes in EELV and \(v(J)\).
The EELV changes are tracked by the ratio of the difference between \(V_{T}^{I}\) and \(V_{T}^{E}\) and the current EELV,
To model the effect of EELV changes in each alveolar unit, in order to keep a unique shape for the distribution of ventilation and prevent alveolar units closures, we hypothesized that all alveolar units reduce or increase volume by the same ratio. Assuming that the reference for \(v(J)\) is the volume at the beginning of the washout (\(v_{0} (J)\)), at any breath cycle a alveolar unit’s volume is known from the relation
The alveolar unit \(N_{2}\) concentration is then calculated defining \(S\left( J \right)\) in terms of \(v_{0} \left( J \right)\). This leads to
which reduces to Eq. 5, if \(V_{T}^{E} = V_{T}^{I}\) for all breath cycles, and to Eq. 3, if in addition the \(V_{T}\) is fixed. Considering the assumption that \(\beta \left( k \right)\) is equal for all alveolar units, the endtidal expired gas must account for the volume kept or released every breath cycle. Therefore, the endtidal gas is now
With \(\gamma \left( J \right)V_{T0} /S\left( J \right)\) expressing \(v_{0} \left( J \right)\). Equation 9 is simplified to Eq. 2 for all the simple cases and then Eqs. 8 and 9 are a unified model for lung alveolar unit washout. It is important to note that in the most general case, with variable \(V_{T}^{I}\) and \(V_{T}^{E}\), the estimated \(\gamma \left( J \right)\) distribution is the one at the beginning of the washout maneuver, if \(V_{T} = V_{T0}\) is considered.
For the present numerical results, the MBN_{2}W was simulated for a human adult under MV. The EELV ranged from 1.0 to 4.244 L [11, 12] with N = 50 alveolar units logdistributed on \(S\left( J \right)\) in the range of 0.01–100. Mean V _{ T } was 0.5 L [13] and was kept constant or with a variability of 25 % [14]. The \(v_{d}\) was of 0.125 L [15].
Recovering the distributions: inverse problem formulation
To define the inverse problem of finding \(\gamma \left( J \right)\) knowing \(F_{{N_{2} }}^{et}\) at each breath cycle of washout, consider the vector form of Eq. 9
With Eq. 10, it is possible to see that the recovery of the vector \(\gamma\) is the solution of a system of linear equations. It can be noted that even with zero noise the inverse problem is most likely illposed when the number of alveolar units is larger than the number of washout breath cycles. To get a unique, smooth solution, the regularization method of Tikhonov [16] can be applied and up to three constraints over \(\gamma\) can be added.
The first constraint is the classical nonnegativity condition [1, 9]. The second is the constraint of unitary total ventilation [9]. Finally, the sum of alveolar units volumes is constrained to \(EELV  v_{d}\).
The problem of finding \(\gamma \left( J \right)\) becomes equivalent to solve a constrained nonnegative leastsquare problem
where \(A \in {\mathbb{R}}^{MxN}\) is a matrix whose elements \(a_{ij}\) are the predicted \(N_{2}\) concentration of alveolar unit \(j\) at breath cycle \(i\) and \(b \in {\mathbb{R}}^{M}\) is the measured \(F_{{N_{2} }}^{et}\) during the washout maneuver. The second term imposes a smoothness condition with a scalar gain λ and a weighting matrix \(L \in {\mathbb{R}}^{NxN}\), which can be used to penalize some alveolar units more than others. Matrix \(C\) is the constraint matrix.
See the Additional file 1 for a summary of the algorithm to estimate the distribution of ventilation.
Least square solvers
The complete least square problem with three constraints was solved using an activeset algorithm [17], while in the condition requiring only nonnegativity, the Lawson and Hanson algorithm was used [18]. In either cases, the Tikhonov smoothness was applied expanding the matrix \(A\) and vector \(b\) with \(\lambda L\) and a null vector, respectively.
Sensitivity to noise
Sensitivity to noise was assessed by the numerical simulation of uni and bimodal lognormal distributions with different logmeans and logstandard deviation (logSD) [1, 9]. Unimodal shapes are typical of normal young subjects and bimodal shapes are found in normal old as well as in patients with cystic fibrosis or other obstructive lung diseases [1]. The simulations included washouts with errorfree \(F_{{N_{2} }}^{et}\) and measurements corrupted by normal distributed noise with zero mean and 3 or 5 % standard deviation(SD) [9]. The three \(V_{T}\) conditions (\(V_T^E=V_T^I=constant\); \(V_{T}^{E} = V_{T}^{I} \ne constant\); and \(V_{T}^{E} \ne V_{T}^{I} )\) have been considered with a basal \(V_{T}\) of 500 mL. In presence of noise or with nonconstant \(V_{T}\) the simulations were repeated 1000 times. At the beginning of the washout, instead of an ideal step change, the N_{2} concentration fell to zero at the fifth breath cycle, simulating the washout of the inspiratory external circuit of the mechanical ventilator. Figure 2 depicts a diagram of all simulated conditions.
Reconstruction conditions
To assess the effect of noise on different reconstruction approaches, simulations covered the nonnegative and the fullconstrained least square problems, 17 breath cycles [9] or consensus washout (N_{2} concentration at the end of the of the washout at 1/40 of the starting concentration [4]) and the use of \(L\) equal to identity or the alveolar unit weighting matrix (WM) proposed by Lewis et al. [1]. Additionally, two Tikhonov gains \(\lambda\) have been used. One gain was constant, independent of noise and equal to 0.033, the other was calculated for each simulated washout as the maximum between this constant value and three values estimated by heuristic methods (lcurve, generalized cross validation and normalized cumulative periodogram) [19]. Analogously, for noisefree simulations, the constant \(\lambda\) was equal to 0.0008 and the estimate was the maximum among this value and the heuristics. Figure 3 shows a diagram of the recovering flow chart.
Figures of merit
The quality of estimation was assessed by the SSE between the reconstructed and reference distributions and a set of parameters characterizing the distribution shape.
The shape parameters are the first three moments: mean, variance (expressed by the logSD) and skewness, the latter calculated only for unimodal distributions. All moments were estimated considering a continuous probability density function \(P\left( x \right)\), with \(x = log(S)\). The figures of merit are the differences between the parameters calculated for estimated and reference, expressed as a percentage of reference for mean and logSD. Results are calculated as mean and SD of the absolute values of all simulations. Additionally, we established an objective characterization of the reconstructed waveform shape. A unimodal shape was defined as the distribution that has only one peak or, in the presence of two peaks, the smaller to larger peak ratio must be less than 20 % or they must be spaced by less than five alveolar units. A bimodal shape was the distribution which has two peaks with smaller to larger peak ratio above 30 % separated by a valley of at most 80 % of smaller peak amplitude. This classification was applied to all tests performed.
For a visualization of the reconstructed curves, they are plotted as boxplot of all repetitions for the best combination of smoothness gain, weighting matrix and least square solver. All software routines were written and run in MatLab (MathWorks, USA).
Results
Figure 4 shows examples of N_{2} washouts from ambient air to 100 % O_{2} for the three V _{ T } conditions. The simulations were accomplished with errorfree data. The v/V distributions were identical for the three conditions. Note that for the most general case (variable V _{ T } and EELV), the \(F_{{N_{2} }}^{et}\) can increase along the washout when \(V_{T}^{E} > V_{T}^{I}\). Recovered \(F_{{N_{2} }}^{et}\) and v/V distributions were practically coincidental with the simulated.
Figure 5 presents the SSE means for the recovered unimodal and bimodal distributions, considering either the first 17 breath cycles or the consensus washout maneuver (see the SD in Additional file 1: Figure S1). Small values of SSE (colored blue) represent estimated distributions close to the reference with alveolar units outside the simulated \(S(J)\) span having a small ventilation fraction. The best result was achieved with fixed λ, and with alveolar unit weight (upper right panel). The constrained and unconstrained solutions gave similar results, slightly better with the former for bimodal distributions. The number of breath cycles used for recovering had minor effect on the results. Regarding the consensus option, the minimum number of breath cycles taken for v/V identification was 15 (unimodal, EELV = 1.0 L, logSD = 0.55) and the maximum was 50 (bimodal, EELV = 4.244 L, logSD = 0.50 for both modes).
The averaged absolute values of the relative errors of the means of unimodal and bimodal estimated distributions are shown in Fig. 6 (see the SD in Additional file 1: Figure S2). A positive sign inside the cell indicates a tendency to estimate right shifted distributions, while a negative sign indicates a left shift. Analogously to the SSE evaluation, the best solution was found with fixed λ, with WM and constrained (upright panel).
Besides displacement of the mean value, the distribution can be narrowed or broadened. This characteristic was measured with the relative errors of logSD, shown in Fig. 7 (see the SD in Additional file 1: Figure S3). Positive signs indicate broadened and negative signs, narrowed distributions. Signs, except for a few errorfree data distributions, were positive (broadened). Analogously to the precedent evaluations, the best results were found with fixed λ, WM and constrained (upright panel). The errors increased for small logSD distributions.
For a unimodal distribution, a shift in the mean can be a consequence of displacement of the entire distribution or a loss in symmetry. This was assessed with the difference of skewness in estimated and reference distribution, as shown in Fig. 8 (see the SD in Additional file 1: Figure S4). A positive (negative) sign inside the rectangle indicates a tail to the right (left). Note that the skewness sign was positive in most cases and opposed to the mean difference, which means an asymmetry of the estimated distribution. The errors were smaller than 0.05 only for errorfree data, and increased tenfold when noise was added to the data.
The waveform shape classification is shown in Fig. 9 for both unimodal and bimodal distributions. The results were calculated in percentage of agreements after 1000 tests for each case. For unimodal distributions, a high agreement was found for all recovering combinations. Considering 5 % of noise, the overall maximum agreement averaged 97.2 % (constrained, WM, adjusted lambda, 17 breath cycles) and the minimum was 84.0 % (constrained, identity, fixed lambda, consensus washout). For bimodal distributions the results spread from high to very low agreement. The maximum was 90.0 % (constrained, identity, fixed lambda, 17 breath cycles) and the minimum was 17.8 % (unconstrained, identity, adjusted lambda, 17 breath cycles).
In order to depict the summary statistics and get a qualitative view of estimations, Figs. 10 and 11 show the boxplot of estimated unimodal and bimodal distributions, respectively. The plots represented the alternative of using WM, fixed Tikhonov gain, consensus washout estimation applied to data with 5 % of noise. In general, for unimodal distributions (Fig. 10) the median of the estimated alveolar unit fraction of ventilation was close to the reference, with higher agreement for the broad distributions (upper panels). For narrow distributions (lower panels), the estimated distribution has a small right skew, which leads to the negative difference of mean and positive skewness (Figs. 6, 8, respectively). There are also some outliers outside the simulated alveolar units span, which increase the estimated logSD (Fig. 7). Most of these outliers are in the fast region (high v/V), as an effect of noise, but do not reach the end of \(S(J)\) range, penalized by the WM matrix. For bimodal distributions (Fig. 11), the estimated medians presented modes close to the reference with a higher agreement to the mode at low v/V. The high v/V mode was shifted to the left with a tail to the right.
To assess the influence of errors of \(v_{d}\) measurement on the estimated distribution, Fig. 12 shows the boxplot of a 3 % noisy unimodal distribution with EELV = 1.0 L and logSD = 0.55 estimated with +5 and −5 % of error on the simulated \(v_{d}\). When compared with the estimated errorfree \(v_{d}\) (red line), an over/underestimated \(v_{d}\) lead to a small right/left shift on the distribution, respectively.
Discussion
A brief summary of the results ensues. A generalized equation has been demonstrated and tested which allows for the identification of v/V distributions for a lung with a common series dead space and variable V _{ T } and EELV. As seen in Figs. 2 and 3, a rather large set of combinations of v/V distributions and strategies for the recovery algorithms was tested, mostly with results that support the proposed approach. Considering all V _{ T } conditions and all figures of merit in ensemble (errors in SSE, mean, logSD, and skewness) the best combination for unimodal distributions was obtained with the joint use of WM, constrained solver, and fixed λ. The number of cycles used for recovery, 17 or consensus washout, produced similar outcomes. The best classification for unimodal distributions was achieved with WM, constrained solver, 17 cycles and adjusted (instead of fixed) λ and resulted in 97.2 % of agreement, higher than the best combination for moments’ estimates (91.6 %). For bimodal distributions, the best result for the figures of merit was obtained with WM, the constrained solver and adjusted (instead of fixed) λ, and the technique was insensitive to the number of breath cycles. The best classification was achieved with the identity matrix (instead of WM), the constrained solver and the fixed λ (90.0 %), much higher than using the best combination used for the moments’ estimates (63.9 %).
The use of Tikhonov regularization spans several fields of applied sciences, as an effective tool to enforce smoothness when a curve with such a characteristic is expected, as in the present case. Nevertheless, it requires choosing the shape of the corresponding matrix and its values; here, only two regularization matrices were tested, the identity matrix and the WM proposed by Lewis et al. [1] and applied as described by Whiteley et al. [9], which penalizes the nonzero solutions found close to the upper and lower limits of the specific ventilation. Albeit we have tested a numerous set of distributions and recovering combinations, this is far from exhaustive. Moreover, the v/V distributions were also chosen, in the present case, to represent both normal and abnormal lungs of adults [1], with 50 alveolar units as in almost all previous works on this subject. We used specific ventilation ranging from 0.01 up to 100, as did Wagner [20] and Kapitan [21], differently from Whiteley et al. [9]. Different choices may be required to model other patients e.g. infants.
As expected, all estimates were sensitive to measurement noise. The simulated experimental errors limit the recovery of v/V distributions with MBN_{2}W, and that would be expected with real signals. It remains a challenge to increase the accuracy of measurements in order to identify, with a single test, whether the distribution is uni or bimodal, skewed to right or left, narrow or broad and apply this to assess or to control therapeutic procedures. The classical experimental setup requires an RMS and the use of mean expired gas demands the synchronization of signals, which are additional sources of errors [22]. The current technology allows the indirect monitoring of \(F_{{N_{2} }}^{et}\) as the complement of O_{2} and CO_{2} gas fractions measured by the sensors available in mechanical ventilators [23] or other instruments [7, 24], which may also involve errors. Moreover, the MBN_{2}W, if performed with small amplitude changes of O_{2}, for instance with criticallyill patients [25], may see a reduction in the signaltonoiseratio; however, since with the present model the N_{2} washout may be followed by a series of washinwashout maneuvers, perhaps the increased number of breath cycles may compensate for increased relative measurement errors.
The effect of experimental errors on recovering v/V distributions was studied by Lewis et al. [1], Kapitan [21] and Whiteley et al. [9] with noise levels of 1, 0.1 and 3–5 %, respectively. We consider the highest error limits more realistic, since other sources of errors such as that in flow rate and V _{ T } must be considered. Their recovering algorithms were comparable to those applied in the present work [1, 9]. A direct comparison of results is difficult, however, since the modelled distributions, as well as the criteria to quantify the recovering estimates accuracy, are different. However, the present study used the same error amplitudes as tested by Whiteley et al. [9] and also evaluated the first moments and the agreement in curve shapes for both unimodal and bimodal distributions. In particular, our results of shape agreement were higher than reported by Whiteley et al. [9]. Nevertheless, these authors did not specify their criteria; our model allowed, for example, for the presence of a small second mode in order not to reject the identification of a unimodal distribution. Differently, our best classification result was found without the use of the WM of Lewis et al. [1].
The present model includes most of the assumptions proposed in previous works addressing the recovery of v/V distributions from the MBN_{2}W [1, 9]. A key difference here is the use of a common series dead space, instead of a parallel dead space (allparallel model). There is a correspondence between both models, already demonstrated by Evans [26]. Nevertheless, if the washout comes from a lung with a common series dead space and the v/V reconstruction is based on the allparallel topology, the distributions will not be identical. One first obvious difference is the amplitudes of the fractional ventilations, which add up to one in our model, but to (\(1{  }{{v_{d} } / {V_{T} }}\)) in the allparallel model. This amplitude reduction will imply a shift to the left and a warped shape in the classical graphical representation of the v/V distribution. Actually, the allparallel model is a representation of the fractional alveolar ventilation instead of the total ventilation (which includes dead space rebreathing). It is a matter of choice: the allparallel model follows the gas exchange terminology, whereas our model quantifies the real volume change of each alveolar unit, comparable to image estimates of ventilation distribution [27]. The \(v_{d}\) can be measured with the Fowler’s technique [28] and preferentially by capnography instead of N_{2} monitoring, because N_{2} fraction amplitudes fall quickly along the washout and the early N_{2} emptying of fast alveolar units tends to apparently increase the magnitude of \(v_{d}\) [10].
It should be noted that some of the assumptions involved in the assembly of the present general equation are rather restrictive and some are opposed to evidence, for instance the synchronous filling and emptying of alveolar units, and homogeneous N_{2} concentrations in all units before the beginning of washout. Also, a simple model was used for \(v_{d}\), a single airway connecting all alveolar units to the outside environment, disregarding the several ramifications of the airways and the inherent presence of personal dead space [29]. Some of the assumptions are needed because the information obtainable from the MBN_{2}W is limited and simplification is mandatory.
The nonnegative least squares solution was obtained either with or without two additional constraints: (1) the V _{ T } fractions add up to one; (2) the sum of the alveolar units volumes is equal to (\({\text{EELV}}{  }v_{d}\)). Obviously, the effect on results of using these constraints depends on the accurate measurements of V _{ T }, EELV and \(v_{d}\). Measuring EELV and V _{ T } is inherent to the MBN_{2}W. Regarding EELV, its accuracy depends on both the N_{2} analyzer and the flow rate sensor from which the V _{ T } is calculated. Moreover, a time delay correction to synchronize both signals may be necessary and this is a critical step [4, 22]. During washout, an aliquot of N_{2} comes from blood and tissues and must be subtracted from the total eliminated amount of N_{2} for the correct EELV evaluation [30]. However, the absence of reliable data has induced the recommendation not to correct for this effect [4]. Additionally, it was shown that the N_{2} diffusion from outside the lungs causes only a small effect on v/V distributions recovering [31]. It must be noted that the present technique is not limited to the use of N_{2} as the test gas. Other inert gases such as SF_{6} or He [4] can be used and with obvious advantages because of their lower solubility in water and body tissues. Another potential confounder arises from the fact that, during washout, the composition of gases changes breathbybreath and usual flowmeters are not immune to dependencies on physical properties of the gas mixture such as viscosity, density or thermal conductivity, depending on the operating principle of the transducer.
Conclusions
In conclusion, we demonstrated a generalized equation that allows the identification of v/V distributions without V _{ T } and EELV restrictions, for a lung model with a common series dead space. Moreover, nonidealities such as the departure from a step change in N_{2} concentration are allowed by the model, which supports the applicability in spontaneously as well as in mechanically ventilated patients. We identified the best combinations of processing tools applied to minimize estimation errors, and showed the limitations of applying such a technique in presence of experimental noise.
Abbreviations
 MBN_{2}W:

multiplebreath nitrogen washout
 FRC:

functional residual capacity
 EELV:

endexpiratory lung volume
 \(v_{d}\) :

series dead space
 v/V:

ventilationtovolume
 MV:

mechanical ventilation
 \(V_{T}\) :

tidal volume
 SSE:

sum of squared errors
 N:

number of modeled alveolar units
 ν :

alveolar unit endexpiratory volume
 \(\gamma\) :

alveolar unit fraction of tidal volume
 J:

index of alveolar unit
 \(S\) :

specific ventilation
 \(k\) :

index of breath cycle
 \(F_{{N_{2} }}^{A}\) :

alveolar unit concentration of N_{2}
 \(F_{{N_{2} }}^{et}\) :

endtidal N_{2} concentration
 \(F_{{N_{2} }}^{I,A}\) :

alveolar unit inspired N_{2} concentration
 \(F_{{N_{2} }}^{I}\) :

ventilator delivered N_{2} concentration
 \(V_{T0}\) :

reference tidal volume
 \(V_{T}^{I}\) :

inspiratory tidal volume
 \(V_{T}^{E}\) :

expiratory tidal volume
 \(\beta\) :

ratio of change in endexpiratory lung volume
 \(v_{0}\) :

reference alveolar unit’s endexpiratory volume
 λ:

gain of smoothness condition
 logSD:

logstandard deviation
 WM:

weighting matrix
References
Lewis SM, Evans JW, Jalowayski AA. Continuous distributions of specific ventilation recovered from inert gas washout. J Appl Physiol. 1978;44(3):416–23.
Bouhuys A, Lichtneckert S, Lundgren C, Lundin G. Voluntary changes in breathing pattern and N2 clearance from lungs. J Appl Physiol. 1961;16(6):1039–42.
Larsson A, Jonmarker C, Werner O. Ventilation inhomogeneity during controlled ventilation. Which index should be used? J Appl Physiol. 1988;65(5):2030–9.
Robinson PD, Latzin P, Verbanck S, Hall GL, Horsley A, Gappa M, et al. Consensus statement for inert gas washout measurement using multiple and single breath tests. Eur Respir J. 2013;41(3):507–22.
Schibler A, Henning R. Measurement of functional residual capacity in rabbits and children using an ultrasonic flow meter. Pediatr Res. 2001;49(4):581–8.
Olegard C, Sondergaard S, Houltz E, Lundin S, Stenqvist O. Estimation of functional residual capacity at the bedside using standard monitoring equipment: a modified nitrogen washout/washin technique requiring a small change of the inspired oxygen fraction. Anesth Analg. 2005;101(1):206–12.
Brewer LM, Orr JA, Sherman MR, Fulcher EH, Markewitz BA. Measurement of functional residual capacity by modified multiple breath nitrogen washout for spontaneously breathing and mechanically ventilated patients. Br J Anaesth. 2011;107(5):796–805.
Jandre FC, GiannellaNeto A. A disturbanceenabled method for retrieving lung ventilation distributions from multibreath N2 washout. In: Engineering in medicine and biology society, 2000 proceedings of the 22nd annual international conference of the IEEE. 2000 p. 2968–71.
Whiteley JP, Gavaghan DJ, Hahn CEW. A mathematical evaluation of the multiple breath nitrogen washout (MBNW) technique and the multiple inert gas elimination technique (MIGET). J Theor Biol. 1998;194(4):517–39.
Prisk GK, Guy HJ, Elliott AR, Paiva M, West JB. Ventilatory inhomogeneity determined from multiplebreath washouts during sustained microgravity on Spacelab SLS1. J Appl Physiol (1985). 1995;78(2):597–607.
Bikker IG, van Bommel J, Reis Miranda D, Bakker J, Gommers D. Endexpiratory lung volume during mechanical ventilation: a comparison with reference values and the effect of positive endexpiratory pressure in intensive care unit patients with different lung conditions. Crit Care. 2008;12(6):R145.
Heinze H, SedemundAdib B, Heringlake M, Meier T, Eichler W. Relationship between functional residual capacity, respiratory compliance, and oxygenation in patients ventilated after cardiac surgery. Respir Care. 2010;55(5):589–94.
FernandezBustamante A, Klawitter J, Repine JE, Agazio A, Janocha AJ, Shah C, et al. Early effect of tidal volume on lung injury biomarkers in surgical patients with healthy lungs. Anesthesiology. 2014;121(3):469–81.
Huhle R, Pelosi P, de Abreu MG. Variable ventilation from bench to bedside. Crit Care. 2016;20(1):62.
Hart MC, Orzalesi MM, Cook CD. Relation between anatomic respiratory dead space and body size and lung volume. J Appl Physiol. 1963;18(3):519–22.
Chiang YW, Borbat PP, Freed JH. The determination of pair distance distributions by pulsed ESR using Tikhonov regularization. J Magn Reson. 2005;172(2):279–95.
Gill PE, Murray W, Wright MH. Practical optimization. New York: Emerald Group Publishing Limited; 1982. p. 418.
Lawson CL, Hanson RJ. Solving least squares problems. Philadelphia: Society for Industrial and Applied Mathematics; 1987. p. 350.
Hansen PC. Regularization tools version 4.0 for Matlab 7.3. Numer Algorithms. 2007;46(2):189–94.
Wagner PD. Information content of the multibreath nitrogen washout. J Appl Physiol. 1979;46(3):579–87.
Kapitan KS. Information content of the multibreath nitrogen washout: effects of experimental error. J Appl Physiol. 1990;68(4):1621–7.
Brunner JX, Wolff G, Cumming G, Langenstein H. Accurate measurement of N2 volumes during N2 washout requires dynamic adjustment of delay time. J Appl Physiol. 1985;59(3):1008–12.
Chiumello D, Cressoni M, Chierichetti M, Tallarini F, Botticelli M, Berto V, et al. Nitrogen washout/washin, helium dilution and computed tomography in the assessment of end expiratory lung volume. Crit Care. 2008;12(6):R150.
Jensen R, Stanojevic S, Gibney K, Salazar JG, Gustafsson P, Subbarao P, et al. Multiple breath nitrogen washout: a feasible alternative to mass spectrometry. PLoS One. 2013;8(2):e56868.
Dellamonica J, Lerolle N, Sargentini C, Beduneau G, Di Marco F, Mercat A, et al. Accuracy and precision of endexpiratory lungvolume measurements by automated nitrogen washout/washin technique in patients with acute respiratory distress syndrome. Crit Care. 2011;15(6):R294.
Evans JW, Cantor DG, Norman JR. The dead space in a compartmental lung model. Bull Math Biophys. 1967;29(4):711–8.
Vieira SR, Puybasset L, Richecoeur J, Lu Q, Cluzel P, Gusman PB, et al. A lung computed tomographic assessment of positive endexpiratory pressureinduced lung overdistension. Am J Respir Crit Care Med. 1998;158(5 Pt 1):1571–7.
Fowler WS. Lung function studies. II. The respiratory dead space. Am J Physiol. 1948;154(3):405–16.
Fortune JB, Wagner PD. Effects of common dead space on inert gas exchange in mathematical models of the lung. J Appl Physiol. 1979;47(4):896–906.
Wrigge H, Sydow M, Zinserling J, Neumann P, Hinz J, Burchardi H. Determination of functional residual capacity (FRC) by multibreath nitrogen washout in a lung model and in mechanically ventilated patients. Accuracy depends on continuous dynamic compensation for changes of gas sampling delay time. Intensiv Care Med. 1998;24(5):487–93.
Harris EA, Whitlock RM. Correction of inert gas washin or washout for gas solubility in blood. J Appl Physiol. 1988;65(4):1598–603.
Authors’ contributions
HW and AGN conceived the work. GMR, FCJ and AGN developed the model and algorithms. GMR and AGN drafted the manuscript; FCJ and HW revised the manuscript. All authors read and approved the final manuscript.
Acknowledgements
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Availability of data and materials
The results from simulations of the current study are available from the corresponding author on request.
Funding
AGN was founded by CAPES, Ministério da Educação do Brasil (Fellowship BEX10876/138), AGN, FCJ and GMR were founded by FAPERJ—Fundação de Amparo à Pesquisa do Estado do Rio de Janeiro and CNPq—Brazilian Research Council. The publishing costs were paid with internal funding from the Department of Anesthesiology and Intensive Care Medicine, University of Leipzig, Germany. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Author information
Authors and Affiliations
Corresponding author
Additional file
12938_2016_213_MOESM1_ESM.pdf
Additional file 1. Summarized algorithm to estimate the distribution of ventilation to volume ratios and additional figures showing the standard deviation of simulation results.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
MottaRibeiro, G.C., Jandre, F.C., Wrigge, H. et al. Generalized estimation of the ventilatory distribution from the multiplebreath nitrogen washout. BioMed Eng OnLine 15, 89 (2016). https://doi.org/10.1186/s129380160213y
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s129380160213y
Keywords
 Pulmonary function tests
 Ventilatory distributions
 Multiplebreath washout
 Endexpiratory lung volume
 Functional residual capacity
 Dead space
 Nitrogen
 Ventilation to volume
 Tikhonov regularization
 Common dead space