Apparatus for delivering gas to a patient

Abstract: Apparatus (10) comprises a pressure controller (26), a first processor (30) for providing a signal (36) proportional to instant flow rate, a second processor (38) for providing a reference signal (40), and a comparator (34) for providing a drive signal (42) for the controller (26). By this apparatus (10) alternating high and low positive airway pressure can be applied in the airway of the patient, and coordinated with the spontaneous respiration, which is useful in the treatment of sleep apnea.

Description: Technical Field The sleep apnea syndrome afflicts an estimated 1% to 3% of the general population and is due to episodic upper airway obstruction during sleep. Those afflicted with sleep apnea experience sleep fragmentation and intermittent, complete or nearly complete cessation of ventilation during sleep with potentially severe degrees of oxyhemoglobin unsaturation. These features may be translated clinically into debilitating daytime sleepiness, cardiac disrhythmias, pulmonary-artery hypertension, congestive heart failure and cognitive disfunction. Other sequelae of sleep apnea include right ventricular dysfunction with cor pulmonale, carbon dioxide retention during wakefulness as well as during sleep, and continuous reduced arterial oxygen tension. Hypersomnolent sleep apnea patients may be at risk for excessive mortality from these factors as well as by an elevated risk for accidents while driving and/or operating potentially dangerous equipment. Although details of the pathogenesis of upper airway obstruction in sleep apnea patients have not been fully defined, it is generally accepted that the mechanism includes either anatomic or functional abnormalities of the upper airway which result in increased air flow resistance. Such abnormalities may include narrowing of the upper airway due to suction forces evolved during inspiration, the effect of gravity pulling the tongue back to appose the pharyngeal wall, and/or insufficient muscle tone in the upper airway dilator muscles. It has also been hypothesized that a mechanism responsible for the known association between obesity and sleep apnea is excessive soft tissue in the anterior and lateral neck which applies sufficient pressure on internal structures to narrow the airway. The treatment of sleep apnea has included such surgical interventions as uvalopalatopharyngoplasty, gastric surgery for obesity, and maxillo-facial reconstruction. Another mode of surgical intervention used in the treatment of sleep apnea is tracheostomy. These treatments constitute major undertakings with considerable risk of post-operative morbidity if not mortality. Pharmacologic therapy has in general been disapponting, especially in patients with more than mild sleep apnea. In addition, side effects from the pharmacologic agents that have been used are frequent. Thus, medical practitioners continue to seek non-intrusive modes of treatment for sleep apnea with high success rates and high patient compliance including, for example in cases relating to obesity, weight loss through a regimen of exercise and regulated diet. Background Art Recent work in the treatment of sleep apnea has included the use of continuous positive airway pressure (CPAP) to maintain the airway of the patient in a continuously open state during sleep. For example, U.S. patent 4,655,213 and Australian patent AU-B-83901/82 both disclose sleep apnea treatments based on continuous positive airway pressure applied within the airway of the patient. Also of interest is U.S. patent 4,773,411 which discloses a method and apparatus for ventilatory treatment characterized as airway pressure release ventilation and which provides a substantially constant elevated airway pressure with periodic short term reductions of the elevated airway pressure to a pressure magnitude no less than ambient atmospheric pressure. Publications pertaining to the application of CPAP in treatment of sleep apnea include the following: 1. Lindsay, DA, Issa FG, and Sullivan C.E. "Mechanisms of Sleep Desaturation in Chronic Airflow Limitation Studied with Nasal Continuous Positive Airway Pressure (CPAP), " Am Rev Respir Dis , 1982; 125: p.112. 2. Sanders MH, Moore SE, Eveslage J. "CPAP via nasal mask: A treatment for occlusive sleep apnea," Chest , 1983; 83: pp. 144-145. 3. Sullivan CE, Berthon-Jones M, Issa FG. "Remission of severe obesity-hypoventilation syndrome after short-term treatment during sleep with continuous positive airway pressure," Am Rev Respir Dis , 1983; 128: pp. 177-181. 4. Sullivan CE, Issa FG, Berthon-Jones M, Eveslage. "Reversal of obstructive sleep apnea by contnuous positive airway pressure applied through the nares," Lancet , 1981; 1: pp. 862-865. 5. Sullivan CE, Berthon-Jones M. Issa FG. "Treatment of obstructive apnea with continuous positive airway pressure applied through the nose." Am Rev Respir Dis , 1982; 125: p.107. Annual Meeting Abstracts. 6. Rapoport DM, Sorkin B, Garay SM, Goldring RM. "Reversal of the 'Pickwickian Syndrome' by long-term use of nocturnal nasal-airway pressure," N Engl J. Med , 1982; 307: pp.931-933. 7. Sanders MH, Holzer BC, Pennock BE. "The effect of nasal CPAP on various sleep apnea patterns," Chest , 1983; 84: p.336. Presented at the Annual Meeting of the American College of Chest Physicians, Chicago IL, October 1983. Although CPAP has been found to be very effective and well accepted, it suffers from some of the same limitations, although to a lesser degree, as do the surgery options; specifically a significant proportion of sleep apnea patients do not tolerate CPAP well. Thus, development of other viable non-invasive therapies has been a continuing objective in the art. Reference is made to the published Patent Cooperation Treaty WO89/05669 and GB Application No. 2079984A which disclose inter alia a flow meter and allied apparatus which contribute to a repetitive determination of the patient's tidal volume during use, such data to be used in conditioning associated respiratory apparatus. Values of a patient's tidal volume are not necessary to the operation of the present invention. Insofar as US-A-4,773,411 discloses a CPAP apparatus including a controller for controlling the pressure of the gas supplied to the patient during both inhalation and exhalation, it serves as a useful starting point for the definition of the present invention. THE INVENTION The invention consists of apparatus for delivering gas to and from the airway of a patient including a controller for controlling the pressure of the said gas during both inhalation and exhalation; characterized by a first processor for providing an instantaneous flow rate signal proportional to the instantaneous flow rate of the said gas during inhalation and exhalation; a second processor for providing a reference signal representing system leakage derived from said signal, and a comparator for comparing the instantaneous flow rate and reference signals, and for providing a drive signal for the pressure controller. In one embodiment of the invention, positive pressure is applied alternately at relatively higher and lower pressure levels within the airway of the patient so that the pressure-induced force applied to dilate the patient's airway is alternately a larger and a smaller magnitude dilating force. The higher and lower magnitude positive pressures are initiated by spontaneous patient respiration with the higher magnitude pressure being applied during inspiration and the lower magnitude pressure being applied during expiration. The invention further contemplates a novel and improved apparatus which is operable to provide sleep apnea treatment. More specifically, a flow generator and an adjustable pressure controller supply air flow at a predetermined, adjustable pressure to the airway of a patient through a flow transducer. The flow transducer generates an output signal which is then conditioned to provide a signal proportional to the instantaneous flow rate of air to the patient. The instantaneous flow rate signal is fed to a low pass filter which passes only a signal indicative of the average flow rate over time. The average flow rate signal typically would be expected to be a value representing a non zero positive flow as the system is likely to have at least minimal leakage from the patient circuit (e.g. small leaks about the perimeter of the respiration mask worn by the patient). The average flow signal is indicative of such leakage because the summation of all other components of flow over time must be essentially zero since inspiration flow must equal expiration flow volume over time, that is, over a period of time the volume of air breathed in equals the volume of the gases breathed out. Both the instantaneous flow signal and the average flow rate signal are fed to an inspiration/expiration decision module which is, in its simplest form, a comparator that continually compares the input signals and provides a corresponding drive signal to the pressure controller. In general, when the instantaneous flow exceeds average flow, the patient is inhaling and the drive signal supplied to the pressure controller sets the pressure controller to deliver air, at a preselected elevated pressure, to the airway of the patient. Similarly, when the instantaneous flow rate is less than the average flow rate, the patient is exhaling and the decision circuitry thus provides a drive signal to set the pressure controller to provide a relatively lower magnitude of pressure in the airway of the patient. The patient's airway thus is maintained open by alternating higher and lower magnitudes of pressure which are applied during spontaneous inhalation and exhalation, respectively. As has been noted, some sleep apnea patients do not tolerate standard CPAP therapy. Specifically, approximately 25% of patients cannot tolerate CPAP due to the attendant discomfort. CPAP mandates equal pressures during both inhalation and exhalation. The elevated pressure during both phases of breathing may create difficulty in exhaling and the sensation of an inflated chest. However, we have determined that although both inspiratory and expiratory air flow resistances in the airway are elevated during sleep preceding the onset of apnea, the airway flow resistance may be less during expiration than during inspiration. Thus it follows that the bi-level CPAP therapy of our invention as characterized above may be sufficient to maintain pharyngeal patency during expiration even though the pressure applied during expiration is not as high as that needed to maintain pharyngeal patency during inspiration. In addition, some patients may have increased upper airway resistance primarily during inspiration with resulting adverse physiologic consequences. Thus, our invention also contemplates applying elevated pressure only during inhalation thus eliminating the need for global (inhalation and exhalation) increases in airway pressure. The relatively lower pressure applied during expiration may in some cases approach or equal ambient pressure. The lower pressure applied in the airway during expiration enhances patient tolerance by alleviating some of the uncomfortable sensations normally associated with CPAP. Under prior CPAP therapy, pressures as high as 15 cm H₂O have been required, and some patients on nasal CPAP thus have been needlessly exposed to unnecessarily high expiratory pressures with the attendant discomfort and elevated mean airway pressure, and theoretic risk of barotrauma. Our invention permits independent application of a higher inspiratory airway pressure in conjunction with a lower expiratory airway pressure in order to provide a therapy which is better tolerated by the 25% of the patient population which does not tolerate CPAP therapy, and which may be safer in the other 75% of the patient population. As has been noted hereinabove, the switch between higher and lower pressure magnitudes can be controlled by spontaneous patient respiration, and the patient thus is able to independently govern respiration rate and volume. As has been also noted, the invention contemplates automatic compensation for system leakage whereby nasal mask fit and air flow system integrity are of less consequence than in the prior art. In addition to the benefit of automatic leak compensation, other important benefits of the invention include lower mean airway pressures for the patient and enhanced safety, comfort and tolerance. Drawings Fig. 1 is a functional block diagram of an apparatus according to the invention; Fig. 2 is a functional block diagram showing an alternative embodiment of the invention; Fig. 3 is a functional block diagram of the Estimated Leak Computer of Fig. 2; and Fig. 4 is a frontal elevation of a control panel for the apparatus of this invention. There is generally indicated at 10 in Fig. 1 an apparatus according to one presently preferred embodiment of the instant invention and shown in the form of a functional block diagram. Apparatus 10 is operable for delivering breathing gas such as air alternately at relatively higher and lower pressures (i.e., equal to or above ambient atmospheric pressure) to a patient 12 for treatment of the condition known as sleep apnea. Apparatus 10 comprises a gas flow generator 14 (e.g., a blower) which receives breathing gas from any suitable source, a pressurized bottle 16 or the ambient atmosphere, for example. The gas flow from flow generator 14 is passed via a delivery conduit 20 to a breathing appliance such as a mask 22 of any suitable known construction which is worn by patient 12. The mask 22 may preferably be a nasal mask or a full face mask 22 as shown. Other breathing appliances which may be used in lieu of a mask include nasal cannulae, an endotracheal tube, or any other suitable appliance for interfacing between a source of breathing gas and a patient. The mask 22 includes a suitable exhaust port means, schematically indicated at 24, for exhaust of breathing gases during expiration. Exhaust port 24 preferably is a continuously open port which imposes a suitable flow resistance upon exhaust gas flow to permit a pressure controller 26, located in line with conduit 20 between flow generator 14 and mask 22, to control the pressure of air flow within conduit 20 and thus within the airway of the patient 12. For example, exhaust port 24 may be of sufficient cross-sectional flow area to sustain a continuous exhaust flow of approximately 15 liters per minute. The flow via exhaust port 24 is one component, and typically the major component of the overall system leakage, which is an important parameter of system operation. In an alternative embodiment to be discussed hereinbelow, it has been found that a non-rebreathing valve may be substituted for the continuously open port 24. The pressure controller 26 is operative to control the pressure of breathing gas within the conduit 20 and thus within the airway of the patient. Pressure controller 26 is located preferably, although not necessarily, downstream of flow generator 14 and may take the form of an adjustable valve which provides a flow path which is open to the ambient atmosphere via a restricted opening, the valve being adjustable to maintain a constant pressure drop across the opening for all flow rates and thus a constant pressure within conduit 20. Also interposed in line with conduit 20, preferably downstream of pressure controller 26, is a suitable flow transducer 28 which generates an output signal that is fed as indicated at 29 to a flow signal conditioning circuit or pocessor 30 for generation of a signal proportional to the instantaneous flow rate of breathing gas within conduit 20 to the patient. It will be appreciated that flow generator 14 is not necessarily a positive displacement device. It may be, for example, a blower which creates a pressure head within conduit 20 and provides air flow only to the extent required to maintain that pressure head in the presence of patient breathing cycles, the exhaust opening 24, and action of pressure controller 26 as above described. Accordingly, when the patient is exhaling, peak exhalation flow rates from the lungs may far exceed the flow capacity of exhaust port 24. As a result, exhalation gas back flows within conduit 20 through flow transducer 28 and toward pressure controller 26, and the instantaneous flow rate signal from transducer 28 thus will vary widely within a range from relatively large positive (i.e. toward the patient) flow to relatively large negative (i.e. from the patient) flow. The instantaneous flow rate signal from flow signal conditioning circuitry 30 is fed as indicated at 32 to a decision module 34, a known comparator circuit for example, and is additionally fed as indicated at 36 to a low pass filter 38. Low pass filter 38 has a cut-off frequency low enough to remove from the instantaneous flow rate input signal most variations in the signal which are due to normal breathing. Low pass filter 38 also has a long enough time constant to ensure that spurious signals, aberrant flow patterns and peak instantaneous flow rate values will not dramatically affect system average flow. That is, the time constant of low pass filter 38 is selected to be long enough that it responds slowly to the instantaneous flow rate signal input. Accordingly, most instantaneous flow rate input signals which could have a large impact on system average flow in the short term have a much smaller impact over a longer term, largely because such instantaneous flow rate signal components will tend to cancel over the longer term. For example, peak instantaneous flow rate values will tend to be alternating relatively large positive and negative flow values corresponding to peak inhalation and exhalation flow achieved by the patient during normal spontaneous breathing. The output of low pass filter 38 thus is a signal which is proportional to the average flow in the system, and this is typically a positive flow which corresponds to average system leakage (including flow from exhaust 24) since, as noted, inhalation and exhalation flow cancel for all practical purposes. The average flow signal output from the low pass filter 38 is fed as indicated at 40 to decision circuitry 34 where the instantaneous flow rate signal is continually compared to the system average flow signal. The output of the decision circuitry 34 is fed as a drive signal indicated at 42 to the pressure controller 26. The pressure magnitude of breathing gas within conduit 20 thus is coordinated with the spontaneous breathing effort of the patient 12, as follows. When the patient begins to inhale, the instantaneous flow rate signal goes to a positive value above the positive average flow signal value. Detection of this increase in decision circuitry 34 is sensed as the start of patient inhalation. The output signal from decision circuitry 34 is fed to pressure controller 26 which, in response, provides higher pressure gas flow within conduit 20 and thus higher pressure within the airway of the patient 12. This is the higher magnitude pressure value of our bi-level CPAP system and is referred to hereinbelow as IPAP (inhalation positive airway pressure). During inhalation, the flow rate within conduit 20 will increase to a maximum and then decrease as inhalation comes to an end. At the start of exhalation, air flow into the patient's lungs is nil and as a result the instantaneous flow rate signal will be less than the average flow rate signal which, as noted is a relatively constant positive flow value. The decision circuitry 34 senses this condition as the start of exhalation and provides a drive signal to pressure controller 26 which, in response, provides gas flow within conduit 20 at a lower pressure which is the lower magnitude pressure value of the bi-level CPAP system, referred to hereinbelow as EPAP (exhalation positive airway pressure). As has been noted hereinabove the range of EPAP pressures may include ambient atmospheric pressure. When the patient again begins spontaneous inhalation, the instantaneous flow rate signal again increases over the average flow rate signal, and the decision circuitry once again feeds a drive signal to pressure controller 26 to reinstitute the IPAP pressure. System operation as above specified requires at least periodic comparison of the input signals 32 and 40 by decision circuitry 34. Where this or other operations are described herein as continual, the scope of meaning to be ascribed includes both continuous (i.e. uninterrupted) or periodic (i.e. at discrete intervals). As has been noted, the system 10 has a built-in controlled leakage via exhaust port 24 thus assuring that the average flow signal will be at least a small positive flow. During inhalation, the flow sensed by the flow transducer will be the sum of exhaust flow via port 24 and all other system leakage downstream of transducer 28, and inhalation flow within the airway of the patient 12. Accordingly, during inhalation the instantaneous flow rate signal as conditioned by conditioning module 30, will reliably and consistently reflect inhalation flow exceeding the average flow rate signal. During exhalation, the flow within conduit 20 reverses as exhalation flow from the lungs of the patient far exceeds the flow capacity of exhaust port 24. Accordingly, exhalation air backflows within conduit 20 past transducer 28 and toward pressure controller 26. Since pressure controller 26 is operable to maintain set pressure, it will act in response to flow coming from both the patient and the flow generator to open an outlet port sufficiently to accommodate the additional flow volume and thereby maintain the specified set pressure as determined by action of decision circuitry 34. In both the inhalation and exhalation cycle phases, the pressure of the gas within conduit 20 exerts a pressure within the airway of the patient to maintain an open airway and thereby alleviate airway constriction. In practice, it may be desirable to provide a slight offset in the switching level within decision circuitry 34 with respect to the average flow rate signal, so that the system does not prematurely switch from the low pressure exhalation mode to the higher pressure inhalation mode. That is, a switching setpoint offset in the positive direction from system average flow may be provided such that the system will not switch to the IPAP mode until the patient actually exerts a significant spontaneous inspiratory effort of a minimum predetermined magnitude. This will ensure that the initiation of inhalation is completely spontaneous and not forced by an artificial increase in airway pressure. A similar switching setpoint offset may be provided when in the IPAP mode to ensure the transition to the lower pressure EPAP mode will occur before the flow rate of air into the lungs of the patient reaches zero (i.e. the switch to EPAP occurs Slightly before the patient ceases inhalation.) This will ensure that the patient will encounter no undue initial resistance to spontaneous exhalation. From the above description, it will be seen that a novel method of treating sleep apnea is proposed according to which the airway pressure of the patient is maintained at a higher positive pressure during inspiration and a relatively lower pressure during expiration, all without interference with the spontaneous breathing of the patient. The described apparatus is operable to provide such treatment for sleep apnea patients by providing a flow of breathing gas to the patient at positive pressure, and varying the pressure of the air flow to provide alternately high and low pressure within the airway of the patient coordinated with the patient's spontaneous inhalation and exhalation. To provide pressure control, the flow rate of breathing gas to the patient is detected and processed to continually provide a signal which is proportional to the instantaneous breathing gas flow rate in the system. The instantaneous flow rate signal is further processed to eliminate variations attributable to normal patient respiration and other causes thus generating a signal which is proportional to the average or steady state system gas flow. The average flow signal is continually compared with the instantaneous flow signal as a means to detect the state of the patient's spontaneous breathing versus average system flow. When instantaneous flow exceeds the average flow, the patient is inhaling, and in response the pressure of gas flowing to the patient is set at a selected positive pressure, to provide a corresponding positive pressure within the airway of the patient. When comparison of the instantaneous flow rate signal with the average flow signal indicates the patient is exhaling, as for example when the instantaneous flow signal indicates flow equal to or less than the average flow, the pressure of breathing gas to the patient is adjusted to a selected lower pressure to provide a corresponding lower pressure within the airway of the patient. In an alternative embodiment of the invention as shown in Figs. 2 and 3, the low pass filter 38 is replaced by an estimated leak computer which includes a low pass filter as well as other functional elements as shown in Fig. 3. The remainder of the system as shown in Fig. 2 is similar in most respects to the system shown in Fig. 1. Accordingly, like elements are identified by like numbers, and the description hereinabove of Fig. 1 embodiment also applies generally to Fig. 2. By using the operative capability of the estimated leak computer 50, as described hereinbelow, it is possible to adjust the reference signal which is fed to decision circuitry 34 on a breath by breath basis rather than merely relying on long term average system flow. To distinguish this new reference signal from average system flow it will be referred to hereinbelow as the estimated leak flow rate signal or just the estimated leak signal. As was noted hereinabove, the average system flow rate reference signal changes very slowly due to the long time constant of the low pass filter 38. This operative feature was intentionally incorporated to avoid disturbance of the reference signal by aberrant instantaneous flow rate signal inputs such as erratic breathing patterns. While it was possible to minimize the impact of such aberrations on the average flow rate reference signal, the average flow signal did nevertheless change, although by small increments and only very slowly in response to disturbances. Due to the long time constant of the low pass filter, such changes in the reference signal even if transitory could last for a long time. Additionally, even a small change in the reference signal could produce a very significant effect on system triggering. For example, since the objective is to trigger the system to the IPAP mode when inhalation flow just begins to go positive, small changes in the reference signal could result in relatively large changes in the breathing effort needed to trigger the system to the IPAP mode. In some instances the change in reference signal could be so great that with normal breathing effort the patient would be unable to trigger the system. For example, if the system were turned on before placement of the mask on the face of the patient, the initial free flow of air from the unattached mask could result in a very large magnitude positive value for initial average system flow. If such value were to exceed the maximum inspiratory flow rate achieved in spontaneous respiration by the patient, the system would never trigger between the IPAP and EPAP modes because the decision circuitry would never see an instantaneous flow rate signal greater than the average flow rate signal, at least not until a sufficient number of normal breathing cycles after application of the mask to the patient to bring the reference signal down to a value more closely commensurate with the actual system leak in operation. As has been noted, with the low pass filter this could take a rather long time, during which time the patient would be breathing spontaneously against a uniform positive pressure. This would be tantamount to conventional CPAP and not at all in keeping with the present invention. In addition to the embodiment based on a reference signal derived from estimated leak flow rate on a breath by breath basis which is controlled totally by spontaneous patient breathing, two further modes of operation also are envisioned, one being spontaneous/timed operation in which the system automatically triggers to the IPAP mode for just long enough to initiate patient inspiration if the system does not sense inspiratory effort within a selected time after exhalation begins. To accomplish this, a timer is provided which is reset at the beginning of each patient inspiration whether the inspiratory cycle was triggered spontaneously or by the timer itself. Thus, only the start of inspiration is initiated by the timer. The rest of the operating cycle in this mode is controlled by spontaneous patient breathing and the circuitry of the system to be described. A further mode of operation is based purely on timed operation of the system rather than on spontaneous patient breathing effort, but with the timed cycles coordinated to spontaneous patient breathing. Referring to Fig. 3, the estimated leak computer 50 includes the low pass filter 38′ as well as other circuits which are operative to make corrections to the estimated leak flow rate signal based on on-going analysis of each patient breath. A further circuit is provided which is operative to adjust the estimated leak flow rate signal quickly after major changes in system flow such as when the blower has been running prior to the time when the mask is first put on the patient, or after a major leak the system has either started or has been shut off. The low pass filter 38′ also includes a data storage capability whose function will be described hereinbelow. The low pass filter 38′ operates substantially as described above with reference to Fig. 1 in that it provides a long term average of system flow which is commensurate with steady state system leakage including the flow capacity of the exhaust port 24. This long term average is operative in the Fig. 3 embodiment to adjust the estimated leak flow rate reference signal only when system flow conditions are changing very slowly. To provide breath by breath analysis and adjustment of the reference signal, a differential amplifier 52 receives the instantaneous flow rate signal as indicated at 54, and the estimated leak signal output from low pass filter 38′ as indicated at 56. The output of differential amplifier 52 is the difference between instantaneous flow rate and estimated leak flow rate, or in other words estimated instantaneous patient flow rate. This will be clear upon considering that instantaneous flow is the sum of patient flow plus actual system leakage. The estimated patient flow signal output from differential amplifier 52 is provided as indicated at 58 to a flow integrator 60 which integrates estimated patient flow breath by breath beginning and ending with the trigger to IPAP. Accordingly, an additional input to the flow integrator 60 is the IPAP/EPAP state signal as indicated at 62. The IPAP/EPAP state signal is the same as the drive signal provided to pressure controller 26; that is, it is a signal indicative of the pressure state, as between IPAP and EPAP, of the system. The state signal thus may be used to mark the beginning and end of each breath for purposes of breath by breath integration by integrator 60. If the estimated leak flow rate signal from low pass filter 38′ is equal to the true system leak flow rate, and if the patient's inhaled and exhaled volumes are identical for a given breath (i.e. total positive patient flow equals total negative patient flow for a given breath), then the integral calculated by integrator 60 will be zero and no adjustment of estimated leak flow rate will result. When the integral calculated by integrator 60 is non-zero, the integral value in the form of an output signal from integrator 60 is provided as indicated at 64 to a sample and hold module 66. Of course, even with a zero value integral, an output signal may be provided to module 66, but the ultimate result will be no adjustment of the estimated leak flow rate signal. A non-zero integral value provided to module 66 is further provided to module 38′ as indicated at 68 with each patient breath by operative action of the IPAP/EPAP state signal upon module 66 as indicated at 70. The effect of a non-zero integral value provided to module 38′ is an adjustment of the estimated leak flow rate signal proportional to the integral value and in the direction which would reduce the integral value towards zero on the next breath if all other conditions remain the same. With this system, if the patient's net breathing cycle volume is zero, and if the system leak flow rate changes, the integrator circuit will compensate for the change in leak flow rate by incremental adjustments to the estimated leak flow rate within about ten patient breaths. The integrator circuit 60 also will adjust the estimated leak flow rate signal in response to non-zero net volume in a patient breathing cycle. It is not unusual for a patient's breathing volume to be non-zero. For example, a patient may inhale slightly more on each breath than he exhales over several breathing cycles, and then follow with a deeper or fuller exhalation. In this case, the integrator circuit would adjust the estimated leak flow rate signal as if the actual system leak rate had changed; however, since the reference signal correction is only about one tenth as large as would be required to make the total correction in one breath, the reference signal will not change appreciably over just one or two breaths. Thus, the integrator circuit accommodates both changes in system leakage and normal variations in patient breathing patterns. The integrator circuit normally would be active, for example, during rapid patient breathing. An end exhalation module 74 is operative to calculate another data component for use in estimating the system leak flow rate as follows. The module 74 monitors the slope of the instantaneous flow rate wave form. When the slope value is near zero during exhalation (as indicated by the state signal input 76) the indication is that the flow rate is not changing. If the slope of the instantaneous flow rate signal wave form remains small after more than one second into the respiratory phase, the indication is that exhalation has ended and that the net flow rate at this point thus is the leak flow rate. However, if estimated patient flow rate is non-zero at the same time, one component of the instantaneous flow rate signal must be patient flow. When these conditions are met, the circuit adjusts the estimated leak flow rate slowly in a direction to move estimated patient flow rate toward zero to conform to instantaneous patient flow conditions expected at the end of exhalation. The adjustment to estimated leak flow rate is provided as an output from module 74 to low pass filter 38′ as indicated at 80. When this control mechanism takes effect, it disables the breath by breath volume correction capability of integrator circuit 60 for that breath only. The output of module 74 is a time constant control signal which is provided to low pass filter 38′ to temporarily shorten the time constant thereof for a sufficient period to allow the estimated leak flow rate to approach the instantaneous flow rate signal at that specific instant. It will be noted that shortening the low pass filter time constant increases the rapidity with which the low pass filter output (a system average) can adjust toward the instantaneous flow rate signal input. Another component of estimated leak flow rate control is a gross error detector 82 which acts when the estimated patient flow rate, provided thereto as indicated at 84, is away from zero for more than about 5 seconds. Such a condition may normally occur, for example, when the flow generator 14 is running before mask 22 is applied to the patient. This part of the control system is operative to stabilize operation quickly after major changes in the leak rate occur. In accordance with the above description, it will be seen that low pass filter 38′ acts on the instantaneous flow rate signal to provide an output corresponding to average system flow, which is system leakage since patient inspiration and expiration over time constitutes a net positive flow of zero. With other enhancements, as described, the system average flow can be viewed as an estimate of leakage flow rate. The differential amplifier 52 processes the instantaneous flow rate signal and the estimated leak flow rate signal to provide an estimated patient flow rate signal which is integrated and non-zero values of the integral are fed back to module 38′ to adjust the estimated leak flow rate signal on a breath by breath basis. The integrator 60 is reset by the IPAP/EPAP state signal via connection 62. Two circuits are provided which can override the integrator circuit, including end exhalation detector 74 which provides an output to adjust the time constant of low pass filter 38′ and which also is provided as indicated at 86 to reset integrator 60. Gross error detector 82 is also provided to process estimated patient flow rate and to provide an adjustment to estimated leak flow rate under conditions as specified. The output of module 82 also is utilized as an integrator reset signal as indicated at 86. It will be noted that the integrator 60 is reset with each breath of the patient if, during that breath, it is ultimately overridden by module 74 or 82. Accordingly, the multiple reset capabilities for integrator 60 as described are required. In operation, the system may be utilized in a spontaneous triggering mode, a spontaneous/timed mode or a purely timed mode of operation. In spontaneous operation, decision circuitry 34 continuously compares the instantaneous flow rate with estimated leak flow rate. If the system is in the EPAP state or mode, it remains there until instantaneous flow rate exceeds estimated leak flow rate by approximately 40 cc per second. When this transition occurs, decision circuitry 34 triggers the system into the IPAP mode for 150 milliseconds. The system will then normally remain in the IPAP mode as the instantaneous flow rate to the patient will continue to increase during inhalation due to spontaneous patient effort and the assistance of the increased IPAP pressure. After the transition to the IPAP mode in each breath, a temporary offset is added to the estimated leak flow rate reference signal. The offset is proportional to the integral of estimated patient flow rate beginning at initiation of the inspiratory breath so that it gradually increases with time during inspiration at a rate proportional to the patient's inspiratory flow rate. Accordingly, the flow rate level above estimated leak flow needed to keep the system in the IPAP mode during inhalation decreases with time from the beginning of inhalation and in proportion to the inspiratory flow rate. With this enhancement,the longer an inhalation cycle continues, the larger is the reference signal below which instantaneous flow would have to decrease in order to trigger the EPAP mode. For example, if a patient inhales at a constant 500 cc per second until near the end of inspiration, a transition to EPAP will occur when his flow rate drops to about 167 cc per second after one second, or 333 cc per second after two seconds, or 500 cc per second after three seconds, and so forth. For a patient inhaling at a constant 250 cc per second, the triggers would occur at 83, 167 and 250 cc per second at one, two and three seconds into IPAP, respectively. In this way, the EPAP trigger threshold comes up to meet the inspiratory flow rate with the following benefits. First, it becomes easier and easier to end the inspiration cycle with increasing time into the cycle. Second, if a leak develops which causes an increase in instantaneous flow sufficient to trigger the system into the IPAP mode, this system will automatically trigger back to the EPAP mode after about 3.0 seconds regardless of patient breathing effort. This would allow the volume-based leak correction circuit (i.e. integrator 60) to act as it is activated with each transition to the IPAP mode. Thus, if a leak develops suddenly, there will be a tendency toward automatic triggering rather than spontaneous operation for a few breaths, but the circuit will not be locked into the IPAP mode. Upon switching back to the EPAP mode, the trigger threshold will remain above the estimated leak flow rate for approximately 500 milliseconds to allow the system to remain stable in the EPAP mode without switching again while the respective flow rates are changing. After 500 milliseconds, the trigger threshold offset is reset to zero to await the next inspiratory effort. The normal state for the circuit is for it to remain in the EPAP mode until an inspiratory effort is made by the patient. The automatic corrections and adjustments to the reference signal are effective to keep the system from locking up in the IPAP mode and to prevent auto-triggering while at the same time providing a high level of sensitivity to inspiratory effort and rapid adjustment for changing leak conditions and breathing patterns. In the spontaneous/timed mode of operation, the system performs exactly as above described with reference to spontaneous operation, except that it allows selection of a minimum breathing rate to be superimposed upon the spontaneous operating mode. If the patient does not make an inspiratory effort within a predetermined time, the system will automatically trigger to the IPAP mode for 200 milliseconds. The increased airway pressure for this 200 milliseconds will initiate patent inspiration and provide sufficient time that spontaneous patient flow will exceed the reference signal so that the rest of the cycle may continue in the spontaneous mode as above described. The breaths per minute timer is reset by each trigger to IPAP whether the transition was triggered by the patient or by the timer itself. In the timed operating mode, all triggering between IPAP and EPAP modes is controlled by a timer with a breath per minute control being used to select a desired breathing rate from, for example, 3 to 30 breaths per minute. If feasible, the selected breathing rate is coordinated to the patient's spontaneous breathing rate. The percent IPAP control is used to set the fraction of each breathing cycle to be spent in the IPAP mode. For example, if the breaths per minute control is set to 10 breaths per minute (6 seconds per breath) and the percent IPAP control is set to 33%, then the flow generator will spend, in each breathing cycle, two seconds in IPAP and four seconds in EPAP. Fig. 4 illustrates a control panel for controlling the system above described and including a function selector switch which includes function settings for the three operating modes of spontaneous, spontaneous/timed, and timed as above described. The controls for spontaneous mode operation include IPAP and EPAP pressure adjustment controls 90 and 92, respectively. These are used for setting the respective IPAP and EPAP pressure levels. In the spontaneous/timed mode of operation, controls 90 and 92 are utilized as before to set IPAP and EPAP pressure levels, and breaths per minute control 94 additionally is used to set the minimum desired breathing rate in breaths per minute. In the timed mode of operation, controls 90, 92 and 94 are effective, and in addition the per cent IPAP control 96 is used to set the time percentage of each breath to be spent in the IPAP mode. Lighted indicators such as LED's 97, 98 and 100 are also provided to indicate whether the system is in the IPAP or EPAP state, and to indicate whether in the spontaneous/timed mode of operation the instantaneous state of the system is spontaneous operation or timed operation. According to the above description there is provided by the instant invention a novel apparatus for the treatment of sleep apnea. Of course, we have contemplated various alternative and modified embodiments of the invention of which the above described are exemplary as the presently contemplated best modes for carrying out the invention. Such alternative embodiments would also surely occur to others skilled in the art, once apprised of the invention. For example, it may be desirable to provide a flow compensation signal to pressure controller 26 as indicated at 102 in Fig. 2 to compensate for flow resistance inherent in the circuit; a non-rebreathing valve may be utilized in lieu of exhaust port 24 at mask 22; and the like.

