Injector specification identification method, device, equipment, medium and product
By obtaining the initial and calibration data of the syringe pump, the problem of identification errors of the syringe pump when identifying syringes of multiple specifications is solved, and fast and accurate syringe specification recognition is achieved, improving the safety and efficiency of medication use.
Patent Information
- Application Number
- CN202510313944.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-08-01
AI Technical Summary
Existing syringe pumps are prone to identification errors when identifying syringes of multiple specifications, resulting in infusion risks and affecting the safety of clinical treatment.
By obtaining data in the initial state of the syringe pump and calibration tooling state, adjusting the model function parameters, establishing a second model function, using this function to identify the syringe specifications, and optimizing the identification process in combination with the Internet of Things and machine learning technology.
It improves the reliability of the syringe pump to identify syringes of various specifications, reduces the workload and error of manual identification, and ensures the accuracy and safety of medication use.
Smart Images

Figure CN120393183A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of medical devices, and particularly to a method, device, equipment, medium and product for identifying syringe specifications. Background Art
[0002] In the field of medical infusion devices, as the core device for accurately controlling drug infusion, the accurate identification of syringe specifications by an infusion pump directly affects the safety of clinical treatment. At present, the potentiometers used in infusion pumps on the market to identify syringe specifications are mainly resistive potentiometers, which have stable performance, high sensitivity and high resolution. To improve the practicability of products and enhance the competitiveness of their own products, there are now more syringe specifications supported by products on the market, resulting in a denser identification range for different syringe specifications within the effective range of the potentiometer. If not properly handled, it is easy to cause identification errors, bringing certain infusion risks and endangering the lives of patients in severe cases. Summary of the Invention
[0003] The main purpose of this application is to provide a method, device, equipment, medium and product for identifying syringe specifications, aiming to improve the reliability of an infusion pump in identifying multiple syringe specifications.
[0004] To achieve the above object, this application proposes a method for identifying syringe specifications, including:
[0005] Obtaining initial data in the initial state of the infusion pump and calibration data in the state where the infusion pump is installed with a calibration tool;
[0006] Adjusting the parameters of a preset first model function based on the initial data and the calibration data to obtain a second model function;
[0007] Inputting a third analog-to-digital conversion value collected when a preset syringe is installed on the infusion pump into the second model function to obtain a target value;
[0008] Matching the specification of the syringe in a preset syringe specification identification table according to the target value.
[0009] In one embodiment, the initial data includes a first analog-to-digital conversion value and a scale value, and the calibration data includes a second analog-to-digital conversion value and a diameter value. The step of obtaining the initial data in the initial state of the infusion pump and the calibration data in the state where the infusion pump is installed with a calibration tool includes:
[0010] Collecting the first analog-to-digital conversion value in the initial state of the infusion pump;
[0011] Obtaining the distance between the pull handle of the infusion pump and the installation position of a preset syringe, where the preset syringe installation position is used for installing the syringe;
[0012] Obtaining the second analog-to-digital conversion value in the state where the infusion pump is installed with the calibration tool;
[0013] Obtain the diameter value of the calibration tooling.
[0014] In one embodiment, the parameters of the first model function include a first parameter, and the steps of adjusting the parameters of the preset first model function based on the initial data and the calibration data to obtain a second model function include:
[0015] Determine the difference between the diameter value and the scale value to obtain a first difference;
[0016] Determine the difference between the second analog-to-digital conversion value and the first analog-to-digital conversion value to obtain a second difference;
[0017] Determine the ratio of the first difference and the second difference as the first parameter;
[0018] Adjust the first model function according to the first parameter to determine the second model function.
[0019] In one embodiment, the parameters of the first model function include a second parameter, and the steps of adjusting the first model function according to the first parameter to determine the second model function include:
[0020] Determine the first model function adjusted based on the first parameter as the third model function;
[0021] Input the second analog-to-digital conversion value into the third model function to obtain the output result of the third model function;
[0022] Based on the output result, adjust the second parameter of the third model function until the output result obtained by the third model function is equal to the diameter value;
[0023] Determine the third model function based on the adjusted second parameter as the second model function.
[0024] In one embodiment, before the step of obtaining the initial data in the initial state of the syringe pump, it includes:
[0025] Obtain multiple displacement values of the potentiometer of the syringe pump, and collect the fourth analog-to-digital conversion value corresponding to each displacement value;
[0026] Calculate the linear correlation coefficient between all displacement values and the fourth analog-to-digital conversion value. When the absolute value of the linear correlation coefficient is greater than the preset linear correlation threshold, then execute the step of obtaining the initial data in the initial state of the syringe pump.
[0027] In one embodiment, the steps of matching the syringe specification in the preset syringe specification identification table according to the target value include:
[0028] For each syringe specification in the syringe specification identification table, determine the absolute difference of the syringe specification as the absolute value of the difference between the target value and the diameter corresponding to the syringe specification;
[0029] Determine the syringe specification with the smallest absolute difference as the syringe specification.
[0030] In addition, to achieve the above object, the present application also proposes a syringe specification recognition device, which includes:
[0031] A data acquisition module, configured to acquire initial data in the initial state of the infusion pump and calibration data in the state where the infusion pump is installed with a calibration tooling.
[0032] A function adjustment module, configured to adjust the parameters of a preset first model function based on the initial data and the calibration data to obtain a second model function.
[0033] A target value calculation module, configured to input a third analog-to-digital conversion value collected when a preset syringe is installed on the infusion pump into the second model function to obtain a target value.
[0034] A specification recognition module, configured to match the syringe specification in a preset syringe specification recognition table according to the target value.
[0035] In addition, to achieve the above object, the present application also proposes a syringe specification recognition device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the syringe specification recognition method as described above.
[0036] In addition, to achieve the above object, the present application also proposes a medium, which is a computer-readable storage medium, and a computer program is stored on the medium, and when the computer program is executed by a processor, the steps of the syringe specification recognition method as described above are implemented.
[0037] In addition, to achieve the above object, the present application also provides a product, which is a computer program product, and the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the syringe specification recognition method as described above are implemented.
[0038] One or more technical solutions proposed by the present application have at least the following technical effects:
[0039] This application obtains the initial data of the syringe pump in the initial state and the calibration data after the calibration tooling is installed on the syringe pump, laying a foundation for accurately establishing the model function. Based on the initial data and the calibration data, the parameters of the preset first model function are adjusted to obtain the second model function. By precisely adjusting the parameters of the model function, the model can better fit the actual measurement situation, eliminate errors caused by equipment individual differences, environmental factors, etc., and improve the accuracy and adaptability of the model. When the preset syringe is installed on the syringe pump, the collected third analog-to-digital conversion value is input into the second model function to obtain the target value. According to the target value, the specification of the syringe is matched in the preset syringe specification identification table, and the specification of the actually installed syringe can be quickly and accurately identified from multiple specifications, reducing the workload and error of manual identification, and ensuring the accuracy and safety of medication. The reliability of the syringe pump in identifying syringes of multiple specifications is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.
[0041] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.
[0042] Figure 1 It is a schematic flowchart of the first embodiment of the syringe specification identification method of this application;
[0043] Figure 2 It is a schematic diagram of the distance between the pull handle of the syringe pump and the installation position of the preset syringe in the syringe specification identification method of this application;
[0044] Figure 3 It is a schematic flowchart of determining the second model function in the syringe specification identification method of this application;
[0045] Figure 4 It is a schematic diagram of the module structure of the syringe specification identification device in the embodiment of this application;
[0046] Figure 5 It is a schematic diagram of the device structure of the hardware operating environment involved in the syringe specification identification method in the embodiment of this application.
[0047] The realization of the purpose, functional features, and advantages of this application will be further described with reference to the embodiments and the drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0048] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0049] In order to better understand the technical solutions of the present application, the following will be described in detail in conjunction with the specification drawings and specific implementation manners.
[0050] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device or a terminal system that can implement the above functions. The following takes the system as an example to illustrate this embodiment and the following embodiments.
[0051] Based on this, this embodiment provides a method for identifying the syringe specification. Refer to Figure 1 , Figure 1 which is a schematic flowchart of the syringe specification identification method of the present application. The syringe specification identification method includes steps S10 to S40:
[0052] Step S10, obtain the initial data in the initial state of the syringe pump and the calibration data in the state where the syringe pump is installed with a calibration tooling;
[0053] Step S20, adjust the parameters of the preset first model function based on the initial data and the calibration data to obtain a second model function;
[0054] Step S30, input the third analog-to-digital conversion value collected when the syringe pump is installed with a preset syringe into the second model function to obtain a target value;
[0055] Step S40, match the syringe specification in the preset syringe specification identification table according to the target value.
[0056] It should be noted that the "preset syringe pump" is the device for identifying the syringe specifications in this embodiment; the "initial state" refers to the state when no syringe and calibration tooling are installed on the syringe pump; the "initial data" includes the first analog-to-digital conversion value and the scale value of the syringe pump in the initial state. The first analog-to-digital conversion value is obtained by the analog-to-digital conversion circuit collecting the potentiometer information, and the scale value is the distance between the pull handle of the syringe pump and the deepest part of the concave for installing the syringe; the "calibration tooling" is a device for calibrating the syringe pump; the "calibration data" includes the second analog-to-digital conversion value obtained after installing the calibration tooling and the diameter value of the calibration tooling; the "first model function" is a preset function describing the relationship between the analog-to-digital conversion value of the potentiometer of the syringe pump and the relevant parameters of the syringe, including the first parameter and the second parameter; the "second model function" is a more accurate function obtained by adjusting the parameters of the first model function based on the initial data and the calibration data; the "third analog-to-digital conversion value" is the digital quantity related to the potentiometer collected by the analog-to-digital conversion circuit when the preset syringe is installed on the syringe pump; the "target value" is the calculation result obtained by inputting the third analog-to-digital conversion value into the second model function; the "syringe specification identification table" is a pre-established table containing information such as the diameters of syringes of different specifications.
[0057] First, perform step S10. Determine whether the preset syringe pump meets the usage requirements. By obtaining multiple displacement values of the potentiometer and the corresponding fourth analog-to-digital conversion values, calculate the correlation coefficient between the two. If the absolute value of the correlation coefficient is greater than the preset linear correlation threshold, it is considered that the syringe pump meets the usage requirements. Then obtain the initial data of the syringe pump in the initial state, that is, collect the first analog-to-digital conversion value through the analog-to-digital conversion circuit and measure the scale value; then install the calibration tooling, collect the second analog-to-digital conversion value, and obtain the diameter value of the calibration tooling as the calibration data.
[0058] Next, perform step S20. First, calculate the first parameter, which is obtained by dividing the difference between the diameter value of the calibration tooling and the scale value by the difference between the second analog-to-digital conversion value and the first analog-to-digital conversion value. Adjust the first model function based on the first parameter to obtain the third model function, and then input the second analog-to-digital conversion value into the third model function. By adjusting the second parameter to make the output result equal to the diameter value of the calibration tooling, the second model function is obtained.
[0059] Finally, perform steps S30 and S40. After installing the preset syringe on the syringe pump, collect the third analog-to-digital conversion value and input it into the second model function to obtain the target value. Calculate the absolute difference between the target value and the diameter corresponding to each specification in the syringe specification identification table, and select the specification with the smallest absolute difference as the specification of the currently installed syringe.
[0060] Furthermore, in this embodiment, the injection pump can be connected to the hospital information system in combination with the Internet of Things technology. When the syringe specification is recognized, relevant information is automatically uploaded to the system, facilitating medical staff to grasp the medication situation in real time. In the operating room scenario, doctors can view the status of the injection pump and the syringe specification at any time through a mobile terminal, improving the safety and efficiency of medication. At the same time, machine learning algorithms can be used to analyze a large amount of recognition data to continuously optimize the second model function and improve the recognition accuracy.
[0061] This embodiment obtains the initial data of the injection pump in the initial state and the calibration data after the calibration tooling is installed on the injection pump, laying a foundation for accurately establishing the model function. Based on the initial data and the calibration data, the parameters of the preset first model function are adjusted to obtain the second model function. Among them, the parameters of the first model function include the first parameter and the second parameter. By precisely adjusting the parameters of the model function, the model can better fit the actual measurement situation, eliminate errors caused by equipment individual differences, environmental factors, etc., and improve the accuracy and adaptability of the model. When a preset syringe is installed on the injection pump, the collected third analog-to-digital conversion value is input into the second model function to obtain a target value. According to the target value, the specification of the syringe is matched in the preset syringe specification recognition table, and the specification of the actually installed syringe can be quickly and accurately recognized from multiple specifications, reducing the workload and errors of manual recognition, and ensuring the accuracy and safety of medication. The reliability of the injection pump for recognizing multiple specifications of syringes is improved.
[0062] Based on Embodiment 1 of the present application, in Embodiment 2 of the present application, the same or similar content as that in the above Embodiment 1 can be referred to the above introduction and will not be repeated hereinafter. On this basis, the steps of step S10 further include steps A10 to A40:
[0063] Step A10, collecting the first analog-to-digital conversion value in the initial state of the injection pump;
[0064] Step A20, obtaining the distance between the pull handle of the injection pump and the preset syringe installation position, where the preset syringe installation position is used to install the syringe;
[0065] Step A30, obtaining the second analog-to-digital conversion value in the state where the calibration tooling is installed on the injection pump;
[0066] Step A40, obtaining the diameter value of the calibration tooling.
[0067] It should be noted that the "initial state" refers to the state when no syringe and calibration tooling are installed on the injection pump. At this time, the digital quantity corresponding to the potentiometer position collected through the analog-to-digital conversion circuit is the "first analog-to-digital conversion value"; referring to Figure 2 , the distance between the pull handle of the injection pump and the preset syringe installation position is Figure 2The "L" in it specifically refers to the scale value between the injection pump handle and the deepest part of the concave for installing the syringe; the "calibration tooling state" is the state after the injection pump installs the special calibration device, and the analog-to-digital conversion value collected at this time is the "second analog-to-digital conversion value"; the "diameter value of the calibration tooling" is the known physical size parameter of the calibration device.
[0068] When obtaining the initial data, first place the injection pump in a state where no components are installed. At this time, the potentiometer is at the initial position, and the analog-to-digital conversion circuit converts the analog signal output by the potentiometer into a digital quantity to obtain the first analog-to-digital conversion value. At the same time, directly read the physical distance between the handle and the deepest part of the concave through a measuring tool to obtain the scale value. These two values together constitute the initial data. Subsequently, install the calibration tooling on the injection pump. The diameter of the tooling is known and fixed. At this time, the position of the potentiometer changes due to the installation of the tooling, and the analog-to-digital conversion circuit collects the potentiometer signal again to obtain the second analog-to-digital conversion value, which together with the diameter value of the calibration tooling constitutes the calibration data.
[0069] The core function of these data is to establish the mapping relationship between the analog-to-digital conversion value and the physical size. The first analog-to-digital conversion value in the initial data reflects the reference position of the potentiometer without load, and the scale value provides the reference point in physical space. The second analog-to-digital conversion value and the tooling diameter in the calibration data are used to determine the proportional relationship between the analog-to-digital conversion value and the physical size. By combining these two sets of data, a linear model can be established subsequently to convert any analog-to-digital conversion value into the corresponding physical size, thereby realizing the identification of syringe specifications.
[0070] Furthermore, this embodiment can introduce image recognition technology to assist in calibration. Set a two-dimensional code or feature mark on the surface of the calibration tooling. When installing the tooling, capture and analyze the mark information through a camera to automatically obtain the diameter value of the calibration tooling, avoiding errors that may be caused by manual input. In a clinical scenario, a nurse can scan the electronic label on the syringe package through a mobile terminal to directly obtain the syringe specification information, and compare and verify it with the recognition result of the analog-to-digital conversion value, further improving the accuracy and efficiency of recognition.
[0071] This embodiment establishes an accurate mapping relationship between the analog-to-digital conversion value and the physical size by obtaining the initial data and the calibration data, effectively eliminating the influence of individual differences of the potentiometer and installation errors on the recognition result. These data provide a quantitative basis for the parameter adjustment of the subsequent model function, ensuring that different injection pumps output consistent physical size values under syringes of the same specification, significantly improving the reliability and consistency of the recognition of multi-specification syringes, and providing technical guarantee for safe clinical medication.
[0072] In a feasible implementation manner, with reference to Figure 3 , the steps of step S20 further include steps B10 to B40:
[0073] Step B10, determine the difference between the diameter value and the scale value to obtain a first difference;
[0074] Step B20, determine the difference between the second analog-to-digital conversion value and the first analog-to-digital conversion value to obtain a second difference;
[0075] Step B30, determine the ratio of the first difference and the second difference as a first parameter;
[0076] Step B40, adjust the first model function according to the first parameter to determine a second model function.
[0077] It should be noted that the "diameter value" is the known fixed diameter of the calibration tooling, the "scale value" is the distance between the injection pump handle and the deepest part of the concave of the installed syringe, the "first analog-to-digital conversion value" is the digital quantity corresponding to the potentiometer collected in the initial state of the injection pump, the "second analog-to-digital conversion value" is the digital quantity corresponding to the potentiometer collected in the state where the calibration tooling is installed on the injection pump, the "first parameter" is the ratio obtained by dividing the difference between the diameter value and the scale value by the difference between the second analog-to-digital conversion value and the first analog-to-digital conversion value, the "first model function" is a function preset to describe the relationship between the relevant parameters of the injection pump, and the "second model function" is a function obtained by adjusting the first model function according to the first parameter.
[0078] First, obtain the diameter value of the calibration tooling, the scale value between the injection pump handle and the deepest part of the concave of the installed syringe, the first analog-to-digital conversion value in the initial state of the injection pump, and the second analog-to-digital conversion value after installing the calibration tooling. Then, calculate the difference between the diameter value and the scale value, and the difference between the second analog-to-digital conversion value and the first analog-to-digital conversion value, and divide these two differences to obtain the first parameter.
[0079] The first model function is a preset function that describes a preliminary relationship between the analog-to-digital conversion value of the injection pump and the relevant physical quantities of the syringe. According to the obtained first parameter, the first model function is adjusted. The principle of adjustment is based on a linear relationship. The first parameter reflects the proportional relationship between the change in the analog-to-digital conversion value and the change in the actual physical size. By integrating this proportional relationship into the first model function, the function can more accurately reflect the actual situation, thereby obtaining the second model function.
[0080] Furthermore, in this embodiment, a machine learning algorithm can be used to optimize the calculation of the first parameter and the adjustment of the second model function. In the clinical use scenario, collect a large amount of data such as the diameter values, scale values, first analog-to-digital conversion values, and second analog-to-digital conversion values of different injection pumps and different calibration toolings. Use these data to train a neural network model, and let the model automatically learn the complex relationships between the diameter value, scale value, analog-to-digital conversion value, the first parameter, and the second model function, so as to improve the accuracy and adaptability of parameter calculation and model adjustment.
[0081] In this embodiment, by calculating the first parameter and adjusting the first model function to obtain the second model function, the actual measurement data of the syringe pump can be effectively combined, making the model more in line with the actual situation. This helps to improve the accuracy of the syringe pump in identifying syringes of various specifications, reduce the identification errors caused by equipment individual differences and environmental factors, and provide more reliable guarantee for clinical medication.
[0082] In a feasible implementation manner, the steps of step B20 further include steps B201 to B204:
[0083] Step B201, determining the first model function adjusted based on the first parameter as the third model function;
[0084] Step B202, inputting the second analog-to-digital conversion value into the third model function to obtain the output result of the third model function;
[0085] Step B203, based on the output result, adjusting the second parameter of the third model function until the output result obtained by the third model function is equal to the diameter value;
[0086] Step B204, determining the third model function based on the adjusted second parameter as the second model function.
[0087] It should be noted that the "third model function" is an intermediate function form obtained by substituting the first parameter into the first model function, the "second parameter" is an intercept parameter introduced when adjusting the third model function by inputting the second analog-to-digital conversion value, and the "second model function" is the final model function calibrated by the second parameter.
[0088] First, substitute the first parameter into the linear formula of the first model function to obtain the third model function. At this time, the third model function only includes the first parameter as the slope and does not consider the influence of the intercept. Subsequently, substitute the second analog-to-digital conversion value as the input into the third model function, and by adjusting the second parameter (intercept), make the model output result equal to the diameter value of the calibration tooling. This adjustment process is based on the principle of a linear equation: assuming the model function is y = kx + b, where k is the first parameter, x is the second analog-to-digital conversion value, and y should be the diameter value of the calibration tooling. By solving the equation b = y - kx, the value of the second parameter b can be determined. Finally, substitute the adjusted second parameter into the third model function to form a complete second model function. At this time, the model can accurately map the relationship between the analog-to-digital conversion value and the physical size.
[0089] The core of this process is to calibrate the linear model by the two-point method. The first analog-to-digital conversion value and the scale value in the initial data determine a reference point The second analog-to-digital conversion value and the diameter value in the calibration data determine another reference point The first parameter k is determined by the slope between two points, and the second parameter b is obtained by substituting the second reference point to solve for the intercept. In this way, the model function can accurately fit the actual measurement data, eliminating the influence of individual device differences and installation errors.
[0090] Furthermore, in this embodiment, an adaptive algorithm can be introduced to continuously collect the analog-to-digital conversion values and actual diameter data of syringes of different specifications during the use of the infusion pump, and dynamically adjust the parameters of the second model function. For example, in the ICU scenario, when the same specification syringe is recognized multiple times, the system automatically calculates the average value of these data and updates the model parameters to gradually optimize the recognition accuracy. At the same time, the temperature sensor data can be combined to compensate for the influence of ambient temperature changes on the potentiometer resistance value, further enhancing the robustness of the model.
[0091] In this embodiment, by adjusting the model parameters step by step, accurate calibration of the linear model is achieved. The first parameter determines the proportional relationship between the analog-to-digital conversion value and the physical size, and the second parameter compensates for the reference offset, enabling the model to adapt to the individual differences of different infusion pumps. This calibration method effectively improves the versatility and anti-interference ability of the recognition system, ensuring that the analog-to-digital conversion value and the syringe diameter can be accurately mapped under different usage conditions, thereby reducing the recognition error rate and ensuring clinical infusion safety.
[0092] Based on Embodiment 1 or Embodiment 2 of the present application, in Embodiment 3 of the present application, the same or similar content as that in Embodiment 1 or Embodiment 2 above can be referred to the above introduction and will not be elaborated hereinafter. Before the steps of Step S10, there are also steps C10 to C20:
[0093] Step C10, obtaining multiple displacement values of the potentiometer of the infusion pump, and collecting the corresponding fourth analog-to-digital conversion value for each displacement value;
[0094] Step C20, calculating the linear correlation coefficient between all displacement values and the fourth analog-to-digital conversion value. When the absolute value of the linear correlation coefficient is greater than the preset linear correlation threshold, the step of obtaining the initial data in the initial state of the infusion pump is executed.
[0095] It should be noted that the "displacement value" is the physical position change amount recorded by changing the position of the potentiometer slide through a mechanical device, the "fourth analog-to-digital conversion value" is the digital quantity corresponding to the analog signal output by the potentiometer converted by the analog-to-digital conversion circuit, the "correlation coefficient" is a statistical index describing the linear correlation degree of two variables, and the "linear correlation threshold" is a preset critical value for judging whether the correlation coefficient meets the linear requirement.
[0096] When determining whether an infusion pump meets the usage requirements, first, the mechanical device is used to change the position of the slider of the potentiometer, and multiple different displacement values are recorded. At the same time, the analog-to-digital conversion circuit real-time collects the analog signal corresponding to each displacement value and converts it into the fourth analog-to-digital conversion value. Subsequently, a statistical method is used to calculate the linear correlation coefficient between all displacement values and the fourth analog-to-digital conversion value. When the absolute value exceeds the preset linear correlation threshold (such as 0.95), it indicates that there is a good linear relationship between the displacement change of the potentiometer and the analog-to-digital conversion value, and it can be determined that the infusion pump meets the usage requirements. It is also possible to use a drawing method to observe whether there is a linear relationship between all displacement values and the fourth analog-to-digital conversion value.
[0097] The principle of this process is based on the working characteristics of the potentiometer: ideally, the resistance value of the potentiometer should change linearly with the displacement of the slider, so that the analog-to-digital conversion value also changes linearly. Through correlation coefficient analysis, the linear relationship can be quantitatively evaluated to meet the system requirements and ensure the accuracy of subsequent identification processes.
[0098] Furthermore, in this embodiment, the acquisition and analysis of displacement values and analog-to-digital conversion values can be automatically executed each time the infusion pump is powered on. Combining with Internet of Things technology, the detection data is uploaded to the cloud server to establish a performance database for infusion pumps. When it is found that the correlation coefficient of a certain device is close to the threshold, the system automatically pushes a maintenance reminder. In high-frequency usage scenarios such as the emergency department, portable detectors can be deployed to quickly screen for faulty devices and reduce clinical waiting time.
[0099] Through correlation coefficient analysis, this embodiment realizes the quantitative evaluation of the linearity of the potentiometer of the infusion pump, effectively eliminating the usage risks of non-linear devices. This preprocessing step ensures the accuracy of subsequent calibration and identification processes, avoiding misjudgment of syringe specifications due to equipment performance issues. At the same time, the threshold judgment mechanism provides a clear quantitative standard for equipment maintenance, improving the scientificity and standardization of medical equipment management and ensuring the safety and reliability of clinical infusion therapy.
[0100] In a feasible implementation manner, the steps of step S30 further include steps D10 to D20:
[0101] Step D10, for each syringe specification in the syringe specification identification table, the absolute value of the difference between the target value and the corresponding diameter of the syringe specification is determined as the absolute difference of the syringe specification;
[0102] Step D20, the syringe specification with the smallest absolute difference is determined as the specification of the syringe.
[0103] It should be noted that the "syringe specification recognition table" is a database that pre-stores the diameter information of syringes of different specifications. The "target value" is the physical size value of the current syringe calculated through the second model function. The "absolute difference" is the absolute value of the difference between the target value and the diameters of syringes of each specification in the recognition table, and is used to measure the matching degree.
[0104] First, convert the third modulus conversion value into a target value through the second model function, and this value represents the actual physical size of the current syringe. Subsequently, traverse each specification in the syringe specification recognition table and calculate the absolute difference between the target value and the corresponding diameter of this specification. For example, assume the target value is 16.9 mm, the diameter of the 10-ml syringe in the recognition table is 16.5 mm, then the absolute difference is 0.4 mm; the diameter of the 20-ml syringe is 21.0 mm, and the absolute difference is 4.1 mm. By comparing the absolute differences of all specifications, select the corresponding specification with the smallest one as the final recognition result.
[0105] Exemplarily, the diameters of syringes of different specifications supported by the syringe pump and the recognition ranges are shown in Table 1:
[0106]
[0107]
[0108] Table 1
[0109] According to the algorithm of this embodiment, the scale value (target value) between the handle at different positions and the deepest part of the concave of the installed syringe can be finally obtained, which is represented by the variable outerBymm (custom variable name).
[0110] Test and verify the algorithm of this embodiment, and the test results are shown in Table 2:
[0111]
[0112] Table 2
[0113] Observing the test results, when installing different syringes, the outerBymm values all tend to be in the middle of the recognition range values. Therefore, the reliability of recognizing syringes of multiple specifications is greatly improved.
[0114] Such an algorithm can solve the problem of the difference in the analog-to-digital conversion value at the starting position of the potentiometer. Without calibration, due to individual installation differences or differences in the potentiometer itself, the initial analog-to-digital conversion value may be 100, 200, 300, etc., which is likely to result in misidentification. After calibration, the analog-to-digital conversion value is converted into a scale value, and the starting positions of the potentiometers after calibration are all the same scale value. And it makes the acquired analog-to-digital conversion value and the outerBymm value tend to be linear. When installing syringes of different specifications, the value of the outerBymm variable obtained is close to the diameter value of the syringe of this specification. This is equivalent to the outerBymm value tending to the middle of the recognition range corresponding to the syringe specification, so it is not easy to have the situation of misidentification.
[0115] Furthermore, a dual-criterion fusion mechanism can be used, and the absolute difference method and the proportional difference method of this embodiment are simultaneously used for specification matching; the proportional difference method is for each syringe specification in the preset syringe specification recognition table, calculate the proportional difference between the target value and the diameter corresponding to this specification, and the calculation method of the proportional difference is the absolute value of the difference between the target value and the diameter corresponding to this specification divided by the diameter corresponding to this specification, and the specification with the smallest proportional difference is used as the syringe specification matched by the proportional difference method. For large-specification syringes, the absolute difference method is used, and for small-specification syringes, the proportional difference method is used.
[0116] Even further, this embodiment can introduce a fuzzy matching algorithm to increase the weight coefficient on the basis of the absolute difference. For example, dynamically adjust the matching priority in combination with information such as syringe brand and usage frequency.
[0117] Through the principle of minimizing the absolute difference in this embodiment, this embodiment realizes the precise matching of syringe specifications and effectively solves the problem of fuzzy recognition in the dense specification interval. This quantitative comparison method reduces the subjectivity of manual judgment and makes the recognition result more objective and repeatable. At the same time, the reasonable design of the error range ensures that the target value always falls within the safe interval corresponding to the specification, significantly improving the reliability of multi-specification syringe recognition and providing technical support for precise clinical medication.
[0118] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the syringe specification recognition method of this application. Based on this technical concept, more forms of simple transformations are within the protection scope of this application.
[0119] This application also provides a syringe specification recognition device. Please refer to Figure 4 , the syringe specification recognition device includes:
[0120] The data acquisition module 10 is used to acquire the initial data in the initial state of the infusion pump and the calibration data in the state where the infusion pump is installed with a calibration tooling;
[0121] A function adjustment module 20, configured to adjust parameters of a preset first model function based on initial data and calibration data to obtain a second model function;
[0122] A target value calculation module 30, configured to input a third analog-to-digital conversion value collected when a syringe is installed in a preset syringe pump into the second model function to obtain a target value;
[0123] A specification recognition module 40, configured to match the specification of the syringe in a preset syringe specification recognition table according to the target value.
[0124] The syringe specification recognition device provided in this application adopts the syringe specification recognition method in the above embodiment, and can improve the reliability of the syringe pump in recognizing syringes of multiple specifications. Compared with the prior art, the beneficial effects of the syringe specification recognition device provided in this application are the same as those of the syringe specification recognition method provided in the above embodiment, and other technical features in the syringe specification recognition device are the same as those disclosed in the method of the above embodiment, and will not be elaborated here.
[0125] This application provides a syringe specification recognition device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the syringe specification recognition method in the first embodiment above.
[0126] Reference is made below to Figure 5 , which shows a schematic structural diagram of a syringe specification recognition device suitable for implementing the embodiments of this application. The syringe specification recognition device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The syringe specification recognition device shown is only an example, and should not impose any limitation on the functions and usage scope of the embodiments of this application.
[0127] As Figure 5As shown, the syringe specification identification device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in the read-only memory 1002 or a program loaded from the storage device 1003 into the random access memory 1004. In the random access memory 1004, various programs and data required for the operation of the syringe specification identification device are also stored. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. The input / output interface 1006 is also connected to the bus. Generally, the following systems can be connected to the input / output interface 1006. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the syringe specification identification device to communicate with other devices wirelessly or wiredly to exchange data. Although the syringe specification identification device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the shown systems. More or fewer systems can be alternatively implemented or had.
[0128] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device, or installed from the storage device 1003, or installed from the read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiments disclosed in the present application are executed.
[0129] The syringe specification identification device provided by the present application adopts the syringe specification identification method in the above-mentioned embodiment, and can improve the reliability of the injection pump in identifying syringes of multiple specifications. Compared with the prior art, the beneficial effects of the syringe specification identification device provided by the present application are the same as those of the syringe specification identification method provided by the above-mentioned embodiment, and other technical features in the syringe specification identification device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0130] It should be understood that each part disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.
[0131] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
[0132] This application provides a medium, which is a computer-readable storage medium with computer-readable program instructions (i.e., computer programs) stored thereon. The computer-readable program instructions are used to execute the syringe specification recognition method in the above embodiments.
[0133] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0134] The above computer-readable storage medium can be included in the syringe specification recognition device; or it can exist separately without being assembled into the syringe specification recognition device.
[0135] The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by the syringe specification recognition device, the syringe specification recognition device is caused to:
[0136] Obtain the initial data of the syringe pump in the initial state and the calibration data in the state where the syringe pump is installed with the calibration tooling;
[0137] Adjust the parameters of the preset first model function based on the initial data and the calibration data to obtain a second model function;
[0138] Input the third analog-to-digital conversion value collected when the syringe pump is installed with a preset syringe into the second model function to obtain a target value;
[0139] Match the specification of the syringe in the preset syringe specification identification table according to the target value.
[0140] Computer program code for performing the operations of the present application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages - such as Java, Smalltalk, C++, and also include conventional procedural programming languages - such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network - including a local area network (LAN: Local Area Network) or a wide area network (WAN: Wide Area Network), or can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).
[0141] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and this module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0142] The modules involved in the embodiments of the present application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.
[0143] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned syringe specification recognition method, and can improve the reliability of the injection pump in recognizing syringes of various specifications. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the syringe specification recognition method provided by the above embodiments, and will not be elaborated here.
[0144] The present application also provides a product, which is a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the syringe specification recognition method as described above are implemented.
[0145] The computer program product provided by the present application can improve the reliability of the injection pump in recognizing syringes of various specifications. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the syringe specification recognition method provided by the above embodiments, and will not be elaborated here.
[0146] The above are only some embodiments of the present application, and do not limit the patent scope of the present application accordingly. All equivalent structural transformations made under the technical concept of the present application by using the content of the specification and drawings of the present application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for identifying the specification of a syringe, characterized in that, The syringe specification recognition method includes: Obtaining initial data in the initial state of the syringe pump and calibration data in the state where the syringe pump is installed with a calibration tooling; Adjusting the parameters of a preset first model function based on the initial data and calibration data to obtain a second model function; Inputting the third analog-to-digital conversion value collected when the syringe pump is installed with a preset syringe into the second model function to obtain a target value; Matching the specification of the syringe in a preset syringe specification recognition table according to the target value.
2. The syringe specification identification method according to claim 1, characterized in that The initial data includes a first analog-to-digital conversion value and a scale value, and the calibration data includes a second analog-to-digital conversion value and a diameter value. The steps of obtaining the initial data in the initial state of the syringe pump and the calibration data in the state where the syringe pump is installed with a calibration tooling include: Collecting the first analog-to-digital conversion value in the initial state of the syringe pump; Obtaining the distance between the pull handle of the syringe pump and the preset syringe installation position, where the preset syringe installation position is used for installing the syringe; Obtaining the second analog-to-digital conversion value in the state where the syringe pump is installed with the calibration tooling; Obtaining the diameter value of the calibration tooling.
3. The method for identifying the syringe specification according to claim 2, characterized in that, The parameters of the first model function include a first parameter. The steps of adjusting the parameters of the preset first model function based on the initial data and calibration data to obtain a second model function include: Determining the difference between the diameter value and the scale value to obtain a first difference; Determining the difference between the second analog-to-digital conversion value and the first analog-to-digital conversion value to obtain a second difference; Determining the ratio of the first difference and the second difference as the first parameter; Adjusting the first model function according to the first parameter to determine the second model function.
4. The syringe specification identification method according to claim 3, wherein The parameters of the first model function include a second parameter. The steps of adjusting the first model function according to the first parameter to determine the second model function include: Determining the first model function adjusted based on the first parameter as a third model function; Inputting the second analog-to-digital conversion value into the third model function to obtain the output result of the third model function; Adjusting the second parameter of the third model function based on the output result until the output result obtained by the third model function is equal to the diameter value; Determining the third model function based on the adjusted second parameter as the second model function.
5. The syringe specification recognition method according to claim 1, characterized in that Before the step of obtaining the initial data in the initial state of the syringe pump, the method further includes: Obtaining multiple displacement values of the potentiometer of the syringe pump and collecting the fourth analog-to-digital conversion value corresponding to each displacement value; Calculating the linear correlation coefficient between all the displacement values and the fourth analog-to-digital conversion values. When the absolute value of the linear correlation coefficient is greater than a preset linear correlation threshold, the step of obtaining the initial data in the initial state of the syringe pump is executed.
6. The syringe specification identification method according to claim 1, characterized in that The steps of matching the specification of the syringe in a preset syringe specification recognition table according to the target value include: For each syringe specification in the syringe specification recognition table, determining the absolute value of the difference between the target value and the diameter corresponding to the syringe specification as the absolute difference of the syringe specification; Determining the syringe specification with the smallest absolute difference as the specification of the syringe.
7. A syringe specification recognition device, characterized in that, The syringe specification recognition device includes: a data acquisition module, configured to acquire initial data in the initial state of the infusion pump and calibration data in the state where the infusion pump is installed with a calibration tooling; a function adjustment module, configured to adjust parameters of a preset first model function based on the initial data and the calibration data to obtain a second model function; a target value calculation module, configured to input a third analog-to-digital conversion value collected when the preset syringe is installed on the infusion pump into the second model function to obtain a target value; a specification recognition module, configured to match the specification of the syringe in a preset syringe specification recognition table according to the target value.
8. An injector specification recognition device, characterized in that, The syringe specification recognition device includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the syringe specification recognition method according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the syringe specification recognition method according to any one of claims 1 to 6.
10. A computer program product, which includes a computer program, and the computer program, when executed by a processor, implements the steps of the syringe specification recognition method according to any one of claims 1 to 6.