摘要
实现基于EnDat接口协议的光电编码器的控制及读取。介绍了EnDat接口的特性,给出了EnDat接口与后端电路的连接方式。描述了EnDat协议的状态过程,详述了EnDat协议的VHDL设计实现流程及方法,给出了部分程序的VHDL源代码以及实验结果和DSP微处理器端的处理方法。结果表明,在DSP端对基于EnDat协议的光电编码器能不失精度地实现控制及读取。该设计在某光电侦察项目中获得了成功的应用。
The paper's purpose is to realize control and reading of photoelectricity coder of EnDat protocol. The paper introduces charac teristics of EnDat interface,describes the manner of connection between EnDat interface and rear circuit. State process of EnDat proto col, flow and method of VHDL design are given Part of the VHDL source code, test result and management of DSP microprocessor are provided. Results indicate the realization of precision control and reading in DSP port for photoelectricity coder of EnDat protocol. Application in certain photoelectricity reconnaissance project is achieved.
出处
《单片机与嵌入式系统应用》
2011年第10期25-28,共4页
Microcontrollers & Embedded Systems
基金
国家自然科学基金:大行程两轴回转型柔顺空间机构设计问题的研究(基金编号:50805144)