RESCUE BREATHING DEVICE

20220023558 · 2022-01-27

    Inventors

    Cpc classification

    International classification

    Abstract

    A ventilation system for ventilation of a patient includes a patient interface device for attaching to the patient and a measuring and analysis device for measuring and analyzing breathing of the patient. The measuring and analysis device includes a connector housing defining a passage. A first portion of the connector housing is connected to the patient interface device. The measuring and analysis device further includes an air flow sensor and a pressure sensor disposed in the connector housing for measuring an air flow rate through the connector housing and a pressure in the connector housing respectively. The present device also includes a processor configured for data acquisition, data storage, data processing, and data output based on the air flow rate and the pressure, whereby the ventilation system is operable with real-time feedback based on the data output. A method for administering cardiopulmonary resuscitation is also provided.

    Claims

    1. A ventilation system for ventilation of a patient, comprising: a patient interface device for attaching to the patient; and a measuring and analysis device for measuring and analyzing breathing of the patient, the measuring and analysis device comprising: a connector housing defining a passage, a first portion of the connector housing connected to the patient interface device; an air flow sensor disposed in the connector housing for measuring an air flow rate through the connector housing; a pressure sensor disposed in the connector housing for measuring a pressure in the connector housing; a processor configured for data acquisition, data storage, data processing, and data output based on the air flow rate and the pressure; and an output device configured to output the data output, wherein the ventilation system is used in cardiopulmonary resuscitation (CPR) comprising delivering rescue breaths to oxygenate the blood and chest compressions to circulate the blood, wherein the measuring and analysis device is operable to differentiate the rescue breaths from the chest compressions; whereby the ventilation system is operable with real-time feedback based on data output from the processor.

    2. The ventilation system according to claim 1, further comprising a manual breath delivery device for delivering breaths to the patient, the manual breath delivery device connected to a second portion of the connector housing.

    3. The ventilation system according to claim 2, wherein the patient interface device is a face mask, and the manual breath delivery device is a self-inflating bag.

    4. The ventilation system according to claim 1, wherein the output device is a display attached to the processor for displaying the data output.

    5. The ventilation system according to claim 4, wherein the display is integrated into an existing monitor.

    6. (canceled)

    7. The ventilation system according to claim 1, wherein the processor is configured to time-stamp events for post-event analysis.

    8. The ventilation system according to claim 1, further comprising inline ports for suction, medications, or end-tidal CO.sub.2.

    9. The ventilation system according to claim 1, wherein the measuring and analysis device is operable to differentiate the rescue breaths from the chest compressions using a signal filtering technique to separate a frequency and an amplitude of changes in the air flow rate and the pressure related to air flow due to the rescue breaths from inadvertent airflow caused by the chest compressions.

    10. The ventilation system according to claim 9, wherein the signal filtering technique is selected from the group consisting of band pass filtering, Fast Fourier Transforms, phase averaging, and wavelet analysis.

    11. The ventilation system according to claim 9, wherein the ventilation system is used during cardiac arrest resuscitations.

    12. The ventilation system according to claim 9, wherein the measuring and analysis device is operable to enable synchronization between the rescue breaths and chest compressions by adjusting a timing, depth, and duration of the rescue breaths based on the frequency and the amplitude of changes in the air flow rate and the pressure such that the rescue breaths are delivered in a coordinated manner with the chest compressions.

    13. The ventilation system according to claim 3, wherein the measuring and analysis device is operable to evaluate respiratory parameters based on the air flow rate and the pressure, wherein the respiratory parameters are selected from the group consisting of baseline pressure, peak pressure, tidal volume, and exhalation volume, respiratory rates, minute ventilation, chest compression rates, chest compression depths, and chest compression fractions.

    14. The ventilation system according to claim 13, wherein the measuring and analysis device is operable to determine airway blockage and other abnormalities of rescue breaths based on the baseline pressure, tidal, and exhalation volumes.

    15. The ventilation system according to claim 13, wherein the measuring and analysis device is operable to determine a seal quality of the patient interface device based on the baseline pressure, tidal and exhalation volumes.

    16. The ventilation system according to claim 13, wherein the measuring and analysis device is operable to determine a quality of chest compressions based on the chest compression rates, chest compression depths, and chest compression fractions.

    17. The ventilation system according to claim 1, wherein the patient interface device is a mouth piece for a face mask, a supraglottic airway, an endotracheal tube, a tracheostomy tube, or other device used to deliver a rescue breath.

    18. The ventilation system according claim 1, wherein the measuring and analysis device includes a plug-and-play configuration.

    19. The ventilation system according to claim 1, wherein the measuring and analysis device is disposable.

    20. The ventilation system of claim 1, further comprising a filter or trap for filtering respiratory secretions over the air flow sensor and the pressure sensor.

    21. The ventilation system of claim 1, wherein the processor is built into the measuring and analysis device.

    22. The ventilation system of claim 1, wherein the air flow sensor and pressure sensor communicate with the processor via a wireless connection.

    23. A measuring and analysis device for measuring and analyzing breathing of the patient, the measuring and analysis device comprising: a connector housing defining a passage, a first portion of the connector housing connected to a patient interface device; an air flow sensor disposed in the connector housing for measuring an air flow rate through the connector housing; a pressure sensor disposed in the connector housing for measuring a pressure in the connector housing; and a processor configured for data acquisition, data storage, data processing, and data output based on the air flow rate and the pressure, whereby the ventilation system is operable with real-time feedback based on data output from the processor.

    24. The measuring and analysis device according to claim 23, further comprising a display attached to the processor for displaying the data output.

    25. A method of administering cardiopulmonary resuscitation (CPR), the method comprising the steps of: providing a manual ventilation device having a manual breath delivery device, a patient interface device, and a measuring and analysis device, the measuring and analysis device comprising: a connector housing for connecting between the flexible self-inflating air chamber and the mouthpiece, the connector housing defining a passage; an air flow meter disposed in the connector housing for measuring an air flow rate through the flexible self-inflating air chamber; a pressure sensor disposed in the connector housing for measuring a pressure in the connector housing; a processor for data acquisition, data storage, and calculation of respiratory parameters based on the air flow rate and the pressure; and an output attached to the computer for providing real-time feedback; measuring the air flow rate and the pressure using the air flow meter and pressure sensor; evaluating respiratory parameters based on the air flow rate and the pressure, wherein the respiratory parameters are selected from the group consisting of baseline pressure, peak pressure, tidal volume, and exhalation volume, respiratory rates, minute ventilation, chest compression rates, chest compression depths, and chest compression fractions; differentiating rescue breaths from chest compressions; and outputting the respiratory parameters as output signals on the output.

    26. The method according to claim 25, wherein the output signals are visual, audio, or tactile.

    27. The method according to claim 25, wherein a signal filtering technique is used to detect a frequency and amplitude of changes in the air flow rate and pressure for differentiating rescue breaths from chest compressions.

    28. The method according to claim 25, further comprising the step of synchronizing the rescue breaths and the chest compressions by optimizing the timing, depth and duration of the rescue breaths to ensure the rescue breaths are delivered in a coordinated manner with the chest compressions that maximizes heart and lung function, regardless of whether an interrupted or continuous chest compression technique is used.

    29. The method according to claim 25, further comprising using the respiratory parameters for guiding initial ventilator settings.

    30. The method according to claim 25, wherein the outputting includes display of respiratory waveforms.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0042] FIG. 1 is a schematic diagram of a measuring and analysis system in accordance with an embodiment of the present invention;

    [0043] FIG. 2 is a schematic diagram of a measuring and analysis system in accordance with an embodiment of the present invention attached to a bag valve mask;

    [0044] FIG. 3 is a schematic diagram showing an example of a connector housing of a measuring and analysis system in accordance with an embodiment of the present invention;

    [0045] FIG. 4 is a block diagram showing an example of a ventilation system including a measuring and analysis system in accordance with an embodiment of the present invention;

    [0046] FIG. 5 is a photograph showing an Arduino micro and a display screen;

    [0047] FIG. 6 is a photograph showing an Arduino Uno and a larger display screen;

    [0048] FIG. 7 is a flow diagram showing the algorithm flow in accordance with an embodiment of the present invention; and

    [0049] FIG. 8 is a flow diagram showing the triple-threaded algorithm flow in accordance with an embodiment of the present invention.

    DETAILED DESCRIPTION

    [0050] Provided herein are embodiments of a measuring and analysis device for measuring and analyzing breathing of a patient. The embodiments of the measuring and analysis device of the present invention have different configurations that meet the specific requirements of different end-users. The present device is used in situations where patients are critically ill, so these configurations have important implications on the ability of clinical staff to provide optimal medical care in a rapid time frame, including situations where resources are limited such as the prehospital/EMS environment. The present device can be used for any clinical scenario where ventilations are assisted by a rescuer. The present device can also be used to measure and monitor breathing in a spontaneously breathing patient.

    Measuring and Analysis Device

    [0051] In one embodiment, as shown in FIG. 1, the measuring and analysis device 10 has three components, i.e., the sensors 12, processor 14, and display/output 16. The sensors may be housed in a sensor housing. In one example, the sensors 12 include an air flow sensor for measuring both inspiratory and expiratory air flow rate and a pressure sensor for measuring the pressure of the sensor housing. The air flow sensor and pressure sensor may be bi-directional.

    [0052] FIG. 2 shows a rescue breathing device 20 including a measuring and analysis device 22 used with a bag valve mask. The rescue breathing device 20 in FIG. 2 includes a self-inflating bag 30, a face mask 32. In some versions, the rescue breathing device may only include a mask and a measuring and analysis device. The self-inflating bag and face mask can be separate or built-in. The face mask is only one example of how the measuring and analysis device connects to the patient. The face mask can also be an alternative patient interface device such as supraglottic airway, endotracheal tube, or tracheostomy.

    [0053] In an example, the measuring and analysis device contains a sensor device 22 including a flow meter and a pressure meter housed within a sensor housing. The flow and pressure meters are not visible in FIG. 2 and are described in detail hereinbelow. The flow and pressure meters may be bidirectional. The sensor device 22 is connected at one end to the face mask 32 and at the other end to the self-inflating bag 30 via universal connectors.

    [0054] The measuring and analysis device 22 further includes a processor 24 for data acquisition, data storage, data processing, and data output. For example, the processor 24 may be configured to receive the data from the flow and pressure meters. The processor 24 can connect to a display screen 26 and may be configured to export data to the display or an output. The output may include lights, sounds, or tactile feedback. The processor may be stand-alone or integrated into an existing monitor. The display 26 can be physically attached to the processor 24 or integrated with the processor 24. The processor and display in FIG. 2 are not to scale and are enlarged views.

    [0055] The processor 24 may be wired to the sensor device 22 or communicate to the sensor device 22 via a wireless connection 28.

    [0056] The sensor device 22 may include ports for end-tidal CO.sub.2 monitoring 34 and for medication and suction 36. The sensor device 22 may further include a filter 38 which blocks flow of respiratory secretions.

    [0057] The air flow meter may be a compact flow meter. In one example, a flow meter uses the difference in pressure measured between high and low pressure taps to calculate flow rate, volume, and pressure, as shown in FIG. 3. Another pressure sensor may be added on the other side of the neck region to sense the direction of the flow.

    [0058] In another example, a two-in-one, bi-directional air flow meter and pressure sensor designed for integrated solutions of mechanical respiration applications, such as the model FS6122 by Siargo Ltd., is chosen. The mass flow sensor is a thermal flow sensor which uses a temperature gradient across a small heater to measure changes in mass flow in either direction. A thermal mass flow sensor is able to accurately measure unsteady, bi-directional flow at the very low flow rates present when performing manual ventilation. In embodiments, the pressure sensor built into the FS6122 is a micro-electro-mechanical (MEMS) differential sensor that measures gauge pressure from the middle of the device. The pressure sensor is temperature compensated to handle a range of flow temperatures. The output of both sensors is analog voltage.

    [0059] The measuring and analysis device is compact and fits in between the bag and the mask with little overall change to the system size. Due to the nature of the sensors within the device, measurements can be taken with the device in any orientation relative to the patient, which is important when considering the clinical application. In embodiments, the response time of the full measurement unit is five milliseconds or less, for example, two milliseconds. The output of both sensors is analog voltage, which is sent to a compact data acquisition, processing, and display device. The voltage signals received by the compact data acquisitions device are scaled using calibrated maps to produce gauge pressure and mass flow signals. Rising and falling triggers are used to segment the signals into inspiratory and expiratory breaths. The individual breaths are integrated over their duration to produce volume based performance figures. The signals are also analyzed using fast Fourier transform to determine their respective frequencies and to be able to separate chest compressions from rescue breaths. The data acquisition system displays key variables in real time, as well as producing real time data analysis in order to guide the user in appropriate rescue breathing.

    [0060] The model FS6122 sensor has a response time of about 5 ms or less, or more specifically about 2 ms, enabling a sampling frequency up to about 500 Hz, which exceeds the Nyquist criterion for adequately capturing the respiratory behavior of interest. A response time of 1 ms would allow a frequency of 1000 Hz. In this example, the mass flow sensor and the pressure sensor are both built into one compact and inline device. In a specific example, the integrated sensor measures about 67 mm×47 mm×31 mm. The compact configuration makes the addition of this device into a bag valve mask assembly far less intrusive and easier to handle than a bulkier measurement system. Furthermore, the model FS6122 sensor has a low power consumption. This is important in the situations where resources are limited such as the prehospital/EMS environment.

    [0061] As shown in FIG. 1, the processor 14 is connected to the sensors 12 for data acquisition, data storage, data processing, and data output. In one embodiment, a microcomputer, such as Raspberry Pi, is selected to acquire voltage data from the flowmeter and to calculate the desired metrics from this voltage data. Raspberry Pi acts essentially as a mini version of a personal computer with a desktop and applications through which the code can run. Such an embodiment is suitable for certain applications that require a more robust operating system and require users' interaction with the program.

    [0062] In one example, an SD card (for example, a 32 GB or higher SD card) is used as the main storage device. Raspbian, the operating system of the Raspberry Pi foundation, is the operating system chosen for the Raspberry Pi. As the Raspberry Pi has no analog input port, an analog-to-digital converter setup is needed in order to allow the use of the analog voltage signal coming from the mass-flow meter. To accomplish this, a DAQC2 plate is installed on top of the Raspberry Pi. The DAQC2 is a 16-bit data acquisition and control board capable of taking in eight analog inputs and converting them to digital signals. One function provided by the DAQC2 is plug-and-play capability with the Raspberry Pi and small form factor. In embodiments, the screen selected to output the data is also a Raspberry Pi-ready accessory that simply requires installation and the correct drivers to function. In embodiments, the screen is is an LCF touchscreen, such as a 5″ LCD touchscreen by Waveshare. As the measuring and analysis device is to be mobile, it must carry its own power supply. A rechargeable battery cell is suitable for use in powering the full system. A battery cell is optionally selected based on its compact size. A suitable rechargeable battery cell includes, for example, the Anker A1263. The Anker A1263 manufacturer indicates a capacity of 36 Wh, which allows for running for roughly 5.7 hours before the battery needs to be recharged.

    [0063] In another embodiment, the processor is an Arduino processor. Three different Arduino boards, the Micro, the Uno, and the Mega, are selected. A larger screen is selected to go on either the Mega or Uno, and a smaller screen is selected to go on the micro. Other types of processors or displays suitable for the presently described purposes can also be used.

    [0064] FIG. 5 shows an Arduino Micro having a smaller board, as well as a 1-inch screen. A 1-inch screen may not be able to display desired full range of parameters. FIG. 6 shows an Arduino Uno board, which is larger than the Micro, and which has been fitted with a larger 2.8-inch screen. A ruler is alongside for scale.

    [0065] Arduino acts differently than Raspberry Pi in that it does not inherently have a way for the user to interact with the board other than adjusting the code that you upload to the board. Also, when a program is uploaded, it will automatically begin running once the Arduino board is powered. Hence, embodiments comprising Arduino microprocessors are useful for embodiments that require only turning on a switch. In order to use the device, the user powers the device on and the device will immediately begin collecting data and providing outputs. A display screen can be used to output the desired output. The display screen may be a touch screen.

    [0066] To analyze a patient's breathing during rescue breathing, the fundamental clinical variables to be measured are identified as peak pressure, respiratory rate, volume provided each breath (tidal volume), and volume exhaled. These quantities can be extracted from two measureable variables: air flow rate (both inspiratory and expiratory) and pressure. Using an embodiment of the present device, as shown in FIG. 4, the sensors 12 are connected between the patient interface device 18 and the ventilation device 20. For example, the sensors are bidirectional air flow meter and pressure sensor. The air flow rate and pressure measured by the sensors are processed by a data acquisition system (i.e., the processor 14) and the processed variables of interest are displayed on a display screen 16. FIG. 2 gives an example of respiratory parameters displayed on the screen, including peak pressure, respiratory rate, volume exhaled, tidal volume, minute ventilation, compression rate, and CPR fraction, estimated by the processor based on the air flow rate and pressure.

    Data Analysis

    1. Measuring Bag-Valve Mask Seal and Rescue Breath Delivery

    [0067] A self-inflating resuscitation bag with a facemask (bag-valve mask) is commonly used to provide rescue breaths for patients in cardiac arrest. Air leak around the mask and gastric insufflation (air going into the stomach instead of the lungs) will likely cause ineffective rescue breaths.

    [0068] In an embodiment of the present invention, the measuring and analysis device is configured to measure seal quality of the bag-valve mask. The sensor 22 measures airflow and pressure in two directions, i.e., from the resuscitation bag to the patient and vice versa. Based on the measurements of airflow and pressure, the measuring and analysis device determines the quality of the mask seal and the flow of air into the lungs. For example, a good mask seal produces a baseline pressure in the system that is greater than atmospheric pressure with the volume of air delivered to the lungs equal to the volume of air returning to the device. A poor mask seal produces an inconsistent baseline pressure, and the volume of air supposedly delivered to the lungs would not equal the volume of air returned. Gastric insufflation or an iatrogenic pneumothorax (air escaping from the lungs to the intrathoracic space) produces a constant baseline pressure with volumes of air delivered greater than the volume returned to the sensor.

    2. Differentiating Rescue Breaths from Continuous Chest Compressions

    [0069] Cardiopulmonary resuscitation (CPR) involves delivering rescue breaths to oxygenate the blood and chest compressions to circulate the blood. The presently disclosed device can be used to differentiate airflow due to rescue breaths from inadvertent airflow caused by physical compression of the thoracic cavity, which occurs continuously during cardiac arrest resuscitations.

    [0070] In an embodiment of the present invention, the measuring and analysis device is configured to differentiate rescue breaths from chest compressions using the frequency and amplitude of changes in airflow and pressure. This allows for the accurate measurement of ventilation parameters such a tidal volume (milliliters per breath) and respiratory rate (breaths per minute).

    [0071] Differentiation between the rescue breaths and chest compressions is made possible because they occur at very different frequencies. In order to identify these frequencies, Fast Fourier Transform, or FFT, may be implemented. FFT analyzes the raw voltage signal from the flow meter and identifies the presence of two regularly occurring fluctuations that are at different frequencies. The flow from the rescue breathing is at lower frequency (a fraction of less than 1 Hertz) and the flow from the chest compressions is at a higher frequency (1-2 Hertz). The output from the FFT is the amplitude of the fluctuations at each one of these two frequencies and is subsequently used to band-pass filter the raw signal at each one of these frequencies, obtaining two separate time traces of the applied breaths and the chest compressions. Based on the output, several important parameters can be determined and displayed, including the rates of breaths and chest compressions administered to the patient, the flow rate at each one of these components, the relative phase between them, their duty cycles, and the signal shape.

    3. Synchronizing Rescue Breaths and Chest Compressions

    [0072] American Heart Association Cardiac Arrest Guidelines recommend performing rescue breaths at a rate of 8 to 10 per minute and chest compressions at a rate of 100 to 120 per minute. There is significant debate on whether chest compressions should be briefly interrupted to administer rescue breaths when using a bag-valve mask. Guidelines recommend 30 compressions followed by 2 breaths when performing interrupted cardiopulmonary resuscitation. After an advanced airway is placed in the patient's throat (endotracheal tube or supraglottic airway), guidelines recommend performing continuous chest compressions and rescue breaths.

    [0073] In an embodiment of the present invention, the measuring and analysis device of the present invention is configured to assess the synchronization between chest compressions and rescue breaths. The measuring and analysis device of the present invention is capable of detecting both chest compressions and rescue breaths, which enables synchronization of the two halves of cardiopulmonary resuscitation. By optimizing the timing, depth and duration of rescue breaths, the present device can ensure rescue breaths are delivered in a coordinated and efficacious manner that maximizes heart and lung function, regardless of whether an interrupted or continuous technique is followed. This enables a comprehensive second-by-second analysis of cardiopulmonary resuscitation.

    4. Measuring Chest Compression Quality

    [0074] In addition to the rate goals described above, guidelines recommend chest compressions be minimally interrupted with a compression fraction of 60-80% (time performing chest compressions divided by the total time), at a depth of 2 to 2.5 inches, and released 100% between compressions to allow full chest recoil.

    [0075] The present device is capable of measuring chest compression rate and fraction using airflow and pressure. In addition, quality often declines after 2 minutes of high intensity work by treating clinicians. The present device may be configured to assess the relative depth of chest compressions, for example by measuring changes in the amplitude of the chest compression waveform. The present device is configured to measure both rescue breaths and chest compressions. This simplifies the logistics of a complex resuscitation, while still providing real-time feedback on resuscitation targets set by the American Heart Association.

    5. Guiding Initial Settings for Mechanical Ventilation

    [0076] The initial goal of clinical care for cardiac arrest patients is to achieve return of spontaneous circulation (return of native heart function). Post-arrest patients are often comatose and not breathing on their own. As such, these patients are placed on mechanical ventilators, once they are at a hospital. Mechanical ventilators cannot be used intra-arrest due to high peak airway pressures caused by chest compressions, and the bulk, weight, complexity, and cost of mechanical ventilators are prohibitive in the prehospital environment.

    [0077] Initial settings for mechanical ventilation post-arrest are based on heuristics alone, which may result in re-arrest, and are often retained by the Intensive Care Unit hours after admission to the hospital. Arterial blood gas analysis can take up to an hour or more to result and does not directly inform ventilator settings.

    [0078] In one embodiment, the present device is configured to measure the ventilation parameters needed to set a mechanical ventilator. The physiologic data collected by the present device intra-arrest, including respiratory rate (breaths per minute), tidal volume (milliliters per breath), minute ventilation (liters per minute), volume exhaled (milliliters per breath), peak pressure (highest pressure during a breath), positive-end expiratory pressure (pressure between breaths), and graphs of pressure and volume over time including pressure-volume loops, among others, can be used to inform and optimize ongoing ventilation in the post-arrest period.

    6. Current and Novel American Heart Association Guidelines

    [0079] American Heart Association Cardiac Arrest Guidelines recommend rescue breaths be delivered at a rate of 8 to 10 per minute, with each breath delivered over 1 second, and a tidal volume that produces minimal chest rise.

    [0080] In an embodiment of the present invention, the measuring and analysis device is configured to determine the metrics including delivery rate of the rescue breaths, the duration of the rescue breaths, tidal volume, thereby providing real-time feedback to clinicians on how closely they are adhering to guidelines, both in clinical practice and in training simulations. These metrics can also be combined to produce an overall measure of “high-quality rescue breathing” that is reported to the clinician along with specific feedback on how to improve via light, sound, and/or tactile feedback. In addition, based on the measurements of any desired ventilation parameter, novel respiratory metrics can be discovered that are associated with survival and the creation of new cardiac arrest guidelines may be spurred. For example, a low tidal volume strategy of 6 mL per kg of ideal body weight has been shown to improve survival for patients with acute respiratory distress syndrome, and may be a reasonable target for cardiac arrest.

    Core Architecture

    [0081] The processor of the present device is configured to fulfill the following steps: [0082] Take in an analog voltage signal from a mass flow meter [0083] Remove random noise (smoothing) improve signal/noise ratio [0084] Scale the voltage to mass flow rate (L/min) [0085] Identify air delivery start and stop [0086] Identify exhale start and stop [0087] Calculate delivery volumes [0088] Calculate exhalation volumes [0089] Calculate a moving average respiratory frequency [0090] Calculate a multiple breath average of volume delivered (i.e. minute ventilation) [0091] Take in analog voltage signal from pressure sensor [0092] Scale voltage to pressure (cmH20)
    An example of a flow diagram of these steps is shown in FIG. 7. Based on the mass flow rate and pressure, clinical variables such as peak pressure, respiratory rate, volume exhaled and tidal volume can be determined. Additional clinical variables such as minute ventilation, compression rate, and CPR fraction can also be calculated.

    [0093] In one embodiment, the processor is configured to provide real-time plots. The structure of this algorithm adds a real-time plotting routine in the main loop, alongside the data acquisitions and processing tasks that are split into two parallel subroutines. Three routines are executed in parallel for this particular version of the code. An example of a flow diagram for this architecture is shown in FIG. 8. A basic integration algorithm is used to compute the volume delivered and exhaled. This integration is based on the rectangle rule. Further enhancement may be made to increase integration accuracy. The next function is a smoothing function, for which a moving-average method was selected to reduce signal noise. Using a real time Fast Fourier Transform, the code is also able to detect respiratory rates in both real time and a user set moving average. In addition to respiratory rates, this FFT allows the differentiation between chest compressions and respiratory rates using a signal filtering technique known as band pass filtering. The last main function called in the main script is a trigger function for detecting the last delivery or the last exhale of air through the measuring and analysis device. To detect the last delivery or the last exhale of air through the measuring and analysis device, the function scans the data in real time. Once it has detected a value above a user set threshold, it adds that time stamp to a new list and scans in real time until a value is found to be below the threshold. The data points between these two points in time is then integrated to obtain the volume delivered or exhaled. The threshold may be defined as user-input so as to ensure detection of deliveries and exhalations. The threshold may also be set by the code based on prior test results. The data from data acquisition is also written to text files in memory for export and further analysis after use.

    [0094] Note that the algorithms described in FIGS. 7 and 8 are not meant to be limiting and are merely examples used to describe the function of the present device. What is described can also be achieved by different algorithms.

    [0095] As will be clear to those of skill in the art, the embodiments of the present invention illustrated and discussed herein may be altered in various ways without departing from the scope or teaching of the present invention. Also, elements and aspects of one embodiment may be combined with elements and aspects of another embodiment. It is the following claims, including all equivalents, which define the scope of the invention.