1、I 数字频率计设计 学生:XXX 指导教师:XXX 内容摘要:在电子技术中,频率是最基本的参数之一,并且与许多电参量的测量方案、测量结果 都有十分密切的关系,因此频率的测量就显得更为重要。测量频率的方法有多种,其中电子计数器 测量频率具有精度高、使用方便、测量迅速,以及便于实现测量过程自动化等优点,是频率测量的 重要手段之一。电子计数器测频有两种方式:一是直接测频法,即在一定闸门时间内测量被测信号 的脉冲个数;二是间接测频法。如周期测频法。直接测频法适用于高频信号的频率测量,间接测频 法适用于低频信号的频率测量。本文阐述了基于 VHDL 语言设计了一个简单的数字频率计的过程。 关键词:数字频率
2、计 信号 周期 II Figure frequency meterFigure frequency meter systemsystem Abstract: Abstract: The frequency is one of the most basic parameters in electronic technology, and with many electrical parameters of the measurement program, the measurement results have a very close relationship between the freq
3、uency of measurement, therefore it is even more important. Measuring frequency of means, including electronic counter measure frequency with high precision, easy to use, rapid measurement, and measurement is easy to realize the advantages of process automation, is an important means of frequency mea
4、surement. Electronic counter frequency measurement in two ways: first is the direct frequency measurement Law, or within a certain time gates of measured signal pulse number; second is indirect frequency measurement method. Such as cycle frequency measurement method. Direct frequency measurement Law
5、 is applicable to the high frequency signal frequency measurement, indirect frequency measurement Law is applicable to low-frequency signals in the frequency measurement. In this paper based on the VHDL language design of a simple digital frequency meter process. Keywords:Keywords: Figure frequency
6、meter Signal period . III 目 录 前言 . 1 1 概论 1 1.1 设计概述 . 1 1.2 设计目的 . 2 1.3 设计内容 . 2 1.4 设计原理 . 2 1.5 设计功能 . 3 2 数字频率计的设计思路 3 2.1 时基的设计 . 3 2.2 计数器的设计 . 4 2.3 模块的划分 . 4 3 数字频率计各模块的设计和实现 5 3.1 计数器的设计和实现(附录 5) . 5 3.2 7 段译码器的设计 . 5 3.3 数字频率计综合设计 . 5 4 数字频率计波形仿真 6 4.1 省略分频进程 . 6 4.2 10kHz、100kHz 和 1MHz 三挡仿真 6 第一次仿真采用测试信号的周期为 200us,即频率为 5kHz,按照频率计的设计,应 该是自动换到 10kHz 测频挡,显示为 5.00,单位为 kHz。仿真波形如图 4.2-1: 6 4.3 测周期挡仿真 8 5 调试常见错误及解决办法 9 5.1 常见错误与解决办法 . 9 6 结束语 . 10 附录 1: MAX+PLUS简介 . 11 附录 2: