Professional Documents
Culture Documents
Outline
4.1. Cascode Transistor
4.2. Current Mirror
4.3. Base/Gate-Coupled Pair
4.4. Emitter/Source-Coupled Pair
4.5. Differential Stage
4.6. IC Design
Page 1
Analog IC Design
1 g m1CGD1
1
=
> p IN
A. Cascoded Transconductor
Cascoded Transconductor
2 g mC1
A V (g m1 ) rds1 ||
rds2
2
g
mC1
Similar AV.
Input Pole: MC1 reduces CGD1's Miller gain.
2
C IN CGS1 + 1+ g m1
C DS1
g mC1
Page 2
Analog IC Design
B. Cascoded Amplifier
Cascoded Amplifier
g mC1
1
> pO
2CO R O
2CGSC1
W
W
2
2
i D = K'( v GS v T ) (1+ v DS ) K'( v GS v T ) i IN i O
L
L
and
Page 3
vO VCE(MIN) or VDS(SAT).
Analog IC Design
Mirror Translations
"i %
iO = 2iC 2 $ IN '
# 3&
iO = 2i D 2i IN
Relative BJT emitter areas and MOS widthlength aspect ratios set gain.
Integers and fractions are possible.
Tip for Analysis: Distribute into equal current segments.
B. Small-Signal Response
Q1's Diode-Connected Resistance:
1
1
R D = ro || R GM || r = ro ||
|| r
gm
gm
igm1 is a linear translation of vbe RGM1 is a 1/gm resistor.
Two-Port Parameters: RIN = RD1 || r2 1/gm1, GM = gm2, and RO = ro2.
Gain: Source resistance RS "steals" current from input RIN and output resistance
RO "steals" from load RLOAD Higher gain if RS >> RIN and RLOAD << RO.
A I0
)(
)(
"
%
''
LOAD &
) $$# R 1
r || R LOAD
g
1
IV
A
= R S || ro1 ||
|| r1 || r2 (g m2 ) o2
m2 = 2 t 2
g m1
g m1
Vt I1
A1
R LOAD
Page 4
Analog IC Design
C. Errors
Base-Current Error: iO = AIiC1 AIiIN.
i 1 i
iO = A I iC1 = A I ( i IN i E ) A I i IN O + O
A I 0 0
Voltage VA Error:
vO vIN vCE2 vCE1 and vDS2 vDS1 iO iIN.
i
A I = C2
i C1
( ! v $ +! v $
!
v
IS2 *exp ## BE && 1-#1+ O &
# 1+ O
*) " Vt % -," VA % ! A E2 $#
VA
=
=#
&
( ! v $ +! v $ #" A &%# v BE
E1
IN
BE
# 1+
IS1 *exp ##
&& 1-#1+
&
VA
"
*) " Vt % -," VA %
$
&
&
&
&
%
!W$
2
# & K'( v GS v T ) (1+ v O ) ! $!
i D2 iO " L %2
S
1+ v O $
AI =
=
=
= # 2 &#
&
i D1 i IN ! W $ K' v v 2 1+ v
" S1 %" 1+ v GS %
# & ( GS T ) (
)
IN
" L %1
W
Si
L i
Reduction:
1+A I
R
g m2
i E = i B1 + i B2 = i B1 (1+ A I )
Page 5
Analog IC Design
or
2vGS.
or
Small-Signal Resistances
Equivalent Shunt Resistances Assume AE1 = AE2 and AE3 = AE4.
RIN: Two diode-connected transistors.
R IN = R D31 || R B4 R D31 || (0 R D31 ) R D31
1
1
+
g m3 g m1
v in
v in 0 0 R D31
i b4
ie3
Page 6
Analog IC Design
Low-Voltage Cascodes
Reduce Minimum Voltages: Another circuit biases cascode bases and gates.
Input: Q3 current-buffers iC1 and diode-connects Q1.
RB: QX matches cascodes v CE1 = v CE2 = v R + v BEX v BE4 v R = I BIASR B > VCE(MIN)
MX: MX matches cascodes, VGSX(SAT) > VGS34(SAT), and vT's cancel with low bulk effects.
v DS1 = v DS2 = v GSX v GS34 VDSX(SAT) v DS34(SAT) > v DS1(SAT) v DS2(SAT)
Design Objective
Self-Biasing Cascodes
Self Bias: iIN and RB drop a level-shifting bias voltage vR = iINRB.
Q3 and M3 diode-connect Q1 and M1.
If Q1234 and M1234 match and
bulk effects are low:
v CE2 = v BE1 + v R v BE4 v R > VCE(MIN)
v DS2 v DS1(SAT) + v R v DS4(SAT) > v DS2(SAT)
Design Objective
Design Note: vR = iINRB, VCE(MIN), and vDS(SAT) (iIN/K')
do not track well across iIN, temperature, or fabrication corners.
Design for worst case: vCE and vDS > Highest VCE(MIN) and vDS(SAT).
Page 7
Analog IC Design
Slew Rate:
iO
I
BIAS = Vt
G D g m(BJT)
v ID(MAX) =
V
iO
I
BIAS = DS(SAT)
G D g m(MOS)
2
v O dv O
iO
i I
=
=
= 2 BIAS
t
dt C LOAD + C EQ C LOAD + C EQ
Shift SR dominance:
Fold and mirror i2.
Q3Q4.
Mirror i1.
Q1Q1'.
ISOURCE(MAX) = IBIAS
IPULL(MAX) = IBIAS
Page 8
Analog IC Design
B. Small-Signal Response
Approx.
Small-Signal
Model
v i1 roB1 || R B2
R I1
)=
v i1 roB1 || R B2
1
+ roB1 || R B2
g m1
v i1 roB1 || R B2
roB1 || R B2
)=v
i1
ic2 = (vi2 vb2)gm2 (vi2 vi1)gm2 vidgm2 ic2 is a differential output current.
Q2 is a differential transconductor.
Model: R I1 =
1
+ roB1 || R B2 roB1 || R B2 = roB1 || #$r2 + 1+ g m2 r2 R SI2 %&
g m1
.0
(
" 1
%+20
r +r
2
R I2 = /r2 + *roB1 || $
+ R SI1 '-3 || R GM2 R GM2 = o2 oB2
g
g
1+
g
'r
# m1
&,40
)
m2 o2
m2 '
10
R O = roB2 || R C2
A D0
Gain:
GD
vo
= G D R O || R LOAD
v id
io
io
=
= g m2
v id v i2 v i1
Can be high.
R O || R LOAD
pO
)(
Page 9
Analog IC Design
C. Electronic Noise
Every component contributes noise.
2
2
2
2
i * i * i * g i *
*
v N = 1 + 2 + B1 mB2 + B2
g m1 g m2 g mB1 g m2 g m2
D. Input-Referred Offset
VOS = VOS(S) VOS
*
# i & # i &
v C
% 12 ( + % B12 (
A D0
$ g m2 ' $ g m2 '
Insensitive to vIC.
Sensitive to vID.
iC12(MAX) = ITAIL.
vO(MAX) depends on load:
vCC or vDD.
vO(MIN) depends on input:
Differential Input Voltage: vID vI1 vI2.
Page 10
Analog IC Design
Model
Small-Signal Model: Equal, but opposite io's drop zero volts across RTAIL.
Circuit reduces to two CE/CS transistors.
R ID
GD
v id
v id
=
= 2r
#
i id
0.5v id &
%
(
$ r '
R OD
v od
v od
=
= 2ro
"
iod
0.5v od %
$
'
# ro &
= g m
v id
v id v id
v id
v id
Vt
iOD
I
TAIL = I TAIL
= 2Vt
GD
gm
0.5I TAIL
v ID(MAX) FET
iOD
I
TAIL =
GD
gm
I TAIL
W
2 ( 0.5I TAIL ) K'
L
2 ( 0.5I TAIL )
= VDS(SAT)
W
K'
L
Gains:
A D10
v o1
= 0.5 (g m ) ( ro || R LOAD )
v id
A D20
v o2
= 0.5 (g m ) ( ro || R LOAD ) = 0.5g m ( ro || R LOAD )
v id
A DD0
v od v o1 v o2
Page 11
Analog IC Design
Model
Small-Signal Model: io's add to drop twice the voltage of one across RTAIL.
Circuit reduces to two degenerated CE/CS transistors.
R IC R B1 || R B2 = 0.5R B = 0.5$%r + (1+ 0 ) ( 2R TAIL )&' 0 R TAIL
io1 io2
gm
=
v ic v ic 1+ 2R TAILg m
G CD
= G C1 G C2 = 0
v ic
v ic
v ic v ic
If transistors match perfectly.
Common-Mode Gains:
A C10
v o1 v o2
gm
=
A C20
( R OC1 || R LOAD )
v ic v ic
1+ 2R TAILg m
A CD0
v od v o1 v o2 v o1 v o2
= 0 If transistors
v ic
v ic
v ic v ic
match perfectly.
v o1
= 0.5 (g m ) ( ro || R LOAD )
v id
1+ 2R TAILg m
A
A
A D10
A
= D20 = 0.5 ( ro || R LOAD )
CMRR D0 DD0 DD0
A CD0
0
A C10
A C20
R OC || R LOAD
Page 12
Analog IC Design
D. Emitter/Source Degeneration
Small-Signal
degeneration lowers
Model
transconductance.
I
iOD(MAX)
(1+ gm R DEG ) = v
TAIL
ID(MAX) (1+ g m R DEG )
G D'
gm
Splitting ITAIL
similarly
Small-Signal
degenerates GD.
Model
Page 13
Analog IC Design
CMOS Implementations
Bulk
Effect
E. Summing Transconductor
Matched differential pairs project input voltages to matched currents:
If MAT matches MBT.
If MA12 matches MB12.
gmA = gmB GM.
iOD = (vA + vB)GM.
iOD = ( v AP v AN ) g mA + ( v BP v BN ) g mB v Ag mA + v Bg mB
= ( v AP + v B v AN ) G M
= (v A + v B ) G M
Analog
Summer
g mB
MB12 produces a programmable offset that MA12 refers to vA as v OS = v B
.
g mA
Page 14
Analog IC Design
dv O iO(MAX)
I TAIL
=
=
dt
CO
C LOAD + C EQ
2
2
2
!i*$ !i *$ !i*$ !i *$
*
1
& +# 2 & +# 3 & +# 4 &
Noise: v N = #
" g m1 % " g m2 % " g m1 % " g m2 %
*
Offset: VOS = VOS(S) VOS =
" i % " i %
v D
$ 12 ' + $ 34 '
A D0
# g m1 & # g m1 &
For low VOS and vN*, match M1M2 and M3M4 and
raise AD0 and gm12's W12 towards subthreshold.
Polarity: A rise in vI2 pulls vO down vI2 is the inverting input.
Page 15
Analog IC Design
R IN
GD
Gain:
R O = rds2 || rds4
i o i1 i 2 i1
0.5v id g m1 0.5v id g m2
i
=
=
2 =
= g m1 = g m2
v id
v id
v id v id
v id
v id
A D0
vo
= G M R O || R LOAD = g m2 rds2 || rds4 || R LOAD
v id
Offset Example
Objective: Determine VOS of a PMOS differential pair loaded
with a basic NMOS mirror when vTN = |vTP| = 0.6 V,
KN' = 100 A/V2, KP' = 40 A/V2, 1/ = 100 V,
W's = 4 m, L's = 4 m, ITAIL = 10 A,
iMOS* = 5%, and vD = 1 V.
Solution:
VOS(S) =
v D
=
g m2 ( rds2 || rds4 )
1V
1V
=
= 5 mV
200
V/V
100 V
4 m
2(5 A) ( 40 A/V 2 )
0.5
4 m 5 A
2
VOS
2
2
i i
5%( 5 A )
18 mV
= 12 + 34 = 2
2
g m2 g m2
2( 5 A )( 40 A/V )( 4 m 4 m )
Page 16
Analog IC Design
GD's io falls past mirror pole pM: Since pO << pM CEQO replaces RLOAD and
M4 has little gain with which to Miller-multiply CGD4 CGD4 CEQO CGD4.
1
1
g m3
2( 2C GS3)
1
1
|| rds3 || rds1
g m3
g m3
Past pM, GD drops until i4 << i2 GD falls 2 to 0.5gm2 Freq. rises 2 to zM 2pM.
+
(
"
%
s
- g $1+ s '
g m1 *1+
m1
*) 2 2p M -,
0.5g m1
# 2z M &
GD =
+ 0.5g m2 =
"
%
"
%
"
s
s
s %
$1+
'
$1+
'
$1+
'
# 2p M &
# 2p M &
# 2p M &
Page 17
Analog IC Design
Example
Parameters: ITAIL = 20 A, CGS = 100 fF, CGD = 10 fF, CL = 1 pF, W's = 20 m,
L's = 2.4 m, KN' = 100 A/V2, KP' = 40 A/V2, and 1/ = 100 V.
Solution: gmN 130 S, gmP 80 S, rds 10 M, AD0 gmN(rdsN || rdsP) = 56 dB,
pO 1/2(2CGD + CL)(rdsN || rdsP) = 31 kHz,
pM gmP/2(2CGS + 2CGD) = 58 MHz, and zM = 2pM 116 MHz.
, i )# 1+ v &# 1+ v & ,
iO i 4 i 2 # 1 &) # i1 &# i 4 &
DS1
SD4
=
= % (+i 2 % (% ( i 2 . = 2 +%
(%
( 1.
v ic
v ic
$ v ic '* $ i 2 '$ i3 '
- v ic *$ 1+ v DS2 '$ 1+ v SD3 ' -
"
%
g m2
= G C2 E = $
'E
1+
2R
g
#
TAIL m2 &
A C0
$
'
vo
g m2
= G C ( R OC || R LOAD ) = E G C2 ( R OC || R LOAD ) E &
) ( rds4 || R LOAD )
v ic
% 1+ 2R TAILg m2 (
Page 18
Analog IC Design
pO'
1
2( R OC||R LOAD)C EQO
f=p M
G C2 zM' EpM.
1
2R TAIL C TAIL
2R TAIL
g m2
2( 0.5C TAIL )
1
g m2
GC2 rises past zD and flattens to gm2 at pD, when degenerating effects disappear.
!
$!
!
$! s $
s $
g m2
g m2
G C2 = #
#
g m2
+
&
&#
&
" 1+ 2R TAILg m2 %" 2z D % f>>zD " 1+ 2R TAILg m2 %" 2z D % pD =(1+2R TAILgm2 )zD
CTAIL raises GC past zD and flattens GC past pD, well after zD << pD.
Page 19
Analog IC Design
Summary
CLOAD lowers AC past pO'.
CTAIL raises GC, and as a result, AC past zD.
Mirror's 2CGS3 raises iO from i2E past zM'.
2CGS3 shunts 1/gm3 past pM i4 disappears and iO levels to i2.
0.5CTAIL shunts 1/gm2 past pD after pM GC levels to gm2.
Example
Same Parameters: ITAIL = 20 A, CGS = 100 fF, CGD = 10 fF, CL = 1 pF, W's = 20 m,
L's = 2.4 m, KN' = 100 A/V2, KP' = 40 A/V2, 1/ = 100 V, and E = 4%.
Solution: gmN 130 S, gmP 80 S, rds 10 M, rdsT 5 M,
AC0 E(rdsP/2rdsT) 28 dB, pO' 1/2(2CGD + CL)rdsP = 16 kHz,
pM gmP/2(2CGS + 2CGD) = 58 MHz, zM' = EpM 2.3 MHz,
zD 1/2rdsTCGDT = 3.2 MHz, and pD gmN/2(0.5CGDT) = 4.1 GHz.
Page 20
Analog IC Design
* E g m2 ( rds4 || R LOAD ) -#
s &
s &#
(%1+
(
,
/%1+
+ 1+ 2R TAILg m2 .$ 2z D '$ 2z M' '
zD and zM'
#
s &
s &#
2R TAILg m2 %1+
(%1+
(
$ 2z M '$ 2p D '
#
s &
s &#
E %1+
(%1+
(
$ 2z D '$ 2z M' '
are at moderate
frequencies.
D. Power-Supply Rejection
Power-supply rejection (PSR) is the ability to reject supply noise, or rather,
inability to amplify supply noise vSUPPLY in the output signal sO.
PSR
1
v
SUPPLY
ASUPPLY
sO
Page 21
Analog IC Design
+ igm ( R B || R M )
R B + R M R B R B + R M
v
R + RM
A VDD o = B
=1
v dd
v dd
v dd
P-type mirrors with balanced loads reproduce positive-supply noise PSRR+ AD/1.
For more accurate results, include the effect of 1/gm3 in igm.
igm ( R B' || R M )
R B' + R M R B' R B'+R M
v o R B' + R M
A VSS
=
=0
v ss
v ss
v ss
P-type mirrors with balanced loads cancel negative-supply noise PSRR AD/0 .
For more accurate results, include the effects of M12's 1/gm12 in RB' and 1/gm3 in igm.
Page 22
Analog IC Design
Higher vIC(MAX).
Lower vO(MAX).
Page 23
Lower vO(MIN).
Analog IC Design
Offset and Electronic Noise: More devices contribute VOS and vN* are higher.
Current sources M1,2,9,10 counter M5,6's effects rds1||9,2||10 degenerate v56 and vG5,6*.
VOS = VOS(S) VOS
2
2
2
1
i i i i
v
g m5
D 12 + 9/10 + 34 + 56
A D0
g m1 g m1 g m1 g m5 1+g m5 ( rds9 ||rds1 ) g m1
Output Resistance: R O = rds4 || R D6 = rds4 || !"rds6 + g m6 rds6 ( rds10 || rds2 ) + ( rds10 || rds2 )#$ rds4
Raise RO and AD0 by cascoding M4.
vO(MIN) is higher.
Page 24
Analog IC Design
Example
Objective: Assume I18 = 50 A, CGS = 100 fF, CGD = 10 fF, CL = 1 pF,
W's = 5 m, L's = 2.5 m, KN' = 100 A/V2, KP' = 40 A/V2, and 1/ = 50 V.
Determine RO, AD0, pO, pM, zM, and pS56.
Solution:
gmN = 140 S, gmP = 89 S,
rds18 = 1.0 M, and rds9/10 = 0.5 M.
RO 25 M
AD0 3.5 kV/V = 71 dB
pO 6.2 kHz
pM 101 MHz
zM 202 MHz
pS56 118 MHz
Page 25
Analog IC Design
Example
Objective: Determine ICMR, output
swing limits vO(MAX), AVDD, and
AVSS of the amplifier on the right.
Solution:
vSS + v DS9 v TP1 < v IC < v DD VSDT(SAT) v TP1 VSD1(SAT)
vSS + v DS10 + VDS6(SAT) < v O < v DD VSD4(SAT)
Design Aim
+ igm ( R D6 || rds4 )
r + R D6 R D5 rds4 + R D6
r + R D6
A VDD = ds4
ds4
1
v dd
v dd
v ss rds4 v ss R B6'rds4
v ss rds4
0
v ss
v ss
Page 26
Analog IC Design
Design architecture.
Derive parametric constraints.
ii. Margin
Add margin to each design choice to reduce:
Design iterations within first cycle.
Design iterations across temperature and fabrication corners.
Margin nearly always trades advantages for disadvantages.
Excessive margin can keep circuit from meeting other specifications.
And ultimately require more design iterations.
iii. Example
Objective: Design an amplifier with VDD = +3 V, VSS = 3 V, IBIAS = 1 uA,
CLOAD = 5 pF, 1.5 V < vIC < 2.5 V, 2.6 V < vO < 2.2 V, AV > 40 dB,
AVDD < 30 dB, SR > 4.5 V/s, IVDD < 100 A, vTN = |vTP| = 0.6 V,
KN' = 100 A/V2, KP' = 40 A/V2, and 1/ = 50 V when L = 3 m.
Architectural Design:
vIC(MAX) is close to VDD.
Fold N-type differential pair.
AVDD is very low.
Fold into N-type mirror.
vO(MIN) is close to VSS and
AV is not very high.
No cascodes in the mirror.
Page 27
Analog IC Design
Parametric Design:
SR
Designed:
IT
I
= T > 4.5 V/s IT > 22.5 A IT 27 A.
C LOAD 5 pF
IT 27 A
I9/10 40 A
I3456 27 A
S12 5
S34 10
2I 4
3 V +
K N'S34
2 ( 27 A )
(100 A/V ) S
2
34
< 2.6 V
VSD6(SAT) =
2I 6
K P'S56
2 ( 27 A )
( 40 A/V ) S
2
56
< 0.4 V
2I 9/10
=
K P'S9/10
I3456 27 A
2 ( 40 A )
( 40 A/V ) S
2
IT 27 A
I9/10 40 A
Designed:
9/10
< 0.4 V
S12 5
S34 10
S9/10 > 12.5, but letting IB1 = IB9/10 2 A means I9/10 = 20IB9/10:
S56 15
SB9/10 1
S9/10 20
Page 28
Analog IC Design
Designed:
IT3456 27 A
I9/10 40 A
S12 5
2 ( 0.5I T )
2I T
+ 0.6 V +
< 1.5 V
K N'ST
K N'S12
S34 10
S56 15
SB9/10 1
S9/10 20
L12349B9/10B10 6 m
L56BB1B2T 3 m
SB 1, ST 27
IB2 = IB56 2 A
WB1 WB2 2WB = 2LB1 = 2LB2 SB1/B2 2.
v SD9/10 = VSDPC(SAT) VSD56(SAT)
2I B2
2I3456
0.4 V
K P'SB56
K P'S56
1/SB56 4.9
IT3456 27 A
I9/10 40 A
S12 5
S34 10
S56 15
SB9/10 20
L12349B9/10B10 6 m
Design Check:
L56BB1B2T 3 m
SB 1, ST 27
Page 29
Analog IC Design
iv. Simulations
Simulate only when you believe you know what to expect.
To verify and tweak performance only, not to design.
Meet worst-case conditions plus margin with nominal models.
Across supply voltages, input range, load range, temperature, etc.
Meet worst-case conditions across fabrication corners.
With combinations of weak, strong, and nominal
transistor, diode, resistor, and capacitor models.
Common Term: PVT Worst-case simulations across
process, voltage (but more generally, conditions), and temperature.
Bias
Bias in unity-gain configuration when VIN is within its ICMR.
Monitor all dc node voltages and currents.
Ensure all transistors are in the
desired region of operation.
Static Parameters
Quiescent Power PQ: Bias the same way and
monitor iVDD(vDD vSS).
Input-Referred Offset VOS: Bias the same way.
VOS vIN vO.
Output Swing vO(MAX): Fix VIC within its ICMR,
sweep vIN slowly below and above vIC, and monitor vO's swing limits.
Page 30
Analog IC Design
Dynamic Parameters
Open-Loop Gain AV: Bias in unity-gain
when VIN is within ICMR, nil ac feedback with LDC 1 kH
and CAC 1 kF, inject ac signal with vin 1, and monitor vo = vinAV AV.
! Z +Z $
A CL = A V || # L C &
" ZC %
If AV limits ACL past
AV's first pole p1,
raise LDC and CAC
until AV's AV0 limits ACL.
If RDC replaces LDC: ACL rises past pRC +20 dB/dec. when ZL = RDC.
RDC loads AV when CAC shorts RDC should be high.
Page 31
Analog IC Design
vssAVSS/AV 1/PSRR.
Approximation up to f0dB.
Page 32
Analog IC Design
Page 33