Journal of Applied Physiology http://www.adinstruments.com/labchart/faseb
HOME HELP FEEDBACK SUBSCRIPTIONS ARCHIVE SEARCH TABLE OF CONTENTS
 QUICK SEARCH:   [advanced]


     


J Appl Physiol 89: 581-589, 2000;
8750-7587/00 $5.00
This Article
Right arrow Abstract Freely available
Right arrow Full Text (PDF) Free
Right arrow Submit a response
Right arrow Alert me when this article is cited
Right arrow Alert me when eLetters are posted
Right arrow Alert me if a correction is posted
Right arrow Citation Map
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Download to citation manager
Citing Articles
Right arrow Citing Articles via HighWire
Right arrow Citing Articles via ISI Web of Science (4)
Right arrow Citing Articles via Google Scholar
Google Scholar
Right arrow Articles by Farmery, A. D.
Right arrow Articles by Hahn, C. E. W.
Right arrow Search for Related Content
PubMed
Right arrow PubMed Citation
Right arrow Articles by Farmery, A. D.
Right arrow Articles by Hahn, C. E. W.
Vol. 89, Issue 2, 581-589, August 2000

Response-time enhancement of a clinical gas analyzer facilitates measurement of breath-by-breath gas exchange

A. D. Farmery and C. E. W. Hahn

Nuffield Department of Anaesthetics, University of Oxford, Radcliffe Infirmary, Oxford OX2 6HE, United Kingdom


    ABSTRACT
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

Tidal ventilation gas-exchange models in respiratory physiology and medicine not only require solution of mass balance equations breath-by-breath but also may require within-breath measurements, which are instantaneous functions of time. This demands a degree of temporal resolution and fidelity of integration of gas flow and concentration signals that cannot be provided by most clinical gas analyzers because of their slow response times. We have characterized the step responses of the Datex Ultima (Datex Instrumentation, Helsinki, Finland) gas analyzer to oxygen, carbon dioxide, and nitrous oxide in terms of a Gompertz four-parameter sigmoidal function. By inversion of this function, we were able to reduce the rise times for all these gases almost fivefold, and, by its application to real on-line respiratory gas signals, it is possible to achieve a performance comparable to the fastest mass spectrometers. With the use of this technique, measurements required for non-steady-state and tidal gas-exchange models can be made easily and reliably in the clinical setting.

breath-by-breath analysis; enhancement of response time; rise time


    INTRODUCTION
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

TRADITIONAL CONTINUOUS VENTILATION models in respiratory physiology (14, 16) have been founded on respiratory gas measurements, which are averaged over several breaths or minutes. Mixed expired gas concentrations are measured from expirate, which is pooled from several breaths over a period in which the subject is assumed to be in the steady state. Tidal ventilation models and non-steady-state analysis require breath-by-breath measurement of airway flow and gas concentration, which, when integrated together, provide the necessary data on gas flux to enable mass balance equations to be solved breath-by-breath and in the non-steady state. To do this, both the airway flow and gas concentration data need to be aligned (i.e., contemporaneous) and both signals need to have sufficiently fast response characteristics. Flow transducers generally have response characteristics, traditionally quoted as the time required for the signal to rise from 10 to 90% of its maximum (t0.1-0.9), on the order of 10 ms (10). Gas concentration signal responses vary widely among instruments. Modern mass spectrometers have quoted t0.1-0.9 values for oxygen and carbon dioxide that range from 70 to 200 ms (1, 17), which is usually adequate for breath-by-breath measurement. By far the most widely used respiratory gas analyzers in clinical practice are sidestream infrared absorption (carbon dioxide, nitrous oxide, and anesthetic agents) and "fast" paramagnetic (oxygen) instruments. Most sidestream clinical gas analyzers, however, have rise time characteristics that are considerably poorer [t0.1-0.9 for oxygen up to 500 ms (2)] than those for mass spectrometers. Therefore, although sidestream clinical analyzers are perfectly adequate for monitoring end-tidal gas concentrations at moderate respiratory rates, they are unsuitable for breath-by-breath integration with flow signals.

The very nature of tidal breathing exaggerates any errors due to the slow rise time of a gas signal. At the beginning of normal quiet expiration, expiratory flow rises very quickly and may exceed 30 l/min within a few milliseconds, and then it decays in an exponential-like manner throughout expiration. Unfortunately, this early, rapid increase in expiratory flow coincides almost exactly with a rapid change, or transient, in the gas concentration due to the emergence of alveolar gas after the deadspace gas from the airways has been expired. The error in the integral of concentration and flow, being proportional to the instantaneous product of the concentration error and the prevailing flow, is therefore exaggerated during this phase of expiration. It is for this reason that most clinical gas analyzers give disappointing results when used to provide data for tidal ventilation models of gas exchange.

Under normal conditions, and in the steady state, the inspiratory-expiratory concentration transient is of the order of about 4 or 5% units (30-40 Torr). However, a number of techniques in respiratory physiology, including washin-washout techniques (15) and the forced inspiratory sine-wave technique (19, 20), provide conditions in which the magnitude of the transient may be much greater than this. In this study, we describe how the combination of large concentration transients, high expiratory flow during these transients, and a slow signal response time leads to increased errors in the estimation of gas flux.

Glossary

b   Time constant derived empirically from Gompertz sigmoidal function (s)
c(t)   Measured concentration of the tracer gas (%) as a function of time (t)
c'(t)   Response-time-corrected concentration (%)
cmeasured   Measured concentration of tracer gas (%)
cstep   Step change in concentration (%)
 epsilon gas   Error in gas volume (ml)
F<A><AC>e</AC><AC>&cjs1171;</AC></A> or F<A><AC>i</AC><AC>&cjs1171;</AC></A>   Mixed expired or inspired gas concentration, respectively (fractional)
FIO2   Inspired oxygen concentration (fractional)
 tau 1 and tau 2   Rate constants applied to second-order exponential model (s)
t0.1-0.9   10-90% Rise time (s)
 tau    Time constant of exponential process (s)
 V   = dV/dt, airway gas flow (ml/s)
Vtracer   Volume of tracer gas (ml)
VT   Tidal volume (ml)


    BACKGROUND AND METHODS
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

Tracer Gas Flux Calculations and Errors

Errors due to finite gas concentration measurement response time. The volume of tracer gas that passes a certain point at which measurements are made over the time period T is given by
V<SUB>tracer</SUB><IT>=</IT><FR><NU><IT>1</IT></NU><DE><IT>100</IT></DE></FR><IT>·</IT><LIM><OP>∫</OP><LL><IT>0</IT></LL><UL><IT>T</IT></UL></LIM> (c(<IT>t</IT>)<IT>·</IT><A><AC>V</AC><AC>˙</AC></A>(<IT>t</IT>))d<IT>t</IT>
Given that there is a time-dependent discrepancy between the actual and measured concentrations, the error in the measurement in the volume of tracer gas is given by
&egr;<SUB>gas</SUB><IT>=</IT><FR><NU><IT>1</IT></NU><DE><IT>100</IT></DE></FR><IT>·</IT><LIM><OP>∫</OP><LL><IT>0</IT></LL><UL><IT>T</IT></UL></LIM> [(c(<IT>t</IT>)<IT>−</IT>c<SUB>measured</SUB>(<IT>t</IT>))<IT>·</IT><A><AC>V</AC><AC>˙</AC></A>(<IT>t</IT>)]d<IT>t</IT>
However, after a step change in concentration, c(t) becomes a constant (say, equal to cstep) and cmeasured(t) remains a function of time. Most of the error accrues during the t0.1-0.9 time period. Therefore, the following approximation can be made
&egr;<SUB>gas</SUB><IT>≈</IT><FR><NU><IT>1</IT></NU><DE><IT>100</IT></DE></FR><IT>·</IT><LIM><OP>∫</OP><LL><IT>t<SUB>0.1</SUB></IT></LL><UL><IT>t<SUB>0.9</SUB></IT></UL></LIM> [(c<SUB>step</SUB><IT>−</IT>c<SUB>measured</SUB>(<IT>t</IT>))<IT>·</IT><A><AC>V</AC><AC>˙</AC></A>(<IT>t</IT>)]d<IT>t</IT>
From here it can be seen that the error in tracer gas volume estimation is increased as cstep, V, and t0.1-0.9 (which defines the limits of the integration) increase. A slow response time results in the underestimation of tracer gas volume and overestimation of deadspace volume.

Errors due to malalignment of concentration and flow signals. Flow and concentration signals are separated in time by the transport delay of the aspirated gas sample. The correct temporal alignment of these signals is essential for their correct integration to allow breath-by-breath estimation of mixed tracer gas concentration. The delay between the two signals is considered to have two components: one is the (usually constant) time for mean gas wavefront to traverse the sample catheter, and the second is the additional phase delay that occurs as a result of the finite response time of the device measuring the concentration signal. The total delay time therefore depends on what concentration threshold, or rise fraction (i.e., the rise in concentration expressed as a fraction of the maximum rise), is taken as the indication of the beginning of the concentration signal (e.g., any rise >0, 0.2, 0.5, etc.). Underestimation of the transport delay results in overestimation of tracer gas volume and underestimation of deadspace. Therefore, integration errors that result from the finite concentration rise time can to some extent be offset by errors (in the opposite direction) in signal alignment. Indeed, one simple and effective means of correcting for errors in the integration of concentration and flow signals is to select empirically a value for the transport delay that gives the least error in the measured variable of interest, such as volumetric tracer gas estimation, mixed expired concentration, or deadspace. Arieli and Van Liew (3) found that the time interval from the beginning of sample aspiration to the point on the step response corresponding to a rise fraction of 0.2 was optimum.

In this study, our aim was solely to optimize the response time of the instrument; therefore, we have not considered the effects of manipulating the signal alignment, although we appreciate that this is an additional tool. In addition, we sought to avoid reliance on the assumption of a fixed delay time because transport delay not only depends on the composition of the aspirate (5) but also (with the high-flow, low-resistance sample catheters used in these instruments) varies cyclically within a breath with positive pressure ventilation (unpublished observations). Our method of alignment of the flow and concentration signals is described in Evaluation of Correction Methods, below, and in the APPENDIX.

Exponential Models

The idea of enhancement of rise-time characteristics of measuring instruments is not new. Various means have been used to achieve this, ranging from analog electronic inverse Fourier transformers (11, 12) to digital computer algorithms, in instruments ranging from blood-gas electrodes to mass spectrometers (3, 4, 13). Mitchell (13) used a single exponential model of the step response of a mass spectrometer to correct the output of the instrument, and this produced some improvement. This first-order model is as follows
c(<IT>t</IT>)<IT>=</IT>c<SUB><IT>0</IT></SUB><IT>+</IT>c<SUB>step</SUB><IT>·</IT>(<IT>1−e</IT><SUP><IT>−</IT>(<IT>t−t<SUB>0</SUB></IT>)<IT>/&tgr;<SUB>1</SUB></IT></SUP>)
Hence
c<SUB>step</SUB><IT>=</IT>c(<IT>t</IT>)<IT>+&tgr;<SUB>1</SUB>·</IT><FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR><IT>−</IT>c<SUB><IT>0</IT></SUB>
Likewise, for a real physiological signal (i.e., not a step response), the response-time corrected signal, c'(t), is given by
c<IT>′</IT>(<IT>t</IT>)<IT>=</IT>c(<IT>t</IT>)<IT>+&tgr;<SUB>1</SUB>·</IT><FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR> (1)
Later, Arieli and Van Liew (3) described an improvement on this technique that used a second-order exponential model of the step response. In this model, the step response is considered to be distorted by two separate and sequential exponential processes with distinct time constants, tau 1 and tau 2 (such as, for example, washin of the gas to the measurement cell and the electronic response to the gas concentration within the cell). The signal can then be corrected by sequential correction of the measured signal, as described in Eq. 1. This second-order correction can otherwise be described as follows
c<IT>′</IT>(<IT>t</IT>)<IT>=</IT>c(<IT>t</IT>)<IT>+</IT>(<IT>&tgr;<SUB>1</SUB>+&tgr;<SUB>2</SUB></IT>)<IT>·</IT><FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR><IT>+</IT>(<IT>&tgr;<SUB>1</SUB>·&tgr;<SUB>2</SUB></IT>)<IT>·</IT><FR><NU>d<SUP><IT>2</IT></SUP>c(<IT>t</IT>)</NU><DE>d<IT>t<SUP>2</SUP></IT></DE></FR> (2)
Arieli and Van Liew's method of determination of tau 1 and tau 2 is described in the APPENDIX.

