基于单片机的光电编码器位置检测系统设计  被引量:18

Design of Photoelectric Encoder Position Measuring System Based on Single-chip

在线阅读下载全文

作  者:代杰[1] 樊瑜瑾[1] 张学丽[2] 孙宏德 

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

出  处:《计算机测量与控制》2011年第1期17-19,共3页Computer Measurement &Control

摘  要:为了实现对机床设备运行状态的实时监测,设计了一种基于单片机的光电编码器位置检测系统;系统采用高性能的AVR单片机对编码器的两相位置信号进行鉴相及四倍频处理,然后通过MCS-52单片机的T2计数器进行硬件计数,同时使用MCS-52单片机的串行端口将位置数据传送至上位PC机中;采用VB6.0软件设计上位机的监控界面,实时动态显示各种编码器的位置数据;试运行结果表明,该设计不仅电路简单,且计数精度高、响应速度快,达到150kHz,适用于各种位置及角度检测场合。In order to real time monitoring of the running state of mechanical equipment, a photoelectric encoder position measuring system based on single chip is designed. To achive highest counting resolution and faster counting speed, the system use AVR single--chip to accomplish the phase detection and quadruple frequency in the front--end circuit, use the 16--bit counter T2 of MCS - 52 single--chip to count. Meanwhile, the position data is being sent to the upper PC through the serial port of MCS- 52 single--chip. Use VB6.0 software to devise the monitoring interface that can dynamically display the position data of encoder. The design is very simple, and has high measuring accuracy, fast speed, which achieve 150KHz, and is suitable for the situation of position and angle measurment.

关 键 词:光电编码器 四倍频 AVR单片机 MCS-52单片机 串行端口 VB6.0 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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