1、 本本 科科 生生 毕毕 业业 论论 文文 题题 目:目: 简易数字频率计设的计简易数字频率计设的计 系系 (院) :(院) : xxxxxx 专专 业:业: 电子信息科学与技术电子信息科学与技术(非师范)(非师范) 学学 号:号: 2008104211020081042110 学生姓名:学生姓名: xxxxxx 指导教师:指导教师: xxx xxx 职称:职称: 副教授副教授 论文字数:论文字数: 8206 8206 完成日期:完成日期: 2012 2012 年年 5 5 月月 教教 务务 处处 印印 制制 II 目录目录 摘要摘要 I 关键词语关键词语 I AbstractAbstract
2、 . II Key wordsKey words II 前言 1 第一章 频率计设计 . 1 1.1 频率计概要 1 1.2 发展动态 1 1.3 设计任务 2 第二章 系统模块设计 . 2 2.1 整体设计 2 2.2 测频思路 3 2.3 模块分析 3 第三章 硬件设计 . 4 3.1 主控模块 4 3.2 放大整形电路 5 3.3 分频设计 6 3.4 驱动显示 8 第四章 软件设计 10 4.1 模块设计 . 10 4.2 中断服务 . 11 4.3 显示实现过程 . 12 4.4 量程转换 . 12 4.5 软件概述 . 13 第五章 系统调试 14 5.1 硬件调试 . 14 5.
3、2 软件调试 . 16 5.3 系统调试 . 16 5.4 误差分析 . 17 第六章 总结 17 参考资参考资料料 . 18 致致 谢谢 19 附录附录 . 19 I 简易数字频率计的设计 摘要摘要:频率计作为一种基础测量仪器。它主要由信号输入、放大整形、分频、单片机控制模块、驱 动显示电路等组成。本设计以 STC80C51 单片机作为控制核心,使用它内部的定时/计数器,实现对 待测信号的频率的测量。设计过程中,频率计采用外部 10 分频,以便测量 1Hz1MHz 的信号频率, 并且实现量程自动切换。显示部分用 74LS245 驱动,使用四位共阳极数码管显示数据。本设计采用 单片机技术,使得
4、设计具有很高的性价比和可靠性,改善了传统频率计的不足,它具有测量精度高、 测量省时、价格便宜、使用方便等优点。 关键词语关键词语:单片机;频率计;驱动显示;放大整形;量程切换 II The design of simple Frequency Measurement Abstract: The frequency meter as a basic measuring instrument. It mainly consists of signal input, plastic surgery to enlarge, points and single-chip microcomputer co
5、ntrol module, frequency driver display circuit etc. This design to STC80C51 single chip microcomputer as control core, use it internal timing/counter, realize the treat the frequency of the signal measurement. Design process, the frequency meter using external 10 points frequency, for measuring 1 Hz 1MHz signal frequency, and realize the range to switch. Display with 74 LS245 part drive, use a total of four anode digital tube display the data. This design USES the single chip microcomputer, make design with good value for money and the reliability, improve the frequency of the