Wong et al. (21) recently used this second-order exponential algorithm to enhance the rise time of the Datex Ultima clinical gas analyzer (Datex Instrumentation, Helsinki, Finland). This instrument has t0.1-0.9 values quoted by the manufacturer of 480 ms for oxygen and 360 ms for both carbon dioxide and nitrous oxide. The algorithm of Wong et al. was based on that of Arieli and Van Liew (3), as described above, and was shown to reduce the t0.1-0.9 value for oxygen twofold, to 240 ms.

Algorithms such as this are specific to the mathematical model, in that they require knowledge of the instrument's response to a step-change transient. In the case of Arieli and Van Liew (3), Wong et al. (21), and others, this was assumed to be twin exponential, of the form
c(<IT>t</IT>)<IT>=</IT>c<SUB><IT>0</IT></SUB><IT>+</IT>c<SUB>step</SUB><IT>·</IT><FENCE><IT>1+</IT><FR><NU>−<IT>&tgr;<SUB>1</SUB>·e</IT><SUP><IT>−</IT>(<IT>t−t<SUB>0</SUB></IT>)<IT>/&tgr;<SUB>1</SUB></IT></SUP><IT>+&tgr;<SUB>2</SUB>·e</IT><SUP><IT>−</IT>(<IT>t−t<SUB>0</SUB></IT>)<IT>/&tgr;<SUB>2</SUB></IT></SUP></NU><DE><IT>&tgr;<SUB>1</SUB>−&tgr;<SUB>2</SUB></IT></DE></FR></FENCE> (3)
This function, unlike the single exponential function, is sigmoidlike and more closely resembles the sigmoidal output of a gas analyzer in response to a step change in gas concentration. However, it is also likely that, in addition to the contribution of the twin exponential processes, at least some part of the sigmoidal response results from Taylorian dispersion of tracer gas within the sampling catheter (18); therefore, a second-order correction alone may be insufficient to correct the instrument's output. We have examined the step-response characteristics of the Datex Ultima to establish how well this can be represented by a twin exponential model. We have also characterized this response empirically in terms of a Gompertz growth function, which forms the basis of our rise-time enhancement algorithm.

The Gompertz Sigmoidal Model

The response of the Datex Ultima to a step change in gas concentration appears sigmoidal. This was characterized more precisely with the use of a nonlinear regression analysis that used a Gompertz four-parameter transform (SigmaPlot v.4; SPSS, Chicago, IL). The reasons behind the selection of this particular transform are, first, because it gave the best fit and, more importantly, because the function is such that it can be characterized by its first-order derivative. Therefore, this [unlike a Hill-type sigmoid (8)] can be written in a form that is independent of time (Eqs. 7 and 8).

The Gompertz function is as follows
c(<IT>t</IT>)<IT>=</IT>c<SUB><IT>0</IT></SUB><IT>+</IT>c<SUB>step</SUB><IT>·e</IT><SUP><IT>−e</IT><SUP><IT>−</IT>[(<IT>t−t<SUB>0</SUB></IT>)<IT>/b</IT>]</SUP></SUP> (4)
where c0 is the initial concentration value, cstep is the steady-state step value, and b is a constant determined empirically from "least-squares" curve fitting.

To solve Eq. 4, (and hence determine the value of cstep), one needs to know the value of t - t0 (the time after the imposition of the step change), which, although easily determined for a step response, is meaningless in the context of a real, continuous physiological signal. However, the function can be expressed independently of t and in terms of its derivative (as follows). Differentiating with respect to t gives
<FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR><IT>=</IT><FR><NU>c<SUB>step</SUB></NU><DE><IT>b</IT></DE></FR><IT>·e</IT><SUP><IT>−</IT>[(<IT>t−t<SUB>0</SUB></IT>)<IT>/b</IT>]</SUP><IT>·e</IT><SUP><IT>−e</IT><SUP><IT>−</IT>[(<IT>t−t<SUB>0</SUB></IT>)<IT>/b</IT>]</SUP></SUP> (5)
Combining Eqs. 4 and 5 gives
<FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR><IT>=</IT><FR><NU>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]</NU><DE><IT>b</IT></DE></FR><IT>·e</IT><SUP><IT>−</IT>[(<IT>t−t<SUB>0</SUB></IT>)<IT>/b</IT>]</SUP> (6)
Let
Z=e<SUP>−[(t−t<SUB>0</SUB>)/b]</SUP>
therefore Eq. 4 becomes
Z=log<SUB><IT>e</IT></SUB>c<SUB>step</SUB><IT>−</IT>log<SUB><IT>e</IT></SUB>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]
Hence Eq. 6 becomes
<FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR><IT>=</IT><FR><NU>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]</NU><DE><IT>b</IT></DE></FR><IT>·</IT>{log<SUB><IT>e</IT></SUB>c<SUB>step</SUB><IT>−</IT>log<SUB><IT>e</IT></SUB>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]}
and hence
c<SUB>step</SUB><IT>=</IT>exp <FR><NU><IT>b·</IT><FR><NU>dc(<IT>t</IT>)</NU><DE>d<IT>t</IT></DE></FR></NU><DE>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]</DE></FR><IT>+</IT>log<SUB><IT>e</IT></SUB>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]
which simplifies to
c<SUB>step</SUB><IT>=</IT>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]<IT>·e</IT><SUP>[<IT>b·</IT>dc(<IT>t</IT>)<IT>/</IT>d<IT>t</IT>]<IT>/</IT>[c(<IT>t</IT>)<IT>−</IT>c<SUB>0</SUB>]</SUP> (7)
Equation 7 enables cstep to be determined from measurements of c(t) and its derivative at any point in time after the imposition of a step-concentration transient.

