Infusion pump flow rate closed-loop control method and device, computer device and storage medium

CN117205398BActive Publication Date: 2026-10-16HUNAN BIYANG MEDICAL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311230085.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-21
Publication Date
2026-10-16
Estimated Expiration
2043-09-21

AI Technical Summary

Technical Problem

但是这种开环控制方法存在管路疲劳后流速降低无法自动调整目标流速的问题;在生产中存在输液泵结构差异大、一致性不好、流速定标难度大、生产工艺要求高等问题

Benefits of technology

[0040] The closed-loop flow rate control method for an infusion pump provided in this application is applied to an infusion pump system. The infusion pump system includes a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow rate sensor. The method includes: setting a target flow rate for the liquid in the infusion tubing; measuring the real-time flow rate of the liquid in the infusion tubing using the flow rate sensor; inputting the target flow rate and the real-time flow rate to the PI controller, controlling the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate; linearly combining the proportional and integral components of the control deviation using a PID control formula to generate a control quantity; and controlling the motor to drive the peristaltic chamber according to the control quantity, thereby squeezing the liquid in the infusion tubing to ensure a constant flow rate output. This application achieves closed-loop flow rate control, solving the problems of decreased infusion flow rate due to fatigue from prolonged tubing compression and the inability to automatically replenish the flow rate, as well as the difficulty in flow rate calibration due to poor structural consistency, thus reducing production process requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117205398B_ABST
    Figure CN117205398B_ABST
Patent Text Reader

Abstract

The application discloses a kind of infusion pump flow rate closed loop control method, device, computer equipment and storage medium.The method is applied to infusion pump system, infusion pump system includes PI controller, motor, peristaltic box, infusion tube and flow rate sensor, comprising: set the target flow rate of liquid in infusion tube, measure the real-time flow rate of liquid in infusion tube by flow rate sensor;Target flow rate and real-time flow rate are input to PI controller, and PI controller is generated according to target flow rate and real-time flow rate Control deviation;The proportional and integral of control deviation are linearly combined using PID control formula, to generate control amount;According to control amount, control motor drives peristaltic box, and extrude liquid in infusion tube by peristaltic box, so that liquid in infusion tube is constant-speed output.The application realizes the closed loop control of flow rate, solves the problem that infusion flow rate is reduced and cannot be automatically supplemented due to long-time extrusion of infusion tube fatigue, and the problem that flow rate calibration is difficult due to poor structural consistency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical device technology, and in particular to a method, apparatus, computer equipment, and storage medium for closed-loop control of infusion pump flow rate. Background Technology

[0002] An infusion pump is a medical device used to administer intravenous medications to patients at a constant rate. During the infusion process, the infusion rate, flow direction, and pressure can be controlled in real time by the infusion pump, thereby enabling real-time monitoring of the clinical infusion process.

[0003] Currently, infusion pump flow rate control generally employs an open-loop control method. This involves setting a fixed speed for a stepper motor, which drives a peristaltic vane to perform cyclic reciprocating motion via motor gears. The peristaltic vane compresses the infusion tubing, thus controlling the flow rate. However, this open-loop control method suffers from several drawbacks. It cannot automatically adjust the target flow rate after tubing fatigue causes a decrease in flow rate. Furthermore, in production, it faces challenges such as significant variations in infusion pump structure, poor consistency, difficulty in flow rate calibration, and stringent manufacturing process requirements. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to overcome the shortcomings of the prior art and provide a method, device, computer equipment and storage medium for closed-loop control of infusion pump flow rate.

[0005] This invention provides the following technical solution:

[0006] In a first aspect, this disclosure provides a closed-loop control method for the flow rate of an infusion pump, applied to an infusion pump system, the infusion pump system including a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow rate sensor, the method comprising:

[0007] Set the target flow rate of the liquid in the infusion tube, and measure the real-time flow rate of the liquid in the infusion tube using the flow rate sensor;

