| Computerized numerical control system adopts analog voltage to drive servo unit.But computer's analog interface unit has many linear and discrete components, huge system and bad anti-jamming ability.These problems lead to an unreliable result when testing with loads.In order to improve the efficiency of testing, making the use of space more reasonable, saving the cost of production,solving the problem of testing CNC`s utmost action and testing all the components of the CNC when there is no load ,the author does the comprehensive studies and developments of Servo Simulator.The research of this subject utilizes the characteristic of FPGA high integrated level, small volume, low consumption, high dependability and online debug, uses the method of SW/HW Co-Design and the characteristics of VHDL language designing a platform of Servo Simulator based on SoPC. After loading the simulator software, it can simulate the motion of 16 motors at the same time, on the Simulator platform. And it can give the CNC a closed loop test. This system is an NC testing system based on high-speed integrated circuits and hardware description language. According to different control signals, the servo simulator receives the frequency of data points, spindle encoder output and the number of spindle encoder lines. Frequency pulse is generated by the data and then produces orthogonal A, B pulse and Z pulse. Through the external circuit, A, B, Z pulse are sent to the NC system.This paper gives an introduction of numerical control system as well as research content and significance. And then servo system architecture is introduced.Servo simulator unit structure and the logic design and implementation of servo simulator are the focus of the article. Finally, servo-driven simulator design and the results of practical application are given. |