Professional Documents
Culture Documents
Lecturas
Lecturas
Lecturas
Elad Alon
Dept. of EECS
Course Focus
• Focus is on analog design methodology
EE 240B Lecture 1 3
Teaching Staff
• Elad’s office hours
• 519 Cory Hall
• Office hours TBA
EE 240B Lecture 1 4
Administrative
• Course web page:
https://inst.eecs.berkeley.edu/~ee240b/sp18/
• Lecture videos
• Volunteers for recording?
EE 240B Lecture 1 5
Lecture Notes
• Compilation from offerings by multiple
faculty/instructors:
• Prof. Bernhard Boser, Prof. Ali Niknejad, Dr. Simone
Gambini, Dr. Lingkai Kong, and myself
EE 240B Lecture 1 6
Reference Texts
• Analysis and Design of Integrated Circuits,
Paul R. Gray, Paul J. Hurst, Stephen H. Lewis, Robert G. Meyer,
4th Ed., Wiley, 2001.
EE 240B Lecture 1 7
Grading
• HW: 10%
• One HW roughly every two weeks
• You will be “graded” purely by on-time submission
• You should “self-grade and make sure you understand
the solutions – falling behind/not doing this will doom
you to failure everywhere else.
• Project: 30%
• Groups of 2 – find a partner ahead of time
• Midterm: 25%
• Final Exam: 35%
EE 240B Lecture 1 8
Homework
• Can discuss/work together
• But write-up must be individual
• No late submissions
• Start early!
EE 240B Lecture 1 9
Schedule Notes
• ISSCC Week: 2/12 - 2/15 (no lectures)
• Midterm: March 8 (tentative)
• Spring break: 3/26 – 3/30
• Project (tentative)
• Part 1 due Apr. 10
• Part 2 due Apr. 19
• Part 3 due May 3
• Final: Wed., May 10, 8am – 11am
EE 240B Lecture 1 10
Course Material Introduction
EE 240B Lecture 1 11
Analog and Mixed-Signal Circuits
EE 247A EE 240A EE 240B EE 241A/B
… EE 240B EE 240C EE 251A
EE 242A …
Signal
A/D
Physical World Conditioning
Transducers DSP
Signal
D/A
Conditioning
EE 240B Lecture 1 12
Why Analog Circuits?
• The “real” or “physical” world is analog
• Analog is required to interface to just about anything
• Digital signals have analog characteristics too…
EE 240B Lecture 1 13
Example: RF Transceiver
http://www.ti.com/product/CC110L
EE 240B Lecture 1 14
Another Example
EE 240B Lecture 1 17
What You Will Therefore Be Doing
• You will be tasked with building many
different variants of the same function/block
EE 240B Lecture 1 19
In Other Words…
• Your goal as an analog designer should not
be to deliver a specific instance.
EE 240B Lecture 1 20
Berkeley Analog Generator (BAG)
• Hierarchical, Python-based
framework allowing
executable specification
of design procedure
• I.e., BAG takes care of the BAG
“plumbing”
Specifications Python Verified
Generator Design
• Will not require Tech. File Instance
you to use BAG External Tools
in this class J. Crossley et al., ICCAD Nov. 2013
• But forcing yourself to codify your methodology is an
outstanding way to check and develop your
understanding
EE 240B Lecture 1 21
BAG Example
SOI
FinFET
Bulk
EE 240B Lecture 1 22
Course Outline (approx.)
• Module 1: Analog design core
• “Modeling” MOS transistors
• Electronic noise and noise analysis
• GBW- and noise-limited amplifier design
EE 240B Lecture 1 23
Course Outline (approx.)
• Module 3: AFE system (Photonic Link) design
• Link circuit components and analysis
• Comparators
• Layout and matching effects
• Offset cancellation
• Module 4: Wrap-up
• Discrete time analog circuits
• Sampling
• Biasing and references
• Design strategies/motifs
EE 240B Lecture 1 24
EE 240B – Spring 2018
Elad Alon
Dept. of EECS
Square Law Model?
1 W
= ⋅ µn ⋅ Cox ⋅ ⋅ (VGS − Vth )
2
I D , sat
2 L
EE 240B Lecture 2 2
Graphically
180nm NMOS
Square Law
BJT
[ B. Murmann ]
EE 240B Lecture 2 3
Better Hand Models?
• There are better (less inaccurate) “hand” models
out there
• Velocity saturation
• Alpha-power law
• EKV
• …
EE 240B Lecture 2 5
Basic Small Signal Transistor Model
(for Design)
EE 240B Lecture 2 6
Biasing…
• In quadratic model, Vod = (VGS – VTH) told us a lot
about important biasing tradeoffs:
• gm = 2*ID/Vod
• ro “large” for VDS > Vod
• “Boundary between saturation and triode”
• ωT = gm/Cgg ∝ Vod
EE 240B Lecture 2 9
Simplest Possible Usage of V*
EE 240B Lecture 2 10
“Best” Possible V*?
EE 240B Lecture 2 11
Tradeoff for Low V*
EE 240B Lecture 2 12
Transistor FoM #2: ωT
• Reminder: ωT defined by ||ig(ωT)|| = ||id(ωT)||
• Measureable both in simulation and in hardware
• In our simplified small-signal model, ωT = gm/Cgg
• (Cdd usually some fixed multiple relative to Cgg, so ωT is a
good FoM to capture this too.)
EE 240B Lecture 2 13
What About L?
• How does transistor L affect V*?
EE 240B Lecture 2 14
Transistor FoM #3: av0
• Most of the time you don’t actually care about
value of ro itself
• Just care about how it impacts circuit-level
specifications
• Most commonly, gain (AV)
EE 240B Lecture 2 15
Example Usage of av0
EE 240B Lecture 2 16
Intrinsic Gain vs. L
EE 240B Lecture 2 17
Intrinsic Gain vs. VDS
EE 240B Lecture 2 18
Loose End #1
• Talked about transistors so far as if they all have
the same FoMs for given W, L, VGS, VDS, …
EE 240B Lecture 2 19
Process Corners
EE 240B Lecture 2 20
Loose End #2
EE 240B Lecture 2 21
Small Signal Capacitances
Subthreshold Triode Saturation
CGC = CoxWL
ε Si
CCB = WL
xd
EE 240B Lecture 2 22
“Complete” Small Signal Model
[ B. Murmann ]
EE 240B Lecture 2 23
To Make Matters Worse…
EE 240B Lecture 2 24
“More Complete” Small Signal
Model
EE 240B Lecture 2 25
So What Do We Do?
EE 240B Lecture 2 26
So What Do We Do?
EE 240B Lecture 2 27
Final Note on Simplified Small
Signal Model
EE 240B Lecture 2 28
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 3: Gain-Bandwidth Limited Amplifier
Design Methodology
Elad Alon
Dept. of EECS
Preliminaries
• This will be the first in a series of design
methodologies we will develop
• To keep the discussion manageable, will generally assume
that only a couple of specifications are critical
• And that all other specs will “automatically” be met
• In practice, can inspect specs and technology capabilities to
figure out which constraints are really active, and utilize the
appropriate methodology
EE 240B Lecture 3 2
1
CS Amplifier Design Methodology
• Input specifications:
• Minimum small signal gain Av
• Minimum 3dB bandwidth bw
• Fixed capacitive load CL
• Supply voltage Vdd
EE 240B Lecture 3 3
EE 240B Lecture 3 4
2
Power and gm
EE 240B Lecture 3 5
EE 240B Lecture 3 6
3
Side Discussion: Digital vs. Analog
Power
Pdigital 01CLVDD2 fclk Panalog 12 CLVDDV * Avbw
EE 240B Lecture 3 7
EE 240B Lecture 3 8
4
gm vs. GBW revisited (2)
EE 240B Lecture 3 9
EE 240B Lecture 3 10
5
Direct Implication
m
0.3
G
• For a given V*, there is 0.2
a maximum GBW you 0.1
can achieve 0
• No matter how much power you 0 0.2 0.4 0.6 0.8 1
spend, cannot exceed this limit GBW/( / )
T
(with this topology)
EE 240B Lecture 3 11
Methodology Take 2
EE 240B Lecture 3 12
6
Methodology Take 2`
EE 240B Lecture 3 13
EE 240B Lecture 3 14
7
Bias Point
EE 240B Lecture 3 15
EE 240B Lecture 3 16
8
Extension #2: Multi-Stage Amplifier
EE 240B Lecture 3 17
EE 240B Lecture 3 18
9
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 4: Electronic Noise
Elad Alon
Dept. of EECS
Electronic Noise
• Why is noise important?
• Sets minimum signals we can deal with
• Ensuring sufficiently low noise will be another
“active constraint” that we will develop a design
methodology around
EE 240B Lecture 4 2
1
Types of “Noise”
• Interference
• Not actually “noise” – deterministic
• Signal coupling
• Capacitive, inductive, substrate, etc.
• Supply variations
• Device noise
• Caused by discreteness of charge
• “Fundamental physics” related – thermal and shot
noise
• “Technology” related – flicker noise
EE 240B Lecture 4 3
• Noise is random
• Has to be treated statistically – can’t predict actual
value
EE 240B Lecture 4 4
2
Origin and Properties of Thermal
Noise
• Origin: Brownian Motion
• Thermally agitated particles
• (Everything that can generate heat has
this type of noise)
vn2
PN k BT f
4R
vn2 4k BTRf
EE 240B Lecture 4 6
3
Resistor Noise Model (current)
EE 240B Lecture 4 7
EE 240B Lecture 4 8
4
Noise Power Spectral Density (PSD)
EE 240B Lecture 4 9
Noise Calculations
• Noise calculations
• Instantaneous voltages add
• Power spectral densities add
• RMS voltages do NOT add
EE 240B Lecture 4 10
5
Calculating Noise in Passive Networks
• Capacitors and inductors only shape spectrum:
,T f H x ( s ) s 2jf v x f
2 2 2
von
x
EE 240B Lecture 4 11
• Example:
ID = 1mA 17.9pA/rt-Hz
1MHz bandwidth σ = 17.9nA
EE 240B Lecture 4 12
6
Simplified FET Noise Model
EE 240B Lecture 4 13
EE 240B Lecture 4 14
7
Word of Caution
EE 240B Lecture 4 15
Flicker Noise
EE 240B Lecture 4 16
8
1/f Noise Modeling
• Flicker noise
• Kf,NMOS = 6 x 10-29 A*F
Kf,PMOS = 3 x 10-29 A*F
• Strongly process dependent
EE 240B Lecture 4 17
EE 240B Lecture 4 18
9
1/f Noise Corner Frequency
• Definition (MOS)
K f I D f K f ID 1
4k BTr g m f f co
L2Cox f co L2Cox 4k BTr g m
Kf 1 1
4k BTr Cox L2 gm I D
Kf V*
8k BTr Cox L2
• Example:
• V* = 100mV, = 1.16
NMOS PMOS
L = 100nm 2MHz 233kHz
L = 300nm 222kHz 25.9kHz
EE 240B Lecture 4 19
EE 240B Lecture 4 20
10
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 5: Noise and SNR Analysis
Elad Alon
Dept. of EECS
,T f H x ( s) s2jf vx f
2 2 2
von
x
,T von ,T f df
2 2
von
0
• Tedious but simple …
EE 240B Lecture 5 2
1
Important Integrals
2
1
0 1 s df 4o
o
2 2
s
1 o oQ
s s 2
df
s s 2
df
4
0
1 0
1
o Q o2 o Q o2
2
s
1
z oQ o 2
s s 2
df 1
4 z 2
0
1 2
oQ o
EE 240B Lecture 5 3
2
• Noise on the capacitor: 1
2
von f 4kBTR
1 sRC
1 k T
voT
2
4k BTR B
4 RC C
EE 240B Lecture 5 4
2
Noise PSD
EE 240B Lecture 5 5
Equipartition Theorem
EE 240B Lecture 5 6
3
CS Amplifier Noise
2
1 RL
2
von f 4 k BT g m
L
R 1 sRL CL
2
1 1
2
voT 4 k BT g m RL2 df
L
R 0 1 sR LCL
1 1
4 k BT g m RL2
L
R 4 R LCL
k BT
1 g m RL
CL
k BT
CL
1 Avo
k BT
nF
CL
EE 240B Lecture 5 7
EE 240B Lecture 5 8
4
Signal-To-Noise Ratio
• SNR: Psig
SNR
Pnoise
EE 240B Lecture 5 10
5
SNR versus CL
• For a 1V sinusoidal signal at 100oC:
EE 240B Lecture 5 11
EE 240B Lecture 5 12
6
Input and Output Referred Noise
Output Input
· , ·
,
, , ,
EE 240B Lecture 5 13
Noise Example
R2
vn
R1
Vi
inf Vo
2 2 2
R R2 R1 2 R1 R2
1
2
vieq vn2 1 vn vn 1
2
R1 R2 R2 Av 0
7
Source Impedance
EE 240B Lecture 5 15
8
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 6: Noise- and SNR-Limited Amplifier
Design Methodology
Elad Alon
Dept. of EECS
EE 240B Lecture 6 2
1
Small Signal Model and Noise
Analysis
RL
Vout
Vin +
-
EE 240B Lecture 6 3
Resulting Design
EE 240B Lecture 6 4
2
Discussion (1)
• Why did we not even specify the capacitive load?
EE 240B Lecture 6 5
Discussion (2)
• If you could exactly set av0, what value would you
pick?
EE 240B Lecture 6 6
3
Integrated Noise-Limited Amplifier
• Input specifications:
• Minimum small signal gain Av
• Minimum 3dB bandwidth bw
• Supply voltage Vdd
• Fixed V*
• Maximum noise variance vo,n2
EE 240B Lecture 6 7
EE 240B Lecture 6 8
4
Discussion (1)
• For both noise-density and integrated noise-
limited amplifiers, what V* should you pick?
EE 240B Lecture 6 9
Discussion (2)
• How would one know the vi,n2/f or vo,n2 spec?
EE 240B Lecture 6 10
5
Signal Swing Limitations
RL
Vout
Vin +
-
EE 240B Lecture 6 11
EE 240B Lecture 6 12
6
Sources of Non-Linearity
• Output limited: • Input limited:
Non-linear Zout (ro) Non-linear gm
EE 240B Lecture 6 13
Vi+ Vi-
EE 240B Lecture 6 14
7
Full Circle: SNR-Limited Design
(noise density)
• Input specifications:
RL • Minimum small signal gain Av
• Supply voltage Vdd
Vout • Input-referred maximum linear
amplitude Vi,max
Vin +
- • Signal shape (usually sinusoid)
and amplitude Vsig
• Externally determined
bandwidth fbw
• Minimum signal-to-noise ratio
SNRmin
Required vi,n/f
EE 240B Lecture 6 16
8
Required V*
EE 240B Lecture 6 17
EE 240B Lecture 6 18
9
Discussion
EE 240B Lecture 6 19
10
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 7: Operational Transconductance
Amplifiers (I)
Elad Alon
Dept. of EECS
+ +
+ AVVi V
-Vi - - i GMVi
1
Opamp & OTA in CMOS
EE 240B Lecture 7 3
4 k BT 1 k T Rn k BT
vo ,n 2 B vo ,n 2
g m 4 Rs CL CL Rs CL
EE 240B Lecture 7 4
2
Simplest Single-Ended OTA
EE 240B Lecture 7 5
Differential Input?
Vout
Vin
3
Simple Diff. Input OTA
Vbp
Vi+ Vi-
EE 240B Lecture 7 7
Vbp
Vi+ Vi-
EE 240B Lecture 7 8
4
Simple Diff. Input OTA: Noise (2)
Vbp
Vi+ Vi-
EE 240B Lecture 7 9
EE 240B Lecture 7 10
5
More Careful Look at Noise…
EE 240B Lecture 7 11
EE 240B Lecture 7 12
6
Real R vs. Current Source (1)
EE 240B Lecture 7 13
EE 240B Lecture 7 14
7
Limitations of Simple OTA
Vbp
Vi+ Vi-
EE 240B Lecture 7 15
Vbp1
Vbp2
Vo- Vo+
Vbn
Vi+ Vi-
EE 240B Lecture 7 16
8
Why Cascoding Helps
EE 240B Lecture 7 17
EE 240B Lecture 7 18
9
Cascode Noise?
EE 240B Lecture 7 19
Cascode Noise?
EE 240B Lecture 7 20
10
More Complete Analysis
EE 240B Lecture 7 21
EE 240B Lecture 7 22
11
Cascode Sizing
EE 240B Lecture 7 23
12
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 8: Operational Transconductance
Amplifiers (II)
Elad Alon
Dept. of EECS
EE 240B Lecture 8 2
1
Aside: Useful TF Properties
EE 240B Lecture 8 3
EE 240B Lecture 8 4
2
Pole-Zero Doublets
EE 240B Lecture 8 5
Discussion
• Doublet generally not important in “simple”
cascode since it shows up at high frequencies
EE 240B Lecture 8 6
3
Gain Boosting
• Use feedback to further
increase Rout
• No increase of Vmin
(unlike double cascode)
• References:
• B. J. Hosticka, “Improvement of
the gain of MOS amplifiers,”
JSSC, Dec. 1979 , pp. 1111-4.
• E. Sackinger and W.
Guggenbuhl, “A high-swing high-
impedance MOS cascode circuit”,
JSSC, Feb. 1990, pp. 289-298.
• K. Bult, G. Geelen, “A fast-settling
CMOS op-amp for SC circuits
with 90-dB DC gain,” JSSC, Dec.
1990 , pp. 1379-84.
EE 240B Lecture 8 7
Stability?
EE 240B Lecture 8 8
4
Gain-Boosted Zout
EE 240B Lecture 8 9
If it works, do it again!
EE 240B Lecture 8 10
5
Telescopic OTA: Common Mode vs.
Swing
Vbp
Vi+ Vi-
EE 240B Lecture 8 11
Folded-Cascode Schematic
Vbp1
Iss
Vbp2
Vi+ Vi-
Vbn2
Vbn1
EE 240B Lecture 8 12
6
Folded-Cascode Noise
M5
Vbp1
Iss
Vbp2
Vi+ M1 Vi-
Vbn2
Vbn1 M3
EE 240B Lecture 8 13
EE 240B Lecture 8 14
7
Output Resistance
Simulation Schematic
Many more transistors, but overall characteristics very similar to common-source stage.
EE 240B Lecture 8 16
8
Input Cascode
Iss Vbp1
Vbp2
Vi+ Vi-
Vbp3
Vbn2
Vbn1
EE 240B Lecture 8 17
EE 240B Lecture 8 18
9
Biasing and Parasitic Feedback
Vbp1
Vbp2
Vi+ Vi- V
bn2
Vbn1
Many more transistors, but overall characteristics very similar to common-source stage.
EE 240B Lecture 8 19
10
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 9: Feedback
Elad Alon
Dept. of EECS
Feedback
• Assume you are familiar with feedback
benefits, issues
• Review: G&M Ch. 8 & 9, Razavi Ch. 8
EE 240B Lecture 9 2
1
Generic Feedback System
Vi + Verr Vo
+ av +
-
• Open-loop gain: av
• Feedback factor: f
• Loop gain: T = av f
• Closed-loop gain: A Vo av 1 1 1
Vi 1
1+ T f 1 T f
EE 240B Lecture 9 3
Feedback + Feedforward
Vi + Verr Vo
+ av +
-
EE 240B Lecture 9 4
2
Is This Circuit “Stable”?
Vbp
Vout
Vin
EE 240B Lecture 9 5
Stability
• Nearly all circuits are actually
non-linear and time-varying Vbp
• “Poles” only accurate for
given bias, temp., etc. Vout
Vin
EE 240B Lecture 9 6
3
Stability In Practice
Vbp
Vout
Vin
EE 240B Lecture 9 8
4
Simulating Stability (1)
Cf
Vout
Cs CL
Vin
Cf
Vout
Cs CL
Vin
EE 240B Lecture 9 10
5
Common Approach
EE 240B Lecture 9 11
General Setup
• Any single loop feedback circuit can be represented
as:
Z1Z 2
T (s) g m
Z1 Z 2
freq, Hertz
EE 240B Lecture 9 12
6
Middlebrook Method (1975)
vtest
vy Z2
Z1 vx (ac)
Z2 vy
Tv g m Z 2 Solving
gm vx Z1
yields:
True Loop T g m Z1Z 2 TvTi 1
ix iy Z1 Z 2 T
Gain: Tv Ti 2
Z1 iy Z1
gm Z2 Ti g m Z1
ix Z2
itest
(ac)
Multi-Loop Feedback
EE 240B Lecture 9 14
7
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 10: Settling-Limited Amplifier Design
Methodology
Elad Alon
Dept. of EECS
Why “Settling”?
• Really (time-domain) waveform fidelity that is
of interest
• Often important not just in oscilloscopes
EE 240B Lecture 10 2
1
Step Response: Error Breakdown
EE 240B Lecture 10 3
EE 240B Lecture 10 4
2
Dynamic Settling Error: Single Pole
System
EE 240B Lecture 10 5
EE 240B Lecture 10 6
3
Methodology Implication
EE 240B Lecture 10 7
EE 240B Lecture 10 8
4
Step Response
EE 240B Lecture 10 9
Static Error
EE 240B Lecture 10 10
5
Side Note
EE 240B Lecture 10 11
Dynamic Error
EE 240B Lecture 10 12
6
Simple Settling Limited Amplifier
Design Methodology
• Input specifications:
• Supply voltage Vdd
gm • Minimum small signal gain Av
CL • Total settling error dyn + stat
EE 240B Lecture 10 13
EE 240B Lecture 10 14
7
Feedforward Zero
EE 240B Lecture 10 15
Feedforward Example
EE 240B Lecture 10 16
8
Second-Order OTA (Cascode)
EE 240B Lecture 10 17
Step Response
EE 240B Lecture 10 18
9
Dynamic Error
EE 240B Lecture 10 19
Settling Time
dyn 103
• Optimum at K=3.3
EE 240B Lecture 10 20
10
Optimal K
EE 240B Lecture 10 22
11
Feedback and Slewing
• Use of feedback allows you to decouple V* from
overall “amplifier” linearity
• Often intentionally want low V* for the gm (for current
efficiency)
EE 240B Lecture 10 23
Slewing Model
EE 240B Lecture 10 24
12
Settling Time with Slewing
EE 240B Lecture 10 25
EE 240B Lecture 10 26
13
Methodology
EE 240B Lecture 10 27
14
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 11: Multistage OTA Design
Elad Alon
Dept. of EECS
EE 240B Lecture 11 2
1
Stability for Simple 2-Stage Amp
Vout
C1 C2
Vin M1 M2
p1 = p2 =
EE 240B Lecture 11 3
Compensation Techniques
• Many options – best one depends on
situation at hand
EE 240B Lecture 11 4
2
Narrowbanding
• Narrowbanding
• Lower one of the poles
• Or introduce a new one
EE 240B Lecture 11 5
Miller Compensation
Cc
Vout
C1 CL
Vin M1 M2
EE 240B Lecture 11 6
3
Pole Splitting
EE 240B Lecture 11 7
EE 240B Lecture 11 8
4
Not Quite That Simple…
Cc
Vout
C1 CL
Vin M1 M2
EE 240B Lecture 11 9
Cc
Vout
C1 CL
Vin M1 M2
EE 240B Lecture 11 10
5
Effect on Stability
EE 240B Lecture 11 11
Nulling Resistor
Rz Cc
Vout
C1 CL
Vin M1 M2
EE 240B Lecture 11 12
6
Choice of Rz
EE 240B Lecture 11 13
• No RHP zero
• But cost in power can be high
• (I2 needs to slew Cc)
EE 240B Lecture 11 14
7
Cascode Compensation (Ribner)
EE 240B Lecture 11 15
Noise Analysis
• Need a simplified model:
EE 240B Lecture 11 16
8
Noise Analysis cont’d
1 1 sC
vo in1 in 2 c
2
Fg m1 s s gm2
1
oQ o2
with
Fg m1 g m 2
o2
Cc Cc CL
Fg m1
oQ
Cc
EE 240B Lecture 11 17
k BT k BT
2
voT
Cc F Cc CL
k BT FCc
2
voT 1
Cc F Cc CL
EE 240B Lecture 11 18
9
Design Methodology
• Integrated noise limited:
• gm2 = K*u*CL, K chosen by settling or stability
• Cc = ~kT/(F*vo2)
• gm1 = Cc*u/F
• GBW-limited:
• gm2 = K*u*CL, K chosen by settling or stability
• Make gm1 and Cc as small as possible (while making sure
Av2*Cc > C1)
EE 240B Lecture 11 19
Design Methodology
• “Noise density” limited:
• gm2 = K*u*CL, K chosen by stability
• Find gm1 based on noise density/SNR constraint
• Size Cc based on u
• (May need to iterate/upsize gm1 to include effect of gm2
noise at edge of band)
EE 240B Lecture 11 20
10
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 12: Interference
Elad Alon
Dept. of EECS
EE 240B Lecture 12 2
1
Interference
EE 240B Lecture 12 3
Typical Interferers
• Power supplies
• Clocks
• Digital signals
EE 240B Lecture 12 4
2
Fully Differential Circuits
Vi+ ‐ + Vo+
Vi‐ + ‐ Vo‐
Example
interference interference
signal+
signal
signal-
EE 240B Lecture 12 6
3
Fully Differential Amplifier Gains
vod
Adm
Input Output vid
voc
Acm 0
Adm vic
Vid Vod vod
Adcm Acdm 0
vic
vod
Acdm AVDD 0
Vic Voc vDD
Acm vod
AVSS 0
vSS
EE 240B Lecture 12 7
CMRR, PSRR, …
Adm Adm
CMRRdirect PSRRVDD
Acm AVDD
Adm Adm
CMRRcross PSRRVSS
Acdm AVSS
EE 240B Lecture 12 8
4
PSRR Example
EE 240B Lecture 12 9
EE 240B Lecture 12 10
5
Differential Input Stage Options
Vi+ Vi-
EE 240B Lecture 12 11
Side Note
EE 240B Lecture 12 12
6
Design Methodology Implications
• Can “add” a CMRRdirect spec to any of our
methodologies
• Since Iss is fixed by gm, only degrees of freedom are
Vtail* and Ltail
EE 240B Lecture 12 13
EE 240B Lecture 12 14
7
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 13: Common-Mode Feedback
Elad Alon
Dept. of EECS
IL IL
Vi+ Vi-
Itail
EE 240B Lecture 13 2
1
A Related Problem
Itail
EE 240B Lecture 13 3
IL IL
Vi+ Vi-
Itail
EE 240B Lecture 13 4
2
Adjusting Common-Mode
EE 240B Lecture 13 5
EE 240B Lecture 13 6
3
Common-Mode Sensing
Itail
EE 240B Lecture 13 7
Isolated Sensing
IL IL
Itail
EE 240B Lecture 13 8
4
Capacitive Sensing
IL VCM IL
C C
Vi+ Vi-
Itail
• Avoids DC loading
• But can’t fix DC (biasing) concerns
• And does add extra capacitive loading
EE 240B Lecture 13 9
Common Implementation
EE 240B Lecture 13 10
5
Methodology Implications
(Noise-Limited)
EE 240B Lecture 13 11
Methodology Implications
(GBW-Limited)
EE 240B Lecture 13 12
6
GBW-Limited CMFB
EE 240B Lecture 13 13
7
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 14: Photonic Link Overview
Elad Alon
Dept. of EECS
Why Photonic Links?
EE 240B Lecture 14 2
Basic Link Issues
• Signaling: getting bits from the TX to the RX
Decision
Channel
DTX Ser. E to O O to E Deser. DRX
(Fiber)
EE 240B Lecture 14 3
TX: E to O (1)
EE 240B Lecture 14 4
TX: E to O (2)
EE 240B Lecture 14 5
RX: O to E
EE 240B Lecture 14 6
RX: O to E Model
EE 240B Lecture 14 7
Photonic RX: Attempt #1
EE 240B Lecture 14 8
Photonic RX: Attempt #2
EE 240B Lecture 14 9
Noise à BER
clk
clk
EE 240B Lecture 14 12
Intersymbol Interference (ISI)
EE 240B Lecture 14 13
ISI continued
EE 240B Lecture 14 14
Receiver Design Revisited
EE 240B Lecture 14 15
TIA-Based Front-End
EE 240B Lecture 14 16
TIA-Based Receiver
EE 240B Lecture 14 17
Front-end Bandwidth
EE 240B Lecture 14 18
Performance Limits
EE 240B Lecture 14 19
Overcoming PD Bandwidth Limit:
Multi-Level Signaling
2PAM: 4PAM:
00
0 0
01
11
1 1
10
1bit/symbol 2 bits/symbol
EE 240B Lecture 14 20
4PAM RX
EE 240B Lecture 14 21
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 15: Transimpedance Amplifier Design
Elad Alon
Dept. of EECS
EE 240B Lecture 15 2
1
Opamp-Based TIA
EE 240B Lecture 15 3
Common-Gate TIA
EE 240B Lecture 15 4
2
Common-Gate TIA Noise (1)
EE 240B Lecture 15 5
EE 240B Lecture 15 6
3
Common-Gate TIA SNR
EE 240B Lecture 15 7
EE 240B Lecture 15 8
4
Regulated Cascode (RGC) TIA
EE 240B Lecture 15 9
EE 240B Lecture 15 10
5
RGC Limitations
• Make sure the entire “stack” can fit in the
supply
• Gain boost stage usually the hardest to fit in
EE 240B Lecture 15 11
EE 240B Lecture 15 12
6
OTA TIA Design (1)
EE 240B Lecture 15 13
EE 240B Lecture 15 14
7
OTA TIA Noise (1)
EE 240B Lecture 15 15
EE 240B Lecture 15 16
8
OTA TIA Noise (3)
EE 240B Lecture 15 17
EE 240B Lecture 15 18
9
Inverter-Based TIA
EE 240B Lecture 15 19
10
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 16: Comparators I
Elad Alon
Dept. of EECS
Comparator
EE 240B Lecture 16 2
1
Comparator Gain-Bandwidth
Example:
• 10Gb/s link
• Minimum ΔV: 1mV
• Vdd = 1V
EE 240B Lecture 16 3
Operational Amplifier?
fu 2 1
f 3dB
Avo 3 Tbit
2 Avo
fu
3Tbit
2 1000
6.67THz
3 100ps
EE 240B Lecture 16 4
2
Open-Loop Amplifier Cascade
EE 240B Lecture 16 5
Cascaded Amplifier
• Simplified bandwidth analysis:
• Open-circuit time constants
• (Not most accurate, but leads to nearly the right
answer for design optimization)
EE 240B Lecture 16 6
3
Bandwidth/Gain Optimization
EE 240B Lecture 16 7
Bandwidth/Gain Optimization
EE 240B Lecture 16 8
4
Power Consumption
EE 240B Lecture 16 9
Regenerative Latch
EE 240B Lecture 16 10
5
CML Comparator (Latch)
EE 240B Lecture 16 11
EE 240B Lecture 16 12
6
CML Comparator Analysis (2)
EE 240B Lecture 16 13
EE 240B Lecture 16 14
7
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 17: Comparators II
Elad Alon
Dept. of EECS
EE 240B Lecture 17 2
1
CMOS Comparator
EE 240B Lecture 17 3
EE 240B Lecture 17 4
2
StrongArm Analysis (1)
EE 240B Lecture 17 5
EE 240B Lecture 17 6
3
StrongArm Analysis (3)
EE 240B Lecture 17 7
Hysteresis
EE 240B Lecture 17 8
4
Kickback
EE 240B Lecture 17 9
Kickback cont’d
EE 240B Lecture 17 10
5
Kickback cont’d
EE 240B Lecture 17 11
Overdrive Recovery
EE 240B Lecture 17 12
6
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 18: Matching I
Elad Alon
Dept. of EECS
Offset
Vi+ Vi-
EE 240B Lecture 18 2
1
Device Mismatch Categories
• Die-to-die
• All devices on same chip (or wafer) have same
characteristics
• Local (short-range)
• Every device different, random
• Usually most important source of mismatch
EE 240B Lecture 18 3
• Random sources:
• Dopant fluctuations
• Line-edge roughness
• Oxide traps
EE 240B Lecture 18 4
2
Local Mismatch Statistics
• Total mismatch set by composite of many single,
independent events
• Correlation distance << device dimensions
• E.g., number of dopant atoms implanted into the channel
EE 240B Lecture 18 5
Mismatch Basics
3
Parameter Mismatch Model
AP2
2 P S P2 Dx2
AD
2 P : variance of P
AD : active device area
Dx : distance between device centers
AP : measured area proportionality constant
SP : measured distance proportionality constant,
: 0 for "good" layout
EE 240B Lecture 18 7
Parameter Value
A (MOS) 1 %-m
EE 240B Lecture 18 8
4
AVt Data for 180nm
Edge Roughness
EE 240B Lecture 18 10
5
Edge Roughness Model
EE 240B Lecture 18 11
Example: Mismatch
2 2 W 2 L 2 Cox 2 n
2 W2 L2 Cox2 n2
For: 2 W 1 L and 2 L 1W
Simplifies to:
2 WL2 W 2 L WL WL
EE 240B Lecture 18 12
6
Process Dependence
• AVt drops by
~1mV*m for every
1nm drop in gate
insulator thickness
(“tox”)
• Watch out for edge
effects in small
devices
Ref: M. Pelgrom et al, “A designer’s view on
mismatch,” Chapter 13 in Nyquist A/D • Fully-depleted
Converters, Sensors, and Robustness,
Springer 2012, pp. 245-67. channels (FinFET,
FDSOI) get 1.5-2X
benefit over bulk
EE 240B Lecture 18 13
• keep direction of
current flow same!
EE 240B Lecture 18 14
7
“Golden Rule” of Layout for Matching
• Everything you can think of might matter
• Even whether or not there is metal above the
devices
EE 240B Lecture 18 15
EE 240B Lecture 18 16
8
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 19: Matching II
Elad Alon
Dept. of EECS
EE 240B Lecture 19 2
1
Current Matching
EE 240B Lecture 19 3
Voltage Matching
EE 240B Lecture 19 4
2
Yield
• Just like noise, can only put a statistical bound on
mismatch
• So define “yield” as fraction of parts with target
parameter being less than some specification
Interval Yield Fraction Bad
2 95.4% 1/22
3 99.7% 1/370
4 99.99% 1/16,000
5 99.999% 1/1,700,000
6 99.999 999 8% 1/507,000,000
EE 240B Lecture 19 5
EE 240B Lecture 19 6
3
Mismatch-Limited Design
Methodology
• Input specifications:
• Minimum small signal gain Av
RL RL • Minimum 3dB bandwidth bw
• Fixed capacitive load CL
• Supply voltage Vdd
Vi+ Vi-
• Maximum input-referred offset
Voff at required yield level cyield
EE 240B Lecture 19 7
Mismatch-Limited Design
Methodology
EE 240B Lecture 19 8
4
Mismatch-Limited Design
Methodology
EE 240B Lecture 19 9
EE 240B Lecture 19 10
5
How to Simulate Mismatch
• Brute force: Monte Carlo
• HSPICE “throws the dice”…
EE 240B Lecture 19 11
EE 240B Lecture 19 12
6
Note About Extracting Mismatch
Parameters from Simulation
EE 240B Lecture 19 13
7
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 20: Passive Devices and Layout
Elad Alon
Dept. of EECS
Passives: Resistors
EE 240B Lecture 20 2
1
Resistors
• Resistance is bad for digital circuits
• But, often want large-valued, well-controlled R for
analog
• E.g., a 1kOhm resistor made out of copper
interconnect (~200m/ would require 5000 ’s
EE 240B Lecture 20 3
Resistor Variations
• Almost always temperature dependent:
EE 240B Lecture 20 4
2
Systematic Variations from Layout
• Example:
2R?
R
EE 240B Lecture 20 5
EE 240B Lecture 20 6
3
Resistor Layout (cont.)
Serpentine layout for large values:
EE 240B Lecture 20 7
EE 240B Lecture 20 8
4
Passives: Capacitors
EE 240B Lecture 20 9
Capacitors
• Simplest capacitor:
substrate
EE 240B Lecture 20 10
5
Capacitors
• “Improved” capacitor:
substrate
EE 240B Lecture 20 11
Capacitor Options
Type C [aF/m2] VC [ppm/V] TC
[ppm/oC]
Gate 10,000 Huge Big
Poly-poly 1000 10 25
(option)
Metal-metal 50 20 30
Metal-substrate 30
Metal-poly 50
Poly-substrate 120
6
MOS Capacitor
• High non-linearity,
temperature coefficient
EE 240B Lecture 20 13
“MOM” Capacitors
7
MOM Capacitor Cross Section
• Reasonably good
matching and accuracy
EE 240B Lecture 20 15
EE 240B Lecture 20 16
8
Capacitor Parasitics
EE 240B Lecture 20 17
Passives: Inductors
EE 240B Lecture 20 18
9
What About Inductors?
Spiral Inductors
10
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 21: Offset Cancellation
Elad Alon
Dept. of EECS
EE 240B Lecture 21 2
1
Filtering/Modulating Offset
• General idea:
• Put elements around the amplifier that treat offset
differently than signal
• CDS:
• Configure amplifier so that offset is (approx.) differentiated
• We’ll talk more about this one after we introduce discrete
time circuits
• Chopping:
• Modulate offset to frequencies beyond signal band, then
filter it out
EE 240B Lecture 21 3
Chopping (1)
EE 240B Lecture 21 4
2
Chopping (2)
EE 240B Lecture 21 5
EE 240B Lecture 21 6
3
AC Coupling for Offset Cancellation
EE 240B Lecture 21 7
EE 240B Lecture 21 8
4
Auxiliary Amplifier Offset Cancellation
EE 240B Lecture 21 9
EE 240B Lecture 21 10
5
Offset Trimming
EE 240B Lecture 21 11
Digital Trimming
EE 240B Lecture 21 12
6
Comparator Trimming
EE 240B Lecture 21 13
• Key issues:
• Power overhead
• Circuit Imbalance
• Effective resolution
• Area overhead
EE 240B Lecture 21 14
7
Comparator Trim Schemes
EE 240B Lecture 21 15
Pre-Amp Trim
EE 240B Lecture 21 16
8
Pre-Amp Trim
EE 240B Lecture 21 17
AC-Coupled Again
EE 240B Lecture 21 18
9
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 22: Biasing and References
Elad Alon
Dept. of EECS
EE 240B Lecture 22 2
1
Biasing: Cascode
EE 240B Lecture 22 3
Reference Circuits
• Where did those constant currents come from?
• May need to generate those internally – usually known as
a “reference”
EE 240B Lecture 22 4
2
Constant Current Bias?
EE 240B Lecture 22 5
EE 240B Lecture 22 6
3
Supply “Independent” Biasing
EE 240B Lecture 22 7
EE 240B Lecture 22 8
4
PTAT Reference
EE 240B Lecture 22 9
Vertical PNP
p- substrate p+ diffusion
n- well n+ diffusion
C E B
EE 240B Lecture 22 10
5
Startup Circuit
EE 240B Lecture 22 11
Conceptual Band-Gap
EE 240B Lecture 22 12
6
Constant gm Reference
EE 240B Lecture 22 13
7
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 22: Discrete Time Circuits
Elad Alon
Dept. of EECS
EE 240B Lecture 23 2
1
Ex 1: Offset Cancellation
• Don’t want to store offset on capacitors for
extended time periods
• But if refresh the capacitor value every sample, may not be
so bad…
• General category of these techniques known as
“correlated double sampling”
EE 240B Lecture 23 3
• Relatively insensitive
to switch errors
• Storing amplified
offset
Phase 2 :
Vout AVin Vos VC
AVin
EE 240B Lecture 23 4
2
CDS #2: Input Offset Cancellation
EE 240B Lecture 23 5
Multistage Cancellation
EE 240B Lecture 23 6
3
CDS and Flicker Noise
V1/f
S2 V1 V2 S2
Vi A . S/H Vo
S1
S1
S2
V1
V2
time
[kT]
T = 1/fs
EE 240B Lecture 23 7
Laplace Transform
Delay by t d e std
s
T
Vnieq s V1 / f s 1 e 2
H n s
EE 240B Lecture 23 8
4
Ex 2: Large Resistors
• Saw that we wanted large resistors in e.g.
common-mode extractor or feedback network (to
minimize OTA DC gain reduction)
• Not uncommon to want resistors in the Mto G range…
• These kinds of resistors usually take a lot of area, hence
have high parasitic capacitance…
EE 240B Lecture 23 9
EE 240B Lecture 23 10
5
Aside: Switched Cap Low-Pass Filter
EE 240B Lecture 23 11
Switched-Cap. R Feedback?
EE 240B Lecture 23 12
6
Switched-Capacitor Gain Stage
EE 240B Lecture 23 13
• Phase 1: Cf
Cs
Vi -
Vo
+
• Phase 2: Cf
Vo/Vi =
Cs
-
Vo
+
EE 240B Lecture 23 14
7
SC Gain Stage Noise
EE 240B Lecture 23 15
EE 240B Lecture 23 16
8
Ex 3: Lowering Power
EE 240B Lecture 23 17
Alternative Waveform
EE 240B Lecture 23 18
9
Typical Implementation
EE 240B Lecture 23 19
EE 240B Lecture 23 20
10
Current Integration Design
Methodology (Noise)
EE 240B Lecture 23 21
EE 240B Lecture 23 22
11
EE 240B – Spring 2018
Advanced Analog Integrated Circuits
Lecture 24: Sampling in CMOS
Elad Alon
Dept. of EECS
Sampling
• Even in a communication system where signal
was originally discrete time
• Any non-idealities in the communication channel or
circuits will result in continuous time variations
clk
EE 240B Lecture 24 2
1
MOS Track & Hold
Ideal Sampling Practical Sampling
1 1
• kT/C noise
• Grab exact value
• Limited bandwidth
of Vin when switch
• Rsw = f(Vin) distortion
turns off
• Switch charge injection
• Clock jitter, leakage, …
EE 240B Lecture 24 3
Switch Resistance
EE 240B Lecture 24 4
2
Acquisition Bandwidth
• Finite switch R finite bandwidth
1
• Assuming constant Vin
and C starts at 0V: vIN vOUT
R S1
C
vout (t ) vin 1 e t /
EE 240B Lecture 24 6
3
Constant VGS Sampling
EE 240B Lecture 24 7
EE 240B Lecture 24 8
4
Charge Injection
EE 240B Lecture 24 9
Ref: Wegmann, “Charge Injection in Analog MOS Switches,” JSSC, Dec. 1987.
EE 240B Lecture 24 10
5
Dummy Switch
• Dummy switch is
half width
• Depends on
equal charge
split between
source and drain
Eichenberger et al,
JSSC 8/1989, pp. 1143.
EE 240B Lecture 24 11
EE 240B Lecture 24 12
6
Bottom-Plate Sampling
1b
• Turn off 1a first
C2
Vin V2
• Injected charge is
constant
1a • Removed in differential
output
1a
on
off
time • Is this useful?
• V2 = 0V…
EE 240B Lecture 24 13
EE 240B Lecture 24 14
7
Flip-Around Track and Hold
Ref: W. Yang, D. Kelly, I. Mehr, M. T. Sayuk, and L. Singer, "A 3-V 340mW
14-b 75-Msample/s CMOS ADC with 85-dB SFDR at Nyquist input,"
IEEE Journal of Solid-State Circuits, vol. 36, pp. 1931 - 1936,
December 2001.
EE 240B Lecture 24 15