- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
[工学]等精度数字频率计的设计
内蒙古科技大学
本科生毕业设计说明书(毕业论文)
题 目:等精度数字频率计的设计
等精度数字频率计的设计
摘 要
FPGA和单片机的等精度数字频率计的设计。在本设计中,采用先进的自上而下的设计方法,以AT89C52单片机作为系统的主控部件,实现整个电路的信号控制、数据运算处理等功能;一片现场可编程逻辑器件FPGA(Filed Programmable Gate Array)FLEX EPF10K20RC208-4完成各种时序逻辑控制、计数功能。在数字硬件电路EDA设计平台MAX+plusⅡ上,使用硬件描述语言VHDL编程完成了FPGA内部的数字硬件电路设计、编译、调试、仿真和下载。
本文详细论述了等精度数字频率计的测频原理、硬件电路的组成、设计和单片机软件编程设计。其中硬件电路包括键盘控制模块、显示模块和测量模块,键盘模块通过对六只按键的选择实现了除测频功能外的周期、脉宽、占空比测量等功能的选择;显示模块采用动态显示方式,节省了FPGA内部大量资源;AT89C52单片机的软件编程采用灵活易读的C语言。本设计将AT89C52单片机的控制灵活性和FPGA芯片的现场可编程性相结合,不但大大缩短了开发研制周期,而且使本系统具有结构紧凑、体积小、可靠性高、测频范围宽、精度高等优点。
关键词:EDAFPGA;频率计
The Dsign Of Equal-Accuracy Digtal Frequency
Abstract
The title of this design is the design of equal-accuracy digital frequency based on FPGA and single chip computer. The digital frequency meter design in this paper which adopts top-down design methodology uses the AT89C52 single chip computer as the main controlling parts .The AT89C52 realizes test signal control ,keyboard scan and output display of LED .One FPGA chip FLEX EPF10K20RC208-4 fulfils timing logic control and count function .Under the hardware circuit design flat of MAX+plusⅡ,FPGA software designing,compiling , debugging ,simulation and download are been carried out in VHDL.
This article detail exposition of the testing frequency precision digital principles, hardware circuit composition, design and software programming design of single chip computer.These hardware circuits including keyboard control module, display modules and measurement modules. Keyboard module through six achieved made the system can measure pulse width and occupy-empty ratio of input signal . The using of dynamic display module, saving a lot of internal FPGA resources. The software programming of AT89C52 single chip computer adopts the flexible and accessible C language. The system combines the controlling flexibility of AT89C52 with programmable performance of FPGA , so it not only can shorten develop cycle ,but also has advantage of tightening arc
文档评论(0)