Infusion pump blockage pressure calibration method and device, infusion pump and storage medium
By segmenting and fitting the pressure sensing parameters of the infusion pump, the problem of large pressure detection error in the infusion pump was solved, and higher-precision pressure calibration was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUNAN BIYANG MEDICAL TECH CO LTD
- Filing Date
- 2023-06-28
- Publication Date
- 2026-07-21
AI Technical Summary
In existing technologies, the pressure detection of infusion pumps has a large error, especially when the pressure sensor's pressure curve is nonlinear, resulting in a large error in the pressure detected by the machine.
A piecewise fitting method was adopted. By collecting pressure sensing parameters at multiple pressure points, the effective pressure sensing parameters were determined, and piecewise fitting was performed to obtain multiple fitting lines. The actual infusion pump blockage pressure was then calibrated based on these lines.
It improves the calibration accuracy of the infusion pump blockage pressure, reduces detection errors, and makes pressure detection more accurate.
Smart Images

Figure CN116735076B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment calibration technology, and in particular to a method, apparatus, infusion pump, and storage medium for calibrating the clogging pressure of an infusion pump. Background Technology
[0002] Currently, pressure detection in infusion pumps typically uses pressure sensors to collect data, and then calculates a pressure calibration curve using linear fitting. When the pressure sensor operates within a wide pressure range, such as below 200 kPa, its pressure performance curve exhibits excellent linearity, resulting in a relatively accurate fitted line. However, if many pressure sensors have pressure curves below 200 kPa that are not linear, the pressure detected by the machine will exhibit significant errors. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to overcome the shortcomings of the prior art and provide a method, apparatus, infusion pump and readable storage medium for calibrating the pressure of an infusion pump blockage, so as to solve the problem of large pressure error detected by the machine in the prior art.
[0004] This invention provides the following technical solution:
[0005] In a first aspect, the present invention proposes a method for calibrating the occlusion pressure of an infusion pump, the method comprising:
[0006] The pressure sensing parameters corresponding to each of the multiple pressure points are collected respectively.
[0007] If multiple pressure sensing parameters are valid, then the multiple pressure sensing parameters are determined to be multiple valid pressure sensing parameters.
[0008] Piecewise fitting is performed on multiple effective pressure sensing parameters to obtain multiple fitted straight lines;
[0009] If multiple fitted lines are valid, then the multiple fitted lines are determined as multiple valid fitted lines;
[0010] The actual infusion pump blockage pressure is calibrated based on multiple effective fitted straight lines.
[0011] In one embodiment, the infusion pump occlusion pressure calibration method further includes:
[0012] If multiple pressure sensing parameters are invalid, the step of collecting the pressure sensing parameters corresponding to each pressure point will be repeated.
[0013] In one embodiment, the infusion pump occlusion pressure calibration method further includes:
[0014] A reference straight line is determined based on each pair of adjacent pressure sensing parameters;
[0015] Determine the slope of each of the aforementioned reference lines;
[0016] The slope ratio of each pair of adjacent lines is determined based on the slope of each of the aforementioned reference lines.
[0017] Add up the ratios of the slopes to get the sum;
[0018] Determine the number of the slope ratios;
[0019] The validity of multiple pressure sensing parameters is determined based on the number of sum-to-slope ratios.
[0020] In one embodiment, determining whether the plurality of pressure sensing parameters are valid based on the number of sum-to-slope ratios includes:
[0021] If the sum is less than the number of slope ratios, then multiple pressure sensing parameters are determined to be valid.
[0022] If the sum is greater than or equal to the number of slope ratios, then multiple pressure sensing parameters are determined to be invalid.
[0023] In one embodiment, the step of piecewise fitting of the plurality of effective pressure sensing parameters includes:
[0024] Obtain at least one pressure inflection point from the pressure sensor;
[0025] The effective pressure sensing parameters are divided into multiple effective pressure sensing parameter combinations based on at least one of the pressure inflection points, and each effective pressure sensing parameter combination includes at least two of the effective pressure sensing parameters.
[0026] For each effective pressure sensing parameter combination, at least two of the effective pressure sensing parameters are fitted with a straight line using the least squares method to obtain a corresponding fitted straight line.
[0027] In one embodiment, the infusion pump occlusion pressure calibration method further includes:
[0028] If at least one of the fitted lines is invalid, the step of collecting the pressure sensing parameters corresponding to each pressure point is repeated.
[0029] In one embodiment, the infusion pump occlusion pressure calibration method further includes:
[0030] Determine the goodness of fit R of each of the fitted lines. 2 ;
[0031] If the goodness-of-fit R² of each of the above statements is greater than or equal to a preset goodness-of-fit threshold, then multiple of the above statements are determined to be valid; if at least one of the above statements has a goodness-of-fit R² less than a preset goodness-of-fit threshold, then multiple of the above statements are determined to be invalid.
[0032] Secondly, the present invention provides an infusion pump pressure calibration device, the device comprising:
[0033] The acquisition module is used to acquire the pressure sensing parameters corresponding to each of the multiple pressure points.
[0034] The determining module is used to determine the multiple pressure sensing parameters as multiple valid pressure sensing parameters when multiple pressure sensing parameters are valid.
[0035] The fitting module is used to perform piecewise fitting on multiple effective pressure sensing parameters to obtain multiple fitting lines.
[0036] The determining module is further configured to determine the multiple fitted lines as multiple valid fitted lines when multiple fitted lines are valid.
[0037] The calibration module is used to calibrate the actual infusion pump blockage pressure based on multiple effective fitted straight lines.
[0038] Thirdly, the present invention proposes an infusion pump, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the infusion pump occlusion pressure calibration method of the present invention.
[0039] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the infusion pump occlusion pressure calibration method described in the present invention.
[0040] This invention discloses a method, apparatus, infusion pump, and storage medium for calibrating the obstruction pressure of an infusion pump. The method involves collecting pressure sensing parameters corresponding to each pressure point from multiple pressure points. If multiple fitted straight lines are valid, these parameters are identified as valid pressure sensing parameters. Segmented fitting is performed on these valid pressure sensing parameters to obtain multiple fitted straight lines. If multiple fitted straight lines are valid, these are identified as valid fitted straight lines. The actual obstruction pressure of the infusion pump is calibrated based on these valid fitted straight lines. This approach allows for the preliminary determination of the effectiveness of the machine's pressure detection by judging the validity of the collected pressure sensing parameters, making the pressure detection more accurate. Performing multi-segment linear fitting on the valid pressure sensing parameters and judging the validity of the resulting fitted straight lines improves the calibration accuracy of the infusion pump's obstruction pressure. Substituting the pressure sensing parameters collected in real-time by the pressure sensor into the corresponding valid fitted straight lines yields the actual obstruction pressure, reducing the error in detecting the obstruction pressure of the infusion pump.
[0041] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 A schematic flowchart of the infusion pump blockage pressure calibration method proposed in an embodiment of the present invention is shown;
[0044] Figure 2 Another schematic diagram of the infusion pump blockage pressure calibration method proposed in an embodiment of the present invention is shown;
[0045] Figure 3 This paper presents another schematic flowchart of the infusion pump blockage pressure calibration method proposed in an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of the structure of the infusion pump blockage pressure calibration device provided in an embodiment of this application is shown.
[0047] Icons: 400 - Infusion pump blockage pressure calibration device, 401 - Acquisition module, 402 - Determination module, 403 - Fitting module, 404 - Calibration module. Detailed Implementation
[0048] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0049] It should be noted that when an element is said to be "fixed" to another element, it can be directly on the other element or there may be an intervening element. When an element is said to be "connected" to another element, it can be directly connected to the other element or there may be an intervening element. Conversely, when an element is said to be "directly" on another element, there is no intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.
[0050] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0051] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the template description is for the purpose of describing particular embodiments only and is not intended to limit the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0053] Example 1
[0054] This disclosure provides a method for calibrating the occlusion pressure of an infusion pump.
[0055] For details, see Figure 1 Methods for calibrating the occlusion pressure of an infusion pump include:
[0056] Step S101: Collect the pressure sensing parameters corresponding to each of the multiple pressure points.
[0057] In this embodiment, the program presets multiple pressure points and collects the pressure sensing parameters corresponding to each pressure point through the pressure sensor in the infusion pump, storing the collected pressure sensing parameters in EEPROM. The number of pressure points is not limited. For example, multiple pressure points are preset to 30 kPa, 60 kPa, 90 kPa, 120 kPa, 150 kPa, 170 kPa, and 190 kPa, and the pressure sensor parameters corresponding to these seven pressure points are collected.
[0058] Step S102: If multiple pressure sensing parameters are valid, then the multiple pressure sensing parameters are determined as multiple valid pressure sensing parameters.
[0059] In one embodiment, the infusion pump occlusion pressure calibration method further includes: determining a corresponding reference straight line based on each pair of adjacent pressure sensing parameters; determining the slope of each reference straight line; determining the slope ratio of each pair of adjacent straight lines based on the slope of each reference straight line; adding the slope ratios together to obtain a sum; determining the number of slope ratios; and determining whether the plurality of pressure sensing parameters are valid based on the sum and the number of slope ratios.
[0060] For example, the two pressure transmission parameters corresponding to 30 kPa and 60 kPa are determined as a reference straight line y1; the two pressure transmission parameters corresponding to 60 kPa and 90 kPa are determined as a reference straight line y2; the two pressure transmission parameters corresponding to 90 kPa and 120 kPa are determined as a reference straight line y3; the two pressure transmission parameters corresponding to 120 kPa and 150 kPa are determined as a reference straight line y4; the two pressure transmission parameters corresponding to 150 kPa and 170 kPa are determined as a reference straight line y5; and the two pressure transmission parameters corresponding to 170 kPa are determined as a reference straight line y5. The two pressure transmission parameters corresponding to 190 kPa are defined by a reference straight line y6; the slopes of the reference straight lines y1, y2, y3, y4, y5, and y6 are determined to be k1, k2, k3, k4, k5, and k6, respectively; based on the slopes of each of the reference straight lines, the slope ratios of each pair of adjacent straight lines are determined to be k2 / k1, k4 / k3, k5 / k4, and k6 / k5, respectively; the slope ratios are added together to obtain a sum of (k2 / k1 + k4 / k3 + k5 / k4 + k6 / k5), and the number of slope ratios is determined to be 5.
[0061] In one embodiment, determining whether the plurality of pressure sensing parameters are valid based on the number of sum values and slope ratios includes: if the sum value is less than the number of slope ratios, then the plurality of pressure sensing parameters are determined to be valid; if the sum value is greater than or equal to the number of slope ratios, then the plurality of pressure sensing parameters are determined to be invalid.
[0062] For example, if (k2 / k1+k4 / k3+k5 / k4+k6 / k5)<5, then multiple pressure sensing parameters are determined to be valid; if (k2 / k1+k4 / k3+k5 / k4+k6 / k5)≥5, then multiple pressure sensing parameters are determined to be invalid.
[0063] In this embodiment, the multiple pressure sensing parameters collected are treated as a whole for validity determination. If the overall determination of the multiple pressure sensing parameters is valid, then all the multiple pressure sensing parameters are valid pressure sensing parameters, and the next step of processing the multiple valid pressure sensing parameters is then performed. If the overall determination of the multiple pressure sensing parameters is invalid, then all the multiple pressure sensing parameters are invalid pressure sensing parameters. After collecting multiple pressure sensing parameters and performing validity determination, the step of collecting the pressure sensing parameters corresponding to each pressure point separately is repeated until the pressure sensing parameters corresponding to each pressure point that are re-collected are all valid sensing parameters, and then the next step of processing the multiple valid pressure sensing parameters is then performed.
[0064] Specifically, determining the slope ratio of each pair of adjacent reference lines involves comparing the slope of the latter reference line with the slope of the former. By evaluating the effectiveness of the collected pressure sensing parameters, medical personnel can initially determine the validity of the machine's pressure detection, making the pressure detection more accurate.
[0065] Step S103: Perform piecewise fitting on multiple effective pressure sensing parameters to obtain multiple fitted straight lines.
[0066] For example, the seven effective pressure sensing parameters can be divided into two parameter combinations: one group consists of effective pressure sensing parameters corresponding to 30 kPa, 60 kPa, 90 kPa, and 120 kPa, and the other group consists of effective pressure sensing parameters corresponding to 120 kPa, 150 kPa, 170 kPa, and 190 kPa. Linear fitting is then performed on the effective pressure sensing parameters corresponding to 30 kPa, 60 kPa, 90 kPa, and 120 kPa, and on the effective pressure sensing parameters corresponding to 120 kPa, 150 kPa, 170 kPa, and 190 kPa.
[0067] In this embodiment, since the pressure curve of the pressure sensor is not nonlinear, multiple effective pressure parameters are piecewise fitted, thereby improving the calibration accuracy.
[0068] Please see Figure 2 Step S103 includes:
[0069] Step S1031: Obtain at least one pressure inflection point of the pressure sensor;
[0070] Step S1032: Divide the multiple effective pressure sensing parameters into multiple effective pressure sensing parameter combinations according to at least one of the pressure inflection points. Each effective pressure sensing parameter combination includes at least two of the effective pressure sensing parameters.
[0071] Step S1033: For each effective pressure sensing parameter combination, at least two effective pressure sensing parameters are fitted using the least squares method to obtain a corresponding fitted straight line.
[0072] In this embodiment, the pressure sensor has at least one pressure inflection point. Based on the location of the inflection point, multiple effective pressure sensing parameters are divided into multiple effective pressure sensing parameter combinations. The number of combinations is related to the number of inflection points. For example, if there are two pressure inflection points, the sensor is divided into three segments, i.e., three combinations. Linear fitting is performed on the multiple effective pressure sensing parameters in each effective pressure sensing parameter combination, ensuring that each fitted line passes through the pressure sensing parameters corresponding to the respective inflection point, so that the fitted lines are connected and not broken. For example, if the pressure sensor's pressure inflection points appear at 90 kPa and 150 kPa pressure points, the effective pressure sensing parameters corresponding to 30 kPa, 60 kPa, and 90 kPa are grouped into one group; the effective pressure sensing parameters corresponding to 90 kPa, 120 kPa, and 150 kPa are grouped into a second group; and the effective pressure sensing parameters corresponding to 150 kPa, 170 kPa, and 190 kPa are grouped into a third group. The fitting method is not limited; non-linear fitting methods can also be used.
[0073] Step S104: If multiple fitted lines are valid, then the multiple fitted lines are determined as multiple valid fitted lines.
[0074] In this embodiment, it is necessary to first determine whether multiple fitted lines are valid. Only when all fitted lines are valid can the calibration of the infusion pump blockage pressure be achieved. When one fitted line is invalid, it is necessary to re-collect the pressure sensing parameters corresponding to each pressure point, then judge the validity of the re-collected pressure sensing parameters, and then perform multi-segment fitting based on the re-collected valid pressure sensing parameters until multiple fitted lines are valid.
[0075] Please see Figure 3 Step S104 includes:
[0076] Step S1041: Determine the goodness of fit R of each of the fitted lines. 2 ;
[0077] Step S1042: If the goodness of fit R2 of each of the above is greater than or equal to the preset goodness of fit threshold, then multiple of the above fitted lines are determined to be valid; if at least one of the above fitted lines R2 is less than the preset goodness of fit threshold, then multiple of the above fitted lines are determined to be invalid.
[0078] In this embodiment, based on the goodness-of-fit R 2 Determining whether a fitted line is effective involves assessing its correlation with the fitted line, specifically the goodness of fit R. 2 The closer the value is to 1, the higher the correlation of the fitted line and the higher the calibration accuracy. The preset goodness-of-fit threshold can be customized; similarly, the higher the preset goodness-of-fit threshold, the higher the calibration accuracy. Generally, the preset goodness-of-fit threshold is above 0.99.
[0079] Step S105: calibrate the actual infusion pump blockage pressure based on multiple effective fitted straight lines.
[0080] In this embodiment, the actual pressure of the infusion pump can be calibrated based on multiple valid fitted lines. The obstruction pressure in the infusion pump changes dynamically. The pressure sensor in the infusion pump collects the pressure sensing parameters in real time. The program compares the real-time collected pressure sensing parameters with the pressure sensing parameters at pressure inflection points, determining the corresponding valid fitted line to be substituted when calibrating the real-time collected pressure sensing parameters. The pressure sensing parameters at pressure inflection points can be obtained from step S102. If the real-time collected pressure sensing parameter is less than the pressure sensing parameter at a pressure inflection point, then the real-time collected pressure sensing parameter is substituted into the first fitted line demarcated by that pressure inflection point to calculate the actual obstruction pressure. If the real-time collected pressure sensing parameter is greater than the pressure sensing parameter at a pressure inflection point, then the real-time collected pressure sensing parameter is substituted into the second fitted line demarcated by that pressure inflection point to calculate the actual obstruction pressure. If there are multiple pressure inflection points, the real-time collected pressure sensing parameters are compared with the pressure sensing parameters of the multiple pressure inflection points one by one. When the real-time collected pressure sensing parameters are less than the pressure sensing parameters of a certain pressure inflection point, the fitted straight line bounded by that pressure inflection point is selected.
[0081] For example, the pressure sensor in the infusion pump collects a pressure sensing parameter of 10000 in real time. The pressure sensing parameters at the inflection points of the pressure sensor, i.e., the pressure points of 90 kPa and 150 kPa, are 12000 and 20000, respectively. The program compares 10000 with 12000 and 20000 one by one. When 10000 is compared with 12000 and meets the condition of being less than 12000, the comparison stops. 10000 is directly substituted as the independent variable into the first fitted line bounded by the pressure inflection point of 90 kPa, i.e., the effective fitted line F = 2.08x - 26.66 fitted by the three effective pressure sensing parameters corresponding to 30 kPa, 60 kPa, and 90 kPa, to calculate the actual infusion pump blockage pressure F corresponding to the pressure sensing parameter 10000.
[0082] The infusion pump occlusion pressure calibration method provided in this embodiment collects pressure sensing parameters corresponding to each pressure point from multiple pressure points. If multiple fitted straight lines are valid, these multiple pressure sensing parameters are determined as valid pressure sensing parameters. Segmented fitting is performed on these valid pressure sensing parameters to obtain multiple fitted straight lines. If multiple fitted straight lines are valid, these multiple fitted straight lines are determined as valid fitted straight lines. The actual infusion pump occlusion pressure is calibrated based on these valid fitted straight lines. In this way, by judging the validity of the collected pressure sensing parameters, the effectiveness of the machine's pressure detection can be preliminarily determined, making the pressure detection more accurate. Performing multi-segment linear fitting on the valid pressure sensing parameters and judging the validity of the resulting multiple fitted straight lines improves the calibration accuracy of the infusion pump occlusion pressure. Substituting the pressure sensing parameters collected in real-time by the pressure sensor into the corresponding valid fitted straight lines for calculation yields the actual occlusion pressure, reducing the error in detecting the infusion pump occlusion pressure.
[0083] Example 2
[0084] Furthermore, embodiments of this disclosure provide an infusion pump occlusion pressure calibration device.
[0085] Specifically, such as Figure 4 As shown, the infusion pump blockage pressure calibration device 400 includes:
[0086] The acquisition module 401 is used to acquire the pressure sensing parameters corresponding to each of the multiple pressure points.
[0087] The determining module 402 is used to determine the multiple pressure sensing parameters as multiple valid pressure sensing parameters when multiple pressure sensing parameters are valid.
[0088] The fitting module 403 is used to perform piecewise fitting on multiple effective pressure sensing parameters to obtain multiple fitting straight lines.
[0089] The determining module 402 is further configured to determine the multiple fitted lines as multiple valid fitted lines when multiple fitted lines are valid.
[0090] The calibration module 404 is used to calibrate the actual infusion pump blockage pressure based on multiple effective fitted straight lines.
[0091] In one embodiment, the determining module 402 is further configured to re-execute the step of collecting the pressure sensing parameters corresponding to each pressure point if multiple pressure sensing parameters are invalid.
[0092] In one embodiment, the determining module 402 is further configured to: determine a corresponding reference line based on each pair of adjacent pressure sensing parameters; determine the slope of each reference line; determine the slope ratio of each pair of adjacent lines based on the slope of each reference line; add the slope ratios together to obtain a sum; determine the number of slope ratios; and determine whether the plurality of pressure sensing parameters are valid based on the sum and the number of slope ratios.
[0093] In one embodiment, the determining module 402 is further configured to determine that a plurality of pressure sensing parameters are valid if the sum is less than the number of slope ratios, and to determine that a plurality of pressure sensing parameters are invalid if the sum is greater than or equal to the number of slope ratios.
[0094] In one embodiment, the determining module 402 is further configured to determine the goodness of fit R of each of the fitted lines. 2 If the goodness-of-fit R² of each of the above statements is greater than or equal to a preset goodness-of-fit threshold, then multiple of the above statements are determined to be valid; if at least one of the above statements has a goodness-of-fit R² less than a preset goodness-of-fit threshold, then multiple of the above statements are determined to be invalid.
[0095] In one embodiment, the fitting module 403 is further configured to acquire at least one pressure inflection point of the pressure sensor; divide the plurality of effective pressure sensing parameters into a plurality of effective pressure sensing parameter combinations based on the at least one pressure inflection point, wherein each effective pressure sensing parameter combination includes at least two effective pressure sensing parameters; and perform linear fitting using the least squares method on at least two effective pressure sensing parameters in each effective pressure sensing parameter combination to obtain a corresponding fitted straight line.
[0096] The infusion pump occlusion pressure calibration device 400 provided in this embodiment can implement the infusion pump occlusion pressure calibration method provided in Embodiment 1. To avoid repetition, it will not be described again here.
[0097] The infusion pump obstruction pressure calibration device disclosed in this embodiment collects pressure sensing parameters corresponding to each pressure point from multiple pressure points. If multiple fitted straight lines are valid, these multiple pressure sensing parameters are determined as valid pressure sensing parameters. The multiple valid pressure sensing parameters are then piecewise fitted to obtain multiple fitted straight lines. If multiple fitted straight lines are valid, these multiple fitted straight lines are determined as valid fitted straight lines. The actual infusion pump obstruction pressure is calibrated based on these valid fitted straight lines. Thus, by judging the validity of the collected pressure sensing parameters, the effectiveness of the machine's pressure detection can be preliminarily determined, making the pressure detection more accurate. By performing multi-segment linear fitting on the valid pressure sensing parameters and judging the validity of the resulting multiple fitted straight lines, the calibration accuracy of the infusion pump obstruction pressure is improved. Substituting the pressure sensing parameters collected in real-time by the pressure sensor into the corresponding valid fitted straight lines for calculation yields the actual obstruction pressure, reducing the error in detecting the infusion pump obstruction pressure.
[0098] Example 3
[0099] Furthermore, this disclosure provides an infusion pump, including a memory and a processor. The memory stores a computer program, which, when run on the processor, executes the infusion pump occlusion pressure calibration processing method provided in Embodiment 1.
[0100] The infusion pump provided in this embodiment of the invention can perform the steps of the infusion pump blockage pressure calibration method provided in Embodiment 1. To avoid repetition, these steps will not be repeated.
[0101] Example 4
[0102] The present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the infusion pump blockage pressure calibration processing method provided in Embodiment 1.
[0103] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0104] The computer-readable storage medium provided in this embodiment can implement the infusion pump blockage pressure calibration processing method provided in Embodiment 1. To avoid repetition, it will not be described again here.
[0105] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal that includes that element.
[0106] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0107] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.
[0108] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0109] The embodiments described above are merely examples of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.
Claims
1. A method for calibrating the occlusion pressure of an infusion pump, characterized in that, The method includes: The pressure sensing parameters corresponding to each of the multiple pressure points are collected respectively. If multiple pressure sensing parameters are valid, then the multiple pressure sensing parameters are determined to be multiple valid pressure sensing parameters. Piecewise fitting is performed on multiple effective pressure sensing parameters to obtain multiple fitted straight lines; If multiple fitted lines are valid, then the multiple fitted lines are determined as multiple valid fitted lines; The actual infusion pump blockage pressure was calibrated based on multiple effective fitted straight lines described above. The method further includes: A reference straight line is determined based on each pair of adjacent pressure sensing parameters; Determine the slope of each of the aforementioned reference lines; The slope ratio of each pair of adjacent lines is determined based on the slope of each of the aforementioned reference lines. Add up the ratios of the slopes to get the sum; Determine the number of the slope ratios; The validity of the plurality of pressure sensing parameters is determined based on the number of sum-to-slope ratios.
2. The infusion pump blockage pressure calibration method according to claim 1, characterized in that, The method further includes: If multiple pressure sensing parameters are invalid, the step of collecting the pressure sensing parameters corresponding to each of the multiple pressure points will be repeated.
3. The infusion pump blockage pressure calibration method according to claim 1, characterized in that, The step of determining whether multiple pressure sensing parameters are valid based on the number of sum-to-slope ratios includes: If the sum is less than the number of slope ratios, then multiple pressure sensing parameters are determined to be valid. If the sum is greater than or equal to the number of slope ratios, then multiple pressure sensing parameters are determined to be invalid.
4. The infusion pump blockage pressure calibration method according to claim 1, characterized in that, The method further includes: Obtain at least one pressure inflection point from the pressure sensor; The effective pressure sensing parameters are divided into multiple effective pressure sensing parameter combinations based on at least one of the pressure inflection points, and each effective pressure sensing parameter combination includes at least two of the effective pressure sensing parameters. For each effective pressure sensing parameter combination, at least two effective pressure sensing parameters are fitted using the least squares method to obtain a corresponding fitted straight line.
5. The infusion pump occlusion pressure calibration method according to claim 1, characterized in that, The method also includes, If at least one of the fitted lines is invalid, the step of collecting the pressure sensing parameters corresponding to each of the multiple pressure points is repeated.
6. The infusion pump blockage pressure calibration method according to claim 1, characterized in that, The method further includes: Determine the goodness of fit R of each of the fitted lines. 2 ; If the goodness of fit R² of each of the above statements is greater than or equal to a preset goodness of fit threshold, then multiple of the above statements are determined to be valid; if at least one of the above statements R² is less than a preset goodness of fit threshold, then multiple of the above statements are determined to be invalid.
7. A device for calibrating the clogging pressure of an infusion pump, characterized in that, The device includes: The acquisition module is used to acquire the pressure sensing parameters corresponding to each of the multiple pressure points. The determining module is used to determine the multiple pressure sensing parameters as multiple valid pressure sensing parameters when multiple pressure sensing parameters are valid. The fitting module is used to perform piecewise fitting on multiple effective pressure sensing parameters to obtain multiple fitting lines. The determining module is further configured to determine the multiple fitted lines as multiple valid fitted lines when multiple fitted lines are valid. The calibration module is used to calibrate the actual infusion pump blockage pressure based on multiple effective fitted straight lines. The determining module is further configured to: determine a corresponding reference line based on each pair of adjacent pressure sensing parameters; determine the slope of each reference line; determine the slope ratio of each pair of adjacent lines based on the slope of each reference line; add the slope ratios together to obtain a sum; determine the number of slope ratios; and determine whether the multiple pressure sensing parameters are valid based on the sum and the number of slope ratios.
8. An infusion pump, characterized in that, It includes a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1 to 6.