Methods and apparatus for determining and / or predicting sleep and breathing behavior for managing airway pressure
By using controllers and machine learning models in respiratory assistance devices to monitor and predict the user's breathing behavior in real time, the problem of inability to prevent respiratory distress in existing technologies is solved, and the effectiveness of the device and user comfort are improved.
Patent Information
- Application Number
- CN202180012547.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-02-26
- Filing Date
- 2021-02-26
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-02-26
AI Technical Summary
Existing respiratory assistance devices cannot effectively predict and prevent respiratory distress or discomfort, resulting in injury and pain to users, and lack active prediction and prevention mechanisms.
A controller is employed that adjusts the operation of the respiratory assistance device to control airflow parameters in real time by receiving sensor data, performing feature extraction and machine learning model analysis, determining the user's respiratory signatures, sleep stages and predicted sleep disruption severity.
It achieves real-time monitoring and prediction of the user's respiratory behavior, reduces the occurrence of respiratory distress, and improves the effectiveness of the respiratory assistance device and the user's comfort.
Smart Images

Figure CN115052648B_ABST
Abstract
Description
[0001] Related Applications
[0002] This application claims the benefit of U.S. Provisional Patent Application No. 62 / 981,541, filed on February 26, 2020, and the entire contents of U.S. Provisional Patent Application No. 62 / 981,541 are hereby incorporated herein. Technical Field
[0003] Various embodiments are described herein for apparatus and methods that may be used to operate a respiratory apparatus to provide breathing assistance to a user of the respiratory apparatus by determining and / or predicting different sleep and / or breathing behaviors. Background Art
[0004] Individuals with acute or chronic respiratory (chronic obstructive pulmonary disease (COPD), asthma, acute respiratory distress syndrome (ARDS)) or breathing-related conditions (e.g., sleep apnea) may require assistive devices to maintain respiratory function at normal levels. Assistive devices such as mechanical ventilators, positive airway pressure (PAP) devices, or continuous positive airway pressure (CPAP) devices are commonly used to provide respiratory assistance. However, while such assistive devices are critical to maintaining normal respiratory function, these devices may also cause harm and distress to the user due to the amount of pressure or flow applied to the user's respiratory system. In addition, all current devices are reactive and do not actively predict and prevent respiratory distress or discomfort. As such, methods and systems for identifying and minimizing user harm are desired.
[0005] It is known in the art that there are various levels of mechanical support for different kinds of respiratory failure. In its most basic form, the concentration of inspired oxygen can be increased to a percentage above 21%, which is the oxygen content of normal atmosphere. This helps the patient in need to meet his body's metabolic demand for oxygen.
[0006] The next higher level of ventilatory support addresses the problem when the oxygen content of the inspired gas mixture is insufficient to maintain homeostasis in the patient's body. This means that CO2 retention also becomes an issue. For these kinds of respiratory failure, more invasive forms of ventilation are involved that involve actively raising the airway pressure above atmospheric pressure to eliminate CO2 as an end product of the body's metabolism. Since this involves a tight fitting mask, there is a limit to the pressure that can be applied to the system.
[0007] If the increase of inspired oxygen and the increase of airway pressure promoted by the mask are no longer sufficient, so-called mechanical ventilation using a tube and / or tracheostomy that fits tightly in the trachea together with a ventilator is used for ventilation. The parameters controlled by the ventilator include the amount of each breath applied to the patient, the respiratory rate per minute, which, when combined together, allows the patient's ventilation to be controlled along a specific time interval (e.g., per minute). In addition, typically mechanical ventilation also controls the proportion of inspired oxygen in the air from 21% to 100% and the inhalation and exhalation ratio of the breathing cycle. If these measures are not enough to keep the blood oxygen and CO2 levels within safe physiological limits, end-expiratory back pressure (PEEP) and l / E inhalation-expiration ratio are applied. With regard to ventilation monitoring, there are various methods known in the art, including end-tidal CO2, inspired CO2, inspired O2, exhaled O2, blood gas analysis of arterial blood pressure / volume diagrams, and volumetric measurements of the patient's inspired and exhaled ventilation.
[0008] In sleep apnea, the "gold standard" diagnostic test for obstructive sleep apnea (OSA) is the polysomnogram (PSG), in which respiratory, cardiac, muscle and neural parameters are monitored during sleep. Monitoring of these various physiological and neural parameters allows assessment of oxygen saturation of the blood, ventilatory pauses, EEG activity for determining sleep stages, and EMG for determining spontaneous muscle activity. Summary of the invention
[0009] According to the teachings herein, various embodiments of devices and methods for operating a respiratory device to determine and / or predict different sleep and / or breathing behaviors are provided. For example, different sleep and breathing behaviors include different sleep stages, breathing signatures, and predicted sleep disruption severity.
[0010] In a broad aspect, in accordance with the teachings herein, a controller is provided for controlling the operation of a breathing assistance device that provides breathing assistance to a user, wherein the controller comprises: an input end for receiving sensor data to measure at least one airflow parameter of the user's airflow; a memory unit comprising software instructions and parameters for at least one machine learning model and at least one classifier or predictor; and a processor electrically coupled to the input end to receive the sensor data, the processor being configured to perform measurements and generate control signals to control the breathing assistance device during a current monitoring time period in the following manner: when the user uses the breathing assistance device, obtaining measured air pressure data and / or measured airflow data and optionally measured FOT data during the current monitoring time period; performing feature extraction on the measured data to obtain feature values; applying the feature values to at least one machine learning model adopted by the at least one classifier or predictor to determine attributes of the user; and adjusting the control signal based on the determined attributes of the user.
[0011] In at least one embodiment, the processor is configured to execute a breathing signature classifier that applies a breathing signature machine learning model to the feature values to determine a current breathing signature of the user.
[0012] In at least one embodiment, the processor is configured to stop the operation of the breathing assistance device when the current breathing signature does not match a breathing signature stored for a legitimate user of the breathing assistance device.
[0013] In at least one embodiment, the processor is configured to execute a sleep stage classifier that applies a sleep stage machine learning model to the feature values to determine a sleep stage classification index for the user.
[0014] In at least one embodiment, the processor is configured to adjust the operation of the breathing assistance device based on the determined sleep stage classification index.
[0015] In at least one embodiment, the processor is configured to execute a predictive sleep disruption severity detector that applies a predictive sleep disruption severity machine learning model to the feature values to determine a predicted sleep disruption severity index for the user.
[0016] In at least one embodiment, the processor is configured to adjust operation of the breathing assistance device based on the predicted sleep disruption severity index.
[0017] On the other hand, according to the teachings of the present invention, a system for providing breathing assistance to a user is provided, wherein the system includes: a breathing assistance device that generates an airflow including at least one pressure pulse or a continuous pressure flow rate; an inlet element that is coupled to the breathing assistance device and is worn by the user to provide the airflow to the user during use; and a breathing assistance device controller that is defined according to one or more of the embodiments described herein.
[0018] On the other hand, according to the teachings of this document, a method for adjusting the airflow provided to a user by a breathing assistance device is provided, wherein the method includes: receiving sensor data for measuring at least one airflow parameter of the user's airflow; receiving the sensor data at a processor and using the processor to perform measurements and generate control signals to control the breathing assistance device during a current monitoring time period in the following manner: when the user uses the breathing assistance device, obtaining air pressure data and / or measured airflow data and optionally measured FOT data during the current monitoring time period; performing feature extraction on the measured data to obtain feature values; applying the feature values to a machine learning model adopted by a classifier or predictor to determine attributes of the user; and adjusting the control signal based on the determined attributes of the user.
[0019] In at least one embodiment, the method includes executing a breathing signature classifier that applies a breathing signature machine learning model to the feature values to determine a current breathing signature of the user.
[0020] In at least one embodiment, the method includes stopping operation of the breathing assistance device when the current breathing signature does not match a breathing signature stored for a legitimate user of the breathing assistance device.
[0021] In at least one embodiment, the method includes executing a sleep stage classifier that applies a sleep stage machine learning model to the feature values to determine a sleep stage classification index for the user.
[0022] In at least one embodiment, the method includes adjusting the operation of the breathing assistance device based on the determined sleep stage classification index.
[0023] In at least one embodiment, the method includes executing a predictive sleep disruption severity detector that applies a predictive sleep disruption severity machine learning model to the feature values to determine a predicted sleep disruption severity index for the user.
[0024] In at least one embodiment, the method includes adjusting operation of the breathing assistance device based on the predicted sleep disruption severity index.
[0025] Other features and advantages of the present application will become apparent from the following detailed description in conjunction with the accompanying drawings. However, it should be understood that the detailed description and specific examples, although indicating preferred embodiments of the present application, are given by way of illustration only, because various changes and modifications within the spirit and scope of the present application will become apparent to those skilled in the art based on the detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] To better understand the various embodiments described herein, and to more clearly show how these various embodiments may be implemented, reference will be made by way of example to the accompanying drawings which illustrate at least one example embodiment and which are now described. The drawings are not intended to limit the scope of the teachings described herein.
[0027] Figure 1 is a block diagram of an example embodiment of a breathing assistance system for controlling or tuning a breathing assistance device during use by a user based on determining and / or predicting different sleeping and / or breathing behaviors in accordance with the teachings herein.
[0028] Figure 2 is a block diagram of another example embodiment of a breathing assistance system for controlling or tuning a breathing assistance device during use by a user based on determining and / or predicting different sleeping and / or breathing behaviors in accordance with the teachings herein.
[0029] Figure 3 is a block diagram of an example embodiment of a breathing assistance device controller that may be used with a breathing assistance system.
[0030] Figure 4A is a flow chart of an example embodiment of a sleep signature detection method for controlling operation of a respiratory assistance device utilizing patient respiratory signature determinations in accordance with the teachings herein.
[0031] FIG. 4B to FIG. 4E Graphs showing the measurement results of airflow and air pressure for different FOTs at frequencies of 4 Hz, 17 Hz, 43 Hz, and 79 Hz, as well as the real-time calculation of resistance and reactance.
[0032] Figure 4F and Figure 4G Plots of principal component analysis scores and projection pursuit analysis, respectively, where the two projection vectors with the maximum variance determined from respiratory data obtained from three different patients plotted along the x-axis and y-axis, respectively, and showing that each patient has a unique data cluster (i.e., a unique respiratory signature).
[0033] Figure 4H is a graph showing the accuracy of the patient breathing signature classifier versus the number of training days for data obtained from 18 patients.
[0034] Figure 5 is a flow chart of an example embodiment of a breathing assistance control method utilizing a patient sleep stage determination to adjust settings of a breathing assistance device in accordance with the teachings herein.
[0035] Fig. 6A is a flow chart of an example embodiment of a breathing assistance control method that utilizes prediction of sleep disruption severity to adjust settings of a breathing assistance device according to the teachings herein.
[0036] Figure 6B is a graph of flow, pressure, resistance, and reactance signals measured for a patient, showing examples of two sleep apnea events of varying severity.
[0037] FIG. 6C illustrates a prediction signal determined before and during an example obstructive apnea event experienced by an actual patient.
[0038] FIG. 6D shows actual respiration measurements corresponding to the predicted signal of FIG. 6C before and during an example obstructive apnea event experienced by a patient.
[0039] FIG. 6E shows a prediction signal determined before and during an example central apnea event in an actual patient experience.
[0040] FIG. 6F shows actual respiration measurements corresponding to the predicted signal of FIG. 6E before and during an example central apnea event experienced by a patient.
[0041] Figure 7 is a flow chart of an example embodiment of a breathing assistance control method according to the teachings herein that utilizes respiratory failure detection and at least one of a sleep stage classification index and a predicted sleep interruption severity index to adjust settings of a breathing assistance device.
[0042] Figure 8 is a flow chart of an example embodiment of a breathing assistance control method according to the teachings herein that utilizes a respiratory failure prediction and at least one of a sleep stage classification index and a predicted sleep disruption severity index to adjust settings of a breathing assistance device.
[0043] Fig.9A is a flow chart of another example embodiment of a breathing assistance control method according to the teachings herein that utilizes a respiratory failure prediction and at least one of a sleep stage classification index and a predicted sleep disruption severity index to adjust settings of a breathing assistance device.
[0044] Fig. 9B is a correlation plot between the predicted duration / intensity and the actual true duration / intensity of apnea events.
[0045] Further aspects and features of the example embodiments described herein will appear from the following description taken in conjunction with the accompanying drawings. DETAILED DESCRIPTION
[0046] The following will describe various embodiments according to the teachings of this article to provide examples of at least one embodiment of the subject matter claimed for protection. The embodiments described herein do not limit any of the subject matter claimed for protection. The subject matter claimed for protection is not limited to a device or method having all the features of any one device or method described below, or is not limited to the features common to multiple or all devices and / or methods described herein. There may be a device or method described herein that is not an embodiment of any of the subject matter claimed for protection. Any subject matter described herein that is not claimed in this document may be the subject of another protective instrument, such as a continuing patent application, and the applicant, inventor, or owner does not intend to abandon, deny, or dedicate any such subject matter to the public by disclosing it in this document.
[0047] It should be understood that for simplicity and clarity of illustration, reference numerals may be repeated in the accompanying drawings to indicate corresponding or similar elements where deemed appropriate. In addition, many specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be appreciated by those of ordinary skill in the art that the embodiments described herein may be practiced without these specific details. In other cases, well-known methods, procedures, and components are not described in detail to avoid confusing the embodiments described herein. In addition, this description should not be considered to limit the scope of the embodiments described herein.
[0048] It should also be noted that the terms "coupled" or "coupled to" as used herein can have several different meanings depending on the context in which the terms are used. For example, the terms coupled or coupled to can have mechanical, fluidic, or electrical meanings. For example, as used herein, the terms coupled or coupled to can indicate that two elements or devices can be connected to each other directly or through one or more intermediate elements or devices via electrical signals, electrical connections, mechanical elements, fluids, or fluid transport pathways, for example, depending on the specific context.
[0049] It should also be noted that, as used herein, the term "and / or" is intended to mean an inclusive or. That is, for example, "X and / or Y" is intended to mean X or Y or both. As a further example, "X, Y and / or Z" is intended to mean X or Y or Z or any combination thereof.
[0050] It should be noted that terms of degree such as "substantially", "about" and "approximately" as used herein mean a reasonable amount of deviation of the modified term such that the end result is not significantly changed. These terms of degree may also be construed to include deviations of the modified term such as but not limited to 1%, 2%, 5% or 10% if such deviation would not negate the meaning of the term it modifies.
[0051] In addition, the recitation of numerical ranges by endpoints herein includes all numbers and fractions contained within that range (e.g., 1 to 5 includes 1, 1.5, 2, 2.75, 3, 3.90, 4, and 5). It should also be understood that all numbers and fractions thereof are assumed to be modified by the term "about," meaning that the referenced number may vary by at most a certain amount if the end result is not significantly altered, such as, for example, but not limited to, 1%, 2%, 5%, or 10%.
[0052] The example embodiments of the apparatus, system or method described according to the teachings herein may be implemented as a combination of hardware and software. For example, the embodiments described herein may be implemented at least in part by using one or more computer programs executed on one or more programmable devices including at least one processing element and at least one storage element (i.e., at least one volatile memory element and at least one non-volatile memory element). Depending on the implementation of the hardware, the hardware may include one or more input devices, including a sensor, a touch screen, a keyboard, a mouse, a button, a key, a slider, or any combination thereof, and one or more output devices, including an output port for sending control signals, a display, a speaker, a printer, or any combination thereof.
[0053] It should also be noted that there may be some elements for implementing at least a part of the embodiments described herein, which can be implemented via software written in a high-level programming language such as object-oriented programming. The program code can be written in C++, C#, JavaScript, Python or any other suitable programming language, and can include modules or classes, as known to the technician of object-oriented programming. Alternatively or in addition, some of these elements implemented via software can be written in assembly language, machine language or firmware as needed. In any case, the language can be a compiled language or an interpreted language.
[0054] At least some of these software programs may be stored on a computer-readable medium, such as, but not limited to, a ROM, a disk, an optical disk, a USB key, and the like, which may be read by a device having a processor, an operating system, and associated hardware and software necessary to implement the functionality of at least one embodiment described herein. The software program code, when read by the device, configures the device to operate in a new, specific, and predefined manner (e.g., as a computer for a specific purpose) in order to perform at least one method described herein.
[0055] At least some of the programs associated with the apparatus, systems, and methods of the embodiments described herein can be distributed in a computer program product that includes a computer-readable medium carrying computer-usable instructions (such as program code) for one or more processing units. The medium can be provided in various forms, including non-transitory forms, such as but not limited to one or more floppy disks, optical disks, tapes, chips, and magnetic and electronic storage. In alternative embodiments, the medium can be temporary in nature, such as but not limited to wired transmission, satellite transmission, Internet transmission (e.g., download), media, digital and analog signals, and the like. The computer-usable instructions can also be in various formats, including compiled code and non-compiled code.
[0056] It should be noted that the term "user" encompasses a person who is using a breathing assistance device. In some cases, the user may be an individual using a breathing assistance device in their home or in a non-medical environment. In other cases, for example, the user may be a patient using a breathing assistance device in a medical environment such as a clinic or hospital.
[0057] Oscillometric methods (also known as forced oscillation techniques (FOT)) can be performed in the field of respiratory diagnostics by superimposing fluctuations in airway pressure as the user breathes normally and measuring the resultant pressure and flow rate to determine the mechanical properties of the user's respiratory system. For example, the measured pressure and flow rate can then be used to determine the mechanical impedance of the user's respiratory system. This mechanical impedance is the ratio of the oscillating pressure to the flow rate in the frequency domain, and it can be expressed as a complex number (with real and imaginary parts) as a function of frequency. More specifically, the real part of the mechanical impedance can be considered to be the respiratory system resistance (R rs ), while the imaginary part can be considered as the respiratory system reactance (X rs ). FOT is commonly used in modern CPAP machines as a method of differentiating between obstructive and central apnea events by using a FOT frequency of 1-5 Hz.
[0058] When describing the complex mechanical impedance of the respiratory system, it is usually presented as the average R over the frequency range of interest. rs and average X rsThese averages can typically be calculated by averaging impedance values estimated using frequency domain methods, such as by performing a Fourier transform on measured pressure and flow values acquired from multiple finite overlapping time windows, or by averaging time courses calculated from recursive time domain methods that can also efficiently examine overlapping time periods of short duration.
[0059] However, the inventors have previously determined that the R rs and X rs The temporal variation in may contain information about the individual's breathing and their respiratory system. They can be expressed as R var and X var R rs and X rs The temporal variation of X can be determined using frequency domain techniques, such as short-time Fourier transform (STFT) or wavelet transform. var Changes in amplitude contain signs of respiratory health, but the inventors have previously determined that when using FOT to determine R var and X var When R var and X var There is a connection between them, and R var and X var Changes over time.
[0060] For example, it is known that asthma patients have increased changes in resistance and COPD patients have increased changes in reactance. However, the inventors have previously discovered that some of these changes in reactance leak into changes in resistance for COPD patients, and the inventors have also previously discovered that both can be taken into account for more accurate diagnosis and monitoring. The inventors have also previously discovered that the same situation occurs with asthma patients, where changes in reactance leak into changes in resistance, and both reactance and resistance need to be included in diagnosis and decision making for more effective treatment.
[0061] Therefore, monitoring R alone rs and X rs Conventional techniques that monitor R var and X var The case, and R var and X var The relationship between them can be used to determine certain situations, such as when determining R var and X varThe invention provides a method for predicting the severity of a person's sleep disruption when the person has a particular respiratory signature, when the person is in a certain sleep stage, when the person is experiencing respiratory failure, when a respiratory event is about to occur, or any combination thereof. This has not been previously determined by others in the field.
[0062] Respiratory failure may be understood to encompass all diseases and conditions that may lead to negative changes in the respiratory system of a person or animal, such as respiratory obstruction or small airways. In some cases, respiratory failure may be a temporary respiratory event such as occurs during an OSA or asthma attack, or it may be due to a chronic respiratory condition such as lung cancer, cystic fibrosis or chronic obstructive pulmonary disease.
[0063] According to the teachings of this document, various embodiments are provided for intelligently monitoring, analyzing, determining and / or predicting different breathing and sleep behaviors, such as determining patient breathing markers, determining patient sleep stage classification, predicting the severity of sleep disruptions in patients, or any combination thereof. These methods involve using machine learning and other advanced computing techniques to build accurate supervised classification and prediction models. Some of these models will use any of the following measurements: (a) only air pressure and airflow; (b) only airway impedance measured by FOT; (c) plethysmography, such as EEG; or (d) (a), (b) and (c) A combination of two or more of.
[0064] The inventors have previously determined that R var and X var The connection or relationship between can be used to determine a respiratory index that is used to detect when respiratory failure occurs and take corrective actions in this case to help the individual breathe more normally again. These actions may include, but are not limited to: various techniques applied to keep the user's airway open to avoid hypooxygenation or hypocapnia in the user's blood. For example, for a COPD patient, when X var and R var When the combination of R and φ indicates respiratory failure, the respiratory assistance device can be controlled to adjust its inspiratory and expiratory pressures. In addition, the respiratory assistance device can be controlled to change the gas mixture provided to the patient (for example, in COPD, there may be a change in the oxygen concentration provided to the patient) to also help alleviate this particular disease. The index can be R var and X var combination.
[0065] However, in accordance with the teachings herein, a respiratory index may be combined with a sleep stage classification index and / or a predicted sleep disruption severity index to improve the effectiveness of a respiratory assistance device.
[0066] In at least one embodiment, the combination can be based on comparing the individual indices to corresponding threshold levels to perform corrective actions with a higher confidence to compensate for a respiratory event that has occurred.
[0067] Alternatively, in at least one embodiment, these indices can be combined to generate a combined index, which can then be used to determine whether to perform corrective action with a higher degree of confidence. Conventionally, this has never been done, and advantageously, this can be used to improve an individual's respiratory health in a shorter period of time.
[0068] R var and X var The connection or relationship between can be determined using a benchtop lung simulator made using physical elements, examples of which are described in U.S. Provisional Patent Application No. 62 / 758,394, entitled “BENCHTOP WITHIN-BREATH DYNAMIC LUNG SIMULATOR,” filed on Friday, November 9, 2018, and U.S. Non-Provisional Patent Application No. 16 / 678,153, entitled “BENCHTOP WITHIN-BREATH DYNAMIC LUNG SIMULATOR,” filed on Friday, November 8, 2019, and published on May 14, 2020 as U.S. Patent Application Publication No. US20200152089A1, the entire contents of each of which are incorporated herein by reference.
[0069] The inventors have also previously determined that R var and X var The association or relationship between can be used together with the measurements of certain physiological and / or neurological parameters to determine a respiratory index that can be used to predict when respiratory failure will occur, and in such a case take corrective action to reduce the chance that the individual will experience the predicted respiratory failure, or at least reduce the intensity of the respiratory failure. var and X var The change of Z var Variations of , and their weighted versions R var,w , X var,w and Z var,wIt can be associated with physiological measurements (e.g., CO2) and / or neural measurements (e.g., EEG) to predict when respiratory failure will occur. In this case, the corrective action is to actively avoid respiratory failure, which is in contrast to the respiratory detection techniques described above, which are reactive in nature because corrective actions are taken only after the individual begins to experience respiratory failure. However, according to the teachings of this article, the respiratory index can be combined with a sleep stage classification index and / or a predicted sleep interruption severity index to improve the effectiveness of the respiratory assistance device. In at least one embodiment, the combination can be based on comparing the individual indices with corresponding threshold levels, so that active corrective actions are performed with higher confidence to compensate for respiratory events that have occurred. Alternatively, in at least one embodiment, these indices can be combined to generate a combined index, which can then be used to determine whether to perform active corrective actions with higher confidence. Conventionally, active corrective actions based on predictions have never been performed, and the active corrective actions can be used advantageously so that the individual's respiratory health status does not deteriorate and / or remains within acceptable limits.
[0070] In any of the above aspects including performing corrective action, depending on the determined index, which is typically a number, the operating parameters of the breathing assistance device can then be adjusted to ensure that the user of the breathing assistance device does not experience respiratory failure or at least experiences minimal respiratory failure. Therefore, at least one of these indices can be used to generate a feedback control signal, which is used to control the operation of the breathing assistance device. These indices can be determined over a given time period, and a number of numbers are generated during the given time period, which numbers can be collectively referred to as breathing index signals. The breathing index signal can be used to control the breathing assistance device over a given time period.
[0071] Thus, in one aspect, the teachings herein provide for real-time determination of a user's breathing signature, classification of a user's sleep stage, and / or classification of a predicted severity of sleep disruption, which may then be used to perform at least one of: adjusting the operation of a respiratory assistance device and providing data in a user report that may be used to monitor the user's breathing and / or diagnose a breathing disorder for the user. For example, a report may be determined for data collected while the user is sleeping at night, and the report may be provided to the user or a medical professional for review, such as in the morning, so that the user or medical professional may review data regarding, for example, their breathing and sleep health.
[0072] According to another aspect, teachings provide for real-time assessment of lung mechanics to detect respiratory failure, or predict respiratory failure when measuring at least one other physiological signal, based on determination of a respiratory index and comparison of the respiratory index to a standard value (which may be represented by a threshold value, at least in some cases), and also incorporating a sleep stage classification index and / or a predicted sleep disruption severity index in the analysis of the respiratory index to determine whether to take proactive corrective action or corrective action with a higher confidence level. The respiratory index, sleep stage classification index, and predicted sleep disruption severity index may be continuously determined and used to continuously manage settings of a respiratory assistance device to reduce, mitigate, or avoid respiratory failure.
[0073] Previously it has not been possible to predict respiratory failure in a user of a breathing assistance device in an automated manner before respiratory failure is about to occur. As a result, breathing assistance devices are conventionally controlled in a manual manner by a physician who sets and then adjusts the operating parameters of the breathing assistance device at intervals. This is detrimental because if a user begins to experience respiratory failure, it is conventionally not possible to automatically adjust the breathing assistance device to reduce the impact or amount of respiratory failure experienced by the user, which can be fatal in certain situations where response time is critical to adjusting the operation of the breathing assistance device. Furthermore, such conventional techniques do not even allow for prediction of impending respiratory failure.
[0074] Recently, other techniques, including traditional FOT / oscillometric methods, have been used to automatically adjust the parameters of respiratory assistance devices. However, traditional FOT uses averaging, and therefore there is a delay of several seconds before any detection occurs. This can also be detrimental to the health of the user when severe respiratory failure is imminent or occurring. Furthermore, in some cases, automatically adjusting a respiratory assistance device using techniques such as sensing only airflow or oxygen levels may not provide sufficient information about the health of the complete respiratory system.
[0075] It is believed that according to the teachings of this article, the technology of determining one or more of the breathing, sleep stage and predictive sleep interruption severity index of a user of a breathing assistance device and generating a control signal to control the breathing assistance device to maintain the user's respiratory health within a specific range where the user does not experience respiratory failure will increase the adoption rate of using breathing assistance devices (i.e., for sleep apnea devices) in voluntary use. The method also provides technical advantages, such as increasing the speed at which the breathing assistance device adapts to any respiratory failure encountered or about to be encountered by the user, because the method can detect or predict respiratory failure relatively quickly, and with increased confidence, reactive or proactive steps can also be taken quickly to control the breathing assistance device to reduce the level / amount of respiratory failure encountered by the user or even prevent respiratory failure from occurring. This may be critical in certain situations where increased respiratory failure may have serious (if not fatal) consequences for the user.
[0076] Reference now Figure 1 , which shows a block diagram of a respiratory assistance system 100 for performing at least one of determining respiratory markers, performing sleep stage classification, and predicting the severity of sleep interruptions. In at least one embodiment, according to at least one embodiment taught herein, the respiratory assistance system 100 can also be used to control or tune a respiratory assistance device using a forced oscillation technique based on detection and / or prediction of respiratory failure. The system 100 includes a respiratory assistance device 102, which generates an airflow provided to a user 110 via air delivery pathways 104 and 108 and, for example, a laryngeal tube, a breathing mask, or an endotracheal tube 109 (hereinafter collectively referred to as "inlet elements"). The airflow can be at least one air pressure pulse, a continuous air flow, or a superposition of an air pressure pulse and a continuous air flow. The airflow is controllable by adjusting at least one of the air pressure and flow rate of the respiratory assistance device 102 via a corresponding input control on the respiratory assistance device 102.
[0077] In some embodiments, the breathing assistance device 102 may be a mechanical ventilator for providing respiratory support to a user. In other embodiments, the breathing assistance device 102 may be a CPAP, APAP, BiPAP, or PAP device for providing respiratory support to a user. In other embodiments, the breathing assistance device 102 may be a respiratory therapy delivery device, such as, but not limited to, a respiratory therapy delivery device that assists a user in clearing their lungs and coughing up secretions. In other cases, the breathing assistance device 102 may be an anesthesia machine in an OR, an ICU ventilator, an oxygenator for COPD, and a home ventilator, as well as any other machine that provides respiratory assistance to a user suffering from a respiratory disease. Therefore, in general, the teachings described herein for detecting and / or predicting respiratory failure and the proactive or reactive actions taken to reduce, eliminate, or preempt respiratory failure can be used with all types of ventilation, including invasive (with tubes) and non-invasive (without tubes) ventilation.
[0078] The breathing assistance device controller 106 is coupled to the breathing assistance device 102 via an air delivery passage 104 (which may also be referred to as a flow passage 104) and receives an airflow from the breathing assistance device 102 and delivers the airflow to the user 110 via an air delivery passage 108 and an inlet element 109. It should be noted that the term "air" in the present disclosure is generally used to refer to the flow of gases and other airborne particles through the system 100. For example, the output of a mechanical ventilator may include gases and / or vapors other than air, such as, but not limited to, anesthetic agents, which are typically vapors but may also be gases. In a PAP device, water vapor may be combined with air. In some embodiments of the breathing assistance device 102, gaseous drugs (i.e., steroids, oxygen, nitrogen, etc.) may be added to the airflow and provided to a patient in a ventilated state based on respiratory health and / or measured comfort. For example, the drug may include an appropriate amount of steroids, which may be used daily to improve the user's CPAP experience. The airflow may be delivered to the user 110 via the inlet element 109. In this embodiment, access element 109 may be a mask worn over the nose and mouth of user 110, or for an alternative mask just over the nose or in or near the nostrils of user 110. In other embodiments, access element 109 may be an endotracheal tube inserted into the trachea by intubation or tracheostomy.
[0079] In embodiments where the respiratory device 102 is a mechanical ventilator, instead of just an air delivery pathway 104 (which may also be referred to as a flow pathway), there are actually two air pathways (not shown), one of which is used for inspiration and the other of which is used for exhalation. Figure 1 The pathways shown in FIG. 1 are applicable to the case where the breathing assistance device 102 is a PAP device. It can therefore be understood that the breathing assistance device 102 provides at least one pathway to allow air to flow from the air delivery pathway 104 to the air delivery pathway 108. It can also be understood that there can be embodiments in which the breathing assistance controller 106 is at least partially or completely combined with the airflow pathway from the breathing assistance device 102 to the user 110 "inline".
[0080] In this example embodiment, the breathing assistance device controller 106 includes one or more sensors (not shown) to measure various parameters of the airflow delivered to the user 110. For example, the sensor can be attached to a mask worn by the user 110, which can result in an ideal SNR of the sensor data obtained from the sensor. Alternatively, the sensor (such as, for example, an ultrasonic sensor) can be attached in the conduit passage. In either case, these sensors can be used to measure airflow parameters associated with inspiration and exhalation. However, in the case of a PAP machine, such sensors are located near the mask because the tube 108 only carries the inspiratory flow, while in a mechanical ventilator, the sensors can be attached to the mask or the endotracheal tube, or they can be located anywhere along the tubes for the inspiratory and expiratory passages.
[0081] In some embodiments, the breathing assistance device controller 106 may not include these sensors, but may instead read these parameters from the breathing assistance device 102, because the breathing assistance device 102 may also be equipped with sensors for measuring airflow parameters. The breathing assistance device controller 106 may also include a device for providing a forced oscillation signal to provide air pressure changes for the airflow provided to the user 110. In some embodiments, there are sensors for measuring air pressure and airflow. In other embodiments, dedicated sensors may be used to measure airflow or air pressure, so that the breathing assistance device controller 106 can use more than one sensor. For example, some sensor technologies use lasers to detect motion, or ultrasound can be used to detect pressure and flow rate using one sensor (this is because the measured flow rate can be determined by dividing the measured pressure by a known resistance).
[0082] The breathing assistance device controller 106 may use the measured airflow parameters such as air volume, air pressure, and airflow rate to generate a control signal 112 that may be used as feedback to adjust the operation of the breathing assistance device 102. For example, the breathing assistance device controller 106 may employ a control method in which the generated control signal may be generated based on: Figure 4A ) Determine the user's breathing signature, such as method 350 (see Figure 5 ) to determine the sleep stage of the user and / or such as method 400 (see Fig. 6A ) to determine the predicted sleep disruption severity. In other embodiments, there may be a method that, for example, performs a detection of when respiratory failure will occur and then uses a sleep stage classification index and / or a predicted sleep disruption severity index, such as in method 450 (see Figure 7 ) to generate a control signal to provide corrective action so that the user no longer experiences respiratory failure.
[0083] Alternatively, in some embodiments, the breathing assistance controller 106 may employ a control method that incorporates a sleep stage classification index and / or a predicted sleep disruption severity index, such as method 500 (see Figure 8 ) or method 600 (see Fig.9A ), for example, to predict when respiratory failure will occur (e.g., possibly up to and including the next few minutes, such as, for example, from about a few milliseconds up to about 5 minutes) and then generate a control signal to provide proactive action so that the user does not experience the expected respiratory failure. In such an embodiment, additional measured signals can be used to implement the prediction method. For example, the additional measured signals can be one or more physiological and / or neural signals obtained during a polysomnogram (PSG), and are hereinafter referred to as PSG signals. The PSG signal may include at least one physiological signal (such as, but not limited to, eye movement (EOG), muscle activity or skeletal muscle activation (EMG), and cardiac signals (ECG)) and / or at least one neural signal (such as, but not limited to, EEG). Sensors for measuring such signals are not shown in 1, but such sensors are known to those skilled in the art and can be added to the system 100.
[0084] In both the detection and prediction embodiments, the control signal 112 may be used to adjust one, two, several, or all adjustable parameters of the breathing assistance device 102 to prevent or reduce the severity of a respiratory failure event. For example, the parameters that may be adjusted include: the flow rate of the airflow that may be generated by the breathing assistance device 102, the volume of the airflow, the pressure of the airflow, the frequency of certain changes in the airflow (such as changes in the flow rate, volume, pressure, and amplitude of the airflow), the amplitude of the airflow, and / or the phase of the airflow.
[0085] Reference now Figure 2 , which shows a block diagram of an example embodiment of a breathing assistance system 200 for determining a respiratory signature, a sleep stage classification index, and / or a predicted sleep disruption severity index and potentially using one or more of these items to control or tune a breathing assistance device 202 based on detection and / or prediction of respiratory failure during use by a user 210 in accordance with the teachings herein. Figure 1 The corresponding components in Figure 2 The elements in have been similarly numbered. Similar to the configuration of the breathing assistance system 100, the breathing assistance device 202 generates an airflow that is provided to the user 210 via air delivery passages 204 and 204' and a breathing tube 208, and the airflow is monitored by the breathing assistance device controller 206 to modify the operation of the breathing assistance device 202 under certain conditions. Figure 1Similarly, airflow can be delivered to user 210 via inlet element 209. In this example embodiment, inlet element 209 can be a mask worn to fluidly couple with the nose (i.e., nostrils) of user 210 and optionally with the mouth of the user. In other embodiments, inlet element 209 can be an endotracheal tube inserted into the trachea by intubation or tracheostomy.
[0086] Figure 2 Additional details are provided regarding various system components that may be employed. In some embodiments, the breathing assistance device 202 may be a mechanical ventilator for providing respiratory support. In other embodiments, the breathing assistance device 202 may be a PAP device for providing respiratory support. As explained for the breathing assistance device 102, other options may be used for the breathing assistance device 202.
[0087] In the present embodiment, the breathing assistance device 202 is a mechanical ventilator and includes an inspiratory tube 204 and an expiratory tube 204', which are used to provide airflow paths for airflow leaving and returning to the breathing assistance device 202, respectively. The inspiratory tube 204 and the expiratory tube 204' can be connected to the breathing assistance device controller 206 at one airflow path using a tube connector 214. The airflow can then flow to the user 210 through another airflow path of the breathing assistance device controller 206. The airflow from the inspiratory tube 204 may be disturbed by forced oscillations generated by a motor or actuator (hereinafter referred to as "actuator" to refer to both cases) 216 to generate air oscillations at a desired frequency and intensity. For example, the actuator 216 can be one of a speaker, an electromagnet, a piezoelectric device, a piston, and a motor. The choice of the actuator can depend on design specifications, such as the physical size of the device 206 and the restrictions imposed on the bill of materials (BOM). It should be noted that in some embodiments, the actuator 216 can be included in the breathing assistance device 202 and not in the breathing assistance device controller 206. Alternatively, in some embodiments, both the breathing assistance device 202 and the breathing assistance device controller 206 may include separate actuators.
[0088] The oscillating pressure signal has an oscillation frequency, which can be any frequency actually used to perform air pressure and airflow measurements during FOT measurements. For example, the frequency may include, but is not limited to, a range of about 0.001 Hz to about 100 MHz or even up to 1 THz. In some embodiments, the frequency range is from a lower frequency of about 5 Hz, 10 Hz, or 20 Hz to a higher frequency of about 100 MHz or 1 THz. In some embodiments, the frequency range is a higher frequency from about 40 Hz to about 100 MHz or 1 THz. In some embodiments, the frequency is about 37 Hz or about 79 Hz, wherein the harmonics of these frequencies do not interfere with each other during FOT measurements. In some embodiments, a multi-frequency signal with different harmonics can be used. For example, the oscillating signal can be a square wave or a triangular wave, each having several frequency components. Multi-frequency signals are useful in certain situations, such as when calculating impedance at different frequencies. The oscillating pressure signal is superimposed on the modified and / or spontaneous breathing of the user 210.
[0089] In some embodiments, the generated oscillating pressure signal can also be controlled to deliver the desired pressure. In some cases, it may be preferred to produce a pressure (i.e., the amplitude of the oscillating signal generated) of no more than about 0.01cm H2O to about 2cm H2O peak-to-peak. In some other cases, the pressure can be selected based on the oscillation frequency or based on the sensitivity and accuracy of the flow rate sensor and / or the pressure sensor. In some cases, the oscillation amplitude (i.e., pressure) may follow an inverse frequency trend (1 / f). For example, if a frequency of about 6, 11, and 19 Hz is used, the pressure amplitude at about 6 Hz is higher than the pressure amplitude at about 11 Hz. Similarly, the pressure amplitude at about 11 Hz is higher than the pressure amplitude at about 19 Hz.
[0090] Inspiratory tube 204 and expiratory tube 204 ' can be combined at the junction using a pipe joint 218 connected to breathing tube 208 before reaching the user 210. After the pipe joint 218, the combined airflow can be sensed to determine airflow parameters, such as airflow rate and air pressure. In this example embodiment, a sensing system including flow transducer 220 and pressure transducer 221 is used. It should be noted that flow transducer 220 can also be referred to as flow velocity transducer or airflow transducer. The sensor type for transducers 220 and 221 can be any suitable transducer device, including but not limited to, for example, ultrasonic, pneumatic or piezoelectric transducers. In certain embodiments, airflow parameters can be measured and calculated by recording the pressure drop across the pneumotachograph used as a sensor.
[0091] The outputs of the flow transducer 220 and the pressure transducer 221 may be pre-processed prior to further processing and analysis. For example, the output signals from the transducers 220 and 221 may be amplified by appropriate amplifiers 224 to obtain the desired signal amplitude. For example, in some embodiments, the amplifier 224 may be a lock-in amplifier, which may be used to reduce signal noise to help focus on the frequency of interest. It should be noted that a separate amplifier may be used for each measured signal, or a dual channel amplifier may be used.
[0092] The amplified signal can then be filtered to remove extraneous frequency domain information. In this embodiment, a bandpass filter 226 having a tuned center frequency corresponding to the oscillation frequency produced by the actuator 216 can be used. In some embodiments, the passband can be made narrow enough so that a notch filter can be used when a single frequency is used for FOT. The bandpass filter 226 has a narrow passband, but it is preferably large enough to contain any side lobes in the measured signal that contain modulated breathing information.
[0093] After the signal has been amplified and filtered, the signal is received by the processor 228 for further processing and analysis to determine one or more aspects of the user, such as, but not limited to: (1) a respiratory signature, (2) a sleep stage classification and / or a sleep stage classification index, and / or (3) a prediction of sleep disruption severity and / or a predicted sleep disruption severity index. In at least one embodiment, a respiratory index may also be generated. The processor 228 may then generate a control signal 212 based on at least one of these aspects that have been determined, and the control signal 212 is provided to the respiratory assistance device 202 to adjust its operation, as described in more detail below.
[0094] In some embodiments, processor 228 may be a programmable device, such as a programmable microcontroller or a field programmable gate array (FPGA). In other embodiments, processor 228 may be part of a single board computer system platform, such as an Arduino platform or a Raspberry Pi platform. In yet another embodiment, more than one processor may be used when important data needs to be processed. In yet other embodiments, processor 228 may be used (such as by using digital signal processing (DSP) techniques) to perform signal filtering, so that a separate filtering device 226 may not be required.
[0095] The control signal 212 may be provided to the breathing assistance device 202 using any method known to those skilled in the art. For example, the control signal 212 may be provided via a wired connection. However, in other embodiments, the control signal may be transmitted wirelessly to the breathing assistance device 202, in which case the system 200 may include a transmitter or transceiver (such as a WiFi or Bluetooth transceiver).
[0096] The measured airflow parameters, indices and / or control signals 212 may also be shown on an optional display 230 provided on the breathing assistance device controller 206. The display 146 may be, but is not limited to, an LCD display, such as used in a tablet device or a smart phone.
[0097] The system 200 also includes a memory unit 229, which may include RAM, ROM, one or more hard disk drives, one or more flash drives, or some other suitable data storage element such as a disk drive. The memory unit 229 stores program instructions for one or more of a sleep stage classifier 229d, a breathing signature classifier 229c, and / or a sleep interruption severity predictor 229e, an operating system 229a, a device control module 229b, a machine learning model 229f, an input / output (I / O) module 229g, and one or more data files 229h. Other software instructions may be included as known to those skilled in the art.
[0098] The device control module 229b includes software instructions that, when executed, configure the processor 228 to operate in a particular manner to implement the various functions, processes, and methods of the system 200. For example, the device control module 229b may include program instructions for sensing various data from the sensors 220-223, performing various calculations using the sensed data, and then executing one or more of the breathing signature classifier 229c, the sleep stage classifier 229d, the sleep disruption severity predictor 229e, and the machine learning model 229f to determine one or more indices from which control signals may be generated to perform the following operations: (1) control the breathing assistance device 202, and / or (2) generate certain data regarding the user's breathing and / or sleep characteristics, which may then be included in a report and / or analyzed to monitor and / or diagnose the user under certain conditions.
[0099] The breathing signature classifier 229c is used to determine a breathing signature using breathing data sensed by one or more of the sensors 220-222 and, in some cases, determined from the sensed data of a particular user 210 based on the use of a machine learning model or analysis method. Figure 4A The method 300 is described in more detail.
[0100] The sleep stage classifier 229d is used to determine the sleep stage that the user 210 is in using the breathing data sensed by one or more of the sensors 220-222 and in some cases determined based on the sensed data of the particular user 210 using a machine learning model. A sleep stage classification index may also be defined based on the determined sleep stage classification. The sleep stage classifier 229d is used to determine the sleep stage that the user 210 is in using the breathing data sensed by one or more of the sensors 220-222 and in some cases determined based on the sensed data of the particular user 210 using a machine learning model. Figure 5 Method 350 is described in more detail in .
[0101] The sleep disruption severity predictor 229e is used to predict the severity of an upcoming sleep disruption event using respiration data sensed by one or more of the sensors 220-222 and in some cases determined from sensed data of a particular 210 user using a machine learning model. A predicted sleep disruption severity index may also be defined based on the predicted sleep disruption severity. Fig. 6A The method 400 in is described in more detail for the sleep disruption severity predictor 229e.
[0102] The machine learning model 229f includes different types of models for classifying or predicting different sleep or breathing related phenomena. The machine learning model 229f can be based on using different machine learning methods, such as a random forest classifier, a logistic linear classifier, a K-nearest neighbor algorithm, a feature-based dissimilarity space classifier (FDSC), a neural network, and a support vector machine. In an alternative embodiment, deep learning or a convolutional neural network (CNN) can be used. In order to reduce computing time, it is best to use a random forest classifier as a machine learning model.
[0103] Certain input features are provided to machine learning models with high predictive power. For example, the input features may include the power spectral density (PSD) of the measured airflow (e.g., airflow and airflow rate are synonyms). The PSD can be measured over the entire spectral range of the sampled sensor data. Alternatively, there may be cases where the PSD over a more specific frequency range can be measured, such as between about 0.01 Hz and about 20 Hz, which contains most of the information of the PSD. Other potential input features may include one or more of the following: the PSD of the measured air pressure; the PSD of the measured resistance and reactance using FOT; and for a given PSD, the number of peaks in the PSD; and the power at a specific frequency. In other cases, the input features of a given measured or determined signal may be one or more of the following: the index of the quality quantile of the signal; the windowed linear least squares regression coefficients along the signal; the absolute energy of the signal (e.g., the sum of the squares of the signal amplitude); the minimum and / or maximum amplitude of the signal; the standard deviation, skewness, and / or kurtosis of the signal; the number of peaks in the signal; the autocorrelation of the signal and the absolute value of the FFT coefficients of the signal. The signal can be a measured airflow, a measured air pressure, a reactance obtained from a FOT method, a resistance obtained from a FOT method, or an impedance obtained from a FOT method. The actual input features depend on the specific type of machine learning model (i.e., breathing signature, sleep classification, or predictive sleep disruption severity).
[0104] Machine learning models can be trained in various ways. For example, preprocessing the data obtained from patients (as in this paper for Figure 2 The machine learning model is initialized with some initial parameters and then trained with the training set to determine the machine learning model parameters and input features that provide the highest accuracy. The machine learning model is then tested with the test data set, and the accuracy is recorded. The parameters of the machine learning model are then adjusted to maximize the accuracy of the machine learning model on the test data set. The machine learning model is then tested with the validation data set, and the accuracy is recorded.
[0105] The data used to develop, test and validate the machine learning model described in this article were obtained from 33 patients in an approved study conducted at the QEII Health Science Center in Halifax. 47% of the patients were female and 53% were male, with a median age of 55.5 years and a median number of nights of CPAP use of 135 nights. The test data included thousands of different categories of sleep apnea, including obstructive, central and hypopnea sleep apnea. The data was divided into test, training and validation data sets. Obstructive sleep apnea events were extracted from the data (for intensity), baseline (normal breathing) and pre-apnea period (for intensity prediction). Data was also obtained based on the sleep stages determined by different EEGs. The data included measured airflow pressure, measured air flow rate, and resistance and reactance determined using the measured pressure and air flow rate, while performing the FOT method at different frequencies including 4Hz, 17Hz, 43Hz and 79Hz. The data also included PSG measurements.
[0106] The input / output module 229g receives input data obtained by the sensor, pre-processes the input data, and / or generates output data (or signals such as control signals 212 from the processing performed by the device control module 229b), which is then sent to the corresponding hardware. For example, the input / output module 229g can operate in conjunction with the device control module 229b to transmit data (or signals) between one or more of the processors 228 and one or more of the sensors 220 to 223 and the display 230. The functions of the input / output module 229g can be implemented, for example, using a combination of hardware, firmware, and / or software.
[0107] The data file 229h may store any temporary data (e.g., data that is not needed after the breathing assistance device 202 has been used) or permanent data (e.g., data saved for later use), such as user data (e.g., user ID), settings of the breathing assistance device 202, and pre-processing or other processing settings (including variables and calibration data). The data file 229h may also include various user data for each user using the breathing assistance device 202, such as identification data, respiratory physiological data during use of the breathing assistance device 202, and recorded user data.
[0108] In at least one embodiment, the breathing assistance device controller 206 can be configured to operate continuously to monitor the pressure and flow rate of the airflow provided to the user 210 to allow the determination of the user's respiratory signature, perform sleep stage classification, and / or predict the severity of sleep disruptions, which can be used in various ways, including for continuously adjusting the operation of the breathing assistance device 202. Doing so can allow real-time or near real-time adaptive adjustments to minimize or avoid any respiratory failure experienced by the user 210. In other embodiments, the breathing assistance device controller 206 may alternatively be controlled to operate intermittently, for example, at set time intervals such as every 30 seconds or every 60 seconds. If the breathing assistance device controller 206 is battery operated, such an operating condition may be preferred in order to help extend the operating life of the breathing assistance device 202.
[0109] In an embodiment where the system 200 is used to predict when the user 210 will soon experience respiratory failure, the sensing system may also include at least two additional sensors, including a gas sensor 222 and one or more sensors used in PSG, collectively referred to as a PSG sensor 223. The gas sensor 222 may be a CO2 gas sensor. The PSG sensor 223 may include one or more sensors for obtaining at least one physiological signal and / or at least one neural signal. For example, the physiological signal includes one or more of ECG, EOG, and EMG signals, and the neural signal includes one or more of EEG and peripheral nerve physiological examination (PNE) signals. These signals can be measured using known electrodes placed at certain locations of the user 210 as known to those skilled in the art. The CO2 signal is also a physiological measurement that can be obtained. As known, the PSG signal can also be pre-processed by different channels of the amplifier 224 and the bandpass filter 226 to reduce the noise of these signals before these specific signals are sent to the processor 228 for further analysis. The settings for amplification and filtering of the PSG signal are known to those skilled in the art. In embodiments where only respiratory failure is detected and reactive action is taken, the gas sensor 222 and the one or more PSG sensors 223 are not included in the system 200 .
[0110] Figure 3 An example embodiment of an integrated breathing assistance device controller 250 is shown in which the various components required to monitor airflow and control the breathing assistance device 202 are installed within a single device so as to allow the device to be used physically "inline" with the breathing assistance device 202. Therefore, the breathing assistance device controller 250 may be referred to as an inline device. Figure 3 The reference numerals shown in FIG. 1 generally correspond to those previously described for Figure 2 and Figure 3 Those described in similar components.
[0111] In addition, in embodiments where the integrated breathing assistance device controller 250 is used to predict when the user 210 will experience respiratory failure, the controller 250 also includes a gas sensor 222, and it can be coupled to one or more PSG sensors 223. In some embodiments, the signals measured by the one or more PSG sensors 223 can be wirelessly transmitted to the integrated breathing assistance device controller 250, which will include a wireless communication radio or a short-range communication module, such as, for example, a Bluetooth module (neither of which is shown). Therefore, in embodiments where only respiratory failure is detected and reactive actions are taken, the gas sensor 222 and one or more PSG sensors 223 may not be included in the integrated breathing assistance device controller 250.
[0112] The breathing assistance device controller 250 has a housing 252 having a first end 252a and a second end 252b. The end 252b can be mounted to the inspiratory tube 204 and the expiratory tube 204' via the tube connector 214. The end 252a can be attached to the breathing tube 208 using the tube connector 218' to provide ventilation to the user 210. It should be noted that the joint (i.e., the tube connector 214) connecting the inspiratory tube 204 and the expiratory tube 204' is inside the device 250, and the tube connector 218 is also inside the device 250. Therefore, in some embodiments, the breathing assistance device controller 206 can be regarded as an enhanced tube adapter to adapt, connect or join the breathing tube 208 to the inspiratory tube 204 and the expiratory tube 204'. However, it should be noted that when the breathing assistance device controller 250 is used with a CPAP machine, there is no expiratory tube 204', because in this case the exhaled air is discharged to the atmosphere.
[0113] Reference now Figure 4A, which shows a flowchart depicting an example embodiment of a sleep marker detection method 300 that can be used to obtain pressure and airflow measurements and use the measurements to determine a user / patient's respiratory marker determination to control the operation of a respiratory assistance device to stop or reduce the severity of the user's respiratory failure. In particular, the method 300 uses machine learning to identify people based on their unique breathing patterns and respiratory mechanics. This can be based on measuring airway pressure, airflow and / or measuring airway impedance using FOT. For ease of explanation, the elements depicted in the respiratory assistance system 200 will be used to describe the various steps of the method 300. For example, the method 300 can be implemented by the processor 228 of the respiratory assistance system 200. However, it should be understood that the technology can be used for an integrated respiratory assistance device controller 250 or other applicable devices.
[0114] Method 300 may begin when breathing assistance device 202 has been activated and is supplying airflow to user 210. Beginning at action 302, processor 228 may operate actuator 216 (e.g., a motor) to generate an oscillating pressure signal having one or more oscillation frequencies within a desired frequency range. For example, in some embodiments, the desired frequency range may be any frequency between about 0.01 Hz and about 1 THz. As previously mentioned, the oscillation may be a single frequency oscillation. However, in other embodiments, the oscillating pressure signal may include multiple oscillation frequencies (i.e., where the oscillation is not sinusoidal). As previously explained, action 302 may be performed continuously or on a periodic basis.
[0115] At act 304, sensors coupled to the breathing assistance device controller 206, such as the flow transducer 220 and the pressure transducer 221, respectively, measure the flow rate and pressure of the airflow (including disturbances) delivered to the user 210. The detected signals may be amplified by an amplifier 224 and, in this case, filtered by a bandpass filter 226, the center frequency of which corresponds to the oscillation frequency produced by the actuator 216. As also mentioned above, in some embodiments, the passband may be made narrow enough so that a notch filter may be used instead when a single frequency is used in the FOT measurement.
[0116] After the signal is processed by applying amplification and filtering, the processor 228 receives the processed signal for further processing and analysis. At action 306, the processor 228 can use the measured signal to determine the volume V (t) of the airflow and the mechanical impedance of the user's respiratory system over time. The volume V (t) can be determined as the integral of the measured flow rate signal plus a known deviation or constant volume. In order to determine the mechanical impedance, the processor 228 can apply a windowing function to the processed flow rate and pressure signal to help strengthen periodicity (i.e. reduce leakage in the frequency domain) and then perform Fourier transform (e.g., via fast Fourier transform (FFT)) on these signals in each window. In some embodiments, the signal can be windowed for a very short period of time, such as 1 / 6 second for a 6Hz single-frequency sinusoidal oscillation generated by the actuator 216. Under the uncertainty principle, a shorter period of time can result in a loss of frequency resolution and a gain in time resolution. Typically, a useful windowing period can correspond to the inverse of the maximum oscillation frequency used in the oscillating pressure signal to provide a short window that does not result in excessive frequency resolution loss. In other embodiments, the window can be longer, such as, for example, 4 seconds. It will be appreciated that due to the bandpass filtering, and due to the short windowing duration, it can be assumed that the signal is sufficiently stable. In some embodiments, a Hanning or Hamming type window may be used to further help enforce periodicity by reducing the signal amplitude near the window edge to reduce leakage in the frequency domain. In other embodiments, the windows may be overlapping windows (e.g., with a maximum overlap of approximately 50% between adjacent windows). In other embodiments, other types of windows may be suitable for use. For example, in some cases, a rectangular window may be used.
[0117] Still at action 306, after applying the windowing function, the Fourier transform of the pressure and flow rate in each time window can be used to obtain the average mechanical impedance Z in that time window. rs More specifically, the mechanical impedance can be expressed as the ratio between the Fourier transforms of the pressure and flow rate signals in each window:
[0118]
[0119] Where P(ω) is the FFT of the measured pressure signal, and Q(ω) is the FFT of the measured flow rate signal at an angular frequency ω=2πf, where f is the oscillation frequency for the FOT. By using the pressure and flow rate measured at the airway opening of the user 210, Equation 1 can be applied to determine the impedance.
[0120] Mechanical impedance Z rs is a complex number, whose real part corresponds to the breathing resistance (R rs), which is mainly due to the airflow resistance of the intrathoracic and extrathoracic airways, lung tissue, and chest wall of the user 210, and the imaginary part corresponds to the reactance (X) that can be generated by the elastic properties of the lungs and chest wall of the user 210 and the inertia of the oscillating air rs ). Therefore, the impedance can be described as the sum of the real part and the imaginary part, as shown in Equation 2.
[0121] Z rs (ω)=R rs (ω)+jX rs (ω) (2)
[0122] Parameter R rs (ω) and X rs (ω) can be characterized by fitting various respiratory models to the measured data to identify various respiratory system characteristics. For example, a commonly used model is the one-compartment model, where R rs (ω) can be assumed to be constant with frequency ω, so that Where E rs and l rs and may be idealized lumped elements representing the elasticity and inertia of the respiratory system, respectively. Thus, examples of respiratory system properties include reactance / elasticity and inertia.
[0123] It can also be noted that for a chosen oscillation frequency, the determination of the resistance and reactance in each time window yields a continuous function R with respect to time var (t) and X var (t). In the case where multiple frequencies are used in the FOT oscillation signal, the resistance and reactance for each frequency can be calculated separately as described above. var (t) and X var A separate time course behavior of (t) can be developed for each frequency considered for the analysis. Alternatively, one can var The average value of X is plotted against the oscillation frequency to examine the X at different frequencies. var The average value of R var This may also be done. It may be noted that there may be a single bandpass filter that may be configured to filter each frequency separately and sequentially, or there may be multiple bandpass filters, each tuned at a unique frequency from a set of oscillating frequencies that are simultaneously used to perform filtering (e.g., a comb filter). As previously mentioned, the volume V(t) may be determined as the integral of the flow velocity signal.
[0124] Still at action 306, the impedance determined according to equation (1) is calculated during the initial time period (t B ), such as, for example, about 1, about 2, about 5, or about 10 seconds, to obtain the impedance Z of the user's respiratory system. ref,w(t) that indicates a normal, healthy, functioning respiratory system. This can be done in different ways, and how the baseline weighted impedance Z is determined ref,w An example of (t) is to obtain a weighted measure according to equation (2):
[0125] Z ref,w (t)=[(R ref (t)*w R ) 2 +(X ref (t)*w x ) 2 ] 1 / 2 (2)
[0126] Among them, Z ref,w (t) is the baseline weighted impedance over a monitoring time period, such as, for example, approximately 10 seconds, but other time periods may be used, such as approximately 5 seconds, 20 seconds, and 60 seconds. When longer time periods are used, averaging may be used to reduce noise. For example, if the time used to collect data to determine a baseline measurement is approximately 60 seconds, six averages may be taken to obtain a baseline reading for a 10 second monitoring time period. The baseline weighted impedance value is determined during an initial monitoring time period when a user first begins using the breathing assistance device 202. The benefit of determining a baseline reading on a per-user basis is the personalized aspect. For example, two patients with the same body size (e.g., height and weight) and the same gender may still have two different breathing patterns and therefore will have different baseline weighted impedance values.
[0127] Parameter w R and w X are the weights applied to the resistance and reactance determined during the monitoring time interval, respectively. R and w X It may be determined based on the specific user, if they have a respiratory condition, such as asthma for example. One way the weights may be implemented is to have a table of weights for different diseases (i.e. respiratory conditions) and different severity levels for each disease (i.e. each respiratory condition). The weights may be determined from literature research, and then when a specific user has a respiratory condition, a specific weight for a given respiratory condition is used for that specific user. Alternatively, the weights may be determined on a per user basis by performing an initial assessment on the user.
[0128] This initial evaluation of the weight parameters may be made to determine which of resistance or reactance is more important for a particular user, and a weight may then be associated based on that determination. For example, based on the average X and average R measurements, a user may be classified as having a particular respiratory condition, such as, but not limited to, asthma, COPD, CF, or snoring (e.g., snoring may be detected as respiratory failure because snoring may be an alarm for impending airway closure). Based on the respiratory condition category, the relative weights of R and X for the user are determined using a lookup table or database based on data from a population with the same respiratory condition. As an example, among users classified as having asthma, R may be less than or equal to 0. ref The weight may be higher than X ref , while among users classified as having COPD, X ref The weight may be higher than R ref Thus, depending on whether the user has a particular breathing condition and a certain severity level for that particular breathing condition, a greater or lesser weight may be applied to the reactance relative to the weight applied to the resistance.
[0129] In an alternative embodiment, the baseline weighted impedance value can be re-determined at regular intervals after the initial baseline weighted impedance has been determined. For example, the baseline weighted impedance can be determined approximately every 5 minutes, 10 minutes, 30 minutes, 60 minutes, or longer. The frequency for determining the revised and latest baseline weighted impedance value can be determined based on whether the user suffers from a certain type of chronic respiratory condition. For example, if the patient suffers from severe sleep apnea, the first 5 minutes of sleep may be a good reference for the rest of the night. However, if the patient suffers from COPD or severe asthma, the weights can be determined before the patient falls asleep and more frequently, such as approximately every 5 minutes. This is due to the nature of the disease and the fact that asthma and COPD are small airway diseases, but sleep apnea is an upper airway disease.
[0130] It should be noted that in the case where the user 210 suffers from a chronic respiratory condition, then a baseline weighted impedance value may be determined for the user 210 immediately after the user has undergone some treatment and their respiratory system is functioning normally. Treatment may include inhaling medication from a blower, taking other medications, or receiving treatment from other devices to help dilate the airways and possibly loosen and expel mucus from their lungs. Alternatively, a baseline weighted impedance value may be obtained by using a standard breathing pattern expected for the user 210, which is based on a standard breathing pattern of a healthy population having comparable physiological characteristics to that of the user, such as weight (within + / - 10%), height (within + / - 10%), and gender. Alternatively, a baseline weighted impedance value may be obtained by using a standard breathing pattern and also performing some measurements after the user 210 has received treatment.
[0131] The method 300 then proceeds to act 310 of performing feature extraction. At this point, the breathing signature classifier 229c can obtain values of input features for the breathing signature machine learning model. These input feature values can be obtained from measured and / or calculated parameters. For example, in at least one embodiment, the input feature values can be determined based on measured air pressure and / or measured air flow rate. Alternatively, in at least one embodiment, the input feature values can be determined based on calculated airway impedance determined using single-frequency or multi-frequency FOT. Alternatively, in at least one embodiment, the input feature values can be determined from: (1) measured air pressure, (2) measured air flow rate; and / or (3) calculated airway impedance determined using single-frequency or multi-frequency FOT. When using single-frequency or multi-frequency FOT, the resistance (R) and reactance (X) measured by FOT at different oscillation frequencies can be used for classification. The oscillation frequency can be anywhere between about 0.01 Hz and about 100 MHz, and the R and X measured at different frequencies can be used together to classify the patient's breathing signature. It should be noted that if impedance, reactance and / or resistance are not used in feature extraction, then the FOT method may not need to be performed, action 302 need not be performed, and the air pressure and airflow rate can be measured while the patient is simply breathing without providing any disturbance signal. This also applies to action 310 performed for methods 350 and 400.
[0132] For example, now refer to Figure 4B-Figure 4E , which shows a graph of airflow and pressure measurements from a representative patient at different FOTs at frequencies of 4 Hz, 17 Hz, 43 Hz and 79 Hz, respectively, and real-time calculations of resistance and reactance. The measured data shows episodes of obstructive sleep apnea (OSA) and central sleep apnea (CSA) in the patient. Figure 4B It can be seen that during the OSA event, the FOT-determined R at 4 Hz increases, while during the CSA event, the FOT-determined R at 4 Hz does not increase. Figure 4C It can be seen that during OSA, the FOT-determined R at 17 Hz increases, while during CSA events, the FOT-determined R at 17 Hz does not increase. The FOT-determined reactance X at 17 Hz decreases during OSA and increases during CSA. Figure 4D It can be seen that the reactance X determined by the FOT at 43 Hz decreases during OSA and increases during CSA. Figure 4E It can be seen that during OSA, the resistance R determined by the FOT at 79 Hz remains at the average value during OSA, but increases during CSA.
[0133] The features that can be used to obtain the input feature values from these measured or calculated values can be at least one of the features previously described when discussing the machine learning model 229f. Preferably, depending on the embodiment used, the input feature can be the PSD of the measured air pressure, the PSD of the measured airflow rate, and / or the PSD of the calculated airway impedance.
[0134] At action 312, a breathing signature machine learning model is applied to the extracted input feature values to determine a breathing signature. In one example embodiment, the breathing signature machine learning model can be a random forest classifier with 200 trees, and the input feature used is the PSD of the air flow rate measured when the FOT baseline data was obtained. For example, in at least one embodiment, the breathing signature machine learning model can use a random forest model in which different trees are used to distinguish the patient's breathing pattern characteristics during the first few nights of using the respiratory assistance device, and will classify with an accuracy rate of greater than 90% whether this is the same patient. For example, in at least one other example embodiment, it may be found that a particular feature has a higher weight than for other patients, and therefore the model will be further trained for a particular patient, which will be unique to that patient. In at least one alternative embodiment, a deep learning model may also be used.
[0135] For each of the three patients (depicted by circle, diamond, and triangle symbols), a total of 15 samples, a data set containing 5 different samples of baseline airflow data ((e.g., normal breathing) 60 seconds in length (with a sampling rate of 200 Hz)) was tested using the machine learning model and the input feature values described in action 312 to determine whether there were detectable differences in the PSD of the patient's baseline FOT flow data. Each sample was normalized so that its maximum value was equal to 1, and the PSD of each sample was calculated using the Welch method. The samples were stacked vertically to form a data matrix containing samples as rows and PSDs as columns. By convention, the data matrix was centered around the column means before applying PCA and PPA, as described below.
[0136] Reference now Figure 4F and Figure 4G , which shows an analysis of the test results using the first two scores obtained from applying principal component analysis (PCA) and projection pursuit analysis (PPA), respectively, when applied to the output of the respiratory signature machine learning model described in step 312. PCA is implemented using singular value decomposition, while PPA is implemented using a quasi-power algorithm. PCA analysis uses the variance of the data to explore high-dimensional data, but PPA searches for projections of interest by optimizing kurtosis. Figure 4F and Figure 4GDifferent clusters are shown corresponding to the different patients tested. It is important to note here that the test results are unsupervised and show a natural relationship between the samples in this case because the model was not trained at all and was not overfitted. PCA was used as an exploratory method to determine whether the breathing of different patients can be classified into different clusters, and the results in the figure clearly show this. Larger datasets and supervised learning models can be used to more accurately distinguish patients based on monitoring of breathing (such as measured pressure and airflow rate) and calculated airway impedance.
[0137] Reference now Figure 4H , which shows a plot of the accuracy of a patient breathing signature classifier versus the number of training days for training the classifier. The data was obtained by collecting 400-900 baseline samples per day from 18 patients. The input features of the patient breathing signature classifier were measured air flow rate and / or pressure. The classifier is based on a CNN and uses the same topology as the machine learning model used to predict the severity of sleep disruptions, but utilizes different parameter values based on the training completed.
[0138] At action 314, method 300 involves performing a breathing signature classification. For example, for a given breathing assistance device, there may be a user designated to use the device. The breathing signature of the user may be stored in the memory unit 229. When the user begins to use the breathing assistance device, the current patient breathing signature may be determined as described above. At action 316, the current patient breathing signature may then be compared to the stored patient breathing signature to determine whether the correct user is using the breathing assistance device.
[0139] If it is determined at act 316 that the current patient breathing signature is the same as the stored patient breathing signature, the method 300 may proceed to act 318 and the breathing assistance device may be used normally. However, if it is determined at act 316 that the current patient breathing signature is different from the stored patient breathing signature, the method 300 may proceed to act 320, where the processor of the breathing assistance device may issue a value for the control signal 212 to shut down the breathing assistance device and may optionally issue an alarm or may optionally send a report that the current user of the breathing assistance device is not the intended patient.
[0140] Reference now Figure 5, wherein a flow chart of an example embodiment of a breathing assistance control method 350 is shown, which utilizes patient sleep stage determination to adjust the settings of a breathing assistance device according to the teachings of this document. In particular, the method 350 uses machine learning to accurately determine the sleep stage based on measurements of the subject's breathing (e.g., pressure and flow) and / or measurements of airway impedance using FOT. For example, the method 350 can be used to determine various sleep stages, such as wakefulness, sleep stages 1-4, and REM (rapid eye movement) sleep. In order to perform sleep stage classification, a sleep stage model is developed using standard EEG (electroencephalogram) measurements, and then these results are associated with actual measured air pressure, airflow rate, and airway impedance measurements using FOT to determine a sleep stage machine learning model. For example, in addition to the breathing rate that varies in different sleep stages, the inventors have determined that there are other hidden features in airflow, pressure, R, and X that can be used to determine the sleep stage. For ease of explanation, the elements depicted in the breathing assistance system 200 will be used to describe the various steps of the method 350. For example, the method 350 can be implemented by the processor 228 of the breathing assistance system 200. However, it should be understood that the techniques may be used with the integrated breathing assistance device controller 250 or other suitable devices.
[0141] Method 350 shares many actions with method 300, including actions 302 and 304. It should be noted that action 306 is not required here, since a baseline reference impedance value need not be used, but action 308 is performed to determine a variable reference impedance in real time.
[0142] At act 308, while the breathing assistance device 202 is implementing the method 350, a weighted impedance Z is performed. var,w Specifically, at action 308, the current weighted impedance Z of the current monitoring period is var,w (t) is determined according to equation (3):
[0143] Z var,w (t)=[(R var (t)*w R ) 2 +(X var (t)*w x ) 2 ] 1 / 2 (3)
[0144] It can be seen that equation (3) is similar to equation (2) in that the same weights are applied, but this is for R in the current time period. var (t) and X var (t) is performed. It should be noted that the weight w R and w XThere may be a difference in determining respiratory landmarks and predicting apnea.
[0145] However, the feature extraction performed for method 350 at act 401 may be different from the feature extraction performed in method 300 because the sleep stage classification machine learning model of method 350 may use different measurements and different features. For example, in at least one embodiment, the input feature value may be determined from at least one of a measured air pressure and a measured air flow rate. Alternatively, in at least one embodiment, the input feature value may be determined from a calculated airway impedance determined using a single-frequency or multi-frequency FOT. Alternatively, in at least one embodiment, the input feature value may be determined from other PSG data such as EEG data. For example, the EEG signal may be used to label the data as different sleep stages (i.e., grades), and then the air pressure, airflow rate, and reactance and resistance measured from the FOT may be used for classification. Alternatively, in at least one embodiment, the input feature value may be determined from a combination of: (1) (a) measured air pressure and / or (b) measured air flow rate; (2) using a calculated airway impedance determined using a single-frequency or multi-frequency FOT; and (3) using other PSG data, such as the EEG data described above. When using a single or multi-frequency FOT, the resistance (R) and reactance (X) obtained from the FOT measurements at different oscillation frequencies can be used for classification. The oscillation frequency can be anywhere between about 0.01 Hz to about 100 MHz, and the R and X measured at different frequencies can be used together to classify the patient's breathing signature.
[0146] At action 352, method 300 involves applying a sleep stage machine learning model to determine the patient's current sleep stage, which may be awake, sleep stages 1-4, and REM (rapid eye movement) sleep. The sleep stage machine learning model can be implemented using a random forest, a logistic linear model, a K-nearest neighbor algorithm, a feature-based dissimilarity space classifier (FDSC), a neural network including a CNN or a recurrent neural network (RNN), a support vector machine, or deep learning. At action 354, the output of the sleep stage machine learning model is used to determine a sleep stage classification index (Kss) ranging from 0 to 5 by assigning 0 to the awake stage, 1 to sleep stage 1, 2 to sleep stage 2, 3 to sleep stage 3, 4 to sleep stage 4, and 5 to the REM stage.
[0147] Various actions may then be performed after determining the sleep stage classification index. For example, in at least one embodiment, at action 356a, the sleep stage classification results may be stored along with the measured respiration data to monitor how breathing disorders affect breathing based on the patient's sleep stages. Alternatively, in at least one embodiment, at action 356b, the sleep stage classification results may be used together with the measured respiration data to diagnose a breathing disorder. Alternatively, in at least one embodiment, at action 356c, the sleep stage classification results may be recorded in a report for a patient or user of a respiratory assistance device.
[0148] Alternatively, in at least one embodiment, at action 356d, a sleep stage classification index may be incorporated into intervention / prevention of respiratory failure. For example, a sleep stage classification index (Kss) may be used in one of methods 450, 500, or 600. As another example, if it is determined that the patient is in the REM sleep stage, an OSA event is at its worst, the confidence of a prediction algorithm (e.g., method 500 or 600) predicting respiratory failure increases, and intervention (e.g., an increase in pressure provided by a respiratory assistance device to prevent an apnea event) may be applied more confidently. Alternatively, if it is determined that the patient is in sleep stage 1, and a prediction of respiratory failure has occurred, this is likely a false positive because respiratory failure events, such as sleep apnea, are unlikely to occur in sleep stage 1.
[0149] It should be noted that in some embodiments, any one, two, or three of actions 356a through 356d may be optional.
[0150] Reference now Fig. 6A , wherein a flow chart of an example embodiment of a breathing assistance control method 400 is shown that utilizes predictions of sleep disruption severity to adjust settings of a breathing assistance device in accordance with the teachings herein. In particular, the method 400 employs machine learning to predict sleep disruption severity based on measurements of a subject's breathing (e.g., pressure and flow) and / or measurements of airway impedance using FOT.
[0151] For example, method 400 can employ machine learning to construct a real-time predictive model of the severity of airway obstruction events based on measurements of the subject's breathing (e.g., pressure and flow) and / or measurements of airway impedance using FOT. The determined airway impedance (using FOT) can be used to improve the distinction between obstructive and central sleep apnea events. Obstructive apnea is due to airway obstruction, and an increase in pressure can prevent or eliminate it. Central apnea refers to when there is no effort to breathe and there is no airway obstruction. When used with a positive airway pressure (PAP) machine, the predictive ability of the sleep interruption severity machine learning model to distinguish between obstructive and central sleep apnea can be used to determine whether to generate a control signal to control the breathing assistance device 202 to intervene and remove the obstruction or whether the PAP setting should remain as is. In addition, power spectral density calculations of airway impedance can be used to improve the accuracy of the predictive sleep interruption severity machine learning model.
[0152] For ease of explanation, the elements depicted in the breathing assistance system 200 will be used to describe the various steps of the method 350. For example, the method 400 may be implemented by the processor 228 of the breathing assistance system 200. However, it should be understood that such techniques may be used on the integrated breathing assistance device controller 250 or other suitable devices.
[0153] Method 400 shares many actions with method 350, including actions 302, 304, and 308. As with method 350, it should be noted that for method 400, action 306 is not required because a baseline reference impedance value need not be used, but action 308 is performed to determine a variable reference impedance in real time.
[0154] However, the feature extraction performed for method 400 at act 401 may be different from the feature extraction performed in method 300 or method 350 because the predictive sleep disruption severity machine learning model of method 400 may use different measurements and different features. For example, in at least one embodiment, the input feature value may be determined from measured air pressure and / or measured air flow rate. Alternatively, in at least one embodiment, the input feature value may be determined from a calculated airway impedance determined using a single-frequency or multi-frequency FOT. Alternatively, in at least one embodiment, the input feature value may be determined from a combination of: (1) (a) measured air pressure and / or (b) measured air flow rate; and (2) calculated airway impedance determined using a single-frequency or multi-frequency FOT. When using a single-frequency or multi-frequency FOT, resistance (R) and reactance (X) obtained from FOT measurements at different oscillation frequencies may be used for classification. The oscillation frequency may be anywhere between about 0.01 Hz and about 100 MHz, and the R and X measured at different frequencies may be used together to classify the patient's breathing markers.
[0155] At action 402, method 400 involves applying a predictive sleep disruption severity machine learning model to predict the severity of an upcoming sleep disruption event, such as obstructive sleep apnea or central sleep apnea. This includes distinguishing the duration of these events. In at least one embodiment, the accuracy of the predictive sleep disruption severity machine learning model can be improved by taking a base model and adding personalization for each patient. For example, the base model can be a model trained on a general population. Elsewhere, the base model can be basic breathing, which is healthy breathing. When a particular patient begins using a respiratory assistance device that uses a machine learning model for respiratory signature classification, a respiratory signature with, for example, 90% accuracy can be formed based on a generalized model. However, as the patient continues to use the device, the respiratory signature classification machine learning model learns and adjusts the features used for that particular patient, which increases the accuracy of the patient's respiratory signature classification to nearly 100%. This also applies to prediction, severity, and sleep stages. These additions can be done when measuring data from several nights of a particular patient.
[0156] At action 404, the output of the predictive sleep interruption severity machine learning model is used to determine a predictive sleep interruption severity index (Ksd) that varies from 0 to 1 or can be indicated as a level #. For example, for an index that varies from 0 to 1, the sleep interruption severity machine learning model can output 1 of N different levels of sleep interruption severity, where level 1 has the lowest severity and level N has the highest severity, where N is an integer. The predictive sleep interruption severity index can then be determined by dividing the level number provided by the predictive sleep interruption severity machine learning model by N. Alternatively, the predictive sleep interruption severity index can be the level # itself.
[0157] Various actions may then be performed after determining the predictive sleep interruption severity index. For example, in at least one embodiment, at action 406a, the predictive sleep interruption severity index may be recorded in a report of a user or patient of the respiratory assistance device 202. Alternatively, in at least one embodiment, at action 406b, the predictive sleep interruption severity index may be incorporated into the intervention / prevention of respiratory failure to adjust the operation of the respiratory assistance device 202. For example, the predictive sleep interruption severity index (Ksd) may be used in one of the methods 450, 500, or 600. For example, one of the methods 500 or 600 may predict that sleep apnea will occur soon, and the predictive sleep interruption severity index may be used to determine how much pressure to increase to prevent a sleep apnea event from occurring. Therefore, if the sleep interruption severity index is at a lower value (e.g., severity level 1), the PAP pressure may only need to be increased by 0.5 cmH2O. However, if the sleep interruption severity index is at a slightly higher level (e.g., severity level 2), the PAP pressure must be increased by a larger amount, such as, for example, increasing the pressure by 1 cmH2O, and so on.
[0158] Alternatively, another way to determine the predicted sleep interruption severity index is based on the length of the predicted apnea event. For example, in the case of sleep apnea, the predicted sleep interruption severity index for sleep apnea can be classified in a manner such as: Level 1: sleep apnea lasting less than 5 seconds; Level 2: sleep apnea lasting between 5 and 10 seconds; Level 3: sleep apnea lasting between about 10 and 15 seconds; and Level 4: sleep apnea event lasting more than 15 seconds. For example, now referring to Figure 6B , which shows a graph of flow, pressure, resistance, and reactance signals measured for a patient, showing an example of two sleep apnea events of different grades, where the first sleep apnea event (SAE-1) is grade 2 and the second apnea event (SAE-2) is grade 4.
[0159] As another example, in other respiratory failure cases in other respiratory diseases, the definition of the intensity of the predicted sleep disruption severity index may change. For example, in COPD, the predicted sleep disruption severity index may represent the severity of expiratory flow limitation (EFL), which can be determined based on how quickly the expiratory flow plateaus. This can also be extracted from the measured R and X using the FOT method.
[0160] Referring now to FIG6C , there is shown a prediction signal determined before and during an example obstructive apnea event experienced by an actual patient. The curve 420 representing the predicted probability of normal breathing is close to 1 at the beginning, while the curve 422 representing the probability of obstructive apnea is close to zero. At some point (in this case, a probability of 0.5), the two probability curves cross and predict an obstructive apnea.
[0161] Referring now to FIG. 6D , therein are shown actual respiration measurements corresponding to the predicted signal of FIG. 6C before and during an example obstructive apnea event experienced by a patient. The patient's respiratory flow rate is shown using background colors corresponding to the probability curves in FIG. 6C . Thus, background color 420c represents normal breathing, while background color 422c represents breathing associated with an obstructive apnea event. It can be seen that early on the background color changes from blue (420c) to orange (422c), reflecting that the probability of an obstructive apnea has increased. It is also shown that in a normal commercial CPAP machine used by this particular patient, an obstructive apnea is labeled 424t (detected) 20-30 seconds after the obstructive apnea event was predicted using the techniques described in accordance with the teachings herein.
[0162] Referring now to FIG6E , there is shown a prediction signal determined before and during an example central apnea event in an actual patient experience. The curve 430 (blue) representing the predicted probability of normal breathing is close to 1 at the beginning, while the curve 432 (green) representing the probability of central apnea is close to zero. At some point (in this case a probability of 0.5), these two probabilities cross and predict a central apnea.
[0163] Referring now to FIG. 6F , there is shown actual respiratory measurements corresponding to the predicted signal of FIG. 6E before and during an example central apnea event experienced by a patient. The patient's respiratory flow rate is shown, with the background color corresponding to the curve of probability in FIG. 6E . Thus, background color 430c represents normal breathing, while background color 432c represents breathing associated with a central apnea event. It can be seen that early on the background color changes from blue (430c) to green (432c), reflecting that the probability of a central apnea has increased. It is also shown that in a conventional commercial CPAP machine used by this particular patient, a central apnea is labeled 434t (detected) 30-40 seconds after we make a prediction of an obstructive apnea event using the techniques described in accordance with the teachings herein.
[0164] Reference now Figure 7, which shows an example embodiment of a breathing assistance control method 450 that utilizes at least one of a sleep stage classification index and a predicted sleep interruption severity index and respiratory failure detection to adjust settings of a breathing assistance device in accordance with the teachings herein. For ease of explanation, the elements depicted in the breathing assistance system 200 will be used to describe the various steps of the method 450. For example, the method 450 may be implemented by the processor 228 of the breathing assistance system 200. However, it should be understood that the technology may be used with an integrated breathing assistance device controller 250 or other applicable devices.
[0165] Method 450 combines previously explained actions 302 to 308. At action 452, method 450 calculates the weighted impedance Z based on the baseline. ref,w (t) and the current weighted impedance Z var,w (t) determines the value of the time-varying respiration index K(t) (i.e., the respiration index signal). For example, the time-varying respiration index K(t) can be based on the current weighted impedance Z var,w (t) relative to the baseline weighted impedance Z ref,w (t), an example of which is shown in Equation 4:
[0166]
[0167] The respiration index signal K(t) is normalized to 1. It should be noted that the above method for determining the value of the index K(t) is provided as an example, and in alternative embodiments, other methods may be used to determine the index K(t). For example, Z var,w (t) relative to Z ref,w The index K(t) is determined by the normalized sum standard deviation of Z(t). Alternatively, other statistical methods can be applied to determine / track Z var,w (t) relative to Z ref,w (t) changes.
[0168] Action 452 also includes determining a sleep stage classification index over time (i.e., Kss(t)) and / or a predicted sleep disruption severity index over time (i.e., Ksd(t)). Method 450 then combines these indices. This combination can be accomplished by comparing each index to its own corresponding threshold value, which can be obtained from a threshold value table defined for detecting respiratory failure conditions using these corresponding indices based on experimental or population data, and presenting an overall threshold comparison confirmation to obtain a result with increased confidence by including Kss(t) and / or Ksd(t).
[0169] It should be noted that each exponential signal K(t), Kss(t) and Ksd(t), although time-dependent, is actually a value at a discrete time point, where each time point corresponds to a specific monitoring period depending on the window size and window overlap.
[0170] For example, K(t) can be compared to a threshold value Th, and if passed, Kss(t) can be compared to its sleep stage threshold and / or Ksd(t) can be compared to its own sleep interruption severity threshold to confirm that the comparison of K(t) with its threshold is a valid pass. Alternatively, all three indices can be combined according to a mathematical mapping function and then compared to an index determined based on a threshold table defined for detecting each respiratory failure condition based on experimental or population data while performing the same mathematical mapping. For example, the mathematical mapping can be K,ss(t) = K(t)*Kss(t) or K,sd(t) = K(t)*Ksd(t) or K,ss,sd(t) = K(t)*Kss(t)*Ksd(t). Alternatively, instead of combining by multiplication, the combination may be by a weighted sum, such as K,ss(t)=K(t) / (K(t)+Kss(t))+Kss(t) / (K(t)+Kss(t)), as an example, or by an average, such as K,ss(t)=(K(t)+Kss(t)) / 2. Alternatively, another mathematical mapping function may be used.
[0171] Thus, the combined index is used to detect (or predict as in method 500 or 600) respiratory failure and can be used to customize therapy (i.e., adjust the settings of the breathing assistance device according to the needs of the user). For example, if the comparison of the combined index to one or more thresholds indicates a pass, this indicates that the user 210 is not experiencing any respiratory failure or that there has been no significant change in the user's respiratory health. In this case, the method 450 proceeds to action 456, where the current settings of the breathing assistance device 202 are maintained.
[0172] However, if the comparison of the combined indices indicates that respiratory failure is occurring or is predicted to occur, the user 210 may be experiencing respiratory failure or there has been some other significant change in their respiratory health during the current monitoring time period. In this case, the method 450 proceeds to action 458, where the settings of the respiratory assistance device 202 are changed so that the user's respiratory health is improved and they are no longer experiencing the respiratory failure they were previously experiencing. The adjustments can be made in a variety of ways. The actual manner in which the operation of the respiratory assistance device 202 is adjusted can depend on the user's baseline respiratory health. The amount of adjustment can also be based on the value of the predictive sleep disruption severity index. The amount of adjustment can also be determined based on test results obtained from experimental data of actual user data, which is used to create an adjustment factor that can be accessed in a lookup table. In addition, previous data obtained from the patient (e.g., data collected from the user's previous PAP machine) can be used to adjust the parameters.
[0173] After method 450 has performed act 456 or 458, method 450 proceeds to act 460, where it is determined whether method 450 should remain in operation. If the condition at act 460 is true, method 450 proceeds to act 462 and ends. If the condition at act 460 is not true, method 450 proceeds to act 304 and continues to obtain sensor values, monitor the current weighted impedance, generate index values and compare them to one or more thresholds to determine when user 210 is experiencing or is expected to experience respiratory failure, and if so, update the operation of breathing assistance device 202 to reduce or stop respiratory failure.
[0174] Reference now Figure 8 , which shows a flow chart depicting an example embodiment of a breathing assistance control method 500 that can be used to obtain pressure and airflow measurements and at least one other physiological measurement and use the measurements to predict when a user will experience respiratory failure, and also combine a sleep stage classification index and / or a predicted sleep disruption severity index to take proactive actions to control the operation of the breathing assistance device 202 to prevent the predicted respiratory failure from occurring. As shown in Figure 7 In the description of the present invention, for ease of explanation, the elements depicted in the respiratory assistance system 200 will be used to describe the various steps of the method 500 for making predictions. For example, the method 500 can be implemented by the processor 228 of the respiratory assistance system 200. However, it should be understood that the technology can be used in the integrated respiratory assistance device controller 250 or another applicable device.
[0175] When the breathing assistance device 202 is activated, the method 500 begins in a manner similar to the method 450 and supplies airflow to the user 210. Action 502 is the same as action 302 for performing FOT, and action 504 is similar to action 304 in that sensors (such as flow transducer 220 and pressure transducer 221) are used to measure the flow rate and pressure of the airflow (including disturbances) sent to the user 210, respectively, and these measured signals are pre-processed in a manner similar to the signals obtained at action 304. However, action 504 differs from action 304 in that action 504 also includes obtaining at least one PSG signal represented by XX. The PSG signal XX includes: (a) CO2, O2 and / or some other gas in the user's exhaled breath, (b) the user's ECG (i.e., brain activity), (c) the user's EOG (i.e., eye movement), and / or (d) the user's EMG (i.e., skeletal muscle activity). These signals can be measured as described above. In addition to the measurements of respiratory flow and pressure, one or more PSG signals are now used to predict respiratory failure. This is in contrast to conventional methods in which only measurements of respiratory flow and pressure are used to detect respiratory failure. Figure 7 In contrast to method 450 .
[0176] After processing the signal by applying amplification and filtering, the processor 228 receives the processed signal for further processing and analysis. At act 506, the processor 228 can determine the volume of airflow V(t) and the mechanical impedance of the user's respiratory system over time, as described in act 406 of method 450 - in terms of analyzing the data using a window and frequency transform to obtain the average mechanical impedance Z within various time windows of the analyzed data. rs And the resistor R rs (t) and reactance X rs Action 506 also determines the weight parameters w for resistance and reactance, respectively. R and w X , the baseline weighted impedance Z in various time windows of the data analyzed in a similar manner as described for action 306 ref,w (t) and the current weighted impedance Z var,w (t). However, act 506 differs from act 306 in that act 506 also includes determining a baseline weighted PSG signal XX of an additional physiological and / or neural signal XX ref,w (t) and the current weighted PSG signal XX var,w (t). When at least two PSG signals are used to determine a baseline weighted PSG signal XX ref,w (t) and the current weighted PSG signal XX var,w(t), these PSG signals are combined in some manner. For example, since there are multiple time series data streams, the cross-correlation, cross-spectral density, or coherence of the data stream pairs can be determined, thereby providing a richer analysis mode because this will indicate the relationship between the data stream pairs. For example, in some embodiments, the coherence between pressure and flow data can produce a value between 0 and 1, which can be used as time series data that can be used for further analysis.
[0177] The method 500 then proceeds to act 508, where the current weighted impedance Z is performed while the method 500 is being implemented by the respiratory assistance device 202. var,w (t) and the current weighted PSG signal XX var,w (t) is continuously monitored until the method ends at act 520. The current weighted impedance Z var,w (t) can be obtained according to equation (3). The current weighted PSG signal XX var,w (t) Use and XX ref,w (t) The same equation is obtained, except that the calculation is done using data from the current time window.
[0178] Action 508 also includes determining the values of a first time-varying index K1(t) (i.e., a first index signal) representing a respiratory state and a second time-varying index K2(t) (i.e., a second index signal) representing a PSG state. For example, the first index K1(t) can track the deviation of the current weighted impedance relative to the baseline weighted impedance according to equation (5). The second index K2(t) can track the deviation of the current weighted PSG signal relative to the baseline weighted PSG signal according to equation (6).
[0179]
[0180]
[0181] Equations (5) and (6) are provided as examples, and there may be other techniques for determining the indexes K1(t) and K2(t). Based on equations (5) and (6), K1(t) and K2(t) are normalized to have amplitudes less than or equal to 1. In other embodiments, other equations may be used instead of equations (5) and (6) to determine the index signals K1(t) and K2(t). Action 508 also includes determining Kss(t) and Ksd(t) as described for action 452.
[0182] The method 500 then proceeds to act 510, where the first index signal K1(t) and the second index signal K2(t) are combined to generate a respiration index signal K 12 (t). Exponential signal K 12(t) is a combination of the weighted influence of the varying impedance measurement and another PSG measurement. For example, K1 can be an impedance measurement and K2 can be an EEG measurement, both of which are useful in creating K 12 (t) is considered. This combination can be done according to equation (7a) or equation (7b).
[0183] K 1,2 (t) = K1(t)*K2(t) (7a)
[0184] K 1,2 (t)=K1(t) / (K1(t)+K2(t))+K2(t) / (K1(t)+K2(t)) (7b)
[0185] Alternatively, another technique can be used to combine K1(t) and K2(t) into K 1,2 (t). Respiratory index K 1,2 The difference between the respiratory index K(t) and the respiratory index K(t) is that 1,2 (t) is used for prediction of respiratory failure, while the respiratory index K(t) is used for detection of respiratory failure. Action 510 also involves performing one or more thresholds and K using the techniques described for method 450 at action 452. 1,2 (t) and a combination of Kss(t) and / or Ksd(t) are compared and a pass or fail is determined, which is then considered at action 512 to determine the next action.
[0186] If passed at action 512, this indicates that the user 210 is unlikely to experience respiratory failure in the near future (e.g., in the next tens of seconds to a minute or so). In this case, the method 500 proceeds to action 514, where the current settings of the breathing assistance device 202 are maintained.
[0187] However, if there is a failure at act 512, then it is predicted that the user 210 may experience respiratory failure in the upcoming future (e.g., within the next tens of seconds to a minute or so). In this case, the method 500 proceeds to act 516, where the settings of the breathing assistance device 202 are changed to reduce the likelihood that the user 210 will experience the predicted respiratory failure. The adjustment can be made in a variety of ways. For example, the amount of adjustment can be based on the value of the predictive sleep disruption severity index, and the amount of adjustment can be determined using experimental data as explained previously.
[0188] After method 500 has performed act 514 or 516, method 500 proceeds to act 518, where it is determined whether method 500 has completed operation. If the condition at act 518 is true, method 500 proceeds to act 520 and ends. If the condition at act 518 is not true, method 500 goes to act 504 and continues to obtain sensor values, monitor the current weighted impedance and the current weighted PSG, generate two index values K1(t) and K2(t) and combine them into a respiratory index signal K 1,2 (t), generate Kss(t) and / or Ksd(t) and compare them with K 1,2 (t) and Kss(t) and / or Ksd(t) are combined and compared to predict when the user 210 may soon experience respiratory failure and to update the operation of the breathing assistance device 202 to avoid the predicted respiratory failure.
[0189] The weight parameter (w r and w X ) may reflect a particular portion of the reactive / elastic portion of the user's respiratory system that is distanced from or deviates from the elastic portion and instead affects the resistive portion (e.g., sometimes because of other factors involved such as the fact that resistance and elasticity themselves vary sinusoidally with breathing, the product of the sinusoidal elasticity and the sinusoidal volume may change the phase of the partial elasticity to be in phase with the airflow and therefore more resistive). The result of this deviation may be distressing to the user 210 because it may physically manifest as an obstruction of their airway or profound distress to their respiratory system due to various factors including, but not limited to, derecruitment of certain lung regions, increased heterogeneity in the user's lungs, and / or the presence of fluid in the user's lungs. As such, the determined parameters may therefore be used to perform: (a) tuning the respiratory assistance device 202 to minimize respiratory failure; diagnosing or identifying the presence of a respiratory disease; and / or (b) operating the respiratory assistance device 202 to obtain a therapeutic outcome, for example, with respect to adjusting operating parameters of the respiratory assistance device 202, such as the pressure, flow rate, and / or moisture of the generated airflow, to assist a COPD patient in breathing or expectorating.
[0190] Reference now Fig.9A , which shows a flow chart depicting another example embodiment of a breathing assistance control method 600 that can be used to obtain pressure and airflow measurements to use the measurements together with a sleep stage classification index Kss(t) and / or a predicted sleep disruption severity index Ksd(t) to predict when a user 210 will experience respiratory failure and take proactive actions to control the operation of the breathing assistance device 202 to prevent the predicted respiratory failure from occurring. As shown in Figure 7 and Figure 8In the description of methods 450 and 500, for ease of explanation, the elements depicted in the breathing assistance system 200 will be used to describe the various steps of method 600. It should be understood that method 600 can be performed by processor 228. However, it should be understood that the technology can be used in integrated breathing assistance device controller 250 or other applicable devices.
[0191] When the breathing assistance device 202 is activated and is supplying airflow to the user 210, the method 600 begins in a similar manner to the methods 450 and 500. Action 602 is the same as actions 452 and 502 for performing FOT, but it should be noted that action 602 may be optional when the physiological parameters used to predict respiratory failure do not require FOT technology in order to be measured. For example, the physiological measurement results that can be used with the method 600 can be flow rate, pressure and / or tidal volume, in which case the FOT method is not required and action 602 can be skipped. Alternatively, the physiological measurement results that can be used with the method 600 can also be resistance, reactance and / or impedance, in which case the FOT method of action 602 is performed.
[0192] Action 604 may be slightly different than action 304 in that it may include receiving only one of the pressure and flow signals instead of both, depending on the physiological parameters used to perform the prediction of respiratory failure. For example, if pressure is used to predict respiratory failure, only the pressure signal is measured and received. Alternatively, if physiological parameters such as resistance, reactance, and / or impedance are being used to predict respiratory failure, both the flow rate and the pressure signal are measured and received at action 604. In each of these cases, the signals may be measured as previously described.
[0193] After processing the signal by applying amplification and filtering as needed, as previously described, the processor 228 receives the processed signal for further processing and analysis. At act 606, the processor 228 determines a specific time period (t B ) within the physiological parameters (Ph C ), such as about 1 second, about 2 seconds, about 5 seconds, or about 10 seconds before respiratory failure occurs. This can be determined by: performing a sleep study on the user 210; collecting a plurality of time segmented data for determining a physiological parameter, wherein each time segment includes a baseline time period before a respiratory event occurs; determining a baseline attribute value for an attribute of the physiological parameter, and then determining a current attribute value for the attribute during actual use, and comparing the current attribute value to the baseline attribute value to determine whether there is a sufficiently large change to predict that respiratory failure may be imminent.
[0194] The inventors have previously determined that the determination made at act 606 can be used to predict impending respiratory failure based on sleep study data obtained from patients, including: a first study of 10 patients with severe sleep apnea using data from a CPAP memory card, the 10 patients including 8 males and 2 females, with an overall average age of 53 years; and a second study using data from 7 hospital patients, all of whom were males, had severe sleep apnea, and had an overall average age of 51 years. For the second study group, all data were recorded on a single night, so the number of sleep apnea events for the patients in the second study group was lower than the number of sleep apnea events in the data obtained from the CPAP memory card; however, the data from the second study group included FOT data from FOT tests that were performed continuously during a night of testing. Although all data had sleep apnea events, it is believed that these findings apply to other types of respiratory failure. This is because it is generally found that there are significant differences in the spectral density characteristics of signals recorded before respiratory failure occurs compared to signals recorded when breathing is healthy under different types of respiratory conditions. For example, this is found in both airflow data and impedance data of patients with sleep apnea, as well as other patients with other respiratory conditions such as expiratory flow limitation associated with COPD.
[0195] In all of the examples given above, the relative power density is determined over a time window of about 0.1 to about 60 seconds for certain data. Longer time windows are useful for situations where the data is noisy. The time-varying index K3(t) is then determined based on the relative power spectral density at action 608, and then combined with Ksd(t) and / or Kss(t) at action 609 to perform a combined comparison as previously described for action 452 of method 450, and the pass or fail result of the combined comparison can then be checked and combined at action 610. If the combined comparison indicates that an impending respiratory failure event is unlikely, method 600 proceeds to action 612, where the operating parameters of the respiratory assistance device 202 remain unchanged. Otherwise, if the comparison indicates that an impending respiratory failure event may occur, method 600 proceeds to action 614, where the operating parameters of the respiratory assistance device 202 are adjusted (as explained previously) to avoid or reduce the likelihood that respiratory failure will occur. The amount of adjustment can be based on the value of the predictive sleep disruption severity index as described previously.
[0196] It should be noted that at action 608 of determining the power spectral density, this can be done in a variety of ways. For example, the Welch method can be used to decompose the power spectral density of the recorded signal. As described, by comparing the power spectral density at a time point away from respiratory failure with a time point at which a respiratory failure event is about to occur, the power of some frequency components continues to decrease about 30 seconds before the respiratory failure event occurs.
[0197] In another example embodiment, a fast Fourier transform may be used to obtain power spectral density values. Alternatively, a constant Q transform may be used, which may be advantageous because the power of the recorded data tapers approximately following a 1 / f scaling law, and therefore the absolute power is much lower at higher frequencies, making relative changes in power highly variable. Using a parameterization that is the logarithm of the frequency (such as a constant Q transform) may provide a more stable power estimate because the power will be spaced logarithmically (rather than linearly as in the FFT method).
[0198] Referring now to 9B , there is shown a correlation plot between the predicted duration / intensity and the actual true duration / intensity of apnea events. These data were obtained over a period of 4,290 nights from 25 patients. The machine learning model employed was a random forest model consisting of an ensemble of 1,000 decision trees, each trained on a random bootstrap of 21,772 training samples (each decision tree was sampled with replacement 21,772 times). The input features that may be used may be similar to those in the description of machine learning model 229f . The model was trained to minimize the mean squared error of the predicted apnea duration. Validation was performed using 931 nights of retained data containing 5,088 obstructive apneas, and a mean absolute error of 2.72 s was obtained. Approximately 31.2% of the variation in apnea duration can be explained by using the following equation:
[0199] explained_variance=1-Var(y-y_predicted) / Var(y) (8)
[0200] The explained variation measures the proportion of variation explained by the mathematical model. Fig. 9B The straight line in is the best fit line showing the correlation between the output of the model and the true value.
[0201] It should be noted that in the various detection and prediction methods described herein, the XX, R var , X var , XX var and Ph c Signal uses other weighted measurements, and Z var,w , Z ref,w , XXvar,w , XX ref,w and Ph c Thus, the measures of baseline weighted impedance and current weighted impedance may be more generally referred to as baseline weighted respiratory state value and current weighted respiratory state value, each of which uses X var and R var Determined within the corresponding monitoring period.
[0202] As previously demonstrated by the inventors, on the other hand, at least one of the embodiments of the breathing assistance device controller and / or system described herein utilizing the breathing assistance device controller 206 can be further simplified by operating at a single frequency. Although known single-frequency FOT machines typically operate at a frequency close to breathing (e.g., 4-5 Hz), the various embodiments described herein can operate at a higher frequency, which allows the use of a smaller, lighter actuator 216, which enables the breathing assistance device controller to have lower power consumption, more accurate signal processing, and a smaller footprint, making it easier to use in series with existing breathing assistance devices. This is because higher frequencies are not similarly contaminated by breathing noise, resulting in a higher signal-to-noise ratio (SNR). Therefore, the required oscillation amplitude of the air pressure disturbance sent to the user 210 becomes smaller and can be provided by a smaller, lighter and potentially cheaper actuator. In addition, the use of higher frequency oscillations also reduces the discomfort experienced by users (e.g., patients) from sensing vibrations in the airflow provided to them.
[0203] Although the applicant's teachings described herein are combined with various embodiments for illustrative purposes, it is not intended to limit the applicant's teachings to such embodiments, because the embodiments described herein are intended as examples. On the contrary, the applicant's teachings described and illustrated herein include various alternatives, modifications and equivalents without departing from the embodiments described herein, the general scope of which is defined in the appended claims.
Claims
1. A controller for controlling the operation of a breathing assistance device for providing breathing assistance to a user, wherein the controller comprises: a memory unit comprising software instructions and parameters for at least one machine learning model and a sleep disruption severity predictor; as well as A processor electrically coupled to the one or more sensors, the processor being configured to perform measurements and generate control signals to control the breathing assistance device during a current monitoring period by: receiving sensor data obtained by the one or more sensors, the sensor data corresponding to a measurement of at least one airflow parameter of the user's airflow; obtaining, from the sensor data, measured air pressure data, measured air flow data, or measured air pressure data and measured air flow data during the current monitoring time period when the user uses the breathing assistance device; performing feature extraction on the measured air pressure data, the measured air flow data, or the measured air pressure data and the measured air flow data to obtain feature values; applying a predictive sleep disruption severity machine learning model to the feature values and determining a predictive sleep disruption severity index for the user using the sleep disruption severity predictor to predict the severity of an upcoming sleep disruption event; and A control signal of the breathing assistance apparatus is adjusted based at least on the predicted sleep disruption severity index.
2. The controller according to claim 1, wherein: The predictive sleep disruption severity index is generated as having a value or rating that indicates an amount of sleep disruption severity.
3. The controller according to claim 1, wherein: The predictive sleep disruption severity index is generated having a rating indicative of a length of a predicted sleep apnea event.
4. The controller according to claim 1, wherein: When the sleep interruption severity index is at a low value, the control signal of the breathing assistance device is configured to increase the air pressure from the breathing assistance device to the user by a first amount, and when the sleep interruption severity index is at a higher level, the control signal of the breathing assistance device is configured to increase the air pressure from the breathing assistance device to the user by a second amount, wherein the second amount is higher than the first amount.
5. The controller according to claim 1, wherein: The characteristic value is additionally determined from a calculated airway impedance which is determined using a single-frequency or multi-frequency forced oscillation technique FOT.
6. The controller according to claim 5, wherein: FOT data is measured and used to determine the predicted sleep disruption severity index.
7. The controller according to claim 1, wherein: The predictive sleep disruption severity machine learning model is initially based on a base model and updated with adjusted features for the user to improve accuracy.
8. The controller according to claim 1, wherein: The processor is configured to execute a breathing signature classifier that applies a breathing signature machine learning model to the feature values to determine a current breathing signature of the user.
9. The controller according to claim 8, wherein: The processor is configured to stop operation of the breathing assistance device when the current breathing signature does not match a stored breathing signature for a legitimate user of the breathing assistance device.
10. The controller according to claim 1, wherein: The processor is configured to: determining an index signal of the user; executing a sleep stage classifier that applies a sleep stage machine learning model to the feature values to determine a sleep stage classification index for the user; determining whether the user is experiencing respiratory failure or is predicted to experience respiratory failure based on the index signal, the sleep stage classification index, and the predicted sleep disruption severity index; and When the user is experiencing respiratory failure or is predicted to experience respiratory failure, the settings of the respiratory assistance device are changed so that the user's respiratory health is improved.
11. The controller according to claim 10, wherein: The processor is configured to determine whether the user is experiencing respiratory failure or is predicted to experience respiratory failure by comparing the sleep stage classification index and the predicted sleep interruption severity index with corresponding thresholds.
12. The controller according to claim 10, wherein: The processor is configured to determine whether the user is experiencing respiratory failure or is predicted to experience respiratory failure by combining the sleep stage classification index and the predicted sleep interruption severity index according to a mathematical mapping function to generate a combined index and comparing the combined index to a threshold.
13. The controller according to claim 10, wherein: The processor is configured to determine the index signal using a respiratory index signal based on a combination of a baseline weighted impedance and a current weighted impedance of a respiratory system of the user.
14. The controller according to claim 10, wherein: The processor is configured to determine the index signal based on a combination of a first time-varying index representing a respiratory state and a second time-varying index representing a polysomnographic (PSG) state.
15. The controller according to claim 14, wherein: The processor is configured to determine a second time-varying index representing a PSG state using at least one polysomnographic (PSG) signal, wherein the at least one polysomnographic (PSG) signal includes one or more of: (a) measurements of CO2, O2 and / or other gases in the user's exhaled breath; (b) the user's ECG signal; (c) the user's EOG signal; and / or (d) the user's EMG signal.
16. The controller according to claim 15, wherein: When the at least one polysomnographic (PSG) signal comprises at least two PSG signals, time series data of the at least two PSG signals are combined to determine a baseline weighted impedance and a current weighted impedance, wherein the combining is done using cross-correlation, cross-spectral density or coherence of pairs of data streams.
17. The controller according to claim 10, wherein: The index signal is determined from the relative power spectral density of the measured airflow or airway impedance within a time window of 0.1 to 60 seconds.
18. The controller according to claim 1, wherein: The respiratory assistance device includes a CPAP, APAP, BiPAP or PAP device, a respiratory therapy delivery device that assists the user in clearing their lungs and coughing up secretions, an anesthesia machine in an operating room OR, an intensive care unit ICU ventilator, or one of a home ventilator and oxygenator for COPD.
19. A system for providing breathing assistance to a user, wherein: The system comprises: A breathing assistance device that generates a gas flow that includes at least one pressure pulse or a continuous pressure flow rate; an inlet element coupled to the breathing assistance apparatus and configured to be worn by the user to provide the airflow to the user during use; and A breathing assistance device controller as defined in claim 1.