The same function, however, can also be used to obtain a "rise-time-corrected" signal, c'(t), from a real, continuous (i.e., not a step response) signal as follows
c<IT>′</IT>(<IT>t</IT>)<IT>=</IT>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]<IT>·e</IT><SUP>[<IT>b·</IT>dc(<IT>t</IT>)<IT>/</IT>d<IT>t</IT>]<IT>/</IT>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB>]</SUP> (8)
Note how this algorithm is a first-order differential equation; because the data only require differentiation once, the system is potentially less sensitive to signal noise than the second-order model of Arieli and Van Liew (3) and Wong et al. (21).

Characterization of the Step Response

A step-response gas concentration transient (and its derivative, the impulse response) was generated by thrusting a 19-gauge needle connected to the standard 3-m gas aspirating line of the Datex Ultima (Datex Instrumentation) through a membrane into a cuvette containing a gas with a fixed oxygen concentration of 87%. The step-down response was created similarly when the needle was quickly pulled out of the membrane into ambient air. Mixing of the aspirate within the water trap (before entering the measuring cells) was reduced by packing the water trap with cotton wool.

Analog data from the Ultima were digitized at 100 Hz (National Instruments DAQ 700 PCMCIA card) and logged with Labview Software v.5 (National Instruments). This was repeated 20 times, and the output was averaged.

Filtering. Raw concentration data from the gas analyzer were filtered by simple moving boxcar averaging. This was done in a 70-ms window around a central point to minimize phase shift. These processes were executed within the Matlab code.

Data Fitting

The Gompertz model. The data were fitted to a Gompertz four-parameter sigmoid with SigmaPlot v.4 (SPSS), and the value of a constant (b) was derived from a least squares technique. It was found that the values of b obtained from the averaged response were very close to those obtained from each individual response, as was the correlation coefficient. By inversion of this function, a rise-time-corrected step-response signal was constructed, as described in Eq. 7. This process was performed for oxygen, carbon dioxide, and nitrous oxide and executed in Matlab code (The Mathworks). Further details of this recipe are given in the APPENDIX.

The second-order exponential model. The step-response data were also used to determine the optimum values of tau 1 and tau 2 of the second-order model by the method of Arieli and Van Liew (see APPENDIX). Values obtained by this means were called the Arieli-Van Liew parameters. With the use of the correction described in Eq. 2, the "rise-time-enhanced" step response signal was constructed.

Evaluation of Correction Methods

For brevity, the remainder of this paper will deal only with the correction of the oxygen signal, since this had the slowest response time. Both algorithms were employed to enhance the response times of both real and simulated step responses. Both algorithms were also used to enhance the response time of real, continuous signals as described in Eqs. 2 and 8.

A simulated measured signal was produced by convolving an artificially created "true" signal (shown in Fig. 3 ) with the impulse response (see Fig. 1B), using the method of Bates et al. (4) and summarized in the APPENDIX of this paper. The efficiency of the algorithms was checked in a number of ways.


View larger version (16K):
[in this window]
[in a new window]
 
Fig. 1.   A: step response for oxygen as measured by the Datex Ultima. Plot shows real experimental data (dotted line) and the theoretical Gompertz function (solid line), where b = 0.175. Lines are superimposed and appear as one. See text for details. B: impulse response for oxygen as measured by the Datex Ultima (derivative of data displayed in A). Plot shows real data (dotted line), theoretical Gompertz impulse for b = 0.175 (solid line, smaller peak), and theoretical twin exponential impulse with Arieli-Van Liew parameters, tau 1 = 0.134 and tau 2 = 0.157 (solid line labeled E). Curves are aligned such that their peaks are coincident. C: impulse response for oxygen as measured by the Datex Ultima. Lines are same as in B. Theoretical twin exponential impulse (E) is shown with "optimum" parameters, tau 1 = 0.16 and tau 2 = 0.185.

To quantify the accuracy of both correction methods for the real and simulated step responses, the sum of the square of the differences (SSD) was calculated between the true and corrected signals and expressed as a percentage of the SSD for the uncorrected signal.

A more relevant evaluation of the response-time enhancement is the effect it has on the measurement of mean concentration with respect to volume or on measured airway deadspace. To evaluate the efficacy these algorithms have on real expiratory data, series airway deadspace was measured by Bohr's technique (14) and by the single-breath technique of Fowler (7), using oxygen as the tracer gas. This was done by filling the cylinder of a sine wave pump (which had a volume of 1 liter) with a mixture of expired gas containing carbon dioxide, oxygen, and nitrogen in physiological proportions. A deadspace comprising a tube of known volume (165 ml by water capacity) and containing room air was attached to the outlet of the cylinder. The deadspace tube was isolated from the gas within the cylinder of the sine pump by means of a tap that was only opened immediately before the pump was switched on. When the pump was switched on, "alveolar" gas was exhaled and room air was inhaled cyclically with a frequency of 15 min-1. Measurements were made for three cycles as carbon dioxide was washed out and O2 washed in, but only the first cycle was analyzed. This process was repeated five times. Flow and oxygen concentration were measured by the Datex Ultima at the distal end of this tube. In addition, carbon dioxide was measured at the exact same point with a fast mainstream capnometer (COSMO+, Novametrix), which has a quoted response time of 60 ms and an in-practice delay time that is sufficiently small to be ignored.

The oxygen signal was also "inverted"; that is to say that a mirror image was constructed [cmirror'(t) = FIO2 - c'(t)] with an amplitude that was normalized to the fast capnogram derived from the Novametrix mainstream capnometer, with which it was then compared. Although, for a breathing human subject, the mirror-image oxygram is not completely equivalent to a capnogram (due to nonunity of respiratory quotient and within-breath non-steady-state conditions), where no gas exchange is taking place, as in this bench model, the mirror image oxygram and the capnogram should be of identical form. Therefore, in this sense, the fast capnogram can serve as a proxy comparator for the enhanced oxygen signal.

