MIT-Michael H. Perrott
MIT-Michael H. Perrott
Lecture 1
Michael H. Perrott
January 22, 2012
M.H. Perrott
Analog Electronics are Pervasive in our Lives
Smart Fiber Optic Data Medical
Phones Communication Instruments
Automotive Monitoring
Instruments & Control
Traditional interface
Ibias M3 M4
M1
M1 M2
R1 R2
M.H. Perrott 7
Example 2: A VCO-Based Analog-to-Digital Converter
Explicit
DWA
Amplitude (dB)
Harmonic due to non-linearity
RF input: -60
Pin(t) I
-1
Optical
1
phase modulator
Ti:sapphire
ML-laser Q
source: www.ecliptek.com
M.H. Perrott 11
Key Skills To Be Learned In This Class
M.H. Perrott 12
Prerequisite Skills
M.H. Perrott 13
Class Flow
Lectures:
- Sundays, Wednesdays from 10:00-11:15 am
Office hours: Sun 11:30-12:30, Wed 11:30-12:30, By Appt.
Homework:
- One problem set per week
Short quizzes (15 minutes at end of lecture):
- Once per week covering homework material
- You are granted one “ignore” credit for these short quizzes
Full quiz: Wednesday, March 7
Project: Passed out on April 11, Due May 2
Final exam: During finals week
M.H. Perrott 14
Lecture Style and Recommendations
M.H. Perrott 15
Class Policies
Homework and projects are to be completed individually,
though you are allowed to work with others
- You must specify the names of anyone you work with on
each assignment/project
- You must not show identical work to others for any
assignment/project (i.e., no copying)
Homework and projects must be turned in at the beginning
of class (i.e., 10:15 am) on their due date
- Reduction of grade by 10% for every day late
Anything after beginning of class counts as at least one day
- You will have 7 days total of “late” day credits for homeworks
and projects (not 7 days for homeworks, 7 days for projects)
No reduction of grade when applying this credit – use it wisely
Absolutely no copying or collaborating during a quiz/final
- One summary sheet allowed during quizzes, two during final
M.H. Perrott 16
Homework and Project Clarity
Equation(s)
Answer = ……….
M.H. Perrott 17
Simulation Tools Will Be Run On Your Laptop
Linear Network
Thevenin Equivalent Norton Equivalent
Zth
M.H. Perrott 19
Thevenin/Norton Modeling: Example 1
From Electric Circuits 5kΩ 2.5kΩ
By James Nilsson a
Vab
5V 5kΩ 1mA
b
M.H. Perrott 20
Thevenin/Norton Modeling: Example 2
From Electric Circuits 2kΩ
By James Nilsson a
i1
5V 3v1 20i1 v1 25Ω
b
ix
Compute ix and Thevenin and Norton models…
M.H. Perrott 21
Analysis and Design of Analog Integrated Circuits
Lecture 2
Michael H. Perrott
January 25, 2011
M.H. Perrott
Review: Basics of One-Port Modeling
Linear Network
Thevenin Equivalent Norton Equivalent
Zth
M.H. Perrott 2
Basics of Two-Port Modeling (Unilateral)
M.H. Perrott 3
Analysis of Cascaded Blocks
Block 1 Block 2 Block 3
Linear Network Linear Network Linear Network
Vin Va Vb Vc ZL
Vin Zin GmVin Zout Va Zin GmVa Zout Vb Zin GmVb Zout Vc ZL
Zout,effective
Vth,effective Vb Zin,effective
Linearization
Block 1 Block 2 Block 3
Linear Network Linear Network Linear Network
Vin Va Vb Vc ZL
Vout
Vin Vout ZL
Vin
M.H. Perrott 7
Impact of Operating Point on Small Signal Modeling
NonLinear Gain Block
Vout
Vout_dc
Vin Vout ZL
Vin
Vin_dc
M.H. Perrott 8
Achieving a Small Signal Model
NonLinear Gain Block
Vout
Vout_dc
Vin Vout ZL
Vin
Vin_dc
M.H. Perrott 9
Including Impedances in Two-Port Models
Zs Zout
M.H. Perrott 10
Example of Two-Port Derivation
Device Small Signal Model
RG g d
vs RS
g d
RG
L R C
R
Zin C C R Zout
M.H. Perrott 12
Example: Transfer Function of Two-Port Circuit
Rsrc g d
M.H. Perrott 13
Frequency Response
M.H. Perrott 14
Bode Plot Basics
M.H. Perrott 15
Plotting the Magnitude of Poles
20log|H(ω)|
0 dB ω
ωp1
-20 dB/decade
M.H. Perrott 16
Plotting the Magnitude of Zeros
- For w << w :
z
- For w >> w :
z
20log|H(ω)|
20 dB/decade
0 dB ω
ωz
M.H. Perrott 17
Putting It All Together
20log|H(ω)| 0 dB/dec
0 dB ω
ωz ωp1 ωp2
M.H. Perrott 18
Changing the Order of Poles and Zeros
0 dB
-20 dB/dec
0 dB/dec
-20 dB/dec
ω
ωp1 ωz ωp2
M.H. Perrott 19
Changing the DC Gain from 1 to K
20log(K) dB
-20 dB/dec
0 dB/dec
-20 dB/dec
ω
ωp1 ωz ωp2
M.H. Perrott 20
Analysis and Design of Analog Integrated Circuits
Lecture 3
Michael H. Perrott
January 29, 2012
M.H. Perrott
Introducing CMOS Devices
NMOS PMOS
p+ n+ n+ n+ p+ p+
p- n-
(Bulk) (Bulk)
p-
(Drain) (Source)
D S
S D
(Source) (Drain)
p+ n+ n+ n+ p+ p+
p- n-
(Bulk) (Bulk)
p-
(Drain) (Source)
D S
(Gate) G (Gate) G
S D
(Source) (Drain)
Bulk silicon below the channel under the gate also has an
impact on the channel current
- We often tie the Bulk to Gnd/Vdd for NMOS/PMOS devices
In such case, the symbol does not include the bulk terminal 3
M.H. Perrott
Symbol Notation Often Includes Size
W
M1
W
L
L
ΔV
If Vgs < VTH, then current density Id/W is small
- The device is in the subthreshold operating region
For Vgs > VTH, then Id/W is much larger
- The device is in strong inversion
- If V > V, then I is relatively independent of V
ds d ds
The device is in the saturation operating region
- If V < V, then I is strongly dependent on V
ds d ds
The device is in the triode operating region
M.H. Perrott 5
PMOS Devices are Complementary to NMOS Devices
Id Vsd > ΔV
Vsg s
M2
g
d Id Id_op
Vsg
PMOS -VTH Vsg_op
ΔV
M.H. Perrott 6
Examine MOS Behavior As Vds is Increased
Triode ID
VGS
G Overall I-V Characteristic
VDS=0
S D
Cchannel = Cox(VGS-VTH)
ID
Pinch-off ID Saturation
Pinch-off
VGS
G
VD=ΔV
S D Triode
VDS
Saturation ΔV
ID
VGS
G
VD>ΔV
S D
ID
Saturation
Pinch-off
See page 15-23 of Razavi…
Triode
ΔV Increasing Vgs
VDS
M.H. Perrott 8
MOS Current Equations in Triode and Saturation Regions
Triode ID
ID = μnCox W (VGS - VTH - VDS/2)VDS
VGS L
G
VDS=0 for VDS << VGS - VTH
S D
ID μnCox W (VGS - VTH)VDS
L
Cchannel = Cox(VGS-VTH)
Pinch-off ID
VGS ΔV = VGS-VTH
G
VD=ΔV 2IDL
S D ΔV =
μnCoxW
Saturation ID
VGS 1 μ C W 2
G ID = n ox (VGS-VTH) (1+λVDS)
VD>ΔV 2 L
S D (where λ corresponds to
channel length modulation)
M.H. Perrott 9
The Issue of Velocity Saturation
Which is really
- If V gs-VTH
approaches LEsat in value, then
We say that the device is in velocity saturation
The current becomes linearly related to Vgs-VTH
M.H. Perrott 10
Example: Current Versus Voltage for 0.18 Device
Id
Vgs
M1 W 1.8μ
= Id versus Vgs
L 0.18μ 1.4
1.2
Id (milliAmps) 1
0.8
0.6
0.4
0.2
0
0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
V (Volts)
gs
M.H. Perrott 11
The Tricky Issue of Modeling MOS Devices
M.H. Perrott 12
What is the Key Role of Large Signal Calculations?
M.H. Perrott 13
A Key Small Signal Parameter: Transconductance
Id Vds > ΔV
d
Id
g
M1
ΔId
Vgs s Id_op gm =
ΔVgs
Vgs_op
Vgs
NMOS VTH Vgs_op
ΔV
Transconductance from input gate voltage, Vgs, to
channel current, Id, is very important for amplifier circuits
- Assuming device is in saturation:
M.H. Perrott 14
A Key Small-Signal Nonideality: Output Resistance
ID
Saturation
Pinch-off
ΔId
gds =
ΔVds
Triode Vds_op
Vds
ΔV Vds_op
Ideally, Id would not change with Vds when the device is
in saturation
- Practical CMOS transistors exhibit I dependence on V
d ds
due to channel length modulation
- The parameter is often used to characterize this effect
M.H. Perrott 15
Another Non-Ideality: Back-Gate Effect
NMOS PMOS
p+ n+ n+ n+ p+ p+
p- n-
(Bulk) (Bulk) p-
The threshold voltage of the device, VTH, is dependent on
the potential between the source and bulk
RD RD
ID
RG
RG
RS
γ gm 2qεsNA
gmb = where γ =
See Chapter 2 of Razavi 2 2|ΦF| + VSB Cox
for more discussion of In practice: gmb = gm/5 to gm/3
these formulas
1
ro =
λID 17
M.H. Perrott
MOS DC Small Signal Model
RD RD
ID
RG
RG
vgs rds
RS
1
vs RS rds =
μnCox(W/L)(VGS - VTH)
M.H. Perrott 18
Example: Determine V and Operating Region (NMOS)
ΔV = ΔV = ΔV =
Region = Region = Region =
1V 0.2V 1V
0.2V 1V 0.7V
ΔV = ΔV = ΔV =
Region = Region = Region =
M.H. Perrott 19
Example: Determine V and Operating Region (PMOS)
ΔV = ΔV = ΔV =
Region = Region = Region =
0.5V 0.9V
ΔV = ΔV = ΔV =
Region = Region = Region =
M.H. Perrott 20
Example: Determine Operating Region of M1 and M2
M.H. Perrott 21
Example: Determine V and Operating Region
Michael H. Perrott
February 1, 2012
M.H. Perrott
Lecture 3 Discussed Large Signal Calculations
M.H. Perrott 2
A Key Design Parameter is the Sizing of Devices
W
M1
W
L
L
RD RD
ID
RG
RG
RS
γ gm 2qεsNA
gmb = where γ =
2 2|ΦF| + VSB Cox
In practice: gmb = gm/5 to gm/3
1
ro =
λID
VGS E
G
Cov Cov
VD>ΔV
S D W S Cgc D
Cjsb Ccb Cjdb
LD LD
L
B
E E
L junction bottom wall junction sidewall
cap (per area) cap (per length)
Cj(0) Cjsw(0)
source to bulk cap: Cjsb = WE + (W + 2E)
1 + VSB ΦB 1 + VSB ΦB (make 2W for "4 sided"
perimeter in some cases)
Cj(0) Cjsw(0)
drain to bulk cap: Cjsd = WE + (W + 2E)
1 + VDB ΦB 1 + VDB ΦB
2
overlap cap: Cov = WLDCox + WCfringe gate to channel cap: Cgc = C W(L-2LD)
3 ox
RD
RG
ID RD
Cgd
Cdb
vgs Cgs gmvgs -gmbvs ro
RG
Csb
RS
vs RS
2
Cgs = Cgc + Cov = C W(L-2LD) + Cov
3 ox
Cgd = Cov
Csb = Cjsb (area + perimeter junction capacitance)
Cdb = Cjdb (area + perimeter junction capacitance)
M.H. Perrott 6
Small Signal Modeling Strategy
M.H. Perrott 7
Thevenin Modeling of CMOS Transistors
gm qID
2μnCox(W/L)ID
Rthg vgs nkT
gmvgs -gmbvs ro
γ gm (n-1)qID
gmb
2 2|ΦF| + VSB nkT
s
Rths
vs RS 1 1
ro
λID λID
gm qID
2μnCox(W/L)ID
Rthg vgs nkT
gmvgs -gmbvs ro
γgm (n-1)qID
gmb
2 2|ΦF| + VSB nkT
s
Rths Note: gmb = 0
vs RS 1 1
ro
if RS=0 or Vsb=0 λID λID
Thevenin Resistances Exact
Rth = ro (1+(gm+gmb)RS)+RS
Thevenin resistances
d
RD
Rthg= infinite useful for many
ID 1
Rthd
Rth = (1+RD /ro ) (ro
s gm+gmb
) calculations
d
RG g Approximation
(gmb << gm, gmro >> 1)
It would be nice to
s
Rthg
Rths Rthd= ro (1+gmRS) replace Hybrid-
RS Rthg= infinite model with a simpler
1 + RD /ro 1
Rth =
s gm gm
(RD<< ro ) alternative
M.H. Perrott 9
Replace Hybrid- Model with Proposed Thevenin Model
gm qID
2μnCox(W/L)ID
Rthg vgs nkT
gmvgs -gmbvs ro
γ gm (n-1)qID
gmb
2 2|ΦF| + VSB nkT
s
Rths Note: gmb = 0
vs RS 1 1
ro
if RS=0 or Vsb=0 λID λID
Rthd= ro (1+(gm+gmb)RS)+RS g d
is
Rthg= infinite Rths
ID RD
Rths= (1+RD /ro ) (ro 1 ) Rthg vg Avvg α is Rthd
Rthd gm+gmb
RG d
g Approximation
(gmb << gm, gmro >> 1) s
Rthg s
Rths Rthd= ro (1+gmRS) Exact Approximation
gm
RS Rth = infinite Av = gmro Av = 1 (gmb<<gm, gmro>>1)
g gm+gmb
1 + RD /ro 1
Rth =
s gm gm
(RD<< ro ) α = 1+RD /Rthd α = 1 (RD<<Rthd)
M.H. Perrott 10
Key Things to Know About the Proposed Thevenin Model
Thevenin Resistances Exact Proposed Small Signal Transistor Model
Rth = ro (1+(gm+gmb)RS)+RS g d
d
is
Rthg= infinite Rths
ID RD
Rths= (1+RD /ro ) (ro 1 ) Rthg vg Avvg α is Rthd
Rthd gm+gmb
RG d
g Approximation
(gmb << gm, gmro >> 1) s
Rthg s
Rths Rthd= ro (1+gmRS) Exact Approximation
gm
RS Rthg= infinite Av = gmro Av = 1 (gmb<<gm, gmro>>1)
gm+gmb
1 + RD /ro 1
Rths= gm gm
(RD<< ro ) α = 1+RD /Rthd α = 1 (RD<<Rthd)
M.H. Perrott 11
A General View of Signal Flow in an Open Loop Device
Vin,d ID RD
d
RG g Vd
M1
M1
s Vs gate signal impacts source signal impacts
RS source and drain drain
Vin,g
RG Rths is
Vin,s g d
s vd
vin,g RS vin,d
vs
vin,s
RD
RG Vout
M1
Vin
RS
M1
RG Rths is
g d
RS
M.H. Perrott 14
Reduce to Two-Port
RG
RD
RG Vout
M1 vin vg Rthg Gmvg Rthd RD vout
Vin
RS
M1
RG Rths is
g d
RS
Calculation of Gm:
M.H. Perrott 15
Detailed Example
1.3V Assumptions:
10kΩ nCox = 50A/V2, VTHn = 0.5V
Vout
100Ω = 1/(10V), = 0
13u
0.13u
Vin M1
100Ω
Vbias= 0.65V
M.H. Perrott 16
Analysis and Design of Analog Integrated Circuits
Lecture 5
Michael H. Perrott
February 5, 2012
M.H. Perrott
From Lecture 4: Proposed Thevenin Model for Transistor
gm qID
2μnCox(W/L)ID
Rthg vgs nkT
gmvgs -gmbvs ro
γ gm (n-1)qID
gmb
2 2|ΦF| + VSB nkT
s
Rths Note: gmb = 0
vs RS 1 1
ro
if RS=0 or Vsb=0 λID λID
Rthd= ro (1+(gm+gmb)RS)+RS g d
is
Rthg= infinite Rths
ID RD
Rths= (1+RD /ro ) (ro 1 ) Rthg vg Avvg α is Rthd
Rthd gm+gmb
RG d
g Approximation
(gmb << gm, gmro >> 1) s
Rthg s
Rths Rthd= ro (1+gmRS) Exact Approximation
gm
RS Rth = infinite Av = gmro Av = 1 (gmb<<gm, gmro>>1)
g gm+gmb
1 + RD /ro 1
Rth =
s gm gm
(RD<< ro ) α = 1+RD /Rthd α = 1 (RD<<Rthd)
M.H. Perrott 2
A General View of Signal Flow in an Open Loop Device
Vin,d ID RD
d
RG g Vd
M1
M1
s Vs gate signal impacts source signal impacts
RS source and drain drain
Vin,g
RG Rths is
Vin,s g d
s vd
vin,g RS vin,d
vs
vin,s
M.H. Perrott 4
Basic Single-Stage CMOS Amplifiers
Common Source Common Gate Source Follower
Vin W1
ZL ZL Source
L
Vout Vout M1 Vout
id id
ZL
Vin W1 W1
Source
L L
M1 M1 iin
ZL
Vout
id
Source
Vin W1
Source Zsrc
L
M1 Vsrc Isrc Zsrc
ZS
M.H. Perrott 5
Example: The Impact of Low Input Impedance
Vbuf
Zsrc
Vsrc
Zin Assume:
Zsrc = 10k
Zin = 100
Vbuf
Zsrc
Vsrc
Zin Assume:
Zsrc = 10k
Zin = 100
ZL = 10k
gm = 1/(100)
Source Follower
gmb = 0
Vin W1 ro = 100k
Zsrc
L Vbuf
Vsrc M1
ZL
Zin
Vbuf
Isrc Zsrc
Zin
Assume:
Zsrc = 100
Zin = 1k
Vbuf
Isrc Zsrc
Zin
Vbuf
Isrc Zsrc
Zin
Isrc
Zsrc
Calculate the gain from Isrc to Vbuf
Did the source follower help?
M.H. Perrott 10
Consider Using a Common Source Amplifier Instead
Vbuf
Isrc Zsrc
Zin
Assume:
Zsrc = 100 Common Source
Zin = 1k
ZL = 10k
ZL
gm = 1/(100) Vbuf
gmb = 0
ro = 100k id
Vin W1 Zin
L
Isrc Zsrc M1
Current Mirrors
Michael H. Perrott
February 8, 2012
M.H. Perrott
From Lecture 5: Basic Single-Stage CMOS Amplifiers
Common Source Common Gate Source Follower
Vin W1
ZL ZL Source
L
Vout Vout M1 Vout
id id
ZL
Vin W1 W1
Source
L L
M1 M1 iin
ZL
Vout
id
Source
Vin W1
Source Zsrc
L
M1 Vsrc Isrc Zsrc
ZS
M.H. Perrott 2
A Closer Look at Load Impedance
Common Source Common Gate Source Follower
Vin W1
ZL ZL Source
L
Vout Vout M1 Vout
id id
ZL
Vin W1 W1
Source
L L
M1 M1 iin
RL
Vout
Id
Vin
Source Want Vds > ΔV
M1
RL
Vout
Id
Vin
Source Want Vds > ΔV
M1
Vout
Id
Vin
Source Vds1 > ΔV1
M1
Ibias
Zo Id
W2 Vbias W1
Vds1 > ΔV1
L L
M2 M1
M1
RS
But, in reality
s
Rs
M.H. Perrott 13
Proposed Thevenin Model Works!
Zo
itest
g d vtest
is
Rths
Rthg vg Avvg α is Rthd
s
Rs
M.H. Perrott 14
Check Thevenin Resistance Calculation
Zo Zo
RS
vs RS
Zo
Ibias
Iref
node1 node2
M2 M1
Zo Zo
g1 d1
Zo Zo
Iref
Ibias Vbias Vbias
Vds3 > ΔV3 M3
M3
ro1
Vds1 > ΔV1
M2 M1
M.H. Perrott 17
Double Cascode Current Source
I1 I2 Zo
Vbias2 M3
Vds3 > ΔV3
Vbias1 M2
Vds2 > ΔV2
M4 M1
Vds1 > ΔV1
M.H. Perrott 18
Analysis and Design of Analog Integrated Circuits
Lecture 7
Differential Amplifiers
Michael H. Perrott
February 12, 2012
M.H. Perrott
Review Proposed Thevenin CMOS Transistor Model
gm qID
2μnCox(W/L)ID
Rthg vgs nkT
gmvgs -gmbvs ro
γ gm (n-1)qID
gmb
2 2|ΦF| + VSB nkT
s
Rths Note: gmb = 0
vs RS 1 1
ro
if RS=0 or Vsb=0 λID λID
Rthd= ro (1+(gm+gmb)RS)+RS g d
is
Rthg= infinite Rths
ID RD
Rths= (1+RD /ro ) (ro 1 ) Rthg vg Avvg α is Rthd
Rthd gm+gmb
RG d
g Approximation
(gmb << gm, gmro >> 1) s
Rthg s
Rths Rthd= ro (1+gmRS) Exact Approximation
gm
RS Rth = infinite Av = gmro Av = 1 (gmb<<gm, gmro>>1)
g gm+gmb
1 + RD /ro 1
Rth =
s gm gm
(RD<< ro ) α = 1+RD /Rthd α = 1 (RD<<Rthd)
M.H. Perrott 2
Key Observations
Thevenin Resistances Exact Proposed Small Signal Transistor Model
Rth = ro (1+(gm+gmb)RS)+RS g d
d
is
Rthg= infinite Rths
ID RD
Rths= (1+RD /ro ) (ro 1 ) Rthg vg Avvg α is Rthd
Rthd gm+gmb
RG d
g Approximation
(gmb << gm, gmro >> 1) s
Rthg s
Rths Rthd= ro (1+gmRS) Exact Approximation
gm
RS Rthg= infinite Av = gmro Av = 1 (gmb<<gm, gmro>>1)
gm+gmb
1 + RD /ro 1
Rths= gm gm
(RD<< ro ) α = 1+RD /Rthd α = 1 (RD<<Rthd)
M.H. Perrott
- Drain simply looks like impedance R thd
3
Basic Single-Stage Amplifiers and Current Mirrors
Common Source Common Gate Source Follower
Vin W1
ZL ZL Source
L
Vout Vout M1 Vout
id id
ZL
Vin W1 W1
Source
L L
M1 M1 iin
ZL
Vout
Current Mirror
id
Vin W1 iin iout
Source
L
M1
ZS W2 W1
L L
M2 M1
M.H. Perrott 4
Today We Will Look At Differential Amplifiers
Common Source Common Gate Source Follower
Vin W1
ZL ZL Source
L
Vout Vout M1 Vout
id id
ZL
Vin W1 W1
Source
L L
M1 M1 iin
ZL
ZL ZL
Vout
Current Mirror
id Vo- Vo+
Vin iin iout Vin+ Vin-
W1 M1 M2
Source
L
M1
ZS W2 W1 Ibias
L L
M2 M1
M.H. Perrott 5
Differential and Common Mode Signals
Vd/2
Vc
-Vd/2
RL RL
Vo- Vo+
Ibias1 Vin+ Vin-
M1 M2
M3 M4
M.H. Perrott 7
First Steps in Small Signal Modeling
RL RL RL RL
M3 M4 Rthd4= ro4
M.H. Perrott 8
Calculate Impact of Vin+ using Thevenin Models
RL RL
Vo- Vo+
Vin+
M1 M2
ro4
RL RL
M1 Vo- M2 Vo+
is1
Rths1
Vin+ Rthg1 vg1 Av1vg1 α 1is1 Rthd1 Rths2 α2 is2 Rthd2
is2
RL RL RL RL
M.H. Perrott 10
Differential Analysis
is1= is2
RL RL iR = 0 R1 R2 R1 R2
Vid Vo- Vo+ -Vid Vid Vo- Vo+ -Vid Vid Vo- Vo+ -Vid
2 2 2 2 2 2
M1 M2 M1 M2 M1 M2
is1 is2
iR ro4
Key observations
- Inputs are equal in magnitude but opposite in sign to each
other
- By linearity and symmetry, i must equal -i s1 s2
This implies iR is zero, so that voltage drop across ro4 is zero
The sources of M1 and M2 are therefore at incremental
ground and decoupled from each other!
Analysis can now be done on identical “half-circuits”
What is the differential DC gain?
M.H. Perrott 11
Common Mode Analysis
is1= is2
RL RL iR = 2is1= 2is2 RL RL RL RL
Key observations
- Inputs are equal to each other
- By linearity and symmetry, i must equal i s1 s2
This implies i = 2i = 2i R s1 s2
- We can view r as two parallel resistors that have equal
o4
current running through them
Analysis can also be done on two identical half-circuits
Vsup-
Power Supply Rejection Ratio (PSRR)
-a vd: differential gain
-a vp+: positive power supply gain
-a vp-: negative power supply gain
µ ¶ µ ¶
+ avd − avd
PSRR = PSRR =
avp+ avp−
M.H. Perrott 14
Example: Calculate CMRR and PSRR
RL RL RL RL
M.H. Perrott 15
Common Mode Voltage Range of Differential Amplifier
RL RL
M1 M2
Ibias
Vin+ ΔV1 ΔV2 Vin-
VTH+ΔV1 VTH+ΔV2
Iss
ΔV4
M3 M4
M.H. Perrott 16
Large Signal Behavior of Differential Mode Operation
Iod = Id1-Id2
Iss
Iss
k
Vid = Vin+-Vin-
Iss
k
-Iss
Cascode Techniques
Michael H. Perrott
February 15, 2012
M.H. Perrott
Review of Large Signal Analysis of Current Mirrors
Vdd
ΔV2
I1 I2 1 μ C W2 2
n ox (VGS2-VTH) (1+λ2Vds2)
I2 2 L2
=
I1 1 μ C W1
n ox (VGS1-VTH)2(1+λ1Vds1)
M2 2 L1
M1 Vds2 > Vdsat2 ΔV1
Vss=0 VTH+ΔV1 VTH+ΔV2 But, VTH+ΔV1=VTH+ΔV2 ΔV1 = ΔV2
I2 W2 L1 (1+λ2Vds2)
I2 =
M2 in I1 W1 L2 (1+λ1Vds1)
Saturation Current Mismatch
setting due to Vds
M2 in based on difference
Triode geometry
Note: for accurate ratio, set L1 = L2
Vds2
Vdsat2
M.H. Perrott 2
The Issue of Vds Mismatch in Current Mirrors
Vdd I2 W2 (1+λ2Vds2)
=
I1 W1 (1+λ1Vds1)
I1 I2
Current Mismatch
setting due to Vds
based on difference
geometry
Vds1 Vds2
M1 M2 Note: we are assuming L1 = L2
M.H. Perrott 3
Cascoded Current Source
M2 ro1
M1
M.H. Perrott 4
Match Vds of Current Mirror Devices With Proper Bias
Vdd
I1
I2 I2 W1 L4 (1+λ1Vds1)
Recall: =
M3 M2 Vo I1 W4 L1 (1+λ4Vds4)
W/L W/L Vds2 > ΔV Current Mismatch
VTH+ΔV VTH+ΔV setting due to Vds
based on difference
M4 M1 geometry
W/L W/L Vds1 = VTH+ΔV
Vss=0 VTH+ΔV VTH+ΔV
M4 M1 Vo
V1 VTH+2ΔV
W/L W/L Vds1 = VTH+ΔV
VTH+ΔV VTH+ΔV calculation of V1 is nontrivial
Vss=0
2VTH+3ΔV
Vo
I2 Vdsat1+Vdsat2
M3 M5
αW/L W/L Vo
VTH+2ΔV M2
VTH+2ΔV VTH+ΔV W/L Vds2 > ΔV
VTH+ΔV
M4 M6 M1
W/L W/L Vds1 = ΔV
W/L
Vss=0 VTH+ΔV VTH+ΔV VTH+ΔV
M.H. Perrott 7
Alternative Implementation of Improved Swing Cascode
I2 M1 and M2
in saturation
Vdd
M5 M6 M7 M1 and M2
Wp/Lp in triode no wasted voltage region
Wp/Lp Wp/Lp
I1 I1
I2 Vo
2ΔV
Vo
M3 M2
αW/L W/L Vds2 > ΔV
I1
VTH+2ΔV VTH+ΔV
M4 M1
W/L W/L Vds1 = ΔV
Vss=0 VTH+ΔV VTH+ΔV
M.H. Perrott 8
The Issue of Current Mismatch
I1 I2
VTH+2ΔV M2
I2 W2 (1+λ2Vds2)
Recall: =
I1 W1 (1+λ1Vds1)
VTH+ΔV
Mismatch
M4 M1 due to Vds
Vds4 = VTH+ΔV Vds1 = ΔV difference
W/L W/L
M.H. Perrott 9
Techniques to Reduce Current Mismatch
I1 I2
M3 VTH+2ΔV M2
W/L W/L
VTH+ΔV VTH+ΔV
M4 M1
Vds4 = ΔV Vds1 = ΔV
W/L W/L
M8
W/L
M9
VTH+2ΔV
W/L
M10
I2
W/L
M11 M3 M2
W/L W/L W/L
I1
M12 VTH+ΔV VTH+ΔV
W/L
M13 M4 M1
W/L Vds4 = ΔV Vds1 = ΔV
W/L W/L
M5 M7
Wp/Lp
Wp/Lp
I1
VTH+2ΔV
ΔV RB
I2
M3 M2
W/L W/L
I1
VTH+ΔV VTH+ΔV
M4 M1
Vds4 = ΔV Vds1 = ΔV
W/L W/L
M5 M7
Wp/Lp
Wp/Lp
I1
VTH+2ΔV
M6
Wp/Lp ΔV
I2
M3 M2
W/L W/L
I1
VTH+ΔV VTH+ΔV
M4 M1
Vds4 = ΔV Vds1 = ΔV
W/L W/L
I2
I1 Rthd2
M2
M3 M1
M.H. Perrott 14
Enhanced Cascode Current Source
M4
M3
M2 M1
RA RC RA RC
Rthd
D Rthd M4 D
M4
S
ro3 -gmb3vs3 gm3vgs3 vgs3 Rths
vs4 RB
vs3=0
M.H. Perrott 16
Basic Cascode Amplifier
RD
Vout M2
M2
Rths2 is2 d2
RG
M1
s2
M1
Common Gate
RG g1 Rths1 is1 d1
s1
General Model RS
RD
Vout M2
M2
Rths2 is2 d2
RG
M1
s2
M1
RG g1 d1
M.H. Perrott 18
Resulting Two-Port Similar to Common Source Amp
RD
Vout M2
M2
d2
RG
M1
M1
RG g1
M.H. Perrott 19
Slight Twist to Cascode Amplifier
Vdd
RL
Vout
RL
Vout
Ibias
1 is1 ro1
gm1+gmb1
Vbias
Iin is1
M1
M.H. Perrott 20
Constraints on Vbias and Output Range
Vdd
RL
Vout
Ibias
M1
>ΔV1 Vbias
Iin
VTH+ΔV1
To keep M1 in saturation
M.H. Perrott 21
Calculation of Maximum Output Range
Vdd
RL
Vout
Ibias
M1
>ΔV1 Vbias
Iin
VTH+ΔV1
M.H. Perrott 22
Variation on a Theme: Enhanced Cascode Amplifiers
Ibias1 Ibias2 R1
Vout
M4
Input Source
M3
Iin Rs
M2 M1
Michael H. Perrott
February 26, 2012
M.H. Perrott
Review of Our Analysis Techniques
Block 1 Block 2 Block 3
Linear Network Linear Network Linear Network
Vin Va Vb Vc ZL
Vin Zin GmVin Zout Va Zin GmVa Zout Vb Zin GmVb Zout Vc ZL
Zout,effective
Vth,effective Vb Zin,effective
Vin Va Vb Vc ZL
Vin Zin GmVin Zout Va Zin GmVa Zout Vb Zin GmVb Zout Vc ZL
Vin Va Vb Vout ZL
Note:
MidBand Gain w (rad/s)
f (Hz) =
2π
20log(Vout/Vin)
(dB)
w (rad/s)
wac2 wac1 wac0 w0 w1 w2
Vin Va Vb Vout ZL
Note:
MidBand Gain w (rad/s)
f (Hz) =
2π
20log(Vout/Vin)
(dB)
w (rad/s)
wac2 wac1 wac0 w0 w1 w2
w (rad/s)
wac2 wac1 wac0 w0 w1 w2
w (rad/s)
wac2 wac1 wac0 w0 w1 w2
M.H. Perrott 7
Key Assumptions for the OCT Technique
Note:
MidBand Gain w (rad/s)
f (Hz) =
2π
20log(Vout/Vin)
(dB)
w (rad/s)
w0 w1 w2
w (rad/s)
w0 w1 w2
i
of the circuit network
M.H. Perrott 9
Bandwidth Estimate from OCT Technique
Note:
MidBand Gain w (rad/s)
f (Hz) =
2π
20log(Vout/Vin)
(dB)
w (rad/s)
w0 w1 w2
M.H. Perrott 14
Example: Second Order RC Network
R1 R2
Vin C1 C2 Vout
Vin C1 C2 Vout
Rth1 Rth2
ID RL
Vout
Rin
Vin
M.H. Perrott 17
Key Capacitances for CMOS Devices
Top View Side View
ID
VGS E
G
Cov Cov
VD>ΔV
S D W S Cgc D
Cjsb Ccb Cjdb
LD LD
L
B
E E
L junction bottom wall junction sidewall
cap (per area) cap (per length)
Cj(0) Cjsw(0)
source to bulk cap: Cjsb = WE + (W + 2E)
1 + VSB ΦB 1 + VSB ΦB (make 2W for "4 sided"
perimeter in some cases)
Cj(0) Cjsw(0)
drain to bulk cap: Cjsd = WE + (W + 2E)
1 + VDB ΦB 1 + VDB ΦB
2
overlap cap: Cov = WLDCox + WCfringe gate to channel cap: Cgc = C W(L-2LD)
3 ox
RD
RG
ID RD
Cgd
Cdb
vgs Cgs gmvgs -gmbvs ro
RG
Csb
RS
vs RS
2
Cgs = Cgc + Cov = C W(L-2LD) + Cov
3 ox
Cgd = Cov
Csb = Cjsb (area + perimeter junction capacitance)
Cdb = Cjdb (area + perimeter junction capacitance)
M.H. Perrott 19
Back to Common Source Amplifier
ID RL
Cgd Vout
Cdb
Rin
Vin Cgs
Csb
RS
vs RS
ID RL
Cgd Vout
Cdb
Rin
Vin Cgs
Csb
Michael H. Perrott
February 29, 2012
M.H. Perrott
Open Loop Versus Closed Loop Amplifier Topologies
Open Loop Closed Loop
Zf
Source Source
Zsrc Amp Vout Zsrc Amp Vout
Vin Vin
Vsrc Vsrc
Vout/Vin Vout/Vin
(dB) (dB)
w (rad/s) w (rad/s)
w0 w1 w2 w0 w1 w2
w (rad/s)
w0 w1 w2
ି
OCT method calculates ୀ by the following steps:
- Compute the effective resistance R thjseen by each
capacitor, Cj, with other caps as open circuits
AC coupling caps are not included – considered as shorts
- Form the “open circuit” time constant Tj = RthjCj for each
capacitor Cj
- Sum all of the “open circuit” time constants
1
⇒ BW ≈ Pm rad /s
j=1 Rthj Cj
M.H. Perrott 3
Another Useful Analysis Tool: Miller Effect
Zf
iin
Vin A Vout
Zin
Derive input impedance (assume gain of amplifier = A):
Vin Vin Vin Zf Zf
Zin = = = =
iin (Vin − Vout )/Zf Vin − AVin 1−A
Consider the case where Zf is a capacitor
1 1
Zf = ⇒ Zin =
sC s(1 − A)C
- For negative A, input impedance sees increased cap value
- For A = 1, input impedance sees no influence from cap
- For A > 1, input impedance sees negative capacitance!
Can be used to create active inductor for a specific frequency 4
M.H. Perrott
Key Capacitances for CMOS Devices
Top View Side View
ID
VGS E
G
Cov Cov
VD>ΔV
S D W S Cgc D
Cjsb Ccb Cjdb
LD LD
L
B
E E
L junction bottom wall junction sidewall
cap (per area) cap (per length)
Cj(0) Cjsw(0)
source to bulk cap: Cjsb = WE + (W + 2E)
1 + VSB ΦB 1 + VSB ΦB (make 2W for "4 sided"
perimeter in some cases)
Cj(0) Cjsw(0)
drain to bulk cap: Cjsd = WE + (W + 2E)
1 + VDB ΦB 1 + VDB ΦB
2
overlap cap: Cov = WLDCox + WCfringe gate to channel cap: Cgc = C W(L-2LD)
3 ox
RD
RG
ID RD
Cgd
Cdb
vgs Cgs gmvgs -gmbvs ro
RG
Csb
RS
vs RS
2
Cgs = Cgc + Cov = C W(L-2LD) + Cov
3 ox
Cgd = Cov
Csb = Cjsb (area + perimeter junction capacitance)
Cdb = Cjdb (area + perimeter junction capacitance)
M.H. Perrott 6
OCT Thevenin Resistance Calculations
Rthgd
ID RD RD
Rthgd RG
RG
Cgd
Rthgs vgs Cgs gmvgs -gmbvs ro
Rthgs
RS
vs RS
Assumptions:
RL
ID gm = 1/(100), = 0, = 0
Vout
Cgs = 10fF, Cgd = 3fF
Csb = 5fF, Cdb = 4fF
Rin
Rin = 4k
CL
RL = 1k
Vin CL = 100fF
M.H. Perrott 8
Step 1: Identify OCT Capacitors
Assumptions:
RL
Rth3 (Cgd) gm = 1/(100), = 0, = 0
Vout
Cgs = 10fF, Cgd = 3fF
Csb = 5fF, Cdb = 4fF
Rin
Rin = 4k
RL = 1k
Vin
Rth1 (CL+Cdb) CL = 100fF
Rth2 (Cgs)
M.H. Perrott 9
Step 2: OCT Time Constant Calculations
Assumptions:
RL
Rth3 (Cgd) gm = 1/(100), = 0, = 0
Vout
Cgs = 10fF, Cgd = 3fF
Csb = 5fF, Cdb = 4fF
Rin
Rin = 4k
RL = 1k
Vin
Rth1 (CL+Cdb) CL = 100fF
Rth2 (Cgs)
Easy ones:
Rth1 = RL ||Rth d = RL ||∞ = RL = 1kΩ ⇒ τ1 = 1kΩ · 104f F = 104ps
Rth2 = Rin ||Rth g = Rin ||∞ = Rin = 4kΩ ⇒ τ2 = 4kΩ · 10fF = 40ps
Use formula for 3: Rth gd = (RD + RG )(1 − rods /ro ) + rods gm RG
RD
where rods = ro || = RD = RL
1 + (gm + gmb )RS
⇒ Rth3 = (RL + Rin )(1 − 0) + RL gm Rin = 5.5kΩ + 40kΩ = 45.5kΩ
⇒ τ3 = 45.5kΩ · 3f F = 136.5ps
M.H. Perrott 10
Step 3: Identify Largest OCT Time Constant
Assumptions:
RL
Rth3 (Cgd) gm = 1/(100), = 0, = 0
Vout
Cgs = 10fF, Cgd = 3fF
Csb = 5fF, Cdb = 4fF
Rin
Rin = 4k
RL = 1k
Vin
Rth1 (CL+Cdb) CL = 100fF
Rth2 (Cgs)
τ3 = 45.5kΩ · 3f F = 136.5ps
RL Cgd
Cgd Vout
Rin
A
Vin
Cin Cin
RL
Vout
Vbias
M2
Cgd1
Rin
M1
Vin
Cin
RL
Cgd2 Vout
Vbias
M2
Rin
M1
Vin
Rth4 (Cgd2) RL
Vout Assumptions for all devices:
Vbias gm = 1/(100), = 0, = 0
M2 Cgs = 10fF, Cgd = 3fF
Rth5 (Cgs2) Csb = 5fF, Cdb = 4fF
Rth1 (CL+Cdb2)
Rth3 (Cgd1)
Rin = 4k
RL = 1k
M1
Rin CL = 100fF
Vin Rth6 (Cds1+Csb2)
Rth2 (Cgs1)
Rth4 (Cgd2) RL
Vout Assumptions for all devices:
Vbias gm = 1/(100), = 0, = 0
M2 Cgs = 10fF, Cgd = 3fF
Rth5 (Cgs2) Csb = 5fF, Cdb = 4fF
Rth1 (CL+Cdb2)
Rth3 (Cgd1)
Rin = 4k
RL = 1k
M1
Rin CL = 100fF
Vin Rth6 (Cds1+Csb2)
Rth2 (Cgs1)
Use Thevenin formula for Cgd calculation:
Rth3 = (RD1 + RG1 )(1 − rods /ro1 ) + rods gm1 RG1
RD1
where rods = ro1 ||
1 + (gm1 + gmb1 )RS1
1 1
⇒ Rth3 = ( + Rin )(1 − 0) + gm1 Rin = 4.1kΩ + 4kΩ = 8.1kΩ
gm2 gm2
⇒ τ3 = 8.1kΩ · 3f F = 24.3ps 16
M.H. Perrott
Identify Longest OCT Time Constant
Rth4 (Cgd2) RL
Vout Assumptions for all devices:
Vbias gm = 1/(100), = 0, = 0
M2 Cgs = 10fF, Cgd = 3fF
Rth5 (Cgs2) Csb = 5fF, Cdb = 4fF
Rth1 (CL+Cdb2)
Rth3 (Cgd1)
Rin = 4k
RL = 1k
M1
Rin CL = 100fF
Vin Rth6 (Cds1+Csb2)
Rth2 (Cgs1)
Formal calculation:
Rth1 = Rth s3 = 1/gm3 = 100Ω ⇒ τ1 = 100Ω · 104f F = 10.4ps
RL
τ1 = 10.4ps
Rth4 (Cgd2)
τ2 = 40ps
M3
Vbias τ3 = 24.3ps
M2 Vout
τ4 = 3ps
Rth5 (Cgs2) Rth7 (Cgs3)
τ5 = 1ps
Rth3 (Cgd1)
Ibias τ6 = 0.9ps
M1
Rin Rth1 (CL+Csb2)
τ7 = 1ps
Vin Rth6
(Cds1+Csb2) τ8 = 3ps
Rth2 (Cgs1)
1 1
BW ≈ Pm = = 11.96 Grad /s
j=1 Rthj Cj 83.6ps
11.96
⇒ BW ≈ = 1.9GHz
2π
M.H. Perrott 21
Summary
M.H. Perrott 22
MIC511
Analysis and Design of Analog Integrated Circuits
Lecture 11
Examples
Michael H. Perrott
Masdar Institute of Science and Technology
March 4, 2012
Copyright
c 2012 by Michael H. Perrott
All rights reserved
Example Analysis Circuit
M15 M17
M3 M4 M7 M22
M9 M16
M18
Ibias1 M8
Q1
50 Ω M1 M2 M23 50 Ω
Vin M14
M19
50 Ω M10 Vout
M13
Cbig M21
(external)
M24
M5 M6 M11 M12 M20
• Assumptions
1. Intrinsic gain of each device 1
gmro 1 =⇒ 1/gm ro
ro1 ≈ ro2
• Note:
– Assumption 1 is reasonable in practice
– Assumptions 2 and 3 are invalid in practice
∗ Used here only for pedagogical reasons
Replace Current Sources
current
current mirror current current
source bias source source
M15 M17
M3 M4 M7 M22
M9 M16 M18
Ibias1 M8
Q1
50 Ω M1 M2 M23 50 Ω
Vin M14
Cbig M19
50 Ω M10 Vout
(external) M13
M21
M24
M5 M6 M11 M12 M20
cascode
current current current current current bias current
mirror source source source source source
bias
current
mirror
bias
M15
M3 M4 ro7 ro22
M9 M16 (gm18ro18)ro17
Ibias1 M8
Q1
50 Ω M1 M2 M23 50 Ω
Vin
50 Ω Cbig Vout
(external) (gm10ro10)ro11 (gm19ro19)ro20
M21
ro6 ro24
M5 (gm13ro13)ro12
cascode
current bias
mirror
bias
Remove Non-Signal-Path Biasing Circuitry
current
mirror
bias
1 M4 ro7 1 ro22
gm3 gm15
M9 (gm18ro18)ro17
M8
Q1
50 Ω M1 M2 M23 50 Ω
Vin
50 Ω Vout
(gm10ro10)ro11 (gm19ro19)ro20
1 ro6 1 ro24
gm5 gm21
(gm13ro13)ro12
current assume
mirror cascode
cap is short bias
bias
1 M4 ro7 ro22
gm3
M9
M8
Q1
M1 M2 M23
50 Ω
Vin 50 Ω Vout
(gm10ro10)ro11
vinput ro6 ro24 50 Ω
(gm13ro13)ro12
assume
cap is short
Bipolar Modeling is similar to CMOS
MOSFET BIPOLAR
ID RD RC
IC
Rthd Rthc
RG RB
Rthg Rthb
Rths Rthe
RS RE
s e
M23
ro22
vg vg 1 Q25 50||ro24 50
Vb gm23
1
gm25
vb25 rπ + βo50 vb25 50 vout
rπ + βo(50||ro24) ( g 1 ||ro22)
1 m23 1
rπ + βo50
Stage 3 gm25 βo gm25
ro22
1
(rπ + βo50)||ro22 gm25
vg vg 50 vout
1 (rπ + βo50)||ro22
output Vb gm23
resistance Q25
of Stage 2 Vb
M23
Vb
(gm10ro10)ro11
Vout 1
(rπ + βo50)||ro22 gm25
vg vg 50 vout
ro24 1 (rπ + βo50)||ro22
50 Ω gm23
Compute 2-port for Stage 2
ro7
Va (ro7||ro4||ro2)(gm8ro8)(gm9(ro9||RA))
ia ro7/3(gm8ro8)(gm9ro9)
1
gm8
αis ro7/3(gm8ro8)(gm9ro9)
is
1 + RD /ro8 is Vb
gm8(gm9(ro9||RA))
Stage 2 1 + (gm10ro10)ro11 /ro8
gm8(gm9ro9) (gm10ro10)ro11
RD
(gm10ro10)ro11 /ro8
ro7 gm8(gm9ro9)
output
resistance ro11 /ro8 1
of Stage 1 Va M9 gm8 gm8
ro7
M8 input is = ia ia
ro2||ro4 resistance 1 +r
o7
of Stage 3 gm8
Vb
Va Vb
is
1 is (gm10ro10)ro11
(gm10ro10)ro11 gm8
RD RA
(gm13ro13)ro12 1 1
||r
gm8 o7 gm8
Compute 2-port for Stage 1 (Step 1)
Stage 1
1 M4
gm3 input
resistance
Va of Stage 2
1
gm8
M1 M2
50 Ω
Vin 50 Ω
1 M4
gm3 input
resistance
ro4 of Stage 2
ro1(1+gm1 1 )
gm2 ro2(1+gm2 1 )
2ro1 gm1
2ro2 1
25 Ω gm8
M1 M2
vinput Vin
2
infinite
1 1 1 1
gm2 ||ro6 gm2 gm1 ||ro6 gm1
ro6
Compute 2-port for Stage 1 (Step 2)
1 M4
gm3
M1 ro4
25 Ω is1 i2 = gm4 1 is1 is1
gm3
is1
vinput Vin 1
gm1
2 vg1 vg1 αis1 2ro1
is1 isc
M2
Vin
is1 =
1 1
gm1 gm2 is1
gm1 1
Vin gm2
2 ro6
isc 2is1 Vin gm1
gm4vg4
1 vg4 ro4
gm3 vt M4
i1 ro4
it
ro1(1+gm1 1 )
gm2 vt
2ro1 i 1= 2ro2 vt
i1 2ro2
25 Ω
M1 M2
Vin
i1 i1
1
gm1
ro6 vt vt vt
it +2i1 = r +2
ro4 o4 2ro2
vt
= ro2||ro4
it
Compute 2-port for Stage 1 (Final Step)
Stage 1
1 M4
gm3 input
resistance
Va of Stage 2
1
gm8
M1 M2
50 Ω
Vin 50 Ω
vinput ro6
25 Ω Va
Vin
vinput
vg1 gm1vg1 ro2||ro4
2
Overall Cascade of 2-ports for Amplifier
Stage 1
25 Ω Va
Vin
vinput
vg1 gm1vg1 ro2||ro4
2
Stage 2
Vb
ib
1 ib (gm10ro10)ro11
gm8
Stage 3
1
(rπ + βo50)||ro22 gm25
vg vg 50 vout
1 (rπ + βo50)||ro22
gm23
Feedback
Michael H. Perrott
March 11, 2012
M.H. Perrott
Open Loop Versus Closed Loop Amplifier Topologies
Open Loop Closed Loop
Zf
Source Source
Zsrc Amp Vout Zsrc Amp Vout
Vin Vin
Vsrc Vsrc
Vout/Vin Vout/Vin
(dB) (dB)
w (rad/s) w (rad/s)
wbw w1 w2 wbw w1 w2
Vout/Vin
wunity (dB)
Vout
s
Vin
H(w)
Vin Vout 0 dB
H(s)
w (rad/s)
wunity
M.H. Perrott 3
Now Surround the Integrator with a Feedback Path
20log Vout/(Vin-Vx)
Z2 (dB)
Vx
Z1 Vout
H(s)
H(w)
Vin 0 dB
w (rad/s)
wunity
20log Vout/Vin
Z2
Vx 20log(1/β)
Z1 Vout
H(s)
H(w)
Vin 0 dB
w (rad/s)
wbw wunity
20log Vout/Vin
Z2
Vx 20log(1/β)
Z1 Vout
H(s)
H(w)
Vin 0 dB
w (rad/s)
wbw wunity
Vin
H(s)
Vout Closed loop transfer function:
Vout H(s)
=
β Vin 1 + β · H(s)
- This is called Black’s formula
¯
At low frequencies:
¯
At high frequencies:
¯ ¯
¯ Vout ¯ 1 ¯ Vout ¯
¯ ¯ = ¯ ¯ = |H(w)|
¯ Vin ¯ β ¯ Vin ¯
s→0 s→∞ 6
M.H. Perrott
General Observations of Feedback
20log Vout/Vin
Vin Vout
H(s)
20log(1/β)
β
H(w)
Vout H(s)
= 0 dB
Vin 1 + β · H(s) w (rad/s)
wbw wunity
20log Vout/Vin
Vin Vout
H(s)
20log(1/β)
β
H(w)
Vout H(s)
= 0 dB
Vin 1 + β · H(s) w (rad/s)
wbw wunity
¯ ¯
The low frequency gain is: ¯ Vout ¯
¯ ¯ 1
¯ Vin ¯ =
s→0 β
1
The bandwidth roughly corresponds to: |H(wbw )| ≈
β
¯ ¯
wunity ¯ wunity ¯ 1 1
For H(s) = ⇒ ¯ ¯ ¯ ≈ ⇒ wunity = · wbw
s wbw ¯ β β
Closed loop systems exhibit constant gain-bandwidth product
set by the unity gain frequency of the open loop amplifier
M.H. Perrott 8
Example: Unity Gain Amplifier
20log Vout/Vin
Vin Vout
H(s)
β=1
H(w)
Vout H(s)
= 0 dB
Vin 1 + H(s) w (rad/s)
wunity
¯ ¯
The low frequency gain is: ¯ Vout ¯
¯ ¯
¯ Vin ¯ =1
s→0
The bandwidth roughly corresponds to: |H(wbw )| ≈ wunity
20log Vout/Vin
Vin Vout
H(s)
20log(K)
β=1
H(w)
Vout H(s)
= 0 dB
Vin 1 + H(s) w (rad/s)
wdominant wunity
Let us now model H(s) as:
K
H(s) =
1 + s/wdominant
To first order, the closed loop bandwidth and gain are
relatively unchanged
20log Vout/Vin K
Vin Vout H(s) =
H(s)
20log(K)
1 + s/wdominant
β=1
H(w)
Vout H(s)
= 0 dB
Vin 1 + H(s) w (rad/s)
wdominant wunity
20log Vout/Vin K
Vin Vout H(s) =
H(s) 20log(K) 1 + s/wdominant
20log(1/β)
β
H(w)
Vout H(s)
= 0 dB
Vin 1 + β · H(s) w (rad/s)
wbw wunity
20log Vout/Vin
Vin Vout
H(s) 20log(K)
20log(1/β)
β
H(w)
Vout H(s)
=
Vin 1 + β · H(s) w (rad/s)
wbw wp
20log Vout/Vin
Vin Vout
H(s) 20log(K)
20log(1/β)
β
H(w)
Vout H(s)
=
Vin 1 + β · H(s) wbw wp
w (rad/s)
M.H. Perrott 15
Review of Bode Plot Basics
Example:
1 + jw/wz
A(w) =
(1 + jw/wp1 )(1 + jw/wp2 )
- Log of magnitude (dB): 20 log |A(w)|
= 20 log |1 + jw/wz | − 20 log |1 + jw/wp1 | − 20 log |1 + jw/wp2 |
M.H. Perrott 16
Review: Plotting the Magnitude of Poles
0 dB ω
ωp1
-20 dB/decade
M.H. Perrott 17
Plotting the Phase of Poles
- For w << w : p1
6 Ap1 (w) ≈ − arctan (0) = 0◦
- For w = w : p1
6 Ap1 (w) ≈ − arctan (1) = −45◦
- For w >> w : p1
6 Ap1 (w) ≈ − arctan (∞) = −90◦
Ap1(ω)
ωp1/10 ωp1 ωp1∗10
0 o
ω
-45o
o
-90
M.H. Perrott 18
Review: Plotting the Magnitude of Zeros
- For w << w :
z 20 log |Az (w)| ≈ 20 log |1| = 0
- For w >> w :
z 20 log |Az (w)| ≈ 20 log |w/wz |
20log|Az(ω)|
20 dB/decade
0 dB ω
ωz
M.H. Perrott 19
Plotting the Phase of Zeros
- For w << w : z
6 Az (w) ≈ arctan (0) = 0◦
- For w = w :z
6 Az (w) ≈ arctan (1) = 45◦
- For w >> w : z
6 Az (w) ≈ arctan (∞) = 90◦
Az(ω)
o
90
45o
0
o ω
ωz/10 ωz ωz∗10
M.H. Perrott 20
Example of Closed Loop Stability Evaluation
20log Vout/Vin
Vin Vout
H(s)
20log(1/β)
β
H(w)
Vout H(s)
=
Vin 1 + β · H(s) wbw wp
w (rad/s)
M.H. Perrott 21
Phase Margin Versus Open Loop Gain
Evaluation of Closed Loop Pole
Phase Margin Locations
Im{s}
Open loop 20log|A(f)| C
gain
increased
Dominant
pole pair B
0 dB f
fp
A
C
B
A Re{s}
angle(A(f)) 0
o
-90
A
-120o PM = 59o for A
PM = 45o for B
B
-150o PM = 33o for C
-180o C
Note the closed loop pole locations versus open loop gain
- Is the closed loop system unstable for any case above?
M.H. Perrott 22
Corresponding Closed Loop Behavior
Closed Loop Frequency Response Closed Loop Step Response
C
5 dB C 1.4
B
0 dB B
A
-5 dB A
1
0.6
f 0 t
fp
20log Vout/Vin
Vin Vout
H(s)
20log(1/β)
β
H(w)
Vout H(s)
=
Vin 1 + β · H(s) w (rad/s)
wbw wp
A(s) = β · H(s)
We have seen that increasing the open loop gain of A(w)
leads to higher closed loop bandwidth
- How is this consistent with the statement that increasing
closed loop gain leads to lower closed loop bandwidth?
As an exercise, consider the impact of the following:
- Keep unchanged and increase the open loop gain of H(w)
-
M.H. Perrott
Keep H(w) unchanged and increase
24
Example 2 of Closed Loop Stability Evaluation
20log Vout/Vin
Vin Vout
H(s)
20log(1/β)
β
H(w)
Vout H(s)
=
Vin 1 + β · H(s) wbw wp1,wp2,wp3
w (rad/s)
M.H. Perrott 25
Phase Margin Versus Open Loop Gain
Evaluation of Closed Loop Pole
Phase Margin Locations
Im{s}
20log|A(f)|
Open loop C
gain
increased
Dominant
pole pair
0 dB f
fp1 fp2fp3
Non-dominant B
poles
C
B A Re{s}
angle(A(f)) A
-90
o
A 0
PM = 72o for A
PM = 51o for B
-165
o B
o
-180
PM = -12o for C
o
-240
o
-315 C
Note the closed loop pole locations versus open loop gain
- Is the closed loop system unstable for any case above?
M.H. Perrott 26
Corresponding Closed Loop Behavior
0 dB B
A C
1 B
Frequency Time
Vout/Vin Vout/Vin
(dB) (dB)
w (rad/s) w (rad/s)
wbw w1 w2 wbw w1 w2
Basics of Noise
Michael H. Perrott
March 14, 2012
M.H. Perrott
Continuous-Time Versus Discrete-Time Signals
Real World Signal Samples of Real World Signal
x(t) x[n]
t n
1
Real world signals, such as acoustic signals from speakers
and RF signals from cell phones, are continuous-time in
nature
Digital processing of signals requires samples of real world
signals, which yields discrete-time signals
Analog circuits are used to sample and digitize real world
signals for use by digital processors
It is useful to study discrete-time signals when examining
the issue of noise
- Many insights can be applied back to continuous-time signals
M.H. Perrott 2
Definition of Mean, Power, and Energy
x[n]
n
1
DC average or mean, x, is defined as
M.H. Perrott 3
Definition of Signal-to-Noise Ratio
signal[n] rx[n]
A
n
noise[n]
M.H. Perrott 4
SNR Example
SNR = 20.4 dB
signal[n] rx[n]
A n
n
noise[n]
SNR = 10.7 dB
n
noise[n] (Trial 1)
Random processes, such as noise,
take on different sequences for
different trials n
M.H. Perrott 6
Tools and Metrics for Random Processes
M.H. Perrott 7
Stationary and Ergodic Random Processes
noise[n][trial=1]
Stationary
- Statistical behavior is
independent of shifts in n
from noise[k+N]
Ergodic
trial n
- Statistical sampling
can be performed at one noise[n][trial=3]
sample time (i.e., n=k)
across different trials, or
across different sample
times of the same trial n
n
n
noise[n] (Trial 2)
noise[n] (Trial 3)
M.H. Perrott 9
Experiment to see Statistical Distribution
noise[n] (Trial = 1)
Histogram of 100 samples
sample
value
Histogram of 1,000 samples
Create histograms of
sample
sample values from trials Histogram of 10,000 samples
value
of increasing lengths
Assumption of stationarity
implies histogram should sample
value
converge to a shape Histogram of 1,000,000 samples
known as a probability
density function (PDF)
sample
value
M.H. Perrott 10
Formalizing the PDF Concept
Define x as a Histogram
random variable
whose PDF has the
same shape as the sample
value
histogram we just
obtained
Denote PDF of x as PDF
fX(x)
fX(x) Area = 1
- Scale f (x) such
X
that its overall
x
area is 1
fX(x)
PDF
x
x1 x2
M.H. Perrott 12
Example Probability Calculation
x
0 0.5 1.0 2
M.H. Perrott 13
Examination of Sample Value Distribution
x
noise[n]
fX(x)
n
noise[k] = x
x2
noise[n]
fX(x)
n
x1
noise[k] = x
M.H. Perrott 15
Mean and Variance
fX(x)
x
μx
The mean of random variable x, x, corresponds to its
average value
- Computed as
The variance of random variable x, x2, gives an
indication of its variability
- Computed as
x x
0 μx=A μx
fX(x) fX(x)
Larger Larger
Mean Variance
x x
0 μx=B μx
fX(x)
1/2
x
0 2
Mean:
Variance:
M.H. Perrott 18
Frequency Domain View of Random Process
It is valid to take noise[n] (Trial 1) Magnitude of fft of noise[n] (Trial 1)
the FFT of a
sequence from n
a given trial λ
However, notice
-0.5 0 0.5
λ
Transform of a -0.5 0 0.5
random
process is noise[n] (Trial 3) Magnitude of fft of noise[n] (Trial 3)
undefined !
- We need a
new tool n
λ
called spectral -0.5 0 0.5
analysis 19
M.H. Perrott
White Noise
White Noise
λ
-0.5 0 0.5
M.H. Perrott 20
Shaped Noise
λ λ
-0.5 0 0.5 -0.5 0 0.5
Highpass
noise[n] filtered noise[n]
H(ej2πfλ)
M.H. Perrott 21
Summary
Discrete-time processes provide a useful context for
studying the properties of noise
- Analog circuits often convert real world (continuous-
time) signals into discrete-time signals
Signal-to-noise ratio is a key metric when examining
the impact of noise on a system
Noise is best characterized by using tools provided by
the study of random processes
- We will assume all noise processes we deal with are
stationary and ergodic
- Key metrics are mean and variance
- Frequency analysis using direct application of Fourier
Transforms is fine for one trial, but not valid when
considering the ensemble of a random process
We will consider spectral analysis for continuous-time signals
in the next lecture 22
M.H. Perrott
Analysis and Design of Analog Integrated Circuits
Lecture 14
Michael H. Perrott
March 18, 2012
M.H. Perrott
Recall Frequency Domain View of Random Process
It is valid to take noise[n] (Trial 1) Magnitude of fft of noise[n] (Trial 1)
the FFT of a
sequence from n
a given trial λ
However, notice
-0.5 0 0.5
λ
Transform of a -0.5 0 0.5
random
process is noise[n] (Trial 3) Magnitude of fft of noise[n] (Trial 3)
undefined !
- We need a
new tool n
λ
called spectral -0.5 0 0.5
analysis 2
M.H. Perrott
Expectation of a Random Variable
M.H. Perrott 3
Independence of Random Variables
⇒ E(xy) = E(x)E(y)
M.H. Perrott 6
Understanding White Random Processes
noise[n] (Trial = 1)
Histogram of 100 samples
sample
value
Histogram of 1,000 samples
Independence between
samples implies that previous
samples provide no benefit in sample
value
trying to predict the value of Histogram of 10,000 samples
key parameter
M.H. Perrott 7
Spectral Density of a White Process (Discrete-Time)
noise[n] (Trial 1) Magnitude of fft of noise[n] (Trial 1)
n
λ
-0.5 0 0.5
σx2
λ
-0.5 0 0.5
0 t No
f
0
M.H. Perrott 11
Spectral Density Calculations Involving Filtering
Sx(f) Sy(f)
x(t) y(t) 4No
H(s)
No
f H(f) f
0 -f2 -f1 0 f1 f2
2
f
-f2 -f1 0 f1 f2
Assuming an input random process x(t) is fed into a linear,
time-invariant filter H(s), the resulting power spectral
density of the output random process y(t) is calculated as:
Sy (f ) = |H(f )|2 Sx (f )
- Note that filtering a white random process leads to a new
random process that is no longer white
The output spectral density is no longer flat across frequency
Different output samples in time are no longer independent 12
M.H. Perrott
Spectral Density Calculations Involving Power
Sx(f) Sy(f)
x(t) y(t) 4No
H(s)
No
f H(f) f
0 -f2 -f1 0 f1 f2
2
f
-f2 -f1 0 f1 f2
f H(f) f
0 0 f1 f2
2
f
0 f1 f2
R
R in2
vn2
1
vn2 = 4kT R∆f 2
in = 4kT ∆f
R
- Circuit designers like to use the above notation in which
2vvnn2 and ini2n represent power in a given bandwidth f in
2
units of Volts2 or Amps2, respectively
- k is Boltzmann’s constant: k = 1.38 × 10−23J/K
- T is temperature (in Kelvins)
Usually assume room temperature of 27 degrees Celsius
⇒ T = 300K 15
M.H. Perrott
Noise In Inductors and Capacitors
C L
M.H. Perrott 16
Noise in CMOS Transistors (Assumed in Saturation)
ind
VGS G
VD>ΔV
S D
ind
VGS G
VD>ΔV
S D
- Parameterized by Kf 4kTγgdso
1/f noise
drain thermal noise
Kf provided by fab
f
Sometimes Kf of PMOS << Kf of 1/f noise
corner frequency
NMOS due to buried channel
- To minimize: want large area (high WL) 19
M.H. Perrott
Drain-Source Conductance: gdso
¯
dId ¯¯ W
⇒ gdso = ¯ = μnCox (Vgs − VT )
¯
dVds V =0 L
ds
M.H. Perrott 20
Plot of gm and gds versus Vgs for 0.18 NMOS Device
Transconductances gm and gdo versus Gate Voltage Vgs
4
Id 3.5
Transconductance (milliAmps/Volts)
Vgs 3
M1
ggdso
d0=μnCoxW/L(Vgs-VT)
2.5
W 1.8μ
=
L 0.18μ 2
1.5
gm (simulated in Hspice)
1
0.5
0
0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
Gate Voltage Vgs (Volts)
gm 1
For Vgs bias voltages around 1.2 V: α = ≈
gdso 2
M.H. Perrott 21
Plot of gm and gds versus Idens for 0.18 NMOS Device
Transconductances g m and g do versus Current Density
4
Id 3.5
Transconductance (milliAmps/Volts)
Vgs 3
M1
2.5
W 1.8μ
= ggdso
d0=μnCoxW/L(Vgs-VT)
L 0.18μ 2
1.5
gm (simulated in Hspice)
1
0.5
0
0 100 200 300 400 500 600 700
Current Density (microAmps/micron)
M.H. Perrott 22
Key Noise Sources for Noise Analysis
RD
2 = 4kT R ∆f 2 = 4kT R ∆f
vnD
vnG G 2
D
vnD
2
vnG
RG
Vout
RG
2
vnS
vs 2 = 4kT R ∆f
vnS S
Vin RS
RS
g 2 Kf
Transistor drain noise: i2nd = 4kT γgdso∆f + m
2
∆f
f W LCox
Thermal noise 1/f noise 23
M.H. Perrott
Useful References on MOSFET Noise
2 1 2
vnS 2
vnS
K
Sy (f ) = |H(f )|2 Sx (f )
For the case where H(f) = K (i.e., a simple gain factor):
2 1
⇒ Sy (f ) = |K| Sx (f ) ⇒ Sx (f ) = 2
Sy (f )
|K|
M.H. Perrott 25
Example: Common Source Amplifier
Input-refer the
RD noise sources RD
(apply superposition)
2
vnD
Vout Vout
2
ind
Vin Vin 1 2 1 2
i v
gm2 nd ((RD||ro)gm)2 nD
Michael H. Perrott
March 21, 2012
M.H. Perrott
A Closer Look at Differential Pairs
Vin+ Vin-
Ibias M1 M2
Vin+
Vin-
M3 M4
Ibias
Vin+ Vin-
M1 M2
M3 M4
L1 L2
Vin+ Vin-
M1 M2
W1 W2
Ibias/2+ΔI Ibias/2-ΔI
Vin+ W1 W2 Vin-
L1 L2
M1 M2
M.H. Perrott 4
Mismatch-Induced Offset Voltage
Ibias/2 Ibias/2
Vin+ W1 W2 Vin-
L1 L2
Vos,in M1 M2
M.H. Perrott 5
Mismatch Modeled as Random Variables
fΔVth(ΔVth) fΔ(W/L)(Δ(W/L))
ΔVth Δ(W/L)
σΔVth σΔ(W/L)
ΔVth Δ(W/L)
σΔVth σΔ(W/L)
M.H. Perrott 8
Nonlinearities in Amplifiers
We can generally break up an amplifier into the
cascade of a memoryless nonlinearity and an input
and/or output transfer function
Vdd
Memoryless
RL Nonlinearity Lowpass
Vout Filter
Vin Id -RL Vout
Id 1+sRLCL
Vin CL
M1
x y
Fundamental Harmonics
0 w
x y
0 w 2w 3w
0 w
x y
0 w 2w 3w
20log(Afund)
Definition: input signal level 1 dB
such that the small-signal
gain drops by 1 dB
- Input signal level is high! A1-dB
20log(A)
M.H. Perrott 15
Corruption of Narrowband Signals by Interferers
Memoryless
Nonlinearity
W
0 w1 w 2
W
0 w2-w1 w1 w2 2w1 2w2 3w1 3w2
2w1-w2 2w2-w1 w1+w2 2w1+w2 2w2+w1
W
0 w2-w1 w1 w2 2w1 2w2 3w1 3w2
2w1-w2 2w2-w1 w1+w2 2w1+w2 2w2+w1
W
0 w2-w1 w1 w2 2w1 2w2 3w1 3w2
2w1-w2 2w2-w1 w1+w2 2w1+w2 2w2+w1
W vin
0 w1 w 2
first-order output
Vbias Zin=Rs
Vout(w) third-order IM term
2 3
Vout=co+c1Vx+c2Vx+c3Vx
W
0 w2-w1 w1 w2 2w1 2w2 3w1 3w2
2w1-w2 2w2-w1 w1+w2 2w1+w2 2w2+w1
1 dB
First-order
output = c1A Third-order 3 c A3
IM term = 4 3
20log(A)
A1-dB Aiip3
- IIP3 defined as the input power at which the
extrapolated lines intersect (higher value is better)
Note that IIP3 is a small signal parameter based on
extrapolation, in contrast to the 1-dB compression point
M.H. Perrott 20
Relationship between IIP3, c1 and c3
Intersection point 20log(Afund)
First-order
output = c1A Third-order 3 c A3
IM term = 4 3
20log(A)
A1-dB Aiip3
M.H. Perrott 21
IIP3 Expressed in Terms of Power at Source
Rs Vx Vout
W
0 w1 w2
vin
IIP3 referenced to Vx Vbias Zin=Rs
(rms voltage)
2 3
Vout=co+c1Vx+c2Vx+c3Vx
M.H. Perrott 22
IIP3 as a Benchmark Specification
M.H. Perrott 23
Impact of Differential Amplifiers on Nonlinearity
I1 I2 Memoryless
Nonlinearity
vid -vid
M1 M2
2 2 vid Idiff = I2-I1
vx
2Ibias
Michael H. Perrott
April 1, 2012
M.H. Perrott
A Closer Look at Transconductance
Id Vds > ΔV
d
Id
g
M1
ΔId
Vgs s Id_op gm =
ΔVgs
Vgs_op
Vgs
NMOS VTH Vgs_op
ΔV
Assuming device is in strong inversion and in saturation:
μnCox W
ID = (Vgs − VT H )2(1 + λVds)
2 L s
δId W W
⇒ gm = ≈ μnCox (Vgs −VT H ) ≈ 2μnCox Id
δVgs L L
q
Id 2μnCox W/L 2Id
⇒ gm ≈ √ ≈
Id (Vgs − VT H )
M.H. Perrott 2
Unity Gain Frequency for Current Gain, ft
|Id/Iin|
d
Id
g
M1
Iin s Vds
0dB f
NMOS ft
Id W
Id
W
L
M1 Id
W
M.H. Perrott 4
Investigating Impact of Current Density
M.H. Perrott 5
Investigate the Impact of Increasing Current Density
−6 Gate Overdrive versus Current Density
x 10
1.5
Vgs−Vth (Volts)
1
s µ ¶
Gate overdrive increases
0.5 2L Id
Vgs − VT H ≈
0
−7 −6 −5 −4 −3
μnCox W
10 10 10 10 10
−3 Transconductance versus Current Density
x 10
8
6
gm (1/Ohms)
4 gm decreases 2Id
2 gm ≈
Vgs − VT H
0
−7 −6 −5 −4 −3
10 10 10 10 10
11 ft versus Current Density
x 10
4
3
√
ft (Hz)
2
ft increases 1 gm W
1 ft = ∝
0
2π Cgs W
−7 −6 −5 −4 −3
10 10 10 10 10
Current Density Id/W (Amps/micron)
1
s µ ¶
Gate overdrive increases
0.5 2L Id
Vgs − VT H ≈
0
−7 −6 −5 −4 −3
μnCox W
10 10 10 10 10
−3 Transconductance versus Current Density
x 10
8
6
gm (1/Ohms)
4 gm decreases 2Id
2 gm ≈
Vgs − VT H
0
−7 −6 −5 −4 −3
10 10 10 10 10
11 ft versus Current Density
x 10
4
3
√
ft (Hz)
2
ft increases 1 gm W
1 ft = ∝
0
2π Cgs W
−7 −6 −5 −4 −3
10 10 10 10 10
Current Density Id/W (Amps/micron)
1
s µ ¶
Gate overdrive increases
0.5 2L Id
Vgs − VT H ≈
0
−7 −6 −5 −4 −3
μnCox W
10 10 10 10 10
−3 Transconductance versus Current Density
x 10
8
6
gm (1/Ohms)
4 gm decreases 2Id
2 gm ≈
Vgs − VT H
0
−7 −6 −5 −4 −3
10 10 10 10 10
11 ft versus Current Density
x 10
4
3
√
ft (Hz)
2
ft increases 1 gm W
1 ft = ∝
0
2π Cgs W
−7 −6 −5 −4 −3
10 10 10 10 10
Current Density Id/W (Amps/micron)
VGS<VTH
G
VDS
S D
Drain current:
W Vgs/(nVt) ³ −Vds/Vt
´
ID = ID0 e 1−e
L
- Where: Vt =
kT
≈ 26mV at T = 300K
q
Cox + Cdepl
n= ≈ 1.5
Cox
ID0 = μnCox (n − 1)Vt2e−VT H /(nVt)
- Note: channel length modulation, i.e., , is ignored here
M.H. Perrott 10
Saturation Region for Subthreshold Operation
Drain current Versus Vds and Vgs
140
Vgs = 0.44V
120
100
80 Vgs = 0.42V
I (nA)
d
60
Vgs = 0.4V
40
20
0
0 0.1 0.2 0.3 0.4 0.5
Vds (Volts)
2Id
Recall for strong inversion : gm ≈
(Vgs − VT H )
M.H. Perrott 12
Comparison of Strong and Weak Inversion for gm
M.H. Perrott 13
Hybrid- Model in Subthreshold Region (In Saturation)
d
g
d
g
vgs Cgs gmvgs gmbvs ro
s
d
g
vgs Cgs gmvgs gmbvs ro 2
ind
s
M.H. Perrott 17
Useful References Related to gm/Id Design
M.H. Perrott 18
Summary
M.H. Perrott 19
Analysis and Design of Analog Integrated Circuits
Lecture 17
Michael H. Perrott
April 4, 2012
M.H. Perrott
Opamps Are Basic Analog Building Blocks
Analog Filters Current References Switched Capacitor Circuits
C1 C2
Iref
R1
Vin Vref Vin
Vout Vout
Vref C1 Vref
Rref
Vout 0dB
Vss CL
Vin w (rad/s)
wdom w0 wp
Vdd
Voffset Vout
Vss CL
Vin
Offset voltage
Settling time (closed loop bandwidth)
Input common mode range
Equivalent Input-Referred Noise
Common-Mode Rejection Ratio (CMRR)
à !−1
δVoffset
CMRR =
δVin
Power Supply Rejection Ratio (PSRR)
à !−1 à !−1
+ δVoffset − δVoffset
PSRR = PSRR =
δVdd δVss
M.H. Perrott 4
Slew Rate Issues for Opamps
Vdd Vin
Vout
ideal
Vss CL
Vin Vout
slew-rate limited
M8 M7
M5
Rc Cc
M3 M4 M6
M.H. Perrott 6
First Stage Analysis
M5 Ibias1
First Stage Two-Port Model
-vid/2 vid/2
M1 M2
Rout1 vid V1 Zin Gm1V1 Rout1 Zin2 vout1
vout1
M3 M4
ro5
-vid/2 vid/2
M1 M2
Rout1 = 2ro2||ro4
ro5
i1
M1 M2
vtest itest = i1 + i2
i 1= 2ro2
i1 2ro2
i2 ro4
vtest
1
gm3 M4
vtest
i2 i1 + r
o4
-vid/2 vid/2
M1 M2
i1 i2 iout = i1 + i2
i1
1
gm3 M4
-vid/2 vid/2
1
gm3 M4 Cgs1 Cgs2
M7
Second Stage Two-Port Model
Ibias2
Vout
vin2 V2 Zin2 Gm2V2 Rout2 CL vout
CL
Vin2
M6
Cgs1
vid V1 gm1V1 ro2||ro4 V2 Cgs6 gm6V2 ro6||ro7 vout CL
2
20log(gm1(ro2||ro4)gm6(ro6||ro7))
20log Vout/Vid
0dB
w (rad/s)
1 w0
wp2 =
(ro6||ro7)CL
K gm1(ro2||ro4 )gm6(ro6||ro7 )
H(s) = =
1 + s/wp2 1 + s(ro6||ro7 )CL
At frequencies >> wp2
gm1(ro2||ro4 )gm6 gm1(ro2||ro4 )gm6
H(s) ≈ ⇒ wo ≈
sCL CL
We want wp1 > w0 for good phase margin with unity gain feedback
M.H. Perrott 14
Key Issue for Achieving Adequate Phase Margin
20log(gm1(ro2||ro4)gm6(ro6||ro7))
20log Vout/Vid
0dB
w (rad/s)
1 w0 1
wp2 = wp1 =
(ro6||ro7)CL (ro2||ro4)Cgs6
gm1(ro2||ro4 )gm6
wo ≈
CL
To achieve wp1 > w0
1
wp1 = > wo ⇒ CL > gm1gm6(ro2 ||ro4 )2Cgs6
(ro2||ro4 )Cgs6
- We need a very large value of C relative to Cgs6
L
This will generally be impractical!
M.H. Perrott 15
Pole Splitting Using a Compensation Capacitor
CM Cc
Cgs1
vid V1 gm1V1 ro2||ro4 V2 Cgs6 gm6V2 ro6||ro7 vout CL
2
Cgs1
vid V1 gm1V1 ro2||ro4 V2 Cgs6 gm6V2 ro6||ro7 vout CL
2
20log(gm1(ro2||ro4)gm6(ro6||ro7))
20log Vout/Vid
w (rad/s)
1 gm6
wp1 = wp2 =
(ro2||ro4)gm6(ro6||ro7)Cc Cgs6+CL
1 1
wp2 = wp1 =
(ro6||ro7)CL (ro2||ro4)Cgs6
20log(gm1(ro2||ro4)gm6(ro6||ro7))
20log Vout/Vid
0dB
w (rad/s)
1 w0 gm6
wp1 = wp2 =
(ro2||ro4)gm6(ro6||ro7)Cc Cgs6+CL
We want wp2 > w0 for good phase margin with unity gain feedback
M.H. Perrott 19
Key Constraints for Achieving Adequate Phase Margin
20log(gm1(ro2||ro4)gm6(ro6||ro7))
20log Vout/Vid
0dB
w (rad/s)
1 w0 gm6
wp1 = wp2 =
(ro2||ro4)gm6(ro6||ro7)Cc Cgs6+CL
gm1
wo ≈
Cc
To achieve wp2 > w0
gm6 gm1
wp2 = > wo ⇒ Cc > (Cgs6 + CL)
Cgs6 + CL gm6
- Note: we must have C c >> Cgs6 for this to be accurate
M.H. Perrott 20
More Accurate Calculations Related to Phase Margin
20log(gm1(ro2||ro4)gm6(ro6||ro7))
20log Vout/Vid
0dB
w (rad/s)
1 w0 gm6Cc
wp1 = wp2 =
(ro2||ro4)gm6(ro6||ro7)Cc Cgs6CL+Cc(Cgs6+CL)
gm1
wo ≈
Cc
To achieve wp2 > w0
à !
gm1 Cgs6CL
wp2 > wo ⇒ Cc > + Cgs6 + CL
gm6 Cc
M.H. Perrott 21
A More Accurate Transfer Function Model
Cc
Cgs1
vid V1 gm1V1 ro2||ro4 V2 Cgs6 gm6V2 ro6||ro7 vout CL
2
20 dB/decade
0 dB ω
ωz
- For w << |w |: z
6 Az (w) ≈ arctan (0) = 0◦
- For w = |w |:z
6 Az (w) ≈ arctan (−1) = −45◦
- For w >> |w |: z
6 Az (w) ≈ arctan (−∞) = −90◦
ωz/10 ωz ωz∗10
0o ω
Az(ω) -45o
o
-90
20log Vout/Vid
0dB
w (rad/s)
gm1 gm6
w0 = |wz| =
Cc Cc
gm6
wp2 =
Cgs6+CL
Since the RHP zero adds negative phase (similar to
pole), it reduces phase margin
- We want: |wz | À wo ⇒ gm6 À gm1
This is not a desirable constraint
M.H. Perrott 25
Adding a Compensation Resistor
Rc Cc
Cgs1
vid V1 gm1V1 ro2||ro4 V2 Cgs6 gm6V2 ro6||ro7 vout CL
2
wz = −
gm6
µ
1
¶
- See Johns&Martin,
Cc 1 − gm6Rc pp. 242-244
M.H. Perrott 26
Implementing Rc with a Triode Device
M8 M7
M5
M3 M4 M6
M9
Cc
M4 M6
Michael H. Perrott
April 8, 2012
M.H. Perrott
Recall: Key Specifications of Opamps (Open Loop)
Rhuge
For Open Loop Characterization
Chuge Vdd
Set Rhuge >> |Zout|
Vout
and 1/(RhugeChuge) << wdom
Vss CL
Vin Zout
20log(K)
Vout 0dB
Vss CL
Vin w (rad/s)
wdom w0 wp
Vdd
Voffset Vout
Vss CL
Vin
Offset voltage
Settling time (closed loop bandwidth)
Input common mode range
Equivalent Input-Referred Noise
Common-Mode Rejection Ratio (CMRR)
à !−1
δVoffset
CMRR =
δVin
Power Supply Rejection Ratio (PSRR)
à !−1 à !−1
+ δVoffset − δVoffset
PSRR = PSRR =
δVdd δVss
M.H. Perrott 3
Basic Two Stage CMOS Op Amp
M8 M7
M5
Rc Cc
M3 M4 M6
M.H. Perrott 4
Key Specifications Discussed In This Lecture
M.H. Perrott 5
A Closer Look at Offset Voltage
Vdd
Vin- ³ ´
Vout Vout = H(s) Vin+ − Vin− − Voff
Vin+
Vss CL
Voff
Assume:
Vin- Vdd - Input to opamp is a DC signal
Voff Vin+ Vout - Amplifier is not saturated
Voff CL - DC gain of amplifier is large
Vin ³ ´
Vout = K Vin+ − Vin− − Voff
M8 M7
M5 Ibias1
Ibias1 Ibias1 CL
2 2 Rc Cc
Vgs3 M6
M3 M4
M8 M7
M5 Ibias1 Ibias2
Ibias1 Ibias1 CL
2 2 Rc Cc Id6
assume L6 = L3 = L4 Vgs3 M6
M3 M4
M8 M7
M5 Ibias1
Rc Cc
M6
M3 M4
CMRR defined as avd/avc, where
avd = avd1avd2 avc = avc1avd2
Inspection of the above reveals that CMRR is
determined by the first stage
avd1avd2 avd1
CMRR = = = CMRR 1
avc1avd2 avc1
M.H. Perrott 9
Common Mode Gain and Resulting CMRR
V2 V2 V2
1 1 1 1
gm3 M4 gm3 M4 gm3 gm4
Vdd
Voffset Vout
Vss CL
Vin
M8 M7
M5 Ibias1
Rc Cc
M6
M3 M4
We now consider the impact of positive and negative
supply variation on the output of the amplifier
- Key assumption: V in+ = Vin- = Vic
Definitions:
+ avd − avd
PSRR = + PSRR = −
a a
M.H. Perrott 12
Simplification of Current Mirror
1 M7
gm8
M5 Ibias1
Rc Cc
M6
M3 M4
Rc Cc Rc Cc
1 1
M6 gm3 gm4 M6
M 3 M4
M.H. Perrott 14
Calculation of PSRR+ At Low Frequencies
2ro5 ro7
vs+
Vic Vout
M2
CL
V2 Rc Cc
1
gm4 M6
2ro5 ro7
Vic Vout
M2
CL
V2 Rc Cc
vs- 1
gm4 M6
Vdd
Voffset Vout
Vss CL
Vin
2 2 1 2 1 2
vn1 vn2 vn1 + vn2
avd12 (avd1avd2)
2
M.H. Perrott 18
Input-Referral of MOS Device Noise
2
ind
Vin Vin 1 2
i
gm2 nd
2 2
vni1 vni2
M1 M2
isc2
2
vni3 2
vni4
Assume:
gm1 = gm2
M3 M4 gm3 = gm4
µ ¶ µ ¶
i2
sc = g 2
m1 v 2
ni1 + v 2
ni2 + g 2
m3 v 2
ni3 + v 2
ni4
⇒ i2
sc = 2g 2 v 2 + 2g 2 v 2
m1 ni1 m3 ni3
M.H. Perrott 20
Determining Input-Referred Noise
M5
Output noise due to equivalent
input-referred noise:
2
vneq
M1 M2
i2
sc = g 2 v2
m1 neq
isc2
Assume:
M3 M4
gm1 = gm2
gm3 = gm4
Vdd
Voffset Vout
Vss CL
Vin
M.H. Perrott 22
Recall: Slew Rate Issues for Opamps
Vdd Vin
Vout
ideal
Vss CL
Vin Vout
slew-rate limited
M3 M4 M6
Current Limits
Cc First stage
- Max I = I
1 bias1
Vid
I1 I2 Vout - Min I = -I
1 bias1
avd1 avd2
Second stage
CL
- Max I = I
2 bias2
- Min I = Large
2
M.H. Perrott 24
Slew Rate Analysis (First Stage Limits)
Cc
I1 I2
Vid Vout
avd1 avd2
CL
max I1 = Ibias1 max I2 = Ibias2
min I1 = -Ibias1 min I2 = Large
M.H. Perrott 25
Slew Rate Analysis (Second Stage Limits)
Cc
I1 I2
Vid Vout
avd1 avd2
CL
max I1 = Ibias1 max I2 = Ibias2
min I1 = -Ibias1 min I2 = Large
I1 I2
Vid Vout
avd1 avd2
CL
max I1 = Ibias1 max I2 = Ibias2
min I1 = -Ibias1 min I2 = Large
M.H. Perrott 27
Impact of Slew Rate
Vdd
Vout
Vss CL
Vin
Vin = A sin(wt)
Slew rate limits the maximum frequency that the amplifier can track
M.H. Perrott 28
Summary
M.H. Perrott 29
Analysis and Design of Analog Integrated Circuits
Lecture 19
Michael H. Perrott
April 11, 2012
M.H. Perrott
Opamps Are Utilized in a Wide Range of Applications
Analog Filters Current References Switched Capacitor Circuits
C1 C2
Iref
R1
Vin Vref Vin
Vout Vout
Vref C1 Vref
Analog Buffers
Rref
Vout
Vin
R1 R1a
Vin Vin+
Vout+
Vout
Vref Vin- Vout-
R1b
C1b
M.H. Perrott 4
Fully Differential Version of Basic Two Stage Opamp
M8
M7b M5 M7a
M6b M3 M4 M6a
R1a
Vin+
Vout+
Vin- Vout-
R1b
C1b
M8
M7b 2ro5 2ro5 M7a
M8
M7b 2ro5 2ro5 M7a
M6b M3 M4 M6a
M.H. Perrott 8
Common Mode Feedback Biasing (CMFB)
M8
M9 Rlarge M7b 2ro5 2ro5 M7a
M5 M5
M3 M4 M3 M4
M5
-Vid/2 Vid/2
M1 M2 isc (a)+(b)
(a) (b)
vid
isc (b)
(a)
M3 M4 w
wp_par wz_par
R1 R1a
Vin Vin+
Vout+
Vout
Vref Vin- Vout-
R1b
Vout- M5 M6 Vout+
CL Vbias1 CL
M4
Vin+ M3 M4 Vin-
Iref M1 M2
M10 M9
CL Vbias1 CL
M4 w (rad/s)
M3 M4 wdom w0 wp
-Vid/2 Vid/2
Iref M1 M2
CL Vbias1 CL
M4 w (rad/s)
M3 M4 wdom w0 wp
-Vid/2 Vid/2
Iref M1 M2
M7 M8
Vbias2
M5 M6 Vout
Vbias1 CL
M4
Vin+ M3 M4 Vin-
Iref M1 M2
M10 M9
Vbias3
Ibias1/2 Ibias1/2
Vout- M7 M8 Vout+
Vin+ Vin-
Iref M1 M2 CL Vbias2 CL
Ibias2-Ibias1/2 M5 M6 Ibias2-Ibias1/2
M11 M12 Controlled Vbias1
by CMFB M3 M4
w (rad/s) Vbias3
wdom w0 wp
Vout- M7 M8 Vout+
Vid/2 -Vid/2
Iref M1 M2 CL Vbias2 CL
M5 M6
Controlled Vbias1
M11 M12
by CMFB
M3 M4
M10
M5 M9
Vbias2
Iref Vin- Vin+
M1 M2 M8
Vout
Rc Cc Vbias1 CL
M7
M3 M4
M6
M10
M5 M9
Vbias2
Iref -Vid/2 Vid/2
M1 M2 M8
Vout
Rc Cc Vbias1 CL
20log(K)
20log Vout/Vid
M7
0dB M3 M4
w M6
wdom w0 wp
M8
M5 M7
3Ibias
Rc Cc CL
Ibias
Vbias1
M9 M10
M3 M4 M6
M8
M5 M7
3Ibias
M3 M4 M6
K = gm2Rout1 gm6(ro6||ro7 )
gm2 gm6
wdom = 1/(Rout1 CM ) wo = wp ≈
Cc CL
where Rout1 = ((gm12ro12)ro2)||((gm10 ro10)ro4)
CM ≈ (gm6(ro6 ||ro7)) Cc 22
M.H. Perrott
Summary
M.H. Perrott 23
Analysis and Design of Analog Integrated Circuits
Lecture 20
Michael H. Perrott
April 15, 2012
M.H. Perrott
Outline of Lecture
M.H. Perrott 2
Recall the Folded Cascode Opamp
Vbias3
Ibias1/2 Ibias1/2
Vout- M7 M8 Vout+
Vin- Vin+
Iref M1 M2 CL Vbias2 CL
Ibias2-Ibias1/2 M5 M6 Ibias2-Ibias1/2
M11 M12 Controlled Vbias1
by CMFB M3 M4
Modified version of telescopic opamp
- Significantly improved input/output swing
- High BW (better than two stage, worse than telescopic)
- Single stage of gain (lower than telescopic)
Can we further boost the DC gain?
M.H. Perrott 3
Gain Boosting of Current Sources
Iout
DC Gain = K Rout
Iout Vref
DC Gain = K Rout
Vref
M1 vgs gm1vgs -gmb1vs ro1
Rref
vs Rref
M4
M2 M3 M2 M3
M8 Iout
Vbias3
Rout
M7
M1 Iref
Vbias5
Vbias2
M6 M4
Vbias1 M2 M3
M5
Folded cascode yields
K = gm4 (((gm6ro6)ro5)||((gm7 ro7)ro8))
⇒ Rout ≈ (gmro)3ro2
- Improved headroom and higher gain!
Is there a convenient way to set Vbias5?
M.H. Perrott 6
Differential Version of Gain Boosting Amplifier
Iout Iout
Vbias4 Rout Rout Vbias4
M11 M12
M1 M2
Vbias2 Vbias0 Vbias2
M9 M5 M6 M10
Vbias1 M3 M4 Vbias1
M7 M8
M1
Vbias0
M3 M4
M.H. Perrott 8
Folded Cascode with Gain Boosting
Vbias4
M9 M10
Vout- Vout+
M7 M8
Vin- Vin+ CL CL
Iref M1 M2
M5 M6
20log Vout/Vid
gm -gm
w (rad/s)
wp1 wp2
wp2 wp1
20log Vout/Vid
gm gm -gm
w (rad/s)
Eschauzier, JSSC
Dec 1992 wp1 wp2,wp3
wp3 wp2 wp1
M8 M7
M5 M9
Cc
M3 M4 M12 M13 M6
Controlled Vbias3
by CMFB
M7 M8
Vbias2
Vout- M5 M6 Vout+
CL Vbias1 CL
M4
Vin+ M3 M4 Vin-
Iref M1 M2
M10 M9
Controlled Vbias3
by CMFB
M7 M8
Vbias2
Vout- M5 M6 Vout+
Iref
CL Vbias1 CL
K M4
Vin+ M3 M4 Vin-
Vin+ Vin-
M1 M2
M11 M12
Gulati, JSSC
M10 M9 Dec, 1998
Vdd Vin
Vout
ideal
Vss CL
Vin Vout
slew-rate limited
M3 M4 M6
Current Limits
First stage
Cc - Max I = I
1 bias1
I1 I2
- Min I = -I
1 bias1
Vid
avd1 avd2
Vout Second stage
CL
- Max I = I
2 bias2
- Min I = Large
2
Vbias
M2 Ibias M2 Ibias
M1 Ibias
Vout Vout
Vin
Vbias Vout
Vin
Vin
M1 M1
M2
Class A
- Maximum slew rate in one direction is set by the
nominal bias current
Class AB
- Maximum slew rate is not set by the nominal bias
current
Goal: low nominal bias current
M.H. Perrott 17
Class AB Opamp
M9 M5 M6 M10
Ibias Ibias
Vin- Vin+
Vout- M1 M2 Vout+
Vbias Vbias
CL CL
M3 M4
Costello, JSSC
Dec 1985
M11 M7 M8 M12
Ibias Ibias
Vin- Vin+
CL M14 M16 CL
Iref M3 M4 Iref
M11 M7 M8 M12
M.H. Perrott 19
Summary
M.H. Perrott 20
Analysis and Design of Analog Integrated Circuits
Lecture 21
Sampling
Michael H. Perrott
April 18, 2012
M.H. Perrott
Outline of Lecture
M.H. Perrott 2
The Need for Sample and Hold Circuits
Vout(t)
Vin(t)
Volts Vout(t)
Vin(t) Vout(t) Vin(t)
t
Vclk(t)
CL
Sample and Hold
Volts Vout(t)
Vin(t)
t
Vclk(t)
Volts
Vin(t) Vout(t) Vclk(t)
CL Vout(t)
Vin(t)
t
Vclk(t)
Volts
Vin(t) Vout(t) Vclk(t)
Rch CL Vout(t)
Vin(t)
t
Vclk(t)
Volts
Vin(t) Vout(t) Vclk(t)
Rch CL Vout(t)
Vin(t)
t
Channel CL
Charge Vout(t)
Vin(t)
t
Ideal behavior
Charge injection disturbs the tracked value due to
charge transfer that occurs from two key sources
- Overlap capacitance
Caused by capacitive coupling of clock edge onto load
capacitor, CL
- Channel charge
Caused by expelling the channel charge as device is
abruptly turned off
M.H. Perrott 8
Calculation of Charge Injection Impact
Track and Hold
Vclk(t) VHI
Cov Cov Vclk(t)
Volts
Vin(t) Vout(t)
VLO
Channel Vin(t)
CL
Charge Vout(t) (desired)
ΔV V (t) (actual)
out
t
Vclk(t) Vclk(t)
Cov Cov Cov Cov
Vin(t) 2 2 Vout(t)
M1 Mdummy
Channel CL
Charge
Vclk(t) Vclk(t)
Vin(t) Vout(t)
CL
Vclk(t)
CL
Vclk(t)
Vout(t) Analog-to-Digital
Vin(t)
Converter
CL
Cpar
Vref
CL Φ2(t)
M.H. Perrott 17
Now Consider Hold Phase on Sampling Cap C1
Calculate Vout as
Vout = K(Vref − (Vout − VCs + Voff ))
K
⇒ Vout = (Vref +VCs−Voff ) ≈ Vref +VCs−Voff
K+1
Recall that VCs = Vin – Vref + Voff
⇒ Vout ≈ Vref + Vin − Vref + Voff − Voff = Vin
Φ1(t)
Φ1d(t) Φ1(t)
Φ1d(t)
Vin+(t)
Cs
Vout+(t) Φ2(t)
Vout-(t)
CL
Cs CL
Vin-(t)
Φ1d(t) Φ1(t)
Φ2(t)
Rch vn2 Cs Cs
Rch 2
vn Cs vn2 Cs Vout
Rch 2
vn Cs vn2 Cs Vout
Michael H. Perrott
April 22, 2012
M.H. Perrott
Outline of Lecture
M.H. Perrott 2
Digital to Analog Conversion
Vout
4V
4 ref
3V
D0 4 ref
D1 2V
DAC Vout or Iout 4 ref
DN-1 1V 1 LSB
4 ref
D 2D 1 D 0
000 001 111
Digital input consists of bits, Dk, with values 0 or 1
Analog output is either voltage or current
Vref N−1 D N−2 D 1D +20D )
Vout = (2 N−1 +2 N −2 +· · · 2 1 0
2N
Key characteristics
- Full scale = V ref
M.H. Perrott
- Resolution = V ref/2
N = 1 LSB 3
Gain and Offset Errors
Offset Error Gain Error
Vout Vout
7V 7V
8 ref 8 ref
Voffset
D 2 D 1D 0 D 2 D 1D 0
000 111 000 111
7V
8 ref
INL
D 2 D 1D 0
000 111
M.H. Perrott 5
Monotonicity
Non-Monotonic
Vout
7V
8 ref
D 2 D 1D 0
000 111
Gnd
D2 D1 D0
R
2R 4R 8R
Vout
Vref
CL
D2 D1 D0 R
Vout
Vref
CL
Advantages
- Switch resistance does not impact accuracy (to first
order)
- Scaled current sources are readily obtained using
current mirror techniques
Issues
- Likely to have higher 1/f noise than resistor based DAC
- Opamp limits bandwidth, adds noise
M.H. Perrott 8
Binary Current DAC with Resistive Load
D2 D1 D0
Vout
R CL
No opamp required
- Useful for high speed applications
Issues
- Current sources must now bear the full output range
Much harder to maintain constant current from them
Cascoding takes up headroom
Can lead to code dependent nonlinearity (i.e., poor INL,
distortion)
M.H. Perrott 9
Binary Versus Thermometer Encoding
Binary Thermometer
Vref Vref
R
Vout
Gnd R
D2 D1 D0 CL
R
2R 4R 8R
Vout Binary-to-Thermometer
R
Decoder
Vref
CL R
D2 D1 D0
DN-1 DN-2 D2 D1 D0
2N-1C 2N-2C 4C 2C C Φ0
Vout
C
DN-1 DN-2 D2 D1 D0
2N-1C 2N-2C 4C 2C C Φ0
Vout
C
D0
D1
DAC Vout or Iout
DN-1 1 LSB
D 2D 1 D 0
000 001 111
Time Domain
Frequency Domain
Digital Input Quantization Analog Output
Spectrum Noise Spectrum
Input
Σ−Δ
Sigma-Delta dithers in a manner such that resulting
quantization noise is “shaped” to high frequencies
M.H. Perrott 14
Linearized Model of Sigma-Delta Modulator
r[k] S r(ej2πfT)= 1
12
NTF Hn(z)
z=ej2πfT
1
STF q[k]
x[k] y[k] x[k] y[k]
Hs(z)
Σ−Δ
z=ej2πfT
S q(ej2πfT)= 1 |H n(ej2πfT)| 2
12
H(z) - 1 e[k]
7 m=3
5
Magnitude
4 m=2
m=1
2
0
0 1/(2T)
Frequency (Hz)
M.H. Perrott 19
Example: First Order Sigma-Delta Modulator
Choose NTF to be
x[k] u[k] y[k]
H(z) - 1 e[k]
Magnitude (dB)
Amplitude
0
0 Sample Number 200 0 Frequency (Hz) 1/(2T)
M.H. Perrott 20
Example: Second Order Sigma-Delta Modulator
Choose NTF to be
x[k] u[k] y[k]
H(z) - 1 e[k]
Magnitude (dB)
Amplitude
-1
0 Sample Number 200 0 Frequency (Hz) 1/(2T)
M.H. Perrott 21
Example: Third Order Sigma-Delta Modulator
Choose NTF to be
x[k] u[k] y[k]
H(z) - 1 e[k]
4
3
2 Magnitude (dB)
Amplitude
1
0
-1
-2
-3
0 Sample Number 200 0 Frequency (Hz) 1/(2T)
M.H. Perrott 22
Observations
M.H. Perrott 23
Warning: Higher Order Modulators May Still Have Tones
Magnitude (dB)
M.H. Perrott 24
Fractional Spurs Can Be Theoretically Eliminated
See:
- M. Kozak, I. Kale, “Rigorous Analysis of Delta-Sigma
Modulators for Fractional-N PLL Frequency Synthesis”,
IEEE Transactions on Circuits and Systems I:
Fundamental Theory and Applications, vol. 51, no. 6, pp.
1148-1162
M.H. Perrott 25
MASH topology
1-z-1 (1-z-1)2
u[k] y[k]
M.H. Perrott 26
Calculation of STF and NTF for MASH topology (Step 1)
1-z-1 (1-z-1)2
u[k] y[k]
M.H. Perrott 27
Calculation of STF and NTF for MASH topology (Step 1)
1-z-1 (1-z-1)2
u[k] y[k]
- STF: H (z) = 1
s
- NTF: H (z) = (1 – z )
n
-1 3
M.H. Perrott 28
The Issue of Intersymbol Interference
Clk(t)
4Iref 2Iref Iref
D2 D1 D0 I0(t) (ideal) 0 1 1 1 0
I0
Vout
I0(t)
R CL
M.H. Perrott 29
Return-to-Zero (RZ) Signaling
Clk(t)
4Iref 2Iref Iref
D2 D1 D0 I0(t) (ideal) 0 1 1 1 0
I0
Vout
R CL
I0(t)
M.H. Perrott 30
Summary
M.H. Perrott 31
Analysis and Design of Analog Integrated Circuits
Lecture 23
Michael H. Perrott
April 25, 2012
M.H. Perrott
Outline of Lecture
ADC Topologies
- Flash
- SAR
- Pipeline
- Interleaved
- Sigma-Delta
Special focus on the emerging area of VCO-based
ADCs
M.H. Perrott 2
Analog to Digital Conversion
D 2 D 1D 0
111
D0
D1
Vin ADC
DN-1
1 LSB
001
000 Vin
1V 7V
0
8 ref 8 ref
A 0
A 1
Vref
N
A 1
IN CLK
Fastest ADC structure (> 1 GHz)
- Performs direct comparison of an input signal to a set of
voltage references using parallel comparators
- Typically limited to 8-bit resolution
- Relatively large area and power for higher resolution
M.H. Perrott 4
SAR ADC
Vref
DN-1 DN-2 D2 D1 D0
D0
Vdac 2N-1C 2N-2C 4C 2C C Φ0
D1
DAC
DN-1
Vdac
Vin CLK C Vin CLK
Vin
Gnd
D5=0 D4=1 D3=1 D2=0 D1=0 D0=0
D0 CLK1
Vin D1
ADC
DN-1 CLK2
CLK1
D0
CLK3
D1
ADC
DN-1 CLK4
CLK2
D0
ADC
D1 Clocking several ADC structures
DN-1 at different clock phases allows
CLK3 much higher effective sample rate
D0
D1
- Can interleave Flash, SAR, or
ADC Pipeline ADCs
CLK4
DN-1
Key challenges include clock
skew, mismatch between ADCs,
higher input capacitance
M.H. Perrott 8
Sigma-Delta ADC (Discrete-Time)
Multi-Level
Quantizer
IN OUT
H(z)
clock
DAC
Oversampled input
- Clock rate is much higher than bandwidth of input
signal
Noise shaped quantization noise
- Uses similar concepts as Sigma-Delta DAC considered
in Lecture 22
Leads to high effective precision despite having a coarse
quantizer
M.H. Perrott 9
Sigma-Delta ADC (Continuous-Time)
Multi-Level
Quantizer
IN OUT
H(s)
clock
DAC
M.H. Perrott 10
Time-to-Digital Conversion
D Q D Q D Q
Delay TDC
tin(t) Time e[k]
tin(t) 1 Characteristic
-to-
1 Digital
1 e[k]
0 e[k]
0 clk(t)
clk(t)
Δt Δt
Quantization in time achieved with purely digital gates
- Easy implementation, resolution improving with Moore’s law
How can we leverage this for quantizing an analog voltage? 11
M.H. Perrott
Adding Voltage-to-Time Conversion
clk(t)
Naraghi, Courcy, Flynn, ISSCC 2009
clk(t)
Ring Oscillator
tin1(t) tin2(t) tin3(t)
Vtune(t)
in(t)
D Q D Q D Q
tin3(t)
Reg Reg Reg
tin2(t) out[k]
tin1(t) clk(t)
Ring Oscillator
tin1(t) tin2(t) tin3(t)
Vtune(t)
in(t)
D Q D Q D Q
tin3(t)
Reg Reg Reg
tin2(t) out[k]
tin1(t) clk(t)
N-bit Register
Sample 2
N XOR Gates
Adder
Out Sample 3
Ref
Ref N-bit Register
010110101 110101010 101010010
N-bit Register
101010101 010110101 110101010
N XOR Gates
111100000 100011111 011111000
Adder
Key non-idealities:
- VCO K nonlinearity
v
- VCO noise VCO
Noise
Quantization
Noise
Output
Noise
- Quantization noise -20 dB/dec 20 dB/dec
f f f
Vtune Out
2πKv 1
1- z-1
s T
VCO Kv VCO Sampler First Order
Nonlinearity Difference
M.H. Perrott 19
Example Design Point for Illustration
Simulated ADC Output Spectrum
60 Ref clk: 1/T = 1 GHz
40 31 stage ring oscillator
20
- Nominal delay per
stage: 65 ps
Amplitude (dB)
0
KVCO = 500 MHz/V
-20 - 5% linearity
-40 VCO noise: -100 dBc/Hz
-60
at 10 MHz offset
-80
VCO Quantization Output
-100 5 6 7 8
Noise Noise Noise
10 10 10 10 -20 dB/dec 20 dB/dec
Frequency (Hz)
f f f
Vtune Out
2πKv 1
1- z-1
s T
VCO Kv VCO Sampler First Order
Nonlinearity Difference 20
M.H. Perrott
SNR/SNDR Calculations with 20 MHz Bandwidth
Simulated ADC Output Spectrum
60 Conditions SNDR
40
Ideal 68.2 dB
20
VCO Thermal
Amplitude (dB)
0 65.4 dB
Noise
-20
VCO Thermal
-40 32.2 dB
+ Nonlinearity
-60
-80
VCO Quantization Output
-100 5 6 7 8
Noise Noise Noise
10 10 10 10 -20 dB/dec 20 dB/dec
Frequency (Hz)
f f f
A 0
Vdd
A 1 Buffer
Vdd
N CLK
N-bit Register
A 1
IN CLK 0 1 1 1 0
dissipation
Adder
Out
Quantization Noise
20 dB/dec
VCO Noise
f
Vtune Out
VCO Kv Nonlinearity 23
M.H. Perrott
Feedback Is Our Friend
Ref (1 GHz) Iwata, Sakimura, TCAS II, 1999
In
Naiknaware, Tang, Fiez, TCAS II, 2000
Gain and Vtune VCO-based Out
Filtering Quantizer
Vtune N-Stage Ring Oscillator
DAC Out
DAC
Ref
N-bit Register
DAC Out
DAC
Ref
N-bit Register
N-bit Register
Consider direct
N XOR Gates
connection of the
quantizer output to a 1-Bit DACs
series of 1-bit DACs
- Add the DAC outputs
together
DAC Out
DAC Out
DAC
Sample 1
Sample 2
Barrel shifting
through delay
Sample 3
elements
- Mismatch between
delay elements is Sample 4
first order shaped
M.H. Perrott 26
Implicit Barrel Shifting Applied to DAC Elements
Ref (1 GHz)
Miller, US Patent (2004)
In Gain and Vtune VCO-based Out
Filtering Quantizer
Vtune N-Stage Ring Oscillator
N-bit Register
Ref
N XOR Gates
111100000 100011111 011111000
1-Bit DACs
M.H. Perrott
- Acts to shape DAC mismatch and linearize its behavior 27
First Generation Prototype
973 MHz
VIN
Vtune VCO-based D OUT Barrel-Shift
Quantizer & DEM
VA VB
Quantizer Element
Barrel-Shift
DEM
31
IDAC1 IDAC2
Sample
Second order dynamics achieved with only one op-amp
- Op-amp forms one integrator
- I and passive network form the other (lossy) integrator
dac1
- Minor loop feedback compensates delay through quantizer
Third order noise shaping is achieved!
M.H. Perrott
- VCO-based quantizer adds an extra order of noise shaping 28
Custom IC Implementing the Prototype
973 MHz
Straayer, Perrott
VIN VLSI 2007
Vtune VCO-based D OUT
VA Quantizer &
VB Barrel-Shift
DEM
31
IDAC1 IDAC2
0.13u CMOS
Power: 40 mW
Active area: 700u X 700u
Peak SNDR: 67 dB (20 MHz BW)
Efficiency: 0.5 pJ/conv. step
M.H. Perrott 29
Measured Spectrum From Prototype
Normalized FFT, FIN = 1 MHz
60
20 MHz Input Bandwidth
40 SNR 66.4 dB
SNDR 65.7 dB
20
Amplitude (dB)
0
Distortion
-20
-40
-60
-80
0.1 1 10 100 1000
Frequency (MHz) 30
M.H. Perrott
Measured SNR/SNDR Vs. Input Amplitude (20 MHz BW)
SNR/SNDR vs. Amplitude, FIN = 1 MHz
90
80
SNR
70 SNDR Kv nonlinearity
60
limits SNDR to
SNR/SNDR (dB)
67 dB
50
40
30
20
10
0
-10
-90 -80 -70 -60 -50 -40 -30 -20 -10 0
Amplitude (dBFS) 31
M.H. Perrott
Summary
Michael H. Perrott
April 29, 2012
M.H. Perrott
Introducing Bipolar Devices (Within CMOS Processes)
CMOS IB Bipolar
ID
IC
VGS VBE
G
VD N+
S D C B E B C VCE
N+
P-
N+ N+ P+ P- P+ N+
N+
D C
Note: define Ae as
G B area of emitter
S E
M.H. Perrott 4
Bipolar Versus CMOS Devices
CMOS Bipolar
D C
G B
S E
Q1 I2
VBE1
Q2
VBE2
In general
³ ´
Ic = AeIs eVBE /Vt − 1 ≈ AeIseVBE /Vt
µ ¶
Ic
⇒ VBE ≈ Vt ln
AeIs
Addition of VBE voltages corresponds to multiplication
of collector currents à ! à !
I1 I2
VBE1 + VBE2 = Vt ln + Vt ln
Ae1Is Ae2Is
à !
I1I2
= Vt ln
Ae1Ae2Is2 6
M.H. Perrott
Consider Subtracting VBE Voltages
I1 I2
Q1 Q2
VBE1 VBE2
I2 I1
Ae2 Ae1
Ib2 Ib1
R1 ΔVBE
M.H. Perrott 9
NMOS Source Follower Mitigates Base Current Issue
I2 I1
M4
Ae2 Ae1
Ibias R1 ΔVBE
W2 W1
L L
I2 I1
M4
Ae2 Ae1
Ibias R1
M.H. Perrott 11
PTAT Current Output Is Simple Extension of Mirror
W2 W1 W3
L L L I3
I2 I1
M4
Ae2 Ae1
Ibias R1
à !
W3 W3 ∆VBE β
I3 = I1 =
W1 W1 R1 β+1
W2 W1 W3
L L L I3
I2 I1 Vo
M4 R3 ρ 0.18mV/oC
Ae2 Ae1
Temp (oC)
Ibias R1 ΔVBE
à !
W3 ∆VBE β W3 R3
Vo = I3R3 = R3 ≈ ∆VBE
W1 R1 β+1 W1 R1
W2 W1 W3
L L L I3
I2 I1 Vbg
M4 R3
VR3
Ae2 Ae1
Ibias R1 Ae3
VBE3
W3 R3
Vbg = VR3 + VBE3 ≈ ∆VBE + VBE3
W1 R1
W2 W1 W3
L L L I3
I2 I1 Vbg
M4 R3 VBE3
VR3
Ae2 Ae1
-2mV/oC
Ibias R1 Ae3
VBE3 Temp (oC)
W3 R3
Vbg = VR3 + VBE3 ≈ ∆VBE + VBE3
W1 R1
W2 W1 W3 I3
L L L
(ρ 0.18-2)mV/oC
I2 I1 Vbg
M4 R3
VR3
Ae2 Ae1
Temp (oC)
Ibias R1 Ae3
VBE3
W3 R3
Vbg = VR3 + VBE3 ≈ ∆VBE + VBE3
W1 R1
Assume R3 = R4 ∆VBE
I2 = I1 ≈
R4 R3 I1 = I2 R2
Vbg
I2 I1
Ae2 Ae1
VBE2 Vbg = VR1 + VBE2
ΔVBE R2 Ã !
∆VBE
≈ I2 + R1 + VBE2
R2
VR1 R1 2R1
= ∆VBE + VBE2
R2
Assuming VBE varies at 0.18mV/ºC, set ratio as
2R1 2mV /◦C
= ◦
= 11.11
R2 0.18mV / C 17
M.H. Perrott
What if Deep NWELL Is Not Available?
IB NPN Bipolar PNP Bipolar
IC
VBE VEB IB IC
N+ N+ P+
C B E B C VCE B E C
N+ P+ P- P+ N+ N- P+
N+ -
P
C E
Note: define Ae as
B area of emitter B
E C
M.H. Perrott 18
Grounded Collector PNP Bandgap Circuit
R1 R3 VR3
Vbg
I1 I2
Vdd
Gnd
M.H. Perrott 20
Temperature Sensing Using Bipolar Devices
Vbg Vref
Bandgap
ADC Out
Circuit
ΔVBE Vin
kT I 2 Ae1
VBE VBE 2 VBE1 ln
q I1 Ae 2
We can create an accurate temperature sensor by
comparing VBE to a temperature stable bandgap
reference voltage
- Analog-to-digital converter is used to digitize the
temperature signal
M.H. Perrott 21
Summary