基于FPGA的EtherCAT主站研究
EtherCAT Master based on FPGA
EtherCAT作为以太网实时现场总线,在工业领域的应用已经越来越广泛。在运动控制器、数控系统中,支持EtherCAT协议以实现对数字伺服驱动器的上位控制,提出一种基于FPGA的EtherCAT主站实现方案,以软核方式用NiosII实现协议栈,包括应用层和数据链路层以及网卡驱动;主站时钟以FPGA逻辑实现普通晶振的频率补偿,使主站以稳定时钟频率同步于参考时钟;实现主站与伺服驱动器之间的通信与运动控制。实验表明,基于FPGA软核EtherCAT主站不仅可以以纳秒级同步时间控制整个主从系统,实现与伺服通信与控制的任务,还充分利用FPGA的逻辑单元,节省了硬件资源,所有模块均可以在FPGA上实现,为高速、高精度、多通道的数控技术的实现提供一种紧凑快捷的解决方案。
EtherCAT which is an Ethernet real time field bus is used in the industrial field more and more widely. In motion controller, CNC system, support the EtherCAT protocol to realize the control of digital servo drives the upper, and puts forward a kind of based on FPGA EtherCAT master implementation scheme with soft core with NiosII the protocol stack, including application layer and data link layer and the network card drive; The master clock in FPGA to achieve common crystal oscillator frequency compensation, enables the primary station to stable clock frequency synchronization to the reference clock; to achieve communication and motion control between the master station and the servo drive. Experimental results show that based on FPGA soft core EtherCAT master can not only to nanosecond time synchronization control the master-slave system, realize the task with the communication and control of servo, also make full use of the FPGA logic unit, saving hardware resources and all the modules can be implemented in field programmable gate array (FPGA), offer a compact and efficient solution for realizing the CNC technology, high speed, high precision, multi channel.
董伯麟、张越盈
通信电子电路微电子学、集成电路
现场可编辑逻辑门阵列(FPGA)EtherCAT协议现场总线时钟同步
Field-Programmable Gate ArrayEtherCAT protocolfieldbustime synchronization
董伯麟,张越盈.基于FPGA的EtherCAT主站研究[EB/OL].(2016-06-07)[2025-08-23].http://www.paper.edu.cn/releasepaper/content/201606-481.点此复制
评论