In these model breath experiments, rise-time enhanced concentration and flow signals were aligned temporally. There are a number of ways to achieve this, but for these experiments we have used the technique of aligning both to the beginning of inspiration (6, 9). The flow signal is delayed in time such that the point on the flow signal that marks inspiration is aligned temporally with the point on the concentration signal at which the sudden change from end-tidal to inspired concentration begins. Further details of this alignment algorithm are given in the APPENDIX. There was no appreciable inspiratory deadspace. Because no attempt was made to manipulate the transport delay in any other way, errors in derived parameters such as deadspace and mixed-expired concentration would be largely, if not solely, due to the finite response time.


    RESULTS
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

Figure 1A shows a typical response from the Datex Ultima to an imposed step change in oxygen concentration from air (20.7%) to 86% (balance nitrogen). The data have been fitted to a Gompertz function whose b value was found to be 0.175 (R2 = 0.999976). The plot of this function (Eq. 4) and the real data are superimposed and together form the (inseparable) solid curve.

Figure 1B shows the impulse functions (dc/dt) of the data in Fig. 1A. The real data and the theoretical Gompertz function are superimposed. Also plotted is a theoretical impulse function derived from the twin exponential (Eq. 3) in which the values of tau 1 and tau 2 are the Arieli-Van Liew parameters (see APPENDIX), which were found to be 0.134 and 0.157 respectively. The plots are drawn such that their peaks are aligned. Figure 1C shows the effect of selection of values of tau 1 and tau 2 (0.16 and 0.18, respectively), which correspond to a least-squares fit of the twin exponential model to the peak of the impulse response. These are what Bates et al. (4) termed the "best-fit parameters."

Figure 2 shows the results of rise-time correction of the actual measured step-response for oxygen, using both the second-order exponential model and the Gompertz model. The real signal and the Gompertz correction are shown (bold and solid lines, respectively). The effect of corrections using the second-order exponential model is also shown for values of tau 1 and tau 2 corresponding to the Arieli-Van Liew (dotted line) and best-fit parameters. The best-fit parameters appear to produce a slightly faster response than the Arieli-Van Liew parameters but at the expense of greater undershoot and overshoot.


View larger version (14K):
[in this window]
[in a new window]
 
Fig. 2.   Effect of correction of real measured oxygen step-response using Gompertz and twin exponential models. Step response was created by thrusting a needle attached to the sample catheter, through a membrane, from room air into a mixture containing 86.5% O2 in N2. T, assumed true "step" signal; R, raw data; E, corrections based on twin exponential model. Arieli-Van Liew parameters (tau 1 = 0.134 and tau 2 = 0.157) are shown as solid line. Optimum parameters (tau 1 = 0.16, tau 2 = 0.185) shown as a dotted line. G, correction based on Gompertz model (b = 0.175), shown as bold line.

The t0.1-0.9 values for the raw and corrected signal are shown in Table 1 along with those for carbon dioxide and nitrous oxide.

                              
View this table:
[in this window]
[in a new window]
 
Table 1.   Response times of Datex Ultima to step changes in gas concentrations and the effect of corrective algorithms

The SSD values for the true signal vs. the enhanced signals are shown in Table 2.

                              
View this table:
[in this window]
[in a new window]
 
Table 2.   Performance of each correction method on the step response for oxygen measured by the Datex Ultima

Analysis of a Simulated Signal

Figure 3 shows an artificially contrived true signal, the front of which is a square wave, with values ranging from 0 to 1 arbitrary units. The falling edge begins as a square wave from 1 to 0.5 and thereafter decays exponentially. Convolution of this signal with the measured impulse response for the Ultima produces the simulated "measured signal" (bold line in Fig. 3). The results of enhancing this latter signal using the methods of Arieli and Van Liew and the Gompertz function are also shown. The SSD between the enhanced and true signals are shown in Table 2.


View larger version (17K):
[in this window]
[in a new window]
 
Fig. 3.   Signal simulation. A simulated true signal (a) is contrived to have a front edge that is a step response, from 0 to 1 arbitrary units. The rear edge begins as a step response from 1 to 0.5 units and thereafter decays exponentially. This protocol is similar to that designed by Bates et al. (4). The simulated measured response (d) is created by convolving the simulated true response with the measured impulse response of the Datex Ultima (see Fig. 1B). The simulated measured response is then subjected to enhancement according to the Gompertz model (b) and twin exponential model (Arieli-Van Liew parameters; c).

Analysis of Real Respiratory O2 Signals

Figure 4 shows a more noisy "mirror-image" expiratory oxygram measured from a breath generated by a sine pump. The result of the correction using both models is shown. These are compared with the fast capnogram from the same breath. A volumetric capnogram is shown in Fig. 5. The series (Fowler) and Bohr deadspace values are shown in Table 3. The actual volume of the artificial airway deadspace was 165 ml. Inspiratory deadspace was calculated from the rapid downstroke of the signal at the beginning of inspiration. The actual volume in this experimental setup was ~1.5 ml. The measured values are also shown in Table 3.


View larger version (15K):
[in this window]
[in a new window]
 
Fig. 4.   Comparison of corrected mirror image oxygram with fast mainstream capnogram from a breath generated by sine pump and fixed volume deadspace. Raw O2 mirror signal (dotted lines) created by subtraction of raw O2 signal from 20.7%. Line with ×, correction based on twin exponential model with Arieli-Van Liew parameters. Line with , correction based on Gompertz model. CO2 concentration (solid line), measured with fast mainstream (Novametrix) capnometer, is shown as a reference.



View larger version (15K):
[in this window]
[in a new window]
 
Fig. 5.   Comparison of volumetric capnograms (Fowler plots) using data from Fig. 4. Solid line, fast mainstream Novametrix CO2; line with ×, correction based on twin exponential model; line with , correction based on Gompertz model; dotted line, uncorrected "raw" oxygen signal in mirror image.


                              
View this table:
[in this window]
[in a new window]
 
