摘要:频率计是一种基本的测量仪器,频率测量是电子学测量中最为基本的测量之一。

本文提出了一种基于CPLD的数字频率计的设计方法——直接测频法,其思想是计算每秒钟内待测信号的脉冲个数。硬件设计是以CPLD(EPM7128SLC84-15)芯片作为主要的设计部分,外围加设电源、晶振电路、报警电路、产生方波的电路设计而成的;软件是由控制模块、计数模块、锁存模块、显示模块、分频模块、闸门定时模块组成。最终完成数字频率计系统的整体设计。

从实验结果上看,所设计的简易数字频率计具有结构紧凑而简单、精度高、控制灵活等特点,具有很高的推广使用价值。55841

毕业论文关键词:频率计;EDA技术;CPLD;直接测频法;

Abstract: Frequency meter is a basic measuring instrument, and measuring electronics are the most basic one of the measurements.

This paper presents a CPLD based digital frequency meter design method ---- the direct method of measuring frequency, whose thought is to calculate the number of clock pulse signals per second. The hardware design is based on CPLD (EPM7128SLC84-15) chip what is used as the main device design, adding power, crystal oscillator circuit, alarm circuit design circuit, Fang Bo made.The software consists of control module, counting module, a latch module, display module, frequency module, gate timing module.Finally to complete the overall design of the system.

    The results from the point of view, the design of simple digital frequency meter has the advantages of compact structure and simple, high precision, flexible control, which has the very high use value.

Key words: frequency meter; eda technology; cpld; the direct method of measuring frequency;

目录

1绪论 3

1.1频率计设计背景 3

1.2频率计设计的目的与意义 3

1.2.1频率计设计的目的 3

1.2.2频率计设计的意义 4

1.3 论文所做的工作及研究内容 4

2频率计的设计方案 5

2.1频率计的设计原理 5

2.2频率计的设计方法 6

2.3 CPLD 芯片 7

2.3.1 CPLD 介绍 7

2.3.2 CPLD芯片选择 8

3 频率计的硬件设计 9

3.1 CPLD芯片 10

3.2 电源部分 10

3.3 整形部分 10

3.4 键盘部分 10

3.5 晶振部分 11

3.6 报警部分 11

3.7 显示部分 11

4频率计的软件设计 13

4.1 分频器模块 13

4.2 闸门定时模块 15

4.3 测频控制信号发生器模块 16

4.4 计数器模块 18

4.5 锁存器模块 20

4.6 显示模块 21

4.7 模块下载 22

5 实验测试结果及分析 22

5.1系统调试验证

上一篇:基于虚拟仪器技术LABVIEW相位差测量仪设计
下一篇:C5116A立式车床电气控制系统PLC改造+梯形图

热环境对磁记忆信号的影响ANSYS有限元分析

连续-离散型状态观测器设...

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

拉力采集上位机软件开发任务书

国内外无刷直流电动机研究现状

多元化刑事简易程序构建探讨【9365字】

《醉青春》导演作品阐述

高校网球场馆运营管理初探【1805字】

辩护律师的作证义务和保...

浅谈新形势下妇产科护理...

谷度酒庄消费者回访调查问卷表

浅谈传统人文精神茬大學...

中国古代秘书擅权的发展和恶变