Chinese herbal medicine storage system
Patent Information
- Application Number
- CN202410900346.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2026-10-23
AI Technical Summary
[0036](1)本发明通过视觉检测模块对待贮存中草药进行图像采集,利用处理与控制模块进行识别分析,无需药剂师的单独鉴别,极大地方便了医疗企业和家庭用户使用,设置若干贮存模块,以对不同的中草药进行分别储存,避免相互影响,自动调整贮存区域的温湿度、通风与光照环境参数,确保中药材能在最理想的条件下保存,自动记录中草药每次存取的时间与重量,提高药品管理的效率与质量,方便人员使用。
Smart Images

Figure CN122954255A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of traditional Chinese medicine storage, and specifically relates to a traditional Chinese medicine storage system. Background Technology
[0002] The proper storage of Chinese herbal medicines is very important. Proper storage can maintain the efficacy and quality of the herbs and prevent them from becoming ineffective due to moisture, mold, or insect infestation.
[0003] However, the traditional storage of Chinese herbal medicines requires manual identification by pharmacists, which mainly relies on their experience. This method is not efficient or accurate, and the storage environment cannot be intelligently adjusted according to the type of Chinese herbal medicine, which can easily lead to a deterioration in the quality of the herbs or even waste. At the same time, it is impossible to know the storage time and remaining content of the herbs, which is not conducive to the management of hospitals or families. Summary of the Invention
[0004] The purpose of this invention is to provide a traditional Chinese medicine storage system to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution:
[0006] A traditional Chinese medicine storage system includes a control unit, a storage unit, a detection unit, an execution unit, and a remote central control unit. The specific storage steps are as follows:
[0007] S1. Images of the Chinese herbal medicines to be stored are acquired through the detection unit;
[0008] S2. The control unit performs intelligent recognition on the acquired images to obtain the types of Chinese medicines and storage environment parameters.
[0009] S3. Based on the obtained types of Chinese herbal medicines, store them in the corresponding storage units.
[0010] S4. The control unit adjusts the environmental parameters of the corresponding storage unit using the execution unit based on the obtained environmental parameters.
[0011] S5. Transmit the storage status to the remote central control unit to enable remote viewing and control of the storage status.
[0012] Preferably, the control unit includes a processing and control module, a data transmission module, a timing module, a data storage module, a display module, and a reminder module;
[0013] The processing and control module is used to identify, process, and control the collected data;
[0014] The data transmission module is used to transmit the stored information to the remote control unit.
[0015] The timing module is used to collect data on the storage time of traditional Chinese medicine herbs.
[0016] The data storage module is used to record the weight, storage and retrieval time, and storage and retrieval weight of Chinese herbal medicines during storage;
[0017] The display module is used for displaying information.
[0018] The reminder module is used to provide reminders for traditional Chinese medicines that have been stored for a long time.
[0019] Preferably, the storage unit includes several storage modules for the separate storage of different types of Chinese herbal medicines.
[0020] Preferably, the detection unit includes a visual detection module, a temperature and humidity detection module, a light detection module, and a pressure detection module;
[0021] The visual inspection module is used to acquire images of the Chinese herbal medicines to be stored.
[0022] The temperature and humidity detection module is used to collect the temperature and humidity parameters of the storage module;
[0023] The illumination detection module is used to collect information about the illumination conditions of the storage module;
[0024] The pressure detection module is used to collect the weight of the Chinese herbal medicines in the storage module.
[0025] Preferably, the execution unit includes a humidification module, a cooling module, a heating module, a lighting module, and a ventilation module, used to adjust the environmental parameters of the storage module based on the detection data from the detection unit.
[0026] Preferably, in step S2, the control module identifies Chinese herbal medicines through a Chinese herbal medicine identification model and uses the Mobile Net V1 convolutional neural network framework based on deep learning to train the Chinese herbal medicine identification model. Mobile Nets is based on a streamlined architecture and uses depthwise separable convolution and global depth pooling to build a lightweight deep neural network. It introduces a width multiplication parameter, which can control the size of the model and the amount of computation by adjusting the width multiplier.
[0027] Preferably, in step S4, the control unit achieves temperature control of the storage environment through an active disturbance rejection temperature control algorithm, and the specific steps are as follows;
[0028] S4.1 System Modeling: Establishing a mathematical model of the controlled object;
[0029] S4.2 Tracking Differentiator: Arranges the desired temperature trajectory and generates the desired temperature value and its derivative;
[0030] S4.3 Extended State Observer: Used to estimate the state of a system and its uncertainties;
[0031] S4.4 Nonlinear Combination: Used to combine the desired temperature trajectory output by the tracking differentiator with the state error and nondeterministic factors estimated by the extended state observer to generate the control input;
[0032] S4.5 Controller Design: Based on the output of the tracking differentiator, the extended state observer, and the nonlinear combination, design the control law, that is, determine how to adjust the output of the heater or cooler to track the desired temperature trajectory;
[0033] S4.6 Parameter Adjustment: Adjust the parameters of the tracking differentiator, the extended state observer, and the nonlinear combination.
[0034] Preferably, in step S5, the remote central control unit connects to the Alibaba Cloud IoT platform via communication forwarding software and AT command set using the MQTT protocol, and uses the Alibaba Cloud IoT platform to manage and process device data, thereby realizing remote monitoring and analysis of device data.
[0035] Compared with the prior art, the beneficial effects of the present invention are:
[0036] (1) This invention uses a visual detection module to collect images of Chinese herbal medicines to be stored, and uses a processing and control module to identify and analyze them. It eliminates the need for pharmacists to make separate identifications, which greatly facilitates use by medical enterprises and home users. Several storage modules are set up to store different Chinese herbal medicines separately to avoid mutual interference. The temperature, humidity, ventilation and light environment parameters of the storage area are automatically adjusted to ensure that Chinese herbal medicines can be preserved under the most ideal conditions. The time and weight of each storage and retrieval of Chinese herbal medicines are automatically recorded to improve the efficiency and quality of drug management and facilitate personnel use.
[0037] (2) This invention utilizes the Alibaba Cloud IoT platform to manage and process equipment data, thereby enabling remote monitoring and analysis of equipment data. It employs the Mobile Net V1 convolutional neural network framework based on deep learning to train the Chinese medicinal herb identification model, achieving high-precision and efficient image recognition. It also adopts an active disturbance rejection temperature control algorithm to estimate and compensate for uncertainties and external disturbances in the system, thereby improving the stability and accuracy of temperature control. Attached Figure Description
[0038] Figure 1 This is an overall unit block diagram of the present invention;
[0039] Figure 2 This is a specific module block diagram of the present invention;
[0040] Figure 3 This is a flowchart of the storage steps of the present invention;
[0041] Figure 4 This is a flowchart illustrating the storage environment temperature control steps of the present invention.
[0042] Figure 5 This is a schematic diagram of the training process of the Mobile Net V1 network structure of the present invention;
[0043] Figure 6 This is a schematic block diagram illustrating the working principle of the self-disturbance rejection temperature control algorithm of the present invention. Detailed Implementation
[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0045] As attached Figure 1 To be continued Figure 6 As shown:
[0046] Example 1: This invention provides a traditional Chinese medicine storage system, including a control unit, a storage unit, a detection unit, an execution unit, and a remote central control unit. The specific storage steps are as follows:
[0047] S1. Images of the Chinese herbal medicines to be stored are acquired through the detection unit;
[0048] S2. The control unit performs intelligent recognition on the acquired images to obtain the types of Chinese medicines and storage environment parameters.
[0049] S3. Based on the obtained types of Chinese herbal medicines, store them in the corresponding storage units.
[0050] S4. The control unit adjusts the environmental parameters of the corresponding storage unit using the execution unit based on the obtained environmental parameters.
[0051] S5. Transmit the storage status to the remote central control unit to enable remote viewing and control of the storage status, such as via an APP.
[0052] Specifically, the control unit includes a processing and control module, a data transmission module, a timing module, a data storage module, a display module, and a reminder module;
[0053] The processing and control module is used to identify, process and control the collected data. It integrates a K210AI processor and an STM32 microcontroller unit, which realizes high-precision automatic identification and classification of Chinese herbal medicine pieces.
[0054] The data transmission module is used to transmit the stored information to the remote control unit. It adopts the ESP8266 wireless communication module to ensure a stable connection with the Internet.
[0055] The timing module is used to collect data on the storage time of traditional Chinese medicine herbs.
[0056] The data storage module is used to record the weight, storage and retrieval time, and storage and retrieval weight of Chinese herbal medicines during storage;
[0057] The display module, used for information display, employs a TFT screen for more realistic colors;
[0058] The reminder module is used to provide reminders for traditional Chinese medicines that have been stored for a long time.
[0059] Specifically, the storage unit includes several storage modules for the separate storage of different types of Chinese herbal medicines. By storing different types of Chinese herbal medicines in different small areas, mutual interference can be avoided.
[0060] Specifically, the detection unit includes a visual detection module, a temperature and humidity detection module, a light detection module, and a pressure detection module;
[0061] The visual inspection module is used to acquire images of the Chinese herbal medicines to be stored.
[0062] The temperature and humidity detection module is used to collect the temperature and humidity parameters of the storage module;
[0063] The illumination detection module is used to collect information about the illumination conditions of the storage module;
[0064] The pressure detection module is used to collect the weight of the Chinese herbal medicines in the storage module.
[0065] Specifically, the execution unit includes a humidification module, a cooling module, a heating module, a lighting module, and a ventilation module. It is used to adjust the environmental parameters of the storage module based on the detection data from the detection unit. By carefully controlling the temperature, humidity, and light in the storage area, it uses light of a specific wavelength to inhibit bacterial growth in the storage area. At the same time, it is supplemented by an intelligent ventilation system and precise environmental monitoring to ensure that Chinese medicinal materials can be preserved under the most ideal conditions.
[0066] As shown above, the visual detection module collects images of whole Chinese medicinal herbs or processed Chinese medicinal herbs to be stored, and then the processing and control module identifies them, eliminating the need for individual identification by pharmacists. This greatly facilitates use by medical enterprises and home users. After identifying the type of Chinese medicinal herb, it is placed in the designated storage module. The system then automatically adjusts the temperature, humidity, ventilation, and lighting of the storage area to create the most suitable environment for storing the herbs. Once completed, the pressure detection module detects the weight of the herbs in the storage module and simultaneously starts timing, recording the storage time. Each time herbs are retrieved, the retrieved weight, remaining weight, and retrieval time are recorded. Reminders are also issued for herbs stored for extended periods, prompting staff to handle them promptly. This improves the efficiency and quality of hospital drug storage management and facilitates use by individual users. Finally, the data transmission module transmits the data to a remote control unit for remote viewing and control by the user.
[0067] Example 2: This example is basically the same as the previous example, except that in step S2, the control module identifies Chinese medicinal herbs through a Chinese medicinal herb identification model, and uses the MobileNet V1 convolutional neural network framework based on deep learning to train the Chinese medicinal herb identification model. MobileNets is based on a streamlined architecture and uses depthwise separable convolutions and global deep pooling to build lightweight deep neural networks. It introduces a width multiplication parameter, which can be adjusted to control the model size and computational cost. Instead of traditional convolution operations, it uses depthwise separable convolutions, performing depthwise convolutions first, followed by pointwise convolutions. Depthwise convolutions can perform filtering operations on each input channel, while pointwise convolutions use 1×1 convolutions to linearly combine each channel. This reduces computational cost and model size while improving accuracy and robustness. The width multiplier is the number of channels applied to each layer and can take any value from 0 to 1. When the width multiplier is 1, the model is identical to the original model, while a width multiplier less than 1 makes the model more lightweight. Global deep pooling replaces fully connected layers, performing summation on each channel and using the result as the output. This effectively reduces the number of parameters and computational cost, improving speed and accuracy. The MobileNet V1 model is deployed on the processing and control module for recognition and detection.
[0068] Specifically, in step S4, the control unit uses an active disturbance rejection temperature control algorithm to control the temperature of the storage environment. The specific steps are as follows:
[0069] S4.1 System Modeling: Establish a mathematical model of the controlled object, which is a refrigeration module, heating module or other heat exchange equipment;
[0070] S4.2 Tracking Differentiator: Arranges the desired temperature trajectory and generates the desired temperature value and its derivative, which helps to reduce overshoot and oscillation, making temperature control more stable;
[0071] S4.3 Extended State Observer: Used to estimate the state and uncertainty of the system. Through the extended state observer, the active disturbance rejection temperature control algorithm can handle the uncertainty of the system and external disturbances well. In temperature control, it estimates the uncertainties such as the heat loss of the system and the change of ambient temperature, thereby improving the robustness of the active disturbance rejection temperature control algorithm.
[0072] S4.4 Nonlinear Combination: This is used to combine the desired temperature trajectory output by the tracking differentiator with the state error and nondeterministic factors estimated by the extended state observer to generate a control input. This control input will adjust the power of the heating or cooling module to achieve the desired temperature.
[0073] S4.5 Controller Design: Based on the output of the tracking differentiator, the extended state observer, and the nonlinear combination, design the control law, that is, determine how to adjust the output of the heating module or the cooling module to track the desired temperature trajectory;
[0074] S4.6 Parameter Adjustment: Adjust the parameters of the tracking differentiator, the extended state observer, and the nonlinear combination to ensure good control performance.
[0075] Specifically, in step S5, the remote central control unit connects to the Alibaba Cloud IoT platform via communication forwarding software and AT command set using the MQTT protocol, and uses the Alibaba Cloud IoT platform to manage and process device data, thereby realizing remote monitoring and analysis of device data.
[0076] As shown above, the use of Alibaba Cloud IoT platform to manage and process device data enables remote monitoring and analysis of device data. The MobileNet V1 convolutional neural network framework based on deep learning is used to train the Chinese medicinal herb identification model, achieving high-precision and efficient image recognition. The self-disturbance rejection temperature control algorithm improves the stability and accuracy of temperature control by estimating and compensating for uncertainties and external disturbances in the system.
[0077] All standard parts used in this invention can be purchased commercially, and irregularly shaped parts can be customized according to the description and drawings. The specific connection methods for each part all employ conventional methods such as bolts, rivets, and welding, which are mature technologies in the prior art. The machinery, parts, and equipment all use conventional models in the prior art, and the circuit connections also use conventional connection methods in the prior art, which will not be detailed here. Any content not described in detail in this specification belongs to the prior art known to those skilled in the art.
[0078] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. "A plurality of" means two or more, unless otherwise explicitly specified.
[0079] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0080] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0081] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0082] The accompanying drawings of the embodiments disclosed in this invention only involve structures related to the embodiments disclosed in this invention. Other structures can refer to general designs. In the absence of conflict, the same embodiment and different embodiments of this invention can be combined with each other.
[0083] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A traditional Chinese medicine storage system, characterized in that, It includes a control unit, a storage unit, a detection unit, an execution unit, and a remote central control unit. The specific storage steps are as follows: S1. Images of the Chinese herbal medicines to be stored are acquired through the detection unit; S2. The control unit performs intelligent recognition on the acquired images to obtain the types of Chinese medicines and storage environment parameters. S3. Based on the obtained types of Chinese herbal medicines, store them in the corresponding storage units. S4. The control unit adjusts the environmental parameters of the corresponding storage unit using the execution unit based on the obtained environmental parameters. S5. Transmit the storage status to the remote central control unit to enable remote viewing and control of the storage status.
2. The traditional Chinese medicine storage system according to claim 1, characterized in that: The control unit includes a processing and control module, a data transmission module, a timing module, a data storage module, a display module, and a reminder module; The processing and control module is used to identify, process, and control the collected data; The data transmission module is used to transmit the stored information to the remote control unit. The timing module is used to collect data on the storage time of traditional Chinese medicine herbs. The data storage module is used to record the weight, storage and retrieval time, and storage and retrieval weight of Chinese herbal medicines during storage; The display module is used for displaying information. The reminder module is used to provide reminders for traditional Chinese medicines that have been stored for a long time.
3. The traditional Chinese medicine storage system according to claim 2, characterized in that: The storage unit includes several storage modules for storing different types of Chinese herbal medicines separately.
4. The traditional Chinese medicine storage system according to claim 3, characterized in that: The detection unit includes a visual detection module, a temperature and humidity detection module, a light detection module, and a pressure detection module; The visual inspection module is used to acquire images of the Chinese herbal medicines to be stored. The temperature and humidity detection module is used to collect the temperature and humidity parameters of the storage module; The illumination detection module is used to collect information about the illumination conditions of the storage module; The pressure detection module is used to collect the weight of the Chinese herbal medicines in the storage module.
5. A traditional Chinese medicine storage system according to claim 4, characterized in that: The execution unit includes a humidification module, a cooling module, a heating module, a lighting module, and a ventilation module, which are used to adjust the environmental parameters of the storage module based on the detection data from the detection unit.
6. A traditional Chinese medicine storage system according to claim 5, characterized in that: In step S2, the control module identifies Chinese medicinal herbs through a Chinese medicinal herb identification model and uses the Mobile Net V1 convolutional neural network framework based on deep learning to train the Chinese medicinal herb identification model. Mobile Nets is based on a streamlined architecture and uses depthwise separable convolution and global depth pooling to build a lightweight deep neural network. It introduces a width multiplication parameter, which can control the size of the model and the amount of computation by adjusting the width multiplier.
7. A traditional Chinese medicine storage system according to claim 6, characterized in that: In step S4, the control unit achieves temperature control of the storage environment through an active disturbance rejection temperature control algorithm. The specific steps are as follows: S4.1 System Modeling: Establishing a mathematical model of the controlled object; S4.2 Tracking Differentiator: Arranges the desired temperature trajectory and generates the desired temperature value and its derivative; S4.3 Extended State Observer: Used to estimate the state of a system and its uncertainties; S4.4 Nonlinear Combination: Used to combine the desired temperature trajectory output by the tracking differentiator with the state error and nondeterministic factors estimated by the extended state observer to generate the control input; S4.5 Controller Design: Based on the output of the tracking differentiator, the extended state observer, and the nonlinear combination, design the control law, that is, determine how to adjust the output of the heater or cooler to track the desired temperature trajectory; S4.6 Parameter Adjustment: Adjust the parameters of the tracking differentiator, the extended state observer, and the nonlinear combination.
8. A traditional Chinese medicine storage system according to claim 7, characterized in that: In step S5, the remote central control unit connects to the Alibaba Cloud IoT platform via communication forwarding software and AT command set using the MQTT protocol. The Alibaba Cloud IoT platform is then used to manage and process device data, enabling remote monitoring and analysis of device data.