Table 3.   Performance of each correction method in estimation of airway deadspace in sine-pump bench model


    DISCUSSION
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

The utility of measuring breath-by-breath indexes of gas exchange extends beyond the physiological laboratory. Physicians and anesthesiologists in the critical care and operating theatre environments cannot easily make measurements of oxygen consumption rate, respiratory quotient, or deadspace without recourse to mass spectrometry or collection of mixed expired gas. The stimulus that led to the development of this algorithm was the requirement to develop the sinewave inspiratory forcing technique for the measurement of alveolar volume, pulmonary blood flow, volume-ventilation, and ventilation-perfusion relationships (18, 19) in the clinical environment, using nonspecialized monitors. This perturbation technique cannot be applied to a tidal ventilation gas-exchange model without breath-by-breath volumetric tracer gas analysis, and clinical gas analyzers gave disappointing results even after previously described enhancement algorithms were used (3, 21).

Inadequacies in Measurement and Sampling

Our aim was to reduce the response time of the Datex Ultima to 100 ms or less. It is unlikely that we would be able to improve this figure because of the limitations of the instrument itself. The output signals of the Ultima have an update rate of 84 Hz (2). The Novametrix mainstream capnograph has a measuring rate of 80 Hz and analog output update rate (pre-smoothing) of 50 Hz, so there is little point in digitizing these signals at a rate greater than 100 Hz. Consequently, it is not appropriate to express improvements in signal response to a greater degree of resolution than this allows. Our analysis is therefore in a sense less precise than that of Bates et al. (4). Our purpose was not to chase response time to the nearest millisecond but to be confident in our ability to reduce even the slowest signal (oxygen t0.1-0.9 = 480 ms) to less than 100 ms.

Step Responses

Nonetheless, the improvement in signal response for both real and simulated steps (Figs. 2 and 3 and Tables 1 and 2) exceeds that of the twin exponential model for both the Arieli-Van Liew parameters and best-fit parameters, the latter of which causes some overshoot. Why should this be the case? The impulse function for the real data matches the Gompertz model much more closely than the twin exponential model (Fig. 1), even after the values of tau 1 and tau 2 are optimized in the least squares sense. It should be noted that the model functions shown in Fig. 1 are shifted in time such that they best fit the experimental data. In other words, the values of t0 in Eqs. 3 and 4 are not zero but best-fit values. However, this is irrelevant to the process of correction of real signals because Eqs. 3 and 4 can be expressed in terms of their derivatives and independently of t and t0 (Eqs. 2 and 8, respectively). Correction can therefore be done without consideration of an appropriate time shift. This is distinct from the "time shift correction" described by Arieli and Van Liew (3) and Bates et al. (4). This latter technique is used to compensate for (as distinct from correcting) a finite response time. In this way, the concentration signal is shifted in time such that it begins to rise before the nominated onset of the step response. In other words, the onset of the transient is defined as a rise fraction of 0.2 or 0.5 or other arbitrary value. Bates et al. (4) showed that the time shift correction alone was a useful tool in compensating for errors in measured gas flux. However, we have not included it in our analysis because we were primarily interested in improving response time. The measurement errors, which we therefore encounter, are likely to be solely due to the suboptimal response time.

Real Expiratory Signals

Our comparison with the fast mainstream capnograph (response time of <60 ms) shows that, despite these limitations, our correction produces a signal that approaches reasonably well that of a fast "gold standard" (albeit proxy) clinical instrument. The acid test, however, is the effect our correction has on the measurement of net gas flux, mixed expired concentration, or deadspace, which amounts to much the same thing. For an expiratory signal generated from the sine pump "exhaling" via a tube of known volume, the improvement in accuracy in estimation of the expiratory deadspace over the twin exponential model is modest (40 ml). This is likely because the actual wavefront of gas (dispersing and mixing in the expiratory deadspace) is far from "square" but blunted and smoother and consequently less demanding on the correction algorithms. In addition, the sinusoidal nature of the expiratory flow is such that the volume of gas passed during the time course of the concentration transient is modest. However, the fall in concentration seen at the end of expiration, when room air is drawn over the sensor with very little inspiratory deadspace, more closely approximates a square wave. This step is tracked faithfully by the mainstream capnograph but less so by the twin exponential correction model. The measured inspiratory deadspace is greater for the twin exponential model than for the Gompertz model, and this effect is exaggerated if the inspiratory flow is set (theoretically) to a constant value of 500 ml/s, as shown in Table 3.

It can be shown that the relationship between the relative (fractional) deadspace volume error (epsilon VD) and the relative (fractional) mixed-expired gas concentration error (epsilon F<A><AC>e</AC><AC>&cjs1171;</AC></A>) is as follows
&egr;V<SC>d</SC><IT>=&egr;</IT>F<SC><A><AC>e</AC><AC>&cjs1171;</AC></A></SC><IT>·</IT><FR><NU>F<SC><A><AC>e</AC><AC>&cjs1171;</AC></A></SC></NU><DE>F<SC>a</SC><IT>−</IT>F<SC><A><AC>e</AC><AC>&cjs1171;</AC></A></SC></DE></FR> (9)
Therefore, the error in VD as a result of an error in F<A><AC>e</AC><AC>&cjs1171;</AC></A> is bounded. Rearrangement of Eq. 9 reveals that the relative error in mixed expired concentration in our bench study is about one-fifth of the relative error for deadspace. For the Gompertz correction, in which the absolute deadspace error was 22 ml, this represents a relative error of 22/165 = 0.15. The relative error in mixed expired concentration is therefore 0.03.

This study has introduced a new and efficient means of "tuning" a standard clinical gas analyzer, which uses a simple algorithm executed in a readily available software package, to give a performance similar in speed to that of a mass spectrometer. Consequently, measurement techniques that were hitherto limited to the physiological laboratory or specialized clinical settings can now be undertaken in the clinical environment without the replacement of existing equipment.

