毕业设计基于AT89C52单片机的数字频率计设计.doc

毕业设计基于AT89C52单片机的数字频率计设计.doc

  1. 1、本文档共45页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

文档评论(0)

2011doc66 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档