DETERMINATION OF LEAK AND RESPIRATORY AIRFLOW

Abstract
Methods and apparatus for determining leak and respiratory airflow are disclosed. A pressure sensor (34) and a differential pressure sensor (32) have connection with a pneumotach (24) to derive instantaneous mask pressure and airflow respectively. A microcontroller (38) estimates a non-linear conductance of any leak path occurring at a mask (12) as being the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure. The instantaneous leak flow is then the conductance multiplied by the square root of the instantaneous pressure, and the respiratory airflow is calculated as being the instantaneous airflow minus the instantaneous leak flow. The time constants for the low pass filtering performed by the microcontroller (38) can be dynamically adjusted dependent upon sudden changes in the instantaneous leak flow.
Description
FIELD OF THE INVENTION

The invention relates to methods and apparatus for the determination of leakage airflow and true respiratory airflow, particularly during mechanical ventilation.


The airflow determination can be for a subject who is either spontaneously or non-spontaneously breathing, or moves between these breathing states. The invention is especially suitable for, but not limited to, normally conscious and spontaneously breathing human subjects requiring long term ventilator assistance, particularly during sleep.


BACKGROUND OF THE INVENTION

In this specification any reference to a “mask” is to be understood as including all forms of devices for passing breathable gas to a person's airway, including nose masks, nose and mouth masks, nasal prongs/pillows and endotracheal or tracheostomy tubes.


During mechanical ventilation, breathable gas is supplied for example via a mask, at a pressure which is higher during inspiration and lower during expiration. It is useful to measure the subject's respiratory airflow during mechanical ventilation to assess adequacy of treatment, or to control the operation of the ventilator.


Respiratory airflow is commonly measured with a pneumotachograph placed in the gas delivery path between the mask and the ventilator. Leaks between the mask and the subject are unavoidable. The pneumotachograph measures the sum of the respiratory airflow plus the flow through the leak. If the instantaneous flow through the leak is known, the respiratory airflow can be calculated by subtracting the flow through the leak from the flow at the pneumotach.


Known methods to correct for the flow through the leak assume (i) that the leak is substantially constant, and (ii) that over a sufficiently long time, inspiratory and expiratory respiratory airflow will cancel. If these assumptions are met, the average flow through the pneumotach over a sufficiently long period will equal the magnitude of the leak, and the true respiratory airflow may then be calculated as described.


The known method is only correct if the pressure at the mask is constant. If the mask pressure varies with time (for example, in the case of a ventilator), assumption (i) above will be invalid, and the calculated respiratory airflow will therefore be incorrect. This is shown markedly in FIGS. 1a-1f.



FIG. 1A shows a trace of measured mask pressure in bi-level CPAP treatment between about 4 cm H2O on expiration and 12 cm H2O on inspiration. FIG. 1B shows a trace of true respiratory airflow in synchronism with the mask pressures. At time=21 seconds a mask leak occurs, resulting in a leakage flow from the leak that is a function of the treatment pressure, as shown in FIG. 1C. The measured mask flow shown in FIG. 1D now includes an offset due to the leak flow. The prior art method then determines the calculated leak flow over a number of breaths, as shown in FIG. 1E. The resulting calculated respiratory flow, as the measured flow minus the calculating leak flow is shown in FIG. 1F, having returned to the correct mean value, however is incorrectly scaled in magnitude, giving a false indication of peak positive and negative airflow.


Another prior art arrangement is disclosed in European Publication No. 0714670 A2, including a calculation of a pressure-dependent leak component. The methodology relies on knowing precisely the occurrence of the start of an inspiratory event and the start of the next inspiratory event. In other words, the leak calculation is formed as an average over a known breath and applied to a subsequent breath.


This method cannot be used if the moment of start and end of the previous breath are unknown. In general, it can be difficult to accurately calculate the time of start of a breath. This is particularly the case immediately following a sudden change in the leak.


Furthermore, the method will not work in the case of a subject who is making no respiratory efforts, and is momentarily not being ventilated at all, for example during an apnea, because for the duration of the apnea there is no start or end of breath over which to make a calculation.


The present invention seeks to provide a determination of leak flow and true respiratory airflow accounting for the variations in flow through a leak as a function of pressure.


