Professional Documents
Culture Documents
LECTURE NOTES
1. Definition
2. Implementation
3. Simulation
4. Geometrical description
5. Simulation including the geometrical parasitics
6. Fabrication
7. Testing and verification
• Simulation
Bottom – Up
• Design Capture
Flow
• Hand Calculations
1. No breadboards required
2. Every node in the circuit is accessible
3. Feedback loops may be opened
4. Modification of the circuit is easy
5. Modification of processes and ambient conditions is
possible
1. Accuracy of models
2. Convergence problems of the simulator: circuit may
not converge to a stable operating point
3. Time required to perform simulations of large circuits
4. Use of the computer as a substitute for thinking
1. Insulation purposes
2. Diodes and zeners
3. Basic structure of MOS and Bipolar transistor
Step function
change of impurity
concentration =>
Idealization
Equilibrium
condition:
Field forces =
Diffusion forces
E0 = 0 ∫ E0
dE = Xp ∫ 0
–qNA / εSi dx
-qNDXn qNAXp
Therefore, E0 = =
εSi εSi
-E0(Xn – Xp)
Φ0 - VD =
2
2εSi(Φ0 – VD)NA
Xn = ( qND(NA + ND)
)1/2
2εSi(Φ0 – VD)ND
and Xp = - ( qNA(NA + ND)
)
1/2
2εSi(NA + ND)
Xd = Xn – Xp = ( qNAND
)
1/2
(Φ0 - VD)1/2
Qj = |AqNAXp| = AqNDXn
2εSiqNAND
(
Qj = A
(NA+ND)
) 1/2
(Φ0 - VD)1/2
2qNAND
E0 = ( ε (N +N ) ) 1/2
(Φ0 - VD)1/2
Si A D
Cj0
=
[1-(VD /Φ0)]m
Ideal
Actual
εSi(NA + ND)
BV = ( 2qNAND
)(E max) 2
1
iRA = MiR = ([1- (V R /BV) n] ) xiR
Dppn0 Dnnp0
iD = qA ( Lp + Ln )
(exp(VD/Vt) – 1)
Or
iD = Is (exp(VD/Vt) – 1)
√2qεSiNA
γ= (unit: V1/2)
Cox
holds good for (VGS – VT) >= VDS and VGS >= VT
2. Saturation mode:
Saturation condition:
VDS = (VGS – VT)
1 W
gds nCox V GS V TH ² I D
2 L
I D I D I D VT
gmbs g gm
VBS VSB VT VSB
m
2 2 F VSB
1 W
gds nCox V GS V TH ² I D
2 L
The mobile charge in the channel flows along the y-direction driven by Ey
The mobile charge at position y depends on VGS and the channel voltage Vc(y) is
Note:
The channel is tapered as we move from source to drain as the gate to channel voltage
causing surface inversion is smaller at the drain end!
i
0
D dy W n Q( y )dV
0
C
iD L W Cox n V
0
GS Vc ( y ) VT dVc
2L
2L
2L
VGS VT
VGD VGS VDS VT
This is the linear operating region
not valid beyond the linear/saturation boundary:
VDS VGS VT VDSAT
Above VDSAT current increases no more
Above VDSAT the channel charge at the drain end becomes zero (very small)
Q(y=L) 0
nCox VGS VT
W 2
iD
2L '
As L‘ reduces with increasing VDS further beyond VDSAT iD is growing in
saturation with drain-source-voltage
iD = - vn(y)Q(y)W ...(2‘)
μnE
vn = for E < Ec
1 + E/Ec
1
K(VDS) =
1 + VDS/EcL
W/L=2.5µm/0,25µm, W/L=25µm/2,5µm,
Imax = 2,2mA Imax = 5,4mA
W/L=10µm/1,0µm,
Imax = 4,3mA
• 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
- Problems:
(a) capacitance to n-well
(b) voltage coefficient 100....250 ppm/V
TCF = 1.dX
X dT
-iD = Is = qA ( Dppn0
Lp
+
Dnnp0
Ln
= )
qAD .(ni)2
L N
Calculate the TCF for the reverse diode current for 300 K
and Vt = 0.025 V
1 L
rON = =
diD/dVDS Q K‘W(VGS - VT - VDS)
• Analog applications:
- to overcome noise
- to drive a next stage
- used in feedback systems
- to provide logic levels for interfacing to digital
circuits
• Digital applications:
- to drive a load
• Generalised system
transfer curve:
x may be current or
voltage
1. Gain
2. Speed
3. Power consumption
4. Supply voltage
5. Linearity
6. Noise
7. Maximum voltage swing at the output
8. Input and output impedance
• Three targets:
- die size
- speed
- power consumption
2 L
3. Vin >= Vout + VTH:
Vout
1
VDD R D n Cox
W
2Vin 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
Prof. Dr. Hoppe CMOS Analog Design 138
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)
2 L
Vout
• R D n Cox
W
Vin VTH 1 Vout
Vin L
Vout
1
R D n C ox
W
Vin VTH
2
2 L Vin
• Using the approximation
I D 1 2 n Cox W LVin VTH
2
We obtain:
A R Dg m R D I DA
• Hence
gmR D
A
1 R D I D
• Since I D 1 rO ,
rO R D
A g m
rO R D
• Todays technology:
gmrO is between 10 to 30
• As VDS = VGS V1 = VX
VX
IX g m VX
rO
1 1
Impedence rO
gm gm
I X g m g mb VX
VX
rO
Prof. Dr. Hoppe CMOS Analog Design 149
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
gm2 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
vds1 vgs1 Vtn vout vin Vtn
M1 ungesättigter Bereich:
W v ² W v ²
id 1 µnCox ((vgs1 Vtn )vds1 ds1 ) µnCox ((vDD Vtn )vout out )
L 2 L 2
µ p Cox W µ p Cox W
id 2 (vsg 2 Vtp )² (vDD vout Vtp )²
2 L 2 L
Prof. Dr. Hoppe CMOS Analog Design 157
CS-Stufe mit pMOS-Last
Ausgangsspannungsbereich: Gleichsetzen
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
Prof. Dr. Hoppe CMOS Analog Design 159
CS-Stufe mit pMOS-Last
3dB Frequenz: Verstärkung sinkt hier auf 70%:
-3dB = 1/[Rout(Cout)]
• Cout ist die gesamte kapazitive Last am Ausgang:
– Externe Eingangskapazität
– Leitungskapazität
– Parasitäre Transistorkapazitäten
Beispiel: Rout = ro für einen pMOS-Transistor W/L = 3/1, in
dem der Drainstrom 60µA fließt ist bei Cout = 5 pF:
1/ ro gm 2µ p Cox (W / L) I D 2 60 3 50µA / V 134µA / V
roC 5 pF /134µA / V 0,037 106 s
3dB 27 Mrad / s f 3dB 4,3MHz
Prof. Dr. Hoppe CMOS Analog Design 160
AMS 0,35µm CMOS Technology
AMS CSD 0,35µm CMOS 3,3V Prozess
Parameter Beschreibung Parameterwerte Einheit
NMOS PMOS
Simulation:
Vout(max) = 2,98V
Vout(min) = 0,06V
Theorie:
Vout(max) = 2,8V
Vout(min) = 0,08V
Simulation:
f-3dB = 4,1 MHz
Verst. = 12,1 dB
Theorie:
f-3dB = 6,2 MHz
Verst. = 12 dB
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
Prof. Dr. Hoppe CMOS Analog Design 174
Small signal gain (large signal analysis):
• With g m n C ox
W
Vin VTH Vout we get:
L
gmR S
A
1 g m g mb R S
• 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
Prof. Dr. Hoppe CMOS Analog Design 182
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) nonlinearity
(2) voltage headroom limitation
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
Prof. Dr. Hoppe CMOS Analog Design 193
CG stage small signal gain:
Vout
• The transconductance can be obtained by by
I in
creating the small signal
VDD RD
equivalent circuit and by
Vout
Vb
replacing the current source
V1 gmV1 ro gmbVbs RD
Rp
Vin
Vout ( g m g mb )ro 1
I in ro ( g m g mb )ro RP RD
• Cascade of a common
source and a common
gate stage is called a
„cascode stage“
• M1 generates small signal
drain current proportional
to Vin
• M2 routes this current to
RD
• M1 is the input device
• M2 is the cascode device
• M1 and M2 carry the same
current
51,5
L1 2KN ' 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 C ox
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 *
W1
2
10 A
2 V 1 m
Prof. Dr. Hoppe CMOS Analog Design 226
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
Overdrive = 0.2V
50µA current
Output resistance
350kOhm
vdd5500DC
vdd DC3.3
3.3
• Improved output resistance
RL5522260000
190000
RL
• Reduced voltage
Vout4400DC 3.3 range
DC10.0
Vout
m12222010
m1 0 MODN
0 MODN WW = 16U
= 16U L=L 1U
= 1U
m24422012
m2 0 MODN
0 MODN WW = 16U L
= 36.3U L== 1U
1U
m3 10 10 0 0 MODN W = 16U L = 1U
m4 12 10 0 0 MODN W = 16U L = 1U
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!
Prof. Dr. Hoppe CMOS Analog Design 242
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 vGS 1 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 vID 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.
Prof. Dr. Hoppe CMOS Analog Design 249
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
Prof. Dr. Hoppe CMOS Analog Design 251
Gain with current mirror loads
iout g md v ID
v ID rout iout
The output resistance is determined by the devices M2 and M4 in the
output sidebranch
1 1
rout
gds 2 gds 4 ( ) I SS
2 4
2
Hence we obtain
vout 2 W 1
A K 'N 1
vID 2 4 L1 I SS
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
Prof. Dr. Hoppe CMOS Analog Design 253
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
Prof. Dr. Hoppe CMOS Analog Design L1 L2 263
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
M3 M4
M3 2 2 1 1 MODP W = 62U L = 1U iOUT
M4 3 2 1 1 MODP W = 62U L = 1U iD3
M1 2 1P 5 0 MODN W = 30U L = 1U iD4
M2 3 1M 5 0 MODN W = 30U L = 1U
M1 M2
M5 5 7 0 0 MODN W = 120U L = 1U
RR iD1 iD2
M6 7 7 0 0 MODN W = 120U L = 1U vG1 vG2 vOUT
RR 1 7 18000 M7 VBIAS M5
ISS
ADIFF = 43dB
3dB
Frequ.
200kHz
0.02µs
SR=1V/0.025µs
0.03µs
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
ArgA(jF(j A(jF(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
Prof. Dr. Hoppe CMOS Analog Design 345
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 p2 m 6 2.2 m1
z1 m 6 10GBW 10 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 106
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 106
6
4, 49 4,5
110 10 (0,35) 2
g m 2 CL 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 2 K P ' I D 4 2 50 1012 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
Prof. Dr. Hoppe CMOS Analog Design 351
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!
Prof. Dr. Hoppe CMOS Analog Design 352
Recheck Gain and Power
With the dimensions obtained so far, we check whether Pdiss and A are OK
2 gm 2 gm6
A
I 5 (2 7 ) I 6 (6 7 )
2 942,5 92, 45 1012
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