Engineering:Widlar current source

From HandWiki
Revision as of 09:19, 14 February 2024 by Scavis2 (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Electronic circuit
Diagram from Widlar's original patent

A Widlar current source is a modification of the basic two-transistor current mirror that incorporates an emitter degeneration resistor for only the output transistor, enabling the current source to generate low currents using only moderate resistor values.[1][2][3]

The Widlar circuit may be used with bipolar transistors, MOS transistors, and even vacuum tubes. An example application is the 741 operational amplifier,[4] and Widlar used the circuit as a part in many designs.[5]

This circuit is named after its inventor, Bob Widlar, and was patented in 1967.[6][7]

DC analysis

Figure 1: A version of the Widlar current source using bipolar transistors.

Figure 1 is an example Widlar current source using bipolar transistors, where the emitter resistor R2 is connected to the output transistor Q2, and has the effect of reducing the current in Q2 relative to Q1. The key to this circuit is that the voltage drop across the resistor R2 subtracts from the base-emitter voltage of transistor Q2, thereby turning this transistor off compared to transistor Q1. This observation is expressed by equating the base voltage expressions found on either side of the circuit in Figure 1 as:

[math]\displaystyle{ \begin{align} &V_B = V_{BE1} = V_{BE2} + (\beta_2 + 1)I_{B2}R_2 \\ \Rightarrow {} &\frac{1}{R_2}\left(V_{BE1} - V_{BE2}\right) = (\beta_2 + 1)I_{B2}\ , \end{align} }[/math]

where β2 is the beta-value of the output transistor, which is not the same as that of the input transistor, in part because the currents in the two transistors are very different.[8] The variable IB2 is the base current of the output transistor, VBE refers to base-emitter voltage. This equation implies (using the Shockley diode equation):

Eq. 1

[math]\displaystyle{ \begin{align} (\beta_2 + 1)I_{B2} &= \left(1 + \frac{1}{\beta_2} \right) I_{C2} = \frac{1}{R_2} \left(V_{BE1} - V_{BE2}\right) \\ &= \frac{V_\text{T}}{R_2} \left[ \ln\left(I_{C1}/I_{S1}\right) - \ln\left(I_{C2}/I_{S2}\right) \right] = \frac{V_\text{T}}{R_2} \ln \left(\frac{I_{C1}I_{S2}}{I_{C2}I_{S1}}\right)\ , \end{align} }[/math]

where VT is the thermal voltage.

This equation makes the approximation that the currents are both much larger than the scale currents, IS1 and IS2; an approximation valid except for current levels near cut off. In the following, the scale currents are assumed to be identical; in practice, this needs to be specifically arranged.

Design procedure with specified currents

To design the mirror, the output current must be related to the two resistor values R1 and R2. A basic observation is that the output transistor is in active mode only so long as its collector-base voltage is non-zero. Thus, the simplest bias condition for design of the mirror sets the applied voltage VA to equal the base voltage VB. This minimum useful value of VA is called the compliance voltage of the current source. With that bias condition, the Early effect plays no role in the design.[9]

These considerations suggest the following design procedure:

  • Select the desired output current, IO = IC2.
  • Select the reference current, IR1, assumed to be larger than the output current, probably considerably larger (that is the purpose of the circuit).
  • Determine the input collector current of Q1, IC1:
[math]\displaystyle{ I_{C1} = \frac{\beta_1}{\beta_1+1} \left( I_{R1} - \frac{I_{C2}}{\beta_2} \right)\ . }[/math]
  • Determine the base voltage VBE1 using the Shockley diode law
[math]\displaystyle{ V_{BE1} = V_\text{T} \ln \left(\frac{I_{C1}} {I_S} \right) = V_A\ . }[/math]
where IS is a device parameter sometimes called the scale current.
The value of base voltage also sets the compliance voltage VA = VBE1. This voltage is the lowest voltage for which the mirror works properly.
  • Determine R1:
[math]\displaystyle{ R_1 = \frac {V_{CC} - V_A}{I_{R1}}\ . }[/math]
  • Determine the emitter leg resistance R2 using Eq. 1 (to reduce clutter, the scale currents are chosen equal):
[math]\displaystyle{ R_2 = \frac{V_\text{T}}{\left(1 + \frac{1}{\beta_2} \right) I_{C2}} \ln \left(\frac {I_{C1}}{I_{C2}}\right)\ . }[/math]

Finding the current with given resistor values

The inverse of the design problem is finding the current when the resistor values are known. An iterative method is described next. Assume the current source is biased so the collector-base voltage of the output transistor Q2 is zero. The current through R1 is the input or reference current given as,

[math]\displaystyle{ \begin{align} I_{R1} &= I_{C1} + I_{B1} + I_{B2} \\ &= I_{C1} + \frac{I_{C1}}{\beta_1} + \frac{I_{C2}}{\beta_2} \\ &= \frac{1}{R_1} \left(V_{CC} - V_{BE1}\right) \end{align} }[/math]

Rearranging, IC1 is found as:

Eq. 2

[math]\displaystyle{ I_{C1} = \frac{\beta_1}{\beta_1 + 1} \left( \frac{V_{CC} - V_{BE1}}{R_1} - \frac{I_{C2}}{\beta_2} \right) }[/math]

The diode equation provides:

Eq. 3

[math]\displaystyle{ V_{BE1} = V_\text{T} \ln \left( \frac{I_{C1}}{I_{S1}}\right) \ . }[/math]

Eq.1 provides:

[math]\displaystyle{ I_{C2} = \frac{V_\text{T}}{\left(1 + \frac{1}{\beta_2} \right) R_2} \ln \left(\frac {I_{C1}}{I_{C2}}\right)\ . }[/math]

These three relations are a nonlinear, implicit determination for the currents that can be solved by iteration.

  • We guess starting values for IC1 and IC2.
  • We find a value for VBE1:
    [math]\displaystyle{ V_{BE1} = V_\text{T} \ln \left( \frac{I_{C1}}{I_{S1}}\right) \ . }[/math]
  • We find a new value for IC1:
    [math]\displaystyle{ I_{C1} = \frac{\beta_1}{\beta_1 + 1} \left( \frac {V_{CC} - V_{BE1}}{R_1} - \frac{I_{C2}}{\beta_2} \right) }[/math]
  • We find a new value for IC2:
    [math]\displaystyle{ I_{C2} = \frac{V_\text{T}}{\left(1 + \frac{1}{\beta_2} \right) R_2} \ln \left(\frac{I_{C1}}{I_{C2}}\right)\ . }[/math]

This procedure is repeated to convergence, and is set up conveniently in a spreadsheet. One simply uses a macro to copy the new values into the spreadsheet cells holding the initial values to obtain the solution in short order.

Note that with the circuit as shown, if VCC changes, the output current will change. Hence, to keep the output current constant despite fluctuations in VCC, the circuit should be driven by a constant current source rather than using the resistor R1.

Exact solution

The transcendental equations above can be solved exactly in terms of the Lambert W function.

Output impedance

Figure 2: Small-signal circuit for finding output resistance of the Widlar source shown in Figure 1. A test current Ix is applied at the output, and the output resistance is then RO = Vx / Ix.

An important property of a current source is its small signal incremental output impedance, which should ideally be infinite. The Widlar circuit introduces local current feedback for transistor [math]\displaystyle{ \scriptstyle Q_{2} }[/math]. Any increase in the current in Q2 increases the voltage drop across R2, reducing the VBE for Q2, thereby countering the increase in current. This feedback means the output impedance of the circuit is increased, because the feedback involving R2 forces use of a larger voltage to drive a given current.

Output resistance is found using a small-signal model for the circuit, shown in Figure 2. Transistor Q1 is replaced by its small-signal emitter resistance rE because it is diode connected.[10] Transistor Q2 is replaced with its hybrid-pi model. A test current Ix is attached at the output.

Using the figure, the output resistance is determined using Kirchhoff's laws. Using Kirchhoff's voltage law from the ground on the left to the ground connection of R2:

[math]\displaystyle{ I_b \left[ ( R_1 \parallel r_E ) + r_\pi \right] + [I_x + I_b] R_2 = 0 \ . }[/math]

Rearranging:

[math]\displaystyle{ I_b = -I_x \frac{R_2}{( R_1 \parallel r_E ) + r_\pi + R_2} \ . }[/math]

Using Kirchhoff's voltage law from the ground connection of R2 to the ground of the test current:

[math]\displaystyle{ V_x = I_x (R_2 + r_O) + I_b (R_2 - \beta r_O)\ , }[/math]

or, substituting for Ib:

Eq. 4

[math]\displaystyle{ R_O = \frac{V_x}{I_x} = r_O \left[ 1 + \frac{\beta R_2}{( R_1 \parallel r_E ) + r_\pi + R_2} \right] }[/math]  [math]\displaystyle{ + \ R_2 \left[ \frac{( R_1 \parallel r_E ) + r_\pi}{( R_1 \parallel r_E ) + r_\pi + R_2} \right] \ . }[/math]

According to Eq. 4, the output resistance of the Widlar current source is increased over that of the output transistor itself (which is rO) so long as R2 is large enough compared to the rπ of the output transistor (large resistances R2 make the factor multiplying rO approach the value (β + 1)). The output transistor carries a low current, making rπ large, and increase in R2 tends to reduce this current further, causing a correlated increase in rπ. Therefore, a goal of R2rπ can be unrealistic, and further discussion is provided below. The resistance R1rE usually is small because the emitter resistance rE usually is only a few ohms.

Current dependence of output resistance

Figure 3: Design trade-off between output resistance and output current.
Top panel: Circuit output resistance RO vs. DC output current IC2 using the design formula of Eq. 5 for R2 ;
Center panel: Resistance RO2 in output transistor emitter leg;
Bottom panel: Feedback factor contributing to output resistance. Current in the reference transistor Q1 is held constant, thereby fixing the compliance voltage. Plots assume IC1 = 10 mA, VA = 50 V, VCC = 5 V, IS = 10 fA, β1, 2 = 100 independent of current.

The current dependence of the resistances rπ and rO is discussed in the article hybrid-pi model. The current dependence of the resistor values is:

[math]\displaystyle{ r_\pi = \frac{v_{be}}{i_b}\Bigg|_{v_{ce} = 0} = \frac{V_\text{T}}{I_\text{B2}} = \beta_2\frac{V_\text{T}}{I_\text{C2}}\ , }[/math]

and

[math]\displaystyle{ r_O = \frac{v_{ce}}{i_c}\Bigg|_{v_{be} = 0} = \frac {V_A}{I_{C2}} }[/math]

is the output resistance due to the Early effect when VCB = 0 V (device parameter VA is the Early voltage).

From earlier in this article (setting the scale currents equal for convenience): Eq. 5

[math]\displaystyle{ R_2 = \frac{V_\text{T}}{\left(1 + \frac{1}{\beta_2} \right) I_{C2}} \ln \left(\frac {I_{C1}}{I_{C2}}\right)\ . }[/math]

Consequently, for the usual case of small rE, and neglecting the second term in RO with the expectation that the leading term involving rO is much larger: Eq. 6

[math]\displaystyle{ \begin{align} R_O &\approx r_O \left( 1 + \frac{\beta_2 R_2}{r_\pi + R_2} \right) \\ &= r_O \left( 1 + \frac{\beta_2 \ln \left(\frac{I_{C1}}{I_{C2}}\right)}{\beta_2 + 1 + \ln \left(\frac {I_{C1}}{I_{C2}}\right)} \right) \end{align} }[/math]

where the last form is found by substituting Eq. 5 for R2. Eq. 6 shows that a value of output resistance much larger than rO of the output transistor results only for designs with IC1 >> IC2. Figure 3 shows that the circuit output resistance RO is not determined so much by feedback as by the current dependence of the resistance rO of the output transistor (the output resistance in Figure 3 varies four orders of magnitude, while the feedback factor varies only by one order of magnitude).

Increase of IC1 to increase the feedback factor also results in increased compliance voltage, not a good thing as that means the current source operates over a more restricted voltage range. So, for example, with a goal for compliance voltage set, placing an upper limit upon IC1, and with a goal for output resistance to be met, the maximum value of output current IC2 is limited.

The center panel in Figure 3 shows the design trade-off between emitter leg resistance and the output current: a lower output current requires a larger leg resistor, and hence a larger area for the design. An upper bound on area therefore sets a lower bound on the output current and an upper bound on the circuit output resistance.

Eq. 6 for RO depends upon selecting a value of R2 according to Eq. 5. That means Eq. 6 is not a circuit behavior formula, but a design value equation. Once R2 is selected for a particular design objective using Eq. 5, thereafter its value is fixed. If circuit operation causes currents, voltages or temperatures to deviate from the designed-for values; then to predict changes in RO caused by such deviations, Eq. 4 should be used, not Eq. 6.

See also

References

  1. PR Gray, PJ Hurst, SH Lewis & RG Meyer (2001). Analysis and design of analog integrated circuits (4th ed.). John Wiley and Sons. pp. §4.4.1.1 pp. 299–303. ISBN 0-471-32168-0. http://www.worldcat.org/search?q=0471321680&qt=owc_search. 
  2. AS Sedra; KC Smith (2004). Microelectronic circuits (5th ed.). Oxford University Press. pp. Example 6.14, pp. 654–655. ISBN 0-19-514251-9. http://www.worldcat.org/search?q=0195142519&qt=owc_search. 
  3. MH Rashid (1999). Microelectronic circuits: analysis and design. PWS Publishing Co.. pp. 661–665. ISBN 0-534-95174-0. http://www.worldcat.org/search?q=0534951740&qt=owc_search. 
  4. AS Sedra; KC Smith (2004). §9.4.2, p. 899 (5th ed.). ISBN 0-19-514251-9. http://www.worldcat.org/search?q=0195142519&qt=owc_search. 
  5. See, for example, Figure 2 in IC voltage regulators.
  6. RJ Widlar: US Patent Number 03320439; Filed May 26, 1965; Granted May 16, 1967: Low-value current source for integrated circuits
  7. See Widlar: Some circuit design techniques for linear integrated circuits and Design techniques for monolithic operational amplifiers
  8. PR Gray, PJ Hurst, SH Lewis & RG Meyer (2001). Figure 2.38, p. 115. ISBN 0-471-32168-0. http://www.worldcat.org/search?q=0471321680&qt=owc_search. 
  9. Of course, one might imagine a design where the output resistance of the mirror is a major consideration. Then a different approach is necessary.
  10. In a diode-connected transistor the collector is short-circuited to the base, so the transistor collector-base junction has no time-varying voltage across it. As a result, the transistor behaves like the base-emitter diode, which at low frequencies has a small-signal circuit that is simply the resistor rE = VT / IE, with IE the DC Q-point emitter current. See diode small-signal circuit.

Further reading

de:Stromspiegel#Beispiele