Medicine box distribution method and system based on power medicine groove, medium and terminal

By arranging brush adjustment side plates on both sides of the power medicine tank and using robotic arms and laser sensors, the problem of unoptimized pill box dumping and space utilization is solved, and the accuracy of pill box distribution and high capacity management are achieved.

CN119898568AActive Publication Date: 2025-04-29SHENZHEN LACHESIS MOBILE MEDICAL TECH CO LTD

Patent Information

Application Number
CN202510043875.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-04-29
Estimated Expiration
2045-01-10

AI Technical Summary

Technical Problem

During the push or movement of the existing powered drug tank, the medicine box is easily dumped or misaligned, resulting in distribution errors and affecting the safety of patients' medications. At the same time, the space utilization of automatic pharmacies is not optimized enough to meet the high-capacity needs of large medical institutions.

Method used

The power medicine tank distribution method is adopted to prevent the medicine box from pouring by laying adjustment side plates with brushes on both sides of the power medicine tank; at the same time, the number of medicine boxes is detected in real time by using a robotic arm and laser sensor to ensure the accuracy and efficiency of medicine boxes distribution.

Benefits of technology

Effectively prevent the drug box from dumping and misaligning during the distribution process, and improve the accuracy and safety of drug box distribution; at the same time, by optimizing space utilization, it can meet the high-capacity needs of large medical institutions and improve the refined level of drug box management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119898568A_ABST
    Figure CN119898568A_ABST
Patent Text Reader

Abstract

The invention discloses a medicine box distribution method and system based on a power medicine groove, a medium and a terminal, and the method comprises the steps: traversing the type of each to-be-distributed medicine box in a received prescription, if any power medicine groove corresponding to the current traversal type receives a medicine distribution instruction signal, detecting the first number of medicine boxes in the medicine groove in real time, if the first number is not smaller than the to-be-distributed number corresponding to the current traversal type, a push plate module of the medicine groove is driven to push forwards, the push plate module is controlled to stop moving until the total number of the medicine boxes falling from the medicine groove is equal to the to-be-distributed number, and distribution of the medicine boxes of the current traversal type is completed; wherein the medicine groove comprises two adjusting side plates arranged on the two sides of the interior of the medicine groove and brushes arranged on the adjusting side plates, and the distance between the two adjusting side plates is adjustable and is not smaller than the width of a medicine box arranged in the medicine groove. By the adoption of the medicine box distributing device, the problem that medicine boxes in the power medicine groove topple over in the medicine box distributing process, and consequently the medicine boxes are difficult to distribute can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of drug management, and in particular to a medicine box dispensing method, system, medium and terminal based on a powered medicine tank. Background Art

[0002] The application of automatic pharmacies in medical institutions is becoming more and more widespread, and its high efficiency, accuracy and labor-saving features have been increasingly recognized. The traditional manual method of dispensing medicines has many limitations, such as slow dispensing speed, easy errors, and high labor intensity, while automatic pharmacies have significantly improved these problems through automation technology. The core of the automatic pharmacy lies in its efficient medicine box storage and distribution system, in which the powered medicine tank plays a vital role. The powered medicine tank is responsible for storing medicines and dispensing medicine boxes as needed, and its performance directly affects the efficiency and accuracy of the entire automatic pharmacy system.

[0003] However, there are some technical challenges and limitations in the powered medicine hoppers currently on the market, mainly including the following aspects: (1) During the process of pushing medicine or moving the medicine hopper, the medicine box is prone to tipping over or misalignment, which may not only damage the medicine box, but also cause dispensing errors and affect the patient's medication safety; (2) The design of some automatic pharmacies is not optimized in terms of space utilization, resulting in limited storage capacity and unable to meet the high-capacity requirements of large medical institutions. Summary of the invention

[0004] The embodiments of the present invention provide a medicine box dispensing method, system, medium and terminal based on a powered medicine trough, which distribute medicine boxes in real time in response to a received prescription, and utilize adjustable side panels with brushes on both sides of the powered medicine trough to prevent the medicine boxes in the powered medicine trough from tipping over and causing difficulty in dispensing the medicine boxes, thereby ensuring the accuracy of medicine box dispensing.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a medicine box dispensing method based on a powered medicine tank, comprising:

[0006] Based on the received prescription, obtaining one or more types of medicine boxes to be distributed and the number of medicine boxes to be distributed corresponding to each type of medicine boxes;

[0007] Traverse each medicine box type in the prescription, and if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, detect in real time the first number of medicine boxes placed in the current power medicine tank; wherein the current power medicine tank includes a fixed side plate arranged on the bottom slide of the current power medicine tank, two adjustable side plates arranged on both sides of the interior of the current power medicine tank, and a brush arranged on the adjustable side plate, and the distance between the two adjustable side plates is adjustable and not less than the width of the medicine box placed in the current power medicine tank;

[0008] If the first number is not less than the number to be distributed corresponding to the currently traversed type, the push plate module of the current power medicine trough is driven to push forward, so that the medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough until the total number of medicine boxes dropped from the current power medicine trough is equal to the number to be distributed corresponding to the currently traversed type, then the push plate module of the current power medicine trough is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0009] In the implementation of the embodiment of the present invention, based on the received prescription, one or more types of medicine boxes to be distributed and the number of medicine boxes to be distributed corresponding to each type of medicine boxes are obtained, and then each type of medicine boxes in the prescription is traversed. If any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine slot is detected in real time. If the first number is not less than the number of medicine boxes to be distributed corresponding to the currently traversed type, the push plate module of the current power medicine slot is driven to push forward, so that each medicine box placed in the current power medicine slot moves in turn along the fixed side plate and toward the medicine outlet of the current power medicine slot, so that the medicine boxes fall in turn along the medicine outlet of the current power medicine slot. , until the total number of medicine boxes dropped from the current powered medicine slot is equal to the number of medicine boxes to be distributed corresponding to the currently traversed type, the push plate module of the current powered medicine slot is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type, thereby ensuring that the total number of medicine boxes dropped from the current powered medicine slot meets the prescription's requirements for medicine boxes of the currently traversed type, avoiding too few or too many medicine boxes from being distributed. Through the above means, medicine boxes can be distributed quickly and accurately according to prescriptions, reducing missed or wrong distribution of medicine boxes, avoiding waste of medicines due to incorrect distribution of medicine boxes, and independently managing each type of medicine box, which helps to track inventory and medicine box usage and improve the level of refinement of medicine box management. In addition, adjusting side plates with brushes are arranged on both sides of the interior of the power medicine trough. The brushes arranged on both sides of the interior of the current power medicine trough can provide resistance to the medicine box placed in the current power medicine trough to avoid the medicine box placed in the current power medicine trough from tipping over, accidentally falling, and other abnormalities when the push plate module is driven or the current power medicine trough is moved, which may cause difficulty in distributing the medicine box, thereby ensuring the accuracy of medicine box distribution, and the distance between the two adjusting side plates is adjustable, and the distance between the two adjusting side plates can be adaptively adjusted according to the width of the medicine box placed in the current power medicine trough, which can further prevent the medicine box placed in the current power medicine trough from tipping over and maximize the use of space.

