The automatic weighing system of bulk Chinese herbal medicine is an important part of the automatic dispensing system of Chinese herbal medicine in the automatic Chinese pharmacy.The weighing accuracy and speed of Chinese herbal medicine affect the dispensing quality and efficiency of Chinese herbal medicine prescriptions respectively.Therefore,the process control of the automatic weighing system is extremely critical in the dispensing process of the Chinese herbal medicine.The automatic dispensing system for bulk Chinese herbal medicine by some domestic enterprises has not been promoted because the weighing accuracy and stability cannot be guaranteed.At present,the automation of prescription dispensing in the traditional Chinese medicine room is still relatively low,mainly relying on the traditional "hand grasping and weighing" dispensing method,which is low in efficiency and poor in accuracy,and cannot meet the current social needs.Therefore,it is necessary to design a set of embedded automatic weighing system based on the existing intelligent control technology to realize the accurate and rapid weighing of bulk Chinese herbal medicine.First of all,in view of the problems existing in the automatic weighing system,as well as the characteristics of traditional Chinese herbal medicine and the dispensing requirements of traditional Chinese medicine prescriptions,the overall scheme of the automatic weighing system for bulk traditional Chinese herbal medicine is designed using the three-level feeding control mode,including the automatic weighing control scheme,hardware selection,hardware circuit design and experimental platform construction.Secondly,based on mechanical vibration,dynamics principle and MATLAB system identification toolbox,the mathematical model of the vibration feeding link is mainly studied,and the mathematical model of the weighing link is analyzed,as well as the relationship between the characteristics of the Chinese herbal medicine and the drug delivery speed,so as to complete the establishment of the automatic weighing system model of the bulk Chinese herbal medicine.Then,in view of the randomness of the weighing object and the nonlinear,timevarying and large inertia characteristics of the weighing process,the fuzzy PD type iterative learning control method is adopted to design the automatic weighing control algorithm to ensure the accuracy of the weighing results of the system and the rapidity and stability of the weighing process,and the control algorithm is simulated based on the MATLAB simulation tool and the automatic weighing system model to verify the feasibility of the fuzzy PD type iterative learning algorithm,this provides a theoretical basis for the design and implementation of the automatic weighing system of bulk Chinese herbal medicine.Finally,using EPC-287 as the control core and the automatic weighing control algorithm based on fuzzy PD-type iterative learning,the software of the automatic weighing control system is designed,including program design and interface design,to complete the implementation of the automatic weighing control system,and to verify the function of the automatic weighing system of bulk Chinese herbal medicine.The experimental results show that the automatic weighing system based on the fuzzy PD type iterative learning control algorithm can realize the accurate and rapid weighing of bulk Chinese herbal medicine,and meet the dispensing requirements of the automatic Chinese traditional medicine dispensing system for Chinese traditional medicine prescriptions.This thesis has 65 figures,14 tables and 93 references. |