【正文】
目 錄導(dǎo) 論..............................................................1 .....................................................1 2. 數(shù)字頻率計設(shè)計的任務(wù)與要求..................................11 數(shù)字頻率計總體方案設(shè)計..........................................2 方案比較...................................................2 方案選擇...................................................32 數(shù)字頻率計的硬件系統(tǒng)設(shè)計.........................................4 數(shù)字頻率計的硬件系統(tǒng)框架...................................4 數(shù)字頻率計的主機電路設(shè)計...................................4 數(shù)字頻率計的信號輸入電路設(shè)計...............................7 數(shù)字頻率計顯示電路的設(shè)計...................................8 數(shù)字頻率計的計數(shù)電路的設(shè)計................................10 數(shù)字頻率計電源模塊的設(shè)計..................................123 數(shù)字頻率計軟件系統(tǒng)設(shè)計..........................................13 軟件設(shè)計規(guī)劃..............................................13 ............................................13 ............................................13 ......................................15 程序流程圖設(shè)計............................................16 ..........................................16 中斷流程...........................................17參考文獻.........................................................19致 謝............................................................20導(dǎo) 論在電子技術(shù)中,頻率是最基本的參數(shù)之一,并且與許多電參量的測量方案、測量結(jié)果都有十分密切的關(guān)系,因此頻率的測量就顯得更為重要。本頻率計設(shè)計簡潔,便于攜帶,擴展能力強,適用范圍廣。系統(tǒng)簡單可靠、操作簡易,能基本滿足一般情況下的需要。編寫相應(yīng)的程序可以使單片機自動調(diào)節(jié)測量的量程,并把測出的頻率數(shù)據(jù)送到顯示電路顯示。四川大學錦城學院本科課程設(shè)計 基于單片機數(shù)字頻率計的設(shè)計 本科生課程設(shè)計 題 目 基于單片機數(shù)字頻率計的設(shè)計 基于單片機的數(shù)字頻率計的設(shè)計 摘 要本方案主要以單片機為核心,主要分為時基電路,邏輯控制電路,放大整形電路,閘門電路,計數(shù)電路,鎖存電路,譯碼顯示電路七大部分,設(shè)計以單片機為核心,被測信號先進入信號放大電路進行放大,再被送到波形整形電路整形,把被測的正弦波或者三角波整形為方波。利用單片機的計數(shù)器和定時器的功能對被測信號進行計數(shù)。本設(shè)計以89C51單片機為核心,應(yīng)用單片機的算術(shù)運算和控制功能并采用LED數(shù)碼顯示管將所測頻率顯示出來。既保證了系統(tǒng)的測頻精度,又使系統(tǒng)具有較好的實時性。[關(guān)鍵詞] 單片機 運算 頻率計 LED數(shù)碼管Abstract The program mainly microcontroller as the core, are divided into timebase circuit, the logic control circuit, amplifier shaping circuit, the gate circuit, the counting circuit, latch circuit, decoding circuit most of the seven shows, design a microcontroller as the core, the measured signal the first amplifier to amplify the ining signal, and then was sent to the waveform shaping circuit surgery, the measured sine wave or triangle wave shaping as a square wave. Counter and timer microchip features of the signal count. Write the corresponding program can automatically adjust the measurement range of SCM, and the frequency of the measured data to the display circuit displays. The design of the 89C51 microcontrolle