ELE419 CMOS Analog Design 13-06-2025
ELE419 CMOS Analog Design 13-06-2025
• Reduction in gain
• Cannot switch off properly due to reduction in VT
• More leakage current in the „off“ condition
• More dependence on transistor variables
cutoff iD = 0 VGS VT
W
saturation iD = n Cox (VGS − VT ) (1 + VDS )
2L
2
VGS − VT VDSSAT
2 L
3. Vin >= Vout + VTH:
Vout
1
= VDD − R D n Cox
W
2(Vin − VTH ) Vout − Vout
2
2 L
= −
Vout V DD R D
1
n Cox
W
(Vin − VTH )2
2 L
• The small signal gain is given as: Vout
A =
Vin
= − R D n Cox
W
(Vin − VTH )
L
= − gmR D
CMOS Analog Design 13
Transconductance gm:
• Small signal parameter
• In saturation,
ID
gm = VDS fixed
Vin
= n Cox
W
(VGS − VTH )
L
W 2 ID
= 2 n Cox I D =
L VGS − VTH
g m = f (VGS − VTH )
W VRD
A = − 2 n Cox
L ID
• To increase the gain:
- make W/L larger
- make VRD large.... make RD large
- make ID smaller (make transistor weaker)
• Todays technology:
gmrO is between 10 to 30
• As VDS = VGS V1 = VX
VX
IX = + g m VX
rO
1 1
Impedance rO
gm gm
I X = (g m + g mb )VX +
VX
rO
CMOS Analog Design 21
Active load with body effect:
VX 1
• Impedance = =
IX g + g + 1
m mb
rO
1 1
= rO
g m + g mb g m + g mb
• Thus the body effect reduces the impedance !
• For negligible λ,
1
A = −g m1
g m 2 + g mb 2
g m1 1 g mb 2
=− where =
g m2 1 + g m2
• Considering device dimensions,
2 n C ox (W L )1 I D1 1
A = −
2 n C ox (W L )2 I D 2 1+
(W L )1 1
A = −
(W L )2 1 +
• ID1 = ID2
W W
n Cox (Vin − VTH 1 ) = n Cox (VDD − Vout − VTH 2 )
1 2 1 2
2 L 1 2 L 2
W W
(Vin − VTH 1 ) = (VDD − Vout − VTH 2 )
L 1 L 2
VDD
M1 at unsaturated region: vds1 vgs1 − Vtn vout vin − Vtn
W vds1 ² W vout ²
id 1 = µnCox ((vgs1 − Vtn )vds1 − ) = µnCox ((vDD − Vtn )vout − )
L 2 L 2
µ p Cox W µ p Cox W
id 2 = (vsg 2 − Vtp )² = ( vDD − vout − Vtp )²
2 L 2 L
CMOS Analog Design 29
CS-Stage with pMOS-Load
Output Voltage range:
Vout − g m1 µn COX W1 L2
= =
Vin g ds1 + g m 2 + g ds 2 µ p COX W2 L1
1 1
Rout =
gds1 + gm 2 + gds 2 gm 2
CMOS Analog Design 31
Source follower:
• CS stage has a good voltage gain, but load impedance
has to be high
• If the load impedance is low, a „buffer“ is needed for
impedance matching
• The maximum possible voltage gain is 1.
Vout
1
= n Cox
W
(Vin − VTH − Vout ) R S
2
2 L
Vout
1
= n Cox
W
(Vin − VTH − Vout )2 R S
2 L
• Differentiating both sides w.r.t. Vin
Vout 1 VTH Vout
2 (Vin − VTH − Vout )1 −
W
= n Cox − R S
Vin 2 L Vin Vin
VTH Vout
• since =
Vin Vin
Vout
n Cox
W
( Vin − VTH − Vout )R S
= L
Vin 1 + C W (V − V − V )R (1 + )
n ox in TH out S
L
CMOS Analog Design 35
Small signal gain (large signal analysis):
• With g m = n C ox
W
(Vin − VTH − Vout ) we get:
L
gmRS
A =
1 + (g m + g mb )R S
Vout
g m1V1 − g mb 1Vout =
RS
Vout
A =
Vin
gmRS
A =
1 + (g m + g mb )R S
• since Vin − V1 = Vout
Vbs = −Vout
• V1 = −VX
I X − g m VX − g mb VX = 0
2 L
(Vin − VTH − Vout ) =
2 2I D
W
n C ox
L
2*200 A 2
(1.2 − 0.6 − Vout ) =
2
V
50 A *40
CMOS Analog Design 43
Solution A1:
Vout = 0.153 V
• Now,
(
VTH = VTH 0 + 2F + VSB − 2F )
(
VTH = 0.6 + 0.4 0.7 + 0.153 − 0.7 )
= 0.635 V
2 L 2
W 283 m
=
L 2 min 0.5 m
1
I D = n Cox
W
(Vb − Vin − VTH )2
2 L
• As Vin decreases, so does Vout, eventually driving M1 into
the triode region if
1
VDD − n Cox
W
(Vb − Vin − VTH )2 R D = Vb − VTH
2 L
Vout
1
= VDD − n Cox
W
(Vb − Vin − VTH )2 R D
2 L
CMOS Analog Design 49
CG stage small signal gain:
= = = 51,5
L1 2K N ' 2 175µA / V 2
• Therefore
W2 2I 400µA
= = = 4,3
L2 K N 'VDS 2 ( sat ) (0,73) 175µA / V
2 2 2
2I 400µA
VGG 2 = VDS 1 ( sat ) + + VTN = 0.67V +
K N '(W2 / L2 ) 175µA / V 2 (4.3)
= 0.67V + 0.73V + 0.50V = 1.90V
•
1
I D1 = n Cox
W1
(VGS1 − VTH )2
2 L1
1
I D 2 = n Cox
W2
(VGS2 − VTH ) 2
2 L2
• Since VGS1 = VGS2 , I D 2 W2 L1 W/L ratios determine
=
I D1 W1L 2 ID2 !
2 L1 V
175 A
( )
2 * 0.04 V *
2 V
2 W1
1 m
= 10 A
CMOS Analog Design 72
Basic current mirror – design example:
W1 = W2 = 2.85 m 3 m
• step (5): Calculate Vmin
VDS2 VGS − VTH
Vmin = Vout = V = 0.2 V
Offset:
Transistors M1 and M2 are not completely identical due to
process variations ➔
Vin1 = Vin2 not necessarily Vout1 = Vout2
but Vout1 = Vout2 if and only if Vin1 = Vin2 + Vos
Vos = Input-Offset-Voltage (typ. 5 - 20 mV)
Vin1 + Vin 2
Vout1 − Vout 2 = A D (Vin1 − Vin 2 ) A C
2
Differential Common
Gain Mode Gain
RD / 2
Acm =
1
+ RSS
W
2 2 n Cox I d
L
For a zero common mode gain Rss has to be infinity ➔
ideal current source at the bottom!
CMOS Analog Design 85
Real Differential Amplifier
+
-
Vin1 Vin2 Vout
VSS
Vout
M1 M2
I SS I I SS I
I1 = − I2 = +
2 2 2 2
M3
ISS
M3 M4 Vout
M1 M2
M5
ISS
VBulk
ID1 ID2
2iD1 2iD 2
vID = vGS1 − vGS 2 = −
M1 M2
VG1 VG2
IBias VGS2 W W
VGS1
K 'N K 'N
MB L L
M4
VBulk
I SS = iD1 + iD 2
I I W vID 2 W v ID 4
2
iD 2 = SS − SS K 'N − K 'N
2 2 L I SS L 4 I SS 2
-2 ID/ISS 2
iD2 iD1
vID{ISS/KN’(W/L)}-1/2
I SS
v ID 2
K 'N W
L
From the currents one may obtain the transconductances of the
differetial inputs, which have the same magnitude but different signs:
The maximum gain is achieved at vID = 0
I D1 W I SS
gm = (VID = 0) = K ' N
vID L 4
Compared with the transconductance of an NMOS-Transistor ID=ISS/2 one sees
that the transconductance is reduced to 50%, because only half of the differential
input voltage is acting at each input node.
CMOS Analog Design 92
Gain with current mirror loads
VDD
M3 M4
iOUT
iD3
iD4 NMOS-inputs
M1 M2
PMOS Current
iD1 iD2 vOUT Mirror load
vG1 vG2
M5
VBIAS
ISS
iout W
gmd = (VID = 0) = K ' N 1 I SS = 2 gm
vID L1
Compared with the transconductance of an NMOS-Transistor ID=ISS/2
one sees that the transconductance is now 100%.
VDD
M4 linear
M4 Sättigung
VIC
M2 Sättigung
VSS M2 linear
vID
0
CMOS Analog Design 94
Gain with current mirror loads
G1
VDS1 VIC (max) = VG1 (max) = VDD − VSG 3 − VDS1 + VGS1 =
VGS1
S1 VDD − VSG 3 + VTN 1
Voltage drop in M3: VD1
The minimum voltage is determined by the voltage drop in the
source transistor M5
VIC (min) = VSS − VDS 5 ( sat ) + VGS1
CMOS Analog Design 96
Slew Rate
The Slew Rate (SR) specifies the speed for charging or
discharging a capacitive load at the output CL to a voltage
which is the gain multiplied with VID. Note that all internal
parasitics contribute to the total output load. The
charging/discharging current is sourced from the current
sink (transistor M5).
SR = I 5 / CL
Current in M5
SR = I 5 / CL = I 5 / 5 pF 10V / µs
I 5 50µA
2 50µA L3
VSG3 = 1,2V = + 0,7V
50µA / V ² W3
L3
0,5V = 2
W3
W3 W4 2
= = =8
L3 L4 0.5²
W1 W1 µA
2 µnC Ox 2 110
L1 L1 V ² W1
= = 23,31 = 100V / V
(N + P ) I SS (0, 04 + 0, 05) 100µA L1
W3
100 = 23.31
L3
W1 W2
== = = 18, 4
CMOS Analog Design L1 L2 105
Design procedure: M5
Using the lower ICMR specification we may calculate VDS5
Using W1/L1 = W2/L2 = 25 we get W5/L5 = 150, which is sufficient for the resulting
overdrive voltage VDS5(sat) = 0,11V.
Note that the gain is increased by larger input transistors, but this is no
drawback!
In order to reduce the small channel effects we select as a common channel
length 1µm, which is slightly more than the minimum dimension of 0.8µm
1. Design Methodology
2. Two-Stage Opamps
3. Frequency Compensation of Opamps
4. Cascode Opamps
5. Characterization of Opamps
c) finite Slew-Rate
• The opamp output has a limited capability to
drive/source load currents. There’s a limited range over
which the output voltage can swing while still maintaining
high-gain property.
• The limiting voltage-rate associated to the output swing
when a large-signal is applied to the input is called slew-
rate, which is usually determined by the maximum
current available to charge/discharge a capacitance.
Compensation
Capacitor CC
Barkhausen criteria
H ( s) = H ( s) exp j(arctan(0) exp j(arctan() exp j( − arctan( /10) exp j(− arctan( j /100) =
H ( s) exp(exp j(arctan(0 + j − j /10 − /100)
Drawing the phase is simple, just draw the phase-angles individually
and add them!
10 times 0
Decreases phase
margin! Like a pole!
104dB
Arg|A(j)F(j)| |A(j)F(j)|
−6dB/Okt.
p’1 p1 −12dB/Okt.
0dB
p’2 p2
180
90
0 M
j
p2 p’2 p’1 p1 z1
Specification
M4 M6
M3
IREF
Io
R CC Vout
- CL
vin M1 M2
+
+
M5 M7
-
The phase margin has to be 60 below and above GB. Hence all
frequencies are replaced in the formula by GB.
GB is given by the DC-amplification multiplied by the absolute value of
the dominant pole p1. As A(0) is very large we obtain
−1 GB −1
120 = tan A (0) + tan + tan −1 0,1
p2
GB
24,3 = tan −1
p2
tan −1 A (0) tan −1 ( ) = 90
tan −1 (0.1) = 5,7
Therefore the pole p2 has to be located 2.2 times higher then GB:
GB
tan 24,3 = tan(tan −1 ) = 0.45
p2
GB
p2 = = 2.2GB
0.45
CMOS Analog Design 175
Choosing the Miller-Capacitance
If the RHP-zero is placed at 10xGBW, by placing the non dominant pole
p2 at a frequency 2.2times higher than GBW gives 60 = M
− gm6 g g
g g
z1 m 6 10GBW = 10 m1 p2 = m 6 = 2.2 m1
CL CL CC
CC CC
g m1 g
g m 6 10 g m1 or g m 6 10 g m 2 with g m 6 10 g m1 2.2 m1 10CC 2.2CL
CL 10CC
CC 0, 22CL
here CL = 10 pF
CC = 2.2 pF better CC = 3 pF
SR = I 5 / CL*) = I 5 / 3 pF 10V / µs
I5
W3 = =
K (VDD − Vin (max) − VT 03 (max) + VT 1 (min) )
' 2
3
30µA
= 15µm
50 10 −6
( 2,5V − 2,0V − 0,85V + 0,55)
2
I5
VDS 5 = Vin (min) − VSS − − VT 1 (max) =
ß1
Note: ß = K‘/W/L)
−6
30 10
−1V − ( −2,5V ) − V − 0,85V = 0,35V
3 110 10−6
This voltage must not drop below VDS(sat) in order to keep M5 (as an
effective current source) in saturation
2I5 W5 2I5
VDS 5 ( sat ) = = ' 2
=
ß5 L5 K 5 (VDS 5 )
2 ( 30 10−6 )
−6
= 4, 49 4,5
110 10 (0,35) 2
g m 2CL g 10 pF
gm 6 = 2, 2 = 2, 2 m1 = 942,5µS
Cc 2, 2 pF
gm4 is determined by I5: ID4 = I5/2:
W
gm 4 = 2K P ' I D 4 = 2 50 10−12 15 15 = 150µS
L 4
From gm4, W4/L4 and gm6 we may calculate W6/L6 : Mirroring in first stage
requires VSG4 VSG6 hence:
W W gm 6 942
= = 15 = 94
L 6 L 4 g m 4 150
CMOS Analog Design 181
Choosing W7
The current ratios of M6 and M5 determine the width of this transistor
W W I6 W
= = 14
L 7 L 5 I 5 L 7
I6 can be determined from gm6 and the W/L-ration of this transistor from
the small signal formula of the input transconductance. If M7 leaves
saturation then we are at the minimum output-voltage-range (here -2V):
Vmin (out ) = −2,5V + VDS 7 ( sat )
2I7 2 95
VDS 7 ( sat ) = = = 0,351V
W
K N' 7 110 14
L7
The minimum output voltage is met, hence first cut design is complete!
CMOS Analog Design 182
Recheck Gain and Power
With the dimensions obtained so far, we check whether Pdiss and A are OK
2 gm 2 gm 6
A = =
I 5 (2 + 7 ) I 6 (6 + 7 )
2 942,5 92, 45 10−12
−12
= 7696V / V 5000V / V
30(0,04 + 0,05)95(0,04 + 0,05) 10
- CL =10 pF
M1 M2 95µA
vin
3/1 3/1
+
+
30µA
VBIAS M7
M5
- 14/1
4,5/1
-2,5V