Switching regulators or switching power supplies are commonly used as sources of regulated power for electronic circuits of all types.
Switching power supplies are generally adaptive—they change their outputs in response to load changes. This is typically accomplished using two different techniques: 1) pulse-width-modulation (PWM) and 2) pulse-frequency-modulation (PFM). For PWM operation, the switching transistor is switched on and off at a fixed rate regardless of load. The duty cycle of the transistor is variable and increases or decreases in proportion to the load applied. PFM operation is the exact opposite—duty cycle is fixed and the rate at which the transistor is switched on and off is changed in proportion to the load applied. Of the two, PWM designs dominate in portable applications. This is largely because PFM regulators operate over a range of frequencies, creating a spectrum of electromagnetic noise that may be difficult to effectively control. Switching power supplies can also be constructed to use both PWM and PFM at different times, depending on load or other factors.
Where regulator efficiency is important, it is common to replace the diode of
Switching regulators generally use some sort of feedback loop to monitor their output and dynamically adjust pulse width (for PWM) or pulse frequency (for PFM). A typical feedback circuit for PWM regulators is shown in
The error amplifier Output Vea is passed to a comparator X2. The second input to the comparator X2 is a sawtooth voltage Vt. In this case, the sawtooth voltage Vt is derived using a transistor M3 and a current source to level shift the inductor input voltage. The sawtooth voltage Vt may also be produced using a range of other methods or may be externally supplied. The output of the comparator X2 is a square wave voltage Vpwm that controls the high-side transistor. As shown in
In most cases, the feedback circuit of
The present invention includes an operational amplifier output clamping method. For a typical implementation, the clamping method is used as part of a feedback network that controls a buck, boost or buck-boost switching regulator. The feedback network uses a voltage divider or other mechanism to generate a voltage Vfb that is proportional to the output of the switching regulator. An error amplifier compares Vfb to a desired voltage Vref and generates a corresponding voltage Vea. Vea, along with a sawtooth voltage Vt is passed to a comparator. The comparator generates a square wave voltage Vpwm having a duty cycle that is determined by the magnitude of Vea relative to the sawtooth voltage Vt.
The switching regulator may include one or two switching transistors. In the case where two transistors are included (a high-side and a low-side) Vpwm may be used to drive one or both transistors. In the case where only one transistor is included, Vpwm is used to drive that transistor. Vt may be generated externally or may be derived by monitoring the current flowing through the high-side switching transistor.
One or two clamping circuits is used to maintain the voltage Vea within a range where it is relatively close to the range of Vt. Each clamping circuit uses an op amp and a clamping transistor. In the first clamping circuit, the clamping transistor controls a connection between Vea and ground. In the second clamping circuit, the clamping transistor controls a connection between Vea and the input voltage to the switching regulator. The op amps in both circuits monitor Vea. As Vea rises above a predefined level, the op amp in the first clamping circuit increases the drive to its transistor, increasing the connection between Vea and ground. As a result, Vea is prevented from substantially exceeding Vt. As Vea falls below another predefined level, the op amp in the second clamping circuit increases the drive to its transistor, increasing the connection between Vea and the input voltage to the switching regulator. As a result, Vea is prevented from falling substantially below Vt.
By maintaining Vea within a range that is close to the range of Vt, the comparator that produces Vpwm is prevented from entering open loop operation and the transient response of the switching regulator is improved.
The present invention includes an operational amplifier output clamping method for use with buck, boost and buck-boost switching regulators. As an example,
The low-side switch M2 provides a connection between the inductor L and ground. A low-side control circuit controls operation of the low-side switch M2. This circuit can be implemented to operate using a range of different algorithms. For the purposes of this description, it may be assumed that the low side control circuit senses the polarity over the low-side switch M2 and causes the low-side switch M2 to act as a lossless diode (i.e., a diode having a forward voltage of zero volts).
The high-side switch M1 provides a connection between the input voltage to the buck regulator 500 and the inductor L. The high-side switch M1 is controlled by the output of PWM comparator X2. Comparator X2 has two inputs. The first input is a sawtooth voltage Vt. In this case, the sawtooth voltage Vt reflects the current flowing through the high-side transistor M1. Vt is generated using transistor M3 and resistor R1 to measure the current flowing through the high-side transistor M1. The resulting value is then level shifted using the combination of the transistor M4, resistor R2 and current source CS1 to form the sawtooth voltage Vt.
The second input to the comparator X2 is the output Vea of an error amplifier X1. The error amplifier X1 monitors a feedback voltage Vfb and a reference voltage Vref. The feedback voltage Vfb is derived from the output voltage (in this case using resistors R3 and R4 as a voltage divider). The reference voltage Vref is typically generated externally and represents the target output of the switching regulator. The output of the error amplifier Vea reflects the difference between the output of the regulator and the desired output.
A clamping circuit formed by op amp X3, current source CS2 and transistor M5 is used to stabilize the voltage Vea. As Vea increases the output of op amp X3 also increases, increasing the gain to transistor M5. The increased gain on transistor M5 pulls Vea towards ground, preventing Vea from exceeding the voltage established by current source CS2. As a result, Vea remains much closer to sawtooth voltage Vt preventing comparator X1 from entering open loop operation and improving the transient response of buck regulator 500.
The implementations shown in