无锁存功能脉冲计数器的改进读取方法


Autoria(s): 钟华
Data(s)

2005

Resumo

在电机伺服控制系统中,需要一个脉冲计数器对电机码盘输出的脉冲进行计数。单片机根据脉冲的个数和电机旋转方向计算出电机的转角,进而实现对电机的伺服控制。如果脉冲计数器没有数据锁存功能,且单片机读取数值时,脉冲计数器恰好发生了进位或者借位,则读取的数值可能不准确,进而影响伺服控制系统的性能。针对没有锁存功能的脉冲计数器,提出了一种改进的读取方法,有效地避免了在读取过程中由于计数器进位或借位造成的读数偏差。

In the motor servo control system,need a pulse counter to take count of the number of pulse from photoelectric encoder of the motor.MCU calculated angle of motor based on the number of pulse and direction of the motor,and then realized servo control of the motor.But some pulse counters have on data latch function for saving cost in practice.If the pulse counter has no latch function and occurs carrying or borrowing when it is read by MCU,the data read from the pulse counter maybe wrong,and then the performance of servo control system will be deteriorated.Aimed at the pulse counter without latch function,put forward an improved approach to read the data,which got over effectively the data error when MCU read the pulse counter while carrying or borrowing.

国家863计划(2001AA422170)

Identificador

http://ir.sia.ac.cn//handle/173321/6670

http://www.irgrid.ac.cn/handle/1471x/171906

Idioma(s)

中文

Palavras-Chave #光电码盘 #单片机 #四倍频
Tipo

期刊论文