【正文】
s old apartment is about 52%. Therefore, to achieve energy saving goals, we can improve the residential and mercial building equipment at the beginning. Although the government has controlled the power use of the new building, in Taiwan there are still more than 94% old buildings which did not consider the energysaving. This paper aims to succeed in that the advanced metering infrastructure optimizes load operation with power line carrier and achieves the load management. Two subsystems of the hardware are posed of a maser module and two control modules. The master module consists of a signal transform circuit, an AVR microprocessor, a keyboard decode circuit, a LCD circuit, and a power line carrier circuit, which has functions of local and remote monitoring . Control modules are classified into 2 categories air conditioning control module and illumination control module. Each control module consists of a signal transform circuit, an AVR microprocessor, a keyboard circuit, a LCD circuit, and a power line carrier circuit, which has the functions of manual and automatic load control. An infrared control circuit is installed in air conditioning control module for controlling air conditioner, and a power control circuit for controlling illumination device is added to the illumination control module. These modules realize munications via power lines . The distributed management is adopted to allocate information resources to every module. The distributed form is also applied to the information system development and data store. 天津工業(yè)大學(xué) 2021屆本科生畢業(yè)論文 31 Its main advantage is that it can satisfy the information needs of each module and meet the demand that each module controls information resource. With convenience for use and maintenance, it has the biggest difference from centralization that if a module is down, other modules can still keep running and the overall system will not e to a standstill. The research result of this paper is estimated to be smoothly applied in the occasion that the load management is required to reduce electric charge . II. METHODOLOGY A. Load Management Plan This paper makes use of distributed control model to serve the purposes of humanity and load control. Depending on highly automatic operation, it will take proper actions according to realtime and accurate data to reduce labor cost and electricity expenditure, and improve power efficiency. This system inclu。 In Chinese Taiwan, due to people’s environmental awareness and resistance, exploitation of energy resources and electric power construction are confronted with great difficulties in that it is the unshirkable responsibility for everyone to save energy. The proper electric power utilization will lead to increases of power consumption that exceeds contract capacity and electric charge. Efficient use of energy should be regarded as right energysaving concept. According to Economic Ministry statistics, Taiwan39。 在接下來(lái)研究中,我考慮將 QNX實(shí)時(shí)操作系統(tǒng)和 Modbus/TCP 協(xié)議應(yīng)用到這個(gè)網(wǎng)絡(luò)的設(shè)計(jì)中, QNX 對(duì)線程管理,信號(hào)采集,調(diào)度等都具有良好的性能。 在硬件開(kāi)發(fā)過(guò)程中,讓我們對(duì)焊接的基本要領(lǐng),電力電子技術(shù)有了更好的應(yīng)用;布線的方式和合理應(yīng)用開(kāi)發(fā)板等,都有了一個(gè)明確的應(yīng)用。對(duì) 此我要向我的導(dǎo)師致以最衷心的感謝和深深的敬意。在此過(guò)程中,不但鍛煉了我的語(yǔ)言交流能力,而且對(duì)本專(zhuān)業(yè)、跨專(zhuān)業(yè)的一些專(zhuān)業(yè)術(shù)語(yǔ)、表達(dá) 有了更進(jìn)一步的了解,為我以后的發(fā)展開(kāi)辟了一個(gè)廣闊的前景。從一個(gè)課題的開(kāi)始,各種資料的查詢,與老師的交流,同學(xué)的溝通,到最后論文的撰寫(xiě)、硬件的調(diào)試、軟件的編寫(xiě),讓我們對(duì)一個(gè)項(xiàng)目的開(kāi)發(fā)流程具有了初步的了解。 天津工業(yè)大學(xué) 2021屆本科生畢業(yè)論文 28 第六章 本文總結(jié) 兩個(gè)多月的畢業(yè) 設(shè)計(jì) 終于結(jié)束了,我的大學(xué)生活也將隨之結(jié)束。 ,可以增加矯正程序代碼,方便你的調(diào)試過(guò)程。首先要對(duì) C51單片機(jī)有個(gè)詳細(xì)的了解,熟悉 C語(yǔ)言開(kāi)發(fā)環(huán)境,熟悉 C語(yǔ)言代碼,以及一些軟件編寫(xiě)的注意實(shí)現(xiàn)及常見(jiàn)問(wèn)題。//當(dāng)路燈處于工作狀態(tài)發(fā)生 故障 時(shí), 發(fā)送 數(shù)據(jù) 0x03 } } 天津工業(yè)大學(xué) 2021屆本科生畢業(yè)論文 27 置 k q 1 3 0 發(fā) 送發(fā) 送初 始 化是 否 接 受 數(shù) 據(jù) ?有 電 流 ?N接 收 數(shù) 據(jù) 類(lèi) 型 ?置 k q 1 3 0 接 受數(shù) 據(jù)執(zhí) 行 功 率 變 化單 元Y“ 1 ”開(kāi) 始N“ 0 ”發(fā) 送 完 畢 ?數(shù) 據(jù) 發(fā) 送 完 畢后 返 回N 圖 52 從機(jī)程序流程圖 軟件調(diào)試過(guò)程中的問(wèn)題以及解決 在調(diào)試過(guò)程中,首先我們 利用已知知識(shí)排除是由于硬件錯(cuò)誤造成的,這時(shí)需要我們利用軟件測(cè)試方法去解決一些問(wèn)題。(p=0)) Send(0x03)。 // 當(dāng)收到數(shù)據(jù) 0x02時(shí), 關(guān)燈 if( (a==0 )amp。 //初始化串口中的 函數(shù)調(diào)用 while(1) { if (R == 0x01) p = 0。其余程序說(shuō)明均在注釋中有詳細(xì)說(shuō)明。路燈接在 P2^0( p)端口,當(dāng)端口為低電平 時(shí),路燈亮;當(dāng)端口為高點(diǎn)平時(shí),路燈滅。 } 從機(jī)主要完成對(duì)路燈的“亮”“滅”顯示,如圖 52所示,下面一段是從機(jī)的接受程序段: init()初始化串口; delay()完成延時(shí)任務(wù); Send()為 發(fā)送函數(shù); Receive()為 接收函數(shù) ; RE() interrupt 4 為中斷操作,上述五個(gè)函數(shù)都和發(fā)送機(jī)的函數(shù)段一樣,這里不做特殊說(shuō)明。 }//當(dāng)收到數(shù)據(jù) 0x03時(shí), P2口的燈顯示狀態(tài), P1口的數(shù)碼管顯示故障燈號(hào)碼 } } void RE() interrupt 4 // 中斷操作 { R = SBUF。 P1 = 0xf9。 delay(20)。 // 函數(shù)調(diào)用 while(1) { if (K1 == 0) 天津工業(yè)大學(xué) 2021屆本科生畢業(yè)論文 26 { Send(0x01); delay(20)。 //將接收緩沖器中的數(shù)據(jù)存于 dat return dat。 //等待,直至接收完畢( RI=1) RI=0。 } unsigned char Receive(void) //接收函數(shù) { unsigned char dat。 //空操作 TI=0。 SBUF=dat。y)。x) for(y=125。 for(x=z。 //CPU相應(yīng)的中斷容許 ES=1。 //SMO和 SM1完成對(duì)串口工作方式的選擇, 串口方式 1 TI=0。 //允許接收 SM0=0。 //定時(shí)器 1的 baud rate 9600bit/s TR1=1。 //定時(shí)器 1 TH1=0xFD。其余程序說(shuō)明均在注釋中有詳細(xì)說(shuō)明。 delay()完成延時(shí)任務(wù); Send()為 發(fā)送函數(shù); Receive()為 接收函數(shù) ; RE() interrupt 4 為中斷操作。 主機(jī)主要完成對(duì)路燈亮、滅進(jìn)行控制,如 圖 51所示 。 軟件設(shè)計(jì)的任務(wù)是從軟件需求出發(fā),根據(jù)需求確定的 程序的功能,到 最后的程序流程圖,程序代碼,模塊設(shè)計(jì),以及所涉及到的算法做一個(gè)詳細(xì)的編寫(xiě)。 軟件流程圖的實(shí)現(xiàn) 軟件系統(tǒng)設(shè)計(jì)在實(shí)現(xiàn)路燈智能化控制中是必不可少的,同時(shí)對(duì)系統(tǒng)的穩(wěn)定運(yùn)行很重要。相同的透明工作模式或自定義工作模式。本章主要進(jìn)行軟件編寫(xiě),流程圖編寫(xiě),以及必要的主函數(shù)說(shuō)明。 第四章 照明控制系統(tǒng)通信協(xié)議軟件設(shè)計(jì) 天津工業(yè)大學(xué) 2021屆本科生畢業(yè)論文 24 第五章 電力載波通信協(xié)議與軟件設(shè)計(jì) 軟件編程是和上面的硬件電路圖相結(jié)合的。 天津工業(yè)大學(xué) 2021屆本科生畢業(yè)論文 23 :我在調(diào)制過(guò)程中遇到了失控,接受發(fā)送亂碼 的情況,致使最終效果不佳。 當(dāng)只有從機(jī)模塊時(shí),單片機(jī)的單燈還會(huì)繼續(xù)無(wú)規(guī)則的閃爍,經(jīng)我和同學(xué)的反復(fù)論證,得出是由于電力載波模塊靜電的影響造成的。 :在調(diào)試過(guò)程中,遇到單個(gè)路燈再無(wú)主機(jī)發(fā)送命令是,它會(huì)自動(dòng)無(wú)周期閃爍,我對(duì)單片機(jī),以及電力載波模塊都做了測(cè)試,完好無(wú)缺。在測(cè)試中首先要解決電源問(wèn)題,看是不是正常供電、電壓是不是穩(wěn)定等。 :通電之前一定要檢查電源電壓的幅值與所接電源的正負(fù)極性。所以 在安裝之前一定要檢驗(yàn)元器件,并和設(shè)計(jì)要求的型號(hào),規(guī)格,進(jìn)行比對(duì)。 基于電力載波技術(shù)的智能化路燈控制系統(tǒng)結(jié)構(gòu)圖和電路圖 結(jié)構(gòu)圖分析:主 AT89S52 單片機(jī)完成對(duì)路燈的控制、調(diào)壓指令的發(fā)出和路燈狀態(tài)的顯示,從 AT89S52 主要完成路燈的狀態(tài)的檢測(cè),調(diào)壓指令的執(zhí)行,并將路燈的狀態(tài)發(fā)送到主 AT89S52 單片機(jī)。在凌晨 15點(diǎn)之間路上行人和車(chē)輛較少