- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
电子与信息工程学院
本 科 毕 业 论 文
论文题目 基于单片机的测速仪的设计
学生姓名 汤 奇
学 号 083521019
专 业 电气工程及其自动化
班 级 083521
指导教师 黄 烜
2012年5月
摘 要
转速是运行过程中的一个重要监测量,目前国内外常用的转速测量方法有离心式转速表测速法、闪光测速法、测速法和霍尔元件测速法等。通过对现行测速方法的研究发现离心式转速表由于要直接与转轴连接,,所以的测速。
本文介绍了一种基于AT89S52单片机的光电开关转速测量系统设计。系统采用对射式光电开关产生与相对应的脉冲信号,使用AT89S52单片机采样脉冲信号并计算每分钟内脉冲信号的数目,即对应的转速值,最终系统通过数码管实时显示的转速值。经过仿真测试,本系统满足设计要求,且结构简单、实用在降低测速器成本,提高测速稳定性及可靠性等方面有一定价值,具有广泛的前景。ABSTRACT
Speed is an important monitoring of various types of motor running at home and abroad speed measurement method the centrifugal tachometer Velocimetry, flash Velocimetry Velocimetry radio and Hall components velocimetry method. The current fan speed method centrifugal tachometer directly connected with the fan shaft, in the actual measurement difficulties, limited use in the motor tachometer.
This article describes a design based on AT89S52 Microcontroller optical switching speed measurement system to measure fan speed. The system uses a pulse signal corresponding to the fan-beam photoelectric switch, using AT89S52 MCU sampling pulse signal and calculate the number of pulse signals per minute, the motor speed value, the final system in real time by digital tube display fan speed value. After the simulation test hardware, the system meet the design requirements, the structure is simple and practical. Reduce the cost of the tachometer, the stability and reliability of the gun has some value, has broad application prospects.
KEY WORDS: SCM; speed measurement;photoelectric switch
目 录
1 绪论 1
1.1 国内外发展情况 1
1.2 课题研究的目的 2
1.3 系统研究的内容及其组成 2
2 系统设计原理 5
2.1 AT89S52单片机介绍 5
2.1.1 主要性能 5
2.1.2 引脚功能 5
2.1.3 定时/计数器的结构 8
2.1.4 定时/计数器的控制 8
2.1.5 中断控制 9
2.2 光电传感器 10
2.2.1 光电开关工作原理 10
2.2.2 光电开关的分类 11
2.2.3 光电开关的特点 11
2.3 LED显示接口技术 12
2.3.1 输入和处理LED显示器的结构 12
2.3.2 数码管的显示方式及其特点 12
3 硬件系统设计 15
3.1 测速信号采集及其处理 15
3.1.1 转速测量原理 15
3.1.2 信号处理电路 15
3.2 单片机处理电路设计 16
3.2.1 时钟电路 17
3.2.2 复位
文档评论(0)