[0008] The target flow rate and the real-time flow rate are input to the PI controller, which then generates a control deviation based on the target flow rate and the real-time flow rate.

[0009] The proportional and integral components of the control deviation are linearly combined using the PID control formula to generate the control quantity.

[0010] The motor is controlled to drive the peristaltic box according to the control quantity, and the peristaltic box squeezes the liquid in the infusion tube so that the liquid in the infusion tube is output at a constant speed.

[0011] Furthermore, the flow rate sensor includes a first transducer and a second transducer, and the step of measuring the real-time flow rate of the liquid in the infusion tube using the flow rate sensor includes:

[0012] The first transducer is controlled to emit a first ultrasonic wave to the second transducer, and the first propagation time of the first ultrasonic wave in the infusion tube is measured, wherein the direction of the first ultrasonic wave is the same as the flow direction of the liquid in the infusion tube;

[0013] The second transducer is controlled to emit a second ultrasonic wave toward the first transducer, and the second propagation time of the second ultrasonic wave in the infusion tube is measured, wherein the direction of the second ultrasonic wave is opposite to the flow direction of the liquid in the infusion tube, and the speed of the first ultrasonic wave and the second ultrasonic wave is the same.

[0014] The real-time flow rate of the liquid in the infusion tube is calculated based on the first propagation time and the second propagation time.

[0015] Furthermore, a first probe is installed on the first transducer, and a second probe is installed on the second transducer. The calculation of the real-time flow velocity of the liquid in the infusion tube based on the first propagation time and the second propagation time includes:

[0016] The formula for calculating the real-time flow velocity of the liquid in the infusion tube is as follows:

[0017]

[0018] In the formula, v is the real-time flow velocity of the liquid in the infusion tube, c is the velocity of the first ultrasonic wave, T2 is the second propagation time, T1 is the first propagation time, L is the vertical distance between the emitting surface of the first probe and the receiving surface of the second probe, and θ is the angle between the emitting surface of the first probe and the wall of the infusion tube.

[0019] Furthermore, the step of linearly combining the proportional and integral components of the control deviation using the PID control formula to generate the control quantity includes:

[0020] The formula for calculating the control quantity is:

[0021]

[0022] In the formula, u(t) is the control quantity at time t, e(t) is the control deviation at time t, e(t-1) is the control deviation at time (t-1), e(i) is the control deviation at time i, and K p K is the proportional gain constant of the control deviation at time t, Ki is the integral time constant of the control deviation at time t, and K d Let be the differential time constant of the control deviation at time t.

[0023] Furthermore, the peristaltic chamber is composed of several pump fingers, each of which is connected to the motor driven by the motor according to the control quantity via a rotating cam, thereby squeezing the liquid in the infusion tube through the peristaltic chamber, including:

[0024] The motor is controlled according to the control quantity to periodically drive the rotating cam shaft inside the peristaltic box, thereby driving each of the pump fingers through the rotating cam shaft;

[0025] The cyclical peristalsis of each pump finger squeezes the wall of the infusion tube, causing the liquid inside the infusion tube to flow out.

[0026] Furthermore, before setting the target flow rate of the liquid in the infusion tube, the method further includes:

[0027] Check whether the infusion tubing requires fatigue compensation;

[0028] If the infusion tubing requires fatigue compensation, the initial flow rate when the infusion tubing starts to infuse and the intermediate flow rate after the infusion tubing has been running for a preset time are measured by the flow rate sensor, and the fatigue flow rate ratio of the intermediate flow rate to the initial flow rate is calculated. The target flow rate is then adjusted according to the fatigue flow rate ratio.

[0029] Further, adjusting the target flow rate according to the fatigue flow rate ratio includes:

[0030] The sampling flow rate before adjustment is measured using the flow rate sensor;

[0031] Calculate the product of the sampled flow rate and the fatigue flow rate ratio, and use the product as the adjusted target flow rate.

