Professional Documents
Culture Documents
1 Giris
1 Giris
University of California
Berkeley
College of Engineering
Department of Electrical Engineering
and Computer Science
Robert W. Brodersen
EECS140
Analog Circuit Design
I-1
EECS 140
ANALOG INTEGRATED CIRCUITS
Required Text
Analysis and Design of Analog Integrated Circuits, 4th Edition, P.R. Gray, P. Hurst, S. Lewis and R.G. Meyer, John Wiley
and Sons, 2001
Supplemental Texts
B. Razavi, Design of Analog CMOS Integrated Circuits, McGraw-Hill, 2001.
Thomas Lee, The Design of CMOS Radio Frequency Integrated Circuits, Cambridge University Press, 1998
The SPICE Book, Andre Vladimirescu, John Wiley and Sons, 1994
Prerequisites
EECS 105: Microelectronic Devices and Circuits
EE105
Linear Design
University of California
Berkeley
College of Engineering
Department of Electrical Engineering
and Computer Science
Robert W. Brodersen
EECS140
Analog Circuit Design
Lectures
on
MOS DEVICE MODELS
M-1
Assumed Knowledge
d) 2-Port Equivalents
- - ν out
A ν = -------
νin RL → ∞
i in iout
+ + + +
Rout1 Rout2
+- νin1 +- ν out1 νin2 +- νout
Vs
Rin1 a ν1 ⋅ ν in1 -
Rin2 a ν2 ⋅ ν in2
- - -
M-3
MOS Large Signal Equations
D
n-channel
IDS
G B
VDSAT
VGS
IDS
NMOS
Saturation S
G
Linear
Cutoff
S D
L
VDS
n n
p
M-4
MOS Large Signal Equations (Cont.)
Cutoff :
V GS < V T
Linear :
V GS > V T
VDS < V DSAT = VGS – VT
I DS = k'
--- ⋅ W
----- ⋅ ( VGS – VT ) 2 ( 1 + λ ⋅ VDS )
2 L
ROBERT W. BRODERSEN LECTURE 2
EECS140 ANALOG CIRCUIT DESIGN LECTURES ON MOS DEVICE MODELS
1 1
-- --
V T = V To + γ ⋅ [ ( 2 ⋅ φ f + V SB ) – ( 2 ⋅ φf ) ]
2 2
( VS B > 0 )
V To ≡ Threshold Voltage @ V S B = 0
φ f ≡ Fermi Potential ≈ 0.3 µ
W ≡ Width of Device
L ≡ Length νε
k' = µ ⋅ C ox
Oxide Capacitance E
mobility
Body Effect :
G
1
-- VT
V To + γ ⋅ V 2
SB S ++++++++ D
n n
1 ⋅ 2⋅ q⋅ ε⋅ N
γ = ------ A
Cox VTo
VBS
S G D
XJ = Junction Depth
XD
L = Ldrawn – 2 ⋅ L D
L EFF = L – X D
XD = f ( VDS )
I D( A) = k' W ⋅ ( V – V )2
--- ⋅ -------- GS T
2 LEFF
Modeled as
I D( B ) = k'
--- ⋅ W
----- ⋅ ( VGS – VT ) 2 ⋅ ( 1 + λ ⋅ VDS )
2 L
∂I D( B)
= λ ⋅ I DS
∂ V DS
∂I (DA) I D dXD
= -------- ⋅ = λ ⋅ ID
∂ VDS L EFF d VDS
λ = -------- ⋅ D ≈ --- ⋅ D
1 dX 1 dX
L EFF d VDS L d V DS
Weak function of VDS
1
2 ⋅ ε ⋅ ( VDS – V DSAT )
-
2
XD ≈ -------------------------------------------
q ⋅ NA
NA = Substrate doping
1 1
1 2 ⋅ ε 2
- -
dX D 1
= --- ⋅ ------------- ⋅ ------------------------
2
d V DS 2 q ⋅ NA V DS – VDSAT
M-9
MOS Large Signal Equations (Cont.)
λIDS
IDS
W
S D
Ideal Longer Channel L
(Increasing L)
VDS
W/L is the parameter of interest
CG ∝ W ⋅ L ⋅ C OX
M-10
M-11
MOS Small Signal Model (Low Frequency)
IDS
G D
+ gmνgs
VGS ro
gmbsνbs
-
S B
VSB -
+
dI DS dI DS dI DS
I DS = ⋅ ν gs + ⋅ νbs + ⋅ ν ds
d V GS d V BS d VDS
gm gmbs 1/ro
In Saturation :
dI DS W
gm = = k' ⋅ ----- ⋅ ( V GS – VT ) ⋅ ( 1 + λ ⋅ VDS )
d V GS L
1
--
L L L
What is VDSAT ?
I DS = k'
--- ⋅ W
----- ⋅ ( VGS – VT ) 2 = k'
--- ⋅ W
----- ⋅ V 2DSAT and from above,
G 2 L 2 L
+
g m = k' ⋅ W
----- ⋅ VDSAT so,
S L
- 1
2 ⋅ I DS
-
V DSAT = --------------------
2
VGS = VT + V DSAT
k' ⋅ W ⁄ L
gmbs calculation :
dI DS W dV
g mbs = g mb = = – k' ⋅ ----- ⋅ ( V GS – VT ) ⋅ ( 1 + λ ⋅ VDS ) ⋅ T
d V BS L d VBS
dV T γ - ≡ –χ
= – ----------------------------------------
d VBS 2 ⋅ ( 2 ⋅ φf + V S B ) 0.5
g mbs = k' ⋅ W
----- ⋅ ( V GS – V T ) ⋅ ( 1 + λ ⋅ VDS ) ⋅ χ
L
gm
g
-------
mbs
= χ γ
χ = ----------------------------------------
-
gm 2 ⋅ ( 2 ⋅ φ f + V SB ) 0.5
Cox
0.23 G
g-------
= χ
mbs
S D
gm
n n
0.1 Cjs
-5V VBS 0V
Qchannelduetovgs ≈ Cox ⋅ ν gs
γ = 0.5
φf = 0.3 Qchannel duetovbs ≈ Cjs ⋅ νbs
k’ = 90e-6 Cjs
λ = 0.01 χ = ------
C ox
VTo=0.7
ro calculation :
1
---
= g mds =
dI DS
=
d k' W
--- ⋅ ----- ⋅ ( V GS – V T ) 2 ⋅ ( 1 + λ ⋅ V DS )
ro d V DS d V DS 2 L
1 k' W
--- = --- ⋅ ----- ⋅ ( VGS – VT ) 2 ⋅ λ
ro 2 L
1
--- = λ ⋅ I DS
ro
1
r 0 = -------------
λ ⋅ I DS
PHI = 2 ⋅ φf ∼ 0.6
L L VDSAT
g mbs = χ ⋅ gm
γ
χ = ----------------------------------------
- V DSAT = V GS – V T
2 ⋅ ( 2 ⋅ φ f + VSB ) 0.5
1
2 ⋅ I DS
-
V GS = VT + --------------------
1 2
r 0 = -------------
λ ⋅ I DS k' ⋅ W ⁄ L
I-----DS V GS – V T VDSAT
gm
= ------------------ = ----------
2 2 I DS = k'
--- ⋅ W
----- ⋅ ( V GS – V T ) 2
1
2 L
2 ⋅ I DS
--
= --------------------
2 1- 1-
VDSAT V T = V To + γ ⋅ [ ( 2 ⋅ φ f + VSB ) – ( 2 ⋅ φ f ) ]
2 2
k' ⋅ W ⁄ L
University of California
Berkeley
College of Engineering
Department of Electrical Engineering
and Computer Science
Robert W. Brodersen
EECS140
Analog Circuit Design
Lectures
on
SPICE
SP-1
Spice Transistor Model :
M1 1 2 3 4 nch L=1µ W=10µ
parasitic resistors
G area of drain
1
W
S D 2 4
L
3
SP-2
SPICE
Initial Operationg Point
DC currents and Voltages
4 VA SP-3
+-
R4 I4 Gi = 1/Ri
2
1 3
I1 +- VB R1 R2 R3
Node 1 : ( G 1 + G4 ) ⋅ V 1 – G 1 ⋅ V2 – G 4 ⋅ V4 + I 1 = 0
Node 2 : – G 1 ⋅ V 1 + ( G 1 + G 2 + G3 ) ⋅ V 2 – G 3 ⋅ V 3 = 0
Node 3 : – G 3 ⋅ V2 + G 3 ⋅ V 3 – I4 = 0
Node 4 : –G 4 ⋅ V1 – G 4 ⋅ V4 + I 4 = 0
V1 = VB
–V3 –V4 = VA
SP-4
SP-5
Matrix Solution
A x = b
we need
Solve by Gaussian Elimination
(0) denotes iteration step
Eliminate a21,a31
(0 ) (0 )
x x x
e (11) = e (10) e (21) = e (20) – a------
21
⋅ e (0 )
1 e (31) = e (30) – a------
31
⋅ e (0 )
1 0 x x
a (110) a (110)
0 x x
SP-6
Then eliminate a32(1)
e (12) = e (11) x x x
e (22) = e (21) Upper triangular matrix
0 x x
a (1 ) can be solved
e ( 2)
3
( 1)
= e – ------
3
32
⋅ e (1 )
2
00 x
a (221)
SP-7
Accuracy
Can’t divide by 0 or small numbers, so pivoting is used
to reorder eqn’s (Basically renumbering nodes). Puts
maximum values on diagonal.
R1=1Ω
1 –1 V1 = 1
– 1 1.0001 V 2 0
1 1-
-- – -------- = G1 + G 2
1 10k
1A R2=10kΩ
If the computer only has 4
digits of precision then we get,
Actually, V1 – V2 = 1
1 –1 V 1 = 1
–V1 + V2 = 0
V 1 = 10, 001V –1 1 V2 0
V 1, V 2 = ∞
V 2 = 10, 000V
SP-8
To control accuracy
.options PIVTOL = <values> (1018)
This sets the allowable range of conductance values.
SP-9
Solution of the DC equations with non-linear models
VD
ID = I S ⋅ e – 1
---------
VTH
IG = G ⋅ V
Need to find
+ IA this point
IG
VD
IA G
IG - ID ID,G
ID
SP-10
Newton-Raphson Iteration :
VD(0) ID0
IA G GD0
-
SP-11
VD
SP-12
Convergence
SP-13
Current convergence is broken into two types; MOS and NOT MOS
ABSMOS ∼ ABSOLUTE ( 10 –6 )
MOS
RELMOS ∼ RELATIVE ( 0.5 )
ABSI ∼ ABSOLUTE( 10 – 9 )
NOTMOS
RELI ∼ RELATIVE ( 0.01 )