【正文】
參數(shù)的監(jiān)測(cè),記錄存儲(chǔ)各種數(shù)據(jù)。 工作時(shí),電壓經(jīng)電阻的分壓、電流經(jīng)電流互感器在取樣電阻上取樣后,送入專用電能芯片進(jìn)行處理,并轉(zhuǎn)化為數(shù)字信號(hào)送到 CPU進(jìn)行計(jì)算。 AT24C16 通過 I2C總線和單片機(jī)連接,單片機(jī)將居民的用電量實(shí)時(shí)寫入 AT24C16 AT24C16 仍能保存數(shù)據(jù),再次上RS485 總線與抄表集中器相連,接收抄表集中器下達(dá)的抄表,或預(yù)付費(fèi)、清零等命令。 8 路脈沖輸出電能計(jì)量芯片 AD7755 能夠把居民的用電量轉(zhuǎn)換為一定數(shù)量的脈沖。 畢業(yè)設(shè)計(jì)(論文)報(bào)告 題 目 : 基于 AT89C51 單片機(jī)的多功能電表設(shè)計(jì) 系 別 專 業(yè) 班 級(jí) 學(xué)生姓名 學(xué) 號(hào) 指導(dǎo)教師 2020年 4 月 無錫科技職業(yè)學(xué)院畢業(yè)設(shè)計(jì)(論文) 基于單片機(jī)的多功能電表設(shè)計(jì) i 摘 要 隨著物質(zhì)生活的富裕,很多人搬入城市,電量成為大家生活的 1部分。我們以 FM3307/8 單片機(jī)為核心,對(duì) 8 戶居民的用電量進(jìn)行測(cè)量,讓大 家了解什么如何利用單片機(jī)來測(cè)量電量。 74HC164 串入并出 8位移位寄存器和 LED 顯示器能夠?qū)崟r(shí)循環(huán)顯示 8 戶居民的用電量。抄表集中器內(nèi)有 GPRS 通信模塊, MC5,通過 GPRS 通信網(wǎng)與中心計(jì)算機(jī)聯(lián)系,實(shí)現(xiàn)數(shù)據(jù)的上傳或命令的下達(dá)。由于采用了專用的電能處理芯片,使得電壓電流采樣分辨率大為提高,且有足夠的時(shí)間來更加精確的測(cè)量電能,從而使電能表的計(jì)量準(zhǔn)確度有了顯著改善。 讓計(jì)算機(jī)根據(jù)電費(fèi)不同價(jià)格的時(shí)間分割點(diǎn) ,實(shí)現(xiàn)電能表的復(fù)費(fèi)率功能。 關(guān)鍵詞: 功率測(cè)量 、 AT89C51 單片機(jī) 、 ADE775 LED 顯示 無錫科技職業(yè)學(xué)院畢業(yè)設(shè)計(jì)(論文) 基于單片機(jī)的多功能電表設(shè)計(jì) ii Electricity automatic controller Abstract: Along with the material life of the rich, many people move into the city, as the 1 part of your life. We use FM3307\/8 microcontroller as the core of the 8 households electricity consumption measurement, let everyone know what how to use single chip microputer to measure the amount of power. 8 pulse output electric energy metering chip AD7755 to the residents of the electricity into a certain number of pulses. 74HC164 series input and output 8 bit shift register and LED monitor can display realtime circulation of 8 households of electricity. AT24C16 through the I2C bus and the singlechip is connected with the MCU will residents consumption realtime write AT24C16 when power AT24C16 can still save the data once again after power on the MCU will save the data read in order to achieve powerdown protection. Electric energy meter through the RS485 bus and the concentrator is connected to receive the meter reading concentrator reading or prepaid, reset mand. Meter reading concentrator has GPRS munication module MC55 to realize data , the upload or mand through GPRS munication work and center puter connection issued. When working, voltage through the resistor divider, a current through the current transformer in the sampling resistance after sampling, into the special power chip for processing, and converted into digital signal is sent to the CPU calculation. Due to the adoption of a special power chip, the voltage and current sampling resolution is improved greatly, and have enough time to more accurate measurement of electric energy metering, so that the electric power meter accuracy has been significantly improved. CPU is used for timesharing charging and processing a variety of input and output data, the special power chip via the serial interface to read data, and according to the preset time plete the timesharing active electric energy metering and demand maximum measurement function, according to the need to display the data munication transmission, infrared or RS485 interface, monitoring and operation parameters store all kinds of data, records. Let the puter according to the different price of electricity time division point of the realization of multirate 無錫科技職業(yè)學(xué)院畢業(yè)設(shè)計(jì)(論文) 基于單片機(jī)的多功能電表設(shè)計(jì) iii function table. Computer users will advance purchase power into electric energy meter when in power to 0 of the control port, P4 action to cut off power supply. Key Words: power measurement、 AT89C51 MCU、 ADE775 LED display 無錫科技職業(yè)學(xué)院畢業(yè)設(shè)計(jì)(論文) 基于單片機(jī)的多功能電表設(shè)計(jì) iv 目錄 前言 ................................................................................................................................ 1 第一章 論述 ................................................................................................................ 2 課題的 背景及應(yīng)用范圍 ...................................................................................... 2 課題的目的 .......................................................................................................... 2 第二章 脈沖輸出的電能計(jì)量集成電路 .................................................................... 3 論述 ..................................................................................................................... 3 工作原理 .............................................................................................................. 4 ADE7755 單相表計(jì)量芯片 4 第三章 多功能電表的核心 74HC164 與 LED 數(shù)碼顯示 .......................................... 8 . 八位串入、并出移位寄存器 74HC164 ........................................................... 8 LED 數(shù)碼管 ...................................................................................................... 9 第四章 AT24C16 和單片機(jī)連接的中轉(zhuǎn)站 I2C 總線 ................................................. 10 I2C 總線介紹 .................................................................................................. 10 I2C 總線的系統(tǒng)結(jié)構(gòu)與接口 .......................................................................... 10 I2C 總線的信號(hào)與數(shù)據(jù)傳輸 .......................................................................... 11 第五章 串行 E2PROM 芯片 AT24CXX........................................................................... 13 AT24CXX 系列的基本功能 .......................................................................... 13 AT24CXX 的工作原理 .................................................................................. 14 第六章 電能表與抄表集中器的紐帶 RS485總線 ................................................ 17 RS485 簡(jiǎn)介 ..................................................................................................... 17 RS485 電平與 TTL 電平轉(zhuǎn)換驅(qū)動(dòng)電路 ......................................................... 19 第七章 抄表集中器的核 心 GPRS 通訊技術(shù)介紹 .................................................... 20 GPRS 工作原理 ................................................................................................. 20 GPRS 模塊主要性能簡(jiǎn)介 ......................