[0032] Secondly, this disclosure provides a closed-loop flow rate control device for an infusion pump, applied to an infusion pump system. The infusion pump system includes a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow rate sensor. The device includes:

[0033] The measurement module is used to set the target flow rate of the liquid in the infusion tube and measure the real-time flow rate of the liquid in the infusion tube through the flow rate sensor.

[0034] The first generation module is used to input the target flow rate and the real-time flow rate to the PI controller, and control the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate;

[0035] The second generation module is used to linearly combine the proportional and integral components of the control deviation using the PID control formula to generate the control quantity.

[0036] The drive module is used to control the motor to drive the peristaltic box according to the control quantity, so that the liquid in the infusion tube is squeezed by the peristaltic box to make the liquid in the infusion tube output at a constant speed.

[0037] Thirdly, this disclosure provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the infusion pump flow rate closed-loop control method described in the first aspect.

[0038] Fourthly, this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the infusion pump flow rate closed-loop control method described in the first aspect.

[0039] The beneficial effects of this application are:

[0040] The closed-loop flow rate control method for an infusion pump provided in this application is applied to an infusion pump system. The infusion pump system includes a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow rate sensor. The method includes: setting a target flow rate for the liquid in the infusion tubing; measuring the real-time flow rate of the liquid in the infusion tubing using the flow rate sensor; inputting the target flow rate and the real-time flow rate to the PI controller, controlling the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate; linearly combining the proportional and integral components of the control deviation using a PID control formula to generate a control quantity; and controlling the motor to drive the peristaltic chamber according to the control quantity, thereby squeezing the liquid in the infusion tubing to ensure a constant flow rate output. This application achieves closed-loop flow rate control, solving the problems of decreased infusion flow rate due to fatigue from prolonged tubing compression and the inability to automatically replenish the flow rate, as well as the difficulty in flow rate calibration due to poor structural consistency, thus reducing production process requirements.

[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 described 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. In the various drawings, similar components are numbered similarly.

[0043] Figure 1A flowchart of a closed-loop control method for the flow rate of an infusion pump provided in an embodiment of this application is shown;

[0044] Figure 2 A schematic diagram of an infusion pump system provided in an embodiment of this application is shown;

[0045] Figure 3 This paper shows a schematic diagram of the internal structure of an infusion tube provided in an embodiment of this application;

[0046] Figure 4 This illustration shows a structural schematic diagram of a closed-loop control device for the flow rate of an infusion pump provided in an embodiment of this application;

[0047] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of this application is shown. 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] like Figure 1 The diagram shows a flowchart of a closed-loop control method for the flow rate of an infusion pump according to an embodiment of this application. The closed-loop control method for the flow rate of an infusion pump provided in this embodiment is applied to applications such as... Figure 2 The infusion pump system shown includes a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow sensor. The method specifically includes the following steps:

[0055] Step S110: Set the target flow rate of the liquid in the infusion tube, and measure the real-time flow rate of the liquid in the infusion tube using the flow rate sensor.

[0056] First, the infusion pump system sets a target flow rate for the liquid in the infusion tubing. Furthermore, this embodiment adds a flow rate sensor to the existing infusion pump, which monitors the real-time flow rate of the liquid in the infusion tubing.

[0057] like Figure 3 As shown, the flow sensor consists of a first transducer and a second transducer. The two transducers are installed at a fixed angle on both sides of the infusion tube. A first probe is installed on the first transducer and a second probe is installed on the second transducer.

[0058] Specifically, the infusion pump system controls the first transducer to emit a first ultrasonic wave towards the second transducer and measures the first propagation time of the first ultrasonic wave within the infusion tubing, wherein the direction of the first ultrasonic wave is the same as the flow direction of the liquid within the infusion tubing. The formula for the first propagation time is:

[0059]

