CN1655092A - Device and method for power supply switchover and compensation - Google Patents

Device and method for power supply switchover and compensation Download PDF

Info

Publication number
CN1655092A
CN1655092A CN 200410039550 CN200410039550A CN1655092A CN 1655092 A CN1655092 A CN 1655092A CN 200410039550 CN200410039550 CN 200410039550 CN 200410039550 A CN200410039550 A CN 200410039550A CN 1655092 A CN1655092 A CN 1655092A
Authority
CN
China
Prior art keywords
supply
power supply
primary power
power
parameter
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 200410039550
Other languages
Chinese (zh)
Other versions
CN100367157C (en
Inventor
鲁华军
安岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2004100395500A priority Critical patent/CN100367157C/en
Publication of CN1655092A publication Critical patent/CN1655092A/en
Application granted granted Critical
Publication of CN100367157C publication Critical patent/CN100367157C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

This invention provides a power supply switch and compensation device and a method. The device includes: a main power supply and a compensate supply, two current valves, the input ends are coupled to said main supply and compensation supply, the output ends are coupled to the output ends of said supply switch and the compensation device, a sample and valve value control device coupled to output ends of said supply switch and compensation device, a control device for controlling the conduction and close of said two current valves in terms of parameters of the output end. The method includes: getting the output value of said supply device, judging if the got output value is larger than a preset value, if so, it closes said compensation supply, if not, it opens the channel of said compensation supply to said supply device.

Description

The apparatus and method that power supply switches and compensates
Technical field
The invention belongs to circuit design field, be specifically related to the apparatus and method of power supply automatic switchover and voltage automatic compensating; Be particularly related to the apparatus and method of computer power supply automatic switchover and voltage automatic compensating.
Background technology
In computer realm, universal serial bus device (USB device) is owing to supporting advantages such as hot plug, expansion is convenient, transmission speed is very fast to obtain application more and more widely.Flash disk, USB hard disk, USB CD-ROM drive, USB floppy drive or the like panoramic USB device has appearred.These equipment institute power consumption streams have nothing in common with each other, at present, and the maximum 500mA that surpassed.Under the normal situation about using, their power supply mainly is the 5v power supply that provides on the mainboard, and the voltage that USB device requires to provide is more than the 4.75v, and the pressure drop in supply line just can not surpass 250mV like this.Because most of USB device is supported arousal function, therefore require computing machine after entering dormant state, to continue as the USB device power supply again.Again because the electric current of the 5Vsb (5V standby power) that computer power supply provided is less, can not satisfy the requirement when electric current normally uses greatly, therefore the circuit that needs a switching, when computing machine enters dormancy, power by 5Vsb separately, when computing machine is got back to normal operating condition by dormant state, switch to 5V and power.
The method of in the computer motherboard design at present the USB power supply being switched has two kinds: classic method is by connecing a diode from 5V to 5VSB, form a 5VDUAL voltage, to reach the automatic switchover when entering dormancy, the shortcoming of this method is that pressure drop is too big on the diode, causes the voltage that enters on the later USB device of dormancy not enough; Another kind method is that south bridge or ACPI controller (Advanced Program Zoom controller) control a two metal-oxide-semiconductor, to reach the purpose that 5V and 5Vsb switch, the shortcoming of this method is the cost height, and circuit design is complicated, does not generally have the function of voltage compensation.
Summary of the invention
The objective of the invention is shortcoming at above-mentioned prior art, a kind of 5VDUAL is provided the power supply of (two 5V), when entering dormancy, can between 5V and 5VSB, automatically switch, can also under the not enough situation of output voltage, utilize 5VSB voltage that whole output voltage is compensated.
The invention provides a kind of power supply and switch and compensation system, comprising:
Primary power and offset supply, wherein, described primary power is used under normal circumstances switching and the power supply of compensation system output terminal to described power supply, described offset supply is used for that when the power supply of described primary power described power supply switches and the parameter of compensation system output terminal when not reaching first predetermined value, compensates the not enough of described primary power or replaces described primary power power supply;
Two current valves, input end is coupled to described primary power and offset supply respectively, and the output terminal of described two current valves is coupled to described power supply and switches and the compensation system output terminal;
Sampling and threshold values control device are coupled to described power supply and switch and the compensation system output terminal, are used to obtain the parameter of described output terminal;
Control device is used for the parameter according to the described output terminal that obtains, the conducting of controlling described two current valves with close.
Alternatively, described control device comprises: the offset supply switching control, be used for when described primary power electricity shortage, and when the parameter of described primary power does not reach described first predetermined value, open in described two current valves and be coupled to described offset supply.
Preferably, described control device comprises: the primary power switching control, be used for when described primary power is from cut off the power supply to powering, and when the parameter of described primary power reaches second predetermined value, open in described two current valves and be coupled to described primary power.
Alternatively, described offset supply switching control is or/and the primary power switching control comprises device for selection controlling, when this device for selection controlling reaches first or second predetermined value in parameter, and the described current valves of complete opening.
Preferably, described offset supply switching control is or/and the primary power switching control, comprise device for selection controlling, when this device for selection controlling reaches first or second predetermined value in parameter, the degree of opening described current valves is with being the function of described parameter, i.e. variation with described parameter changes.
Alternatively, described parameter is magnitude of voltage or current value.
Preferably, described sampling and threshold values control device are handled voltage or the electric current that samples, so that a compensation of controlling in the described control device is controlled and control switching circuit, when the voltage that samples is higher than first predetermined voltage or electric current, do not compensate, when being lower than first predetermined voltage or electric current, utilize described offset supply compensation, when described primary power is stopped power supply, switch to described offset supply.
Alternatively, described current valves comprises: a benefit pipe, relay, bipolar transistor; Its grid, control end, base stage is controlled by described control device.
The present invention also provides a kind of and realizes that in the supply unit that comprises primary power and offset supply power supply switches and the method for compensation, and wherein, under normal circumstances by described primary power power supply, described method comprises step to described power supply:
Obtain the output valve of described supply unit;
Judge that whether the described output valve of obtaining is greater than predetermined value;
If greater than, close described offset supply;
If be not more than, open the passage of described offset supply to described means of power.
Alternatively, also comprise step: the power supply ratio of determining described primary power and described offset supply according to the output valve of the output valve of the primary power that obtains and offset supply.
Utilize the present invention, realized the reliable and stable and automatic shifting function of power supply when devices such as computing machine use USB.
Description of drawings
The power supply that Fig. 1 shows embodiments of the invention automaticallyes switch and the theory diagram of the device of voltage automatic compensating;
Fig. 2 shows the schematic block circuit diagram as the device of the power supply automatic switchover of the embodiments of the invention of Fig. 1 and voltage automatic compensating;
Fig. 3 is the power supply automatic switchover of embodiments of the invention and the process flow diagram of voltage automatic compensating.
Embodiment
Understand and realization the present invention the existing embodiments of the invention of describing in conjunction with the accompanying drawings for the ease of persons skilled in the art.
The power supply that Fig. 1 shows embodiments of the invention automaticallyes switch and the theory diagram of the device of voltage automatic compensating.In an embodiment of the present invention, the device 100 of power supply automatic switchover and voltage automatic compensating comprises:
Two current valves are used for the size at the control downward modulation economize on electricity stream of control signal;
Voltage sample and threshold values control circuit are handled the voltage that samples, so as control need compensation threshold values;
A compensation is controlled and control switching circuit, when the voltage that samples is higher than setting value, does not compensate, and when the magnitude of voltage that samples was lower than setting value, the passage of opening 5VSB compensated.When entering dormancy, can automatically switch to 5VSB output simultaneously;
A 5V control switching circuit, when when dormant state is waken up, the output that can open 5V automatically.
Wherein, the 5V control switching circuit is coupled to the control end of 5V power supply, with at the computing machine (not shown) when dormant state is waken up, can open the current valves that exporting to of 5V is used for the 5V power supply automatically, so that provide voltage to power supply 5VDUAL.Voltage sample and compensation threshold values control device are according to the voltage of the power supply 5VDUAL of sampling, need to judge whether voltage compensation, when the voltage that samples is higher than setting value, do not compensate, when the magnitude of voltage that samples is lower than setting value, the output control signal is given the 5Vsb current valves, to use 5Vsb offset supply 5VDUAL.
Fig. 2 shows the schematic block circuit diagram as the device of the power supply automatic switchover of the embodiments of the invention of Fig. 1 and voltage automatic compensating.Wherein, comprise first and second metal-oxide-semiconductor Q1 and the Q2, the first metal-oxide-semiconductor Q1 is the NMOS pipe, and in an embodiment of the present invention, its source electrode connects the 5V power supply, conducting when its grid door is input as high level, i.e. source electrode and drain electrode conducting.The grid of NMOS pipe Q1 is connected to the emitter-base bandgap grading of the 5th transistor Q5, the 5th transistor Q5 is the NPN bipolar transistor, its emitter-base bandgap grading is connected to ground by the 4th resistance R 4, collector is connected to 12V power supply on the computer motherboard by the 3rd resistance R 3, base stage is connected to an end of first resistance R 1, the other end of first resistance R 1 is connected to the 5V power supply, and base stage is also connected to an end of second resistance R 2, and the other end of second resistance R 2 is connected to ground.The bleeder circuit that first resistance R 1 and second resistance R 2 constitute is controlled conducting and the cut-out of 5V to 5VDUAL by powering on of 5V and 12V and power down.The selection of first resistance R 1 and second resistance R 2 is satisfied, and after the voltage of 5V reached on certain amplitude, just conducting of the first metal-oxide-semiconductor Q1 was to prevent that 5VSB leaks electricity to 5V when 5V powers on and also do not reach predetermined value.When computing machine enters dormancy, 5V and 12V outage, the Men Duanwei low level of the first metal-oxide-semiconductor Q1, this moment, 5V disconnected from 5VDUAL.After computing machine was waken up, 5V and 12V powered on, and after 5V voltage surpassed certain value, the first metal-oxide-semiconductor Q1 was switched on, and by regulating the ratio of R1 and R2, can be set in 5V voltage and rise to how many times and open the valve of 5V to 5Vdual.
In the present invention, use a PMOS pipe to control 5VSB, the ratio of R7 and R8 (being the controlling of sampling device of last figure) can control compensation threshold values, when 5VDUAL brownout or system enter dormancy, the voltage of 5VDUAL is lower than this threshold values, stabilivolt Q3 makes the 5VSB conducting by the door end of Q4 control Q2, and 5VDUAL is compensated.Generally 5VSB and 5VDUAL separate.
Though described to adopt the embodiment of metal-oxide-semiconductor and bipolar tube among the embodiment, one skilled in the art will appreciate that bipolar transistor, field effect transistor, relays etc. all can be used for realizing the present invention.
Fig. 3 is the power supply automatic switchover of embodiments of the invention and the process flow diagram of voltage automatic compensating.
In the embodiments of the invention, a kind of method that power supply switches and compensates that realizes in the supply unit that comprises primary power and offset supply is disclosed, wherein, described power supply is under normal circumstances by described primary power power supply, under the not enough situation of main power voltage, can open standby power supply automatically and compensate; And when entering dormancy, then turn off primary power fully, and use the standby power supply power supply, the method comprising the steps of:
Obtain the output valve of described primary power device;
Judge that whether the described output valve of obtaining is greater than predetermined value;
If greater than, close the passage of offset supply to described means of power;
If be not more than, open the passage of described offset supply to described means of power.
This method can also comprise step: the power supply ratio of determining described primary power and described offset supply according to the output valve and the output valve of the offset supply that obtains of the primary power that obtains.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (10)

1. a power supply switches and compensation system, comprising:
Primary power and offset supply, wherein, described primary power is used under normal circumstances switching and the power supply of compensation system output terminal to described power supply, described offset supply is used for that when the power supply of described primary power described power supply switches and the parameter of compensation system output terminal when not reaching first predetermined value, compensates the not enough of described primary power or replaces described primary power power supply;
At least two current valves, input end are coupled to described primary power and offset supply respectively, and the output terminal of described two current valves is coupled to described power supply and switches and the compensation system output terminal;
Sampling and threshold values control device are coupled to described power supply and switch and the compensation system output terminal, are used to obtain the parameter of described output terminal;
Control device is used for the parameter according to the described output terminal that obtains, the conducting of controlling described two current valves with close.
2. device as claimed in claim 1, wherein, described control device comprises: the offset supply switching control, be used for when described primary power electricity shortage, when the parameter of described primary power does not reach described first predetermined value, open one that is coupled to described offset supply in described two current valves.
3. device as claimed in claim 1, wherein, described control device comprises: the primary power switching control is used for when described primary power is from cut off the power supply to powering, when the parameter of described primary power reaches second predetermined value, open one that is coupled to described primary power in described two current valves.
4. as claim 2 or 3 described devices, wherein, described offset supply switching control is or/and the primary power switching control comprises device for selection controlling, when this device for selection controlling reaches first or second predetermined value in parameter, the described current valves of complete opening.
5. as claim 2 or 3 described devices, wherein, described offset supply switching control is or/and the primary power switching control, comprise device for selection controlling, when this device for selection controlling reaches first or second predetermined value in parameter, the degree of opening described current valves is with being the function of described parameter, i.e. variation with described parameter changes.
6. as claim 1 or 2 or 3 described devices, wherein, described parameter is magnitude of voltage or current value.
7. device as claimed in claim 6, wherein, described sampling and threshold values control device are handled voltage or the electric current that samples, so that a compensation of controlling in the described control device is controlled and control switching circuit, when the voltage that samples is higher than first predetermined voltage or electric current, do not compensate, when being lower than first predetermined voltage or electric current, utilize described offset supply compensation, when described primary power is stopped power supply, switch to described offset supply.
8. as claim 1 or 2 or 3 described devices, wherein, described current valves comprises: a benefit pipe, relay, bipolar transistor; Its grid, control end, base stage is controlled by described control device.
9. realize that in the supply unit that comprises primary power and offset supply power supply switches and the method for compensation for one kind, wherein, under normal circumstances by described primary power power supply, described method comprises step to described power supply:
Obtain the output valve of described supply unit;
Judge that whether the described output valve of obtaining is greater than predetermined value;
If greater than, close described offset supply;
If be not more than, open the passage of described offset supply to means of power.
10. method as claimed in claim 9 also comprises step: the power supply ratio of determining described primary power and described offset supply according to the output valve of the output valve of the primary power that obtains and offset supply.
CNB2004100395500A 2004-02-09 2004-02-09 Device and method for power supply switchover and compensation Expired - Lifetime CN100367157C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100395500A CN100367157C (en) 2004-02-09 2004-02-09 Device and method for power supply switchover and compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100395500A CN100367157C (en) 2004-02-09 2004-02-09 Device and method for power supply switchover and compensation

Publications (2)

Publication Number Publication Date
CN1655092A true CN1655092A (en) 2005-08-17
CN100367157C CN100367157C (en) 2008-02-06

Family

ID=34892358

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100395500A Expired - Lifetime CN100367157C (en) 2004-02-09 2004-02-09 Device and method for power supply switchover and compensation

Country Status (1)

Country Link
CN (1) CN100367157C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7723870B2 (en) 2007-05-21 2010-05-25 Premier Image Technology(China) Ltd. Power switch system
CN102810883A (en) * 2011-06-03 2012-12-05 鸿富锦精密工业(深圳)有限公司 USB (universal serial bus) charging circuit
CN105262183A (en) * 2015-11-18 2016-01-20 合肥宝龙达光电技术有限公司 Power-saving type USB charging structure
CN105988544A (en) * 2014-11-20 2016-10-05 桦汉科技股份有限公司 Power supply selection circuit, host and combination of computer and external equipment
CN106227318A (en) * 2016-08-23 2016-12-14 浪潮电子信息产业股份有限公司 A kind of Apparatus and system of control circuit conversion

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830339A (en) * 1994-07-15 1996-02-02 Hitachi Ltd Power supplier with voltage fluctuation compensating function
US5987615A (en) * 1997-12-22 1999-11-16 Stmicroelectronics, Inc. Programmable load transient compensator for reducing the transient response time to a load capable of operating at multiple power consumption levels
CN1412635A (en) * 2001-10-14 2003-04-23 王建中 High-effective automatic compensation voltage-stabilizing power supply

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7723870B2 (en) 2007-05-21 2010-05-25 Premier Image Technology(China) Ltd. Power switch system
CN101312303B (en) * 2007-05-21 2010-06-02 佛山普立华科技有限公司 Power source switching apparatus
CN102810883A (en) * 2011-06-03 2012-12-05 鸿富锦精密工业(深圳)有限公司 USB (universal serial bus) charging circuit
CN105988544A (en) * 2014-11-20 2016-10-05 桦汉科技股份有限公司 Power supply selection circuit, host and combination of computer and external equipment
CN105262183A (en) * 2015-11-18 2016-01-20 合肥宝龙达光电技术有限公司 Power-saving type USB charging structure
CN106227318A (en) * 2016-08-23 2016-12-14 浪潮电子信息产业股份有限公司 A kind of Apparatus and system of control circuit conversion

Also Published As

Publication number Publication date
CN100367157C (en) 2008-02-06

Similar Documents

Publication Publication Date Title
CN201000602Y (en) Computer shut-down energy-saving circuit
CN100350350C (en) Electronic device and its control
CN1870095A (en) Panel module and its electric saving method
CN106532902A (en) Mobile terminal dual-battery control device and method
CN1983761A (en) Controller for switching main power supply
CN103580506A (en) Switching power supply and power supply control chip
CN2790003Y (en) APD device work protection circuit
CN110097859A (en) A kind of display panel and display device
CN103138376A (en) Power switching circuit and power switching method thereof
CN1831784A (en) Testing device and method of computer
CN105514944A (en) Power protection circuit and method
CN1655092A (en) Device and method for power supply switchover and compensation
CN1870791A (en) Intelligent electric-saving device and method of mobile phone
CN104022628B (en) A kind of control method of IGBT series average-voltage control system
CN103064497A (en) Power source delayed power supply device, network main board and network host
CN105990900A (en) Redundancy power control circuit and redundancy power supplying system using same
CN201622822U (en) Backlight regulating circuit
CN2904457Y (en) Three state feedback power controlling circuit
CN1717083A (en) Power managing device and method for mobile communication terminal
CN102195271A (en) Device for reducing starting current of electronic equipment
CN105634109A (en) Uninterruptible power supply control method and apparatus
CN1734408A (en) Power-saving wireless mouse
CN2886925Y (en) Device for controlling power supply of optical wave division equipment
CN207926260U (en) A kind of multiple-way supply automatic switch-over circuit and supply unit
CN101409053B (en) Drive device as well as system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20080206