Dry powder medicament dispensing system based on prescription information
By using a dry powder medicine dispensing system based on prescription information, and by generating personalized brewing plans using a traditional Chinese medicine knowledge base and multi-objective optimization algorithms, the problem of not being able to maximize the efficacy of traditional Chinese medicine dry powder dispensing is solved, thus maximizing the efficacy of traditional Chinese medicine and improving the accuracy and efficiency of the dispensing process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TIANJIN CENT OBSTETRICS & GYNECOLOGY HOSPITAL
- Filing Date
- 2026-03-10
- Publication Date
- 2026-06-12
AI Technical Summary
Existing automated dispensing systems cannot optimize brewing process parameters based on the differences in the physical properties of dried Chinese medicine powder, resulting in the inability to maximize the efficacy of compound Chinese medicine.
The dry powder medicine dispensing system based on prescription information provides physical property parameters through a traditional Chinese medicine knowledge base module, generates personalized brewing plans by combining multi-objective optimization algorithms, and utilizes multi-temperature zone hot water supply, controllable stirring and timing control modules to perform collaborative execution, adapting to the differences in the properties of different traditional Chinese medicines.
This approach maximizes the efficacy of compound traditional Chinese medicine, avoids the loss or insufficient dissolution of effective components due to uniform parameters, and improves the accuracy and efficiency of dispensing.
Smart Images