[0060] In the formula, T1 is the first propagation time, L is the vertical distance between the emitting surface of the first probe and the receiving surface of the second probe, θ is the angle between the emitting surface of the first probe and the wall of the infusion tube, c is the velocity of the first ultrasonic wave, and v is the real-time flow velocity of the liquid in the infusion tube.

[0061] Furthermore, the infusion pump system controls the second transducer to emit a second ultrasonic wave towards the first transducer, and measures the second propagation time of the second ultrasonic wave within the infusion tube. The direction of the second ultrasonic wave is opposite to the flow direction of the liquid within the infusion tube, and the speeds of the first and second ultrasonic waves are the same. The formula for the second propagation time is:

[0062]

[0063] In the formula, T2 is the second propagation time, L is the vertical distance between the emitting surface of the first probe and the receiving surface of the second probe, θ is the angle between the emitting surface of the first probe and the wall of the infusion tube, c is the velocity of the second ultrasonic wave, and v is the real-time flow velocity of the liquid in the infusion tube.

[0064] The formula for calculating the vertical distance L between the transmitting surface of the first probe and the receiving surface of the second probe is as follows:

[0065] L=Dcosθ (Equation 3)

[0066] In the formula, L is the vertical distance between the emitting surface of the first probe and the receiving surface of the second probe, θ is the angle between the emitting surface of the first probe and the wall of the infusion tube, and D is the diameter of the infusion tube.

[0067] Finally, based on the combined equations 1, 2, and 3, the real-time flow velocity of the liquid in the infusion tube is approximately equal to the following formula:

[0068]

[0069] In the formula, v is the real-time flow velocity of the liquid in the infusion tube, c is the velocity of the first ultrasonic wave, T2 is the second propagation time, T1 is the first propagation time, L is the vertical distance between the emitting surface of the first probe and the receiving surface of the second probe, and θ is the angle between the emitting surface of the first probe and the wall of the infusion tube.

[0070] Step S120: Input the target flow rate and the real-time flow rate to the PI controller, and control the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate.

[0071] Furthermore, the set target flow rate and the measured real-time flow rate are input to the PI controller. It can be understood that the PI controller is a linear controller that can generate a control deviation based on the target flow rate and the real-time flow rate. That is, it calculates the difference between the target flow rate and the real-time flow rate and uses this difference as the control deviation.

[0072] Step S130: The proportional and integral components of the control deviation are linearly combined using the PID control formula to generate the control quantity.

[0073] Furthermore, the formula for calculating the control quantity by linearly combining the proportional and integral components of the control deviation using the PID control formula is as follows:

[0074]

[0075] In the formula, u(t) is the control quantity at time t, e(t) is the control deviation at time t, e(t-1) is the control deviation at time (t-1), e(i) is the control deviation at time i, and K p K is the proportional gain constant of the control deviation at time t, Ki is the integral time constant of the control deviation at time t, and K d Let be the differential time constant of the control deviation at time t.

[0076] Step S140: Control the motor to drive the peristaltic box according to the control quantity, and squeeze the liquid in the infusion tube through the peristaltic box so that the liquid in the infusion tube is output at a constant speed.

[0077] It should be noted that the motor can convert electrical energy into kinetic energy. According to the control quantity, the motor can periodically drive the peristaltic box. The peristaltic box is a structural component that converts the rotational speed of the motor into linear speed. It consists of several pump fingers, which are connected in series by a rotating cam. The peristaltic box cam rotates 360°, and each pump finger completes one peristaltic cycle.

[0078] It is understood that in this embodiment, the peristaltic box consists of 12 pump fingers, and the specific number can be determined according to the actual situation. This application embodiment does not limit this.

[0079] The pump finger of the peristaltic box acts on the wall of the infusion tube, and through cyclic peristalsis, it squeezes the wall of the infusion tube to achieve a constant speed output of the liquid in the infusion tube. Then, the real-time flow rate is fed back by the flow rate sensor, thereby realizing closed-loop control of the flow rate. This solves the problem that the infusion tube will not be able to automatically replenish itself due to fatigue caused by long-term squeezing of the infusion tube. It also reduces the production process requirements and solves the problem of difficulty in flow rate calibration caused by poor structural consistency.

