1、I 本业科毕设计本业科毕设计( (论文论文) ) 题目:题目:智能转速测量系统的软件设计智能转速测量系统的软件设计 院院 (系) :(系) : 光电工程学院光电工程学院 专专 业:业: 班班 级:级: 学学 生:生: 学学 号:号: 指导教师:指导教师: II 智能转速测量系统的软件设计智能转速测量系统的软件设计 摘摘 要要 转速是工程中应用非常广泛的一个参数,其测量方法较多,随着单片机对脉 冲数字信号的处理能力越来越强大,使得全数字量系统越来越普及,并且使转速 测量系统也可以用全数字化处理。 本文在对了解转速测量理论与掌握单片机原理的基础上,根据硬件设计,提 出系统程序设计方案,构建软件系统
2、,以实现智能转速测量与显示的功能。 本设计根据基于 AT89C51 单片机的测速测量电路,设计出转速测量软件系 统,此系统包含系统初始化程序的设计、键盘扫描程序的设计、数据接收和处理 程序的设计、显示程序的设计四个模块。对所设计的软件系统通过Vision3 软 件对其进行程序调试。最后,对构建的系统利用设计的电路进行调试,对测量指 标进行了分析、比较并提出改进方案。在设计中测量方法采用 M 法进行测量,编 译语言采用 C 语言进行编译。 本课题完成了软件系统的设计, 实现了智能转速系统的转速计算、 显示功能, 同时实现键盘的开始/停止功能,完成了设计的要求。 关键词:关键词:单片机 转速测量
3、软件设计 II Intelligent rotational speed measurement system of software design Abstract Rotational speed is the engineering of a very wide range of parameters, its measurement more, with the SCM digital signal on the pulse of more and more powerful processing capability, making the volume of all-digital
4、 system is becoming increasingly popular, and so rotational speed measurement system can be used to deal with all-digital. In this paper, the understanding of the theory and master rotational speed measurement based on the principle of SCM, the system program design, to build software systems, compiler, in order to achieve intelligent Rotational speed measurement and display