Claims: Apparatus for delivering gas to and from the airway of a patient under the control of a controller (26) for controlling the pressure of the said gas during both inhalation and exhalation, characterized by a first processor (30) for providing an instantaneous flow rate signal (32/36) proportional to the instantaneous flow rate of the said gas during inhalation and exhalation; a second processor (38) for providing a reference signal (40) representing system leakage derived from said instantaneous flow rate signal (32/36), and a comparator (34) for comparing the instantaneous flow rate and reference signals (32/36 and 40), and for providing a drive signal (42) for the pressure controller (26). Apparatus according to claim 1, in which the drive signal identifies voluntary inspiration and expiration phases of a patient's respiration cycle, and is connected to drive the controller to provide a higher pressure of the said gas during inspiration than during expiration. Apparatus according to claim 1 or claim 2, in which the first processor (30) comprises a flow transducer (28) and a flow signal conditioner (30). Apparatus according to any preceding claim, in which the second processor comprises a low pass filter (38) providing an output signal (40) which approximates to average system leakage. Apparatus according to any of claims 1 to 3, in which the second processor (38') is part of an estimated leak computer (50) providing an output signal (40) representing estimated system leakage. Apparatus according to claim 5, in which the computer (50) comprises a differential amplifier (52) for producing an estimated patient flow rate signal (58) from the instantaneous flow rate signal (36) and the reference signal (40). Apparatus according to claim 6, in which the computer (50) further comprises a single breath flow integrator (60) for the estimated patient flow rate signal (58), triggered by the drive signal (42), for providing an output signal (64) representing the difference between the patient's inhaled and exhaled volumes for a single breathing cycle. Apparatus according to claim 7, in which the computer (50) further comprises a sample and hold module (66), also triggered by the drive signal (42), for receiving once per breathing cycle, an output signal (64) from the integrator (60) and delivering that signal as a bias signal (68) to the second processor (38'). Apparatus according to claim 8, wherein the bias signal (68) is of a size and sign to spread, over several breathing cycles, a change in the estimated system leakage output signal (40) that would otherwise be attributable to the difference between the patient's inhaled and exhaled volumes for that single breathing cycle. Apparatus according to any of claims 5 to 9, in which the computer (50) further comprises an end exhalation module (74) to monitor the slope of the instantaneous flow rate wave form and produce a time constant control signal (80) to the second processor (38'), the control signal (80) being responsive to a continuing small slope of the instantaneous flow rate wave form after a predetermined time into the respiratory cycle, and in those conditions being effective to shorten the time constant of a low pass filter circuit of the second processor (38'), thereby to cause the estimated system leakage output signal (40) to approach the instantaneous flow rate signal (36), and to move the estimated patient flow rate signal (58) towards zero. Apparatus according to any of claims 5 to 10, in which the computer (50) comprises a gross error detector (82) for stabilizing operation quickly after a major change in the estimated system leakage output signal (40). Apparatus according to any of claims 5 to 11, wherein the comparator (34) compares the difference between the instantaneous flow rate and reference signals (32/36 and 40) and a threshold value of approximately 40 cc per second, and provides a drive signal to the controller (26) to increase the pressure of the gas for a trigger period of 150 milliseconds when, during patient exhalation, the difference exceeds the threshold. Apparatus according to any of claims 5 to 12, further comprising means, effective during each inhalation phase of the breathing cycle, for adding to the estimated system leakage output signal (40) an offset proportional to the integral of estimated patient flow rate commencing at the initiation of the inspiratory breath, so that the flow rate level above estimated leak flow needed to keep the system from triggering the drive signal (42) from lowering the patient airway pressure decreases with time from the beginning of inhalation and in proportion to the inspiratory flow rate. Apparatus according to any preceding claim, further comprising a timed override for the comparator (34), permitting a minimum breathing rate of the patient to be superimposed by automatic timed switching of the drive signal (42) from a first signal state to a second signal state whenever the comparator (34) has not made that transition within a predetermined time. Apparatus according to any of claims 1 to 13, further comprising a timed override for the comparator (34), permitting a preset breathing rate of the patient to be imposed by automatic timed switching of the drive signal (42) between first and second signal states for as long as the override is imposed.

Inventors: SANDERS MARK H, ZDROJKOWSKI RONALD J, SANDERS, MARK H., ZDROJKOWSKI, RONALD J.
Applicants: RESPIRONICS INC, RESPIRONICS INC.
Application year: 1990
Main classification: A61M16
IPC codes: A61M16