Embodiment
Fig. 1 shows the block diagram of an exemplary systems embodiment.This system comprises a portable electron device 100, and this device has a plurality of power supplys input 102 and 104 and comprise electric power management circuit 106.This portable electron device 100 comprises, for example, and notebook computer, mobile phone, digital camera, Digital Video and/or other electronic installations.Device 100 uses and/or controls a plurality of different power supplys, for example one or more high power supplys 102 and/or one or more restriction power supply 104.
System 100 also comprises one or more chargeable and/or not rechargeable battery 108, system loads 110 and can manage the electric power management circuit 106 of the power supply between one or more power supplys, one or more battery and the system load.Herein, " high power supply " is defined as a kind of power supply that an instantaneous power can be provided to a load.For example, one or more high power supplys 102 can provide system load 110 required maximum instantaneous power at least.An object lesson of high power supply comprises interchange (AC) adapter or an automobile adapter.Herein, " restriction power supply " is defined as a kind of power supply that a power-limiting can be provided to a load.For example, one or more restriction power supplys 104 can provide power-limiting to a load.Other typical restrictions comprise and system between soft Handshake Protocol, strict mistakes flow restriction and/or sequential limit.An object lesson of restriction power supply comprises the power line of USB (USB) port, and it can provide the electric current (for high power USB hub port) of the electric current (for low-power USB hub port) of 100mA or 500mA and need a Preliminary Communications between power supply itself and system so that state to be set.Another object lesson of restriction power supply comprises " live wire " interface.Though the example of USB and live wire representative restriction power supply need recognize that restriction power supply 104 is not limited only to USB or FireWire port port, it should comprise interface or power supply any existence and/or novel and/or that begin to show.
Battery 108 comprises any battery, for example, comprises NI-G, nickel metallic hydrogen, lithium ion and lighium polymer rechargeable battery.These batteries can be a monocell or a plurality of monocell.System load 110 comprises the active electronic circuit of a current sinking.System load 110 comprises one or more dispersive elements, chip and/or electronic system.In some applications, it can also be partly or entirely mutually integrated with electric power management circuit 106.
Fig. 2 shows an exemplary block diagram of electric power management circuit 106.In the embodiment of this paper, " circuit " comprise, for example, the firmware of hard connecting circuit, programmable circuit, state machine circuit and/or storage programmable circuit execution command, they can single uses or are used in combination arbitrarily.Electric power management circuit 106 can comprise dispersive element, maybe can be integrated into an integrated circuit.In the embodiment of this zhang, the meaning of " integrated circuit " is a semiconductor device and/or microelectronic device, for example, and a semiconductor integrated circuit chip.Among Fig. 2, for for purpose of brevity, some part that is shown in the system 100 of Fig. 1 has been omitted (for many power supplys and battery), still, need recognize that the like among Fig. 2 can realize by mode embodiment illustrated in fig. 1, or not depart from the other system implementation of present embodiment spirit.
Power-supply management system 106 (and/or system 100) also comprises the memory (not shown).Memory comprises the memory of one or more following types: semiconductor firmware memory, programmable storage, nonvolatile memory, read-only memory, electronic programmable memory, random access memory, flash memory, magnetic disc store and/or disk storage.Memory comprises other and/or the computer-readable access to memory of developing later on, and they can replenish or substitute and use.Machine readable gets firmware instructions and/or operating parameter is stored in memory.As described below, electric power management circuit 106 common accesses and these instructions of execution and/or operating parameter are to carry out operation as herein described.
Briefly say, power-supply management system circuit 106 can, at least in part, from a plurality of different power supplys, select at least one power supply and this at least one selected power supply be connected with a load.Electric power management circuit 106 can also utilize at least one spendable power supply at least one rechargeable battery charging.In embodiment described herein, electric power management circuit 106 can also be selected at least one power supply and at least one spendable power supply is connected with at least one rechargeable battery with a load from a plurality of different power supplys.Electric power management circuit 106 can also select a charging mould to come to the rechargeable battery charging from a plurality of charge modes, and/or selects a charging stage to charge to rechargeable battery from a plurality of charging stages.
Electric power management circuit 106 comprises a plurality of power path 202,204,212, battery charger controller circuit 206 and power supply selector circuits 208.As described below, the conducted state that power supply selector circuit 208 can be controlled one or more power paths 202,204 and/or 212 is with to load 110 electric energy transmittings, to one or more rechargeable battery electric energy transmittings, or simultaneously to both electric energy transmittings.When one or more high power supplys 102 can use, power path A202 arrived electric energy transmitting system load 110 and/or arrives charger path 210 (via node 109).When one or more high power supplys 102 disconnected (can not use), power path A202 disconnected to prevent that reverse current from flowing to this high power supply 102.
Equally, when one or more restriction power supplys 104 exist, power path B204 via node 109 to system load 110 and charger path 210 electric energy transmittings.The restrictive condition relevant with power supply 104 is stored in the memory of power supply selector 208.For example, a restrictive condition is less than default lowest high-current value for the total current that flows out from restriction power supply 104.Power path B204 also carries out a soft start program to prevent the burst current accident when power supply 104 inserts.When restriction power supply 104 does not exist, access failure, do not allow to use or high power supply 102 when existing simultaneously, power path B204 disconnects to avoid electric current to flow to restriction power supply 104.In power path B204 conduction period; if the total current of being taken out by system load 110 and rechargeable battery 108 exceeds the limiting value that limits power supply 104 or violated other restrictions (or having increased new restriction), power path B204 disconnects immediately with protection restriction power supply 104.
If power path B204 disconnects, power path C212 conducting is to continue the power supply stability on system load 110 power supplies and maintenance system power supply line 109.If high power supply 102 and restriction power supply 104 do not exist, or high power supply 102 does not exist and power path B204 disconnects for a certain reason, then system load 110 is powered by turn-on power path C212 by battery 108.Electric capacity 220 is used for keeping the power supply integrality of system power supply line 109 during switching to another kind of power supply from a kind of power supply.
Resistance 218 and 216 is used for detecting the electric current of high power supply 102 or restriction power supply 104.When high power supply 102 when system powers, power path B204 disconnects, no current flows through resistance 216.Therefore, the voltage at node 213 and 215 places about equally, node 215 and 109 s' voltage drop equals to flow out the product of the impedance of the total current of high power supply 102 and resistance 218.When one or more restriction power supplys 104 when system powers, power path A202 disconnects and no current flows through, so node 215 and 109 s' voltage drop equals to flow out the product of the total impedance of the total current of restriction power supply 104 and resistance 218 and 216.In other words, under any circumstance, node 215 and 109 s' voltage drop is directly proportional with the corresponding input current of high power supply 102 or restriction power supply 104.Should be realized that other current sensing meanss can replace resistance to be used for corresponding power path, for example, Hall (Hall) transducer, solid state sensor and/or integrated sensor.
Battery can obtain charging from one or more high power supplys 102 and/or one or more restriction power supply by charger path 210.Charging current flows to charger path 210 from node 109, flows out from node 207 then.Charger path 210 is controlled by a control signal at node 209 places that battery charger controller 206 produces.As described below, control signal comprises that is used for periodicity conducting/disconnection (on/off) signal that rechargeable battery charges under switching mode, and/or one is used for the analog signal that rechargeable battery charges under linear model.Resistance 214 is used to detect the charging current that flows to battery 108.Should be realized that other current sensing meanss can replace resistance, for example, the transducer of the other types that Hall (Hall) transducer, solid state sensor and/or integrated sensor and/or think is equal to.
Battery charger controller 206 can be judged the availability of at least one power supply, and at least one available power supply links to each other with rechargeable battery with this at least in part.For this reason, battery charger controller circuit 206 can receive input current information by node 215 and 109, receives charging current information by node 207 and 107, and receives battery voltage information by node 107.As response to these one or more inputs, battery charger controller circuit 206 can produce charging control signal (node 209 places), this control signal makes rechargeable battery be connected with at least one power available, and its connected mode will launched in detail with the lower part.The battery charger controller circuit can also be transmitted an order and data to power supply selector circuit 208 by communicating to connect 217.
Power supply selector circuit 208 can judge which power supply is used for to system load 110 power supplies.For example, circuit 208 receives the information of three kinds of power supplys respectively at node 103,105 and 107 places, and receives corresponding current information from the controller circuitry 206 (by connecting 217) of charger.In response, circuit 208 produces the conducted state (for example, conducting or disconnection) of control signal to control power path A202, B204 and C212 respectively at node 203,205 and 211 places.
According to the present invention, Fig. 3 shows the circuit diagram of the embodiment of one group of three kinds of power path.Power path A202 comprises a resistance 302 between node 103 and 303, a votage control switch 304 and the diode 306 between the node 103 and 303, and the positive pole of this diode is connected with node 313, and negative pole is connected with node 213.Diode 306 can prevent to flow into high power supply 102 from the reverse current that system flows out, it can be a general semiconductor diode, or a Schottky diode (Schottky Diode), or other any devices with characteristic feature of a diode with forward drop of reduction.Resistance 302 can provide from node 103 to come to the whole system power supply to a weakly conducting path of system through diode 306, and the impedance of this resistor can be set a safe current limit for it at the initial time that high power supply 102 inserts.Votage control switch 304 is in parallel with resistance 302, and the control signal at its receiving node 203 places provides from node 103 to node a high resistive path and low impedance path that is in conducting state that is in off-state of 310.
Power path B204 comprises an electric capacity 312 and the diode 314 between a resistance 308 between node 105 and 315, a votage control switch 310 between the node 105 and 315, the node 205 and 315, the positive pole of this diode is connected with node 315, and negative pole is connected with node 215.Diode 314 can prevent to flow into restriction power supply 104 from the reverse current that system flows out, it can be a general semiconductor diode, or a Schottky diode (SchottkyDiode), or other any devices with characteristic feature of a diode with forward drop of reduction.Resistance 308 can provide from node 105 to come to the whole system power supply to a weakly conducting path of system through diode 314, and the impedance of this resistance can be set a safe current limit for it at the initial time that restriction power supply 104 inserts.Votage control switch 310 is in parallel with resistance 308, the control signal at its receiving node 205 places, the impedance of this signal may command votage control switch self is so that limit the instantaneous electric current that flows out from the restriction power supply, and a high resistive path and low impedance path that is in complete conducting state that is in off-state of 315 is provided from node 105 to node.If need, electric capacity 312 is used to guarantee that node 205 place's voltages slowly change when the soft start program, and when power supply when battery switches to this restriction power supply 104, electric capacity 312 is used to keep the power supply integrality.In some cases, in order to obtain more performance, can between node 105 and 205, add an electric capacity.
Power path C212 comprises a votage control switch 318 and the diode 316 between node 109 and 107, and the positive pole of this diode is connected with node 109, and negative pole is connected with node 107.Diode 316 can be a general semiconductor diode, or the Schottky diode (Schottky Diode) with forward drop of reduction, or other any devices with characteristic feature of a diode.If high power supply 104 and restriction power supply 104 are all unavailable, switch 318 conductings, battery 108 is powered to system load 110 by switch 318.In transition period from battery to the restriction power supply, should follow first current limliting, (Brake-Before-Make BBM) or earlier inserts, current limliting (Make-Before-Brake, MBB) the above-mentioned switch of driven by program again in access again.When the preset value of cell voltage when starting conversion, should use first current limliting, insert (BBM) program again; Switch 318 should disconnect immediately, and switch 310 should slowly driven the electric current that limits the switch of flowing through before the conducting fully, can prevent that so the unusual charging current from flowing into battery 108; Battery 108 is born power to the load task to system load 110 power supplies up to the restriction power supply through conducting diode 316.If cell voltage is lower than limiting value, uses or insert earlier, again current limliting (MBB) program; Switch 318 keeps conducting state, connects fully by actuating switch 310 up to the restriction power supply, can guarantee the system power supply integrality like this.In this case, a restriction electric current will flow into battery, but because of the maximum limit of cell voltage far below it, the integrality of charging has obtained keeping.
Charger path 210 is used for the charging current from system power supply line 109 is transferred to node 207, flows into battery 108 by resistance 104 then.In at least one embodiment, charger circuit 206 is selected at least a charge mode from a plurality of charge modes, is used for to rechargeable battery 108 chargings.In a typical embodiment, charger circuit can selector switch pattern or linear model.Therefore, according to the different working modes of charger circuit 208, charger path 210 comprises different circuit.Fig. 4 shows the circuit diagram of the exemplary embodiments of charger path 210, wherein 210A comprises a charger that is used for the asynchronous step-down controller type of switching mode, and 210B comprises that a charger and a 210C who is used for the synchronous buck converter type of switching mode comprises a charger that is used for the variable resistance type of linear model.
In asynchronous buck converter 210A, a switch 402 of being controlled by node 209 is connected between node 109 and the node 403.A diode 404 is connected between node 403 and the ground, this diode cathode ground connection.An inductance 406 is connected between node 403 and the node 207, and an electric capacity 408 is connected between node 207 and the ground.At work, therefore controller 206 forms to one or more rechargeable battery 108 powered switch mode powers by the control signal control switch 402 periodic conducting and the disconnections at node 209 places.
In synchronous buck type 210B, a switch 412 of being controlled by node 209A is connected between node 109 and the node 413.Another switch 414 by node 209B control is connected between node 412 and the ground.An inductance 416 is connected between node 413 and the node 207, and an electric capacity 418 is connected between node 207 and the ground.During battery 108 charged normal, control switch 412 and 414 made its not conducting simultaneously.For this reason, in the present embodiment, therefore battery charger controller 206 forms to one or more rechargeable battery 108 powered switch mode powers by the control signal control switch 402 periodic conducting and the disconnections (on/off) at node 209 places.Battery charger controller 206 can produce the control signal that makes switch 412 and 414 conductings simultaneously at node 209A and 209B place.
For the variable resistor type charging path 210C of linear model, a variable resistance is connected between node 109 and the node 207.The impedance of this variable resistance 422 is by a control signal control at node 209 places of the controller circuitry generation of charger.An electric capacity 428 is connected between node 207 and the ground, but this electric capacity 428 also can be omitted in this embodiment.At work, by the impedance of regulating resistor 422, may command is transferred to the charging current amount of battery 108, so that flow under the situation that the electric current of system load 110 obtains keeping, this battery is charged.
Variable resistance and any switch described herein comprise the device of equal type, for example bipolar junction transistor (Bipolar Junction Transistor, BJT), igbt (InsulatedGate Bipolar Transistor, IGBT) and mos field effect transistor (metal-oxide semiconductor field effect transistor, or other any controlled devices MOSFET).
Fig. 5 shows the circuit diagram of an embodiment of battery charger controller circuit 206.A switch 502 and a resistor 304 of being controlled by a control signal at node 503 places can be series between system power supply line 109 and the node 207.This controller circuitry comprises that also a comparator 512 is used for the cell voltage and a reference voltage V at comparison node 107 places
REF1, and this comparator produces the control signal at node 503 places.If cell voltage is less than a default minimum voltage, the control signal at node 503 places makes switch 502 closures.This control signal also can be used for making pulse-generator circuit 520 and control-signals generator circuit 522 to disconnect, and makes the voltage at node 515 places be pulled down to ground by Closing Switch 528.
Refer again to Fig. 2, one " awakening phase " comprises following situation, and the charging current that flows out from system power supply line 109 to node 207, flows directly into battery 108 by resistance 214 through the controller circuitry 206 of charger then.At this awakening phase, charging current (through 210 transmission of charging path) is by the impedance decision of resistance 504 (Fig. 5).
Refer again to Fig. 5, in constant-current phase or constant-voltage phase, switch 502 and 528 disconnects.Node 515 obtains a constant electric current from power supply 526, and OTA (operation transconductance amplifier) circuit 506,508 and/or 510 is from same node absorption current simultaneously.If the voltage difference between node 215 and the node 109 reaches a preset value, this voltage difference is directly proportional with input current, and OTA506 can produce an electric current and make node 515 discharges.Otherwise the internal discharge current source in the OTA506 is disabled.The signal at node 217 places is directly proportional with input current, and it is sent to power supply selector 208.If the voltage difference between node 207 and the node 107 reaches a preset value, this voltage difference is directly proportional with charging current, and OTA508 can produce an electric current and make node 515 discharges.Otherwise the internal discharge current source in the OTA508 is disabled.If the voltage of node 107 reaches a preset value, this voltage can be a function of cell voltage or cell voltage, and OTA510 can produce an electric current and make node 515 discharges.Otherwise the internal discharge current source in the OTA510 is disabled.
Saw tooth oscillator circuit 518 and pulse-generator circuit 520 are used at pulse signal of node 521 places generation, and for the switching mode charging, this pulse signal has a selected duty ratio.This duty ratio is by the comparative result decision of the serrated signal at the voltage at node 515 places and node 519 places.The voltage at node 515 places is high more, and duty ratio is big more.At this, duty ratio refers to the ratio of the time that the ON time of switch 402 or 412 and one-period are total.When the voltage at node 515 places less than a predeterminated voltage V
LIM1The time, node 521 places output duty of ratio is about zero, so charging current is about zero.
Control-signals generator circuit 522 is used under the linear model charge condition in analog signal of node 523 places generation.The analog signal at node 523 places is by the magnitude of voltage decision at node 515 places, and this signal can be used for adjusting the impedance of variable resistance 422 and adjusts charging current then.When the voltage at node 515 places less than a predeterminated voltage V
LIM2The time, the output signal of node 521 is made as a very large value to the impedance of variable resistance 422, so charging current is about zero.
When charger was in awakening phase, the voltage at node 515 places was released to ground.Charge the battery in a constant current or constant-voltage phase if desired, according to the qualification charging interval of node capacitor 516, the voltage at 515 places need be from zero charging rising gradually.Charging current remains near zero voltage up to node 515 places greater than V
LIM1Or V
LIM2, charging current slowly increases to target voltage values (even the voltage at node 515 places is greater than V
LIM1Or V
LIM2, like this too).This soft start charging procedure can prevent that burst current from flowing into battery, and the protection battery avoids damaging.
Resistor 514 and electric capacity 516 are used to keep the stability of feedback loop, and switching mode may be different with capacitive reactance with the impedance under the linear model.
One " constant current charge stage " comprises following situation: when charging current reaches the voltage at preset maximum value and OTA508 decision node 515 places and makes it stable.If system load needs bigger electric current, and total input current reached its preset value, and OTA506 can cause the voltage at node 515 places to descend, so charging current is adjusted to its maximum permissible value automatically.When cell voltage reaches target voltage, can adopt one " constant-voltage phase " to finish charging.During constant-voltage phase, in order to prevent the overvoltage of battery, OTA510 can make the voltage at node 515 places descend.Charging current is adjusted to its maximum permissible value automatically and is stabilized in its target voltage values to keep cell voltage.
Switch 524 can be connected appropriate signal with node 209, be used for controlling charger path 210.For example, for the switching mode charging, the signal at node 521 places can be connected with node 209, but for the linear model charging, the signal at node 523 places can be connected with node 209.
Fig. 6 shows the circuit diagram of an embodiment of electric source modes selector circuit 208.Selector 208 comprises that exists a detector 624, one or more signals that it can receiving node 103 places sends from high power supply 102, and can judge whether a high power supply 102 exists and/or whether have a desired characteristic.If high power supply 102 exists, the signal of node 203 makes power path A202 conducting.The signal of node 203 is connected with logic module 620, and this logic module can receive the information (for example 104) of other power supplys, and according to this information, module 620 produces the signal of a controllable power path C212 conducted state.An existence index signal at node 203 places can make the signal blocker power path C212 at node 211 places.The signal at node 203 places also can be connected with logical block 616, the output of this unit may command node 617.
The cell voltage and a preset value V at comparator 622 comparison node 107 places
REF2And provide the index signal at node 623 places.There is the restriction power supply 104 at detector 614 detection node 105 places and the signal of indication restriction power supply 104 existence at node 615 places is provided.A signal that is directly proportional with input current and a preset value V at comparator 610 comparison node 217 places
REF3, be used for producing the signal that to indicate input current whether to exceed a preset limit value at node 627 places.
According to the input current state at node 627 places, the restriction power supply 104 existence signals at node 615 places and the high power supply 102 existence signals at node 203 places, logic power 616 drive node 617.If high power supply 102 does not exist, restriction power supply 104 exists and does not violate any restrictive condition about power supply 104, and then logical block 616 provides the signal that an indication restriction power supply 104 can be used at node 617 places. Actuable switch 606 and 612 breaks away from synchronous regime like this. Switch 606 and 612 makes node 205 rapid slopes rise to high level, perhaps descend with a controlled slope, so path B204 changes the conducted state of a steady conducting into from a conducted state that disconnects fast.This signal (node 617) also is sent to timer 618, and this timer has been set a change-over time for path B.Because the default conditions of switch 604 are conducting, in the initial moment that restriction power supply 104 inserts, its input current is limited in a value less than the maximum rating of power supply 104 by resistance 308.The voltage of amplifier OTA602 and current source 608 drive node 205 slowly reduces the equivalent resistance of path B204, and wherein this node place signal is the drive signal of restriction power path B204.Begin to increase from the electric current of restriction power supply 104 outputs, correspondingly the output of index signal 217 also begins to increase.When input current reaches one by V
REF1The limiting value that sets, OTA602 injects node 205 more electric currents, is used for stablizing the equiva lent impedance of path 204 and therefore limits electric current.Finish back (enough making system stability) when the defined time cycles of timer 618, the signal at node 619 places makes switch 604 disconnections, and the discharging current of current source 608 voltage at node 205 places the most at last is pulled down to ground, makes switch 310 complete conductings.
Logic module 602 produces the conducted state that a control signal is used for controlling power path C212 at node 211 places.For guaranteeing the power supply integrality when switching between the different electrical power input, the signal at node 211 places makes switch 318 conductings, if so that high power supply that node 203 and 615 place's signals are indicated respectively 102 and restriction power supply 104 be not when existing, it is system load 110 power supplies that battery is ready to.
If the indicated high power supply 102 of node 203 place's signals does not exist, the indicated restriction power supply 104 of node 615 place's signals exists, and the cell voltage at node 107 places is less than the indicated threshold voltage V of node 623 place's signals
REF2, and it is in as the indicated soft start program of node 619 place's signals, in this case, then has a limited charging current to flow into batteries through actuating switch 318.Because cell voltage is less than V
REF2And V
REF2Less than the maximum voltage of battery, this charging current is in the safety limit accepted of battery.
If the indicated high power supply 102 of node 213 place's signals does not exist, the indicated restriction power supply 104 of node 615 place's signals exists, then power supply selector 208 following work take place in an overcurrent accident about restriction power supply 104 of node 627 places signals indication: if at the soft start state cell voltage of restriction power supply 104 greater than V
REF2, switch 318 is disconnected to avoid a unusual electric current that overcharges immediately by the signal at node 211 places.Simultaneously, system load can be by battery by the power supply of forward conduction diode.
Fig. 7 shows a flow chart of typicalness operation, can carry out these operations according to an embodiment.Operation comprises selects at least one power supply from a plurality of different electrical power, at least one spendable power supply is connected with a load 702.Operation also comprises selects at least a charge mode from multiple charge mode, be used for to 704 chargings of a rechargeable battery.
Term of Shi Yonging and wording are the terms of disclosure herein, but do not have limitation.When adopting these terms and wording, do not get rid of other and the similar equivalent of the feature that discloses and describe (or part of feature) here.And be appreciated that in the claim scope the present invention also may exist some other modification, change and other.Therefore, claim is intended to contain all these equivalents.