Hardware-in-the-Loop Simulation System Based on Unity3D for Winding Machine
Research and development of mechatronic products generally face the problems of large workload,long cycle and high cost of on-site debugging,and the current mainstream simulation software has a single function.Thus,a set of hardware-in-the-loop simulation(HILS)system with both real time and a three-dimensional(3D)display effect is designed,and can be connected to the mechatronic software.The winding machine is taken as the simulation object,a virtual simulation platform using Unity3D is built,and the real-time interaction of data between the virtual simulation platform and the control system is realized through the circuit board.The feasibility of the process simulation of the electromechanical system in the winding machine is verified by outputting the motion timing and spatial trajectory diagrams of the key structures in the winding process.The results show that the system can replace part of the on-site debugging work and improve the efficiency of research and development.