Sie sind auf Seite 1von 8

ECE1371 Advanced Analog Circuits Course Goals

Lecture 9
• Deepen Understanding of CMOS analog circuit
design through a top-down study of a modern
AMPLIFIER DESIGN analog system
The lectures will focus on Delta-Sigma ADCs, but you
may do your project on another analog system.
• Develop circuit insight through brief peeks at
Richard Schreier some nifty little circuits
richard.schreier@analog.com The circuit world is filled with many little gems that
every competent designer ought to recognize.

Trevor Caldwell
trevor.caldwell@utoronto.ca
ECE1371 9-2

Date Lecture
2008-01-07 RS 1 Introduction: MOD1 & MOD2
Ref
S&T 2-3, A
Homework
Matlab MOD2
NLCOTD: Ring Oscillators
2008-01-14 RS 2 Example Design: Part 1 S&T 9.1, J&M 10 Switch-level sim
• Which of these circuits will oscillate?
2008-01-21 RS 3 Example Design: Part 2 J&M 14, S&T B Q-level sim
2008-01-28 TC 4 Pipeline and SAR ADCs J&M 11,13 Pipeline DNL
2008-02-04 ISSCC – No Lecture
2008-02-11 RS 5 Advanced ΔΣ S&T 4, 6.6, 9.4, B CTMOD2; Proj.
2008-02-18 Reading Week – No Lecture
2008-02-25 RS 6 Comparator and Flash ADC J&M 7
2008-03-03 TC 7 SC Circuits Raz 12, J&M 10
2008-03-10 TC 8 Amplifier Design
2008-03-17 TC 9 Amplifier Design
2008-03-24 TC 10 Noise in SC Circuits S&T C
2008-03-31 RS 11 Switching Regulator
2008-04-07 Project Presentations
2008-04-14 TC 12 Matching & MM-Shaping Project Report

ECE1371 9-3 ECE1371 9-4

Highlights Design Specifications


(i.e. What you will learn today) • Amplifier for 12-bit, 100MHz Pipeline ADC
1. How to design a folded-cascode OTA 1.5bit/stage => Closed-loop gain of 2

2. Learn important trade-offs for OTA design • Target Bandwidth: 100MHz


Including simulated examples T=10ns
Assume ~1.5ns rise/fall/non-overlap time
3. Gain-boosting design example for OTA Try to settle within < 3.5ns
Settling Error < -80dB
If it is a critically damped system where ωp2 = 4βωunity
βωunity = 500MHz to settle in 2ns
If it is single-pole settling
βωunity = 500MHz to settle in 3ns
ECE1371 9-5 ECE1371 9-6
Design Specifications Design Specifications
• Target Gain Aβ: 75 dB • Capacitor Sizing
Input-referred error must be better than 12-bit Based on noise requirements
With all the other sources of error, put it at 13-bit C1 = 2pF
(kT/C noise is ~12.3-bit) C2 = 1pF
CL = 1pF
• Swing: +/- 800mV differential (assume 2nd stage is half the size of 1st stage – this
Assume noise has been calculated based on this means that input referred noise contribution is 3dB
swing requirement below the 1st stage)
Input signal +/- 800mV differential • Power
Output signal will also be +/- 800mV differential Pipeline Target FOM: 160dB
Each side of the OTA should swing from CM +/- 74dB + 10log10(100MHz/P) = 160dB
400mV (output CM will be around 900mV) P = 250mW

ECE1371 9-7 ECE1371 9-8

Amplifier Topology Folded-Cascode OTA


• From Lecture 8…
VB4
VCMFB M11 M9 M10
Output Power VB3
Topology Gain Speed Noise
Swing Dissipation I2 I2
VB3 M12
Telescopic Medium Medium Highest Low Low M7 M8
VOUT- VOUT+
Folded- M5 M6
Medium Medium High Medium Medium VIN+ M1 M2 VIN-
Cascode
I1 I1 VB2
Two-Stage High Highest Low Medium Low
VB1 VB1
M3 M4 M3 M4
Gain-
High Medium Medium High Medium
Boosted

ECE1371 9-9 ECE1371 9-10

Biasing Amplifier Topology


• Use two wide-swing cascode current mirrors for • Why Folded-Cascode instead of Telescopic?
VB3, VB4 and VB1, VB2
MB1 is n times smaller so that VEFF is √n times bigger 9 Better swing – with Telescopic, it is difficult to get
• What if MB2 and MB3 are only a single finger? the desired swing (assuming VEFF~200mV + margins,
and only 1.8V supply)
MB1 cannot be 5-6 times smaller

