Ventilator-based simulated lung parameter adjustment method, device, equipment and storage medium
By automatically adjusting the compliance and resistance parameters of the simulated lung using a ventilator, the problem of poor adjustment efficiency and accuracy in existing technologies is solved, enabling efficient and safe testing in different environments.
Patent Information
- Application Number
- CN202411993390.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2044-12-31
AI Technical Summary
Existing technologies for simulating lung compliance and resistance parameters have poor efficiency and accuracy, and cannot accommodate different testing environments, posing safety risks.
By acquiring the initial compliance and resistance parameters of the simulated lung, the parameters are adjusted using a ventilator, including fitting compliance and resistance compensation values, and then dynamically adjusting using the fitting coefficients to achieve automatic matching of the target parameters.
It improves the efficiency and accuracy of simulated lung parameter adjustment, can adapt to different testing environments, reduces manual operation, and lowers safety risks.
Smart Images

Figure CN119905268B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of simulated lung regulation technology, and in particular to methods, devices, equipment and storage media for regulating simulated lung parameters based on ventilators. Background Technology
[0002] In the actual testing and application of ventilators, it is necessary to continuously adjust the compliance and resistance parameters of the simulated iron lung to test the ventilator equipment. In traditional adjustment methods, it is necessary to adjust directly by hand. When adjusting the compliance, the knob of the simulated iron lung is adjusted to the specified compliance position. When adjusting the lung resistance, different air resistance is changed. The air resistance and the simulated lung are two independent devices, which is cumbersome and troublesome for testers. For the testing of ventilator equipment, it is necessary to continuously adjust the compliance and resistance of the simulated iron lung to meet the test requirements, resulting in poor adjustment efficiency and accuracy. Moreover, it cannot take into account different test environments (such as high and low temperatures, electromagnetic fields, etc.), which may easily lead to safety hazards.
[0003] Therefore, how to achieve active adjustment of the compliance and resistance parameters of the simulated lung, improve the efficiency and accuracy of adjustment, and adapt to different ventilator testing scenarios is a problem that urgently needs to be solved.
[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this application is to provide a method, device, equipment, and storage medium for adjusting simulated lung parameters based on a ventilator, aiming to solve the technical problems of poor efficiency and accuracy in manually adjusting the compliance and resistance parameters of the simulated lung, and the inability to accommodate different testing environments.
[0006] To achieve the above objectives, this application proposes a method for adjusting simulated lung parameters based on a ventilator, the method comprising:
[0007] Obtain the initial compliance and initial resistance parameters of the simulated lung;
[0008] The simulated lung is conditioned using a ventilator based on the initial compliance parameters to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing.
[0009] The resistance compensation value of the ventilator was fitted to obtain the fitting coefficient;
[0010] The target resistance parameter is obtained by adjusting the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter.
[0011] Ventilator performance was tested based on the target compliance parameter and the target resistance parameter.
[0012] In one embodiment, the step of adjusting the compliance of the simulated lung using a ventilator based on the initial compliance parameters to obtain the target compliance parameters includes:
[0013] Obtain the initial pressure of the simulated lung;
[0014] The flow output device of the ventilator is controlled to generate a constant flow of air and to collect the tidal volume of the flow sensor and the current pressure of the simulated lung after the airflow output is completed;
[0015] The pressure difference of the simulated lung is determined based on the initial pressure and the current pressure.
[0016] The reference compliance parameters are calculated based on the tidal volume and the pressure difference.
[0017] The simulated lung is subjected to compliance adjustment based on the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter.
[0018] The formula for calculating the reference compliance parameter is as follows:
[0019] C_reback = Vt / Delta_p
[0020] Where C_reback is the reference compliance parameter, Vt is the tidal volume, and Delta_p is the pressure difference of the simulated lung.
[0021] In one embodiment, adjusting the compliance of the simulated lung based on the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter includes:
[0022] The initial compliance parameter and the reference compliance parameter are compared to obtain a first comparison result;
[0023] When the error between the initial compliance parameter and the reference compliance parameter does not reach the preset compliance error threshold, the compliance adjustment knob of the simulated lung is controlled to perform feedback adjustment and the step of obtaining the initial pressure of the simulated lung is re-executed.
[0024] When the error between the initial compliance parameter and the reference compliance parameter reaches a preset compliance error threshold in the first comparison result, the reference compliance parameter is used as the target compliance parameter.
[0025] In one embodiment, the process of fitting the resistance compensation value of the ventilator to obtain the fitting coefficient includes:
[0026] The ventilator is controlled to output gas at different flow rates and expel gas into the air through the air outlet of the tubing, and the first pressure value of the first pressure sensor and the second pressure value of the second pressure sensor are obtained.
[0027] The resistance compensation value of the ventilator is fitted based on the different flow rates, the first pressure value, and the second pressure value to obtain the fitting coefficient.
[0028] In one embodiment, the step of fitting the ventilator with resistance compensation values based on the different flow rates, the first pressure value, and the second pressure value to obtain fitting coefficients includes:
[0029] The resistance compensation value for different flow rates is determined based on the different flow rates, the first pressure value, and the second pressure value.
[0030] The fitting coefficients are obtained by fitting the data based on the resistance compensation values and corresponding flow rates under different flow rates.
[0031] In one embodiment, the step of adjusting the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter to obtain the target resistance parameter includes:
[0032] Under the target compliance parameters, the flow output device of the ventilator is controlled to generate a constant flow of air, and the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor are collected after the airflow output is completed.
[0033] Based on the flow rate, peak pressure, and plateau pressure, a reference resistance parameter is obtained;
[0034] The target resistance compensation value is determined based on the fitting coefficient and the flow rate;
[0035] The compensated resistance parameters are determined based on the initial resistance parameters and the target resistance compensation value;
[0036] The resistance of the simulated lung is adjusted according to the reference resistance parameter and the compensated resistance parameter to obtain the target resistance parameter;
[0037] The formula for calculating the reference resistance parameter is as follows:
[0038] R_reback = (Ppeak - Pplat) / Flow
[0039] Where R_reback is the reference resistance parameter, Vt is the peak pressure, Ppeak is the plateau pressure, and Flow is the flow rate.
[0040] In one embodiment, adjusting the resistance of the simulated lung based on the reference resistance parameter and the compensated resistance parameter to obtain the target resistance parameter includes:
[0041] The reference resistance parameter and the compensated resistance parameter are compared to obtain a second comparison result;
[0042] When the second comparison result shows that the error between the reference resistance parameter and the compensated resistance parameter does not reach the preset resistance error threshold, the opening degree of the electronic resistance adjustment valve of the ventilator is adjusted, and the steps of controlling the flow output device of the ventilator to generate constant airflow and collecting the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor after the airflow output is completed are re-executed when the ventilator is in the target compliance parameter.
[0043] When the second comparison result shows that the error between the reference resistance parameter and the compensated resistance parameter reaches a preset resistance error threshold, the reference resistance parameter is used as the target resistance parameter.
[0044] Furthermore, to achieve the above objectives, this application also proposes a ventilator-based simulated lung parameter adjustment device, which includes:
[0045] The acquisition module is used to acquire the initial compliance parameters and initial resistance parameters of the simulated lung;
[0046] An adjustment module is used to adjust the compliance of the simulated lung according to the initial compliance parameters using a ventilator to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing;
[0047] The fitting module is used to fit the resistance compensation value of the ventilator and obtain the fitting coefficient;
[0048] The adjustment module is further configured to adjust the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter, to obtain the target resistance parameter;
[0049] The testing module is used to perform ventilator performance tests based on the target compliance parameters and the target resistance parameters.
[0050] Furthermore, to achieve the above objectives, this application also proposes a ventilator-based simulated lung parameter adjustment device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the ventilator-based simulated lung parameter adjustment method described above.
[0051] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the simulated lung parameter adjustment method based on a ventilator as described above.
[0052] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the ventilator-based simulated lung parameter adjustment method described above.
[0053] One or more technical solutions proposed in this application obtain initial compliance parameters and initial resistance parameters of a simulated lung; adjust the compliance of the simulated lung using a ventilator based on the initial compliance parameters to obtain a target compliance parameter, wherein the ventilator is connected to the simulated lung via connecting tubing; fit the ventilator to a resistance compensation value to obtain a fitting coefficient; adjust the resistance of the simulated lung using the ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter to obtain a target resistance parameter; and perform ventilator performance testing based on the target compliance parameter and the target resistance parameter. This approach enables active adjustment of the compliance and resistance parameters of the simulated lung, effectively improving adjustment efficiency and accuracy, and adapting to different ventilator testing scenarios.
[0054] In summary, this application achieves accurate and efficient active adjustment of the simulated lung's compliance by adjusting the ventilator's compliance based on initial compliance parameters. By fitting the ventilator's resistance compensation value, the accuracy of resistance parameter adjustment is effectively improved. Furthermore, by adjusting the simulated lung's resistance based on the fitting coefficient, target compliance parameter, and initial resistance parameter, accurate and efficient active adjustment of the simulated lung's resistance parameters can be achieved. This allows for ventilator performance testing based on the target compliance and resistance parameters, adapting to different ventilator testing scenarios. It overcomes the technical shortcomings of manually adjusting the simulated lung's compliance and resistance parameters, which suffers from poor efficiency and accuracy and cannot accommodate different testing environments. This approach enables active adjustment of the simulated lung's compliance and resistance parameters, effectively improving adjustment efficiency and accuracy, and is adaptable to various ventilator testing scenarios. Attached Figure Description
[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0056] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0057] Figure 1 This is a flowchart illustrating Embodiment 1 of the simulated lung parameter adjustment method based on a ventilator in this application.
[0058] Figure 2 This is a schematic diagram of the structure of a ventilator and a simulated lung provided in an embodiment of the simulated lung parameter adjustment method based on a ventilator according to this application;
[0059] Figure 3 This is a schematic diagram of the module structure of the simulated lung parameter adjustment device based on a ventilator according to an embodiment of this application;
[0060] Figure 4 This is a schematic diagram of the hardware operating environment involved in the simulated lung parameter adjustment method based on a ventilator in the embodiments of this application.
[0061] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0062] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0063] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0064] The main solution of this application embodiment is as follows: obtaining initial compliance parameters and initial resistance parameters of a simulated lung; adjusting the compliance of the simulated lung using a ventilator based on the initial compliance parameters to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing; fitting the ventilator with resistance compensation values to obtain fitting coefficients; adjusting the resistance of the simulated lung using the ventilator based on the fitting coefficients, the target compliance parameters, and the initial resistance parameters to obtain target resistance parameters; and performing ventilator performance testing based on the target compliance parameters and the target resistance parameters.
[0065] In the actual testing and application of ventilators, the compliance and resistance parameters of the simulated iron lung need to be continuously adjusted to test the ventilator equipment. Traditional adjustment methods require direct manual adjustment. Adjusting compliance involves setting the knob of the simulated iron lung to the specified compliance position, and adjusting lung resistance involves changing different air resistance levels. Since the air resistance and the simulated lung are two independent devices, the operation is cumbersome and inconvenient for test personnel. For ventilator testing, the need to continuously adjust the compliance and resistance of the simulated iron lung to meet testing requirements leads to poor adjustment efficiency and accuracy, and it cannot accommodate different testing environments (such as high and low temperatures, electromagnetic fields, etc.), potentially posing safety hazards. Therefore, how to achieve active adjustment of the compliance and resistance parameters of the simulated lung, improve adjustment efficiency and accuracy, and adapt to different ventilator testing scenarios is a problem that urgently needs to be solved.
[0066] This application enables accurate and efficient active adjustment of the simulated lung's compliance by using a ventilator to adjust the lung's compliance based on initial compliance parameters. By fitting resistance compensation values to the ventilator, the accuracy of resistance parameter adjustment is effectively improved. Furthermore, by adjusting the simulated lung's resistance based on the fitting coefficient, target compliance parameters, and initial resistance parameters, accurate and efficient active adjustment of the simulated lung's resistance parameters can be achieved. Ventilator performance testing can then be conducted based on target compliance and resistance parameters. This approach is adaptable to various ventilator testing scenarios, overcoming the shortcomings of manual adjustment of simulated lung compliance and resistance parameters, which suffers from poor efficiency and accuracy and cannot accommodate different testing environments. It enables active adjustment of simulated lung compliance and resistance parameters, effectively improving adjustment efficiency and accuracy, and is adaptable to various ventilator testing scenarios.
[0067] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions, such as a ventilator-based simulated lung parameter adjustment device. The following description uses a ventilator-based simulated lung parameter adjustment device as an example to illustrate this embodiment and the subsequent embodiments.
[0068] Based on this, embodiments of this application provide a method for adjusting simulated lung parameters based on a ventilator, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the simulated lung parameter adjustment method based on a ventilator according to this application.
[0069] In this embodiment, the ventilator-based simulated lung parameter adjustment method includes steps S10 to S70:
[0070] Step S10: Obtain the initial compliance parameters and initial resistance parameters of the simulated lung.
[0071] It should be noted that a simulated lung is a device used to simulate the function of human lungs. It can simulate the compliance and resistance characteristics of the lungs during normal breathing. In ventilator testing, the parameter adjustment of the simulated lung is crucial to ensuring the accurate evaluation of ventilator performance. In this embodiment, the simulated lung is also called a simulated iron lung. Its internal structure and functional design are used to simulate the physiological characteristics of human lungs. It usually includes parts such as an air sac, airway resistance element and pressure sensor, and can simulate the compliance and resistance characteristics of the lungs under different breathing conditions.
[0072] Understandably, lung compliance parameters refer to the ease with which the lungs expand; higher compliance indicates easier lung expansion, measured in ml / cmH2O. Lung resistance parameters refer to the ease with which airflow enters the lungs; higher resistance indicates a smaller flow rate into the lungs, measured in cmH2O / (L*s).
[0073] It is worth noting that the initial compliance parameters and initial resistance parameters of the simulated lung refer to the parameters set by the user before starting the test according to the ventilator test requirements. These parameters can be preset values or values obtained through a specific test procedure. This embodiment does not impose specific restrictions on them.
[0074] Step S20: The simulated lung is conditioned using a ventilator according to the initial compliance parameters to obtain the target compliance parameters, wherein the ventilator is connected to the simulated lung via a connecting tubing.
[0075] It should be noted that the ventilator automatically adjusts the compliance of the simulated lung through its control system. This adjustment process is dynamic and can be adjusted based on real-time feedback to ensure that the compliance of the simulated lung is consistent with the ventilator's measurements.
[0076] As is understood, a ventilator is a medical device used to assist patients in breathing. It provides respiratory support by mechanically simulating the natural breathing process of the human body. In this embodiment, the ventilator is connected to a simulated lung, and the compliance of the simulated lung is adjusted by controlling airflow and pressure.
[0077] It is worth noting that in this embodiment, the ventilator includes an airflow generating device, a connecting pipe connected to the air outlet of the airflow generating device, a main control chip, and a pressure sensor and a flow sensor respectively connected to the connecting pipe; the pressure sensor and flow sensor are located at one end of the connecting pipe and transmit data with the main control chip. An electronic damping valve is located at the air inlet of the iron lung device, behind the pressure sensor and flow sensor, and is connected to the main control chip for control. A motor drive device is also provided at the simulated lung compliance adjustment knob, which is connected to the main control chip for control. Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of a ventilator and a simulated lung.
[0078] Step S30: Fit the resistance compensation value of the ventilator to obtain the fitting coefficient.
[0079] It should be noted that the fitting coefficients are parameters used in a mathematical model to describe the relationship between variables. They are obtained through mathematical methods that minimize errors to ensure that the model can reflect the actual data as accurately as possible. In this embodiment, the fitting coefficients are calculated to optimize the ventilator's output so that it can accurately simulate the resistance characteristics that match the simulated lung.
[0080] Understandably, in a ventilator control system, the presence of the ventilator tubing and airway creates inherent resistance. Therefore, we need to obtain the resistance values at different flow rates to compensate for this resistance during subsequent resistance adjustments. A fitting algorithm can generate one or more fitting coefficients, reflecting the ventilator's resistance compensation characteristics under different operating conditions. These coefficients are obtained through a series of test data reflecting the relationship between the ventilator's output and the actual resistance of the simulated lung under different resistance settings. Using this data, a mathematical model can be established. In actual operation, the corresponding resistance compensation value can be calculated based on the model to ensure that the ventilator's output matches the resistance parameters of the simulated lung.
[0081] In one feasible implementation, step S30 includes: controlling the ventilator to output gas at different flow rates and expelling gas into the air through the air outlet of the tubing; obtaining a first pressure value from a first pressure sensor and a second pressure value from a second pressure sensor; and fitting the ventilator with resistance compensation values based on the different flow rates, the first pressure value, and the second pressure value to obtain fitting coefficients.
[0082] It should be noted that controlling the ventilator's output gas flow rate can be achieved through software. The software controls the ventilator's airflow generation device to produce different flow rates. During testing, an initial flow rate value is first set, and then the flow rate is gradually increased or decreased to simulate different breathing states. After each flow rate change, the pressure values at the outlet and end of the tubing are measured using a first pressure sensor connected to the outlet and a second pressure sensor connected to the end of the tubing, respectively. These pressure values, along with the flow rate value, constitute the input data for the fitting algorithm, used to calculate the ventilator's resistance compensation value. Using these data points, the least squares method or other fitting algorithms can be used to determine the fitting coefficients. These coefficients describe the ventilator's resistance characteristics at different flow rates, thus providing accurate compensation values for subsequent simulated lung resistance adjustment. The fitting coefficients are determined by minimizing the difference between the actual measured values and the model's predicted values, ensuring that the ventilator's output gas flow rate matches the resistance characteristics of the simulated lung.
[0083] It is understandable that the ventilator outputs different flow rates: Flow = {flow1,flow2,flow3,...flow} n The gas is discharged into the air through the outlet of the pipeline, and the pressure values P1 of the first pressure sensor and P2 of the second pressure sensor at the end of the pipeline are recorded.
[0084] In one feasible implementation, the step of fitting the resistance compensation value of the ventilator according to the different flow rates, the first pressure value, and the second pressure value to obtain the fitting coefficient includes: determining the resistance compensation value under different flow rates according to the different flow rates, the first pressure value, and the second pressure value; and performing data fitting based on the resistance compensation value under different flow rates and the corresponding flow rate to obtain the fitting coefficient.
[0085] It should be noted that different flows are defined as Flow = {flow1,flow2,flow3,...flow...} n The pressure values P1 from the first pressure sensor and P2 from the second pressure sensor can be used to obtain the ventilator resistance compensation value R_respirator=(P2-P1) / Flow={r1,r2,r3,...,r n The data is fitted based on the resistance compensation value R_respirator and the ventilator flow rate Flow value. The fitting equation is R=a*Flow+b, which yields the fitting coefficients a and b. The fitting coefficients a and b are then stored in the ventilator's storage medium.
[0086] Step S40: The simulated lung is subjected to resistance adjustment by a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter to obtain the target resistance parameter.
[0087] It should be noted that during resistance adjustment, the ventilator uses the obtained fitting coefficients to compensate for the initial resistance parameters, ensuring that the resistance characteristics of the simulated lung match the target resistance parameters. The ventilator's control system automatically adjusts the opening of the electronic resistance adjustment valve, thereby changing the resistance characteristics of the simulated lung. This process is also a dynamic adjustment process; the ventilator monitors the resistance changes of the simulated lung in real time and compares them with the resistance parameters measured by the ventilator, continuously adjusting to achieve the optimal match.
[0088] Understandably, the ventilator automatically adjusts the resistance of the simulated lung through its control system. This adjustment process is dynamic and can be adjusted based on real-time feedback to ensure that the resistance of the simulated lung is consistent with the ventilator's measurement.
[0089] Step S50: Perform ventilator performance testing based on the target compliance parameter and the target resistance parameter.
[0090] It should be noted that after the resistance and compliance adjustments are completed, the compliance adjustment knob controlled by the electronic resistance valve and motor drive device will be in the state of the resistance and compliance values that the user needs to set. The ventilator will display the compliance and resistance values of the simulated lung and prompt the user that the adjustment is complete, and continue with the subsequent testing.
[0091] Understandably, the purpose of ventilator performance testing is to verify whether the ventilator can achieve the expected performance standards after adjusting the compliance and resistance of the simulated lung. During the test, the ventilator simulates different breathing modes on the simulated lung, including normal breathing, deep breathing, and rapid breathing, to ensure that the ventilator can provide accurate respiratory support in various breathing modes. Performance testing also includes evaluating the ventilator's response time, stability, and accuracy to ensure its reliability and safety in clinical applications.
[0092] This embodiment provides a method for adjusting simulated lung parameters based on a ventilator. The method involves obtaining initial compliance and initial resistance parameters of the simulated lung; adjusting the simulated lung's compliance using a ventilator based on the initial compliance parameters to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing; fitting resistance compensation values to the ventilator to obtain fitting coefficients; adjusting the resistance of the simulated lung using the ventilator based on the fitting coefficients, the target compliance parameters, and the initial resistance parameters to obtain target resistance parameters; and conducting ventilator performance testing based on the target compliance and target resistance parameters. This method enables active adjustment of the simulated lung's compliance and resistance parameters, effectively improving adjustment efficiency and accuracy, and adapting to different ventilator testing scenarios.
[0093] In summary, this embodiment achieves accurate and efficient active adjustment of the simulated lung's compliance by adjusting the ventilator's compliance based on initial compliance parameters. By fitting the ventilator's resistance compensation value, the accuracy of resistance parameter adjustment is effectively improved. Furthermore, by adjusting the simulated lung's resistance based on the fitting coefficient, target compliance parameters, and initial resistance parameters, accurate and efficient active adjustment of the simulated lung's resistance parameters can be achieved. This allows for ventilator performance testing based on target compliance and resistance parameters, adapting to different ventilator testing scenarios. It overcomes the technical shortcomings of manual adjustment of simulated lung compliance and resistance parameters, which suffers from poor efficiency and accuracy and cannot accommodate different testing environments. This embodiment enables active adjustment of simulated lung compliance and resistance parameters, effectively improving adjustment efficiency and accuracy, and is adaptable to various ventilator testing scenarios.
[0094] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, step S20 includes steps S201 to S205:
[0095] Step S201: Obtain the initial pressure of the simulated lung.
[0096] It should be noted that the initial pressure of the simulated lung refers to the pressure state inside the simulated lung before the ventilator's flow output device generates a constant flow of air. This state is the natural pressure level of the simulated lung when it is not affected by external airflow, and it is an important reference data before compliance adjustment.
[0097] Understandably, the initial pressure of the simulated lung can be monitored in real time using a pressure sensor to ensure that pressure changes in the simulated lung during adjustment can be accurately recorded.
[0098] Step S202: Control the flow output device of the ventilator to generate a constant flow of air and collect the tidal volume of the flow sensor and the current pressure of the simulated lung after the airflow output is completed.
[0099] It's important to note that a flow sensor measures the amount of airflow produced by the airflow output device, while tidal volume refers to the amount of gas entering and exiting the lungs with each breath during a respiratory cycle. By measuring tidal volume and the current pressure of the simulated lung, the ventilator can calculate the compliance of the simulated lung, i.e., the simulated lung's ability to respond to changes in airflow. This data is crucial for subsequent compliance adjustments because it provides baseline information before adjustment.
[0100] Understandably, the pressure inside the lungs can also be monitored in real time by a pressure sensor after the ventilator's flow output device generates a constant flow of air to simulate the current pressure of the lungs.
[0101] It is worth noting that, based on the user-set initial compliance parameter C_Set, the ventilator's electronic resistance adjustment valve is fixed at a fixed resistance R_cons. The ventilator's flow output device generates a constant airflow, and the volume control can be 500ml; this embodiment does not impose a specific limitation on this. After the volume output is completed, the flow information from the flow sensor is calculated to obtain the tidal volume Vt and the pressure difference Delta_p generated in the simulated lung before and after control.
[0102] Step S203: Determine the pressure difference of the simulated lung based on the initial pressure and the current pressure.
[0103] It should be noted that the pressure difference Delta_p generated by the simulated lung before and after control can be determined by the initial pressure of the simulated lung before the constant flow is generated by the flow output device of the ventilator and the current pressure of the simulated lung after the constant flow is generated by the flow output device of the ventilator.
[0104] Step S204: Calculate the reference compliance parameters based on the tidal volume and the pressure difference.
[0105] It should be noted that the reference compliance parameter, which is the compliance parameter of the simulated lung fed back by the ventilator, reflects the simulated lung's ability to respond to changes in airflow. The compliance of the simulated lung can be obtained by calculating the ratio of tidal volume to pressure difference, that is, the volume change of the simulated lung under a unit pressure change.
[0106] Understandably, the formula for calculating compliance is:
[0107] C_reback = Vt / Delta_p
[0108] Where C_reback is the reference compliance parameter, Vt is the tidal volume, and Delta_p is the pressure difference of the simulated lung.
[0109] Step S205: Adjust the compliance of the simulated lung according to the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter.
[0110] It's important to note that during the adjustment process, the ventilator compares the reference compliance parameters with the initial compliance parameters. By adjusting the compliance adjustment knob, the compliance of the simulated lung is altered until the target compliance parameter is reached. This process is dynamic and requires real-time monitoring and adjustment by the ventilator to ensure the simulated lung compliance matches the target value. Once adjustment is complete, the ventilator will display the target compliance parameter, indicating successful adjustment and preparing for the next step of resistance adjustment. In this way, the ventilator can accurately simulate the lung compliance of different patients, providing more accurate respiratory support for clinical practice.
[0111] In one feasible implementation, step S205 includes: comparing the initial compliance parameter and the reference compliance parameter to obtain a first comparison result; when the first comparison result indicates that the error between the initial compliance parameter and the reference compliance parameter does not reach a preset compliance error threshold, controlling the compliance adjustment knob of the simulated lung to perform feedback adjustment and re-executing the step of obtaining the initial pressure of the simulated lung; when the first comparison result indicates that the error between the initial compliance parameter and the reference compliance parameter reaches the preset compliance error threshold, using the reference compliance parameter as the target compliance parameter.
[0112] It should be noted that the compliance adjustment knob is equipped with a motor drive, which precisely controls the rotation of the simulated lung's compliance adjustment knob, thereby achieving fine-tuning of the simulated lung's compliance. The addition of the motor drive makes the adjustment process more automated and precise, reducing errors from manual operation and adjustment time. Under the control of the motor drive, the simulated lung's compliance can be quickly and accurately adjusted to the target compliance parameters, ensuring the accuracy and reliability of ventilator performance testing. Furthermore, the use of the motor drive also improves the repeatability and consistency of the adjustment process.
[0113] Understandably, based on the feedback C_reback (reference compliance parameter) and the comparison with the set C_Set (initial compliance parameter), the motor drive device on the ventilator control compliance adjustment knob performs feedback adjustment. After repeating the above steps, and after continuous feedback adjustment, when C_reback reaches stability and is within the control error threshold range compared with C_Set, the compliance adjustment of the simulated lung is completed. The reference compliance parameter fed back by the ventilator at this time is taken as the target compliance parameter.
[0114] This embodiment controls the flow output device of the ventilator to generate a constant flow of air and collects the tidal volume of the flow sensor after the airflow output is completed and the pressure difference generated by the simulated lung before and after control. Then, the reference compliance parameters fed back by the ventilator can be quickly and accurately calculated based on the tidal volume and pressure difference. In this way, the compliance of the simulated lung can be adjusted in combination with the initial compliance parameters, which effectively improves the accuracy and efficiency of compliance adjustment.
[0115] Based on the first embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, step S40 includes steps S401 to S405:
[0116] Step S401: When the ventilator is under the target compliance parameters, control the flow output device of the ventilator to generate a constant flow of air and collect the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor after the airflow output is completed.
[0117] It's important to note that peak pressure and plateau pressure refer to the highest pressure the simulated lung experiences and the stable pressure it maintains for a period of time during the respiratory cycle. Peak pressure is the highest pressure reached by the simulated lung during the inspiratory phase, while plateau pressure is the relatively stable, lower pressure maintained by the simulated lung at the end of the expiratory phase. By measuring these two pressure values, the performance of the simulated lung can be evaluated at different stages of the respiratory cycle.
[0118] Understandably, based on the user-defined reference resistance parameter R_Set for the simulated lung, a fixed compliance (such as a pre-adjusted target compliance parameter C_reback) is established for the simulated lung. The ventilator's flow output device generates a constant airflow, with volume control adjustable to 500 ml. After volume output is complete, the flow obtained from the flow sensor and the peak pressure obtained from the pressure sensor are calculated, i.e., peak pressure Ppeak, and plateau pressure Pplat.
[0119] Step S402: Calculate the reference resistance parameters based on the flow rate, peak pressure, and plateau pressure.
[0120] It should be noted that the reference resistance parameter, i.e., the resistance parameter of the simulated lung fed back by the ventilator, reflects the simulated lung's resistance to changes in airflow. The resistance of the simulated lung, i.e., the pressure change of the simulated lung per unit flow rate, can be obtained by calculating the ratio of the flow rate to the pressure difference between peak and plateau pressures. The formula for calculating resistance is:
[0121] R_reback = (Ppeak - Pplat) / Flow
[0122] Where R_reback is the reference resistance parameter, Vt is the peak pressure, Ppeak is the plateau pressure, and Flow is the flow rate.
[0123] Step S403: Determine the target resistance compensation value based on the fitting coefficient and the flow rate.
[0124] It should be noted that the target resistance compensation value refers to the resistance compensation value R_respirator under the flow rate. The formula for calculating the target resistance compensation value is as follows:
[0125] R_respirator = a*Flow + b
[0126] Where R_respirator is the target resistance compensation value, Flow is the flow rate, and a and b are the fitting coefficients.
[0127] Step S404: Determine the compensated resistance parameters based on the initial resistance parameters and the target resistance compensation value.
[0128] It should be noted that the compensated resistance parameter refers to the sum of the initial resistance parameter R_Set and the resistance compensation value R_respirator under the flow rate.
[0129] Step S405: Adjust the resistance of the simulated lung according to the reference resistance parameter and the compensated resistance parameter to obtain the target resistance parameter.
[0130] It's important to note that during the adjustment process, the ventilator compares the reference resistance parameter with the compensated resistance parameter. By adjusting the opening and closing of the electronic resistance valve, it changes the resistance of the simulated lung until the target resistance parameter is reached. This process also requires real-time monitoring and adjustment by the ventilator to ensure that the resistance of the simulated lung matches the target value. Once the adjustment is complete, the ventilator will display the target resistance parameter, indicating successful adjustment to the user and preparing for the next test. In this way, the ventilator can accurately simulate the lung resistance of different patients.
[0131] In one feasible implementation, step S405 includes: comparing the reference resistance parameter and the compensated resistance parameter to obtain a second comparison result; when the second comparison result indicates that the error between the reference resistance parameter and the compensated resistance parameter does not reach a preset resistance error threshold, adjusting the opening degree of the electronic resistance adjustment valve of the ventilator, and re-executing the step of controlling the flow output device of the ventilator to generate a constant flow of air under the target compliance parameter and collecting the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor after the airflow output is completed; when the second comparison result indicates that the error between the reference resistance parameter and the compensated resistance parameter reaches the preset resistance error threshold, using the reference resistance parameter as the target resistance parameter.
[0132] It should be noted that, based on the comparison between the ventilator feedback R_reback (reference resistance parameter) and the compensated R_Set_Compen (compensated resistance parameter), the ventilator controls the electronic resistance valve to perform feedback adjustment. The electronic resistance valve can adjust the valve opening degree to adjust the air resistance value. After repeating the above steps and continuous feedback adjustment, R_reback reaches stability and is within the control error threshold range compared with R_Set_Compen. The simulated lung compliance adjustment is completed, and the reference resistance parameter fed back by the ventilator at this time is taken as the target resistance parameter.
[0133] Understandably, in this application, the user manually sets the compliance and resistance of the simulated iron lung on the ventilator. The ventilator controls the airflow output to calculate the compliance and resistance of the iron lung. When the compliance or resistance does not reach the set value, the ventilator controls the drive device or electronic resistance valve to adjust the compliance and resistance of the simulated iron lung. After the adjustment is stable, the compliance or resistance calculated by the ventilator is the compliance and resistance value of the simulated iron lung that the user needs to set, which can effectively improve the adjustment efficiency and accuracy.
[0134] This embodiment controls the ventilator's flow output device to generate a constant flow of air under the target compliance parameters, and collects the flow rate from the flow sensor and the peak and plateau pressures from the pressure sensor after the airflow output is completed. This allows for the rapid and accurate calculation of reference resistance parameters. The initial resistance parameters are then compensated based on the fitting coefficient and the target resistance compensation value determined by the flow rate. This effectively improves the accuracy of resistance parameter adjustment. Furthermore, the resistance of the simulated lung is adjusted based on the reference resistance parameters and the compensated resistance parameters, thus significantly improving the accuracy and efficiency of resistance adjustment.
[0135] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the simulated lung parameter adjustment method based on the ventilator in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0136] This application also provides a ventilator-based simulated lung parameter adjustment device, please refer to... Figure 3 The ventilator-based simulated lung parameter adjustment device includes:
[0137] The acquisition module 10 is used to acquire the initial compliance parameters and initial resistance parameters of the simulated lung.
[0138] The adjustment module 20 is used to adjust the compliance of the simulated lung according to the initial compliance parameters through a ventilator to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung through a connecting tube.
[0139] The fitting module 30 is used to fit the resistance compensation value of the ventilator and obtain the fitting coefficient.
[0140] The adjustment module 20 is further configured to adjust the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter, to obtain the target resistance parameter.
[0141] The test module 40 is used to perform ventilator performance tests based on the target compliance parameter and the target resistance parameter.
[0142] The ventilator-based simulated lung parameter adjustment device provided in this application, employing the ventilator-based simulated lung parameter adjustment method described in the above embodiments, can solve the technical problems of poor efficiency and accuracy in manually adjusting the compliance and resistance parameters of the simulated lung, and its inability to accommodate different testing environments. Compared with the prior art, the beneficial effects of the ventilator-based simulated lung parameter adjustment device provided in this application are the same as those of the ventilator-based simulated lung parameter adjustment method provided in the above embodiments, and other technical features in the ventilator-based simulated lung parameter adjustment device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0143] In one embodiment, the adjustment module 20 is further configured to acquire the initial pressure of the simulated lung;
[0144] The flow output device of the ventilator is controlled to generate a constant flow of air and to collect the tidal volume of the flow sensor and the current pressure of the simulated lung after the airflow output is completed;
[0145] The pressure difference of the simulated lung is determined based on the initial pressure and the current pressure.
[0146] The reference compliance parameters are calculated based on the tidal volume and the pressure difference.
[0147] The simulated lung is subjected to compliance adjustment based on the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter.
[0148] The formula for calculating the reference compliance parameter is as follows:
[0149] C_reback = Vt / Delta_p
[0150] Where C_reback is the reference compliance parameter, Vt is the tidal volume, and Delta_p is the pressure difference of the simulated lung.
[0151] In one embodiment, the adjustment module 20 is further configured to compare the initial compliance parameter and the reference compliance parameter to obtain a first comparison result;
[0152] When the error between the initial compliance parameter and the reference compliance parameter does not reach the preset compliance error threshold, the compliance adjustment knob of the simulated lung is controlled to perform feedback adjustment and the step of obtaining the initial pressure of the simulated lung is re-executed.
[0153] When the error between the initial compliance parameter and the reference compliance parameter reaches a preset compliance error threshold in the first comparison result, the reference compliance parameter is used as the target compliance parameter.
[0154] In one embodiment, the fitting module 30 is further configured to control the ventilator to output gas at different flow rates and to expel gas into the air through the air outlet of the tubing, thereby obtaining the first pressure value of the first pressure sensor and the second pressure value of the second pressure sensor.
[0155] The resistance compensation value of the ventilator is fitted based on the different flow rates, the first pressure value, and the second pressure value to obtain the fitting coefficient.
[0156] In one embodiment, the fitting module 30 is further configured to determine resistance compensation values under different flow rates based on the different flow rates, the first pressure value, and the second pressure value;
[0157] The fitting coefficients are obtained by fitting the data based on the resistance compensation values and corresponding flow rates under different flow rates.
[0158] In one embodiment, the adjustment module 20 is further configured to control the flow output device of the ventilator to generate a constant flow of air when the ventilator is under the target compliance parameter and to collect the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor after the airflow output is completed;
[0159] Based on the flow rate, peak pressure, and plateau pressure, a reference resistance parameter is obtained;
[0160] The target resistance compensation value is determined based on the fitting coefficient and the flow rate;
[0161] The compensated resistance parameters are determined based on the initial resistance parameters and the target resistance compensation value;
[0162] The resistance of the simulated lung is adjusted according to the reference resistance parameter and the compensated resistance parameter to obtain the target resistance parameter;
[0163] The formula for calculating the reference resistance parameter is as follows:
[0164] R_reback = (Ppeak - Pplat) / Flow
[0165] Where R_reback is the reference resistance parameter, Vt is the peak pressure, Ppeak is the plateau pressure, and Flow is the flow rate.
[0166] In one embodiment, the adjustment module 20 is further configured to compare the reference resistance parameter and the compensated resistance parameter to obtain a second comparison result;
[0167] When the second comparison result shows that the error between the reference resistance parameter and the compensated resistance parameter does not reach the preset resistance error threshold, the opening degree of the electronic resistance adjustment valve of the ventilator is adjusted, and the steps of controlling the flow output device of the ventilator to generate constant airflow and collecting the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor after the airflow output is completed are re-executed when the ventilator is in the target compliance parameter.
[0168] When the second comparison result shows that the error between the reference resistance parameter and the compensated resistance parameter reaches a preset resistance error threshold, the reference resistance parameter is used as the target resistance parameter.
[0169] This application provides a ventilator-based simulated lung parameter adjustment device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the ventilator-based simulated lung parameter adjustment method in Embodiment 1 above.
[0170] The following is for reference. Figure 4 This document illustrates a schematic diagram of a ventilator-based simulated lung parameter adjustment device suitable for implementing embodiments of this application. The ventilator-based simulated lung parameter adjustment device in this application embodiment may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 4 The simulated lung parameter adjustment device based on a ventilator shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0171] like Figure 4As shown, the ventilator-based simulated lung parameter adjustment device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from storage device 1003 into random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the ventilator-based simulated lung parameter adjustment device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the ventilator-based simulated lung parameter adjustment device to communicate wirelessly or wiredly with other devices to exchange data. Although a ventilator-based simulated lung parameter adjustment device with various systems is shown in the figure, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.
[0172] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0173] The ventilator-based simulated lung parameter adjustment device provided in this application, employing the ventilator-based simulated lung parameter adjustment method described in the above embodiments, can solve the technical problems of poor efficiency and accuracy in manually adjusting the compliance and resistance parameters of the simulated lung, and its inability to accommodate different testing environments. Compared with the prior art, the beneficial effects of the ventilator-based simulated lung parameter adjustment device provided in this application are the same as those of the ventilator-based simulated lung parameter adjustment method provided in the above embodiments, and other technical features of this ventilator-based simulated lung parameter adjustment device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0174] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0175] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0176] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the ventilator-based simulated lung parameter adjustment method in the above embodiments.
[0177] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0178] The aforementioned computer-readable storage medium may be included in a ventilator-based simulated lung parameter adjustment device; or it may exist independently and not assembled into a ventilator-based simulated lung parameter adjustment device.
[0179] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a ventilator-based simulated lung parameter adjustment device, cause the ventilator-based simulated lung parameter adjustment device to: acquire initial compliance parameters and initial resistance parameters of the simulated lung; adjust the compliance of the simulated lung using a ventilator based on the initial compliance parameters to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing; fit resistance compensation values to the ventilator to obtain fitting coefficients; adjust the resistance of the simulated lung using a ventilator based on the fitting coefficients, the target compliance parameters, and the initial resistance parameters to obtain target resistance parameters; and perform ventilator performance testing based on the target compliance parameters and the target resistance parameters.
[0180] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0181] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0182] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0183] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described ventilator-based simulated lung parameter adjustment method. This solves the technical problems of poor efficiency and accuracy in manually adjusting the compliance and resistance parameters of the simulated lung, and its inability to accommodate different testing environments. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the ventilator-based simulated lung parameter adjustment method provided in the above embodiments, and will not be repeated here.
[0184] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the ventilator-based simulated lung parameter adjustment method described above.
[0185] The computer program product provided in this application can solve the technical problems of poor efficiency and accuracy in manually adjusting the compliance and resistance parameters of the simulated lung, and its inability to accommodate different testing environments. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the ventilator-based simulated lung parameter adjustment method provided in the above embodiments, and will not be repeated here.
[0186] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method for adjusting simulated lung parameters based on a ventilator, characterized in that, The method includes: Obtain the initial compliance and initial resistance parameters of the simulated lung; The simulated lung is conditioned using a ventilator based on the initial compliance parameters to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing. The resistance compensation value of the ventilator was fitted to obtain the fitting coefficient; The target resistance parameter is obtained by adjusting the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter. Ventilator performance was tested based on the target compliance parameters and the target resistance parameters. The process of adjusting the compliance of the simulated lung using a ventilator based on the initial compliance parameters to obtain target compliance parameters includes: Obtain the initial pressure of the simulated lung; The flow output device of the ventilator is controlled to generate a constant flow of air and to collect the tidal volume of the flow sensor and the current pressure of the simulated lung after the airflow output is completed; The pressure difference of the simulated lung is determined based on the initial pressure and the current pressure. The reference compliance parameters are calculated based on the tidal volume and the pressure difference. The simulated lung is subjected to compliance adjustment based on the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter. The formula for calculating the reference compliance parameter is as follows: C_reback=Vt / Delta_p Where C_reback is the reference compliance parameter, Vt is the tidal volume, and Delta_p is the pressure difference of the simulated lung; The process of fitting the resistance compensation value of the ventilator to obtain the fitting coefficient includes: The ventilator is controlled to output gas at different flow rates and expel gas into the air through the air outlet of the tubing, and the first pressure value of the first pressure sensor and the second pressure value of the second pressure sensor are obtained. The resistance compensation value of the ventilator is fitted based on the different flow rates, the first pressure value, and the second pressure value to obtain the fitting coefficient.
2. The method as described in claim 1, characterized in that, The step of adjusting the compliance of the simulated lung based on the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter includes: The initial compliance parameter and the reference compliance parameter are compared to obtain a first comparison result; When the error between the initial compliance parameter and the reference compliance parameter does not reach the preset compliance error threshold, the compliance adjustment knob of the simulated lung is controlled to perform feedback adjustment and the step of obtaining the initial pressure of the simulated lung is re-executed. When the error between the initial compliance parameter and the reference compliance parameter reaches a preset compliance error threshold in the first comparison result, the reference compliance parameter is used as the target compliance parameter.
3. The method as described in claim 1, characterized in that, The process of fitting the resistance compensation value of the ventilator based on the different flow rates, the first pressure value, and the second pressure value to obtain the fitting coefficient includes: The resistance compensation value for different flow rates is determined based on the different flow rates, the first pressure value, and the second pressure value. The fitting coefficients are obtained by fitting the data based on the resistance compensation values and corresponding flow rates under different flow rates.
4. The method as described in claim 1, characterized in that, The process of adjusting the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter to obtain the target resistance parameter includes: Under the target compliance parameters, the flow output device of the ventilator is controlled to generate a constant flow of air, and the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor are collected after the airflow output is completed. Based on the flow rate, peak pressure, and plateau pressure, a reference resistance parameter is obtained; The target resistance compensation value is determined based on the fitting coefficient and the flow rate; The compensated resistance parameters are determined based on the initial resistance parameters and the target resistance compensation value; The resistance of the simulated lung is adjusted according to the reference resistance parameter and the compensated resistance parameter to obtain the target resistance parameter; The formula for calculating the reference resistance parameter is as follows: R_reback = (Ppeak-Pplat) / Flow Where R_reback is the reference resistance parameter, Vt is the peak pressure, Ppeak is the plateau pressure, and Flow is the flow rate.
5. The method as described in claim 4, characterized in that, The step of adjusting the resistance of the simulated lung based on the reference resistance parameter and the compensated resistance parameter to obtain the target resistance parameter includes: The reference resistance parameter and the compensated resistance parameter are compared to obtain a second comparison result; When the second comparison result shows that the error between the reference resistance parameter and the compensated resistance parameter does not reach the preset resistance error threshold, the opening degree of the electronic resistance adjustment valve of the ventilator is adjusted, and the steps of controlling the flow output device of the ventilator to generate constant airflow and collecting the flow rate of the flow sensor and the peak pressure and plateau pressure of the pressure sensor after the airflow output is completed are re-executed when the ventilator is in the target compliance parameter. When the second comparison result shows that the error between the reference resistance parameter and the compensated resistance parameter reaches a preset resistance error threshold, the reference resistance parameter is used as the target resistance parameter.
6. A ventilator-based simulated lung parameter adjustment device, characterized in that, The ventilator-based simulated lung parameter adjustment device includes: The acquisition module is used to acquire the initial compliance parameters and initial resistance parameters of the simulated lung; An adjustment module is used to adjust the compliance of the simulated lung according to the initial compliance parameters using a ventilator to obtain target compliance parameters, wherein the ventilator is connected to the simulated lung via connecting tubing; The fitting module is used to fit the resistance compensation value of the ventilator and obtain the fitting coefficient; The adjustment module is further configured to adjust the resistance of the simulated lung using a ventilator based on the fitting coefficient, the target compliance parameter, and the initial resistance parameter, to obtain the target resistance parameter; The testing module is used to perform ventilator performance tests based on the target compliance parameters and the target resistance parameters. The process of adjusting the compliance of the simulated lung using a ventilator based on the initial compliance parameters to obtain target compliance parameters includes: Obtain the initial pressure of the simulated lung; The flow output device of the ventilator is controlled to generate a constant flow of air and to collect the tidal volume of the flow sensor and the current pressure of the simulated lung after the airflow output is completed; The pressure difference of the simulated lung is determined based on the initial pressure and the current pressure. The reference compliance parameters are calculated based on the tidal volume and the pressure difference. The simulated lung is subjected to compliance adjustment based on the initial compliance parameter and the reference compliance parameter to obtain the target compliance parameter. The formula for calculating the reference compliance parameter is as follows: C_reback=Vt / Delta_p Where C_reback is the reference compliance parameter, Vt is the tidal volume, and Delta_p is the pressure difference of the simulated lung; The process of fitting the resistance compensation value of the ventilator to obtain the fitting coefficient includes: The ventilator is controlled to output gas at different flow rates and expel gas into the air through the air outlet of the tubing, and the first pressure value of the first pressure sensor and the second pressure value of the second pressure sensor are obtained. The resistance compensation value of the ventilator is fitted based on the different flow rates, the first pressure value, and the second pressure value to obtain the fitting coefficient.
7. A ventilator-based simulated lung parameter adjustment device, characterized in that, The ventilator-based simulated lung parameter adjustment device includes: a memory, a processor, and a ventilator-based simulated lung parameter adjustment program stored in the memory and executable on the processor, wherein the ventilator-based simulated lung parameter adjustment program is configured to implement the ventilator-based simulated lung parameter adjustment method as described in any one of claims 1 to 5.
8. A storage medium, characterized in that, The storage medium stores a ventilator-based simulated lung parameter adjustment program, which, when executed by a processor, implements the ventilator-based simulated lung parameter adjustment method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Automatic measurement calibration method and device for breathing machine and storage medium
CN114028665A
Pressure compensation method for noninvasive breathing machine and breathing machine
CN116236647A
Method, device, equipment and medium for estimating airway resistance and compliance
CN117653840A