毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C51单片机的频率计设计+程序

时间:2023-11-13 22:34来源:毕业论文
AT89C51单片机的频率计设计,利用单片机的T0和T1的定时计数功能完成对输入信号频率计数,由定时电路NE555、六位数码管、单片机最小系统、等元器件组成

摘要:本文的频率计系统是以单片机AT89C51为核心,利用单片机的T0和T1的定时计数功能完成对输入信号频率计数,由定时电路NE555、六位数码管、单片机最小系统、等元器件组成。本文中的系统软件采用模块化设计,整个系统分为初始化模块、量程自动切换模块、和显示模块等。具体介绍应用Proteus的ISIS软件进行单片机系统的频率设计与仿真的实现方法。以及软件的编译与应用。该方法既能准确验证所设计的系统是否满足技术要求,又能提高系统设计的效率和质量,降低开发成本,具有推广价值。91146

毕业论文关键词:AT89C51,NE555,频率计     

Abstract: in this paper, the frequency meter system is AT89C51 MCU core, timing and counting function using the T0 and T1 to complete the count of the frequency of the input signal, the timing circuit NE555, six digital tube, the smallest single-chip system components。 In this paper, the software system adopts modular design, the whole system is pided into the initialization module, automatic range switching module and display module。 The concrete realization method this paper introduces the application of Proteus ISIS software design and Simulation of frequency of the MCU system。 And the compilation and application of the software。 This method can accurately verify the design of the system Whether to meet the technical requirements, but also to improve the efficiency and quality of system design, reduce development costs, has the value of promotion。

Keywords: AT89C51, NE555, frequency meter 

目录

1 绪论 4

1。1 本文研究的背景与意义 4

1。2 国内外研究的发展现状 4

2 数字频率计总体方案设计 5

2。1 控制要求 5

2。2 系统整体结构框图 5

2。3 单片机最小系统 6

2。4 定时电路NE555 11

3 系统硬件电路设计 12

3。1 数字频率计总电路设计 12

3。2 单片机最小系统设计 14

3。3 定时电路设计 16

3。4 数码管 17

4 数字频率计软件设计 18

4。1 主程序流程图 18

4。2 频率测量模块和量程自动切换模块 19

4。3 显示模块 20

4。4 延时模块 21

5 仿真与实验 21

5。1 仿真 21

5。2 实验 24

结论 27

参考文献 28

致谢 29

附录 30

1 绪论

1。1 本文研究的背景与意义

电子技术中,频率是最基本的参数之一,并且与许多电参量的测量方案、测量结果都有十分密切的关系,因此频率的测量就显得更为重要。

频率计的基本原理是用一个频率稳定度高的频率源作为基准时钟,对比测量其他信号的频率。通常情况下计算每秒内待测信号的脉冲个数,此时我们称闸门时间为1秒。闸门时间也可以大于或小于一秒。闸门时间越长,得到的频率值就越准确,但闸门时间越长则每测一次频率的间隔就越长。闸门时间越短,测的频率值刷新就越快,但测得的频率精度就受影响。数字频率计是用数字显示被测信号频率的仪器,被测信号可以是正弦波,方波或其它周期性变化的信号。如配以适当的传感器,可以对多种物理量进行测试,比如机械振动的频率,转速,声音的频率以及产品的计件等等。 AT89C51单片机的频率计设计+程序:http://www.youerw.com/zidonghua/lunwen_198574.html

------分隔线----------------------------
推荐内容