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

Improved Method for Reading Pulse Counter without Latch Function

在线阅读下载全文

作  者:钟华[1] 

机构地区:[1]中国科学院沈阳自动化研究所机器人学重点实验室

出  处:《仪表技术与传感器》2005年第10期56-58,共3页Instrument Technique and Sensor

基  金:国家863计划(2001AA422170)

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

关 键 词:光电码盘 单片机 四倍频 

分 类 号:TP224[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象