CN112294655A - Automatic calibration method, device and equipment for dispensing machine and storage medium - Google Patents
Automatic calibration method, device and equipment for dispensing machine and storage medium Download PDFInfo
- Publication number
- CN112294655A CN112294655A CN202011173803.9A CN202011173803A CN112294655A CN 112294655 A CN112294655 A CN 112294655A CN 202011173803 A CN202011173803 A CN 202011173803A CN 112294655 A CN112294655 A CN 112294655A
- Authority
- CN
- China
- Prior art keywords
- speed
- calibration
- standard value
- dispensing machine
- speed section
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 239000007788 liquid Substances 0.000 claims abstract description 82
- 239000003814 drug Substances 0.000 claims abstract description 66
- 238000000605 extraction Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 5
- 238000000638 solvent extraction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 229940079593 drug Drugs 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000000890 antigenic effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61J—CONTAINERS SPECIALLY ADAPTED FOR MEDICAL OR PHARMACEUTICAL PURPOSES; DEVICES OR METHODS SPECIALLY ADAPTED FOR BRINGING PHARMACEUTICAL PRODUCTS INTO PARTICULAR PHYSICAL OR ADMINISTERING FORMS; DEVICES FOR ADMINISTERING FOOD OR MEDICINES ORALLY; BABY COMFORTERS; DEVICES FOR RECEIVING SPITTLE
- A61J7/00—Devices for administering medicines orally, e.g. spoons; Pill counting devices; Arrangements for time indication or reminder for taking medicine
- A61J7/0076—Medicament distribution means
- A61J7/0084—Medicament distribution means for multiple medicaments
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Medical Preparation Storing Or Oral Administration Devices (AREA)
Abstract
The invention discloses an automatic calibration method, device, equipment and storage medium for a dispensing machine. Wherein, the method comprises the following steps: controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine tank; if the liquid extraction amount in the medicine box is determined to reach the set capacity, determining a standard value corresponding to the current speed section, and calibrating the standard value of the current speed section according to the determined standard value; and taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections is completed. The technical scheme provided by the embodiment of the invention can realize the automatic calibration of the standard value of the dispensing machine, reduce the calibration error and improve the accuracy of the dispensing work.
Description
Technical Field
The embodiment of the invention relates to a calibration technology, in particular to an automatic calibration method, device, equipment and storage medium for a dispensing machine.
Background
With the rapid development of science and technology, the use of dispensing machines to replace manual dispensing has become a trend. The actual medicine output amount of the dispensing machine is calculated as a crucial link, factors influencing the medicine output amount of the dispensing machine are many, a standard value corresponding to each pump on the dispensing machine is a very important influencing factor, and the actual medicine output amount of the pump in the dispensing machine in a timing time can be understood as the actual medicine output amount of the pump in the dispensing machine, but the actual standard value can be changed to a certain extent due to non-antigenic reasons such as aging and wearing of hardware.
In the related art, a general standard value can be calculated only by means of manual operation, calibration errors exist in the actual working process, and manual operation may also fail to result in low accuracy of the determined standard value.
Disclosure of Invention
The embodiment of the invention provides an automatic calibration method, device, equipment and storage medium for a dispensing machine, which can realize automatic calibration of a standard value of the dispensing machine, reduce calibration errors and improve the accuracy of dispensing work.
In a first aspect, an embodiment of the present invention provides an automatic calibration method for a dispensing machine, where the method includes: controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine tank;
if the liquid extraction amount in the medicine box is determined to reach the set capacity, determining a standard value corresponding to the current speed section, and calibrating the standard value of the current speed section according to the determined standard value;
and taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections is completed.
In a second aspect, an embodiment of the present invention further provides an automatic calibration device for a dispensing machine, where the device includes:
the control module is used for controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine box;
the updating module is used for determining a standard value corresponding to the current speed section if the liquid extraction amount in the medicine box is determined to reach the set capacity, and updating the original standard value corresponding to the current speed section by adopting the determined standard value;
and the returning module is used for taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the original standard values corresponding to all the speed sections are updated.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as in any one of the embodiments of the invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, implement the method according to any one of the embodiments of the present invention.
According to the technical scheme provided by the embodiment of the invention, the target pump in the dispensing machine is controlled to rotate at the calibration speed of the current speed section so as to extract the liquid in the medicine box, if the liquid extraction amount in the medicine box is determined to reach the set capacity, the standard value corresponding to the current speed section is determined, the standard value of the current speed section is calibrated through the determined standard value, the calibration speed of the next speed section is taken as the calibration speed of the current speed section, the operation of controlling the target pump to rotate at the calibration speed of the current speed section is returned until the standard value calibration of all the speed sections is completed, namely, by adopting a speed subsection calibration method, a plurality of standard values can be obtained, the calibration error can be reduced, the accuracy of the dispensing work is improved, and the automatic calibration of the dispensing machine can be automatically realized.
Drawings
FIG. 1 is a prior art dispenser block diagram;
fig. 2 is a schematic flow chart of an automatic calibration method of a dispensing machine according to an embodiment of the present invention;
fig. 3a is a schematic flow chart of an automatic calibration method of a dispensing machine according to an embodiment of the present invention;
fig. 3b is a schematic flow chart of an automatic calibration method of a dispensing machine according to an embodiment of the present invention;
fig. 4a is a schematic flow chart of an automatic calibration method of a dispensing machine according to an embodiment of the present invention;
fig. 4b is a schematic flow chart of an automatic calibration method of a dispensing machine according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an automatic calibration device of a dispensing machine according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
With the rapid development of science and technology, the use of dispensing machines to replace manual dispensing has become a trend. Wherein, fig. 1 is a structure diagram of a dispensing machine, and as shown in fig. 1, the dispensing machine is provided with five medicine inlet interfaces which are respectively connected with four medicine inlet pump motors and one water inlet motor. Wherein, the medicine inlet pump motor is connected with the medicine pump 110, and the water inlet motor is connected with the water pump 120. Still a medicine interface connection goes out medicine rifle 130, goes out the contact that the medicine rifle 130 was gone up and is set up independent trigger and two short circuit judgements, pulls down the trigger and can send the enabling signal, and can the short circuit when two contacts contact the liquid level, sends stop signal to the medicine dispensing machine this moment. The button plate of the dispensing machine is provided with motor selection buttons, such as a priority +/-button, a dispensing ratio +/-button, a setting button, a cancel button, a pause button and a start button, and is provided with a screen for displaying the working state.
Because the working mechanism of the dispensing machine needs, each pump on the dispensing machine corresponds to a standard value, which can be understood as representing the actual medicine output amount of the pump in a timing time, and the actual medicine output amount needs to be calculated by means of the standard value and the working time when the medicine gun works. However, the actual standard value is changed to some extent due to the non-antigenicity factors such as aging and wear of hardware.
The existing calibration technology is that the actual medicine output quantity of a pump is measured by setting a fixed rotating speed and time and then is returned to a medicine dispensing machine in a manual operation mode, so that a universal standard value is calculated, on one hand, the actual medicine output quantity is measured in the manual operation mode, misoperation can occur in the process, calculation is inaccurate, on the other hand, only one universal standard value can be obtained, and during actual work, if the working rotating speed is inconsistent with the calibration rotating speed, calibration errors can exist.
To solve the above problem, fig. 2 is a schematic flow chart of an automatic calibration method for a dispensing machine according to an embodiment of the present invention, which may be performed by a dispensing machine calibration device, which may be implemented by software and/or hardware, and which may be integrated into the dispensing machine or may be configured in a management device controlling the dispensing machine. The method can be applied to the calibration of the standard value of the dispensing machine, and optionally, the method can be applied to the scene of calibrating the dispensing machine alone, or can also be applied to the scene of calibrating the dispensing machine in the dispensing process.
As shown in fig. 2, the technical solution provided by the embodiment of the present invention includes:
s210: and controlling a target pump in the dispensing machine to rotate at the calibrated speed of the current speed section so as to draw the liquid in the medicine box.
In the embodiment of the invention, the medicine box and the dispensing machine are correctly connected, the sufficient residual quantity of liquid in the medicine box is ensured, and the pump needing to be calibrated is set as the target pump. The target pump may be any one of the pumps in the dispenser, or may be the first pump of the dispenser, wherein the pumps in the dispenser include a drug pump and a water pump. The medicine chest can be intelligent medicine chest, is used for depositing liquid in the medicine chest, and this liquid can be liquid medicine or water.
In the embodiment of the present invention, the current speed section may be a first speed section of the overall speed section calibrated by the dispensing machine, or may also be another speed section, and the calibrated speed corresponding to the current speed section is an intermediate speed in the current speed section, or any one speed in the current speed section. In one embodiment, before controlling the target pump in the dispensing machine to rotate at the calibrated speed of the current speed section, the method may further include: the method comprises the steps of dividing speed sections of the dispensing machine based on set rules, and determining a calibration speed of each speed section.
The set speed interval can be set according to needs, and the division of the speed sections can be manually set, or can be divided by equipment based on a set rule. The calibration speed corresponding to the speed section may be any one of the speeds in the speed section, or may be an intermediate speed of the speed section. Therefore, through dividing the speed zones and determining the calibration speed corresponding to each speed zone, a plurality of calibration speeds can be adopted for calibration, so that the calibration error can be reduced, and the accuracy of subsequent dispensing work is improved.
S220: and if the liquid extraction amount in the medicine box is determined to reach the set capacity, determining a standard value corresponding to the current speed section, and calibrating the standard value of the current speed section according to the determined standard value.
In the embodiment of the present invention, the set capacity may be set as needed. The set capacity cannot be too large or too small. In one embodiment, optionally, determining a standard value corresponding to the current speed section includes: and determining a standard value corresponding to the current speed section based on the set volume and the time taken for extracting the set volume of liquid.
In an implementation manner of the embodiment of the present invention, optionally, the standard value corresponding to the current speed section is determined based on the set volume and the time taken for extracting the set volume of liquid. The method comprises the following steps: when the Nth jump of the liquid level height of the medicine box is detected, recording the current liquid level height and time, and respectively taking the current liquid level height and the current time as a corresponding first liquid level height and a first time; wherein N is greater than or equal to 1 and is less than a preset value; when the situation that the liquid level height of the medicine box is lowered from the first liquid level height by a set height recording unit is detected, recording the current time, and taking the current time as second time; wherein, when the liquid level jump is detected, the height recording unit changes once; determining the amount of liquid drawn from the medicine tank based on the set height recording units as the set capacity; and determining a standard value corresponding to the current speed section based on the difference value of the first time and the second time and the set capacity.
In order to eliminate the detection error, the liquid level height can be recorded at the moment when the liquid level jumps right, and the current recorded liquid level height is ensured to be the actual liquid level height. And due to the discontinuity of the liquid level detection of the medicine box, in the calibration process, when the liquid level needs to be waited for to jump, the current liquid level is recorded, but the liquid level is not recorded when the target pump operates. Wherein, the calculation relation formula of the corresponding standard value of the speed interval is as follows: the standard value is (capacity difference/time difference)/speed.
In the related technology, the speed and the running time of the pump are fixed, the actual medicine output amount is measured, and therefore the standard value is determined according to the measured actual medicine output amount, the speed and the running time of the pump, due to discontinuity of liquid level detection, errors possibly occurring in measurement of the liquid level height in the process of measuring the actual medicine output amount are large, and therefore the accuracy of the calculated standard value is not high.
In an implementation manner of the embodiment of the present invention, optionally, calibrating a standard value of the current speed section by using the determined standard value includes: and updating the original standard value corresponding to the current speed section through the determined standard value. Specifically, the original standard value corresponding to the current speed section is replaced by the standard value corresponding to the current speed section, so that the calibration of the standard value is completed.
S230: and judging whether the standard value calibration of all the speed sections is finished.
If yes, go to S250; if not, go to S240.
In the embodiment of the present invention, the determining whether to complete the calibration of the standard values of all the speed sections may specifically be determining whether there is a next speed section, if yes, the calibration of the standard values of all the speed sections is not completed, and if not, the calibration of the standard values of all the speed sections is completed.
S240: the calibrated speed of the next speed range is taken as the calibrated speed of the current speed range, and the process returns to S210.
S250: and finishing the calibration.
In the embodiment of the present invention, the next speed segment is a speed segment completely different from the speed segment corresponding to the previous calibration process, and the steps S210, S220, and S230 are repeated until the calibration of the standard values of all the speed segments of the target pump is completed.
According to the technical scheme provided by the embodiment of the invention, the target pump in the dispensing machine is controlled to rotate at the calibration speed of the current speed section so as to extract the liquid in the medicine box, if the liquid extraction amount in the medicine box is determined to reach the set capacity, the standard value corresponding to the current speed section is determined, the standard value of the current speed section is calibrated through the determined standard value, the calibration speed of the next speed section is taken as the calibration speed of the current speed section, the operation of controlling the target pump to rotate at the calibration speed of the current speed section is returned until the standard value calibration of all the speed sections is completed, namely, by adopting a speed subsection calibration method, a plurality of standard values can be obtained, the calibration error can be reduced, the accuracy of the dispensing work is improved, and the automatic calibration of the dispensing machine can be automatically realized.
Fig. 3a is a schematic flow chart of an automatic calibration method for a dispensing machine according to an embodiment of the present invention, and in the embodiment of the present invention, optionally, the method according to the embodiment of the present invention further includes:
the method comprises the steps of dividing speed sections of the dispensing machine based on set rules, and determining a calibration speed of each speed section.
Optionally, the determining a standard value corresponding to the current speed zone includes:
and determining a standard value corresponding to the current speed section based on the set volume and the time taken for extracting the set volume of liquid.
Optionally, the method provided in the embodiment of the present invention may further include:
and taking the next pump in the dispensing machine as a target pump, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections of all the pumps of the dispensing machine is completed.
As shown in fig. 3a, the technical solution provided by the embodiment of the present invention includes:
s310: the method comprises the steps of dividing speed sections of the dispensing machine based on set rules, and determining a calibration speed of each speed section.
In an implementation manner of the embodiment of the present invention, optionally, the dividing the speed section of the dispensing machine based on the setting rule includes: dividing the whole speed section calibrated by the dispensing machine according to a set speed interval to obtain each speed section; or, determining a divided speed interval based on the size of the speed, and dividing the whole speed section calibrated by the dispensing machine based on the speed interval to obtain each speed section.
The size of the set speed interval can be set as required under the condition that the whole speed section calibrated by the dispensing machine is divided according to the set speed interval to obtain each speed section. The overall speed segment for dispenser calibration may be a speed segment from 0 to a maximum speed. For example, if the target pump operates at a speed between 0rpm and 8000rpm, the speed zones may be divided in such divisions as 0rpm to 2000rpm, 2000rpm to 4000rpm, 4000rpm to 6000rpm, and 6000rpm to 8000 rpm. Therefore, through dividing the speed zones and determining the calibration speed corresponding to each speed zone, a plurality of calibration speeds can be adopted for calibration, so that the calibration error can be reduced, and the accuracy of subsequent dispensing work is improved.
Wherein, under the condition that the divided speed interval is determined based on the size of the speed, the whole speed section calibrated by the dispensing machine is divided based on the speed interval to obtain each speed section, wherein, the divided speed interval is determined based on the size of the speed, and the whole speed section calibrated by the dispensing machine is divided based on the speed interval, which may specifically be: and when the speed is higher than the first preset speed value, the speed section is divided according to a second preset speed interval. For example, when the speed is less than 4000rpm, the division may be performed at speed intervals of 1000rpm, and the division may be performed at speed sections of 0 to 1000rpm, 1000rpm to 2000rpm, 2000rpm to 3000rpm, 3000rpm to 4000 rpm. When the speed is more than 3000rpm, the division is performed according to the speed interval of 2000rpm, and the divided speed section can be 4000rpm-6000rpm, 6000rpm-8000 rpm.
Or determining a divided speed interval based on the size of the speed, and dividing the whole speed section calibrated by the dispensing machine based on the speed interval, and may specifically be: the overall speed section of the dispenser is divided based on the determined speed interval, as the speed is greater and the speed interval is smaller. For example, if the operating speed of the pump is between 0rpm and 8000rpm, the speed intervals may be divided in such a manner that 0rpm to 500rpm, 500rpm to 1000rpm, 1000rpm to 2000rpm, 2000rpm to 3000rpm, 3000rpm to 5000rpm, and 5000rpm to 8000rpm are divided. Therefore, the divided time interval is determined according to the speed, the whole speed section calibrated by the dispensing machine is divided based on the speed interval, the calibration speed can better accord with the speed in the actual work, the calibration error is reduced, and the dispensing work is more accurate.
In an implementation manner of the embodiment of the present invention, optionally, determining the calibration speed of each speed section includes: and taking the middle speed of the speed section as the calibration speed of the speed section, or taking any one speed of the speed section as the calibration speed of the speed section, or determining the calibration speed of the speed section in other ways. The intermediate speed of the speed section is used as the calibration speed of the speed section, so that the calculation error caused by selecting other speed values of the speed section can be balanced.
S320: and controlling a target pump in the dispensing machine to rotate at the calibrated speed of the current speed section so as to draw the liquid in the medicine box.
S330: and if the liquid extraction amount in the medicine box is determined to reach the set volume, determining a standard value corresponding to the current speed section based on the set volume and the time spent on extracting the liquid in the set volume, and calibrating the standard value of the current speed section according to the determined standard value.
Reference may be made in particular to the description of the embodiments above.
And S340, judging whether the standard value calibration of all the speed sections is finished.
If yes, S380; if not, go to S350.
S350: the calibrated speed of the next speed range is taken as the calibrated speed of the current speed range, and the process returns to S320.
S360: and judging whether the standard value standard of all speed sections of all pumps of the dispensing machine is finished or not.
If yes, go to S380; if not, go to S370.
The calibration of the standard values of all speed sections of all the pumps of the dispensing machine is judged to be finished, and whether the next pump is the last pump or not can be specifically judged. If so, the flow ends, otherwise, S370 is executed.
S370: and returning to the step S320 by taking the next pump in the dispensing machine as a target pump.
S380: and finishing the calibration.
Fig. 3b may also be referred to in the method provided in the embodiment of the present invention.
Fig. 4a is a flowchart illustrating an automatic calibration process of a dispensing machine according to an embodiment of the present invention, and as shown in fig. 4a, the method according to the embodiment of the present invention includes:
s410: the method comprises the steps of dividing speed sections of the dispensing machine based on set rules, and determining a calibration speed of each speed section.
S420: and controlling a target pump in the dispensing machine to rotate at the calibrated speed of the current speed section so as to draw the liquid in the medicine box.
S430: when the Nth jump of the liquid level height of the medicine box is detected, recording the current liquid level height and time, and respectively taking the current liquid level height and the current time as a corresponding first liquid level height and a first time; wherein N is greater than or equal to 1 and is less than a preset value.
S440: when the situation that the liquid level height of the medicine box is lowered from the first liquid level height by a set height recording unit is detected, recording the current time, and taking the current time as second time; wherein the height recording unit is changed once every time the liquid level jump is detected.
S450: the amount of liquid drawn from the medicine tank is determined based on the set height recording units and is taken as the set capacity.
S460: and determining a standard value corresponding to the current speed section based on the difference value of the first time and the second time and the set capacity.
S470: and carrying out standard value calibration on the current speed section through the determined standard value.
S480: and judging whether the standard value calibration of all the speed sections is finished.
If yes, go to S493; if not, go to step S490.
S490: the calibrated speed of the next speed section is taken as the calibrated speed of the current speed section, and the process returns to S420
S491: and judging whether the standard value standard of all speed sections of all pumps of the dispensing machine is finished or not.
If yes, go to S493; if not, go to S492.
The calibration of the standard values of all speed sections of all the pumps of the dispensing machine is judged to be finished, and whether the next pump is the last pump or not can be specifically judged. If yes, ending the process; if not, go to S492.
S492: the next pump in the dispenser is set as the target pump, and the process returns to S492.
S493: and finishing the calibration.
Fig. 4b can be referred to for the calibration process of the target pump.
Reference may be made to the above embodiments for the description of the various steps.
According to the technical scheme provided by the embodiment of the invention, the operation in the calibration process can be simplified and the risk of manual operation is reduced by automatically calibrating the dispensing machine, the speed sections are divided, and the pump is calibrated by adopting the calibration speed corresponding to each speed section, so that a plurality of standard values of a plurality of pumps can be obtained, the calibration error can be reduced, and the subsequent dispensing work is more accurate.
Fig. 5 is a schematic structural diagram of an automatic calibration device of a dispensing machine according to an embodiment of the present invention, and as shown in fig. 5, the device includes: a control module 510, an update module 520, and a return module 530.
The control module 510 is configured to control a target pump in the dispensing machine to rotate at a calibration speed of a current speed section to pump liquid in the tank;
an updating module 520, configured to determine a standard value corresponding to the current speed segment if it is determined that the liquid extraction amount in the drug container reaches a set capacity, and update an original standard value corresponding to the current speed segment with the determined standard value;
the returning module 530 is configured to use the calibration speed of the next speed section as the calibration speed of the current speed section, and return to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the original standard values corresponding to all the speed sections are updated.
Optionally, the determining a standard value corresponding to the current speed zone includes:
and determining a standard value corresponding to the current speed section based on the set volume and the time taken for extracting the set volume of liquid.
Optionally, the apparatus further includes a setting module, configured to divide the speed sections of the dispensing machine based on a set rule and determine a calibrated speed of each speed section before controlling a target pump in the dispensing machine to rotate at the calibrated speed of the current speed section.
Optionally, the determining a calibration speed of the speed section includes:
taking any one speed of the speed sections as the speed section calibration speed; or,
taking the intermediate speed of the speed section as the calibration speed of the speed section. Optionally, the dividing the speed section of the dispensing machine based on the setting rule includes:
dividing the whole speed section calibrated by the dispensing machine according to a set speed interval to obtain each speed section; or,
and determining a divided speed interval based on the size of the speed, and dividing the whole speed section calibrated by the dispensing machine based on the speed interval to obtain each speed section.
Optionally, the returning module 530 is further configured to use the next pump in the dispensing machine as a target pump, and return to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until standard value calibration of all speed sections of all pumps of the dispensing machine is completed.
Optionally, if it is determined that the amount of liquid in the medicine tank reaches the set volume, determining the standard value corresponding to the current speed section based on the set volume and the time taken to extract the set volume of liquid includes:
when the Nth jump of the liquid level height of the medicine box is detected, recording the current liquid level height and time, and respectively taking the current liquid level height and the current time as a corresponding first liquid level height and a first time; wherein N is greater than or equal to 1 and is less than a preset value;
when the situation that the liquid level height of the medicine box is lowered from the first liquid level height by a set height recording unit is detected, recording the current time, and taking the current time as second time; wherein, when the liquid level jump is detected, the height recording unit changes once;
determining the amount of liquid drawn from the medicine tank based on the set height recording units as the set capacity;
and determining a standard value corresponding to the current speed section based on the difference value of the first time and the second time and the set capacity.
Optionally, the calibrating the standard value of the current speed section by the determined standard value includes:
and updating the original standard value corresponding to the current speed section through the determined standard value. The device provided by the embodiment can execute the calibration method of the dispensing machine provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the method.
Fig. 6 is a schematic structural diagram of an apparatus provided in an embodiment of the present invention, and as shown in fig. 6, the apparatus includes:
one or more processors 610, one processor 610 being exemplified in fig. 6;
a memory 620;
the apparatus may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630 and the output device 640 of the apparatus may be connected by a bus or other means, and fig. 6 illustrates the example of connection by a bus.
The memory 620, as a non-transitory computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules (e.g., the control module 510, the update module 520, and the return module 530 shown in fig. 5) corresponding to the calibration method of the dispensing machine according to the embodiments of the present invention. The processor 610 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 620, so as to implement an automatic calibration method of a dispensing machine of the above method embodiment, that is:
controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine tank;
if the liquid extraction amount in the medicine box is determined to reach the set capacity, determining a standard value corresponding to the current speed section, and calibrating the standard value of the current speed section according to the determined standard value;
and taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections is completed.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 620 optionally includes memory located remotely from processor 610, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus. The output device 640 may include a display device such as a display screen.
The embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the automatic calibration method of a dispensing machine, provided by the embodiment of the invention, is realized:
controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine tank;
if the liquid extraction amount in the medicine box is determined to reach the set capacity, determining a standard value corresponding to the current speed section, and calibrating the standard value of the current speed section according to the determined standard value;
and taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections is completed.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (11)
1. An automatic calibration method for a dispensing machine, comprising:
controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine tank;
if the liquid extraction amount in the medicine box is determined to reach the set capacity, determining a standard value corresponding to the current speed section, and calibrating the standard value of the current speed section according to the determined standard value;
and taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections is completed.
2. The method of claim 1, wherein said determining a standard value for said current speed segment comprises:
and determining a standard value corresponding to the current speed section based on the set volume and the time taken for extracting the set volume of liquid.
3. The method of claim 1 or 2, further comprising, prior to controlling a target pump in the dispenser to rotate at the calibrated speed of the current speed segment:
the method comprises the steps of dividing speed sections of the dispensing machine based on set rules, and determining a calibration speed of each speed section.
4. The method of claim 3, wherein the determining the calibrated speed for the speed segment comprises:
taking the intermediate speed of the speed section as the calibration speed of the speed section.
5. The method of claim 3, wherein the partitioning the speed section of the dispenser based on set rules comprises:
dividing the whole speed section calibrated by the dispensing machine according to a set speed interval to obtain each speed section; or,
and determining a divided speed interval based on the size of the speed, and dividing the whole speed section calibrated by the dispensing machine based on the speed interval to obtain each speed section.
6. The method of claim 1, further comprising:
and taking the next pump in the dispensing machine as a target pump, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the standard value calibration of all the speed sections of all the pumps of the dispensing machine is completed.
7. The method of claim 2, wherein determining a standard value for the current speed segment based on the set volume and the time it takes to draw the set volume of liquid if it is determined that the amount of liquid drawn in the tank reaches the set volume comprises:
when the Nth jump of the liquid level height of the medicine box is detected, recording the current liquid level height and time, and respectively taking the current liquid level height and the current time as a corresponding first liquid level height and a first time; wherein N is greater than or equal to 1 and is less than a preset value;
when the situation that the liquid level height of the medicine box is lowered from the first liquid level height by a set height recording unit is detected, recording the current time, and taking the current time as second time; wherein, when the liquid level jump is detected, the height recording unit changes once;
determining the amount of liquid drawn from the medicine tank based on the set height recording units as the set capacity;
and determining a standard value corresponding to the current speed section based on the difference value of the first time and the second time and the set capacity.
8. The method of claim 1, wherein the calibrating the current speed segment with the determined standard value comprises:
and updating the original standard value corresponding to the current speed section through the determined standard value.
9. The utility model provides a dispensing machine automatic calibration device which characterized in that includes:
the control module is used for controlling a target pump in the dispensing machine to rotate at the calibration speed of the current speed section so as to pump the liquid in the medicine box;
the updating module is used for determining a standard value corresponding to the current speed section if the liquid extraction amount in the medicine box is determined to reach the set capacity, and updating the original standard value corresponding to the current speed section by adopting the determined standard value;
and the returning module is used for taking the calibration speed of the next speed section as the calibration speed of the current speed section, and returning to control the target pump in the dispensing machine to rotate at the calibration speed of the current speed section until the original standard values corresponding to all the speed sections are updated.
10. An apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-8.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011173803.9A CN112294655A (en) | 2020-10-28 | 2020-10-28 | Automatic calibration method, device and equipment for dispensing machine and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011173803.9A CN112294655A (en) | 2020-10-28 | 2020-10-28 | Automatic calibration method, device and equipment for dispensing machine and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112294655A true CN112294655A (en) | 2021-02-02 |
Family
ID=74331630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011173803.9A Pending CN112294655A (en) | 2020-10-28 | 2020-10-28 | Automatic calibration method, device and equipment for dispensing machine and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112294655A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891625A (en) * | 2017-07-10 | 2020-03-17 | 费森尤斯医疗护理德国有限责任公司 | Method and device for calibrating a pump for blood treatment |
-
2020
- 2020-10-28 CN CN202011173803.9A patent/CN112294655A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110891625A (en) * | 2017-07-10 | 2020-03-17 | 费森尤斯医疗护理德国有限责任公司 | Method and device for calibrating a pump for blood treatment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111016908B (en) | Vehicle driving position determining method and device, storage medium and electronic equipment | |
CN114491089B (en) | Address acquisition method, address acquisition device, electronic equipment and medium | |
CN112115055A (en) | Multi-machine automatic testing method and device and computer equipment | |
US20240179045A1 (en) | Method and Apparatus for Determining Network Fault Root Cause, Device, and Storage Medium | |
CN115249043A (en) | Data analysis method and device, electronic equipment and storage medium | |
CN112294655A (en) | Automatic calibration method, device and equipment for dispensing machine and storage medium | |
US10257032B2 (en) | User guidance data for establishing a desired end-state configuration | |
CN116414608A (en) | Abnormality detection method, abnormality detection device, abnormality detection apparatus, and storage medium | |
CN115825749A (en) | Method and system for predicting health state of battery and electronic equipment | |
CN116010145A (en) | Abnormality detection method, abnormality detection device, abnormality detection equipment and storage medium | |
CN115309730A (en) | Data auditing method and device, electronic equipment and storage medium | |
CN115061921A (en) | Automatic test method, device, electronic equipment and readable storage medium | |
CN113760631B (en) | Page loading time length determining method, device, equipment and storage medium | |
CN115080113A (en) | Item code detection method and device, readable storage medium and electronic equipment | |
CN114741266A (en) | Page white screen duration determining method and device, electronic equipment and storage medium | |
CN113472611A (en) | Method and device for acquiring WiFi signal strength and readable storage medium | |
CN112269723A (en) | Performance analysis method and device of storage equipment and readable storage medium | |
US11295320B2 (en) | Dynamic management of a customer life-cycle value | |
CN117459557B (en) | Fusion method of low-code Internet of things multidimensional data | |
CN109491870A (en) | A kind of detection method and device of the access state of sensor | |
CN118317348A (en) | Vehicle cloud fusion vehicle-mounted terminal upgrading condition evaluation method, device and equipment | |
CN117632294A (en) | Application program configuration method, device, equipment and medium | |
CN115861896A (en) | Target tracking method and device, electronic equipment and storage medium | |
CN116069421A (en) | Page configuration method and device, electronic equipment and storage medium | |
CN117407258A (en) | Initialization process time consumption statistical method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province Applicant after: XAG Co., Ltd. Address before: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province Applicant before: Guangzhou Xaircraft Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210202 |