Font Size: a A A

Algorithm Simulation And Hardware Design Of Nc System

Posted on:2010-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:J W GaoFull Text:PDF
GTID:2191360308977867Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
With the rapid development of modern manufacturing, Numerical control system has been widely used in modern processing industry. NC (numerical control) system is a control system; it inputs the digital automatically which has been assigned in advance and decoded. After processing and computing necessary information, it controls machine to process parts.Firstly, this paper achieves the basic functions of numerical control system simulation using Turbo C software based on PC, including NC languages translation, interface development, point interpolation, linear interpolation, circular interpolation clockwise, counterclockwise circular interpolation, tracking coordinates, principal axis rotate and reversal, speed control, exiting from the final program and so on. The system displayed by PC, and puts out signal from parallel port.In view of the simulation base on PC, design numerical control system whose control unit is based on DSP, transplant algorithm into DSP Firstly, the hardware of the NC system is designed, including the minimum system DSP circuits, power modules, serial communication module and peripheral circuits which include electromotor interface circuit, coding circuit, interrupt circuit, currency I/O interface circuit, and encoder impulse difference incept circuit and lock circuit. Secondly, in order to improve the integration and reliability of the hardware, CPLD is used to develop the system as a cential part of peripheral circuit. Use CPLD to design the schematic diagram to finish the coder's four times frequency circuit and 30 bits count circuit. At last, the system is simulated by Quartus II.Combined with the former designed system and simulation on PC, according to the problem of tool radius compensation, the algorithm is researched though matlab. Based on the theory of tool radius compensation, an improved algorithm is simulated and realized in matlab, which can remove redundant points in the case of shortening tool radius compensation.
Keywords/Search Tags:CN system, CPLD, DSP, Tool radius compensation
PDF Full Text Request
Related items