Abstract:
The invention concerns a switch-mode voltage regulator, comprising : an inductor (L); a generator for producing a voltage ramp ( 16 ); circuitry ( 12, 13 ) for producing at least one pulse stream from said voltage ramp; switch control circuitry ( 14 ) for controlling switching of a current in the inductor according to said pulse stream; and a first control loop adapted to modulate the form of the voltage ramp according to the current flowing in the inductor.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention concerns switch-mode power supplies (DC-DC converters), in particular those in integrated circuit form capable of providing a regulated output power supply both below and above the unregulated input power supply. Such DC-DC converters are commonly known as buck-boost converters or step UP/DOWN DC/DC converters. 
       BACKGROUND OF THE INVENTION 
       [0002]    Switched mode power supplies are widely used in battery powered equipment to convert an unregulated supply from the battery voltage into a regulated supply for other electronic circuits which are highly sensitive to power supply stability. 
         [0003]    The voltage supplied by batteries varies significantly as a function of the level of charge remaining. Therefore, the wider the range of voltage the electronic circuits can function over, the longer the equipment can be used between changing or charging the battery. For example, it is common for the voltage supplied by the battery in a mobile battery powered equipment to be allowed to drop from about 5V just after charging down to below 3V before the user is prompted to recharge the battery. 
         [0004]    However some electronic circuits only function at voltage above the minimum allowed battery voltage. In order to guaranty circuits functionality, it is desirable to have DC-DC converters able to provide regulated supplies at voltages below the battery voltage when the battery is fully charged (buck mode) and to provide regulated supplies above the battery voltage when it is close to its minimum charge level (boost mode). 
         [0005]    Furthermore it is desirable that such converters be able to pass from buck mode to boost mode automatically, without requiring intervention from the person using the equipment. Because the electronics receiving the regulated supply is sensitive, severe constraints are place on the level of disturbances on the supply such as ripple or spikes that can be tolerated. 
         [0006]    An implementation of a DC-DC converter uses a measurement of the voltage at the output of the DC-DC converter to set an error voltage at a comparator. This error signal is compared to a voltage ramp in order to produce a pulse width modulated (PWM) stream. The PWM stream is then used to control a switching system connected to a rectifier which contains an inductor. The DC-DC converter has a single control loop based on the output voltage. 
         [0007]    To avoid instability that could occur in such an implementation of the DC-DC converter under certain load conditions, a trade-off between bandwidth, maximum load, efficiency and responsiveness to transients must be made. It is desirable to obtain the best possible maximum load and responsiveness to transients whilst avoiding instability. 
       SUMMARY OF THE INVENTION 
       [0008]    For the above reasons, it is desirable to make a DC-DC converter able to pass smoothly between buck and boost modes without the problems of instability and without significant increase chip area or power consumption. 
         [0009]    More generally, it is desirable to improve the stability of a boost converter. According to an aspect, there is provided a switch-mode voltage regulator, able to provide a regulated output power supply both below and above level of the unregulated input power supply, which comprises: 
         [0010]    an inductor; 
         [0011]    a generator for producing a voltage ramp; 
         [0012]    circuitry for producing at least two pulse streams from said voltage ramp; 
         [0013]    switch control circuitry for controlling switching of a current in the inductor according to said pulse streams; and which further comprises a first control loop adapted to modulate the form of the voltage ramp according to the current flowing in the inductor. 
         [0014]    According to an embodiment, the switch-mode voltage regulator further comprises a current-to-voltage modulator coupled to said inductor and to said voltage ramp generator. 
         [0015]    According to an embodiment, said switch control circuitry is further controlled by a second control loop according to a voltage present on an output of the regulator. 
         [0016]    According to an embodiment, said second control loop comprises: 
         [0017]    a reference voltage source; 
         [0018]    an amplifier having a first input coupled to said reference voltage source and a second input coupled to said output; 
         [0019]    a threshold generator; and 
         [0020]    a comparator. 
         [0021]    According to an embodiment, said comparator has a first input coupled to said threshold generator and a second input coupled to said current-to-voltage modulator. 
         [0022]    According to an embodiment, the switch mode voltage regulator has an output stage further comprising: 
         [0023]    a first switch coupled between an unregulated supply terminal and a first terminal of the inductor; 
         [0024]    a second switch coupled between the first terminal of the inductor and a negative supply; 
         [0025]    a third switch coupled between a second terminal of the inductor and the regulated supply output; 
         [0026]    a fourth switch coupled between the second terminal of the inductor and the negative supply; and 
         [0027]    a capacitor coupled between the regulated supply output and the negative supply. 
         [0028]    According to an embodiment, the first and third switches are PMOS transistors and the second and fourth switches are NMOS transistors. 
         [0029]    According to an embodiment, there is provided a battery-powered mobile equipment comprising a switch-mode voltage regulator. 
         [0030]    There is also provided a method of controlling an output voltage of a switch-mode voltage regulator having an inductor comprising the steps of: 
         [0031]    generating at least one pulse modulated signal from a voltage ramp to switch a current in the inductor; and 
         [0032]    modulating said voltage ramp according to the current flowing in the inductor. 
         [0033]    According to an embodiment, a comparison is made of said voltage ramp after modulation to at least one threshold derived from a measurement of said output voltage. 
         [0034]    According to an embodiment, said comparison is used to modulate the width of pulses in at least one pulse stream. 
         [0035]    According to an embodiment, said pulse stream is used to control the switching of a current flowing in the inductor. 
         [0036]    According to an embodiment, two pulse streams are used to control the switching of a current flowing in the inductor. 
         [0037]    According to an embodiment, charge storage is used to derive a DC voltage from the current flowing in the inductor. 
         [0038]    According to an embodiment, said voltage ramp has a constant time period. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0039]      FIG. 1  represents an embodiment of a buck-boost converter; 
           [0040]      FIG. 2  represents the output stage of the buck-boost converter of  FIG. 1  in more detail; 
           [0041]      FIGS. 3A ,  3 B and  3 C represent three phases of operation of the output stage of the buck-boost converter of  FIGS. 1 and 2 ; 
           [0042]      FIG. 4  is a timing diagram illustrating the operation of a usual DC-DC converter. 
           [0043]      FIG. 5  is a timing diagram illustrating the operation of the converter of  FIG. 1 . 
           [0044]      FIG. 6  is a timing diagram illustrating the operation of the DC-DC of  FIG. 1  in boost mode. 
           [0045]      FIG. 7  is a block diagram a mobile battery powered equipment containing a buck-boost converter according to an embodiment of the invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0046]    Same references designate same elements in the different figures. Furthermore, only the elements which are useful to understanding are represented and disclosed. Especially the circuits downstream of the DC-DC converter are not detailed, these circuits being compatible with any usual use of a regulated voltage. 
         [0047]      FIG. 1  represents an embodiment of a buck-boost converter, able to pass between buck and boost modes without interruption of the regulated supply. 
         [0048]    An error amplifier  10  (Amp) receives a reference voltage from a reference voltage source  9  (RefV) at its non-inverting input. Error amplifier  10  has its inverting input coupled to output OP of the buck-boost converter. The error signal Verr output by error amplifier  10  is provided to a threshold generator  11  (Thresh) which supplies a first derived error signal Verr 1  to a first comparator  12  (Comp) and a second derived error signal Verr 2 , offset from derived error signal Verr 1 , to a second comparator  13 . Derived error signal Verr 1  may be the same as or different to error signal Verr. 
         [0049]    Comparators  12  and  13  provide pulse streams, PWM 1  and PWM 2  respectively, to switch control logic  14  (Switch CTRL). Switch control logic  14  supplies four signals to an output stage  15  (OP Stage). Pulse streams PWM 1  and PWM 2  are pulse width modulated in this example. 
         [0050]      FIG. 2  represents the output stage  15  in more detail. A first PMOS transistor T 1  is coupled between a supply terminal Bat which receives a supply Vbat coming from the battery (not shown), and a first terminal of an inductor L. Between the first terminal of inductor L and a ground GND is coupled a first NMOS transistor T 2 . Between an output OP, providing the regulated voltage, and a second terminal of inductor L, is coupled a second PMOS transistor T 3 . A second NMOS transistor T 4  is coupled between the second terminal of inductor L and ground GND. A capacitor C is coupled between output OP and ground GND. 
         [0051]    More generally, transistors T 1 - 4  can be any type of switch. Switches, T 1 - 4 , are opened and closed by two PWM streams, PWM a , PWM b , delivered by the switch control logic  14 . Pulse streams PWM a   1  and PWM a   2  are two PWM signals derived from PWM stream PWM a  and are respectively used to control switches T 1  and T 2 . Pulse streams PWM b   1  and PWM b   2  are two PWM signals derived from PWM stream PWM b  and are respectively used to control transistors T 3  and T 4 . The four PWM streams share the same constant time period and are derived from a combination of PWM streams PWM a  and PWM b  performed by switch control logic  14 . 
         [0052]      FIGS. 3A ,  3 B and  3 C represent three operating configurations of the output stage  15 . In the interests of clarity, switches T 1 -T 4  and inductor L are focused on and other elements are not shown. 
         [0053]      FIG. 3A  shows a first configuration (phase  1 ) where switches T 1  and T 4  are closed whilst switches T 2  and T 3  are open. A current I L  flows through inductor L as shown, from supply Vbat to ground GND. Whilst this configuration is maintained, the current I L  increases in magnitude at a constant rate. 
         [0054]      FIG. 3B  shows a second configuration (phase  2 ) where switches T 1  and T 3  are closed and switches T 2  and T 4  are open. A current I L  flows through inductor L from supply Vbat to output OP. 
         [0055]      FIG. 3C  shows a third configuration (phase  3 ) where switches T 1  and T 4  are open and switches T 2  and T 3  are closed. The current I L  flows from ground GND to output OP and decreases in magnitude at a constant rate. 
         [0056]    When phases  2  and  3  are alternated, the DC-DC converter operates in purely buck mode. In this mode, it is convenient to note that in both phases, energy is transferred from inductor L to capacitor C. 
         [0057]    When phases  1  and  2  are alternated, the DC-DC converter operates purely in boost mode. In this mode, it is convenient to consider that during phase  1 , energy is being stored in inductor L that will be then delivered to capacitor C during phase  2 . It can be seen that during phase  3 , capacitor C is receiving charge whereas during phase  1  it is not. 
         [0058]    When phases  1  and  3  are alternated, the DC/DC converter operates purely in 2 phase Buck-Boost mode. In this mode, it is convenient to consider that during phase  1 , energy is being stored in inductor L that will be delivered to capacitor C during phase  3 . 
         [0059]    The width of the pulses in pulse streams PWM 1  and PWM 2  is modulated in proportionality to the difference between Vout and Vref so as to set Vout equal to Vref. 
         [0060]    As can be easily understood, to operate the DC-DC converter in either purely buck or purely boost mode, only one PWM stream would be required. The modulation of the PWM stream and the control of the switching could simply be adapted to the mode, buck or boost, being used. However in such a DC-DC converter, there would be unacceptable levels of disturbances, such as spikes or ripple, on the regulated supply during the transitions between buck and boost modes. 
         [0061]    A solution to this problem is a DC-DC converter that can function with all three phases at once, transitioning gradually from using one pair of configurations to the other pair of configurations. For this, two PWM streams are required simultaneously. 
         [0062]    In one solution for controlling two PWM streams, a single ramp signal is used. From voltage Verr, two error signals at different levels are derived. The single ramp signal is compared to these two error signals. 
         [0063]      FIG. 4  represents the change over time of voltages and currents in a usual DC-DC converter in boost mode when a sudden large increase in demand from the load for current beyond normal operating parameters has occurred. At time t 0  a cycle starts in phase  1  and voltage ramp Vramp begins. 
         [0064]    The current I L  in inductor L rises at a constant rate as shown by the graph of I L . 
         [0065]    Because the battery is not connected to the output during this phase, all the current demanded by the load is supplied by capacitor C which results in capacitor C being discharged. Consequently, output voltage Vout drops from its initial value Vout_init. The single control loop, which measures Vout, increases the error signal voltage as shown by the dotted line Verr superimposed on the graph of Vramp. In this illustration, no account is taken any propagation delays between changes of output voltage Vout and adjustments to Verr. 
         [0066]    At time t 1 , voltage Vramp crosses threshold voltage Vth and the pulse of pulse stream PWM is ended. The DC-DC converter passes into phase  3  and current I L  decreases as shown by the graph of I L . Charging of capacitor C starts and voltage Vout rises accordingly. At time t 2  the cycle is ended and another one begins. 
         [0067]    However, during the phase  3 , voltage Vout has not returned to its initial level Vout_init so error signal Verr starts at a higher level than it did in the previous cycle and rises to higher levels than before. Consequently, the duration of phase  1  in this cycle is longer than that of the previous cycle and the duration of phase  3  is shorter. Capacitor C is therefore discharged to an even greater degree and voltage Vout is even lower at the end of this cycle than when this cycle was started. If the demand for current remains unchanged, in the succeeding cycle, the events are repeated in a similar manner and the downward trend of the average of voltage Vout continues. This trend will stop if circumstances change so that the energy stored in coil is high enough to increase output voltage during the time coil is connected to output. 
         [0068]    It is possible to avoid this situation by limiting the maximum allowable duty cycle and so limiting the performance of DC-DC converter in terms of maximum allowed current and reducing the bandwidth. A more common occurrence is where the increase in demand for current is transient. In this case voltage Vout drops as before and then overshoots when it rises again, causing unacceptable levels of ripple on the regulated output. Limiting the bandwidth of the DC-DC converter has the effect of deteriorating its ability to cope with transient demands. 
         [0069]    The control loop is unable to take into account the energy actually being stored in the inductor L sufficiently quickly. 
         [0070]    However, it is preferable to find a solution which does not involve reducing the loop bandwidth in order to obtain a system that is best able to control level of spikes and ripple produced in response the load variations. 
         [0071]    Another solution to the instability condition in boost converters is to use the difference voltage Verr to define the slope of a negative going voltage ramp of constant time period. This voltage ramp is compared continuously to a signal of voltage proportional to the current I L  flowing in the inductor in order to set the width of the pulses in the pulse stream. In order to use this solution with a buck-boost converter having three phases, it would be necessary to duplicate the ramp generation circuitry, which would imply an increase in chip area and power consumption. 
         [0072]    According to the embodiment of  FIG. 1 , a voltage ramp generator  16  (Ramp Gen) provides a voltage ramp to a first input of modulator circuit  17 . The common point of switches T 1 , T 2  and inductor L is coupled to a second input of modulator  17 . Modulator  17  is able to modulate a signal representative of the current present in inductor L onto the signal coming from voltage ramp generator  16 . Modulator  17  supplies a modulated ramp signal to the inverting inputs of comparators  12  and  13 . 
         [0073]      FIG. 5  is a timing diagram illustrating the operation of the buck-boost converter as described in  FIG. 2 . 
         [0074]    A voltage ramp Vramp of constant time period t is produced by ramp generator  16 . Signal I L  represents the current I L  flowing in inductor L. Voltage ramp Vramp is modulated by modulator  17  in proportion to current I L , producing a signal Vrm. 
         [0075]    The control loop which measures output voltage Vout sets the error signals Verr 1  and Verr 2  to the levels shown. 
         [0076]    At time t 0  a time period has just been started in phase  1  (as in  FIG. 3A ) and a pulse is started in both pulse streams PWM 1  and PWM 2 . 
         [0077]    Between t 0  and t 1 ′, the slope of Vrm is increased relative to Vramp to reflect the increasing value of current I L . At time t 1 ′, Vrm crosses error signal Verr 2  and the pulse in pulse stream PWM 2  is ended. At this point the buck-boost converter passes into phase  2 . During this phase, the current flowing I L  is still increasing but less rapidly than in phase  1  and this is reflected in the reduced slope of voltage ramp Vrm. 
         [0078]    At time t 3  voltage ramp Vrm crosses error signal Verr 1  and the pulse in pulse stream PWM 1  is ended. At this point the buck-boost converter enters phase  3 . During this phase, the current I L  is decreasing and consequently, the slope of Vrm is negative. 
         [0079]    Any variations of error signals Verr 1 , Verr 2  occurring within a cycle are not shown at this point for simplicity. 
         [0080]    Finally at t 2  the cycle is complete and a new one begins. 
         [0081]      FIG. 6  represents in more detail the operation of the DC-DC converter of  FIG. 1  in boost mode that has undergone a large increase in demand for current from the load. 
         [0082]    The graph of Vrm represents, as in  FIG. 5 , the voltage of the modulated voltage ramp. As in  FIG. 4 , a cycle starts in phase  1  at time t 0 . As in  FIG. 4 , the current in inductor L, I L , increases at a constant rate as shown. Because capacitor C must alone supply the current required by the load, it is discharged and voltage Vout drops as shown. As in  FIG. 4 , error signal Verr increases. For simplicity, only one error signal, Verr, is shown. 
         [0083]    At time t 1 ′, voltage ramp Vrm crosses error signal Verr and phase  3  begins. The phase  2  of  FIG. 5  is not represented. In phase  3 , current I L  reduces as before, capacitor C is charged again and voltage Vout rises. 
         [0084]    Time t 1 ′ is earlier than time t 1 . This is because the slope of Vrm during phase  1  has been increased in relation to the level of current I L , and voltage ramp Vrm crosses error signal Verr earlier than would have the un-modulated voltage ramp Vramp of  FIG. 4 . 
         [0085]    Therefore phase  1  is kept shorter and phase  3  is kept longer than would have been the case without the control loop modulating the voltage ramp. 
         [0086]    The result of this is that the discharging of capacitor C during phase  1  is lessened and phase  3  is long enough for it to be charged back up to the level it was at the start of the cycle. Thus Vout rises back to its initial level and the error signal Verr starts at the level at which it started in the previous cycle. 
         [0087]    The subsequent cycles occur in a similar manner and voltage Vout does not display a downward trend longer than one cycle. 
         [0088]    Because it has not been necessary to reduce the control loop bandwidth, the DC-DC converter is better able to respond to transient changes in demand. Furthermore this has been achieved with only a small increase in chip area and power consumption. 
         [0089]    The conversion gain of the second control loop, including the modulator and the setting of the second error signal Verr 2  must be adjusted in accordance with the parameters of the DC-DC converter in question. Such parameters include the voltages of the battery and the regulated output, the output current, the inductor and capacitor values and bandwidth desired for the output voltage control loop. 
         [0090]      FIG. 7  represents a mobile battery powered system where a battery  50 , rechargeable or not is coupled between a ground GND and a positive input Bat of a DC-DC converter  51 . An output OP makes available a regulated supply Vout and is coupled to positive supplies of a plurality of circuits  52  (CCT 1 , CCT 2  . . . CCTn). The plurality of circuits  52  have their negative supplies coupled to ground GND. 
         [0091]    Switch control logic  14  has not been described in detail and one of ordinary skill will be able implement such circuitry. 
         [0092]    One of ordinary skill will be able to implement the circuitry for producing reference voltage Vref. 
         [0093]    The foregoing, with its features, aspects and purposes is given by way of illustration and not limitation. Indeed, it is not intended that the embodiment described be considered the only one concerned by the present invention, nor should it be considered limited to DC-DC converters having an output stage like that described. 
         [0094]    Indeed any switch-mode DC-DC converter having a boost mode where one part of the cycle sees the capacitor not connected to the battery may be at risk of instability. 
         [0095]    Therefore, a feedback loop which modulates the voltage ramp in accordance with the current in the inductor could be used for other types of converter having a different configuration of output stage, for example those using diodes in the place of some of the switches. 
         [0096]    The above examples have been discussed in terms of pulse width modulation. However more complex modulations, such as those using pulse-skipping, could also be used. 
         [0097]    Furthermore, even though a DC-DC converter with two pulse streams has been discussed, DC-DC converters having more than two pulse streams and having a control loop modulating a voltage ramp according to the current in the inductor would also be possible. An example of such a converter would be one where a central control and pulse stream generator is used to control multiple output stages. In this case, a circuit for multiplexing the measurements of the currents in the inductors would be necessary.