Method and device for detecting pressure of infusion pipeline
By calculating the speed and displacement of the infusion pump door when starting and stopping, combined with the circulating neural network model, the problem of large error in the infusion pipeline deformation pressure detection is solved, more accurate pressure detection is achieved, and the safety of use is improved.
Patent Information
- Application Number
- CN202411238505.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The existing infusion pipeline pressure detection technology fails to effectively consider the dynamic changes in pipeline deformation pressure, resulting in large errors in the detection results and affecting the safety of use.
By obtaining the speed and displacement of the infusion pump door when starting and stopping, calculating the vibration coefficient, combining the concentration parameters and deformation pressure value of the flowing liquid, training is performed using the cyclic neural network model, combining the deformation pressure and the basic pressure value to obtain the total pressure value. Accurately detect the pressure of the infusion pipeline.
It significantly reduces errors, improves pressure detection accuracy and prediction accuracy, and enhances user safety.
Smart Images

Figure CN119185701A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a pressure detection device for an infusion pipeline, a pressure detection method for an infusion pipeline, a computer device and a computer-readable storage medium. Background Art
[0002] During the infusion process, the infusion pump needs to detect the pressure in the infusion pipeline to prevent the pipeline from being blocked during infusion and causing harm to the patient; the pressure detected by the infusion pump actually contains two parts of force, one is the force from the pump door squeezing the pipeline to cause deformation, and the other is the pressure from the liquid in the pipeline. In the combined force formed by these two forces, the former part of the force occupies a larger proportion, and because of structural design and operation reasons, the pump door needs to be closed before the infusion pump starts working, which will apply a momentary impact to the infusion pipeline, causing a sudden deformation of the infusion pipeline. After the pump door is closed, the deformation will gradually recover over time, and the time to recover to a relatively stable state will be as long as seven or eight hours or even more. The existing infusion pipeline pressure detection technology only considers a static process, and does not consider the dynamic change process of pipeline deformation pressure during actual use, resulting in large errors in the results of pipeline pressure detection at different time points during actual use. Summary of the invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a method for detecting pressure of an infusion pipeline, an apparatus for detecting pressure of an infusion pipeline, a computer device and a computer-readable storage medium that overcome the above problems or at least partially solve the above problems.
[0004] In order to solve the above problems, an embodiment of the present invention discloses a pressure detection method for an infusion pipeline, wherein the infusion pipeline is correspondingly provided with an infusion pump door, and the method comprises:
[0005] Get the speed and displacement of the infusion pump door when it starts and stops;
[0006] Calculating the vibration coefficient of the infusion pump door according to the speed and displacement;
[0007] Obtaining concentration parameters of the flowing liquid in the infusion pipeline;
[0008] Obtaining a deformation pressure value of an infusion pipeline position corresponding to the infusion pump door;
[0009] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model;
[0010] Inputting new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and outputting corresponding deformation pressure values;
[0011] The deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
[0012] Preferably, the infusion pump door is provided with an image sensor; the acquisition of the speed and displacement of the infusion pump door when starting and stopping includes:
[0013] Acquire, by means of an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped;
[0014] Extracting pixel change positions of two infusion pump doors through the first moving image and the second moving image;
[0015] The displacement of the infusion pump door when starting and stopping is calculated through the pixel change positions of the two infusion pump doors.
[0016] Preferably, the infusion pump door is provided with an infrared sensor; the obtaining of the speed and displacement of the infusion pump door when starting and stopping includes:
[0017] Acquire, by means of the infrared sensor, a first position and a second position of the infusion pump door when it is opened, and a first position and a second position of the infusion pump door when it is stopped;
[0018] The speed of the infusion pump door when starting and stopping is calculated according to the first position and the second position.
[0019] Preferably, the vibration coefficient of the infusion pump door is calculated according to the speed and displacement, including:
[0020] Inputting the speed into a preset function model to obtain a first vibration coefficient of the infusion pump door;
[0021] Calculating a second vibration coefficient according to the displacement and the longitudinal length of the infusion pump door;
[0022] The vibration coefficient is obtained by adding the first vibration coefficient and the second vibration coefficient in proportion.
[0023] Preferably, the recurrent neural network model comprises an input layer, a hidden layer, an activation layer and an output layer; the vibration coefficient, the concentration parameter and the corresponding deformation pressure value are input into the recurrent neural network model to obtain a trained recurrent neural network model, comprising:
[0024] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into the input layer of the recurrent neural network model to obtain a first eigenvector; inputting the first eigenvector into the hidden layer to obtain a second eigenvector;
[0025] Resetting the vibration coefficient and the activation layer, and inputting the second eigenvector into the reset hidden layer to obtain a third eigenvector;
[0026] The third eigenvector is input into the output layer, the weight and bias of the recurrent neural network model are adjusted, and the training of the recurrent neural network model is completed until the model converges to obtain the trained recurrent neural network model.
[0027] Preferably, the infusion pump door, the infusion pipeline and the pressure sensor are sequentially; the deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline, including:
[0028] Obtain the basic pressure value of the infusion pipeline on the pressure sensor;
[0029] The basic pressure value and the deformation pressure value of the infusion pipeline are added to obtain the total pressure value of the infusion pipeline.
[0030] The embodiment of the present invention discloses a pressure detection device for an infusion pipeline, wherein the infusion pipeline is correspondingly provided with an infusion pump door, and the device comprises:
[0031] The first acquisition module is used to acquire the speed and displacement of the infusion pump door when it starts and stops;
[0032] A vibration coefficient calculation module, used to calculate the vibration coefficient of the infusion pump door according to the speed and displacement;
[0033] A second acquisition module, used to acquire the concentration parameter of the flowing liquid in the infusion pipeline;
[0034] A deformation pressure value module, used to obtain the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door;
[0035] A training module, used for inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model;
[0036] An output module, used to input the new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and output the corresponding deformation pressure value;
[0037] The merging module is used to merge the deformation pressure value with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
[0038] Preferably, the infusion pump door is provided with an image sensor; the first acquisition module comprises:
[0039] A first acquisition submodule, used to acquire, through an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped;
[0040] An extraction submodule, used for extracting pixel change positions of two infusion pump gates through the first moving image and the second moving image;
[0041] The first calculation submodule is used to calculate the displacement of the infusion pump door when starting and stopping according to the pixel change position of the two infusion pump doors.
[0042] An embodiment of the present invention discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned infusion pipeline pressure detection method when executing the computer program.
[0043] An embodiment of the present invention discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned pressure detection method for an infusion pipeline are implemented.
[0044] The embodiments of the present invention include the following advantages:
[0045] In an embodiment of the present invention, the pressure detection method of the infusion pipeline includes: obtaining the speed and displacement of the infusion pump door when it starts and stops; calculating the vibration coefficient of the infusion pump door according to the speed and displacement; obtaining the concentration parameter of the flowing liquid in the infusion pipeline; obtaining the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door; inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model; inputting the vibration coefficient and concentration parameter of the new infusion pipeline into the trained recurrent neural network model to output the corresponding deformation pressure value; merging the deformation pressure value with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline, which not only considers the errors caused by different deformation characteristics of different infusion pipelines, but also considers the errors caused by the infusion pipeline changing over time, and also considers the errors caused each time the infusion pump door is opened or closed, which can significantly reduce the errors caused by these errors in the pressure sensor measuring the liquid pressure in the infusion pipeline, improve the pressure detection accuracy, make the pressure prediction result more accurate, improve the prediction accuracy, and thus improve the user's use safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of 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.
[0047] Figure 1 is a schematic diagram of an embodiment of a method for detecting pressure of an infusion pipeline according to an embodiment of the present invention;
[0048] Figure 2 This is a schematic diagram of an infusion pump door and an infusion pipeline arranged relative to each other according to an embodiment of the present invention;
[0049] Figure 3 is a schematic diagram of an image sensor and an infrared sensor arranged on both sides of an infusion pipeline according to an embodiment of the present invention;
[0050] Figure 4 is a schematic diagram of a pressure detection device for an infusion pipeline according to an embodiment of the present invention;
[0051] Figure 5 The diagram is a diagram of the internal structure of a computer device according to an embodiment. DETAILED DESCRIPTION
[0052] In order to make the technical problems, technical solutions and beneficial effects solved by the embodiments of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0053] In a core concept of an embodiment of the present invention, based on the basic pressure value of the infusion pipeline on the pressure sensor, the vibration coefficient is calculated by the speed and displacement of the infusion pump door when it starts and stops, and then the concentration parameters of the flowing liquid and the vibration coefficient, the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door and other historical measurement data are further used to train the recurrent neural network model to obtain the predicted deformation pressure value, and then the two are combined to obtain the total pressure value, without the need for cumbersome measurement process, thereby improving the pressure detection accuracy, making the pressure prediction result more accurate, and improving the prediction accuracy.
[0054] Reference Figure 1 , shows a schematic diagram of an embodiment of a pressure detection method for an infusion pipeline according to an embodiment of the present invention, wherein the infusion pipeline is provided with an infusion pump door, and specifically may include the following steps:
[0055] Step S101, obtaining the speed and displacement of the infusion pump door when starting and stopping;
[0056] In the embodiment of the present invention, the pressure detection method of the infusion pipeline can be applied to a medical infusion device, and the operating system running on the medical infusion device may include Android, Harmony OS, IOS, Windows Phone, Windows, etc., and the present invention does not impose too many restrictions on this;
[0057] Furthermore, the medical infusion device may also be provided with an infusion pump door, referring to Figure 2 , showing a schematic diagram of an infusion pump door 13 and an infusion pipeline 12 arranged relative to each other in an embodiment of the present invention; the infusion pipeline and the infusion pump door are arranged relative to each other, and the infusion pump door is used to open or close the infusion pipeline, and 11 represents a pressure sensor.
[0058] In another embodiment, the medical infusion device may be provided with a variety of sensors, such as image sensors, infrared sensors, pressure sensors, etc., and the embodiment of the present invention does not impose excessive restrictions on this.
[0059] The image sensor and infrared sensor are set at positions such as Figure 3 As shown, the image sensor 14 and the infrared sensor 15 can be arranged on both sides of the infusion pipeline, not in the same straight line as the pressure sensor, to avoid obstruction.
[0060] In a specific example of an embodiment of the present invention, the infusion pump door is provided with an image sensor; the speed and displacement of the infusion pump door when starting and stopping are obtained, including: obtaining a first moving image of the infusion pump door when it is opened and a second moving image of the infusion pump door when it is stopped through the image sensor; extracting the pixel change positions of the two infusion pump doors through the first moving image and the second moving image; and calculating the displacement of the infusion pump door when starting and stopping through the pixel change positions of the two infusion pump doors.
[0061] The degree of change of the infusion pump door is determined by image recognition. Specifically, a first moving image when the infusion pump door is started and a second moving image when the infusion pump door is closed are obtained; pixels of the positions of the two infusion pump doors in the first moving image and the second moving image are extracted to obtain the pixel change positions of the two, that is, the distance between the two, that is, the distance when the infusion pump door is opened and closed.
[0062] In another preferred embodiment, the infusion pump door is provided with an infrared sensor; the obtaining of the speed and displacement of the infusion pump door when starting and stopping includes:
[0063] Acquire, by means of the infrared sensor, a first position and a second position of the infusion pump door when it is opened, and a first position and a second position of the infusion pump door when it is stopped;
[0064] The speed of the infusion pump door when starting and stopping is calculated according to the first position and the second position.
[0065] Further applied to the embodiments of the present invention, an infrared sensor can also be used to measure the speed of the infusion pump door when it starts and stops, and to measure the impact of the impact force on the pressure value. Specifically, the infrared sensor can measure the first position and the second position of the infusion pump door when it starts and stops. According to the distance between the first position and the second position and the time to pass the distance, the speed of the infusion pump door when it starts and stops can be calculated. In a preferred embodiment, the infrared sensor replaces the image sensor to obtain the displacement of the infusion pump door when it starts and stops, thereby realizing the reuse of sensor functions and reducing costs.
[0066] Step S102, calculating the vibration coefficient of the infusion pump door according to the speed and displacement;
[0067] After obtaining the speed and displacement, the vibration coefficient of the infusion pump door can be calculated based on the two data.
[0068] Specifically applied to the embodiment of the present invention, the vibration coefficient of the infusion pump door is calculated based on the speed and displacement, including: converting the speed according to a preset formula to obtain a first vibration coefficient of the infusion pump door; calculating the second vibration coefficient based on the displacement and the longitudinal length of the infusion pump door; and obtaining the vibration coefficient by adding the first vibration coefficient and the second vibration coefficient in proportion.
[0069] Specifically, the preset formula is p1=nv; wherein p is the first vibration coefficient of the infusion pump door; n is the conversion coefficient, which can be an empirical value; v represents the speed;
[0070] Furthermore, the ratio of the displacement to the longitudinal length of the infusion pump door is determined as the second vibration coefficient, that is, p2=s / l; wherein p2 represents the second vibration coefficient of the infusion pump door; s is the displacement; v represents the longitudinal length of the infusion pump door; and the vibration coefficient is obtained based on the first vibration coefficient and the second vibration coefficient.
[0071] For example, the ratio can be 40% or 60%, then p1*40%+p2*60%=Pz; wherein Pz refers to the vibration coefficient, which takes into account the deformation factor of the infusion pump door and provides diverse data for the training of the recurrent neural network model.
[0072] Step S103, obtaining the concentration parameter of the flowing liquid in the infusion pipeline;
[0073] Step S104, obtaining the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door;
[0074] Furthermore, the concentration parameters of the flowing liquid in the infusion pipeline can also be obtained. For example, if the flowing liquid is a drug solution of a certain concentration, the concentration of the flowing liquid can be collected. In addition, the deformation pressure value of the infusion pipeline position at the corresponding position can also be obtained. The deformation pressure value can be a sample value measured by a higher-precision pressure sensor, which is measured under different concentration parameters and vibration coefficient conditions.
[0075] Step S105, inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model;
[0076] In actual application to the embodiment of the present invention, the vibration coefficient, concentration parameter and corresponding deformation pressure value can be composed of sample data, and the sample data can be input into the recurrent neural network model to obtain a trained recurrent neural network model.
[0077] In another preferred embodiment, the recurrent neural network model includes an input layer, a hidden layer, an activation layer and an output layer; the vibration coefficient, the concentration parameter and the corresponding deformation pressure value are input into the recurrent neural network model to obtain a trained recurrent neural network model, including:
[0078] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into the input layer of the recurrent neural network model to obtain a first eigenvector; inputting the first eigenvector into the hidden layer to obtain a second eigenvector;
[0079] Resetting the vibration coefficient and the activation layer, and inputting the second eigenvector into the reset activation layer to obtain a third eigenvector;
[0080] The third eigenvector is input into the output layer, the weight and bias of the recurrent neural network model are adjusted, and the training of the recurrent neural network model is completed until the model converges to obtain the trained recurrent neural network model.
[0081] In the embodiment of the present invention, the recurrent neural network model may also include other structures, and the embodiment of the present invention does not impose too many restrictions on this.
[0082] The activation function corresponding to the activation layer is f = α / (γ+e -x ); wherein α represents the vibration coefficient, γ represents the number of categories; x represents the input of the function, the second eigenvector is input to the reset activation layer to obtain the third eigenvector, and then the third eigenvector is input to the output layer, the weights and biases of the recurrent neural network model are adjusted, and the iteration is repeated until the model converges to complete the training of the recurrent neural network model. The soft saturation of the model is improved by setting the vibration coefficient, and the training efficiency of the model is improved.
[0083] Step S106, inputting the new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and outputting the corresponding deformation pressure value;
[0084] In an embodiment of the present invention, the new vibration coefficient of the infusion pipeline during operation and the concentration parameter of the liquid in the infusion pipeline can be detected, and both are input into the trained recurrent neural network model to obtain an output deformation pressure value, which refers to the pressure generated by the pipeline deformation on the infusion pipeline.
[0085] Step S107: Combining the deformation pressure value with the basic pressure value of the infusion pipeline to obtain a total pressure value of the infusion pipeline.
[0086] Furthermore, the basic pressure value of the infusion pipeline can be obtained and combined with the deformation pressure value to obtain the total pressure value of the infusion pipeline, wherein the basic pressure value of the infusion pipeline is the pressure generated on the infusion pipeline when the flowing liquid in the infusion pipeline flows smoothly.
[0087] In a preferred embodiment of the embodiments of the present invention; the deformation pressure value and the basic pressure value of the infusion pipeline are combined to obtain the total pressure value of the infusion pipeline, including: obtaining the basic pressure value of the infusion pipeline on the pressure sensor; adding the basic pressure value of the infusion pipeline to the deformation pressure value to obtain the total pressure value of the infusion pipeline.
[0088] In the embodiment of the present invention, the total pressure value of the infusion pipeline is F 合 , the basic pressure value F of the infusion line on the pressure sensor 液 , the deformation pressure value is F 管 . F 管 It is a function that changes with the time t after the infusion pump door is closed, denoted as F 管 =f(t), so
[0089] F 合 =F 液 +F 管 , that is, F 合 =F 液 +f(t);
[0090] The f(t) corresponding to different infusion pipelines is different, but the overall change trend is similar, and can be calibrated by fitting through actual measured values. The technical solution of the embodiment of the present invention is to predict the f(t) through a recurrent neural network model, which takes into account the pipeline deformation factor to make the pressure prediction result more accurate and improve the prediction accuracy.
[0091] It should be noted that the above-mentioned recurrent neural network model is only an example of an embodiment of the present invention. Pressure prediction can also be performed through other types of models, and the embodiment of the present invention does not impose too many restrictions on this.
[0092] In an embodiment of the present invention, the pressure detection method of the infusion pipeline includes: obtaining the speed and displacement of the infusion pump door when it starts and stops; calculating the vibration coefficient of the infusion pump door according to the speed and displacement; obtaining the concentration parameter of the flowing liquid in the infusion pipeline; obtaining the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door; inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model; inputting the vibration coefficient and concentration parameter of the new infusion pipeline into the trained recurrent neural network model to output the corresponding deformation pressure value; merging the deformation pressure value with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline, which not only considers the errors caused by different deformation characteristics of different infusion pipelines, but also considers the errors caused by the infusion pipeline changing over time, and also considers the errors caused each time the infusion pump door is opened or closed, which can significantly reduce the errors caused by these errors in the pressure sensor measuring the liquid pressure in the infusion pipeline, improve the pressure detection accuracy, make the pressure prediction result more accurate, improve the prediction accuracy, and thus improve the user's use safety.
[0093] It should be noted that, for the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that this embodiment is not limited by the order of the actions described, because according to this embodiment, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by this embodiment.
[0094] Reference Figure 4 , shows a structural block diagram of an embodiment of a pressure detection device for an infusion pipeline of this embodiment, wherein the infusion pipeline is provided with an infusion pump door correspondingly, and specifically may include the following modules:
[0095] The first acquisition module 301 is used to acquire the speed and displacement of the infusion pump door when it starts and stops;
[0096] A vibration coefficient calculation module 302, used to calculate the vibration coefficient of the infusion pump door according to the speed and displacement;
[0097] A second acquisition module 303 is used to acquire the concentration parameter of the flowing liquid in the infusion pipeline;
[0098] A deformation pressure value module 304 is used to obtain the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door;
[0099] A training module 305 is used to input the vibration coefficient, concentration parameter and corresponding deformation pressure value into the recurrent neural network model to obtain a trained recurrent neural network model;
[0100] An output module 306, used to input the new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and output the corresponding deformation pressure value;
[0101] The merging module 307 is used to merge the deformation pressure value with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
[0102] Preferably, the infusion pump door is provided with an image sensor; the first acquisition module comprises:
[0103] A first acquisition submodule, used to acquire, through an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped;
[0104] An extraction submodule, used to extract pixel change positions of two infusion pump doors through the first moving image and the second moving image;
[0105] The first calculation submodule is used to calculate the displacement of the infusion pump door when starting and stopping according to the pixel change position of the two infusion pump doors.
[0106] Preferably, the infusion pump door is provided with an infrared sensor; the first acquisition module comprises:
[0107] A second acquisition submodule, used for acquiring, through the infrared sensor, the first position and the second position of the infusion pump door when it is opened, and the first position and the second position of the infusion pump door when it is stopped;
[0108] The second calculation submodule is used to calculate the speed of the infusion pump door when starting and stopping according to the first position and the second position.
[0109] Preferably, the vibration coefficient calculation module includes:
[0110] A first vibration coefficient calculation submodule, used for inputting the speed into a preset function model to obtain a first vibration coefficient of the infusion pump door;
[0111] A second vibration coefficient calculation submodule, used for calculating a second vibration coefficient according to the displacement and the longitudinal length of the infusion pump door;
[0112] The addition calculation submodule is used to perform addition calculation according to a proportion on the first vibration coefficient and the second vibration coefficient to obtain a vibration coefficient.
[0113] Preferably, the recurrent neural network model includes an input layer, a hidden layer, an activation layer and an output layer; the training module includes:
[0114] A first input submodule is used to input the vibration coefficient, concentration parameter and corresponding deformation pressure value into the input layer of the recurrent neural network model to obtain a first eigenvector; and input the first eigenvector into the hidden layer to obtain a second eigenvector;
[0115] A third eigenvector acquisition submodule, used for resetting the vibration coefficient and the activation layer, and inputting the second eigenvector into the re-set hidden layer to obtain a third eigenvector;
[0116] The training submodule is used to input the third eigenvector into the output layer, adjust the weights and biases of the recurrent neural network model, iterate repeatedly until the model converges, complete the training of the recurrent neural network model, and obtain the trained recurrent neural network model.
[0117] Preferably, the infusion pump door, the infusion pipeline and the pressure sensor are arranged in sequence; the merging module comprises:
[0118] The third acquisition submodule is used to obtain the basic pressure value of the infusion pipeline on the pressure sensor;
[0119] The adding submodule is used to add the basic pressure value and the deformation pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
[0120] Each module in the pressure detection device for the infusion pipeline can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0121] The pressure detection device for the infusion pipeline provided above can be used to execute the pressure detection method for the infusion pipeline provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0122] In one embodiment, a computer device is provided, wherein the computer device includes a medical infusion device, and its internal structure diagram can be as follows: Figure 5As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a pressure detection device method for an infusion pipeline is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0123] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0124] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the above embodiment are implemented:
[0125] Get the speed and displacement of the infusion pump door when it starts and stops;
[0126] Calculating the vibration coefficient of the infusion pump door according to the speed and displacement;
[0127] Obtaining concentration parameters of the flowing liquid in the infusion pipeline;
[0128] Obtaining a deformation pressure value of an infusion pipeline position corresponding to the infusion pump door;
[0129] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model;
[0130] Inputting new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and outputting corresponding deformation pressure values;
[0131] The deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
[0132] Preferably, the infusion pump door is provided with an image sensor; the acquisition of the speed and displacement of the infusion pump door when starting and stopping includes:
[0133] Acquire, by means of an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped;
[0134] Extracting pixel change positions of two infusion pump doors through the first moving image and the second moving image;
[0135] The displacement of the infusion pump door when starting and stopping is calculated through the pixel change positions of the two infusion pump doors.
[0136] Preferably, the infusion pump door is provided with an infrared sensor; the obtaining of the speed and displacement of the infusion pump door when starting and stopping includes:
[0137] Acquire, by means of the infrared sensor, a first position and a second position of the infusion pump door when it is opened, and a first position and a second position of the infusion pump door when it is stopped;
[0138] The speed of the infusion pump door when starting and stopping is calculated according to the first position and the second position.
[0139] Preferably, the vibration coefficient of the infusion pump door is calculated according to the speed and displacement, including:
[0140] Inputting the speed into a preset function model to obtain a first vibration coefficient of the infusion pump door;
[0141] Calculating a second vibration coefficient according to the displacement and the longitudinal length of the infusion pump door;
[0142] The vibration coefficient is obtained by adding the first vibration coefficient and the second vibration coefficient in proportion.
[0143] Preferably, the recurrent neural network model comprises an input layer, a hidden layer, an activation layer and an output layer; the vibration coefficient, the concentration parameter and the corresponding deformation pressure value are input into the recurrent neural network model to obtain a trained recurrent neural network model, comprising:
[0144] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into the input layer of the recurrent neural network model to obtain a first eigenvector; inputting the first eigenvector into the hidden layer to obtain a second eigenvector;
[0145] Resetting the vibration coefficient and the activation layer, and inputting the second eigenvector into the reset hidden layer to obtain a third eigenvector;
[0146] The third eigenvector is input into the output layer, the weight and bias of the recurrent neural network model are adjusted, and the training of the recurrent neural network model is completed until the model converges to obtain the trained recurrent neural network model.
[0147] Preferably, the infusion pump door, the infusion pipeline and the pressure sensor are sequentially; the deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline, including:
[0148] Obtain the basic pressure value of the infusion pipeline on the pressure sensor;
[0149] The basic pressure value and the deformation pressure value of the infusion pipeline are added to obtain the total pressure value of the infusion pipeline.
[0150] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above embodiment are implemented:
[0151] Get the speed and displacement of the infusion pump door when it starts and stops;
[0152] Calculating the vibration coefficient of the infusion pump door according to the speed and displacement;
[0153] Obtaining concentration parameters of the flowing liquid in the infusion pipeline;
[0154] Obtaining a deformation pressure value of an infusion pipeline position corresponding to the infusion pump door;
[0155] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model;
[0156] Inputting new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and outputting corresponding deformation pressure values;
[0157] The deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
[0158] Preferably, the infusion pump door is provided with an image sensor; the acquisition of the speed and displacement of the infusion pump door when starting and stopping includes:
[0159] Acquire, by means of an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped;
[0160] Extracting pixel change positions of two infusion pump doors through the first moving image and the second moving image;
[0161] The displacement of the infusion pump door when starting and stopping is calculated through the pixel change positions of the two infusion pump doors.
[0162] Preferably, the infusion pump door is provided with an infrared sensor; the obtaining of the speed and displacement of the infusion pump door when starting and stopping includes:
[0163] Acquire, by means of the infrared sensor, a first position and a second position of the infusion pump door when it is opened, and a first position and a second position of the infusion pump door when it is stopped;
[0164] The speed of the infusion pump door when starting and stopping is calculated according to the first position and the second position.
[0165] Preferably, the vibration coefficient of the infusion pump door is calculated according to the speed and displacement, including:
[0166] Inputting the speed into a preset function model to obtain a first vibration coefficient of the infusion pump door;
[0167] Calculating a second vibration coefficient according to the displacement and the longitudinal length of the infusion pump door;
[0168] The vibration coefficient is obtained by adding the first vibration coefficient and the second vibration coefficient in proportion.
[0169] Preferably, the recurrent neural network model comprises an input layer, a hidden layer, an activation layer and an output layer; the vibration coefficient, the concentration parameter and the corresponding deformation pressure value are input into the recurrent neural network model to obtain a trained recurrent neural network model, comprising:
[0170] Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into the input layer of the recurrent neural network model to obtain a first eigenvector; inputting the first eigenvector into the hidden layer to obtain a second eigenvector;
[0171] Resetting the vibration coefficient and the activation layer, and inputting the second eigenvector into the reset hidden layer to obtain a third eigenvector;
[0172] The third eigenvector is input into the output layer, the weight and bias of the recurrent neural network model are adjusted, and the training of the recurrent neural network model is completed until the model converges to obtain the trained recurrent neural network model.
[0173] Preferably, the infusion pump door, the infusion pipeline and the pressure sensor are sequentially; the deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline, including:
[0174] Obtain the basic pressure value of the infusion pipeline on the pressure sensor;
[0175] The basic pressure value and the deformation pressure value of the infusion pipeline are added to obtain the total pressure value of the infusion pipeline.
[0176] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0177] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take 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.) containing computer-usable program codes.
[0178] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks 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 terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal 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.
[0179] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including 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.
[0180] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement 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.
[0181] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional 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 that fall within the scope of the embodiments of the present invention.
[0182] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0183] The above is a detailed introduction to a pressure detection method for an infusion pipeline, a pressure detection device for an infusion pipeline, a computer device and a computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for detecting pressure of an infusion pipeline, characterized in that: The infusion pipeline is correspondingly provided with an infusion pump door, and the method comprises: Get the speed and displacement of the infusion pump door when it starts and stops; Calculating the vibration coefficient of the infusion pump door according to the speed and displacement; Obtaining concentration parameters of the flowing liquid in the infusion pipeline; Obtaining a deformation pressure value of an infusion pipeline position corresponding to the infusion pump door; Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model; Inputting new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and outputting corresponding deformation pressure values; The deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
2. The pressure detection method of the infusion pipeline according to claim 1, characterized in that: The infusion pump door is provided with an image sensor; the speed and displacement of the infusion pump door when starting and stopping are obtained, including: Acquire, by means of an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped; Extracting pixel change positions of two infusion pump doors through the first moving image and the second moving image; The displacement of the infusion pump door when starting and stopping is calculated through the pixel change positions of the two infusion pump doors.
3. The pressure detection method of the infusion pipeline according to claim 1, characterized in that: The infusion pump door is provided with an infrared sensor; the speed and displacement of the infusion pump door when starting and stopping are obtained, including: Acquire, by means of the infrared sensor, a first position and a second position of the infusion pump door when it is opened, and a first position and a second position of the infusion pump door when it is stopped; The speed of the infusion pump door when starting and stopping is calculated according to the first position and the second position.
4. The pressure detection method of the infusion pipeline according to claim 1, characterized in that: The step of calculating the vibration coefficient of the infusion pump door according to the speed and displacement includes: Inputting the speed into a preset function model to obtain a first vibration coefficient of the infusion pump door; Calculating a second vibration coefficient according to the displacement and the longitudinal length of the infusion pump door; The vibration coefficient is obtained by adding the first vibration coefficient and the second vibration coefficient in proportion.
5. The pressure detection method of the infusion pipeline according to claim 1, characterized in that: The recurrent neural network model includes an input layer, a hidden layer, an activation layer and an output layer; the vibration coefficient, the concentration parameter and the corresponding deformation pressure value are input into the recurrent neural network model to obtain a trained recurrent neural network model, including: Inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into the input layer of the recurrent neural network model to obtain a first eigenvector; inputting the first eigenvector into the hidden layer to obtain a second eigenvector; Resetting the vibration coefficient and the activation layer, and inputting the second eigenvector into the reset hidden layer to obtain a third eigenvector; The third eigenvector is input into the output layer, the weight and bias of the recurrent neural network model are adjusted, and the training of the recurrent neural network model is completed until the model converges to obtain the trained recurrent neural network model.
6. The pressure detection method of the infusion pipeline according to claim 1, characterized in that: The infusion pump door, the infusion pipeline and the pressure sensor are sequentially; the deformation pressure value is combined with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline, including: Obtain the basic pressure value of the infusion pipeline on the pressure sensor; The basic pressure value and the deformation pressure value of the infusion pipeline are added to obtain the total pressure value of the infusion pipeline.
7. A pressure detection device for an infusion pipeline, characterized in that: The infusion pipeline is correspondingly provided with an infusion pump door, and the device comprises: The first acquisition module is used to acquire the speed and displacement of the infusion pump door when it starts and stops; A vibration coefficient calculation module, used to calculate the vibration coefficient of the infusion pump door according to the speed and displacement; A second acquisition module, used to acquire the concentration parameter of the flowing liquid in the infusion pipeline; A deformation pressure value module, used to obtain the deformation pressure value of the infusion pipeline position corresponding to the infusion pump door; A training module, used for inputting the vibration coefficient, concentration parameter and corresponding deformation pressure value into a recurrent neural network model to obtain a trained recurrent neural network model; An output module, used to input the new vibration coefficient and concentration parameters of the infusion pipeline into the trained recurrent neural network model, and output the corresponding deformation pressure value; The merging module is used to merge the deformation pressure value with the basic pressure value of the infusion pipeline to obtain the total pressure value of the infusion pipeline.
8. The pressure detection device for an infusion pipeline according to claim 7, characterized in that: The infusion pump door is provided with an image sensor; the first acquisition module comprises: A first acquisition submodule, used to acquire, through an image sensor, a first moving image when the infusion pump door is opened and a second moving image when the infusion pump door is stopped; An extraction submodule, used to extract pixel change positions of two infusion pump doors through the first moving image and the second moving image; The first calculation submodule is used to calculate the displacement of the infusion pump door when starting and stopping according to the pixel change position of the two infusion pump doors.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for detecting pressure of an infusion pipeline according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for detecting pressure of an infusion pipeline according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Infusion pump with functions of pressure automatic zero setting and verification
CN106730130A
Infusion pump with tube loading guidance and confirmation
CN116785530A
Infusion pump and control method thereof
CN116832256A
Infusion pump with tube loading guidance and confirmation
WO2019222365A1
