【正文】
..........5 改進(jìn)的軟件同步實(shí)現(xiàn)方法 ....................................................................................6 電力參數(shù)交流采樣算法 ...............................................................................................7 最大值法 .............................................................................................................7 半周期積分法 ......................................................................................................7 數(shù)值積分算法 ......................................................................................................8 離散傅立葉法 ......................................................................................................9 系統(tǒng)方案選擇 ........................................................................................................... 10 子模塊方案選擇 ....................................................................................................... 11 電流電壓的取樣方案 ......................................................................................... 11 頻率測量方案 .................................................................................................... 12 功率因數(shù)測量原理 ............................................................................................. 13 功率因數(shù)測量法選擇 ......................................................................................... 14 電能計(jì)算原理 .................................................................................................... 15 3 系統(tǒng)硬件設(shè)計(jì)與實(shí)現(xiàn) .............................................................................................................. 16 單片機(jī)最小系統(tǒng)部分 ................................................................................................ 16 鍵盤顯示部分 ........................................................................................................... 19 電壓、電流信號(hào)采集部分 ......................................................................................... 20 電壓、電流采樣電路 ......................................................................................... 20 電壓、電流 全波整流電路 .................................................................................. 21 電壓、電流正弦波過零比較電路 ........................................................................ 22 數(shù) /模轉(zhuǎn)換部分 ......................................................................................................... 22 4 系統(tǒng)軟件設(shè)計(jì) ......................................................................................................................... 24 系統(tǒng)軟件設(shè)計(jì)的指導(dǎo)思想和 一般方法 ........................................................................ 24 單片微機(jī)的軟件設(shè)計(jì) ......................................................................................... 24 軟件結(jié)構(gòu)設(shè)計(jì) .................................................................................................... 24 軟件過程設(shè)計(jì) .................................................................................................... 25 軟件設(shè)計(jì)的主要任務(wù) ......................................................................................... 25 寧波大學(xué)本科畢業(yè)設(shè)計(jì)(論文) VII 系統(tǒng)軟件的具體設(shè)計(jì) ................................................................................................ 26 按鍵掃描及處理顯示模塊 .................................................................................. 26 功率因數(shù)測量及計(jì)算模塊 .................................................................................. 27 電壓、電流軟件同步采樣模塊 ........................................................................... 28 電壓、電流計(jì)算模塊 ......................................................................................... 31 時(shí)鐘模塊 ........................................................................................................... 32 5 運(yùn)行與調(diào)試 ............................................................................................................................ 33 系統(tǒng)的調(diào)試 .............................................................................................................. 33 單片機(jī)最小系統(tǒng)部分的調(diào)試 ............................................................................... 33 采樣單元的調(diào)試 ................................................................................................ 33 軟件的調(diào)試 ....................................................................................................... 34 測量數(shù)據(jù) .................................................................................................................. 35 結(jié)果分析 .................................................................................................................. 35 6 結(jié)束語 ................................................................................................................................... 37 致謝 .............................................................................................................................................. 38 參考文獻(xiàn) ....................................................................................................................................... 39 附錄 .............................................................................................................................................. 40 1 前言 電力監(jiān)測裝置的現(xiàn)狀 在工業(yè)生產(chǎn)和日常生活中,電能的質(zhì)量越來越受到重視。 RMS。 【 關(guān)鍵 詞 】 單片機(jī);電力參數(shù);有效值 ; 軟件同步算法 ; 數(shù)值積分 寧波大學(xué)本科畢業(yè)設(shè)計(jì)(論文) V The Design of Power Parameters Measuring Device Abstract 【 ABSTRACT】 Nowadays, the power as one of the most important source of energy with our work and daily life are closely linked, and how to measure it has important practical significance. This paper introduces an approach based on C8051F020 MCU operating parameters of power measuring device, the device monitoring and control the use of singlechip microputer as the core, can automatically plete the power supply line parameter determination, calculation and display. This article describes in detail the parameters of the meas