Flow compensation methods, devices and ventilators for differential pressure flow sensors
By acquiring flow rate and pressure difference values at different gas temperatures in a ventilator, a mathematical model is established for fitting, and a temperature compensation coefficient is obtained to achieve dual flow compensation. This solves the problem of inaccurate flow rate measurement by the differential pressure flow sensor in the ventilator at different gas temperatures, reduces sensor cost, and improves measurement accuracy.
Patent Information
- Application Number
- CN202411974416.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-12-30
AI Technical Summary
The differential pressure flow sensor in a ventilator has a deviation when measuring flow rate at different gas temperatures, which affects ventilation performance and user experience. Existing temperature compensation methods are costly and have poor repeatability.
By acquiring flow rate and pressure difference values at different gas temperatures, a mathematical model is established for fitting, and a temperature compensation coefficient is obtained to achieve dual flow compensation and self-correction of flow rate measurement errors. In practical applications, the target value is obtained and applied to the fitting to calculate the flow compensation method for the ventilator.
It accurately calculates gas flow rate, reduces sensor cost, improves measurement accuracy, has a simple and reusable sensor structure, and solves the problem of inaccurate flow measurement at different gas temperatures.
Smart Images

Figure CN119896782B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of ventilator technology, and more specifically, to a flow compensation method, device, and ventilator for a differential pressure flow sensor. Background Technology
[0002] During the use of differential pressure flow sensors in ventilators, the fitting calculation of flow rate is easily affected by gas temperature, which can lead to deviations in the dynamic performance of the ventilator, thereby affecting the ventilation performance of the ventilator and the user's actual experience.
[0003] In one related technology, a flow sensor with integrated temperature compensation is used. This sensor integrates temperature compensation before leaving the factory, eliminating the need for user compensation, and its output is the compensated flow rate value. However, its drawbacks are obvious: since compensation is only performed before leaving the factory, repeatability is poor, and after a period of use, environmental conditions such as water vapor and pressure can cause measurement deviations, leading to relatively inaccurate results. Furthermore, such integrated digital sensors are expensive, making their cost advantage insufficient.
[0004] In related technique two, the fitting relationship between the differential pressure sensor value and the actual flow rate value is obtained through calibration and fitting. However, this method does not include temperature compensation and directly calculates the true flow rate. Because it lacks temperature compensation, the pressure measured by the differential pressure sensor will deviate at different temperatures and for the same flow rate due to differences in gas molecular density. This will lead to errors in the calculated flow rate value, ultimately resulting in a deviation in the actual tidal volume of the gas, thus affecting control and ventilator performance. Therefore, the accuracy of the flow rate measured by this method needs improvement. Summary of the Invention
[0005] The purpose of this invention is to address the shortcomings of the prior art by providing a method and apparatus for [the purpose of this invention].
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:
[0007] In a first aspect, embodiments of this application provide a flow compensation method for a differential pressure flow sensor, characterized by comprising: acquiring a first target flow rate value and a first target differential pressure value at different target gas temperatures for a target ventilator; acquiring a second target flow rate value and a second target differential pressure value at each target rotation speed point output by the target ventilator; fitting the first target flow rate value and the first target differential pressure value at different target gas temperatures to obtain a target gas temperature compensation coefficient; determining a target flow rate compensation difference based on the target gas temperature compensation coefficient, the second target differential pressure value, and the second target flow rate value; fitting the target flow rate compensation difference and the second target differential pressure value to obtain a target flow rate compensation coefficient; and during ventilation of the target ventilator, acquiring the current gas temperature and the current differential pressure value, and determining a target compensation flow rate based on the current gas temperature, the current differential pressure value, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient.
[0008] In one embodiment, obtaining the first target flow rate value and the first target pressure difference value at different target gas temperatures includes: determining a set of target data points based on the target flow range of the target ventilator; and for each target data point in the set of target data points, obtaining the first target flow rate value and the first target pressure difference value at different target gas temperatures.
[0009] In one embodiment, determining the target data point set based on the target flow range of the target ventilator includes: dividing the target flow range of the target ventilator into several target data points, and determining the target data point set based on the several target data points.
[0010] In one embodiment, obtaining the first target flow rate value and the first target pressure difference value at different target gas temperatures includes: obtaining the first target flow rate value and the first target pressure difference value at different target gas temperatures through a gas metering and calibration device.
[0011] In one embodiment, acquiring the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator includes: acquiring the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator during the power-on self-test process of the target ventilator.
[0012] In one embodiment, fitting the first target flow rate value and the first target pressure difference value at different target gas temperatures to obtain a target gas temperature compensation coefficient includes: establishing a target mathematical model for the first target flow rate value and the first target pressure difference value at different target gas temperatures; and fitting the first target flow rate value and the first target pressure difference value at different target gas temperatures according to the target mathematical model to obtain the target gas temperature compensation coefficient; the target mathematical model is shown in the following formula:
[0013] f(x,y)=a*x+b*y+c
[0014] Where a, b, and c represent the target gas temperature compensation coefficients; x and y represent the first target flow rate and the first target pressure difference under different target gas temperatures; and f(x,y) represents the fitting result.
[0015] In one embodiment, determining the target flow rate compensation difference based on the target gas temperature compensation coefficient, the second target pressure difference value, and the second target flow rate value includes: determining a third target flow rate value corresponding to the second target pressure difference value based on the target gas temperature compensation coefficient; and determining the target flow rate compensation difference based on the third target flow rate value and the second target flow rate value.
[0016] In one embodiment, determining the target compensation flow rate based on the current gas temperature, the current pressure difference, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient includes: determining the target temperature compensation flow rate based on the current gas temperature, the current pressure difference, and the target gas temperature compensation coefficient; determining the target flow rate compensation flow rate based on the current gas temperature, the current pressure difference, and the target flow rate compensation coefficient; and determining the target compensation flow rate based on the target temperature compensation flow rate and the target flow rate compensation flow rate.
[0017] Secondly, embodiments of this application also provide a flow compensation device for a differential pressure flow sensor, comprising: an acquisition module configured to acquire, for a target ventilator, a first target flow rate value and a first target differential pressure value at different target gas temperatures; and to acquire, for each target rotation speed point output by the target ventilator, a second target flow rate value and a second target differential pressure value; a first fitting module configured to fit the first target flow rate value and the first target differential pressure value at different target gas temperatures to obtain a target gas temperature compensation coefficient; a first determination module configured to determine a target flow rate compensation difference value based on the target gas temperature compensation coefficient, the second target differential pressure value, and the second target flow rate value; a second fitting module configured to fit the target flow rate compensation difference value and the second target differential pressure value to obtain a target flow rate compensation coefficient; and a second determination module configured to acquire, during the ventilation process of the target ventilator, the current gas temperature and the current differential pressure value, and determine a target compensation flow rate based on the current gas temperature, the current differential pressure value, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient.
[0018] In one embodiment, the acquisition module is configured to: determine a set of target data points based on the target flow range of the target ventilator; and for each target data point in the set of target data points, acquire the first target flow rate value and the first target pressure difference value at different target gas temperatures.
[0019] In one implementation, the acquisition module is configured to: divide the target flow range of the target ventilator into several target data points, and determine the target data point set based on the several target data points.
[0020] In one embodiment, the acquisition module is configured to acquire the first target flow rate value and the first target pressure difference value at different target gas temperatures using a gas metering and calibration device.
[0021] In one embodiment, the acquisition module is configured to: acquire the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator during the power-on self-test process of the target ventilator.
[0022] In one embodiment, the first fitting module is configured to: establish a target mathematical model for the first target flow rate value and the first target pressure difference value at different target gas temperatures; and fit the first target flow rate value and the first target pressure difference value at different target gas temperatures according to the target mathematical model to obtain the target gas temperature compensation coefficient; the target mathematical model is shown in the following formula:
[0023] f(x,y)=a*x+b*y+c
[0024] Where a, b, and c represent the target gas temperature compensation coefficients; x and y represent the first target flow rate and the first target pressure difference under different target gas temperatures; and f(x,y) represents the fitting result.
[0025] In one embodiment, the first determining module is configured to: determine a third target flow rate value corresponding to the second target pressure difference value based on the target gas temperature compensation coefficient; and determine the target flow rate compensation difference value based on the third target flow rate value and the second target flow rate value.
[0026] In one embodiment, the second determining module is configured to: determine a target temperature compensation flow rate based on the current gas temperature, the current pressure difference value, and the target gas temperature compensation coefficient; determine a target flow rate compensation flow rate based on the current gas temperature, the current pressure difference value, and the target flow rate compensation coefficient; and determine the target compensation flow rate based on the target temperature compensation flow rate and the target flow rate compensation flow rate.
[0027] Thirdly, embodiments of this application also provide a ventilator, including: a flow device; the outlet of the flow device is connected to a breathing tubing and a main control chip; the main control chip is connected to a first pressure sensor, a second pressure sensor, and a flow sensor; the flow sensor is disposed at the front end of the outlet; the first pressure sensor is disposed on the side of the breathing tubing near the flow device; the second pressure sensor is disposed on the side of the breathing tubing 630 away from the flow device via a pressure acquisition tube; a breathing interface is connected to the side of the breathing tubing away from the flow device.
[0028] Fourthly, embodiments of this application provide a computer device, including: a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the computer device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of any of the above methods.
[0029] Fifthly, embodiments of this application provide a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of any of the methods described above.
[0030] The beneficial effects of this application are as follows: By obtaining multiple data tables of differential pressure values and actual flow rates at different temperatures, and performing three-dimensional data fitting on the data tables, a fitting surface of the actual flow rate of the differential pressure flow sensor with temperature and differential pressure values is obtained, which can accurately calculate the gas flow rate at the current ambient temperature; in addition, the ventilator can perform self-correction of flow rate measurement errors during each power-on self-test, and can accurately measure the flow rate passing through the differential pressure sensor; through a dual flow compensation mechanism, the problem of inaccurate flow rate measurement by the differential pressure flow sensor at different gas temperatures can be solved, without the need for additional devices or sensors, the sensor structure is simple and reusable, and the sensor can repeatedly compensate and correct for flow rate deviations; compared with other highly integrated flow sensors, this application has a lower cost than other sensors, and its cost advantage is obvious. Attached Figure Description
[0031] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 A schematic flowchart illustrating a flow compensation method for a differential pressure flow sensor provided in an embodiment of this application;
[0033] Figure 2 A schematic flowchart illustrating a flow compensation method for a differential pressure flow sensor provided in an embodiment of this application;
[0034] Figure 3 This is a schematic diagram illustrating the correspondence between a first target differential pressure value and a first target flow velocity value in a flow compensation method for a differential pressure flow sensor provided in an embodiment of this application.
[0035] Figure 4 A schematic flowchart illustrating a flow compensation method for a differential pressure flow sensor provided in an embodiment of this application;
[0036] Figure 5 A schematic flowchart illustrating a flow compensation method for a differential pressure flow sensor provided in an embodiment of this application;
[0037] Figure 6 This is a schematic diagram of the structure of a ventilator provided in an embodiment of this application;
[0038] Figure 7 This is a schematic diagram of the structure of a flow compensation device for a differential pressure flow sensor provided in an embodiment of this application;
[0039] Figure 8This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.
[0041] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0042] In the description of this application, it should be noted that if the terms "upper", "lower", etc. appear to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of this application is usually placed in, it is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.
[0043] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0044] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.
[0045] Figure 1 A schematic flowchart illustrating a flow compensation method for a differential pressure flow sensor provided in this application embodiment; as shown. Figure 1 As shown, the method includes:
[0046] Step 110: For the target ventilator, obtain the first target flow rate value and the first target pressure difference value at different target gas temperatures; obtain the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator.
[0047] Among them, the target gas temperature refers to the different gas temperatures of the target ventilator.
[0048] The first target flow rate value is the flow rate value of the target ventilator at different target gas temperatures.
[0049] The first target pressure difference value is the pressure difference value of the target ventilator at different target gas temperatures.
[0050] The first target flow rate value can be obtained through gas metering and calibration equipment. Recording the differential pressure value of the differential pressure flow sensor at this point yields the first target differential pressure value. In practice, the first target flow rate value and the first target differential pressure value are acquired at several target data points under different target gas temperatures. These target data points are determined based on the flow rate range of the target ventilator. Specifically, for example... Figure 2 As shown, step 110 above may include steps 210 and 220:
[0051] Step 210: Determine the target data point set based on the target flow range of the target ventilator.
[0052] Flow rate, also known as flow velocity, is measured in L / min.
[0053] Target flow range, which is the target flow range of the ventilator.
[0054] Target data points are data points determined based on the target flow range of the target ventilator.
[0055] The target data point set consists of several target data points; the target data points can be obtained by equally dividing the target flow range of the target ventilator. Specifically, step 210 above may include the following steps:
[0056] The target flow rate range of the target ventilator is divided into several target data points, and the target data point set is determined based on these target data points.
[0057] For example, if the target flow rate range of the target ventilator is 0-200 L / min, and this range is divided into n target data points, then the target data point set consists of these n target data points.
[0058] Step 220: For each target data point in the target data point set, obtain the first target flow rate value and the first target pressure difference value under different target gas temperatures.
[0059] For example, the first target flow velocity value FLOW1 = {flow1,flow2,flow3,......flow1} can be obtained for each target data point in the target data point set. n The pressure difference between the first target and the target values is AD1 = {ad1,ad2,ad3,......ad n By establishing the correspondence between these n first target flow velocity values and first target pressure difference values, a single pressure difference-flow velocity data table can be obtained, recording the target gas temperature T1 at this time. Furthermore, by changing the target gas temperature and repeating the above steps, different target gas temperatures T = {T1, T2, T3, ... T} can be obtained. m A table of pressure difference and flow velocity data for the following temperatures (e.g., 0℃~60℃), as shown below. Figure 3 As shown.
[0060] In practice, the first target flow rate value and the first target pressure difference value can be obtained through gas metering and calibration equipment; specifically, the above step 110 (220) may include the following steps:
[0061] The first target flow rate and the first target pressure difference at different target gas temperatures are obtained using gas metering and calibration equipment.
[0062] Among them, the gas metering and calibration equipment can be the PF300; the PF-300 is a gas flow analyzer, mainly used for comprehensive quality testing of various medical devices such as ventilators and anesthesia ventilators. It has the ability to measure bidirectional flow, pressure, temperature, humidity and oxygen concentration, and is suitable for measurement in adult, pediatric and high-frequency ventilation modes.
[0063] The main functions and application areas of the PF-300 are as follows;
[0064] (1) Two-way flow measurement: It can measure the gas flow rate of a ventilator or anesthesia machine during inhalation and exhalation.
[0065] (2) Pressure measurement: Provides pressure measurement function to ensure that the equipment can work normally under various pressure conditions.
[0066] (3) Temperature and humidity measurement: Built-in temperature and humidity sensors automatically compensate for gas temperature and humidity to ensure high accuracy of flow measurement.
[0067] (4) Oxygen concentration measurement: Measure the oxygen concentration to ensure that the gas composition meets medical standards.
[0068] The first target flow velocity value and the first target pressure difference value can be obtained in a specific mode.
[0069] The second target flow rate value is the flow rate value at different speeds of the target ventilator.
[0070] The second target differential pressure value is the differential pressure value at different speeds of the target ventilator.
[0071] The second target flow rate value and the second target pressure difference value are usually obtained during the power-on self-test process; specifically, step 110 above may include the following steps:
[0072] During the self-test of the target ventilator upon startup, the second target flow rate value and the second target pressure difference value are acquired at each target rotation speed point output by the target ventilator.
[0073] The flow rate at a fixed rotation speed is fixed; therefore, the second target flow rate at each target rotation speed of the target ventilator is fixed, and the second target differential pressure value can be obtained by recording the differential pressure value of the differential pressure flow sensor at this time.
[0074] For example, outputting y target rotational speed points yields the second target flow velocity value FLOW2 = {flow1,flow2,flow3,......flow...} y The pressure difference between the second target and the second target is AD2 = {ad1,ad2,ad3,......ad y}
[0075] Step 120: Fit the first target flow rate value and the first target pressure difference value under different target gas temperatures to obtain the target gas temperature compensation coefficient.
[0076] Specifically, a mathematical model can be used to fit the first target flow rate value and the first target pressure difference value at different target gas temperatures; more specifically, step 120 may include the following steps:
[0077] For the first target flow rate and the first target pressure difference under different target gas temperatures, a target mathematical model is established. Based on the target mathematical model, the first target flow rate and the first target pressure difference under different target gas temperatures are fitted to obtain the target gas temperature compensation coefficient. The target mathematical model is shown in the following formula (1):
[0078] f(x,y)=a*x+b*y+c (1)
[0079] Where a, b, and c represent the target gas temperature compensation coefficients; x and y represent the first target flow rate and the first target pressure difference under different target gas temperatures; and f(x,y) represents the fitting result.
[0080] For example, for different target gas temperatures T={T1,T2,T3,......T m The first target flow velocity value and the first target pressure difference value {FLOW1,AD1}, {FLOW2,AD2}, ..., {FLOW1,AD1} are given below. mAD m Establish a target mathematical model f(x,y)=a*x+b*y+c between T, FLOW, and AD; based on the target mathematical model, obtain the functional correspondence between flow velocity, gas temperature, and pressure difference values FLOW=Function1(TAD1) and the three-dimensional surface data fitting parameters, which are the target gas temperature compensation coefficients mentioned above.
[0081] Step 130: Determine the target flow rate compensation difference based on the target gas temperature compensation coefficient, the second target pressure difference value, and the second target flow rate value.
[0082] The target velocity compensation difference is obtained by comparing the second target velocity value with the second target pressure difference value under the target gas temperature compensation coefficient; specifically, as shown below. Figure 4 As shown, step 130 above may include steps 410 and 420:
[0083] Step 410: Determine the third target flow rate value corresponding to the second target pressure difference value based on the target gas temperature compensation coefficient.
[0084] For example, based on the second target pressure difference value AD2={ad1,ad2,ad3,......ad y The target gas temperature compensation coefficient is used to determine the third target flow velocity value under the second target pressure difference: Flow_Calc={flow1_calc,flow2_calc,flow3_calc,......flow y _calc}.
[0085] Step 420: Determine the target flow rate compensation difference based on the third target flow rate value and the second target flow rate value.
[0086] The difference between the third target flow velocity value and the second target flow velocity value yields the target flow velocity compensation difference value delta_flow = Flow - Flow_Calc = {flow1_delta,flow2_delta,flow3_delta,......flow y _delta}.
[0087] Step 140: Fit the target flow velocity compensation difference and the second target pressure difference to obtain the target flow velocity compensation coefficient.
[0088] Among them, a fitting model f(z) = d*z is established between the target flow velocity compensation difference and the second target pressure difference. g+e; where d, g, and e represent the target flow velocity compensation coefficients; z represents the second target pressure difference value; f(z) represents the target flow velocity compensation difference value; based on the fitting, the functional correspondence between the target flow velocity compensation difference value and the second target pressure difference value is obtained as delta_flow=Function2(Ad2) and the fitting parameters, which are the target flow velocity compensation coefficients mentioned above.
[0089] Step 150: During the ventilation process of the target ventilator, obtain the current gas temperature and current pressure difference value, and determine the target compensation flow rate based on the current gas temperature, current pressure difference value, target flow rate compensation coefficient, and target gas temperature compensation coefficient.
[0090] This step involves calculating two compensation flow rates based on the current gas temperature, current pressure difference, target flow rate compensation coefficient, and target gas temperature compensation coefficient. These two compensation flow rates are then used to obtain the final target compensation flow rate. Specifically, as follows... Figure 5 As shown, step 150 above may include steps 510 to 530:
[0091] Step 510: Determine the target temperature compensation flow rate based on the current gas temperature, the current pressure difference, and the target gas temperature compensation coefficient.
[0092] Among them, based on the functional correspondence between flow rate, gas temperature, and pressure difference, FLOW = Function1(TAD1) determines the target temperature compensation flow rate (flow rate is the same as flow velocity) Flow_temper = Function1(T,AD1) according to the current gas temperature, current pressure difference, and target gas temperature compensation coefficient.
[0093] Step 520: Determine the target flow rate compensation flow rate based on the current gas temperature, current pressure difference, and target flow rate compensation coefficient.
[0094] Among them, based on the functional correspondence between the target flow velocity compensation difference and the second target pressure difference value, delta_flow=Function2(Ad2), the target flow velocity compensation flow rate (flow rate is flow velocity) Flow_start=Function2(AD2) is determined according to the current pressure difference value and the target flow velocity compensation coefficient.
[0095] Step 530: Determine the target compensation flow rate based on the target temperature compensation flow rate and the target flow velocity compensation flow rate.
[0096] The sum of the target temperature compensation flow rate and the target flow velocity compensation flow rate is defined as the target compensation flow rate Flow = Flow_temper + Flow_start.
[0097] The flow compensation method for the differential pressure flow sensor provided in this application embodiment firstly acquires a first target flow rate value and a first target differential pressure value at different target gas temperatures for the target ventilator; secondly, it acquires a second target flow rate value and a second target differential pressure value at each target rotation speed point output by the target ventilator; thirdly, it fits the first target flow rate value and the first target differential pressure value at different target gas temperatures to obtain a target gas temperature compensation coefficient; fourthly, it determines a target flow rate compensation difference based on the target gas temperature compensation coefficient, the second target differential pressure value, and the second target flow rate value; fifthly, it fits the target flow rate compensation difference and the second target differential pressure value to obtain a target flow rate compensation coefficient; and finally, during the ventilation process of the target ventilator, it acquires the current gas temperature and the current differential pressure value, and determines the target compensation flow rate based on the current gas temperature, the current differential pressure value, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient. Thus, by obtaining multiple data tables of differential pressure values and actual flow rates at different temperatures, and performing three-dimensional data fitting on these data tables, a fitting surface of the actual flow rate of the differential pressure flow sensor with temperature and differential pressure values is obtained, enabling accurate calculation of the gas flow rate at the current ambient temperature. Furthermore, the ventilator's self-test during each startup can self-correct flow rate measurement errors, accurately measuring the flow rate through the differential pressure sensor. Through a dual flow compensation mechanism, the problem of inaccurate flow rate measurement by the differential pressure flow sensor at different gas temperatures can be solved. No additional devices or sensors are required; the sensor structure is simple and reusable, and it can repeatedly compensate and correct for flow rate deviations. Compared to other highly integrated flow sensors, this application is lower in cost, demonstrating a significant cost advantage.
[0098] After introducing the flow compensation method for a differential pressure flow sensor according to exemplary embodiments of this disclosure, the following will refer to... Figure 6 A ventilator 600 according to an exemplary embodiment of the present disclosure will be described.
[0099] refer to Figure 6 600 ventilators, including:
[0100] Flow device 610;
[0101] The outlet 620 of the flow device 610 is connected to a breathing tubing 630 and a main control chip 640; the main control chip 640 is connected to a first pressure sensor 650, a second pressure sensor 660 and a flow sensor 670; the flow sensor 670 is located at the front end of the outlet 620; the first pressure sensor 650 is located on the side of the breathing tubing 630 near the flow device 610; the second pressure sensor 660 is located on the side of the breathing tubing 630 away from the flow device 610 via a pressure acquisition tube 680; a breathing interface 690 is connected to the side of the breathing tubing 630 away from the flow device 610.
[0102] After introducing the ventilator with exemplary embodiments of the present disclosure, the following references are made. Figure 7 The flow compensation device 700 for a differential pressure flow sensor according to an exemplary embodiment of the present disclosure will be described.
[0103] refer to Figure 7 The flow compensation device 700 for the differential pressure flow sensor includes:
[0104] The acquisition module 710 is configured to acquire, for the target ventilator, a first target flow rate value and a first target pressure difference value at different target gas temperatures; and to acquire a second target flow rate value and a second target pressure difference value at each target rotation speed point output by the target ventilator.
[0105] The first fitting module 720 is configured to fit the first target flow rate value and the first target pressure difference value under different target gas temperatures to obtain the target gas temperature compensation coefficient.
[0106] The first determining module 730 is configured to determine the target flow rate compensation difference based on the target gas temperature compensation coefficient, the second target pressure difference value, and the second target flow rate value.
[0107] The second fitting module 740 is configured to fit the target flow velocity compensation difference and the second target pressure difference to obtain the target flow velocity compensation coefficient.
[0108] The second determining module 750 is configured to acquire the current gas temperature and the current pressure difference during the ventilation process of the target ventilator, and determine the target compensation flow rate based on the current gas temperature, the current pressure difference, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient.
[0109] In one embodiment, the acquisition module 710 is configured to: determine a set of target data points based on the target flow range of the target ventilator; and for each target data point in the set of target data points, acquire a first target flow rate value and a first target pressure difference value at different target gas temperatures.
[0110] In one implementation, the acquisition module 710 is configured to: divide the target flow range of the target ventilator into several target data points, and determine a set of target data points based on the several target data points.
[0111] In one embodiment, the acquisition module 710 is configured to acquire a first target flow rate value and a first target pressure difference value at different target gas temperatures through a gas metering and calibration device.
[0112] In one embodiment, the acquisition module 710 is configured to acquire, during the power-on self-test of the target ventilator, a second target flow rate value and a second target pressure difference value at each target rotation speed point output by the target ventilator.
[0113] In one embodiment, the first fitting module 720 is configured to: establish a target mathematical model for the first target flow rate value and the first target pressure difference value under different target gas temperatures; and fit the first target flow rate value and the first target pressure difference value under different target gas temperatures according to the target mathematical model to obtain the target gas temperature compensation coefficient; the target mathematical model is shown in the following formula:
[0114] f(x,y)=a*x+b*y+c
[0115] Where a, b, and c represent the target gas temperature compensation coefficients; x and y represent the first target flow rate and the first target pressure difference under different target gas temperatures; and f(x,y) represents the fitting result.
[0116] In one embodiment, the first determining module 730 is configured to: determine a third target flow rate value corresponding to the second target pressure difference value based on the target gas temperature compensation coefficient; and determine a target flow rate compensation difference based on the third target flow rate value and the second target flow rate value.
[0117] In one embodiment, the second determining module 750 is configured to: determine the target temperature compensation flow rate based on the current gas temperature, the current pressure difference value, and the target gas temperature compensation coefficient; determine the target flow rate compensation flow rate based on the current gas temperature, the current pressure difference value, and the target flow rate compensation coefficient; and determine the target compensation flow rate based on the target temperature compensation flow rate and the target flow rate compensation flow rate.
[0118] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0119] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0120] Figure 8This is a schematic diagram of a computer device provided in an embodiment of this application. The device can be integrated into a terminal device or a chip of a terminal device. The terminal can be a computing device with data processing capabilities.
[0121] The device includes: a processor 801, a storage medium 802, and a bus 803.
[0122] Storage medium 802 stores program instructions executable by processor 801. When computer device 800 is running, processor 801 communicates with storage medium 802 via bus 803, and processor 801 executes the program instructions to perform the above-described method embodiment. The specific implementation and technical effects are similar and will not be described in detail here.
[0123] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform the above-described method embodiments.
[0124] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0125] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0126] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0127] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0128] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A flow compensation method for a differential pressure flow sensor, characterized in that, include: For the target ventilator, obtain the first target flow rate value and the first target pressure difference value at different target gas temperatures; Obtain the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator; The target gas temperature compensation coefficient is obtained by fitting the first target flow rate value and the first target pressure difference value at different target gas temperatures. The target flow rate compensation difference is determined based on the target gas temperature compensation coefficient, the second target pressure difference value, and the second target flow rate value. The target flow velocity compensation difference and the second target pressure difference are fitted to obtain the target flow velocity compensation coefficient; During the ventilation process of the target ventilator, the current gas temperature and current pressure difference are acquired, and the target compensation flow rate is determined based on the current gas temperature, the current pressure difference, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient.
2. The method according to claim 1, characterized in that, The process of obtaining the first target flow rate value and the first target pressure difference value at different target gas temperatures includes: Determine the target data point set based on the target flow range of the target ventilator; For each target data point in the target data point set, obtain the first target flow rate value and the first target pressure difference value at different target gas temperatures.
3. The method according to claim 2, characterized in that, The step of determining the target data point set based on the target flow range of the target ventilator includes: The target flow range of the target ventilator is divided into several target data points, and the target data point set is determined based on the several target data points.
4. The method according to claim 1, characterized in that, The process of obtaining the first target flow rate value and the first target pressure difference value at different target gas temperatures includes: The first target flow rate and the first target pressure difference at different target gas temperatures are obtained using gas metering and calibration equipment.
5. The method according to claim 1, characterized in that, The step of obtaining the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator includes: During the power-on self-test of the target ventilator, the second target flow rate value and the second target pressure difference value are acquired at each target rotation speed point output by the target ventilator.
6. The method according to claim 1, characterized in that, The step of fitting the first target flow rate value and the first target pressure difference value at different target gas temperatures to obtain the target gas temperature compensation coefficient includes: For the first target flow rate value and the first target pressure difference value at different target gas temperatures, a target mathematical model is established. Based on the target mathematical model, the first target flow rate value and the first target pressure difference value at different target gas temperatures are fitted to obtain the target gas temperature compensation coefficient. The target mathematical model is shown in the following formula: in, , , Indicates the target gas temperature compensation coefficient; , This represents the first target flow rate value and the first target pressure difference value under different target gas temperatures; This indicates the fitting result.
7. The method according to claim 1, characterized in that, The step of determining the target flow velocity compensation difference based on the target gas temperature compensation coefficient, the second target pressure difference value, and the second target flow velocity value includes: Based on the target gas temperature compensation coefficient, determine the third target flow rate value corresponding to the second target pressure difference value; The target flow rate compensation difference is determined based on the third target flow rate value and the second target flow rate value.
8. The method according to claim 1, characterized in that, The step of determining the target compensation flow rate based on the current gas temperature, the current pressure difference, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient includes: The target temperature compensation flow rate is determined based on the current gas temperature, the current pressure difference value, and the target gas temperature compensation coefficient. The target flow rate compensation flow rate is determined based on the current gas temperature, the current pressure difference, and the target flow rate compensation coefficient. The target compensation flow rate is determined based on the target temperature compensation flow rate and the target flow velocity compensation flow rate.
9. A flow compensation device for a differential pressure flow sensor, characterized in that, include: The acquisition module is configured to acquire, for the target ventilator, the first target flow rate value and the first target pressure difference value at different target gas temperatures; Obtain the second target flow rate value and the second target pressure difference value at each target rotation speed point output by the target ventilator; The first fitting module is configured to fit the first target flow rate value and the first target pressure difference value at different target gas temperatures to obtain a target gas temperature compensation coefficient. The first determining module is configured to determine the target flow rate compensation difference based on the target gas temperature compensation coefficient, the second target pressure difference value, and the second target flow rate value. The second fitting module is configured to fit the target flow velocity compensation difference and the second target pressure difference to obtain the target flow velocity compensation coefficient. The second determining module is configured to acquire the current gas temperature and the current pressure difference value during the ventilation process of the target ventilator, and determine the target compensation flow rate based on the current gas temperature, the current pressure difference value, the target flow rate compensation coefficient, and the target gas temperature compensation coefficient.
10. A ventilator, characterized in that, include: The flow compensation device as described in claim 9; The air outlet of the flow compensation device is connected to a breathing tubing and a main control chip; the main control chip is connected to a first pressure sensor, a second pressure sensor, and a flow sensor; the flow sensor is located at the front end of the air outlet; the first pressure sensor is located on the side of the breathing tubing near the flow compensation device; the second pressure sensor is located on the side of the breathing tubing away from the flow compensation device via a pressure acquisition tube; a breathing interface is connected to the side of the breathing tubing away from the flow compensation device.
Citation Information
Patent Citations
Pressure compensation method for noninvasive breathing machine and breathing machine
CN116236647A
Flow sensing device with temperature compensation
US20120226449A1