资源预览内容
第1页 / 共36页
第2页 / 共36页
第3页 / 共36页
第4页 / 共36页
第5页 / 共36页
第6页 / 共36页
第7页 / 共36页
第8页 / 共36页
第9页 / 共36页
第10页 / 共36页
亲,该文档总共36页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
单位代码 01 学 号 090119012 分 类 号 TN79.1 密 级 毕业设计说明书奔跑速度检测系统电路设计院(系)名称信息工程学院专业名称测控技术与仪器学生姓名 指导教师 2013 年 5 月 10 日黄河科技学院毕业设计说明书 第I页奔跑速度检测系统电路设计摘 要随着信息技术的不断发展,单片机在测量系统中得到了广泛的应用。速度是一个系统经常需要测量、控制和保持的量,速度是否达到要求,决定着生产及工业过程是否产生相应的效果。速度的测量方法有许多种,但在不同的应用环境下,相应的测量方法有它自己的特点和误差。因此对单片机速度测量系统的研究有着重要的目的和意义。本设计采用AT89C51 单片机作为主要控制核心,应用光电传感器采集信号,经过单片机定时计数并运用一个算法测量出奔跑物体的行驶速度,最终用 4 位 LED 数码管显示其测量结果,硬件电路简单,软件功能完善,测量速度快、精度高,成本低等特点,充分发挥了单片机的控制功能,与所学知识紧密结合,学以致用,有很高的的使用价值。关键词:单片机,速度测量,光电传感器,LED黄河科技学院毕业设计说明书 第II页Running Speed Measurement System DesignAuthor: Li qinhai Tutor:Yang quanjiuAbstractWith the continuous development of information technology, single-chip microcomputer has been widely used in the measurement system. Speed is a systems often need to measure, control and maintain, Speed whether meet the requirements, determine the production and industrial processes produce corresponding results.Speed measurement method has many kinds, but in different application environment, the corresponding measurement method has its own characteristics and error. So the study of microcontroller velocity measurement system has important purpose and meaning. This design USES AT89C51 as the main control core, using photoelectric sensors to collect signal, through single chip microcomputer timer counter and use an algorithm to measure the car speed, eventually with four LED digital tube display the measurement results, has high practical value. This article is give full play to the advantages of the performance of the single chip microcomputer, introduces the basic principle of the speed measuring method, implementation steps and the hardware and software design, hardware circuit is simple, software function is perfect, fast measurement speed, high precision, low cost etc.Key words: single chip microcomputer; Velocity measurement; Photoelectric sensor; The LED黄河科技学院毕业设计说明书 第III页目 录1 绪论.11.1 奔跑速度检测系统的发展背景及现状.11.2 本课题的目的和意义.21.3 本课题设计的主要内容.32 奔跑速度检测系统原理.43 系统方案提出和论证.54 系统的硬件设计.54.1 光电传感器介绍.54.1.1 光电传感器工作原理.54.1.2 光电传感器.54.1.3 光电传感器的类型及工作方式.54.1.4 PM12 光电传感器.54.2 信号处理电路的设计.54.3 单片机 AT89C51 介绍.54.4 最小系统的设计.54.4.1 复位电路.54.4.2 晶振电路.54.5 LED 显示部分电路设计.54.5.1 LED 基本结构.54.5.2 LED 显示器的选择.54.5.3 LED 译码方式.54.5.4 LED 显示器与单片机接口设计.55 系统软件设计.55.1 主程序初始化.5黄河科技学院毕业设计说明书 第IV页5.2 主程序流程图程序流程图.5总结.5致谢.
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号