摘要本文介绍了以MCS-51单片机为核心的智能频率计的设计。在KEIL软件上进行程序的编写,在PROTEUS软件上进行电路连接的方式实现软件和硬件的结合,最后来完成频率的测量。频率计主要由单片机模块,频率选择模块和显示模块组成。针对不同范围段的频率,设计了三种测频方法。在低频段(0-10Hz)采用测周法进行测量,在中频段(20-500Hz)采用多周期同步法,在高频段(500-50KHz)是采用测频方法进行测量。其中多周期法大大提高了测量精度,实现了同频段等精度的测量。64749
毕业论文关键词 单片机 频率 测量 高精度 多周期法
Abstract
The article describes the design of the intelligent frequency meter as the core of MCS-51.Tt is the combination of software and hardware to write the program on the KEIL software and to implement for circuit connection on the PROTEUS software so that to finally complete the frequency measurement. Frequency counter mainly consists of single-chip microcomputer module, frequency selection the module and display module. For different ranges of frequencies, has designed three methods of frequency measurement. In low frequency bands (0-10Hz) use measuring cycle method for measuring, in middle frequency bands (20-500Hz) use the method of multi-cycle synchronism, in high frequency bands (500-32KHz) use frequency measurement method for measurement. multi-cycle synchronism method improves measurement accuracy, achieved the same measurement with other precision measuring.
Key words: Single-chip computer, frequency measurement, high precision Way of Multi-cycle
目录
摘要 3
1. 前言 4
1.1 智能频率计研究意义 4
1.2 智能频率计发展现状 5
1.3 智能频率计设计内容 5
2. 总体设计原理 5
2.1总体设计框图与原理 6
2.2 频率测量原理及方法 6
2.2.1 直接测频法 6
2.2.2周期法测频 7
2.2.3 多周期法测频 7
3. 硬件电路设计 8
3.1 MCS—51单片机简介 8
3.1.1 单片机内部介绍 8
3.1.2 单片机管脚 9
3.2电路实现 10
3.2.1 复位电路 10
3.2.2 时钟电路 11
3.2.3 控制电路 11
3.2.4 显示电路 13
3.2.5 总电路图 15
4 软件电路 16
4.1总体设计图 16
4.2主程序单元 17
4.3初始化单元 17
4.4中断程序单元