1. Field of the Invention
This invention relates to electronic circuits, and more particularly, to circuits utilizing current limiting.
2. Description of the Related Art
The use of voltage regulator circuits in electronic power supplies is very widespread. Voltage regulator circuits are used to provide a steady output voltage to the electronic circuit to which power is being supplied, typically referred to as the load. More particularly, the object of a voltage regulator circuit is to maintain a steady output voltage regardless of current drawn by the load.
One measure of the effectiveness of a voltage regulator circuit is its ability to respond to system transients. For example, if the load coupled to a voltage regulator is an integrated circuit (IC) in which a large number of drivers may switch states simultaneously, the demand for current from the voltage regulator may change suddenly. An ideal voltage regulator is able to meet the demand for increased current while maintaining its designed output voltage Vout. However, this may not always be practical for a given voltage regulator circuit and a given load. In practice, a load capacitance (coupled between the voltage output node and ground) is typically provided in order to meet the immediate demand for increased current. Using the circuit shown in
Modern electronic systems have placed increased demands on the operation of voltage regulator circuits. IC's having a large number of I/O pins (and thus a large number of drivers) can significantly change the current demand from a power supply system in an instant. Due to the high operational speed at which many IC's operate, voltage regulator circuits must be able to respond to this changing demand while maintaining an both an output voltage within a specified tolerance and the ability to recharge the load capacitance. This requires a voltage regulator circuit that responds quickly to transients. Furthermore, in some situations, a circuit used to implement a voltage regulator may be subject to short circuit or overload conditions for a significant amount of time. In such cases, the circuit may become damaged without protection against excessive currents that may result from such conditions. Similarly, other types of circuits (e.g., amplifiers) may also be susceptible to problems similar to those discussed above with regard to voltage regulators.
An electronic circuit is disclosed. In one embodiment, the electronic circuit includes a pass transistor having a channel coupled between an input node and an output node. An error circuit is coupled thereto and configured to control the amount of current flowing through the pass transistor. The electronic circuit may further include a feedback node. A current limiting circuit is coupled to both the feedback node and the error circuit. The current limiting circuit is configured to limit an amount of current provided to the pass transistor by the error circuit based on a on a feedback voltage present on the feedback node and a current through a current mirror circuit, and therefore limits the output current provided by the electronic circuit.
In one embodiment, the current limiting circuit includes a transistor having a channel coupled between the error circuit and ground node. If the feedback voltage falls below the transistor's threshold voltage, the transistor will turn off and thereby limit the amount of current flowing between the input node and the ground node (and thus limit current through both the current mirror and the error circuit). In this manner, short circuit current is limited using a technique known as foldback current limiting. Embodiments that do not utilize foldback limiting are also possible and contemplated.
In various embodiments, the electronic circuit may include multiple feedback paths, multiple error circuits, and/or multiple current mirror circuits. In one embodiment, the electronic circuit includes a first feedback path coupled to provide a feedback voltage to an error circuit and a second feedback path coupled to provide a second feedback voltage to the current limiting circuit.
The electronic circuit may be used in various applications. For example, the electronic circuit may be implemented as a voltage regulator in one application, or may be implemented as an amplifier in another application. In general, the circuit may be used in any application where foldback current limiting is desired.
Other aspects of the invention will become apparent upon reading the following detailed description and upon reference to the accompanying drawings in which:
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and description thereto are not intended to limit the invention to the particular form disclosed, but, on the contrary, the invention is to cover all modifications, equivalents, and alternatives falling with the spirit and scope of the present invention as defined by the appended claims.
Turning now to
Moving now to
Output stage 100 as shown here is functionally divided into several different circuits, as noted by the dashed-line boxes. In the embodiment shown, output stage 100 includes a first current mirror (which includes transistor MP1 and a pass transistor MP2), an error circuit (which includes error amplifier 105 and transistor MN3), a current limiting circuit (which includes transistor MN2 and also uses the current mirror circuit comprising MN1) and a voltage divider (which includes series-coupled resistors R1 and R2 between Vout and ground). As previously noted, the circuit also includes the second current mirror of MN1, and also includes transistor MN0. Transistors MN0 and MN1 are sized with respect to each other by a ratio of 1:M. A preset current limit is set in this circuit based on the sizes of MN0 and MN1 and the current provided by current source 115.
An input voltage may be provided to output stage 100 on the input voltage node, Vin, which is coupled to the source terminal of pass transistor MP2. An output voltage is conveyed from the output node, which is coupled to the drain terminal of MP2. The amount of current passing through the channel of MP2 may be determined by operation of the current mirror circuit that comprises MP2. It should be noted that embodiments where pass transistor MP2 is implemented without the use of a current mirror are possible and contemplated, although use of the current mirror circuit may provide more control over the output current. Both transistors of the current mirror circuit in this embodiment are metal-oxide semiconductor (MOS) transistors, and more particularly, PMOS transistors (hence the designation ‘MP’; NMOS transistors discussed herein are designated ‘MN’). During normal operation of the circuit, when current is not limited, transistors MN1 and MN2 operate in the triode region. That is, for those transistors operating in the triode region during normal operation of the voltage regulator. When current is limited (as will be discussed further below), transistor MN1 operates in the saturation region, while transistor MN2 may be turned off.
Current passing through both MP1 and MP2 is controlled by current I3, which flows from the gate terminals of each of these transistors. This current is controlled in large part by the error circuit, the operation of which will be discussed in further detail below. In this embodiment, the width-to-length (W/L) ratio of transistor MP2 is significantly greater than that of MP1, and thus it can source more current to the output node Vout. In some embodiments, the W/L ratio of MP2 may be one or more orders of magnitude greater than that of MP1. The relationship between the W/L ratio of MP1 to the W/L ratio of MP2 may also be expressed as 1:N, with N being one or more orders of magnitude greater than 1.
As previously noted, current I3 is determined in large part by the operation of the error circuit. The error circuit in this embodiment includes error amplifier 105 and NMOS transistor MN3. Error amplifier 105 is coupled to receive a reference voltage, Vref, at its non-inverting input, and a feedback voltage, VFB, at its inverting input. The feedback voltage is derived from the voltage divider circuit, and in this embodiment is taken from the junction of resistors R1 and R2. Error amplifier 105 is configured to produce an output signal that may vary depending on the difference in magnitude between the reference voltage and the feedback voltage. In this particular example, the error signal may be proportional to the difference between the voltage magnitudes. The resulting error signal is driven to the gate terminal of transistor MN3, which in turn varies the amount of current (I3) flowing through its channel accordingly.
Output stage 100 includes a current limiting circuit, which in this embodiment comprises transistor MN2, and also includes the current mirror comprising transistor MN1. Transistor MN2 is one of two transistors in this embodiment having a drain terminal coupled to the source terminal of transistor MN3, the other one being MN1. This junction may be referred to as the limit node, since the current flowing into this node, 13, is limited by the operation of transistors MN1 and MN2.
The circuit configuration shown here including the current limiting circuit and the current mirror of MN1, MN0, and current source 115 effectively forms a current divider circuit. Current I3 is split into two currents, I1 and I2. The amount of current I1 is determined by the current divider circuit comprising MN1. Current I1 may mirror the current through current source 115, which provides current I0 to the gate terminals of MN1 and MN0. Above a certain operating point, current I1 may be kept relatively constant. Since current I0 (and therefore I1) is held relatively constant and current I3 cannot exceed I1+I2, variations in I3 in this embodiment will be reflected in the amount of current flowing through transistor MN2.
During the operation of output stage 100, transients in the load may pull the voltage on the output node somewhat lower than the normal Vout set point. In this embodiment, the set point for the output voltage is
Thus, if the output voltage is pulled below this set point, the control loop of the circuit may respond by increasing the value of current I3 to meet the increased current demand at the output. In such a case, the gate terminal of MN2 is driven with a voltage proportional to the output voltage, thereby allowing a certain amount of current I2 and thus an amount of current I3 that may exceed current I1, which cannot exceed M×I0 in this embodiment. Therefore, the amount of current flowing through MN2, when turned on, is controlled by the feedback voltage, and may allow a larger current I3 than that which would be allowed by the current I0 provided by current source 115.
Transistor MN2 may be turned on or off depending on the voltage present on the feedback node of the voltage divider circuit (i.e. VFB). If the feedback voltage falls below the threshold voltage of transistor MN2, it will turn off and thus current I3 will be limited to the amount of current flowing through MN1 of the current mirror, I1. Thus, if the output voltage is pulled sufficiently low by a transient in the load (or a short circuit), the current through transistors MP1, MP2, and MN3 may be limited to an amount that prevents damage to the circuit. Furthermore, limiting the current through MP2 limits the output current, Iout.
In addition to limiting the current, the use of the current limiting circuit may also provide faster operation than a circuit with a conventional feedback loop. Since the feedback node is directly coupled to the gate of MN2, any change in the feedback voltage may act faster on this transistor than on the error circuit. This is due to the fact that the error circuit must measure the difference, amplify the signal, and provide the amplified signal to its output. In contrast, when the feedback voltage changes, the voltage on the gate terminal of MN2 also changes at substantially the same time, and thus varies the current I2, and thus I3.
The second current mirror including transistors MN0 and MN1 may provide for sufficient current to flow to allow for the circuit to power up or to recover from a large transient. In embodiments such as the one shown in
Vin=3.3 volts
Vout=2.5 volts (target output voltage)
VFB=1.22 volts (when Vout @ target voltage)
Vref=1.22 volts
Ratio N: 20,000
MP2 W/L=24,000/0.35.
As can be seen by examining the curve for the embodiment including MN1 and MN2, current at Vout=2.5 volts is approximately 1.5 amperes. As the output voltage falls, the current increases, peaking at around an output voltage of approximately 2.0 volts. This rise in current is due to the operation of the error circuit. As the output voltage falls, the feedback voltage falls as well, resulting in a larger error signal output by error amplifier 105. At this point, the operation of transistor MN3 is dominant on the curve, as current I3 initially increases as the output voltage falls from its target output voltage. During normal operation of the circuit, the increase in current through MP2 (which results in the increase in Iout) is typically sufficient to pull the output voltage back up to its target.
As the output voltage falls below approximately 2.0 volts, the effect of the current limiting circuit (more particularly, transistor MN2 in the embodiment of
In contrast to the circuit of
For the embodiment represented by the curve where only MN1 is used (i.e., similar to that shown in
The example shown begins with the output voltage at 2.5 volts. At this point, the current through MP2 is 0 amperes. At 1.0 μs, the output node of the circuit is hard shorted to ground. Between 1.0 μs and approximately 1.2 μs, current through MP2 rises to approximately 1.4 amperes, before settling at approximately 1.3 amperes. Thus the device current is limited in very short order with almost no overshoot. Because the limiting effect is fast acting, it will effectively limit any inrush current (from Vin) at power up, when the load capacitance is charged.
Moving now to
As an alternative to the embodiment shown in
In this circuit embodiment, the current flowing through MN5 is equal to VFB/R3. This current is mirrored to MN2. In turn, MN2 limits the output current to N(VFB/R3+I1). Thus, for this circuit, the output current is proportional to the output voltage, as shown in
Although the various embodiments of the circuits discussed herein are implemented using MOS transistors, embodiments using bipolar transistors are also possible and contemplated. Embodiments based on transistors opposite of the type of the embodiments shown (i.e. PMOS vs. NMOS) are also possible and contemplated. Specific voltage and current values discussed herein are exemplary. Furthermore, while the circuits have been described herein in terms of use in voltage regulators, these circuits may be used as amplifiers or for other functions. In general, the circuits described herein may be used for any functional implementation where such operation (e.g., foldback current limiting) is required or desired.
While the present invention has been described with reference to particular embodiments, it will be understood that the embodiments are illustrative and that the invention scope is not so limited. Any variations, modifications, additions, and improvements to the embodiments described are possible. These variations, modifications, additions, and improvements may fall within the scope of the inventions as detailed within the following claims.