Control of CPAP Treatment

Abstract: CPAP treatment apparatus is disclosed, where a turbine (34) provides pressurised air to the entrance of a patient's airways via a tube (32) connected with a mask (30). A servo controller (40) controls a motor (38) and thus the pressure delivered by the turbine (34) in response to a control signal from a microcontroller (62). The microcontroller (62) determines whether an apnea is occurring, and if so, then determines whether the patient's airway is patent, and if not, causes an increase in treatment pressure. If an apnea is not occurring, then the microcontroller (62) determines the presence and magnitude of partial obstruction. If there is partial obstruction, the treatment pressure is caused to increase, and if no partial obstruction, to be reduced.

Description: Field of the Invention This invention relates to the control of CPAP treatment in the presence or absence of apnea (i.e. the complete cessation of breathing). The detection and monitoring of apneas is advantageous in the diagnosis and treatment of respiratory conditions that have adverse effects on a person s wellbeing. The expression "airway" as used herein is to be understood as the anatomical portion of the respiratory system between the nares and the bronchii, including the trachea. The expression "respiration" is to be understood as the continually repeating events of inspiration (inhaling) followed by expiration (exhaling). Background of the Invention In the Sleep Apnea syndrome a person stops breathing during sleep. Cessation of airflow for more than 10 seconds is called an "apnea". Apneas lead to decreased blood oxygenation and thus to disruption of sleep. Apneas are traditionally (but confusingly) categorized as either central, where there is no respiratory effort, or obstructive, where there is respiratory effort. With some central apneas, the airway is patent, and the subject is merely not attempting to breathe. Conversely, with other central apneas and all obstructive apneas, the airway is not patent (i.e. occluded). The occlusion is usually at the level of the tongue or soft palate. The airway may also be partially obstructed (i.e. narrowed or partially patent). This also leads to decreased ventilation (hypopnea), decreased blood oxygenation and disturbed sleep. The dangers of obstructed breathing during sleep are well known in relation to the Obstructive Sleep Apnea (OSA) syndrome. Apnea, hypopnea and heavy snoring are recognised as causes of sleep disruption and risk factors in certain types of heart disease. More recently it has been found that increased upper airway resistance (Upper Airway Resistance syndrome) during sleep without snoring or sleep apnea also can cause sleep fragmentation and daytime sleepiness. It is possible there is an evolution from upper airway resistance syndrome to sleep apnea, accompanied by a worsening of clinical symptoms and damage to the cardiovascular system. The common form of treatment of these syndromes is the administering of Continuous Positive Airway Pressure (CPAP). The procedure for administering CPAP treatment has been well documented in both the technical and patent literature. Briefly stated, CPAP treatment acts as a pneumatic splint of the airway by the provision of a positive pressure, usually in the range 4 - 20 cm H 2 O. The air is supplied to the airway by a motor driven blower whose outlet passes via an air delivery hose to a nose (or nose and/or mouth) mask sealingly engaged to a patient's face. An exhaust port is provided in the delivery tube proximate to the mask. More sophisticated forms of CPAP, such as bi-level CPAP and autosetting CPAP, are described in U.S. Patents No. 5,148,802 and 5,245,995 respectively. Various techniques are known for sensing and detecting abnormal breathing patterns indicative of obstructed breathing. U.S. Patent No. 5,245,995, for example, describes how snoring and abnormal breathing patterns can be detected by inspiration and expiration pressure measurements while sleeping, thereby leading to early indication of preobstructive episodes or other forms of breathing disorder. Particularly, patterns of respiratory parameters are monitored, and CPAP pressure is raised on the detection of pre-defined patterns to provide increased airway pressure to, ideally, subvert the occurrence of the obstructive episodes and the other forms of breathing disorder. As noted above, central apneas need not involve an obstruction of the airway, and often occur during very light sleep and also in patients with various cardiac, cerebrovascular and endocrine conditions unrelated to the state of the upper airway. In those cases where the apnea is occurring without obstruction of the airway, there is little benefit in treating the condition by techniques such as CPAP. Also, known automated CPAP systems cannot distinguish central apneas with an open airway from apneas with a closed airway, and may inappropriately seek to increase the CPAP splinting air pressure unnecessarily. Such unnecessary increases in pressure reflexly inhibit breathing, further aggravating the breathing disorder. Other limitations associated with the prior art include the inability to detect airway patency and the absence of progressive, hierarchic response to increasingly severe indicators of airway obstruction for which the mask pressure should be increased. It would be useful, however, to even more sensitively and reliably detect the conditions of partial obstruction, as well as apnea and patency, as this would assist in the design of equipment to prevent these conditions from occurring. In a similar way, means for detecting and monitoring mildly obstructed breathing would be useful in diagnosing and treating Upper Airway Resistance syndrome and monitoring that treatment is optimal. The present invention is directed to the control of CPAP treatment in the presence or absence of apnea, which in one form overcomes or at least ameliorates one or more disadvantages in prior art arrangements for detecting the occurrence of an apnea, and combining this with a determination of airway patency and partial obstruction. According to the present invention there is provided apparatus for controlling the administration of CPAP treatment to the airway of a patient comprising: sensor means for determining a measure indicative of respiration of the patient; supply means controllable to supply breathable gas to the patient's airway continually at a controllable pressure elevated above atmospheric pressure; the apparatus further characterised by controller means, coupled to the gas supply means and sensor means, operable to cause a change in the treatment pressure by determining the presence or absence of an apnea, and (a) if an apnea is occurring then: (i) determining whether the airway is patent, and if not patent then causing an increase in the treatment pressure, and (b) if an apnea is not occurring then: (i) determining the presence and the magnitude of partial obstruction, and if there is partial obstruction then causing an increase in the treatment pressure as a function of the magnitude of the partial obstruction, else if there is no partial obstruction, causing a reduction in the treatment pressure. Brief Description of the Drawings Embodiments of the invention and other subject matter will now be described with reference to the accompanying drawings, in which: Fig. 1 shows a flow diagram of the basic methodology of an embodiment; Fig. 2 shows, in diagrammatic form, apparatus embodying the invention; Fig. 3 shows an alternative arrangement of the apparatus of Fig. 2; Fig. 4 shows a graph of air flow with time for normal and partially obstructed inspiration; Fig. 5 shows a flow diagram of the determination of an apnea; Figs. 6a and 6b show a flow diagram of the calculation of the shape factors; Fig. 7 shows a flow diagram of an embodiment utilising both shape factor methodologies; Figs. 8a and 8b show clinical data of CPAP treatment utilising the shape factor methodologies; Figs. 9a-9c and 10a-10c show clinical respiratory air flow and frequency signals during an apnea; Fig. 11 shows a flow diagram for the cardiogenic determination of patency; Figs. 12a-12d and 13a-13d show graphs of clinical respiratory data demonstrating the detection of patency; Fig. 14 shows a flow diagram of an applied modulated output in the determination of patency; Fig. 15 shows a flow diagram of leak compensated patency determination; and Fig. 16 shows, in schematic form, a preferred CPAP treatment system. Detailed Description of Preferred Embodiments and Best Mode Fig. 1 is a flow diagram of the basic methodology of one embodiment. The first step 10 is the measurement of respiratory flow (rate) over time. This information is processed in step 12 to generate Index values to be used as qualitative measures for subsequent processing. Step 14 detects whether an apnea is occurring by comparison of the Breathing Index with a Threshold value. If the answer in step 14 is "Yes", an apnea is in progress and there then follows a determination of patency in step 20. If there is patency of the airway, a central apnea with an open airway is occurring, and, if desired, the event is logged in step 22. If the result of step 20 is that the airway is not patent, then a total obstructive apnea or a central apnea with closed airway is occurring, which results in the commencement or increase in CPAP treatment pressure in step 18. If desired, step 18 may include the optional logging of the detected abnormality. If the answer in step 14 is "No", the Obstruction Index is compared with another Threshold value in step 16, by which the determination of obstruction of the airway is obtained. If "Yes" in step 16, then there is a partial obstruction, and if "No", there is no obstruction (normalcy). Thus step 18 applies in the case of a complete or partial obstruction of the airway with a consequential increase in CPAP treatment pressure. In the instance of a central apnea with patent airway (steps 20,22) or normal breathing with no obstruction, the CPAP treatment pressure rather is reduced, in accordance with usual methodologies that seek to set the minimal pressure required to obviate, or at least reduce, the occurrence of apneas. The amount of reduction in step 17 may, if desired, be zero. The methodology represented in Fig. 1 is of a clinical embodiment, where patient CPAP pressure is controlled over time as appropriate. A purely diagnostic embodiment operates in the same manner except it omits the CPAP pressure increase and pressure decrease actions of step 18 and step 17 respectively. Fig. 2 shows, in diagrammatic form, clinical CPAP apparatus in accordance with one embodiment for implementing the methodology of Fig. 1. A mask 30, whether either a nose mask and/or a face mask, is sealingly fitted to a patient's face. Fresh air, or oxygen enriched air, enters the mask 30 by flexible tubing 32 which, in turn, is connected with a motor driven turbine 34 to which there is provided an air inlet 36. The motor 38 for the turbine is controlled by a motor-servo unit 40 to either increase or decrease the pressure of air supplied to the mask 30 as CPAP treatment. The mask 30 also includes an exhaust port 42 that is close to the junction of the tubing 32 with the mask 30. Interposed between the mask 30 and the exhaust 42 is a flow-resistive element 44. This can take the form of an iris across which a differential pressure exits. The mask side of the flow-resistive element 44 is connected by a small bore tube 46 to a mask pressure transducer 48 and to an input of a differential pressure transducer 50. Pressure at the other side of the flow-resistive element 44 is conveyed to the other input of the differential pressure transducer 50 by another small bore tube 52. The mask pressure transducer 48 generates an electrical signal in proportion to the mask pressure, which is amplified by amplifier 52 and passed both to a multiplexer/ADC unit 54 and to the motor-servo unit 40. The function of the signal provided to the motor-servo unit 40 is as a form of feedback to ensure that the actual mask static pressure is controlled to be closely approximate to the set point pressure. The differential pressure sensed across the flow-resistive element 44 is output as an electrical signal from the differential pressure transducer 50, and amplified by another amplifier 56. The output signal from the amplifier 56 therefore represents a measure of the mask or respiratory airflow rate. A large dynamic range can be achieved by using a flexible-vaned iris as the flow-resistive element 44. The output signal from the amplifier 56 is low-pass filtered by the low-pass filter 58, typically with an upper limit of 10 Hz. The amplifier 56 output signal is also bandpassed by the bandpass filter 60, and typically in a range of 30 - 300 Hz. The outputs from both the low-pass filter 58 and the bandpass filter 60 are provided to the multiplexer/ADC unit 54. The multiplexed and digitized output from the multiplexer/ADC unit 54 is, in turn, passed to a controller 62, typically constituted by a micro-processor based device also provided with program memory and data processing storage memory. A component of the multiplexed output is a digitized and manipulated form of the air flow signal f(t), represented as f n . Dependant upon the specific processing functions it performs, the controller 62 outputs a pressure request signal which is converted by a DAC 64, and passed to the motor-servo unit 40. This signal therefore represents the set point pressure (P set (t)) to be supplied by the turbine 34 to the mask 30 in the administration of CPAP treatment. The controller 62 is programmed to perform a number of processing functions, as presently will be described. As an alternative to the mask pressure transducer 48, a direct pressure/electrical solid state transducer (not shown) can be mounted from the mask with access to the space therewithin, or to the air delivery tubing 32 proximate the point of entry to the mask 30. Further, it may not be convenient to mount the flow transducer 44 at or near the mask 30, nor to measure the mask pressure at or near the mask. An alternative arrangement, where the flow and pressure transducers are mounted at or near the air pressure generator (in the embodiment being the turbine 34) is shown in Fig. 3. The pressure p g (t) occurring at the pressure generator 34 outlet is measured by a pressure transducer 70. The flow f g (t) through tubing 32 is measured with flow sensor 72 provided at the output of the turbine 34. The pressure loss along tubing 32 is calculated in step 74 from the flow through the tube f g (t), and a knowledge of the pressure-flow characteristic of the tubing, for example by table lookup. The pressure at the mask p m is then calculated in subtraction step 76 by subtracting the tube pressure loss from p g (t). The pressure loss along tube 32 is then added to the desired set pressure at the mask p set (t) in summation step 78 to yield the desired instantaneous pressure at the pressure generator 34. Preferably, controller of the pressure generator 34 has a negative feedback input from the pressure transducer 70, so that the desired pressure from step 78 is achieved more accurately. The flow through the exhaust 42 is calculated from the pressure at the mask (calculated in step 76) from the pressure-flow characteristic of the exhaust step 80, for example by table lookup. Finally, the mask flow is calculated by subtracting the flow through the exhaust 42 from the flow through the tubing 32, in subtraction step 82. The methodology put into place by the controller 62 will now be described with reference to the apparatus of Fig. 2. A. Determination of Apnea This section generally corresponds to steps 10, 12, and 14 as shown in Fig. 1. Partial upper airway obstruction in untreated or partially treated Obstructive Sleep Apnea syndrome, and the related High Airway Resistance syndrome, leads to mid-inspiratory flow limitation, as shown in Fig. 4, which shows typical inspiratory waveforms respectively for normal and partially obstructed breaths. As discussed previously, the respiratory air flow is determined by means of the differential pressure transducer 50, and a signal representing the air flow is continuously digitized and passed to the controller 62. If necessary, the controller 62 can linearise the flow signal, for example, by a table lookup. Occasionally, complete obstruction of the airway can occur unexpectedly, for example in a previously untreated patient, without a period of preceding partial obstruction. Consequently, the processing steps 12,14 shown in Fig. 1 also detect the presence of complete or near-complete cessation of air flow, or apnea, using the measure of the Breathing Index in step 14. This is achieved, for example as shown in Fig. 5, by low-pass filtering of the mask air flow signal f n by low-pass filter element 125, typically with a 1 Hz cutoff, and calculating the moving average variance by the computational block 126. The Breathing Index at any given point in time is calculated as the square root of the variance of the digitized flow signal, f n : The average variance calculated over a moving time window is compared with a Threshold by the level detector 127, to generate an "airflow-ceased" trigger. This starts the timer 128. If the trigger persists for more than 10 seconds, the comparator 129 declares an apnea. The Threshold may be a fixed value, typically 0.1 l/sec, or may be a chosen percentage (typically 10 or 20%) of the average ventilation over the last several minutes (typically 5 minutes). For convenience, instead of comparing the Threshold with the square root of the variance, one can square the Threshold, and compare with the variance directly. Conversely, if airflow resumes before 10 seconds lapses, the timer 128 is reset and no apnea is declared. If an apnea is taking place, the patency of the airway must also be determined as an indicator of whether the apnea is of the central type with open airway, or otherwise. The processing performed by the controller 62 to achieve this determination will be discussed presently. The method can, of course, be used instantaneously without requiring the elapse of a time interval before an apnea is declared. The method is advantageous in comparison with known methods for detecting apnea, such as single zero crossing methods, because it is relatively insensitive to leaks. Furthermore, apneas are still detected in the presence of cardiogenic, as opposed to respiratory, air flow. B. Determination of Airway Obstruction The Obstruction Index is calculated in step 12. Either of two alternate Obstruction indices can be calculated. These will be referred to as shape factor 1 and shape factor 2. The Obstruction Index is then compared with a threshold in step 16 of Fig. 1. If the obstruction Index is less than the threshold value, CPAP treatment pressure is increased in step 18. Otherwise, the CPAP pressure may be reduced in optional step 17. As shown in Fig. 6a, the digitized airflow signal, f n , has any components below 0.1 Hz due to leaks of the mask 30 subtracted by a high-pass filter 90. The inspiratory and expiratory portions of each breath are then identified by a zero-crossing detector 92. A number of evenly spaced points (typically sixty-five), representing points in time, are interpolated by an interpolator 94 along the inspiratory flow-time curve for each breath. The curve described by the points is then scaled by a scaler 96 to have unity length (duration/period) and unity area to remove the effects of changing respiratory rate and depth. Conveniently, the scaled breaths are compared in a comparator 98 with a prestored template representing a normal unobstructed breath. The template is very similar to the curve for a normal inspiratory event as shown in Fig. 4. Breaths deviating by more than a specified threshold (typically 1 scaled unit) at any time during the inspiration from this template, such as those due to coughs, sighs, swallows and hiccups, as determined by the test element 100, are rejected. For data for which the test is satisfied, a moving average of the first such scaled point is calculated by the arithmetic processor 102 for the preceding several inspiratory events. This is repeated over the same inspiratory events for the second such point, and so on. Thus, sixty five scaled data points are generated by the arithmetic processor 102, and represent a moving average of the preceding several inspiratory events. The moving average of continuously updated values of the sixty five points are hereinafter called the "scaled flow", designated as f s (t). Equally, a single inspiratory event can be utilised rather than a moving average. From the scaled flow two shape factors that directly relate to the determination of partial obstruction are calculated. Each shape factor equates to the Obstruction Index discussed above. Shape factor 1 is the ratio of the mean of the middle thirty-three scaled flow points to the mean overall sixty-five scaled flow points. This is thus a determination of the reduction of the magnitude (depression) of the mid-portion of the scaled inspiratory event(s). Since the meanfor all sixty five points is unity, the division need not actually be performed. Mathematically, it is expressed as: which reduces simply to For a normal inspiratory event this ratio will have an average value in excess of unity, because a normal such inspiratory event is of higher flow in the middle than elsewhere, as can be seen from Fig. 4. Conversely, for a severely flow-limited breath, the ratio will be unity or less, because flow limitation occurs particularly during the middle half of the breath when the upper airway suction collapsing pressure is maximal. A ratio of 1.17 is taken as the Threshold value (step 16 of Fig. 1) between partially obstructed and unobstructed breathing, and equates to a degree of obstruction that would permit maintenance of adequate oxygenation in a typical user. In other embodiments the number of sampled points, number of breaths and number of middle points can be varied, and still achieve a meaningful determination of whether partial obstruction is occurring. The Threshold value similarly can be a value other than 1.17. Alternatively, the second shape factor is calculated as the RMS deviation from unit scaled flow, taken over the middle thirty two points. This is essentially a measure of the flatness of the mid-portion of the scaled respiratory event(s). Expressed mathematically, this is: . For a totally flow-limited breath, the flow amplitude vs. time curve would be a square wave and the RMS deviation would be zero. For a normal breath, the RMS deviation is approximately 0.2 units, and this deviation decreases as the flow limitation becomes more severe. A threshold value of 0.15 units is used in step 16 of Fig. 1. Both shape factors discussed above can be utilised independently in implementing the methodology carried by the apparatus of Fig. 2, and result in the sensitive and reliable detection of partially obstructed breathing. Better performance again is obtained by implementing both shape factors executed by the controller 62 so that both shape parameters act together. In this case, shape factor 2 is preferred for use to detect all but the most severe obstructions, and shape factor 1 therefore is preferred for detecting only the most severe obstructions, achieved by reducing the critical threshold from 1.17 to 1.0. Fig. 7 is a flow diagram illustrating the principle of the two shape factors operating in concert. The scaled flow signal f s (t) is provided to a shape detector 112, such as has been described with reference to Figs. 6a and 6b. The shape detector 112 generates shape factor 1 and shape factor 2. Shape factor 1 is applied to a decision block 114 and compared against the Threshold value of 1.0. If the outcome of the comparison is "Yes", then it is determined that there should be an increase in the CPAP pressure setting, as indicated in block 116. The shape factor 2 is provided to the decision block 118, and a comparison made against the Threshold value of 0.15. If the answer is "Yes", then it also is appropriate for an increase in the CPAP pressure, as shown in block 120. In either case, if the results of the comparison is "No", then those results are ANDed in the AND gate 122. That is, an output will only be achieved if both Threshold criteria are not satisfied. In this case, there is no partial obstruction, or partial obstruction has subsided, in which case, as indicated in block 124, it is appropriate to decrease the CPAP pressure. This arrangement avoids any peculiarities affecting either algorithm. For example, the presence of an initial non-flow-limited period early in a breath can permit an early sharp peak in the flow-time curve. This means that the scaled flow during the middle half of the breath may be below unity. For very severely obstructive breaths, the RMS deviation from unity may therefore rise again, and shape factor 2 will fail to recognise such breaths. They will, however, be correctly identified by the now desensitized shape factor 1. Some normal breaths can involve an inspiratory flow-time waveform approximating a right triangle, where the mean flow during the middle half of the inspiration is close to unity. Such a waveform correctly triggers neither shape factor 1 nor shape factor 2. That is, the instantaneous flow during the middle half of the inspiration is only unity at a single point, and above or below unity elsewhere, so the RMS deviation from unit scaled flow will be large. In summary, the shape factors provide an Index of the state of the airway. They provide a sensitive warning of an airway becoming unstable, and allow early CPAP treatment to occur. Continuing calculation of the moving average shape, and thus the shape factors, provides an accurate on-going assessment of the degree of any such apnea that is not subverted by CPAP treatment in order that modified appropriate treatment or corrective action can be taken. The shape factors discussed above provide the most sensitive indication of upper airway stability, and therefore result in the smallest increase in the CPAP pressure that should restore stability to the airway, and similarly a correspondingly small decrease in the CPAP pressure when stability has so been restored. By being able to maintain the increases to such a small level, the patient is less likely to be woken, and will also benefit from avoiding apneas with their associated health risks. For example, when shape factor 1 is below 1.0, the CPAP pressure is increased in proportion to the amount of the ratio being below 1.0. An increase of 1 cm H 2 O per breath per unit below a ratio of 1.0 has been found particularly effective. Conversely, if the ratio is above 1.0, the CPAP pressure is gradually reduced with a time constant of 20 minutes. If shape factor 2 is below 0.2, the CPAP pressure is increased at a rate of 1 cm H 2 O per breath per unit below 0.2. Conversely, if the shape factor is above 0.2 units, the pressure is gradually lowered with a time constant of 20 minutes. An example of experimental validation involved a subject with severe Obstructive Sleep Apnea syndrome placed on nasal CPAP therapy. A catheter tip pressure transducer was placed in the hypopharyngeal space, below the site of upper airway obstruction, and the peak upper airway pressure gradient (UAP) from hypopharynx to mask calculated for each breath. The CPAP pressure was intentionally reduced from time to time during stable sleep, in order to produce partial upper airway obstruction. For each breath taken during the night, the two shape factors were calculated, and plotted against the UAP, measured in cm H 2 ). the results are shown in Figs. 8a and 8b. In this patient there was an 83% correlation between shape factor 1 (Fig. 8a) and UAP, with low values of shape parameter one associated with a high pressure drop across the upper airway, indicating partial obstruction. Similarly, there was an 89% correlation between shape factor 2 (Fig. 8b) and UAP. The function achieved by shape factor 1 also can be achieved by an improved methodology in the detection of snoring. Prior art U.S. Patent No. 5,245,995 describes signal processing of the mask flow signal to determine a snore characteristic, particularly as shown in Figs. 9 and 10 of that document. the respiratory air flow signal is bandpass filtered in the range 30-300 Hz. Snoring exhibits characteristic frequencies in this range, and as described in the prior art reference the sound intensity of snoring is indicative of almost complete obstruction of the airway. Thus CPAP pressure is increased if the snore signal is in excess of a snore threshold value. This then corresponds to the degree of obstruction otherwise detected by shape factor 1. Although the snore detector and CPAP treatment effected in consequence of the occurrence of snoring operates satisfactorily, there is still scope for improvement. One particular problem comes in that some CPAP apparatus causes wind noise to occur in the 30-300 Hz range, as does background noise due to the motor driving the blower. As described herein, the digitized flow signal f n has been arrived at in a similar manner to that described in prior art U.S. Patent No. 5,245,995, and thus includes snore component frequencies. The methodology to improve performance of the snore detector firstly involves a determination of the blower motor speed. This can be achieved by a tachometer located on the motor. Then follows a determination of an expected flow signal such as would occur in the absence of snoring. this is calculated as a function of motor speed and airflow by the following formula: predicted signal = k 1 w + k 2 w 2 + k 3 f + k 4 df dt Where w is the motor speed signal and f is the flow signal. The constants k 1 - k 4 are determined empirically. the predicated signal is then subtracted from the measured flow signal to obtain the snore signal. Thus the corrected snore signal more accurately reflects the occurrence and extent of snoring, and when compared against the snore threshold results in an increase in the CPAP pressure. C. Determination of Airway Patency If the outcome of step 14 is "Yes", then an apnea is in progress. In accordance with the methodology of Fig. 1, a determination of airway patency (step 20) is made. Two methods are now described. The first is a measurement by cardiogenic airflow, and the second is an externally induced oscillation technique. 1. Cardiogenic Airflow With each beat of the heart, of the order of 66ml of blood is ejected from the chest over about 0.3 sec, producing a pulsatile blood flow out of the chest of the order of 0.22 l/sec peak flow. If the chest wall were rigid this would create a partial vacuum in chest cavity, and, if the upper airway were open and of zero resistance, a similar quantity of air would be sucked in through the trachea. In practice, the chest wall is not totally rigid, and the upper airway has a finite resistance. Consequently the observed airflow with each beat of the heart is of the order of 0.02 to 0.1 l/sec. If there is a central apnea with an open airway, there will be a very small pulsatile airflow of the order of 0.02 to 0.1 l/sec in time with the heart beat. Conversely, if the airway is closed, there will be no pulsatile airflow in time with the heart beat. Figs. 9a-9c represent a central apnea with an open airway lasting approximately 30 seconds, determined from diaphragm electromyogram tracings (not shown). Conversely, Figs, 10a-10c represent an obstructive apnea with a closed airway. Figs. 9a and 10a respectively show a respiratory airflow signal, f(t), during which an apnea lasting approximately 25 seconds occurs, indicated by a near cessation of airflow. Figs. 9b and 10b respectively show a ten second close-up (between t = 11.5 s to t = 21.5 s) of the airflow signal during the apnea. It can be noted that in Fig. 9b, where the airway is open, small rhythmic oscillations in the airflow are seen, with the expected peak flow of about 0.1 l/sec. Inspection of the corresponding electrocardiogram (not shown) confirms that these oscillations are of cardiac origin, with airflow either phase-locked with the heartbeat, or at exactly double the cardiac rate. Conversely, in Fig. 10b, there is either no airflow at all, or at least irregular airflow due to not quite complete obstruction. Figs. 9c and 10c respectively show the discrete Fourier transform of Figs. 9b and 10b. In Fig. 9c (open airway), there are strong peaks in the frequency spectrum at around 1.25 Hz and/or 2.5 Hz corresponding to the heart rate and its first harmonic. The peaks reach an amplitude of at least 0.01 l/sec. Conversely, in Fig. 10c (closed airway), the discrete Fourier transform shows little or no activity between 0.75 and 3 Hz. The methodology firstly records the airflow, f(t), using by the flow transducer 48 shown in Fig. 2 or Fig. 3. The signal is digitized, for example at 50 Hz, using the analog-to-digital converter (ADC) 54, and sampled by the controller 62. The subsequent processing steps are shown in Fig. 11. If required, the flow signal, f n , is digitally bandpass filtered by the bandpass filter 130 between 0.1 and 6 Hz to remove low frequency components (leak) and high frequency components (noise) to yield a clean respiratory air flow signal. The occurrence of an apnea will have previously been determined by, for example, the Breathing Index derived in Fig. 5. In that case the process continues. A Discrete Fourier transform (DFT) is performed, by the processing element 132, of the airflow signal fn during the apnea. Only terms up to 6 Hz need to be calculated. In the case where the heart rate is not known, processing is as follows: if the amplitude of the DFT exceeds a Threshold value of 0.01 l/sec, as determined by the peak height detector 136 and the subsequent comparator element 138, at any frequency between 0.75 and 3 Hz (bandpass element 134), the airway is declared open; otherwise it is declared closed. Patency Index 1 represents the output of the peak height detector 136. If an electrocardiogram or other indicator of heartbeat, such as a pulse oximeter is available, then an appropriate method is to: (1) Use a digital or electronic trigger to trigger on each heart beat. (2) Accumulate the respiratory airflow signal at time nT after receipt of each trigger into element n of an array, summing with previous values at time nT for the duration of the apnea. (3) Divide by the number of heartbeats to obtain the average air flow as a function of time into the heartbeat. (4) Calculate the first two terms of the DFT of this signal (fundamental and first harmonic) and inspect for an amplitude of the order of 0.1 l/sec. In such a case where the heart rate is known, then only the amplitudes at the heart rate and its first harmonic need be considered, leading to a more accurate estimation. Instead of using the DFT, any suitable mathematical method of detecting a rhythmic oscillation with a frequency of the anticipated heart rate and its first harmonic (0.75 to 3 Hz) will suffice. Such methods could include measuring the regularity of peak heights and zero crossings, autocorrelation, or other digital filtering methods. 2. Externally Induced Oscillations If the airway is open, but the respiratory muscles are relaxed (i.e. a central apnea with open airway), then small externally originating fluctuations in the mask pressure will induce a small respiratory airflow by inflating and deflating the lungs, and by compressing and decompressing the gas in the lungs. Conversely, if the airway is closed, no airflow will be induced. Fig. 12a shows a respiratory airflow signal as a function of time during nasal CPAP therapy. In the first half of the tracing, there is a central apnea with open airway lasting approximately 22 seconds. Fig. 12b shows that the CPAP pressure is approximately 15.5 cm H 2 O. The high frequency "noise" apparent through most of the pressure trace is largely due to cardiogenic airflow as previously discussed. Approximately 5 seconds into the apnea a 2 Hz, 1 cm H 2 O pressure oscillation is induced (applied) for 6 seconds (i.e. between t = 14 s to t = 20.5 s). It can be seen that this pressure modulation induces a corresponding 2 Hz modulation in the respiratory air flow signal. Figs. 12c-12d are an enlargement of the period of testing. The respiratory air flow signal has an amplitude of approximately + 0.2 l/sec. Conversely, in Figs 13a-13d there is an obstructive apnea, with a closed airway. A similar tracing would be seen with a central apnea with a closed airway. It can be seen that in this case there is no obvious induced flow signal during the 6 second period of 2 Hz pressure oscillations. The mean induced signal was 0.01 l/sec. The procedure is typically, at 4 - 6 seconds into the apnea, the CPAP pressure generator output pressure supplied to the motor-servo unit 40 is controlled to produce a modulated pressure output. As shown in Fig. 14, the output from the generation element 140 (controller 62) is a signal modulated with a low amplitude square wave, typically at 2 - 4 Hz. This produces a quasi-sinusoidal oscillation in the mask pressure, with a typical amplitude of 0.5 - 1 cm H 2 O. As further shown in Fig. 14, the air flow induced by the pressure modulation is separated from air flow induced by other factors (such as heartbeat), by demodulating the measured air flow signal, f n , by a demodulator 142 with the 2 Hz driving signal. The components at 0 degrees and 90 degrees to the output signal are calculated, and their amplitudes are added vectorially to yield a mean induced air flow signal amplitude (Patency Index 2). The mean signal in this case is 0.12 l/sec. Apneas are classified as "airway open" if the mean induced signal is more then 0.03 l/sec, and "airway closed" if the mean induced signal is less than 0.03 l/sec. Alternatively, the mean induced signal could be divided by the amplitude of the inducing pressure to yield the conductance (degree of openness) as a continuous variable. When it is desired to determine the state of the airway in the presence of typical CPAP treatment, it is preferable to take into account the effect of mask leaks. A leak between the mask and the face can produce a false positive induced air flow signal. As shown in Fig. 15, the oscillator 140 induces the low-frequency, low amplitude pressure oscillations as previously described. The air flow signal f n is high pass filtered by the high pass filter 148 (typically 0.1 Hz) to remove leak, and passed to the demodulator 146, which produces Patency Index 2 as previously described. The flow signal is also low pass filtered (typically 0.1 Hz) by the low pass filter 150 to derive a measurement of leak. The value calculated in step 142 represents the sum of the induced signal due to modulation of respiratory air flow and the induced signal due to modulation of flow through the leak. The induced signal due to modulation of flow through the leak is then calculated by arithmetic element 154, as: 0.5 . leak . inducing oscillation amplitude mean mask pressure This is then subtracted by the subtractor 156 from the uncompensated Patency Index to produce a leak-compensated Patency Index. The leak-compensated Patency Index can optionally by divided by the inducing oscillation amplitude to yield airway conductance, as described previously. In the case of either methodology utilised to determine patency, if the result of that determination (step 20) is "No", then as was the case for a partial obstruction, the CPAP treatment pressure is increased. If the result is "Yes", then a central apnea with an open airway is occurring, and it is inappropriate to increase CPAP pressure. Instead the event is only logged, and step 17 follows, whereby CPAP pressure is reduced, as has previously been discussed. 3. Extensions to the Methodology of Determining Patency. (1) Instead of declaring the airway open or closed, the airway can be declared open to a certain degree. For example, if the peak amplitude of the DFT was 50% of the threshold, the airway is taken as being patent to degree 0.5. Similarly with the externally induced oscillation method. (2) Instead of using the entire duration of the apnea, calculations can be performed on a moving window of appropriate duration, such as 10 seconds. In this detected. (3) Other methods of measuring or inferring respiratory airflow can be utilised. For example, instead of measuring mask airflow with a flow-resistive element and differential pressure transducer, mask airflow could be measured using an ultrasonic flow transducer, or inferred from mask pressure, using a single ended pressure transducer. Alternatively, measurements of chest wall and/or abdominal movement (such as magnetometers, inductance plethysmography, or strain gauges) could be used. D. A Combined System for Automatic Adjustment of CPAP Pressure Fig. 16 illustrates, in schematic block form, a particular preferred embodiment of CPAP treatment apparatus. The CPAP machine 164 represents the component element shown in Fig. 2 or Fig. 3 except for the elements bearing the reference numerals 54,58,60 and 62. All of the logic blocks 166-176 are processing steps implemented in a microcontroller, which, in Fig. 2, is referred to by the reference numeral 62. The embodiment implements a hierarchic methodology, based around the methodology of Fig. 1, that allows the progressive use of pre-obstructive and obstructive indications to trigger CPAP treatment pressure increases of magnitude and duration appropriate for the severity of the event. The mask pressure is initially set to a low pressure, typically 4 cm H 2 O. Whenever the apnea detector 168 detects an apnea, the airway patency detector 170 determines whether the airway is open or closed by the forced oscillation method, and if closed, the mask pressure is increased, typically by 1 cm H 2 O per 15 seconds of apnea. If a central apnea is occurring, no increase in CPAP pressure is instructed. If a snore is detected by the snore detector 172 (such as that disclosed in U.S. Patent No. 5,245,995) the mask pressure is also increased. If the snore index on the given breath exceeds a critical threshold value, the pressure is increased by 1 cm H 2 O per unit above the threshold value. The defaults threshold for the snore index is 0.2 units, corresponding approximately to a snore that can only just be reliably detected by a technician standing at the bedside. The rate of rise in pressure is limited to a maximum of 0.2 cm H 2 O per second, or 12 cm H 2 O per minute. In some patients, it is not possible to prevent the occasional snore, even at maximum pressure. Consequently, above pressures of 10 cm H 2 O, a heuristic methodology is used to perform a trade-off between the possible advantage of increasing the pressure and the disadvantage of increased side effects. Thus the threshold is adjusted as follows: Pressure (cm H 2 O) Threshold (snore units) Description < 10 0.2 very soft 10-12 0.25 12-14 0.3 soft 14-16 0.4 16-18 0.6 moderate > 18 1.8 loud If the shape factor 2 is less than the threshold value, the mask pressure also is increased. The default threshold value is 0.15 units. The default rate of increase of pressure is such that a severely abnormal shape factor of 0.05 units will produce a rise in pressure of 0.3 cm H 2 O per breath, or approximately 4.5 cm H 2 O per minute. The lips and tongue can sometimes act like a one-way valve, forming a seal during inspiration when the pharyngeal pressure is lowest but failing during early to mid-expiration when the pressure is highest. Large leaks, and particularly valve-like leaks, can cause the shape factor to read low, falsely implying flow limitation. To compensate for this, the default threshold is increased according to an empiracal heuristic technique if there is a large leak, or if there is a valve-like leak. This is to avoid the treatment pressure being increased unnecessarily. Consequently, in the presence of a large leak, more reliance is placed on the snore and apnea detectors. In some patients, the shape factor does not become normal even at maximum pressure. Consequently, a further heuristic trade-off is made between possible increases in patency within increasing pressure, versus increasing side effects. The heuristics used are as follows: (i) If the leak exceeds 0.7 l/sec, the critical threshold for the shape factor is 0. In the range 0.3 - 0.7 l/sec, the threshold is decreased proportionately, so that as the leak increases more severe flattening is required before the pressure will rise. (ii) An index of the presence of valve-like leaks is calculated as the ratio of the peak flow during the first 0.5 seconds of expiration to the mean flow during the second 0.5 seconds of expiration. If this ratio exceeds 5:1, the threshold is 0. In the range 4:1 to 5:1, the threshold is reduced proportionately. (iii) If the mask pressure is 20 cm H 2 O, the threshold is 0, and is reduced proportionately in the range 10 - 20 cm H 2 O. For example, if the leak is 0.4 l/sec, and the mask pressure is 15 cm H 2 O, the threshold is reduced by 25% because of the leak, and a further 50% because of the already high treatment pressure so that the new threshold is 0.056 units. Conversely, if no abnormality is detected on a particular breath (block 176), the mask pressure is reduced with an appropriate time constant, typically 10-20 minutes per cm H 2 O for snore or shape factor changes, and preferably, about 40 minutes per cm H 2 O following apneas. The preferred embodiment of the combined system for automatic adjustment of CPAP treatment pressure described above was used to treat 28 patients with previously untreated obstructive sleep apnea syndrome. CPAP pressure commenced at 4 cm H 2 O, and increased automatically in response to closed airway apneas, snoring, and inspiratory air flow limitation. The following table compares results with those obtained in the same subjects without treatment: There was a dramatic reduction in the number of apneas per hour, and the percentage of time in apnea. There was a large increase in the percentage of deep restorative sleep (slow wave and REM sleep). There was a dramatic reduction in the number of arousals from sleep, particularly those of a respiratory origin. These results confirm that the combined system produces excellent results in treating obstructive sleep apnea syndrome. The system described can also be utilised in a diagnostic mode, typically where nasal cannulae are utilized in the place of a mask arrangement sealed to the patient's face. In this mode, measurements of apneas, patency, and partial obstruction are logged, but no CPAP treatment is effected. The nasal cannulae are connected to one side of the flow sensor 50 in Fig. 2. Only elements 50, 54, 56, 58, 60 and 62 are required in this mode. Since with nasal cannulae, the signal from the flow transducer 50 is not linear with flow, there is an additional step in which the signal from the flow transducer is linearized, preferably by use of a lookup table in the microcontroller 62. The data collected provides the physician with the ability to diagnose conditions such as Obstructive Sleep Apnea syndrome and Upper Airway Resistance syndrome. Numerous alterations and modification, as would be apparent to one skilled in the art, can be made without departing from the basic inventive concept. More complex variants of CPAP therapy, such as bi-level CPAP therapy or therapy in which the mask pressure is modulated within a breath, can also be monitored and/or controlled using the methods described herein. The moving average variance apnea detector, as described, can be extended to include a hypopnea detector by adding a second comparator set at a higher threshold, so that it will respond to partial reductions in ventilation.

