介绍了一种基于现场可编程门阵列(FPGA)的多路光电编码器数据采集系统,包括其功能、原理、软件编程和硬件实现电路。描述了该电路的4个主要功能:四倍频细分、辨向、计数及串行通讯。根据波形的跳沿实现四倍频细分;通过对波形相位的分析,采用基于相位变化的设计原理实现辨向。建个系统在QuartusⅡ软件环境下实现编程,应用Ahera公司的EPFl0K20TC144-3型芯片作为硬件载体,角度分辨力可达1″。最后,给出了详细的编程和仿真波形。
A kind of data collection system of multiple encoders is introduced based on FPGA, including function, principle, programme and circuit. The four primary functions are introduced, such as four fold-frequency subdivision,direction-judgment,counter and serial communication. The four fold-frequency subdivision is realized on the basis of scarp of wave shape, and the direction-judgment is realized on the basis of phase change after analyzing wave shape. The programme is in Quartus Ⅱ,and the design is based on EPF10K20TC144-3 of Ahera, and the resolution is 1". The programme is described in details with simulation wavefotm.