文档详情

电机转速测量电路.doc

发布:2017-01-06约1.28万字共23页下载文档
文本预览下载声明
课程设计(论文)说明书 题 目:电机转速测量电路 院 (系):信息与通信学院 专 业:电子科学与技术 学生姓名 学 号: 指导教师:何宁 职 称:教授 2012年12月20日 摘 要 本文设计了一种基于AT89S52单片机的红外线转速测量系统。该系统的红外发射与接收采用直射式,红外发光管射出的红外线通过圆盘的小孔照射到红外探头上,接收电路再经过简单的信号处理得到脉冲式的转速信号。使用AT89S52单片机采样脉冲信号并计算每分钟内脉冲信号的数目,即电机对应的转速值,最终系统通过四位七段数码管显示电机每分钟的转速值。本文详细分析了系统的组成及工作原理,给出了系统中各硬件模块设计方法及系统软件设计方法,给出了部分程序流程图和程序清单。该测速系统安装维护方便,工作稳定,运行可靠,具有较大的推广应用价值。 关键词:转速测量;红外发射与接收;单片机 Abstract A infrared speed measuring system which based on the MCU of AT89S52 was designed in this paper. The infrared transmitter and receiver of the system used the direct type. The infrared light emitted from the IR LED passed through the hole in the disc to the infrared sensor, and the receiver circuit output a pulsed infrared signal by a simple signal processing. The AT89S52 was used to sample the pulse signal and calculate the amount of the pulse signal per minute which was the value of the motor speed. Finally the value of the motor would be displayed real-time by four-bit seven-segment digital tube. The composition and the principle of the system are presented, and the design method of hardware and the software are also presented. The measurement system will have a broad prospects because the convenient installation and maintenance, stable working, reliable operation. Key words: Speed measurement; Infrared transmitter and receiver; MCU 目 录 引言································································3 1 设计要求······················································4 1.1 设计目的················································4 1.2 设计内容及要求·············································4 2 转速测量系统的原理·······································4 2.1 转速测量方法················································4 2.1.1 M法(测频法)··············································4 2.1.2 T法(测周期法)······················
显示全部
相似文档