Although our technique is based on a specific instrument, namely the Datex Ultima, it is generic and therefore should be applicable not only to other sidestream analyzers but also to other dynamic measuring instruments whose step response can be characterized by a Gompertz function.


    APPENDIX
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

Alignment of Flow and Concentration Signals

To align the flow and concentration signals, we have adopted the technique of Cochrane et al. (6) and Jacobson and Breen (9). The point on the concentration signal corresponding to the onset of inspiration is identified as the point at which the signal begins to either fall (carbon dioxide) or rise (oxygen). This is done by identifying when the signal derivative becomes negative or positive, respectively, for 20 successive sample points. The first of these points is nominated end expiratory. Likewise, the point on the flow signal corresponding to the onset of inspiration is taken as the first point in a series of 20 successive points in which flow is inspiratory (negative in our system). For nitrous oxide, which is measured by the same cell as that for carbon dioxide, with the same transit time and response time, the end-expiratory point is taken as being contemporaneous with the end-expiratory point for the CO2 signal.

Numerical Recipe for Response-Time Enhancement

Filtering. Data were sampled at 100 Hz and smoothed with a simple moving averaging technique. The width of the averaging window was 70 ms, and the smoothed point was centered within this window to minimize phase shift.

Differentiation. After data were smoothed, the signals were differentiated digitally around the central point of five samples. Any smaller tangent than this produced significant noise in our system.

Inverting the Gompertz function. Equation 8 describes the relationship between the measured and "real" signals in terms of a Gompertz growth function, which is itself a complex exponential function. This can be used to determine the real value of the signal from information derived from the measured signal and its derivative. However, this form of the equation can only be used for signals that are rising because it is derived from a rising-step response. Therefore, for parts of the signal that are rising, the algorithm is applied as is. The value c0, although usually zero for carbon dioxide, is always nonzero for oxygen and is determined from the minimum value of c(t) before the onset of the rise. However, for parts of the signal that are falling (i.e., the derivative is negative), the signal is conditioned to resemble a rising signal. This is achieved by subtracting the signal from its maximum value at the start of the fall (cmax), thus producing a signal that rises from 0. Equation 8 then becomes
c<IT>′</IT>(<IT>t</IT>)<IT>=</IT>c<SUB>max</SUB><IT>−</IT>[c<SUB>max</SUB><IT>−</IT>c(<IT>t</IT>)]<IT>·e</IT><SUP><IT>−b·</IT>dc(<IT>t</IT>)<IT>/</IT>d<IT>t/</IT>[c<SUB>max</SUB><IT>−</IT>c(<IT>t</IT>)]</SUP> (A1)
This is then processed in the same way as described above.

The algorithm switches between one that uses Eq. 8 and one that uses Eq. A1, depending on whether the signal is rising or falling, i.e., depending on the sign of the prevailing derivative. Note that the derivative may oscillate around zero, having positive and negative values, during the alveolar plateau due to noise or cardiogenic oscillation. To prevent the unnecessary "chatter" in the algorithm that causes it to switch between Eqs. 8 and A1, it may be necessary to alter the logical operator from "if dc/dt < 0" to "if dc/dt < -0.5." We have found this latter value to be satisfactory.

Instabilities in the Gompertz Function

