| Methadone maintenance treatment is currently internationally recognized mutually of the foremost effective ways for treating diacetylmorphine and different opioid addiction.At present,the enrollment rate of patients in maintenance treatment stations in China is decreasing year by year,and also the staffing within the stations isn’t up to the national normal.The ensuing relapse of treatment recipients has a sway on domestic drug interdiction efforts.Therefore,the employment of net and net of Things technologies to develop a fixer dosing machine to accelerate the great layout of intelligent patient clinics and improve maintenance treatment enrollment rate and work potency has vital application price.In this paper,through researching the event standing of connected pharmaceutical devices reception and abroad and analyzing and summarizing the method of methadone hydrochloride maintenance treatment,the look of the general theme of the medication administration machine is together completed on the idea of proposing the useful necessities of the medication administration machine.The STM32F407ZGT6 silicon chip is employed because the main management core to style and implement the hardware platform of the medication administration machine system,as well as the driving circuit of the management mechanism,the close temperature feedback circuit,the device driving circuit and therefore the serial communication circuit.At identical time,DC UPS power provide technology is chosen to make sure the conventional operation of the medication machine.On the hardware platform,the stable and economical embedded period of time software package μC/OS-III and also the finite state machine model with straightforward implementation and clear structure square measure introduced,and also the bottom-up software system design from the hardware abstraction layer to the applying layer is adopted to comprehend the software system style of the medication machine system.Mainly,we’ve completed the transplantation of software package,hardware driver and performance module program writing,subdivision and implementation of application tasks,useful testing and project documentation.This paper introduces fuzzy management rule to appreciate dynamic adjustment of dispensing speed supported the normal pharmaceutical dispensing technique.The model is valid by modeling the dispensing mechanism and simulating the model mistreatment Simulink.Finally,the feasibleness and effectiveness of the system area unit verified by the experimental platform engineered.The check shows that the system will complete the operations of medication cup renewal,medication dispensing and provides recovery per the planned method. |