基于FPGA的频率计设计.docxVIP

  • 25
  • 0
  • 约3.18万字
  • 约 49页
  • 2019-09-14 发布于湖北
  • 举报
摘 要 本文在分析了三种常用脉冲计数法测频原理的基础上,提出了基于FPGA的频率计的设计方案。利用FPGA器件EP1C6Q240C8作为核心模块、使用自顶向上的设计方法,利用VHDL程序实现分频、控制、被测信号计数、数据锁存、数据选择、译码以及实现数码管的片选,最后通过对顶层设计文件进行编译来完成整体核心的设计。 经实验验证,该设计可以实现对方波、三角波、正弦波信号进行测量,并将测量结果予以显示。本设计具有较短的开发周期、组成结构简单等特点,具有一定的实用价值。 关键词:数字频率计;EDA;FPGA;VHDL ABSTRACT In this paper, three kinds of counting method based on the analysis of the principle and propose the design scheme of frequency meter based on FPGA. Using the FPGA of EP1C6Q240C8 device as the core module, using the design method from top to bottom and using VHDL program to achieve frequency division, control, measured signal counting, data latch, data selection, decoding and chip select. Finally, the design of the top-level design file is compiled to complete the overall design of the core. Experimental results show that the design can achieve the measurement of square wave, triangle wave and sine wave signal, and display the measurement results. The design has a short development cycle, simple structure and other features, has a certain practical value. Keywords:Digital Frequency Meter; EDA; FPGA; VHDL 目 录 TOC \o 1-3 \h \z \u 第一章 绪 论 1 1.1 本设计的背景 1 1.2 本设计的目的及意义 1 1.3 本设计的主要内容 2 第二章 基于脉冲计数法测量原理 3 2.1 直接测频法测量原理及误差分析 3 2.1.1 直接测频法原理 3 2.1.2 直接测频法误差分析 3 2.2 周期测频法测量原理及误差分析 4 2.2.1 周期测频法原理 4 2.2.2 周期测频法误差分析 5 2.3 等精度测频法测量原理及误差分析 5 2.3.1 等精度测频法原理 5 2.3.2 等精度测频法误差分析 6 2.4 结 论 7 第三章 基于PPGA频率计的总体设计方案 8 3.1 设计方法 8 3.2 频率计的总体设计方案 9 3.2.1 信号整形 9 3.2.2 测频及译码模块 9 3.2.3 显示 10 第四章 基于FPGA频率计的具体实现 11 4.1 信号整形模块 11 4.2 测频及译码模块 13 4.2.1 分频模块 13 4.2.2 控制模块 14 4.2.3 计数器 16 4.2.4 锁存器 18 4.2.5 扫描模块 19 4.2.6 数据选择 19 4.2.7 位选模块 20 4.2.8 译码模块 21 第五章 频率计测频模块整体调试与仿真 23 5.1 测频模块综合原理图 23 5.2 测频模块综合时序仿真结果 24 第六章 结束语 26 参考文献 27 附 录 28 外文资料 34 中文翻译 40 谢 辞 43 PAGE 2 绪 论 本设计的背景 频率是电子领域中最常见的参数之一,而频率计也是该领域必需的测量仪器。设计频率计的技术随着电子技术的发展而逐步提升,早期的频率计采用分立元件设计方式,很长的设计周期,稳定性也有所欠缺,体积较大,而消耗的功率

文档评论(0)

1亿VIP精品文档

相关文档