9 Low (or high) Input CM (saves power since


switches are smaller)

Slower (lower non-dominant pole) and less power


efficient

ECE1371 9-11 ECE1371 9-12


Amplifier Topology Amplifier Topology
• Why PMOS input pair? (we will see more of this) • How should currents I1 and I2 be ratioed?

9 Input CM: with PMOS input pair, input CM is lower, Amplifier transconductance gm is determined by the
NMOS switches are used to pass the signal transconductance of M1 and M2 => high current I1
9 Non-dominant pole: larger since folding node uses
NMOS devices which have smaller capacitance for a Output impedance rOUT is determined by the output
given VEFF impedance of M3-M10 => low current I2
9 Flicker noise: smaller in PMOS devices (not too
important in high-speed design) I1 should not be too much larger than I2 due to
amplifier slewing (more on this…)
Larger β in NMOS: For the same transconductance,
the input capacitance from NMOS input devices will
be smaller

ECE1371 9-13 ECE1371 9-14

Amplifier Topology Slewing


• How should currents I1 and I2 be ratioed? • Extra care must be taken if OTA slews
Example: I1=4I2, Where does the excess current go?
But… increased transconductance increases CIN and
decreases β VB4
VCMFB M11 M9 M10
Recall (assuming no load capacitance CL): VB3
β gm
8
gm 1 1
βω unity = = VB3 M12
CL,eff C1 + CIN M7 M8

So… once CIN approaches C1, βωunity does not VOUT- VOUT+
increase linearly with gm M5 M6
VIN+ M1 8 0 M2 VIN-

VB2
VB1 VB1
4 M3 M4 4 1 M3 M4 1

ECE1371 9-15 ECE1371 9-16

Slewing Aside: OTA Output Signal


• M4 absorbs current from capacitance at VOUT+, • Input Feed-forward ΔΣ
M1, M11, M12 go into triode until the current is
equal to ID,M3
Capacitance at VOUT- draws current from M9

• Therefore, size the currents I1 and I2 the same


M1,2 can still be sized to increase transconductance
Slewing is no longer a major problem (can be more • Pipeline ADC Stage
power efficient)

• More likely to happen when output changes are


large (e.g. no signal, just noise in the output)
ECE1371 9-17 ECE1371 9-18
Current Source Transistor Lengths
• Why Cascode instead of Large L? • Generally minimum channel length is not used
Both can give a high output impedance… Use ~1.5x minimum L for analog design
Moderately improves output impedance without
9 Smaller capacitance to ground – increased sacrificing too much speed
impedance at high frequency, maintaining a higher Better matching between transistors
CMRR (which is proportional to the tail current source Reduce impact of short channel effects (threshold
impedance) variation, mobility degradation, velocity saturation,
DIBL, hot carrier effects)
Larger voltage across transistors (doesn’t matter in
this case since there is lots of room for the input CM)
• If bandwidth is imperative, use minimum L
More complicated biasing (doesn’t matter in this
case since VB3 is already generated)

ECE1371 9-19 ECE1371 9-20

Choosing VEFF Power


• Input Pair (M1,M2) • The power consumed by the 1st-stage OTA will
Larger VEFF means faster transistors, smaller be a significant fraction of the total power
transistors (increasing β) It will be a good indication of the FOM you’ll be
Smaller VEFF causes more slewing since it can easily targeting for your design
be switched with large transients, but has lower noise • Pipeline ADC
and larger gm
With S/H, other stages, and other overhead (clocks,
buffers, biasing, comparators, etc.) first stage will
• Current Source Transistors (M3,M4) probably consume 25-30% of the total power
Responsible for non-dominant pole • ΔΣ ADC
Larger VEFF reduces noise and parasitic capacitances, Since other stages are smaller, but other overhead
improves non-dominant pole still exists (possibly a higher resolution quantizer),
first stage will probably consume 40-60% of the total
power
ECE1371 9-21 ECE1371 9-22

Quick Design / 1st Iteration AC Testbench


• 1:1 ratio between 1st and 2nd current branch • VOUT/VIN gives loop gain Aβ
C1, C2 and input capacitance of 2nd OTA gives proper
feedback network
• Input transistor size: 9u/0.18um fingers

• Size every other transistor with a VEFF ~ 180mV


PMOS: 55uA for 9um/0.24um fingers
NMOS: 55uA for 2um/0.24um fingers

• Use 140 fingers (more on this…)

ECE1371 9-23 ECE1371 9-24


AC Simulation AC Simulation
βωunity: 561 MHz, PM: 84.9 deg., DC Gain: 31.4 dB • Observations…
40 Gain is low
Gain (dB)

20 This can be corrected when gain-boosting is added,


0 which should give about 40dB or more using folded-
-20 cascode gain-boosters
-40 2
10 10
4
10
6
10
8
10
10 Phase Margin is high
Frequency (Hz) This can be traded with bandwidth – the unity gain is
0 not as high as it could be (β could be increased)
Phase (deg.)

-60 The 2nd pole will reduce somewhat when gain-


-120
boosting is added (increased capacitance on the
critical node), so it is worth having extra PM at this
-180
2 4 6 8 10
stage of the design
10 10 10 10 10
Frequency (Hz)
ECE1371 9-25 ECE1371 9-26

Optimizing Bandwidth Optimizing Bandwidth


• Why choose 140 fingers? • Optimal point ~ 140 fingers
Once the VEFF’s have been determined, there is 4 branches x 140 fingers x 55uA = 30.8mA
nothing else to design except the size of the amplifier Unity Gain Freq. (MHz) 600

• Increasing the number of fingers reduces β 500

An optimal point is eventually reached beyond which


no further bandwidth improvements are achieved 400

300
• A parametric sweep can be performed to find
this optimal point
200
Keep in mind: more fingers = more power
0 50 100 150 200 250 300
Fingers
ECE1371 9-27 ECE1371 9-28

What about NMOS input? What about NMOS input?


• We can try the same simulations with an NMOS • Unity-gain is only 400MHz with an 80 degree PM
input – what should happen? Although it is 70% less power!
Larger bandwidth (βωunity larger), less phase margin
(βωunity larger, ωp2 smaller)
• Make it more stable with larger PMOS VEFF
1000 90
Change PMOS fingers to 2um/0.24um
PMOS VEFF becomes ~300mV
Unity Gain Freq. (MHz)

800 84
Phase Margin (deg.)

600 78 • Result
50 fingers, UG = 551MHz, PM = 79.8, DC Gain = 34.9dB
400 72 Swing reduced by 120mV, SNR reduced by 1.5dB,
Capacitor (and amplifier) increased by ~35%
200 66 Still about 50% less than the original power
ECE1371 0 50 100 150 200 250 300 9-29 ECE1371 9-30
Fingers
Transient Testbench Transient Testbench
• Make sure settling behaviour is as expected • Settles to within 0.01% of final value in 2.1ns
Configured in amplification phase Similar to predicted settling of 2-pole system
Use differential step at input for full-scale output Zero adds some time (measured as ~0.05ns)
0.8
C2
0.4

VIN+ C1 VOUT- CL

Amplitude (V)
0
A
VIN- VOUT+ C
C1 L
-0.4

-0.8
C2 840 845 850 855
Time (ns)
ECE1371 9-31 ECE1371 9-32

Gain-Boosting Gain-Booster Design


• Need to increase the DC gain without losing too • Type of Amplifier
much bandwidth or stability Input CM is very close to rail (either VDD or VSS)
Gain-Boosting theoretically decouples improved gain Output CM is approximately mid-rail
from frequency response Want ~40dB gain with moderate to high speed (single-
stage with cascoding)
• Single-Ended or Differential
Single-ended has lower-frequency mirror pole, slows => Choose differential Folded-Cascode (Telescopic
down gain-booster (more difficult to optimize pole- cannot handle the input/output CM, single-ended not
zero doublet) fast enough)
Differential gain-boosting does not increase common- PMOS input for NMOS (VB2) biases
mode gain of overall amplifier significantly NMOS input for PMOS (VB3) biases
Differential requires CMFB

ECE1371 9-33 ECE1371 9-34

Gain-Booster Design Gain-Boosted Loop


• Gain • Source Follower introduces a gain of ~ 0.75
Need another 43-44dB for the 75dB total (assuming deep N-well is not used – body effect
is present)
• Frequency response
This reduces the bandwidth
βωunity ~ 560MHz, ωp2 ~ 4GHz by the same amount IB
Gain-booster unity-gain should be ~ 1GHz Gain-Boosted amplifier A CC
• VEFF needs a unity-gain frequency
of approximately 1.33 GHz
Can use higher VEFF’s since swing is not as important
• Input Pair • Also, add a compensation
0.75
Size of PMOS input pair in the VB2 gain-booster VB2
capacitor of ~100fF so that VB1
impacts the non-dominant pole and should be kept parasitics do not dominate
small the capacitance at that node