[0010] As a preferred solution, if any one of the power medicine tanks corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine tank is detected in real time, specifically:

[0011] If any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, the robot arm is controlled to hook the current power medicine tank and move the current power medicine tank from the original position to the target medicine dispensing position; wherein the target medicine dispensing position is located above the circulation line;

[0012] The laser sensor arranged on the mechanical arm is used to detect the first number of medicine boxes currently placed in the power medicine tank in real time.

[0013] According to the preferred solution of the embodiment of the present invention, if any of the power medicine slots corresponding to the currently traversed type receives a medicine dispensing command signal, it will respond to the medicine dispensing command signal in real time, control the mechanical arm, hook the current power medicine slot and move the current power medicine slot from the current original position to the target medicine dispensing position, so that the power medicine slot is above the circulation line, thereby ensuring that the medicine box dropped from the current power medicine slot can directly enter the circulation line, so as to further simplify the distribution and circulation process of the medicine, and only rely on the mechanical arm with hooking ability to realize the movement of the power medicine slot, which can adapt to medicine slots of different sizes and types, and is not limited to medicine slots of a single specification. In addition, by using the laser sensor arranged on the mechanical arm to detect the first number of medicine boxes placed in the current power medicine slot in real time, it can provide the system with high-precision medicine box quantity feedback, so that the system can dynamically respond according to the actual inventory situation of the current power medicine slot to ensure the accuracy of medicine box distribution.

[0014] As a preferred solution, after the first number of medicine boxes placed in the current power medicine tank is detected in real time if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, the method further includes:

[0015] If the first number is less than the number to be distributed corresponding to the currently traversed type, the number to be distributed corresponding to the currently traversed type is iteratively processed, and the push plate module of the current power medicine slot is driven to push forward each time the iterative processing, so that each medicine box placed in the current power medicine slot moves in turn along the fixed side plate and toward the medicine outlet of the current power medicine slot, and the total number of medicine boxes dropped from the current power medicine slot is counted in real time, and the current number to be distributed is subtracted from the total number of medicine boxes dropped from the current power medicine slot, and the subtraction result is used as the new number to be distributed, and when it is detected that there is no medicine box in the current power medicine slot, if the current number to be distributed is not equal to the total number of medicine boxes dropped from the current power medicine slot, the current number to be distributed is not equal to the total number of medicine boxes dropped from the current power medicine slot, and ... When the number of medicines to be distributed is equal to zero, the push plate module of the current power medicine slot is controlled to stop moving, and the robotic arm is controlled to hook the current power medicine slot and drag the current power medicine slot to the original position, and then a medicine dispensing instruction signal is sent to any other power medicine slot corresponding to the currently traversed type, so that the other power medicine slot that receives the medicine dispensing instruction signal is used as the current power medicine slot, and then the robotic arm is controlled to hook the current power medicine slot and move the current power medicine slot to the target medicine dispensing position until the current number of medicines to be distributed is equal to zero, then the iteration is ended, and the push plate module of the current power medicine slot is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0016] A preferred solution for implementing the embodiment of the present invention is that when any powered medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, if the first number of medicine boxes placed in the current powered medicine slot is less than the number to be distributed corresponding to the currently traversed type, that is, the number of medicine boxes placed in the current powered medicine slot does not meet the distribution requirements of the currently traversed type, then the number to be distributed corresponding to the currently traversed type is iteratively processed, and each iterative processing is called to call a powered medicine slot corresponding to the currently traversed type, and the medicine boxes placed in the current powered medicine slot are controlled to fall from the current powered medicine slot. At the same time, the total number of medicine boxes dropped from the current powered medicine slot is counted in real time, and the number to be distributed is updated in real time based on the real-time statistical results. If the number of medicine boxes in the current powered medicine slot is insufficient, the system will automatically call another powered medicine slot corresponding to the currently traversed type to distribute the medicine boxes without waiting for the current powered medicine slot to complete the replenishment of the medicine, so as to avoid interruption of the medicine box distribution task, and ensure the continuity and efficiency of the medicine box distribution process corresponding to the prescription, until the current number to be distributed is equal to zero, then the iteration is ended, and the push plate of the current powered medicine slot is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0017] As a preferred solution, when it is detected that there is no medicine box in the current power medicine tank, if the current number to be dispensed is not equal to zero, the push plate module of the current power medicine tank is controlled to stop moving, specifically:

[0018] When the push plate module of the current power medicine tank triggers the front limit switch, if the current number of drugs to be distributed is not equal to zero, the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving; wherein the front limit switch is set at the drug outlet of the current power medicine tank;

[0019] Alternatively, a laser sensor arranged on the robotic arm is used to detect in real time the first number of medicine boxes placed in the current power medicine slot. When it is detected that the first number of medicine boxes placed in the current power medicine slot is equal to zero, if the current number to be distributed is not equal to zero, the push plate module of the current power medicine slot is controlled to stop moving.

[0020] A preferred scheme for implementing the embodiment of the present invention utilizes a front limit switch disposed at the medicine outlet of the current powered medicine trough or a laser sensor arranged on the robotic arm to detect whether there are any medicine boxes in the current powered medicine trough, and when it is detected that there are no medicine boxes in the current powered medicine trough, if the current number of medicine boxes to be distributed is not equal to zero, the push plate module of the current powered medicine trough is controlled to stop moving, which can prevent the push plate module of the current powered medicine trough from moving excessively, resulting in excessive distribution of medicine boxes, or the push plate module from staying in an abnormal position, thereby preventing the medicine box distribution process from being affected.

[0021] As a preferred solution, before the method of detecting the first number of medicine boxes placed in the current power medicine tank in real time if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, it also includes:

