Intelligent traditional Chinese medicine cabinet system

Through the modular design and advanced communication technology of the intelligent Chinese medicine cabinet system, the precise and automated dispensing of Chinese medicinal herbs in Chinese medicine pharmacies has been realized, solving the problems of time-consuming, labor-intensive, and error-prone medicine picking in traditional Chinese medicine pharmacies, and improving efficiency and accuracy.

CN120932332APending Publication Date: 2025-11-11CHENGDU XINYUECHENG IND CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202511039288.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-09-09
Filing Date
2025-07-28
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Traditional Chinese medicine pharmacies are time-consuming, labor-intensive, and prone to errors when picking medicinal herbs. Existing intelligent Chinese medicine cabinet systems cannot effectively support the accurate dispensing of bulk medicinal herbs and small-packaged medicinal herbs.

Method used

The intelligent Chinese medicine cabinet system combines different unit cabinets with modules such as external systems, medicinal material and decoction piece management, prescription management, and drug dispensing management to achieve precise management of medicinal materials and decoction pieces and automated dispensing. It utilizes MCU communication, brushless motor control, weighing sampling and metering calibration technology to support the picking of bulk and small-packaged medicinal materials and decoction pieces.

Benefits of technology

It improves the accuracy of dispensing and packing medicines, reduces manual operation, saves labor costs, increases the speed of dispensing medicines, and prevents cross-contamination of medicinal materials. It is suitable for dispensing and picking medicines in pure bulk or small packaged medicinal materials, and improves work efficiency by more than 5 times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120932332A_ABST
    Figure CN120932332A_ABST
Patent Text Reader

Abstract

Disclosed is an intelligent traditional Chinese medicine cabinet system. The system is mainly composed of an external system, a medicinal material decoction piece management system, a prescription management and dispatching system, a medicine adding management system, an intelligent traditional Chinese medicine cabinet management system, a bar code and two-dimensional code management system, a user and user authority management system, a data statistics system, a fault alarm maintenance and metering correction system, a mobile terminal and an intelligent traditional Chinese medicine cabinet main control system. The intelligent traditional Chinese medicine cabinet management PC communicates with the MCUs of the (1-n) cabinet column control panels by adopting a switch star network bus structure, and the MCU of each cabinet column control panel communicates with the MCUs of the (1-n) unit medicine cabinet control panels by adopting an Rs485 bus and a host polling system; the MCV of the unit medicine cabinet control panel receives current sampling signals of corresponding motor control circuits and various driving circuits configured in the unit medicine cabinet. The full-process automation of prescription receiving, prescription decomposition, prescription dispatching and automatic medicinal material decoction piece preparation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to intelligent Chinese medicine cabinets, specifically to an intelligent Chinese medicine cabinet system that uses different unit cabinet combinations to achieve dispensing and picking of medicines, mainly in bulk medicinal materials or in small packaged bags. Background Technology

[0002] Traditional Chinese medicine is profound and extensive. Chinese medicine prescriptions are usually only for specific patients and diseases. The same medicine can have very different effects in different prescriptions. The traditional important dispensing process includes: prescription writing, prescription review, medicine picking and dispensing, proofreading, and dispensing. At present, almost all Chinese medicine pharmacies still retain the traditional manual dispensing method. Important cabinets usually store hundreds of Chinese medicinal materials, which are stored in thousands of medicine boxes. This makes the medicine picking process of Chinese medicine pharmacists very time-consuming, laborious and prone to errors.

[0003] Traditional Chinese medicine (TCM) hospital staff have made some beneficial explorations in the field of intelligent TCM medicine cabinets, such as "An Intelligent TCM Medicine Cabinet" (CN215382438): The bottom of the medicine cabinet is a medicine cabinet, and the top is a medicine storage cabinet. The medicine storage cabinet is divided into several medicine boxes by partitions. The medicine boxes are slidably connected inside the medicine cabinet. The medicine boxes are equipped with LCD screens to display patient information and prescription information, which facilitates the work of retrieving medicine.

[0004] Another example is the "Intelligent Traditional Chinese Medicine Cabinet Based on PLC Control" (CN215776883): By setting a PLC module on the traditional Chinese medicine cabinet, the PLC module controls the corresponding medicine cabinet to turn on the medicine dispensing indicator light according to the prescription, which makes it convenient for traditional Chinese medicine pharmacists to dispense medicine.

[0005] The aforementioned patent documents only address improvements made to the manual dispensing and preparation process and are not applicable to dispensing and picking up medicines mainly in bulk or in small-packaged bags through combinations of different unit medicine cabinets. Summary of the Invention

[0006] The purpose of this invention is to provide an intelligent Chinese medicine cabinet system with high accuracy in dispensing and fast dispensing speed. It aims to achieve dispensing and picking of medicines mainly using bulk medicinal materials and / or small packaged medicinal materials by using different combinations of unit cabinets.

[0007] The objective of this invention is achieved as follows: An intelligent traditional Chinese medicine cabinet system, mainly composed of an external system, a medicinal herb and decoction piece management system, a prescription management and distribution system, a drug dispensing management system, an intelligent traditional Chinese medicine cabinet management system, a barcode and QR code management system, a user and user access management system, a data statistics system, a fault alarm, repair and metering calibration system, a mobile terminal (i.e., a mobile phone), and an intelligent traditional Chinese medicine cabinet main control system; wherein, the external system PC, as well as the medicinal herb and decoction piece management system PC, the prescription management and distribution system PC, the drug dispensing management system PC, the intelligent traditional Chinese medicine cabinet management system PC, the barcode and QR code management system PC, the user and user access management system PC, the data statistics system PC, the fault alarm, repair and metering calibration system PC, and the mobile terminal are respectively connected to the intelligent traditional Chinese medicine cabinet management system PC;

[0008] The PC of the intelligent Chinese medicine cabinet management system communicates with the MCUs of (1 to n) cabinet control boards using a switch star network bus structure. The MCU of each cabinet control board communicates with the MCUs of (1 to n) unit medicine cabinet control boards using an RS485 bus and a host polling system.

[0009] The MCU of the unit medicine cabinet control board receives more than one current sampling signal from four brushless motor control circuits, a string drum discharge electromagnetic door drive circuit, a weighing pan flip motor drive circuit, a medicine outlet electromagnetic door drive circuit, a reserved brushless motor control circuit, a reserved electromagnet drive circuit, and a medicine dosing door electromagnetic lock drive circuit. It also receives 16 switch output signals and weighing sampling circuit signals.

[0010] A single cabinet rack consists of two sets of unit medicine cabinets on the left and right, capable of accommodating two sets of unit medicine cabinets. The bottom of the rack is a track trolley channel, and the top is equipped with a stringing cylinder. A row of intelligent Chinese medicine cabinets consists of multiple rows of unit medicine cabinets. The height of the cabinet rack is designed according to the height of the unit medicine cabinets. Based on the general building height, it can accommodate 4-10 layers of unit medicine cabinets. The number of cabinet rows can be arranged according to user needs, and can be quickly increased when additional cabinet rows are required.

[0011] The weighing circuit of the metering push-over device adopts a 3.3V, 0.1g resolution 4-wire strain gauge signal acquisition circuit;

[0012] The collected raw weighing data is filtered, zeroed out, and calibrated at three points to calculate the actual weight. Due to the different properties of various medicinal materials, the discharge accuracy of different medicinal materials needs to be adjusted accordingly, and finally saved as process parameters.

[0013] The unit medicine cabinet is equipped with a stirring device, a medicine dispensing device, a metering pushing and flipping device, and a metering calibration device.

[0014] It also includes a medicinal herb and processed herb management module: managing the names and aliases of medicinal herbs; assigning a specific system number to each medicinal herb and processed herb; managing the bulk density of medicinal herbs and processed herbs; managing the morphology of medicinal herbs and processed herbs, such as powder, flakes, spheres, columnar segments, strips, flocculent, etc.; managing the packaging form of medicinal herbs and processed herbs, such as bulk, bagged, etc.; managing the classification type of medicinal herbs and processed herbs in the system, such as commonly used system processed herbs, infrequently used system processed herbs, self-prepared medicines, specially controlled medicines, regularly controlled medicines, and temporarily controlled medicines; managing the decoction and administration methods of medicinal herbs and processed herbs; managing the incompatibilities of medicinal herbs and processed herbs; managing the toxicity of medicinal herbs and processed herbs; managing the standardized dosage of medicinal herbs and processed herbs; managing the entry, addition, reduction, and deletion of medicinal herbs and processed herbs; querying all medicinal herbs and processed herbs; managing temporary shortages of medicinal herbs and processed herbs in the system; and managing the operation login of medicinal herb and processed herb administrators.

[0015] Prescription Management and Allocation Module:

[0016] I. Prescription Management:

[0017] Prescription Content: The prescription content consists of three parts: ① Preface: including prescription barcode or QR code, name of medical, preventive, or health care institution, prescription number, fee type, patient's name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, and may include items required by the specialty; ② Body: marked with Rp or R, prescriptions for traditional Chinese medicine preparations should list the name, specifications, quantity, and dosage of the medicine; prescriptions for traditional Chinese medicine decoction pieces should list the name, quantity, decoction method, and dosage of the decoction pieces; ③ Postscript: physician's signature and / or affix of a special seal, amount of medicine, and signature of the pharmaceutical professional who reviewed, dispensed, verified, and issued the medicine;

[0018] Prescription writing principles: (1) The general items of the patient recorded on the prescription should be clear, complete and consistent with the medical record; (2) Each prescription is limited to medication for only one patient; (3) The handwriting on the prescription should be clear and should not be altered; if there are any modifications, the modification must be signed and the modification date must be noted; (4) Prescriptions must be written in standard Chinese or English; Chinese is limited to simplified characters published by the State Council on October 15, 1986 in the "General List of Simplified Characters", and no alternative characters should be created; the name of the drug cannot use Latin, but the usage and dosage can be abbreviated in Latin; (5) Medical, preventive and health care institutions or physicians and pharmacists shall not compile abbreviations or use codes for drugs; the name, dosage, specifications, usage and dosage of drugs should be written accurately and in a standardized manner;

[0019] The prescription format transmitted from the external system must match the prescription format that the intelligent Chinese medicine cabinet system can recognize. If it cannot be recognized, it needs to be converted and handled when setting up the communication protocol.

[0020] Prescriptions transmitted from external systems and those entered into internal systems must clearly indicate the method of decocting and taking the medicinal herbs. This will serve as the basis for prescription breakdown. If there is no indication, it will be considered as a regular decoction and will not be broken down.

[0021] The system receives prescriptions transmitted from the customer management system via external interfaces and external communication protocols, as well as prescriptions entered manually. Prescriptions are automatically arranged in numerical order. Prescriptions that meet certain conditions can be pinned to the top or bottom of the list. Prescriptions that meet certain conditions can be moved up or down one item. Pinning or moving a prescription does not change its prescription number.

[0022] II. Prescription Breakdown:

[0023] Prescription breakdown basis:

[0024] Medicine shortage judgment: After recognizing the prescription, the intelligent Chinese medicine cabinet system first needs to determine whether the medicinal materials and decoction pieces in the prescription are all in the system. If some medicinal materials and decoction pieces are missing, the information must be pushed to the external system immediately. At the same time, the intelligent Chinese medicine cabinet system marks the prescription to indicate which medicinal materials and decoction pieces could not be picked due to shortage.

