摘 要:频率计是计算机,通讯设备,音频视频等科研领域不可缺少的测量仪器。它是一种用十进制数字,显示被测信号频率的数字测量仪器。由于其使用十进制数显示,测量迅速,精度高显示直观,用单片机实现自动测量功能。频率计的主要功能是测量周期信号的频率,其基本原理就是闸门计数器的方式测量脉冲个数。频率是单位时间1s内信号发生周期变化的次数。如果我们能在给定的时间内对信号波形计数,并将结果显示出来,就能读取被测信号的频率。在电子技术中,频率作为电子电工学中的一个重要参数,对频率的测量就显尤为重要。系统应用单片机的数学运算和控制功能采用单片机作为核心器件,采用模块化布局,设计一个数字化频率计,该系统实现了测量量程的自动切换既满足测量精度的要求又满足系统反应时间的要求,系统具有体积小,成本低,可靠性高,测频范围宽等优点。60639
毕业论文关键词:频率计,单片机,十进制,周期信号
Abstract: The frequency meter is a computer, communications equipment, audio video and other scientific research indispensable measuring instruments. It is a decimal number, digital display measured signal frequency measurement instrument. Due to its use decimal number display, measure quickly, high precision direct display, single-chip microcomputer is used to implement automatic measurement function. Frequency meter's main function is to measure the frequency of periodic signal, its basic principle is the way of gate counter measure the pulse number. Frequency is 1 s within unit time the number of signal cycle changes. If we can be in a given period of time for counting signal waveform, and can display the results can be read from the frequency of the measured signal.In electronics, frequency as an important parameter in the electronic electrotechnics, for in the measurement of frequency on the significant particularly important. Application of single chip microcomputer system mathematical operation and the control function USES the single chip microcomputer as the core device, adopts the modular layout, Design a digital frequency meter, this system has realized the measuring range of the automatic switching both meet the requirements of measurement accuracy and meet the requirements of system response time, the system has small volume, low cost, high reliability, wide frequency range, etc.
Key words: the frequency meter,single chip microcomputer, decimal,periodic signal
1 前言5
2 系统总体设计5
2.1 系统设计要求5
2.2 测频方法6
2.3 系统设计思路与框图6
3 系统硬件设计7
3.1 单片机模块7
3.2 电源模块8
3.3 放大整形模块10
3.4 分频模块11
3.5 显示电路12
4 系统软件设计13
4.1 初始模块13
4.2 频率测量模块和量程自动切换模块14
4.3 显示模块16
4.4 延时模块19
5 频率计仿真20
5.1 电源模块仿真20
5.2 放大整形电路仿真20
5.3 用PROTUES仿真频率计22
结 论24
参考文献25
致 谢26
附录A程序源代码27
附录B仿真效果图32
1 前言
随着电子技术的飞速发展,各种分立电子元件及其相关职能单位已经变成了一个强大的和简单的集成芯片。不仅是集成芯片及外围电路组成,自动控制,自动测量,自动显示电路,这些自动系统在各种电子产品和零部件都有运用,并在不同领域广泛应用,推陈出新的速度非常快。
在电子系统中的广泛应用,到处都可以看到数字电路离散信息。无论是冰箱和电视,或高档点的航空通信系统,交通控制雷达系统,医院应急系统等,在设计与实现过程,都使用数字技术。频率计是测量仪器的当代通信测量系统的关键,因为它是一种非常重要的测量仪器,信号频率准确、高稳定性的电路,并且能够便利的改变频率。