| With the social and economic development,more and more patients choose Chinese medicine,and the number of dispensing drugs produced by Chinese medicine pharmacies is increasing.At present,many Chinese medicine pharmacies use the traditional "hand-grasped scale" dispensing method,which has many disadvantages such as slow dispensing speed,low weighing accuracy and poor sanitary conditions.Although plenty of mature automated Chinese medicine pharmacy equipment has appeared on the market,most of the equipment does not have the technology of dispensing and scheduling,which limits the improvement of drug dispensing efficiency.In view of the shortcomings of existing equipment,combined with the latest computer and electronic mechanical control technologies,this thesis develops a set of automatic Chinese medicine pharmacy dispensing and scheduling technologies,and improves the dispensing efficiency of Chinese medicine pharmacy through the cooperation of program algorithm and control system.The main research contents are as follows:(1)Analyze the existing problems of the existing automated Chinese medicine pharmacy equipment,conduct demand analysis,determine the usage of optimization algorithm and control system in the dispensing and scheduling system,and design the overall technical scheme according to the actual needs of the dispensing and scheduling optimization algorithm and control system.(2)The topological map is used to model the environment of the dispensing production line and the time window theory is introduced to solve the problem of spatiotemporal interference of different drug collection containers occupying the same path resources.By decomposing the actions of the drug collection containers and combining various working conditions in the process of the dispensing and transportation of these containers,the action operator and the scheduling operator are designed respectively.By calling the action operator and the scheduling operator,the dispensing and transport process and the simulation model design of the process are accurately simulated and then completed.(3)Due to the importance of the initial prescription queuing order,which is the main factor that influences the maximum dispensing completion time,a mathematical model is constructed.The initial queuing optimization algorithm of prescription orders based on genetic algorithm and weight factor queue strategy is designed,and the application effect of batching prescription order verification algorithm including 8,10,12 and 14 different quantity types is adopted.Finally,the advantages and disadvantages of the initial queuing optimization algorithms of the two prescription orders are analyzed,and the different dispensing production line scenarios applicable to them are determined.(4)Analyze the actual requirements of the dispensing and scheduling technology,and design the functional interface of the host computer management system based on the Visual Studio platform.Combined with the process flow and control requirements of the dispensing and transport process,with Siemens PLC as the control core,the overall architecture,hardware and control program of the lower computer sorting and conveying system are designed.(5)According to the trial production of engineering prototype and debugging of the upper computer management system as well as the lower computer sorting and conveying system,the results show that the system has stability and reliability.Relying on the engineering prototype platform,the simulation model of the dispensing and transport process was experimented,and it was verified that the model met the design requirements and had good accuracy.Finally,the work done is summarized,and the research direction of automated Chinese medicine pharmacy dispensing and scheduling technology is prospected.This thesis has 87 pictures,34 tables,and 85 references. |