【正文】
Especially in the narrow space when operating, often face many functions, sizes, different range instrument panel. These instrument panel not only occupy a space, and not enough intuitive, easy to cause the working staff of the incorrect operation or reaction lag, give operating cause unnecessary trouble. So using AC frequency and voltage measurement technology, design the voltage frequency monitoring system, may simplify system operation space, improve work efficiency. This design taking single chip puter AT89C52 as a core, bining the periphery signal to enlarge and the shaping circuit, through to the output waveforms of the count and the simulated voltage sampling, the quantitative get ac frequency and voltage the digital quantity. These data are sent to the upper puter by a series port and visual display, realizing the monitoring of the frequency and voltage. Design is simple in structure, measurement error small, has high practical value. Keywords: single chip puter; frequency; voltage; sampling; AT89C52;AD0809; 目錄 1 緒論 ............................................................................................................................. 1 問題的提出 ..................................................................................................... 1 設(shè)計的意義 ...................................................................................................... 1 設(shè)計的主要內(nèi)容 .............................................................................................. 1 本設(shè)計的主要內(nèi)容 ............................................................................... 1 設(shè)計實現(xiàn)的主要功能 ........................................................................... 1 設(shè)計的主要技術(shù)指標 ........................................................................... 2 2 系統(tǒng)概述 ..................................................................................................................... 3 電壓 /頻率的測量方法 ..................................................................................... 3 直接測頻法 ........................................................................................... 3 系統(tǒng)方案選擇 .................................................................................................. 5 系統(tǒng)總體框圖 .................................................................................................. 5 3 系統(tǒng)硬件電路的設(shè)計 ................................................................................................. 7 單片機處理控制電路 ...................................................................................... 7 頻率信號預處理電路 ...................................................................................... 8 降壓電路 ............................................................................................... 8 放大電路 ............................................................................................... 9 整形電路 ............................................................................................... 9 晶振電路部分 ................................................................................................ 11 顯示電路 ................................................................................................ 12 選型 ............................................................................................. 12 接口說明 ............................................................................................. 13 電源電路的設(shè)計 ............................................................................................ 14 串口通信電路 ................................................................................................ 15 4 系統(tǒng)控制 軟件設(shè)計 ................................................................................................... 19 系統(tǒng)軟件框圖 ................................................................................................ 19 頻率測量子流程圖 ........................................................................................ 20 顯示子程序 .................................................................................................... 22 總結(jié)體會 ...................................................................................................................... 25 致謝 .............................................................................................................................. 27 參考文獻 ...................................................................................................................... 28 外文資料 ...................................................................................................................... 29 中文翻譯 ...................................................................................................................... 30 唐山學院畢業(yè)設(shè)計