Current Mirrors
Current Mirrors
Current Mirrors
Introduction
Outline
Definitions
Basic stage for current mirrors
Simple current mirror
Wilson current mirror
Improved Wilson current mirror
Cascode current mirror
Modified cascode current mirror
High-compliance current mirrors (I - II)
Regulated cascode current mirror
Low-voltage current mirrors
Processing part
Bias circuit
Current references
Introduction
Simple current reference
Current references based on a built-in voltage
Current references based on a reference voltage
Voltage references
Introduction
Supply dividers
Voltage references based on a built-in voltage
Voltage references based on the band-gap voltage
Voltage references based on MOS VTH difference
II 2
II Bias circuit
II Bias circuit
Definitions
A current mirror reads a current entering in a read-node and
mirror this current (with a suitable gain factor) to an
output node (nodes)
Applications
Bias
VDD
RL
Circuit
no. 1
Ire
f
Iout = kIRef
Iref
Circuit
no. 2
Iout
k current gain
Read
section
Current Mirror
M1
M2
Ibias
Ibias
Current mirror
Signal path
Current mirror non-idealities
Current mirror
VDD
Read
section
RL
Iout
Iref
Iout
Current Mirror
VCM
Isignal
2Isignal
Isignal
Isignal
rout
Vi+
Q1
Basic trade-off:
Vi-
Ibias
Frequency behaviour
Q2
II 3
II 4
II Bias circuit
II Bias circuit
Current gain
Iref
VDD
Iref
Iout
M1
M1
M2
M1
M2
Iref
M2
Iout
PMOS
NMOS
Iout
M1 operates in saturation
k' W
IRef = I1 = 2 L (VGS1 - VTH)2 (1 + VDS1)
Insert
Vtest
Evaluate
Itest
Calculate
Vtest
rout = Itest
Itest
G
S
If M2 operates in saturation
D
vgs
gmvgs
rds
G
S
rout = rds2 =
Iout = IRef
W
L
(1 + V DS2 )
(1 + V D S 1 )
gmvgs
rds
M2
M1
k' W
Iout = I2 = 2 L (VGS2 - VTH)2 (1 + VDS2)
W
L
Vtest
vgs
1
I2
II 5
II 6
II Bias circuit
II Bias circuit
Iref
Iout
M1
Iref
M2
Iout
VDSsat2
M1
M2
Iin
Iout
G
Vout,min = VDSsat,2
Cgs2
Cgs1
vgs1
gm1vgs1
rds1
vgs2
M1
gm2vgs2
rds2
M2
i out
gm2/gm1
iin = 1+s(Cgs1+Cgs2)/gm1
k = gm2/gm1 = Cgs2/Cgs1
i out
k
iin = 1+s(1+k)Cgs1/gm1
fT = gm1/Cgs1
pole = (gm1/Cgs1)/(1+k) = fT/(1+k)
II 7
II 8
II Bias circuit
II Bias circuit
W
L
1 + VD S 2
Iout
1
IRef = W 1 + V D S 1
L
Threshold offset
Id
Parasitic resistances
Imperfect geometrical matching and current mobility
variation
VGS1=VGS2
VDS
II 9
II 10
II Bias circuit
II Bias circuit
Iref
M1
Iout
M2
I 2
I
Threshold offset
Threshold of MOS transistors in close proximity can differ by
4 mV. For transistors hundred of m apart, the threshold
difference VTh can be 40 mV
k'
Cox
k' and C
are minimized with closed and centroid
ox
common structures
VTH
' = I 1 + 2
Iout
out
V G S - V T H
k' 2
Cox 2
W 2 L 2
= k' + C + W + L
ox
W 2
W +
L 2
AA
AAA
AAA
A
AA
A
AAA
A
AA
AAA
AAA
Iout
Iref
M1
W=W/n
I 2
I
II 11
M2
L 2
1 W'2
= ..... + n W' + L
II 12
II Bias circuit
II Bias circuit
Design example
With the following technological parameter design a simple
current mirror in order that it drives to the output node
1mA and it requires 400mV
Example:
Circuit scheme
Iref
Iout
M2
M1
Layout solution
M2
M2
M1
M1
M2
M2
M1
M1
I Ref
GND
I Out
II 13
II 14
II Bias circuit
II Bias circuit
Iref
Iref
Iout
M3
M3
M1
Iout
M1
M2
M2
VDSsat3
VGS2
VGS1 = VGS2
I1 I2
W
L
1 + VD S 2
Iout
1
IRef = W 1 + (V D S 2 + V G S 3 )
L
2
II 15
II 16
II Bias circuit
II Bias circuit
Output impedance
Iref
Current gain
Iout
M3
M1
Iref
M2
Iout
M4
M3
M1
M2
m 3 gs3
ix
G2
S3
r ds3
m 1 g2
1/g
ds1
m2
vx
VDS1 = VDS2
if
VGS3 = VGS4
(rT = RL //rds1)
W
L
Iout
1
IRef = W
L
vx
1
gm 3 gm 3
rout = i = g + rds3 1 + g + g
gm 1 rT
x
m2
m2
m2
W
1 + V D S 2 L 1
=
1 + V D S 1 W
L
gm3
rout rds3 g gm1rT
m2
Higher voltage for the sensing branch (M1-M4)
RL (i.e. Iref current generator impedance) must be large
II 17
II 18
II Bias circuit
II Bias circuit
Iref
Iout
M4
M3
M1
M2
Iref
Iout
M4
M3
M1
M2
g m 3 vgs3
1/g
m4
G3
g
R
r ds3
m 1 g2
1/g
ds1
VDS1 = VDS2
ix
G2
S3
m2
W
L
if
VGS3 = VGS4
W
L
1 + VD S 2
Iout
1
1
IRef = W 1 + V D S 1 = W
L
L
gm3
R g
gm1 r'T 1 + LR mg4
rout rds3 g
m2
L
m4
The output swing in the Wilson and improved Wilson
schemes is limited to
Vout,min = VGS2 + VDSsat,3 > VTh + 2VDSsat
II 19
II 20
II Bias circuit
II Bias circuit
Iref
M4
VGS4
M3
G3
Iout
1/g
VDS3
R
VGS3
m4
VGS1
M1
m1
M2
ix
S3
1/g
m 3 gs3
r ds2
r ds3
ix= vS3/rds2
ix= vS3/rds2
II 21
II 22
II Bias circuit
II Bias circuit
I Out
I Ref
M9
M8
M5
M6
M4
M3
M1
M2
I Ref
V
M1
I Out
M3
M2
II 23
II 24
II Bias circuit
II Bias circuit
Possible implementation
I Out
I Ref
M4
M5
I Ref
I Out
I Ref
M3
M3
M4
M1
M6
VTH+V
VTH+2V
M2
M1
M2
VTH+V
2 L
k'W IRef -
V = VGS4 - VGS5 =
2 L
IRef 1k'W
L L
W W
L L
W W
=>
I4 = 4(Vov)2;
2 L
k'W I5 =
I2 = (Vov)2;
Vov=V
=>
I3 = (Vov)2
VDS2 = Vov
VGS3 = VTH + Vov
VGS4 = VTH +2Vov
Vov4 =
Vov4 = 2Vov
I
;
4
=>
Vov =
I
= 2
4
= 44
W
L M1
II 25
W
L M2
W
= L
M3
W
= 4 L
M4
II 26
II Bias circuit
II Bias circuit
I Out
I Ref
IBias
I Ref
M3
M4
M4
M5
VTH+V
VTH+2V
M1
M2
I Out
M3
VTH+V
M1
M2
Current gain
Sistematic error due to VDS1VDS2
Sistematic error due to body effect on M3
Output swing
Iout=IRef
Output impedance
rout = rds4 gm2 rds2
The scheme can be stacked for multiple cascode
II 27
II 28
II Bias circuit
I Ref
M4
M5
II Bias circuit
I Out
M3
I Ref
M3
M1
M1
M2
M2
Vbias
Output impedance
rout = (gm3ro3)ro2A
Possible implementation
IOut
Ibias
IBias
I Bias2
M4
M5
M3
IRef
I Out
M3
M1
M2
I Ref
M1
MA
Output impedance
M2
rout = (gm3ro3)ro2(gmAroA)
Output swing
Vout,min = VGSA+ VDSsat3
II 29
II 30
II Bias circuit
II Bias circuit
Comparison
This valid both for the input stage (reading the current) and for
the output stage (sinking the current)
1
Simple
Id
Regulated Cascode
I Ref
I Out
M1
Triple Cascode
M2
VDSsat2
2VTH+3VDSsat
VTH+2VDSsat
2VDSsat
VDSsat
VDS
II 31
II 32
II Bias circuit
II Bias circuit
M4
Iout
Iref
Vi-
M3
Vi+
Vo
Ibias
M2
M1
M2
Low-voltage
current mirror
M1
II 33
II 34
II Bias circuit
II Bias circuit
Exercise
Comparison Table
1-
DC analysis of Simple CM
2-
AC analysis of Simple CM
- Transfer function
Configuration
Current gain
Output swing
rout
Simple
1 + VD S 2
1 + VD S 1
VDSsat
rds
Wilson
1 + VD S 2
1 + VD S 1
VTH + 2VDSsat
2
gmrds
Improved Wilson
VTH + 2VDSsat
gmrds
Cascode
VTH + 2VDSsat
gmrds
Triple Cascode
2VTH + 3VDSsat g2 r3
m ds
Triple Cascode
2VTH + 3VDSsat g2 r3
m ds
4-
2VDSsat
High-compliance II
2VDSsat
Regulated-cascode
1 + VD S 2
1 + VD S 1
VTH + 2VDSsat
3-
1 + VD S 2
1 + VD S 1
High-compliance I
Cascode CM
2
gmrds
5-
6-
gmrds
Multiple Cascode CM
7-
Low-voltage CM operation
2 3
gm
rds
II 35
II 36
II Bias circuit
Current references
II Bias circuit
Introduction
It allows to generte on-chip (no external components) a
current reference
IREF
PMOS
NMOS
VDD
VDD
RL
M1
VB
IREF
M1
IREF =
V DD V DS1
RL
2
I REF
k' (W/L)1
V DD |VTH1| |Vov1|
RL
V DD |VTH1|
IREF =
VB
RL
2
IREF
k' (W/L)1
RL
Supply dependence
IREF depends on supply voltage VDD
Temperature dependence
positive temperature coefficient (TC)
R 1:
|VTH|: negative temperature coefficient
|Vov|: positive temperature coefficient
II 37
II 38
II Bias circuit
II Bias circuit
Current references
based on a built-in voltage
Basic principle
The current is obtained by "extracting" a built-in voltage
(Vbi) to be applied to a given resistor
VDD
VBIAS
Built-in
Voltage
(Vbi)
generator
I=0
IREF
Vbi
R
1
Vbi
IREF = R1
The dependence of the built-in voltage on temperature and
other parameters will affect the generated reference
current.
The generated current is substantially independent from
supply voltage.
Micropower current reference based on this principle are
also available.
II 39
II 40
II Bias circuit
II Bias circuit
(V TH + Vov )-based
(V TH + Vov )-based
Start-up circuit
VDD
IREF
M4
M3
VDD
Built-in voltage:
VB
M1
IREF
M4
M3
M2
RI1
VGS1
VTH
VB
M2
M1
I1
R
W
L
W
=L
k' W
I1 = I2 = 2 L (V GS1 V T H)2
1
Two operating points are possible (A, B) : only one (A) is the
desired one
2I1 L
k' W + VTH
1
M
3
I
Temperature dependence
R 1:
positive TC
VTH: negative TC
Vov:
positive TC (|(VTH) + |Vov|: negative TC)
VBIAS
I
START-UP
Signal
M
2
M
1
At start-up, MS is turned
on, thus forcing M4 in
the saturation region.
Then it is definitively
turned off.
VR1
R
1
II 41
II 42
II Bias circuit
II Bias circuit
Self-biased
low-current reference generator
Self-biased
low-current reference generator
Vov-based
Vov-based
VDD
VDD
IREF
M4
M3
M3
VB
M1
IREF
M4
VB
M2
M1
Temperature dependence:
R 1:
positive TC
Vov: positive TC.
M2
R
L
L
L
= W ; W = m W
I1=I3
; m>1
slope k
I3=I4
I1=f(I2)
2IREF L
k' W =
1
IREF = R1
2IREF L
k' W + RIREF
2
1
k' (W/L)
I2=I4
II 43
II 44
II Bias circuit
II Bias circuit
VDD
M
3
Built-in voltage:
VEB = VEB1 VEB2 = VT ln(n)
Vbias
M
1
A
VDD
M
2
VREF
R
1
I
Q1
Q1 is a substrate BJT
M1 to M4 operate in saturation region (improved Wilson
current mirror)
M
3
M
4
M
1
M
2
Q1
Vbias
R
1
I REF
1
I2
VEB2 = VT ln nISS
VREF = VEB
VEB
I = R1
To generate low currents, a large R1 is needed (VEB in the
range of 0.6 V)
Start-up circuitry is needed
Use the complementary structure for p-well processes
Temperature dependence:
R 1:
positive TC
VEB: negative TC
II 45
II 46
II Bias circuit
II Bias circuit
Voltage references
Current references
based on a reference voltage
VREF
I1
VEB1 = VT ln IS S
I1 = I2 = IREF = I
VGS1 = VGS2 =>
I1 = I2 = IREF ; VA = VB
Q
2
L
L
L
= W ; W = W
Introduction
VDD
Vbias
M1
I REF
R
1
II 47
II 48
II Bias circuit
II Bias circuit
Resistive dividers
Diode-connected NMOS transistors
Analog circuits normally have only two dc voltage supplies
(VDD and ground)
In order to obtain dc-bias voltages, voltage dividers can be
used
VDD
VDD
M2 V1
R1
VREF
M1
R2
k' W
2 k' W
2
2 L (VDS1 VTH1) = 2 L (VDS2 VTH2)
1
1 =
W
L
2 =
;
1
W
L
1V TH1 2V TH2
2
VDD +
1 + 2
1 + 2
V1 = VDS1 =
with < 1
II 49
II 50
II Bias circuit
II Bias circuit
vdd
VDD
gmbvbs2
1/gm2
1/gm1
1/gds1
C2
1/gds2
C2 = Cgs2
v1
M1
VREF
C1
1 gm1+gm2
fp = 2 C1+C2
M2
At low frequency (assuming gm2 >> gds2 and gm1 >> gds1)
there is a resistive partition (no capacitance effect):
Body of M2 connected to source of M2 to avoid threshold
voltage mismatches due to body effect
Assuming VTH1 = VTH2 VTH
1
VDD +
|VTH|
1 +
1 +
Vo/VDDnoise
VREF = VDS2 =
gmb
1/g m1 + gm1gm2
v1lf = vdd 1/g m1 + 1/g m2 + g mb /(g m1 g m2 )
fp
fp
II
fz
fz
Frequency
II 51
II 52
II Bias circuit
Voltage references
based on a built-in voltage
II Bias circuit
M
3
Basic principle
I R1
R
1
AA
A
AA
A
AAAAAAA
current
mirror
IR1
R
1
Vbi
R2
VDD
I=0
VREF
VR1
Built-in
Voltage
(Vbi)
generator
I R2
M
2
M
1
M5
VREF
IR2
R2
R2
VREF = k R1 VR1 = k R1 (VTH + Vov)
R2
II 53
II 54
II Bias circuit
Voltage references
based on the band-gap voltage
VDD
VDD
M
4
M
3
I R1
M
1
VEB
Q1
II Bias circuit
M
2
M5
VBE
Q1
I R2
VREF=VBE+mVT
VREF
VT
Generation VT x m mVT
VR1
R
1
R2
Basic principle
VREF =VBE + mVT
M1 to M5 in saturation region
At T = 300 K we have:
VREF = VBE + 25.6VT = ~1.26 V
(silicon band-gap)
II 55
II 56
II Bias circuit
II Bias circuit
R 2 VDD
R3
VREF
R
1
VR1
1
AQ2=nAQ1
n>1
Q1
first-order
small temperature range.
Q
2
Ref
[V]
-1.24
-1.25
VA = VB
R2 = R3 => IR2 = IR3 = I = IQ1 = IQ2
VR1 = VEB1 VEB2 = VT ln(n)
V
ln(n)
I = RR1 = VT R
1
1
R2
VREF = VEB1 + R VT ln(n)
1
VREF = VEB1 + mVT
-1.26
R
R
A
m = R2 ln(n) = R2 lnAQ2
where
1
20 40
Q1
Example:
n = 8 => AQ2 = 8AQ1 (easy to obtain in layout)
R2 = R3 = ~12.3 R1
II 57
II 58
II Bias circuit
II Bias circuit
VBG
VDD
VREF
RA
M3
M4
D3
D4
RB
M1
M2
VSS
M1 to M4 in saturation region
R A
VREF = VBG 1 + RB
VD3 = VD4
It follows that:
R3
Q1
VDD
k'3 = k'4
I3 = I4 = I1 = I2 I
R2
R1
+
(W/L)3 = (W/L)4
VDD
VDD
Q2
both enhancement
transistors with
different VTH
one enhancement
and the other
depletion transistor
VREF
M1 and M2:
transistors with
equal k' and
different threshold
voltages, e. g.:
VREF
RA
R2
RA
R3
V
VBG
VSS
Q1
R
1
VR1
1
REF
RB
VBG
Q
2
RB
R A
VREF = VBG 1 + RB
II 60