[0080] In one optional embodiment, before setting the target flow rate of the liquid in the infusion tube, the method further includes:

[0081] To determine if fatigue compensation is required for the infusion tubing, if not, the target flow rate can be set directly. If fatigue compensation is required, the initial flow rate V1 when the infusion tubing starts and the intermediate flow rate V1 after the infusion tubing has been running for a preset time are measured using a flow rate sensor. The fatigue flow rate ratio K1 = V2 / V1 between the intermediate flow rate and the initial flow rate is then calculated.

[0082] Further, the sampling flow rate V before adjustment was measured using a flow rate sensor. s Calculate the sampling flow rate V s The product of the fatigue flow rate ratio K1 and the product value is used as the adjusted target flow rate V. r =V s *K1 achieves the purpose of flow velocity compensation after pipeline fatigue.

[0083] The closed-loop flow rate control method for an infusion pump provided in this application is applied to an infusion pump system. The infusion pump system includes a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow rate sensor. The method includes: setting a target flow rate for the liquid in the infusion tubing; measuring the real-time flow rate of the liquid in the infusion tubing using the flow rate sensor; inputting the target flow rate and the real-time flow rate to the PI controller; controlling the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate; linearly combining the proportional and integral components of the control deviation using a PID control formula to generate a control quantity; and controlling the motor to drive the peristaltic chamber according to the control quantity, thereby squeezing the liquid in the infusion tubing to ensure a constant flow rate output. This application achieves closed-loop flow rate control, solving the problems of decreased infusion flow rate due to fatigue from prolonged tubing compression and the inability to automatically replenish the flow rate, as well as the difficulty in flow rate calibration due to poor structural consistency, thus reducing production process requirements.

[0084] Example 2

[0085] like Figure 4 The diagram shown is a structural schematic of a closed-loop flow rate control device 400 for an infusion pump according to an embodiment of this application. The device is applied to an infusion pump system, which includes a PI controller, a motor, a peristaltic chamber, an infusion tubing, and a flow rate sensor. Specifically, the device includes:

[0086] The measurement module 410 is used to set the target flow rate of the liquid in the infusion tube and measure the real-time flow rate of the liquid in the infusion tube through the flow rate sensor.

[0087] The first generation module 420 is used to input the target flow rate and the real-time flow rate to the PI controller, and control the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate;

[0088] The second generation module 430 is used to linearly combine the proportional and integral of the control deviation using the PID control formula to generate a control quantity.

[0089] The drive module 440 is used to control the motor to drive the peristaltic box according to the control quantity, so that the liquid in the infusion tube is squeezed by the peristaltic box to make the liquid in the infusion tube output at a constant speed.

[0090] Optionally, the above-mentioned infusion pump flow rate closed-loop control device 400 further includes:

[0091] The first transmitting module is used to control the first transducer to emit a first ultrasonic wave to the second transducer and to measure the first propagation time of the first ultrasonic wave in the infusion tube, wherein the direction of the first ultrasonic wave is the same as the flow direction of the liquid in the infusion tube.

[0092] The second transmitting module is used to control the second transducer to emit a second ultrasonic wave toward the first transducer and to measure the second propagation time of the second ultrasonic wave in the infusion tube, wherein the direction of the second ultrasonic wave is opposite to the flow direction of the liquid in the infusion tube, and the speed of the first ultrasonic wave and the second ultrasonic wave is the same.

[0093] The calculation module is used to calculate the real-time flow rate of the liquid in the infusion tube based on the first propagation time and the second propagation time.

[0094] Optionally, the above-mentioned infusion pump flow rate closed-loop control device 400 further includes:

[0095] The drive module is used to control the motor to periodically drive the rotating cam shaft inside the peristaltic box according to the control quantity, and drive each of the pump fingers through the rotating cam shaft;

