首页 | 本学科首页   官方微博 | 高级检索  
     

一种利用相序测定原理的编码器计数方法
引用本文:潘征宇,胡 玲,洪 扁. 一种利用相序测定原理的编码器计数方法[J]. 工业仪表与自动化装置, 2014, 0(1): 43-45,74
作者姓名:潘征宇  胡 玲  洪 扁
作者单位:上海市计量测试技术研究院热工能源所,上海201203
摘    要:介绍了一种已获取发明专利的相序测定计数方法,以Atmel89S52单片机为基础,通过编码器的输出脉冲A和其反向脉冲A-产生中断,在中断服务程序中读取脉冲A、A-及与A脉冲相位差为90°的脉冲B的电平并与已在E2PROM中储存的状态字进行比较,由此来确定旋转方向并对脉冲进行加减计数。同时,该文也介绍了相应的硬件电路和软件程序。该方法在实际应用中的测试表明,当编码器频繁改变旋转方向时仍具有很高的测量准确度并能有效地抑制脉冲干扰信号。

关 键 词:相序测定  增量式编码器  正反转状态字  单片机

The unique encoder counting method using the principle of phase sequence measurement
PAN Zhengyu,HU Ling,HONG Bian. The unique encoder counting method using the principle of phase sequence measurement[J]. Industrial Instrumentation & Automation, 2014, 0(1): 43-45,74
Authors:PAN Zhengyu  HU Ling  HONG Bian
Affiliation:( Shanghai Institution of Measurement and Testing Technology, Shanghai 201203, China)
Abstract:The unique counting method of phase sequence measuring which has obtained patent is in -troduced in this paper .Based on Atmel89 S52 microchip , forward pulse A generated by the encoder in the interrupt or with a opposite pulse A-, read the level of A, A-and pulse B whose phase is in quadrature with A and compared with the initial standard status word in E 2 PROM.Therefore, the direction of the rotation could be determined and the pulses could be counted by this method .In the mean time , the hardware circuit and software program are described in this paper .The practical application shows that this method still has high measurement accuracy when the encoder changes its direction of rotation frequently and pulse interference signal can be effectively suppressed .
Keywords:phase sequence  incremental encoder  reversible status word  MCU
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号