近年來能源議題興起,人們常不經意浪費了許多的能源,因此本論文希望從小地方做起,以家庭為基準點,建構一個適用於家庭生活的監控系統。 前端電流擷取的部分,使用了育陞半導體WCS系列霍爾磁感線性電流感測元件,配合Arduino Uno來做電流訊號的取樣和類比/數位轉換並使用Root Mean Square公式算出實際的電流值,再透過Arduino Uno上的UART將電流值傳送給XBee模組。 中端整合接收閘道的部分使用Raspberry Pi嵌入式板上的UART接上XBee模組來接收各個電流擷取端的數位電流值,接收回來的資料再傳送到後端Google Spreadsheet雲端資料庫做儲存的動作。並架設NMP(Nginx、MySQL、PHP)伺服器於Raspberry Pi嵌入式板上,使用者可以透過瀏覽器瀏覽網頁得知目前各個電器的使用情況,並對其電器控制或設定各個電器的開啟、關閉時間,或使用系統內建之智慧控制來開啟、關閉電器。 電力儲存部分,將搭配直流12V鉛酸電池,當電費便宜時由交流電充電與供電給電器,電費較貴時,則轉由直流電池轉換為交流電供電給電器,並期望能降低台灣對發電廠的依賴程度。
In recent years, wasted energy due to the unawareness or undisciplined behavior on appliances may result in unnecessary energy consumption and high cost. This thesis focuses on the green technologies that can provide people with instantaneous appliance information and control feedback may reduce the wasted energy. The proposed energy monitoring and control system aims to achieve family-scale energy saving. It comprises three parts: (1) Sensors and actuators, (2) Gateway, and (3) Database with energy-saving expert system. First, a hall effect based linear current sensor is used to detect the usage of an appliance, which is integrated on an economic embedded system Arduino Uno to perform the analog-to-digital conversion (ADC). After passing ADC, the root mean square (rms) value is sent via Uno UART port to the XBee module. Second, a Raspberry Pi embedded board is used, on which the UART port was connected with the XBee module to receive digital value from the sensors. Finally, data was sent to the cloud database (Google Spreadsheet is used as the cloud database). We built a NMP-based (Nginx, MySQL, PHP) web-server on the gateway (a Raspberry Pi embedded system) to provide people with instantaneous appliance information and the ability to control each device remotely through the internet. In particular, an expert system was developed to reduce the power cost if the user was charged for electricity based on the time-of-use (TOU) prices in Taiwan.