《基于51单片机的电动机测速表设计》由会员分享,可在线阅读,更多相关《基于51单片机的电动机测速表设计(34页珍藏版)》请在金锄头文库上搜索。
1、基于 51 单片机的电动机测速表设计摘 要本 文 介 绍 了 采 用 光 电 传 感 器 实 施 电 机 转 速 测 量 的 方 法 、 基 本 原 理 , 完 成 了 一 种基 于 AT89C51 单 片 机 平 台 的 电 动 机 测 速 表 的 软 硬 件 设 计 。 硬 件 系 统 包 括 脉 冲 信 号产 生 、 脉 冲 信 号 处 理 和 显 示 模 块 , 采 用 C 语 言 编 程 , 该 方 法 具 有 简 单 、 精 度 高 、稳 定 性 好 的 优 点 。在工程实践中,经常会遇到各种需要测量转速的场合,例如在发动机、电动机、卷扬机、机床主轴等旋转设备的试验、运转和控制中,
2、常需要分时或连续测量和显示其转速及瞬时转速。要测速,首先要解决是采样问题。在使用模技术制作测速表时,常用测速发电机的方法,即将测速发电机的转轴与待测轴相连,测速发电机的电压高低反映了转速的高低。为了能精确地测量转速外,还要保证测量的实时性,要求能测得瞬时转速方法,因此转速的测量具有重要的意义。关键词:转速测量;单片机;光电传感器;电机;脉冲IAbstractThis paper introduces adopting photoelectric sensor measurement method for implementing the motor speed and the basic pr
3、inciple, completed the design of the software and hardware of a motor based on AT89C51 platform speedometer . Hardware systems includs the pulse signal generation, pulse signal processing and display module, using C language programming,for this method is simple, high precision, stability good point
4、s .In engineering practice, often encounter a variety of situations need to measure speed, such as engines, motors, winches, machine tool spindles and other rotating equipment, testing, operation and control, often need time-sharing or continuous measurement and display of their speed and instantane
5、ous speed. To speed, we must first resolve the sampling problem. Production speed in the use table-mode technology, the methods used tachometer generator, the generator is about speed and sensed axle shaft connected to the generator speed reflects the speed high and low voltage level. In order to ac
6、curately measure speed, but also to ensure real-time measurement, requires instantaneous speed can be measured approach. Therefore, the measurement speed is significant .Keywords : speed measurement; SCM; Photoelectric sensors; Motor; pulseII目 录摘 要 .IAbstract.II1 概 述 .11.1 数字式转速测量系统的发展背景 .11.2 本设计课题的目的和意义 .12 转 速 测 量 系 统 的 原 理 .22.1 转速测量方法 .22.2 转速测量原理 .33 系 统 方 案 提 出 和 论 证 .54 系 统 硬 件 设 计 .74.1 转速信号采集 .74.2 转速信号处理电路设计 .94.3 单片机 AT89C51 介绍 .104.4 最小系统的设计 .144.4.1 复位电路 .144.4.2 晶振电路 .174.4.3 最小系统的仿真 .184.5 显示部分设计 .195 系 统 软 件 设 计 .235.1 主程序初始化 .235.2 主程序流程图程序流程图 .25总 结 .27参 考 文 献 .28致 谢 .