BRIEF SUMMARY OF THE INVENTION

The invention discloses a method for determining instantaneous leak flow at a mask having a leak path during mechanical ventilation, the method comprising the steps of:


(a) determining instantaneous airflow at the mask;


(b) determining instantaneous pressure at the mask;


(c) estimating non-linear conductance of said leak path as the low-pass filtered instantaneous airflow divided by the low-pass filtered square root of the instantaneous pressure; and


(d) determining said instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure.


The invention further discloses a method for determining instantaneous respiratory airflow for a subject receiving breathable gas by a mask and in the presence of any mask leak, the method comprising the steps of:


(a) determining instantaneous airflow at the mask;


(b) determining instantaneous pressure at the mask;


(c) estimating non-linear conductance of said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure;


(d) determining instantaneous leak flow to the said conductance multiplied by the square root of the said instantaneous pressure; and


(e) calculating the respiratory airflow as the instantaneous air flow minus the instantaneous leak flow.


The invention yet further discloses apparatus for determining respiratory airflow for a subject receiving breathable gas by a mask and in the presence of any mask leak, the apparatus comprising:


transducer means located at or proximate the mask to determine instantaneous mask airflow and pressure; and


processing means for estimating non-linear conductance or said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure, determining instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure, and calculating the respiratory air flows the instantaneous airflow minus the instantaneous leak flow.


The invention yet further discloses apparatus for providing continuous positive airway pressure treatment or mechanical ventilation, the apparatus comprising:


a turbine for the generation of a supply of breathable gas;


a gas delivery tube having connection with the turbine;


a mask having-connection to the delivery tube to supply said breathable gas to a subject's airway;


transducer means located at or proximate the mask to determine instantaneous mask airflow and pressure;


processor means for estimating non-linear conductance of said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure, determining instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure, and calculating the respiratory airflow as the instantaneous airflow minus the instantaneous leak flow; and


control means to control the flow generator to, in turn, control the mask pressure and/or mask airflow on the basis of the calculated respiratory airflow.


The invention yet further discloses a computer program for executing the steps referred to above.


In one preferred form, time constants of the low pass filtering are dynamically adjusted dependent upon sudden changes in the instantaneous leak flow.


Embodiments of the invention provide advantages over the prior art. There is no need to know when transitions between respiratory phases occurs. The independence from knowledge of the subject's respiratory state has the important result that the leak flow calculation is accurate in apneic (i.e. no flow) instances on the part of the subject or the mechanical ventilator.





BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the invention will now be described with reference to the accompanying drawings in which:



FIGS. 1A-1F show trace of pressure and airflow from which respiratory airflow is calculated in accordance with a prior art method;



FIGS. 2A and B show schematic diagrams of two embodiments of ventilatory assistance apparatus;



FIG. 3 is a block flow diagram of a method for determining instantaneous respiratory airflow; and



FIGS. 4A-4H show traces of pressure, airflow and other variables from which respiratory airflow is calculated;



FIG. 5 shows a schematic diagram of ventilatory assistance apparatus of another embodiment;



FIG. 6 shows a fuzzy membership function for the calculation of the extent A1 to which the time tX1 since the most recent positive going zero crossing of the calculated respiratory airflow is longer than the expected time T1;



FIG. 7 shows a fuzzy membership function for the calculation of the extent B1 to which the calculated inspiratory respiratory airflow fRESP is large positive;



FIG. 8 shows a fuzzy membership function for the calculation of the extent AE to which the time tZE since the most recent negative going zero crossing in the calculated respiratory airflow is longer than the expected time TE;



FIG. 9 shows a fuzzy membership function for the calculation of the extent BE to which the respiratory airflow fRESP is large negative; and



FIG. 10 shows the relation between an index J and time constant τ.





DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS


FIG. 2A shows mechanical ventilation apparatus 10 embodying the invention.


The subject/patient wears a nose mask 12 of any known type. The subject equally could wear a face mask or nasal prongs/pillows, or alternatively have an endotracheal tube or tracheostomy tube in place. A turbine/blower 14, operated by a mechanically coupled electrical motor 16, receives air or breathable gas at an inlet 18 thereof, and supplies the breathable gas at a delivery pressure to a delivery tube/hose 20 having connection at the other end thereof with the nose mask 12. Breathable gas thus is provided to the subject's airway for the purpose of providing assisted respiration, with the subject's expired breath passing to atmosphere by an exhaust 22 in the delivery tube 20, typically located proximate to the mask 12.