[0096] The squeezing module is used to squeeze the wall of the infusion tube by the cyclic peristalsis of each of the pump fingers, so that the liquid in the infusion tube flows out.

[0097] Optionally, the above-mentioned infusion pump flow rate closed-loop control device 400 further includes:

[0098] The detection module is used to detect whether the infusion tubing requires fatigue compensation;

[0099] The adjustment module is used to measure the initial flow rate of the infusion tube when it starts infusion and the intermediate flow rate after the infusion tube has been running for a preset time, respectively, by means of the flow rate sensor if the infusion tube needs fatigue compensation, and to calculate the fatigue flow rate ratio of the intermediate flow rate to the initial flow rate, and adjust the target flow rate according to the fatigue flow rate ratio.

[0100] Optionally, the above-mentioned infusion pump flow rate closed-loop control device 400 further includes:

[0101] The first adjustment submodule is used to measure the sampled flow rate before adjustment using the flow rate sensor;

[0102] The second adjustment submodule is used to calculate the product of the sampled flow rate and the fatigue flow rate ratio, and use the product as the adjusted target flow rate.

[0103] The infusion pump flow rate closed-loop control device provided in this application embodiment can execute the infusion pump flow rate closed-loop control method in embodiment 1 above, which will not be described in detail here.

[0104] The infusion pump flow rate closed-loop control device provided in this application embodiment realizes closed-loop control of flow rate, solves the problems of infusion flow rate reduction due to fatigue caused by long-term compression of the infusion tubing and the inability to automatically replenish it, and the difficulty in flow rate calibration due to poor structural consistency, and reduces the requirements of production process.

[0105] Example 3

[0106] This application also provides a computer device. Please refer to the following for details. Figure 5 , Figure 5 This is a basic structural block diagram of the computer device in this embodiment.

[0107] The computer device 5 includes a memory 51, a processor 52, and a network interface 53 that are interconnected via a system bus. It should be noted that only the computer device 5 with components 51-53 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0108] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.

[0109] The memory 51 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or D slot compatibility test memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as the hard disk or memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the computer device 5. Of course, the memory 51 may also include both the internal storage unit and its external storage device of the computer device 5. In this embodiment, the memory 51 is typically used to store the operating system and various application software installed on the computer device 5, such as computer-readable instructions for slot compatibility testing methods. In addition, the memory 51 can also be used to temporarily store various types of data that have been output or will be output.

[0110] In some embodiments, the processor 52 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other infusion pump flow rate closed-loop control chip. The processor 52 is typically used to control the overall operation of the computer device 5. In this embodiment, the processor 52 is used to execute computer-readable instructions stored in the memory 51 or to process data, such as executing computer-readable instructions for the slot compatibility testing method.

[0111] The network interface 53 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 5 and other electronic devices.

[0112] The computer device provided in this embodiment can execute the closed-loop control method for infusion pump flow rate in Embodiment 1 above, which will not be described in detail here.

[0113] Example 4

[0114] This embodiment also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of the infusion pump flow rate closed-loop control method in Embodiment 1. This embodiment will not elaborate further here.

[0115] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device. Of course, the computer-readable storage medium can also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.

[0116] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. 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, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive 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 diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0117] In addition, the functional modules or units in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0118] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium can be a non-volatile storage medium or a volatile storage medium. For example, the storage medium can be a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or any other medium capable of storing program code.