Inspection of Eq. 8 reveals that there is potential instability in the exponential term. This depends on the ratio of the values of the signal derivative and the signal itself. At the start of a rise (or fall), it is possible under circumstances in which the rise is very rapid that the value of c(t- c0 may be small and near zero, whereas the value of dc/dt is small but finite. This will cause the function to be unstable for a few samples until the value of c(t- c0 has risen. This problem can be overcome by adding a small offset (coff) to the value c(t) - c0. The exact value needs to be determined for any particular system, but we have found that a value of 0.1 (units are percent gas concentration) is satisfactory. Equation 8 then becomes
c<IT>′</IT>(<IT>t</IT>)<IT>=</IT>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB><IT>+</IT>c<SUB>off</SUB>]<IT>·e</IT><SUP><IT>b·</IT>dc(<IT>t</IT>)<IT>/</IT>d<IT>t/</IT>[c(<IT>t</IT>)<IT>−</IT>c<SUB><IT>0</IT></SUB><IT>+c<SUB>off</SUB></IT>]</SUP><IT>−</IT>c<SUB>off</SUB> (A2)

Determination of Arieli-Van Liew Parameters

A straight line is fitted to ln[1 - c(t)] for the 50-90% portion, where c(t) is the measured time-varying concentration value after a step response. Two-thirds of the positive reciprocal of the slope of this line gives tau 1. The step response is corrected according to Eq. 1. Another straight line is fitted to ln[1 - c'(t)] for the 50-90% portion, where c'(t) is the one-stage-corrected signal from the previous maneuver. The positive reciprocal of the slope of this line gives tau 2.

Convolution of a True Step Response With the Measured Impulse Response to Produce a Simulated Measured Step Response

This is fully described in the study by Bates et al. (4) and is summarized here. A true signal (Fig. 3), g(u), was contrived to resemble that which might occur in practice. It has a step front end, and, after 1.5 s, it initially falls in a stepwise manner to one-half its value. Thereafter, it decays exponentially [g(u) = 0.5e-5u]. The measured signal [c(t)] is related to the true signal by the convolution integral, thus
c(<IT>t</IT>)<IT>=</IT><LIM><OP>∫</OP><LL><IT>−∞</IT></LL><UL><IT>t</IT></UL></LIM> g(u)<IT>·</IT>f(<IT>t−</IT>u)du
where f(t) is the impulse response of the instrument.

With the use of Matlab's built-in convolution tool, the true signal was convolved with the impulse function to produce a simulated measured signal (bold line in Fig. 3), which could then be subjected to the various correction algorithms.


    ACKNOWLEDGEMENTS

A. D. Farmery is supported by grants from the Association of Anaesthetists of Great Britain and Ireland, The British Journal of Anaesthesia, and the National Health Service (UK) Research and Development Fund.


    FOOTNOTES

Address for reprint requests and other correspondence: A. D. Farmery, Nuffield Dept. of Anaesthetics, Univ. of Oxford, Radcliffe Infirmary, Woodstock Rd., Oxford OX2 6HE, UK (E-mail: andrew.farmery{at}nda.ox.ac.uk).

The costs of publication of this article were defrayed in part by the payment of page charges. The article must therefore be hereby marked "advertisement" in accordance with 18 U.S.C. §1734 solely to indicate this fact.

Received 28 June 1999; accepted in final form 29 March 2000.


    REFERENCES
TOP
ABSTRACT
INTRODUCTION
BACKGROUND AND METHODS
RESULTS
DISCUSSION
APPENDIX
REFERENCES

1.   Anon Datasheet for RAMS M200 Medical Mass Spectrometer. Milwaukee, WI: Marquette Electronics, 1995.

2.   Anon Service Manual; Capnomac Ultima. Helsinki, Finland: Datex Ohmeda, 1996.

3.   Arieli, R, and Van Liew HD. Corrections for the response time and delay of mass spectrometers. J Appl Physiol 51: 1417-1422, 1981[Abstract/Free Full Text].

4.   Bates, JH, Prisk GK, Tanner TE, and McKinnon AE. Correcting for the dynamic response of a respiratory mass spectrometer. J Appl Physiol 55: 1015-1022, 1983[Abstract/Free Full Text].

5.   Brunner, JX, Wolff G, Cumming G, and Langenstein H. Accurate measurement of N2 volumes during N2 washout requires dynamic adjustment of delay time. J Appl Physiol 59: 1008-1012, 1985[Abstract/Free Full Text].

6.   Cochrane, GM, Newstead CG, Nowell RV, Openshaw P, and Wolff CB. The rate of rise of alveolar CO2 partial pressure during expiration in man. J Physiol (Lond) 333: 17-27, 1982[Abstract/Free Full Text].

7.   Fowler, WS. Lung function studies. II. The respiratory deadspace. Am J Physiol 154: 405-416, 1948.

8.   Hill, AV. The possible effect of the aggregation of the molecules of haemoglobin on its dissociation curve. J Physiol (Lond) 40: iv-vii, 1910.

9.   Jacobson, BP, and Breen PH. On-line graphical time synchronisation of PCO2 and airway flow to determine CO2 volume exhaled per breath (VCO2,br) (Abstract). Anesthesiology 87: A457, 1997.

10.   Kimmich, HP. On-line monitoring of respiratory gas exchange. In: Monitoring of Vital Parameters During Extracorporeal Circulation, edited by Kimmich H. P.. Basel, Germany: Karger, 1981, p. 233-258.

11.  Kimmich HP, Kreutzer F, and Hoofd LJC. Electronic improvement of the response time of transducers measuring respiratory parameters. Digest 10th Int. Conf. Med. Biol. Engineering 1973, p. 146.

12.   Luttmann, A, Muckenhoff K, and Loeschcke HH. Fast measurement of the CO2 partial pressure in gases and fluids. Pflügers Arch 375: 279-288, 1978[Medline].

13.   Mitchell, RR. Incorporating the gas analyzer response time in gas exchange computations. J Appl Physiol 47: 1118-1122, 1979[Abstract/Free Full Text].

14.   Nunn, JF. Nunn's Applied Respiratory Physiology. Oxford, UK: Butterworth Heinemann, 1993.

15.   Prisk, GK, Guy HJ, Elliott AR, Paiva M, and West JB. Ventilatory inhomogeneity determined from multiple-breath washouts during sustained microgravity on Spacelab SLS-1. J Appl Physiol 78: 597-607, 1995[Abstract/Free Full Text].

16.   Riley, RL. Development of the three compartment model for dealing with uneven distribution. In: Pulmonary Gas Exchange, edited by West JB.. New York: Academic, 1980, p. 67-85.

17.   Sykes, MK. Gas and vapor analysis. In: Principles of Measurement and Monitoring in Anaesthesia and Intensive Care, edited by Sykes MK, Vickers MD, and Hull CJ.. Oxford, UK: Blackwell Scientific, 1985, p. 237-240.

18.   Turner, JCR Use of long catheters for multipatient anaesthetic monitoring at high respiratory frequencies. J Clin Monit 7: 237-240, 1991[Medline].

19.   Williams, EM, Hamilton R, Sutton L, and Hahn CEW Measurement of respiratory parameters by using inspired oxygen forcing signals. J Appl Physiol 81: 998-1006, 1996[Abstract/Free Full Text].

20.   Williams, EM, Sainsbury MC, Sutton L, Xiong L, Black AMS, Whiteley JP, Gavaghan DJ, and Hahn CEW Pulmonary blood flow measured by inspiratory inert gas concentration forcing oscillations. Respir Physiol 113: 47-56, 1998[ISI][Medline].

21.   Wong, L, Hamilton R, and Palayiwa E. A real-time algorithm to improve the response time of a multigas analyser. J Clin Monit 14: 441-446, 1998.


J APPL PHYSIOL 89(2):581-589
8750-7587/00 $5.00 Copyright © 2000 the American Physiological Society



This article has been cited by other articles:


Home page
J. Appl. Physiol.Home page
A. D. Farmery and C. E. W. Hahn
A method of reconstruction of clinical gas-analyzer signals corrupted by positive-pressure ventilation
J Appl Physiol, April 1, 2001; 90(4): 1282 - 1290.
[Abstract] [Full Text] [PDF]


This Article
Right arrow Abstract Freely available
Right arrow Full Text (PDF) Free
Right arrow Submit a response
Right arrow Alert me when this article is cited
Right arrow Alert me when eLetters are posted
Right arrow Alert me if a correction is posted
Right arrow Citation Map
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Similar articles in PubMed
Right arrow Alert me to new issues of the journal
Right arrow Download to citation manager
Citing Articles
Right arrow Citing Articles via HighWire
Right arrow Citing Articles via ISI Web of Science (4)
Right arrow Citing Articles via Google Scholar
Google Scholar