【正文】
目前國(guó)內(nèi)外研究電能計(jì)量和串行通信的技術(shù)已經(jīng)相當(dāng)成熟[2]。電能計(jì)量自動(dòng)抄表系統(tǒng)克服了傳統(tǒng)人工抄表模式的不確定性和低效率,能電能計(jì)量數(shù)據(jù)自動(dòng)采集、傳輸和處理?,F(xiàn)代電力營(yíng)銷系統(tǒng)中的一個(gè)重要環(huán)節(jié)是電量計(jì)量。在西方發(fā)達(dá)國(guó)家,電能計(jì)量的自動(dòng)抄表技術(shù)研究起步較早,低壓電力線的載波技術(shù)也已被廣泛地運(yùn)用,而我國(guó),多使用電話線作為通信信道。同時(shí),要求完善兩部制電價(jià)制度,擴(kuò)大多功能表應(yīng)用范圍,使多費(fèi)率和多功能電能表具有廣闊的前景[1]。為此,電力部門廣泛地使用有多個(gè)計(jì)度器能在不同費(fèi)率時(shí)段內(nèi)記錄交流有功或無(wú)功電能的復(fù)費(fèi)率電能表。電能的生產(chǎn),傳輸和使用同時(shí)進(jìn)行,因此,電能作為一種不可儲(chǔ)存商品的流通使用過(guò)程中,對(duì)其準(zhǔn)確計(jì)量具有重要的意義。隨著我國(guó)經(jīng)濟(jì)的飛速發(fā)展,各行各業(yè)對(duì)電的需求越來(lái)越大,電力系統(tǒng)越來(lái)越趨于現(xiàn)代化,電網(wǎng)與電力市場(chǎng)、客戶之間關(guān)系日益密切。十九世紀(jì)末形成了較完整的感應(yīng)式電能表的基本制造理論。 II第1章 緒論 1 1 2 基本功能 2 2第2章 基本理論基礎(chǔ) 3 3 3 ATT7037芯片介紹 3 Altium Designer 原理圖設(shè)計(jì)基礎(chǔ) 6 6第3章 硬件電路的設(shè)計(jì) 7 ATT7037最小系統(tǒng) 7 ATT7037芯片 7 模擬電源電路 10 JTAG接口電路 10 時(shí)鐘電路 11 復(fù)位電路 11 電源模塊 12 交流電量采集模塊 13 RS232串行通信 14 14 按鍵電路 15 16 17 LCD及按鍵的軟件結(jié)構(gòu) 17 LCD的軟件結(jié)構(gòu) 17 按鍵的軟件結(jié)構(gòu) 19 20 SBUF 寄存器 20 20 21 22第5章 實(shí)驗(yàn)結(jié)果與誤差分析 23 實(shí)驗(yàn)結(jié)果 23 誤差分析 25結(jié)論 26謝辭 27參考文獻(xiàn) 29附錄 30基于ATT7037的電參量表的設(shè)計(jì)第1章 緒論。 Hardware circuit design。With the increasing level of power system automation, access and manage information more and more important of highprecision, multiparameter, multifunctional, digital, multifunctionelectrical parameters of the instrument with a munication interface has bee a hottopic.The selection of a lowpower highperformance design of singlephase metering SOC chip ATT7037 multifunctional core , designed to detect a variety of electrical parameters , and has a serial munication function meter singlephase electrical parameters . The chip is integrated within a singlephase metering ( 3way ADC), CPU is a 51 core processor , LCD drivers , power management , clock management , RTC module , temperature / battery voltage measurement modules , PLL, JTAG debugging functions. This design is mainly designed hardware design as well as the serial munication circuit .Hardware is designed primarily ATT7037 minimum system , power modules , AC power collection module , RS232 serial munication , LCD displays the selected circuit , key circuit , alarm circuit design and circuit parameters such as size , and these circuits into Protel painting schematics. Serial munication is primarily designed for SBUF register , serial port control register , PCON register settings, select the serial work, design baud rate, timer initial finalize programming serial munication.Software was designed by the same group of other students to plete the design , introduces its program flow , initialization of each module, and some basic information .After the pletion of the preparation of the hardware circuit design and munication program , pleted in collaboration with other students of the same group and inkind program debugging , and make precision measurement experiment to achieve the electrical parameters of the display , and the experimental results were analyzed and the experimental errors are analyzed to draw conclusions.The design is simple , low cost , low power consumption , high reliability , and has broad market prospects and value.Keywords:Electric parameter table。通信顯示。單片機(jī)。 該設(shè)計(jì)方案結(jié)構(gòu)簡(jiǎn)單、成本低、功耗低、可靠性高,具有廣闊的市場(chǎng)前景和應(yīng)用價(jià)值。軟件的設(shè)計(jì)是由同組其他同學(xué)設(shè)計(jì)完成,主要介紹其程序流程、各個(gè)模塊的初始化、及一些基本情況。硬件的設(shè)計(jì)主要是ATT7037最小系統(tǒng)、電源模塊、交流電量采集模塊、RS232串行通信、LCD顯示電路、按鍵電路、報(bào)警電路等電路的設(shè)計(jì)以及參數(shù)大小的選定,并將這些電路用Protel畫(huà)成原理圖。該芯片內(nèi)集成單相計(jì)量(3路ADC)、CPU是51內(nèi)核處理器、LCD驅(qū)動(dòng)、電源管理,時(shí)鐘管理,RTC模塊,溫度/電池電壓測(cè)量模塊,PLL,JTAG調(diào)試等功能。 本科生畢業(yè)設(shè)計(jì)(論文)題 目: 基于ATT7037的電參量表的設(shè)計(jì) 基于ATT7037的電參量表的設(shè)計(jì)摘 要隨著電力系統(tǒng)自動(dòng)化水平的日益提高,電力信息的獲取和管理越來(lái)越重要,研制高精度、多參數(shù)、多功能、數(shù)字化、帶通信接口的多功能電參量?jī)x表已經(jīng)成為一個(gè)熱門的課題。本次設(shè)計(jì)選用低功耗高性能的單相多功能計(jì)量SOC芯片ATT7037為核心,設(shè)計(jì)一款可檢測(cè)多種電參量,并具有串行通信功能的單相電參量?jī)x表。本次設(shè)計(jì)主要是硬件電路的設(shè)計(jì)還有串行通信的設(shè)計(jì)。串行通信的設(shè)計(jì)主要是對(duì)SBUF寄存器、 串行口控制寄存器、PCON寄存器進(jìn)行設(shè)置、選擇串口的工作方式、設(shè)計(jì)波特率、定時(shí)器初值、最后完成串行通信的編程。在完成了硬件電路的設(shè)計(jì)以及通信程序的編寫之后,與同組其他同學(xué)合作完對(duì)程序和實(shí)物進(jìn)行調(diào)試、并做精度測(cè)量實(shí)驗(yàn)、實(shí)現(xiàn)了電參量的顯示,并對(duì)實(shí)驗(yàn)結(jié)果進(jìn)行分析和對(duì)實(shí)驗(yàn)誤差進(jìn)行分析從而得出結(jié)論。關(guān)鍵詞:電參量表。硬件電路設(shè)計(jì)。The design of electrical parameter table base on ATT7037 chipAbstract Singlechip。 Commuipnication and display III目 錄摘 要 IAbstract1889年匈牙利崗茲公司研制出第一塊感應(yīng)式電能表。20世紀(jì)50年代我國(guó)開(kāi)始生產(chǎn)感應(yīng)式電能表,20世紀(jì)90年代我國(guó)研發(fā)并自主生產(chǎn)電子式電能表[1]??蛻魧?duì)用電質(zhì)量要求逐步上升,傳統(tǒng)電網(wǎng)已經(jīng)無(wú)法滿足市場(chǎng)發(fā)展的要求。為調(diào)節(jié)負(fù)荷用電時(shí)段,以解決Et漸突出的電力供求矛盾,在不增加設(shè)備,不擴(kuò)大設(shè)備容量的大前提下,可以通過(guò)以下兩種方法來(lái)解決:一是在用電高峰時(shí)限、拉電;二是實(shí)行分時(shí)電價(jià),即提高用電高峰時(shí)段電能的價(jià)格,降低用電低谷時(shí)段電能的售價(jià)。世紀(jì)初,國(guó)家在保持電價(jià)總水平基本穩(wěn)定的前提下,大力推行峰谷分時(shí)計(jì)電價(jià),鼓勵(lì)人們合理移峰填谷用電。 我國(guó)的通信子系統(tǒng)發(fā)展水平相對(duì)較落后。近年來(lái)國(guó)內(nèi)電子工業(yè)迅速發(fā)展,通信系統(tǒng)作為自動(dòng)抄表技術(shù)的關(guān)鍵,也成為被關(guān)注的重點(diǎn)。為