VOLTAGE REGULATOR THAT OPERATES IN EITHER PWM OR PFM MODE

Abstract: A switching voltage regulator achieves high efficiency by automatically switching between a pulse frequency modulation (PFM) mode and a pulse-width modulation (PWM) mode. Switching between the modes of voltage regulation is accomplished by monitoring the output voltage and the output current, wherein the regulator operates in PFM mode at small output currents and in PWM mode at moderate to large output currents. PFM mode maintains a constant output voltage by forcing the switching device to skip cycles when the output voltage exceeds its nominal value. In PWM mode, a PWM signal having a variable duty cycle controls the switching device. A constant output voltage is maintained by feedback circuitry which alters the duty cycle of the PWM signal according to fluctuations in the output voltage.

Description: VOLTAGE REGULATOR THAT OPERATES IN EITHER PWM OR PFM MODE FIELD OF THE INVENTION The present invention relates to a voltage regulator. More specifically, the present invention relates to a high efficiency switching voltage regulator capable of operating in either one of two modes. BACKGROUND OF THE INVENTION Typically, voltage regulator circuits provide a constant output voltage of a predetermined value by monitoring the output and using feedback to keep the output constant. In a typical pulse width modulation (PWM) regulator circuit, a square wave is provided to the control terminal of the switching device to control its on and off states. Since increasing the on time of the switching device increases the output voltage, and vice versa, the output voltage may be controlled by manipulating the duty cycle of the square wave. This manipulation is accomplished by a control circuit which continually compares the output voltage to a reference voltage and adjusts the duty cycle of the square wave to maintain a constant output voltage. When the switching device is an MOS transistor, a significant amount of power is used to periodically charge the gates of the switching transistors. As the switching frequency increases, more power is lost. If the switching frequency is too low and the output current of the regulator is high, the output voltage of the regulator will be difficult to filter and convert to a DC voltage. Hence, the switching frequency must be kept relatively high. When the output current is low, the relatively high power loss due to controlling the switching transistors results in a low efficiency (output power/total power consumed) regulator. A continuing challenge in the design of voltage regulators is to reduce the power loss in the regulator circuit and thereby increase its efficiency. As such, the power dissipated in the control circuitry and switching circuitry of the PWM regulator is of great concern. SUMMARY OF THE INVENTION A switching voltage regulator is disclosed which is capable of operating in either a pulse frequency modulation (PFM) or pulse-width modulation (PWM) mode. The voltage regulator achieves high efficiency by automatically choosing the more efficient mode of regulation based on a continuous monitoring of the output current and the output voltage. The regulator operates in PFM mode when the regulator generates a small output current and switches to PWM operation when the regulator generates a moderate to large output current. A PFM mode of voltage regulation provides better efficiency at small output current levels than does a PWM mode. First, a PFM mode requires a fewer turn-on transitions to maintain a constant output voltage than does a PWM mode of voltage regulation, thus resulting in a lower gate-drive power dissipation for PFM mode. Second, since a PFM mode can be achieved with a much simpler control circuit having fewer components, the power dissipation in the control loop of a PFM mode is less than that of the control loop of a PWM mode. However, when the output current reaches a moderate level, a PFM mode of voltage regulation becomes impractical, since the maximum output current available from a PFM mode is generally much less than that available from a PWM mode. Thus, the present invention switches from a PFM mode of operation to a PWM mode of operation when the output current exceeds a predetermined level. A novel technique to determine when to operate in PWM or PFM mode is also described along with a novel PFM type voltage regulator. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a simplified block diagram of one embodiment of the present invention; Figure 2A is a pictorial representation of the PWM control signal; Figure 2B is a pictorial representation of the inductor current during PWM mode of voltage regulation; Figures 3A and 3B are pictorial representations of the output switch voltage and the inductor current during PFM mode of voltage regulation, respectively; Figures 4A-4C are pictorial representations of the inductor current, switching node voltage, and feedback voltage during PFM mode of voltage regulation; Figure 5A-5D is a gate level schematic of one embodiment of the present invention; Figure 6A shows the inductor current during both PFM mode and PWM mode; and Figures 6B-6E are timing diagrams showing the logic states of various components in the preferred embodiment. DETAILED DESCRIPTION OF PREFERRED EMBODIMENT Figure 1 is a simplified block diagram of an embodiment of the present invention. The voltage regulator of figure 1 includes a feedback circuit 2, output voltage sensing circuit 3, inductor current sensing circuit 4, control logic circuit 5, PWM control circuit 6, PFM control circuit 7, high-side switch driver 8, low-side switch driver 9, input terminal 10, high-side switch 11, switching node 12, low-side switch 13, schottky diode 14, inductor 15, capacitor 16, and output terminal 17. High-side switch 11 is preferably a P-channel MOSFET that has a first terminal connected to input terminal 10 and a second terminal connected to a terminal (switching node 12) of inductor 15. The other terminal of inductor 15 is connected to output terminal 17. PWM control circuit 6, which includes a PWM signal generator, has an output terminal connected to a first input terminal of the high-side switch driver 8. The output terminal of PWM control circuit 6 is also connected to the low-side switch driver 9. The output terminal of high-side switch driver 8 is connected to the control terminal of high-side switch 11 for supplying a voltage to turn switch 11 on and off. Similarly, the output terminal of low-side switch driver 9 is connected to the control terminal of low- side switch 13, which is preferably an N-channel MOSFET, for supplying a voltage to turn switch 13 on and off. A schottky diode 14 is placed in parallel with low side switch 13 for shunting current to ground when current discharging from inductor 15 forces switching node 12 below approximately -0.4 volts. Feedback circuit 2 is coupled between output terminal 17 and a first input terminal of PWM control circuit 6 for providing a feedback signal to PWM control circuit 6. This feedback signal is also provided to a first input terminal of PFM control circuit 7. PFM control circuit 7 has a second input terminal connected to switching node 12 for sensing the voltage V, w at switching node 12 and has an output terminal connected to a second input terminal of high- side switch driver 8 for controlling the on and off states of switch 11. Output voltage sensing circuit 3 has an input terminal connected to output terminal 17 and an output terminal connected to a first input terminal of control logic circuit 5. Inductor current sensing circuit 4 has an input terminal connected to switching node 12 and an output terminal connected to a second input terminal of control logic circuit 5 and to a third input terminal of PFM control circuit 7. An output terminal of control logic circuit 5 is connected to a second input terminal of PWM control circuit 6 and to a fourth input terminal of PFM control circuit 7. Control logic circuit 5 enables/disables PWM control circuit 6 and PFM control circuit 7, thus determining in which mode the regulator will operate. Capacitor 16 is coupled between output terminal 17 and ground and acts to smooth the voltage at output terminal 17. The operation of the regulator is as follows. When an input voltage V^ to be regulated is supplied to the regulator circuit via input terminal 10, the voltage at output terminal 17, V out , is initially below its nominal value, V ^ , ^ ,. Output voltage sensing circuit 3 detects the low value of V ^ , and sends a logic low signal to control logic circuit 5, which in turn enables PWM control circuit 6 and disables PFM control circuit 7. This state is denoted as PWM mode. Once in PWM mode, PWM control circuit 6 generates and transmits a fixed frequency square wave to the first inputs of high-side switch driver 8 and low-side switch driver 9 which, as mentioned previously, control the on and off states of switches 11 and 13. A high PWM signal turns high-side switch 11 turns on and turns low-side switch 13 off. Conversely, a low PWM signal turns high-side switch 11 off and turns low-side switch on. Operating switches 11 and 13 in a push-pull fashion allows inductor 15 to store current from input terminal 10 when switch 11 is on and discharge current to output terminal 17 when switch 11 turns off. Figure 2A illustrates a PWM square wave signal having a period of T. This PWM signal has an on-time (representing a logic high) from t=0 to t=DT and an off-time (representing a logic low) from t=DT to t=T, where the duty cycle of the signal is defined as the ratio of on-time to period T. A feedback voltage V^ corresponding to V,,,,, is coupled to PWM control circuit 6 via feedback circuit 2. PWM control circuit 6 compares V^, to a reference voltage V ref and adjusts the duty cycle of the PWM square wave signal such that V ft is equal to V ref . PWM control circuit 6 continues to control switches 11 and 13 until the peak current flowing through inductor 15, denoted as I mdpk , drops below a predetermined level, I pk.mm . When I ιnd „ k drops below I,,,^, inductor sensing circuit 4 sends a first enabling signal to control logic circuit 5. If output voltage sensing circuit 3 detects that V oul has not dropped below the regulated output voltage value, output voltage sensing circuit 3 sends a second enabling signal to control circuit 5, which then simultaneously disables PWM control circuit 6 and enables PFM control circuit 7. When PWM control circuit 6 is disabled, low-side switch 13 is turned off and will remain off until PWM control circuit 6 is re-enabled. This state is known as PFM mode. Figure 2B illustrates the inductor current during PWM mode. The relationship between I pkιmin and I ™ , , ^ is set by the following equation: It can be seen from the above equation that detecting ϊ k . mm accurately corresponds to detecting a constant value of I ou min as long as the change in Δl ω remains small relative to I p,mm . If Δl ω changes substantially compared to I pkmin , then I pk :1 must change in equal proportion to changes in Δl ιnd in order for I^ m i,, to remain constant. Referring back to Figure 1, when the regulator circuit begins operating in PFM mode, PFM control circuit 7 sends an activation signal to high-side switch driver 8, thus turning on switch 11. As mentioned earlier, switch 13 remains in an off state during PFM mode. Switch 11 will remain on until the inductor current 1^ charges to an upper limit, I I ^ PPM . When inductor current sensing circuit 4 detects that this limit has been reached, inductor current sensing circuit 4 sends a de-activation signal to high-side switch driver 8, thereby turning switch 11 off. The inductor current I ϋld then discharges through schottky diode 14, causing the voltage at switching node 12, V w , to swing from approximately V in to -0.4V. When I ω reaches a zero level, V sw changes abruptly from -0.4V to V o ,,,. PFM control circuit 7 detects this abrupt increase in V, w and turns on switch 11. Thus, when operating in PFM mode, the regulator circuit monitors the inductor current and the voltage at switching node 12 to determine when to turn on and off high-side switch 11. This PFM mode of voltage regulation is advantageous over others since an internal oscillator is not required. PFM control circuit 7 regulates V ^ ,, by controlling the on and off states of switch 11 and by preventing switch 11 from turning on when V out exceeds its predetermined nominal value, V oulnom , as follows. PFM control circuit 7 includes a comparator which compares feedback signal V^, which is proportional to V,,,,,, to reference voltage V rer . V r has an upper value V refH and a lower value V rcfL . If V^ is less than V refH PFM control circuit 7 will turn on switch 11 as described in the previous paragraph. If, however, Vn, exceeds V refH (corresponding to V oul exceeding V ∞lΛθm ) , V ref will fall to v ref, causing PFM control circuit 7 to turn switch 11 off. V f c must then fall below V rcfL before PFM control circuit 7 again turns on switch 11. This method of regulating the V o by preventing switch 11 from turning on when V oul exceeds its nominal value V orttPOII1 is commonly referred to as "skipping cycles". The PFM characteristic of the reference voltage V ref prevents the regulator from sporadically skipping cycles. Figures 3A and 3B illustrate the waveforms of the voltage at switching node 12, V, w , and the inductor 15 current, 1^,,, where t on is the on time of switch 11, t^ is the off time of switch 11, 1^, is the time average value of I ω , and td = the delay time between 1^ discharging to zero and high-side switch 11 turning on. The above parameters are defined by the following equations: _ l- Lim ' PFAT t on + t off ) _ I Liw , PFM ind ' av?" 2 ( _ 0 _ + . of/+ _ d) ~ ■ 2 Eq * 2 ∞ - J ""j;" ,' Eq. 3 v i out t - Ek i E SSLL + d Eq . 4 °" V ouC + 0 . 4 . 4 It can be seen from figure 3B that the average value of the inductor current waveform 1^,,, is a function of only Iι .im .|.p M , assuming that td is relatively small compared to the switching period. The values of ^ and t of r will vary as function of V^, V ^ ,,, and the inductance L of inductor 15. When the regulator is supplying maximum current to output terminal 17 in PFM mode, switch 11 turns on at every switching cycle. Therefore, the maximum output current the regulator can supply when operating in PFM mode, I ind .. vs , will always be equal to I Lim,PFM /2 irrespective of the values of V in , V oul , and L. This circuit is thus advantageous over previous methods of PFM mode regulation whose maximum output currents are dependent upon input voltage, output voltage, and inductance values. The regulator circuit monitors V ω to determine when to switch from PFM mode to PWM mode as follows. When the output current exceeds the maximum current the regulator is able to supply in PFM mode, i.e., when 1 ^ , exceeds I Lιm,P r M /2, V ^ , falls below V OUMlom . Output voltage sensing circuit 3 detects this change in V ^ , and sends a logic low signal to control logic circuit 5. In response to this low signal, control logic circuit 5 sends a disable signal to PFM control circuit 7 and an enable signal to PWM control circuit 6, thus switching the circuit from PFM mode to PWM mode. In order to make a clean transition between PFM and PWM modes of operation, the following conditions must be met: (1) the output sensing circuit 3 has a slow enough response time to ensure that brief negative transients at V ou , do not trigger an erroneous change from PFM to PWM mode, (2) when the regulator changes from PFM to PWM mode, the control logic circuit 5 forces the regulator to remain in PWM mode while the PWM control loop settles out (otherwise, during this period control logic circuit 5 may detect I^^ falling below I pk,mιn for brief transients, thereby causing the regulator to oscillate between PWM and PFM operation) , and (3) the PFM current limit (I m . PFM ) i s greater than twice the value of the minimum output current required for PWM operation (I ou , mιn ) (this condition ensures that the maximum output current for PFM mode (I Lιm,PFM / 2 ) is greater than I oul . mιn . If I lm)P | M /2 is less than or equal to I _ ut . mιn tne regulator will oscillate between PFM and PWM modes) . The PFM mode of operation described above varies when the difference between V m and V ^ ,, is approximately 1 volt or less and the output current is less than I Lιm .ιτ M' Figures 4A, 4B, and 4C illustrate the current of inductor 15 (I ιntl ) , the voltage at switching node 12 (Vsw) , and the output of feedback circuit 2, respectively, when the regulator is operating in PFM mode in this particular situation. Since under these conditions I ιnd never exceeds I LιmPrM , inductor current sense circuit 4 does not cause PFM control circuit 7 to turn switch 11 off. Thus, as described previously, switch 11 will remain on until Vn, exceeds V refH , at which point PFM control circuit 7 causes switch 11 to turn off. Inductor 15 then discharges through schottky diode 14, causing V 1W to swing from approximately V ώ to -0.4V. When I;,,,, reaches a zero level, V m abruptly changes from -0.4V to V,,,,,. However, switch 11 remains off until V ft falls below V,^. PFM control circuit 7 then causes switch 11 to turn on. I ω will then increase, but it will never exceed I Lim,PFM . Therefore, switch 11 remains on until V ft rises above V refH . Thus, the present invention achieves high efficiency over a wide range of output currents by automatically switching between PFM mode operation (when the output current is relatively small) and PWM mode operation (when the output current exceeds a predetermined level) . Figure 5A-5D is a gate-level schematic of one embodiment of the present invention. When power is first applied to the regulator circuit at V m , V^ is below its nominal value, V^^,,,. This is detected by comparator 174 which sends a logic high signal to the gate of switch 178, turning on switch 178. The drain of switch 178 then swings low, forcing the output of SR latch 138 high which, in turn, enables the PWM controller 140. This high signal from latch 138 also disables the PFM control circuit by forcing the output of NOR gate 202 low. Thus, the circuit initially operates in PWM mode and will remain in PWM mode as long as the peak inductor current I Mtfk is equal to or greater than the minimum current required for PWM mode, I Pk . m i n - When 1^^ drops below I pkmil) , the regulator switches to PFM mode as previously described. PWM controller 140 generates a fixed frequency square wave PWM signal with a variable duty cycle. When the PWM signal is high (rising edge) , a logic low signal appears at the output of invertor 170, turning off low-side switch 13. This high PWM signal also puts a logic high at the input of pulse circuit 151, which turns on switch 150 long enough to pull down the input of invertor 156, thus turning on switch 11. Switch 150 is used to turn on switch 11 during PWM mode, while switch 152 is used to turn on switch 11 during PFM mode. Positive feedback is applied to inverters 154 and 156 so that the output of invertor 156 will remain low after switch 150 (PWM mode) or switch 152 (PFM mode) turns off. It is important that switches 150 and 152 turn off as soon as possible to ensure that switches 146, 148, and 200 can reset the output of invertor 156 to a logic low to turn off switch 11. Hence, switches 150 and 152 must be turned on with a relatively narrow pulse at the beginning of the PWM and PFM switching cycles, respectively. Pulse circuits 151 (PWM mode) and 153 (PFM mode) detect a leading edge from the outputs of invertor 144 and nor gate 160, respectively, and generate a positive pulse approximately 200 nanoseconds long at the gates of switches 150 and 152, respectively. This pulse turns on switches 150 and 152 just long enough to set the output of invertor 156 high, thereby turning on high-side switch 11. When the PWM signal is low (falling edge) , switch 146 pulls down the input of invertor 154, turning off switch 11. This low PWM signal also provides a logic high at the input of NAND gate 168, allowing low-side switch 13 to turn on when V sw swings low to -0.4V. This method of turning on switch 13 results in break-before- make switching of switches 11 and 13. Switch 11 remains off and switch 13 remains on until the beginning of the next PWM cycle. Error amplifier 176 monitors V oul during PWM operation by measuring the difference between the V ft and V ref (V ou , appears across resistors 184, 186 which, acting as a voltage divider, generate Vn, at node 185) . This voltage difference is amplified and provided as input to PWM controller 140. PWM controller 140 uses this amplified voltage difference to adjust the duty cycle of the PWM signal so that V,,, equals V ref , thereby regulating V oul . PWM controller 140 can be either a voltage mode or current mode controller. In order to achieve maximum efficiency when the regulator is operating in PFM mode, PWM controller 140 and error amplifier 176 remain off during PFM mode. The regulator indirectly senses the current of inductor 15 by monitoring the drain to source voltage V ds of switch 11. When switch 11 is on, switch 102 connects the drain of switch 11 to the inputs of comparators 122 and 124. When switch 11 is off, switch 104 shorts the inputs of comparators 122 and 124 to the input voltage V, n . In order to eliminate the noise at the leading edge of the V ds waveform when switch 11 is turned on, capacitor 108 and resistor 112 keep switch 102 off and switch 104 on until switch 11 has been on approximately 200 nanoseconds. When switch 11 turns off, diode 114 allows switch 102 to turn off and switch 104 to turn on immediately. Comparator 122 causes high-side switch 11 to turn off when the peak inductor current I^ , ^ has exceeded the current limit for PWM mode (I|, m _ pwm ) and PFM mode (I LιmPFM ) . Comparator 122 monitors I ιndpk by comparing the V ds of switch 11 to V ds of switch 116. In one embodiment, switch 11 is a power MOSFET constructed of thousands of small MOSFET cells connected in parallel. Switch 116 is one of those MOSFET cells with its drain separated from the drain of switch 11. Switch 116 has an area factor of 1 (1 cell) , while switch 11 has an area factor of K (K cells) . When the regulator operates in PFM mode, switch 126 is off, allowing only current source 132 to flow through switch 116. Current source 132 is set equal to I LimPFM /K so that the V ds of switch 116 equals the V,,, of switch 11 when I d equals I LιmI . rM . In other words, when the regulator is operating in PFM mode, the threshold voltage of comparator 122 corresponds to I Lim,PFM « When the regulator is operating in PWM mode, switch 126 turns on to allow both current sources 130 and 132 to flow through switch 116. Current source 130 is set to a value so that the sum of current sources 130 and 132 equals I , m . Pwm / K ' Thus, the threshold voltage of comparator 122 corresponds to I LilDtPwm when the regulator is operating in PWM mode. Comparator 124, monitoring the peak inductor current l mdpk by comparing the V d5 of switch 11 with the V ds of switch 118, determines when the regulator should switch from PWM mode to PFM mode. Like switch 116, switch 118 is a single MOSFET cell (having an area factor of 1) with its drain separated from the drain of switch 11. Current source 128 provides a current through switch 118 equal to I pk ιn „JK , so that the Vj, of switch 11 equals the V ds of switch 118 when 1^ reaches the value I pkmm . The value of I pkmιn is adjusted by a multiplier circuit so that it changes in proportion to changes in V m - V ^ ,. This allows I p lill to change in proportion to changes in Δl d which, as shown in equation 1, results in I ou ,. remaining constant. Accordingly, if the peak inductor current 1^^ is greater than I pk,mιn , the regulator remains in PWM mode. Referring to figure 6A, this event corresponds to time period A. Comparator 124 outputs a logic low which in turn produces a logic low at the output of SR latch 134. The output of latch 134 remains low until reset to logic high by the falling edge of the PWM signal (see figure 6B) . When switch 11 turns off, the rising edge of the inverted PWM signal appears at the clock input of master-slave D flip-flop 136 (see figure 6C) . The inverted PWM signal is inverted again and used as the reset signal for latch 134. Due to the time delay of invertor 163 and latch 134, the rising edge of the clock input of flip-flop 136 occurs before the output of latch 134 is reset to a logic high. Under the conditions of time period A, the output of flip-flop 136 is set to a logic high and remains high so long as -E-i - k exceeds I pk,min (see figure 6D) . The logic high output from flip-flop 136 has no effect on the previously set high output of SR latch 138 (see figure 6E) . The logic high signal at the output of latch 138 turns on PWM controller 140 and error amplifier 176, as well as allowing the PWM signal to propagate through NAND gate 142, thereby enabling PWM operation. The high signal from the output of latch 138 also turns on switch 126, re-setting the threshold voltage of comparator 122 to a value corresponding to I^ p* ,,,,. Furthermore, the high signal from the output of latch 138 prevents PFM control signals from propagating through NOR gate 202. By setting the threshold of comparator 122 to I lιm.pwm and preventing PFM control signals from propagating through NOR gate 202, PFM mode operation is thereby disabled. If the inductor current I^ is equal to or exceeds ϊ-i- n i .pwm / the output of comparator 122 transitions to a logic high, turning on switch 148. Switch 148 pulls down the input of invertor 120, which turns off switch 11. The positive feedback of weak inverters 154 and 156 keeps the output of 156 low after switch 148 turns off so that switch 11 will remain off until the next rising edge of the PWM signal. When Ij n a. pk is less than I pk,min (corresponding to time period B in figure 6A) , the regulator enters PFM mode. The output of comparator 124 and the output of latch 134 remain at logic high when the PWM cycle ends (see Figure 6B) , causing the output of flip-flop 136 to transition to logic low (see figure 6D) . The logic low signal at the output of flip-flop 136 sets the output of latch 138 low (see figure 6E) , which will remain low until reset to logic high by switch 178. This low signal from latch 138 turns off PWM controller 140 and error amplifier 176, and it prevents the PWM signal from propagating through NAND gate 142, thereby disabling the PWM control circuit. The low signal from latch 138 also enables PFM control signals to propagate through NOR gate 202. In addition, the low signal from the output of latch 138 turns off switch 126, re- setting the threshold voltage of comparator 122 to a value corresponding to I Um pp M' In other words, a low signal from the output of latch 138 switches the regulator from PWM mode to PFM mode. Once in PFM mode, the on and off states of high- side switch 11 are controlled as described previously. Assuming that switch 11 is initially on, current flows through inductor 15 to output terminal 17. When the inductor current I inJ exceeds I i m . F , comparator 122 turns off switch 11. I ind then discharges through diode 14, causing V sw to drop to -0.4 volts. When I^,, discharges to zero, causing V m to swing to V ιn , invertor 158 sends a logic low signal to NOR gate 160 which, in turn, puts a logic high at the input of pulse circuit 153. Pulse circuit 153, generating a brief turn on pulse at the gate of switch 152, causes switch 11 to turn on and thereby starts a new switching cycle. The regulator will skip cycles when V ou , exceeds its nominal value V oulnom . Comparator 172 monitors V ^ , by comparing V ft to V ref . When V„, is greater than V ref , comparator 172 puts a logic high at an input of NOR gate 160, thereby preventing switch 11 from turning on in response to the signal swing of V, w via invertor 158. The logic high signal from comparator 172 also propagates through invertor 204 and NOR gate 202 so as to turn on switch 200, which causes switch 11 to turn off. Thus, high-side switch 11, turning off when the output voltage has exceeded its nominal value, will turn back on (when I md discharges to zero) only if the output voltage has dropped to less than or equal to its nominal value. As explained earlier, V ft exhibits hysteresis to prevent the regulator from sporadically skipping cycles. Preferably, comparator 172 exhibits hysteresis at its input terminals of approximately 10 mV. As mentioned previously, a variation of PFM mode operation occurs when (1) the difference between V m and V out is approximately 1 volt or less and (2) the output current is less than I L „ . ,. PΓM - Since under these conditions the inductor current never exceeds I^ PPM , the output of comparator 122 will remain at logic low and thus never turn off switch 11. When V ^ , exceeds v __. n o m f tne logic high output of comparator 172 turns on switch 200 which, in turn, causes switch 11 to turn off. The regulator then stops delivering current to output node 17. The output of comparator 172 will remain at logic high until V ou[ falls below V^, ^ . When the output of comparator 172 has transitioned to logic low, and I llld has discharged to zero, invertor 158 sends a logic low signal to NOR gate 160 which, in turn, causes pulse circuit 153 to generate a brief output pulse that turns on high-side switch 11. The regulator again supplies current to output terminal 17. As a result, the regulator maintains a constant output voltage by supplying current from V ιn to output terminal 17 when V oul is less than or equal to V oul ΩOm . Accordingly, when V oul is exceeds V oulnom , the regulator does not supply current from V ιn to output terminal 17, thereby allowing this current to discharge through capacitor 16 until V^ again falls below V 0UUlo . The regulator switches from PFM mode back to PWM mode when the output current exceeds Iu m . PFM - 2 , which causes V oul to fall below V ^ ,, ^ . This drop in V ^ ,, is detected by comparator 174, whose threshold voltage is set to a value about four percent below V ref . Thus, when V- u , falls approximately four percent below V^^,,,,, the output of comparator 174 transitions to a logic high, turning on switch 182 and thereby resetting latch 138. The logic high at the output of latch 138 re-enables the PWM control circuit and disables the PFM control circuit, as described earlier. The PWM signal, when re-enabled, may take one hundred or more cycles to settle out. During this period, the inductor current will fluctuate causing to dip below I pkιmin for brief transients. To prevent the regulator from oscillating between PWM and PFM modes during these brief transients, the regulator keeps the reset input of latch 138 low for a predetermined amount of time after PWM controller 140 has been re-enabled, as follows. After the regulator re-enters PWM mode, and the output of comparator 174 transitions to a logic low, current source 182 requires several hundred microseconds to pull-up the reset input of latch 138 to a logic high. Accordingly, this time delay forces the regulator to remain in PWM mode for several hundred microseconds after PWM mode is re-enabled. While particular embodiments of the present invention have been shown and described, it will be obvious to those skilled in the art that changes and modifications may be made without departing from this invention in its broader aspects and, therefore, the appended claims are to encompass within their scope all such changes and modifications as fall within the true spirit and scope of this invention.

Claims: CLAIMS What is claimed is: 1. A method performed by a switching regulator comprising the steps of: generating a regulated output voltage and an output current at an output terminal of said regulator using a switching device, said switching device having an on state and an off state, said switching device providing said output current; comparing one or more signals corresponding to said output current to one or more threshold current levels, said one or more threshold current levels corresponding to predetermined output current levels; generating one or more first control signals in response to said step of comparing; controlling said switching device with a first control circuit in response to said one or more first control signals indicating said output current is greater than a first current level, wherein said first control circuit comprises: a square wave generator outputting a square wave having a first frequency and having a duty cycle corresponding to said regulated output voltage at said output terminal, said square wave generator controlling the on and off states of said switching device; and a first feedback circuit for generating an error signal based on a difference between a voltage corresponding to said output voltage at said output terminal and a first reference voltage level and varying the duty cycle of said square wave generator in response to said error signal to cause said output voltage to be of a predetermined voltage level; and controlling said switching device with a second control circuit in response to said one or more first control signals indicating said output current is less than said first current level by a predetermined amount, wherein said second control circuit comprises: a signal generator outputting a switching signal having a fixed duty cycle and having a second frequency, said signal generator controlling the on and off states of said switching device, wherein said second frequency is less than said first frequency; and a second feedback circuit for generating a disable signal when said output voltage at said output terminal exceeds a second reference voltage level, said disable signal forcing said signal generator to skip one or more cycles to cause said output voltage to be of said predetermined voltage level. 2. The method of Claim 1 wherein said predetermined amount is zero. 3. The method of Claim 1 wherein said predetermined amount is greater than zero. 4. The method of Claim 1 further comprising the steps of: comparing said output voltage at said output terminal with a third reference voltage level; generating a second control signal in response to said step of comparing said output voltage; and controlling said switching device with said first control circuit in response to said second control signal indicating said output voltage at said output terminal is less than said third reference voltage level. 5. The method of Claim 1 wherein said switching device comprises a first MOSFET device, said one or more signals corresponding to said output current in said step of comparing being determined by comparing a voltage at a terminal of said first MOSFET device to one or more threshold voltage levels, said threshold voltage levels corresponding to said predetermined output current levels. 6. The method of Claim 5 wherein said threshold voltage levels include a voltage at a terminal of a second MOSFET device having characteristics substantially identical to said first MOSFET device, said second MOSFET device conducting a fixed reference current. 7. A method performed by a voltage regulator comprising the steps of: applying an input voltage to said voltage regulator; generating a regulated output voltage and an output current at an output terminal of said regulator and an inductor current across an inductive element of said regulator using a switching device, said switching device having an on state and an off state; comparing one or more signals corresponding to said inductor current to one or more reference levels, said reference levels corresponding to predetermined inductor current levels; generating one or more control signals in response to said step of comparing; controlling said switching device in response to said one or more control signals; and regulating said output voltage with a feedback circuit, said feedback circuit generating a disable signal when said output voltage at said output terminal exceeds a nominal voltage, said disable signal forcing said switching device to transition to the off state to cause said output voltage to be of a predetermined level. 8. The method of Claim 7 wherein said switching device comprises a first MOSFET device, said one or more signals corresponding to said inductor current in said step of comparing being determined by a voltage at a terminal of said first MOSFET device, and said reference levels being of a predetermined reference voltage level. 9. The method of Claim 8 wherein said reference voltage level corresponds to a voltage at a terminal of a second MOSFET device having characteristics substantially identical to said first MOSFET device, said second MOSFET device conducting a fixed reference current. 10. The method of Claim 7 wherein said output current has a maximum value equal to a time average value of said inductor current, said maximum value being independent of said input voltage, said output voltage, and said inductive element.

Inventors: BITTNER HARRY J, BITTNER, HARRY, J.
Applicants: MICREL INC, MICREL, INC.
Application year: 1995
Main classification: H02M7
IPC codes: H02M3