Documente Academic
Documente Profesional
Documente Cultură
Mirrors
Ars Diavolo
Current Mirrors
BJT case
v in
vT v
VDD
iin = Is1 e (1 + Vin )
A
v in
Ibias
iin RL vT v out
iout = Is2 e (1 + VA
)
Iout
v
Q1 Q2
i out (1 + out ) A Q2
+ I VA
vin = s2
Is1 v
≈
i in A Q1
- (1 + in )
VA
Current Mirrors
MOS case
iin =
µ n Cox W
2 L
(1 vin − vth)2 (1 + λ vin)
VDD
iin Ibias RL
iout =
µ n Cox W
2 L
(2 vin − vth)2 (1 + λ vout )
Iout
W W
L
iout L 2 (1 + λ vout ) 2
M1
+
M2
iin
=
(1 + λ vin )
≈
v gs + vGS W W
L L
-
1 1
Remarks:
- Despite of the fact that both devices are nonlinear, the large signal
current gain is linear.
CL
RL
CS IS
Cµ 2 Iout
Iin
+
α
cπ1 + cπ2 + ccs1 Vπ gm1+ rπ1 + ro1+ rπ2 gm2 vπ rO2 Ccs2
Low frequency:
α α Low ≈ 20 Ω for BJT’s
Rin = gm1+ rπ1 + ro1+ rπ2
≈ gm1 1k Ω for MOS
τ1 = (cµ 2 + cπ1 + cπ2 + ccs1 + cs ) (R in Rs ) ≈ cin 1
g m1
fo = 21π 1 ≈ 1 1
τ1 + τ 2 2π τ 2
- Cm2 does not play a role since current mirrors are used with low RL,
that is, the gain stage has low voltage gain and is not Miller amplified,
- None of the time constants is dominant, both of them are very short.
Then:
The fo of a current mirror is close to fT .
Errors in MOS current mirrors:
iin =
µn Cox
2
W
+ ∆ W
L 1
L 1
(vin − vth )2 (1 + λ vin )
iout =
µ n Cox
2
W
( ) (
+ ∆ W vin − vth 2 1 + λ vout
L 2 L 2
)
I bias 200
VinQ = + Vth = + 0.8 = 2.08 V ; Q
VGS − Vth = 1.28V
C 25 ∗ 5
µ ox W
2 L
1
R in = = 3.2 kΩ
gm
1 + λ v out
Q
ID 2 1 + 0.02 ∗ 0.8 1.16
= = = = 0.97
1+ λ v
Q
ID1 in 1 + 0.02 ∗ 2.08 1.42
Noise Analysis
in, Rs = 4 k T ∆f
2
Rs
VDD
2
in, M1 = 2 k T 2 g3m ∆f
Ibias Iout
2
in, M2 = 2 k T 2 3gm ∆f
M1 M2 M1
+ 2 gm gm
v gs + vGS in, out = 4 k T ∆f R1s + 3
+ 3
-
2 4 k T ∆f R1s + g3m + gm
3
in, out = 1 + 2 gmRs
NF = =
2 4 k T ∆f 3
in, Rs Rs
Distortion Analysis
Iin = kp W
L
(Vin − VT)2 ⇒ Vin = Iin
kp W
+ VT
L
A2 2 A3 3
Vin = kp W
1
1 + A
2 IB
sin ωt − 2 sin ωt + sin ωt + . . . + VT − VB =
16 I3B
IB L 8 IB
If iin = A sin ωt
A2 3
= 1
kp W 1 + A
2 IB
sin ωt − 2 { 1 + cos 2ωt } + 64AI3 { 3 cos ωt + cos 3ωt } + . . . + VT − VB =
IB L 16 IB B A2
HD2= 8 IB
= 1
kp W
1 − A2
16 IB2
A
+ 2 IB +
3 A3
3 sin ωt
64 IB
− A2
2
16 IB
cos 2ωt + A3
64 I3B
cos 3ωt + . . . + VT − VB
⇒ A3
IB L
HD3= 32 IB
Distortion Analysis
Iout = kp W
L
(Vin − VT)2
If Vin= VB + vin
Iout + iout = kp W
L
(VB + vin − VT)2
A2
2 HD2=
⇒
2 2 (VB - VT)
iout = 1 + vin − 1 = 2 vin + 1 2 vin
VB − VT VB − VT 4 VB − VT
HD3= 0
Total Distortion
i in
v DS1 ≈VDS +
gm
If we define the drain-source voltages as:
i in
v DS1 ≈VDS +∆VDS + α
gm
Thus:
H D 2 (λ ) = λ iˆ ( 1 − α ) = m gds 1 − α
2 gm gm 2
β
= -by
the output current iisoutgiven i inthe 2
- expression:
∆VTH - VTH 2 β ( i in + i B )
2
β
ioff (VTH ) = - ∆VTH
2
- ∆VTH 2β iB
2
Which has a offset current component given by:
( i in + i B ) = ( 2
in
3
i B 1 + 2iini B − 8iiin2 + 16iini 3 − 128
5 i in
in i 4 +
4
7 i in
256 i 2
in
+ ...
2
in
)
Using Taylor Series:
( i in + i B ) ≈ (
i B 1 + m2 sinω t + m16
2
sin 2ω t − m
2 3
64 sin 3ω t
3 5m
− 1024
4
sin 4ω t +
4 7m5 5
4094 sin 5ω t + ... )
the harmonics are given by:
Solving the current gain as a function of the threshold voltages mismatch:
β ∆VTH
Ai ( ∆VTH ) ≈ 1 - ∆VTH = 1-
2 iB VGS - VTH
2 ∆VTH
H D 3 ( ∆VTH ) ≈ m
While the third harmonic component is: 32 VGS - VTH
Degenerated Current Mirror
Ib Iout Iout
iin
1/gm
M1 M2 +
gm Vgs rO2
RS Vgs
Vx Vy
_
R R
R
vx = ( Ib + iin ) R = ia R
vy = ( Ib + iin ) 1
gm
= ia 1
gm
ia = kp W
L
(vin − vx − VT)2 ve = R iout
ia ia
vin − vx = kp W
+ VT = ia R + kp W
+ VT iout + gmve = (vout − ve) / ro2
L L
2 4 k T ∆f
in, R =
M1 M2 R
in, M 1 = 2 k T
2
( ) ∆f
2 gm
3
= 2 k T ( ) ∆f
R R 2 2 gm
in, M 2 3
= 4 k T ∆f ( + )
2
in ,out 1
Rs
gm
3 + g3m + R1 + 1
R
NF =
in ,out
2
=
4 k T ∆f ( 1
Rs+ g3m + g3m + R1 + 1
R ) = 1+ 2 g m Rs
+
2 Rs
i n , Rs
2
4 k T ∆f 3 R
Rs
Cascode Current Mirror
VDD
Iout
iin Ib +
α gm4 vπ3
Iout Vπ 3 rO4
gm2
_
+ vx
α
M3 M4 gm1
Vπ 1 rO2
_
≈
M1 M2
v x = ro 2 iout
iin = k p W
L (v x − VT )2 (1 + λ v x ) iout + g m v x = (vout − v x ) / ro 4
iout = k p W
L (v x − VT )2 (1 + λ v y ) (
iout 1 + g m ro 2 + ro 2
ro 4 ) = vr
out
o4
if v x ≈ v y
vout
⇒ iout = iin Z out =
iout
= ro 4 + g m ro 2 ro 4 + ro 2
CL
CS IS RS RL CL
CS IS RS RL
Iout
Iout
⇒
Iin Iin
Cgd4
+ +
α gm4 vx3 rO4 Cdb4 α
cgs3+ cgs4 + cdb3 Vx3 + rgs3+ ro3+ rgs4 cgs3+ cgs4 + cdb3+cgd4 Vx3 gm4 vx3 rO4 Cdb4+Cdb4
gm3 gm3
_ Cgd2 _
+ +
α +r +r +r α Cdb2+Cdb2
cgs1+ cgs2 + cdb1 gm2 vx1 rO2 Cdb2 cgs1+ cgs2 + cdb1+cgd2 gm2 vx1 rO2
Vx1 gm1 gs1 o1 gs2 Vx1 gm1
_ _
τ1 =
c gd2 + c gs1 + c gs2 + c db1
2
+ cs ( g2
m
Rs ) ≈ c s
2
g m1
fo = 21π τ +1 τ ≈ 21π τ1
1 2 2
τ2 = (
c gd2 + c db2
2
+ c L ) (ro RL) ≈ c L RL .
VDD
2 4 k T ∆f
i n ,R s =
iRs
Iout
Rs
2
i n ,M 1 = 2 k T ( 2 gm
3 ) ∆f
M4
= 2k T( ) ∆f
M3
2 2 gm
i n ,M 2 3
= 2k T( ) ∆f
M1 M2 2 2 gm
i n ,M 3 3
= 2k T( ) ∆f
2 2 gm
i n ,M 4 3
2
i n ,out = 4 k T ∆f ( 1
Rs + 4 g3m )
NF =
i n ,out
2
=
(
4 k T ∆f R1s + 4 g3m )
4g R
= 1+ m s
i n ,R s
2
4 k T ∆f 3
Rs
Wilson Current Mirror
VDD
iin Ib
Iout
M3 M4
M1 M2
Rs +
1
vx gm3
- gm4 vx rO4
gm1 vy rO1 vy
1 i out
gm2
vy =
g m2
1 g m1 1 i
- v x = − g m1 v y ≈−
1
+ 1
g m2 1
+ 1 out
r01 1 +R
gm3 s
r01 Rs
( v out − v y ) g g 1 1 v out
i out = g m4 v x + ⇒ i out 1+ m1 m 4 1 1 + g r =
ro4
m 2 o 4 ro 4
gm2
r01 + R s
Z out = ro 4 1 + g m (ro1 R s ) +
1 ≈ r g mro1
g m 2ro 4 o4
2
vin
Iin
Rs +
1
vx gm3
-
vz
vy
gm1 vy rO1
1
gm4 vx rO4 gm2
g m4 g m4
vy ≈ - vx = - i in
g m2 g m3 g m2
vz v
i in = g m1 v x + ⇒ i out 1+ g m1 g m 4 = z
ro4 g m 3 g m 2 ro4
⇒
Iout
Iin
Cgd4 Iin
+
α gm4 vx3 rO4 Cdb4 +
Vx3 α
cgs3+ cgs4 + cdb3 gm3 Vx3 gm4 vx3 rO4 Cgd3+Cdb4
_ Cgd1 gm3
_
Cgd3+cgs3+ cgs4 + cdb3
+
Cdb1 α +
gm1 vx1 rO1 Vx1 gm2 Cgd1+Cdb1 gm1 vx1 r α
cgs1+ cgs2 + cdb1 O1 Vx1
_ gm2 Cgd1+cgs1+ cgs2 + cdb1
_
τ1 = ([(c gd3 + c gs3 + c gs 4 + c db3 ) ↔ (c gd1 + c db1 ) ] )
c s (ro1 + g 1
m
R s )
≈ Rs cs
fo = 21π τ +1 τ ≈ 21π τ1
1 2 2
VDD
iin Ib
1
Iout
Z in =
V bias
g m1
M3 M4
⇒
Iout
Iin
Cgd4 Iin
(
τ 1 = ( c sb3 + c gs3 + c gd 1 + c db1 ) (c gs1 + c gs2 + c gd3 + c db3 ) )
c s (ro1 ro1 Rs ) ≈ Cs R s
fo = 21π τ +1 τ ≈ 21π τ1
1 2 2
( ) ≈ c RL
τ 2 = ( c gs4 + c sb4 + c gd 2 + c db2 + c gd1 ) (c db4 + c gd3 ) c L (ro4 ro2 RL ) L .
Low Voltage Current Mirror: High Frequency effects.
VDD
iin Ib
Iout The large signal output current is given by:
i out = - i in + iC in = - i in + C in 2 β d
Vbias
i in + i b
dt
M3 M4
H D 2 (C in ) ω<ω ≈ - iˆ ω
Using Taylor series, and substituting iin1=î sin( ωt), we can
Cd1
M1 M2
Cd2
obtain the harmonic distortion component
0 ω0 order:
4 ofi bsecond
Cin
2
H D 3 (C in ) ω <ω ≈ 3 ˆ
i ω
0 32 i b ω0
and third order:
2i 2i m i cos (ω t)
= V
v inFor th + frequencies
signal
b
+ C1 iabove
β in ∫
in dt = the +
Vthcurrent
b
in −
imirror b
pole β ω C in
frequency the input voltage can be expressed as:
2 2 2 2
ω0 m i b ω0 m i b ω0 m i b
i out = cos (ω t) + cos ( 2ωt ) + + ib
ω 8ω
2
8ω
2
H D 2 (C in ) ω >ω ≈ 1 iˆ ω0
0 8 ib ω
2 2
ˆ Vth ω ω0
H D2 = 1 i +
2
8 ib 2
VGS − Vth 2ω + ω0
If it is now combined with the threshold mismatch harmonic distortion, we obtain:
2 2 2
ˆ ∆Vth 3 ω
H D3 = 1 i +
8 ib VGS − Vth ω0
And the third harmonic as:
Simulated and theoretical harmonic distortion .
True Low Voltage Current Mirror rO1
Iout
VDD
gm1 v1
_ +
RB Ib Iout
Vbias
V1 V2
rO3 gm3 v2
M1 Iin Rs C1 C2 rOB _
+
RS
Iin M3
where
M2
C1=CGS1+CSB1+CDB2+Cin
and
C2=CGS2+CGS3+CDB1+CB
G s +g +g +s C −g o 1 v1 i
= in
o1 m1 1
−g o 1 −g m 1 g o 1 +G B +s C 2 v 2
0
1
i out gm3
( g o1 + g m1 )
=
i in ( G s + g o 1 + g m 1 + sC 1 )( g 01 + G B + sC 2 ) − g 01 ( g o 1 + g m 1 )
i out 1 1 1
H(s) = = ≈ +
i in
1 + g 1 s
1 + g 2 s
1 + g 1 s
1 + g 2 s
C C C C
m1 B m1 B
Dominant pole
AC Analysis rO1 DC Analysis
Iin
gm1 v1
_ + rO1
V1 V2
rO3 gm3 v2 Iin
Iin Rs C1 C2 rOB _ gm1 v1
+
_
+
V1 V2 gm3 v2
rO3
Iin Rs _ rOB
+
g +g +s C − g o1 v in i
= in
o1 m1 1
− g o 1 − g m 1 g o 1 + G B + s C 2 v 2 0
g o1 + g m1 − go1 v in i
= in
v in ( g o1 + g m1 ) − g −
o 1 m 1g g o1
+ G B v 2 0
=
i in ( g o 1 + g m 1 + sC 1 )( g 01 + G B + sC 2 ) − g 01 ( g o 1 + g m 1 )
v in ( g o1 + g m1 )
=
v in g m1 i in ( g o 1 + g m 1 )( g 01 + G B ) − g 01 ( g o 1 + g m 1 )
Z in ( s ) = =
i in ( G B + C 1 s )( g m 1 + C 2 s )
v in g m1
Z in = =
i in G B ( g m 1 + g o 1 )
AC Analysis DC Analysis
rO1
Iout
rO1
gm1 v1
_
gm1 v1 +
Iout
_ V1 V2
Rs rO2 RL gm2 v2
_ rOB
V1 +
C2 RB CL+Cgd3 rO3 RL gm2 v2
Rs C1
+
v
(
Z out ( s ) = out = R L ro 2 ) 1 ≈
RL Z out =
v out
i out
( )
= R L ro 2 ≈ R L
i out ( C gd 3 + C L ) s 1+ s R LCL
Wide Swing Current Mirror
VDD
Iout
Ibias iin
M5 M4 M1
M3 M2
W/L W/L
So :
VG 5 = VG 4 = VG 1 = (n + 1)Veff + VT
Furthermore:
VDS 2 = VDS 3 = VG 5 − VGS 1 = VG 5 − (nVeff + VT ) = Veff
- Due to VDS2 and VDS3 will be larger than necessary, except when Iin is
maximum, some swing will be lost
R
Iout
M1 M2
Drawbacks:
- R need to be large.
- MOS in triode resistors cause large parasitic
capacitances.
- The bandwidth of the mirror is reduced.
- High frequency distortion may increase.
Accurate Current Mirror Topologies for Large Signal Amplitudes
Iout
Iin
+
A
M3
-
M1 M2
Ibias
Ibias Ibias
iin
M7 Iout
C
M4 M4
M1 M6 M2
The Wilson-mirror like input isolates M1, M2 and M6 transistors from the input
node. That reduce the input capacitances of those transistors
Low Voltage Current Mirror Topologies
Iin Iout
The OPAMP allows a level shifting, reducing the
Vref requirements of at least to have a VGS at the input
-
Aact
voltage.
+
The input impedance is reduced, and the internal node
has a very low resistance associated with the M1 and M2
gate capacitors.
M1 M2
It has been used for high precision applications.
Low Voltage Current Mirror Topologies
Iout
The second OPAMP increase the output
Vref impedance of the mirror, without degradation of
Iin
+ the output voltage swing.
MC
-
The extra devices can be OPAMPs or common
-
source voltage-gin stag..
+
It has been used for high precision applications.
M1 Mm
Low Voltage Current Mirror Topologies
Iin Iout
Vref
The second OPAMP increase the output
+ + impedance of the mirror, without degradation of
MC
M2
- -
the output voltage swing.
Mm
It has been used for high precision applications.
M1
Low Voltage Current Mirror Topologies
High swing current mirror with input current injected to the source of M3
IB
IB
Vcas
M2
Iout
Iin
M3
M1
Podranov´s structure
Iout
IB IB
M5
Vcas
M2 M4
Iin
M3
M1
Itakura structure
Iin Iout
Vref
M2 M4
-
X
M1 M3
- Force to M1 and M3 to have the same Vds, which operate in the triode region
- A lower output compliance voltage is achieved.
- The price for a low voltage operation is a slightly degraded frequency response
Low Voltage Current Mirror Topologies
IB1
Iin Vshift
⇒
Iin Iout
-+
M3 M4
M1 M2
M1 M2
IB2
You ´s structure
ROB Iin
Iout
-
AFB
M1 M2
( W )
ro = − ROB W L M1
( L) M2
Enhanced Output Impedance Current Mirror
VDD
Iout
iin Ib2 Ib2
M4 M1
M6 M3
M5 M2
Iout
iin~ 7 Ibias 4 Ibias Ibias Ibias 4 Ibias
M5=70 M1=70
M8=10
M7=10 M3=10
M4=10
M2=80
M6=80
A Modified Wide Swing Current Mirror With Enhanced
Output Impedance
VDD
Iout
iin Ibias 4 I bias
M4=10
M3=10
M7=70 M2=70
M5=10