摘要
针对滚齿机数控系统电子齿轮箱的设计要求,提出了一种根据现场可编程门阵列和Bresenham算法的任意比率电子齿轮分频器的实现方法。该方法的实现原理是将计算机图形学上描绘由两点所决定的直线的算法应用到电子齿轮的脉冲频率分频上,采用硬件描述语言来实现电子齿轮分频。该方法对Bresenham算法进行了改进,将累计误差值和溢出斜率修改为整数,使算法只涉及整数的加减运算,因此更快捷、更可靠。软件仿真和实验结果表明,所提出的电子齿轮分频方法可使分频过程更为简便,不仅减少了硬件资源耗费,而且算法具有较强的实用性。
A new electronic gear based on Bresenham algorithm and field-programmable gate array (FPGA) is presented to realize the arbitrary ratio fractional frequency for the design of hobbing machine CNC system. The basic principle of this realization method determines the order to form a closer approximation to a straight line between two given points, which is usually used to draw lines on a computer screen, and applied for fractional frequency divider at arbitrary ratio in hardwere description language (HDL) on the FPGA. This new algorithm eliminates expensive multiplications and divisions as well as numerical scaling to integer-only arithmetic, so achieves high efficiency and good stability. Generic synthesizable Verilog-HDL design following this algorithm is simulated on Quartus II system and examined by synthesis examples on CNC system.
出处
《西安交通大学学报》
EI
CAS
CSCD
北大核心
2014年第1期96-100,共5页
Journal of Xi'an Jiaotong University
基金
国家科技支撑计划资助项目(2013BAF04B01)
关键词
滚齿机
电子齿轮
BRESENHAM算法
任意分频器
gear hobbing machine
electronic gear
Bresenham algorithm
fractional frequency divider