Claims: Apparatus for controlling the administration of CPAP treatment to the airway of a patient comprising: sensor means (44, 50) for determining a measure indicative of respiration of the patient; supply means (40, 38, 34, 32, 30) controllable to supply breathable gas to the patient's airway continually at a controllable pressure elevated above atmospheric pressure; the apparatus further characterised by : controller means (62), coupled to the gas supply means and sensor means, operable to cause a change in the treatment pressure by determining the presence or absence of an apnea; and (a) if an apnea is occurring, then: determining whether the airway is patent, and if not patent then causing an increase in the treatment pressure; else (b) if an apnea is not occurring, then: determining the presence and the magnitude of partial obstruction, and if there is partial obstruction then causing an increase in the treatment pressure as a function of the magnitude of the partial obstruction, else if there is no partial obstruction, causing a reduction in the treatment pressure. Apparatus as claimed in claim 1, wherein the controller means determines the presence of partial obstruction from the presence of snoring or flow limitation, or both. Apparatus as claimed in claim 1 or claim 2, wherein the sensor means measures respiratory air flow from the patient, and wherein the controller means is operable to detect the inspiratory part of the airflow and determine an index value of a mid-portion of the inspiratory part as a measure of partial obstruction. Apparatus as claimed in claim 3, wherein the controller means determines the index value from the amplitude of the mid-portion of the inspiratory part. Apparatus as claimed in claim 4, wherein the controller means determines the index value as the arithmetic mean value of the amplitude in the mid-portion. Apparatus as claimed in claim 4, wherein the controller means determines the index value form the flatness of the mid-portion of the inspiratory part. Apparatus as claimed in claim 6, wherein the controller means determines the index value as the root mean square (RMS) deviation of the inspiratory part in the mid-portion with respect to unity. Apparatus as claimed in any one of claims 3 to 7, wherein the controller means determines the mid-portion to be the middle half of the inspiratory part. Apparatus as claimed in any one of claims 3 to 8, wherein the controller means performs normalisation of the inspiratory part by scaling the inspiratory part to unity duration and unity area. Apparatus as claimed in any one of claims 1 to 9, wherein the magnitude of the pressure increase caused by the controller means is a decreasing function of the existing treatment pressure. Apparatus as claimed in any one of claims 1 to 10, wherein the magnitude of the pressure increase caused by the controller means is a decreasing function of the extent of mask or mouth leak. Apparatus as claimed in any one of claims 3 to 11, wherein the pressure increase caused by the controller means, in response to an apnea, is performed at the end of the apnea. Apparatus as claimed in any one of claims 3 to 12, wherein determining whether the airway is patent is performed by detecting the presence of cardiogenic airflow. Apparatus as claimed in any one of claims 3 to 12, wherein determining whether the airway is patent is performed by oscillating the controllable pressure at a known frequency and detecting the presence of a component of respiratory airflow of the patient at the known frequency. Apparatus as claimed in claim 14, wherein determining whether the airway is patent is performed by detecting the amplitude of a component of respiratory airflow of the patient at the known frequency and evaluating the detected amplitude as a proportion of a threshold. Apparatus as claimed in any one of claims 3 to 15, wherein determining the presence or absence of an apnea is performed by determining an index as the variance of respiratory airflow and comparing the index to a threshold.

Inventors: BERTHON-JONES MICHAEL, BERTHON-JONES, MICHAEL
Applicants: RESMED LTD, RESMED LIMITED
Application year: 1994
Main classification: A61B5
IPC codes: A61M16, A61B5, A61F5