Automatic inventory checking system and method of automatic medicine selling machine, medium and equipment
By designing the automatic disk system in the self -service drug machine, the number of drugs automatically detected the number of drugs with floating pressure plates and sensor modules is used to solve the problem of artificial record errors and power failure in existing technologies. Improvement of operational efficiency.
Patent Information
- Application Number
- CN202411347899.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-24
AI Technical Summary
The existing self-service drug sales machine cannot automatically detect the quantity of drugs when the storage is stored, and requires manual recording, which is prone to errors and cannot operate in a power outage or abnormal state, which affects normal operation.
An automatic inventory system is designed, including an industrial control unit, a cargo lane detection unit and a power supply unit. It uses floating pressure plates and sensing modules to sense changes in the weight of medicines, automatically calculate the quantity of medicines, and can still return to normal in the event of a power outage or downtime. operate.
The automated pharmaceutical disk is achieved, which improves accuracy and efficiency, reduces labor costs, improves the quality and operating efficiency of the drug sales machine, and prevents the shortage of drugs through alarm modules.
Smart Images

Figure CN119360498A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical equipment, and in particular to an automatic inventory system, method, medium and equipment for an automatic medicine vending machine. Background Art
[0002] At present, the self-service medicine vending machines in hospitals, drug stores and other industry outlets do not have the function of automatically detecting the number of drugs during inventory counting. The number of drugs put in and removed needs to be recorded manually, and the probability of manual error is relatively high. When the business is busy and there are many people queuing, the clinic staff will directly open the door to take the medicine without record, or when the equipment is powered off, the inventory function cannot be used to take the medicine and cannot be recorded, resulting in inaccurate inventory counts, which greatly interferes with the normal operation of the self-service medicine vending machines, and has high requirements for drugstore and hospital employees, high labor costs, which will damage the image of hospitals, drug stores and other user units, undermine their confidence in self-service medicine vending machines, and is not conducive to the development of the entire self-service medicine vending machine industry.
[0003] In view of this, it is necessary to provide an automatic inventory system, method, medium and equipment for an automatic medicine vending machine. Summary of the invention
[0004] The present invention provides an automatic inventory system, method, medium and equipment for an automatic medicine vending machine, which effectively solves the problem that the existing medicine inventory system cannot automatically measure the number of medicines and cannot operate in a power outage or abnormal state.
[0005] The technical solution adopted by the present invention is
[0006] The automatic inventory system of the self-service medicine vending machine includes an industrial control unit, a cargo aisle detection unit, and a power supply unit. The industrial control unit is used to control the cargo aisle detection unit to detect the quantity of medicines in the medicine vending machine, and the power supply unit is used to supply power to the cargo aisle detection unit and the industrial control unit.
[0007] Furthermore, the cargo lane detection unit includes a floating pressure plate, a sensor module and a control circuit module, the sensor module is electrically connected to the control circuit module, the floating pressure plate is used to support the medicines, and the sensor module is used to sense the change in the position of the floating pressure plate caused by the change in the weight of the medicines.
[0008] Furthermore, the sensor module is a sliding rheostat, and the floating pressure plate is connected to a sliding piece of the sliding rheostat.
[0009] Furthermore, the sensing module is a displacement sensor, and the displacement sensor is a contact sensor or a non-contact sensor.
[0010] Furthermore, the communication mode between the industrial control unit and the control circuit module is serial communication or USB communication.
[0011] Furthermore, the control circuit module and the sliding rheostat communicate via serial communication.
[0012] Furthermore, the invention also includes an alarm module, which is used to alarm when the amount of medicines in the medicine vending machine is lower than a set value.
[0013] An automatic inventory method for an automatic medicine vending machine, using the automatic inventory system of the automatic medicine vending machine, comprises the following steps:
[0014] S1. Set the formula for calculating the quantity of medicines in the aisles of the vending machine;
[0015] S2. Pick up and put down medicines in the cargo aisle;
[0016] S3. The cargo lane detection unit automatically counts the number of drugs in the cargo lane after step S2.
[0017] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the automatic inventory method of the automatic medicine vending machine.
[0018] A computer device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein:
[0019] The memory is used to store computer programs.
[0020] The processor is used to execute the steps of the automatic inventory method of the automatic medicine vending machine by running the program stored in the memory.
[0021] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0022] The communication interface is used for communication between the above terminal and other devices.
[0023] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0024] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be 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.
[0025] Beneficial effects of the invention:
[0026] 1. It can automatically count all kinds of boxed, plate-shaped and bottled medicines in the aisle of the medicine vending machine. No matter it is the normal process of dispensing medicines, the scheduled inventory of taking and putting medicines, or the illegal operation of taking medicines, it can automatically sense the number of medicines in the aisle in real time. When the industrial computer is down or the whole machine is powered off, it can also perform inventory or take and put medicines. After power-on or after the industrial computer returns to normal, it can still correctly sense and calculate the number of medicines in the aisle. Under various normal and abnormal situations, employees are only responsible for taking and putting medicines, and there is no need to record and input quantity information, which greatly improves the accuracy and efficiency of inventory counting, reduces labor costs, improves the quality of medicine vending machines, and reduces operating costs.
[0027] 2. The alarm module can be set up based on the minimum number of medicines in the aisle. When it detects that the number is less than the set minimum number, it will issue an alarm to reduce the downtime rate of the self-service medicine vending machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a flow chart of an automatic inventory system provided in an embodiment of the present application.
[0029] Figure 2 A schematic diagram of a power supply unit, an industrial control unit, and aisle detection unit of an automatic inventory system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0031] like Figure 1 and Figure 2As shown, the present application provides a first embodiment, which is an automatic inventory system for a self-service medicine vending machine, including an industrial control unit, a cargo aisle detection unit, and a power supply unit. The industrial control unit is used to control the cargo aisle detection unit to detect the number of medicines in the medicine vending machine, and the power supply unit is used to supply power to the cargo aisle detection unit and the industrial control unit.
[0032] When it is necessary to explain, the automatic medicine vending machine includes a cargo aisle for storing medicines. The power supply unit includes but is not limited to various flexible combinations of leakage circuit breakers, switching power supplies, socket strips, and backup power supplies; the switching power supply includes but is not limited to various AC power to DC power devices, such as switching power supplies, DC power boards, adapters, etc.; the backup power supply includes but is not limited to various energy storage devices + inverter combination devices such as lithium battery UPS and lead-acid battery UPS, which have timing control functions and can set the power on and off time using RS232 / 485 communication. The industrial control unit includes but is not limited to various flexible combinations of modules such as industrial computers (mainboards), control boards, and sliding rheostat boards; the industrial computers (mainboards) include but are not limited to computers composed of X86 motherboards and ARM motherboards.
[0033] In actual use, when medicines are taken and placed in the aisle, the total amount of medicines in the aisle changes. The aisle detection unit records the total amount of medicines in the aisle after each taking and placing, and supplies power to the aisle detection unit and the industrial control unit through the power supply unit.
[0034] In the above design, it is possible to automatically count the various boxed, plate-shaped and bottled medicines in the aisle of the medicine vending machine. Regardless of whether the medicines are distributed in the normal process, taken and placed by scheduled inventory, or taken and placed in violation of regulations, the number of medicines in the aisle can be automatically sensed in real time. When the industrial computer is down or the whole machine is powered off, inventory or medicine placement operations can also be performed. After power-on or after the industrial computer returns to normal, the number of medicines in the aisle can still be correctly sensed and calculated. Under various normal and abnormal circumstances, employees are only responsible for taking and placing medicines, and there is no need to record and input quantity information. This greatly improves the accuracy and efficiency of inventory counting, reduces labor costs, improves the quality of medicine vending machines, and reduces operating costs.
[0035] Specifically: the cargo lane detection unit includes a floating pressure plate, a sensor module and a control circuit module. The sensor module is electrically connected to the control circuit module. The floating pressure plate is used to support the medicines. The sensor module is used to sense the change in the position of the floating pressure plate caused by the change in the weight of the medicines.
[0036] During actual use, the medicines in the aisle are located on the floating pressure plate. When the number of medicines in the aisle changes, causing the total weight of the medicines in the aisle to change, the pressure of the floating pressure plate exerted by the medicines changes, thereby changing the floating displacement of the floating pressure plate. When the floating displacement of the floating pressure plate changes, the sensor module senses the displacement change of the floating pressure plate, and then calculates the total number of medicines in the aisle through a pre-set calculation formula of the displacement change of the floating pressure plate and the total amount of medicines.
[0037] In the above design, the design and specific implementation method of the cargo aisle detection unit can intuitively and quickly sense the changes in the number of medicines in the cargo aisle and quickly calculate the total amount of medicines in the cargo aisle.
[0038] Specifically: the sensing module is a sliding rheostat, and the floating pressure plate is connected to a sliding piece of the sliding rheostat.
[0039] It should be noted that the sliding rheostat is an existing electrical appliance, and the resistance value of the sliding rheostat is changed by moving the slider to contact different positions of different coils.
[0040] In actual use, when the number of drugs in the aisle changes, the floating displacement generated by the floating pressure plate drives the slider of the sliding rheostat to move, so that the movement of the slider changes the resistance value of the sliding rheostat. Then the industrial control unit receives the change in the resistance value of the sliding rheostat and uses the calculation method of the number of drugs in the aisle: when there is no drug in the aisle, the resistance value is R0, and when a drug of type a is placed, the resistance value is R a , the resistance after the drug is placed is R x , then the number of drugs in the current channel is N a =|(R x -R0) / (R a -R0)|. When counting the inventory, the types of medicines in each aisle can be obtained according to the drug data entered in the background, and the resistance value R corresponding to each drug in each aisle can be known. a , and then read the resistance value R of the current channel x , the quantity of this type of medicine in the current aisle can be calculated. It can be read at a scheduled time or in real time. Normal processes or abnormal operations will not affect the inventory results. Operations during power outages or downtime will still be accurate after recovery.
[0041] In the above design, a sliding rheostat and a floating pressure plate are used in conjunction to sense the number of medicines in the aisle, which can ensure accurate calculation of the amount of medicines in the aisle. In the event of an unexpected power outage, the resistance value of the sliding rheostat can be re-obtained after the circuit is restarted to calculate the number of medicines in the aisle, ensuring that normal processes or abnormal operations will not affect the inventory results, and operations during power outages or downtime will still be accurate after recovery.
[0042] Specifically: the sensing module is a displacement sensor, and the displacement sensor is a contact sensor or a non-contact sensor.
[0043] In actual use, when the number of drugs in the aisle changes and causes the floating plate to float, the displacement sensor senses the displacement change of the floating plate, and the industrial control unit automatically calculates the number of drugs in the aisle after receiving the displacement change. When there is no drug in the aisle, the coordinate of the floating plate is H0, and when a drug of type a is placed in the aisle, the coordinate is H a , the coordinate after the medicine is taken and placed is H x , then the number of drugs in the current channel is H a =|(H x -H0) / (H a -H0)|.
[0044] In the above design, the floating amount of the floating pressure plate is measured by the displacement sensor, so that the displacement change value of the floating pressure plate can be accurately measured.
[0045] Specifically: the communication mode between the industrial control unit and the control circuit module is serial communication or USB communication.
[0046] In the above design, serial communication uses fewer data lines, which can save communication costs in long-distance communications.
[0047] Specifically: the communication mode between the control circuit module and the sliding rheostat is serial communication.
[0048] In the above design, the communication method between the control circuit module and the sliding rheostat adopts serial communication, which can achieve the use of fewer data lines and save communication costs in long-distance communication.
[0049] Specifically: it also includes an alarm module, which is used to alarm when the amount of medicines in the medicine vending machine is lower than a set value.
[0050] In actual use, when the number of medicines in the cargo channel is lower than the preset value, the pressure of the medicines on the floating pressure plate will also be lower than the set value. At this time, the alarm module sends an alarm message to the background management center.
[0051] In the above design, the alarm module is set to issue an alarm when it detects that the minimum number of medicines in the aisle is less than the set minimum number, thereby reducing the downtime rate of the self-service medicine vending machine.
[0052] The present application provides a second embodiment, which is an automatic inventory method for an automatic medicine vending machine, using the automatic inventory system of the automatic medicine vending machine, including the following steps:
[0053] S1. Set the formula for calculating the quantity of medicines in the aisles of the vending machine;
[0054] S2. Pick up and put down medicines in the cargo aisle;
[0055] S3. The cargo lane detection unit automatically counts the number of drugs in the cargo lane after step S2.
[0056] In the above design, the number of medicines in the delivery channel can be automatically calculated without the need to manually record the number of medicines taken and placed, which greatly improves the accuracy of inventory counting, reduces the error rate, and saves labor costs.
[0057] The present application provides a third embodiment, which is a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the automatic inventory method of the automatic medicine vending machine are implemented.
[0058] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof.
[0059] The present application provides a fourth embodiment, which is a computer device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein:
[0060] The memory is used to store computer programs;
[0061] The processor is used to execute the steps of the automatic inventory method of the automatic medicine vending machine by running the program stored in the memory.
[0062] As an embodiment of the present invention, the communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc.
[0063] As an implementation mode of the present invention, the communication interface is used for communication between the above-mentioned terminal and other devices.
[0064] As an embodiment of the present invention, the memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0065] As an embodiment of the present invention, the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0066] The present application also provides a fifth embodiment, which is an automatic inventory system for a self-service medicine vending machine, including an industrial control unit, a cargo aisle detection unit, a power supply unit and an alarm module. The industrial control unit is used to control the cargo aisle detection unit to detect the number of medicines in the medicine vending machine, the power supply unit is used to supply power to the cargo aisle detection unit and the industrial control unit, and the alarm module is used to alarm when the number of medicines in the medicine vending machine is lower than a set value. The cargo aisle detection unit includes a floating pressure plate, a sensor module and a control circuit module. The sensor module is electrically connected to the control circuit module. The floating pressure plate is used to support the medicines, and the sensor module is used to sense the change in the position of the floating pressure plate caused by the change in the weight of the medicines. The sensor module is a sliding rheostat, and the floating pressure plate is connected to the slider of the sliding rheostat.
[0067] In actual use, when taking and placing medicines in the aisle, the total amount of medicines in the aisle changes, and the floating displacement generated by the floating pressure plate drives the slider of the sliding rheostat to move, so that the movement of the slider changes the resistance value of the sliding rheostat. Then the industrial control unit receives the change in the resistance value of the sliding rheostat and uses the calculation method of the number of medicines in the aisle: when there is no medicine in the aisle, the resistance value is R0, and when a type a medicine is placed, the resistance value is R a , the resistance after the drug is placed is R x , then the number of drugs in the current channel is N a =|(R x -R0) / (R a-R0)|. When counting the inventory, the types of medicines in each aisle can be obtained according to the drug data entered in the background, and the resistance value R corresponding to each drug in each aisle can be known. a , and then read the resistance value R of the current channel x , the number of such drugs in the current aisle can be calculated. It can be read at a scheduled time or in real time. Normal process or abnormal operation will not affect the inventory result. Operation during power outage or downtime will still be accurate after recovery. When the number of drugs in the aisle is lower than the preset value, the pressure of the drugs on the floating pressure plate will also be lower than the set value. At this time, the alarm module sends an alarm message to the background management center.
[0068] In the above design, the various boxed, plate-shaped and bottled medicines in the aisle of the medicine vending machine can be automatically counted. Regardless of whether the medicine is dispensed in the normal process, the medicine is taken and placed in the inventory at a scheduled time, or the medicine is taken and placed in violation of the regulations, the number of medicines in the aisle can be automatically sensed in real time; when the industrial computer is down or the whole machine is powered off, the inventory or medicine taking and placing operations can also be performed. After power-on or after the industrial computer returns to normal, the number of medicines in the aisle can still be correctly sensed and calculated. In various normal and abnormal situations, employees are only responsible for taking and placing medicines, and there is no need to record and input quantity information, which greatly improves the accuracy and efficiency of inventory counting, reduces labor costs, improves the quality of medicine vending machines, and reduces operating costs. The alarm module can be set to issue an alarm when it detects that the minimum number of medicines in the aisle is less than this number, thereby reducing the downtime rate of the self-service medicine vending machine.
[0069] The present application also provides a sixth embodiment, which is an automatic inventory system for a self-service medicine vending machine, including an industrial control unit, a cargo aisle detection unit, a power supply unit and an alarm module. The industrial control unit is used to control the cargo aisle detection unit to detect the number of medicines in the medicine vending machine, the power supply unit is used to power the cargo aisle detection unit and the industrial control unit, and the alarm module is used to alarm when the number of medicines in the medicine vending machine is lower than a set value. The cargo aisle detection unit includes a floating pressure plate, a sensor module and a control circuit module. The sensor module is electrically connected to the control circuit module. The floating pressure plate is used to support the medicines, and the sensor module is used to sense the change in the position of the floating pressure plate caused by the change in the weight of the medicines. The sensor module is a displacement sensor, and the displacement sensor is a contact sensor or a non-contact sensor.
[0070] In actual use, when taking and placing medicines in the aisle, the total amount of medicines in the aisle changes. When the change in the amount of medicines in the aisle causes the floating plate to float, the displacement sensor senses the displacement change of the floating plate. After receiving the displacement change, the industrial control unit automatically calculates the amount of medicines in the aisle. When there is no medicine in the aisle, the coordinate of the floating plate is H0, and when a medicine of type a is placed, the coordinate is H a , the coordinate after the medicine is taken and placed is H x, then the number of drugs in the current channel is H a =|(H x -H0) / (H a -H0)|. When the quantity of medicines in the cargo channel is lower than the preset value, the pressure of the medicines on the floating pressure plate will also be lower than the set value, and the alarm module will send an alarm message to the background management center.
[0071] In the above design, the various boxed, plate-shaped and bottled medicines in the aisle of the medicine vending machine can be automatically counted. Regardless of whether the medicine is dispensed in the normal process, the medicine is taken and placed in the inventory at a scheduled time, or the medicine is taken and placed in violation of the regulations, the number of medicines in the aisle can be automatically sensed in real time; when the industrial computer is down or the whole machine is powered off, the inventory or medicine taking and placing operations can also be performed. After power-on or after the industrial computer returns to normal, the number of medicines in the aisle can still be correctly sensed and calculated. In various normal and abnormal situations, employees are only responsible for taking and placing medicines, and there is no need to record and input quantity information, which greatly improves the accuracy and efficiency of inventory counting, reduces labor costs, improves the quality of medicine vending machines, and reduces operating costs. The alarm module can be set to issue an alarm when it detects that the minimum number of medicines in the aisle is less than this number, thereby reducing the downtime rate of the self-service medicine vending machine.
[0072] To further explain in detail, it should be understood that the above is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. The automatic inventory system of the self-service medicine vending machine is characterized by: It includes an industrial control unit, a cargo aisle detection unit, and a power supply unit. The industrial control unit is used to control the cargo aisle detection unit to detect the quantity of medicines in the medicine vending machine, and the power supply unit is used to supply power to the cargo aisle detection unit and the industrial control unit.
2. The automatic inventory system of the automatic medicine vending machine according to claim 1, characterized in that: The cargo lane detection unit includes a floating pressure plate, a sensor module and a control circuit module. The sensor module is electrically connected to the control circuit module. The floating pressure plate is used to support medicines. The sensor module is used to sense changes in the position of the floating pressure plate caused by changes in the weight of the medicines.
3. The automatic inventory system of the automatic medicine vending machine according to claim 2, characterized in that: The sensing module is a sliding rheostat, and the floating pressure plate is connected to a sliding piece of the sliding rheostat.
4. The automatic inventory system for the automatic medicine vending machine according to claim 3, characterized in that: The sensing module is a displacement sensor, and the displacement sensor is a contact sensor or a non-contact sensor.
5. The automatic inventory system for the automatic medicine vending machine according to claim 2, characterized in that: The communication mode between the industrial control unit and the control circuit module is serial communication or USB communication.
6. The automatic inventory system of the automatic medicine vending machine according to claim 3, characterized in that: The communication mode between the control circuit module and the sliding rheostat is serial communication.
7. The automatic inventory system for the automatic medicine vending machine according to claim 1, characterized in that: It also includes an alarm module, which is used to alarm when the amount of medicines in the medicine vending machine is lower than a set value.
8. An automatic inventory method for an automatic medicine vending machine, using the automatic inventory system for an automatic medicine vending machine according to any one of claims 1 to 7, characterized in that: The following steps are involved: S1. Set the formula for calculating the quantity of medicines in the aisles of the vending machine; S2. Pick up and put down medicines in the cargo aisle; S3. The cargo lane detection unit automatically counts the number of drugs in the cargo lane after step S2.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the automatic inventory method for an automatic medicine vending machine according to claim 8 are implemented.
10. A computer device, characterized in that: The method comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the automatic inventory method for the automatic medicine vending machine of claim 8 by running the program stored in the memory.
Citation Information
Patent Citations
Handheld barcode terminal
CN103148918A
Intelligent roll stand
CN212913038U
Weighing and checking structure for vending machine and vending machine
CN214704819U
Laminate of vending machine and vending machine
CN221200468U