Embodiment
Fig. 1 shows the block diagram of a typical system embodiment.This system comprises a portable electron device 100, and this device has multiple power supply inputs 102 and 104 and comprises 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 multiple 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 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 at least provide system load 110 required maximum instantaneous power.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 low-power USB hub port) of 100mA or the electric current (for high power USB hub port) of 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.Although the example of USB and live wire representative restriction power supply, need to recognize that restriction power supply 104 is not limited only to USB or FireWire port port, it should comprise interface any existence and/or novel and/or that begin to show or power supply.
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 multiple 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 embodiment herein, " circuit " comprises, for example, hard connecting circuit, programmable circuit, state machine circuit and/or storage programmable circuit are carried out the firmware of instruction, and they can single uses or are combined with arbitrarily.Electric power management circuit 106 can comprise dispersive element, maybe can be integrated into an integrated circuit.In embodiment herein, the meaning of " integrated circuit " is a semiconductor device and/or microelectronic device, for example, and a semiconductor integrated circuit chip.In 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), but, need to recognize that the like in Fig. 2 can realize by mode embodiment illustrated in fig. 1, or not depart from the other system implementation of the present embodiment spirit.
Power-supply management system 106 (and/or system 100) also comprises memory (not shown).Memory comprises one or more as the memory of Types Below: 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 later developing, and they can supplement or substitute and use.Machine readable gets firmware instructions and/or operating parameter is stored in memory.As described below, the common access of electric power management circuit 106 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 multiple 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 multiple different power supplys.Electric power management circuit 106 can also select a charging mould to come to rechargeable battery charging from multiple charge modes, and/or from multiple charging stages, selects a charging stage to charge to rechargeable battery.
Electric power management circuit 106 comprises multiple power path 202,204,212, battery charger controller circuit 206 and electric power selection apparatus circuit 208.As described below, the conducted state that electric power selection apparatus 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.In the time that one or more high power supplys 102 can use, power path A202 arrives delivery of electrical energy system load 110 and/or arrives charger path 210 (via node 109).In the time that one or more high power supplys 102 disconnect (can not use), power path A202 disconnects preventing that reverse current from flowing to this high power supply 102.
Equally, in the time that 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 to power supply 104 is stored in the memory of electric power selection apparatus 208.For example, a restrictive condition is that the total current flowing out from restriction power supply 104 is less than default lowest high-current value.Power path B204 also carries out a soft start program to prevent the burst current accident in the time that power supply 104 inserts.When restriction power supply 104 does not exist, access failure, do not allow to use or high power supply 102 while simultaneously existing, power path B204 disconnects avoiding electric current to flow to restriction power supply 104.In power path B204 conduction period; limit the limiting value of power supply 104 or violated other restrictions (or having increased new restriction) if the total current of being taken out by system load 110 and rechargeable battery 108 exceeds, power path B204 disconnects protecting restriction power supply 104 immediately.
If power path B204 disconnects, power path C212 conducting is to continue to the power supply stability on system load 110 power supply keeping system power 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, system load 110 is powered by turn-on power path C212 by battery 108.Electric capacity 220 is used for the Power Integrity of keeping system power line 109 during from a kind of electrical source exchange to another 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 is during to system power supply, power path B204 disconnects, and no current flows through resistance 216.Therefore, the voltage at node 213 and 215 places is roughly equal, and the voltage drop between node 215 and 109 equals to flow out the product of the total current of high power supply 102 and the impedance of resistance 218.When one or more restriction power supplys 104 are during to system power supply, power path A202 disconnects and no current flows through, and therefore the voltage drop between node 215 and 109 equals to flow out the product of the restriction total current of power supply 104 and the total impedance of resistance 218 and 216.In other words, under any circumstance, the voltage drop between node 215 and 109 is directly proportional to 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, and Hall (Hall) transducer, solid state sensor and/or integrated sensor.
Battery can be charged 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, then flows out from node 207.A control signal control at node 209 places that charger path 210 is produced by battery charger controller 206.As described below, control signal comprises periodicity ON/OFF (on/off) signal charging under switching mode for rechargeable battery, and/or an analog signal of charging under linear model for rechargeable battery.Resistance 214 is for detection of the charging current that flows to battery 108.Should be realized that, other current sensing meanss can replace resistance, for example, and Hall (Hall) transducer, solid state sensor and/or integrated sensor and/or think the transducer of the other types that are equal to.
Battery charger controller 206 can be judged the availability of at least one power supply, and by this, at least one available power supply is connected with rechargeable battery 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, and receive battery voltage information by node 107 by node 207 and 107.As the 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 be launched in detail in following part.Battery charger controller circuit can also be transmitted an order and data to electric power selection apparatus circuit 208 by communicating to connect 217.
Electric power selection apparatus circuit 208 can judge which power supply is for powering to system load 110.For example, circuit 208 receives the information of three kinds of power supplys at node 103,105 and 107 places respectively, and receives corresponding current information from the controller circuitry 206 (by connecting 217) of charger.As response, circuit 208 for example produces control signal, to control respectively the conducted state (, conducting or disconnection) of power path A202, B204 and C212 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 votage control switch 304 and the diode 306 between a resistance 302, the node 103 and 313 between node 103 and 313, and the positive pole of this diode is connected with node 313, and negative pole is connected with node 213.Diode 306 can prevent that the reverse current flowing out from system from flowing into high power supply 102, it can be a general semiconductor diode, or one have the Schottky diode (Schottky Diode) of the forward drop of reduction, or there are other any devices of the characteristic feature of a diode.Resistance 302 can provide from node 103 to come to whole system power supply to a weakly conducting path of system through diode 306, and the initial time that the impedance of this resistor can be inserted at high power supply 102 is set a safe current limit for it.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 313 one high resistive path and the low impedance path in conducting state in off-state.
Power path B204 comprises an electric capacity 312 and the diode 314 between a votage control switch 310, the node 205 and 315 between a resistance 308, the node 105 and 315 between node 105 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 that the reverse current flowing out from system from flowing into restriction power supply 104, it can be a general semiconductor diode, or one have the Schottky diode (SchottkyDiode) of the forward drop of reduction, or there are other any devices of the characteristic feature of a diode.Resistance 308 can provide from node 105 to come to whole system power supply to a weakly conducting path of system through diode 314, and the initial time that the impedance of this resistance can be inserted at restriction power supply 104 is set a safe current limit for it.Votage control switch 310 is in parallel with resistance 308, the control signal at its receiving node 205 places, the impedance of the controlled votage control switch processed of this signal self is to limit the instantaneous electric current flowing out from restriction power supply, and from node 105 to node 315 one is provided high resistive path and the low impedance path in complete conducting state in off-state.If desired, electric capacity 312 is for guaranteeing that node 205 place's voltages slowly change when the soft start program, and in the time that power supply is switched to this restriction power supply 104 from battery, electric capacity 312 is for keeping Power Integrity.In some cases, in order to obtain better 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 107, and negative pole is connected with node 109.Diode 316 can be a general semiconductor diode, or one have the Schottky diode (Schottky Diode) of the forward drop of reduction, or has other any devices of the 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 the transition period from battery to restriction power supply, first current limliting be should follow, then (Brake-Before-Make, BBM) or first access accessed, the more above-mentioned switch of current limliting (Make-Before-Brake, MBB) driven by program.In the time that cell voltage is greater than the preset value that starts when conversion, should uses first current limliting, then access (BBM) program; Switch 318 should disconnect immediately, and switch 310 should be before complete conducting be slowly driven to limit the electric current of switch of flowing through, and can prevent that so the abnormal charging current from flowing into battery 108; Battery 108 is powered and is born until limit power supply the task of powering to the load to system load 110 through conducting diode 316.If cell voltage, lower than limiting value, uses or first access, then current limliting (MBB) program; Switch 318 keeps conducting state, until restriction power supply connects completely by actuating switch 310, can guarantee like this system power supply integrality.In this case, a Limited Current will flow into battery, the still maximum limit far below it because of cell voltage, and the integrality of charging has obtained maintaining.
Charger path 210, for being transferred to node 207 from the charging current of system power supply line 109, then flows into battery 108 by resistance 214.In at least one embodiment, charger circuit 206 is selected at least one charge mode from multiple charge modes, for charging to rechargeable battery 108.In a typical embodiment, charger circuit can selector switch pattern or linear model.Therefore,, according to the different working modes of charger circuit 206, 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 for the asynchronous step-down controller type of switching mode, and 210B comprises that a charger for the synchronous buck converter type of switching mode and 210C comprise a charger 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 node 403.A diode 404 is connected between node 403 and ground, this diode cathode ground connection.An inductance 406 is connected between node 403 and node 207, and an electric capacity 408 is connected between node 207 and ground.At work, controller 206, by the periodic conducting of control signal control switch 402 and the disconnection at node 209 places, therefore forms the switched-mode power supply of powering to one or more rechargeable batteries 108.
In synchronous buck type 210B, a switch 412 of being controlled by node 209A is connected between node 109 and node 413.The switch 414 that another is controlled by node 209B is connected between node 412 and ground.An inductance 416 is connected between node 413 and node 207, and an electric capacity 418 is connected between node 207 and ground.During battery 108 charges normal, control switch 412 and 414 makes its not conducting simultaneously.For this reason, in the present embodiment, battery charger controller 206, by the periodic conducting of control signal control switch 402 and the disconnection (on/off) at node 209 places, therefore forms the switched-mode power supply of powering to one or more rechargeable batteries 108.Battery charger controller 206 can produce the control signal that makes switch 412 and 414 conducting 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 node 207.A control signal control at node 209 places that the impedance of this variable resistance 422 is produced by the controller circuitry of charger.An electric capacity 428 is connected between node 207 and ground, but this electric capacity 428 also can be omitted in this embodiment.At work, by the impedance of regulating resistor 422, can control the charged electrical flow that is transferred to battery 108, so that flow in the situation that the electric current of system load 110 obtains maintaining, 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, and mos field effect transistor (metal-oxide semiconductor field effect transistor IGBT),, 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 504 by the control signal control at node 503 places can be series between system power supply line 109 and node 207.This controller circuitry also comprises that a comparator 512 is used for 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 signal 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 controller circuitry 206 of the charging current process charger flowing out from system power supply line 109, to node 207, then flows directly into battery 108 by resistance 214.At this awakening phase, charging current (transmitting through charging path 210) is determined by the impedance 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 node 109 reaches a preset value, this voltage difference is directly proportional to input current, and OTA506 can produce an electric current discharges node 515.Otherwise the internal discharge current source in OTA506 is disabled.The signal at node 217 places is directly proportional to input current, and it is sent to electric power selection apparatus 208.If the voltage difference between node 207 and node 107 reaches a preset value, this voltage difference is directly proportional to charging current, and OTA508 can produce an electric current discharges node 515.Otherwise the internal discharge current source in 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 discharges node 515.Otherwise the internal discharge current source in OTA510 is disabled.
Saw tooth oscillator circuit 518 and pulse-generator circuit 520 are for producing a pulse signal at node 521 places, and for switching mode charging, this pulse signal has a selected duty ratio.This duty ratio is determined by the comparative result of the voltage at node 515 places and the serrated signal at node 519 places.The voltage at node 515 places is higher, and duty ratio is larger.At this, duty ratio refers to the ratio of the ON time of switch 402 or 412 and total time of one-period.When the voltage at node 515 places is less than a predeterminated voltage V
lIM1time, the duty ratio of node 521 places output pulse is about zero, and therefore charging current is about zero.
Control signal generator circuit 522 for producing an analog signal at node 523 places under linear model charge condition.The analog signal at node 523 places determines by the magnitude of voltage at node 515 places, and this signal can be used for adjusting the impedance of variable resistance 422 and then adjusts charging current.When the voltage at node 515 places is less than a predeterminated voltage V
lIM2time, the output signal of node 523 is made as a very large value the impedance of variable resistance 422, and therefore charging current is about zero.
When charger is during in awakening phase, the voltage at node 515 places is released to ground.If need to charge the battery in a constant current or constant-voltage phase, according to the restriction charging interval of node capacitor 516, the voltage at 515 places need to be from zero charging rising gradually.Charging current remains near zero until the voltage at node 515 places is greater than V
lIM1or V
lIM2, charging current is slowly increased to target voltage values (even if 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 protection battery avoids damaging.
Resistor 514 and electric capacity 516 are for keeping the stability of feedback loop, and switching mode may be different with capacitive reactance with the impedance under 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 larger electric current, and total input current reached its preset value, and OTA506 can cause the voltage drop at node 515 places, and therefore charging current is adjusted to its maximum permissible value automatically.In the time that cell voltage reaches target voltage, can adopt one " constant-voltage phase " to complete charging.During constant-voltage phase, in order to prevent the overvoltage of battery, OTA510 can make the voltage drop at node 515 places.Charging current is adjusted to its maximum permissible value automatically to keep cell voltage to be stabilized in its target voltage values.
Switch 524 can be connected suitable signal with node 209, be used for controlling charger path 210.For example, for switching mode charging, the signal at node 521 places can be connected with node 209, but for 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 an Existing 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, and the output of node 617 can be controlled in this unit.
The cell voltage at comparator 622 comparison node 107 places and a preset value V
rEF2and provide the index signal at node 623 places.The restriction power supply 104 at Existing detector 614 detection node 105 places also provides the instruction at node 615 places to limit the signal of power supply 104 existence.A signal being directly proportional to input current and a preset value V at comparator 610 comparison node 217 places
rEF3, be used for producing the signal that can indicate input current whether to exceed a preset limit value at node 627 places.
According to the high power supply 102 existence signals at the restriction power supply 104 existence signals at the input current state at node 627 places, node 615 places and node 203 places, logic power 616 drives node 617.If high power supply 102 does not exist, there is and not violate any restrictive condition about power supply 104 in restriction power supply 104, and logical block 616 provides the signal that an instruction restriction power supply 104 can be used at node 617 places.Actuable switch 606 and 612 departs from synchronous regime like this.Switch 606 and 612 makes the rapid slope of node 205 rise to high level, or declines with a controlled slope, and therefore path B204 changes the conducted state of a steady conducting into from a conducted state disconnecting fast.This signal (node 617) is also sent to timer 618, and this timer is that path B has set a change-over time.Because the default conditions of switch 604 are conducting, the initial time inserting at restriction power supply 104, its input current is limited in a value that is less than the maximum rating of power supply 104 by resistance 308.Amplifier OTA602 and current source 608 drive the voltage of node 205 that the equivalent resistance of path B204 is slowly reduced, and wherein this Nodes signal is the driving signal of restriction power path B204.The electric current of exporting from restriction power supply 104 starts to increase, and correspondingly the output of index signal 217 also starts to increase.When input current reaches one by V
rEF3the limiting value setting, OTA602 injects node 205 more electric current, also therefore Limited Current of the equiva lent impedance that is used for stablizing path 204.After a defined time cycle of timer 618 finishes (enough making system stability), the signal at node 619 places disconnects switch 604, the discharging current of the current source 608 the most at last voltage at node 205 places is pulled down to ground, makes the complete conducting of switch 310.
Logic module 620 is used for controlling the conducted state of power path C212 in node 211 places' control signals of generation.For guaranteeing the Power Integrity in the time switching between different electrical power input, the signal at node 211 places makes switch 318 conductings, if so that the high power supply that node 203 and 615 place's signals are indicated respectively 102 and restriction power supply 104 be not while existing, battery is ready to power for system load 110.
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, has a limited charging current to flow into battery through actuating switch 318.Because cell voltage is less than V
rEF2and V
rEF2be less 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 203 place's signals does not exist, the indicated restriction power supply 104 of node 615 place's signals exists, an overcurrent accident generation about restriction power supply 104 of node 627 place's signal designations, electric power selection apparatus 208 is worked as follows: if be greater than V at the soft start state cell voltage of restriction power supply 104
rEF2, switch 318 is disconnected avoiding an abnormal electric current that overcharges immediately by the signal at node 211 places.Meanwhile, system load can be powered by forward conduction diode by battery.
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 multiple different electrical power, and at least one spendable power supply is connected with a load 702.Operation also comprises selects at least one charge mode from multiple charge mode, for charging to a rechargeable battery 704.
Term used herein and wording are the terms of disclosure, but there is no limitation.In the time adopting these terms and wording, do not get rid of other equivalent similar to the feature that discloses and describe (or part of feature) here.And being appreciated that within the scope of claim, also may there is some other amendment, change and other in the present invention.Therefore, claim is intended to contain all these equivalents.