【正文】
浙江科技學(xué)院信息與電子工程學(xué)院 2020 屆畢業(yè)設(shè)計(論文) 班級: 電子信息工程 A1 姓名: 連炎鑒 學(xué)號: 103023027 第 4 頁 共 36 頁 第 2 章 設(shè)計方案論證 頻率計的制作方案有很多:有基于 CPLD 的數(shù)字 頻率計設(shè)計 、 基于 FPGA 的數(shù)字 頻率計設(shè)計 、 基于 VHDL 的數(shù)字頻率計的設(shè)計 、基于單片機(jī)的數(shù)字頻率 計設(shè)計等等。 針對 這個問題 , 本課題 基于 AT89C2051 單片機(jī)技術(shù) 設(shè)計 了 一臺專用頻率計 。 本設(shè)計 在電路設(shè)計中充分考慮了制作的特點(diǎn) ,基于單片機(jī)技術(shù)而設(shè)計 了 一臺專用 頻率計, 其 電路簡潔,功能實(shí)用,制作方便,調(diào)試簡單, 而且性能穩(wěn)定可靠 ,成本低廉 , 特別適合于低成本的商品化開發(fā)生產(chǎn) 。 浙江科技學(xué)院信息與電子工程學(xué)院 2020 屆畢業(yè)設(shè)計(論文) 班級: 電子信息工程 A1 姓名: 連炎鑒 學(xué)號: 103023027 第 2 頁 共 36 頁 目前國內(nèi)市場上的頻率計大多是一些中低檔產(chǎn)品,常見產(chǎn)品的頻率測量范圍大多在 200 MHz以下,即使有些產(chǎn)品標(biāo)稱的測量范圍可以達(dá)到 1GHz以上,但是測量的分辨率和準(zhǔn)確度等性能又不盡人意,而國外產(chǎn)品價格昂貴。精度 (準(zhǔn)確度) 是指測量的準(zhǔn)確程度,即儀器的讀數(shù)接近實(shí)際 信號頻率的程度,精度越高測量越準(zhǔn)確。 作為一種頻率測 量儀器,一直以來,人們對頻率計的特性主要有如下需求: (1)足夠?qū)挼念l率測量范圍。 隨著科學(xué)技術(shù)的發(fā)展, 人們 對 頻率計 也提出了新的要求。 關(guān)鍵詞: 頻率計;單片機(jī); AT89C2051 ABSTRACT In the field of electronic technology, the frequency is basic parameter, Frequency 浙江科技學(xué)院信息與電子工程學(xué)院 2020 屆畢業(yè)設(shè)計(論文) 班 級: 電子信息工程 A1 姓名: 連炎鑒 學(xué)號: 103023027 第 III 頁 共 36 頁 of Detection and many of the measurement of electrical parameters have a very close relationship. Therefore, the measurement of frequency is even more important. This paper introduces the hardware and software design of frequency meter. The part of hardware constitute the core control circuits adopted AT89C2051. This design uses of AT89C2051 as the pulse input counting parts of analytic signal frequency. The timer of T1 is used to count the signal pulse cycle. The results of measurement display in the 4 LED digital tubes with a decimal number. The design of software is achieved with the method of Programming Module, and to achieve the measurement of frequency and display the results. Protel and Keil uVision2 are used in the design process. The performance of many electrical types of equipment which exported should be tested under the 60 Hz AC power. We must use frequency meter to monitor 60 Hz frequency AC power. To this issue, the task designs an exclusive frequency meter, the range of frequency measurement in Hz ~ . Keywords: frequency meter; single chip processor ; AT89C2051