[0022] Real-time detection of the second number of medicine boxes placed in each power medicine slot corresponding to the currently traversed type, then adding the second number of medicine boxes placed in all power medicine slots corresponding to the currently traversed type, taking the added result as the third number, and determining whether the third number is less than the number to be distributed corresponding to the currently traversed type;

[0023] If so, all the power medicine slots corresponding to the currently traversed type are replenished;

[0024] If not, a medicine dispensing command signal is sent to any power medicine tank corresponding to the currently traversed type.

[0025] A preferred solution for implementing the embodiment of the present invention includes, before the first number of medicine boxes placed in the current power medicine slot is detected in real time if any one of the power medicine slots corresponding to the currently traversed type receives a medicine dispensing instruction signal, it also includes real-time detection of the second number of medicine boxes placed in each power medicine slot corresponding to the currently traversed type, and then adding the second number of medicine boxes placed in all the power medicine slots corresponding to the currently traversed type, taking the added result as a third number, and judging whether the third number is less than the number to be distributed corresponding to the currently traversed type. If the third number is less than the number to be distributed corresponding to the currently traversed type, it indicates that the total number of medicine boxes placed in all the power medicine slots corresponding to the currently traversed type is less than the number to be distributed. If the quantity cannot meet the distribution demand corresponding to the currently traversed type, all the powered medicine slots corresponding to the currently traversed type need to be replenished so that the inventory quantity corresponding to the currently traversed type can meet the distribution demand, avoiding long interruptions due to insufficient inventory during the medicine box distribution process, thereby improving the efficiency of medicine box distribution. If the third number is not less than the number to be distributed corresponding to the currently traversed type, it means that the total number of medicine boxes placed in all the powered medicine slots corresponding to the currently traversed type meets the distribution demand corresponding to the currently traversed type. At this time, a medicine distribution command signal can be sent to any powered medicine slot corresponding to the currently traversed type to carry out the medicine box distribution process.

[0026] As a preferred solution, the drug replenishment process is performed on all the power drug tanks corresponding to the currently traversed type, specifically:

[0027] Send a medicine replenishment command signal to all power medicine tanks corresponding to the currently traversed type;

[0028] When any power medicine tank corresponding to the currently traversed type receives a medicine replenishment instruction signal, the motor of the current power medicine tank is controlled to rotate, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push backward, so that the push plate module of the current power medicine tank moves along the fixed side plate and in the direction away from the medicine outlet of the current power medicine tank until the push plate module of the current power medicine tank triggers the rear limit switch, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving, and a medicine replenishment reminder signal is issued; wherein, the rear limit switch is arranged at one end of the current power medicine tank, and the medicine outlet of the current power medicine tank is arranged at the other end of the current power medicine tank;

[0029] After receiving a replenishment signal from any power medicine tank, if a replenishment signal from the current power medicine tank is not received within a preset time, the motor of the current power medicine tank is controlled to rotate, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push forward, so that the medicine boxes placed in the current power medicine tank move in sequence along the fixed side plate and toward the medicine outlet of the current power medicine tank until the in-place sensor senses the medicine box, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving, and the medicine replenishment process for the current power medicine tank is completed; wherein, the distance between the in-place sensor and the medicine outlet of the current power medicine tank is greater than zero.

[0030] In a preferred solution of implementing the embodiment of the present invention, if it is detected in real time that the total number of medicine boxes placed in all the power medicine slots corresponding to the currently traversed type is less than the number to be distributed corresponding to the currently traversed type, that is, the total number of medicine boxes placed in all the power medicine slots corresponding to the currently traversed type cannot meet the distribution demand corresponding to the currently traversed type, then a medicine replenishment instruction signal is sent to all the power medicine slots corresponding to the currently traversed type, so that the power medicine slots that receive the medicine replenishment instruction signal enter the medicine replenishment process, and when the power medicine slot enters the medicine replenishment process, the motor of the current power medicine slot is controlled to rotate, and the rotation of the motor of the current power medicine slot is used to drive The push plate module of the current power medicine trough is pushed backwards so that the push plate module of the current power medicine trough moves along the fixed side plate and in the direction away from the medicine outlet of the current power medicine trough until the push plate of the current power medicine trough triggers the rear limit switch, and the rear limit switch and the medicine outlet are respectively arranged at the two ends of the current power medicine trough, then the motor of the current power medicine trough is controlled to stop rotating so that the push plate module of the current power medicine trough stops moving, providing sufficient medicine placement space for the current power medicine trough's medicine replenishment process, and sending out a medicine replenishment reminder signal to remind the system to automatically replenish medicine or remind relevant managers to manually replenish medicine. In addition, after receiving a replenishment signal from any power medicine tank, if a replenishment signal from the current power medicine tank is not received within a preset time, it means that the current power medicine tank has been replenished and the replenishment operation has not been performed on the current power medicine tank for a long time, then the motor of the current power medicine tank is controlled to rotate, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push forward, so that the various medicine boxes placed in the current power medicine tank move in turn along the fixed side plate and toward the medicine outlet of the current power medicine tank until the in-place sensor senses the medicine box, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving. By using the in-place sensor, it is ensured that the medicine box can be accurately in place, avoiding the accumulation or misalignment of the medicine boxes in the medicine tank, and facilitating the subsequent medicine box distribution operation.

[0031] As a preferred solution, if the first number is not less than the number to be distributed corresponding to the currently traversed type, the push plate module of the current power medicine slot is driven to push forward, so that each medicine box placed in the current power medicine slot moves along the fixed side plate in sequence and toward the medicine outlet of the current power medicine slot, until the total number of medicine boxes dropped from the current power medicine slot is equal to the number to be distributed corresponding to the currently traversed type, then the push plate module of the current power medicine slot is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type, specifically:

[0032] If the first number is not less than the number to be distributed corresponding to the currently traversed type, the motor of the current power medicine slot is controlled to rotate, and the push plate module of the current power medicine slot is driven to push forward by the rotation of the motor of the current power medicine slot, so that each medicine box placed in the current power medicine slot moves in sequence along the fixed side plate and toward the medicine outlet of the current power medicine slot;

[0033] In the process of driving the push plate module of the current power medicine trough to push forward, the counting sensor arranged at the medicine outlet of the current power medicine trough is used to count the total number of medicine boxes dropped from the current power medicine trough in real time, until the total number of medicine boxes dropped from the current power medicine trough is equal to the number of medicine boxes to be distributed corresponding to the currently traversed type, the motor of the current power medicine trough is controlled to stop rotating, so that the push plate module of the current power medicine trough stops moving, and the distribution of medicine boxes of the currently traversed type is completed.

