摘要:本次论文设计了基于单片机脉冲频率测量系统,包括介绍了数字频率计的工作原理、放大整形电路原理、还有单片机和显示电路的原理。本文不同于一般的数字频率计,这个测量系统可以实现多种波形的频率检测,都是通过放大整形电路变成所需要的矩形脉冲波形。这个测量系统的核心控制是用AT89C51单片机,不但实用而且设计简单,程序是通过Keil编写完成的,能够精确的完成波形频率的测量,最后的仿真和测试是通过Protutes来实现的。50928
毕业论文关键词:单片机 ; AT89C51 ; 频率计; 汇编语言
Design of pulse frequency measurement system based on single chip microcomputer
Abstract: In this paper, we design a pulse frequency measurement system based on single chip microcomputer, including the principle of digital frequency meter, the principle of amplifier and the principle of the circuit, and the principle of single chip microcomputer and display circuit. This paper is different from the general digital frequency meter, this measurement system can realize the frequency detection of a variety of waveforms, all of which are required by the amplification of the rectangular pulse waveform. By AT89C51 single chip microcomputer, is not only practical, but also has the advantages of simple design, the program is through keil write complete, complete accurate measurement of wave frequency. The simulation and test is realized by Protutes core control of the measurement system.
KeyWords:Single chip microcomputer; AT89C51; Frequency meter; Assembly language
目 录
摘要 1
引言 2
1.方案论证 2
1.1数字频率计测量方法 2
1.2几种方案的优劣讨论 2
2.系统硬件设计 4
2.1数字频率计的工作原理 4
2.2电路原理图及其主要硬件部分 5
2.3放大整形电路 5
2.4电源电路模块 6
2.5主控模块 7
2.6系统显示电路 8
3.系统软件设计 8
3.1软件设计 8
4.系统调试 10
4.1放大整形电路的仿真 10
4.2单片机电路的仿真 11
4.3误差分析 13
5.结论 13
参考文献 14
附录 15
附录1:系统主电路图 15
附录2:程序代码 16
致谢.....21
基于单片机脉冲频率测量系统的设计
引言
随着科技的进步频率是许多电子测量最基本的参数,因为频率信号它抗干扰强容易传输而且可以更精准的获取参数,所以测频的研究方法越来越受到关注。频率计虽然只是测量信号的周期和频率但是它的用途非常广泛并且拓展到许多领域。随着电子技术的快速发展,尤其是单片机的出现,使得传统的电子测量设备有了全新的改变。许多大规模的集成电路都有用到频率计而且在外形功耗等方面做出了突破性的调整。根据市场上的频率计,本次论文设计出一种成本低但精度很高的小型频率计,它结合了单片机AT89C51不但实用而且设计简单。 AT89C51单片机脉冲频率测量系统的设计+电路图+程序:http://www.751com.cn/tongxin/lunwen_54381.html