Embodiment
Figure 1 shows that the simplified block diagram of an electronic installation 104 and a DC power supply 102.Electronic installation 104 can be a kind of mancarried device, for example, and notebook computer, mobile phone, beeper, personal digital assistant etc.Usually, electronic installation 104 comprises a supply module 106, a battery system 116 and a circuit system 110.Usually, supply module 106 can comprise in all cases and monitors, controls and command various parts from each power supply (DC power supply 102, battery system 116) to the power of the system 110 of other power supply and electronic installation 104.A kind of parts of supply module 106 comprise DC-DC converter system 120, if exist a DC power supply 102 and a battery 118 with proper characteristics to need charging, then this DC-DC converter system 120 can provide a charging current to battery 118.
In order to charge the battery and/or to give electronic installation 104 power supplies, a DC power supply 102 is linked to each other with electronic installation 104.The AC/DC adapter of VD can be pressed and be converted into to DC power supply 102 for the standard electric alternating current of a receiver socket.DC power supply 102 can also be the DC/DC adapter that can insert the type socket, for example " igniter " type adapter.Power supply 102 separates with electronic installation 104 as shown in Figure 1, but it can be integrated in some devices.
Battery system 116 comprises a rechargeable battery 118 and an internal isolating switch SW1.To isolate when switch SW 1 disconnects rechargeable battery 118 and supply module 106, any other with electronic unit that battery system 116 links to each other between electric power.Rechargeable battery 118 can be batteries such as lithium, nickel-cadmium, nickel-hydrogen etc.Though specific embodiment described herein skilled in the art will recognize that the battery that can adopt arbitrary number with reference to a battery 118.Usually, internal isolating switch SW1 closure, but all can disconnect in all cases.For example, this switch SW 1 can be owing to self-calibrating disconnects, thereby battery can be monitored the voltage level of its monocell (no current is flowed through).This switch SW 1 also disconnects owing to protect (for example, when the instantaneous power that is transferred to battery exceeds the maximum allowable power of battery).Switch SW 1 can be by a cell switch controller 121 that is integrated in battery system 116 or from any other on-off controller control.
Advantageously, as describing in detail at this, the on off state of the 120 responding to switch SW1 of DC-DC converter system so, disconnects under battery charging mode according to user as if switch SW 1, and then DC-DC converter will reduce its output voltage to one predetermined output voltage level.This predetermined output voltage is set in the preset range of a minimum cell voltage level, thereby obtains the maximum difference of the voltage level of an expectation.By controlling the difference of this voltage level, can control surge current.So, when switch SW 1 was closed once more, the surge current that flows into battery 118 can remain on an enough low level.In addition, also can be equal to or less than a minimum cell voltage and eliminate surge current by this predetermined output voltage level of regulating DC-DC converter 120.Provide the on-off controller 121 of control signal can also provide a control signal for switch SW 1 to DC-DC converter system 120.In addition, the DC-DC controller of DC-DC converter system 120 part can be equipped with the state that the on off state testing circuit comes sense switch SW1, with as described below.
Figure 2 shows that the block diagram more specifically of an embodiment of a DC-DC controller 222, these DC-DC controller 222 controls are offered the surge current of the battery 218 of battery system 216 by DC-DC converter 220.Under the charge mode, switch SW 4 closures provide one from DC-DC converter 220 to battery system 216 charging guiding path.Thereby other switch (not shown) also can closed make DC power supply power to system.In this embodiment, DC-DC controller 222 comprises an internal switch SW1 state of switch state detection circuit 230 that detects battery system 216.
DC-DC converter 220 can be a conventional DC-DC converter well known in the art.In an one exemplary embodiment, DC-DC converter can be a buck converter that comprises a high-end switch SW2, a low-end switch SW3 and a choke-condenser filter, and this choke-condenser filter comprises an inductance L 1 and a capacitor C 1.The state of a DC-DC controller 222 control high-end switch SW2 of the present invention and low-end switch SW3, so, these switches switch between the state of " switch closure " and " switch disconnection ".Under switch closed condition, switch SW 2 closures, and switch SW 3 disconnects.Under switch off state, switch SW 2 disconnects, and switch SW 3 closures.So, the output voltage of buck converter increases under switch closed condition, and reduces under switch off state.The switching of on off state is used for providing under various states a desired output charging voltage and electric current to the battery 218 (for example, when the switch SW 1 of battery system 216 disconnects) of battery system 216, will be described in further detail at this.
Usually, a DC-DC controller of the present invention 222 receives the various input signals of the various states of expression, and comprises associated control signal each internal control path to regulating circuit 226 is provided.At least one produces an output control signal from the control signal in various controls path regulating circuit 226 response, thus the high-end switch SW2 of control DC-DC converter 220 and the state of low-end switch SW3.Regulating circuit 226 can be various circuit well known in the art, that adopt the output control signal of any kind.In one embodiment, regulating circuit 226 can be a pulse-width modulation circuit, and this pulse-width modulation circuit provides a pulse-width modulation (PWM) control signal to give switch SW 2 and SW3.As known in the art, can be by work period control switch SW2 and " switch closure " state of SW3 and the duration of " switch disconnection " state that changes pulse-width modulation control signal.The output characteristic of the DC-DC converter 220 that so, just can obtain expecting.
For clarity, DC-DC controller 222 not shown all possible control paths.For example, supply current path that can receive from the input signal that detects resistance R 1, expression DC power supply electric current.Perhaps, one can receive one from detecting the charging current control path of input signal that resistance R 2, expression offer the charging current of battery system 216.Equally for clarity, these power supplies and charging current control path be not all shown in the DC-DC controller 222.
DC-DC controller 222 comprise one from 234 ends to regulating circuit 226 conventional voltage control path 232.Conventional voltage control path 232 receives the signal VFB of expression node 239 place's voltage levels.Conventional voltage control path 232 can comprise the voltage divider that a pair of resistance R 3 and R4 form, and this voltage divider will reduce VFB to voltage level signal VFB_10 lower with respect to V_DAC of voltage signal in proportion.Comparator 238 relatively the signal of a maximum output voltage level of this signal VFB_10 that reduces in proportion and one expression DC-DC converter 220 (for example, V_DAC), thereby the output control signal that this difference of expression is provided is to regulating circuit 226.
Advantageously, DC-DC controller 222 also can comprise a low-voltage control path 242.Control path 242 response cell switch state detection circuits 230, thus provide a control signal to come the state of control switch SW5.Cell switch state detection circuit 230 comprises one first comparator 252, one second comparator 254, one first edge detector 256, second edge detector 258 and a trigger 260.
During work, if the internal switch SW1 of battery system 216 disconnects under battery charging mode according to user, the charging current that then offers battery 218 drops to zero ampere.Conventional voltage control path 232 is the outputs of control DC-DC converters 220 usually, and drive this and export a maximum recharge voltage level V_DAC that allows to.Drive exporting this V_DAC level to and will causing a big positive voltage difference between DC-DC converter 220 and the battery system 216 of DC-DC converter 220.This big positive voltage difference will cause an excessive surge current when switch SW 1 closure.
Advantageously, on off state testing circuit 230 detects when switch SW 1 disconnects.Because when switch SW 1 disconnected, the voltage output of DC-DC converter 220 began to rise.When this voltage level reaches a predetermined level VMAX (wherein VMAX is less than V_DAC), high level signal of comparator 252 outputs.In case positive edge detector 256 detects this variation, just provides a pulse to come the output of set flip-flop 260.After being provided with, trigger 260 can produce an output control signal BATT_DCN and come Closing Switch SW5, thereby activates low-voltage control loop 242.In addition, the BATT_DCN control signal of trigger 260 disconnects the Closing Switch SW6 that links to each other with current source 268 usually.
Low-voltage control loop 242 then provides a control signal to regulating circuit 226, regulating circuit 226 then responds this control signal and the state of control switch SW2 and SW3, thereby the output voltage that drives DC-DC converter 220 drops to a predetermined voltage level.For example, when regulating circuit 226 is a pulse-width modulation circuit, can reduce the duty ratio of pulse-width signal.The compensation current that this predetermined voltage level can provide by resistance and/or the current source 270 of regulating cell R3 and R4 is provided with.This level value can be determined by accurate reference power source (internal trimmed reference).
On off state testing circuit 230 also can detect when switch SW 1 closure.Comparator 254 is signal and a predetermined minimum voltage level VMIN of the voltage (for example VFB_10) at an expression VFB place relatively.Should can be set to a value by predetermined minimum voltage level VMIN less than battery minimum charge (for example 0.1 volt).Therefore, when SW1 is closed, high level signal of comparator 254 outputs.Change in case positive edge detector 258 detects this, just provide a pulse to come the output of reset flip-flop 260.So, the output control signal of trigger 260 is promptly represented the internal cell switch SW 1 of a closure.Therefore, switch SW 5 disconnects, and low-voltage control path 242 is invalid.Therefore, DC-DC converter 220 is by other control path and circuit controls.
Charging control switch SW4 can for one independently switch or have one with switch SW 4 diode connected in parallel D1.Usually, switch SW 4 is by an on-off controller control (not shown).If charging current reaches the lower limit of a predetermined charging current level, then this on-off controller can cut-off switch SW4.So, in this case, any charging current diode D1 that will flow through.If charging current exceeds the lower limit of this predetermined charging current level, then on-off controller is with Closing Switch SW4.So, diode D1 does not consume any power.Therefore, diode D1 can prevent that electric current from flowing back to DC-DC converter 220 from battery system 216.When DC-DC converter 220 was a buck converter, this advantage can prevent that buck converter from working under a boost mode of not expecting.
Figure 3 shows that the block diagram of another embodiment of a DC-DC controller 322 of the present invention, this controller control is offered the surge current of the battery 318 of battery system 316 by DC-DC converter 320.Similarly the label of parts is similar to the label of similar parts among Fig. 2 among Fig. 3, therefore, for clarity, omits the description of any repetition at this.Usually, with comparing shown in the embodiment of Fig. 2, Fig. 3 revises on off state circuit 330 and low-voltage control loop 342.
On off state testing circuit 330 comprises comparator 352,354 and trigger 360.In the work, when switch SW 1 disconnected, the output voltage of DC-DC converter 320 began to rise up to reaching a predetermined level VMAX (wherein VMAX is less than V_DAC).When the output voltage of DC-DC converter 320 reaches VMAX, high level signal of comparator 352 outputs, then set flip-flop 360.Trigger 360 provides the cell switch status signal of this state of expression to switch SW 5 and SW6.Switch SW 5 closures activate low-voltage control loop 342.
The comparator 390 of low-voltage control loop 342 is first signal (VFB_10) and a secondary signal of representing a predetermined direct current/VD level of expression DC-DC converter 320 output voltages relatively.In this embodiment, the maximum output voltage level of DC-DC converter 320 through a reduction coefficient reduction after (for example 0.5) reduce, and equal this predetermined direct current/VD level.This reduction coefficient can be obtained by the whole bag of tricks known in the art, for example adopts various types of resistance 394,396 and 398 to constitute a voltage divider and obtains an expectation reduction coefficient.
So, when switch SW 1 closure, the output voltage of DC-DC converter 320 is adjusted to this predetermined output voltage level.Therefore, the surge current of battery 318 can be controlled by selecting this predetermined output voltage level.In addition, can provide and switch SW 4 diode connected in parallel D1.As above-mentioned detailed description, control switch SW4 can keep disconnecting and reaches a predetermined minimum levels up to charging current.Because charging current is substantially zero ampere when switch SW 1 disconnects, so in this embodiment, switch SW 4 also can disconnect.Therefore, because the pressure drop on the diode D1, the output voltage of DC-DC converter 320 is a bit larger tham the output voltage of diode D1.Therefore, the comparator 354 of test circuit for cell status 330 at first level of its inverting input (for example should compare one, 0.55XV DAC) and the voltage of the non-inverting input of comparator 390 (for example, 0.5XV DAC), wherein the former is a bit larger tham the latter, thereby solves the problem that diode D1 goes up pressure drop.
In case switch SW 1 closure, pin VFB will detect cell voltage, and comparator 354 will produce a positive pulse and come reset flip-flop 360.Therefore, switch SW 5 disconnects once more, and DC-DC converter 320 will be by other control path and circuit controls of DC-DC controller 232.Exceed predetermined charging current level (can by detect resistance R 2 and a comparator is judged) in case charging current increases to, switch SW 4 is closure, thereby charges by switch SW 4.Therefore, by correctly selecting the output-voltage levels of this predetermined direct current/direct current transducer, surge current can be controlled to an expectation level, even if is necessary then to eliminate fully.
Figure 4 shows that the block diagram of another embodiment of a DC-DC controller 422 of the present invention.In this embodiment, a cell switch state detection circuit 430 detects when switch SW 1 disconnects or be closed.Testing circuit 430 can be the testing circuit 230 or 330 of the foregoing description.Usually, comparator 490 provides a control signal to regulating circuit 426, thereby drives in output voltage to two voltage of DC-DC converter 420 one.Comparator 490 provides a control signal to drive this when switch SW 1 closure and exports V DAC to, export VMIN to and provide a control signal to drive this when switch SW 1 disconnects.
For example, in one embodiment, in a single day cell switch state detection circuit 430 detects switch SW 1 and disconnects, just send a control signal via path 429 to Port Multiplier 497 (MUX).Port Multiplier 497 then provides a signal VMIN non-oppisite phase end to comparator 490.Otherwise if switch SW 1 closure, MUX497 then provides another signal V_DAC non-oppisite phase end to comparator 490.
In addition, cell switch state detection circuit 430 provide a control signal via path 431 to voltage register 495.This signal writes this voltage register with a corresponding low digital signal.This corresponding low digital signal then is converted to an analog signal by digital/analog converter (DAC) 493, then offers the non-inverting input of comparator 490 by MUX497.
All switch SW 1, SW2, SW3, SW4, SW5 and SW6 among the various embodiment can be the transistor of arbitrary type known in the art, for example bipolar transistor (for example PNP and NPN) or field-effect transistor, for example MOSFET (for example PMOS and NMOS).
Though be described according to hardware at this, significant be that DC-DC controller of the present invention also can adopt software or hardware and software to combine and the signal processing technology known realizes.If adopt software to realize, then need a processor and machine-readable medium.Processor can provide the processor of required speed of the embodiment of the invention and function for any.For example, the processor of the Pentium family that this processor can be produced for a kind of Intel company (Intel Corporation), or the processor produced of a kind of Motorola (Motorola).But machine-readable medium comprises the medium of the instruction that any storage of processor is carried out.These medium can be read-only memory (ROM), random asccess memory (RAM), programmable read-only memory (prom), EPROM (Erasable Programmable Read Only Memory) (EPROM), EEPROM (Electrically Erasable Programmable Read Only Memo) (EEPROM), dynamic random access memory (DRAM), disk (for example floppy disk and hard disk drive), CD (for example CD-ROM), with other can storing digital information device, but be not limited to this.In one embodiment, instruction is stored in the media with a kind of compression and/or encryption format.
Embodiment described herein just adopts of the present invention wherein several, but is not limited to the present invention.Obviously, the embodiment that does not break away from the defined the spirit and scope of the present invention of claim that also exists other those skilled in the art to understand.