[go: up one dir, main page]

TWI428733B - Control circuit for switch power supply - Google Patents

Control circuit for switch power supply Download PDF

Info

Publication number
TWI428733B
TWI428733B TW98113351A TW98113351A TWI428733B TW I428733 B TWI428733 B TW I428733B TW 98113351 A TW98113351 A TW 98113351A TW 98113351 A TW98113351 A TW 98113351A TW I428733 B TWI428733 B TW I428733B
Authority
TW
Taiwan
Prior art keywords
power
power supply
relay
microprocessor
signal
Prior art date
Application number
TW98113351A
Other languages
Chinese (zh)
Other versions
TW201039117A (en
Inventor
Fang Ta Tai
Chen Hsiang Lin
Teng Feng Zou
Jui Ting Hung
Yi Bin Hwang
Li Chung Sun
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98113351A priority Critical patent/TWI428733B/en
Publication of TW201039117A publication Critical patent/TW201039117A/en
Application granted granted Critical
Publication of TWI428733B publication Critical patent/TWI428733B/en

Links

Landscapes

  • Power Sources (AREA)

Description

開關電源控制電路Switching power supply control circuit

本發明涉及一種開關電源控制電路。The invention relates to a switching power supply control circuit.

開關電源(switch power supply, SPS)被廣泛應用於電腦、伺服器、工作站等產品中,一般電腦於軟體關機後,其內部之開關電源控制電路仍然會輸出一5V備用待機電壓提供給電腦主機板,供電腦主機板之電源監控單元、網路通訊介面、系統時鐘晶片等使用,為電腦之電源啟動作準備。然,若電腦於軟體關機後長時間不使用,該5V備用待機電壓將會有電源損耗,損耗能源。Switch power supply (SPS) is widely used in computers, servers, workstations, etc. After the computer is turned off, the internal switching power supply control circuit will still output a 5V standby standby voltage to the computer motherboard. It is used by the power monitoring unit of the computer motherboard, the network communication interface, the system clock chip, etc., in preparation for starting the power of the computer. However, if the computer is not used for a long time after the software is turned off, the 5V standby standby voltage will have power loss and energy loss.

鑒於以上內容,有必要提供一種開關電源控制電路,能有效地降低開關電源之能量損耗。In view of the above, it is necessary to provide a switching power supply control circuit that can effectively reduce the energy loss of the switching power supply.

一種開關電源控制電路,包括一用於連接外部電源之電源輸入介面、一用於連接一電源供應器之電源輸出介面、一交/直流轉換器、一繼電器、一繼電器驅動電路及一微處理器,該交/直流轉換器用於將來自該電源輸入介面之交流電壓轉換為直流電壓並提供給該繼電器、繼電器驅動電路及微處理器,該繼電器之內部開關連接於該電源輸入介面與該電源輸出介面之間,當該微處理器接收到電腦主機板之關機訊號或開機訊號時輸出一控制訊號至該繼電器驅動電路以控制該繼電器之內部開關之啟閉。A switching power supply control circuit includes a power input interface for connecting an external power source, a power output interface for connecting a power supply, an AC/DC converter, a relay, a relay drive circuit, and a microprocessor The AC/DC converter is configured to convert an AC voltage from the power input interface into a DC voltage and provide the relay, a relay driving circuit and a microprocessor, wherein an internal switch of the relay is connected to the power input interface and the power output Between the interfaces, when the microprocessor receives the shutdown signal or the power-on signal of the computer motherboard, a control signal is outputted to the relay driving circuit to control the opening and closing of the internal switch of the relay.

相較習知技術,於電腦主機板軟體關機時,該開關電源控制電路透過該微處理器接收電腦主機板之關機訊號,並控制該繼電器驅動電路驅動該繼電器運作以斷開該繼電器之內部開關,進而中斷該外部電源與該電源供應器之連接,故,一定程度上節約了電能,降低了成本。Compared with the prior art, when the computer motherboard software is turned off, the switching power supply control circuit receives the shutdown signal of the computer motherboard through the microprocessor, and controls the relay driving circuit to drive the relay to open the internal switch of the relay. In turn, the connection between the external power source and the power supply is interrupted, so that power is saved to a certain extent and the cost is reduced.

請參閱圖1,本發明開關電源控制電路100之較佳實施方式應用於一電腦系統,該開關電源控制電路100包括一電源輸入介面10、一交/直流轉換器20、一繼電器30、一繼電器驅動電路40、一微處理器50及一電源輸出介面60。Referring to FIG. 1 , a preferred embodiment of the switching power supply control circuit 100 of the present invention is applied to a computer system. The switching power supply control circuit 100 includes a power input interface 10 , an AC/DC converter 20 , a relay 30 , and a relay . The driving circuit 40, a microprocessor 50 and a power output interface 60 are provided.

該電源輸入介面10用於連接外部電源(如220V交流電源),並透過該電源輸出介面60將該外部電源提供給一電源供應器70,該電源供應器70內之電源轉換電路將接收到之外部電源訊號轉換成一電腦主機板80所需之電源訊號(如5V系統電源5V_sys、5V備用電源5Vsb等)提供給電腦主機板80。The power input interface 10 is used for connecting an external power source (such as a 220V AC power source), and the external power source is supplied to a power supply 70 through the power output interface 60, and the power conversion circuit in the power supply 70 receives the power supply circuit 70. The power signal (such as 5V system power supply 5V_sys, 5V standby power supply 5Vsb, etc.) required for converting the external power signal into a computer motherboard 80 is provided to the computer motherboard 80.

該交/直流轉換器20透過該電源輸入介面10接收該外部電源之交流電壓並將其轉換成直流電壓(如5V),以提供給該繼電器30、繼電器驅動電路40及微處理器50工作。該繼電器30之開關K連接於該電源輸入介面10上之火線L上。該微處理器50連接該電腦主機板80之電源開機訊號引腳Power-on、供電電源訊號引腳Power supply-on、開機使能引腳PO-enable及USB連接器81,該微處理器50還連接該電源供應器70之備用電源輸出引腳5V_sb及該繼電器驅動電路40。The AC/DC converter 20 receives the AC voltage of the external power source through the power input interface 10 and converts it into a DC voltage (eg, 5V) for operation of the relay 30, the relay drive circuit 40, and the microprocessor 50. The switch K of the relay 30 is connected to the live line L on the power input interface 10. The microprocessor 50 is connected to the power-on signal pin Power-on, the power supply signal pin Power supply-on, the power-on enable pin PO-enable and the USB connector 81 of the computer motherboard 80. The microprocessor 50 The standby power output pin 5V_sb of the power supply 70 and the relay drive circuit 40 are also connected.

當操作者開啟電腦系統時,該電源開機訊號引腳Power-on將一開機訊號傳送至該微處理器50,該微處理器50輸出一控制訊號來控制該繼電器驅動電路40驅動該繼電器30以閉合該開關K,該外部電源透過該電源輸入介面10及該電源輸出介面60給該電源供應器70供電。該電源供應器70之備用電源輸出引腳5V_sb及系統電源輸出引腳5V_sys對該電腦主機板80供電並透過該備用電源輸出引腳5V_sb輸出一5V電壓訊號至該微處理器50。該電腦主機板80透過該供電電源訊號引腳Power supply-on輸出一回饋訊號至該微處理器50以指示供電正常。該微處理器50於接收到該回饋訊號及由該電源供應器70輸出之5V電壓訊號後,輸出一啟動訊號至該電腦主機板80之開機使能引腳PO-enable以使得該電腦主機板80開機。When the operator turns on the computer system, the power-on signal pin Power-on transmits a power-on signal to the microprocessor 50, and the microprocessor 50 outputs a control signal to control the relay driving circuit 40 to drive the relay 30. The switch K is closed, and the external power source supplies power to the power supply 70 through the power input interface 10 and the power output interface 60. The standby power output pin 5V_sb of the power supply 70 and the system power output pin 5V_sys power the computer motherboard 80 and output a 5V voltage signal to the microprocessor 50 through the standby power output pin 5V_sb. The computer motherboard 80 outputs a feedback signal to the microprocessor 50 through the power supply signal pin Power supply-on to indicate that the power supply is normal. After receiving the feedback signal and the 5V voltage signal output by the power supply 70, the microprocessor 50 outputs an activation signal to the power-on enable pin PO-enable of the computer motherboard 80 to make the computer motherboard 80 boot.

當操作者關閉該電腦系統時,該USB連接器81接收到該電腦主機板80之關機訊號並輸出一關機訊號至該微處理器50,該微處理器50則對應輸出一控制訊號來控制該繼電器驅動電路40驅動該繼電器30以斷開該開關K,從而斷開外部電源與該電源供應器70之間之連接,實現該電腦主機板80於關機之狀態下無電源損耗。When the operator turns off the computer system, the USB connector 81 receives the shutdown signal of the computer motherboard 80 and outputs a shutdown signal to the microprocessor 50, and the microprocessor 50 outputs a control signal to control the The relay drive circuit 40 drives the relay 30 to open the switch K, thereby disconnecting the external power source from the power supply 70, so that the computer motherboard 80 has no power loss in the off state.

請一併參閱圖2,該繼電器驅動電路40為一電晶體Q1。於其他實施方式中,根據設計需要,該繼電器驅動電路40亦可為其他開關電路。該繼電器驅動電路40、該交/直流轉換器20為習知技術中較成熟之技術,故不再詳細描述。該電源輸入介面10之零線N及地線G均連接到該電源輸出介面60對應之引腳上。Referring to FIG. 2 together, the relay driving circuit 40 is a transistor Q1. In other embodiments, the relay driving circuit 40 may also be other switching circuits according to design requirements. The relay drive circuit 40 and the AC/DC converter 20 are well-known technologies in the prior art and will not be described in detail. The neutral line N and the ground line G of the power input interface 10 are both connected to pins corresponding to the power output interface 60.

該繼電器30之線圈J一端透過一電阻連接該交/直流轉換器20產生之一5V直流電壓並透過一電容接地,另一端連接到該電晶體Q1之集極。該電晶體Q1之射極接地,基極連接到該微處理器50之引腳16。該微處理器50為一EM78612A型晶片,其引腳1連接該電源供應器70之備用電源輸出引腳5V_sb,僅當該電源輸出介面60給該電源供應器70供電時,該微處理器50之引腳1上有一5V直流電壓輸入以偵測該電源供應器70之工作情況;引腳2連接該電腦主機板80之開機使能引腳PO-enable,僅當該電源供應器70對該電腦主機板80供電正常時,該微處理器50之引腳2輸出一啟動訊號至該開機使能引腳PO-enable以使得電腦主機板80開機;引腳3與引腳4分別連接該電腦主機板80之電源開機訊號引腳Power-on及供電電源訊號引腳Power supply-on以控制該微處理器50之引腳2之輸出;引腳5及6接地;引腳7連接一3.3V直流電源並透過一電容C1接地;引腳8及9分別透過一電容C2及C3接地;引腳10連接一5V直流電源;引腳11及13連接一3.3V直流電源;引腳12連接至該USB連接器81;引腳14及15懸空。One end of the coil J of the relay 30 is connected to the AC/DC converter 20 through a resistor to generate a 5V DC voltage and is grounded through a capacitor, and the other end is connected to the collector of the transistor Q1. The emitter of the transistor Q1 is grounded and the base is connected to the pin 16 of the microprocessor 50. The microprocessor 50 is an EM78612A type wafer, and its pin 1 is connected to the standby power output pin 5V_sb of the power supply 70. The microprocessor 50 is only used when the power output interface 60 supplies power to the power supply 70. There is a 5V DC voltage input on pin 1 to detect the operation of the power supply 70; pin 2 is connected to the power enable pin PO-enable of the computer motherboard 80, only when the power supply 70 When the computer motherboard 80 is powered normally, the pin 2 of the microprocessor 50 outputs a start signal to the boot enable pin PO-enable to enable the computer motherboard 80 to be turned on; pins 3 and 4 are respectively connected to the computer. The power-on signal of the motherboard 80 is powered by the power-on and the power supply signal pin Power supply-on to control the output of the pin 2 of the microprocessor 50; the pins 5 and 6 are grounded; the pin 7 is connected to a 3.3V. The DC power supply is grounded through a capacitor C1; pins 8 and 9 are grounded through a capacitor C2 and C3 respectively; pin 10 is connected to a 5V DC power supply; pins 11 and 13 are connected to a 3.3V DC power supply; pin 12 is connected to the USB connector 81; pins 14 and 15 are left floating.

當該開關電源控制電路100之電源輸入介面10與外部電源相連,該開關電源控制電路100之電源輸出介面60與該電源供應器70之對應之電源介面71相連時,開啟該電腦系統,該微處理器50之引腳16輸出高電平訊號來控制該電晶體Q1導通,此時該繼電器30之線圈L兩端之電壓差使得該開關K閉合,從而該外部電源透過該電源輸入介面10及該電源輸出介面60給該電源供應器70供電。進而,該電源供應器70對該電腦主機板80供電。如上述對圖1中電路之描述可知,於該微處理器50之引腳2輸出一啟動訊號至該開機使能引腳PO-enable時,該電腦主機板80開機。When the power input interface 10 of the switching power supply control circuit 100 is connected to an external power source, the power output interface 60 of the switching power supply control circuit 100 is connected to the corresponding power interface 71 of the power supply 70, and the computer system is turned on. The pin 16 of the processor 50 outputs a high level signal to control the transistor Q1 to be turned on. At this time, the voltage difference between the coil L of the relay 30 causes the switch K to be closed, so that the external power source passes through the power input interface 10 and The power output interface 60 supplies power to the power supply 70. Further, the power supply 70 supplies power to the computer motherboard 80. As described above for the circuit in FIG. 1, when the pin 2 of the microprocessor 50 outputs a start signal to the boot enable pin PO-enable, the computer motherboard 80 is turned on.

當使用者關閉該電腦系統時,該電腦主機板80之關機訊號引腳(圖未示)發出一關機訊號並透過該USB連接器81傳送給該微處理器50,以使得該微處理器50之引腳16輸出一低電平訊號控制該電晶體Q1截止,此時該繼電器30之線圈L之兩端電壓相等,從而使得該開關K斷開,即斷開外部電源與該電源供應器70之間之連接,此時該外部電路與該電源供應器70之連接被中斷,即無任何電壓提供給該電腦主機板80,由於備用電壓亦被中斷,故於一定程度上節約了電能,降低了成本。When the user turns off the computer system, the shutdown signal pin (not shown) of the computer motherboard 80 sends a shutdown signal to the microprocessor 50 through the USB connector 81, so that the microprocessor 50 The pin 16 outputs a low level signal to control the transistor Q1 to be turned off. At this time, the voltages of the coils L of the relay 30 are equal, so that the switch K is turned off, that is, the external power source and the power supply 70 are disconnected. The connection between the external circuit and the power supply 70 is interrupted, that is, no voltage is supplied to the computer motherboard 80, and the standby voltage is also interrupted, thereby saving power to a certain extent and reducing The cost.

於本實施方式中,該控制訊號於關機狀態時為低電平,開機狀態時為高電平,於其他實施方式中,控制訊號之形式及與開關機狀態之間之對應關係可以根據該繼電器驅動電路40而更改。In this embodiment, the control signal is low when the power is off, and is high when the power is turned on. In other embodiments, the correspondence between the form of the control signal and the state of the power on and off can be according to the relay. The drive circuit 40 is changed.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,舉凡熟悉本案技藝之人士,於爰依本發明精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be covered by the following claims.

10‧‧‧電源輸入介面
20‧‧‧交/直流轉換器
30‧‧‧繼電器
40‧‧‧繼電器驅動電路
50‧‧‧微處理器
60‧‧‧電源輸出介面
70‧‧‧電源供應器
80‧‧‧電腦主機板
71‧‧‧電源介面
81‧‧‧USB連接器
100‧‧‧開關電源控制電路
K‧‧‧開關
J‧‧‧線圈
C1-C3‧‧‧電容
Q1‧‧‧電晶體
10‧‧‧Power input interface
20‧‧‧AC/DC converter
30‧‧‧Relay
40‧‧‧Relay drive circuit
50‧‧‧Microprocessor
60‧‧‧Power output interface
70‧‧‧Power supply
80‧‧‧Computer motherboard
71‧‧‧Power interface
81‧‧‧USB connector
100‧‧‧Switching power supply control circuit
K‧‧ switch
J‧‧‧ coil
C1-C3‧‧‧ capacitor
Q1‧‧‧Optoelectronics

圖1係本發明開關電源控制電路之較佳實施方式連接一電源供應器及一電腦主機板之原理框圖。1 is a block diagram showing a preferred embodiment of a switching power supply control circuit of the present invention connected to a power supply and a computer motherboard.

圖2係圖1之電路圖。Figure 2 is a circuit diagram of Figure 1.

10‧‧‧電源輸入介面 10‧‧‧Power input interface

20‧‧‧交/直流轉換器 20‧‧‧AC/DC converter

30‧‧‧繼電器 30‧‧‧Relay

40‧‧‧繼電器驅動電路 40‧‧‧Relay drive circuit

50‧‧‧微處理器 50‧‧‧Microprocessor

60‧‧‧電源輸出介面 60‧‧‧Power output interface

70‧‧‧電源供應器 70‧‧‧Power supply

80‧‧‧電腦主機板 80‧‧‧Computer motherboard

71‧‧‧電源介面 71‧‧‧Power interface

81‧‧‧USB連接器 81‧‧‧USB connector

100‧‧‧開關電源控制電路 100‧‧‧Switching power supply control circuit

K‧‧‧開關 K‧‧ switch

Claims (4)

一種開關電源控制電路,包括一用於連接外部電源之電源輸入介面、一用於連接一電源供應器之電源輸出介面、一交/直流轉換器、一繼電器、一繼電器驅動電路及一微處理器,該交/直流轉換器用於將來自該電源輸入介面之交流電壓轉換為直流電壓並提供給該繼電器、繼電器驅動電路及微處理器,該繼電器之內部開關連接於該電源輸入介面與該電源輸出介面之間,當該微處理器接收到電腦主機板之關機訊號或開機訊號時輸出一控制訊號至該繼電器驅動電路以控制該繼電器之內部開關之啟閉。A switching power supply control circuit includes a power input interface for connecting an external power source, a power output interface for connecting a power supply, an AC/DC converter, a relay, a relay drive circuit, and a microprocessor The AC/DC converter is configured to convert an AC voltage from the power input interface into a DC voltage and provide the relay, a relay driving circuit and a microprocessor, wherein an internal switch of the relay is connected to the power input interface and the power output Between the interfaces, when the microprocessor receives the shutdown signal or the power-on signal of the computer motherboard, a control signal is outputted to the relay driving circuit to control the opening and closing of the internal switch of the relay. 如申請專利範圍第1項所述之開關電源控制電路,其中該繼電器驅動電路包括一電晶體,該繼電器之內部線圈一端連接該交/直流轉換器,另一端連接到該電晶體之集極,該電晶體之射極接地,基極連接到該微處理器以接收該控制訊號。The switching power supply control circuit of claim 1, wherein the relay driving circuit comprises a transistor, the internal coil of the relay is connected to the AC/DC converter at one end, and the other end is connected to the collector of the transistor. The emitter of the transistor is grounded and the base is coupled to the microprocessor to receive the control signal. 如申請專利範圍第2項所述之開關電源控制電路,其中該微處理器連接該電腦主機板之電源開機訊號引腳及USB連接器,該電腦主機板之開機訊號透過該電腦主機板之電源開機訊號引腳傳送至該微處理器;該電腦主機板之關機訊號透過該USB連接器傳送至該微處理器。The switching power supply control circuit of claim 2, wherein the microprocessor is connected to a power-on signal pin and a USB connector of the computer motherboard, and the power-on signal of the computer motherboard is powered by the computer motherboard The power-on signal pin is transmitted to the microprocessor; the shutdown signal of the computer motherboard is transmitted to the microprocessor through the USB connector. 如申請專利範圍第3項所述之開關電源控制電路,其中該微處理器還連接該電腦主機板之供電電源訊號引腳、開機使能引腳及一電源供應器之備用電源輸出引腳。The switching power supply control circuit of claim 3, wherein the microprocessor is further connected to a power supply signal pin of the computer motherboard, a boot enable pin, and a standby power output pin of a power supply.
TW98113351A 2009-04-22 2009-04-22 Control circuit for switch power supply TWI428733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98113351A TWI428733B (en) 2009-04-22 2009-04-22 Control circuit for switch power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98113351A TWI428733B (en) 2009-04-22 2009-04-22 Control circuit for switch power supply

Publications (2)

Publication Number Publication Date
TW201039117A TW201039117A (en) 2010-11-01
TWI428733B true TWI428733B (en) 2014-03-01

Family

ID=44995319

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98113351A TWI428733B (en) 2009-04-22 2009-04-22 Control circuit for switch power supply

Country Status (1)

Country Link
TW (1) TWI428733B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI479165B (en) * 2011-01-21 2015-04-01 Hon Hai Prec Ind Co Ltd Assistant test board
CN105824382B (en) * 2015-01-08 2018-11-09 鸿富锦精密工业(武汉)有限公司 The electronic device of USB power supply circuits and the application circuit

Also Published As

Publication number Publication date
TW201039117A (en) 2010-11-01

Similar Documents

Publication Publication Date Title
US8050061B2 (en) Control circuit for switching power supply
KR101623756B1 (en) A method for interrupting power supply in an apparatus for interrupting power supply utilizing the voltage supplied to the system memory
CN112671084B (en) USB device and operation method thereof
TWI536707B (en) Uninterruptible power system and power control system thereof
TW201606513A (en) Display system and display device and TV stick
CN102902337B (en) Power supply switching system, computer system and restarting control method thereof
TWI582575B (en) Electronic device
CN101459389B (en) Host board voltage regulating circuit
US7493507B2 (en) System for protecting a motherboard while a component is not connected properly to its power source
TWI428733B (en) Control circuit for switch power supply
WO2011090486A1 (en) I/o control systems and methods
TW201310217A (en) Power matching system
CN102053687B (en) Electronic device and its power control module
TWI443500B (en) Power supply system, computer thereof and power supplying method of computer
TWI503657B (en) Motherboard and method for power control thereof
TWI533115B (en) Electronic device and power management control method
CN102221867B (en) Circuit for realizing computer soft off and control method thereof
WO2011006296A1 (en) Control circuit for eliminating standby power consumption of computer power source
US20120290860A1 (en) Computer power supplier with a standby power saving controller
CN111966195A (en) Start control circuit and method
CN101626201A (en) Switch power supply circuit
WO2010123496A1 (en) Electrically isolating a system from an external power source
CN103901959B (en) Mainboard and power management method thereof
TWI408544B (en) Electronic apparatus and power control module thereof
TWI383572B (en) Switch power supply circuit

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees