Fundamentals of Microelectronics
.pdf
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
441 (1) |
|
|
|
|
Sec. 9.2 |
Current Mirrors |
441 |
Exercise
Repeat the above example for a reference current of 150 A.
Effect of Base Current We have thus far neglected the base current drawn from node X in Fig. 9.26(a) by all transistors, an effect leading to a significant error as the number of copies (i.e., the total copied current) increases. The error arises because a fraction of IREF flows through the bases rather than through the collector of QREF . We analyze the error with the aid of the diagram shown in Fig. 9.30, where AE and nAE denote one unit transistor and n unit transistors,
VCC
I REF
|
I copy |
Q REF |
Q 1 |
A E |
nA E |
I copy |
I copy |
n β |
β |
Figure 9.30 Error due to base currents.
respectively. Our objective is to calculate Icopy, recognizing that QREF and Q1 still have equal base-emitter voltages and hence carry currents with a ratio of n. Thus, the base currents of Q1 and QREF can be expressed as
I |
= Icopy |
|
|
|
|
|
(9.98) |
||
B1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IB;REF |
= |
Icopy |
|
1 |
: |
|
|
(9.99) |
|
|
|
|
|
|
n |
|
|
|
|
Writing a KCL at X therefore yields |
|
|
|
|
|
|
|
|
|
IREF = IC;REF |
+ Icopy |
|
1 |
+ Icopy |
; |
(9.100) |
|||
|
|
|
|
|
n |
|
|
|
|
which, since IC;REF = Icopy=n, leads to |
|
|
|
|
|
|
|
|
|
Icopy = |
|
nIREF |
|
|
: |
|
(9.101) |
||
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|||
1 + |
1 (n + 1) |
|
|
||||||
|
|
|
|
|
|
|
|
|
|
For a large and moderate n, the second term in the denominator is much less than unity and Icopy nIREF . However, as the copied current (/ n) increases, so does the error in Icopy.
To suppress the above error, the bipolar current mirror can be modified as illustrated in Fig. 9.31. Here, emitter follower QF is interposed between the collector of QREF and node X, thereby reducing the effect of the base currents by a factor of . More specifically, assuming IC;F IE;F , we can repeat the above analysis by writing a KCL at X:
IC;F = |
Icopy |
+ Icopy |
|
1 |
; |
(9.102) |
|
|
|
|
n |
|
|
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
442 (1) |
|
|
|
|
442 |
Chap. 9 |
Cascode Stages and Current Mirrors |
|
|
VCC |
|
|
I REF |
I B,F |
I C,F |
|
|
Q F |
I copy |
|||
P |
|
|||
|
Q REF |
X |
Q 1 |
|
A E |
nA E |
|||
I copy |
I copy |
|||
|
|
|||
|
n β |
β |
|
Figure 9.31 Addition of emitter follower to reduce error due to base currents.
obtaining the base current of QF as
I |
= Icopy |
1 + 1 : |
|||||
B;F |
|
2 |
|
|
n |
|
|
|
|
|
|
|
|||
Another KCL at node P gives |
|
|
|
|
|
|
|
IREF = IB;F + IC;REF |
|
||||||
= |
Icopy |
1 + 1 |
+ Icopy |
||||
|
2 |
|
|
n |
|
n |
|
and hence |
|
|
|
|
|
|
|
Icopy = |
|
nIREF |
: |
||||
|
|
|
|
|
|||
|
|
1 |
|
|
|||
|
1 + |
(n + 1) |
|
||||
|
|
|
|||||
|
2 |
|
|||||
That is, the error is lowered by a factor of .
(9.103)
(9.104)
(9.105)
(9.106)
Example 9.16
Compute the error in Icopy1 and Icopy2 in Fig. 9.29 before and after adding a follower.
Solution
Noting that Icopy1, Icopy2, and IC;REF (the total current flowing through four unit transistors) still retain their nominal ratios (why?), we write a KCL at X:
I |
= I |
+ Icopy1 |
+ Icopy2 |
+ IC;REF |
REF |
C;REF |
|
|
|
|
|
=4Icopy1 + Icopy1 + 10Icopy1 + IC;REF :
Thus,
I 1 = IREF copy 15
4 +
Icopy2 = 10IREF15 :
4 +
With the addition of emitter follower (Fig. 9.32), we have at X:
(9.107)
(9.108)
(9.109)
(9.110)
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
443 (1) |
|
|
|
|
Sec. 9.2 |
Current Mirrors |
443 |
I REF |
|
VCC |
|
|
0.2 mA |
|
|
|
P |
Q F |
I copy1 |
|
|
Q 1 |
|
|
|
X |
A E |
|
|
|
|
|
|
4A E |
I copy2 |
|
|
|
10A E |
|
|
|
Q 2 |
Figure 9.32
I = IC;REF |
+ Icopy1 |
|
C;F |
|
|
|
||
= |
4Icopy1 |
+ Icopy1 |
|
|
|
= |
15Icopy1 : |
|
|
|
|
+ Icopy2
+ 10Icopy1
A KCL at P therefore yields
IREF = 15Icopy1 + IC;REF
2
= 15Icopy1 + 4I 1;2 copy
and hence
Icopy1 = IREF
15
4 + 2
Icopy2 = 10IREF15 :
4 + 2
(9.111)
(9.112)
(9.113)
(9.114)
(9.115)
(9.116)
(9.117)
Exercise
Calculate Icopy1 if one of the four unit transistors is omitted, i.e., the reference transistor has an area of 3AE.
PNP Mirrors Consider the common-emitter stage shown in Fig. 9.33(a), where a current source serves as a load to achieve a high voltage gain. The current source can be realized as a pnp transistor operating in the active region [Fig. 9.33(b)]. We must therefore define the bias current of Q2 properly. In analogy with the npn counterpart of Fig. 9.23(c), we form the pnp current mirror depicted in Fig. 9.33(c). For example, if QREF and Q2 are identical and the base currents negligible, then Q2 Q1 carries a current equal to IREF .
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
444 (1) |
|
|
|
|
444 |
|
|
Chap. 9 |
Cascode Stages and Current Mirrors |
||
|
VCC |
VCC |
|
|
VCC |
|
|
I |
Vb |
Q 2 |
Q REF |
X |
Q 2 |
|
1 |
|
|
|
||
|
|
v out |
v out |
|
|
v out |
v in |
Q 1 |
v in |
Q 1 |
I REF |
v in |
Q 1 |
|
(a) |
|
(b) |
|
(c) |
|
Figure 9.33 (a) CE stage with current-source load, (b) realization of current source by a pnp device, (c) proper biasing of Q2.
Example 9.17
Design the circuit of Fig. 9.33(c) for a voltage gain of 100 and a power budget of 2 mW. Assume
VA;npn = 5 V, VA;pnp = 4 V, IREF = 100 A, and VCC = 2:5 V.
Solution
From the power budget and VCC = 2:5 V, we obtain a total supply current of 800 A, of which 100 A is dedicated to IREF and QREF . Thus, Q1 and Q2 are biased at a current of 700 A, requiring that the (emitter) area of Q2 be 7 times that of QREF . (For example, QREF incorporates one unit device and Q1 seven unit devices.)
The voltage gain can be written as
Av = ,gm1(rO1jjrO2) |
(9.118) |
|||
= , |
1 |
|
VA;npnVA;pnp |
(9.119) |
|
|
|||
|
VT |
VA;npn + VA;pnp |
|
|
= ,85:5: |
|
(9.120) |
||
What happened here?! We sought a gain of 100 but inevitably obtained a value of 85.5! This is because the gain of the stage is simply given by the Early voltages and VT , a fundamental constant of the technology and independent of the bias current. Thus, with the above choice of Early voltages, the circuit's gain cannot reach 100.
Exercise
What Early voltage is necessary for a voltage gain of 100?
We must now address an interesting problem. In the mirror of Fig. 9.23(c), it is assumed that the golden current flows from VCC to node X, whereas in Fig. 9.33(c) it flows from X to ground. How do we generate the latter from the former? It is possible to combine the npn and pnp mirrors for this purpose, as illustrated in Fig. 9.34. Assuming for simplicity that QREF1, QM , QREF2, and Q2 are identical and neglecting the base currents, we observe that QM draws a current of IREF from QREF2, thereby forcing the same current through Q2 and Q1. We can also create various scaling scenarios between QREF1 and QM and between QREF2 and Q2. Note that the base currents introduce a cumulative error as IREF is copied onto IC;M , and IC;M onto IC2.
Example 9.18
We wish to bias Q1 and Q2 in Fig. 9.34 at a collector current of 1 mA while IREF = 25 A.
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
445 (1) |
|
|
|
|
Sec. 9.2 |
Current Mirrors |
|
|
445 |
|
|
|
|
VCC |
|
I REF |
|
Q REF2 |
Q 2 |
|
|
|
X 2 |
v out |
|
|
|
|
|
|
|
I C,M |
v in |
Q 1 |
|
|
|
||
|
Q REF1 |
X 1 |
Q M |
|
|
|
|
|
Figure 9.34 Generation of current for pnp devices.
Choose the scaling factors in the circuit so as to minimize the number of unit transistors.
Solution
For an overall scaling factor of 1 mA=25 A = 40, we can choose either |
|
IC;M = 8IREF |
(9.121) |
jIC2j = 5IC;M |
(9.122) |
or |
|
IC;M = 10IREF |
(9.123) |
jIC2j = 4IC;M : |
(9.124) |
(In each case, the npn and pnp scaling factors can be swapped.) In the former case, the four transistors in the current mirror circuitry require 15 units, and in the latter case, 16 units. Note that we have implicitly dismissed the case IC;M = 40IC;REF1 and IC2 = IC;REF2 as it would necessitate 43 units.
Exercise
Calculate the exact value of IC2 if = 50 for all transistors.
Example 9.19
An electrical engineering student purchases two nominally identical discrete bipolar transistors and constructs the current mirror shown in Fig. 9.23(c). Unfortunately, Icopy is 30% higher than IREF . Explain why.
Solution
It is possible that the two transistors were fabricated in different batches and hence underwent slightly different processing. Random variations during manufacturing may lead to changes in the device parameters and even the emitter area. As a result, the two transistors suffer from significant IS mismatch. This is why current mirrors are rarely used in discrete design.
Exercise
How much IS mismatch results in a 30% collector current mismatch?
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
446 (1) |
|
|
|
|
446 |
Chap. 9 |
Cascode Stages and Current Mirrors |
9.2.3 MOS Current Mirror
The developments in Section 9.2.2 can be applied to MOS current mirrors as well. In particular, drawing the MOS counterpart of Fig. 9.23(a) as in Fig. 9.35(a), we recognize that the black box must generate VX such that
|
VDD |
|
VDD |
|
VDD |
|
I REF |
I copy1 |
I REF |
|
I REF |
|
I copy |
|
|
|
||||
? |
X |
M REF |
VX |
M REF |
X |
M 1 Current |
M 1 |
|
|
|
Mirror |
||
|
VGS |
|
|
|
|
|
|
(a) |
|
(b) |
|
(c) |
|
Figure 9.35 (a) Conceptual illustration of copying a current by an NMOS device, (b) generation of a voltage proportional to square root of current, (c) MOS current mirror.
1 |
C |
|
W |
(V , V |
TH1 |
)2 = I |
|
; |
(9.125) |
|
2 |
n |
ox |
L |
1 |
X |
|
REF |
|
|
|
where channel-length modulation is neglected. Thus, the black box must satisfy the following input (current)/output (voltage) characteristic:
VX = uv |
2IREF |
|
+ VTH1 : |
(9.126) |
|
|
|||
W |
|
|||
t nCox L |
1 |
|
||
That is, it must operate as a “square-root” circuit. From Chapter 6, we recall that a diodeconnected MOSFET provides such a characteristic [Fig. 9.35(b)], thus arriving at the NMOS current mirror depicted in Fig. 9.35(c). As with the bipolar version, we can view the circuit's operation from two perspectives: (1) MREF takes the square root of IREF and M1 squares the result; or (2) the drain currents of the two transistors can be expressed as
ID;REF = |
1 |
nCox W |
(VX , VTH )2 |
(9.127) |
||
|
2 |
|
L |
REF |
|
|
Icopy = |
1 |
nCox W |
(VX , VTH)2; |
(9.128) |
||
|
2 |
|
L |
1 |
|
|
where the threshold voltages are assumed equal. It follows that |
|
|||||
|
|
|
W |
|
|
|
Icopy = |
L |
1 |
IREF ; |
(9.129) |
||
|
|
|
W |
|
|
|
|
|
|
L REF |
|
||
which reduces to Icopy = IREF if the two transistors are identical.
Example 9.20
The student working on the circuits in Examples 9.12 and 9.13 decides to try the MOS counterpart, thinking that the gate current is zero and hence leaving the gates floating (Fig. 9.36). Explain what happens.
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
447 (1) |
|
|
|
|
Sec. 9.2 |
Current Mirrors |
447 |
|
|
VDD |
|
I REF |
I copy ? |
|
M REF |
X |
|
M 1 |
Floating
Node
Figure 9.36
Solution
This circuit is not a current mirror because only a diode-connected device can establish (9.129) and hence a copy current independent of device parameters and temperature. Since the gates of MREF and M1 are floating, they can assume any voltage, e.g., an initial condition created at node X when the power supply is turned on. In other words, Icopy is very poorly defined.
Exercise
Is MREF always off in this circuit?
Generation of additional copies of IREF with different scaling factors also follows the principles shown in Fig. 9.26. The following example illustrates these concepts.
Example 9.21
An integrated circuit employs the source follower and the common-source stage shown in Fig. 9.37(a). Design a current mirror that produces I1 and I2 from a 0.3-mA reference.
|
VDD |
|
VDD |
Vin1 |
M 1 |
Vin2 |
M 2 |
|
Vout1 |
|
Vout2 |
0.2 mA |
I 1 |
0.5 mA |
I 2 |
(a)
|
|
|
VDD |
|
|
Vin1 |
|
M 1 |
|
|
VDD |
|
V |
|
|
|
|
out1 |
|
I REF |
0.3 mA |
|
I 1 |
|
M I1 |
||||
3 (W |
|
|||
( |
|
|
||
L |
M REF 2 |
(W |
( |
|
|
||||
L
(b)
Figure 9.37
VDD
Vin2 

M 2

Vout2
I 2
M I2
5 (W |
( |
L |
|
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
448 (1) |
|
|
|
|
448 |
Chap. 9 |
Cascode Stages and Current Mirrors |
Solution
Following the methods depicted in Figs. 9.28 and 9.29, we select an aspect ratio of 3(W=L) for the diode-connected device, 2(W=L) for MI1, and 5(W=L) for MI2. Figure 9.37(b) shows the overall circuit.
Exercise
Repeat the above example if IREF = 0:8 mA.
Since MOS devices draw a negligible gate current,6 MOS mirrors need not resort to the technique shown in Fig. 9.31. On the other hand, channel-length modulation in the current-source transistors does lead to additional errors. Investigated in Problem 53, this effect mandates circuit modifications that are described in more advanced texts [1].
The idea of combining NMOS and PMOS current mirrors follows the bipolar counterpart depicted in Fig. 9.34. The circuit of Fig. 9.38 exemplifies these ideas.
|
CS |
|
|
|
Stage |
Follower |
|
|
VDD |
|
|
|
Vout1 |
Vout2 |
|
VDD |
Vin1 |
Vin2 |
|
I REF |
|||
|
|
||
|
|
CS |
|
M REF |
Follower |
Stage |
|
|
VDD |
||
|
|
||
|
Vin3 |
Vin4 |
|
|
Vout3 |
Vout4 |
Figure 9.38 NMOS and PMOS current mirrors in a typical circuit.
9.3 Chapter Summary
Stacking a transistor atop another forms a cascode structure, resulting in a high output impedance.
The cascode topology can also be considered an extreme case of source or emitter degeneration.
6In deep-submicron CMOS technologies, the gate oxide thickness is reduced to less than 30 A, leading to “tunneling” and hence noticeable gate current. This effect is beyond the scope of this book.
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
449 (1) |
|
|
|
|
Sec. 9.3 |
Chapter Summary |
449 |
The voltage gain of an amplifier can be expressed as ,GmRout, where Gm denotes the short-circuit transconductance of the amplifier. This relationship indicates that the gain of amplifiers can be maximized by maximing their output impedance.
With its high output impedance, a cascode stage can operate as a high-gain amplifier.
The load of a cascode stage is also realized as a cascode circuit so as to approach an ideal current source.
Setting the bias currents of analog circuits to well-defined values is difficult. For example, resistive dividers tied to the base or gate of transistors result in supplyand temperaturedependent currents.
If VBE or VGS are well-defined, then IC or ID are not.
Current mirrors can “copy” a well-defined reference current numerous times for various blocks in an analog system.
Current mirrors can scale a reference current by integer or non-integer factors.
Current mirrors are rarely used in disrcete design as their accuracy depends on matching between transistors.
Problems
1.In the bipolar cascode stage of Fig. 9.2(a), IS = 6 10,17 A and = 100 for both transistors. Neglect the Early effect.
(a)Compute Vb2 for a bias current of 1 mA.
(b)Noting that VCE2 = Vb1 ,VBE1, determine the value of Vb1 such that Q2 experiences a base-collector forward bias of only 300 mV.
2.Consider the cascode stage depicted in Fig. 9.39, where VCC = 2:5 V.
VCC
R C
V1
Vb1

Q 1
Vb2

Q 2
Figure 9.39
(a)Repeat Problem 1 for this circuit, assuming a bias current of 0.5 mA.
(b)With the minimum allowable value of Vb1, compute the maximum allowable value of RC such that Q1 experiences a base-collector forward bias of no more than 300 mV.
3.In the circuit of Fig. 9.39, we have chosen RC = 1 k and VCC = 2:5 V. Estimate the maximum allowable bias current if each transistor sustains a base-collector forward bias of 200 mV.
4.Due to a manufacturing error, a parasitic resistor RP has appeared in the cascode circuits of Fig. 9.40. Determine the output resistance in each case.
5.Repeat Example 9.1 for the circuit shown in Fig. 9.41, assuming I1 is ideal and equal to 0.5 mA, i.e., IC1 = 0:5 mA while IC2 = 1 mA.
6.Suppose the circuit of Fig. 9.41 is realized as shown in Fig. 9.42, where Q3 plays the role of
BR |
Wiley/Razavi/Fundamentals of Microelectronics [Razavi.cls v. 2006] |
June 30, 2007 at 13:42 |
450 (1) |
|
|
|
|
450
R out
Vb1


Q 1
R P
Vb2

Q 2
(a)
Figure 9.40
Figure 9.41
Figure 9.42
Chap. 9 Cascode Stages and Current Mirrors
|
R out |
|
R out |
|
R out |
Vb1 |
Q 1 |
Vb1 |
Q 1 |
Vb1 |
Q 1 |
RP |
|
|
|
RP |
|
|
|
|
Q 2 |
|
|
|
|
|
|
|
|
Vb2 |
Q 2 |
Vb2 |
RP |
Vb2 |
Q 2 |
|
(b) |
|
(c) |
|
(d) |
|
|
R out |
VCC |
|
|
|
|
|
|
|
|
|
Vb1 |
Q 1 |
I 1 |
|
|
|
Vb2 |
Q 2 |
|
|
|
R out
VCC
Vb1

Q 1 Q 3
Vb3
Vb2

Q 2
I1. Assuming VA1 = VA2 = VA;n and VA3 = VA;p, determine the output impedance of the circuit.
7.Excited by the output impedance “boosting” capability of cascodes, a student decides to extend the idea as illustrated in Fig. 9.43. What is the maximum output impedance that the
R out
Vb1

Q 1
Vb2

Q 2
Vbn

Q n
Figure 9.43
student can achieve? Assume the transistors are identical.
8.While constructing a cascode stage, a student adventurously swaps the collector and base terminals of the degeneration transistor, arriving at the circuit shown in Fig. 9.44.
