欢迎来到天天文库
浏览记录
ID:11651508
大小:318.50 KB
页数:20页
时间:2018-07-13
《红外线数字转速表》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、桂林电子科技大学课程设计(论文)报告用纸第19页共19页课程设计(论文)说明书题目:红外线数字转速表院(系):专业:学生姓名:学号:指导教师:职称:2011年12月4日19正德厚学篤行致新桂林电子科技大学课程设计(论文)报告用纸第19页共19页摘要本文设计了一种基于AT89S52单片机的红外线转速测量系统。该系统的红外发射与接收采用直射式,红外发光管射出的红外线通过圆盘的小孔照射到红外探头上,接收电路再经过简单的信号处理得到脉冲式的转速信号。使用AT89S52单片机采样脉冲信号并计算每分钟内脉冲信号的数目,即电机对应的转速值,最终系统通过四位七段数码管显示电机每分钟
2、的转速值。本文详细分析了系统的组成及工作原理,给出了系统中各硬件模块设计方法及系统软件设计方法,给出了部分程序流程图和程序清单。该测速系统安装维护方便,工作稳定,运行可靠,具有较大的推广应用价值。关键词:转速测量;红外发射与接收;单片机AbstractAinfraredspeedmeasuringsystemwhichbasedontheMCUofAT89S52wasdesignedinthispaper.Theinfraredtransmitterandreceiverofthesystemusedthedirecttype.Theinfraredlightemi
3、ttedfromtheIRLEDpassedthroughtheholeinthedisctotheinfraredsensor,andthereceivercircuitoutputapulsedinfraredsignalbyasimplesignalprocessing.TheAT89S52wasusedtosamplethepulsesignalandcalculatetheamountofthepulsesignalperminutewhichwasthevalueofthemotorspeed.Finallythevalueofthemotorwould
4、bedisplayedreal-timebyfour-bitseven-segmentdigitaltube.Thecompositionandtheprincipleofthesystemarepresented,andthedesignmethodofhardwareandthesoftwarearealsopresented.Themeasurementsystemwillhaveabroadprospectsbecausetheconvenientinstallationandmaintenance,stableworking,reliableoperati
5、on.Keywords:Speedmeasurement;Infraredtransmitterandreceiver;MCU19正德厚学篤行致新桂林电子科技大学课程设计(论文)报告用纸第19页共19页目录引言································································31设计要求······················································41.1设计目的················································4
6、1.2设计内容及要求·············································42转速测量系统的原理·······································42.1转速测量方法················································42.1.1M法(测频法)··············································42.1.2T法(测周期法)············································42.1.3
7、M/T法(频率/周期法)·······································42.2转速测量原理················································53系统概述················································53.1转动系统················································53.2信号采集及其处理············································63.3单片机处理
此文档下载收益归作者所有