A pneumotachograph 24 is placed in the delivery tube between the mask 12 and the exhaust 22 to provide two pressure signals, P2 and P1, across the pneumotachograph, each passed by hoses 28, 30 to a differential pressure sensor 32. A determination of the flow of gas in the mask 12 is made the differential pressure, P2−P1, resulting in a flow signal fd. The mask pressure, P2, also is passed to a pressure sensor 34 by a tapped line 36 taken from the respective hose 28, to generate a delivery pressure signal, pm, output from the pressure sensor 34.


Both the flow signal, fd, and the pressure signal pm, are passed to a microcontroller 38 where they are sampled for subsequent signal processing, typically at a rate of 50 Hz.


The microcontroller 38 is programmed to process the flow and pressure signals (fd, Pm) to produce an output control signal, yo, provided to an electronic motor servo-controller 42 that, in turn, produces a motor speed control output signal, vo. This signal is provided to the motor 16 to control the rotational speed of the turbine 14 and provide the desired treatment pressure, P2, at the nose mask 12.


The motor servo-controller 42 employs a negative feedback control technique that compares the actual delivery pressure, in the form of the signal Pm, with the control signal yo. For convenience, this control stratagem may be independent of operation of the microcontroller 38.


Operation of the controlling of the microcontroller 38, so far as a calculation of respiratory airflow is concerned, broadly is as follows. In a sampled manner, the conductance of any mask leak is calculated then the instantaneous flow through the leak is calculated. The flow through the leak is subtracted from the total mask flow to calculate the true instantaneous respiratory airflow.



FIG. 2B shows an alternative embodiment of a system for determining true respiratory airflow during mechanical ventilation. The mechanical ventilation system 10 of FIG. 1B differs from that of FIG. 1A firstly in that the microcontroller 38 plays no part in control of the ventilator 50, rather only receives and data processes the electrically transduced mask pressure and flow signals Pm, fd to determine and generate the instantaneous respiratory flow fRESP. The ventilator 50 has an internal drive signal provided by an oscillator 44. The motor servo controller also may or may not receive the mask pressure signal pm as a form of feedback control. Indeed, the ventilator 50 can be realized by any convenient form of known generic ventilation device.


The controlling software resident within the microcontroller 38 performs the following steps in determining the respiratory airflow as broadly described above, as also shown in the flow diagram of FIG. 3.


The word “average” is used herein in the most general sense of the result of a low pass filtering step, and is not confined to an arithmetic mean.


1. Repeatedly sample the mask airflow fd to give a sampled signal fMASK for example at intervals of T=20 milliseconds. (Steps 50,52).


2. Calculate the average leak, LP(L), as being the result of low pass filtering the airflow, fMASK with a time constant of 10 seconds. (Step 54).


3. Calculate the average of the square root of the mask pressure, LP(√{square root over (PMASK)}), as being the result of low pass filtering the square root of the mask pressure, PMASK, with a time constant of 10 seconds. (Step 56).


4. Calculate the conductane, G, of any leak (Step 58), from the equation:






G=LP(L)/LP(√{square root over (PMASK)})


5. Calculate the instantaneous leak flow, fLEAK, through the leak (Step 60), from the equation:






f
LEAK
=G√{square root over (PMASK)}


If there is no leak flow, the value of LP(L) will be equal to zero, as will G and hence fLEAK. Thus the methodology is valid also where leak is equal to zero—no leak.


At this juncture the leak flow has been determined, such as would be desired for a leak flow detector. If desired, the instantaneous respiratory airflow can be subsequently determined by the following step.


6. Calculate the instantaneous respiratory airflow, fRESP, by subtracting the instantaneous leak from the mask flow (Step 62):






f
RESP
=f
MASK
−f
LEAK



