摘要
运用可编程逻辑器件,设计了光栅信号的解码方案,针对信号转向计数缺失的问题,提出了一种二次计数的修正方法,并进行了仿真验证与分析。首先简述了光栅信号的运动特征;其次根据光栅信号的变化特点,采用硬件描述语言编程(Verilog)的方法,设计了信号逻辑处理电路,包括细分辨向电路、转向识别电路与双向计数电路;最后通过仿真验证了该方案的可行性,并具体分析了解码速率。仿真结果表明,该方案实现了光栅信号的细分辨向与转向修正,最终计数值准确可靠,解码速度快,达到了设计目的。
Applying complex programmable logic device,a kind of decoding programme for grating signal was designed,as for question about signal counting lost while turning,a kind of correctional method of counting twice was presented,and the method was finally verified by simulation experiment. Firstly,The movement characteristic of grating signal was described. Then the Complex Programmable Logic Device(CPLD)signal processing logic circuits were designed using Verilog HDL,according to the property of grating signal,including module of discerning direction with subdivision、turning identification and two- way counting. Lastly,the simulation authenticated the programme feasibility and concretely analysed decoding rate. The results showed that the programme actualized signal subdivision and redress,decoding fast with reliable counter number,and achieved design destination.
出处
《传感技术学报》
CAS
CSCD
北大核心
2016年第12期1869-1874,共6页
Chinese Journal of Sensors and Actuators
基金
国家自然科学基金项目(51575523)
关键词
可编程逻辑器件
光栅信号
解码
计数修正
仿真
Complex Programmable Logic Device(CPLD)
grating signal
decoding
counter correction
simulation