1. Field of the Invention
The present invention relates to a DC voltage regulator and in particular to an error amplifier in the DC voltage regulator. This error amplifier advantageously includes a single compensation solution for both the voltage control loop and the current limit control loop.
2. Related Art
Typical DC voltage regulators employ a voltage control loop to stabilize output voltage over a variety of conditions.
In regulator 100, the voltage control loop includes resistors 108 and 109 connected in series between the node providing VOUT and a voltage source VSS. A node 111, which is located between resistors 108 and 109, provides a feedback voltage to the negative input terminal of error amplifier 102. A reference voltage Vref, which is typically generated by a bandgap circuit 101, is provided to the positive input terminal of error amplifier 102. In this configuration, error amplifier 102 can measure (i.e. sample) the output voltage VOUT using the resistive divider comprising resistors 108 and 109, thereby facilitating equalization of the input voltages to error amplifier 102. This voltage control loop is provided for normal operating conditions in regulator 100.
A standard regulator can also include another control loop for over-current conditions, which could be destructive to the regulator as well as the integrated circuit on which it is formed. For example,
Amplifier 123 provides its output via a feedback loop to the input of power device 103. A node between the collector of PNP transistor 121 and the emitter of PNP transistor 122 provides the output voltage VOUT when PNP transistor 121 is conducting. In this configuration, compensation circuit 104 can sense a current ISENSE at the output of power device 103. If a current limit condition exists, then amplifier 123 supplies a current that is proportional to the excessive current (i.e. the amount of current exceeding a nominal maximum current). This current should correspondingly limit the drive to power device 103, thereby preventing localized overheating on the integrated circuit.
Note that when the output voltage VOUT gets too high relative to an input voltage source VIN (e.g. VIN−VOUT<150 mV), PNP transistor 121 begins to saturate, thereby turning on PNP transistor 122. When PNP transistor 121 begins to saturate, excess carriers are injected into the substrate. These excess carriers in the substrate can undesirably cause significant instability in many components of regulator 100.
In one embodiment, current limit circuit 104 can detect and respond to both conditions. Specifically, in either case (or even potentially when both conditions exist), amplifier 123 can use its inputs to generate a current commensurate with the degree to which a current limit condition exists and/or when PNP transistor 121 begins to saturate. Note that amplifier 123 has two inputs: one voltage sensitive differential input for ISENSE (therefore, amplifier 123 can function as a gm amplifier) and one current sensitive single-ended input for PNP transistor 122 (therefore, amplifier 123 can also function as a current amplifier).
Unfortunately, either or both of the voltage control loop and the current limit control loop in regulator 100′ can be a source of regulator destabilization. Specifically, each control loop should provide a negative feedback in regulator 100′. Unfortunately, components in these control loops could undesirably cause a positive feedback, thereby destabilizing regulator 100′ by causing an oscillation in output voltage VOUT. This oscillation could prevent efficient voltage correction, elimination of a current limit condition, or could even cause significant damage to other integrated circuits driven by regulator 100′.
Therefore, a need arises for a system and method of providing stabilized control loops in a regulator.
In accordance with one aspect of the invention, control loops in a voltage regulator can be stabilized using minimal silicon area. Specifically, a current limit signal, generated by a current limit control loop in the voltage regulator, can be divided to minimize a zero provided in a compensation set associated with a voltage control loop, thereby stabilizing both loops. The compensation set can include a resistor (the zero) and a capacitor (a pole) connected in series between output and input terminals of an amplifier. Dividing the current limit signal can include injecting a first portion of the current limit signal on a first side of the resistor and injecting a second portion of the current limit signal on a second side of the resistor. The ratio of the first and second portions can be based on a gain of the amplifier, thereby minimizing an effect of the resistor. This amplifier can be the second stage of a multi-stage error amplifier.
For example, the error amplifier can include a first amplifier and a second amplifier. In one embodiment, the first amplifier can include a differential amplifier, and the second amplifier can include a current amplifier. The first amplifier can have a first input terminal for receiving a reference voltage and a second input terminal for receiving a signal from the voltage control loop. The second amplifier can receive an output of the first amplifier. The compensation set can include a resistor and a capacitor connected in series between an output of the second amplifier and an input of the second amplifier.
Notably, the error amplifier can further include a ratiometric branching compensation circuit that receives the current limit signal and injects current to both sides of the resistor in the compensation set. The ratio of the injected currents is substantially the same as a gain of the second amplifier. In one embodiment, the ratiometric branching compensation circuit can include first and second transistors. Each of the transistors has a terminal connected to a voltage source (e.g. ground) and a control terminal for receiving the current limit signal. However, each transistor has another terminal connected to a different side of the resistor. In one embodiment, the first and second transistors can be implemented with NMOS transistors having a voltage source of ground. This error amplifier can be included within an otherwise standard voltage regulator.
As discussed in further detail herein, the ratiometric branching compensation circuit can advantageously stabilize both the voltage control loop and the current limit control loop while minimizing silicon area. Specifically, by minimizing (or even eliminating) the effect of the resistor in the compensation set, the loops can share a single compensation capacitor.
Elements in the figures having identical reference numbers can be characterized as similar elements.
The goal of a voltage regulator is to provide a stable output voltage VOUT. Control loops within the voltage regulator can introduce an undesirable oscillation in output voltage VOUT. In accordance with one aspect of the invention, the use of “poles” and “zeros” can be advantageously used to stabilize the voltage regulator in a silicon-efficient manner.
Overview: Poles and Zeros
In general, for a stable loop, the feedback signal should be opposite in polarity to the source signal (e.g. in a voltage regulator, the reference voltage would be the source signal). For this reason, the feedback signal is typically characterized as a negative feedback. This negative feedback opposes any change introduced by the source signal, thereby ensuring a stable output. In contrast, positive feedback has the same polarity as the source signal, thereby amplifying any fluctuation in the source signal and resulting in an unstable control loop.
A feedback signal can experience fluctuations in gain and phase as it travels on a control loop. A phase shift refers to the total phase change that occurs within a control loop. An ideal negative feedback is 180° out of phase with the source signal, i.e. starting at −180°. Logically, if the negative feedback experiences a phase shift of 180°, then that negative feedback becomes positive feedback.
The phase shift of any control loop can be computed by using a Bode plot, which shows the gain (dB) of a loop as a function of frequency (Hz). The amount of phase shift that has occurred at unity gain (0 dB) determines the stability of that control loop. A “pole” can be defined as a point on the gain curve where the slope changes by −20 dB.
In a typical control loop, both poles and zeros can be present, wherein each pole decreases the slope in the Bode plot by −20 dB/decade and each zero increases the slop by +20 dB/decade.
To determine if the control loop is stable, the phase shift at 0 dB (also called the unity-gain crossover frequency, which occurs at 1 MHz in this case) can be determined. In phase shift plot 155, poles 151 and 153 as well as zero 152 contribute phase shifts of −90°, +90°, and −90°, respectively. Because the unity-gain crossover frequency occurs at 100 kHz, zero 154 contributes most, but not all of a phase shift of +90°. Specifically, the final pole contributes approximately 60-80° (compared to the −90° from the previous three poles). Thus, the final phase shift is −10 to −30°. With this phase shift, the loop would be stable.
Control Loop Stability
Notably, each component of the voltage control loop and the current limit loop can contribute to a pole or zero. Additionally, parasitic poles can be present in the circuit. (Note that parasitic zeros may also be present. A parasitic zero can act as a right half plane zero (RHPZ), which has the same amplitude effect as a zero, but causes a phase shift that looks like a pole. Although a gain stage typically has a couple of poles and an RHPZ, the degradation effect to the gain and phase margins in the control loop from the parasitic zero is usually minimal because of its high frequencies.) Transfer function analysis is therefore critical to ensure that both control loops are stable, i.e. provide negative feedback. The introduction and position of additional components to provide such stability are now described.
To control the gain and phase characteristics of the control loop, an extremely large compensation capacitor (not shown) could be used. Although this large compensation capacitor would also be a pole, the phase shift contributed by this component, in addition to the other poles and parasitic poles in the regulator, could still result in cumulative negative feedback. However, using a large compensation capacitor would significantly degrade the speed of the regulator and take up considerable silicon area, both of which are commercially unacceptable.
Alternatively, smaller compensation capacitors could be used, e.g. one for each control loop. However, any compensation capacitor takes up valuable silicon area and is a relatively expensive component to integrate into a system. Therefore, it would be desirable for both the voltage control loop and the current limit control loop to share a compensation capacitor.
The primary impediment to sharing compensation elements in a regulator is the existence of a standard compensation loop for the voltage control loop. As shown in
Note that one goal of a high performance regulator is to robustly drive its output driver. Therefore, an error amplifier in the regulator is built with considerable gain. However, because of this high gain requirement and under some process conditions, the amplifier of the current limit circuit may not be able to provide the desired current limit correction for the error amplifier in the configuration shown in
Therefore, it would be desirable to provide the current limit correction to an internal stage of the error amplifier, which would have significantly lower gain (and much lower current) than its output, thereby enhancing the performance of current limit circuit 104. Note that simply providing the output of current limit circuit 104, i.e. the signal on line 124, to only node 211 within error amplifier 210 would create a transfer function with the same zero as the voltage control loop, i.e. result in an undesirable positive feedback.
Alternatively, simply providing the signal on line 124 to only node 212 would create even greater loop instability. Specifically, if a current pulse is applied to a circuit with a pole and a zero, an initial step (due to the zero, e.g. a resistor) is generated followed by a ramping waveform (due to the pole, e.g. a capacitor). This step and ramping waveform occur if the pulse is only applied to node 211. If, however, the pulse is applied to node 212, then the pulse is instantaneously transmitted through capacitor 204 to node 203 and amplifier 202, which is necessarily an inverting stage. In this case, the initial response is a step in the opposite direction before the ramp starts. This inversion of a short-term input relative to a long-term input is the hallmark of a RHPZ. Thus, applying a pulse to either node 212 or node 211 always generates a zero, i.e. a left half plane zero or right half plane zero. Notably, both types of zeros are bad for the current limit loop.
Therefore, in accordance with one aspect of the invention, a ratiometric branching compensation circuit 206 can be used to divide the signal from current limit circuit 104 and provide those divided signals to both nodes 211 and 212. To provide this division, ratiometric branching compensation circuit 206 can include two buffers 207 and 208. Notably, and discussed in further detail in reference to
Error Amplifier: Exemplary Embodiment
Note that differential amplifier 201 actually provides a full differential output to current amplifier 202, which can include NPN transistors 314, 315, and 318 as well as a resistor 322. Specifically, the collectors of PNP transistors 312 and 313 are connected to the emitters of NPN transistors 318 and 315, respectively, to provide the differential signal. NPN transistor 314 has its emitter connected to voltage source GND via resistor 322. The bases of NPN transistors 314, 315, and 318 are commonly connected to the collector of NPN transistor 314. In this configuration, diode-connected NPN transistor 314 can set the bias of NPN transistors 315 and 318. Note that the values of resistors 320, 321, and 322 can be set (e.g. to 10 kOhm) such that the added current from PNP transistors 312 and 313 causes the same drop across resistors 320 and 321 as resistor 322, thereby balancing differential amplifier 201 and current amplifier 202. In this manner, any variation in the input signal can be accurately mirrored in NPN transistors 315 and 318.
In this embodiment, ratiometric branching compensation circuit 206 can include NMOS transistors to implement buffers 207 and 208 (in reference to
Amplifier 330 can receive differential current provided by current amplifier 202 and generate a voltage, thereby functioning as a transimpedance amplifier. In this embodiment, amplifier 330 includes PNP transistors 303, 304, 305, 308, and 309 as well as resistors 306 and 307. The emitters of PNP transistors 304 and 305 are connected to voltage source VCC and their bases are commonly connected to a node between resistors 306 and 307. The collector of PNP transistor 304 is connected to the other terminal of resistor 306, the collector of NPN transistor 315, and the base of PNP transistor 308. The collector of PNP transistor 305 is connected to the other terminal of resistor 307, the collector of NPN transistor 318, and the base of PNP transistor 309. The emitters of PNP transistors 308 and 309 are connected to voltage source VCC. The collector of PNP transistor 308 is connected to the gate and the drain of an NMOS transistor 326 as well as the gate of an NMOS transistor 327. The collector of PNP transistor 309 is connected to the drain of NMOS transistor 327. The sources of NMOS transistors 326 and 327 are connected to voltage source GND.
In this configuration, node 312 represents the output of amplifier 330. Note that the sizes of resistors 306 and 307 as well as the sizes of PNP transistors 308 and 309 determine the current gain of amplifier 330. Amplifier 330 can advantageously provide a controlled amount of current gain without needing additional DC bias.
Notably, determining the ratio of the sizes of NMOS transistors 207 and 208 is important in facilitating the elimination of the effect of resistor 205, i.e. Rzero. Resistor 205 is connected between the drains of NMOS transistors 207 and 208. In contrast, capacitor 204 (Ccomp) is connected between the emitter of NPN transistor 318 and the drain of NMOS transistor 207.
Assume for short duration pulses, capacitor 204 is shorted. Further assume that the effective resistance at the emitter of NPN transistor 318 is much lower than the resistance of resistor 205. In this case, applying a current pulse to nodes 212 and 211 will cause a current pulse 3× the size in node 312. If, simultaneously with the pulse at nodes 212 and 211, a 3× pulse is also applied at node 312, then the net current in resistor 205 is zero. In other words, the effect of the amplified pulse is essentially cancelled. Therefore, the size of resistor 205 is unimportant.
Based on the gain of current amplifier 202, the size ratio of NMOS transistors 207 and 208 can be advantageously selected to inject the appropriate amount of current into opposite sides of resistor 205, thereby effectively canceling the effect of Rzero. For example, assuming that the gain of current amplifier 202 is 3, then NMOS transistor 207 could have M=1 and NMOS transistor 208 could have M=3. In this manner, the injected current provided at node 212 would be amplified by current amplifier 202 by 3 whereas the injected current provided at node 211 would be, without amplification, 3 times that of the injected current at node 212. Therefore, none of the injected current appears on resistor 205, thereby canceling the effect of Rzero. Once Rzero is canceled, only the effect of capacitor 204, i.e. Ccomp, is “seen” by the current limit loop (CLimit) (i.e. after sufficient time for capacitor 204 to start charging).
In one embodiment, resistor 205 could be 100-300 kOhm or even smaller, e.g. on the order of 10-40 kOhm. In accordance with one aspect of the invention, as long as the selected ratio in ratiometric branching compensation circuit 206 is “close” (e.g. within 25%) to the gain provided by current amplifier 202, the effect of Rzero can still be minimized enough to ensure negative feedback.
A PNP transistor 310, which has an emitter connected to voltage source VCC and a collector connected to the drain of an NMOS transistor 311, receives the current signal IBBN on its base. NMOS transistor 311, which has a source connected to voltage source GND, is connected to the collector of PNP transistor 309 and the drain of MACS transistor 208. The collector of PNP transistor 310 and the drain of NMOS transistor 311 provide the output voltage OUT of the error amplifier.
To ensure a balanced output signal at node 312, additional components can be included to provide symmetry to those discussed. For example, PNP transistors 304/308 and resistor 306 can be included to provide symmetry to PNP transistors 305/309 and resistor 307, respectively. Furthermore, NMOS transistors 326 and 327 can also form a mirror to further balance the voltage at node 312. Note that transistors 326 and 327 are implemented in the same MOSFET technology as output device 311. Because any imbalance in the signal at node 312 is undesirable (i.e. thereby triggering the control loops to correct for an input offset), the components of error amplifier 300 can be advantageously configured to maximize symmetry.
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying figures, it is to be understood that the invention is not limited to those precise embodiments. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed. As such, many modifications and variations will be apparent.
For example, although regulator 300 includes specific MOSFET and bipolar transistors, other embodiments could include transistors of opposite type (i.e. PMOS for NMOS, or PNP for NPN) having their terminals similarly connected (however, with opposite voltage sources). Additionally, MOSFET transistors could be used for bipolar transistors and vice versa. For example, NPN transistors could be used instead of NMOS transistors 207 and 208 in
Note that in other embodiments the differential amplifier and the current amplifier can be replaced with operational amplifiers. Therefore, in general, the error amplifier can be simply characterized as including first and second amplifiers, wherein the ratiometric branching compensation circuit is coupled to two nodes within the second amplifier. Further note that in other embodiments the ratiometric branching compensation circuit can be characterized as injected voltage, instead of current, into the two nodes.
Accordingly, it is intended that the scope of the invention be defined by the following Claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
3983502 | Wheatley, Jr. | Sep 1976 | A |
4949054 | Briefer | Aug 1990 | A |
5945818 | Edwards | Aug 1999 | A |
6556083 | Kadanka | Apr 2003 | B2 |
6861827 | Yang et al. | Mar 2005 | B1 |
20070096825 | Okuyama | May 2007 | A1 |
Number | Date | Country |
---|---|---|
0564983 | Oct 1993 | EP |
10256838 | Sep 1998 | JP |
Number | Date | Country | |
---|---|---|---|
20070030074 A1 | Feb 2007 | US |