| With the implementation of "Made in China 2025" and the disappearance of China’s demographic dividend,the intelligent transformation and upgrading of machinery processing industry is imminent.In view of the current problems such as the difficulty of field debugging,isolation of production information and slow market response,this paper proposes a solution of intelligent production line for machining based on digital twin.Based on the theory of digital twinning,this paper takes the machining production line as the research object and completes the production line design,digital twinning model construction and virtual simulation verification of the machining intelligent production line in the physical layer.First of all,based on the modular method to complete the overall design of the intelligent machining production line,and the production line of each module was designed in detail.Among them,it mainly includes storage module,AGV transport module,RFID identification module,industrial robot module,processing module,transmission module,vision detection module and parallel robot module.The digital twin scheme is determined.The main control PLC is used to control the field layer,and the sensor collects the production process data in real time.Secondly,the geometric model,physical model and behavior model of each module were constructed.According to the production process,the 3D model was fused to develop the digital twin model of each module of the production line.The geometric model is constructed according to the geometric parameters of physical model such as shape,size,position and assembly relation.On this basis,the behavior model of production line system is created by means of Moore finite state machine modeling method.Thirdly,the data communication network of the production line system was established by using OPC UA technology,and the virtual and real interaction of the twin data and the mapping of digital space were realized by using OPC UA technology.At the same time,the function of storing and reproducing twin data is realized,which provides data support for model debugging,data analysis,data mining and other followup work.Finally,based on the improved Moore finite state machine model,the behavior model of the production line system is established.According to the actual function of each module to build a logical tree structure to complete its internal operation mechanism.According to the sensing information of the physical equipment,the simulation model is controlled by the script written in Lua language,and the real-time data-driven synchronous mapping of the simulation model is realized. |