- 1、本文档共45页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要:本文提出设计数字频率计的多种方案,重点介绍以单片机AT89C52为控制核心,实现频率测量的数字频率计设计。
测频的基本原理是采用在高频段直接测频法,在低频段测周期法的设计思路;硬件部分由放大电路、波形变换和整形电路、闸门时基控制电路、分频电路、单片机和数据显示电路组成;软件部分由信号频率测量模块、周期测量模块、定时器中断服务模块、数据显示模块等功能模块实现。应用单片机的控制功能和数学运算能力,实现计数功能和频率、周期的换算。设计的频率计测量范围能够达到2HZ~50MHZ,满足所要求的频率范围,测量精度较高,平均相对误差仅为0.3401%。另外,文章对频率测量过程中数据误差的来源进行了探讨,提出了减小误差的措施。最后,文章还对频率计的设计方案提出了可扩展的地方。
关键词:数字频率计;单片机AT89C52;频率测量;周期测量;误差
The design of digital frequency meter
LU Jiabin
College of Engineering and Technology, Southwest University, Chongqing 400716, China
Abstract:This article proposes many kinds of plans design frequency meter, highlighting the design taking monolithic integrated circuit AT89C52 as the control core, the realization frequency measurement of digital frequency meter.
Selected design ideas which directly measuring frequency law in the high-band and testing cycle law in the low-band; The hardware partially is composed by enlarged circuit、the profile transformation and the reshaping circuit、the gate at the base control circuits、sub-frequency circuits、the microcontroller and the data display electric circuit; The software design is achieved by many functional modules, such as the signal frequency measurement module、the signal cycle survey module、timer interruption of service module、the data display module and so on. Achieving counting function and conversion between cycle and frequency by using control functions and mathematics operation ability of microcontroller. Like these the survey scope can achieve 2HZ ~ 50MHZ, both can reach the frequency range requirements designed, the measuring accuracy high, and can cause the average relative measuring error to be only 0.3401%. In addition, the article has carried on the discussion to the data error origin in the process surveyed the frequency, and proposed the measures reduce the measuring error. Finally, the article also raise the frequency of the design options will be further improved.
Key Words:; Microcontroller AT89C52; Frequency
您可能关注的文档
- 《中小型企业局域网规划与设计》毕业论文.doc
- 10kV级电力变压器的设计.doc
- 35kV降压变电站电气部分设计.doc
- 45kta尿素蒸发造粒工段工艺初步设计.doc
- 900℃160Kgh箱式电阻炉设计说明书.doc
- 2016机械设计试题库及答案.doc
- 30000吨废旧五金电器或150万台废旧家电建设项目可行性研究报告.doc
- C++程序设计课程设计ATM取款机模拟程序.doc
- C语言课程设计简易计算器设计.doc
- DA卡设计微机原理课程设计.docx
- 英语人教PEP版八年级(上册)Unit4+writing+写作.pptx
- 人美版美术四年级(上册)8 笔的世界 课件 (1).pptx
- 人美版美术七年级(上册)龙的制作.pptx
- 英语人教PEP版六年级(上册)Unit 2 第一课时.pptx
- 数学苏教版三年级(上册)3.3 长方形和正方形周长的计算 苏教版(共12张PPT).pptx
- 音乐人教版八年级(上册)青春舞曲 课件2.pptx
- 音乐人教版四年级(上册) 第一单元 音乐知识 附点四分音符|人教版.pptx
- 英语人教PEP版四年级(上册)Unit 6 Part B let's learn 1.pptx
- 道德与法治人教版二年级(上册)课件-3.11大家排好队部编版(共18张PPT).pptx
- 人美版美术七年级(上册)《黄山天下奇》课件1.pptx
文档评论(0)