基于光电编码器的位移测量系统及其仿真设计.doc

约39页DOC格式手机打开展开

基于光电编码器的位移测量系统及其仿真设计,21900字 39页摘 要传统的机械测量位移装置已远远不能满足现代生产的需要,而数字式传感器光电编码器,能将角位移量转换为与之对应的电脉冲输出, 主要用于机械位置和旋转速度的检测,具有精度高,体积小等特点,因此本设计决定采用光电编码器进行位移检测。 本设计为采用光电编码器来实现位...
编号:45-108335大小:765.00K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 ddddaa 发布

基于光电编码器的位移测量系统及其仿真设计

21900字          39页

摘  要

传统的机械测量位移装置已远远不能满足现代生产的需要,而数字式传感器光电编码器,能将角位移量转换为与之对应的电脉冲输出, 主要用于机械位置和旋转速度的检测,具有精度高,体积小等特点,因此本设计决定采用光电编码器进行位移检测。
     本设计为采用光电编码器来实现位移测量及其仿真,实现测量来自外部的不同的位移值及显示。具体应用AT89C51单片机为核心,光电编码器进行位移测量,同时以LCD液晶显示模块显示。本设计采用的光电编码器输出电压为5V,输出信号经四倍频电路处理后送入单片机进行计数处理,最后送入LCD模块显示。
本文从位移测量原理入手,详细阐述了位移测量系统的工作过程,以及硬件电路的设计、显示效果。本文吸收了硬件软件化的思想,实现了题目要求的功能。

关键词:位移测量,光电编码器,单片机,LCD显示模块

 


Abstract
In the control field, a variety of  displacement measurements often need to be carried out. In actual industry position control domain, to increase the control precision, carries on the examination to the controlled member is accurately very important.The traditional machinery survey displacement installs has not been able to satisfy the modern production by far the need, but the digital sensor electro-optic encoder, can transform the angular displacement into with it correspondence electricity pulse output, mainly uses in the mechanical position and the velocity of whirl examination, has the precision to be high, volume small and so on characteristics, therefore this design decided that uses the electro-optical encoder to carry on the displacement to examine.
This design to use the electro-optical encoder to realize the displacement survey and the simulation, realizes the survey from the exterior different displacement value and the demonstration. Makes concrete using at89C51 monolithic integrated circuit is the core, the electro-optical encoder carries on the displacement to survey, simultaneously by LCD liquid crystal display module demonstration. This design uses the electro-optical encoder output voltage is 5V, the output signal after four doubling circuit processing sends in the monolithic integrated circuit to carry on counting processing, finally sends in the LCD module demonstration.
In this paper, detailed working process of displacement measurement system is started with principle of displacement measurement, and hardware circuit design and display. This paper has absorbed the idea of hardware and software to achieve with the subject required functionality.

Key words: The displacement surveys, electro-optical encoder, microcontroller, LCD display module

 


目    录
第一章    绪论•••••••••••••••••••••••••••••••••••••••••••••••••
1.1位移测量及其传感器简介••••••••••••••••••••••••••••••••••
1.2国内外位移测量技术简介••••••••••••••••••••••••••••••••••
第二章    原理说明及方案选择•••••••••••••••••••••••••••••••••••
2.1 位移测量理论的简要介绍••••••••••••••••••••••••••••••••••
2.2 方案选择及原理••••••••••••••••••••••••••••••••••••••••••
2.2.1鉴相原理•••••••••••••••••••••••••••••••••••••••••••••
2.2.2用软件实现脉冲的鉴相和计数•••••••••••••••••••••••••••
2.2.3用硬件实现脉冲的鉴相和计数•••••••••••••••••••••••••••
2.2.4用单片机内部计数器实现可逆计数•••••••••••••••••••••••
2.3 位移测量参数及电路参数分析••••••••••••••••••••••••••••••
2.3.1MCS-51的定时器/计数器简介••••••••••••••••••••••••••••
2.3.2定时器模式选择位•••••••••••••••••••••••••••••••••••••
第三章    系统电路的设计 ••••••••••••••••••••••••••••••••••••••••
3.1 硬件电路的设计•••••••••••••••••••••••••••••••••••••••••••
3.1.1 单片机的选择 •••••••••••••••••••••••••••••••••••••••••
3.1.2 AT89C51的介绍••••••••••••••••••••••••••••••••••••••••
3.1.3 光电编码器的选择 •••••••••••••••••••••••••••••••••••••
3.1.4 1XP8001-1简介••••••••••••••••••••••••••••••••••••••••
3.2 软件的设计•••••••••••••••••••••••••••••••••••••••••••••••
第四章    显示部分•••••••••••••••••••••••••••••••••••••••••••••••
4.1 LED显示器 ••••••••••••••••••••••••••••••••••••••••••••••••
4.2 LCD显示器 ••••••••••••••••••••••••••••••••••••••••••••••••
4.2.1 LCD的分类及特点 ••••••••••••••••••••••••••••••••••••••
4.2.1笔段式LCD液晶显示器的驱动•••••••••••••••••••••••••••••
4.2.2 LCD显示模块LCDM(LIQUID CRYSTAL DISPLAY MODULE)••••••
4.3 LCD显示器的驱动接口 ••••••••••••••••••••••••••••••••••••••
第五章    仿真实现••••••••••••••••••••••••••••••••••••••••••••••••
5.1 PROTEUS仿真软件简介•••••••••••••••••••••••••••••••••••••••
5.2 KEIL与PROYEUS的联合使用••••••••••••••••••••••••••••••••••
结论••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
谢辞••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
参考文献••••••••••••••••••••••••••••••••••••••••••••••••••••••••••