Figure CN122201602A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical dispensing system technology, specifically a dry powder drug dispensing system based on prescription information. Background Technology
[0002] In modern medical institutions, the dispensing of traditional Chinese medicine (TCM) medicines in pharmacies primarily relies on manual labor. After a doctor writes a prescription, pharmacy staff manually grasp various dry powdered herbs according to the prescription, mix them, and then provide them to the patient. This traditional method suffers from low efficiency, susceptibility to errors, and a lack of standardization. With the development of automation technology, some automated dispensing equipment has emerged, attempting to solve these problems. For example, utility model patent CN222724229U discloses an intelligent automatic dispensing system, which achieves automatic dispensing and dissolution of powdered herbs through the combination of a powder feeding component, a dissolving component, and a PLC controller. This equipment can automatically adjust the dosage in the field of environmental remediation to ensure the appropriate dosage, but it is mainly geared towards industrial water treatment applications and does not consider the special needs of TCM dispensing. Another invention patent application, CN119680486A, proposes an automatic powder preparation system, including a feeding system, a preparation tank, a storage tank, and an electrical control cabinet, which can realize the automated preparation of powdered medicines. However, such systems can only perform basic automated dispensing and mixing functions.
[0003] While existing automated dispensing systems have alleviated the burden of manual dispensing to some extent, they still have significant limitations. Most of these systems use uniform brewing parameters to process all types of dried Chinese herbal medicine powders, ignoring the differences in the physical properties of different herbal components. In practical applications, different types of dried Chinese herbal medicine powders have different requirements for brewing conditions. For example, aromatic herbs require lower water temperatures to prevent the loss of volatile oils, while mineral herbs require higher water temperatures to promote the dissolution of active ingredients. Current technology cannot optimize brewing process parameters according to the specific characteristics of the herbs in the prescription, resulting in the overall efficacy of compound Chinese herbal medicines not being maximized.
[0004] In view of the above-mentioned shortcomings in the existing technology, the present invention aims to provide a dry powder medicine preparation system based on prescription information, which focuses on solving the problem that the efficacy of different Chinese medicine prescriptions cannot be maximized due to the difference in the optimal brewing conditions of each medicinal material when they are mixed and brewed. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of existing technologies by providing a dry powder medicine preparation system based on prescription information. The system provides various physical property parameters of dry powder Chinese medicine through a Chinese medicine knowledge base module. The brewing parameter optimization module combines electronic prescription information and uses a multi-objective optimization algorithm to generate personalized brewing plans. Then, the system is executed in coordination by a multi-temperature zone hot water supply, controllable stirring, and timing control module. This system can adapt to the differences in the properties of different Chinese medicines, avoid the loss of efficacy or insufficient dissolution caused by uniform parameters, maximize the efficacy of compound Chinese medicines, and make up for the shortcomings of existing technologies.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a dry powder drug dispensing system based on prescription information, comprising: The prescription information receiving module is used to receive electronic prescription information containing multiple Chinese medicine ingredients; The Traditional Chinese Medicine Knowledge Base module stores the physical properties of various dried Chinese medicine powders, including the optimal brewing temperature range, recommended brewing time range, and suitable stirring intensity level for each Chinese medicine. The brewing parameter optimization module calculates a personalized brewing plan for a specific prescription based on the received electronic prescription information and the physical property parameters in the traditional Chinese medicine knowledge base module through a multi-objective optimization algorithm. The multi-temperature zone hot water supply module can provide and switch between hot water at different temperatures; The controllable stirring module features adjustable stirring speed and controllable stirring time. The dry powder medicine storage module contains multiple independent medicine storage compartments for storing different types of Chinese herbal medicine powders; The precise metering module is used to retrieve the corresponding type and dosage of Chinese herbal powder from the dry powder medicine storage module according to the prescription requirements; The timing control module is used to control the dry powder feeding sequence, the hot water temperature change sequence, and the stirring intensity change sequence; The brewing parameter optimization module generates a personalized brewing scheme based on the differences in the physical properties of each Chinese herbal medicine in the prescription. This scheme includes segmented temperature control, staged stirring control, and batch feeding control. The multi-temperature zone hot water supply module provides hot water at different temperatures at different brewing stages according to the personalized brewing scheme. The controllable stirring module uses different stirring intensities at different brewing stages according to the personalized brewing scheme. The timing control module controls the timing of feeding different types of dry Chinese herbal medicine powders according to the personalized brewing scheme.
[0007] Furthermore, the brewing parameter optimization module employs a multi-objective optimization algorithm based on the following objective function for calculation: in, To comprehensively optimize the function value, , , These are the weighting coefficients for drug efficacy retention, solubility, and operational efficiency, respectively. This refers to the number of different types of Chinese herbs in the prescription. For the first The weight percentage of traditional Chinese medicine in a prescription. For the first Chinese medicinal herbs at temperature and time The efficacy retention function is as follows. For the first The intensity of stirring of various Chinese medicinal herbs and time The solubility function under the following conditions Total brewing time; The efficacy retention function Characterizes the retention degree of the effective components of a specific traditional Chinese medicine under given temperature and time conditions, with a value range of 0 to 1; The solubility function Characterizes the degree of dissolution of a specific Chinese medicine under given stirring intensity and time conditions, with a value range of 0 to 1; The efficacy retention weighting coefficient The proportion of heat-sensitive Chinese herbs in the prescription is dynamically adjusted; the higher the proportion of heat-sensitive Chinese herbs, the better. The larger the value; The solubility weighting coefficient The prescription is dynamically adjusted based on the proportion of poorly soluble Chinese medicines; the higher the proportion of poorly soluble Chinese medicines, the better. The larger the value; The operational efficiency weighting coefficient The dosage is dynamically adjusted based on the total prescription dose and the pharmacy's workload; the higher the total dose or the heavier the workload, the better. The larger the value, the better.
[0008] Furthermore, the pharmacodynamic retention function Determined in the following ways: Establish a database of thermal stability of traditional Chinese medicine, which includes the detection data of effective components of each traditional Chinese medicine under different temperature and time combinations; A continuous three-dimensional response surface for temperature-time-drug retention rate was constructed using cubic spline interpolation. The Arrhenius equation is introduced to correct the effect of temperature on the drug degradation rate; Consider the synergistic or antagonistic effects of traditional Chinese medicine compatibility on thermal stability; The solubility function Determined in the following ways: Establish a database of Chinese medicine dissolution characteristics, including dissolution test data of each Chinese medicine under different combinations of stirring intensity and time; The nonlinear relationship between stirring intensity, time, and solubility was fitted using a particle swarm optimization algorithm. Introducing factors affecting the dissolution rate of traditional Chinese medicine particles; Consider the mutual influence of the dissolution process when multiple Chinese herbal medicines are mixed; The dynamic adjustment mechanism of the weighting coefficient is calculated based on the prescription composition characteristic parameters, which include the proportion of heat-sensitive medicinal materials, the proportion of poorly soluble medicinal materials, the total dosage of medicinal materials, and the complexity of medicinal material compatibility.
[0009] Furthermore, the multi-temperature zone hot water supply module includes: The main heating unit maintains the stored hot water at a temperature of 95 to 100 degrees Celsius. The rapid temperature control unit, consisting of a heater, a cooler, and a temperature sensor, can adjust the water temperature to the target temperature within 30 seconds. The multi-channel distribution unit has three independent hot water output channels, each equipped with independent temperature and flow control; The temperature calibration unit uses a platinum resistance temperature sensor and a Kalman filter algorithm for temperature measurement and prediction. The hot water output unit has a pulse-type water output control function, which can achieve precise water volume control; The multi-channel distribution unit has three hot water output channels corresponding to the high temperature range of 90°C to 100°C, the medium temperature range of 80°C to 90°C, and the low temperature range of 70°C to 80°C, respectively. The maximum flow error of each channel does not exceed ±2 ml, and the temperature control accuracy is ±1°C. The rapid temperature adjustment unit achieves temperature stability through a combination of PID control algorithm and feedforward control algorithm. The temperature calibration unit performs an automatic calibration program every 24 hours to ensure the accuracy of temperature measurement.
[0010] Furthermore, the controllable stirring module includes: The brushless DC motor provides stepless speed regulation from 200 rpm to 1000 rpm; A magnetic coupling transmission mechanism enables completely sealed transmission of the stirring shaft; The lifting and lowering stirring paddle is controlled by a stepper motor, with a vertical movement range of 0 mm to 50 mm. The asymmetric blade configuration includes one main propulsion blade and two auxiliary guide blades; The speed feedback unit uses a photoelectric encoder to monitor the actual speed in real time. The torque monitoring unit indirectly measures the stirring torque through a current sensor; The asymmetric impeller has a main propulsion blade tilted at 45 degrees, and two auxiliary guide blades tilted at 30 degrees and 60 degrees respectively, which can form a three-dimensional spiral flow field in the liquid medicine. The liftable stirring paddle automatically adjusts the immersion depth according to the viscosity of the liquid medicine and the content of solid particles during the brewing process. The torque monitoring unit monitors the change of stirring resistance in real time. When an abnormal increase in resistance is detected, the speed is automatically reduced and an alarm is issued. The speed feedback unit ensures that the error between the actual speed and the set speed does not exceed ±5 revolutions per minute.
[0011] Furthermore, the execution logic of the timing control module includes: In the prescription analysis stage, the physical properties and compatibility relationships of each Chinese herb in the prescription are identified; During the parameter optimization phase, a multi-objective optimization algorithm is invoked to calculate the optimal brewing parameters; During the equipment preparation phase, the preheating hot water supply module and the initialization stirring module are used. In the segmented execution phase, temperature changes, stirring intensity changes, and material feeding sequence are controlled according to the optimized time sequence. During the process monitoring phase, deviations between each parameter and the set value are monitored in real time and corrected accordingly. The judgment stage is completed, and the brewing process is judged based on the solubility and the properties of the medicine solution. The segmented execution phase divides the total brewing time into multiple time windows, each lasting from 1 to 3 minutes. Within each time window, a constant temperature, stirring intensity, and herbal composition are maintained. A 30-second transition period is set between adjacent time windows to allow for smooth parameter changes. The process monitoring phase employs multi-sensor data fusion technology, including turbidity, viscosity, and color sensors, to evaluate the state of the medicinal solution in real time. The completion judgment phase determines whether the brewing process has reached its endpoint based on the dual criteria of objective function convergence and the stability of the medicinal solution properties.
[0012] Furthermore, the method for constructing the traditional Chinese medicine knowledge base module includes: The data collection steps involve gathering data on the properties of Chinese medicinal materials from literature on the processing of Chinese medicinal herbs, pharmacopoeia standards, and experimental studies. Data standardization steps convert data from different sources into a unified format and units; The feature extraction step extracts key feature parameters that affect the brewing effect from the raw data; The relationship modeling steps establish a mapping relationship between the types of Chinese medicinal herbs and the optimal brewing parameters; Verify and update the steps by verifying and correcting the knowledge base data through actual brewing experiments; The data acquisition step covers more than 300 commonly used Chinese medicines, with each medicine containing at least 10 sets of brewing experiment data under different conditions. The data standardization step standardizes temperature data to degrees Celsius, time data to minutes, and stirring intensity data to dimensionless levels 1 to 5. The feature extraction step uses principal component analysis to determine three main feature dimensions affecting the brewing effect: thermal stability features, dissolution kinetics features, and compatibility interaction features. The relationship modeling step uses the random forest algorithm to construct a nonlinear mapping model from Chinese medicine types to optimal brewing parameters. The verification and update step is performed every 6 months to update the knowledge base content based on actual usage data and new research results.
[0013] Furthermore, the cross-contamination prevention measures for the dry powder medicine storage module include: Each compartment is an independent, sealed container with its own airtight sealing cap. The negative pressure dust removal system generates negative pressure during the dust discharge process to prevent dust from escaping; The self-cleaning mechanism performs a compressed air purging procedure after each powder discharge; Humidity control unit maintains the relative humidity inside the medicine storage compartment below 30%. An anti-static device prevents dry powder from leaving residue due to electrostatic adsorption. The independent sealed chamber's sealing cover remains tightly closed during non-powder dispensing periods. The sealing material is food-grade silicone, and the sealing pressure is no less than 0.1 MPa. The exhaust from the negative pressure dust removal system is treated by a high-efficiency particulateair filter with a filtration efficiency of 99.97%. The self-cleaning mechanism has a compressed air pressure of 0.2 MPa to 0.4 MPa, a purging time of 3 to 5 seconds, and a purging direction opposite to the powder dispensing direction. The humidity control unit uses molecular sieve desiccant, which is replaced every 3 months. The electrostatic eliminator neutralizes static electricity on the powder surface by ionizing the air, with an ionization voltage of 5 kV to 7 kV.
[0014] Compared with existing technologies, this prescription-based dry powder drug dispensing system has the following advantages: I. This invention stores the physical properties of various Chinese herbal medicine powders in a traditional Chinese medicine knowledge base module. Combined with electronic prescription information containing various Chinese herbal medicine ingredients obtained by the prescription information receiving module, a brewing parameter optimization module generates a personalized brewing scheme based on a multi-objective optimization algorithm. This scheme includes segmented temperature control, staged stirring control, and batch feeding control. Furthermore, the scheme is precisely executed by a multi-temperature zone hot water supply module, a controllable stirring module, and a timing control module. This fully adapts to the differences in physical properties of different Chinese herbal medicines in the prescription, avoiding the loss or insufficient dissolution of some effective components of Chinese herbal medicines due to the use of uniform brewing parameters. This maximizes the overall efficacy of compound Chinese herbal medicines and solves the problem that existing automated dispensing systems ignore the differences in the properties of Chinese herbal medicines and cannot maximize the efficacy of compound Chinese herbal medicines.
[0015] Second, this invention effectively avoids cross-contamination between different Chinese herbal medicine powders through the independent sealed chamber of the dry powder medicine storage module, negative pressure dust removal system, and self-cleaning mechanism, ensuring the hygiene and safety of the medicine. At the same time, the timing control module, through the segmented execution mechanism and multi-sensor data fusion process monitoring, combined with the precise control of the dosage of Chinese herbal medicine powder by the precision metering module, can reduce the dispensing error caused by manual intervention, ensure the accuracy and stability of the dispensing process, and improve the efficiency of dispensing operations.
[0016] Other advantages, objectives and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination or study, or may be learned from the practice of the invention. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0018] Figure 1 This is a diagram illustrating the system module architecture and data flow of the present invention. Figure 2 This is a personalized brewing sequence execution diagram of the present invention; Figure 3 This is a flowchart illustrating the operation of the present invention. Detailed Implementation
[0019] To further illustrate the technical means and effects of the present invention in achieving its intended purpose, the following detailed description of the specific implementation methods, structures, features, and effects of the present invention, in conjunction with the accompanying drawings and preferred embodiments, is provided below.
[0020] Example 1 like Figure 1 and Figure 2 As shown, this embodiment takes an electronic prescription containing three commonly used Chinese medicine ingredients as the application scenario, and elaborates in detail the specific workflow of the dry powder medicine dispensing system based on prescription information and the collaborative operation mode of each module. It verifies the technical effect of the system in maximizing efficacy, ensuring sufficient dissolution and high efficiency of operation through personalized brewing schemes, and solves the problems of insufficient retention of Chinese medicine efficacy and insufficient dissolution of poorly soluble components caused by the use of uniform parameters in existing automated dispensing systems.
[0021] The startup and data interaction of each module in the system are implemented as follows: First, after the prescription information receiving module is activated, it receives electronic prescription information transmitted from the medical institution's information system. This electronic prescription contains three traditional Chinese medicines, labeled as Medicine A, Medicine B, and Medicine C, with clearly indicated dosage requirements for each. The prescription information receiving module verifies the format and content of the electronic prescription. After confirming that there are no issues such as missing medicine type identification or abnormal dosage values, it converts the prescription into structured data recognizable by the system and simultaneously transmits it to the brewing parameter optimization module and the precise measurement module.
[0022] Simultaneously, the Traditional Chinese Medicine (TCM) knowledge base module responds to the call command from the brewing parameter optimization module, extracting the physical properties of the three TCM herbs in the prescription. This TCM knowledge base module is built upon experimental data from over 300 commonly used TCM herbs, storing the optimal brewing temperature range, recommended brewing time range, and suitable stirring intensity level for each herb. Specifically, herb A is a heat-sensitive herb with a lower optimal brewing temperature range and a medium suitable stirring intensity level; herb B is a poorly soluble herb with a higher optimal brewing temperature range and a higher suitable stirring intensity level; and herb C is a common herb with all physical properties at a medium level. The TCM knowledge base module completely transmits the physical properties of these three herbs to the brewing parameter optimization module, providing data support for subsequent parameter optimization.
[0023] The calculation process for the brewing parameter optimization module is implemented as follows: After receiving the structured data of the electronic prescription and the property parameters of the traditional Chinese medicine, the brewing parameter optimization module generates a personalized brewing plan through a multi-objective optimization algorithm. The core of this module is the calculation and parameter solving based on the objective function. The specific process is as follows: Construction of the objective function for multi-objective optimization: The multi-objective optimization algorithm used in this embodiment is based on the following objective function: The definitions and values of the parameters in the above formula are based on the following: The comprehensive optimization function value is used to quantitatively evaluate the overall performance of the brewing program. The value range is from 0 to 1. The closer the value is to 1, the better the overall performance of the scheme in terms of drug efficacy retention, solubility and operational efficiency.
[0024] The efficacy retention weighting coefficient reflects the importance of efficacy retention in the overall optimization. In this embodiment, the prescription includes heat-sensitive traditional Chinese medicine A, which accounts for approximately 30%. Based on the principle that "the higher the proportion of heat-sensitive traditional Chinese medicine," the higher the efficacy retention, the more effective the overall optimization process. A dynamic adjustment mechanism that "takes larger values" The value is 0.45.
[0025] The solubility weighting coefficient reflects the importance of solubility in the overall optimization. In this example, the prescription includes poorly soluble traditional Chinese medicine B, which accounts for approximately 40%. Based on the principle that "the higher the proportion of poorly soluble traditional Chinese medicine," the weighting coefficient is determined by the proportion of solubility. A dynamic adjustment mechanism that "takes larger values" The value is 0.40.
[0026] : Operational efficiency weighting coefficient, used to reflect the importance of operational efficiency in overall optimization. In this embodiment, the total prescription dosage is at a normal level, and the pharmacy workload is under normal conditions. Based on the principle that "the larger the total dosage or the higher the workload," A dynamic adjustment mechanism that "takes larger values" The value is 0.15. It should be noted that... , , The value of satisfies This ensures that the weights of the three are reasonably allocated in the comprehensive optimization.
[0027] The number of types of Chinese medicines in the prescription, in this embodiment These correspond to Chinese medicine A, Chinese medicine B, and Chinese medicine C, respectively.
[0028] : No. The weight percentage of each Chinese herbal medicine in the prescription is calculated from the dosage of each herbal medicine in the prescription. Among them, the dosage percentage of herbal medicine A is 30%, therefore... The dosage of traditional Chinese medicine B accounts for 40%, therefore The dosage of traditional Chinese medicine C accounts for 30%, therefore .
[0029] : No. Chinese medicinal herbs at temperature and time The efficacy retention function is defined as follows, with a value range of 0 to 1. The closer the value is to 1, the higher the degree of retention of the effective components of the Chinese medicine under the corresponding temperature and time conditions.
[0030] : No. The intensity of stirring of various Chinese medicinal herbs and time The solubility function is defined as follows, with a value range of 0 to 1. The closer the value is to 1, the higher the degree of solubility of the Chinese medicine under the corresponding stirring intensity and time conditions.
[0031] Total brewing time, used to reflect operational efficiency. The smaller the value, the higher the operational efficiency; therefore, the formula uses... The optimization objectives are incorporated into the form of [the optimization goals] to achieve the goal of efficient operation.
[0032] Drug efficacy retention function Determination: The following steps are used to determine and ensure that it accurately reflects the retention of the medicinal efficacy of traditional Chinese medicine at different temperatures and times: Establish a database of thermal stability of traditional Chinese medicines: The database stores the detection data of active ingredients of traditional Chinese medicines A, B, and C under different temperature-time combinations. For example, for traditional Chinese medicine A, the content of active ingredients after soaking at different temperatures for different times is detected by high performance liquid chromatography, the retention rate of active ingredients is calculated, and multiple sets of detection data are generated. Constructing a three-dimensional response surface: A cubic spline interpolation method is used, with temperature as the pivot point. ,time With temperature as the independent variable and the retention rate of the active ingredient as the dependent variable, a continuous three-dimensional response surface of temperature-time-efficacy retention rate is constructed. This surface allows direct acquisition of the retention rate under any combination of temperature and time. The initial value; A correction using the Arrhenius equation is introduced: the degradation process of the active ingredients in traditional Chinese medicine conforms to the effect of temperature on chemical reaction rates described by the Arrhenius equation. For traditional Chinese medicine A, the degradation rate of its active ingredients is significantly accelerated at high temperatures. This is confirmed by the three-dimensional response surface obtained using the Arrhenius equation. The initial value is corrected so that the corrected value is... More closely reflects the actual retention of drug efficacy; Considering compatibility effects: When traditional Chinese medicines are mixed and brewed, the compatibility relationships can have a synergistic or antagonistic effect on thermal stability. Experimental data shows that after mixing traditional Chinese medicine A and traditional Chinese medicine C, the thermal stability of traditional Chinese medicine A is slightly improved. Therefore, in the calculation... When a compatibility correction factor is introduced, The value is 5%~8% higher than when brewed alone; the thermal stability of herb B does not change significantly when mixed with the other two herbs, therefore... No additional modifications are needed.
[0033] Solubility function Determination: The following steps are used to determine whether it accurately reflects the complete dissolution of traditional Chinese medicine under different stirring intensities and times: Establish a database of traditional Chinese medicine (TCM) dissolution characteristics: The database stores dissolution test data for TCM A, TCM B, and TCM C under different combinations of stirring intensity and time. For example, for TCM B, the mass of undissolved solids after stirring at different intensities for different times is measured by filtration and weighing method, and the dissolution rate is calculated to form multiple sets of test data; Fitting nonlinear relationships: A particle swarm optimization algorithm is used, with stirring intensity as the factor. ,time With stirring intensity as the independent variable and dissolution as the dependent variable, a nonlinear relationship model of stirring intensity-time-solubility is fitted. This model can directly obtain the results for any combination of stirring intensity and time. The initial value; Introducing the particle size distribution influencing factor: The particle size distribution of dried traditional Chinese medicine powder affects the dissolution rate. The particle size distribution of three traditional Chinese medicines was measured using a laser particle size analyzer, and the influencing factor was calculated. Among them, traditional Chinese medicine B has a larger particle size and a slower dissolution rate; therefore, it was included in the calculation... When introducing a particle size correction factor, The particle size distribution of traditional Chinese medicine A and traditional Chinese medicine C is 3% to 5% lower than the standard particle size; therefore, the particle size distribution of these two medicines meets the standard requirements. , No additional corrections are needed; Considering the mutual influence of mixing and dissolving: When traditional Chinese medicines are mixed and brewed, the dissolution process is mutually influential. Experimental data shows that the dissolution of herb B slightly promotes the dissolution of herb A. Therefore, in the calculation... When a mixed correction factor is introduced, The value is 2%~3% higher than when brewed alone; the dissolution of herb C is not affected by the other two herbs, therefore... No additional modifications are needed.
[0034] Generation of personalized brewing programs: Substitute the above parameters into the objective function. A non-dominated sorting genetic algorithm is used for multi-objective optimization to ultimately generate a personalized brewing plan for the prescription in this embodiment, specifically including: Segmented temperature control sequence: It is divided into three stages. The first stage has a low temperature, the second stage has a high temperature, and the third stage has a medium temperature. Staged stirring control sequence: corresponding to the temperature stage, the stirring intensity is at a medium level in the first stage, at a high level in the second stage, and at a medium level in the third stage. The batch feeding control sequence is as follows: the first stage involves feeding traditional Chinese medicine A and traditional Chinese medicine C, and the second stage involves feeding traditional Chinese medicine B. This avoids traditional Chinese medicine A from remaining at high temperatures for an extended period of time, while ensuring that traditional Chinese medicine B is fully dissolved.
[0035] The collaborative operation process of other modules: Operation of the multi-temperature zone hot water supply module: After receiving the segmented temperature control sequence from the personalized brewing plan, the multi-temperature zone hot water supply module operates according to the following process: The main heating unit starts up, maintaining the stored hot water at a high temperature range to provide basic hot water for subsequent temperature adjustment; The rapid temperature control unit adjusts the hot water supplied by the main heating unit to the target temperature within 30 seconds based on the target temperature at each stage, using a combination of PID control and feedforward control algorithms. For example, when a lower temperature hot water is needed in the first stage, the rapid temperature control unit activates the cooler to lower the temperature; when a higher temperature hot water is needed in the second stage, the rapid temperature control unit activates the heater to raise the temperature. The multi-channel distribution unit selects the corresponding temperature range to output hot water based on the segmented temperature control sequence. The module's three independent channels correspond to the high-temperature, medium-temperature, and low-temperature ranges, respectively, and each channel is equipped with independent temperature and flow control to ensure the accuracy of the output hot water temperature and flow rate. The temperature calibration unit uses a platinum resistance temperature sensor and a Kalman filter algorithm to measure and predict the water temperature in real time, and performs an automatic calibration program every 24 hours to ensure the accuracy of the hot water temperature at each stage in this embodiment. The hot water output unit uses a pulse-type water output control function to precisely control the hot water supply according to the dosage and brewing requirements of each Chinese medicine in the prescription, so as to avoid abnormal water volume affecting the brewing effect.
[0036] Operation of the controllable stirring module: After receiving the staged stirring control sequence from the personalized brewing plan, the controllable stirring module operates according to the following process: The brushless DC motor adjusts its speed according to the mixing intensity requirements of each stage. For example, when the mixing intensity is medium in the first stage, the motor speed is adjusted to 400 rpm; when the mixing intensity is high in the second stage, the motor speed is adjusted to 800 rpm. The magnetic coupling transmission mechanism is activated to achieve a completely sealed transmission of the stirring shaft, preventing leakage of the medicine. The adjustable stirring paddle is controlled by a stepper motor and automatically adjusts the immersion depth according to the viscosity of the medicinal solution and the content of solid particles during the brewing process. For example, after adding Chinese medicine A and Chinese medicine C in the first stage, the viscosity of the medicinal solution is low, and the stirring paddle immerses in a shallow depth; after adding Chinese medicine B in the second stage, the viscosity of the medicinal solution increases, and the stirring paddle immerses in a deeper depth. The asymmetric blade rotation creates a three-dimensional spiral flow field in the liquid medicine, improving the uniformity of stirring; The speed feedback unit uses a photoelectric encoder to monitor the actual speed in real time, ensuring that the error between the actual speed and the set speed does not exceed ±5 revolutions per minute; the torque monitoring unit indirectly measures the stirring torque through a current sensor and monitors the change in stirring resistance in real time. In this embodiment, no abnormal increase in resistance occurred, and the stirring process was stable.
[0037] Operation of the dry powder medicine storage module and the precision metering module: In the dry powder medicine storage module, the independent sealed compartments storing Chinese medicine A, Chinese medicine B, and Chinese medicine C are kept sealed, and the sealing material is food-grade silicone. The negative pressure dust removal system is activated before powder discharge to generate negative pressure to prevent dust from escaping, and the exhaust is treated by a high-efficiency air filter. The humidity control unit uses molecular sieve desiccant to maintain the relative humidity inside the medicine storage compartment below 30%. The static electricity elimination device neutralizes the static electricity on the surface of the medicine powder by ionizing the air to prevent residue. After receiving the dosage information from the prescription information receiving module and the feeding timing information from the timing control module, the precise metering module retrieves the dried Chinese medicine powder from the corresponding medicine compartment according to the prescription requirements. During the metering process, a high-precision weighing sensor ensures that the metering accuracy meets the pharmacopoeia standards. In this embodiment, the dosages of Chinese medicine A, Chinese medicine B, and Chinese medicine C are all accurate.
[0038] Operation of the timing control module: The timing control module acts as the "control center" of the system, coordinating the operation of each module according to the following execution logic: Prescription analysis stage: Identifying the physical properties and compatibility relationships of the three traditional Chinese medicines in the prescription; Parameter optimization stage: Receive personalized brewing plans generated by the brewing parameter optimization module and confirm the rationality of the parameters; Equipment preparation phase: Send commands to the multi-temperature zone hot water supply module for preheating, and send commands to the controllable stirring module for initialization; Segmented Execution Phase: The total brewing time is divided into three time windows, each lasting 2 minutes, with a 30-second transition period between adjacent time windows to allow for smooth parameter changes. In the first time window, the multi-temperature zone hot water supply module outputs lower-temperature hot water, the controllable stirring module operates at a medium stirring intensity, and the precise metering module adds Chinese medicine A and Chinese medicine C; during the transition period, the hot water temperature and stirring intensity are smoothly adjusted. In the second time window, the multi-temperature zone hot water supply module outputs higher-temperature hot water, the controllable stirring module operates at a higher stirring intensity, and the precise metering module adds Chinese medicine B; during the transition period, the hot water temperature and stirring intensity are again smoothly adjusted. In the third time window, the multi-temperature zone hot water supply module outputs medium-temperature hot water, and the controllable stirring module operates at a medium stirring intensity. Process monitoring phase: Multi-sensor data fusion technology is employed, using a turbidity sensor to monitor dissolution adequacy, a viscosity sensor to monitor mixing uniformity, and a color sensor to monitor the dissolution of active pharmaceutical ingredients, thereby assessing the state of the solution in real time. If parameter deviations are detected, correction commands are promptly sent to the corresponding modules. In this embodiment, all parameter deviations are within acceptable limits, requiring no significant correction. Completion Judgment Phase: Based on the dual criteria of objective function convergence and liquid property stability, the brewing process is judged to be complete, and instructions are sent to each module to stop working.
[0039] This embodiment fully verifies the technical feasibility and practicality of a dry powder medicine dispensing system based on prescription information by using an electronic prescription containing three traditional Chinese medicines with different physical properties. Through the collaborative work of its modules, the system achieves the following technical effects: First, by using personalized brewing methods, it effectively preserves the effective components of heat-sensitive traditional Chinese medicine A. The value remained stable above 0.92; secondly, it promoted the full dissolution of the poorly soluble traditional Chinese medicine B. The value is stable above 0.90; thirdly, the total brewing time is controlled within a reasonable range, and the operational efficiency meets the daily needs of the pharmacy.
[0040] In summary, this embodiment demonstrates that the system can accurately adapt to the differences in the physical properties of Chinese medicines in a prescription, solving problems such as insufficient efficacy and incomplete dissolution caused by the use of uniform parameters in existing technologies. It provides a reliable technical solution for the automation and standardization of Chinese medicine dispensing in pharmacies, meets the needs of modern medicine for the accuracy and efficiency of Chinese medicine dispensing, and has significant technical advantages and application value.
[0041] Example 2 like Figure 3 As shown in Example 1, this example elaborates on the specific steps of the dry powder drug dispensing system based on prescription information during operation. The specific steps are as follows: 1. System startup and initialization: The system is powered on, and each module performs self-tests and initialization.
[0042] The timing control module loads default parameters, and the traditional Chinese medicine knowledge base module verifies data integrity.
[0043] 2. Receiving electronic prescriptions: The prescription information receiving module obtains electronic prescriptions from the medical institution's information system. The prescriptions include information on the types and dosages of traditional Chinese medicines.
[0044] The system verifies the prescription format to confirm that there is no missing or abnormal data.
[0045] 3. Analyzing the prescription and obtaining physical property parameters: The timing control module analyzes the prescription and identifies the components of each Chinese medicine and their dosage.
[0046] The Traditional Chinese Medicine Knowledge Base module queries and returns the physical properties of each Chinese medicine based on the types of Chinese medicine in the prescription, including the optimal brewing temperature range, recommended brewing time range, and suitable stirring intensity level.
[0047] 4. Generate personalized brewing plans: The brewing parameter optimization module calculates personalized brewing plans based on prescription information and physical property parameters through a multi-objective optimization algorithm. The plans include segmented temperature control sequences, staged stirring control sequences, and batch feeding control sequences.
[0048] The plan specifies the total brewing time, the duration of each stage, and the transition period arrangements.
[0049] 5. Equipment preparation: The timing control module sends instructions to the multi-temperature zone hot water supply module for preheating, while the main heating unit maintains the temperature of the stored hot water.
[0050] The controllable stirring module is initialized, and the brushless DC motor and the liftable stirring paddle are reset to their initial positions.
[0051] The dry powder medicine storage module activates anti-cross-contamination settings, including a negative pressure dust removal system and a humidity control unit.
[0052] 6. The brewing process is carried out in segments: The timing control module divides the total brewing time into multiple time windows, and constant parameter control is performed within each window.
[0053] First period: The multi-temperature zone hot water supply module outputs hot water in the low-temperature zone.
[0054] The controllable stirring module operates at a medium stirring intensity.
[0055] The precise metering module retrieves and adds Chinese medicine A and Chinese medicine C from the dry powder medicine storage module according to the prescription dosage.
[0056] Transition period: The hot water temperature was steadily adjusted to the medium temperature range.
[0057] The stirring intensity was steadily adjusted to a high level.
[0058] Second period: The multi-temperature zone hot water supply module outputs hot water in the medium temperature range.
[0059] The controllable stirring module operates at a high stirring intensity.
[0060] The precise metering module is used to add traditional Chinese medicine B.
[0061] Subsequent periods and transition period: Continue adjusting the temperature, stirring intensity, and material input according to the customized plan until all stages are completed.
[0062] 7. Process monitoring and adjustment: During the process monitoring phase, multiple sensors are used to collect real-time data on the status of the liquid medicine.
[0063] The timing control module compares the measured data with the set value. If the deviation exceeds the allowable range, it automatically adjusts the hot water temperature, stirring intensity, or feeding sequence.
[0064] 8. Complete the judgment and output: The judgment stage determines whether the brewing process is complete based on the stability of the medicinal liquid properties and the convergence of the objective function.
[0065] Once the target is met, the system stops supplying hot water and stirring, and the medicine is ready to be output.
[0066] The system performs a self-cleaning procedure in preparation for the next medication dispensing.
[0067] 9. System standby: All modules are reset, and the system enters a low-power standby state, waiting for the next prescription input.
[0068] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.
Claims
1. A dry powder medication dispensing system based on prescription information, characterized in that, include: The prescription information receiving module is used to receive electronic prescription information containing multiple Chinese medicine ingredients; The Traditional Chinese Medicine Knowledge Base module stores the physical properties of various dried Chinese medicine powders, including the optimal brewing temperature range, recommended brewing time range, and suitable stirring intensity level for each Chinese medicine. The brewing parameter optimization module calculates a personalized brewing plan for a specific prescription based on the received electronic prescription information and the physical property parameters in the traditional Chinese medicine knowledge base module through a multi-objective optimization algorithm. The multi-temperature zone hot water supply module can provide and switch between hot water at different temperatures; The controllable stirring module features adjustable stirring speed and controllable stirring time. The dry powder medicine storage module contains multiple independent medicine storage compartments for storing different types of Chinese herbal medicine powders; The precise metering module is used to retrieve the corresponding type and dosage of Chinese herbal powder from the dry powder medicine storage module according to the prescription requirements; The timing control module is used to control the dry powder feeding sequence, the hot water temperature change sequence, and the stirring intensity change sequence; The brewing parameter optimization module generates a personalized brewing scheme based on the differences in the physical properties of each Chinese herbal medicine in the prescription. This scheme includes segmented temperature control, staged stirring control, and batch feeding control. The multi-temperature zone hot water supply module provides hot water at different temperatures at different brewing stages according to the personalized brewing scheme. The controllable stirring module uses different stirring intensities at different brewing stages according to the personalized brewing scheme. The timing control module controls the timing of feeding different types of dry Chinese herbal medicine powders according to the personalized brewing scheme.
2. The dry powder drug dispensing system based on prescription information according to claim 1, characterized in that, The brewing parameter optimization module uses a multi-objective optimization algorithm based on the following objective function: in, To comprehensively optimize the function value, , , These are the weighting coefficients for drug efficacy retention, solubility, and operational efficiency, respectively. This refers to the number of different types of Chinese herbs in the prescription. For the first The weight percentage of traditional Chinese medicine in a prescription. For the first Chinese medicinal herbs at temperature and time The efficacy retention function is as follows. For the first The intensity of stirring of various Chinese medicinal herbs and time The solubility function under the following conditions Total brewing time; The efficacy retention function Characterizes the retention degree of the effective components of a specific traditional Chinese medicine under given temperature and time conditions, with a value range of 0 to 1; The solubility function Characterizes the degree of dissolution of a specific Chinese medicine under given stirring intensity and time conditions, with a value range of 0 to 1; The efficacy retention weighting coefficient The proportion of heat-sensitive Chinese herbs in the prescription is dynamically adjusted; the higher the proportion of heat-sensitive Chinese herbs, the better. The larger the value; The solubility weighting coefficient The prescription is dynamically adjusted based on the proportion of poorly soluble Chinese medicines; the higher the proportion of poorly soluble Chinese medicines, the better. The larger the value; The operational efficiency weighting coefficient The dosage is dynamically adjusted based on the total prescription dose and the pharmacy's workload; the higher the total dose or the heavier the workload, the better. The larger the value, the better.
3. The dry powder drug dispensing system based on prescription information according to claim 2, characterized in that, The efficacy retention function Determined in the following ways: Establish a database of thermal stability of traditional Chinese medicine, which includes the detection data of effective components of each traditional Chinese medicine under different temperature and time combinations; A continuous three-dimensional response surface for temperature-time-drug retention rate was constructed using cubic spline interpolation. The Arrhenius equation is introduced to correct the effect of temperature on the drug degradation rate; Consider the synergistic or antagonistic effects of traditional Chinese medicine compatibility on thermal stability; The solubility function Determined in the following ways: Establish a database of Chinese medicine dissolution characteristics, including dissolution test data of each Chinese medicine under different combinations of stirring intensity and time; The nonlinear relationship between stirring intensity, time, and solubility was fitted using a particle swarm optimization algorithm. Introducing factors affecting the dissolution rate of traditional Chinese medicine particles; Consider the mutual influence of the dissolution process when multiple Chinese herbal medicines are mixed; The dynamic adjustment mechanism of the weighting coefficient is calculated based on the prescription composition characteristic parameters, which include the proportion of heat-sensitive medicinal materials, the proportion of poorly soluble medicinal materials, the total dosage of medicinal materials, and the complexity of medicinal material compatibility.
4. The dry powder drug dispensing system based on prescription information according to claim 1, characterized in that, The multi-temperature zone hot water supply module includes: The main heating unit maintains the stored hot water at a temperature of 95 to 100 degrees Celsius. The rapid temperature control unit, consisting of a heater, a cooler, and a temperature sensor, can adjust the water temperature to the target temperature within 30 seconds. The multi-channel distribution unit has three independent hot water output channels, each equipped with independent temperature and flow control; The temperature calibration unit uses a platinum resistance temperature sensor and a Kalman filter algorithm for temperature measurement and prediction. The hot water output unit has a pulse-type water output control function; The three hot water output channels of the multi-channel distribution unit correspond to the high temperature range of 90 to 100 degrees Celsius, the medium temperature range of 80 to 90 degrees Celsius, and the low temperature range of 70 to 80 degrees Celsius, respectively. The rapid temperature adjustment unit achieves temperature stability by combining PID control algorithm and feedforward control algorithm. The temperature calibration unit performs an automatic calibration program every 24 hours.
5. The dry powder drug dispensing system based on prescription information according to claim 1, characterized in that, The controllable stirring module includes: The brushless DC motor provides stepless speed regulation from 200 rpm to 1000 rpm; A magnetic coupling transmission mechanism enables completely sealed transmission of the stirring shaft; The lifting and lowering stirring paddle is controlled by a stepper motor, with a vertical movement range of 0 mm to 50 mm. The asymmetric blade configuration includes one main propulsion blade and two auxiliary guide blades; The speed feedback unit uses a photoelectric encoder to monitor the actual speed in real time. The torque monitoring unit indirectly measures the stirring torque through a current sensor; The asymmetric blades are configured with a main propulsion blade tilted at 45 degrees, and two auxiliary guide blades tilted at 30 degrees and 60 degrees respectively. The liftable stirring blade automatically adjusts the immersion depth according to the viscosity of the medicine and the content of solid particles during the brewing process. The torque monitoring unit monitors the change of stirring resistance in real time, and automatically reduces the speed and issues an alarm when an abnormal increase in resistance is detected.
6. The dry powder drug dispensing system based on prescription information according to claim 1, characterized in that, The execution logic of the timing control module includes: In the prescription analysis stage, the physical properties and compatibility relationships of each Chinese herb in the prescription are identified; During the parameter optimization phase, a multi-objective optimization algorithm is invoked to calculate the optimal brewing parameters; During the equipment preparation phase, the preheating hot water supply module and the initialization stirring module are used. In the segmented execution phase, temperature changes, stirring intensity changes, and material feeding sequence are controlled according to the optimized time sequence. During the process monitoring phase, deviations between each parameter and the set value are monitored in real time and corrected accordingly. The judgment stage is completed, and the brewing process is judged based on the solubility and the properties of the medicine solution. The segmented execution phase divides the total brewing time into multiple time windows, each lasting from 1 to 3 minutes. Within each time window, a constant temperature, stirring intensity, and herbal composition are maintained. A 30-second transition period is set between adjacent time windows to allow for smooth parameter changes. The process monitoring phase employs multi-sensor data fusion technology, including turbidity, viscosity, and color sensors, to evaluate the state of the medicinal solution in real time. The completion judgment phase determines whether the brewing process has reached its endpoint based on the dual criteria of objective function convergence and the stability of the medicinal solution properties.
7. The dry powder drug dispensing system based on prescription information according to claim 1, characterized in that, The method for constructing the traditional Chinese medicine knowledge base module includes: The data collection steps involve gathering data on the properties of Chinese medicinal materials from literature on the processing of Chinese medicinal herbs, pharmacopoeia standards, and experimental studies. Data standardization steps convert data from different sources into a unified format and units; The feature extraction step extracts key feature parameters that affect the brewing effect from the raw data; The relationship modeling steps establish a mapping relationship between the types of Chinese medicinal herbs and the optimal brewing parameters; Verify and update the steps by verifying and correcting the knowledge base data through actual brewing experiments; The data acquisition step covers more than 300 commonly used Chinese medicines, with each medicine containing at least 10 sets of brewing experiment data under different conditions. The data standardization step standardizes temperature data to degrees Celsius, time data to minutes, and stirring intensity data to dimensionless levels 1 to 5. The feature extraction step uses principal component analysis to determine three main feature dimensions affecting the brewing effect: thermal stability features, dissolution kinetics features, and compatibility interaction features. The relationship modeling step uses the random forest algorithm to construct a nonlinear mapping model from Chinese medicine types to optimal brewing parameters. The verification and update step is performed every 6 months to update the knowledge base content based on actual usage data and new research results.
8. The dry powder drug dispensing system based on prescription information according to claim 1, characterized in that, The cross-contamination prevention features of the dry powder medicine storage module include: Each compartment is an independent, sealed container with its own airtight sealing cap. The negative pressure dust removal system generates negative pressure during the dust discharge process to prevent dust from escaping; The self-cleaning mechanism performs a compressed air purging procedure after each powder discharge; Humidity control unit maintains the relative humidity inside the medicine storage compartment below 30%. An anti-static device prevents dry powder from leaving residue due to electrostatic adsorption. The independent sealed chamber's sealing cover remains tightly closed during non-powder dispensing periods, and the sealing material is food-grade silicone. The exhaust from the negative pressure dust removal system is treated by a high-efficiency particulateair filter. The self-cleaning mechanism's blowing time is 3 to 5 seconds, and the blowing direction is opposite to the powder dispensing direction. The humidity control unit uses molecular sieve desiccant, which is replaced every 3 months. The static electricity elimination device neutralizes static electricity on the powder surface by ionizing the air.