| With the continuous development of modern industrial automation,the intelligent degree of the factory workshop has improved,and types of the equipment in the workshop have become more abundant,such as industrial robots,sensors,Programmable Logic Controllers(PLCs),and so on.These diversified devices not only greatly improve the efficiency of production,but also save the cost of labor.At the same time,there are also some problems that can not be ignored.The underlying devices of different brands and models lead to a variety of communication protocols in the workshop.In order to realize the data information acquisition and monitoring of devices,the workshop communication system needs to be compatible with different devices and integrate a large number of industrial protocols,which will hinder the information construction of the production workshop.Therefore,this thesis will take OPC UA(OLE for process control unified architecture)as the core technology,the data acquisition and monitoring system of intelligent workshop is designed and implemented by taking advantage of its multiple advantages such as more secure during data transmission,integrated address space,and cross-platform,and so on.Aiming at the problems of the difficulty in unified communication mode and communication between different devices in the intelligent workshop,it is proposed to build a C/S communication architecture based on OPC UA standard specifications.Firstly,KEPServer EX is used to build OPC UA server.By configuring the corresponding drive channel type,IP address,port number,node tag attribute,link label and other information for the underlying equipment in the workshop,the working data of devices is collected and the data interaction between devices is completed.And the server terminal information is configured to reserve a unified OPC UA communication interface for the client.Secondly,OPC UA client is developed with C# programming language on the.Net platform.The communication server module,the address space browsing module,the attribute information display module,the node monitoring module and the data storage module are designed to realize the functions of visual reading,modification,monitoring and storage of the collected data by accessing the server.Aiming at the phenomenon that the working data of devices in the intelligent workshop is huge and disorderly,and the processing of the data takes a long time,the ELK technology is proposed to build the data retrieval and analysis framework.The data search engine is built by configuring Elasticsearch.JDBC is used to link My SQL database,Logstash is used to complete the synchronization operation of database,Kibana visualization platform is built and the index in Elasticsearch is imported to realize fast and accurate retrieval and analysis of massive data generated by devices.Finally,through the test and verification of the data acquisition and monitoring system designed in this thesis on the actual equipment of the sorting control platform of three-axis parallel robot and the temperature and humidity sensor,and it is proved that it meets the target requirements. |