[0034] A preferred scheme for implementing the embodiments of the present invention is that when any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, if it is detected that the first number of medicine boxes placed in the current power medicine slot is not less than the number to be distributed corresponding to the currently traversed type, the motor of the current power medicine slot is controlled to rotate, and the rotation of the motor of the current power medicine slot is used to drive the push plate module of the current power medicine slot to push forward, so that each medicine box placed in the current power medicine slot moves along the fixed side plate and toward the medicine outlet of the current power medicine slot in turn, and in the process of driving the push plate module of the current power medicine slot to push forward, a counting sensor arranged at the medicine outlet of the current power medicine slot is used to count the total number of medicine boxes dropped from the current power medicine slot in real time, until the total number of medicine boxes dropped from the current power medicine slot is equal to the number to be distributed corresponding to the currently traversed type, then the motor of the current power medicine slot is controlled to stop rotating, so that the push plate module of the current power medicine slot stops moving, to ensure that the number of medicine boxes distributed corresponding to the currently traversed type is completely matched with the number to be distributed, to avoid the problem of insufficient or excessive distribution.

[0035] In order to solve the same technical problem, an embodiment of the present invention further provides a medicine box dispensing system based on a powered medicine tank, comprising:

[0036] A data acquisition module, for acquiring one or more types of medicine boxes to be distributed and the number of medicine boxes to be distributed corresponding to each type of medicine boxes based on the received prescription;

[0037] A traversal detection module is used to traverse each medicine box type in the prescription, and if any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine slot is detected in real time; wherein the current power medicine slot includes a fixed side plate arranged on the bottom slide of the current power medicine slot, two adjustable side plates arranged on the inner side of the current power medicine slot, and a brush arranged on the adjustable side plate, and the distance between the two adjustable side plates is adjustable and not less than the width of the medicine box placed in the current power medicine slot;

[0038] The medicine box distribution module is used to drive the push plate module of the current power medicine trough to push forward if the first number is not less than the number to be distributed corresponding to the currently traversed type, so that the medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough until the total number of medicine boxes dropped from the current power medicine trough is equal to the number to be distributed corresponding to the currently traversed type, and then control the push plate module of the current power medicine trough to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0039] In order to solve the same technical problem, the present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the method for dispensing medicine boxes based on a powered medicine tank.

[0040] In order to solve the same technical problem, the present invention also provides a terminal, including a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement the medicine box dispensing method based on a powered medicine tank. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 : A schematic diagram of a flow chart of a medicine box dispensing method based on a powered medicine tank provided in Embodiment 1 of the present invention;

[0042] Figure 2 : A schematic diagram of the structure of a power medicine tank provided in Example 1 of the present invention;

[0043] Figure 3 : A structural schematic diagram of a medicine box dispensing system based on a powered medicine tank provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] Embodiment one:

[0046] Please refer to Figure 1 , is a medicine box dispensing method based on a powered medicine tank provided by an embodiment of the present invention, the method comprises steps S1 to S3, each step is specifically as follows:

[0047] Step S1, based on the received prescription, obtain one or more types of medicine boxes to be distributed, and the number of medicine boxes to be distributed corresponding to each type of medicine boxes.

[0048] In this embodiment, the system responds to the prescription drug dispensing signal received in real time, and obtains the corresponding prescription based on the prescription drug dispensing signal. The prescription includes but is not limited to the following information: one or more types of medicine boxes to be dispensed, and the number of medicine boxes to be dispensed corresponding to each type of medicine box.

[0049] Step S2, traversing each medicine box type in the prescription, if any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, then detecting in real time the first number of medicine boxes placed in the current power medicine slot.

[0050] Please refer to Figure 2 (a), the current power medicine trough includes a fixed side plate 3-3 arranged on the bottom slide of the current power medicine trough, two adjustable side plates 3-1 arranged on both sides of the interior of the current power medicine trough, and a brush 3-2 arranged on the adjustable side plate 3-1, and the distance between the two adjustable side plates 3-1 is adjustable and not less than the width of each medicine box placed in the current power medicine trough.

[0051] In this embodiment, please refer to Figure 2(a), the power medicine trough includes: a motor module 1, a push plate module 2, a slide module 3 and a medicine detection bracket module 4. Among them, the motor module 1 is used to provide power; the push plate module 2 is used to push the medicine box to move; and the slide module 3 plays the role of connecting, guiding, and providing resistance to prevent tipping; the medicine detection bracket module 4 is used for counting. Among them, the fixed side plate 3-3 is fixed on the bottom slide of the power medicine trough, the brush 3-2 can be fixed on the adjustment side plate 3-1, and the adjustment side plate 3-1 has a U-shaped hole, so that the distance between the two adjustment side plates 3-1 installed on the fixed side plate 3-3 can be adjusted, and the distance between the two adjustment side plates 3-1 of the slide can be adjusted according to the width of the medicine box, so that the brush 3-2 can contact the medicine box to provide damping to prevent the medicine box from tipping over during the medicine pushing process, and the width of the power medicine trough can also be reduced to maximize the use of space.

