Respiratory therapy devices, such as respirators or ventilators, have multiple sensors for monitoring a patient. The sensors may include flow sensors, concentration sensors, differential pressure sensors, temperature and humidity sensors, etc. Different technologies may be used for the various sensors, such as ultrasonic, thermal, mechanical, electrochemical, or optical.
In at least one example of the description, a method includes determining time of flight of a gas flow with a first ultrasonic transducer and a second ultrasonic transducer, where the gas flow includes a volume concentration of oxygen. The method also includes, responsive to determining the time of flight, determining a speed of sound in the gas flow. The method includes responsive to determining the speed of sound, determining a volume concentration of carbon dioxide in the gas flow based at least in part on the speed of sound and the volume concentration of oxygen.
In at least one example of the description, a system includes a flow element configured to direct a gas flow. The system also includes a temperature sensor coupled to the flow element, the temperature sensor configured to determine a temperature of the gas flow. The system includes a first ultrasonic transducer and a second ultrasonic transducer coupled to the flow element, where the first ultrasonic transducer and the second ultrasonic transducer are configured to determine a time of flight of the gas flow. The system also includes a processor configured to determine a volume concentration of a gas in the gas flow based at least in part of the time of flight and the temperature of the gas flow.
In at least one example of the description, a system includes a respiratory device. The system includes a flow element coupled to the respiratory device and configured to direct a gas flow, where the gas flow includes a volume concentration of oxygen. The system also includes a temperature sensor coupled to the flow element, the temperature sensor configured to determine a temperature of the gas flow. The system includes a first ultrasonic transducer and a second ultrasonic transducer coupled to the flow element, where the first ultrasonic transducer and the second ultrasonic transducer are configured to determine time of flight of the gas flow. The system also includes a processor configured to determine a speed of sound in the gas flow. Responsive to determining the speed of sound, the processor is further configured to determine a volume concentration of carbon dioxide in the gas flow based at least in part on the speed of sound and the volume concentration of oxygen.
Current respiratory therapy devices have multiple sensors for monitoring a patient. These respiratory devices may include respirators, ventilators, continuous positive airway pressure (CPAP) machines, etc. The sensors include flow sensors, concentration sensors, differential pressure sensors, and temperature and humidity sensors. Each additional sensor increases the size and cost of the sensing system. Some sensors may be inefficient, have limited lifetime, or have slow response time.
In examples herein, ultrasonic transducers are used for flow sensing in the respiratory device. The ultrasonic transducers perform time of flight measurements for flow sensing. With a combination of absolute and differential times of flight, temperature sensing, and humidity sensing, the examples herein may also determine oxygen (O2) and carbon dioxide (CO2) volume concentration (e.g., concentration) of a gas. Flow rate and differential pressure may also be determined using the ultrasonic transducers. Therefore, the ultrasonic transducers, combined with a temperature and humidity sensor, can provide four different sense measurements: flow rate, differential pressure, O2 concentration, and CO2 concentration. Separate sensors for each of these measurements may be replaced by the ultrasonic sensing system described herein. The systems and methods described herein may reduce size, reduce cost, increase efficiency, improve response time, and increase lifetime of a respiratory sensing system compared to previous solutions.
Respiratory device 102 is coupled to a patient mask or cannula 104 via a tube 106. In one example, cannula 104 is a nasal cannula that provides O2 and/or medication to a patient. The flow element 110 may be coupled to tube 106 and MCU 108.
MCU 108 is any MCU that includes the hardware and/or software to perform the operations described herein. MCU 108 may be a digital signal processor (DSP), a DSP+MCU processor, a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). MCU 108 includes an analog front end (AFE) 112, a processor 114, memory 116, and instructions 118. AFE 112 includes any suitable circuitry for interfacing the sensors described herein to MCU 108. Processor 114 may perform all or portions of the methods described herein. Processor 114 as described herein may include any suitable processor or combination of processors. Processor 114 may be a central processing unit (CPU), DSP. ASIC, or other suitable hardware.
Memory 116 may include a single memory or multiple memory modules. Memory 116 provides storage, e.g., a non-transitory computer readable medium, which may be used to store software instructions 118 executed by a processor 114, such as any software instructions for implementing the operations described herein. A memory 116 may include any suitable combination of read-only memory (ROM) and/or random access memory (RAM), e.g., static RAM.
Memory 116 may include any suitable data, code, logic, or instructions 118. Processor 114 reads and executes computer-readable instructions 118. The processor 114 may invoke and execute instructions in a program stored in the memory 116, including instructions 118. Instructions 118 may perform the actions described herein, such as determining flow rate, differential pressure, O2 concentration, and CO2 concentration.
Memory 116 may be integrated with the processor 114. Memory 116 stores the instructions 118 for implementing the various methods and processes provided in the various examples of this description. A processor 114 described herein may use any combination of dedicated hardware and instructions stored in a non-transitory medium, such as memory 116. The non-transitory medium includes all electronic mediums or media of storage, except signals. Examples of suitable non-transitory computer-readable media include one or more flash memory devices, battery-backed RAM, solid state drives (SSDs), hard disk drives (HDDs), optical media, and/or other memory devices suitable for storing the instructions 118 for the processor 114.
System 100 also includes flow element 110. Flow element 110 receives and directs the gas flow in tube 106 between respiratory device 102 and cannula 104. Flow element 110 includes the first transducer 120A, second transducer 120B, and temperature sensor 122.
Ultrasonic transducers 120 measure time of flight (TOF) by sending an ultrasonic pulse and then listening for echoes returning from the target object. Two measurements may be taken (one from each transducer 120) to determine a differential TOF, the process of which is described below. The two measurements are used to determine a velocity of the gas flow, and also used to determine a concentration of O2. Also, pressure of the gas flow may be determined as described below. The concentration of CO2 may also be determined using the transducers 120 and the temperature sensor 122 as described herein. Therefore, flow rate, differential pressure, O2 concentration, and CO2 concentration are determined herein without the use of separate sensors for each measurement.
In other examples, TOF is determined using any suitable sensors and/or techniques. Some techniques include sampling with an analog to digital converter, digital filtering, and various other signal processing techniques. Other examples include transmitting a pulse and receiving a return waveform, where amplitude detection and zero crossing are performed.
In an example, two TOF measurements are taken to find a differential. Measuring a differential provides a result that is agnostic of the medium (e.g., the gas). For example, different gases have different molecular weights. Different molecular weights can affect the TOF, as well as the temperature. By measuring a differential, these differences are offset and do not have to be accounted for.
In one example operation, a TOF from transducer 120A to 120B is taken in a first instance. This TOF is referred to as T12 (the time for the signal to travel from transducer 1 (120A) to transducer 2 (120B)). T12 represents the speed of sound in the medium plus the velocity V of the gas flow. In a second instance, a TOF from transducer 120B to 120A is taken. This TOF is referred to as T21 (the time for the signal to travel from transducer 2 (120B) to transducer 1 (120A)). T21 represents the speed of sound in the medium minus the velocity V of the gas flow. These two measurements may be used to determine the velocity V of the gas flow, and also C (the speed of sound in the medium). The velocity V measurement is independent of temperature and pressure in most operating conditions.
In an example, T12 is given by Equation (1):
T21 is given by Equation (2):
Equations (1) and (2) may be solved for V with Equation (3):
where ΔT is the difference between T12 and T21. Equation (3) shows that the velocity V does not depend on C. After V is determined, Equations (1) or (2) may be used to solve for C.
The speed of sound C in the flow element is related to the molecular weight M of the gas mixture and temperature T. This relationship is based on the ideal gas law, and is fairly accurate in most ambient conditions. After C is determined as described above, the molar weight p of O2 in an air mixture may be determined, where the air mixture is mostly a mix of nitrogen (N2) and O2. To simplify the calculation, the air mixture may be treated as a mix of N2 and O2, where the molecular weight of N2 may be adjusted to account for the weight of the minor gases found in the air mixture.
To solve for the molar weight p of O2 in an air mixture, C is determined from the times of flight as described above, and a temperature sensor determines a temperature T. Equation (4) is the equation for velocity of gas in a binary mixture (such as N2 and O2):
M is the molar weight of the gas mixture, and k is the specific heat ratio, which is approximately 1.4 for O2 and air. R is the universal gas constant, which is approximately 8.314 Joules K−1 mol−1 (where K is temperature in Kelvin and mol is moles). To solve for p, the molar weight of O2, a substitution for M is performed to produce Equation (5):
Where MN(1−φ represents the fraction of N2 (plus the trace amounts of other gases) in the air mixture, and Mo
Therefore, in an air mixture of mostly N2 and O2, the concentration p of O2 may be determined with the ultrasonic transducers 120 and a temperature sensor 122 as described herein. This example eliminates the need for a separate O2 sensor in the system. In other examples, humidity compensation could be performed for more precise measurements. However, a change in humidity from 0% to 100% produces an error of about 5% or less in one example, so the error without humidity compensation is generally small, and can be ignored in some examples.
The non-simplified version of Equation (5) is useful for gas mixtures that are not mostly air and O2, such as with a CO2 mixture. In a mixture such as a CO2 mixture, the value of k is expanded into k1 and k2, where k1 is the specific heat ratio of the air mixture, and k2 is the specific heat ratio of the other gas or gases in the mixtures, such as CO2. The non-simplified version of Equation 5 is shown in Equation (7):
Equation (7) may be solved for p, the molar weight of CO2 in the gas mixture in this example. Solving Equation (7) for p yields Equation (8):
Pressure may also be determined using the ultrasonic transducers 120. Pressure P generally does not affect the speed of sound C in a medium. Pressure and density are inversely proportional, so the changes to one tends to cancel out changes to the other with respect to C. Pressure P may be determined if the dimensions of flow element 110 are known along with the volumetric flow rate. The volumetric flow rate is determined from the velocity of the gas flow and the dimensions of the flow element 110. A differential pressure Δp is found with Equation (9):
where p is the pressure in Pascals (Pa) and u is the coefficient of viscosity in Pa*s, which is approximately 2.01 for a 90% O2 mixture. L is the length of the pipe in meters (m), Q is the volumetric flow rate in cubic meters (m3) per second, and R is the radius of the pipe in m. The length L and radius R may be found using a volume equivalent model to account for flow element 110 and tube 106 for a particular system. Equation (9) produces a differential pressure measurement, which may be useful for replacing an absolute pressure sensor in other systems.
In some examples, the flow is not laminar due to flow element dimensions, high pressures, or the flow element not being long enough to have a fully developed flow profile. In those examples, the Darcy-Weisbach equation may be more precise, because a friction factor is included in the equation to consider the flow regime and produce a closer approximation. In a cylindrical pipe of uniform diameter D, flowing full, the pressure loss due to viscous effects Δp is proportional to length L and can be characterized by the Darcy-Weisbach equation (Equation (10)):
Any model may be used for the pressure that approximates well the flow profile. Equation (9) may work well at low flow rates for applications such as oxygen concentrators. For ventilators and CPAP machines, Equation (10) may provide more accurate results.
The examples herein provide quick response times, as ultrasonic measurements are generally faster than other measurements, such as chemical measurements. Ultrasonic transducers are also longer lasting than many other types of sensors. A properly designed flow element 110 produces a laminar flow, which is a consistent flow through the cross section of flow element 110 so that flow may be measured accurately. A laminar flow means the flow along the edges of flow element 110 is the same or similar to the flow through the center of the flow element 110.
As described above, pressure, concentration, and flow may be measured with ultrasonic transducers 120. Therefore, fewer sensors are used in system 100 compared to existing systems, which reduces size and cost. In examples herein, CO2 is also measured. The speed of sound C is related to concentration in a known binary gas mixture. Therefore, if the percentage of O2 in a gas mixture is known (such as when air and O2 are provided to a patient via cannula 104), the percentage of CO2 may be determined by measuring the speed of sound in the gas mixture using ultrasonic transducers 120.
In
During time interval 206A, the patient is neither inhaling or exhaling. During this interval, the air flow in flow element 110 is minimal, so the TOF measured by ultrasonic transducers 120A and 120B is roughly the same. Therefore, curves 202 and 204 coincide during interval 206A, with a TOF of about 133.1 μs.
During interval 206B, the patient is inhaling. During inhalation, the ultrasonic transducers 120A and 120B produce different TOF values. One ultrasonic transducer 120 is measuring TOF with the flow of air, and the other is measuring TOF against the flow of air. Therefore, the ultrasonic transducers produce different TOFs during interval 206B. In interval 206B, the ultrasonic transducer 120 that is measuring against the flow of air produces curve 202. The ultrasonic transducer 120 that is measuring with the flow of air produces curve 204. During interval 206B, curve 204 is lower than curve 202, which means curve 204 measures a lower TOF (e.g., a faster measurement that is going with the flow of air). During interval 206B, curve 202 is higher than curve 204, which means curve 202 measures a higher TOF (e.g., a slower measurement that is going against the flow of air).
During interval 206C, the patient is neither inhaling or exhaling, so the TOF measured by ultrasonic transducers 120A and 120B is roughly the same. Therefore, curves 202 and 204 coincide during interval 206C, with a TOF of about 133.1 μs.
During interval 206D, the patient is exhaling. During exhalation, the air flow is in the opposite direction than during inhalation. Therefore, during interval 206D, curve 204 is above curve 202. Curve 204 measures a higher TOF because the ultrasonic transducer 120 associated with curve 204 is now measuring against the flow of air. Curve 202 measures a lower TOF because the ultrasonic transducer 120 associated with curve 202 is now measuring with the flow of air.
During interval 206E, the patient has finished exhaling, and the air flow is relatively idle. The TOF measured by ultrasonic transducers 120A and 120B is the same, and curves 202 and 204 coincide during interval 206E. As shown in
In
In this example, the average speed during inhalation is approximately 344.8 m/s. The average speed during exhalation is approximately 341.7 m/s. With these measurements, and the graph shown in
Graph 400 includes curves 402, 404, 406, 408, 410, 412, and 414. Curve 402 represents the O2 percentage in an air mixture. As an example, at about 80% O2 concentration, the speed of sound is approximately 332 m/s. In an example, the formula for curve 402 is y=−4.82x+1684.
Curves 404, 406, 408, 410, 412, and 414 represent the CO2 percentage in different air mixtures, where the different air mixtures include different O2 concentrations. For example, curve 404 represents the percentage of CO2 in air with 21% O2. The formula for curve 404 is y=−1.054x+363.2. Curve 406 represents the percentage of CO2 in air with 30% O2. The formula for curve 406 is y=−1.077x+369.1. Curve 408 represents the percentage of CO2 in air with 50% O2. The formula for curve 408 is y=−1.133x+383.5. Curve 410 represents the percentage of CO2 in air with 75% 02. The formula for curve 410 is y=−1.212x+403.8. Curve 412 represents the percentage of CO2 in air with 90% O2. The formula for curve 412 is y=−1.266x+417.5. Curve 414 represents the percentage of CO2 in air with 100% O2. The formula for curve 414 is y=−1.292x+424.4. As seen by these formulas, the curves have slightly different slopes m (where the slope m is found in y=mx+b).
The curves 404 to 414 in
In one example, the change in CO2 concentration (Δy) is found by multiplying the slope m (shown in
In an example, the method for determining exhaled CO2 from the difference between inhaled versus exhaled speed of sound is also used in the cases where the base gas mixture is binary or unknown. The binary method may be used for inhaled CO2 if the mixture is known and binary. The delta between the inhaled and exhaled speed of sound plus the slope curves described herein may be used to determine exhaled CO2, even if the base gas is not known. This process may provide a good metric of respiratory exchange ratio.
Method 600 begins at 610, where a processor or controller determines time of flight of a gas flow with a first ultrasonic transducer and a second ultrasonic transducer, where the gas flow includes a volume concentration of oxygen. As described above, TOF measurements may be collected by ultrasonic transducers 120. The differential TOF measurements may then be used for determining other qualities of the gas flow as described with the equations above.
Method 600 continues at 620, where, responsive to determining the time of flight, determining a speed of sound in the gas flow. As described above, the velocity of the gas flow may be determined, and then the speed of sound C may be determined from the velocity.
Method 600 continues at 630, where, responsive to determining the speed of sound, determining a volume concentration of carbon dioxide in the gas flow based at least in part on the speed of sound and the volume concentration of oxygen. As described above, if the volume concentration of O2 is known, the graphs and equations described above may be useful for determining the volume concentration of CO2. Therefore, with a temperature sensor 122 and ultrasonic transducers 120, flow rate, O2 concentration, and CO2 concentration may be calculated. Differential pressure may also be calculated as described above, without the use of any additional sensors.
In examples herein, ultrasonic transducers 120 are used for flow sensing in the respiratory device. The ultrasonic transducers 120 perform TOF measurements for flow sensing. With a combination of absolute and differential TOF, temperature sensing, and humidity sensing, the systems and methods described herein determine O2 concentration, CO2 concentration, flow rate, and differential pressure. Therefore, the ultrasonic transducers 120, combined with a temperature and humidity sensor 122, can provide four different sense measurements. Separate sensors for each of these measurements may be replaced by the ultrasonic sensing system described herein. The systems and methods described herein may reduce size, reduce cost, increase efficiency, improve response time, and increase lifetime of a respiratory sensing system compared to previous solutions.
In this description, the term “couple” may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A generates a signal to control device B to perform an action: (a) in a first example, device A is coupled to device B by direct connection; or (b) in a second example, device A is coupled to device B through intervening component C if intervening component C does not alter the functional relationship between device A and device B, such that device B is controlled by device A via the control signal generated by device A.
A device that is “configured to” perform a task or function may be configured (e.g., programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or reconfigurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
In this description, unless otherwise stated, “about,” “approximately” or “substantially” preceding a parameter means being within +/−10 percent of that parameter. Modifications are possible in the described examples, and other examples are possible within the scope of the claims.