| Manufacturing workshops generally have problems such as difficulties in equipment management and monitoring,and difficulties in product reporting and tracing.The emergence of smart factory MES(Manufacturing Execution System)has provided new ideas to solve the above problems,and major universities have opened MES system courses to cultivate intelligent manufacturing talents in the new era,while universities train students in MES without corresponding supporting production lines and systems,and only stay in theoretical teaching.In this paper,the above problems are addressed by researching the MES model architecture of smart factory and the key technologies required to build the system,designing a teachingoriented and production-oriented MES system,realizing the monitoring and traceability of product quality,materials,manufacturing process and other information,realizing the scheduling of multiple orders,and providing a platform for universities to train MES talents.The main research contents are as follows.(1)Explains the technical foundation needed to design and develop MES system,and analyzes its technical features,underlying principles,and business architecture.The processing process of each workpiece in the workshop of the smart factory is introduced,and the processing sequence of different workpieces and the processing equipment required for each process are shown in the form of flowcharts.(2)The communication between MES and PLC control system,AGV host computer and vision inspection system host computer is studied and designed,and the communication between MES and PLC adopts Modbus TCP protocol,and the communication between MES and AGV host computer and vision inspection system host computer adopts TCP communication protocol,and the underlying communication mechanism is analyzed and designed according to the workshop production characteristics.The communication transmission message is designed.(3)The workshop scheduling of MES system was studied.A hybrid genetic scheduling algorithm-based MES planning and scheduling module was designed for the multi-order and multi-task model of the smart factory shop floor,with minimum completion time as the fitness function,through population selection,crossover and variation,and the introduction of simulated annealing operations at intervals.And the designed scheduling algorithm is simulated and verified and compared to achieve the shop floor plan scheduling for multiple workpieces and multiple devices.(4)The framework design and module implementation of MES system were carried out.According to the dual requirements of production and teaching in the smart factory MES,the system software architecture,system business structure,system application architecture and database were designed,and the system functional modules were implemented.The master data management module,process management module,equipment management module,production visualization module,energy management module,planning and scheduling module and automation docking workpiece traceability module of MES system are realized.Based on the above research,the production and smart factory MES system studied in this paper has been practically run and taught in a university,and the application effect shows that the MES system is well designed functionally,realizes reasonable scheduling of multiple orders and stable communication with other equipment,and achieves good results overall. |