[0052] Please note that, please refer to Figure 2 (b), the motor module 1 includes: motor 1-1, driving pulley 1-2, motor support 1-3, cover 1-4, power supply spring 1-5 and rear limit switch 1-6. Among them, the power supply spring 1-5 is used to draw power from the external conductive strip. This plug-in structure can maintain the stability of power supply; the motor 1-1 is fixed to the motor support 1-3 with screws, the motor shaft is equipped with a driving pulley 1-2, and the cover 1-4 is connected to the motor support 1-3 with a snap-on connection. Please refer to Figure 2 (c), the push plate module 2 includes: a push plate 2-1, a push plate adjustment block 2-2, a push plate base 2-3 and a spring 2-4, and the push plate 2-1 is fixed on the push plate base 2-3. Among them, the push plate adjustment block 2-2 is designed with a blind hole to form a rotating hinge connection with the axis designed for the push plate base 2-3, so that the push plate adjustment block 2-2 can rotate around the rotation axis, and the push plate adjustment block 2-2 has a toothed surface for matching with the synchronous belt. The synchronous belt is placed on the toothed surface of the push plate adjustment block 2-2 and the inner surface of the push plate fixing plate. There is a spring 2-4 between the push plate adjustment block 2-2 and the push plate fixing seat 2-3. The elastic force of the spring 2-4 makes the toothed surface of the push plate adjustment block 2-2 press the synchronous belt against the inner side surface of the push plate fixing seat 2-3, and when the synchronous belt moves, it drives the push plate 2-1 to move forward or reverse. In addition, since the push plate adjustment block 2-2 can rotate, when the push plate adjustment block 2-2 is rotated, the toothed surface of the push plate adjustment block 2-2 is out of contact with the synchronous belt, and the push plate 2-1 can be manually pushed to move. Therefore, the push plate module 2 has the function of flashlight switching. Please refer to Figure 2(d) and (e), the drug detection bracket module 4 includes: a drug detection bracket 4-1, an in-position sensor 4-2, a counting sensor 4-3, a driven wheel fixing seat 4-4, a driven wheel 4-5, a drug detection bracket cover 4-6 and a front limit switch 4-7. Among them, the driven wheel 4-5 is hinged to the inner hole of the driven wheel fixing seat 4-4 through a rotating shaft, and the position of the driven wheel fixing seat 4-4 is adjusted by tightening with screws. The in-position sensor 4-2 is used to stop the rotation of the motor, the counting sensor 4-3 is used to record the number of medicine boxes dropped from the medicine slot, and the front limit switch 4-7 is used to stop the movement of the motor when there is no medicine box in the medicine slot.

[0053] In this embodiment, each medicine box type in the prescription is traversed, all the power medicine tanks corresponding to the currently traversed type are selected from the pharmacy, and all the power medicine tanks corresponding to the currently traversed type are controlled to enter the working state. Among them, each power medicine tank corresponding to the currently traversed type is used to place the medicine box corresponding to the currently traversed type. After all the power medicine tanks corresponding to the currently traversed type enter the working state, steps S01 to S03 are executed to first determine whether all the power medicine tanks corresponding to the currently traversed type are "insufficient in stock". If the stock is insufficient, the power medicine tanks need to be replenished.

[0054] As a preferred solution, in the process of traversing each medicine box type in the prescription, before executing the step of "if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, then real-time detecting the first number of medicine boxes placed in the current power medicine tank", it also includes steps S01 to S03, and each step is specifically as follows:

[0055] Step S01, real-time detection of the second number of medicine boxes placed in each power medicine slot corresponding to the currently traversed type, then adding the second number of medicine boxes placed in all power medicine slots corresponding to the currently traversed type, taking the added result as the third number, and judging whether the third number is less than the number to be distributed corresponding to the currently traversed type; if so, executing step S02; if not, executing step S03.

[0056] Step S02, replenishing medicine for all power medicine tanks corresponding to the currently traversed type.

[0057] As a preferred solution, step S02 includes step S021 to step S023, and each step is specifically as follows:

[0058] Step S021, sending a medicine replenishment instruction signal to all power medicine tanks corresponding to the currently traversed type.

[0059] Step S022, when any power medicine tank corresponding to the currently traversed type receives a replenishment instruction signal, the motor of the current power medicine tank is controlled to rotate, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push backward, so that the push plate module of the current power medicine tank moves along the fixed side plate and in the direction away from the medicine outlet of the current power medicine tank until the push plate module of the current power medicine tank triggers the rear limit switch, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving, and a replenishment reminder signal is issued.

[0060] Among them, the rear limit switch is arranged at one end of the current power medicine tank, and the medicine outlet of the current power medicine tank is arranged at the other end of the current power medicine tank.

[0061] It should be noted that after sending a replenishment instruction signal to all power medicine tanks corresponding to the currently traversed type, the power medicine tank corresponding to the currently traversed type may not necessarily receive the replenishment instruction signal. If the power medicine tank corresponding to the currently traversed type does not receive the replenishment instruction signal within the set time, an insufficient inventory prompt signal is sent to the system through the current power medicine tank, so that the system returns to execute step S01.

[0062] Step S023, after receiving the medicine replenishment signal of any power medicine tank, if the medicine replenishment signal of the current power medicine tank is not received within the preset time, the motor module of the current power medicine tank is energized to control the rotation of the motor of the current power medicine tank, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push forward, so that the various medicine boxes placed in the current power medicine tank move in turn along the fixed side plate and toward the medicine outlet of the current power medicine tank until the in-place sensor senses the presence of the medicine box, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving, and the medicine replenishment processing of the current power medicine tank is completed.

[0063] Wherein, the distance between the arrival sensor and the current medicine outlet of the power medicine tank is greater than zero.

[0064] As an example, each medicine box type in the prescription is traversed, and the second number of medicine boxes placed in each powered medicine slot corresponding to the currently traversed type is first detected in real time, and then the second number of medicine boxes placed in all powered medicine slots corresponding to the currently traversed type is added. The added result is 2 boxes, that is, the third number is 2 boxes, and the number to be distributed corresponding to the currently traversed type is 3 boxes. It is obvious that the third number is smaller than the number to be distributed corresponding to the currently traversed type. Therefore, a replenishment instruction signal is sent to all powered medicine slots corresponding to the currently traversed type - powered medicine slot A, powered medicine slot B and powered medicine slot C. At this time, take the power medicine tank B as an example to explain that when the power medicine tank B receives the medicine replenishment command signal, the motor of the power medicine tank B is controlled to rotate, and the push plate module of the power medicine tank B is driven to push backward by the rotation of the motor of the power medicine tank B, so that the push plate module of the power medicine tank B moves along the fixed side plate and in the direction away from the medicine outlet of the power medicine tank B, until the push plate module of the power medicine tank B triggers the rear limit switch, then the motor of the power medicine tank B is controlled to stop rotating, so that the push plate module of the power medicine tank B stops moving, and a medicine replenishment reminder signal is issued. Based on the medicine replenishment reminder signal of the power medicine tank B, the system automatically replenishes the power medicine tank B, or the relevant management personnel manually replenish the power medicine tank B to receive the medicine replenishment signal of the power medicine tank B. After receiving the replenishment signal of the power medicine slot B, if no replenishment signal of the power medicine slot B is received within a period of time, that is, the system or relevant management personnel have not performed any replenishment operation on the power medicine slot B for a period of time after replenishing the power medicine slot B once or more times, the motor module of the power medicine slot B is energized to utilize the rotation of the motor of the power medicine slot B to drive the push plate module of the power medicine slot B to push forward, so that each medicine box placed in the power medicine slot B moves in turn along the fixed side plate and toward the medicine outlet of the power medicine slot B until the in-place sensor close to the medicine outlet can sense the presence of the medicine box, indicating that the medicine box placed in the power medicine slot B is as close to the medicine outlet of the power medicine slot B as possible, which is convenient for the subsequent distribution of the medicine boxes.