[0119] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A closed-loop control device for the flow rate of an infusion pump, characterized in that, Applied to an infusion pump system, the infusion pump system including a PI controller, a motor, a peristaltic chamber, infusion tubing, and a flow rate sensor, the device includes: The measurement module is used to detect whether the infusion tubing needs fatigue compensation before setting the target flow rate of the liquid in the infusion tubing; if the infusion tubing needs fatigue compensation, the flow rate sensor is used to measure the initial flow rate when the infusion is started and the intermediate flow rate after the infusion tubing has been running for a preset time, and the fatigue flow rate ratio of the intermediate flow rate to the initial flow rate is calculated; the flow rate sensor is used to measure the sampled flow rate before adjustment, and the product of the sampled flow rate and the fatigue flow rate ratio is calculated, and the product is used as the target flow rate after adjustment; it is also used to measure the real-time flow rate of the liquid in the infusion tubing using the flow rate sensor. The first generation module is used to input the target flow rate and the real-time flow rate to the PI controller, and control the PI controller to generate a control deviation based on the target flow rate and the real-time flow rate; The second generation module is used to linearly combine the proportional and integral components of the control deviation using the PID control formula to generate the control quantity. The drive module is used to control the motor to drive the peristaltic box according to the control quantity, so that the liquid in the infusion tube is squeezed by the peristaltic box to make the liquid in the infusion tube output at a constant speed; The step of using a PID control formula to linearly combine the proportional and integral components of the control deviation to generate a control quantity includes: The formula for calculating the control quantity is: In the formula, Let be the control quantity at time t. The control deviation at time t, The control deviation at time (t-1) Let i be the control deviation at time i. The proportional gain constant of the control deviation at time t. Let be the integral time constant of the control deviation at time t. Let be the differential time constant of the control deviation at time t.

2. The infusion pump flow rate closed-loop control device according to claim 1, characterized in that, The flow velocity sensor includes a first transducer and a second transducer. Measuring the real-time flow velocity of the liquid within the infusion tube using the flow velocity sensor includes: The first transducer is controlled to emit a first ultrasonic wave to the second transducer, and the first propagation time of the first ultrasonic wave in the infusion tube is measured, wherein the direction of the first ultrasonic wave is the same as the flow direction of the liquid in the infusion tube; The second transducer is controlled to emit a second ultrasonic wave toward the first transducer, and the second propagation time of the second ultrasonic wave in the infusion tube is measured, wherein the direction of the second ultrasonic wave is opposite to the flow direction of the liquid in the infusion tube, and the speed of the first ultrasonic wave and the second ultrasonic wave is the same. The real-time flow rate of the liquid in the infusion tube is calculated based on the first propagation time and the second propagation time.

3. The infusion pump flow rate closed-loop control device according to claim 2, characterized in that, A first probe is installed on the first transducer, and a second probe is installed on the second transducer. The step of calculating the real-time flow velocity of the liquid in the infusion tube based on the first propagation time and the second propagation time includes: The formula for calculating the real-time flow velocity of the liquid in the infusion tube is as follows: In the formula, The real-time flow rate of the liquid within the infusion tube. The velocity of the first ultrasonic wave is... This is the second propagation time. For the first propagation time, The vertical distance between the transmitting surface of the first probe and the receiving surface of the second probe is denoted as . The angle between the emitting surface of the first probe and the wall of the infusion tube is denoted as .

4. The infusion pump flow rate closed-loop control device according to claim 1, characterized in that, The peristaltic chamber is composed of several pump fingers, each pump finger being connected by a rotating cam. The process of controlling the motor to drive the peristaltic chamber according to the control quantity, thereby squeezing the liquid within the infusion tube, includes: The motor is controlled according to the control quantity to periodically drive the rotating cam shaft inside the peristaltic box, thereby driving each of the pump fingers through the rotating cam shaft; The cyclical peristalsis of each pump finger squeezes the wall of the infusion tube, causing the liquid inside the infusion tube to flow out.

5. A computer device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the functions of each module of the infusion pump flow rate closed-loop control device according to any one of claims 1 to 4.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the functions of each module of the infusion pump flow rate closed-loop control device according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and control device for controlling administration of insulin to patient

    CN105339943A

  • Infusion dripping speed control system

    CN106139319A

  • Roller pump device

    JP2007046565A

  • Acoustic flow sensor for continuous medication flow measurements and feedback control of infusion

    US20190262535A1