本文提出了一种运动控制器软IP 的设计方案,该控制器可以控制4 个轴的步进电机或数字伺服电机,可以进行各轴独立的定位控制、速度控制,也可任选2 轴或3 轴来进行直线、圆弧和位模式插补。文中介绍了其系统结构、基本功能和插补算法。设计最终形成软IP 核,并在Xilinx 公司的Vertex2 系列FPGA中予以实现和验证。 关键 词:运动控制 插补 IP ASIC FPGA Abstract: This paper designs a motion controller soft IP, it can control 4 axes of either stepper motor or pulse type servo drivers for position, speed, and interpolation. Any 2 or 3 axes can be selected to perform linear, circular, and bit pattern interpolation. We describe structure, function and interpolation arithmetic of the motion controller. Finally, the montion controller soft IP is implemented and verified in Xilinx Vertex2 FPGA. Key words: motion control interpolation IP ASIC FPGA