[0065] Step S03, sending a medicine dispensing instruction signal to any power medicine tank corresponding to the currently traversed type.

[0066] As a preferred solution, step S2 includes step S21 to step S22, and each step is specifically as follows:

[0067] Step S21, if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, the robot arm is controlled to hook the current power medicine tank and move the current power medicine tank from the original position to the target medicine dispensing position.

[0068] Among them, the target drug delivery position is located above the circulation line.

[0069] It should be noted that moving the current power medicine trough from its original position to above the circulation line can allow the medicine boxes dropped from the current power medicine trough to fall to the circulation line and then move along the circulation line to the medicine dispensing port of the pharmacy.

[0070] Step S22: Using a laser sensor disposed on the robot arm, the first number of medicine boxes currently placed in the power medicine tank is detected in real time.

[0071] Step S3, if the first number is not less than the number to be distributed corresponding to the currently traversed type, the push plate module of the current power medicine trough is driven to push forward, so that the medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough, until the total number of medicine boxes dropped from the current power medicine trough is equal to the number to be distributed corresponding to the currently traversed type, then the push plate module of the current power medicine trough is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0072] As a preferred solution, step S3 includes step S31 to step S32, and each step is specifically as follows:

[0073] Step S31, if the first number is not less than the number to be distributed corresponding to the currently traversed type, the motor of the current power medicine trough is controlled to rotate, and the rotation of the motor of the current power medicine trough is used to drive the push plate module of the current power medicine trough to push forward, so that the various medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough.

[0074] Step S32, in the process of driving the push plate module of the current power medicine trough to push forward, the counting sensor arranged at the medicine outlet of the current power medicine trough is used to count the total number of medicine boxes dropped from the current power medicine trough in real time, until the total number of medicine boxes dropped from the current power medicine trough is equal to the number of medicine boxes to be distributed corresponding to the currently traversed type, then the motor of the current power medicine trough is controlled to stop rotating, so that the push plate module of the current power medicine trough stops moving, and the distribution of medicine boxes of the currently traversed type is completed.

[0075] It should be noted that, in the process of driving the push plate module of the current power medicine trough to push forward, when a medicine box falls from the current power medicine trough and passes through the sensing range of the counting sensor, the counting sensor counts "1 box falls to the ground" and counts the total number of medicine boxes that have fallen from the current power medicine trough up to the current point.

[0076] As a preferred solution, a medicine box dispensing method based on a powered medicine tank provided in an embodiment of the present invention further includes step S4 after step S2, which is specifically as follows:

[0077] Step S4, if the first number is less than the number of medicines to be distributed corresponding to the currently traversed type, the number of medicines to be distributed corresponding to the currently traversed type is iteratively processed, and the push plate module of the current power medicine slot is driven to push forward each time, so that each medicine box placed in the current power medicine slot moves in turn along the fixed side plate and toward the medicine outlet of the current power medicine slot, and the total number of medicine boxes dropped from the current power medicine slot is counted in real time, and the current number of medicines to be distributed is subtracted from the total number of medicine boxes dropped from the current power medicine slot, and the subtraction result is used as the new number of medicines to be distributed, and if it is detected that there is no medicine box in the current power medicine slot, if the current number of medicines to be distributed is If the number of medicines to be distributed is not equal to zero, the push plate module of the current power medicine slot is controlled to stop moving, and the robotic arm is controlled to hook the current power medicine slot and drag the current power medicine slot to the original position, and then a medicine distribution command signal is sent to any other power medicine slot corresponding to the currently traversed type, so that the other power medicine slot that receives the medicine distribution command signal is used as the current power medicine slot, and then the robotic arm is controlled to hook the current power medicine slot and move the current power medicine slot to the target medicine distribution position until the current number to be distributed is equal to zero, then the iteration is ended, and the push plate module of the current power medicine slot is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0078] As a preferred solution, the process of "controlling the push plate module of the current power medicine slot to stop moving when detecting that there is no medicine box in the current power medicine slot if the current number to be distributed is not equal to zero" mentioned in step S4 may include step S41, or may also include step S42, and each step is specifically as follows:

[0079] Step S41, when the push plate module of the current power medicine trough triggers the front limit switch, if the current number of medicines to be distributed is not equal to zero, indicating that there is no medicine box in the current power medicine trough and the currently distributed medicine box does not meet the medicine box distribution requirements corresponding to the previously traversed type, the motor of the current power medicine trough is controlled to stop rotating, so that the push plate module of the current power medicine trough stops moving.

[0080] Among them, the front limit switch is arranged at the medicine outlet of the current power medicine tank.

[0081] Step S42, using the laser sensor arranged on the robotic arm, real-time detection of the first number of medicine boxes placed in the current power medicine slot. When it is detected that the first number of medicine boxes placed in the current power medicine slot is equal to zero, if the current number to be distributed is not equal to zero, it also indicates that there is no medicine box in the current power medicine slot and the currently distributed medicine box does not meet the medicine box distribution requirements corresponding to the previously traversed type, then the push plate module of the current power medicine slot is controlled to stop moving.

[0082] Please refer to Figure 3, is a schematic diagram of the structure of a medicine box dispensing system based on a powered medicine tank provided by an embodiment of the present invention, the system includes a data acquisition module M1, a traversal detection module M2 and a medicine box dispensing module M3, and the specific details of each module are as follows:

[0083] The data acquisition module M1 is used to acquire one or more types of medicine boxes to be distributed and the number of medicine boxes to be distributed corresponding to each type of medicine boxes based on the received prescription;

[0084] The traversal detection module M2 is used to traverse each medicine box type in the prescription, and if any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine slot is detected in real time; wherein the current power medicine slot includes a fixed side plate arranged on the bottom slide of the current power medicine slot, two adjustable side plates arranged on the inner side of the current power medicine slot, and a brush arranged on the adjustable side plate, and the distance between the two adjustable side plates is adjustable and not less than the width of the medicine box placed in the current power medicine slot;

