摘 要:為了能夠在計算機關機或待機情況下有效切斷外設電源,達到節(jié)能的目的,利用低功耗高性能的AVR mega48作為控制電路的核心,通過檢測計算機待機電流的方法,設計了一種可靠性高、性能好的計算機智能節(jié)能插座,并對智能節(jié)能插座的控制原理進行了詳細的分析。將計算機接到所設計的插座上測試,結果表明:智能插座能正確監(jiān)測計算機的運行狀態(tài),并根據(jù)監(jiān)測狀態(tài)值有效的切斷外設電源,同時具有定時開關的功能,實現(xiàn)了外設的零待機功率。
關鍵詞:智能插座; 節(jié)能; 電流采樣; AVR
中圖分類號:TP368.1 文獻標識碼:B
文章編號:1004-373X(2010)12-0188-03
Design of Intelligent Energy-saving Socket Based on AVR
HUANG Jie
(Logistics Group,Guangxi Normal University,Guilin 541004, China)
Abstract:An intelligent socket for computer energy-saving with high reliability and good performance, which uses AVR mega 48 as the core of the control circuit, is designed to cut off the peripheral power supply effectively by detecting the standby current of the computer under the condition of shutdown or standby to achieve the purpose of energy saving. The principle of the intelligent socket is analyzed. Connecting the computer to the socket to test, the results show that the intelligent socket can monitor the operating status of computer properly, and cut off the peripheral power supply effectively based on the monitoring state value. It also has the function of time switch, which enables the zero standby power of the peripherals.
Keywords:intelligent socket; energy saving; current sampling; AVR
0 引 言
計算機外部設備(如打印機、掃描儀、音響等)的待機能耗不但增加了消費者的日常電費開支,也使電力資源[1-2]浪費極大。該設計的計算機智能節(jié)能插座利用主機的開機和關機來帶動其他設備的開或關,使其接口設備待機能耗為零,能夠減少計算機及其外設所產(chǎn)生的輻射,以此達到節(jié)能和環(huán)保功效;同時還具備有分段定時開關的功能。該智能插座也可以通過功能轉換作為普通插座使用,不影響其他設備的使用。
1 智能插座的設計
1.1 智能插座的硬件結構
計算機智能節(jié)能插座的硬件結構圖如圖1所示。該控制器以AVR mega 48為控制核心,外圍電路主要由電流采樣電路、模/數(shù)轉換參考電壓電路、狀態(tài)顯示電路、鍵盤輸入電路和實時時鐘構成。電流采樣電路用于檢測計算機的運行狀態(tài)和過流保護;數(shù)/模轉換參考電壓電路為電流的采樣提供參考;狀態(tài)顯示電路表明插座當前的運行狀態(tài);鍵盤輸入實現(xiàn)普通插座與智能插座的切換、設置待機臨界電流值、設置分段開關的時間點。……