FIGS. 4A-4H illustrate the methodology of the embodiment described above with reference to FIG. 2B. At time, t=21 sec. a continuing leak of approximately 1 L/sec is introduced. FIG. 4E shows the mean mask flow. FIG. 4F represents the calculated conductance G, from which the mask leak flow can be estimated as shown in FIG. 4G. Finally, FIG. 4H shows how the calculated respiratory airflow recovers within approximately 30 seconds, and, importantly, gives the correctly scaled (true) magnitude of airflow.


With regard to setting the instantaneous output signal yo, the microcontroller broadly executes the following steps:


7. If the calculated true respiratory airflow fRESP is above a threshold, for example 0.05 L/sec. yo is set to a value corresponding to an inspiratory pressure, PINSP. Otherwise yo is set to a value corresponding to an expiratory pressure, PEXP. In general, PINSP is higher than PEXP, but in the case of continuous positive airways pressure, PEXP may be equal to PINSP. (Step 66).


It is to be understood that many other methods of determining yo from fMASK may be used in step 7, for example as descried in the text Principles and Practice of Mechanical Ventilation, edited by Martin J. Tobin (McGraw Hill Inc. 1994).


In order to control ventilation, it is necessary to measure the subject's ventilation. In the presence of a leak, the ventilation delivered by the assisted ventilation apparatus is greater than the ventilation delivered to the subject. Known devices which servo-control ventilation cope with this by collecting the exhaled air stream with a complex system of valves, and then measuring the exhaled ventilation. This is inappropriate for devices for use in a domestic setting during sleep, because of the attendant weight, complexity, and expense. The embodiment described compensates for the leak by continuously measuring the nonlinear conductance of the leak, and allowing for the instantaneous flow through the leak as a function of pressure.



FIG. 5 shows an alternate arrangement for ventilatory assistance apparatus 10′ embodying the invention. In this arrangement, the pneumotachograph 24′ is interposed between the turbine 14 and the delivery hose 20.


This arrangement removes the pressure sensing hoses and pneumotachograph from the region of the mask 12. The pressure at the mask, PMASK is calculated from the delivery pressure at the turbine 14, and from the pressure drop down the air delivery hose 20, which for any particular delivery hose is a known function of the flow at the pneumotachograph 24. Further, the microcontroller 38 must also calculate the flow through the mask from the flow at the turbine 14 less the flow through the exhaust 22, which for any particular exhaust is a known function of the pressure at the mask 12.


In more detail, this involves the steps of, firstly measuring the pressure P3 at the turbine 14 with the pressure sensor 34 to produce an electrical signal Pt. Next the differential pressure P4−P3 is measured across the pneumotachograph 24′ by the differential pressure sensor 32 to produce an electrical signal ft. In a sampled manner, Pt and ft are digitized to yield the sampled turbine pressure and flow signals PTURBINE and FTURBINE.


The pressure at the mask PMASK and the sampled airflow at the mask fMASK 12 are calculated from the turbine pressure PTURBINE and the flow at the outlet of the turbine FTURBINE as follows:


Calculate the pressure drop AP TUBE down the air delivery tube 20, from the flow at the outlet of the turbine FTURBINE:





ΔPTUBE=sign(FTURBINEK1(FTURBINE)2+K2FTURBINE

    • where K1 and K2 are empirically determined constants, and sign (x) is 1 for x≧0 and −1 otherwise.


Calculate the pressure at the mask, PMASK, as the pressure at the turbine PTURBINE less the pressure drop ΔPTUBE down the air delivery tube 20.






P
MASK
=P
TURBINE
−ΔP
TUBE


Calculate the flow fEXHAUST through the exhaust 22, from the pressure at the mask PMASK:






f
EXHAUST=Sign(PMASKK3√{square root over (absPMASK)}

    • where K3 is determined empirically.


Calculate the flow, fMASK, into the mask 12 as the flow at the turbine 14 less the flow through the exhaust 22:






f
MASK
=f
TURBINE
−f
EXHAUST


The foregoing embodiments describe low-pass filtering of both the instantaneous airflow and the square root of the instantaneous pressure with a time constant τ of 10 seconds. This time constant τ, can be advantageously dynamically adjustable.


If the conductance of the leak suddenly changes, then the calculated conductance will initially be incorrect, and will gradually approach the correct value at a rate which will be slow if the time constant of the low pass filters is long, and fast if the time constant is short. Conversely, if the impedance of the leak is steady, the longer the time constant the more accurate the calculation of the instantaneous leak. Therefore, it is desirable to lengthen the time constant if it is certain that the leak is steady, reduce the time constant if it is certain that the leak has suddenly changed, and to use intermediately longer or shorter time constants if it is intermediately certain that the leak is steady.


If there is a large and sudden increase in the conductance of the leak, then the calculated respiratory airflow will be incorrect. In particular during apparent inspiration, the calculated respiratory airflow will be large positive for a time that is large compared with the expect duration of a normal inspiration. Conversely, if there is a sudden decrease in conductance of the leak, then during apparent expiration the calculated respiratory airflow will be large negative for a time that is large compared with the duration of normal expiration.


Therefore, an index of the degree of certainty that the leak has suddenly changed is derived, such that the longer the airflow has been away from zero, and by a larger amount, the larger the index; and the time constant for the low pass filters is adjusted to vary inversely with the index. In operation, if there is a sudden and large change in the leak, the index will be large, and the time constant for the calculation of the conductance of the leak will be small, allowing rapid convergence on the new value of the leakage conductance. Conversely, if the leak is steady for a long time, the index will be small, and the time constant for calculation of the leakage conductance will be large, enabling accurate calculation of the instantaneous respiratory airflow. In the spectrum of intermediate situations, where the calculated instantaneous respiratory airflow is larger and for longer periods, the index will be progressively larger, and the time constant for the calculation of the leak will progressively reduce. For example, at a moment in time where it is uncertain whether the leak is in fact constant, and the subject merely commenced a large sigh, or whether in fact there has been a sudden increase in the leak, the index will be of an intermediate value, and the time constant for calculation of the impedance of the leak will also be of an intermediate value. One advantage is that some corrective action will occur very early.


Another advantage is that there is never a moment where the leak correction algorithm is “out of control” and needs to be restarted, as described for prior art European Patent Publication No. 0 714 670 A2.


In a preferred embodiment, the above index is derived using fuzzy logic. The fuzzy extent AI to which the airflow has been positive for longer than expected is calculated from the time tZI since the last positive-going zero crossing of the calculated respiratory airflow signal, and the expected duration TI of a normal inspiration for the particular subject, using the fuzzy membership function shown in FIG. 6. The fuzzy extent B1 to which the airflow is large and positive is calculated from the instantaneous respiratory airflow using the fuzzy membership function shown in FIG. 7. The instantaneous index II of the degree of certainty that the leak has suddenly increased is calculated as the fuzzy intersection (lesser) of AI and BI.


Comparable calculations are performed for expiration as follows. The fuzzy extent AE to which the airflow has been negative for longer than expected is calculated from the time tZE since the last negative-going zero crossing of the calculated respiratory airflow signal, and TE, the expected duration of a typical expiration for the particular subject, using the membership function shown in FIG. 8. The fuzzy extent BE to which the airflow is large negative is calculated from the instantaneous respiratory airflow using the fuzzy membership function shown in FIG. 9. The instantaneous index IE of the degree of certainty that the leak has suddenly decreased is calculated as the fuzzy intersection of AE and BE.


The instantaneous index I of the extent to which there has been a sudden change in the leak (either an increase or a decrease) is calculated as the fuzzy union (larger) of indices II and IE. The instantaneous index I is then passed through a peak detector followed by a low pass filter with a time constant of, for example 2 seconds, to yield the desired index J. Thus if index I becomes momentarily large, index J will be initially large and remain so for a few seconds. The time constant τ for the low pass filters used in the calculation of the conductance of the leak is then adjusted to vary inversely with the index J, as shown in FIG. 10. For example, if the expected duration of a normal respiratory cycle were 4 seconds the time constant is set to 10 seconds if the index J is zero, (corresponding to complete certainty that the leak is steady), and to 1 second if the index J is unity (corresponding to complete certainty that the leak is suddenly changing), and to intermediate values for intermediate cases.


The embodiments described refer to apparatus for the provision of ventialatory assistance, however, it is to be understood that the invention is applicable to all forms of mechanical ventilation and apparatus for the provision of continuous positive airway pressure treatment. The apparatus can be for the provision of a constant treatment pressure, multi-level (IPAP and EPAP) treatment or autosetting (adjusting) treatment or other forms of mechanical ventilation, including Proportional Assist Ventilation (PAV) as taught by M Younes in the above-noted text.


The methodology described can be implemented in the form of a computer program that is executed by the microcontroller described, or by discrete combinational logic elements, or by analog hardware.


Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims.

Claims
  • 1. A method for determining instantaneous leak flow at a mask having a leak path during mechanical ventilation, the method comprising the steps of: a) determining instantaneous airflow at the mask;b) determining instantaneous pressure at the mask;c) estimating non-linear conductance of said leak path as the low-pass filtered instantaneous airflow divided by the low-pass filtered square root of the instantaneous pressure; andd) determining said instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure.
  • 2. A method for determining instantaneous respiratory airflow for a subject receiving breathable gas by a mask and in the presence of any mask leak, the method comprising the steps of: a) determining instantaneous airflow at the mask;b) determining instantaneous pressure at the mask;c) estimating non-linear conductance of said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure; andd) determining said instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure; ande) calculating the respiratory airflow as the instantaneous airflow minus the instantaneous leak flow.
  • 3. A method as claimed in claim 2, whereby the time constants for said low pass filtering are dynamically adjustable dependent upon sudden changes in said instantaneous leak flow.
  • 4. A method as claimed in claim 3, whereby said dynamic adjustment comprises the further steps of: deriving an index of the extent to which said conductance has changed suddenly; andchanging said time constants in an opposite sense to a corresponding change in said index.
  • 5. A method as claimed in claim 4, whereby said index is derived by the steps of: from said calculated respiratory airflow, determining the extent to which the absolute magnitude of calculated airflow is larger than expected for longer than expected.
  • 6. A method as claimed in claim 2, whereby steps (a) and (b) comprise: measuring airflow and pressure in a gas delivery circuit coupled to said mask;calculating the pressure drop along the delivery circuit to the mask as a function of said delivery circuit airflow; andcalculating a derived said instantaneous mask pressure as the measured delivery circuit pressure less the pressure drop; andcalculating the airflow through an exhaust of the mask as a function of the derived instantaneous mask pressure; andcalculating a derived said mask airflow as the measured delivery circuit airflow minus the exhaust airflow.
  • 7. Apparatus for determining respiratory airflow for a subject receiving breathable gas by a mask and in the presence of any mask leak, the apparatus comprising: transducer means located at or proximate the mask to determine instantaneous mask airflow and pressure; andprocessing means for estimating non-linear conductance of said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure, determining instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure, and calculating the respiratory airflow as the instantaneous airflow minus the instantaneous leak flow.
  • 8. Apparatus as claimed in claim 7, wherein the time constants for said low pass filtering are dynamically adjustable dependent upon sudden changes in said instantaneous leak flow.
  • 9. Apparatus as claimed in claim 8, wherein said processor means dynamically adjusts the time constants by deriving an index of the extent to which said conductance has changed suddenly, and changing said time constants in an opposite sense to a corresponding change in said index.
  • 10. Apparatus as claimed in claim 9, wherein said processor means derives said index from said calculated respiratory airflow by determining the extent to which the absolute magnitude of calculated airflow is larger than expected for longer than expected.
  • 11. Apparatus as claimed in claim 7, wherein said transducer means comprises a pneumotachograph coupled to a differential pressure transducer.
  • 12. Apparatus as claimed in claim 11, wherein said pneumotachograph is located between the mask and the mask exhaust.
  • 13. Apparatus as claimed in claim 11, wherein said transducer means is located in a gas delivery circuit connected with said mask and remote from said mask.
  • 14. Apparatus for providing continuous positive airway pressure treatment or mechanical ventilation, the apparatus comprising: a turbine for the generation of a supply of breathable gas;a gas delivery tube having connection with the turbine;a mask having connection to the delivery tube to supply said breathable gas to a subject's airway;transducer means located at or proximate the mask to determine instantaneous mask airflow and pressure;processor means for estimating non-linear conductance of said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure, determining instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure, and calculating the respiratory airflow as the instantaneous airflow minus the instantaneous leak flow; andcontrol means to control the flow generator to, in turn, control the mask pressure and/or mask airflow on the basis of the calculated respiratory airflow.
  • 15. Apparatus as claimed in claim 14, wherein the time constants for said low pass filtering are dynamically adjustable dependent upon sudden changes in said instantaneous leak flow.
  • 16. Apparatus as claimed in claim 15, wherein said processor means dynamically adjusts the time constants by deriving an index of the extent to which said conductance has changed suddenly, and changes said time constants in an opposite sense to a corresponding change in said index.
  • 17. Apparatus as claimed in claim 16, wherein said processor means drives said index from said calculated respiratory airflow by determining the extent to which the absolute magnitude of calculated airflow is larger than expected for longer than expected.
  • 18. A computer program for determining instantaneous respiratory airflow for a subject receiving breathable gas by a mask and in the presence of any mask leak, the program receiving input data of instantaneous airflow and pressure at the mask, and comprising the computational steps of: a) determining instantaneous airflow at the mask;b) determining instantaneous pressure at the mask;c) estimating non-linear conductance of said leak path as the low pass filtered instantaneous airflow divided by the low pass filtered square root of the instantaneous pressure;d) determining instantaneous leak flow to be said conductance multiplied by the square root of the said instantaneous pressure; ande) calculating the respiratory airflow as the instantaneous airflow minus the instantaneous leak flow.
  • 19. A method for determining whether a leak flow at a mask of a patient undergoing mechanical ventilation has suddenly changed, the method comprising: determining a respiratory airflow of the patient; anddetermining whether the absolute magnitude of the respiratory airflow is larger than expected for longer than expected.
  • 20. A method as claimed in claim 19, wherein the determining whether the absolute magnitude of the respiratory airflow is larger than expected for longer than expected comprises determining whether at least one of the following conditions hold: the respiratory airflow during inspiration is large positive for a time that is large compared with an expected duration of a normal inspiration, andthe respiratory airflow during expiration is large negative for a time that is large compared with an expected duration of a normal expiration.
  • 21. A method as claimed in claim 19, wherein the determining whether the leak flow at the mask has suddenly changed comprises determining an index J of an extent to which the leak flow at the mask has suddenly changed.
  • 22. A method as claimed in claim 21, wherein the determining the index J comprises determining an instantaneous index I of an extent to which the absolute magnitude of the respiratory airflow is larger than expected for longer than expected.
  • 23. A method as claimed in claim 22, further comprising passing the instantaneous index I through a peak detector followed by a low pass filter.
  • 24. A method as claimed in claim 22, wherein the determining the instantaneous index I comprises: determining an instantaneous index II of an extent to which the respiratory airflow during inspiration is large positive for a time that is large compared with an expected duration of a normal inspiration,determining an instantaneous index IE of an extent to which the respiratory airflow during expiration is large negative for a time that is large compared with an expected duration of a normal expiration, anddetermining the larger of the instantaneous index II and the instantaneous index IE.
  • 25. A method as claimed in claim 24, wherein the determining the instantaneous index II comprises: determining an extent AI to which the respiratory airflow during inspiration is positive for a time that is large compared with the expected duration of a normal inspiration,determining an extent BI to which the respiratory airflow during inspiration is large and positive, anddetermining the lesser of the extent AI and the extent BI.
  • 26. A method as claimed in claim 24, wherein the determining the instantaneous index IE comprises: determining an extent AE to which the respiratory airflow during expiration is negative for a time that is large compared with the expected duration of a normal expiration,determining an extent BE to which the respiratory airflow during expiration is large and negative, anddetermining the lesser of the extent AE and the extent BE.
  • 27. A method as claimed in claim 19, whereby the determining the respiratory airflow comprises: measuring airflow in a gas delivery circuit coupled to the mask;calculating an instantaneous pressure at the mask;determining an instantaneous leak flow at the mask from the calculated instantaneous pressure at the mask; andcalculating respiratory airflow as the measured delivery circuit airflow minus the instantaneous leak flow.
  • 28. A method as claimed in claim 27, wherein the calculating the instantaneous pressure at the mask comprises: measuring a pressure in the gas delivery circuit coupled to the mask;calculating a pressure drop along the delivery circuit to the mask as a function of the measured delivery circuit airflow; andcalculating the instantaneous pressure at the mask as the measured delivery circuit pressure less the pressure drop.
  • 29. A method as claimed in claim 27, wherein the determining the instantaneous leak flow at the mask comprises: estimating a leak conductance; andmultiplying the estimated leak conductance by the square root of the instantaneous pressure at the mask.
  • 30. A method as claimed in claim 29, wherein the estimating the leak conductance comprises: determining an instantaneous airflow at the mask; andestimating the leak conductance by:low pass filtering the determined instantaneous airflow at the mask, anddividing by a low pass filtered square root of the instantaneous pressure at the mask.
  • 31. A method as claimed in claim 30, wherein determining the instantaneous airflow at the mask comprises: computing an exhaust flow as a function of the instantaneous pressure at the mask; andsubtracting the exhaust flow from the measured delivery circuit airflow.
  • 32. A method as claimed in claim 30, whereby time constants for the low pass filtering are dynamically adjustable dependent upon whether the leak flow has suddenly changed.
  • 33. A method as claimed in claim 32, whereby said dynamic adjustment comprises: deriving an index of an extent to which the leak flow at the mask has suddenly changed; andchanging said time constants in an opposite sense to a corresponding change in the index.
  • 34. Apparatus for determining whether a leak flow at a mask of a patient undergoing mechanical ventilation has suddenly changed, the apparatus comprising: transducer means located at or proximate the mask to determine a respiratory airflow of the patient; anda processor configured to determine whether the absolute magnitude of the respiratory airflow is larger than expected for longer than expected.
  • 35. Apparatus as claimed in claim 34, wherein said transducer means comprises a pneumotachograph coupled to a differential pressure transducer.
  • 36. Apparatus as claimed in claim 35, wherein said pneumotachograph is located between the mask and a mask exhaust.
  • 37. Apparatus as claimed in claim 34, wherein said transducer means is located in a gas delivery circuit connected with said mask and remote from said mask.
  • 38. Apparatus for providing continuous positive airway pressure treatment or mechanical ventilation, the apparatus comprising: a turbine for generation of a supply of breathable gas;a gas delivery tube having connection with the turbine;a mask having connection to the delivery tube to supply said breathable gas to a patient's airway, the mask having a leak path;transducer means located at or proximate the mask to determine a respiratory airflow of the patient;a processor configured to determine whether the absolute magnitude of the respiratory airflow is larger than expected for longer than expected; andcontrol means to control the flow generator to control an instantaneous mask pressure on the basis of the determination.
  • 39. A computer readable storage medium storing a computer program comprising instructions configured to cause a processor to carry out a method of determining whether a leak flow at a mask of a patient undergoing mechanical ventilation has suddenly changed, the method comprising: determining a respiratory airflow of the patient; anddetermining whether the absolute magnitude of the respiratory airflow is larger than expected for longer than expected.