[0085] The medicine box distribution module M3 is used to drive the push plate module of the current power medicine trough to push forward if the first number is not less than the number to be distributed corresponding to the currently traversed type, so that the medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough until the total number of medicine boxes dropped from the current power medicine trough is equal to the number to be distributed corresponding to the currently traversed type, and then control the push plate module of the current power medicine trough to stop moving to complete the distribution of medicine boxes of the currently traversed type.

[0086] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0087] An embodiment of the present invention also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a medicine box dispensing method based on a powered medicine slot as described in Example 1.

[0088] An embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement a medicine box dispensing method based on a powered medicine tank as described in Embodiment 1.

[0089] Preferably, the computer program can be divided into one or more modules / units (such as computer program, computer program), one or more modules / units are stored in the memory and executed by the processor to complete the present invention. One or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal.

[0090] The processor can be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor. The processor is the control center of the terminal, and various parts of the terminal are connected using various interfaces and lines.

[0091] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (Smart Med iaCard, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.

[0092] It should be noted that the above-mentioned terminal may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the above-mentioned terminal is merely an example and does not constitute a limitation on the terminal. It may include more or fewer components, or a combination of certain components, or different components.

[0093] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0094] The present invention provides a medicine box dispensing method, system, medium and terminal based on a power medicine slot. Based on the received prescription, one or more medicine box types to be dispensed and the number of medicine boxes to be dispensed corresponding to each medicine box type are obtained, and then each medicine box type in the prescription is traversed. If any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine slot is detected in real time. If the first number is not less than the number of medicine boxes to be dispensed corresponding to the currently traversed type, the push plate of the current power medicine slot is driven to push forward, so that each medicine box placed in the current power medicine slot moves in turn along the fixed side plate and toward the medicine outlet of the current power medicine slot, thereby following the current power medicine slot. The medicine outlets of the power medicine trough drop medicines in sequence until the total number of medicine boxes dropped from the current power medicine trough is equal to the number of medicine boxes to be distributed corresponding to the currently traversed type, then the push plate of the current power medicine trough is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type, thereby ensuring that the total number of medicine boxes dropped from the current power medicine trough meets the prescription's requirements for medicine boxes of the currently traversed type, avoiding too few or too many medicine boxes from being distributed. Through the above means, medicine boxes can be distributed quickly and accurately according to prescriptions, reducing missed or wrong distribution of medicine boxes, avoiding waste of medicines due to incorrect distribution of medicine boxes, and independently managing each type of medicine box, which helps to track inventory and medicine box usage and improve the level of refinement of medicine box management. In addition, adjusting side plates with brushes are arranged on both sides of the interior of the power medicine trough. The brushes arranged on both sides of the interior of the current power medicine trough can provide resistance to the medicine box placed in the current power medicine trough to avoid the medicine box placed in the current power medicine trough from tipping over, accidentally falling, and other abnormalities when the push plate is driven or the current power medicine trough is moved, which may cause difficulty in distributing the medicine box, thereby ensuring the accuracy of medicine box distribution, and the distance between the two adjusting side plates is adjustable, and the distance between the two adjusting side plates can be adaptively adjusted according to the width of the medicine box placed in the current power medicine trough, which can further prevent the medicine box placed in the current power medicine trough from tipping over and maximize the use of space.

[0095] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A medicine box dispensing method based on a powered medicine tank, characterized in that: include: Based on the received prescription, obtaining one or more types of medicine boxes to be distributed and the number of medicine boxes to be distributed corresponding to each type of medicine boxes; Traverse each medicine box type in the prescription, and if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, detect in real time the first number of medicine boxes placed in the current power medicine tank; wherein the current power medicine tank includes a fixed side plate arranged on the bottom slide of the current power medicine tank, two adjustable side plates arranged on both sides of the interior of the current power medicine tank, and a brush arranged on the adjustable side plate, and the distance between the two adjustable side plates is adjustable and not less than the width of the medicine box placed in the current power medicine tank; If the first number is not less than the number to be distributed corresponding to the currently traversed type, the push plate module of the current power medicine trough is driven to push forward, so that the medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough until the total number of medicine boxes dropped from the current power medicine trough is equal to the number to be distributed corresponding to the currently traversed type, then the push plate module of the current power medicine trough is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

2. A medicine box dispensing method based on a powered medicine tank as claimed in claim 1, characterized in that: If any one of the power medicine tanks corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine tank is detected in real time, specifically: If any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, the robot arm is controlled to hook the current power medicine tank and move the current power medicine tank from the original position to the target medicine dispensing position; wherein the target medicine dispensing position is located above the circulation line; The laser sensor arranged on the mechanical arm is used to detect the first number of medicine boxes currently placed in the power medicine tank in real time.

3. A medicine box dispensing method based on a powered medicine tank as claimed in claim 2, characterized in that: After the first number of medicine boxes placed in the current power medicine tank is detected in real time if any power medicine tank corresponding to the currently traversed type receives the medicine dispensing instruction signal, the method further includes: If the first number is less than the number to be distributed corresponding to the currently traversed type, the number to be distributed corresponding to the currently traversed type is iteratively processed, and the push plate module of the current power medicine slot is driven to push forward each time the iterative processing, so that each medicine box placed in the current power medicine slot moves in turn along the fixed side plate and toward the medicine outlet of the current power medicine slot, and the total number of medicine boxes dropped from the current power medicine slot is counted in real time, and the current number to be distributed is subtracted from the total number of medicine boxes dropped from the current power medicine slot, and the subtraction result is used as the new number to be distributed, and when it is detected that there is no medicine box in the current power medicine slot, if the current number to be distributed is not equal to the total number of medicine boxes dropped from the current power medicine slot, the current number to be distributed is not equal to the total number of medicine boxes dropped from the current power medicine slot, and ... When the number of medicines to be distributed is equal to zero, the push plate module of the current power medicine slot is controlled to stop moving, and the robotic arm is controlled to hook the current power medicine slot and drag the current power medicine slot to the original position, and then a medicine dispensing instruction signal is sent to any other power medicine slot corresponding to the currently traversed type, so that the other power medicine slot that receives the medicine dispensing instruction signal is used as the current power medicine slot, and then the robotic arm is controlled to hook the current power medicine slot and move the current power medicine slot to the target medicine dispensing position until the current number of medicines to be distributed is equal to zero, then the iteration is ended, and the push plate module of the current power medicine slot is controlled to stop moving to complete the distribution of medicine boxes of the currently traversed type.

