基于AVR单片机的光电编码器定长系统设计  被引量:3

Design of Photoelectric Encoder Lengthening System Based on AVR Single-chip

在线阅读下载全文

作  者:陈立兵[1] 樊瑜瑾[1] 代杰[1] 郭波江[1] 孙宏德 

机构地区:[1]昆明理工大学机电工程学院,云南昆明650093 [2]昆明昆开专用数控设备有限责任公司,云南昆明650106

出  处:《机床与液压》2012年第13期110-113,共4页Machine Tool & Hydraulics

基  金:科技人员服务企业行动资助项目(2009GJF30012)

摘  要:为了实现对折弯机床上母线长度的测量,设计了一套基于单片机的光电编码器定长测量系统。该系统采用具有高速度、低功耗的AVR单片机对增量式编码器输出的A、B两相信号进行鉴相和四倍频处理,然后将处理后的信号通过AT89S52单片机的T2计数器进行硬件计数;利用编码器的Z相信号对测量系统进行零位校正;通过OCM12864液晶显示屏实时显示计数的结果和定长的状态。系统试运行结果表明:该系统不仅硬件电路简单,成本低廉,而且定长精度高,响应速度快,可以应用于工业上其他场所的定长检测。In order to achieve length measure for busbar on the bending machine, a photoelectric encoder lengthening system based on single-chip was designed. A high-speed and low power consumption single-chip was used to do phase discrimination and four- fold frequency for the A and B signals which were exported by the encoder, then AT89S52 single-chip's T2 counter was used to count. The Z signal of encoder was used for zero point correction. The count result and motor status were all displayed through OCM12864 liq- uid crystal. The test run results show that the system's hardware circuitry is simple, and the cost is low, the positioning accuracy is high, and the response speed is fast. It can be suitable for len^h detection in many oecasions.

关 键 词:光电编码器 母线 定长测量系统 AVR单片机 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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