Journal of Computer Applications ›› 2011, Vol. 31 ›› Issue (02): 565-567.

• Typical applications • Previous Articles     Next Articles

FPGA implementation and application of PCI interface controller in bus based computer numerical control system

  

  • Received:2010-07-19 Revised:2010-09-02 Online:2011-02-01 Published:2011-02-01

总线式数控系统中PCI接口控制器的FPGA实现与应用

顾超1,宋宝2,唐小琦2   

  1. 1. 华中科技大学国家数控系统工程技术研究中心
    2.
  • 通讯作者: 顾超
  • 基金资助:
    国家“高档数控机床及基础制造装备”科技重大专项课题:开放式全数字高档数控装置;国家“高档数控机床及基础制造装备”科技重大专项课题:基于多种国产CPU芯片的跨平台高档数控装置

Abstract: To meet the requirements for high speed and high accuracy machining,how to transmit large amounts of data fast and stably between operation system and peripheral interface becomes very important in bus based multiprocessor advanced Computer Numerical Control (CNC) system. After analyzing the advantage of transmission application based on PCI in the CNC system,a PCI interface controller was designed in the main control chip FPGA on the CNC device's interface control board, also the key components of the internal structure of PCI interface controller, as well as its core state machine design were discussed in detail, then the method to use PCI interface controller in bus based CNC system was explained. Finally, the experimental platform was set up to verify the feasibility and effectiveness of the program.

Key words: PCI, interface controller, Field-Programmable Gate Array (FPGA), numerical control, fieldbus

摘要: 在总线式多处理器高档数控系统中,为了满足高速高精加工的要求,让数控装置的操作系统与外部设备接口之间快速稳定地传输大批量的数据十分重要。在分析了基于PCI协议的传输方式在数控系统中应用的优势后,在数控装置接口控制板的主控芯片FPGA中利用软件设计了一款PCI接口控制器,并详细论述了PCI接口控制器内部结构关键部分,以及其核心状态机等的设计,然后说明了PCI接口控制器在总线式数控系统中应用的方法。最后,通过搭建实验平台,验证了该方案的可行性和有效性。

关键词: PCI, 接口控制器, 现场可编程门阵列, 数控, 现场总线