1、 毕业设计说明书 非接触式电机转速测量系统的设计 学生姓名: 学号: 学 院: 信息与通信工程学院 专 业: 自动化 指导教师: 2012 年 6 月 非接触式电机转速测量系统的设计非接触式电机转速测量系统的设计 摘要摘要:由于直流有刷电机定子转子间的摩擦驱动, 电机转速稳定性一直不高。 因此, 电机转速稳定性的监控对电机性能分析意义重大, 并且电机伺服控制也要求对电机 转速进行准确测量。 论文介绍了霍尔传感器测速的基本原理, 设计了基于单片机 AT89S52 的直流电 机转速测量系统,完成了电机转速测量系统的硬件电路设计和软件流程设计,重点 进行了霍尔传感器测量电路的设计与显示电路的设计,
2、通过四位 LED 数码管直观地 显示电机转速。 关键词关键词: 非接触式测量;单片机;AT89S52;霍尔传感器;LED 数码管显示器 Design of non-contact measuring system in motor speed Abstract:Because of the friction between dc motor stator and rotor, the stability of the motor speed is low. Therefore, the control of the motors stability plays an important rol
3、e in motor performance analysis. The control of servo motor requires the accurate measurement on the motor speed. This paper introduces the basic principle of hall speed sensor , designing the dc motor speed measuring system based on monolithic integrated circuit AT89S52, completing the motor speed
4、measurement system design of hardware circuit and the software process design . We put the emphasis on the design of hall sensors measuring circuit and the design of display circuit . And we use the four LED digital tube and direct-viewing showing the motor speed . Key Words: Non-contact measurement
5、; Single-chip microcomputer; AT89S52; Hall sensors; LED digital display 第 I 页 共 I 页 目录 1 引言 1 1.1 研究背景及意义 1 1.2 国内外研究现状 2 2 系统工作原理与总体设计 3 2.1 测量系统工作原理 3 2.2 非接触式测量的基本原理 3 2.3 霍尔效应 3 2.4 系统总体设计 5 3 硬件电路设计 6 3.1 单片机的选取: 6 3.2 传感器部分 10 3.3 整形电路的设计 . 13 3.3 时钟电路设计 16 3.5 电源电路及复位电路设计. 17 3.5.1 电源电路 17 3.
6、5.2 复位电路 18 3.6 显示电路设计 19 3.7 硬件总电路设计. 20 4 系统软件的设计 22 结论 27 参考文献 28 致谢 30 第 1 页 共 30 页 1 1 引言引言 1.11.1 研究背景及意义研究背景及意义 在某些工业自动控制领域、 某些装备应用上, 经常会遇到各种需要测量电机转 速的场合. 由于伺服驱动系统不断朝着数字化智能化方向发展, 因此转速的控制成 为在工业测控系统实现的关键环节。 而如何测量电机的转速以实现对转速的高精度 控制成为电机应用的一个突出问题之一。 传统的电机转速测量方法是采用直流测速 机, 其原理是由被测电机拖动测速发电机, 再对测速发电机产生的电压进行测量, 在将电压换算成转速. 采用测速发电机测速主要缺点如下: 首先, 测速发电机作 为被测电机的负载, 必然对转速产生影响, 在一定情况下影响测量精度; 其次, 测速发电机电压作为模拟量, 无法直接与数字控制系统连接, 必须经过A/D 转换, 增加系统控制的复杂