ECE1371 9-35 ECE1371 9-36


VB2 Gain-Booster AC Simulation VB3 Gain-Booster AC Simulation
ωunity: 901 MHz, PM: 64.2 deg., DC Gain: 46.8 dB ωunity: 703 MHz, PM: 55.7 deg., DC Gain: 46.4 dB

40 40
Gain (dB)

Gain (dB)
20 20
0 0
-20 -20
-40 2 4 6 8 10 -40 2 4 6 8 10
10 10 10 10 10 10 10 10 10 10
Frequency (Hz) Frequency (Hz)
0 0
Phase (deg.)

Phase (deg.)
-60 -60
-120 -120
-180 -180
2 4 6 8 10 2 4 6 8 10
10 10 10 10 10 10 10 10 10 10
Frequency (Hz) Frequency (Hz)
ECE1371 9-37 ECE1371 9-38

Size of Gain-Boosters Pole-Zero Doublet


• VB2 gain booster is similar to main amplifier • Recall settling behaviour
Size of amplifier is 6 − βω ω z − ω p −ω t
1− e +
t
e unity z
Compensation capacitor is 100fF βω unity
4 branches x 6 fingers x 55uA = 1.32mA

• Advantage of PMOS main amplifier


• VB3 gain booster has NMOS inputs
Distance between βωunity and ωp2 is larger
Size of amplifier is 20
More room to have βωunity < ωu,GB < ωp2
Compensation capacitor is 200fF
The farther ωu,GB is from βωunity, the closer together the
4 branches x 20 fingers x 55uA = 4.4mA pole and zero are in the doublet
Much larger since load capacitance on PMOS => Smaller impact of pole-zero doublet
transistors is ~4x larger

ECE1371 9-39 ECE1371 9-40

Main Amplifier with Gain-Booster Transient Response


βωunity: 545 MHz, PM: 74.1 deg., DC Gain: 79.5 dB • Settles to within 0.01% of final value in 2.54ns
Where is the pole-zero doublet? Very small 8mV overshoot (0.5%)
About 25% slower with gain-booster
80
Gain (dB)

40 0.8

0
-40 2 0.4
Amplitude (V)

4 6 8 10
10 10 10 10 10
Frequency (Hz)
0
0
Phase (deg.)

-60 -0.4

-120

-180 -0.8
2 4 6 8 10 720 725 730 735
10 10 10 10 10
Time (ns)
ECE1371 Frequency (Hz) 9-41 ECE1371 9-42
CMFB Loop Stability CMFB in Gain-Boosters
• Two different CMFB loops to look at • Continuous-time CMFB should be sufficient
Continuous-time CMFB for gain-boosters Swing is not as important since voltages should not
Discrete-time CMFB for main amplifier change very much

M6
• Analyze loop gain through CMFB network
Break the loop somewhere (tail current) M5
Load the amplifier as it was when the loop was VCMFB
broken
Analyze the gain from the tail current to the tail VOUTCM
VOUT+ M1 M2 M3 M4 VOUT-
current control voltage
Make sure all voltages are at their correct DC values VB1
MB1 MB2

ECE1371 9-43 ECE1371 9-44

CMFB in Main Amplifier Summary of Results


• As presented in SC lecture • Full-scale (+/- 800mV differentially) settling time
Allows larger swing than continuous-time CMFB DC Gain: 79dB
Large capacitors overload the output more than is Phase Margin: 74 deg.
necessary, while small capacitors cause CM offset 0.01% (80dB): 2.54ns with 0.5% overshoot
voltages from charge injection
• Power
Typically use minimum size switches/transmission
gates depending on the voltage level passed (30.8mA + 1.3mA + 4.4mA) x 1.8V = 66mW
~25% of total power => total power ~ 250mW
• Common Modes
Design based on using 400mV input CM and 900mV
output CM
400mV should allow all switches to be relatively small
(except the ones attached to the output)
ECE1371 9-45 ECE1371 9-46

NLCOTD: Ring Oscillators What You Learned Today


1. Design of a folded-cascode OTA

2. Important trade-offs in OTA design

3. Gain-boosting design example for OTA

ECE1371 9-47 ECE1371 9-48

Das könnte Ihnen auch gefallen