1 / 71
文档名称:

毕业设计(论文)-基于单片机的数字频率计的设计.doc

格式:doc   页数:71页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计(论文)-基于单片机的数字频率计的设计.doc

上传人:3346389411 2012/5/9 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于单片机的数字频率计的设计.doc

文档介绍

文档介绍:摘要
随着电子信息产业的不断发展,信号频率的测量在科技研究和实际应用中的作用日益重要。传统的频率计通常是用很多的逻辑电路和时序电路来实现的,这种电路一般运行缓慢,而且测量频率的范围比较小。考虑到上述问题,本论文设计一个基于单片机技术的数字频率计。首先,我们把待测信号经过放大整形;然后把信号送入单片机的定时计数器里进行计数,获得频率值;最后把测得的频率数值送入显示电路里进行显示。本文从频率计的原理出发,介绍了基于单片机的数字频率计的设计方案,选择了实现系统得各种电路元器件,并对硬件电路进行了仿真。
关键字:单片机,频率计,测量
ABSTRACT
With the unceasing development of electronic information industry, the measurement of the signal frequency is playing a significant role in theory study and pratical application. The conventional frequency counter usually consists of a large number of hardware-based electric circuits, such bined and time-serial electric circuits. It is bulky and slow. Considering the ings above, this paper develops a kind of single chip-based frequency counter using puter techniques. Firstly, the rectangular pulse, which the measured signal is amplified and reshaped, is used as control throttle valve. Then, the frequency counter counts the number of the periods using the internal timer/counter of signal is chip so as to gain the frequency value of measured signal. Finally, the frequency value of measured signal is displayed through static display circuits. Since the internal oscillation frequency of signalchip is very high, the measured error in one period is very small.
Key Words: Micor- computer, Frequency, Measure
目录
第1章 引言 1
第2章 方案论证 2
数字频率计设计的几种方案 2
几种方案的优劣讨论 3
本次设计采用的方案 3
第3章 系统硬件设计 4
数字频率计工作原理 4
一般数字式频率计的原理 4
基于单片机的数字频率计原理 4
电路原理图 5
放大整形电路 6
放大整形电路的必要性 6
放大整形电路的原理 6
分频电路 10
分频电路介绍 10
四选一电路 11
单片机 13
显示电路 14
显示原理 14
显示电路图 16
电路PCB板 18
第4章 系统软件设计 20
测频软件实现原理 20
软件流程图 20
几个重要的分程序 21
第5章 系统的仿真和调试 34
硬件电路的仿真 34
误差分析 37
结束语 38
参考文献 40
致谢 41
附录 42
附录一:系统整体电路图 42
附录二:电路PCB图 43
附录三:系统整体程序 44
外文资料原文 60
翻译文稿 63
引言
随着电子信息产业的发展,信号作为其最基础的元素,其频率的测量在科技研究和实际应用中的作用日益重要,而且需要测频的范围也越来越宽。传统的频率计通常采用组合电路和时序电路等大量的硬件电路构成,产品不但体积较大,运行速度慢,而且测量范围低,精度低。因此,随着对频率测量的要求的提高,传统的测频的方法在实际应用中已不能满足