{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的高精度位移测量的设计研究

来源:wenku163.com  资料编号:WK16314251 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314251
资料介绍

基于单片机的高精度位移测量的设计研究(任务书,开题报告,外文翻译,论文13000字)
摘  要
在现代工业设计以及生产过程中,经常需要测量许多不同的位移量。与此同时对这些位移量进行较为精确地检测,是提高控制精度的基础。因此之前所普遍采用的传统位移测量装置的精度已经不能适应时代发展的潮流。在此背景下通过科研人员的不断努力终于研制出了数字式光电编码器,它的输入量是角位移量,输出量是相应的电脉冲,并且它具有体积小,精度高的优点。故而,这次毕业设计选用的是光电编码器作为测量位移的传感器。
本次毕业设计是以stc89C51单片机为基础,用光电编码器来实现对位移量的精确测量,再将测量结果显示在液晶显示器上。其中设计中所选用的是输出脉冲高电平为5V的光电编码器。
论文主要研究了光电编码器测位移时,如何将需要测量的直线位移转化为角位移输入到编码器中。以及单片机对编码器输出脉冲的识别与处理。

关键词:位移测量;光电编码器;单片机
 
Abstract
In modern industrial design and production process, it is often necessary to measure many different displacements. At the same time, more accurate detection of these displacements is the basis of improving control accuracy. Therefore, the precision of the traditional displacement measuring device, which has been widely used before, can not adapt to the trend of the times. Under this background, the digital photoelectric encoder has been developed through the continuous efforts of scientific researchers. Its input is angular displacement, and its output is the corresponding electrical pulse. Moreover, it has the advantages of small size and high precision. Therefore, optoelectronic encoder is chosen as displacement sensor in this graduation project.
This graduation project is based on stc89C51 single-chip computer. The photoelectric encoder is used to measure the displacement accurately, and then the measurement results are displayed on the LCD. The optoelectronic encoder with high output pulse level of 5V is selected in the design.
This paper mainly studies how to convert linear displacement to angular displacement when photoelectric encoder is used to measure displacement. And the recognition and processing of the output pulse of the encoder by the single chip computer.

Key Words:Displacement measurement; Photoelectric Encoder; MCU
 

基于单片机的高精度位移测量的设计研究
基于单片机的高精度位移测量的设计研究
基于单片机的高精度位移测量的设计研究


目录
摘要    1
Abstract    1
第1章绪论    1
1.1 研究背景    1
1.2 研究现状    1
1.2.1 光栅光电轴角编码器    2
1.2.2 绝对式编码器    3
1.2.3 准绝对式光电轴角编码器    4
1.2.4 综合分析    5
第2章原理与基本理论    8
2.1 位移测量及其传感器简介    8
2.2 光电编码器的基本原理    10
2.1.1 增量式光电编码器    10
2.1.2 绝对式光电编码器    10
2.2.3 混合式光电编码器    11
第3章设计方案及技术    12
3.1 方案选择及原理    12
3.1.1 脉冲鉴相与计数的软件实现方法    12
3.1.2 脉冲鉴相和计数的硬件实现方法    13
3.2 51系列单片机的定时器/计数器简介    14
3.3 STC89C52单片机    15
3.4 光电编码器DEEGS编码器DG38H    17
3.4.1 产品描述    17
3.4.2 输出波形与信号位置精度    17
3.4.3 技术参数    18
第4章设计的过程    20
4.1 编码器的改装    20
4.2 单片机的计数功能实现    21
4.2.1 计数方式的选择    21
4.2.2 程序设计的流程图    24
4.2.3 keil软件的使用    25
4.3 设计系统总体结构图    31
第5章总结与体会    33
参考文献    34
致谢    35

推荐资料