文档详情

基于单片机的光电式传感器测转速系统_精品.doc

发布:2018-04-03约1.46万字共34页下载文档
文本预览下载声明
毕 业 论 文 题 目: 基于单片机的光电式传感器测转速系统 作 者: 学 号: 系 部: 专 业: 班 级: 指导者: 讲师 评阅者: 副教授 2013 年 5 月 摘 要 在工程实践中,经常会遇到各种需要测量转速的场合,测量转速的方法分为模拟式和数字式两种。由于传统的模拟式测量方式偏差较大,难以达到高精度的测量要求。所以本文采用单片机为核心的数字式测量方法。 本设计主要用AT89C5作为控制核心,In engineering practice, we often meet with all need to measure the speed of the occasion, speed measurement method is divided into two kinds of analog and digital. The deviation of the traditional analog measurement of large, difficult to achieve high precision requirements. Digital measuring method using MCU as the core. This design with AT89C52 as control core, composed of a photoelectric sensor, a total of four vaginal constitute digital tube, the hardware system includes a pulse signal generation display module three module, pulse signal processing module and the speed of the. The design of the speed measurement system is divided into three parts, respectively, photoelectric sensor part, rectifier and filter part and the SCM and digital tube display part. System through the photoelectric sensor to collect signals, the signal conditioning circuits, will deal with the pulse signal into the microcontroller, the debugging result is displayed on a total of four vaginal digital display tube. Keywords: AT89C52 (SCM); speed; photoelectric sensor; 目录 摘要 第1章 绪论 1 1.1背景 1 1.2目的及意义 1 第2章 光电传感器测转速系统硬件电路的设计 2 2.1单片机 2 2.1.1 单片机的介绍 2 2.1.2 AT89C52单片机 2 2.1.3 STC89C52单片机的管脚说明 4 2.2光电传感器 6 2.2.1 光电传感器的介绍 6 2.2.2光电传感器的工作原理 7 2.2 .3光电转换及信号调理电路设计 8 2.3硬件电路的设计 9 2.3.1 晶振电路部分 10 2.3.2 复位电路部分 11 2.3.3 转速显示电路部分 12 第3章 光电测转速系统软件的设计 15 3.1 程序流程图 15 3.2 单片机程序 17 第4章 程序的调试与仿真 18 4.1 程序的调试 18 4.2 电路的仿真 21 第5章 总结 23 致谢 24 附录一光电传感器测转速原理图 25 附录二单片机程序 26 附录三系统实物图 29 参考文献 30 第1章 绪论 1.1背景 在工程实践中,经常会遇到各种需要测量转速的场合,例如发动机、电动机、卷扬机、机床主轴等旋转设备的实验、运转和控制中,常需要分时或连续测量和显示其转速及瞬时转速。目前国内外测量电机转速的方法普遍是利用交流或直流测速发电机 ,与被测旋转体同轴安装 ,测速发电机的输出电压经整流滤波
显示全部
相似文档