[0025] Decoction Method Judgment: After recognizing the prescription, the intelligent Chinese medicine cabinet system also needs to determine the decoction method of the prescription herbs and decoction pieces, and mark herbs and decoction pieces with special requirements for decoction method, such as: decoct first (shells, shells, fossils, minerals, nourishing and tonifying herbs, weakly toxic herbs (such as raw Pinellia ternata, Asarum, etc.), decoct later (aromatic and dispersing herbs), decoct in a bag (seeds), decoct separately (ginseng, etc.), melt (donkey-hide gelatin, deer gelatin, tortoise shell gelatin and Glauber's salt, etc.), and grind into powder and mix separately (Panax notoginseng, Fritillaria cirrhosa, cinnabar, amber, antelope horn, rhinoceros horn, etc.);

[0026] Determination of the properties of medicinal materials: In order to meet the needs of the dispensing mechanism of the unit cabinet, some medicinal materials need to be crushed into smaller pieces. That is, some medicinal materials are crushed into smaller pieces before being added to the unit cabinet, or the medicinal materials are crushed into smaller pieces and dispensed through the dispensing mechanism of the unit cabinet after being added to the unit cabinet. "Crushing into smaller pieces" is regarded as a kind of "pulverization" in the processing method. The word "pulverized" is marked in parentheses in the upper right corner of the name of the medicinal material in the formal prescription.

[0027] Prescription breakdown:

[0028] Prescription breakdown types: Divide prescription medicinal materials into missing drugs and systemic drugs;

[0029] Missing medicines: These are medicinal herbs and decoction pieces that are not available in the intelligent Chinese medicine cabinet system. These generally include self-prepared medicines (medicines prepared by the patient), specially controlled medicines (medicines dispensed directly from the warehouse in fixed quantities to the refill station), regularly controlled medicines (precious medicinal herbs, toxic medicinal herbs, light-textured medicinal herbs, strip-packaged medicinal herbs (such as centipedes, seahorses, etc.), liquid medicinal herbs, gelatinous medicinal herbs), and temporarily controlled medicines (medicines that cannot be dispensed from the cabinet system for a short period of time due to intelligent cabinet malfunction and requiring repair).

[0030] System medicine: Medicines in the intelligent medicine cabinet; System medicines are further broken down into multiple decomposed prescriptions based on different decoction methods such as decocting first, decocting later, decocting in a bag, decocting separately, melting, or grinding into powder and mixing. The intelligent Chinese medicine cabinet system picks up medicinal materials and slices according to the decomposed prescriptions.

[0031] The content and format of "Breaking Down Prescription Lists":

[0032] The format of the decomposed prescription is consistent with the above-mentioned prescription format regulations. The intelligent Chinese medicine cabinet system assigns a prescription number such as [20210512-123 1 / 3-1 / 2(6)]. Explanation of prescription number: 20210512 refers to the prescription time: May 12, 2021; -123 refers to the number of prescriptions today; 1 / 3 refers to the first of 3 doses; -1 / 2 refers to the first of 2 decomposed prescriptions for this dose; (6) refers to the total number of prescriptions for this prescription; the decomposed prescription sequence number is noted in the lower right corner: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6.

[0033] Prescription pre-disassembly: The intelligent Chinese medicine cabinet system receives queued prescriptions, and the system can pre-disassemble the top 5 prescriptions in the queue. Prescription pre-disassembly can provide a prerequisite for the system to pre-pick prescriptions.

[0034] Prescription pre-picking: It has the function of pre-distributing one or more prescriptions and breaking down prescription tasks; the intelligent Chinese medicine cabinet system pre-picks out medicinal materials and slices according to the dispensing status of each unit cabinet, and dispenses them immediately when the prescription arrives; it can consider the pre-picking queue of 1-3 prescriptions and can be adjusted according to user requirements;

[0035] Query prescription status in the prescription management module: total number and details of prescriptions received and entered on the day; real-time number of queued prescriptions and their queue status; real-time breakdown of queued prescriptions and their queue status.

[0036] Send prescription statistics information to the data statistics module;

[0037] The medication management module: When the remaining amount in a unit medicine cabinet is less than or equal to 20% of the full bag, an alarm will be triggered to notify the addition of medication. The calculation of the remaining amount at the 20% alarm threshold is based on software statistical calculation: Remaining amount = Remaining amount before addition + Added amount - N times the dispensing amount. The medication addition process is as follows: Employee uses mobile terminal → scans the barcode on the unit medicine cabinet's medication door → the corresponding medicine cabinet warning light flashes → opens the unit medicine cabinet's medication door → adds medication → the person adding medication enters the dosage on the mobile terminal and confirms → closes the unit medicine cabinet's medication door. When adding medication to different batches of medicinal herbs, a cabinet clearing process is required. Infrequently used medicinal herbs may not be added for a long period after the initial addition, with extended intervals. If no medication is added or updated within the specified time, the system will prompt for cabinet clearing. The system also sends data on the addition and dispensing quantities of medicinal herbs to the data statistics module.

[0038] Intelligent Chinese Medicine Cabinet Management Module: Configure the cabinets that have been successfully added, and configure the associated positioning points and their numbers. When associating positioning points, the positioning point hardware must be numbered.

[0039] For a specific unit medicine cabinet in a designated cabinet row, specify its unit number, barcode or QR code, packaging device type, dispensing mechanism number and type, and weighing pan type;

[0040] One unit medicine cabinet can be equipped with 1 to 3 hoppers (including dispensing mechanism);

[0041] Each unit of medicine cabinet must specify the type of medicinal herbs and processed medicinal pieces;

[0042] The unit medicine cabinet control panel is equipped with red, yellow and green color-changing warning lights as an alarm function. A green light indicates that the medicine quantity is sufficient, a yellow light indicates that the medicine quantity is insufficient, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 20%, and a red light indicates that medicine must be added immediately, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 10%.

[0043] The dispensing process is based on the serial bins: the operator clicks on the computer or mobile terminal to issue the medicine picking command → the medicine is dispensed from the unit medicine cabinet → the dispensed medicinal materials are collected on the bottom conveyor belt through the serial bins → the conveyor belt transports the medicinal materials to the discharge port and into the medicine storage box to complete the dispensing process.

[0044] The main dispensing process using a conveyor belt is as follows: The operator clicks on the computer or mobile device to issue a medicine picking command → the medicine is dispensed from the unit medicine cabinet → the dispensed medicinal materials and slices are collected on the conveyor belt → the conveyor belt transports the medicinal materials and slices to the discharge port, and they enter the medicine storage frame through the stringing bucket to complete the dispensing process.

[0045] Residual Material Management in Screw Metering: Fine granular medicinal materials are discharged using a screw metering conveyor. The discharge quantity is calculated based on the cross-sectional area of ​​the screw shaft groove, the stepper motor's step size and number of steps, and the bulk density of the medicinal materials. Then, a statistical algorithm is used to calculate the remaining amount of medicinal materials. To ensure that there is material in the hopper, an infrared position sensor is used to detect the height of the medicinal materials. This method ensures the height of the medicine in the hopper and avoids the screw metering conveyor from having cavities. The conveyor must stop when the amount of medicine in the hopper reaches a certain height.

[0046] Remaining quantity management of powdered medicinal materials: They are pre-packaged in three weights of 1 gram, 2 grams, and 5 grams outside the cabinet, and then packed into a box in rolls or stacks. The box is then placed into the unit medicine cabinet, and the dispensing mechanism dispenses the required weights under the control of the unit medicine cabinet control panel. When managing the remaining quantity, the number of remaining bags of each weight is calculated by statistical algorithm. If the remaining quantity is insufficient to meet the maximum dosage requirement of 3 doses, the medicine must be added.

[0047] Barcode and QR code management module: Manages barcode and QR code printing equipment; edits barcodes and QR codes by calling barcode and QR code protocols and design functions; manages the classification, addition, deletion, and modification of barcodes and QR codes on unit medicine cabinets, transport carts, cart medicine trays, medicine storage boxes, prescriptions, drug inspection guidelines, refill orders, user identification cards, etc.; has the function of recording and querying barcodes or QR codes; configures barcode or QR code recognition functions.

[0048] User and User Permission Management Module: Functions of user and user permission management: Manage user creation, including adding and deleting users; set or change user login passwords and retrieve or reset passwords; set user management roles and permissions, including setting, adding, changing, and reducing roles and permissions for users;

[0049] Data Statistics Module: Functions of data statistics include: statistically analyzing prescription receipt, execution, shelving, and scrapping data; receiving prescription data from the prescription receiving and dispensing system, and calculating the total number of prescriptions received and the ratio of received prescriptions to external prescriptions; receiving dispensing data from the call dispensing system, and calculating the total number of packaged prescription herbs and their proportion of actually dispensed packaged prescription herbs to the total number of packaged prescription herbs; calculating the prescription fulfillment rate in the herbal medicine dispensing control system; calculating the prescription dosage, actual dispensing volume (including supplementary dosage for missing herbs), and scrapped quantity for each type of herbal medicine; calculating the total number of drug tests, the number of qualified tests, the pass rate, the number of scrapped tests, and the scrapping rate; calculating the total number and quantity of supplementary prescriptions for missing herbs and the quantity and number of each type of herbal medicine; calculating the amount and frequency of medication added to the unit medicine cabinet; calculating the fault types and frequency of unit medicine cabinets, transport carts, and other equipment; and generating various reports.

[0050] Fault alarm, troubleshooting, and metering calibration module: manages user operator logins; has the function of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical circuits, machinery, and structures, and preliminarily determining the type and location of the fault, guiding repairs; manages the metering calibration of the medicine cabinet in the management unit: issues metering calibration commands, receives calibration feedback data, reports metering error data to the superior system, and issues alarms.

[0051] It also has a mobile app:

[0052] The mobile app uses WebSockt technology to keep the status of the smart Chinese medicine cabinet system synchronized at all times.

[0053] Query and retrieve all cabinets of the specified master control system; display the cabinets in a visually appealing graphical format; the cabinets are arranged from left to right, and if they exceed the interface boundaries, they are displayed on a new line;

[0054] Cabinet Unit Display: Each cabinet column in the graphic is displayed as a combination of multiple cabinet units; if a cabinet unit contains multiple hoppers, then the corresponding number of hoppers will be displayed in the cabinet unit graphic.

[0055] Cabinet Unit Monitoring: Monitors the real-time status and actions of cabinet units; real-time status includes: waiting, working, cabinet unit medicine dispensing door or cabinet door is open; real-time actions include: material retrieval, packaging, and emptying; enables real-time monitoring of the remaining medicine in the cabinet on a mobile device;

[0056] Fault display: Graphical alarm for unit medicine cabinet faults; Graphical alarm for cabinet group faults;

[0057] View pending prescriptions: Check the breakdown status of prescriptions; prescriptions are displayed in list format; buttons are provided next to pending prescriptions to view prescription details; adjust prescription priority:

[0058] Each item in the list of prescriptions to be processed has a "Pin to Top" button next to it, which can be set as the first prescription in the list to be processed with one click;

[0059] The mobile app displays a matrix list of all unit medicine cabinets, with each cell corresponding to a unit medicine cabinet. Real-time monitoring of the remaining medicinal materials in each cabinet displays the unit medicine cabinets that need replenishment, prompting the user to do so. The table uses yellow and red indicators to show the urgency of replenishment: yellow indicates the unit medicine cabinet is already waiting to be replenished, while red indicates it needs immediate replenishment. After replenishment, the indicator color returns to normal. Clicking on a cell displays the unit medicine cabinet code, the cabinet column number, and the layer it belongs to. The system should display the number of herbs and the names and quantities of medicinal materials to be added to the unit's medicine cabinet, facilitating retrieval and verification by warehouse staff. The mobile terminal should have barcode scanning and photo-taking capabilities, enabling it to scan the barcode to open the hopper door, open the cabinet door, or retrieve the unit's medicine cabinet in case of malfunction. Once the system determines that adding medicine is permitted, the UI will be locked and display "Waiting for cabinet opening." After the system opens the cabinet, the UI will remain locked and display "Opened." After manual addition, the UI will remain locked until the mobile terminal inputs the quantity of medicine and clicks confirmation before the unit's medicine cabinet door can be closed.

[0060] System status when a unit medicine cabinet malfunctions: In the unit medicine cabinet matrix list on the mobile terminal app display interface, the corresponding table column will display the word "malfunction", indicating that the unit medicine cabinet is dead and needs to be checked; the intelligent Chinese medicine cabinet system will disable this unit medicine cabinet; subsequent affected prescriptions will not be able to pick up this medicinal material;

[0061] List of Medicinal Herbs to be Added: The display interface on the monitor and mobile terminal shows a list of medicinal herbs that need to be added. Each cell in the table corresponds to a unit medicine cabinet and the medicinal herbs it contains. The table uses green and red to indicate the urgency of adding the medicine. Green indicates that the corresponding medicine in the cell is in sufficient quantity, yellow indicates that the corresponding medicine in the cell is ready to be added (the remaining medicinal herbs in the medicine cabinet hopper are less than 20%), and red indicates that the corresponding medicine in the cell must be added immediately (the remaining medicinal herbs in the medicine cabinet hopper are less than 10%). After adding the medicine, the indicator color of the cell returns to the normal color. Clicking on each cell will bring up the unit medicine cabinet number, the name of the medicinal herbs, and the quantity of medicine to be added, which is convenient for the medicine adding personnel to find. After adding the medicine, the quantity added must be entered and the unit medicine cabinet must be confirmed before the unit medicine cabinet can be closed. After the unit medicine cabinet is closed, the medicine adding task is completed, and the warning color of the corresponding cell returns to green.

[0062] The mobile terminal receives and processes information transmitted from the intelligent Chinese medicine cabinet system.

[0063] The mobile terminal and the intelligent Chinese medicine cabinet system share the following equipment: computing unit, monitor, mouse, and keyboard.

[0064] The intelligent Chinese medicine cabinet management system also has a medicinal herb and decoction piece attribute database, which records the following attributes of the medicinal herb and decoction pieces:

[0065] Main attributes of medicinal materials and processed slices: Name of medicinal material, name of processed slices, alternative names of processed slices, form of processed slices (one of the following: powder, sand, granules, segments, blocks, spheres, spindles, flakes, filaments, strips, clumps, net-like, stamen-like, liquid, paste), standard density (g / ml), unit of measurement (one of the following: gram, piece, strip), odor, meridian tropism, processing method, toxicity, incompatibilities, antagonisms, mutual restraints, contraindications to Western medicine, dietary restrictions, contraindications to human use, standard single-dose dosage range, standard single-dose maximum dosage, decoction method, decoction time offset (Note: for example, if decocted first, the time offset indicates decocting first). n minutes; "after decoction" means decocting for n minutes later), pharmacopoeia usage, standard pre-treatment type of decoction pieces when sold to customer units, storage method; the system automatically assigns a unique internal number to each type of medicinal material decoction piece, which is stored in the intelligent Chinese medicine cabinet system. Only medicinal materials decoction pieces with the number that exist in the intelligent Chinese medicine cabinet system can be placed on the cabinet; the format of the medicinal material decoction piece attribute number is: medicinal material decoction piece attribute number: CX12-a: CX12 is the unique number of the system medicine, and -a refers to the medicinal material decoction piece property number; each intelligent Chinese medicine cabinet system needs to create a medicinal material decoction piece attribute library;

[0066] Add a new category of medicinal herbs: Manually enter or batch import new medicinal herbs, and the system will automatically assign a unique internal number to the medicinal herb.

[0067] To delete medicinal herbs, if they are already on the shelf, they must be removed from the shelf beforehand. The system will iterate through all intelligent Chinese medicine cabinet systems to ensure that no medicinal herb exists in any of the cabinets. When a medicinal herb is deleted, its serial number will also be deleted, while the serial numbers of other medicinal herbs will remain unchanged. If a new medicinal herb is added that requires this serial number, the system must record all historical information for that serial number.

[0068] Importing medicinal herb categories into the medical institution's management system: Import via Excel spreadsheet, which must meet the specified format; use the name of the medicinal herb as the synchronization basis, add the medicinal herb to the system that corresponds to the one added in the Excel spreadsheet, and automatically generate a unique number; if the medicinal herb in the Excel spreadsheet already has a number, a separate system number column needs to be added to the Excel spreadsheet for comparison and easy lookup.

[0069] The unit medicine cabinet control board has a one-time medicine dispensing module controlled by its driver program:

[0070] Upon receiving the medicine-picking instruction from the intelligent traditional Chinese medicine cabinet system, the unit medicine cabinet control board begins controlling the medicine-dispensing motor. As the medicinal herbs and slices enter, the weighing scale continuously records measurement data and sends it to the unit medicine cabinet control board. If, despite the dispensing motor running, the weighing scale fails to record measurement data within a specified time, or if the measurement data remains unchanged within the specified time, the unit medicine cabinet control board determines that there is a hopper discharge fault and checks whether the medicine-dispensing motor is stalled. If so, the unit medicine cabinet control board reverses the dispensing motor and retrys; otherwise, it determines that the dispensing motor is stalled. If the machine malfunctions, a fault alarm will be triggered. When the unit medicine cabinet control board detects that the weight of the dispensing herbs has not reached the set value (i.e., the weight of the dispensing herbs has reached 10% of the commanded weight or the remaining undispensed weight is only 3 grams), the unit medicine cabinet control board will control the dispensing motor to continue dispensing herbs until the set value is reached. When the unit medicine cabinet control board detects that the weight of the dispensing herbs has reached or exceeded the set value, the unit medicine cabinet control board will control the dispensing motor to jog the dispensing herbs. When the unit medicine cabinet control board detects that the weight of the dispensing herbs has not reached the commanded weight error value, the unit medicine cabinet control board will control the motor to jog the dispensing herbs until the set value is reached. If the weight reaches or exceeds the error value specified in the instruction, the dispensing motor stops. The unit medicine cabinet control board receives the final weighing data from the weighing scale. If the final weighing data is within the error range, it waits for the transport trolley to arrive and dispense the medicine. If the final weighing data is abnormal, a fault alarm is triggered, and the unit medicine cabinet stops operating. When the transport trolley arrives, the weighing pan dispensing device begins to push and tilt the medicine. If the weighing pan dispensing device fails to complete the pushing and tilting dispensing action within the time limit, the unit medicine cabinet control board initiates a retry. If the retry fails, the weighing pan dispensing device is deemed abnormal, and an alarm is triggered. If the retry is successful, proceed to the next step. The weighing pan dispensing device must stop dispensing the medicine after it has reached its designated position and then restart the reset process after a certain delay until the reset is complete. If the weighing pan dispensing device fails to complete the reset within the timeout period, the unit medicine cabinet control board initiates a retry. If the retry fails, the weighing pan dispensing device is deemed abnormal, and an alarm is triggered. If the retry is successful, proceed to the next step. At this point, the unit medicine cabinet has completed one medicine dispensing process. The lower limit of the dispensing error in the above weighing data is set to be less than the calculated weight of the medicine by 0.2 grams; the upper limit is not set.

[0071] The intelligent traditional Chinese medicine cabinet management system includes an intelligent traditional Chinese medicine cabinet operation module:

[0072] The system receives prescriptions input from external systems and prescriptions entered from internal systems, allocated by the main business system; reviews the prescriptions and marks the herbal medicine system type; breaks down the prescription; loads the medicine tray onto the transport cart, binds the medicine tray, transport cart, and prescription breakdown sheet together by scanning a code, and then dispatches the cart; the transport cart enters the smart medicine cabinet; when a transport cart needs to be refilled, its red light illuminates as it exits the smart medicine cabinet, and it stops at the refill station release point to wait for refilling, or the medicine box is manually removed and the cart waits for refilling. After manual refilling, the manual transfers the medicine box to the medicine inspection station to wait for all medicine boxes for the prescription to be collected, or the transport cart is released if it is out of medicine, enters the medicine inspection station, unbinds the transport cart, loads an empty medicine box, presses the release point button on the medicine inspection station, and the transport cart enters the cart waiting area;

[0073] When a delivery cart leaves the smart medicine cabinet, a yellow light illuminates if the medicine is out of stock. The system alerts the replenishment system, listing the herbal medicine as a "temporarily controlled drug" and sending it to the replenishment system. After troubleshooting and repairing the smart medicine cabinet, the unit's function is restored, and the temporary control of the herbal medicine is lifted. Delivery carts that do not require replenishment do not illuminate when leaving the smart medicine cabinet. They proceed to the drug inspection station interception point. If the station is not empty, the cart is not allowed to proceed and must wait. If the inspection station is empty, the cart for the same prescription is allowed to proceed: the first dose of the first prescription... One vehicle prints a "Drug Inspection Guideline" and a "Prescription Breakdown Sheet." The drug inspection guideline is clipped to the medicine tray. The transport trolley stops at the drug inspection station release point. The medicine boxes from the trolley entering the drug inspection station are removed and placed in the transfer area. The medicine boxes are then untied from the trolley. Empty medicine boxes are loaded into the untied trolley. The release point button for the drug inspection station is pressed, and the trolley enters the trolley waiting area. The medicine boxes stored in the transfer area await refills from subsequent trolleys. After all medicine boxes for the prescription are collected, the trolley proceeds to the drug inspection station.

[0074] During drug testing, the drug is tested by measurement. If the weight error is within the minimum range, a green light is lit and random sampling is carried out; if the weight error is within the allowable range, a yellow light is lit and random sampling is carried out; if the weight error exceeds the allowable range, a red light is lit and the entire drug is inspected.

[0075] If the drug inspection fails, determine whether the unit medicine cabinet is short of medicine or malfunctioning. If it is malfunctioning, the incorrect medicinal materials are manually entered into the system for emergency alarm. The system will then remind the shortage replenishment system to list the medicinal materials as "temporarily controlled medicine" and enter the shortage replenishment system. After troubleshooting and repair, the unit medicine cabinet function is restored, and the temporary control of medicinal materials is cancelled. If the medicine is short, the missing medicine is added to the corresponding replenishment station, and no system alarm is needed. If the drug inspection fails, check if there are any cases of missing or unsortable medicine. If so, the medicine is manually replenished. If not, the unsortable cases of missing, unsortable, or excessive medicine are scrapped, and a new order is dispatched. If the drug inspection passes, proceed to the prescription dispensing area, call for dispensing, and the patient receives the prescription medicinal materials, ending the process.

[0076] Compared with existing technologies, the beneficial effects of this invention are as follows: 1. Reduces manual operations in Chinese medicine pharmacies, saving labor costs; 2. Effectively reduces the error rate of manual dispensing operations, improves the accuracy of dispensing, and reduces accidents caused by dispensing errors; 3. Improves work efficiency, with the speed of intelligent fully automatic dispensing and dispensing being more than 5 times that of manual dispensing; 4. Prevents cross-contamination of Chinese medicinal herbs during the dispensing process; 5. Effectively prevents dust pollution problems inside the pharmacy; 6. This intelligent Chinese medicine cabinet system only requires different combinations of unit cabinets to achieve dispensing and picking of medicines mainly composed of bulk medicinal herbs or small-packaged medicinal herbs. That is, it can be applied to the dispensing and picking of medicines mainly composed of pure bulk medicinal herbs, medicines mainly composed of pure small-packaged medicinal herbs, and medicines mainly composed of a mixture of bulk medicinal herbs and small-packaged medicinal herbs. Attached Figure Description

[0077] Figure 1 This is a diagram showing the functions of the intelligent Chinese medicine cabinet system and the relationships between the systems.

[0078] Figure 2 This is a hierarchy diagram of the various systems and functions of the intelligent Chinese medicine cabinet system.

[0079] Figure 3 This is a configuration diagram of the control system software for an intelligent Chinese medicine cabinet system.

[0080] Figure 4 This is a hardware architecture diagram of an intelligent Chinese medicine cabinet system.

[0081] Figure 5 This is a diagram of the mechanical equipment system of the intelligent Chinese medicine cabinet.

[0082] Figure 6 This is a schematic diagram showing the combination of groups, columns, and rows of intelligent Chinese medicine cabinets.

[0083] Figure 7 This is a flowchart of the operation of the intelligent Chinese medicine cabinet system.

[0084] Figure 8 This is a diagram showing the prescription management and decomposition logic of an intelligent Chinese medicine cabinet system.

[0085] Figure 9 This is a logical relationship diagram for the management of medicinal materials and processed medicinal slices in an intelligent Chinese medicine cabinet system.

[0086] Figure 10 This is a classification diagram of prescription medicinal materials and processed medicinal slices.

[0087] Figure 11 This is a logic diagram of the intelligent Chinese medicine cabinet system for managing the dispensing of medicine.

[0088] Figure 12 This is a diagram showing the logical relationship between the intelligent Chinese medicine cabinet system and the management of the intelligent Chinese medicine cabinet.

[0089] Figure 13 This is a logic diagram of fault alarm troubleshooting and metering calibration for an intelligent Chinese medicine cabinet system.

[0090] Figure 14 This is a logical relationship diagram of the mobile APP for the intelligent Chinese medicine cabinet system.

[0091] Figure 15 This is a hardware configuration diagram of an intelligent Chinese medicine cabinet system.

[0092] Figure 16 Overall circuit structure block diagram of the intelligent Chinese medicine cabinet system.

[0093] Figure 17 This is the circuit block diagram of the unit medicine cabinet control board.

[0094] Figure 18 This is a flowchart of the process for retrieving medicine from a single unit medicine cabinet.

[0095] Figure 19 This is a block diagram of the control board circuit.

[0096] Figure 20 This is a schematic diagram of the bus-type communication scheme for the unit medicine cabinet control board.

[0097] Figure 21 This is a schematic diagram of a communication scheme using a switch star network bus between the PC managing the Chinese medicine cabinet and the cabinet control board.

[0098] Figure 22 This is a diagram showing the communication cable layout of the intelligent medicine cabinet subsystem.

[0099] Figure 23 It is a diagram of the power supply and power cable layout.

[0100] Figure 24 This is a diagram of the mechanical equipment system of the intelligent Chinese medicine cabinet.

[0101] Figure 25 This is a flowchart of the operation of the intelligent Chinese medicine cabinet system.

[0102] Figure 26 , Figure 27 , Figure 28 , Figure 29 These are 3D diagrams of straight-unit medicine cabinets, angled-opening medicine cabinets, split-type straight-unit medicine cabinets, and split-type angled-opening medicine cabinets.

[0103] Figure 30 yes Figure 29 3D view of a unit medicine cabinet (with the medicine dispensing door and the front door open).

[0104] Figure 31 yes Figure 30 The diagram shows the equipment configuration inside the medicine cabinet.

[0105] Figure 32 , Figure 33 They are Figure 31 The diagram shows the front door of the cabinet after the hopper has been removed, with the door open and closed.

[0106] Figure 34 yes Figure 31 The diagram shows a three-dimensional view of the drug administration gate.

[0107] Figure 35 , Figure 36 They are Figure 31 The 3D view and front view of the hopper are shown.

[0108] Figure 37 yes Figure 36 Left view of the hopper shown.

[0109] Figure 38 yes Figure 31 A perspective view of the baffle box shown.

[0110] Figure 39 yes Figure 31 A magnified view of a portion of the drug administration area.

[0111] Figure 40 yes Figure 31 The assembly diagram of the hopper and cabinet shown is shown.

[0112] Figure 41 yes Figure 40 Enlarged view of section B shown.

[0113] Figure 42 , Figure 43 They are Figure 37 The diagram shows the installation of the baffle-type composite conveyor belt medicine dispensing device on the hopper.

[0114] Figure 44 This is a 3D view of a baffle-type composite plate with a drug dispensing device.

[0115] Figure 44a , Figure 44b These are structural diagrams of the driven wheel and the support wheel, respectively.

[0116] Figure 44c This is a 3D view of the drive wheel assembly.

[0117] Figure 44d yes Figure 44 The diagram shows a perspective view of the driven wheel assembly deflecting about a rotation axis to accommodate a plate-type composite conveyor belt.

[0118] Figure 44e This is a three-dimensional view of the driven wheel assembly and the driving wheel assembly at the same horizontal position.

[0119] Figure 45 , Figure 46 , Figure 47 They are Figure 44 The front view, top view, and left view.

[0120] Figure 48 yes Figure 46 Cross-sectional view along line BB.

[0121] Figure 49 yes Figure 45 Cross-sectional view along line AA.

[0122] Figure 50 yes Figure 49 Enlarged view of part A.

[0123] Figure 51 , Figure 52 These are, respectively, a 3D view and a cross-sectional view of the baffle-type composite conveyor belt.

[0124] Figure 53 yes Figure 51 The diagram shows the structure of the mixing device inside the upper discharge hopper.

[0125] Figure 54 , Figure 55 They are Figure 31 The diagram shows a perspective view and a front view of the metering calibration device.

[0126] Figure 56 yes Figure 55 The diagram shows the weight falling into the weighing pan of the metering push-turning device.

[0127] Figure 57 , Figure 58 yes Figure 31 The diagram shows the rear door assembly with a motor cover and a diagram of the motor cover being removed (the rear door is in the closed position).

[0128] Figure 59 yes Figure 58 Enlarged view of part E (rear door device) shown.

[0129] Figure 60 yes Figure 58 The diagram shows the back door in the open position.

[0130] Figure 61 , Figure 62 These are 3D images showing the weighing pan after it has been removed from the metering push-turning device and after it has been reattached.

[0131] Figure 63 yes Figure 62 A 3D view of the weighing pan rotated 90 degrees.

[0132] Figure 64 , Figure 65 They are Figure 31The diagram shows the cabinet after dustproof isolation panels have been installed inside.

[0133] Figure 66 yes Figure 44 The diagram shows how the device dispenses Chinese medicinal herbs one slice at a time.

[0134] Figure 67 This is a cross-sectional view of a stainless steel nail-type composite conveyor belt.

[0135] Figure 68 This is a 3D view of a stainless steel nail-type composite conveyor belt. Detailed Implementation

[0136] The intelligent Chinese medicine cabinet system is an independent system composed of computer software, computer, drive control circuit board, mechanical structure, communication network, electrical circuit and other auxiliary electronic equipment. The system is an intelligent system that realizes the automatic metering and dispensing of Chinese medicine prescriptions, automatic retrieval and automatic collection of medicinal materials.

[0137] External systems are systems that are independent of this intelligent Chinese medicine cabinet system but related to it and used by the user.

[0138] The intelligent Chinese medicine cabinet system consists of: an intelligent Chinese medicine cabinet control system, prescription management function, medicinal material and processed slice management function, medicine dispensing guidance function, fault alarm and maintenance and metering calibration function, mobile APP system, and (1 to n) unit medicine cabinets. Each unit medicine cabinet is composed of a medicinal material and processed slice hopper, a medicine dispensing device (which may include a crushing device), a metering device (which may include a calibration device), a pushing and tilting device, a control circuit board, and other auxiliary devices. It is a cabinet with an independent operating program, capable of receiving instruction information, and independently operating, possessing the functions of dispensing, metering, and dispensing medicine.

[0139] The relationships between the various systems and functions of the intelligent Chinese medicine cabinet system are as follows: Figure 1 As shown.

[0140] Figure 3 This invention illustrates an intelligent traditional Chinese medicine cabinet system, which mainly consists of an external system, a medicinal herb and decoction piece management system, a prescription management and distribution system, a dispensing management system, an intelligent traditional Chinese medicine cabinet management system, a barcode and QR code management system, a user and user access management system, a data statistics system, a fault alarm, repair and metering calibration system, a mobile terminal, and an intelligent traditional Chinese medicine cabinet main control system. The external system PC, as well as the PCs for the medicinal herb and decoction piece management system, prescription management and distribution system, dispensing management system, intelligent traditional Chinese medicine cabinet management system, barcode and QR code management system, user and user access management system, data statistics system, fault alarm, repair and metering calibration system, and mobile terminal, are all connected to the intelligent traditional Chinese medicine cabinet management system PC.

[0141] Communication service relationships between the software, hardware, and devices of the intelligent Chinese medicine cabinet system:

[0142] Software communicates with each other via IP networks. Software and hardware communicate via IP networks. Adaptive connectivity: Once configured, each system software autonomously establishes connections without further manual configuration. The hardware communication layer provides system logs, recording the communication process in detail, which is beneficial for analyzing system faults and logical errors.

[0143] The hardware communication service calls the device service's basic data secondary parsing through its own registered event handling code; different devices use independent parsing codes, for example, fixed-point data will be parsed using the location point protocol.

[0144] Similar to the hardware service layer, it adopts an event registration method to forward device data to the event client for processing; it provides a registration service for internal clients to register processing code; the client code is registered according to the device type.

[0145] When data is received from the hardware communication service, it is first parsed at the second level. After successful second-level parsing, the client code registered by the corresponding type of device is triggered. To ensure processing efficiency, the device service event triggering will adopt an asynchronous mechanism.

[0146] Communication Mechanism: Lower-level systems or control boards (collectively referred to as "lower-level systems"), and higher-level system software (abbreviated as "higher-level systems"). Lower-level systems should send heartbeat data packets to the higher-level system at configured intervals. If other data reports occur within the configured time frame, they can replace the meaning expressed by the heartbeat data packet. All communication between the upper and lower-level systems uses a "request-response" method; that is, if one party initiates data transmission, it must wait for a response from the other. If no response is received within the configured time frame, the communication is considered unresponsive.

[0147] 485 communication special case:

[0148] Because the unit medicine cabinet control board and the cabinet row control board communicate via a 485 bus, the protocol mechanism is relatively simple. However, under external electromagnetic interference, the transmitted data may fail verification by the cabinet row control board. Therefore, a lower-level protocol mechanism is needed between the unit medicine cabinet control board and the cabinet row control board to allow the unit medicine cabinet control board to quickly retransmit without waiting. When forwarding system software instructions, if the unit medicine cabinet control board's verification fails, the unit medicine cabinet needs to allow the cabinet row control board to quickly retransmit without waiting. The maximum data capacity for a single communication between the unit medicine cabinet and the host computer is 16 bytes, supporting data exchange with the host computer at a rate of more than 10 times per second.

[0149] Data recovery: Delaying power outages preserves complete data and prevents data loss. After power is restored, the software and hardware resend information for the other party to confirm.

[0150] Fault recovery: Delay power outage to preserve complete data and avoid data loss. After power is restored, the software and hardware resend information for confirmation.

[0151] Intelligent Chinese Medicine Cabinet System:

[0152] 1. Basic functions: Create communication protocols with external systems; create communication protocols with internal systems; receive internal prescription data; have barcode and QR code design capabilities; have barcode or QR code recognition capabilities.

[0153] Subordinate system configuration: intelligent Chinese medicine cabinet control system, mobile APP system.

[0154] 2. Establishment of communication protocol:

[0155] External Communication Basic Service Protocol: Establishes a communication protocol with the customer management system, allowing the customer management system to access, send data to, and provide feedback to the customer management system. Internal Communication Protocol: Establishes communication protocols between internal systems and functions for data exchange. Data Consistency: Ensures real-time or delayed data consistency between systems and functions, and between hardware and software, through the design of communication protocols and mechanisms.

[0156] 3. Relationships with subordinate systems:

[0157] It has the function of internal prescription entry; it can create a connection with the mobile APP and realize data interaction through communication protocols.

[0158] 4. It has the functions of designing, recognizing, and managing barcodes and QR codes:

[0159] Equipment Management: Manages barcode or QR code printing equipment. Design and Print Barcodes or QR Codes: Configures barcode or QR code design functions; designs barcodes or QR codes by category; designs barcodes or QR codes for equipment such as unit medicine cabinets, medicine storage boxes, and user identification cards, and prints out the designed QR codes to be affixed to the corresponding equipment. Manage Barcodes or QR Codes: Records designed and printed barcodes or QR codes; allows modification of barcode or QR code designs; allows adding barcodes or QR codes; allows deletion of barcodes or QR codes. Record and Query: Provides functions for recording and querying barcodes or QR codes. Identification: Configures barcode or QR code identification functions.

[0160] 5. User and user permission management functions:

[0161] User Management: Authorized users can create, modify, and delete users. User Role and Permission Management: Setting Roles and Permissions: Authorized users can assign one or more roles to each user and configure corresponding permissions for different roles. Role and permission lists are managed, and each user can operate the corresponding system within the scope of their role's permissions. Adding Roles and Permissions: Authorized users can create new roles and configure corresponding permissions for those roles. Changing Roles and Permissions: Authorized users can change the corresponding permissions for users when their roles change. Deleting Roles and Permissions: Authorized users can delete user roles and permissions. Querying Roles and Permissions: Authorized users can query user roles and permissions. User Login Management: Password Login: ① Newly added users have an initial password. After logging in with the initial password, users can change their login password. ② A function to assist users in retrieving their passwords is available. ③ Authorized users can reset user passwords. User ID Card Scan Login: A function to log in to the system by scanning the barcode or QR code on the user's ID card. Querying Users: Query all users and their permissions within the system.

[0162] 6. Statistical functions:

[0163] Prescription Statistics: Real-time daily and monthly statistics on the number of prescriptions received (including those entered), the number of medicinal herbs / decoction pieces in each prescription, and the quantity of medicinal herbs / decoction pieces per prescription. Medicinal Herb / Decoction Piece Statistics: Real-time daily and monthly statistics on the actual quantity of medicinal herbs / decoction pieces dispensed from each prescription, and the actual quantity of medicinal herbs / decoction pieces dispensed per prescription. Fault and Measurement Calibration Statistics: Real-time daily and monthly statistics on fault types, the number of faults for each type, and calibration records for each measurement calibration. Statistical Query: Real-time query function with statistical capabilities.

[0164] 7. Monitoring function: Monitor the power-on and operating status of all unit medicine cabinets.

[0165] 8. Log recording service function: Provides log recording function for all operations of the intelligent Chinese medicine cabinet system, and statistical logs are permanently saved.

[0166] 9. Version management function:

[0167] It features convenient upgrade functionality, allowing for the development of independent automatic upgrade applications for easy and rapid updates to system software and hardware embedded programs; all supported system versions are automatically maintained, and new system upgrades will include all supported system versions.

[0168] Prescription management is the first step in the operation of the entire intelligent traditional Chinese medicine cabinet system, and it runs through the entire process. It serves as the basis for the intelligent traditional Chinese medicine cabinet system to retrieve medicinal herbs and decoction pieces; it is also the basis for the statistical function to calculate the prescription dosage.

[0169] Prescription Management:

[0170] 1. Prescription format:

[0171] 1.1 Prescription Content: The prescription content consists of three parts: ① Preface: Includes the name of the medical, preventive, or healthcare institution, prescription number, type of payment, patient's name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, etc., and may include items required by the specialty. (Since most medical institutions now use computerized intelligent management, a barcode or QR code has been added to the preface of the prescription to facilitate information entry and scanning.) ② Body: Marked with Rp or R (abbreviation of the Latin word Recipe, "take"), prescriptions for traditional Chinese medicine preparations should list the name, specifications, quantity, and dosage of the medicine. Prescriptions for traditional Chinese medicine decoction pieces should list the name, quantity, decoction method, and dosage of the decoction pieces. ③ Postscript: Physician's signature and / or official seal, amount of medicine, and signature of the pharmaceutical professional who reviewed, dispensed, checked, and issued the medicine.

[0172] 1.2 Prescription Writing Principles: According to the relevant provisions of Chapter 2 "Format and Requirements for Writing Traditional Chinese Medicine Prescriptions" of the "Standards for Traditional Chinese Medicine Prescriptions and Dispensing" published in 2005, prescription writing must comply with the following principles: (1) The general items of the patient recorded on the prescription should be clear, complete, and consistent with the medical record. (2) Each prescription is limited to medication for only one patient. (3) The handwriting on the prescription should be clear and should not be altered. If there are any modifications, the modification must be signed and the modification date must be noted. (4) Prescriptions must be written in standard Chinese or English. Chinese is limited to simplified characters published by the State Council on October 15, 1986 in the "General List of Simplified Characters". Do not create your own variant characters. Drug names cannot use Latin, but usage and dosage can be abbreviated in Latin. (5) Medical, preventive, and health care institutions or physicians and pharmacists shall not create their own abbreviations or codes for drugs. The writing of drug names, dosages, specifications, usage, and dosages must be accurate and standardized.

[0173] 2. Prescription Operation Management: Two software functions: prescription reception (including entry), prescription breakdown, and prescription query.

[0174] 3. Prescription identification:

[0175] Prescriptions transmitted from external systems must be in a format compatible with those recognized by the intelligent traditional Chinese medicine cabinet system. If the system cannot recognize the prescriptions, they must be converted and processed during the establishment of the communication protocol. Both prescriptions transmitted from external systems and prescriptions entered into the internal system must clearly indicate the decoction method for the medicinal herbs. This will serve as the basis for prescription breakdown. If no indication is provided, the prescription will be considered as a standard decoction and will not be broken down.

[0176] II. Prescription Receipt (including data entry):

[0177] 1. Receiving prescriptions in the customer management system:

[0178] Prescription reception in the customer management system: Receive prescriptions transmitted from the customer management system (external interface and external communication protocol); provide external call services via HTTP protocol, transmit prescription data using POST method, and the data is in JSON format; when the same new prescription arrives, if a prescription with the same number already exists in the system and is put on hold, it will be automatically deleted from the put-on list.

[0179] 2. Input and receipt of manually entered prescriptions:

[0180] The system offers manual prescription entry, allowing pharmacy staff to enter prescriptions that need to be retrieved immediately onto the computer within the intelligent traditional Chinese medicine cabinet system. It supports selecting medicinal herbs by their first letter (pinyin). Manually entered prescriptions also require review and confirmation before proceeding to the next step.

[0181] 3. Prescription queue management:

[0182] Prescriptions are automatically arranged in numerical order; eligible prescriptions can be pinned to the top or bottom; eligible prescriptions can be moved up or down one item; pinning or moving a prescription does not change its prescription number. The prescription queuing service is a system log provider, recording every change in the prescription queuing in detail.

[0183] III. Prescription Breakdown:

[0184] 1. Basis for prescription breakdown:

[0185] 1.1 Medicine Shortage Judgment: After recognizing a prescription, the intelligent Chinese medicine cabinet system first needs to determine whether all the medicinal materials and decoction pieces in the prescription are available in the system. If some medicinal materials and decoction pieces are missing, the information must be immediately pushed to the external system. At the same time, the intelligent Chinese medicine cabinet system will mark in the prescription which medicinal materials and decoction pieces could not be picked due to shortage.

[0186] 1.2 Decoction Method Judgment: After recognizing the prescription, the intelligent Chinese medicine cabinet system also needs to determine the decoction method of the prescription medicinal materials. Medicinal materials with special requirements for decoction methods are marked, such as: decoct first (shells, crustaceans, fossils, minerals, nourishing and tonifying materials, weakly toxic materials (such as raw Pinellia ternata, Asarum sieboldii, etc.), decoct later (aromatic and dispersing medicinal materials), decoct in a wrap (seeds), decoct separately (ginseng, etc.), melt (donkey-hide gelatin, deer antler gelatin, tortoise shell gelatin, and Glauber's salt, etc.), and separately powdered and mixed with other ingredients (Panax notoginseng, Fritillaria cirrhosa, cinnabar, amber, antelope horn, rhinoceros horn, etc.).

[0187] 1.3. Judgment of the physical characteristics of processed medicinal materials:

[0188] To meet the dispensing requirements of the unit medicine cabinet, some medicinal herbs need to be shredded. This means that some herbs are shredded before being added to the unit medicine cabinet, or are shredded and dispensed through the unit medicine cabinet's dispensing mechanism after being added. However, the appearance of shredded herbs differs from the pharmacopoeia's specifications, potentially causing unnecessary trouble and disputes. To address this issue, and in accordance with the relevant requirements of the "Standards for Prescription and Dispensing of Traditional Chinese Medicine," "shredding" is considered a type of "pulverization" in the processing method. The word "pulverized" is added in parentheses to the upper right corner of the herb name in the formal prescription, such as "Stir-fried Atractylodes macrocephala (pulverized)," thus complying with the requirements. Furthermore, after shredding, the smaller size of each herb makes it easier to extract its medicinal effects during decoction. This requires that the names of medicinal herbs and processed medicinal materials in the user management system be consistent with those in our system. Any medicinal herbs and processed medicinal materials that need to be broken into smaller pieces should be labeled as "crushed". The two systems should be completely compatible in terms of the names of medicinal herbs and processed medicinal materials. This can avoid our system having to modify the labels, thereby avoiding suspicion of "unauthorized modification of doctor's prescriptions".

[0189] 2. Prescription breakdown:

[0190] Prescription breakdown type:

[0191] Prescription medicinal materials are divided into shortage drugs and systemic drugs.

[0192] Missing medicines: These are medicinal herbs and decoction pieces that are not available in the intelligent Chinese medicine cabinet system. They generally include self-prepared medicines (medicines prepared by patients themselves, such as garlic and ginger), specially controlled medicines (medicines dispensed directly from the warehouse in fixed quantities, such as musk and arsenic), routinely controlled medicines (precious medicinal herbs and decoction pieces, toxic medicinal herbs and decoction pieces, medicinal herbs and decoction pieces with relatively light texture, strip-shaped medicinal herbs and decoction pieces (such as centipedes and seahorses), liquid medicinal herbs and decoction pieces, gelatinous medicinal herbs and decoction pieces, etc.), and temporarily controlled medicines (medicinal herbs and decoction pieces that cannot be dispensed by the intelligent Chinese medicine cabinet system for a short period of time due to malfunctions requiring repair).

[0193] Systematic medicines: Medicines in the intelligent Chinese medicine cabinet. Systematic medicines are further broken down into multiple prescriptions based on different decoction methods, such as decocting first, decocting later, wrapping and decocting separately, melting, or grinding into powder and mixing. The intelligent Chinese medicine cabinet system picks out the medicinal materials according to the decomposed prescriptions.

[0194] The content and format of "Breaking Down Prescription Lists":

[0195] The format of the split prescription is consistent with the relevant provisions of "I. Prescription Management: 1. Prescription Format" in this chapter. The intelligent Chinese medicine cabinet system assigns a prescription number such as [20210512-123 1 / 3-1 / 2(6)] (Explanation of prescription number: 20210512 refers to the prescription time: May 12, 2021, -123 refers to the number of prescriptions today, 1 / 3 refers to the first of 3 doses, -1 / 2 refers to the first of 2 split prescriptions for this dose, (6) refers to the total number of 6 split prescriptions for this prescription.) The lower right corner notes the sequence number of the split prescriptions: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6.

[0196] The breakdown prescription must include a detailed list of medicinal materials and the total dosage of all medicinal materials and herbs in the prescription, so as to facilitate inspection and verification by drug inspectors.

[0197] The "Decomposed Prescription List" can be viewed on the display screen of the intelligent Chinese medicine cabinet system and on the mobile app.

[0198] Prescription pre-disassembly: The intelligent Chinese medicine cabinet system receives queued prescriptions, and the system can pre-disassemble the top 5 prescriptions in the queue. Prescription pre-disassembly provides a prerequisite for the system to pre-pick prescriptions.

[0199] Prescription pre-picking: This function pre-distributes one or more prescriptions and medication order tasks. The intelligent Chinese medicine cabinet system pre-picks medicinal herbs and slices based on the dispensing status of each unit's medicine cabinet, ready to dispense the medication immediately upon the arrival of the prescription. It considers pre-picking queues for 1-3 prescriptions and can be adjusted according to user requirements.

[0200] IV. Prescription Inquiry:

[0201] 1. Check prescription status in the prescription management function:

[0202] The total number and details of prescriptions received and entered on the same day; the number of prescriptions in the real-time queue and their order; and the real-time order of broken-down prescriptions and their order.

[0203] 2. Statistical function: Send prescription statistical information to the statistical function.

[0204] Classification of Medicinal Herbs: Medicinal herbs are classified into two categories: those not available in the intelligent medicine cabinet system and those not part of the system. Medicinal herbs not available in the intelligent medicine cabinet system include: self-prepared herbs (such as garlic and ginger prepared by the patient); specially controlled herbs (such as musk and arsenic dispensed directly from the warehouse in fixed quantities); routinely controlled herbs (precious herbs, toxic herbs, herbs with a lighter texture, strip-shaped herbs (such as centipedes and seahorses), liquid herbs, and gelatinous herbs); low-frequency herbs (herbs used infrequently, sometimes only once a day or even every few days, but essential); and temporarily controlled herbs (herbs that cannot be dispensed from the intelligent medicine cabinet system for a short period due to malfunction or repair). Medicinal herbs included in the intelligent medicine cabinet system. The system further breaks down the medicinal materials into multiple prescriptions based on different decoction methods, such as decocting first, decocting later, wrapping and decocting separately, melting, or grinding and mixing with powder. The intelligent Chinese medicine cabinet system then retrieves the medicinal materials according to these prescriptions.

[0205] Management of medicinal herb properties and matching of medicinal herb slices with unit medicine cabinets:

[0206] Management of the properties of prepared medicinal materials:

[0207] The management of the properties of specially controlled drugs (marked with the letters TK) shall be carried out in accordance with the pharmacopoeia and relevant regulations.

[0208] Management of properties of commonly controlled drugs (marked with the letters CK): to be carried out in accordance with the pharmacopoeia and relevant regulations.

[0209] Management of the properties of systemic drugs (including those marked with the letter X):

[0210] (1) Systemic drugs that do not require fragmentation or pre-packaging shall be handled in accordance with the pharmacopoeia and relevant regulations;

[0211] (2) Systemic medicines requiring fragmentation: To meet the dispensing requirements of the unit medicine cabinet, some medicinal herbs need to be fragmented. This means that some medicinal herbs are fragmented before being added to the unit medicine cabinet, or are fragmented and dispensed through the unit medicine cabinet's dispensing mechanism after being added. However, the appearance of fragmented medicinal herbs differs from the pharmacopoeia's specifications, potentially causing unnecessary trouble and disputes. To address this issue, and in accordance with the relevant requirements of the "Standards for Prescription and Dispensing of Traditional Chinese Medicine," "fragmentation" is considered a type of "pulverization" in the processing method. The word "pulverized" is added in parentheses to the upper right corner of the medicinal herb name in the formal prescription, such as "Stir-fried Atractylodes macrocephala (pulverized)," thus meeting the requirements. Furthermore, after fragmentation, the smaller size of each individual medicinal herb makes it easier to extract its medicinal effects during decoction. This requires that the names of medicinal herbs and processed medicinal materials in the user management system be consistent with those in our system. Any medicinal herbs and processed medicinal materials that need to be broken into smaller pieces should be labeled as "crushed". The two systems should be completely compatible in terms of the names of medicinal herbs and processed medicinal materials. This can avoid our system having to modify the labels, thereby avoiding suspicion of "unauthorized modification of doctor's prescriptions".

[0212] (3) Systemic drugs requiring pre-packaging: Follow the pharmacopoeia and relevant regulations.

[0213] Matching medicinal herbs and prepared slices with unit medicine cabinets:

[0214] (1) Classify medicinal materials according to their physical characteristics. Medicinal materials of the same type should be processed using the same discharge mechanism. (Note: We can use lowercase letters a, b, and c to classify and represent the physical characteristics of medicinal materials.)

[0215] (2) The volume of the hopper or the amount of medicine loaded in the same discharge mechanism is determined by the bulk density of the medicinal materials. The properties of the same type of medicinal materials can be associated with one or more unit medicine cabinet hopper types, which are configured in the main control system.

[0216] (3) When medicinal herbs are placed on the cabinet, the system will identify whether the properties of the medicinal herbs are consistent with the properties supported by the cabinet unit. If they are inconsistent, the cabinet door will not be opened.

[0217] (4) The equipment should provide cabinet unit type parameters to the software for matching. The type of unit medicine cabinet is mainly determined by the hopper type, medicine dispensing mechanism, and metering mechanism. This type needs to be designed and planned in advance and built into the system.

[0218] (5) Add, modify, or delete the property types of medicinal materials.

[0219] 2.3 Management of the attributes of prepared medicinal materials:

[0220] Main attributes of medicinal materials and processed slices: Name of medicinal material, name of processed slices, alternative names of processed slices, form of processed slices (one of the following: powder, sand, granules, segments, blocks, spheres, spindles, flakes, filaments, strips, clumps, net-like, stamen-like, liquid, paste), standard density (g / ml), unit of measurement (one of gram, piece, strip), odor, meridian tropism, processing method, toxicity, incompatibilities, antagonisms, mutual restraints, contraindications to Western medicine, dietary restrictions, contraindications to human use, standard single-dose dosage range, standard single-dose maximum dosage, decoction method, decoction time offset (Note: for example, if decocted first, the time offset means decocting for n minutes first; if decocted later, it means decocting for n minutes later), pharmacopoeia usage, standard pretreatment type of processed slices when sold to customer units, and storage method.

[0221] The system automatically assigns a unique internal number to each type of medicinal herb slice. This number is stored in the intelligent Chinese medicine cabinet system. Only medicinal herb slices with this number that are present in the intelligent Chinese medicine cabinet system can be placed on the cabinet.

[0222] The format for the attribute number of medicinal materials is as follows: Attribute number of medicinal materials: CX12-a (Note: CX12 is the unique number of the system drug, and -a refers to the characteristic number of the medicinal material.)

[0223] Each intelligent Chinese medicine cabinet system needs to create a database of medicinal herb properties.

[0224] 2.4. Additions and subtractions of medicinal herbs and processed medicinal materials:

[0225] Adding new medicinal herb processing categories: Manually enter (or batch import) new medicinal herb processing categories, and the system will automatically assign a unique internal number to the medicinal herb processing category (the numbering format is the same as in section 2.3.4).

[0226] Remove the category of prepared medicinal herbs:

[0227] ① Remove medicinal herbs and slices. Medicinal herbs and slices to be removed must be taken off the shelves in advance (if they have already been put on the shelves);

[0228] ② Traverse all intelligent Chinese medicine cabinet systems and find that the medicinal herb slices do not exist in any unit of the cabinet;

[0229] ③ When a medicinal herb is deleted, its serial number is also deleted. The serial numbers of other medicinal herbs remain unaffected. If a new medicinal herb is entered that requires this serial number, the system must record all historical information for that serial number.

[0230] 2.5 Importing medicinal herb and processed herb categories into the medical institution's management system:

[0231] When importing from an Excel spreadsheet, the Excel file must meet the specified format.

[0232] Using the name of the medicinal herb as the synchronization basis, the newly added medicinal herb in the Excel file is added to this system and a unique number is automatically generated.

[0233] If the medicinal herbs in the Excel spreadsheet have numbers, then a separate column with system numbers needs to be added in the Excel spreadsheet for easy reference.

[0234] Intelligent Chinese Medicine Cabinet Dosing Management:

[0235] Medication dosing request data flow: The unit medicine cabinet issues a medication dosing request (which includes a dosage reminder), and at the same time, the warning light alarms → the request is sent to the intelligent Chinese medicine cabinet system → the medication dosing guide is sent.

[0236] 2. Intelligent Chinese Medicine Cabinet Dosing Management:

[0237] 2.1 Dosing Procedure:

[0238] The process involves the employee using their mobile terminal to scan the barcode on the unit medicine cabinet's dispensing door, followed by the corresponding cabinet warning light flashing. The door is then opened, medication is dispensed, and the dispenser enters and confirms the dosage on their mobile terminal. The dispensing door is then closed (it can only be closed after the dispenser has entered and confirmed the dosage on their mobile terminal). This ensures accurate dispensing and guarantees that the cabinet is opened only after the dispenser is in position, minimizing system downtime.

[0239] When issuing a medication refill request, the unit medicine cabinet must specify the quantity of medication to be refilled. (Both software and equipment design must consider that medication is added in multiples of one or two bags. Therefore, the volume of the unit's hopper should be 1.2 times that of one bag, or 1.2 times that of N bags plus one bag. When the remaining amount of medication in the unit's hopper is less than 20% of a full bag, the unit will sound an alarm to prompt for medication refill. This design facilitates adding medication in whole bags. It is required that suppliers customize bagging according to specified weights when purchasing medicinal herbs and slices.)

[0240] 2.2. Management of Remaining Medicinal Herbs and Slices in Unit Medicine Cabinets:

[0241] The 20% remaining dosage calculation for alarm purposes is as follows: Remaining dosage = Remaining dosage before addition + Added dosage - N (the amount of dosage dispensed). An alarm will sound to notify the user to add more medication when the remaining dosage is less than or equal to 20% of the total bag.

[0242] Balance monitoring: During equipment design, easily identifiable weight scale lines are set at 20% or less of the total weight of the bag of medicinal materials in the unit medicine cabinet. During the addition of medicine, the height difference between the scale line and the remaining medicinal materials is checked at random times to estimate the actual balance of medicinal materials in the hopper. The estimated balance is compared with the balance displayed by the system. If a serious discrepancy is found, the warehouse staff should promptly issue a re-inspection request and apply to stop the use of the unit medicine cabinet to verify the reason.

[0243] Balance error correction: The remaining amount of medicinal materials and slices in the medicine cabinet is manually counted and weighed on a monthly or quarterly basis, and compared with the remaining amount displayed in the system to correct the balance error.

[0244] 1. When adding herbs from different batches to the intelligent Chinese medicine cabinet, a cabinet clearing process is required: If, after manual comparison, it is found that the herbs added this time are from different batches, click "Batch Mismatch" on the mobile terminal interface. The mobile terminal interface will display a "Clear Cabinet" prompt and provide two options: "Clear Cabinet and Add Herbs" or "Stop Adding Herbs". If "Clear Cabinet and Add Herbs" is selected, the remaining amount in the hopper will be cleared or the remaining herbs will be discarded. Then, the cabinet will be opened for clearing and adding herbs. If "Cancel Adding Herbs" is selected, the cabinet will not be opened, and the adding operation will be canceled.

[0245] (If continuous dispensing occurs, a drug shortage alarm may appear. Fault 1: The system displays that there is drug, and the dispensing mechanism continues to run, but the metering mechanism cannot measure the amount; Fault 2: The system displays that there is no drug, but there is actually drug. Handle as faults.)

[0246] 2. Management of infrequently used medicinal herbs and decoction pieces: Infrequently used medicinal herbs and decoction pieces may not be added again for a long period of time after the first addition, which makes them prone to insect infestation. For these medicinal herbs and decoction pieces, if no addition or replacement of medicinal herbs and decoction pieces is made within a specified time (set by the user), the system must prompt for clearing out the shelves.

[0247] The intelligent Chinese medicine cabinet system consists of a cabinet frame, multiple unit cabinets, material feeding equipment (conveyor belt, material feeding drum), communication cables and cable trays, power cables and cable trays, and other related equipment.

[0248] Configure cabinet rows: Configure cabinet rows that have been successfully added; Configure associated positioning points and their numbers. When associating positioning points, the hardware number of the positioning point must be used; Configure the specified unit medicine cabinet.

[0249] Configuration of cabinet units:

[0250] For a specific unit on a designated cabinet row, specify its unit number, packaging device type, dispensing mechanism number and type, and weighing pan type. A single unit medicine cabinet can be configured with 1-3 hoppers (including the dispensing mechanism). The type of medicinal herbs / slices must be specified for each unit medicine cabinet. During production, each unit medicine cabinet must have a unique number and barcode, which must be permanently installed on the cabinet body. The intelligent Chinese medicine cabinet system must collect and input this barcode information during the installation and configuration of the unit medicine cabinet, and bind it to the hardware barcode. During use, this barcode is the sole basis for scanning to open the cabinet (opening the medicine dispensing cabinet door and the main cabinet door). The unit medicine cabinet control board hardware needs its own unique number, which is used for system communication. When configuring a unit medicine cabinet, the control board actively reports the system hardware number online. When replacing the control board, the cabinet number must be re-bound. Multiple hoppers use multiple numbers. If one hopper in a multi-hopper configuration malfunctions, all hoppers must report the malfunction.

[0251] Cabinet unit unlocking: Receives an unlocking request from the mobile app system to open the dosing door; receives an unlocking request from the mobile app system to open the cabinet door.

[0252] Operation and management of the intelligent Chinese medicine cabinet system:

[0253] The dispensing process, which is mainly based on the serial bin system, is as follows: the operator clicks on the computer or mobile terminal to issue the medicine picking command → the medicine is dispensed from the unit medicine cabinet → the dispensed medicinal materials are collected on the bottom conveyor belt through the serial bins → the conveyor belt transports the medicinal materials to the discharge port and into the medicine storage box, thus completing the dispensing process.

[0254] The main dispensing process using a conveyor belt is as follows: The operator issues a medicine picking command via computer or mobile device → the medicine is dispensed from the unit medicine cabinet → the dispensed medicinal materials are collected on the conveyor belt → the conveyor belt transports the medicinal materials to the discharge port, and they enter the storage frame through the stringing bin, completing the dispensing process.

[0255] Pre-pickup of medicine in unit medicine cabinet: Considering the pre-pickup queuing of 1-3 prescriptions, the settings can be adjusted according to user requirements. The maximum design limit of the intelligent Chinese medicine cabinet system is that 100 medicine cabinets can be operated at the same time.

[0256] Each unit medicine cabinet must have a separate control board. The cabinet control board can control no more than 20 unit medicine cabinets. The cabinet control board interfaces with the main control system.

[0257] Unit medicine cabinets can be divided into two types according to the number of hoppers inside: single-hopper unit medicine cabinets and multi-hopper unit medicine cabinets.

[0258] The single-hopper unit medicine cabinet has only one inlet, one hopper, one discharge mechanism and one metering mechanism, and features simple discharge and discharge control.

[0259] Multi-hopper unit medicine cabinets have two or more inlets, two or more hoppers, and two or more discharge mechanisms, but share a set of metering and discharge mechanisms.

[0260] Multi-hopper unit medicine cabinets typically hold the same medicinal material prepared in different ways, such as: processed Pinellia ternata, ginger-processed Pinellia ternata, prepared Pinellia ternata, raw Pinellia ternata; and also, stir-fried Atractylodes macrocephala, raw Atractylodes macrocephala, etc., which have the characteristics of complex discharge control.

[0261] Multi-hopper units can also be used in medicine cabinets with pre-filled medicine bags, such as 125 or 510 units.

[0262] The software program, hardware design, and hardware programming all need to be specifically designed to meet the discharge requirements of both single-hopper unit medicine cabinets and multi-hopper unit medicine cabinets, so as to meet the overall operation of the medicine cabinet.

[0263] Unit medicine cabinet dispensing error management: The measurement error of a single medicine should be controlled within ±0.2g, and the measurement error of the total prescription weight should be controlled within 2-3%.

[0264] The dispensing error setting must be controlled within 0.2 grams. When setting the weighing, the lower limit should be set to be less than the required weight of the herb by 0.2 grams. The upper limit of the dispensing error should not be set. If an upper limit must be set, it should be set according to the total weight of the required weight of the herb plus the maximum weight of a single herb. Moreover, even if the dispensing amount from the hopper exceeds the upper limit of the dispensing error, the herb slices must still be dispensed, and the system will issue an alarm to prompt the operator to handle the situation.

[0265] The mobile app uses WebSockt technology to keep the status of the smart Chinese medicine cabinet system synchronized at all times.

[0266] The system queries and retrieves all cabinets of a specified master control system; the cabinets are displayed in a visually appealing graphical format; the cabinets are arranged from left to right, and if they exceed the interface boundaries, they are displayed on a new line.

[0267] Cabinet Unit Display: Each cabinet column in the graphic is displayed as a combination of multiple cabinet units; if a cabinet unit contains multiple hoppers, then the corresponding number of hoppers will be displayed in the cabinet unit graphic.

[0268] Cabinet Unit Monitoring: Monitors the real-time status and actions of cabinet units; real-time status includes: waiting, working, cabinet unit medicine dispensing door or cabinet door is open; real-time actions include: retrieving materials, packing, and emptying. Enables real-time monitoring of the remaining medicine in the cabinet via mobile device.

[0269] Fault display: Graphical alarm for unit medicine cabinet fault; graphical alarm for cabinet row group fault.

[0270] View pending prescriptions: Check the breakdown status of prescriptions; prescriptions are displayed in a list format; a button is provided next to each pending prescription to view prescription details. Adjust prescription priority:

[0271] Each item in the list of prescriptions to be processed has a "Pin to Top" button next to it, which can be set as the first prescription in the list to be processed with one click.

[0272] The mobile app displays a matrix list of all unit medicine cabinets. Each cell in the table corresponds to a unit medicine cabinet. Real-time monitoring of the remaining medicinal materials in each cabinet displays the unit medicine cabinets that need replenishment, prompting the user to do so. The table uses yellow and red indicators to show the urgency of replenishment: yellow indicates the unit medicine cabinet is already waiting to be replenished, while red indicates it needs immediate replenishment. After replenishment, the indicator color returns to normal. Clicking on each cell displays the unit medicine cabinet code, the cabinet column and layer number, and the name and quantity of the medicinal materials to be replenished, facilitating easy searching and verification by warehouse staff.

[0273] The mobile terminal should have scanning and photo-taking functions, and be able to scan the code to open the hopper door or the cabinet door of the unit medicine cabinet, or open the cabinet to retrieve the unit medicine cabinet in case of malfunction.

[0274] Once the system determines that medication can be added, the UI will be locked and display "Waiting for cabinet to open";

[0275] Waiting for the system to open the cabinet. After the cabinet is opened, the UI interface remains locked and displays "Cabinet opened".

[0276] After manual addition of medication, the UI remains locked until the mobile device inputs the dosage and clicks "confirm" before the medication cabinet door can be closed.

[0277] System status when a unit medicine cabinet malfunctions:

[0278] On the mobile app's display interface, in the unit medicine cabinet matrix list, the corresponding table column displays the word "Fault," indicating that the unit medicine cabinet is deceased and needs to be checked.

[0279] The intelligent Chinese medicine cabinet system will disable this unit's medicine cabinet;

[0280] Subsequent prescriptions affected will not be able to pick up this medicinal herb slice.

[0281] The distribution cabinet consists of: a main circuit breaker, residual current protection, branch circuit breakers for each subsystem, and grounding protection. It also includes a 2kW switching power supply (220V-24V) and one power supply unit for 50 medicine cabinets.

[0282] Hardware components of the intelligent Chinese medicine cabinet system:

[0283]

[0284] AC+AP WiFi coverage setup: The number and location of APs will be adjusted based on the system scale and on-site deployment. WiFi roaming support is ultimately required. Low-voltage cabling, network cabling, and control cabling should consider high- and low-voltage separation and interference isolation, taking these factors into account from the initial design stage. A large monitor is needed.

[0285] Each unit medicine cabinet must have a durable barcode upon leaving the factory. The unit medicine cabinet is equipped with a three-color warning light (red, yellow, and green). A green light indicates sufficient medication; a yellow light indicates the medication level is less than 20% and needs to be replenished; a red light indicates the medication level is less than 10% and urgently needs to be replenished. The warning light returns to green after the medication has been replenished and confirmed. The names of the medicinal herbs and prepared slices are displayed on labels.

[0286] Hardware circuit configuration of the unit medicine cabinet control board (including multi-hopper drive):

[0287]

[0288] A single medication retrieval process controlled by the unit medicine cabinet control board driver:

[0289] Upon receiving the medicine-picking instruction from the intelligent traditional Chinese medicine cabinet system, the unit medicine cabinet control board begins controlling the medicine-dispensing motor. As the medicinal herbs and slices enter, the weighing scale continuously records measurement data and sends it to the unit medicine cabinet control board. (If, despite the medicine-dispensing motor running, the weighing scale fails to record measurement data within the specified time or the measurement data remains unchanged within the specified time, the unit medicine cabinet control board determines there is a hopper discharge fault, checks if the medicine-dispensing motor is stalled, and if so, controls the medicine-dispensing motor to reverse and retry; otherwise...) If the dispensing motor is found to be malfunctioning, a fault alarm will be triggered. When the unit medicine cabinet control board senses that the weight of the dispensing herbs has not reached the set value (generally, the set value is: the weight of the dispensing herbs reaches 10% of the commanded weight or the remaining undispensed weight is only 3 grams), the unit medicine cabinet control board will control the dispensing motor to continue dispensing herbs until the set value is reached. When the unit medicine cabinet control board senses that the weight of the dispensing herbs has reached or exceeded the set value, the unit medicine cabinet control board will control the dispensing motor to jog the dispensing herbs. If the unit medicine cabinet control board senses that the weight of the dispensing herbs has not reached the commanded weight, the unit medicine cabinet control board will trigger the dispensing motor to jog the dispensing herbs. When the error value is within the specified range, the unit medicine cabinet control board controls the motor to continue jogging the medicine until the error value of the instructed weight is reached or exceeded, at which point the medicine-taking motor stops. The unit medicine cabinet control board receives the final weighing data sent by the weighing scale. If the final weighing data is within the error range, it waits for the transport trolley to arrive and dispense the medicine (if the final weighing data is abnormal, a fault alarm is triggered, and the unit medicine cabinet stops working). When the transport trolley arrives, the weighing pan push-dispensing device begins to push and tilt the medicine out (if the weighing pan push-dispensing device fails to complete the pushing and tilting dispensing action within the time limit, the unit medicine cabinet control board...). If a retry is initiated and fails, the weighing pan dispensing device is deemed malfunctioning, and an alarm is triggered. If the retry is successful, the next step continues. The weighing pan dispensing device must stop dispensing the medicine after it has reached its designated position and then begin the reset process after a certain delay until the reset is complete. (If the weighing pan dispensing device fails to complete the reset process within the timeout period, the unit medicine cabinet control board initiates a retry. If the retry fails, the weighing pan dispensing device is deemed malfunctioning, and an alarm is triggered. If the retry is successful, the next step continues.) At this point, the unit medicine cabinet has completed one medicine retrieval cycle.

[0290] Unit medicine cabinet control board software functions:

[0291]

[0292]

[0293] Troubleshooting for unit medicine cabinets:

[0294]

[0295] The measurement error for a single herb should be controlled within ±0.2g, and the measurement error for the total weight of the prescription should be controlled within 2-3%.

[0296] Dispensing error setting: The error must be controlled within 0.2 grams. When setting the weighing, the lower limit should be set according to the weight that should be less than the required weight of the herb by 0.2 grams. The upper limit of dispensing error should not be set. If an upper limit must be set, it should be set according to the total weight of the required weight of the herb and the maximum weight of a single herb. Moreover, even if the dispensing amount of the hopper exceeds the dispensing error upper limit, the herb slices must still be dispensed, and the system will issue an alarm. After the medicine tray leaves the medicine cabinet, it should be handed over to the drug inspection personnel for processing.

[0297] Basic requirements for column control panel:

[0298] When the maximum interface capacity is less than 20 and the number of units in a single row is less than 10, one control board controls two rows of cabinets; when the number of units in a single row is between 10 and 20, one control board controls one row.

[0299] If the column control fails, the main control system should be shut down for maintenance.

[0300] All unit medicine cabinet control boards, column control boards, and system computing unit motherboards must use engineering control boards, and all components used must be industrial-grade components.

[0301] Column control board hardware circuit configuration:

[0302]

[0303] Column control panel software functions:

[0304]

[0305] Dosing guidance function

[0306] Display screens and mobile device screens:

[0307] 1. List of Herbal Medicinal Materials for Addition: The display interface on the monitor and mobile terminal shows a list of herbal medicinal materials that need to be added. Each cell in the table corresponds to a unit medicine cabinet and the herbal medicinal materials it contains. The table uses green and red indicators to show the urgency of adding the medicine: green indicates sufficient quantity of the corresponding medicine, yellow indicates the medicine is ready to be added (the remaining quantity in the medicine cabinet hopper is less than 20%), and red indicates the medicine must be added immediately (the remaining quantity in the medicine cabinet hopper is less than 10%). After adding the medicine, the indicator color of the corresponding cell returns to normal. Clicking on each cell will display the unit medicine cabinet number, the name of the herbal medicinal materials, and the quantity of medicine to be added, making it easy for the person adding the medicine to find the correct one. After adding the medicine, the quantity must be entered, and the unit medicine cabinet must be confirmed before closing the unit medicine cabinet. After closing the unit medicine cabinet, the medicine adding task is completed, and the warning color of the corresponding cell returns to green.

[0308] 2. The mobile terminal receives and processes information transmitted from the intelligent Chinese medicine cabinet system.

[0309] 3. Hardware Components: Shared equipment with the intelligent Chinese medicine cabinet system: computing unit, monitor, mouse, and keyboard;

[0310] Separately configured device: Mobile terminal.

[0311] The unit medicine cabinet needs to periodically poll the data.

[0312]

[0313] The total data is 12 bytes, plus 4 bytes for the address, 2 bytes for the message sequence number, 1 byte for the message type, and 4 bytes for the checksum, totaling 23 bytes. Assuming a host polling message is 10 bytes, and considering 3 times the bus bandwidth, the required bandwidth is (10+23)*10*10*20*3 = 198kbps.

[0314] Data that does not require periodic polling (debugging data, calibration data, upgrade data) is generally polled when the equipment is idle, or only for a single unit of medicine cabinet, and has a limited impact on the polling cycle, so it will not be listed here.

[0315] Communication scheme selection for unit medicine cabinet control board:

[0316] Communication scheme selection for the control board (between the computing unit and the control board of the cabinet row in the intelligent Chinese medicine cabinet system).

[0317] Considering 32 column control boards, each column control board connects to 20 unit medicine cabinet control boards, with 10 data updates per second, and assuming a host polling message of 10 bytes, and considering 3 times the bandwidth, the required total bandwidth is ((23*20)+10)*32*10*10*3 / 1000 / 1000=4.512Mbps.

[0318] A star network bus structure with switches is adopted.

[0319] The communication of the intelligent Chinese medicine cabinet subsystem adopts a combination of RS485 and Ethernet: RS485 is a bus-type host polling system; Ethernet is a switch star network bus structure.

[0320] Circuit design: The mains power supply is a 380V three-phase five-wire power supply, with a single-phase voltage of 220V;

[0321] The intelligent Chinese medicine cabinet converts 220V AC to 24-32V DC. All electrical components in the intelligent Chinese medicine cabinet use 24V DC voltage, and all motors (including stepper motors) are DC brushless motors.

[0322] The power cable between the user distribution cabinet and the power switch box: The intelligent Chinese medicine cabinet system is designed to operate a maximum of 100 cabinets simultaneously. The average maximum power of the cutting unit cabinet is 680W, accounting for approximately 30% of the total number of unit cabinets. The average maximum power of the other unit cabinets is 45W, accounting for approximately 70% of the total number of unit cabinets, for a total maximum operating power of 23,550W. The maximum operating power of the track trolley system is 1,500W, the estimated operating power of the drug shortage replenishment subsystem is 300W, the estimated operating power of the drug testing subsystem is 300W, and the estimated operating power of the prescription receiving and dispensing system is 600W, for a total maximum operating power of 26,250W. A three-phase five-wire system is used, with a three-phase voltage of 380V and an operating current of 120A. Referring to the "Common Conductor Current Carrying Capacity and Load Power Comparison Table," 35mm² wires are selected based on the maximum calculated load. 2 Any copper core wire will suffice; however, based on the maximum calculated current, a 35mm² wire must be selected. 2 When selecting copper core wire, choose the largest possible diameter; therefore, a single-core wire with a diameter of 35mm is selected. 2 Copper core wire.

[0323] The cabinet rack adopts an assembly design. Power and communication cables are pre-laid and concealed within the rack's uprights during factory production. Connectors are installed at the top where they connect to the main line, and at the middle where they connect to each individual medicine cabinet, facilitating connection to the lines and cabinets. All cable exits from the uprights are sealed with rubber loops to prevent rodents and insects from entering and gnawing on the cables. The cabinet rack and individual medicine cabinets are connected by slotted joints for easy disassembly and installation. The cabinet rack and the connecting tube employ a detachable assembly design. Each unit on the rack is an independent, tightly packed, and replaceable individual unit. The lowest layer of the front of the rack is designed with a height of 15mm–200mm to accommodate ground elevation differences and meet the operating height requirements of the rails and transport trolley. Power and communication cable trays and the rack control panel are installed at the top of the rack, designed for easy and quick installation and removal of these components. A single cabinet row consists of two sets of individual medicine cabinets on the left and right, accommodating two sets of unit medicine cabinets. A track-guided aisle is located at the bottom, with a swivel tube installed at the top. A row of intelligent traditional Chinese medicine cabinets is composed of multiple rows of unit medicine cabinets. The cabinet row height is designed according to the height dimensions of the unit medicine cabinets; based on typical building heights, it can accommodate 4-10 layers of unit medicine cabinets. The number of cabinet rows can be arranged according to user needs, allowing for rapid expansion when additional rows are required.

[0324] The unit medicine cabinet consists of: cabinet box, hopper, material handling mechanism, metering push and tilting device, front door, medicine dispensing door, rear door device, metering calibration device, and control panel box. The front door and medicine dispensing door are equipped with electromagnetic spring locks with manual forced unlocking device. Each device is equipped with motors and other electric facilities of different models.

[0325] Cabinet box: The cabinet box is the outer shell of the unit medicine cabinet. It almost incorporates the hopper, material handling mechanism, metering push and flipping device, front door, medicine dispensing door, rear door device, metering calibration device, and control panel into the cabinet box, forming an independently operating module.

[0326] Hopper: The hopper is connected to the unit medicine cabinet and is where the medicinal herbs and processed medicinal materials are stored in the unit medicine cabinet, occupying the largest volume in the cabinet. The design of the hopper must take into account the properties, bulk density, and the form of the discharge inlet of the medicinal herbs and processed medicinal materials being stored; hopper shapes are divided into straight hopper type, arc hopper type, single hopper type, and multi-hopper type;

[0327] Dispensing error setting: The error must be controlled within 0.2 grams. When setting the weighing, the lower limit should be set according to the weight to be calculated of the herb by 0.2 grams. The upper limit of dispensing error should not be set. If an upper limit must be set, it should be set according to the total weight of the herb to be measured plus the maximum weight of a single herb. Moreover, even if the dispensing amount from the hopper exceeds the dispensing error upper limit, the herb slices must still be dispensed, and the system will issue an alarm. After the medicine tray leaves the medicine cabinet, it is handed over to the medicine inspection station for processing.

[0328] String tube classification:

[0329] Combination cassettes: Based on the number of groups and columns of the unit medicine cabinets they support, they are divided into three types: single-group cassettes, single-row cassettes (2-in-1), and double-row cassettes (4-in-1).

[0330] Single-unit stringer: A single-unit stringer can receive medicinal herbs and slices from a single unit of medicine cabinet or from the layered conveyor belt of an intelligent Chinese medicine cabinet. The receiving port corresponds to the discharge port of each unit of medicine cabinet or the conveyor belt, and it is easy to configure a dust collection device.

[0331] Single-row feeder: The single-row feeder receives medicinal herbs and slices from two sets of single-row unit medicine cabinets. It has two opposite receiving ports on the same layer, and can receive the discharge from two unit medicine cabinets on the same layer at the same time.

[0332] Double-row feeder: The double-row feeder receives medicine from four sets of two-row unit medicine cabinets. It has four opposite receiving ports on the same layer, and can simultaneously receive the discharge from four unit medicine cabinets on the same layer.

[0333] This invention can be used for dispensing all bulk Chinese medicinal herbs, for dispensing a mixture of bulk and bagged Chinese medicinal herbs, and for dispensing all bagged Chinese medicinal herbs.

[0334] The scope of application of this invention for Chinese herbal medicine pieces includes: bulk Chinese herbal medicine pieces and bagged Chinese herbal medicine pieces, granule preparations that do not require decoction, and liquid Chinese herbal medicine preparations.

[0335] In the attached diagram, there is a rivet 6, a dregs bag 15 (placed at the rear of the dregs box 16), a hinge hole 20, a fixing pin 21, a sealing strip 34 on the upper cover plate, a fixing rivet 35 for the baffle box, a fixing hole 44 for the hopper (to fix the hopper assembly to the cabinet with screws), a bearing cover plate 1012, and a positioning screw 2026.

[0336] Unit medicine cabinets are classified as follows: straight unit medicine cabinets, slanted unit medicine cabinets, split-type straight unit medicine cabinets, and split-type slanted unit medicine cabinets (see...). Figures 1-4 ).

[0337] 1. The plate-type top-discharge cutting unit cabinet consists of a cabinet box, control circuit board, hopper, conversion cutting device, stirring device, metering pushing and turning device, metering calibration device, front door, dosing door, and rear door device. Each device is equipped with different types of motors and other electrical facilities.

[0338] 2. The cabinet consists of the cabinet body, front door lock, hopper positioning groove, wire groove, plug-in terminal block, fixing pin, front door rubber gasket seal, etc.

[0339] 3. The hopper consists of the hopper body, hopper top cover plate, left and right dosing door side baffle boxes, dosing door side baffle sealing brush strips, dregs box, hopper positioning pins, dosing door D-shaped sealing strips, top cover plate sealing strips, medicine dispensing device slots, pressure roller assembly, pressure roller spring plates, etc.

[0340] 4. The cabinet front door consists of a cabinet front door panel, control panel box, cabinet front door latch, low medicine indicator light, fault indicator light, etc. It has control panel heat dissipation mesh and electric lock manual unlocking hole.

[0341] 5. The dosing door consists of a dosing door shell, a dosing door inner sealing plate, a dosing door side baffle, a dosing door arc spring plate, and a dosing door electric lock.

[0342] 6. The rear door device consists of a motor cover, motor base, motor, sensor actuation disc, connecting rod, rear door limit sensor, rear door reset sensor, upper rear door sealing plate, and lower rear door sealing plate.

[0343] Figure 31As shown, the unit medicine cabinet consists of a cabinet box 1 and a hopper assembly. The hopper assembly is formed by an integrated hopper 5 and a top cover 7. The top cover of the rectangular box is fastened to the top opening of the cabinet box. The hopper extends into the inner cavity of the cabinet box. A dosing door 8 is hinged to the dosing port at the front of the top cover. Side baffles 28 are provided on both sides of the dosing door. A baffle box 9 is fixed on the inner side wall of the dosing port on the top cover, which is used to insert the side baffles of the dosing door when the dosing door is closed. The front door 13 is located at the front of the cabinet box, and the rear door for dispensing medicine is located on the rear panel of the cabinet box. An automatic rear door opening and closing device 4 is provided. The opening of the rear inclined plate of the hopper slopes upwards. A baffle-type composite conveyor belt for dispensing medicine is provided: the drive wheel 204 is a columnar body with a flange on both end faces; the reduction motor consists of a motor 201 and a reducer 202, which is installed on the vertical section outside the left side plate 2016; the D-shaped inner hole 205 on the left end face of the drive wheel is fitted and fixed on the output shaft 203 of the reduction motor; the shaft on the right end face of the drive wheel is mounted on the right side plate 2021 via a bearing 2020; the right side plate and the left side plate are the same shape and symmetrically arranged; a support wheel assembly 2018 consisting of multiple support wheels is installed and fixed between the left and right side plates 2016 and 2021. The top height of each support wheel is the same as the top height of the drive wheel and both are horizontal. Each support wheel 2010 has the following structure: a pin 2012 is mounted on two needle rollers 2011 inside the cylindrical body 2010; the right end of the pin extending out of the cylindrical body has a disc for securing it to a hole in the left side plate 2016; the left end of the pin extending out of the cylindrical body has a groove for securing a retaining spring 2013; a rotating shaft 2019 located below the support wheel assembly is rotatably positioned between the rear parts of the left and right side plates. The left side plate is a bent plate with a horizontal leftward section, a vertical downward section, and a horizontal rightward section. On the horizontal section at the top of the right side plate, there are also locking strips 2027 fixed with screws. These locking strips are used to press onto the baffle-type conveyor belt to prevent the Chinese herbal medicine pieces from leaking out of the composite belt. The driven wheel 206 has the following structure: there is a flange on both end faces of the cylinder. The driven wheel shaft 207 is installed on two bearings 208 inside the cylinder. There are slots on both outer ends of the driven wheel shaft that extend out of the cylinder. The retaining spring 209 is fixed in the slots. The driven wheel assembly 2024 is as follows: the driven wheel is rotatably installed between the left and right side plates 2025 of the driven wheel with the same shape. Another support wheel is movably arranged between the left and right side plates of the driven wheel.The left and right side plates of the driven wheel are fixedly mounted on the rotating shaft. When the driven wheel assembly is not fixed and is in a free-hanging state, the baffle-type composite conveyor belt 2029 can be fitted onto the driving wheel and the driven wheel. When the driven wheel assembly is raised to a horizontal position, the left and right side plates of the driven wheel are fixed to the left and right side plates respectively by positioning screws 2026, so that the conveying equipment is in a ready-to-work state. The main intermediate beam 2017 is also fixed to the lower position of the support wheel assembly 2018 between the left and right side plates by fixing screws 2022. The left side plate of the driven wheel and the driven wheel... A secondary intermediate beam 2023 is fixed with screws below another support wheel between the right side plates of the driving wheel. A scraper 2032 is installed on the secondary intermediate beam for scraping off the Chinese herbal medicine residue attached to the inner surface of the composite conveyor belt. A slag tray 2028 for collecting the slag scraped off by the scraper is also fixed at the lower part of the left and right side plates. A slag discharge port 2033 is opened on the left and right side plates of the driven wheel near the scraper. A quick locking hole 2030 is opened at the front of the horizontal section at the top of the left and right side plates for quick locking with the hopper inside the Chinese medicine cabinet using a pin.

[0344] The stainless steel baffle-type composite conveyor belt structure is as follows: the two wide sides of the steel belt 5010 are set at the same angle to the two parallel long sides, and the two wide sides are parallel to each other. Several rows of holes are evenly spaced along the long side in the middle of the steel belt, each row consisting of two identical square holes. The two wide sides of the steel belt are aligned and laser-welded together. The upper baffle 5020 structure is as follows: a rectangular plate extends downwards from the bottom of one long side to form two columnar bodies with a square cross-section. The lower baffle 5030 has... Two square holes; two columnar bodies of several upper baffles pass through the two square holes corresponding to each row of holes on the steel belt from top to bottom to form two protrusions; a lower baffle 5030 is fitted onto the two protrusions of the upper baffle from bottom to top and is laser-welded together to form a welded part (5050); a PU silicone layer 5040 or a rubber layer covers and fixes the bottom of the assembled upper baffle and lower baffle to form a composite conveyor belt, wherein the thickness of the steel belt is 0.1mm to 2mm and the thickness of the PU silicone layer is 1mm to 10mm;

[0345] See Figure 67 , Figure 68The stainless steel nail-type composite conveyor belt structure is as follows: the two wide sides of the steel belt (501) are set at the same angle to the two parallel long sides, and the two wide sides are parallel to each other. Several rows of holes are evenly spaced along the long side of the steel belt, and small square holes and large square holes are alternately arranged in each row of holes. The two wide side seams of the steel belt are aligned and laser-welded into one piece; the lower stop bar (502) structure is as follows: small square holes and large square heads are evenly spaced and alternately arranged on the surface of the plate with an arc cross-section, and one or more grooves are opened at the bottom of the plate; a lower stop bar is set at each row of holes of the steel belt: the lower stop bar The large square heads on the strip are inserted one-to-one through the large square holes in the corresponding row of holes on the steel strip. The steel nail is composed of a small square head and a large square head integrated together. The small square heads of multiple steel nails (503) are inserted one-to-one through the small square holes in the corresponding row of holes on the steel strip from top to bottom and then inserted into the small square holes on the lower stop bar, and are laser welded together with the lower stop bar to form a welded part (505). A PU silicone layer (504) or a rubber layer is covered and fixed on the bottom surface of the steel strip with the lower stop bar to form a composite conveyor belt. The steel strip, the lower stop bar and the steel nail are all made of food-grade 304 stainless steel or food-grade 316 stainless steel.

[0346] An internal stirring device 100 for the upper discharge hopper is located above the front end of the transmission equipment along both sides of the hopper. A motor drive mechanism is installed on the outer wall of the lower feed inlet of the hopper 101: a bearing seat 104 with a bearing 105 is fixed to the outer wall of the hopper; a motor 102 is mounted on the frame or the outer wall of the hopper via a fixing plate 107; the motor shaft is horizontally mounted on the bearing 105; and a drive shaft 103 is fixed to the motor shaft on the same axis as the drive shaft via a key. The drive shaft extends from the outside to the inside of the hopper through the opening, and a sealing ring 106 is provided between the drive shaft and the bearing seat. A driven shaft rotation mechanism is installed on the outer wall of the lower feed inlet of the hopper: another bearing 1011 is mounted on the drive shaft... A bearing housing 1010 is fixed to the outer wall of the hopper. Another driven shaft 108 is mounted on another bearing 1011. The other driven shaft extends into the inner cavity of the hopper through the opening in the same horizontal direction as the motor shaft. Another sealing ring 1013 is provided between the other driven shaft and the other bearing housing. The tooth-type stirring shaft 109 is fitted onto the square head of the other driven shaft through the square hole on its left end face and onto the square head of the drive shaft through the square hole on its right end face. The motor speed is 80 rpm. The tooth-type stirring shaft structure is as follows: four stirring rods (upper, lower, left, and right) are fixed on the shaft as a group, and several groups of stirring rods are evenly distributed on the shaft along the axis. The sealing ring is a silicone sealing ring.

[0347] The aforementioned medicine dispensing device is equipped with a rear material hood 2035 at its rear end. A metering, pushing, and turning device 400 is installed on the bottom plate of the cabinet, used to collect materials from the rear material hood via a weighing pan 4020 and discharge them through the rear door outlet. A motor 401 is mounted on the right rear of a rectangular base 4014 via a motor mount 402. The motor shaft is connected to a T-shaped lead screw 408 via a coupling 404. A T-shaped flange nut 405 is screwed onto the T-shaped lead screw. A linear slide rail 4012 is located to the left of the T-shaped lead screw and is parallel to it. A slider 403 slides along the linear slide rail. A limit reset lever 407 is composed of a horizontal plate and a vertical plate integrated together. The horizontal plate is fixed to the slider with screws, and the vertical plate is fixed to the flange of the T-shaped flange nut with four bolts. The rightward extension of the vertical plate is used to activate a limit touch switch 409 and a reset touch switch 406. The rectangular weighing pan rotating plate 4018 is mounted on supports 4010 at the end position and supports at the beginning position corresponding to the flange nut. Four rubber-coated bearings 4017 are installed around the bottom of the plate, allowing it to roll along the grooves 4016 on the base. An ear plate extends upwards from the left front of the weighing pan rotating plate. An electronic scale sensor 4019 is mounted on the top surface of the center of the weighing pan rotating plate. The weighing pan 4020 is fixed to the electronic scale sensor with screws. A spur gear 4015, comprising one-quarter of the plate, is fixed to a rotating shaft. The right end of the rotating shaft is fixed to the inner ring of a bearing, which is fixed in a bearing housing. The bearing housing is fixed to a slider with screws. The left end of the rotating shaft is movably mounted on the shaft hole of the ear plate. A rack 4013, used to mesh with the gear 4015 to rotate the weighing pan 90°, is installed in the middle of the front of the base. A retaining ring 4011 is installed on the outer end of the gear shaft extending from the bearing housing to prevent axial movement of the shaft. The top cover is a rectangular box. See the automatic closing device for the rear door. Figures 32-35 .

[0348] A metering calibration device 300 is installed above the weighing pan 4020 of the metering push-turning device inside the cabinet, along the left and right sides of the hopper. A reduction motor 301 is mounted on a motor base 302. A spring winding bar 304 and a weight wire winding device 305 are sequentially fixed to the shaft of the reduction motor 301 from left to right along the same axis. The spring wire 3012 is wound along the spring wire groove 3019 of the spring winding bar, and the weight wire 309 is wound along the weight wire groove 3020 of the weight wire winding device. The winding direction 3021 of the spring wire is opposite to the winding direction 3022 of the weight wire. The motor base is fixed to... On the top plate of the base 303, a weight reset fixing seat 308 is fixed at the position of the weight line on the bottom surface of the top plate. The weight reset fixing seat is a conical cylinder with a smaller top and a larger bottom, designed to allow the weight 3010 to enter from bottom to top and prevent it from passing through. A circular hole of the same size as the opening at the top of the conical cylinder is opened on the top plate of the base. A weight line guide ring 3024 is fixed to the top plate of the base by screws. The weight line passes down along the weight line reel in sequence through the weight line guide ring, the circular hole on the top plate of the base, and the weight reset fixing seat. A weight for measurement calibration is fixed to the lower end of the weight line. 3010; The mainspring disc 3014 is mounted on a vertical plate 3015 fixed to the bottom surface of the top plate of the base; the pulley 3011 is fixed to the vertical plate 3015; the left end of the spring plate 3013 is fixed to the bottom surface of the top plate of the base by screws; the mainspring wire passes vertically downward along the mainspring wire winding bar, passing through the through hole on the top plate of the base and the lower end of the small hole 3023 on the right end of the spring plate, then around the pulley and connects to the mainspring of the mainspring disc in a horizontal leftward direction; a weight positioning touch switch 306 and a weight reset touch switch 307 are installed on the bottom surface of the top plate of the base; the mainspring is located below the spring plate. The online system has a positioning joint 3018 that cannot pass through the small hole 3023 on the right end of the spring plate; the weighing pan 3016 is positioned directly below the weight; under the forward drive of the motor, when the weight falls into the weighing pan with the weight line, at the same time, the positioning joint of the spring line moves upward and touches the weight positioning switch by lifting the spring plate, controlling the motor to stop rotating; under the reverse drive of the motor, when the weight enters the weight reset fixing seat with the weight line and touches the weight reset touch switch, controlling the motor to stop rotating, at the same time, the spring line moves downward under the tension of the spring, and the positioning joint of the spring line moves downward to reset;

[0349] The base is composed of a horizontal top plate and a left vertical plate; the vertical plate 3015 for mounting the spring disc is fixed at the rear between the horizontal top plate and the left vertical plate of the base.

[0350] The structure of the automatic opening and closing device for the rear door is as follows: the rear door is composed of an upper sealing plate 46 and a lower sealing plate 47 that are hinged to each other. The upper end of the upper sealing plate is hinged to the rear panel above the medicine outlet of the rear door. The motor 48 is installed on the rear panel above the medicine outlet of the rear door via a motor base 49. A limit switch 52 and a reset switch 53 are installed on a vertical plate that is integrated with the motor base and perpendicular to the rear panel. A toggle plate 50, which is used to touch the limit switch and the reset switch, is installed on the motor shaft. One end of the connecting rod 51 is hinged to the toggle plate, and the other end of the connecting rod is hinged to the upper sealing plate.

[0351] When the control system controls the rear door to open, the motor drives the actuation disc to rotate. The actuation disc drives the connecting rod to push outward, which in turn pushes the upper and lower rear door sealing plates open. After opening to a certain angle, the actuation disc touches the rear door limit sensor, and the motor stops rotating. At this time, the rear door is in the open state. When the control system controls the rear door to close, the motor drives the actuation disc to rotate backward, which in turn pulls the connecting rod inward. The connecting rod pushes the upper and lower rear door sealing plates close, and the lower and upper rear door sealing plates close. The actuation disc touches the rear door reset sensor, and the motor stops rotating.

[0352] The first straight segment of the curved spring makes an angle of 20 to 30 degrees with the vertical direction, the second straight segment is horizontal, and the semicircular segment is shown in the figure. Figure 6 Figure 12 Figure 40 Figure 41 See also Figure 7 Figure 8 Figure 10 Figure 11 Figure 15 Figure 16 The hopper 5 has an inner material cover 38 on its opening, and the inner material cover and the rear material cover 2035 are connected and fixed to each other. The baffle-type composite conveyor belt conveyor 200 is fixed to the slots 40 on both sides of the hopper opening by two clips 2027 respectively, and is fixed to the hopper by bolts through the holes 2036 on the rear material cover 2035 and the locking holes 37 on the hopper. A dregs box 16 is provided at the lower part of the hopper opening to connect with the front end of the baffle-type composite conveyor belt conveyor. The upper end of the baffle spring plate 41 is fixed to the hopper in a cantilever form, and the lower part of the baffle spring plate blocks the opening of the dregs box to prevent the Chinese medicine slices 56 in the hopper from falling into the dregs box. The upper end of the limiting spring plate 39 is fixed to the front opening of the inner material cover in a cantilever form. When not subjected to external force, the lower end face of the limiting spring plate 39 is in contact with the top end face of the baffle on the stainless steel baffle-type composite conveyor belt.

[0353] The upper cover of the hopper is provided with three positioning pins 36 on the left and right ends of the hopper cover plate, which are used to be inserted into the positioning groove 24 on the cabinet for fixing. An electric lock 31 is installed at the front of the bottom of the dosing door. A latch 32 that cooperates with the electric lock is provided on the upper cover plate of the hopper. Two arc-shaped springs 27 are provided at the rear of the dosing door to open the dosing door when the electric lock is opened. They are formed by bending strip plates and are composed of a first straight segment, an arc segment and a second straight segment connected in sequence. The first straight segment is fixed to the bottom surface of the dosing door with screws, and the end of the second straight segment is freely abutted or fixed to the bottom surface of the upper cover plate.

[0354] The upper cover plate is provided with a D-shaped sealing strip 33 at the rear of the dosing port, and a sealing brush strip 42 is provided on the top of the two baffle boxes at the dosing port; the dosing door is formed by the inner sealing plate 26 being fixedly placed inside the outer shell 30, and the inner sealing plate is provided with a sealing gasket 29 for sealing the dosing port.

[0355] A front door 13 is installed at the front door opening of the cabinet via a hinge 19. A sealing gasket 23 is installed at the door opening. A control panel box 17 is installed inside the front door. A door lock 10 is installed at the cabinet door opening. A latch 22 matching the door lock 10 is installed on the front door. A keyhole 25 for unlocking is provided on the front door. A heat dissipation hole 14 is provided on the front door corresponding to the position of the control panel box. A low medicine indicator light 11 and a fault indicator light 12 are installed on the front door. A wire trough 3 and a plug-in terminal block 2 are provided on the side panel of the cabinet.

[0356] Work process:

[0357] Adding medication:

[0358] 1. When the control board receives the unlocking command for the dosing door from the upper system, the control board controls the electric lock of the dosing door to be energized and unlocked. The dosing door automatically pops open under the action of the spring plate and remains open.

[0359] 2. The user loads the medicinal herbs into the hopper.

[0360] 3. The user manually closes the dosing door, and the dosing is complete.

[0361] Pick up the medicine:

[0362] After receiving the herb-collecting command from the upper-level system, the control board activates the stirring device, the metering and pushing / tilting device, and the ordinary discharge port at the switching cutting device aligns with the upper herb-collecting device. The motor in the upper herb-collecting device drives the composite conveyor belt, whose baffles carry out the herb slices. These slices pass through a limiting spring and an inner material cover, where excess slices are blocked in the hopper, ensuring only one slice is carried out. Finally, the slices fall through the ordinary discharge port of the switching cutting device into the weighing pan of the metering and pushing / tilting device. The process continues until the weight of the herb slices in the weighing pan is greater than or equal to the initial measurement value. At this point, the control board stops the upper herb-collecting device and switches the cutting cutting device to the corresponding position. The control panel controls the upper discharge and medicine-taking device to start intermittently taking medicine. Medicinal herbs enter the cutting outlet. When the sensor detects medicinal herbs in the cutting outlet, the control panel stops the intermittent taking of medicine. The control panel then controls the cutting motor to start operating. The cutting blade and cutting tool holder cut the medicinal herbs into smaller pieces. These smaller pieces fall into the weighing pan of the metering and pushing device until the required weight is reached. At this point, the metering and pushing device stops metering, the upper discharge and medicine-taking device stops operating, the stirring device stops stirring, and the control panel switches the cutting device to the normal discharge outlet.

[0363] Dispensing medicine:

[0364] 1. After receiving the dispensing command from the upper system, the control board controls the motor in the rear door device to rotate outward, which in turn drives the connecting rod and sensor actuation plate to rotate outward. The connecting rod lifts the upper sealing plate of the rear door and drives the lower sealing plate of the rear door to open. When the sensor actuation plate rotates to a certain angle, it touches the rear door limit sensor, the motor stops rotating, and the rear door device remains open.

[0365] 2. While the control panel controls the operation of the rear door device, it also controls the operation of the metering push-turning device. The motor in the metering push-turning device starts to rotate, pushing the weighing pan towards the rear door. After moving horizontally for a certain distance, the gears and racks on the weighing pan turn plate mesh, so that the weighing pan also has a turning motion on the basis of horizontal movement, and begins to pour out the medicinal materials. Until the weighing pan turns to a certain angle and touches the limit switch, the motor stops rotating and the weighing pan stops turning. At this time, the medicinal materials can be completely poured out.

[0366] 3. After the weighing pan maintains its tilt angle for a certain period of time, the control panel controls the motor in the metering push-over device to start rotating in the opposite direction. The weighing pan rotates back to a horizontal state, then moves horizontally back. After touching the limit switch, the motor stops rotating and the weighing pan resets.

[0367] 4. After the metering push flipping device is reset, the control board controls the motor in the rear door device to rotate inward, which in turn drives the connecting rod and the sensor actuation plate to rotate inward. The connecting rod drives the upper and lower sealing plates of the rear door to rotate and close. When the sensor actuation plate rotates to a certain angle, the sensor actuation plate touches the rear door reset sensor, the motor stops rotating, and the rear door device is in the closed state.

[0368] 5. Wait for the next dose of medication.

[0369] When the medicine addition door side baffle is closed, it is inserted into the side baffle box. The upper opening of the medicine addition door side baffle box has a sealing brush strip to prevent medicinal materials from accidentally falling into the side baffle box.

[0370] The motor in the upper discharge and medicine dispensing device drives the composite conveyor belt to rotate. The baffle on the composite conveyor belt carries out the medicinal materials and slices. After passing through the medicine limiting spring plate and the inner material cover, the excess medicinal materials and slices are blocked in the hopper under the action of the medicine limiting spring plate and the inner material cover, ensuring that the baffle only carries out one medicinal material and slice, thereby achieving the requirement of accurate measurement.

[0371] Automatic rear door closing device: When the control system controls the rear door to open, the motor drives the actuating disc to rotate. The actuating disc drives the connecting rod to push outward, which in turn pushes the upper and lower rear door sealing plates open. After opening to a certain angle, the right end of the actuating disc extends and touches the rear door limit switch, stopping the motor. At this time, the rear door is in the open state. When the control system controls the rear door to close, the motor drives the actuating disc to rotate back. The actuating disc drives the connecting rod to pull inward, which in turn pushes the upper and lower rear door sealing plates close. The lower rear door sealing plates close, and the actuating disc touches the rear door reset switch, stopping the motor.

[0372] The front door of the cabinet has ventilation holes corresponding to the control panel to ensure heat dissipation of the control panel; the rear of the cabinet has an air intake mesh with a dustproof screen, and the front of the cabinet has a heat dissipation exhaust mesh with an exhaust fan installed on the mesh. When the exhaust fan is running, fresh air enters from the rear air intake mesh of the cabinet, carrying away the heat generated by the intermediate motor, and then the hot air is exhausted by the exhaust fan, thereby achieving the purpose of heat dissipation.

[0373] The control panel is covered by a control panel box, isolating it from the internal space of the cabinet and preventing dust from the medicine inside the cabinet from contaminating the control panel. Some unit medicine cabinets may generate a lot of medicine dust during the dispensing process, which could contaminate the inside of the unit medicine cabinet. To prevent this dust contamination, a dustproof isolation panel (or dustproof mesh) can be installed to divide the inside of the cabinet into two areas: an upper heat dissipation area and a lower medicine dispensing area. This reduces the space for medicine dust contamination, and the two areas are isolated from each other, so the medicine dust generated in the dispensing area will not contaminate the heat dissipation area. The dispensing area should be cleaned regularly during use.

Claims

1. An intelligent traditional Chinese medicine cabinet system, characterized in that, It mainly consists of an external system, a medicinal herb and decoction piece management system, a prescription management and distribution system, a drug dispensing management system, an intelligent Chinese medicine cabinet management system, a barcode and QR code management system, a user and user access management system, a data statistics system, a fault alarm and maintenance and metrological calibration system, a mobile terminal (phone), and an intelligent Chinese medicine cabinet main control system. Among them, the external system PC, as well as the PCs for the medicinal herb and decoction piece management system, the prescription management and distribution system, the drug dispensing management system, the intelligent Chinese medicine cabinet management system, the barcode and QR code management system, the user and user access management system, the data statistics system, the fault alarm and maintenance and metrological calibration system, and the mobile terminal are all connected to the intelligent Chinese medicine cabinet management system PC. The PC of the intelligent Chinese medicine cabinet management system communicates with the MCUs of (1 to n) cabinet control boards using a switch star network bus structure. The MCU of each cabinet control board communicates with the MCUs of (1 to n) unit medicine cabinet control boards using an RS485 bus and a host polling system. The MCU of the unit medicine cabinet control board receives more than one current sampling signal from four brushless motor control circuits, a string drum discharge electromagnetic door drive circuit, a weighing pan flip motor drive circuit, a medicine outlet electromagnetic door drive circuit, a reserved brushless motor control circuit, a reserved electromagnet drive circuit, and a medicine addition door electromagnetic lock drive circuit. It also receives 16 switch output signals and weighing sampling circuit signals. A single cabinet rack consists of two sets of unit medicine cabinets on the left and right, capable of accommodating two sets of unit medicine cabinets. The bottom of the rack is a track trolley channel, and the top is equipped with a stringing cylinder. A row of intelligent Chinese medicine cabinets consists of multiple rows of unit medicine cabinets. The height of the cabinet rack is designed according to the height of the unit medicine cabinets. Based on the general building height, it can accommodate 4-10 layers of unit medicine cabinets. The number of cabinet rows can be arranged according to user needs, and can be quickly increased when additional cabinet rows are required. The weighing circuit of the metering push-over device adopts a 3.3V, 0.1g resolution 4-wire strain gauge signal acquisition circuit; The collected raw weighing data is filtered, zeroed out, and calibrated at three points to calculate the actual weight. Due to the different properties of various medicinal materials, the discharge accuracy of different medicinal materials needs to be adjusted accordingly, and finally saved as process parameters. The unit medicine cabinet is composed of a cabinet box (1) and a hopper assembly. The hopper assembly is formed by the hopper (5) and the upper cover plate (7) as one unit. The upper cover plate of the rectangular box is fastened to the top opening end face of the cabinet box. The hopper extends into the inner cavity of the cabinet box. A medicine door (8) is hinged at the medicine inlet at the front of the upper cover plate. Side baffles (28) are provided on the left and right sides of the medicine door. A baffle box (9) is fixed on the left and right inner side walls of the medicine inlet of the upper cover plate for inserting the side baffle of the medicine door when closing the medicine door. The front door (13) of the cabinet box is set in front of the cabinet box. An automatic opening and closing device (4) for the rear door is set on the rear inclined plate of the cabinet box. It also has a medicine dispensing device (200): the drive wheel (204) is a columnar body with a flange on both end faces; the geared motor consists of a motor (201) and a reducer (202); the geared motor is installed on the vertical section outside the left side plate (2016); the D-shaped inner hole (205) on the left end face of the drive wheel is fitted and fixed on the output shaft (203) of the geared motor; the shaft on the right end face of the drive wheel is mounted on the right side plate (2021) via a bearing (2020); the right side plate and the left side plate are symmetrically arranged; a support wheel assembly (2018) consisting of multiple support wheels is installed and fixed between the left and right side plates (2016, 2021); the top height of the multiple support wheels is the same as... The tops of the drive wheels are all at the same height and are horizontal. Each support wheel (2010) has the following structure: a pin (2012) is mounted on two needle rollers (2011) inside the cylindrical body (2010). The right end of the pin extending out of the cylindrical body has a disc for securing it to a hole in the left side plate (2016). The left end of the pin extending out of the cylindrical body has a slot for securing a retaining spring (2013). A rotating shaft (2019) located below the support wheel assembly is rotatably disposed between the rear parts of the left and right side plates. The left side plate is a bent plate with a horizontal leftward section, a vertical downward section, and a horizontal rightward section. The horizontal sections at the top of the left and right side plates are respectively screwed... The wire is fixed with a retaining strip (2027), which is used to press onto the baffle-type conveyor belt to prevent the Chinese herbal medicine pieces from leaking out of the composite belt. The driven wheel (206) has the following structure: there is a flange on both ends of the cylinder, the driven wheel shaft (207) is installed on two bearings (208) inside the cylinder, and there are grooves on both outer ends of the driven wheel shaft extending out of the cylinder. The retaining spring (209) is fixed in the groove. The driven wheel assembly (2024) is as follows: the driven wheel is rotatably installed between the left and right side plates (2025) of the driven wheel with the same shape, and another support wheel is movably set between the left and right side plates of the driven wheel. The left and right side plates of the driven wheel are fixed on the rotating shaft. When the driven wheel is in motion, the driven wheel is fixed to the rotating shaft. When the drive wheel assembly is in a free-hanging state without being fixed, the stainless steel baffle type or stainless steel nail type composite conveyor belt can be fitted onto the drive wheel and the driven wheel. When the driven wheel assembly is raised to a horizontal position, the left and right side plates of the driven wheel are fixed to the left and right side plates respectively by positioning screws (2026) so that the conveying equipment is in a ready-to-work state. The main intermediate beam (2017) is also fixed to the lower position of the support wheel assembly (2018) between the left side plate and the right side plate (2016, 2021) by fixing screws (2022). The secondary intermediate beam (2023) is also fixed to the lower position of another support wheel between the left side plate and the right side plate of the driven wheel by screws. The stainless steel baffle-type composite conveyor belt (2029) has the following structure: the two wide sides of the steel belt (5010) are set at the same angle to the two parallel long sides, and the two wide sides are parallel to each other. Several rows of holes are evenly spaced along the long side in the middle of the steel belt. Each row of holes consists of two identical square holes. The two wide side seams of the steel belt are aligned and laser-welded together. The upper baffle (5020) has the following structure: the bottom of one long side of the rectangular plate extends downward to form two columnar bodies with a square cross-section. The lower baffle (5030) has two square holes. The two columnar bodies of the upper baffle pass through the two square holes corresponding to each row of holes on the steel belt from top to bottom to form two protrusions. The lower baffle (5030) is fitted onto the two protrusions of the upper baffle from bottom to top and laser-welded together to form a welded part (5050). A PU silicone layer (5040) or a rubber layer covers and fixes the bottom of the assembled upper baffle and lower baffle to form a composite conveyor belt. The stainless steel nail-type composite conveyor belt structure is as follows: the two wide sides of the steel belt (501) are set at the same angle to the two parallel long sides, and the two wide sides are parallel to each other. Several rows of holes are evenly spaced along the long side of the steel belt, and small square holes and large square holes are alternately arranged in each row of holes. The two wide side seams of the steel belt are aligned and laser-welded into one piece; the lower stop bar (502) structure is as follows: small square holes and large square heads are evenly spaced and alternately arranged on the surface of the plate with an arc-shaped cross-section, and one or more grooves are opened at the bottom of the plate; a lower stop bar is set at each row of holes of the steel belt: the lower stop bar The large square heads on the strip are inserted one-to-one through the large square holes in the corresponding row of holes on the steel strip. The steel nail is composed of a small square head and a large square head integrated together. The small square heads of multiple steel nails (503) are inserted one-to-one through the small square holes in the corresponding row of holes on the steel strip from top to bottom and then inserted into the small square holes on the lower stop strip, and are laser welded together with the lower stop strip to form a welded part (505). A PU silicone layer (504) or a rubber layer is covered and fixed on the bottom surface of the steel strip with the lower stop strip to form a composite conveyor belt. The steel strip, the lower stop strip and the steel nail are all made of food-grade 304 stainless steel or food-grade 316 stainless steel. The steel strip has an odd number of holes in each row, starting with and ending with a small square hole; The large square head of the steel nail has the same shape as the large square head on the lower stop strip; both are cube-shaped. It also has a built-in stirring device (100) in the hopper, and a motor drive mechanism is provided on the outer wall of the right side of the feed inlet at the bottom of the hopper (101): a bearing seat (104) with a bearing (105) is fixed on the outer wall of the hopper, the motor (102) is mounted on the frame or the outer wall of the hopper via a fixing plate (107), the motor shaft is mounted on the bearing (105) in the horizontal direction, the drive shaft (103) is fixed on the motor shaft located on the same axis as the drive shaft via a flat key, the drive shaft extends from the outside to the inside through the opening of the hopper into the inner cavity of the hopper, and a sealing ring (106) is provided between the drive shaft and the bearing seat; a driven shaft rotation mechanism is provided on the outer wall of the left side of the feed inlet at the bottom of the hopper: another bearing seat (1011) with another bearing (104) is mounted on the outer wall of the hopper (1011). 10) Fixed on the outer wall of the hopper, another driven shaft (108) is installed on another bearing (1011). The other driven shaft extends into the inner cavity of the hopper through the opening of the hopper in the same horizontal direction as the motor shaft. Another sealing ring (1013) is provided between the other driven shaft and the other bearing seat. The tooth-type stirring shaft (109) is fitted onto the square head of the other driven shaft through the square hole on its left end face, and onto the square head of the drive shaft through the square hole on its right end face. The motor speed is 80 rpm. The tooth-type stirring shaft structure is as follows: four stirring rods, one on top, one on the bottom, one on the left, and one on the right, are fixed on the shaft as a group, and several groups of stirring rods are evenly distributed on the shaft along the axis. The sealing ring is a silicone sealing ring. The other sealing ring is a silicone sealing ring. The aforementioned medicine dispensing device with stainless steel baffle-type composite conveyor belt is obliquely upward on the opening of the rear inclined plate of the hopper, and the aforementioned hopper-built-in stirring device is located above the medicine dispensing device and installed on the hopper along the left and right sides of the hopper; or, the aforementioned medicine dispensing device with stainless steel nail-type composite conveyor belt is installed on the lower opening of the hopper, and the aforementioned hopper-built-in stirring device is located above the medicine dispensing device of the stainless steel nail-type composite conveyor belt and installed parallel to the hopper. The aforementioned medicine dispensing device is equipped with a rear material hood (2035) at its rear end. A metering, pushing, and turning device (400) is installed on the bottom plate of the cabinet, used to collect materials from the rear material hood via a weighing pan (4020) and discharge them through the rear door outlet. A motor (401) is mounted on the right rear of a rectangular base (4014) via a motor mount (402). The motor shaft is connected to a T-shaped lead screw (408) via a coupling (404). A T-shaped flange nut (405) is screwed onto the T-shaped lead screw. The linear... The slide rail (4012) is located to the left of the T-shaped lead screw and is parallel to the T-shaped lead screw. The slider (403) slides with the linear slide rail. The limit reset lever (407) is composed of a horizontal plate and a vertical plate. The horizontal plate is fixed to the slider with screws, and the vertical plate is fixed to the flange of the T-shaped flange nut with four bolts. The rightward extension of the vertical plate is used to activate the limit touch switch (409) and the reset touch switch (406). The joint (406) is installed on the support (4010) at the end position corresponding to the flange nut and on the support at the beginning position. The rectangular weighing pan rotating plate (4018) has three rubber-coated bearings (4017) installed around its bottom perimeter, which can roll along the groove (4016) on the base. The left front part of the weighing pan rotating plate extends upward to form an ear plate. The electronic scale sensor (4019) is installed on the top surface of the middle part of the weighing pan rotating plate. The weighing pan (4020) is fixed to the electronic scale sensor with screws. On the face, a spur gear (4015) of 1 / 4 section is mounted and fixed on the rotating shaft. The right end of the rotating shaft is fixed on the inner ring of the bearing. The bearing is fixed in the bearing seat. The bearing seat is fixed on the slider by screws. The left end of the rotating shaft is movably mounted on the shaft hole of the ear plate. The rack (4013) used to mesh with the gear (4015) to make the weighing pan rotate 90° is installed in the middle position of the front part of the base. A fixing ring (4011) to prevent the rotating shaft from axially moving is installed on the outer end of the rotating shaft of the gear that extends out of the bearing seat. A metering calibration device (300) is installed above the weighing pan (4020) of the metering push-turning device inside the cabinet, along the left and right sides of the hopper: a reduction motor (301) is mounted on a motor base (302), a spring winding bar (304) and a weight wire winding device (305) are sequentially fixed to the shaft of the reduction motor (301) from left to right along the same axis, the spring wire (3012) is wound along the spring wire groove (3019) of the spring wire winding bar, and the weight wire (309) is wound along the weight wire groove (3020) of the weight wire winding device, and the winding direction (3021) of the spring wire is opposite to the winding direction (3022) of the weight wire; the motor base is fixed to the base ( On the top plate of the base (303), a weight reset fixing seat (308) is fixed at the position of the weight line on the bottom surface of the top plate of the base. The weight reset fixing seat is a conical cylinder with a smaller top and a larger bottom, which is used to allow the weight (3010) to enter from the bottom and prevent it from passing through. A circular hole of the same size as the opening at the top of the conical cylinder is opened on the top plate of the base. A weight line guide ring (3024) is fixed on the top plate of the base by screws. The weight line passes down along the weight line winder, sequentially through the weight line guide ring, the circular hole on the top plate of the base, and the weight reset fixing seat. A weight (3010) for measurement calibration is fixed to the lower end of the weight line. The spring disc (3014) is installed on the base. On a vertical plate (3015) fixed to the bottom surface of the top plate, a pulley (3011) is fixed to the vertical plate (3015); the left end of the spring plate (3013) is fixed to the bottom surface of the top plate of the base by screws; the mainspring wire passes vertically downward along the mainspring wire winding bar, passing through the through hole on the top plate of the base and the lower end of the small hole (3023) on the right end of the spring plate, and then passes around the pulley and connects to the mainspring of the mainspring disk in a horizontal left direction; a weight positioning touch switch (306) and a weight reset touch switch (307) are installed on the bottom surface of the top plate of the base; a positioning joint (3018) is provided on the mainspring wire located below the spring plate, which cannot pass through the small hole (3023) on the right end of the spring plate. The weighing pan (3016) is positioned directly below the weights. Under the forward drive of the motor, when the weights fall into the weighing pan along with the weight line, the positioning joint of the spring wire moves upward and touches the weight positioning switch by lifting the spring plate, controlling the motor to stop rotating. Under the reverse drive of the motor, when the weights move upward along with the weight line and enter the weight reset fixing seat, and simultaneously touch the weight reset touch switch, controlling the motor to stop rotating, the spring wire moves downward under the tension of the spring, and the positioning joint of the spring wire moves downward to reset. The base is composed of a horizontal top plate and a left vertical plate. The vertical plate (3015) for mounting the spring plate is fixed at the rear between the horizontal top plate and the left vertical plate of the base.

2. The intelligent traditional Chinese medicine cabinet system according to claim 1, characterized in that, It also includes a medicinal herb and processed herb management module: managing the names and aliases of medicinal herbs; assigning a specific system number to each medicinal herb and processed herb; managing the bulk density of medicinal herbs and processed herbs; managing the morphology of medicinal herbs and processed herbs, such as powder, flakes, spheres, columnar segments, strips, flocculent, etc.; managing the packaging form of medicinal herbs and processed herbs, such as bulk, bagged, etc.; managing the classification type of medicinal herbs and processed herbs in the system, such as commonly used system processed herbs, infrequently used system processed herbs, self-prepared medicines, specially controlled medicines, regularly controlled medicines, and temporarily controlled medicines; managing the decoction and administration methods of medicinal herbs and processed herbs; managing the incompatibilities of medicinal herbs and processed herbs; managing the toxicity of medicinal herbs and processed herbs; managing the standardized dosage of medicinal herbs and processed herbs; managing the entry, addition, reduction, and deletion of medicinal herbs and processed herbs; querying all medicinal herbs and processed herbs; managing temporary shortages of medicinal herbs and processed herbs in the system; and managing the operation login of medicinal herb and processed herb administrators. Prescription Management and Allocation Module: I. Prescription Management: Prescription Content: The prescription content consists of three parts: ① Preface: including prescription barcode or QR code, name of medical, preventive, or health care institution, prescription number, fee type, patient's name, gender, age, outpatient or inpatient medical record number, department or ward and bed number, clinical diagnosis, date of issuance, and may include items required by the specialty; ② Body: marked with Rp or R, prescriptions for traditional Chinese medicine preparations should list the name, specifications, quantity, and dosage of the medicine; prescriptions for traditional Chinese medicine decoction pieces should list the name, quantity, decoction method, and dosage of the decoction pieces; ③ Postscript: physician's signature and / or affix of a special seal, amount of medicine, and signature of the pharmaceutical professional who reviewed, dispensed, verified, and issued the medicine; Prescription writing principles: (1) The general items of the patient recorded on the prescription should be clear, complete and consistent with the medical record; (2) Each prescription is limited to medication for only one patient; (3) The handwriting on the prescription should be clear and should not be altered; if there are any modifications, the modification must be signed and the modification date must be noted; (4) Prescriptions must be written in standard Chinese or English; Chinese is limited to simplified characters published by the State Council on October 15, 1986 in the "General List of Simplified Characters", and no alternative characters should be created; the name of the drug cannot use Latin, but the usage and dosage can be abbreviated in Latin; (5) Medical, preventive and health care institutions or physicians and pharmacists shall not compile abbreviations or use codes for drugs; the name, dosage, specifications, usage and dosage of drugs should be written accurately and in a standardized manner; The prescription format transmitted from the external system must match the prescription format that the intelligent Chinese medicine cabinet system can recognize. If it cannot be recognized, it needs to be converted and handled when setting up the communication protocol. Prescriptions transmitted from external systems and those entered into internal systems must clearly indicate the method of decocting and taking the medicinal herbs. This will serve as the basis for prescription breakdown. If there is no indication, it will be considered as a regular decoction and will not be broken down. The system receives prescriptions transmitted from the customer management system via external interfaces and external communication protocols, as well as prescriptions entered manually. Prescriptions are automatically arranged in numerical order. Prescriptions that meet certain conditions can be pinned to the top or bottom of the list. Prescriptions that meet certain conditions can be moved up or down one item. Pinning or moving a prescription does not change its prescription number. II. Prescription Breakdown: Prescription breakdown basis: Medicine shortage judgment: After recognizing the prescription, the intelligent Chinese medicine cabinet system first needs to determine whether the medicinal materials and decoction pieces in the prescription are all in the system. If some medicinal materials and decoction pieces are missing, the information must be pushed to the external system immediately. At the same time, the intelligent Chinese medicine cabinet system marks the prescription to indicate which medicinal materials and decoction pieces could not be picked due to shortage. Decoction Method Judgment: After recognizing the prescription, the intelligent Chinese medicine cabinet system also needs to determine the decoction method of the prescription herbs and decoction pieces, and mark herbs and decoction pieces with special requirements for decoction method, such as: decoct first (shells, shells, fossils, minerals, nourishing and tonifying herbs, weakly toxic herbs (such as raw Pinellia ternata, Asarum, etc.), decoct later (aromatic and dispersing herbs), decoct in a bag (seeds), decoct separately (ginseng, etc.), melt (donkey-hide gelatin, deer gelatin, tortoise shell gelatin and Glauber's salt, etc.), and grind into powder and mix separately (Panax notoginseng, Fritillaria cirrhosa, cinnabar, amber, antelope horn, rhinoceros horn, etc.); Determination of the properties of medicinal materials: In order to meet the needs of the dispensing mechanism of the unit cabinet, some medicinal materials need to be crushed into smaller pieces. That is, some medicinal materials are crushed into smaller pieces before being added to the unit cabinet, or the medicinal materials are crushed into smaller pieces and dispensed through the dispensing mechanism of the unit cabinet after being added to the unit cabinet. "Crushing into smaller pieces" is regarded as a kind of "pulverizing" processing method. The word "pulverizing" is marked in parentheses in the upper right corner of the name of the medicinal material in the formal prescription. Prescription breakdown: Prescription breakdown types: Divide prescription medicinal materials into missing drugs and systemic drugs; Missing medicines: These are medicinal herbs and decoction pieces that are not available in the intelligent Chinese medicine cabinet system. These generally include self-prepared medicines (medicines prepared by the patient), specially controlled medicines (medicines dispensed directly from the warehouse in fixed quantities to the refill station), regularly controlled medicines (precious medicinal herbs, toxic medicinal herbs, light-textured medicinal herbs, strip-packaged medicinal herbs (such as centipedes, seahorses, etc.), liquid medicinal herbs, gelatinous medicinal herbs), and temporarily controlled medicines (medicines that cannot be dispensed from the cabinet system for a short period of time due to intelligent cabinet malfunction and requiring repair). System medicine: Medicines in the intelligent medicine cabinet; System medicines are further broken down into multiple decomposed prescriptions based on different decoction methods such as decocting first, decocting later, decocting in a bag, decocting separately, melting, or grinding into powder and mixing. The intelligent Chinese medicine cabinet system picks up medicinal materials and slices according to the decomposed prescriptions. The content and format of "Breaking Down Prescription Lists": The format of the decomposed prescription is consistent with the above-mentioned prescription format regulations. The intelligent Chinese medicine cabinet system assigns a prescription number such as [20210512-1231 / 3-1 / 2(6)]. Prescription number explanation: 20210512 refers to the prescription time: May 12, 2021; -123 refers to the number of prescriptions today; 1 / 3 refers to the first of 3 doses; -1 / 2 refers to the first of 2 decomposed prescriptions for this dose; (6) refers to the total number of prescriptions for this prescription; the decomposed prescription sequence number is noted in the lower right corner: 6-1, 6-2, 6-3, 6-4, 6-5, 6-6; Prescription pre-disassembly: The intelligent Chinese medicine cabinet system receives queued prescriptions, and the system can pre-disassemble the top 5 prescriptions in the queue. Prescription pre-disassembly can provide a prerequisite for the system to pre-pick prescriptions. Prescription pre-picking: It has the function of pre-distributing one or more prescriptions and breaking down prescription tasks; the intelligent Chinese medicine cabinet system pre-picks out medicinal materials and slices according to the dispensing status of each unit cabinet, and dispenses them immediately when the prescription arrives; it can consider the pre-picking queue of 1-3 prescriptions and can be adjusted according to user requirements; Query prescription status in the prescription management module: total number and details of prescriptions received and entered on the day; real-time number of queued prescriptions and their queue status; real-time breakdown of queued prescriptions and their queue status. Send prescription statistics information to the data statistics module; The medication management module: When the remaining amount in a unit medicine cabinet is less than or equal to 20% of the full bag, an alarm will be triggered to notify the addition of medication. The calculation of the remaining amount at the 20% alarm threshold is based on software statistical calculation: Remaining amount = Remaining amount before addition + Added amount - N times the dispensing amount. The medication addition process is as follows: Employee uses mobile terminal → scans the barcode on the unit medicine cabinet's medication door → the corresponding medicine cabinet warning light flashes → opens the unit medicine cabinet's medication door → adds medication → the person adding medication enters the dosage on the mobile terminal and confirms → closes the unit medicine cabinet's medication door. When adding medication to different batches of medicinal herbs, a cabinet clearing process is required. Infrequently used medicinal herbs may not be added for a long period after the initial addition, with extended intervals. If no medication is added or updated within the specified time, the system will prompt for cabinet clearing. The system also sends data on the addition and dispensing quantities of medicinal herbs to the data statistics module. Intelligent Chinese Medicine Cabinet Management Module: Configure the cabinets that have been successfully added, and configure the associated positioning points and their numbers. When associating positioning points, the positioning point hardware must be numbered. For a specific unit medicine cabinet in a designated cabinet row, specify its unit number, barcode or QR code, packaging device type, dispensing mechanism number and type, and weighing pan type; One unit medicine cabinet can be equipped with 1 to 3 hoppers (including dispensing mechanism); Each unit of medicine cabinet must specify the type of medicinal herbs and processed medicinal pieces; The unit medicine cabinet control panel is equipped with red, yellow and green color-changing warning lights as an alarm function. A green light indicates that the medicine quantity is sufficient, a yellow light indicates that the medicine quantity is insufficient, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 20%, and a red light indicates that medicine must be added immediately, that is, the remaining amount of medicinal materials in the medicine cabinet hopper is less than 10%. The dispensing process is based on the serial bins: the operator clicks on the computer or mobile terminal to issue the medicine picking command → the medicine is dispensed from the unit medicine cabinet → the dispensed medicinal materials are collected on the bottom conveyor belt through the serial bins → the conveyor belt transports the medicinal materials to the discharge port and into the medicine storage box to complete the dispensing process. The main dispensing process using a conveyor belt is as follows: The operator clicks on the computer or mobile device to issue a medicine picking command → the medicine is dispensed from the unit medicine cabinet → the dispensed medicinal materials and slices are collected on the conveyor belt → the conveyor belt transports the medicinal materials and slices to the discharge port, and they enter the medicine storage frame through the stringing bucket to complete the dispensing process. Residual Material Management in Screw Metering: Fine granular medicinal materials are discharged using a screw metering conveyor. The discharge quantity is calculated based on the cross-sectional area of ​​the screw shaft groove, the stepper motor's step size and number of steps, and the bulk density of the medicinal materials. Then, a statistical algorithm is used to calculate the remaining amount of medicinal materials. To ensure that there is material in the hopper, an infrared position sensor is used to detect the height of the medicinal materials. This method ensures the height of the medicine in the hopper and avoids the screw metering conveyor from having cavities. The conveyor must stop when the amount of medicine in the hopper reaches a certain height. Remaining quantity management of powdered medicinal materials: They are pre-packaged in three weights of 1 gram, 2 grams, and 5 grams outside the cabinet, and then packed into a box in rolls or stacks. The box is then placed into the unit medicine cabinet, and the dispensing mechanism dispenses the required weights under the control of the unit medicine cabinet control panel. When managing the remaining quantity, the number of remaining bags of each weight is calculated by statistical algorithm. If the remaining quantity is insufficient to meet the maximum dosage requirement of 3 doses, the medicine must be added. Barcode and QR code management module: Manages barcode and QR code printing equipment; edits barcodes and QR codes by calling barcode and QR code protocols and design functions; manages the classification, addition, deletion, and modification of barcodes and QR codes on unit medicine cabinets, transport carts, cart medicine trays, medicine storage boxes, prescriptions, drug inspection guidelines, refill orders, user identification cards, etc.; has the function of recording and querying barcodes or QR codes; configures barcode or QR code recognition functions. User and User Permission Management Module: Functions of user and user permission management: Manage user creation, including adding and deleting users; set or change user login passwords and retrieve or reset passwords; set user management roles and permissions, including setting, adding, changing, and reducing roles and permissions for users; Data Statistics Module: Functions of data statistics include: statistically analyzing prescription receipt, execution, shelving, and scrapping data; receiving prescription data from the prescription receiving and dispensing system, and calculating the total number of prescriptions received and the ratio of received prescriptions to external prescriptions; receiving dispensing data from the call dispensing system, and calculating the total number of packaged prescription herbs and their proportion of actually dispensed packaged prescription herbs to the total number of packaged prescription herbs; calculating the prescription fulfillment rate in the herbal medicine dispensing control system; calculating the prescription dosage, actual dispensing volume (including supplementary dosage for missing herbs), and scrapped quantity for each type of herbal medicine; calculating the total number of drug tests, the number of qualified tests, the pass rate, the number of scrapped tests, and the scrapping rate; calculating the total number and quantity of supplementary prescriptions for missing herbs and the quantity and number of each type of herbal medicine; calculating the amount and frequency of medication added to the unit medicine cabinet; calculating the fault types and frequency of unit medicine cabinets, transport carts, and other equipment; and generating various reports. Fault alarm, troubleshooting, and metering calibration module: manages user operator logins; has the function of identifying faults in computers, software programs, control circuit boards and drivers, communication networks, electrical circuits, machinery, and structures, and preliminarily determining the type and location of the fault, guiding repairs; manages the metering calibration of the medicine cabinet in the management unit: issues metering calibration commands, receives calibration feedback data, reports metering error data to the superior system, and issues alarms.

3. The intelligent traditional Chinese medicine cabinet system according to claim 2, characterized in that, It also has a mobile app: The mobile app uses WebSockt technology to keep the status of the smart Chinese medicine cabinet system synchronized at all times. Query and retrieve all cabinets of the specified master control system; display the cabinets in a visually appealing graphical format; the cabinets are arranged from left to right, and if they exceed the interface boundaries, they are displayed on a new line; Cabinet Unit Display: Each cabinet column in the graphic is displayed as a combination of multiple cabinet units; if a cabinet unit contains multiple hoppers, then the corresponding number of hoppers will be displayed in the cabinet unit graphic. Cabinet unit monitoring: Monitors the real-time status and actions of cabinet units; Real-time status includes: waiting, working, cabinet unit medicine dispensing door or cabinet door is open; real-time actions include: retrieving materials, packing, and emptying; enabling real-time monitoring of the remaining medicine in the cabinet on a mobile device; Fault display: Graphical alarm for unit medicine cabinet faults; Graphical alarm for cabinet group faults; View pending prescriptions: Check the breakdown status of prescriptions; prescriptions are displayed in list format; buttons are provided next to pending prescriptions to view prescription details; adjust prescription priority: Each item in the list of prescriptions to be processed has a "Pin to Top" button next to it, which can be set as the first prescription in the list to be processed with one click; The mobile app displays a matrix list of all unit medicine cabinets, with each cell corresponding to a unit medicine cabinet. Real-time monitoring of the remaining medicinal materials in each cabinet displays the unit medicine cabinets that need replenishment, prompting the user to do so. The table uses yellow and red indicators to show the urgency of replenishment: yellow indicates the unit medicine cabinet is already waiting to be replenished, while red indicates it needs immediate replenishment. After replenishment, the indicator color returns to normal. Clicking on a cell displays the unit medicine cabinet code, the cabinet column number, and the layer it belongs to. The system should display the number of herbs and the names and quantities of medicinal materials to be added to the unit's medicine cabinet, facilitating retrieval and verification by warehouse staff. The mobile terminal should have barcode scanning and photo-taking capabilities, enabling it to scan the barcode to open the hopper door, open the cabinet door, or retrieve the unit's medicine cabinet in case of malfunction. Once the system determines that adding medicine is permitted, the UI will be locked and display "Waiting for cabinet opening." After the system opens the cabinet, the UI will remain locked and display "Opened." After manual addition, the UI will remain locked until the mobile terminal inputs the quantity of medicine and clicks confirmation before the unit's medicine cabinet door can be closed. System status when a unit medicine cabinet malfunctions: In the unit medicine cabinet matrix list on the mobile terminal app display interface, the corresponding table column will display the word "malfunction", indicating that the unit medicine cabinet is dead and needs to be checked; the intelligent Chinese medicine cabinet system will disable this unit medicine cabinet; subsequent affected prescriptions will not be able to pick up this medicinal material; List of Medicinal Herbs to be Added: The display interface on the monitor and mobile terminal shows a list of medicinal herbs that need to be added. Each cell in the table corresponds to a unit medicine cabinet and the medicinal herbs it contains. The table uses green and red to indicate the urgency of adding the medicine. Green indicates that the corresponding medicine in the cell is in sufficient quantity, yellow indicates that the corresponding medicine in the cell is ready to be added (the remaining medicinal herbs in the medicine cabinet hopper are less than 20%), and red indicates that the corresponding medicine in the cell must be added immediately (the remaining medicinal herbs in the medicine cabinet hopper are less than 10%). After adding the medicine, the indicator color of the cell returns to the normal color. Clicking on each cell will bring up the unit medicine cabinet number, the name of the medicinal herbs, and the quantity of medicine to be added, which is convenient for the medicine adding personnel to find. After adding the medicine, the quantity added must be entered and the unit medicine cabinet must be confirmed before the unit medicine cabinet can be closed. After the unit medicine cabinet is closed, the medicine adding task is completed, and the warning color of the corresponding cell returns to green. The mobile terminal receives and processes information transmitted from the intelligent Chinese medicine cabinet system. The mobile terminal and the intelligent Chinese medicine cabinet system share the following equipment: computing unit, monitor, mouse, and keyboard.

4. The intelligent traditional Chinese medicine cabinet system according to claim 2, characterized in that, The intelligent Chinese medicine cabinet management system also has a medicinal herb and decoction piece attribute database, which records the following attributes of the medicinal herb and decoction pieces: Main attributes of medicinal materials and processed slices: Name of medicinal material, name of processed slices, alternative names of processed slices, form of processed slices (one of the following: powder, sand, granules, segments, blocks, spheres, spindles, flakes, filaments, strips, clumps, net-like, stamen-like, liquid, paste), standard density (g / ml), unit of measurement (one of the following: gram, piece, strip), odor, meridian tropism, processing method, toxicity, incompatibilities, antagonisms, mutual restraints, contraindications to Western medicine, dietary restrictions, contraindications to human use, standard single-dose dosage range, standard single-dose maximum dosage, decoction method, decoction time offset (Note: for example, if decocted first, the time offset indicates decocting first). n minutes; "after decoction" means decocting for n minutes later), pharmacopoeia usage, standard pre-treatment type of decoction pieces when sold to customer units, storage method; the system automatically assigns a unique internal number to each type of medicinal material decoction piece, which is stored in the intelligent Chinese medicine cabinet system. Only medicinal materials decoction pieces with the number that exist in the intelligent Chinese medicine cabinet system can be placed on the cabinet; the format of the medicinal material decoction piece attribute number is: medicinal material decoction piece attribute number: CX12-a: CX12 is the unique number of the system medicine, and -a refers to the medicinal material decoction piece property number; each intelligent Chinese medicine cabinet system needs to create a medicinal material decoction piece attribute library; Add a new category of medicinal herbs: Manually enter or batch import new medicinal herbs, and the system will automatically assign a unique internal number to the medicinal herb. To delete medicinal herbs, if they are already on the shelf, they must be removed from the shelf beforehand. The system will iterate through all intelligent Chinese medicine cabinet systems to ensure that no medicinal herb exists in any of the cabinets. When a medicinal herb is deleted, its serial number will also be deleted, while the serial numbers of other medicinal herbs will remain unchanged. If a new medicinal herb is added that requires this serial number, the system must record all historical information for that serial number. Importing medicinal herb categories into the medical institution's management system: Import via Excel spreadsheet, which must meet the specified format; use the name of the medicinal herb as the synchronization basis, add the medicinal herb to the system that corresponds to the one added in the Excel spreadsheet, and automatically generate a unique number; if the medicinal herb in the Excel spreadsheet already has a number, a separate system number column needs to be added to the Excel spreadsheet for comparison and easy lookup.

5. The intelligent traditional Chinese medicine cabinet system according to claim 1, characterized in that, The structure of the automatic opening and closing device of the rear door is as follows: the rear door is composed of an upper sealing plate (46) and a lower sealing plate (47) that are hinged to each other. The upper end of the upper sealing plate is hinged to the rear panel above the medicine outlet of the rear door. The motor (48) is installed on the rear panel above the medicine outlet of the rear door via a motor base (49). A limit switch (52) and a reset switch (53) are installed on a vertical plate that is integrated with the motor base and perpendicular to the rear panel. The actuation disk (50) used to touch the limit switch and the reset switch is installed on the motor shaft. One end of the connecting rod (51) is hinged to the actuation disk, and the other end of the connecting rod is hinged to the upper sealing plate. The secondary intermediate beam is equipped with a scraper (2032) for scraping off the Chinese herbal medicine residue attached to the inner surface of the composite conveyor belt. The lower part of the left and right side plates is also fixed with a slag tray (2028) for collecting the slag scraped off by the scraper. The left and right side plates of the driven wheel are provided with slag discharge ports (2033) near the scraper position. The front part of the horizontal section at the top of the left and right side plates is provided with a quick locking hole (2030) for quick locking with the hopper inside the Chinese medicine cabinet using a pin. The stainless steel baffle-type composite conveyor belt and the stainless steel nail-type composite conveyor belt have a steel belt thickness of 0.1mm to 2mm and a PU silicone layer thickness of 1mm to 10mm. An inner material cover (38) is provided on the opening of the hopper (5), and the inner material cover and the rear material cover (2035) are connected and fixed to each other; the medicine dispensing device (200) is fixed to the slots (40) on both sides of the hopper opening by two locking strips (2027), and the medicine dispensing device (200) is fixed to the hopper by bolts through the holes (2036) on the rear material cover (2035) and the locking holes (37) on the hopper. A lower part of the hopper opening is provided with The dregs box (16) is connected to the front end of the medicine dispensing device. The upper end of the baffle spring plate (41) is fixed to the hopper in a cantilever form. The lower part of the baffle spring plate blocks the opening of the dregs box to prevent the Chinese medicine slices (56) in the hopper from falling into the dregs box. The upper end of the limiting spring plate (39) is fixed to the front opening of the inner material cover in a cantilever form. When not subjected to external force, the lower end face of the limiting spring plate (39) is in contact with the top end face of the baffle on the stainless steel baffle-type composite conveyor belt. The upper cover of the hopper is provided with three positioning pins (36) on the left and right sides respectively for fixing by inserting into the positioning groove (24) on the cabinet box; an electric lock (31) is installed at the front of the bottom of the dosing door, and a latch (32) that cooperates with the electric lock is provided on the upper cover of the hopper. Two arc-shaped springs (27) are provided at the rear of the dosing door for opening the dosing door when the electric lock is opened: they are formed by bending strip plates and are composed of a first straight segment, an arc segment and a second straight segment connected in sequence. The first straight segment is fixed to the bottom of the dosing door by screws, and the end of the second straight segment is freely abutted against or fixed to the bottom of the upper cover. The upper cover plate is provided with a D-shaped sealing strip (33) at the rear of the dosing port, and a sealing brush strip (42) is provided on the top of the two baffle boxes at the dosing port; the dosing door is formed by fixing an inner sealing plate (26) inside the outer shell (30), and a sealing gasket (29) is provided on the inner sealing plate to seal the dosing port; The cabinet has a front door (13) installed at the front door opening via a hinge (19). A sealing gasket (23) is installed at the door opening. A control panel box (17) is installed inside the front door. A door lock (10) is installed at the cabinet door opening. A latch (22) matching the door lock (10) is installed on the front door. A keyhole (25) for unlocking is on the front door. A heat dissipation hole (14) is opened on the front door corresponding to the position of the control panel box. A medicine shortage indicator (11) and a fault indicator (12) are installed on the front door. A wire trough (3) and a plug-in terminal block (2) are provided on the side panel of the cabinet. The cabinet is equipped with a dustproof isolation plate (55) that isolates the metering push-turning device (400) separately. An air inlet (54) is provided on the rear panel of the cabinet above the dustproof isolation plate. An exhaust fan (18) is installed on the inner surface of the inclined front panel below the front door of the cabinet. The inclined front panel has heat dissipation and exhaust holes.

6. The intelligent traditional Chinese medicine cabinet system according to claim 1, characterized in that, The unit medicine cabinet control board has a one-time medicine dispensing module controlled by its driver program: Upon receiving the medicine-picking instruction from the intelligent traditional Chinese medicine cabinet system, the unit medicine cabinet control board begins controlling the medicine-dispensing motor. As the medicinal herbs are added, the weighing scale continuously records measurement data and sends it to the unit medicine cabinet control board. If, despite the dispensing motor running, the weighing scale fails to record measurement data within a specified time or the measurement data remains unchanged within the specified time, the unit medicine cabinet control board determines a hopper discharge fault and checks if the dispensing motor is stalled. If so, the unit medicine cabinet control board reverses the dispensing motor and retryes; otherwise, it determines the dispensing motor is abnormal and triggers a fault alarm. The unit medicine cabinet control board also checks if the amount of dispensed medicinal herbs has reached the set threshold. When the weight of the extracted medicinal herbs reaches 10% of the commanded weight or the remaining unextracted weight is only 3 grams, the unit medicine cabinet control board controls the dispensing motor to continue dispensing until the set value is reached. When the unit medicine cabinet control board senses that the weight of the extracted medicinal herbs has reached or exceeded the set value, it controls the dispensing motor to jog the dispensing. When the unit medicine cabinet control board senses that the weight of the extracted herbs has not reached the commanded weight error value, it controls the motor to continue jogging the dispensing until the weight of the extracted herbs reaches or exceeds the commanded weight error value, at which point the dispensing motor stops. The unit medicine cabinet control board receives the final weighing data sent by the weighing scale. If the final weighing data is within the error range, it waits for the transport trolley to arrive and dispense the medicine. If the final weighing data is abnormal, a fault alarm will be triggered, and the operation of that unit of medicine cabinet will be stopped. When the transport trolley arrives, the weighing pan dispensing device begins to push and pour the medicine. If the weighing pan dispensing device fails to complete the pushing and pouring action within the time limit, the unit medicine cabinet control board initiates a retry. If the retry fails, the weighing pan dispensing device is considered abnormal and an alarm is triggered. If the retry succeeds, the next step continues. After the medicine is dispensed, the weighing pan dispensing device must stop and, after a certain delay, begin the reset action until the reset is complete. If the weighing pan dispensing device fails to complete the reset action within the time limit, the unit medicine cabinet control board initiates a retry. If the retry fails, the weighing pan dispensing device is considered abnormal and an alarm is triggered. If the retry succeeds, the next step continues. At this point, the unit medicine cabinet completes one medicine dispensing process. The lower limit of the dispensing error of the above weighing data is set to be less than 0.2 grams of the weight that should be counted for the medicine; no upper limit is set.

7. The intelligent traditional Chinese medicine cabinet system according to claim 1, characterized in that, The intelligent traditional Chinese medicine cabinet management system includes an intelligent traditional Chinese medicine cabinet operation module: The system receives prescriptions input from external systems and prescriptions entered from internal systems, allocated by the main business system; reviews the prescriptions and marks the herbal medicine system type; breaks down the prescription; loads the medicine tray onto the transport cart, binds the medicine tray, transport cart, and prescription breakdown sheet together by scanning a code, and then dispatches the cart; the transport cart enters the smart medicine cabinet; when a transport cart needs to be refilled, its red light illuminates as it exits the smart medicine cabinet, and it stops at the refill station release point to wait for refilling, or the medicine box is manually removed and the cart waits for refilling. After manual refilling, the manual transfers the medicine box to the medicine inspection station to wait for all medicine boxes for the prescription to be collected, or the transport cart is released if it is out of medicine, enters the medicine inspection station, unbinds the transport cart, loads an empty medicine box, presses the release point button on the medicine inspection station, and the transport cart enters the cart waiting area; When a delivery cart leaves the smart medicine cabinet, a yellow light illuminates if the medicine is out of stock. The system alerts the replenishment system, listing the medicine as a "temporarily controlled drug" and sending it to the replenishment system. After troubleshooting and repairing the smart medicine cabinet, the unit's function is restored, and the temporary control of the medicine is lifted. Delivery carts that do not require replenishment do not illuminate when leaving the smart medicine cabinet. They proceed to the drug inspection station interception point. If the station is not empty, the cart is not allowed to proceed and must wait. If the station is empty, the cart for the same prescription is allowed to proceed: the first dose of the first prescription... One vehicle prints a "Drug Inspection Guideline" and a "Prescription Breakdown Sheet." The drug inspection guideline is clipped to the medicine tray. The transport trolley stops at the drug inspection station release point. The medicine boxes from the trolley entering the drug inspection station are removed and placed in the transfer area. The medicine boxes are then untied from the trolley. Empty medicine boxes are loaded into the untied trolley. The release point button for the drug inspection station is pressed, and the trolley enters the trolley waiting area. The medicine boxes stored in the transfer area await refills from subsequent trolleys. After all medicine boxes for the prescription are collected, the trolley proceeds to the drug inspection station. During drug testing, the drug is tested by measurement. If the weight error is within the minimum range, a green light is lit and random sampling is carried out; if the weight error is within the allowable range, a yellow light is lit and random sampling is carried out; if the weight error exceeds the allowable range, a red light is lit and the entire drug is inspected. If the drug inspection fails, determine whether the unit medicine cabinet is short of medicine or malfunctioning. If it is malfunctioning, the incorrect medicinal materials are manually entered into the system for emergency alarm. The system will then remind the shortage replenishment system to list the medicinal materials as "temporarily controlled medicine" and enter the shortage replenishment system. After troubleshooting and repair, the unit medicine cabinet function is restored, and the temporary control of medicinal materials is cancelled. If the medicine is short, the missing medicine is added to the corresponding replenishment station, and no system alarm is needed. If the drug inspection fails, check if there are any cases of missing or unsortable medicine. If so, the medicine is manually replenished. If not, the unsortable cases of missing, unsortable, or excessive medicine are scrapped, and a new order is dispatched. If the drug inspection passes, proceed to the prescription dispensing area, call for dispensing, and the patient receives the prescription medicinal materials, ending the process.

8. A control method for the metering, pushing, and flipping device of the intelligent traditional Chinese medicine cabinet as described in claim 1, characterized in that, Includes the following steps: (1) Before weighing, the measurement data on the control circuit board of the electronic scale in the upper system is reset to zero. (2) The weighing pan receives the medicinal materials and processed medicinal pieces output by the medicine dispensing device; (3) The electronic scale sensor under the weighing pan detects the weight of the medicinal materials in the weighing pan in real time and uploads the weight data to the upper system through the electronic scale control circuit board in real time. (4) After the weight of the medicinal materials reaches the required weight, the material taking device stops taking out the material, and the metering, pushing and turning equipment waits for the next action instruction. (5) When the metering push-turning device receives the tilting command from the upper system, the motor of the metering push-turning device drives the lead screw to rotate, which pushes the T-flange nut to move. The T-flange nut drives the slider to move linearly on the slide rail. The slider is connected to the weighing pan rotating plate. The slider drives the weighing pan rotating plate to move linearly, thereby driving the weighing pan to move linearly. When the weighing pan moves to a certain position, the gear and rack on the weighing pan rotating plate mesh, so that the weighing pan has a flipping motion on the basis of linear motion. When the weighing pan moves linearly to the designated position, the limit lever touches the limit touch switch and stops moving. At this time, the flipping motion of the weighing pan just flips the weighing pan to a certain angle, so that the medicinal slices in the weighing pan are tilted out, and the medicine is discharged. After the weighing pan stays in the tilting state for a few seconds, the motor rotates in the opposite direction, driving the weighing pan to rotate back to the horizontal state and then move linearly back to the initial starting point. The motor stops moving after the limit lever touches the reset touch switch. (6) The weighing pan is reset and the weighing is zeroed, waiting for the next operation.

9. A calibration method for the calibration device of the intelligent traditional Chinese medicine cabinet as described in claim 1, characterized in that, Includes the following steps: (1) The control system issues a "metering calibration" command; (2) The unit medicine cabinet control panel controls the metering push and flipping device to clear the weighing pan; (3) The unit medicine cabinet control board controls the motor of the metering calibration device to work, driving the spring wire winding bar and the weight wire winding device to rotate; (4) The weight wire reel releases the weight wire and gently lowers the weight. At the same time, the weight releases the reset touch switch, and the unit medicine cabinet control board detects that the weight has been activated. (5) At the same time as the weights move, the winding bar of the mainspring coils the mainspring, pulls the mainspring out of the mainspring coil, turns it through the pulley, passes through the small hole at one end of the spring plate, and winds it into the groove of the winding bar of the mainspring coil. (6) The weight continues to descend until it falls into the weighing pan of the metering push and flipping device. The weight is no longer under any tension. The motor continues to work for a certain period of time and then stops. The weight wire winder continues to rotate for a certain period of time to release more weight wire, so that the extra weight wire is suspended in the air and does not affect the accuracy of the weight. The length of "the motor continues to work for a certain period of time" is controlled by the positioning section on the spring wire and needs to be set in advance. (7) After the weight falls into the weighing pan of the metering push and flipping device, the positioning joint fixed on the spring line passes through the pulley and reaches the spring plate. Since the positioning joint is larger than the small hole of the spring plate, the spring line continues to be wound up, which will push the spring plate. The spring plate will press the weight into place and touch the switch. The unit medicine cabinet control board detects that the weight has reached the predetermined position and controls the motor to stop rotating. (8) When the weight specified by the metering calibration device falls into the weighing pan of the metering push-turn device, the metering device will read the measurement data of the weight in the weighing pan and send it to the unit medicine cabinet control board. The unit medicine cabinet control board will compare the measurement data with the weight data of the weight that has been entered in advance. If the comparison error is within the specified error range, the metering device is deemed to be qualified. If the comparison error exceeds the specified error range, the metering device is deemed to be unqualified. The unit medicine cabinet control board will alarm the upper-level system and prompt that the metering device in the metering push-turn device needs to be replaced. (9) After the automatic measurement and calibration of the control metering push device is completed, the control motor is reversed. The weight wire winder winds up the weight wire and lifts the weight. The spring wire winder releases the spring wire. The spring wire is pulled by the spring wire and wound into the spring coil. The positioning joint goes back with the spring wire. The spring plate rebounds and releases the weight into place and touches the switch. The control system detects that the weight has started to return. (10) The weight continues to rise and enters the weight reset fixing seat. The weight is fixed and the lever of the weight reset touch switch is pressed. The system detects that the weight has reached the initial fixed position and controls the motor to stop rotating. (11) Measurement calibration completed.

10. A control method for the control board of the intelligent traditional Chinese medicine cabinet as described in claim 1, characterized in that, Includes the following steps: Adding medication:

1. When the control board receives the unlocking command for the dosing door from the upper system, the control board controls the electric lock of the dosing door to be energized and unlocked. The dosing door automatically pops open under the action of the spring plate and remains open.

2. The user loads the medicinal herbs into the hopper; 3. The user manually closes the dosing door, and the dosing is complete; Pick up the medicine: After receiving the herb-collecting instruction from the upper-level system, the control board activates the stirring device, the metering and pushing / tilting device, and the ordinary discharge port at the conversion cutting device aligns with the upper discharge herb-collecting device. The motor in the upper discharge herb-collecting device drives the composite conveyor belt, and the baffles on the conveyor belt carry the herb slices out. After passing through the limiting spring plates and the inner material cover, excess herb slices are blocked in the hopper, ensuring that the baffles only carry out one slice or one piece of herb. Finally, the slices fall through the ordinary discharge port of the conversion cutting device into the weighing pan of the metering and pushing / tilting device, until the weight of the herb slices in the weighing pan is greater than or equal to the specified value. When the initial measurement value is set, the control board stops the upper discharge and extraction device. The control board then controls the switching cutting device to move the cutting outlet to the corresponding position of the upper discharge and extraction device. The control board then controls the upper discharge and extraction device to start intermittent extraction. When the medicinal materials enter the cutting outlet, and the sensor detects that there are medicinal materials in the cutting outlet, the control board stops the intermittent extraction. The control board then controls the cutting motor to start operating. The cutting blade and cutting tool holder cut the medicinal materials into smaller pieces. The smaller pieces fall into the weighing pan of the metering and pushing device until the required weight is reached. The metering and pushing device then stops metering, the upper discharge and extraction device stops operating, the stirring device stops stirring, and the control board controls the switching cutting device to the normal discharge outlet. Dispensing medicine:

1. After receiving the dispensing command from the upper system, the control board controls the motor in the rear door device to rotate outward, which in turn drives the connecting rod and sensor actuation plate to rotate outward. The connecting rod lifts the upper sealing plate of the rear door and drives the lower sealing plate of the rear door to open. When the sensor actuation plate rotates to a certain angle, the sensor actuation plate touches the rear door limit sensor, the motor stops rotating, and the rear door device remains open.

2. While the control panel controls the operation of the rear door device, it also controls the operation of the metering push and flipping device. The motor in the metering push and flipping device starts to rotate, pushing the weighing pan to move towards the rear door. After moving horizontally for a certain distance, the gear and rack on the weighing pan turn plate mesh, so that the weighing pan has a flipping motion on the basis of horizontal movement, and begins to pour out the medicinal materials. Until the weighing pan flips to a certain angle and touches the limit switch, the motor stops rotating and the weighing pan stops flipping. At this time, the medicinal materials can be completely poured out.

3. After the weighing pan maintains its tilt angle for a certain period of time, the control panel controls the motor in the metering push and flipping device to start rotating in the opposite direction. The weighing pan rotates back to a horizontal state, then moves horizontally back. After touching the limit switch, the motor stops rotating and the weighing pan resets.

4. When the metering push flipping device is reset, the control board controls the motor in the rear door device to rotate inward, and drives the connecting rod and sensor actuation disk to rotate inward. The connecting rod drives the upper and lower sealing plates of the rear door to rotate and close. When the sensor actuation disk rotates to a certain angle, the sensor actuation disk touches the rear door reset sensor, the motor stops rotating, and the rear door device is in the closed state.

5. Wait for the next dose of medication.

Citation Information

Patent Citations

  • Drug intelligent management system

    CN105373990A

  • Intelligent drugstore control system

    CN108062063A

  • Internet of Things-based intelligent weighing and blending system for traditional Chinese medicine decoction pieces

    CN113720431A

  • Method and system for controlling automatic circulation of medicine baskets of medicine dispensing machine

    CN117864661A

  • Baffle plate belt type upper discharging bulk traditional Chinese medicine decoction piece unit medicine cabinet

    CN119037988A