| In recent years,the Internet of Things,virtual simulation,artificial intelligence and other new technologies are widely used in the manufacturing industry,how to apply virtual commissioning technology to the industrial manufacturing field will become the key factor in the core competitiveness of the industry in the future.Virtual commissioning can reduce the time and cost of product design,reduce the risk of commissioning,and at the same time,discover problems in the commissioning process in advance,and finally produce a reliable design scheme.At present,most of the commissioning tasks for industrial production lines are based on on-site commissioning by engineers.The existing virtual commissioning software is expensive and it is hard to satisfy the needs of multiplatform information interaction in the commissioning process of industrial production lines.In response to this problem,this paper proposes a design method of cross-platform virtual commissioning system based on Unity3 D for production lines.The research content includes industrial equipment model libraries,industrial robots,data interaction,and interactive control software development.The main tasks completed are as follows:First,according to the system requirements,3D modeling and processing of common equipment on the industrial production line was carried out and imported into Unity3 D.At the same time,the motion behavior of each industrial equipment was analyzed.Finally,the script program of equipment operation was developed to realize the action execution of the equipment based on Unity3 D.It intuitively displays the operating status of the equipment,and provides support for the subsequent virtual production line construction.Secondly,for the 6-DOF industrial robot widely used in automated production lines,the robot kinematics model was established by the D-H parameters method.The forward and inverse kinematics equations were derived,and the correctness was verified by using the Robotics Toolbox.At the same time,the trajectory planning was carried out.Finally,based on unity3 d virtual reality engine,the modeling of virtual industrial robot was completed,and the visual operation control interface was designed to realize the motion control of the robot.Then,based on the Unity3 D graphical interface system,the communication client was developed,which can realize the communication connection with the server to interact with the data.In order to improve the friendliness and fluency of the virtual commissioning system,the scenes of the system were managed,and the interactive interface was designed.After successfully logging in from the login scene,the user can flexibly select and enter the industrial model library module,industrial robot module,production line virtual commissioning module,and exit or return to the login scene in the main interface.Subsequently,based on the Visual Studio integrated development environment,the interactive control software was developed by using the Winform form application program,which has functional modules such as login verification function,setting and commissioning,realized the communication with the external controller,and completed the data collection and writing operation.Through the Socket communication under the TCP/IP protocol,the interactive control software was used as the server to establish a communication connection with the Unity3 D client,which effectively realized the data interaction function.Finally,based on the developed virtual commissioning system,an automatic production line was built by using industrial equipment model library and other modules.The virtual commissioning experiments were carried out,which realized the signal interaction between the external controller and the virtual equipment such as industrial robots and sensors,and verified the effectiveness of the system. |