论文部分内容阅读
针对传统数控系统中增量式编码器传输距离短,无法传输绝对位置值等不足,本文设计和实现了应用于绝对式编码器的EnDat2.2接口.本设计采用32位嵌入式软核处理器Nios Ⅱ为数据处理核心,EnDat 2.2为编码器数字接口协议,并完成基于可编程片上系统(SOPC)的硬件设计和相应的驱动设计,通过PCI接口与PC数控上位机协同工作,完成对光电编码器的控制与数据采集.经验证,EnDat2.2接口的高速性和可靠性能满足高档数控系统对运动控制的要求,可以为数控上位机及时地提供准确的位置和速度信息.
In view of the shortcomings of traditional encoders, such as the short transmission distance of incremental encoders and the inability to transmit absolute position values, this paper designs and implements EnDat2.2 interface which is used in absolute encoders.This design uses 32-bit embedded soft-core processor Nios Ⅱ is the core of data processing. EnDat 2.2 is the digital interface protocol of encoder, and completes hardware design and corresponding drive design based on programmable system-on-chip (SOPC). Through the cooperation of PCI interface and PC NC PC, Control and data acquisition.It has been verified that the high speed and reliability of EnDat2.2 interface can meet the requirements of high-end CNC system for motion control, and can provide accurate position and speed information for CNC PC in time.