4. A medicine box dispensing method based on a powered medicine tank as claimed in claim 3, characterized in that: When it is detected that there is no medicine box in the current power medicine tank, if the current number of medicine boxes to be dispensed is not equal to zero, the push plate module of the current power medicine tank is controlled to stop moving, specifically: When the push plate module of the current power medicine tank triggers the front limit switch, if the current number of drugs to be distributed is not equal to zero, the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving; wherein the front limit switch is set at the drug outlet of the current power medicine tank; Alternatively, a laser sensor arranged on the robotic arm is used to detect in real time the first number of medicine boxes placed in the current power medicine slot. When it is detected that the first number of medicine boxes placed in the current power medicine slot is equal to zero, if the current number to be distributed is not equal to zero, the push plate module of the current power medicine slot is controlled to stop moving.

5. A medicine box dispensing method based on a powered medicine tank as claimed in claim 1, characterized in that: Before the step of detecting the first number of medicine boxes placed in the current power medicine tank in real time if any power medicine tank corresponding to the currently traversed type receives a medicine dispensing instruction signal, the method further includes: Real-time detection of the second number of medicine boxes placed in each power medicine slot corresponding to the currently traversed type, then adding the second number of medicine boxes placed in all power medicine slots corresponding to the currently traversed type, taking the added result as the third number, and determining whether the third number is less than the number to be distributed corresponding to the currently traversed type; If so, all the power medicine slots corresponding to the currently traversed type are replenished; If not, a medicine dispensing command signal is sent to any power medicine tank corresponding to the currently traversed type.

6. A medicine box dispensing method based on a powered medicine tank as claimed in claim 5, characterized in that: The process of replenishing medicine for all power medicine slots corresponding to the currently traversed type is specifically as follows: Send a medicine replenishment command signal to all power medicine tanks corresponding to the currently traversed type; When any power medicine tank corresponding to the currently traversed type receives a medicine replenishment instruction signal, the motor of the current power medicine tank is controlled to rotate, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push backward, so that the push plate module of the current power medicine tank moves along the fixed side plate and in the direction away from the medicine outlet of the current power medicine tank until the push plate module of the current power medicine tank triggers the rear limit switch, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving, and a medicine replenishment reminder signal is issued; wherein, the rear limit switch is arranged at one end of the current power medicine tank, and the medicine outlet of the current power medicine tank is arranged at the other end of the current power medicine tank; After receiving a replenishment signal from any power medicine tank, if a replenishment signal from the current power medicine tank is not received within a preset time, the motor of the current power medicine tank is controlled to rotate, and the rotation of the motor of the current power medicine tank is used to drive the push plate module of the current power medicine tank to push forward, so that the medicine boxes placed in the current power medicine tank move in sequence along the fixed side plate and toward the medicine outlet of the current power medicine tank until the in-place sensor senses the medicine box, then the motor of the current power medicine tank is controlled to stop rotating, so that the push plate module of the current power medicine tank stops moving, and the medicine replenishment process for the current power medicine tank is completed; wherein, the distance between the in-place sensor and the medicine outlet of the current power medicine tank is greater than zero.

7. A medicine box dispensing method based on a powered medicine tank as claimed in claim 1, characterized in that: If the first number is not less than the number of to-be-distributed medicines corresponding to the currently traversed type, the push plate module of the current power medicine slot is driven to push forward, so that each medicine box placed in the current power medicine slot moves in sequence along the fixed side plate and toward the medicine outlet of the current power medicine slot, until the total number of medicine boxes dropped from the current power medicine slot is equal to the number of to-be-distributed medicines corresponding to the currently traversed type, then the push plate module of the current power medicine slot is controlled to stop moving, so as to complete the distribution of medicine boxes of the currently traversed type, specifically: If the first number is not less than the number to be distributed corresponding to the currently traversed type, the motor of the current power medicine slot is controlled to rotate, and the push plate module of the current power medicine slot is driven to push forward by the rotation of the motor of the current power medicine slot, so that each medicine box placed in the current power medicine slot moves in sequence along the fixed side plate and toward the medicine outlet of the current power medicine slot; In the process of driving the push plate module of the current power medicine trough to push forward, the counting sensor arranged at the medicine outlet of the current power medicine trough is used to count the total number of medicine boxes dropped from the current power medicine trough in real time, until the total number of medicine boxes dropped from the current power medicine trough is equal to the number of medicine boxes to be distributed corresponding to the currently traversed type, the motor of the current power medicine trough is controlled to stop rotating, so that the push plate module of the current power medicine trough stops moving, and the distribution of medicine boxes of the currently traversed type is completed.

8. A medicine box dispensing system based on a powered medicine tank, characterized in that: include: A data acquisition module, for acquiring one or more types of medicine boxes to be distributed and the number of medicine boxes to be distributed corresponding to each type of medicine boxes based on the received prescription; A traversal detection module is used to traverse each medicine box type in the prescription, and if any power medicine slot corresponding to the currently traversed type receives a medicine dispensing instruction signal, the first number of medicine boxes placed in the current power medicine slot is detected in real time; wherein the current power medicine slot includes a fixed side plate arranged on the bottom slide of the current power medicine slot, two adjustable side plates arranged on the inner side of the current power medicine slot, and a brush arranged on the adjustable side plate, and the distance between the two adjustable side plates is adjustable and not less than the width of the medicine box placed in the current power medicine slot; The medicine box distribution module is used to drive the push plate module of the current power medicine trough to push forward if the first number is not less than the number to be distributed corresponding to the currently traversed type, so that the medicine boxes placed in the current power medicine trough are moved in sequence along the fixed side plate and toward the medicine outlet of the current power medicine trough until the total number of medicine boxes dropped from the current power medicine trough is equal to the number to be distributed corresponding to the currently traversed type, and then control the push plate module of the current power medicine trough to stop moving to complete the distribution of medicine boxes of the currently traversed type.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute a medicine box dispensing method based on a powered medicine tank as described in any one of claims 1 to 7.

10. A terminal, characterized in that: It comprises a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement a medicine box dispensing method based on a powered medicine tank as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Dispensing manipulator

    CN103158970A

  • Numerical control lathe blade self-service receiving and recycling control equipment and management system thereof

    CN116572074A

  • A dual carriage access station for an automated storage and retrieval system and a method for using same

    WO2022122434A1

  • A double ended access station for an automated storage and retrieval system and a method for using same

    WO2022228956A1

Cited By

  • Medicine dispensing method and equipment for flexible medicine storage system

    CN121317303A