Priority Claims (1)
Number Date Country Kind
AU199737625 Aug 1996 AU national
CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of application Ser. No. 12/649,877 filed on Dec. 30, 2009, now allowed, which is a continuation of application Ser. No. 11/223,237 filed on Sep. 8, 2005, now U.S. Pat. No. 7,661,428; which is a continuation of application Ser. No. 10/726,114 filed on Dec. 1, 2003, now U.S. Pat. No. 6,945,248; which is a continuation of application Ser. No. 09/902,011 filed on Jul. 10, 2001, now U.S. Pat. No. 6,659,101; which is a continuation of application Ser. No. 09/525,042 filed on Mar. 14, 2000, now U.S. Pat. No. 6,279,569; which is a continuation of application Ser. No. 08/911,513 filed on Aug. 14, 1997, now U.S. Pat. No. 6,152,129 and Australian Application No. AU199737625 filed on Aug. 14, 1996, the disclosures of which are incorporated herein by reference.

Continuations (6)
Number Date Country
Parent 12649877 Dec 2009 US
Child 14278642 US
Parent 11223237 Sep 2005 US
Child 12649877 US
Parent 10726114 Dec 2003 US
Child 11223237 US
Parent 09902011 Jul 2001 US
Child 10726114 US
Parent 09525042 Mar 2000 US
Child 09902011 US
Parent 08911513 Aug 1997 US
Child 09525042 US