| In recent years,people’s health awareness is enhanced gradually and their demands of medical examination increased accordingly.Blood sample testing plays an considerable role in the current medical examination.Mechanical motions have replaced the traditional manual screening,centrifugal work and decap during the process of blood sample testing by the laboratory automation system which combines with the industry automation technology and the computer network technology.That effectively improves the testing speed and accuracy of blood samples and has significant meanings on improving the testing quality of blood samples,shortening the sample test period,lowering costs and enhancing laboratory security.The subject aims to design a medical laboratory blood-collecting vessel sample sorting system suitable for Chinese clinical laboratories.This paper mainly designs the bloodcollecting vessel sorting control system and implements the system’s automation operation and management.The main research contents in this paper are as follows:This paper analyzes the sorting system’s structural configuration and operating principle,and designs briefly the blood-collecting vessel transportation structure in the system.In addition,it determines the general distributed control scheme of the control system as well as the the constitutive and functional partitioning of the control software by making clear of the design requirements for the control system according to the system’s structure and work flow.Modular modeling is carried out of the blood-collecting vessel sorting system’s underlying control subsystem with the tool of Simulink/Stateflow and the system’s functionality is designed and implemented based on graphical language.In addition,during the developing process,such procedures as model check and verification are completed,and the consistency check of the model and code is finished by generating C++ language program and the relevant code reports with Embedded Coder in MATLAB based on code optimal allocation.The software of the blood-collecting vessel sorting system is designed with Visual C++.In communications,the method of communication OPC with Siemens PLC is implemented and serial data acceptance is also implemented with the help of the control of MSComm.In database design,information management system is established by using the software of SQL Server 2008 and the access to database storage information implemented based on the ActiveX Data Object(ADO).Besides,the human-computer interface of the control system is also designed.The centrifugal handing robot job scheduling is planned based on genetic algorithm(GA),and the model to settle problems is established as well as the design of genetic algorithm ’s encoding,selection and cross and mutation algorithm,better parameters being determined and comparisons and simulation analysis of examples carried out according to the given working scenario with the method of experimentation.The test platform environment of the blood-collecting vessel sorting control system’s main function is established and the control system’s accuracy also verified with the method of experimental test.The human-computer interface for experimental test and results display is designed involving the function of system monitoring and control operation,ensuring the control system to meet the design and operational requirements. |