Composite numerical integration method for gas volume measurement in medical equipment
By dynamically adjusting the sensor position and sampling frequency in medical equipment, combining the composite trapezoidal law and the Simpson law, and taking into account environmental factors to calculate the gas volume flow rate, the problems of inaccurate calculation and low data utilization efficiency in the prior art are solved, and high Accuracy and real-time control ensure patient safety and equipment performance.
Patent Information
- Application Number
- CN202411308331.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-14
AI Technical Summary
The calculation method of gas volume flow in existing medical equipment cannot accurately capture rapid changes in a dynamically changing medical environment, ignores the influence of environmental factors, and has low data utilization efficiency, resulting in inaccurate control during treatment and inaccurate calculation results. .
High-resolution sensors are used to dynamically adjust the position and sampling frequency, combine the composite trapezoidal law and the Simpson law to calculate the gas volume flow, and adjust the data through temperature and pressure correction factors to feedback the calibration results to the control system in real time.
It realizes high-precision capture of gas flow changes in dynamic environments, considers environmental factors, improves data utilization efficiency, ensures the accuracy of calculation results and real-time response of equipment, and ensures patient safety and equipment performance.
Smart Images

Figure CN119311996A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical equipment, and in particular to a composite numerical integration method for measuring gas volume in medical equipment. Background Art
[0002] In the application of medical respiratory equipment and humidifiers, accurate calculation of gas volume flow is critical to equipment performance and patient safety. At present, the calculation of gas volume flow mainly relies on simplified methods based on the ideal gas equation or simple calculations by multiplying the flow data obtained by direct measurement by time. These traditional calculation methods may be sufficient under ideal conditions, but in medical practice, they still face the following challenges: First, time-varying and nonlinear problems: In a dynamically changing medical environment, gas flow may fluctuate rapidly due to changes in patient breathing patterns, adjustments to equipment settings, or changes in external conditions. Traditional averaging methods cannot accurately capture these rapid changes, which may lead to inaccurate control during treatment. Second, environmental factors: Changes in environmental factors such as temperature, pressure, and humidity have a significant impact on the volume and flow characteristics of the gas. Existing calculation methods often ignore the impact of these factors or cannot adjust the calculation model in real time to adapt to these changes, thereby affecting the accuracy of the calculation results. Third, low data utilization efficiency: Although modern medical equipment can collect flow data at a high frequency, traditional methods usually only use simple averaging or summing techniques and fail to fully utilize the full potential of this data. This inefficient data utilization method limits the accuracy of analysis and calculation.
[0003] In view of these challenges, there is an urgent need to develop a gas volume flow calculation method that can provide higher accuracy, better adaptability and more effective data utilization. This enables traditional methods to process complex and highly variable flow data in real time and consider the impact of environmental conditions, thus playing a key role in ensuring patient safety and improving equipment performance. Summary of the invention
[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
[0005] In view of the above existing problems, the present invention is proposed. Therefore, the present invention provides a composite numerical integration method for gas volume measurement in medical equipment to solve the problems raised in the background technology.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a composite numerical integration method for measuring gas volume in medical equipment, comprising:
[0007] Determine the position of the high-resolution sensor, obtain the raw gas flow data in the medical device, set the sampling frequency of the raw gas flow data, and pre-process the raw gas flow data;
[0008] According to the pre-processed raw gas flow data, the influence of environmental factors on the gas volume in the raw gas flow data is considered, and the raw gas flow data is adjusted by temperature and pressure correction factors;
[0009] The adjusted original gas flow data is calculated and calibrated, and the calculation and calibration results are fed back to the control system of the medical device.
[0010] As a preferred solution of the composite numerical integration method for measuring gas volume in a medical device according to the present invention, the method includes: determining the position of a high-resolution sensor, acquiring raw gas flow data in the medical device, and setting a sampling frequency of the raw gas flow data, including:
[0011] Analyze the flow path of the gas in the medical device to determine the high flow rate area and low flow rate area of the gas in the medical device;
[0012] Taking the boundary line between the high-speed flow area and the low-speed flow area as the gas flow rate mutation point as the candidate position of the initial high-resolution sensor;
[0013] Data points and data point fluctuation thresholds are set in the high-speed flow area and the low-speed flow area. When the data fluctuation of the data point is lower than the fluctuation threshold of the data point, the candidate position of the sensor is moved to the high-speed flow area where the gas flow changes. When the data fluctuation of the data point is higher than the fluctuation threshold of the data point, the candidate position of the sensor is moved to the low-speed flow area where the gas flow changes. When the data fluctuation of the data point is equal to the fluctuation threshold of the data point, no movement is made.
[0014] The candidate position after the movement is used as the position of the high-resolution sensor, and the original gas flow data in the medical device is acquired through the position of the high-resolution sensor.
[0015] As a preferred solution of the composite numerical integration method for measuring gas volume in medical equipment of the present invention, it also includes:
[0016] The gas flow change rate is calculated based on the collected original gas flow data, and a gas flow change rate threshold is set based on the gas flow change rate. If the gas flow change rate in any area of the high-speed flow area and the low-speed flow area exceeds the gas flow change rate threshold, the sampling frequency range is set to [1,10]; if the flow change rate is lower than or equal to the gas flow change rate threshold, the sampling frequency range is set to [0,1].
[0017] As a preferred solution of the composite numerical integration method for measuring gas volume in medical equipment of the present invention, the raw gas flow data is preprocessed, including:
[0018] The preprocessing adopts the composite trapezoidal rule and the Simpson's rule. If the gas flow change rate exceeds the gas flow change rate threshold, the Simpson's rule is used, otherwise the composite trapezoidal rule is used.
[0019] As a preferred solution of the composite numerical integration method for measuring gas volume in medical equipment according to the present invention, the composite trapezoidal rule includes:
[0020] The total flow rate of gas in a certain period of time is calculated by dividing the integration interval into multiple small intervals and using the area of the trapezoid to approximate the integration area of each small interval;
[0021] Each small interval forms a trapezoid, and the area of the trapezoid is determined by the two bases (the values of the function at both ends of the interval) and the height (the width of the interval) of the trapezoid.
[0022] As a preferred solution of the composite numerical integration method for measuring gas volume in medical equipment according to the present invention, the Simpson's law includes:
[0023] By dividing the integration interval into several small intervals and using the true curve of the quadratic polynomial parabola approximation function on each small interval, the integral of each small interval is calculated to obtain the total gas volume when the gas flow changes with time.
[0024] As a preferred solution of the composite numerical integration method for measuring gas volume in the medical device of the present invention, wherein: according to the pre-processed raw gas flow data, considering the influence of environmental factors on the gas volume in the raw gas flow data, adjusting the raw gas flow data by temperature and pressure correction factors, including:
[0025] The temperature and pressure correction factors are obtained through the temperature sensor and the pressure sensor, and the adjusted gas volume is calculated based on the relationship between the standard temperature and pressure values and the actual temperature and pressure values.
[0026] As a preferred solution of the composite numerical integration method for measuring gas volume in the medical device of the present invention, wherein: the adjusted original gas flow data is calculated and calibrated, and the calculation and calibration result is fed back to the control system of the medical device, including:
[0027] The adjusted original gas flow data is calibrated by means of linear calibration, and the calibration results are fed back to the control system of the medical device.
[0028] Compared with the prior art, the invention has the following beneficial effects:
[0029] 1. Aiming at the rapid fluctuation of gas flow in a dynamic medical environment due to changes in patient breathing patterns, equipment settings or external conditions, the present invention provides an efficient gas volume flow calculation method by combining the composite trapezoidal rule and the Simpson's rule. When the gas flow changes steadily, the composite trapezoidal rule is used to quickly process data; when the gas flow fluctuates violently, the Simpson's rule is used to improve the calculation accuracy, which can accurately capture the nonlinear changes of gas flow and ensure that medical equipment can monitor and accurately control gas flow in real time;
[0030] 2. When calculating the gas flow, the influence of environmental factors (temperature and pressure) is fully considered. The environmental parameters are collected in real time through temperature sensors and pressure sensors, and the original gas flow data is adjusted through correction factors, which effectively solves the defect of traditional methods that ignore environmental changes and ensures that under different environmental conditions, the measurement results of gas volume can accurately reflect the actual flow state of the gas, greatly improving the reliability and accuracy of the calculation results;
[0031] 3. The present invention not only uses high-frequency data acquisition, but also dynamically adjusts the sampling frequency and position of the sensor by intelligently analyzing the gas flow path and flow change rate, ensuring that the equipment can flexibly adjust the acquisition strategy according to the actual gas flow conditions, effectively utilizing the information of each data point, solving the problem of low data utilization efficiency in traditional methods, and making full use of the potential information of large amounts of data through numerical integration calculation, significantly improving the accuracy and efficiency of equipment calculation;
[0032] 4. The calibrated and calculated data is fed back to the control system of the medical equipment in real time to form a closed-loop control, so that the system can dynamically adjust the equipment output parameters (such as gas flow, pressure, etc.) according to the real-time calculation results, ensuring that the control output of the equipment is consistent with the patient's breathing needs, improving the response speed and stability of the equipment, and ensuring the safety and comfort of patients under different treatment conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0034] Figure 1 The overall flow chart of the composite numerical integration method for measuring gas volume in a medical device according to one embodiment of the present invention;
[0035] Figure 2This is a composition diagram of a ventilator output gas volume flow measurement module of a composite numerical integration method for gas volume measurement in a medical device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0038] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0039] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0040] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0041] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0042] Example 1
[0043] Reference Figure 1 , which is the first embodiment of the present invention, provides a composite numerical integration method for measuring gas volume in a medical device, comprising:
[0044] S1. Determine the position of the high-resolution sensor, obtain the original gas flow data in the medical device, set the sampling frequency of the original gas flow data, and pre-process the original gas flow data;
[0045] Further, the flow path of the gas in the medical device is analyzed to determine the high flow velocity area and the low flow velocity area of the gas in the medical device;
[0046] Specifically, the high velocity area refers to the area where the gas flows faster, which occurs when the gas passes through a narrow pipe or a pressurized area;
[0047] Specifically, the low velocity zone refers to a region where the gas flows more slowly, a spacious or decompressed area in the device;
[0048] Furthermore, the boundary between the high-speed flow area and the low-speed flow area is taken as the gas flow rate mutation point and is used as the candidate position of the initial high-resolution sensor;
[0049] Furthermore, data points and data point fluctuation thresholds are set in the high-speed flow area and the low-speed flow area. When the data fluctuation of the data point is lower than the fluctuation threshold of the data point, the candidate position of the sensor is moved to the high-speed flow area where the gas flow changes. When the data fluctuation of the data point is higher than the fluctuation threshold of the data point, the candidate position of the sensor is moved to the low-speed flow area where the gas flow changes. When the data fluctuation of the data point is equal to the fluctuation threshold of the data point, no movement is made.
[0050] Furthermore, the candidate position after the movement is used as the position of the high-resolution sensor, and the original gas flow data in the medical device is obtained through the position of the high-resolution sensor;
[0051] It should be noted that the data point fluctuation threshold needs to be adjusted according to the actual application of the medical device. Accordingly, the position of the sensor also changes with the adjustment of the fluctuation threshold, thus realizing the dynamic position selection of the sensor.
[0052] Furthermore, the gas flow change rate is calculated based on the collected original gas flow data, and a gas flow change rate threshold is set based on the gas flow change rate. If the gas flow change rate in any area of the high-speed flow area and the low-speed flow area exceeds the gas flow change rate threshold, the sampling frequency range is set to [1,10]; if the flow change rate is lower than or equal to the gas flow change rate threshold, the sampling frequency range is set to [0,1];
[0053] It should be noted that the gas flow change rate ensures that the medical device can intelligently analyze the gas flow path when the sensor is dynamically moving;
[0054] Specifically, the preprocessing adopts the composite trapezoidal rule and Simpson's rule. If the gas flow change rate exceeds the gas flow change rate threshold, the Simpson's rule is used, otherwise the composite trapezoidal rule is used;
[0055] S2, according to the pre-processed raw gas flow data, considering the influence of environmental factors on the gas volume in the raw gas flow data, and adjusting the raw gas flow data by temperature and pressure correction factors;
[0056] Furthermore, the composite trapezoidal rule is as follows:
[0057] The total flow rate of gas in a certain period of time is calculated by dividing the integration interval into multiple small intervals and using the area of the trapezoid to approximate the integration area of each small interval;
[0058] Specifically, each small interval forms a trapezoid, and the area of the trapezoid is determined by the two bases (the values of the function at both ends of the interval) and the height (the width of the interval);
[0059] Specifically, the composite trapezoidal rule is used to calculate the integral of the function f(t) on the interval [a, b] as follows:
[0060] First, divide the interval [a, b] into n small intervals of equal width. In each small interval [t i ,t i+1 ], the length of the base is t i+1 -t i , and the heights are f(t i ) and f(t i+1 );
[0061] Secondly, the expression for the approximate integral (i.e., trapezoidal area) of each cell is:
[0062]
[0063] Finally, use the composite trapezoidal rule for the overall area, add up the areas of all the small shapes, and get the total area of the entire interval (i.e., the approximate value of the total integral) as follows:
[0064]
[0065] Where h is the sampling interval (interval width), t i is the time of each sampling point, f(a) and f(b) are the values at the two ends of the interval, and is the sum of the values of other points in the interval;
[0066] It should be explained that the value of each intermediate point in the formula is multiplied by 2 because, except for the trapezoids at both ends of the interval which are only used once, each point is a common vertex of two trapezoids;
[0067] Furthermore, Simpson's law is as follows:
[0068] First, by dividing the integral interval into several small intervals and using the true curve of the quadratic polynomial parabola approximation function on each small interval, the integral of each small interval is calculated to obtain the total gas volume when the gas flow changes with time. The formula is as follows:
[0069]
[0070] Where h is the width of each subinterval, usually (ba) / n, n must be an even number; x0,x1,x2,…,x n are equally spaced points on the interval [a,b]; f(x0) and f(x n ) are the function values at the two end points of the interval; is the sum of the function values at all odd-indexed points, which play a major role on the parabola and are called "odd points"; is the sum of the function values of all even-indexed points, which play an auxiliary role on the parabola and are called "even points";
[0071] It should be noted that due to the need to calculate quadratic polynomials, the computational complexity of Simpson's rule is slightly higher than that of the composite trapezoidal rule, and more computing resources are required; Simpson's rule requires an even number of sampling points and is suitable for situations with many sampling points and complex function changes;
[0072] It should be noted that the key to Simpson's rule is to use a quadratic polynomial (parabola) to approximate the function curve at each of the three adjacent points, in each small interval [x i-1 ,x i+1 ]The law is obtained by considering the midpoint x of two adjacent subintervals i The function value of , and the endpoints x of these two subintervals i-1 and x i+1 The function value of , to construct a parabola approximation curve, and then use this parabola to calculate x i-1 to xi+1 The integral of
[0073] Further, the temperature and pressure correction factors are obtained by the temperature sensor and the pressure sensor, and the adjusted gas volume is calculated based on the relationship between the standard temperature and pressure values and the actual temperature and pressure values;
[0074] Specifically, the temperature correction factor V t for:
[0075]
[0076] Among them, T s is the standard temperature, T a is the actual temperature;
[0077] Specifically, the pressure correction factor V p for:
[0078]
[0079] Among them, P a is the actual air pressure value, P s is standard atmospheric pressure;
[0080] Furthermore, the temperature correction factor and the pressure correction factor are added together to obtain the adjusted gas volume;
[0081] It should be noted that by selecting the gas flow rate, using the composite trapezoidal method and Simpson's law respectively, the nonlinear changes of gas flow can be accurately captured, and the original gas flow data can be adjusted with the temperature and pressure correction factors, so that the measurement results of gas volume can accurately reflect the real flow state of the gas;
[0082] S3, calculating and calibrating the adjusted original gas flow data, and feeding back the calculation and calibration results to the control system of the medical device;
[0083] Furthermore, the adjusted original gas flow data is calibrated by linear calibration, and the calibration result is fed back to the control system of the medical device;
[0084] Specifically, the linear calibration method requires calibrating the gas flow sensor, establishing a relationship model between the flow rate and the sensor output, and calibrating the adjusted flow data based on the established relationship model.
[0085] Example 2
[0086] Reference Figure 2 , which is a second embodiment of the present invention, provides a composite numerical integration method for gas volume measurement in a medical device, including: output gas volume flow measurement through a ventilator;
[0087] First, the ventilator is connected to the breathing circuit through the humidifier, the breathing circuit is connected to the flow analyzer, the flow analyzer is connected to the computer through the serial bus, the flow analyzer is installed on the breathing circuit, and the flow data is collected once per second. The flow data is connected to the computer through the serial bus, and the data acquisition software is installed on the PC to display and record the flow data in real time;
[0088] Secondly, the flow rate is stored in liters / second in a text file, and the composite trapezoidal rule is used to calculate the total volume of gas within a certain period of time. The data is imported into an Excel table, with the time interval in column A and the flow data in column B. The time interval is uniform, and each row increases by 1 second. The sum of the intermediate flow rates is calculated in column C, and the total volume is calculated in column D. For example, refer to Table 1;
[0089] Table 1
[0090] A B C D 1 TIME FLOW SUM VOLUME 2 0 62.7 3 0.5 62.4 4 1 62.7 5 1.5 62.8 6 2 62.5 7 2.5 63.0
[0091] In cell C2, enter =SUM(B3:B6), where B3 to B6 are the data of the flow data excluding the start and end points. In cell D2, enter: =(0.5 / 2)*(B2+2*C1+B7);
[0092] The above formula calculates the integral approximation of the entire interval, where the interval is divided into a number of trapezoids, and the area of each trapezoid is calculated and summed;
[0093] Similarly, the total volume of gas within a certain period of time is calculated using Simpson's law, and the results are: the data points are evenly distributed from 0 to 2.5, with 5 equal intervals and a width of h = 0.5. f(x0) and f(x5) are the values of the two end points of the interval; f(x1) and f(x3) are the values of the odd-indexed points, multiplied by 4; f(x2) and f(x4) are the values of the even-indexed points, multiplied by 2. V = 0.5 / 3 × [62.7 + 4 × (62.4 + 62.8) + 2 (62.7 + 62.5) + 63.0] This formula is an approximation of the integral from x = 0 to x = 2.5 given the data points and using Simpson's law. It can be seen that this method provides an effective means of numerical integration, which is particularly suitable for scenarios where there is no function expression but only data points.
[0094] Those skilled in the art will appreciate that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0095] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0096] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0097] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0098] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0099] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A composite numerical integration method for gas volume measurement in medical equipment, characterized in that: include: Determine the position of the high-resolution sensor, obtain the raw gas flow data in the medical device, set the sampling frequency of the raw gas flow data, and pre-process the raw gas flow data; According to the pre-processed raw gas flow data, the influence of environmental factors on the gas volume in the raw gas flow data is considered, and the raw gas flow data is adjusted by temperature and pressure correction factors; The adjusted original gas flow data is calculated and calibrated, and the calculation and calibration results are fed back to the control system of the medical device.
2. The composite numerical integration method for gas volume measurement in medical equipment according to claim 1, characterized in that: Determine the location of high-resolution sensors to obtain raw gas flow data in medical devices and set the sampling frequency of raw gas flow data, including: Analyze the flow path of the gas in the medical device to determine the high flow rate area and low flow rate area of the gas in the medical device; Taking the boundary line between the high-speed flow area and the low-speed flow area as the gas flow rate mutation point as the candidate position of the initial high-resolution sensor; Data points and data point fluctuation thresholds are set in the high-speed flow area and the low-speed flow area. When the data fluctuation of the data point is lower than the fluctuation threshold of the data point, the candidate position of the sensor is moved to the high-speed flow area where the gas flow changes. When the data fluctuation of the data point is higher than the fluctuation threshold of the data point, the candidate position of the sensor is moved to the low-speed flow area where the gas flow changes. When the data fluctuation of the data point is equal to the fluctuation threshold of the data point, no movement is made. The candidate position after the movement is used as the position of the high-resolution sensor, and the original gas flow data in the medical device is acquired through the position of the high-resolution sensor.
3. The composite numerical integration method for gas volume measurement in medical equipment according to claim 2, characterized in that: Also includes: The gas flow change rate is calculated based on the collected original gas flow data, and a gas flow change rate threshold is set based on the gas flow change rate. If the gas flow change rate in any area of the high-speed flow area and the low-speed flow area exceeds the gas flow change rate threshold, the sampling frequency range is set to [1,10]; if the flow change rate is lower than or equal to the gas flow change rate threshold, the sampling frequency range is set to [0,1].
4. The composite numerical integration method for gas volume measurement in a medical device according to claim 1 or 3, characterized in that: Preprocessing the raw gas flow data includes: The preprocessing adopts the composite trapezoidal rule and the Simpson's rule. If the gas flow change rate exceeds the gas flow change rate threshold, the Simpson's rule is used, otherwise the composite trapezoidal rule is used.
5. The composite numerical integration method for gas volume measurement in medical equipment according to claim 4, characterized in that: The composite trapezoidal rule comprises: The total flow rate of gas in a certain period of time is calculated by dividing the integration interval into multiple small intervals and using the area of the trapezoid to approximate the integration area of each small interval; Each small interval forms a trapezoid, and the area of the trapezoid is determined by the two bases (the values of the function at both ends of the interval) and the height (the width of the interval) of the trapezoid.
6. The composite numerical integration method for gas volume measurement in medical equipment according to claim 4, characterized in that: The Simpson's law includes: By dividing the integration interval into several small intervals and using the true curve of the quadratic polynomial parabola approximation function on each small interval, the integral of each small interval is calculated to obtain the total gas volume when the gas flow changes with time.
7. The composite numerical integration method for gas volume measurement in medical equipment according to claim 1, characterized in that: According to the pre-processed raw gas flow data, the influence of environmental factors on the gas volume in the raw gas flow data is considered, and the raw gas flow data is adjusted by temperature and pressure correction factors, including: The temperature and pressure correction factors are obtained through the temperature sensor and the pressure sensor, and the adjusted gas volume is calculated based on the relationship between the standard temperature and pressure values and the actual temperature and pressure values.
8. The composite numerical integration method for gas volume measurement in a medical device as claimed in claim 7, characterized in that: The adjusted raw gas flow data is calibrated and the calibration results are fed back to the control system of the medical device, including: The adjusted original gas flow data is calibrated by means of linear calibration, and the calibration result is fed back to the control system of the medical device.