摘要:为了解决数控机床轮廓插补软硬件之间的技术屏障,使其在高速插补运算的同时,又能反复编译修改,从而满足现在大型数控机床插补的需求。本文拟用数字积分法设计以FPGA作为微处理器的精插补开环控制数控系统,实现三轴联动的空间直线插补。该设计以数字积分算法为理论依据,用VHDL语言进行了编译,并在QuartusⅡ软件上进行仿真。由仿真结果可以看出,采用FPGA设计的数字积分插补器可方便实现比较复杂的运动走向,为实现高性能的硬件数控插补系统提供了有效的途径。
本文首先介绍了FPGA内部如何实现总体功能的模块层次化框图,再从具体每个模块实现的功能进行介绍。为了满足设计需求,选用了Altera公司的Cyclone系列整体性能较好的EP2C35F672C6 FPGA芯片。接着阐述了每个模块仿真出的波形分析,从而判断其具体功能是否实现,最终进行整体仿真调试,各模块达到精插补的设计需求。
关键词:插补 数字积分法 FPGA VHDL 模块层次化
ABSTRACT:The research and design of CNC contour interpolation based on FPGA is proposed in this paper.In order to solve the Technical barriers between Software and hardware, make it can repeatedly compiling while in the high-speed interpolation operation, so as to meet the current needs of large CNC machine tools interpolation. In this paper intends to use digital integral method to design microprocessor based on FPGA to achieve three-axis linear interpolation space。The design take digital integration algorithm as the theoretical basis, make VHDL for the compilation and simulate in the Quartus Ⅱ software. We can be seen from the simulation results, make FPGA design digital integrator interpolator can easily achieve more complex movement toward, To achieve high-performance hardware CNC interpolation system provides an effective way.
In this paper firstly introduces the FPGA internal how to realize the overall function module hierarchical diagram and then introduce from the specific function of each module implements, In order to meet the design requirements, We choose the Altera's Cyclone series’ EP1C3T144C8.Then describes the waveform simulation analysis from each module. In order to determine whether to implement its specific functions .In end, we make the overall simulation debugging ,we find every module can achieve fine interpolation design needs.
Keywords: interpolation;Digital integral method;FPGA;VHDL;Module hierarchical