Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
Course Objective
This course teaches analog integrated circuit design using CMOS technology.
VDD
VPB1
I4 I5
SPECIFICATIONS
M4 M5
I1 I2 VPB2
I6 I7
vOUT
M6 M7
M1 M2 VNB2
+
vIN
− M8 M9 CL
VNB1 M3 I
3 M10 M11
070209-01
Course Prerequisites
• Basic understanding of electronics
- Active and passive components
- Large and small signal models
- Frequency response
• Circuit analysis techniques
- Mesh and loop equations
- Superposition, Thevenin and Norton’s equivalent circuits
• Integrated circuit technology
- Basics process steps
- PN junctions
Chapter 4 Chapter 5
CMOS CMOS
Subcircuits Amplifiers
Simple
Circuits
Chapter
Chapter10
2 Chapter
Chapter11
3
CMOS/BiCMOS
D/A and A/D CMOS/BiCMOS
Analog
Technology
Converters Modeling
Systems
Devices
Introduction
070209-02
References
1.) P.E. Allen and D.R. Holberg, CMOS Analog Circuit Design – 2nd Ed., Oxford
University Press, 2002.
2.) P.R. Gray, P.J. Hurst, S.H. Lewis and R.G. Meyer, Analysis and Design of Analog
Integrated Circuits – 4th Ed., John Wiley and Sons, Inc., 2001.
3.) B. Razavi, Design of Analog CMOS Integrated Circuits, McGraw-Hill, Inc., 2001.
4.) R.J. Baker, H.W. Li and D.E. Boyce, CMOS Circuit Design, Layout, and
Simulation, IEEE Press, 1998.
5.) D. Johns and K. Martin, Analog Integrated Circuit Design, John Wiley and Sons,
Inc., 1997.
6.) K.R. Laker and W.M.C. Sansen, Design of Analog Integrated Circuits and Systems,
McGraw-Hill, Inc., 1994.
7.) R.L. Geiger, P.E. Allen and N.R. Strader, VLSI Techniques for Analog and Digital
Circuits, McGraw-Hill, Inc., 1990.
8.) A. Hastings, The Art of Analog Layout – 2nd Ed., Prentice-Hall, Inc., 2005.
9.) J. Williams, Ed., Analog Circuit Design - Art, Science, and Personalities,
Butterworth-Heinemann, 1991.
10.) R.A. Pease, Troubleshooting Analog Circuits, Butterworth-Heinemann, 1991.
Course Philosophy
This course emphasizes understanding of analog integrated circuit design.
Although simulators are very powerful, the designer must understand the circuit before
using the computer to simulate a circuit.
System 2
System 4
031028-01
Simulation
Physical Definition
Physical
Design Physical Verification
Parasitic Extraction
Fabrication Fabrication
;;
Electrical design is the process of going from the specifications to a circuit solution. The
inputs and outputs of electrical design are:
L
W
W/L ratios
VDD
M6
Circuit or Analog M3 M4 Cc
vout
systems Integrated -
vin
M1 M2 CL
-
VSS
Topology
+
vIN
M3
M2
M10
M8
M6
VDD
-A
-A
-A
M11
M9
M7
solution
M1
− M5
M11
M9
DD
M7
-A
V
M4
M5
M10
-A
M8
-A
M3
M6
M4
M2
VNB1
PB1
M1
V
+
vIN
NB1
−
0601216-02
;;
CIRCUIT LAYOUT FABRICATION
Blue Green Black Red Orange White
;;;;;;;;;
;;
;; ;;;;;;
+5V vout
M2
;;;;;;;;;
;;
;;
;;
;;
;;;;
;;;
vout
yy;;;;
;; yy
vin
M2
(2.5V) (2.5V)
M1
;;
;;;
M1 p+ te
p+ a
n+ tr
n+ s
b
p-well u
-s
n-substra n
te
031113-01
5V vin
Packaging†
Packaging of the integrated circuit is an important part of the physical design process.
The function of packaging is:
1.) Protect the integrated circuit
2.) Power the integrated circuit
3.) Cool the integrated circuit
4.) Provide the electrical and mechanical connection between the integrated circuit and
the outside world.
Packaging steps:
Attachment Connecting Encapsulating the
Dicing
of the chip to the chip to chip and lead
the wafer
a lead frame a lead frame frame in a package
031115-01
Other considerations of packaging:
• Speed
• Parasitics (capacitive and inductive)
†
Rao Tummala, “Fundamentals of Microsystems Packaging,” McGraw-Hill, NY, 2001.
CMOS Analog Circuit Design © P.E. Allen - 2010
Types of tests:
• Functional – verification of the nominal specifications
• Parametric – verification of the characteristics to within a specified tolerance
• Static – verification of the static (AC and DC) characteristics of a circuit or system
• Dynamic – verification of the dynamic (transient) characteristics of a circuit or system
Additional Considerations:
Should the testing be done at the wafer level or package level?
How do you remove the influence (de-embed) of the measurement system from the
measurement?
Understanding Technology
Understanding technology helps the analog IC designer to know the limits of the
technology and the influence of the technology on the design.
Device Parasitics: Drain Collector
RD RC
CGD CBD Cμ CJS
RG RB Bulk RB
Gate CGB Base
RSub
CGS CBS Cπ
Substrate
RS RE
Source Emitter
Connection Parasitics: 050319-05
+5V
M2
M2 vout
vin vout vin
+5V
M1
M1
050304-01
Understanding Modeling
Modeling:
Modeling is the process by which the electrical properties of an electronic circuit or
system are represented by means of mathematical equations, circuit representations,
graphs or tables.
Models permit the predicting or verification of the performance of an electronic
circuit or system.
Examples:
Ohm’s law, the large signal model of a MOSFET, the I-V curves of a diode, etc.
Goal:
Models that are simple and allow the designer to understand the circuit performance.
Assumptions
Assumptions:
An assumption is taking something to be true without formal proof. Assumptions in
analog circuit design are used for simplifying the analysis or design. The goal of an
assumption is to separate the essential information from the nonessential information
of a problem.
The elements of an assumption are:
1.) Formulating the assumption to simplify the problem without eliminating the
essential information.
2.) Application of the assumption to get a solution or result.
3.) Verification that the assumption was in fact appropriate.
Examples:
Neglecting a large resistance in parallel with a small resistance
Miller effect to find a dominant pole
Finding the roots of a second-order polynomial assuming the roots are real and
separated
• As analog is combined with more digital, substrate interference will become worse
Idm
id
ID iD
t
Fig. 1.4-1
Enhancement Enhancement
G NMOS with G PMOS with
VBS = 0V. VBS = 0V.
S D
D S
Enhancement Enhancement
G B NMOS with G B PMOS with
VBS 0V. VBS 0V.
S D
D S
Simple Simple
G NMOS G PMOS
symbol symbol
S D
- - -
Voltage-controlled, Voltage-controlled,
voltage source current source
I1 I1 I2
RmI1 +- V2 AiI1
-
Current-controlled, Current-controlled,
voltage source current source
Three-Terminal Notation
QABC
A = Terminal with the larger magnitude of potential
B = Terminal with the smaller magnitude of potential
C = Condition of the remaining terminal with respect to terminal B
C = 0 There is an infinite resistance between terminal B and the 3rd terminal
C = S There is a zero resistance between terminal B and the 3rd terminal
C = R There is a finite resistance between terminal B and the 3rd terminal
C = X There is a voltage source in series with a resistor between terminal B
and the 3rd terminal in such a manner as to reverse bias a PN
junction.
Examples IDSS
S D S D
D +
- G
VGS CDGS IDS BVDGO
+
G S G -
SUMMARY
• Successful analog IC design proceeds with understanding the circuit before simulation.
• Analog IC design consists of three major steps:
1.) Electrical design Topology, W/L values, and dc currents
2.) Physical design (Layout)
3.) Test design (Testing)
• Analog designers must be flexible and have a skill set that allows one to simplify and
understand a complex problem
• Analog IC design has reached maturity and is here to stay.
• The appropriate philosophy is “If it can be done economically by digital, don’t use
analog”.
• As a result of the above, analog finds applications where speed, area, or power result in
advantages over a digital approach.
• Deep-submicron technologies will offer exciting challenges to the creativity of the
analog designer.
CMOS TECHNOLOGY
Classification of Silicon Technology
Silicon IC Technologies
1
Submicron Technology
0.1
0.01
1985 1990 1995 2000 2005 2010
Year 070215-01
125-200 mm
(5"-8") 0.5-0.8mm
Oxidation
Description:
Oxidation is the process by which a layer of silicon dioxide is grown on the surface of a
silicon wafer.
Original silicon surface tox
Silicon dioxide
Uses:
• Protect the underlying material from contamination
• Provide isolation between two layers.
Very thin oxides (100Å to 1000Å) are grown using dry oxidation techniques. Thicker
oxides (>1000Å) are grown using wet oxidation techniques.
Diffusion
Diffusion is the movement of impurity atoms at the surface of the silicon into the bulk of
the silicon.
Always in the direction from higher concentration to lower concentration.
High Low
Concentration Concentration
Fig. 150-04
Diffusion is typically done at high temperatures: 800 to 1400°C
ERFC Gaussian
N0 N0
NB NB
t3 t2 t3
t1 t2 t1
Depth (x) Depth (x)
Infinite source of impurities at the surface. Finite source of impurities at the surface.
Fig. 150-05
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 020 – Submicron CMOS Technology (3/24/10) Page 020-9
Ion Implantation
Ion implantation is the process by which Path of
impurity ions are accelerated to a high impurity
velocity and physically lodged into the atom
target material.
Fixed Atom
Deposition
Deposition is the means by which various materials are deposited on the silicon wafer.
Examples:
• Silicon nitride (Si3N4)
• Silicon dioxide (SiO2)
• Aluminum
• Polysilicon
There are various ways to deposit a material on a substrate:
• Chemical-vapor deposition (CVD)
• Low-pressure chemical-vapor deposition (LPCVD)
• Plasma-assisted chemical-vapor deposition (PECVD)
• Sputter deposition
Material that is being deposited using these techniques covers the entire wafer and
requires no mask.
Etching
Mask
Etching is the process of selectively Film
removing a layer of material.
Underlying layer
When etching is performed, the etchant may
remove portions or all of: (a) Portion of the top layer ready for etching.
a Selectivity
• The desired material
Mask
• The underlying layer Film c
• The masking layer b Anisotropy
Selectivity Underlying layer
Important considerations: (b) Horizontal etching and etching of underlying layer.
• Anisotropy of the etch is defined as, Fig. 150-08
Epitaxy
Epitaxial growth consists of the formation of a layer of single-crystal silicon on the
surface of the silicon material so that the crystal structure of the silicon is continuous
across the interfaces.
• It is done externally to the material as opposed to diffusion which is internal
• The epitaxial layer (epi) can be doped differently, even opposite to the material on
which it is grown
• It is accomplished at high temperatures using a chemical reaction at the surface
• The epi layer can be any thickness, typically 1-20 microns
Fig. 150-09
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 020 – Submicron CMOS Technology (3/24/10) Page 020-13
Photolithography
Components
• Photoresist material
• Mask
• Material to be patterned (e.g., oxide)
Positive photoresist
Areas exposed to UV light are soluble in the developer
Negative photoresist
Areas not exposed to UV light are soluble in the developer
Steps
1. Apply photoresist
2. Soft bake (drives off solvents in the photoresist)
3. Expose the photoresist to UV light through a mask
4. Develop (remove unwanted photoresist using solvents)
5. Hard bake ( 100°C)
6. Remove photoresist (solvents)
Photoresist
Polysilicon
Fig. 150-10
Develop
Polysilicon
Photoresist Etch
Photoresist
Polysilicon
Remove
photoresist
Polysilicon
Fig. 150-11
SiO2
Photoresist Photoresist
p- substrate
n-well
p- substrate
070523-01
Photoresist
Si3N4 Photoresist Pad oxide (SiO2)
n-well
p- substrate
Si3N4
Photoresist
n-well
p- substrate
070523-02
FOX FOX
n-well
p- substrate
Step 6.) Growth of the gate thin oxide and deposition of polysilicon. The thresholds
can be shifted by an implantation before the deposition of polysilicon.
Polysilicon
FOX FOX
n-well
p- substrate
070523-03
Step 8.) Implantation of NMOS source and drain and contact to n-well (not shown)
n+ S/D implant
Polysilicon
Photoresist
FOX FOX FOX
FOX
n-well
p- substrate
070523-04
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 020 – Submicron CMOS Technology (3/24/10) Page 020-21
Polysilicon Photoresist
FOX FOX
FOX
FOX
n-well
p- substrate
Step 10.) Implant the PMOS source/drains and contacts to the p- substrate (not shown),
remove the sidewall spacers and implant the PMOS lightly doped source/drains
LDD Diffusion
Polysilicon
070209-03
CMOS Analog Circuit Design © P.E. Allen - 2010
070523-05
BPSG
FOX FOX FOX
n-well
p- substrate
Step 14.) Deposit another interlayer dielectric (CVD SiO2), open contacts,
deposit second level metal
Metal 2
Metal 1
BPSG
FOX FOX FOX
n-well
p- substrate
070523-06
Step 15.) Etch unwanted metal and deposit a passivation layer and open
over bonding pads
Metal 2 Metal 1
Passivation protection layer
BPSG
FOX FOX FOX
n-well
p- substrate
070523-07
p-well process is similar but starts with a p-well implant rather than an n-well implant.
Metal 4
Metal 3
Metal 2
2 microns
Metal 1
Polysilicon
Diffusion 070523-08
Planarization
Planarization attempts to minimize the variation in surface height of the wafer.
Planarization techniques
• Repeated applications of SOG Tungsten
• Resist etch-back – highest areas of Plug
oxide are exposed longest to the
etchant and therefore erode away the
most.
• Both chemical effect (slurry) and mechanical (pad pressure) take place.
• Although CMP is superior to SOG and resist etchback, large areas devoid of underlying
metal or poly produce low regions in the final surface.
• Challenge: Achieve a highly planarized surface over a wide range of pattern density.
Pattern Fill
070810-01
070810-02
Silicide/Salicide Technology
Used to reduce interconnect resistivity by placing a low-resistance silicide such as TiSi2,
WSi2, TaSi2, etc. on top of polysilicon
Salicide technology (self-aligned silicide) provides low resistance source/drain
connections as well as low-resistance polysilicon.
Polysilicide Polysilicide
Metal Metal
Salicide
SUMMARY
• Fabrication is the means by which the circuit components, both active and passive, are
built as an integrated circuit.
• Basic process steps include:
1.) Oxide growth 2.) Thermal diffusion 3.) Ion implantation
4.) Deposition 5.) Etching 6.) Epitaxy
• The complexity of a process can be measured in the terms of the number of masking
steps or masks required to implement the process.
• Major CMOS Processing Steps:
1.) Well definition
2.) Definition of active areas and substrate/well contacts (SiNi3)
3.) Thick field oxide (FOX)
4.) Thin field oxide and polysilicon
5.) Diffusion of the source and drains (includes the LDD)
6.) Dielectric layer/Contacts (planarization)
7.) Metallization
8.) Dielectric layer/Vias
ion h
Trench Isolation
lat nc
w
Iso Tre
o
all
ow
Sh
all
Sh
n+ p+ p+ nn++ nnn+++
Substrate 070330-03
Comments:
• If the n+ to p+ spacing is large, the Bird’s beak can be compensated using techniques
such as poly buffered LOCOS
• At some point as the n+ to p+ spacing gets smaller, the restricted bird’s beak leads to
undesirable stress effects in the transistor.
• An important advantage of STI is that it minimizes the heat cycle needed for n+ or p+
isolation compared to LOCOS. This is a significant advantage for any process where
there are implants before STI.
;; ;
M4
Salicide Salicide M3
Salicide M2
M1
n+ n+ p+ p+
STI Source/drain STI Source/drain STI
extensions extensions
Deep p-well Deep n-well p-substrate
031211-02
In addition to NMOS and PMOS transistors, the technology provides:
1.) A deep n-well that can be utilized to reduce substrate noise coupling.
2.) A MOS varactor that can serve in VCOs
3.) At least 6 levels of metal that can form many useful structures such as inductors,
capacitors, and transmission lines.
Transistors
fT as a function of gate-source overdrive, VGS-V T (0.13μm):
Typical, 25°C
70
60 NMOS
Slow, 70°C
50
fT (GHz) 40
Typical, 25°C
20
10
0
0 100 200 300 400 500
|VGS-VT| (mV) 030901-07
The upper frequency limit is probably around 40 GHz for NMOS with an fT in the
vicinity of 60GHz with an overdrive of 0.5V and at the slow-high temperature corner.
Resistors
1.) Diffused and/or implanted resistors.
2.) Well resistors.
3.) Polysilicon resistors.
4.) Metal resistors.
Capacitors
Polysilicon-polysilicon
capacitors:
Metal-metal capacitors:
Protective Insulator Layer
Metal Via
Top
Vias connecting top Metal
Capacitor plate to top metal
dielectric Capacitor Top Metal Second level
Inter-
Vias connecting bottom from top metal
mediate
Capacitor bottom plate plate to lower metal Third level
Oxide
Layers Vias connecting bottom from top metal
plate to lower metal Fourth level
from top metal
060530-01
Inductors
Top view and cross-section of a planar inductor:
Top Metal
Top Metal
W
S Next Level
Metal
Vias Oxide
Next Level Oxide
Metal
D
Silicon Substrate
N turns
030828-01
D
Starting Material
The substrate should be highly doped to act like a good conductor.
Substrate
p+ n+
n-well p-well
Substrate
p+ n+
Shallow Shallow Shallow
Trench Trench Trench
Isolation Isolation Isolation
n-well p-well
Substrate
n+
Shallow Shallow Shallow
Trench Trench Trench
Isolation Isolation Isolation
n-well p-well
Substrate
p+ n+
Shallow Shallow Shallow
Trench Trench Trench
Isolation Isolation Isolation
n-well p-well
Substrate
p+ n+
Shallow Shallow Shallow
Trench Trench Trench
Isolation Isolation Isolation
n-well p-well
Substrate
Sidewall Sidewall
Spacers Spacers
p+ n+
Shallow Shallow Shallow
Trench Trench Trench
Isolation Isolation Isolation
n-well p-well
Substrate
n+ p+ p+ n+ n+ p+
implant implant implant implant implant implant
n+ p+ p+ n+ nn++ p+
Shallow Shallow Shallow
Trench Trench Trench
Isolation Isolation Isolation
n-well p-well
Substrate
Polycide Polycide
Substrate
Completed Fabrication
After multiple levels of metal are applied, the fabrication is completed with a thicker top-
level metal and a protective layer to hermetically seal the circuit from the environment.
Note that metal is used for the upper level metal vias. The chip is electrically connected
by removing the protective layer over large bonding pads.
Tungsten Plug
TEOS
SOG
Polycide
Sidewall
TEOS/BPSG Spacer
Poly
Gate
Fig. 2.8-20
Metal 3
Aluminum
Vias
Metal 2
Tungsten
Plugs
Metal 1
Transistors Fig.180-11
SUMMARY
• DSM technology typically has a minimum channel length between 0.35μm and 0.1μm
• DSM technology addresses the problem of excessive depletion region widths in
junction isolation techniques by using shallow trench isolation
• DSM technology may have from 4 to 8 levels of metal
• Lightly doped drains and sources are a key aspect of DSM technology
220 nm pitch
NMOS
These transistors utilize enhanced channel strains to increase drive capability and to
reduce off currents.
†
P. Bai, et. Al., “A 65nm Lobic Technology Featuring 35nm Gate Lengths, Enhanced Channel Strain, 8 Cu Interconnect Layers, Low-k ILD and 0.57
μm2 SRAM Cell, IEEE Inter. Electron Device Meeting, Dec. 12-15, 2005.
CMOS Analog Circuit Design © P.E. Allen - 2010
†
Anne-Johan Annema, et. Al., “Analog Circuits in Ultra-Deep-Submicron CMOS,” IEEE J. of Solid-State Circuits, Vol. 40, No. 1, Jan. 2005, pp. 132-
143.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 040 – UDSM and BiCMOS Technologies (3/24/10) Page 040-7
− +
f(vGD) vGD f(vSG) vSG ggd gsg
+ −
+ −
f(vGS) vGS f(vDG) vDG ggs gdg
− +
BiCMOS TECHNOLOGY
Typical 0.5μm BiCMOS Technology
Masking Sequence:
1. Buried n+ layer 9. Base oxide/implant 17. Contacts
2. Buried p+ layer 10. Emitter implant 18. Metal 1
3. Collector tub 11. Poly 1 19. Via 1
4. Active area 12. NMOS lightly doped drain 20. Metal 2
5. Collector sinker 13. PMOS lightly doped drain 21. Via 2
6. n-well +
14. n source/drain 22. Metal 3
7. p-well +
15. p source/drain 23. Nitride passivation
8. Emitter window 16. Silicide protection
Notation used in the following slides:
BSPG = Boron and Phosphorus doped Silicate Glass (oxide)
Kooi Nitride = A thin layer of silicon nitride on the silicon surface as a result of the
reaction of silicon with the HN3 generated, during the field oxidation.
TEOS = Tetro-Ethyl-Ortho-Silicate. A chemical compound used to deposit conformal
oxide films.
Starting Substrate:
p-substrate 1μm
BiCMOS-01 5μm
p-substrate 1μm
BiCMOS-02 5μm
Epitaxial Growth
p-type
n-well p-well n-well p-well
Epitaxial
Silicon
n+ buried layer p+ buried n+ buried layer
p+ buried layer
layer
p-substrate 1μm
BiCMOS-03 5μm
Comment:
• As the epi layer grows vertically, it assumes the doping level of the substrate beneath
it.
• In addition, the high temperature of the epitaxial process causes the buried layers to
diffuse upward and downward.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 040 – UDSM and BiCMOS Technologies (3/24/10) Page 040-13
Collector Tub
p-substrate 1μm
BiCMOS-04 5μm
Comment:
• The collector area is developed by an initial implant followed by a drive-in diffusion to
form the collector tub.
p-substrate 1μm
BiCMOS-05 5μm
Comment:
• The silicon nitride is use to impede the growth of the thick oxide which allows contact
to the substrate
• -silicon is used for stress relief and to minimize the bird’s beak encroachment
Field Oxide
FOX
FOX Field Oxide Field Oxide Field Oxide
Collector Tub n-well
p-well p-well p-type
Epitaxial
Silicon
p-substrate 1μm
BiCMOS-06 5μm
Comments:
• The field oxide is used to isolate surface structures (i.e. metal) from the substrate
p-substrate 1μm
BiCMOS-07 5μm
Base Definition
FOX
FOX Field Oxide Field Oxide Field Oxide
Collector Tub n-well
p-well p-well p-type
Epitaxial
Silicon
p-substrate 1μm
BiCMOS-08 5μm
p-substrate 1μm
BiCMOS-09 5μm
Emitter Implant
NPN Transistor
Emitter Implant PMOS Transistor NMOS Transistor
FOX
FOX Field Oxide Field Oxide Field Oxide
Collector Tub n-well
p-well p-well p-type
Sub-Collector Epitaxial
Silicon
p-substrate 1μm
BiCMOS-10 5μm
Comments:
• The polysilicon above the base is implanted with n-type carriers
Emitter Diffusion
p-substrate 1μm
BiCMOS-11 5μm
Comments:
• The polysilicon not over the emitter window is removed and the n-type carriers diffuse
toward the base forming the emitter
FOX
FOX Field Oxide Field Oxide Field Oxide
n-well
p-well p-well p-type
Epitaxial
Silicon
p-substrate 1μm
BiCMOS-12 5μm
Comments:
• The surface of the region where the MOSFETs are to be built is cleared and a thin gate
oxide is deposited with a polysilicon layer on top of the thin oxide
• The polysilicon is removed over the source and drain areas
• A light source/drain diffusion is done for the NMOS and PMOS (separately)
p-substrate 1μm
BiCMOS-13 5μm
Comments:
• The sidewall spacers prevent the heavy source/drain doping from being near the
channel of the MOSFET
Siliciding
FOX
FOX Field Oxide Field Oxide Field Oxide
n-well
p-well p-well p-type
Epitaxial
Silicon
p-substrate 1μm
BiCMOS-14 5μm
Comments:
• Siliciding is used to reduce the resistance of the polysilicon and to provide ohmic
contacts to the base, emitter, collector, sources and drains
Contacts
Tungsten Plugs Tungsten Plugs Tungsten Plugs
TEOS/BPSG/SOG TEOS/BPSG/SOG TEOS/BPSG/SOG
FOX
p-substrate 1μm
BiCMOS-15 5μm
Comments:
• A dielectric is deposited over the entire wafer
• One of the purposes of the dielectric is to smooth out the surface
• Tungsten plugs are used to make electrical contact between the transistors and metal1
Metal1
Metal1 Metal1 Metal1
FOX
FOX Field Oxide Field Oxide Field
FieldOxide
Oxide
n-well
p-well p-well p-type
Epitaxial
Silicon
p-substrate 1μm
BiCMOS-16 5μm
Metal1-Metal2 Vias
p-substrate 1μm
BiCMOS-17 5μm
Metal2
Metal 2
Oxide/
SOG/
Oxide
FOX TEOS/BPSG/SOG TEOS/BPSG/SOG TEOS/BPSG/SOG
p-substrate 1μm
BiCMOS-18 5μm
Metal2-Metal3 Vias
TEOS/
BPSG/
SOG
Oxide/
SOG/
Oxide
TEOS/BPSG/SOG TEOS/BPSG/SOG TEOS/BPSG/SOG
FOX
p-substrate 1μm
BiCMOS-19 5μm
Comments:
• The metal2-metal3 vias will be filled with metal3 as opposed to tungsten plugs
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 040 – UDSM and BiCMOS Technologies (3/24/10) Page 040-29
Completed Wafer
Nitride (Hermetically seals the wafer)
Oxide/SOG/Oxide
Metal3
Metal3 TEOS/
Vias BPSG/
SOG
Oxide/
SOG/
Oxide
TEOS/BPSG/SOG TEOS/BPSG/SOG TEOS/BPSG/SOG
FOX
p-substrate 1μm
BiCMOS-20 5μm
CMOS Analog Circuit Design © P.E. Allen - 2010
SUMMARY
• UDSM technology typically has a minimum channel length less than 0.1μm
• UDSM transistors utilize enhanced channel strains to increase drive capability and
reduce off currents
• Advantages of UDSM technology include:
- Smaller devices
- Higher speeds and transconductances
- Improved Ion/Ioff
• Disadvantages of UDSM technology include:
- Gate leakage currents
- Reduced small signal gains
- Increased nonlinearity
• BiCMOS technology
- Offers both CMOS transistors and a high performance vertical BJT
- CMOS is typically a generation behind
- Silicon germanium can be used to enhance the BJT performance
PN JUNCTIONS
How are PN Junctions used in CMOS?
• PN junctions are used to electrically isolate one semiconductor region from another
• PN diodes
• ESD protection
• Creation of the thermal voltage for bandgap purposes
• Depletion capacitors – voltage variable capacitors (varactors)
Components of a pn junction:
1.) p-doped semiconductor – a semiconductor having atoms containing a lack of
electrons (acceptors). The concentration of acceptors is NA in atoms per cubic
centimeter.
2.) n-doped semiconductor – a semiconductor having atoms containing an excess of
electrons (donors). The concentration of these atoms is ND in atoms per cubic
centimeter.
Abrupt PN Junction
Metal-semiconductor junction pn junction Metal-semiconductor junction
p+ semiconductor n semiconductor
Depletion Region
060121-02
W
p+ semiconductor n semiconductor
W1 0 x
W2
W1 = Depletion width on p side W2 = Depletion width on n side
1. Doped atoms near the metallurgical junction lose their free carriers by diffusion.
2. As these fixed atoms lose their free carriers, they build up an electric field, which
opposes the diffusion mechanism.
3. Equilibrium conditions are reached when:
Current due to diffusion = Current due to electric field
Reverse-Biased PN Junctions
Depletion region: xd
xd = xp + xn = W 1 + W2 Influence
vD of vR on
xp = W 1 vR depletion
iD region width
and − vR = 0V +
vR xd
xn = W 2 vR
060121-05
− vR > 0V +
Breakdown voltage (BV): iD
If vR > BV, avalanche multiplication will
occur resulting in a high conduction state as BV
illustrated. vD
Reverse Forward
Bias Bias
060121-06
†
P. Allen and D. Holberg, CMOS Analog Circuit Design, 2nd ed., Oxford University Press, 2002
CMOS Analog Circuit Design © P.E. Allen - 2010
Depletion Capacitance
Physical viewpoint of the depletion capacitance:
d
xd
− +
− +
− +
− +
− +
− +
W1 W2
siA siA 060204-01 + vD −
Cj = d = W 1+W 2
siA Cj
=
2si(o-vD) ND NA Ideal
q(ND+NA) NA + ND
Cj0 Gummel-
siqNAND 1
=A Poon Effect
2(NA+ND) o-vD
Cj0 Reverse Bias
=
vD
1-o v
0 ψo D
060204-02
Forward-Biased PN Junctions
When the pn junction is forward-biased, the potential barrier is reduced and significant
current begins to flow across the junction. This current is given by:
v
D
Dppno Dnnpo qAD ni2
-V GO
iD = Isexp V t -1
3
where Is = qA Lp + Ln L N = KT exp V
t
Graphically, the iD versus vD characteristics are given as:
25
20
iD 15
Is 10
ln(iD/Is)
5
0
-5
-4 -3 -2 -1 0 1 2 3 4 Decade current
vD/Vt
10 x1016
change/60mV
or
8 x1016
Octave current
16
iD 6 x10 change/18mV
Is
4 x1016
vD
2 x1016 0V 060204-03
0
-40 -30 -20 -10 0 10 20 30 40
vD/Vt
Graded PN Junctions
In practice, the pn junction is graded rather than abrupt.
Impurity
Concentration Impurity profile
approximates a
p+
constant slope
n+ p+
Intrinsic
x Concentration
0 x
Surface Junction
060204-04
( -v )N
siqNAND m
1
W 1=
qNA(NA+ND) C j = A
2(N +N )
o-vD m
1 m A D
W
2si(o-vD)NA m N
Cj0
W 2=
qND(NA+ND) =
vD m
1-
o
where 0.33 m 0.5.
Metal-Semiconductor Junctions
Ohmic Junctions: A pn junction formed by a highly doped semiconductor and metal.
Energy band diagram IV Characteristics
I
Vacuum Level 1
;;;;
Thermionic
qφm or tunneling Contact
qφs
qφB EC Resistance
;;;;
EF V
EV
n-type metal n-type semiconductor Fig. 2.3-4
;;;;
EC
EF
Reverse Bias
;;;;
Forward Bias V
EV
Reverse Bias
n-type metal n-type semiconductor Fig. 2.3-5
MOS TRANSISTOR
PHYSICAL ASPECTS OF MOS TRANSISTORS
Physical Structure of MOS Transistors in an n-well Technology
Substrate Salicide Substrate Salicide
Well Salicide
W W
n+ p+ p+ nn++ nnn+++
L L
Shallow Shallow
Trench Trench
Isolation n-well Isolation
p-well
Substrate 070322-02
Enhancement MOSFETs
The channel of an enhancement MOSFET is formed when the proper potential is applied
to the gate of the MOSFET. This potential inverts the material immediately below the
gate to the same type of impurity as the source and drain forming the channel.
VGS=0V 0V<VGS<VT V <V (sat) VGS>VT
VDS<VDS(sat) DS DS VDS<VDS(sat)
S G D S G D S G D
VDS VDS VDS
V T = Gate-bulk work function (MS) + voltage to change the surface potential (-2F)
+ voltage to offset the channel-bulk depletion charge (-Qb/Cox)
+ voltage to compensate the undesired interface charge (-Qss/Cox)
Qb0 QSS Qb-Qb0
V T = MS -2F - Cox - Cox - Cox = VT0 + |-2F+vSB|- |-2F|
where Qb0 QSS 2qsiNA
VT0 = MS - 2F - Cox - Cox , = Cox and Qb 2qNAsi(|-2F+vSB|)
Polysilicon
an
Ch
p+ n+
Fig.
n+
4.3-4
n-channel
Channel
Length, L
p substrate (bulk)
The threshold voltage for a depletion mode NMOS transistor will be negative (a negative
gate potential is necessary to attract enough holes underneath the gate to cause this
region to invert to p-type material).
log iD
Drift current versus
Diffusion Current
diffusion current in a Drift Current
MOSFET: 10-6
10-12 VGS
0 VT
L STI L
Well/Bulk Well/Bulk
Drain Drain
W W
n-well p-well
Comments:
• Make sure to contact the source and drain with multiple contacts to evenly distribute
the current flow under the gate.
• Minimize the area of the source and drain to reduce bulk-source/drain capacitance.
Geometric Effects
;;;; ;;
Orientation:
Devices oriented in the same direction match more precisely than those oriented in other
;; ;; ;;;
directions.
;;;; ;; ;;;
;;
Good Matching
;;
Poorer Matching
041027-02
;; ;;
Diffusion and Etch Effects
• Poly etch rate variation – use dummy elements to prevent etch rate differences.
;;
;;
;;; ;;
;;
Dummy Dummy
Gate Gate
;;
;;
;;; ;;
;;
;;
;; ;;
;;;;;
;;
;;;;;
• Do not put contacts on top of the gate for matched transistors.
041027-03
• Be careful of diffusion interactions for diffusions near the channel of the MOSFET
A B
Dummy Gate
Dummy Gate
Dummy Gate
Dummy Gate
A B B A GA GB
GB GA
B A
GA GB GB GA
Interdigitated, common centroid layout
DB SB/SA DA
041027-04
Cross-Coupled Transistors
;; ; ;;;;
;;
;; ;
; ;;
;;;;
;;; Mirror Symmetry ;;
Photolithographic Invariance
Fig. 2.6-05
;; ; ;;;; ; ;; ;; ;
Metal 2 Metal 1
Via 1
;;; ;;;;;;;;
;; ; ;;;; ; ;; ;; ;
;;; ;;;;;;;; Fig. 2.6-06
;;;;;;;
Metal 2
Via 1
;;
;;;
;;
;;; ;;
;;
;;;;;;;
Metal 1
Base
Base
Area = Vp Area = Vd
0
;;;
;;;;;; ;;;
;;;;;;;;;;;
Distance, x
Pinch-off region xp xd
;;;
;;;;;;;;;
;;;;;;;;;;;
Channel
Source n+ Drain n+
Source Drain
;;;;;;;;;;;
depletion depletion
region region
;;;;;;;;;;;
Substrate depletion region
p - substrate
040920-01
DSM Architecture:
n+ n+ p+ n+ n+
xd xd
p-body p-body
p epi n well p epi
p substrate 071025-01
SUMMARY
• pn junction usage in CMOS include:
- Electrical isolation, pn diodes, ESD protection, depletion capacitors
• Depletion region widths are inversely proportional to the doping
• Depletion region widths are proportional to the reverse bias voltage
• Ohmic metal-semiconductor junctions require a highly doped semiconductor
• MOSFETs can be:
- Enhancement – the applied gate voltage forms the channel
- Depletion – the channel is physically constructed in fabrication
• The threshold voltage of MOSFETs consists of the following components:
- Gate bulk work function (MS)
- Voltage to change the surface potential (-2F)
- Voltage to offset the channel-bulk depletion charge (-Qb/Cox)
- Voltage to compensate the undesired interface charge (-Qss/Cox)
• Weak inversion is MOSFET operation with the gate-source voltage less than the
threshold voltage
• Layout of the MOSFET is important to its performance and matching capabilities
• Extended drain regions lead to higher voltage capability MOSFETs
INTRODUCTION
Types of Capacitors for CMOS Technology
1.) PN junction (depletion) d
xd
capacitors − +
− +
− +
− +
− +
− +
W1 W2 060204-01 + vD −
G D,S,B
2.) MOSFET gate capacitors
Cox
n+ n+ p+
Cjunction p-well
060207-01
Characterization of Capacitors
What characterizes a capacitor?
1.) Dissipation (quality factor) of a capacitor is
C
Q = CRp = Rs
where Rp is the equivalent resistance in parallel with the capacitor, C, and Rs is the
electrical series resistance (ESR) of the capacitor, C.
2.) Parasitic capacitors to ground from each node of the capacitor.
3.) The density of the capacitor in Farads/area.
4.) The absolute and relative accuracies of the capacitor.
5.) The Cmax/Cmin ratio which is the largest value of capacitance to the smallest when
the capacitor is used as a variable capacitor (varactor).
6.) The variation of a variable capacitance with the control voltage.
7.) Linearity, q = Cv.
PN JUNCTION CAPACITORS
PN Junction Capacitors in a Well
Generally made by diffusion into the well.
Anode Cathode
Substrate
;;;
rD
Cj Cj Cw C VB
VA
;;;
n+ p+ n+ p+ Anode Rwj Cathode
Rwj Rwj Rw Rs
Depletion
n-well Region
p- substrate
Fig. 2.5-011
Layout:
Minimize the distance between the p+ and n+ diffusions. n+ diffusion
Two different versions have been tested.
p+ dif-
1.) Large islands – 9μm on a side fusion
2.) Small islands – 1.2μm on a side n-well
Fig. 2.5-1A
3 C
Large Islands Anode Cathode
2.5 80
QAnode
Small Islands R-X Cathode
2 60 Bridge Voltage
C
1.5 Anode Cathode
40
Large Islands
1 R-X Cathode
Bridge Voltage 20
0.5
0 0
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
Cathode Voltage (V) Cathode Voltage (V) 060206-03
Terminal Small Islands (598 1.2μm x1.2μm) Large Islands (42 9μm x 9μm)
Under Test Cmax/Cmin Qmin Qmax Cmax/Cmin Qmin Qmax
Anode 1.23 94.5 109 1.32 19 22.6
Cathode 1.21 8.4 9.2 1.29 8.6 9.5
Electrons as majority carriers lead to higher Q because of their higher mobility.
The resistance, Rwj, is reduced in small islands compared with large islands higher Q
†
E. Pedersen, “RF CMOS Varactors for 2GHz Applications,” Analog Integrated Circuits and Signal Processing, vol. 26, pp. 27-36, Jan. 2001.
CMOS Analog Circuit Design © P.E. Allen - 2010
Cox S D
n+ n+ p+
n+ n+ Weak
p+
Accumulation Inv. Strong
Cjunction p-well Inversion
In this configuration, the MOSFET gate capacitor has 5 regions of operation as VGS is
varied. They are:
1.) Accumulation
2.) Depletion
3.) Weak inversion
4.) Moderate inversion
5.) Strong inversion
For the first four regions, the gate capacitance is the series combination of Cox and Cj
given as,
1
Cgate = 1 1
+
Cox Cj
CMOS Analog Circuit Design © P.E. Allen - 2010
MOSFET Gate Capacitor as a function of VGS with Bulk Fixed (Inversion Mode)
G D,S B Capacitance
n+ n+ p+ Inversion VT shift
Mode MOS if VBS ≠ 0
Cjunction p-well
0 VG-VD,S
060207-04
Conditions:
• D = S, B = VSS
• Accumulation region removed by connecting bulk to VDD
• Nonlinear
• Channel resistance:
L
Ron = 12KP'(VBG-|V T|)
• LDD transistors will give lower Q because of the increased series resistance
;;;
Lecture 060 – Capacitors (3/24/10) Page 060-10
;;;
Inversion Mode NMOS Capacitor
Best results are obtained D,S
;;;;;;;;
G
when the drain-source are Shown in inversion mode
;;;
D,S
connected to ac ground.
Cov
;;;;;;;;
Bulk Rsj Cj Cox Cov
B
p+ n+ n+
Rd Cd Csi Cd Rd G
p- substrate/bulk Rsi n- LDD
Experimental Results (Q at Fig. 2.5-2
2GHz, 0.5μm CMOS)†:
Cmax Cmin Qmax Qmin
4.5 38
VG = 2.1V RX 36 RX
4 Meter VG = 2.1V Meter
VG VD,S 34 VG VD,S
3.5
CGate (pF)
32
VG = 1.8V
QGate
3 30
VG = 1.8V
28
2.5 VG = 1.5V
VG = 1.5V 26
2
24
1.5 22
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
Drain/Source Voltage (V) Drain/Source Voltage (V) 070617-06
V G =1.8V: Cmax/Cmin ratio = 2.15 (1.91), Qmax = 34.3 (5.4), and Qmin = 25.8(4.9)
†
E. Pedersen, “RF CMOS Varactors for 2GHz Applications,” Analog Integrated Circuits and Signal Processing, vol. 26, pp. 27-36, Jan. 2001.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 060 – Capacitors (3/24/10) Page 060-11
Cox Cox
n+ Depletion
n+
Inversion Accumulation
VG-VD,S,B
060207-05
Conditions:
• Remove p+ drain and source and put n+ bulk contacts instead.
• Implements a variable capacitor with a larger transition region between the maximum
and minimum values.
• Reasonably linear capacitor for values of VGB > 0
;;;
Accumulation Mode Capacitor – Continued
Best results are
;;;
Shown in depletion mode. G D,S
obtained when the
;;;;
D,S
drain-source are on
Cov Cov
ac ground. Bulk Cw Cox B
p+ n+ n+
Rs Rw Rd Rd G
Cd Cd
n- well
n- LDD
p- substrate/bulk Fig. 2.5-5
Experimental
Results (Q at 2GHz, 0.5μm CMOS)†:
Cmax Cmin Qmax Qmin
4 45
RX
RX VG = 0.3V Meter
Meter
3.6 VG VD,S
VG = 0.9VVG VD,S 40
CGate (pF)
3.2 VG = 0.6V
QGate
VG = 0.6V
35
VG = 0.9V
2.8
VG = 0.3V 30
2.4
2 25
0 0.5 1 1.5 2 2.5 3 3.5 0 0.5 1 1.5 2 2.5 3 3.5
Drain/Source Voltage (V) Drain/Source Voltage (V) 070617-07
VG = 0.6V: Cmax/Cmin ratio = 1.69 (1.61), Qmax = 38.3 (15.0), and Qmin = 33.2(13.6)
†
E. Pedersen, “RF CMOS Varactors for 2GHz Applications,” Analog Integrated Circuits and Signal Processing, vol. 26, pp. 27-36, Jan. 2001.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 060 – Capacitors (3/24/10) Page 060-13
CONDUCTOR-INSULATOR-CONDUCTOR CAPACITORS
Polysilicon-Oxide-Polysilicon (Poly-Poly) Capacitors
LOCOS Technology:
A very linear capacitor
with minimum bottom
plate parasitic.
DSM Technology:
A very linear capacitor with
small bottom plate parasitic.
Metal Via
Top
Vias connecting top Metal
Capacitor plate to top metal
dielectric Capacitor Top Metal Second level
Inter-
Vias connecting bottom from top metal
mediate
Capacitor bottom plate plate to lower metal Third level
Oxide
Layers Vias connecting bottom from top metal
plate to lower metal Fourth level
from top metal
060530-01
Metal Metal
Metal 2 - + - +
Metal 1 + - + - Fig2.5-9
These capacitors are sometimes called fractal capacitors because the fractal patterns are
structures that enclose a finite area with a near-infinite perimeter.
The capacitor/area can be increased by a factor of 10 over vertical flux capacitors.
030909-01
2.) Parallel wires (PW):
†
R. Aparicio and A. Hajimiri, “Capacity Limits and Matching Properties of Integrated Capacitors, IEEE J. of Solid-State Circuits, vol. 37, no. 3, March
2002, pp. 384-393.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 060 – Capacitors (3/24/10) Page 060-17
Vias
030909-03
Vias
030909-04
Number of dice
PW
8
060207-07
C A B C A B C A B
B C A B C A B C A
A
C 070625-01
C
A B
C
A B
Δx Δx
L1 C1 L2 C2
If L1 = L2 = 2μm, W2 = 2W 1 = 4μm and
x = 0.1μm, the ratio of C2 to C1 can W1 W2
be written as, 041022-03
C2 (2-.2)(4-.2) 3.8
C1 = (2-.2)(2-.2) = 1.8 = 2.11 5.6% error in matching
How can this matching error be reduced?
The capacitor ratios in general can be expressed as,
2x
C2 (L2-2x)(W2-2x) W 21- W 2 W 2 2x 2x W 2 2x 2x
C1 = (L1-2x)(W1-2x) = W 1 2x W 11- W 2 1+ W 1 W 11- W 2 + W 1
1- W 1
Therefore, if W2 = W 1, the matching error should be minimized. The best matching
results between two components are achieved when their geometries are identical.
Replication Principle
Based on the previous result, a way to minimize the matching error between two or more
geometries is to insure that the matched components have the same area to periphery
ratio. Therefore, the replication principle requires that all geometries have the same area-
periphery ratio.
Correct way to match the previous capacitors (the two C2 capacitors are connected
together): Δx Δx Δx
Δx Δx Δx
L2 C2 L1 C1 L2 C2
W2 W1 W2
041022-04
Relative Accuracy
Unit Capacitance = 1pF
0.02
0.01
Unit Capacitance = 4pF
0.00
1 2 4 8 16 32 64
Ratio of Capacitors
Top
plate Desired
parasitic Capacitor
Bottom
Bottom Plate plate
060702-08
parasitic
? ?
Sensitive to alignment errors in the Insensitive to alignment errors and the
upper and lower plates and loss of flux reaching the bottom plate is larger
capacitance flux (smaller capacitance). resulting in large capacitance. 060207-09
A structure that minimizes the ratio of perimeter to area (circle is best).
Bottom Plate
Top
Plate
061216-04
†
M.J. McNutt, S. LeMarquis and J.L.Dunkley, “Systematic Capacitance Matching Errors and Corrective Layout Procedures,” IEEE J. of Solid-State
Circuit, vo. 29, No. 5, May 1994, pp. 611-616.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 060 – Capacitors (3/24/10) Page 060-29
Shielding
The key to shielding is to determine and control the electric fields.
Consider the following noisy conductor and its influence on the substrate:
Increased Parasitic Capacitance
Noisy Conductor Noisy Conductor Separate
Ground
Shield
Substrate Substrate
060118-10
2Cpar +1
Bottom Plate
Cpar
2Cpar Shield
Substrate Substrate
060316-02
SUMMARY
• Capacitors are made from:
- pn junctions (depletion capacitors)
- MOSFET gate capacitors
- Conductor-insulator-conductor capacitors
• Capacitors are characterized by:
- Q, a measure of the loss
- Density
- Parasitics
- Absolute and relative accuracies
• Deviations from ideal capacitor behavior include;
- Dielectric gradients
- Edge effects (etching)
- Process biases
- Parasitics
- Voltage and temperature dependence
RESISTORS
Types of Resistors Compatible with CMOS Technology
1.) Diffused and/or implanted resistors.
2.) Well resistors.
3.) Polysilicon resistors.
4.) Metal resistors.
Characterization of Resistors
1.) Value Area = A
Area = A
L
R= A Curre
nt L
t L
Curren 050217-02
AC and DC resistance
2.) Linearity i
Linear Resistor
Does V = IR?
Velocity saturation of carriers Velocity saturation
3.) Power v
Breakdown
Voltage 060211-01
P = VI = I2R
4.) Current
Electromigration Metal 050304-04
5.) Parasitics
R R
R
Cp Cp
060210-01
Cp 2 2
Polysilicon Resistor
N-well Resistor
Metal n+ First Level Metal
Tungsten Intermediate Tungsten
Plug Oxide Layer Plug
FOX FOX FOX n+ n+
n- well L
L STI STI
n-well
p- substrate
060214-04 LOCOS Technology p-substrate
1000-5000 ohms/square
Absolute accuracy = ±40%
Relative accuracy 5%
Temperature coefficient = 4000 ppm/°C
Voltage coefficient is large 8000 ppm/V
Comments:
• Good when large values of resistance are needed.
• Parasitics are large and resistance is voltage dependent
• Could put a p+ diffusion into the well to form a pinched resistor
Metal as a Resistor
Illustration: A
L1 L5
B
Second
Inter- Level
mediate Tungsten Plug Metal
L2 Tungsten Plug L4
Oxide First
Layers Level
L3 Metal
Salicide
Substrate
060214-05
Resistance from A to B = Resistance of segments L1, L2, L3, L4, and L5 with some
correction subtracted because of corners.
Sheet resistance:
50-70 m/ ± 30% for lower or middle levels of metal
30-40 m/ ± 15% for top level metal
Watch out for the current limit for metal resistors.
Contact resistance varies from 5 to 10. Tj(°C) Tr(°C) Dt
Tempco +4000 ppm/°C <85 85 1
100 85 0.63
Need to derate the current at higher temperatures: 110 85 0.48
IDC(Tj) = Dt·IDC(Tr) 125 85 0.32
150 85 0.18
CMOS Analog Circuit Design © P.E. Allen - 2010
060612-01
Performance:
Sheet resistivity is approximately 5-10 ohms/square
Temperature coefficients of less than 100 ppm/°C
Absolute tolerance of better than ±0.1% using laser trimming
Selectivity of the metal etch must be sufficient to ensure the integrity of the thin-film
resistor beneath the areas where metal is etched away.
Substrate Substrate
Active area (diffusion) Substrate Well diffusion Active area (diffusion)
L
Metal 1
Metal 1
L
Diffusion or polysilicon resistor Well resistor 060219-01
L3
L1
L2 L4 L4 L4 L4 L4 L2
060220-01
Corner corrections:
0.5
1.45 1.25
Fig. 2.6-16B
L1 W
060220-02
050416-02
3.8μm 4μm
1.8μm 2μm
10μm 041020-01
The actual matching ratio due to the etching bias is,
R2 W 1 4-0.2 3.8
R1 = W 2 = 2-0.2 = 1.8 = 2.11 5.6% error in matching
Use the replication principle to eliminate this error.
Dummy
Dummy
A B C A B C
041025-04
The objective is to make A = B = C. In the left-hand case, B is larger due to the slower
etch rates on both sides of B. In the right-hand case, the dummy strips have caused the
etch rates on both sides of A, B and C to be identical leading to better matching.
It may be advisable to connect the dummy strips to ground or some other low impedance
node to avoid static electrical charge buildup.
n-epi
041025-05
If A, B, and C are resistors that are to be matched, we see that the effective concentration
of B is larger than A or C because of diffusion interaction. This would cause the B
resistor to be smaller even though the geometry is identical.
Solution: Place identical dummy resistors to the left of A and right of C. Connect the
dummy resistors to a low impedance to prevent the formation of floating diffusions that
might increase the sensitivity to latchup.
Thermoelectric Effects
The thermoelectric effect, also called the Seebeck effect, is a potential difference that is
developed between two dissimilar materials that are at different temperatures. The
potential developed is given as,
V = S·T
where,
S = Seebeck coefficient ( 0.4mV/°C)
T = temperature difference between the two metals
Thus, a temperature difference between the contacts to a resistor and the resistor of 1°C
can generate a voltage of 0.4mV causing problems in certain circuits (bandgap).
+ + + + + + + +
Two possible resistor Cold
layouts with regard
Resistor Segment
Resistor Segment
Resistor Segment
Resistor Segment
Resistor Segment
Resistor Segment
Resistor Segment
Resistor Segment
to the thermoelectric
effect:
Hot
- - - - - - - -
Thermoelectric potentials add Thermoelectric potentials cancel 041026-07
n diffused
resistor
INDUCTORS
Characterization of Inductors
1.) Value of the inductor 2r
Spiral inductor†:
L μ0n2r = 4x10-7n2r 1.2x10-6n2r
n=3
L
2.) Quality factor, Q = R
1 060216-02
3.) Self-resonant frequency: fself =
LC
†
H.M Greenhouse, “Design of Planar Rectangular Microelectronic Inductors,” IEEE Trans. Parts, Hybrids, and Packaging, vol. 10, no. 2, June 1974,
pp. 101-109.
CMOS Analog Circuit Design © P.E. Allen - 2010
IC Inductors
What is the range of values for on-chip inductors?
;;;;;; 12
10
Inductor area is too large
Inductance (nH)
8
6 ωL = 50Ω
;;;;;;
4
Interconnect parasitics
2 are too large
0 0 10 20 30 40 50
Frequency (GHz) Fig. 6-5
β β
d Fig.6-6
;;;;;
W
SiO2
I ID I
Silicon
S
I Fig. 6-9
Nturns = 2.5
Typically: 3 < Nturns < 5 and S = Smin for the given current
Select the OD, Nturns, and W so that ID allows sufficient magnetic flux to flow
through the center.
Loss Mechanisms:
• Skin effect
• Capacitive substrate losses
• Eddy currents in the silicon
S Next Level
Metal
Vias Oxide
Next Level Oxide
Metal
D
Silicon Substrate
N turns
030828-01
D
• Spiral inductor is implemented using metal layers in CMOS technology
• Topmost metal is preferred because of its lower resistivity
• More than one metal layer can be connected together to reduce resistance or area
• Accurate analysis of a spiral inductor requires complex electromagnetic simulation
• Optimize the values of W, S, and N to get the desired L, a high Q, and a high self-
resonant frequency
• Typical values are L = 1-8nH and Q = 3-6 at 2GHz
Inductor Modeling
Model:
Cp
L Rs
37.5μ0N2a2 ox
L 11D-14a Cox = W·L· tox
Cox Cox
2 2 L WLCsub
Rs W(1-e-t/) R1 2
C1 R1 C1 R1 ox 2
Cp = NW2L· tox C1 WLCsub
030828-02 where
-7
μ0 = 4x10 H/m (vacuum permeability)
= conductivity of the metal
a = distance from the center of the inductor to the middle of the windings
L = total length of the spiral
t = thickness of the metal
= skin depth given by = 2/W μ0
Gsub(Csub) is a process-dependent parameter
†
Jaime Aguilera, et. al., “A Guide for On-Chip Inductor Design in a Conventional CMOS Process for RF Applications,” Applied Microwave &
Wireless, pp. 56-65, Oct. 2001.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 070 – Resistors and Inductors (4/19/10) Page 070-27
Design Example
A 2GHz LC tank is to be designed as a part of LC oscillator. The C value is given as 3pF.
(a) Find value of L. (b) Design a spiral inductor with L value (± 5% range) from (a) using
ASITIC. Optimize design parameters, W, S, D and N to get a high Q (Qmin = 5). Show L,
Q, fSR value obtained from simulation. (c) Show the layout. (d) Give a lumped circuit
model.
Solution
(a) LC tank oscillation frequency is given as 2GHz.
1 1 1
osc = L= = -12 = 2.1110
-9
LC , 2 9 2
osc C (2 2 10 ) (3 10 )
L = 2.11nH is desired.
(b) L = 2.11nH(± 5%) is used as input parameter. Several design parameters are tried
to get high Q and fSR values. Final design has
• Parameters: W = 19um, S = 1um, D = 200um, N = 3.5
• Resulting inductor: L = 2.06nH, Q = 7.11, fSR = 9.99GHz @ 2GHz
This design is acceptable as Q > Qmin and f < fSR .
Design Example-Continued
(c.) ASITIC generates a layout automatically. It can be
saved and imported to use in other tools such as Cadence,
ADS and Sonnet.
123fF 128fF
4.51
-3
The model is usually not symmetrical and this can be used for differential configuration
where none of the two ports are ac-grounded.
Example
Fig. 2.5-12
Q = 5-6, fSR = 30-40GHz. Q = 10-11, fSR = 15-30GHz1. Good for high L in small area.
1
The skin effect and substrate loss appear to be the limiting factor at higher frequencies of self-resonance.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 070 – Resistors and Inductors (4/19/10) Page 070-31
Inductors - Continued
Self-resonance as a function of inductance. Outer dimension of inductors.
Transformers
Transformer structures are easily obtained using stacked inductors as shown below for a
1:2 transformer.
Method of reducing the
inter-winding capacitances.
Transformers – Continued
A 1:4 transformer:
Structure- Measured voltage gain-
Secondary
Summary of Inductors
Scaling? To reduce the size of the inductor would require increasing the flux density
which is determined by the material the flux flows through. Since this material will not
change much with scaling, the inductor size will remain constant.
Increase in the number of metal layers will offer more flexibility for inductor and
transformer implementation.
Performance:
• Inductors
Limited to nanohenrys
Very low Q (3-5)
Not variable
• Transformers
Reasonably easy to build and work well using stacked inductors
• Matching
Not much data exists publicly – probably not good
SUMMARY
• Types of resistors include diffused, well, polysilicon and metal
• Resistors are characterized by:
- Value
- Linearity
- Power
- Parasitics
• Technology effects on resistors includes:
- Process bias
- Diffusion interaction
- Thermoelectric effects
- Piezoresistive effects
• Inductors are made by horizontal metal spirals, typically in top metal
• Inductors are characterized by:
- Value
- Losses
- Self-resonant frequency
- Parasitics
• RF transformers are reasonably easy to build and work well using stacked inductors
LATCHUP
What is Latchup?
• Latchup is the creation of a low impedance path essive Curre
xc
between the power supply rails.
nt
E
Latchup Testing
The test for latchup defines how the designer must think about latchup.
• For latchup prevention, you must consider where a current limited (100mA), 10ms
pulse is going to go when applied to a pad when the voltage compliance of the pad is
constrained to 50% above maximum power supply and to 2V below ground. (Higher
temperatures, 85C°and 125°C, are more demanding, since VBE is lower.)
100m
A
10m
s
VDD
050727-06
• Latchup is sensitive to layout and is most often solved at the physical layout level.
Hold vPNPN
Cathode Cathode Avalanche Sustaining
Voltage, VH voltage, VS
Breakdown Body diode 050414-01
(CMOS)
Important concepts:
• To avoid latchup, vPNPN VS
• Once the pnpn structure has latched up, the large current required by the above i-v
characteristics must be provided externally to sustain latchup
• To remove latchup, the current must be reduced below the holding current
Latchup Triggering
Latchup of the SCR can be triggered by two different mechanisms.
1.) Allowing vPNPN to exceed the sustaining voltage, VS.
2.) Injection of current by a triggering device (gate triggered)
Anode Pad VDD
pnp Gate
Gate Current
Injector Injector
npn Gate
Gate Current
SCR SCR
+fb
VDD ii βn βp io
loop
050414-04
Loop gain:
io
i i p n
2.) A bias condition must exist such that both bipolars are turned on long enough for
current through the “SCR” to exceed its switching current.
3.) The bias supply and associated circuits must be capable of supplying the current at
least equal to the switching current and at least equal to the holding current to maintain
the latched state.
VDD
vIN
vOUT
vOUT
vIN
VDD
Rw3
LT2
Rs1 LT1 Rw2
Rs2 Rw4 VT2 VT1 Rw1
Rs3 Rs4
p+ p p- n- n n+ Oxide Poly 1 Poly 2 Nitride Salicide Metal 050416-03
Parasitic components:
Lateral BJTs LT1 and LT2
Vertical BJTs VT1 and VT2
Bulk substrate resistances Rs1, Rs2, Rs3, and Rs4
Bulk well resistances Rw1, Rw2, Rw3, and Rw4
Voltage Compliant
vIN vOUT Current Source VDD
LT2
Rs LT1 VT2 VT1 Rw
Loop gain:
iout Rw Rs
iin = P1Rw+rP1N1Rs+rN1
Rw R s
= P1N1
R + P1 tR + N1Vt
V
w IP1 s IP2
Voltage Compliant
vIN vOUT Current Sink VDD
Rw3
LT2
Rs LT1 VT2 VT1 Rw
Loop gain:
iout Rw Rs
iin = P1
Rw+rP1
N1
Rs+rN1
Rw R s
= P1N1
R + P1VtR + N1Vt
w IP1 s IP2
Clk
Injectors Receiver
Driver
Transmission Gate Clock Driver
050416-09 p+ p p- n- n n+ Oxide Poly 1 Poly 2 Nitride Salicide Metal
The two bold solid bipolar transistors in the transmission gate act as injectors to the npn-
pnp parasitic bipolars of the clock driver and cause these transistors to latchup. The
injector sites are the diffusions connected to the pad.
n-well p-well
Substrate
Preventing Latch-Up
1.) Keep the source/drain of the MOS device not in the well as far away from the well as
possible. This will lower the value of the BJT betas.
2.) Reduce the values of RN- and RP-. This requires more current before latch-up can
occur.
3.) Surround the transistors with guard rings. Guard rings reduce transistor betas and
divert collector current from the base of SCR transistors.
p-channel transistor n-channel transistor
n+ guard bars p+ guard bars
VDD VSS
Decreased bulk
Decreased bulk
resistance
resistance
p+ p p- n- n n+ 051201-01
p+ p p- n- n n+ 051201-02
Also, the increased doping level of the n+ (p+)guard ring in n (p) material decreases the
resistance in the area of the guard ring.
vOUT VDD
Rw
Rs
Rw
Rs
• The guard rings also help to reduce the effective well and substrate resistance.
• The guard rings reduce the lateral beta
Key: The guard rings should act like collectors
vIN
Rs Rw
050727-01
Risetime
0 t
0 070210-01
ESD Models
• Human body model (HBM): Representative of an ESD
event between a human and an electronic component.
050423-02
040929-03
• Charge device model (CDM): Simulates the
ESD event when the component is charged
and then discharges through a pin. The
substrate of the chip becomes charged and
discharges through a pin.
Local Local
Clamp Clamp ESD
Input Internal Output Power
Pad Circuits Pad Rail
Local Local Clamp
Clamp Clamp
040929-06
Local clamp based protection VSS
Local clamps – Conducts ESD current without loading the internal (core) circuits
ESD power rail clamps – Conducts a large amount of current with a small voltage drop
ESD Events:
Pad-to-rail (uses local clamps only)
Pad-to-pad (uses either local or local and ESD power rail clamps)
R
Trigger NMOS
Circuit Clamp
C Inverter
Driver
Operation: VSS 041001-03
• Normally, the input to the driver is
high, the output low and the NMOS clamp off
• For a positive ESD event, the voltage increases across R causing the inverter to turn on
the NMOS clamp providing a low impedance path between the rails
• Cannot be used for pads that go above power supply or are active when powered up
• For power supply turn-on, the circuit should not trigger (C holds the clamp off during
turn-on)
Also, forward biased diodes serve as non-breakdown clamps.
Current
Current
ITarget ITarget
ESD Clamp ESD Clamp
Protected Protected
Device Device
Voltage Voltage
Protected ESD
Case 1 - Okay Case 2 - Protected Device Fails
Device Clamp
Current
Current
ITarget ITarget
ESD Clamp ESD Clamp
Protected
Protected Device
Device
Voltage Voltage
Case 3 - Okay Case 4 - Protected Device Fails
070221-02
Increasing
Target snapback W
Iesd
Increasing
NMOS W Vc Vc Vc
Current
Voltage
Holding Trigger
NMOS Vt voltage voltage
Note that the NMOS clamp does not normally exceed the absolute maximum voltage.
NMOS clamps should be used with EPROMs to avoid reprogramming during an ESD
event.
ESD Practice
General Guidelines:
• Understand the current flow requirements for an ESD event
• Make sure the current flows where desired and is uniformly distributed
• Series resistance is used to limit the current in the protected devices
• Minimize the resistance in protecting devices
• Use distributed (smaller) active clamps to minimize the effect of bus resistance
• Understand the influence of packaging on ESD
• Use guard rings to prevent latchup
Check list:
• Check the ESD path between every pair of pads
• Check for ESD protection between the pad and internal circuitry
• Check for low bus resistance
- Current: Minimum metal for ESD 40 x Electromigration limit
- Voltage: 1.5A in a metal bus of 0.03/square of 1000μm long and 30μm wide gives
a voltage drop of 1.5V
• Check for sufficient contacts and vias in the ESD path (uniform current distribution)
SUMMARY
• Latchup is the creation of a low impedance path between the power supply rails
resulting in excessive current.
• The conditions for latchup are:
- A four-layer, pnpn structure connected between power supply rails
- An injector (any diffusion connected to a pad)
- A stimulus
• Latchup is prevented by:
- Keeping the NMOS and PMOS transistors separated
- Reducing the well resistance with appropriate well ties
- Surrounding the transistors with guard rings
• ESD is caused by triobelectric charging which discharges through the IC when the
power is off
• The current produced by an ESD event must be controlled – uniform current flow,
minimum voltage drop, and must not flow through sensitive circuitry
• An ESD event turns on very quickly (<1ns), has a high peak current (1A), and lasts for
approximately 100 ns.
• ESD clamps consist of breakdown clamps (snapback) and non-breakdown clamps.
INTRODUCTION TO MODELING
Models Suitable for Understanding Analog Design
The model required for analog design with CMOS technology is one that leads to
understanding and insight as distinguished from accuracy.
Technology
Understanding
and Usage
Refined and
optimized
design Fig.3.0-02
This lecture is devoted to the simple model suitable for design not using simulation.
Time Dependence
Time Independent Time Dependent
;;;
Subthreshold (VG<VT)
VB = 0 VS = 0 VG < VT VD = 0
;; ;;;
Polysilicon
;; ;;;
p+ n+ n+
;;;
p- substrate Depletion Region
Threshold (VG=VT)
;;;;;;
;;;
VB = 0 VS = 0 VG =VT VD = 0
Polysilicon
p+
;; ;;;n+ n+
;;;
p- substrate Inverted Region
;;;
VB = 0 VS = 0 VG >VT VD = 0
;;;;;;
;;;
Polysilicon
p+ n+ n+
Fig.3.1-02
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 090 – Large Signal MOSFET Model (3/24/10) Page 090-5
;;;
VGS≤VT:
VB = 0 VS = 0 vG =VT VD = 0.1V iD
;; ;;;
iD
Polysilicon
;; ;;;
p+ n+ n+
;;;
p- substrate Depletion Region 0 vGS
0 VT 2VT 3VT
VGS=2VT:
;;;;
;; ;;;
VB = 0 VS = 0 VG = 2VT VD = 0.1V iD
iD
Polysilicon
p+
;; ;;; n+ n+
;;;
p- substrate Inverted Region
0 vGS
0 VT 2VT 3VT
VGS=3VT:
;;;
VB = 0 VS = 0 VG = 3VT VD = 0.1V iD
;;
;;;;
;;;
Polysilicon
p+ n+ n+
;;;
VDS=0:
VB = 0 VS = 0 vG =2VT VD = 0V iD
;; ;;;
;;;;
iD
Polysilicon VGS = 2VT
;; ;;;
p+ n+ n+
;;;
p- substrate Inverted Region
0 vDS
0 0.5VT VT
VDS=0.5VT:
;;
;;;;
;;;
VB = 0 VS = 0 VG = 2VT VD = 0.5VT iD
iD
Polysilicon VGS = 2VT
p+
;;
;;;;
;;;
n+ n+
;;;
p- substrate Channel current
0 vDS
0 0.5VT VT
VDS=VT:
;;;
VB = 0 VS = 0 VG = 2VT VD =VT iD
;;
;;;;
;;;
iD VGS = 2VT
Polysilicon
p+ n+ n+
A depletion region
p- substrate
forms between the drain and channel 0 vDS
0 0.5VT VT Fig.3.1-04
;;;
VGS=VT:
VB = 0 VS = 0 vG =VT VD = 2VT iD
;; ;;;
iD
Polysilicon
;; ;;;
p+ n+ n+
;;;
p- substrate VGS =VT
0 vDS
0 VT 2VT 3VT
VGS=2VT:
;;
;;;;;;;
VB = 0 VS = 0 VG = 2VT VD = 2VT iD
iD
Polysilicon
;;;;;;;;;
VGS =2VT
p+ n+ n+
;;;
p- substrate
0 vDS
0 VT 2VT 3VT
VGS=3VT:
;;;
VB = 0 VS = 0 VG = 3VT VD = 2VT iD
VGS =3VT
;;;;;;
;;;
iD
Polysilicon
p+ n+ n+
Further increase in
p- substrate
VG will cause the FET to become active 0 vDS
0 VT 2VT 3VT
Fig.3.1-05
1500
VGS = 2.5
iD(μA)
1000
VGS = 2.0
500
VGS = 1.5
iD(μA)
3000
VDS = 2V
2000
VDS = 1V
1000
0
SPICE Input File: 0 1 2 3 4 5
vGS (Volts) Fig. 3.1-7
Transconductance Characteristics for NMOS M5 5 6 0 0 MOS1 w=5u l=1.0u
M1 1 6 0 0 MOS1 w=5u l=1.0u VDS5 5 0 5.0
VDS1 1 0 1.0 VGS 6 0 5
M2 2 6 0 0 MOS1 w=5u l=1.0u .model mos1 nmos (vto=0.7 kp=110u
VDS2 2 0 2.0 +gamma=0.4 lambda=.04 phi=.7)
M3 3 6 0 0 MOS1 w=5u l=1.0u .dc vgs 0 5 .2
VDS3 3 0 3.0 .print dc ID(M1), ID(M2), ID(M3), ID(M4),
M4 4 6 0 0 MOS1 w=5u l=1.0u ID(M5)
VDS4 4 0 4.0 .probe
.end
;;;
SIMPLE LARGE SIGNAL MODEL (SAH MODEL)
;;;
Large Signal Model Derivation +
vGS +
1.) Let the charge per unit area in the channel -
iD - vD
inversion layer be
QI(y) = -Cox[vGS-v(y)-VT] (coul./cm2) n+ n+
v(y)
Source dy Drain
p- y
2.) Define sheet conductivity of the inversion 0 y y+dy L
layer per square as Fig.110-03
cm2
coulombs amps 1
S = μoQI(y) v·s
cm2
= volt = /sq.
3.) Ohm's Law for current in a sheet is
iD dv -iD -iDdy
JS = W = -SEy = -S dy dv = SW dy = μoQI(y)W iD dy = -WμoQI(y)dv
4.) Integrating along the channel for 0 to L gives
L vDS vDS
iDdy = - W μoQI(y)dv = W μoCox[vGS-v(y)-VT]dv
0 0 0
5.) Evaluating the limits gives
W μoCox v2(y)vDS W μoCox vDS2
iD = (vGS-V T)v(y)-
2 0 iD= L (vGS-V T)vDS- 2
L
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 090 – Large Signal MOSFET Model (3/24/10) Page 090-11
Increasing
values of vGS
vDS
The saturation voltage for Fig. 110-04
MOSFETs is the value of drain-source voltage at
the peak of the inverted parabolas. vDS
diD μoCoxW
dvDS = L [(vGS-V T) - vDS] = 0 Cutoff Saturation Active
T
V
S-
vDS(sat)=vGS-VT
vG
S=
Useful definitions:
vD
0 vGS
μoCoxW K’W 0 VT Fig. 3.2-4
L = L =
Illustration of the Need to Account for the Influence of vDS on the Simple Sah Model
Compare the Simple Sah model to SPICE level 2:
25μA
2
K' = 44.8μA/V
20μA 2
k = 0, v DS(sat) K' = 44.8μA/V
= 1.0V k=0.5, v DS(sat)
= 1.0V
15μA
iD
10μA SPICE Level 2
K' = 29.6μA/V 2
5μA k = 0, vDS(sat)
= 1.0V
0μA
0 0.2 0.4 0.6 0.8 1
vDS (volts)
V GS = 2.0V, W/L = 100μm/100μm, and no mobility effects.
or
W μoCox v2DS
iD = L (vGS-V T)vDS-(1+k) 2
To find vDS(sat), set the diD/dvDS equal to zero and solve for vDS = vDS(sat),
vGS-VT
vDS(sat) = 1+k
Therefore, in the saturation region, the drain current is
W μoCox
iD = 2(1+k)L (vGS - VT)2
For k = 0.5 and K’ = 44.8μA/V2, excellent correlation is achieved with SPICE 2
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 090 – Large Signal MOSFET Model (3/24/10) Page 090-15
;;;
VG > VT VD > VDS(sat)
As the value of vDS increases, the
;;;;;;;
effective L decreases causing the B S
current to increase. Depletion
Polysilicon
;;;;;;;
Region
Illustration: p+ n+ n+
eff L
Note that Leff = L - Xd
Therefore the model in saturation p- substrate Xd
becomes, Fig110-06
0.4
PMOS
0.3
0.2
NMOS
0.1
0
0 0.5 1 1.5 2 2.5
Channel Length (microns) Fig.130-6
Most analog designers stay away from minimum channel length to get better gains and
matching at the sacrifice of speed.
060613-02
Influence of the Bulk Voltage on the Large Signal MOSFET Model - Continued
Bulk-Source (vBS) influence on the transconductance characteristics-
iD
Decreasing values
of bulk-source voltage
VBS = 0
ID
vDS > vGS-VT
VGS
vGS
VT0 VT1 VT2 VT3
060612-02
In general, the simple model incorporates the bulk effect into V T by the previously
developed relationship:
Silicon Constants
MOSFET Parameters
Model Parameters for a Typical CMOS Bulk Process (0.25μm CMOS n-well):
SUBTHRESHOLD MODEL
Large-Signal Model for Weak Inversion
The electrons in the substrate at the source side can be expressed as,
s
np(0) = npoexp
V t
The electrons in the substrate at the drain side can be expressed as,
s-vDS
np(L) = npoexp
V t
Therefore, the drain current due to diffusion is,
np(L)-np(0) W
s
vDS
iD = qADn
L =
L qXDnnpoexp
V t 1-exp
- V t
where X is the thickness of the region in which iD flows.
In weak inversion, the changes in the surface potential, s are controlled by changes in
the gate-source voltage, vGS, through a voltage divider consisting of Cox and Cjs, the
depletion region capacitance.
ds Cox 1 vGS vGS-V T Poly
dvGS = Cox+Cjs = n s = n + k1 = n + k2 Oxide Cox vGS
Channel
where Dep. Cjs φs
VT
k2 = k1 + n
Substrate
CMOS Analog Circuit Design 060405-04
© P.E. Allen - 2010
where n 1.5 – 3 iD
If vDS > 0, then VGS=VT
1μA
vDS
W
vGS-V T
iD = It L exp
nVt
1+VA
The boundary between nonsaturated VGS<VT
and saturated is found as,
V ov = VDS(sat) = VON = VGS -VT = 2nVt
0 vDS
0 1V
Fig. 140-03
104
An expression for the electron drift 5x103
velocity as a function of the electric 105 106 107
field is, Electric Field (V/m) Fig130-1
μnE
vd 1+E/E
c
where
vd = electron drift velocity (m/s)
μn = low-field mobility ( 0.07m2/V·s)
Ec = critical electrical field at which velocity saturation occurs
i 1+Ecdy dy = WQI(y)μndv
D
0 0
The result of this integration is,
μnCox W μnCox W
2
iD =
1 vDS L [2(v -V )v -v
GS T DS DS ] = 21+vDS L [2(vGS-V T)vDS-vDS2]
2
1+Ec L
Saturation Voltage
Differentiating iD with respect to vDS and setting equal to zero gives,
1 (VGS-V T)
V’DS(sat) = 1+2(VGS-V T-1 (VGS-V T)1-
2 +···
if
(VGS-V T)
2 <1
Therefore,
(VGS-V T)
V’DS(sat) VDS(sat) 1- 2
+···
Note that the transistor will enter the saturation region for vDS < vGS - VT in the
presence of velocity saturation.
0
0.5 1 1.5 2 2.5 3
vGS (V) Fig130-2
Note as the velocity saturation effect becomes stronger, that the drain current-gate
voltage relationship becomes linear.
SUMMARY
• The modeling of this lecture is devoted to understanding how the circuit works
• The two primary current-voltage characteristics of the MOSFET are the
transconductance characteristic and the output characteristic
• The simple Sah large signal model is good enough for most applications and technology
• The Sah model can be improved in the region of the knee and for the weak dependence
of drain current on drain-source voltage in the saturation region
• Most designers do not work at minimum channel length because of the channel length
modulation effect and because worse matching occurs for small areas
• The threshold voltage is increased as the bulk-source is reverse biased
• The subthreshold model accounts for very small currents that flow in the channel when
the gate-source voltage is smaller than the threshold voltage
• The subthreshold current is exponentially related to the gate-source voltage
• Velocity saturation occurs at minimum channel length and can be modeled by including
a source degeneration resistor with the simple large signal model
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-2
SiO2
Gate
Source Drain
C1 C2 C3
FOX FOX
C4
CBS CBD
Bulk
Fig120-06
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-4
Gate
Channel capacitances:
Source-gate overlap Drain-gate overlap
capacitance CGS (C1) capacitance CGD (C3) C2 = gate-to-channel = CoxW eff·(L-2LD) =
Gate CoxW eff·Leff
FOX FOX C4 = voltage dependent channel-
Source Drain
Gate-Channel Channel-Bulk bulk/substrate capacitance
Bulk
Capacitance (C2) Capacitance (C4)
Fig. 120-09
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-6
Gate
FOX C5 Source/Drain C5 FOX
Bulk
Fig120-10
C5 = CGBO
Capacitance values based on an oxide thickness of 140 Å or Cox=24.7 10-4 F/m2:
Type P-Channel N-Channel Units
CGSO 220 10-12 220 10-12 F/m
CGDO 220 10-12 220 10-12 F/m
CGBO 700 10-12 700 10-12 F/m
CJ 560 10-6 770 10-6 F/m2
CJSW 350 10-12 380 10-12 F/m
MJ 0.5 0.5
MJSW 0.35 0.38
C2
C1 C3
C5 Channel C5
C4 Shallow Shallow Shallow
Shallow Trench Trench Trench
Trench Isolation Isolation Isolation
Isolation
C1 and C3 are overlap capacitors due to lateral diffusion of the source and drain
C2 is the gate to channel capacitance
C4 is the depletion capacitance between the channel and the bulk
C5 is the fringing capacitance between the gate and the bulk around the edges of the
channel
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-8
As the gate-source voltage varies from 0 to VT, the channel-bulk capacitor varies from a
very large capacitor (because of a very small depletion region) to a capacitor much
smaller than C2.
Capacitors in Cutoff:
CGS C1 = Cox·LD·W = CGSO·W
CGD C3 = Cox·LD·W = CGDO·W
CGB C2 varies from Cox·L·W to 2C5
CBD CBD = (CJ·AD)/[1 – (vBD/PB)]MJ + (CJSW·PD)/[1 – (vBD/PB)]MJSW
CBS CBS = (CJ·AS)/[1 – (vBS/PB)]MJ + (CJSW·PS)/[1 – (vBS/PB)]MJSW
070330-06
In the saturation region, C4, becomes small and is not shown above.
Capacitors in Saturation:
CGS C1 = Cox·LD·W + (2/3)Cox·L·W = [CGSO + (2/3)Cox·L]W
CGD C3 = Cox·LD·W = CGDO·W
CGB 2C5 = 2·CGBO·W
CBD CBD = (CJ·AD)/[1 – (vBD/PB)]MJ + (CJSW·PD)/[1 – (vBD/PB)]MJSW
CBS CBS = (CJ·AS)/[1 – (vBS/PB)]MJ + (CJSW·PS)/[1 – (vBS/PB)]MJSW
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-10
070330-07
In the saturation region, C4, becomes small and is not shown above.
Capacitors in Active:
CGS C1 = Cox·LD·W + (1/2)Cox·L·W = [CGSO + (1/2)Cox·L]W
CGD C3 = Cox·LD·W + (1/2)Cox·L·W = [CGSO + (1/2)Cox·L]W
CGB 2C5 = 2·CGBO·W
CBD CBD = (CJ·AD)/[1 – (vBD/PB)]MJ + (CJSW·PD)/[1 – (vBD/PB)]MJSW
CBS CBS = (CJ·AS)/[1 – (vBS/PB)]MJ + (CJSW·PS)/[1 – (vBS/PB)]MJSW
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-12
tox(min) tox(max)
060225-01
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-14
Note: Because the large-signal model for the MOSFET includes all the influences of
voltage on the transistor, we will focus on passive components except for breakdown.
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-16
Depletion region
STI STI
n- well
n-well
p- substrate
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-18
0.1A
Conductivity
modulation
v
060311-01
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-20
-4T
V GS – VT0 - (T-To) = 3 VGS(ZTC)=VT0-To- 3
Let K’ = 10μA/V2, W/L = 5 and VT0 = 0.71V.
At T=27°C(300°K), VGS(ZTC)=0.71-(-0.0023)(300°K)-(0.333)(-0.0023)(300°K)=1.63V
At T = 27°C (300°K), ID = (10μA/V2)(5/2)(1.63-0.71)2 = 21.2μA
At T=200°C(473°K),VGS(ZTC)=0.71-(-0.0023)(300°K)-(0.333)(-0.0023)(473°K)=1.76V
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-22
275°C
60 300°C
ID (A)
40
150°C
275°C 250°C 200°C
Zero TC Point
20 25°C
100°C
0
0 0.6 1.2 1.8 2.4 3
VGS (V) 0600613-01
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-24
;;;
VG > VT VD > VDS(sat)
V GS>VT:
;;;;;;;
B S
Depletion
Polysilicon
;;;;;;;
Region
p+ n+ n+
p-well
n- substrate
V GS<VT:
;;;
Fig.3.6-5
VG <VT VD > VDS(sat)
;;; ;;
B S
Depletion
Polysilicon
;;; ;;
Region
p+ n+ n+
p-well
n- substrate
Fig.3.6-6
Go
iD Is = qA Lp + Ln L N = KT exp V t
3
dIs 3 1 V Go
TCF = IsdT = T + T V t
Example
Assume that the temperature is 300° (room temperature) and calculate the reverse
diode current change and the TCF for a 5° increase.
Solution
The TCF can be calculated from the above expression as TCF = 0.01 + 0.155 = 0.165.
Since the TCF is change per degree, the reverse current will increase by a factor of 1.165
for every degree (or °C) change in temperature. Multiplying by 1.165 five times gives
an increase of approximately 2. Thus, the reverse saturation current approximately
doubles for every 5°C temperature increase.
Experimentally, the reverse current doubles for every 8°C increase in temperature
because the reverse current is in part leakage current.
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-26
Theory:
V G(T)
Is(T) T 3 exp kT
Lecture 100 – MOS Capacitor Model and Large Signal Model Dependence (3/24/10) Page 100-28
SUMMARY
• The large signal capacitance model includes depletion and parallel plate capacitors
• The depletion capacitors CBD and CBS vary with their reverse bias voltage
• The capacitors CGD, CGS, and CGB have different values for the regions of cutoff, active
and saturated
• The large signal model varies with process primarily through μo and tox
• Voltage dependence of resistors and capacitors is primarily due to the influence of
depletion regions
• The temperature dependent large signal model of the MOSFET yields a gate-source
voltage where the derivative of drain current with respect to temperature is zero
• Other MOSFET temperature dependence comes from the leakage currents across
reverse biased pn junctions
id = gmvgs
ID Q
vgs
vGS
VT VGS 060311-03
ΔiD ΔiDʼ Q
vgs
ΔVGS 060311-04
L V DS gmbs =
vBS Q =
2L 2F-VBS
iD | K’W ID K’W
gds = vDS Q = L ( VGS - VT - VDS)(1+VDS) + 1+VDS L (VGS - VT - VDS)
Note:
While the small-signal model analysis is independent of the region of operation, the
evaluation of the small-signal performance is not.
Weak inversion region:
If vDS > 0, then
vDS
W
vGS-V T
iD = It L exp
nVt
1+VA
Small-signal model:
vDS ID qID ID Cox
diD | W It
vGS-V T
diD | ID
gds = dvDS Q V A
NOISE MODELS
Derivation of the Thermal Noise Model
The noise model for the MOSFET is developed for the active region as follows:
In the active region, the channel resistance of the MOSFET is given from the simple large
signal model as,
1 1 1 1
Rchannel = iD | = K’W K’W = gm(sat)
vDSQ L (VGS-VT-VDS) L (VGS-VT)
In the saturation region, approximate the channel resistance as 2/3 the value in the active
region giving,
2 2
Rchannel(sat) = 3gm(sat) = 3gm
We know the current thermal noise spectral density of a resistor of value R is given as
4kT
in2 = R (A2/Hz)
Substituting R by Rchannel(sat) gives the drain current MOSFET thermal noise model as,
8kTgm
in2 = 3 (A2/Hz)
Translating this drain current noise to the gate voltage noise by dividing by gm2 gives
8kT
en2 = 3gm (V2/Hz)
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 110 – Linear Circuit Models (3/24/10) Page 110-11
or
8kT(gm+gmbs) 8kTgm(1+)
in2 = 3 (A2/Hz) =
3 (A2/Hz)
Noise Noise
S B Free
Free S
MOSFET MOSFET S
where
8kTgm(1+) KFID
in2 =
3 +fSCoxL2 (amperes2/Hz)
gmbs
= gm
k = Boltzmann’s constant
KF = Flicker noise coefficient
S = Slope factor of the 1/f noise
KF
It will be convenient to use B = 2CoxK’ to simplify the notation.
Frequency response of MOSFET noise:
Noise Spectral
Density
1/f noise
Thermal noise
fCorner log10 f
060311-06
S S
Circuit 1: Frequency Dependent Noise Model
ei2 Cgd
G D
*
vin ii2 Cgs vgs rds io2
gmvgs
S S
Circuit 2: Input-referenced Noise Model
ii2:
Open-circuit the input and find io2 of both models and equate to get ii2 .
Ckt. 1: io2 = in2
(1/Cgs) gm2ii2
Ckt. 2: io2 = (1/Cds)+(1/Cgs) 2 ii2 + 2(Cgs+Cds)2
gm2 2Cgs2
2Cgs2 in2 if Cgd < Cgs ii2 = gm2 in2
Cp Cp1 Cp2
Conductivity
modulation
2.) Small signal v
060311-01
v = Ri
3.) Noise
en2 = 4kTR or in2 = 4kTG
Capacitor Models
Rp One of the parasitic capacitors
is the top plate and the other
i C(v) is associated with the bottom
+ − plate.
Cp v
Cp
C 060315-03
1.) Large signal Linear
Nonlinear
v
2.) Small signal 060315-04
q = Cv i = C(dv/dt)
060315-05
The noise voltage spectral density of switched capacitor above is given as
2kTRon
eR2on = 4kTRon Volts2/Hz = Volt2/Rad./sec.
The rms noise voltage is found by integrating this spectral density from 0 to to give
2kTRon
12d 2kTRon1 kT
vR2on = 2+2 = 2
= C Volts(rms)2
1
0
where 1 = 1/(RonC). Note that the switch has an effective noise bandwidth of
1
fsw = 4RonC Hz
which is found by dividing the second relationship by the first.
Inductor Models
R = losses of the inductor
Cp = parasitic capacitance to ground
Rp = losses due to eddy currents caused by magnetic flux
1.) Large Signal L
Linear
Nonlinear
2.) Small signal i
d 060316-04 di
= Li dt = v = L dt
3.) Mutual inductance i1 M i2 i1 L1-M L2-M i2
di1 di2
v1 = L1 dt + M dt + + + +
M v1 L1 L2 v2 v1 M v2
di1 di2 k= − −
L1L2 − −
v2 = M dt + L2 dt 060316-05
INTERCONNECTS
Types of “Wires”
1.) Metal
Many layers are available in today’s technologies:
- Lower level metals have more resistance (70 m/sq.)
- Upper level metal has the less resistance because it is thicker (50 m/sq.)
2.) Polysilicon
Better resistor than conductor (unpolysicided) (135/sq.)
Silicided polysilicon has a lower resistance (5/sq.)
3.) Diffusion
Reasonable for connections if silicided (5/sq.)
Unsilicided (55/sq.)
4.) Vias
Vias are vertical metal (tungsten plugs or aluminum)
- Connect metal layer to metal layer (3.5/via)
- Connect metal to silicon or polysilicon contact resistance (5/contact)
Transistors
050319-02
Capacitance of Wires
Self, fringing and coupling capacitances:
Wide Spacing Minimum Spacing
CCoupling CCoupling
CFringe CFringe
Ground plane CSelf
050319-03
Electromigration
Electromigration occurs if the current density is too large and the pressure of carrier
collisions on the metal atoms causes a slow displacement of the metal.
Black’s law:
1
MTF = AJ2 e(Ea/kTj)
Where Metal 050304-04
4 2
A = rate constant (cm /A /hr)
J = current density (A/cm2)
Ea = activation energy in electron volts (0.5eV for Al and 0.7eV for Cu doped Al)
k = Boltzmann’s constant (8.6x10-5 eV/K)
Electromigration leads to a maximum current density,Jmax. Jmax for copper doped
aluminum is 5x105 A/cm2 at 85°C.
If t = 10,000 Angstroms and Jmax = 5x105 A/cm2, then a 10μm wide lead can conduct no
more than 50mA at 85°C.
n-well p-well
DC Ground
Substrate
IA IA+IB IA+IB+IC
Better:
Circuit Circuit Circuit
A B C IC
R
2R IB
3R IA
Best:
Circuit Circuit Circuit
A B C
R IA R IB R IC
050305-04
Kelvin Connections
Avoid unnecessary ohmic drops.
A B A B
X Y
Ohmic Connection Kelvin Connection 041223-12
In the left-hand connection, an IR drop is experienced between X and Y causing the
potentials at A and B to be slightly different.
For example, let the current be 100μA and the metal be 30m/sq. Suppose that the
distance between X and Y is 100 squares. Therefore, the IR drop is
100μA x 30m/sq. x 100sq. = 0.3mV
• Leakage
• Minority Carrier
BJTs:
Injection primarily across the depletion
capacitance.
Passives:
Isolation Techniques
Isolation techniques include both layout and circuit approaches to isolating quiet from
noisy circuits.
CIRCUIT TECHNIQUES
Lecture 110 – Linear Circuit Models (3/24/10) Page 110-36
SUMMARY
• Small signal models are a linear representation of the transistor electrical behavior
• Including the transistor capacitors in the small signal model gives frequency dependence
• Noise models include thermal and 1/f noise voltage or current spectral density models
• Passive component models include the nonlinearity, small signal and noise models
• Interconnects include metal, polysilicon, diffusion and vias
• Electromigration occurs if the current density is too large causing a displacement of
metal
• Substrate interference is due to interaction between various parts of an integrated circuit
via the substrate
• Method to reduce substrate interference include:
- Physical separation
- Guard rings
- Reduced inductance in the power supply and ground leads
- Appropriate contacts to the regions of constant potential
- Reduce the source of interfering noise
- Use differential signal processing techniques
INTRODUCTION
What is Accuracy and Matching?
The accuracy of a quantity specifies the difference between the actual value of the
quantity and the ideal or true value of the quantity.
The mismatch between two quantities is the difference between the actual ratio of the
quantities and the desired ratio of the two quantities.
Example:
x1 = actual value of one quantity
x2 = actual value of a second quantity
X1 = desired value of the first quantity
X2 = desired value of the second quantity
The accuracy of a quantity can be expressed as,
x-X X
Accuracy = X = X
The mismatch, , can be expressed as, x2 X2
x1-X1 X1x2
= X2 = X2x1 - 1
X1
= X2(X1±X1) – 1 = - X
– 1
X1 – 1 1± X2
1+
1
1± X
1
X2 X1 X2 X1
1 ± X2 +- X –1=± X + - X
1 2 1
Thus, the mismatch is approximately equal to the difference in the accuracies of x1 and x2
assuming the deviations (X) are small with respect to X.
1 N
2
s = = N-1 (i-m)
i=1
Example:
10
Number of Samples
9
8
7
6
5
4
3
2
1
0 X
0 1 2 3 4 5 6 7 8 9 1011121314
041005-01
253
m = 40 = 6.325 s = 2.115
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 120 – Component Matching (3/25/10) Page 120-5
Types of Mismatches
1.) Those controlled or influenced by electrical design
- Transistor operation
- Circuit techniques
- Correction/calibration techniques
2.) Those controlled or influenced by physical design
- Random statistical fluctuations (microscopic fluctuations and irregularities)
- Process bias (geometric variations)
- Pattern shift (misalignment)
- Diffusion interactions
- Stress gradients and package shifts
- Temperature gradients and thermoelectrics
- Electrostatic interactions
ELECTRICAL MATCHING
Matching Principle
Assume that two transistors are matched (large signal model parameters are equal).
Then if all terminal voltages of one transistor are equal to the terminal voltages of the
other transistor, then the terminal currents will be matched.
iC1 iC2 iD1 iD2
iB1 iB2
Q1 Q2 M1 M2
iE1 iE2
041005-02
Note that the terminals may be physically connected together or at the same potential but
not physically connected together.
M3 M4 iD1 iD2
M3 M4
+ M1 VB M2 + M1 M2
Vio Vio
VB M1 M2 - -
M5 M5
041005-03
Cascode current mirror:
The key transistors are M1 and M2. The gates and sources are physically connected
and the drains are equal due to M3 and M4 gate-source drops. As a result, iD1 will be
very close to iD2.
Differential amplifier:
When iD1 and iD2 are equal, the fact that the drains of M1 and M2 are equal should
give the smallest value of the input offset voltage, Vio.
Note: Since the drain voltages of M3 and M4 in both circuits are not necessarily equal,
the gate-source voltages of M3 and M4 are not exactly equal which cause the drain
voltages of M1 and M2 to not be exactly equal.
Gate-Source Matching
Not as precise as the previous principle but useful for biasing applications.
A. If the gate-source voltages of two or more FETs are iD1
equal and the FETs are matched and operating in the iD2
M1 M2
saturation region, then the currents are related by the W/L W1 W2
ratios of the individual FETs. The gate-source voltages L1 + + L2
may be directly or indirectly connected. v GS1 vGS2
K’W1 2K’iD1 - -
Fig. 290-02
iD1 = 2L1 (vGS1-V T1)2 (vGS1-V T1)2 = (W 1/L1)
K’W2 2K’iD2 iD1
iD2 = 2L2 (vGS2-V T2)2 (vGS2-V T2)2 = (W 2/L2)
W1
W W W /L + L1
2 1 1 1 vGS1
If vGS1 = vGS2, then L2 iD1= L1 iD2 or iD1=W 2/L2iD2
-
iD2
M2
B. If the drain currents of two or more transistors are equal and the trans- W2
istors are matched and operating in the saturation region, then the gate- + L2
vGS2
source voltages are related by the W/L ratios (ignoring bulk effects). -
Fig. 290-0
If iD1=iD2, then
W 2/L2 W2 W1
vGS1=VT1+ (v -V
W 1/L1 GS2 T2 )orv GS1 =vGS2 L2 = L1
if
f
0 fc 2fc 3fc
VB(f)
f
0 fc 2fc 3fc
VC(f)
f
0 fc 2fc 3fc Fig. 7.5-8
Self-Calibration Techniques
The objective of self-calibration is to increase the matching between two or more
components (generally passive).
The requirements for self-calibration:
1.) A time interval in which to perform the calibration
2.) A means of adjusting the value of one or more of the components.
041007-05
Self-calibration can typically improve the matching by a factor of 2-3 bits (4-8).
041007-06
Assume the amplifier has a DC input offset voltage of Vio. The following shows how to
calibrate one (or both) of the capacitors.
C1 C2
vOUT vx -
+ - - - + +
vOUT
VRef -Vio Vio
+
+ - C1
VRef Vio C2 VRef VRef -Vio
- +
Vio Vio
Variable Components
The correction circuitry should be controlled by logic circuits so that the correction can
be placed into memory to maintain the calibration of the circuit during application.
Implementation for C1 and C2 of the previous example:
C1 C1 C1 C1 C2 C2 C2 C2
C1 1- 1 2K 2K+1 2K+2 2N C2 1- 1 2K 2K+1 2K+2 2N
2K 2K
S1 S2 S3 SN S1 S2 S3 SN
Capacitor C1 Capacitor C2
041007-08
K is selected to achieve the desired tolerance or variation
N is selected to achieve the desired resolution (N > K)
Additional circuitry:
Every self-calibration system will need additional logic circuits to sense when the value
of vx changes from positive to negative (or vice versa) and to store the switch settings in
memory to maintain the calibration.
i
S0 S1 S2 S3 S4 S5 S6 S7 S8 S9
e t1
S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 Tim
R0 R1 R2 R3 R4 R5 R6 R7 R8 R9
VRef
R0 R1 R2 R3 R4 R5 R6 R7 R8 R9
Tim S0 S1 S2 S3 S4 S5 S6 S7 S8 S9
e t2
All resistor are approximately equal
valued to within some tolerance
R0 R1 R2 R3 R4 R5 R6 R7 R8 R9
041010-01
†
L. R. Carley, “A Noise-Shaping Coder Topology for 15+ Bit Converters, IEEE J. of Solid-State Circuits, vol. 24, no. 2, April 1989, pp. 267-273.
CMOS Analog Circuit Design © P.E. Allen - 2010
3
2
Ideal current output level
1
0 t
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Elements → 1 1 1 1 1 1 1,2 1,2 1,2 1,2 1,2 1,2 1,2,3
Error when dynamic +2
Error (%)
Normal
+2
Dynamic Element
PHYSICAL MATCHING
Review of Physical Matching
We have examined these topics in previous lectures. To summarize, the sources of
physical mismatch are:
- Random statistical fluctuations (microscopic fluctuations and irregularities)
- Process bias (geometric variations)
- Pattern shift (misalignment)
- Diffusion interactions
- Stress gradients and package shifts
- Temperature gradients and thermoelectrics
- Electrostatic interactions
†
Alan Hastings, Art of Analog Layout, 2n d ed, 2006, Pearson Prentice Hall, New Jersey
CMOS Analog Circuit Design © P.E. Allen - 2010
†
Alan Hastings, Art of Analog Layout, 2n d ed, 2006, Pearson Prentice Hall, New Jersey
CMOS Analog Circuit Design © P.E. Allen - 2010
Mismatched Transistors
Assume two transistors have vDS1 = vDS2, K1’ K2’ and VT1 VT2. Therefore we have
iO K2’(vGS-VT2)2
iI = K1’(vGS-VT1)2
How do you analyze the mismatch? Use plus and minus worst case approach. Define
K’ = K’2-K’1 and K’ = 0.5(K2’+K1’) K1’= K’-0.5K’ and K2’= K’+0.5K’
VT = VT2-V T1 and VT = 0.5(VT1+VT2) VT1 =VT -0.5VT and VT2=VT+0.5VT
Substituting these terms into the above equation gives,
K’
VT
2
1+
1-
iO (K’+0.5K’)(vGS-VT-0.5VT)2 2K’ 2(vGS-V T)
iI = (K’-0.5K’)(vGS-VT+0.5VT)2 = K’
VT
2
1- 2K’ 1+2(vGS-V T)
Assuming that the terms added to or subtracted from “1” are smaller than unity gives
iO K’
K’
VT
2 VT
2 K’ 2VT
iI ≈
1+ 2K’
1+
1-
1-
2K’ 2(vGS-V T) 2(vGS-V T)
1 + -
K’ (vGS-V T)
If K’/K’ = ±5% and VT/(vGS-V T) = ±10%, then iO/iI 1 ± 0.05 ±(-0.20) = 1±(0.25)
Geometric Effects
How does the size and shape of the transistor effect its matching?
Gate Area:
CVth CKp CW/W
Vth = Kp = K’ W/W =
W effLeff W effLeff W effLeff
where CVth, CKp and CW/W are constants determined by measurement.
Values from a 0.35μm CMOS technology:
10.6mV·μm 8.25mV·μm
Vth,NMOS = Vth,PMOS =
W effLeff W effLeff
and
W W
0.0056·μm 0.0011·μm
W NMOS = W PMOS =
W effLeff W effLeff
The above results suggest that PMOS devices would be better matched than NMOS
devices in this technology.
Pelgrom’s Law
Spatial Averaging: Local and random Threshold mismatch for 0.18m NMOS
variations decrease as the device size
increases, since the parameters “average
out” over a greater area.
Pelgrom’s Law:
Ap2
s2(P) = 2
W L + Sp Dx
2
where,
P = mismatch in a parameter, P
WL = width times the length of the device (effective Pelgrom area)
Ap = proportionality constant between the standard deviation of DP and the area of
the device
Dx = distance between the matched devices
Sp = proportionality constant between the standard deviation of P and Dx
As Dx becomes large, the standard deviation tends to infinity which is not realistic.
†
Alan Hastings, Art of Analog Layout, 2n d ed, 2006, Pearson Prentice Hall, New Jersey
CMOS Analog Circuit Design © P.E. Allen - 2010
SUMMARY
• IC technology offers poor absolute values but good relative values or matching
• In analog circuits, gains are determined by ratios (good matching) and time constants
are determined by products (poor matching)
• Electrical matching is determined in the electrical design phase
- Matching due to equal terminal voltages
- Matching due to process independent biasing
- Doubly correlated sampling
- Self-calibration techniques
- Dynamic element matching
• Physical matching is determined in the physical design phase
- Random statistical fluctuations (microscopic fluctuations and irregularities)
- Process bias (geometric variations)
- Pattern shift (misalignment)
- Diffusion interactions
- Stress gradients and package shifts
- Temperature gradients and thermoelectrics
- Electrostatic interactions
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-2
COMPUTER MODELS
FET Model Generations
• First Generation – Physically based analytical model including all geometry
dependence.
• Second Generation – Model equations became subject to mathematical conditioning for
circuit simulation. Use of empirical relationships and parameter extraction.
• Third Generation – A return to simpler model structure with reduced number of
parameters which are physically based rather than empirical. Uses better methods of
mathematical conditioning for simulation including more specialized smoothing
functions.
Performance Comparison of Models (from Cheng and Hu, MOSFET Modeling & BSIM3
Users Guide)
ModelMinimum Minimum Model iD Accuracy in iD Accuracy in Small signal Scalability
L (μm) Tox (nm) Continuity Strong Inversion Subthreshold parameter
MOS1 5 50 Poor Poor Not Modeled Poor Poor
MOS2 2 25 Poor Poor Poor Poor Fair
MOS3 1 20 Poor Fair Poor Poor Poor
BSIM1 0.8 15 Fair Good Fair Poor Fair
BSIM2 0.35 7.5 Fair Good Good Fair Fair
BSIM3v2 0.25 5 Fair Good Good Good Good
BSIM3v3 0.15 4 Good Good Good Good Good
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-4
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-6
BSIM2 Model
Generic composite expression for the model parameters:
LX WX
X = Xo + Leff + Weff
where
Xo = parameter for a given W and L
LX (WX) = first-order dependence of X on L (W)
Modeling features of BSIM2:
Mobility
• Mobility reduction by the vertical and the lateral field
Drain Current
• Velocity saturation
• Linear region drain current
• Saturation region drain current
• Subthreshold current
μoCoxW eff kT evGS-Vt-Voff
iDS = · · 1-eqVDS/kT
Leff q n
where
NB
V off = VOF + VOFB ·vBS + VOFD ·vDS and n = NO + + ND ·vDS
PHI-vBS
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-7
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-8
5 6 7 8
Weff,2
1 2 3 4
Weff,1
Leff
Leff,1 Leff,2 Leff,3 Leff,4
• A long, wide device is used as the base to add geometry effects as corrections.
• Procedure:
1.) Oxide thickness and the differences between the drawn and effective channel
dimensions are provided as process input.
2.) A long, wide device is used to determine some base parameters which are used as
the starting point for each individual device extraction in the second phase.
3.) In the second phase, a set of parameters is extracted independently for each device
This phase represents the fitting of the data for each independent device to the intrinsic
equation structure of the model
4.) In the third phase, the compiled parameters from the second phase are used to
determine the geometry parameters. This represents the imposition of the extrinsic
structure onto the model.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-9
BSIM3 Model
The background for the BSIM3 model and the equations are given in detail in the text
MOSFET Modeling & BSIM3 User’s Guide, by Y. Cheng and C. Hu, Kluwer Academic
Publishers, 1999.
The short channel effects included in the BSIM3 model are:
• Normal and reverse short-channel and narrow-width effects on the threshold.
• Channel length modulation (CLM).
• Drain induced barrier lowering (DIBL).
• Velocity saturation.
• Mobility degradation due to the vertical electric field.
• Impact ionization.
• Band-to-band tunneling.
• Velocity overshoot.
• Self-heating.
1.) Channel quantization.
2.) Polysilicon depletion.
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-10
INTRODUCTION: This report contains the lot average results obtained by MOSIS from measurements of MOSIS
test structures on each wafer of this fabrication lot. SPICE parameters obtained from similar measurements on a
selected wafer are also attached.
COMMENTS: TSMC 0251P5M.
TRANSISTOR PARAMETERS W/L N-CHANNEL P-CHANNEL UNITS
MINIMUM 0.36/0.24
Vth 0.54 -0.50 volts
SHORT 20.0/0.24
Idss 557 -256 uA/um
Vth 0.56 -0.56 volts
Vpt 7.6 -7.2 volts
WIDE 20.0/0.24
Ids0 6.6 -1.5 pA/um
LARGE 50.0/50.0
Vth 0.47 -0.60 volts
Vjbkd 5.8 -7.0 volts
Ijlk -25.0 -1.1 pA
Gamma 0.44 0.61 V0.5
K’ (Uo*Cox/2) 112.0 -23.0 uA/V2
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-12
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-14
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-16
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-18
vDS >VDSAT
Weak inversion
region 1/2
⎛ K ′ Weff ⎞
m= ⎜⎝ ⎟
2L eff ⎠
0 vGS
0 b′ =VT0 AppB-01
Comments:
• Stay away from the extreme regions of mobility degradation and weak inversion
• Use channel lengths greater than Lmin
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-20
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-22
vGS
VT0 VT1 VT2 VT3
FigAppB-02
By plotting VT versus x of Eq. (13) one can measure the slope of the best fit line from
which the parameter can be extracted. In order to do this, VT must be determined at
various values of vSB using the technique previously described.
VSB =0V
0.5 0.5
(vSB +2 φF ) − (2 φF ) FigAppB-03
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-24
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-26
vDS
AppB-03
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-28
†
Anurag Kaplish, “Parameter Optimization of Deep Submicron MOSFETS Using a Genetic Algorithm,” May 4, 2000, Special Project Report, School
of ECE, Georgia Tech.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-30
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-32
Lecture130 – Computer Models and Extraction of Simple Large Signal Model (3/25/10) Page 130-34
SUMMARY
• Models are much improved for efficient computer simulation
• Output conductance model is greatly improved
• Narrow channel transistors have difficulty with modeling
• Can have discontinuities at bin boundaries
• The BSIM model is a complex model, difficult to understand in detail
• The simple large signal model can be extracted from any computer model
• Extract the model at the desired channel length for the design
• Short channel technology can be modeled by finding the by any optimization routine
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-2
Switch Model
• An ideal switch is a short-circuit when ON IAB
and an open-circuit when OFF. VC = A B RAB = 0Ω
controlling terminal for the switch (VC high (VC= high)
switch ON, VC low switch OFF) +
VC VAB
− RAB = ∞Ω
(VC= low)
• Actual switch: 060526−03
rON VOS
VOS = offset voltage when the switch is ON A B
060526-05 C (G)
On Characteristics of a MOS Switch
Assume operation in active region (vDS < vGS - VT) and vDS small.
μCoxW vDS μCoxW
iD = L (vGS-VT)- 2 vDS
L (vGS - VT)vDS
vDS 1
Thus, RON i =μC W
D ox
L (vGS -V T )
OFF Characteristics of a MOS Switch
If vGS < VT, then iD = IOFF = 0 when vDS 0V.
If vDS > 0, then
1 1
ROFFiD=IOFF
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-4
• To insure that the bulk-source and bulk-drain pn junctions are reverse biased, the bulk
voltage must be less than the minimum analog signal for a NMOS switch.
• To insure that the switch is on, the gate voltage must be greater than the maximum
analog signal plus the threshold for a NMOS switch.
Therefore:
V Bulk 0V
V Gate(on) > 1V + VT
V Gate(off) 0V
Unfortunately, the large value of reverse bias bulk voltage causes the threshold voltage
to increase.
iD 0μA VGS=1.5V
VGS=1.0V
-50μA
-100μA
-1V -0.5V 0V 0.5V 1V
vDS Fig. 4.1-4
SPICE Input File: VGS 2 0 DC 0.0
VBS 3 0 DC -5.0
MOS Switch On Characteristics .DC VDS -1 1 0.1 VGS 1 5 0.5
M1 1 2 0 3 MNMOS W=1U L=1U .PRINT DC ID(M1)
.MODEL MNMOS NMOS VTO=0.7, KP=110U, .PROBE
+LAMBDA=0.04, GAMMA=0.4 PHI=0.7 .END
VDS 1 0 DC 0.0
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-6
10kΩ
W/L = 1μm/1μm
1 kΩ W/L = 5μm/1μm
W/L = 10μm/1μm
100Ω
W/L = 50μm/1μm
10Ω
1V 1.5V 2V 2.5V 3V 3.5V 4V 4.5V 5V
VGS Fig. 4.1-5
Example
Initially assume the capacitor is uncharged. If VGate(ON) is 5V and is high for 0.1μs,
find the W/L of the MOSFET switch that will charge a capacitance of 10pF in five
time constants.
Solution
The time constant must be 100ns/5 = 20ns. Therefore RON must be less than
20ns/10pF = 2k. The ON resistance of the MOSFET (for small vDS) is
1 W 1 1
RON = KN’(W/L)(V GS-V T) L = RON·KN’(V GS-V T) =
2k·110μA/V2·4.3
=1.06
Comments:
• It is relatively easy to charge on-chip capacitors with minimum size switches.
• Switch resistance is really not constant during switching and the problem is more
complex than above.
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-8
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-10
vin
+ vout
+ -
RBulk CH vCH
-
Fig. 4.1-10
Typically, no problems occur unless capacitance voltages are held for a long time. For
example,
vout(t) = vCH e-t/(RBulkCH)
If RBulk 109 and CH = 10pF, the time constant is 109·10-11 = 0.01seconds
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-12
OFF OFF
When the switch is ON, a charge is stored in the
channel which is equal to, vin CL
060613-03
Qch = -WLCox(VH-vin-V T)
where VH is the value of the clock waveform when the switch is on (VH VDD)
When the switch turns OFF, this charge is injected ON
into the source and drain terminals as shown. Clk
Assuming the charge splits evenly, then the change of vin
OFF ΔV
voltage across the capacitor, CL, is
Qch -WLCox(VH-vin-V T) vin e- e-
CL
V = 2CL = 2CL
060613-04
The charge injection does not influence vin because it
is a voltage source.
Clock Feedthrough
In addition to the charge injection, the overlap capacitors of the MOSFET couple the
turning off part of the clock to the load capacitor. This is called clock feedthrough.
The model for this case is given as:
A
B VS +VT
Switch OFF VT
C COL
VL
COL COL
Charge +
injection VS +VT CL
vCL
vin ≈VS ≈VD Circuit at the VL
CL VS
instant gate
-
reaches VS +VT
Fig. 4.1-16
The gate decrease from B to C is modeled as a negative step of magnitude VS +VT - VL.
The output voltage on the capacitor after opening the switch is,
CL COL C C
OL OL
vCL = COL+CLV S-COL+CLV T -(VS+VT -VL)COL+CL VS-(VS+2VT -VL) CL
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-14
To begin the model development, there are two cases of charge injection depending
upon the transition rate when the switch turns off.
1.) Slow transition time – the charge in the channel can react instantaneously to
changes in the turning-off, gate-source voltage.
2.) Fast transition time – the charge in the channel cannot react fast enough to respond
to the changes in the turning-off, gate-source voltage.
Charge
injection
vin CL vin CL
Fig. 4.1-13
1.) During the on-to-off transition time from A to B, the charge injection is absorbed by
the low impedance source, vin.
2.) The switch turns off when the gate voltage is vin+VT (point B).
3.) From B to C the switch is off but the gate voltage is changing. As a result charge
injection occurs to CL.
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-16
Charge Charge
injection injection
vin CL vin CL
Fig. 4.1-14
vGATE vGATE
Charge
vin+VT vin+VT injection
vin vin due to fast
vCL vCL transition
t t
Slow Transition Fast Transition Fig 4.1-15
The time constant of the channel, Rchannel·Cchannel, determines whether or not the
capacitance, CL, fully charges during each voltage step.
†
B.J. Sheu and C. Hu, “Switched-Induced Error Voltage on A Switched Capacitor,” IEEE J. Solid-State Circuits, Vol. SC-19, No. 4, pp. 519-525,
August 1984.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-18
Solution 0V t
0.2ns 50ns
Case 1: Fig. 4.1-17
The value of U is equal to 5V/0.2nS or 25x109. Next we must test to see if the
slow or fast transition time is appropriate. First calculate the value of VT as
V T = VT0 + 2|F|-VBS - 2|F| = 0.7 + 0.4 0.7+1 - 0.4 0.7 = 0.887V
Therefore, 2
VHT 110x10-6·3.1132
V HT =VH-V S-V T = 5-1-0.887=3.113V 2CL = 2·1pF = 5.32x108< 25x109
which corresponds to the fast transition case. Using the previous expression gives,
V error =
176x10-18+0.5(1.58x10-15) 3.32x10-3 176x10-18
-
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-20
Example 2 - Continued
Case 2:
In this case U is equal to 5V/50ns or 1x108 which means that the slow transition
case is valid (1x108 < 5.32x108).
Using the previous expression gives,
176x10-18+0.5(1.58x10-15)
314x10-6 176x10-18
V error = -
- (1+1.774-0)
1x10-12 220x10-6 1x10-12
= -1.64mV
Comment:
These results are not expected to give precise answers regarding the amount of
charge feedthrough one should expect in an actual circuit. Rather, they are a guide to
understand the effects of various circuit elements and terminal conditions in order to
minimize unwanted behavior by design techniques.
W1 WD = W 1
L1 LD 2L1
M1 MD
Fig. 4.1-19
• Requires complementary clocks
• Complete cancellation is difficult and may in fact may make the feedthrough
worse
3.) Use complementary switches (transmission gates)
4.) Use differential implementation of switched capacitor circuits (probably the best
solution)
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-22
Clock
A B A B
VDD
Clock
Advantages:
• Feedthrough somewhat diminished
• Larger dynamic range
• Lower ON resistance
Disadvantages:
• Requires a complementary clock
• Requires more area
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-24
Example 3 - Continued
Error due to NMOS (slow transition):
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-26
C2
vOUT = 2V DD C2+CL+CNMOSswitch
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-28
Simulation:
3.0
Output
2.0
Input
Volts
1.0
0.0
-1.0
0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0
Time (μs) Fig. 4.1-24
†
T.B. Cho and R.R. Gray, “A 10b, 20 Msample/s, 35mW Pipeline A/D Converter,” IEEE J. of Solid-State Circuits, Vol. 30, No. 3m March 1995, pp.
166-172.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-29
φ M9
M12 t
S D
M11 Fig. 4.1-26
low: M7 and M10 make vg=0 and C3 charges to VDD, high: C3 connected to vGS11.
M7 reduces the vDS and vGS of M10 when = 0. M13 ensures that vGS8 VDD.
The parasitics at the source of M11 require this node to be driven from a low impedance.
†
A.M. Abo and P.R. Gray, “A 1.5V, 10-bit, 14.3-MS/s CMOS Pipeline Analog-to-Digital Converter, IEEE J. of Solid-State Circuits, Vol. 34, No. 5,
May 1999, pp. 599-605.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-30
MOSFET DIODE
MOS Diode
When the MOSFET has the gate connected to the drain, it acts like a diode with
characteristics similar to a pn-junction diode.
i
+ +
i
vSG = v
vGS = v
i
- -
v
VT Fig. 4-2-1
Note that when the gate is connected to the drain of an enhancement MOSFET, the
MOSFET is always in the saturation region.
vDS vGS - VT vD - vS vG - vS - VT vD - vG -VT vDG -VT
Since VT is always greater than zero for an enhancement device, then vDG = 0 satisfies
the conditions for saturation.
• Works for NMOS or PMOS
• Note that the drain could be VT less than the gate and still be in saturation
If the threshold voltage is less than 0.4V, the MOS diode is a clear winner over the pn
junction diode even for modest W/L ratios.
Lecture 140 – The MOS Switch and Diode (3/25/10) Page 140-32
SUMMARY
• Symmetrical switching characteristics
• High OFF resistance
• Moderate ON resistance (OK for most applications)
• Clock feedthrough is proportional to size of switch (W) and inversely proportional
to switching capacitors.
• Output offset due to clock feedthrough has 2 components:
Input dependent
Input independent
• Complementary switches help increase dynamic range.
• Fully differential operation should minimize the clock feedthrough.
• As power supply reduces, floating switches become more difficult to fully turn on.
• Switches contribute a kT/C noise which can get folded back into the baseband.
• The gate-drain connected MOSFET can make a good diode realization
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-2
10μA vDS
1V 10V 060526-10
vds 1
AC resistance = id = gds
where
gds 2 (VGS-V T)2 = ID
V DS V T 2
DC resistance = I = I + ID
D D
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-4
20μA
VGS=2V
-20μA
VGS=3V
VGS=4V
-60μA
VGS=5V
VGS=6V
-100μA
-1V -0.6V -0.2V 0.2V 0.6V 1V Fig. 4.2-95
vAB2
iD2 = ß2 (VC-VT)vAB- 2
vAB2 vAB2
iAB = iD1 + iD2 = ß vAB2+(VC-VT)vAB- 2 +(VC-VT)vAB- 2
1
iAB = 2ß(VC - VT)vAB RAB=2ß(VC-V T)
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-6
VBS=-5.0V
0
-1mA
-2mA
-2 -1 0 1 2 Fig. 4.1-11
VDS
SPICE Input File:
NMOS parallel transistor realization VDS 10 0
M1 2 1 0 5 MNMOS W=15U L=3U VSS 5 0 DC -5
M2 2 4 0 5 MNMOS W=15U L=3U .DC VDS -2.0 2.0 .2 VC 3 7 1
.MODEL MNMOS NMOS VTO=0.75, KP=25U, +LAMBDA=0.01, .PRINT DC I(VSENSE)
GAMMA=0.8 PHI=0.6 .PROBE
VC 1 2 .END
E1 4 0 1 2 1.0
VSENSE 10 2 DC 0
Io
i +
Io v
− v
060527-01
• Current is fixed at a value of Io
• Voltage can be any value from + to -
• Be careful when using a current sink or source to replace a MOSFET sink/source in
simulation
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-8
0 vSD = v
0 VGG-|VT0| VDD
0601527-03
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-10
ID
Enhance Provide
Channel Current
0 vGS
0 VT VGS Fig. 280-03
V GS = VT0 + VON = Part to enhance the channel + Part to cause current flow
where
VON = VDS(sat) = VGS - VT0
2ID
V MIN=VON=VDS(sat)= K’(W/L) for the simple current sink.
;
Simulation of a Simple MOS Current Sink
120
100
;
;
Slope = 1/Rout
80
iOUT (μA) ;
10μm iOUT
60 1μm +
vOUT
;
VGS1 =
40 -
1.126V
;
20
Vmin
0
0 1 2 3 4 5
vOUT (Volts)
Comments:
V MIN is too large - desire VMIN to approach zero, at least approach VCE(sat)
Slope too high - desire the characteristic to be flat implying very large output
resistance
(KN’ = 110μA/V2, VT = 0.7Vand = 0.04V-1) rds = 250k
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-12
R
i i
+ +
v + v
VGG - VBias=VGG -
-
0601527-04
Better and more stable implementations of VGG will be shown later.
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-14
The key is to find a feedback circuit that when we calculate the RR, it is non-zero when
port X is shorted and zero when port X is opened. In this case, the resistance at port X
is
Rx = Rx(k=0)[1 + RR(port shorted)]
†
R.B. Blackman, “Effect of Feedback on Impedance,” Bell Sys. Tech.J., Vol. 23, pp. 269-277, October 1943.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-15
RR(Vx = 0) 0
RR(Ix = 0) = 0 (Vin is disconnected
from Vfb)
We see that for series feedback RR(port opened) will be zero and for shunt feedback
that RR(port shorted) will be zero.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-16
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-18
M2 +
+ VDS2 ≥VDS2(sat)
VGS2 − vOUT(min) = VDS1(sat)+VDS2(sat)
− +
VGG2
VDS1= VDS1(sat)
VGG1 −
060527-06
Thus, for the previous NMOS current sink, VGG2 would be equal to,
V GG2 = 2(0.426) + 0.7 = 1.552V
;;
Simulation of the Cascode CMOS Current Sink
Example 120
;;
Slope = 1/Rout
Use the model parameters
100
KN’=110μA/V2, VT = 0.7 and N =
;;
0.04V-1 to calculate (a) the small- 80 All W/Ls are iOUT
iOUT (μA)
signal output resistance for the simple 10μm/1μm +
;;
current sink if IOUT = 100μA and (b) 60 VGG2 =
the small-signal output resistance for 1.552V vOUT
;;
the cascode current sink with IOUT = 40
100μA. Assume that all W/L values VGG1 =
;;
-
are 1. 20 1.126V
Vmin
0
Solution 0 1 2 3 4 5
vOUT (Volts) Fig. 280-12
(a) Using = 0.04 V-1 and IOUT =
100μA gives rds1 = 250k = rds2. (b) Ignoring the bulk effect, we find that gm1 = gm2
= 469μS which gives rout = (250k)(469μS)(250k) = 29.32M.
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-20
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-22
iOUT(μA)
M5 1 3 4 4 MNMOS W=81U L=1U
.MODEL MNMOS NMOS VTO=0.7 KP=110U
+LAMBDA=0.04 GAMMA=0.4 PHI=0.7 60
VDD 6 0 DC 5V
IIN1 6 1 DC 100U
IIN2 6 3 DC 100U 40
VOUT 2 0 DC 5.0
.OP
.DC VOUT 5 0 0.05 20
.PRINT DC ID(M2) VMIN
.END
0
0 1 2 3 4 5
vOUT(V) Fig. 290-06
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-24
†
T.L. Brooks and A.L. Westwick, “A Low-Power Differential CMOS Bandgap Reference,” Proc. of IEEE Inter. Solid-State Circuits Conf., Feb.
1994, pp. 248-249.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-25
†
E. Sackinger and W. Guggenbuhl, “A Versatile Building Block: The CMOS Differential Difference Amplifier,” IEEE J. of Solid-State Circuits,
vol. SC-22, no. 2, pp. 287-294, April 1987.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-26
;;;
VG > VT
;;;;;;;;
B S VD > VDS(sat)
Polysilicon
Depletion
;;;;;;;;
Region
p+ n+ A
Free n+
;;;;;;;;
Fixed electron
Atom
p- substrate Free
hole
Fig130-7
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-28
iDB
G
B
S Fig130-8
Small-signal model:
iDB IDB
gdb = vDB = K2 V DS-VDS(sat) 1nS
This conductance will prevent the realization of high-output resistance current
sinks/sources such as the regulated cascode current sink.
CMOS Analog Circuit Design © P.E. Allen - 201
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-29
+ + vOUT
VGS4AVGS4B IB 2ID4 2IB 2IB+2IREF
- - IREF+IB KN’(W 4A/L4A) - KN’(W 4B/L4B) = KN’(W 2/L2
M1 M2 +
VDS2
- ID4
- IB IB+IREF
W 4A/L4A -
Fig. 290-10
or W 4B/L4B = W 2/L2
A number of solutions exist. For example, let IB = IREF. This gives ID4A = 5.824IREF
assuming all W/L ratios are identical.
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-30
105
BJT Cascode
100 MOS Cascode
Regulated
iOUT (μA)
95 MOS
Cascode
90
85
80
0 0.1 0.2 0.3 0.4 0.5
vOUT (V) Fig. 290-12
Comments:
• The regulated cascode current is smaller than the cascode current because the drain-
source voltages of M1 and M2 are not equal.
• The regulated cascode current sink has a smaller VMIN due to the fact that M3 can
have a drain-source voltage smaller than VDS(sat)
Lecture 150 – Resistor Implementations and Current Sinks and Sources (3/25/10) Page 150-32
SUMMARY
Summary of Both BJT and MOS Current Sinks/Sources
Current Sink/Source rOUT V MIN
Simple MOS Current Sink 1
rds = D V DS(sat) =
V ON
Simple BJT Current Sink VA V CE(sat)
ro = C
0.2V
Cascode MOS gm2rds2rds1 2VON
Cascode BJT Fr o 2VCE(sat)
Regulated Cascode Current Sink rds3gm3rds2gm4(rds4||rds5) VT +VON
Minimum VMIN Regulated rds3gm3rds2gm4(rds4||rds5) VON
Cascode Current Sink
Resistor Implementations
• MOSFET resistors may use less area than actual resistors
• Linearity is the primary issue for MOSFET resistor realizations
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-2
iIN iOUT
Current Current
Mirror Mirror
060528-01
The above current mirrors are referenced with respect to ground. Current mirrors can
also be referenced with respect to VDD and current sink inputs and outputs.
Therefore, Rout, Rin, VMIN(out), VMIN(in), and Ai will characterize the current mirror.
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-4
+ M1 M2 +
vDS1 + vDS2
- -
vGS -
Assume that vDS2 > vGS - VT2, then -
Fig. 300-02
iO L1W 2
V GS-V T2
21+vDS2 K2’
iI = W 1L2
V GS-V T1
1+vDS1K1’
If the transistors are matched, then K1’ = K2’ and VT1 = VT2 to give,
iO L1W 2
1+vDS2
iI = W 1L2
1+vDS1
− 1 ⎥ × 100 %
7.0 Ratio Error vDS2 - vDS1 (volts)
measure .
λ= 0.015
6.0
⎤
⎦
Measure VDS1,VDS2, iI and iO and 5.0
⎣ 1 + λ vDS1
1 + λ vDS2
solve the above equation for the channel λ= 0.01
4.0
modulation parameter, .
Ratio Error ⎡
⎢
3.0
2.0
0.0
0.0 1.0 2.0 3.0 4.0 5.0
Fig. 300-03 vDS2 - vDS1 (volts)
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-6
14.0
Ratio Error ⎡ O − 1 ⎤ × 100 %
12.0
⎥
⎦
10.0 iI = 3μA
⎣ ii
i
8.0
⎢
iI = 5μA
6.0
iI = 10μA
4.0
2.0 iI = 100μA
0.0
0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10
ΔVT (mV) Fig. 300-4
Key: Make the part of VGS causing the current to flow, VON, more significant than VT.
;;;;;;;;;;
M2 M1
We note that
the tolerance + M1 M2 +
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-8
;;;;;; ; ;;
iI iO
;;;;;; ;
M2a M2b M1 M2c M2d iI iO
;;;;;; ; ;; M1 M2
;;;;;; ;
GND
GND
Fig. 300-6
Ib Ib
Ib
M3 M4
iI iO
iI VT iO VT
+ M1 M2
VON +
+ M1
VON + M2 - VT+VON Ib
- VT+VON
- -
Fig. 300-7
Will deal with later in low voltage op amps.
• Minimum output voltage is VMIN(out) = VON
1
• Output resistance is Rout = ID
1
• Input resistance is Rin gm
• Current gain accuracy is poor because vDS1 vDS2
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-10
IIN IOUT
R iin iout
D5=G3
M4 M5 M2 +
1/1 rds5
1/4 1/1 gm5vgs5
M3 M1 iin vin
D3=S5 +
1/1 1/1 gm3vgs3
rds3 vs5
= gm3vin
- S3=G5 -
• Rout gm2rds2rds1 060528-02
+ in R i
• Rin = ? R gm3vgs3
+ +
vin = iinR + rds3(iin-gm3vgs3) M3 M4
vin rds3
+ rds1(iin-gm1vgs1) vin v2 +
M1 M2 gm1vgs1 v1 rds1
But,
-
vgs1 = vin-iinR - - -
and
vgs3 = vin-rds1(iin-gm1vgs1) Self-biased, cascode current mirror Small-signal model to calculate Rin.
Fig. 310-03
= vin-rds1iin+gm1rds1(vin-iinR)
vin = iinR+rds3iin-gm3rds3[vin-rds1iin+gm1rds1(vin-iinR)]+rds1[iin-gm1(vin+iinR)]
vin[1+gm3rds3+gm1rds1gm3rds3+gm1rds1]
= iin[R+rds1+rds3+gm3rds3rds1+ gm1rds1gm3rds3R]
R+rds1+rds3+gm3rds3rds1+gm1rds1gm3rds3R 1
Rin = 1+gm3rds3+gm1rds1gm3rds3+gm1rds1 gm1 + R
• Rout gm4rds4rds2
• V MIN(in) = VT + 2VON •V MIN(out) = 2VON • Current gain matching is excellent
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-12
M3
M1
M4 M2
FIG. 310-11
• Rout gm2rds3
1
• Rin g
m4
• V MIN(out) = VT+2VON (Can be reduced to 2VON)
• V MIN(in) = VT+VON (Can be reduced to VON)
• Current gain matching - good as long as vDS4 = vDS2
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-14
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-16
VREF = VEB = q ln I
VREF 1 1 V REF R1
VEB
SVCC = ln[VCC/(RIs)] = ln(I/Is)
If VCC = 5V, R = 4.3k and Is = 1fA,
then VREF = 0.719V.
VREF
Also, S V = 0.0362 Can use diodes in place of the BJTs.
CC
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-18
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-20
M3 M4 M5
i2 i2=Vtln(i1/Is)/R
M6 I
1 Desired i2=i1
I2 I5 operating
point
M1 M2
+
VEB1
Undesired
+ operating
M7 Q1 - point
R VR
Startup
i1
- -
070621-01
V EB1
Iout = I2 = R
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-22
M3 M4 VT+VON
VON VT
I1
VT I2
VON
M1 M2
VT+VON
R VR
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-24
DD V
Bipolar-Resistance Voltage References
From previous work we know that, R
kT V DD-VREF
+
V REF = q ln RIs
VREF
However, not only is VREF a function of T, but R and Is are also -
functions of T. Fig. 380-1
dVREF k V DD-V REF
kT RIs
-1 dVREF V DD-V REF
dR dIs
dT = qln RIs
+ q VDD-V REF
RIs dT - RIs
RdT+IsdT
V REF Vt dVREF dR dIs
V REF-V GO Vt dVREF 3Vt V t dR
= T - V -V - V +
= - V DD-V REF dT - T - R dT
REF dT
t RdT IsdT
T
DD
V REF-V GO dR 3Vt
dVREF T -V t RdT- T V REF-V GO dR 3Vt
dT = Vt T - V t RdT - T
1+V DD-V REF
1 dVREF V REF-V GO V t dR 3Vt
TCF = V REF dT = V REF·T - V REF RdT - V REF·T
If VREF = 0.6V, Vt = 0.026V, and the R is polysilicon, then at 27°K the TCF is
0.6-1.205 0.026·0.0015 3·0.026
TCF = 0.6·300 - 0.6 - 0.6·300 = 33110-6-65x10-6-433x10-6 =-3859ppm/°C
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-26
1 2(VDD-V T) 1
or VREF = VT - R + + +
R (R)2 VREF
Note that VREF, VT, , and R are all functions of temperature. -
It can be shown that the TCF of this reference is Fig. 380-02
+
2R T RdT
TCF = 1
V REF(1+ 2R(V V ))
DD REF
1 2(50.7) 1
2
V REF = 0.7 22 + 22 + 22
= 1.281V
51.281 1.5
dVREF 2.3x10-3+
2 22
3001500x10 -6
Now, dT = 1 = -1.189x10-3V/°C
1+
222(5-1.281)
The fractional temperature coefficient is given by
1
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-28
Any transistor with VGS = Vbias will have a current flow that is given by 1/2ßR2.
2ß 1 1
Therefore, gm = 2Iß = 2 = R gm=R
2ßR
Lecture 160 – Current Mirrors and Simple References (3/25/10) Page 160-30
PTAT Voltage
The principle illustrated on the last slide requires perfectly linear positive and negative
temperature coefficients to work properly. We will now show a technique of generating
PTAT voltages that are linear with respect to temperature.
Implementation of a PTAT voltage:
I I
1
2
V PTAT = VD = VD1 – VD2 = Vt lnI
- Vt lnI
s1 s2
I
1 Is2
Is2
A2
kT A2
= Vt lnI2Is1
= Vt lnIs1
= Vt lnA1
= q lnA1
if I1 = I2.
A
2
VPTAT = Vt lnA1
Psuedo-PTAT Currents
In developing temperature independent voltages, it is useful to show
how to generate PTAT currents. A straight-forward method is to
superimpose VPTAT across a resistor as shown:
Μ2
Μ3 Μ5 Μ1 Μ3
I1 Μ4 I2 I1 I2
IPTAT’ IPTAT’
+ −
Μ1 + + Μ2
VGS1 VGS2
− −
R IPTAT’ R IPTAT’
D1 D1
A1 D2 A1 D2
A2 A2
In these circuits, I1 = I2 and the voltage across D1 is made equal to the voltage across the
series combination of R and D2 to create the pseudo-PTAT current,
V D1-VD2 kT A2
IPTAT’ = R = Rq lnA1
where VGS1 = VGS2 for the MOSFET only version.
CTAT Voltage
This becomes more challenging because a true CTAT voltage does not exist. The best
approach is to examine the pn junction (can be a diode or BJT).
The current through a pn junction shown can be written as,
qDnni2 qDppno (vDVG0)
v V
D
G0
JD = LnNA + Lp
Vt
= AT exp
V t
Consider the circuit shown. It can be shown, that vD(T) can be given as,
T
T
kT T0
kT JD
vD(T) = V GO 1-T0
+ vD0T0
+ q ln T
+ q lnJD0
where,
V GO = bandgap voltage of silicon (1.205V)
T0 = a reference temperature about which T varies
= a temperature coefficient for the pn junction saturation current ( 3)
JD = pn junction current density
kT T0
In the above expression for vD(T) the term q ln T
is not linear with T!!
This term will create a problem called “bandgap curvature problem” because a perfectly
linear PTAT function cannot be cancelled by a term that is not truly CTAT.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 170 – Temperature Stable References (4/20/10) Page 170-7
The negative feedback loop shown causes the current designated as ICTAT’ to be,
V BE V D
ICTAT’ = R = R
†
I.M. Gunawan, G.C.M. Jeijer, J. Fonderie, and J.H. Huijsing, “A Curvature-Corrected Low-Voltage Bandgap Reference, IEEE J. Solid-state Circuits, vol. SC-28, No. 6, June
1993, pp. 677-670.
CMOS Analog Circuit Design © P.E. Allen - 2010
Series form:
R2
V REF = IPTAT’R2 + VD = R1V PTAT + VCTAT
Parallel form:
R3 R3 R3
R2
VREF = (IPTAT’ + ICTAT’)R3 + VD = R1V PTAT + R2V CTAT = R2
R1V PTAT+VCTAT
To achieve temperature independence, VREF must be differentiated with respect to
temperature and set equal to zero. The resistor ratios and other parameters can be used
to achieve temperature independence.
Example 170-1 – Temp. Independent Constant for Series and Parallel References
(a.) Design the ratio of R2/R1 for the series configuration if VCTAT = 0.6V and A2/A1 = 10
for room temperature (Vt = 0.026V). Assume = 3.2 and = 1. Find the value of VREF.
R2 V GO-VCTAT+(-)Vt0 1.205-0.6+2.2(0.026)
R1 = V PTAT = 0.026(2.3026) = 11.06
2 1
V R1 = VEB2 - V EB1 = V t ln Js2 - Vt ln Js1
I A
R A
2 E1 2 E1
= Vt ln I1AE2 = Vt ln R1AE2
The op amp forces the relationship I1R2 = I2R3
R
R
R A
R
R A
2 2 2 E1 2 2 E1
VREF = VEB2+I2R3 = VEB2+VR1 R = VEB2+ R V tln R A = VCTAT+ R ln R A V t
1 1 1 E2 1 1 E2
Differentiating the above with respect to temperature and setting the result to zero, gives
R
R A
2 2 E1 V GO-VCTAT+(-)Vt0
ln =
R1 R1AE2 Vt
If VOS 0, then VREF becomes,
R2
R2 R A V OS
2 E1
V REF = VEB2 - 1+R1V OS + R1 Vt ln
R1AE2 1-I1R2
†
K.E. Kujik, “A Precision Reference Voltage Source,” IEEE Journal of Solid-State Circuits, Vol. SC-8, No. 3 (June 1973) pp. 222-226.
CMOS Analog Circuit Design © P.E. Allen - 2010
R2
R2AE1
V GO-VCTAT+(-)Vt0 1.205-0.7+(2.2)(0.026)
R1 ln R3AE2 = V PTAT = 0.026 = 21.62
Therefore, R2/R1 = 9.39. In order to use the equation for VREF with VOS 0, we must
know the approximate value of VREF and iterate if necessary because I1 is a function of
V REF. Assuming VREF to be 1.262, we obtain from
R2
R2 R A V OS
2 E1
V REF = VEB2 - 1+R1V OS + R1 Vt lnR1AE2 1-V REF-VEB2-VOS
a new value VREF = 1.153 V. The second iteration makes little difference on the result
because VREF is in the argument of the logarithm
VBE2 - VBE1 Vt
I2
I1 VD1 = I2R1 + VD2
I1 = IPTAT’ = =
ln - ln
R2 R2 Is2 Is1
Vt
Vt Is1 Vt AE1 I3 = I2 = IPTAT’ = R ln(n)
= R2 ln Is2 = R2 ln AE2
R
VREF = VD3 + I3(kR) = VD3 + kVt ln(n)
1 AE1
Since I1= I2, VREF = VBE2 + I1R1 = VBE1 + R2lnAE2Vt
= VCTAT + k ln(n)VPTAT
R
1 AE1
= VCTAT + R2ln AE2 VPTAT
R3
R3
V REF = R1V PTAT + R2V CTAT
Comments:
• The BJT of the ICTAT’ generator can be replaced with an MOSFET-diode equivalent
• Any value of VREF can be achieved
• Part (b.) of Example 170-1 showed how to design the resistors of this implementation
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 170 – Temperature Stable References (4/20/10) Page 170-15
IPTAT IREF
IVBE
+
R3 VREF =VGS(ZTC)
−
060529-09
Comments:
• True temperature independence is only achieved over a small range of temperatures
• References that do not correct this problem have a temperature dependence of 10
ppm°/C to 50 ppm/°C over 0°C to 70°C.
Voltage
• V BE loop
M. Gunaway, et. al., “A Curvature- VPTAT2
Corrected Low-Voltage Bandgap
Reference,” IEEE Journal of Solid- VRef = VBE + VPTAT + VPTAT2
State Circuits, vol. 28, no. 6, pp. 667-
670, June 1993. Temperature Fig. 400-01
• ß compensation
I. Lee et. al., “Exponential Curvature-Compensated BiCMOS Bandgap
References,” IEEE Journal of Solid-State Circuits, vol. 29, no. 11, pp. 1396-1403,
Nov. 1994.
• Nonlinear cancellation
G.M. Meijer et. al., “A New Curvature-Corrected Bandgap Reference,” IEEE
Journal of Solid-State Circuits, vol. 17, no. 6, pp. 1139-1143, December 1982.
IVBE+INL
IPTAT IPTAT V t 2IPTAT
IVBE = R3 lnINL+IConstant
R3 INL VREF
IPTAT where
IConstant
Qn1 Qn2
Iconstant = INL + IPTAT + IVBE
x1 R1
R2 x2 V t V BE
Fig. 400-02
I NL Rx + R2
+
(a quasi-temperature independent current subject to the TCF of the resistors)
where
V t = kT/q
Ic1 and Ic2 are the collector currents of Qn1 and Qn2, respectively
Rx = a resistor used to define IPTAT
V 2IPTAT
BE V t
V REF = R2 +R3lnINL+Iconstant
+IPTAT R1
Vin
V REF = VBE + AT+(1+ß)
R VBE + AT+ ß
R
where
I=AT I=BT A and B are constant
T = temperature
The temperature dependence of ß is
VREF
R BT ß(T) e-1/T ß(T) = Ce-1/T
1+ß
Fig. 400-0
BTe1/T
VREF = VBE(T) + AT+ C
R0 R0 R0
V REF = R0[IPTAT’ + ICTAT’ – Iconst.] = R1 VPTAT + R2 VCTAT - R3 Vconst.
Use the resistor ratios to eliminate the nonlinear term given and .
To cancel the nonlinear CTAT term, we want the following relationship to hold:
R0 R0 R2 (-1)
R2 (-1) = R3 R3 = (Fortunately is always greater than 1)
With these constraints, we find the voltage reference to be,
R0 R0 R0 T
V REF = R1 VPTAT + R2-R3
V GO-T0V GO-V CTAT(T0)
R0 1 R0 T
= R1 VPTAT + R2 V GO-T0V GO-V CTAT(T0)
R0 R2
T
R0 R2
= R2
R1 VPTAT+V GO-T0V GO-V CTAT(T0) = R2 R1 VPTAT+VCTAT(T0), (T = T0)
R0 (3.2)
R2 = 1.262 = 2.535 R0 = 2.535R2 = 17.44k
R3 R2
Since iC2R3 = iC1R2 - VOS
iC2 R2 V OS R2 V OS
Fig. 400-05 VEE
then iC1 = R3 - iC1R3 = R3 1+iC1R2
Therefore,
R A V OS
2 E1
V R1 = -VOS + Vt lnR3AE21+iC1R2
V R
R1
2
V REF = VBE2 - VOS + iC1R2 = VBE2 - VOS + R1
R2 = VBE2 - VOS + R1
R2
R2 R A V OS
2 E1
VREF=VBE2-VOS1+R1
+R1VtlnR3AE21-iC1R2
ID1 ID2
VBias 100µA
M1 M2
100µA
050716-01 1mm
If the bus metal is 50m/sq. and is 5μm wide, the resistance of the bus in one direction is
(50m/sq.)x(1000μm/5μm) = 10. The difference in drain currents for an overdrive of
0.1V is,
V GS1 = 1mV + VGS2 + 1mV = VGS2 + 2mV
ID1 (VGS1-V TN)2 (VGS2-V TN+2mV)2 0.1+0.0022
ID2 = (VGS2-V TN)2 = (VGS2-V TN)2 = 0.1 = 1.04
The currents are used to distribute the bias voltages to remote sections of the chip.
Ib Ib VPBias2
VNBias2
VNBias1
Fig. 400-08
INTRODUCTION
Types of Amplifiers
Amplifier Notation
Simpler notation:
VDD VDD
Input Output Input Output
Voltage Voltage Voltage Voltage Voltage Voltage
Amplifier Amplifier
VSS
060607-03 Split Power Supplies Single Power Supply
Characterization of an Amplifier
1.) Large signal static characterization:
• Plot of output versus input (transfer curve)
• Large signal gain
• Output and input swing limits
2.) Small signal static characterization:
• AC gain
• AC input resistance
• AC output resistance
3.) Small signal dynamic characterization:
• Bandwidth
• Noise
• Power supply rejection
4.) Large signal dynamic characterization:
• Slew rate
• Nonlinearity
Transconductance Transresistance
Stage Stage
Input Output Input Output
Voltage Voltage Voltage Voltage Voltage-to Current Current-to Voltage
Amplifier Current Voltage
Conversion Conversion
ID (mA)
0.3
M1 +
E vIN=2.0V vOUT
0.2
M2 + W1 2μm
vIN =
0.1 L1 1μm
vIN=1.5V - -
D
C A,B vIN=1.0V
0.0
0 1 2 3 4 5
vOUT 5
A B M2 cutoff
4 M2 saturated
C
ed
3 rat
atu tive
vOUT
D s
1 c
2 M 1a
E M
F
1 G H I J K
Fig. 320-02 0
0 1 2v
IN
3 4 5
The boundary between active and saturation operation for M1 is
vDS1 vGS1 - VTN vOUT vIN - 0.7V
M2 gm2vgs2
ID rds2 Rout
vOUT G1
D1=D2=G2
+ + + +
vIN vin gm1vgs1 vout vin vout
M1 rds1 gm1vin rds1 gm2vout rds2
- - - -
S1=B1 Fig. 320-03
Sum the currents at the output node to get,
gm1vin + gds1vout + gm2vout + gds2vout = 0
Solving for the voltage gain, vout/vin, gives
vout gm1 gm1 K'NW 1L2 1/2
vin = gds1+gds2+gm2 gm2 = K'PL1W 2
The small-signal output resistance can also be found from the above by letting vin = 0 to
get,
1 1
Rout = gds1+gds2+gm2 gm2
To construct a Bode asymptotic magnitude plot for a low pass transfer function in the
form of products of roots:
1.) Start at a low frequency and plot 20 log10(|T(0)| until you reach the smallest root.
2.) At the frequency equal to magnitude of the smallest root, change to a line with a slope
of +20dB/decade if the root is a zero or -20dB/decade if the root is a pole.
3.) Continue increasing in frequency until you have plotted the influence of all roots.
Note: The roots maximally influence the magnitude when is such that the angle
between the vector and the horizontal axis is 45°. This occurs at j1 for p1 and j10 for z1.
From the graph, we see that the -3dB bandwidth is close to 11-12 Mrad/sec or 1.75-
1.91MHz.
z1
0dB log10ω
|p1| ≈ ω-3dB
0512-06-02.EPS
Observation:
In general, the poles in a MOSFET circuit can be found by summing the capacitance
connected to a node and multiplying this capacitance times the equivalent resistance from
this node to ground and inverting the product.
ID (mA)
M1 +
KJIH F E vIN=2.0V vOUT
0.2
G M2 + W1 2μm
vIN =
0.1 D L1 1μm
vIN=1.5V - -
C
A,B vIN=1.0V
0.0
0 1 2 3 4 5
vOUT 5 A B C
D
4
M2 active
ed
3 M2 saturated rat
atu tive
vOUT
1 s
2 M 1 ac
M
E
1 F
G H I J K
0
0 1 2v 3 4 5 Fig. 5.1-5
IN
Regions of operation for the transistors:
M1: vDS1 vGS1 -V Tn vOUT vIN - 0.7V
M2: vSD2 vSG2 - |VTp| VDD-vOUT VDD -V GG2 - |VTp| vOUT 3.2V
M2 rds2
VGG2 ID Rout
vOUT G1 D1=D2
+ + + +
vIN vin gm1vgs1 vout vin vout
M1 rds1 gm1vin rds1 rds2
- - - -
S1=B1=G2 Fig. 5.1-5B
Midband Performance:
vout gm1
2K'NW 1 1/2
1
1 1 1
vin gds1+gds2 L1ID 1+2 D !!! and Rout = gds1+gds2 ID(1+2)
= =
vout
vin Strong Inversion
Weak
Invers-
ion
log(IBias)
≈ 1µA 060614-01
V out(s) gmRout1-z1
Fig. 5.1-4
V in(s) = s
1-p1
1 gm
where gm = gm1, p1 = Rout(Cout+CM) , and z1 = CM
1
and Rout = gds1+gds2 and Cout = Cgd2 + Cbd1 + Cbd2 + CL CM = Cgd1
Therefore, if |p1|<|z1|, then the 3 dB frequency response can be expressed as
gds1+gds2
-3dB 1 = C +C +C +C +C
gd1 gd2 bd1 bd2 L
vIN=2.5V + M1 +
vIN=2.5V vOUT
0.4
F vIN W1 1μm
G vIN=3.0V E =
0.2 vIN=2.0V L1 1μm
H - -
vIN=3.5V vIN=4.5V D vIN=1.5V
I
0.0 vIN=1.0V
0 J,K 1 2 3 4 CA,B 5
vOUT A B C D
E
4 ed Note
rat
satu tive the rail-
1
3 M 1 ac to-rail
vOUT
ve M
cti ted output
2 2 a tura voltage
M sa F
2 swing
1 M
G
H I J K
0
0 1 2v 3 4 5 Fig. 5.1-8
IN
Regions of operation for M1 and M2:
M1: vDS1 vGS1 - VT1 vOUT vIN - 0.7V
M2: vSD2 vSG2-|V T2| VDD -vOUT VDD -vIN-|VT2| vOUT vIN + 0.7V
1
Rout = gds1+gds2
gm1+gm2 gm1+gm2 (gds1+gds2)
z = CM = Cgd1+Cgd2 and p1 = Cgd1+Cgd2+Cbd1+Cbd2+CL
If z1 > |p1|, then
gds1+gds2
-3dB = C +C +C +C +C
gd1 gd2 bd1 bd2 L
eout2 eout2
en12 eeq2
vin M1 vin M1
* *
Fig. 5.1-10
Approach:
1.) Assume a mean-square input-voltage-noise spectral density en2 in series with the
gate of each MOSFET.
(This step assumes that the MOSFET is the common source configuration.)
2.) Calculate the output-voltage-noise spectral density, eout2 (Assume all sources are
additive).
3.) Refer the output-voltage-noise spectral density back to the input to get equivalent
input noise eeq2.
4.) Substitute the type of noise source, 1/f or thermal.
To minimize 1/f noise, 1.) Make L2>>L1, 2.) increase the value of W1 and 3.) choose M1
as a PMOS.
Thermal Noise
8kT
Substituting en2= 3gm into the above gives,
8kT W 2L1K'2 1/2
1/2
eeq(th) =
3[2K'1(W/L)1I1]1/2 1+L2W 1K'1
To minimize thermal noise, maximize the gain of the inverter.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 180 – Inverting Amplifiers (3/27/10) Page 180-31
* + +
vgs2 gm2vgs2 rds1 rds2 eout2
- _
Fig. 5.1-11
We can show that,
eout2 gm2(rds1||rds2) 2
en22 = 1+gm2(rds1||rds2) 1
* M1
Fig. 5.1-13.
The equivalent input-voltage-noise spectral density of the push-pull inverter can be found
as
g e
m1 n1 2 g e
m2 n2 2
eeq =
g +g
m1
+ g +g
m2 m1 m2
If the two transconductances are balanced (gm1 = gm2), then the noise contribution of
each device is divided by two.
The total noise contribution can only be reduced by reducing the noise contribution of
each device.
(Basically, both M1 and M2 act like the “load” transistor and “input” transistor, so
there is no defined input transistor that can cause the noise of the load transistor to be
insignificant.)
SUMMARY
Table of Performance
AC Voltage AC Output Equivalent,
Inverter Gain Resistance Bandwidth (CGB=0) input-referred,mean-
square noise voltage
p-channel -gm1 1 gm2
CBD1+CGS1+CGS2+CBD2 gm2
active load gm2 gm2 en1 + en2 g 2
2 2
inverter m1
Current -gm1 1 gds1+gds2
CBD1+CGD1+CDG2+CBD2 gm2
source load gds1+gds2 gds1+gds2 en12 + en22g 2
inverter m1
Push-Pull -(gm1+gm2) 1 gds1+gds2
gm1en1 2 gm1en1 2
inverter gds1+gds2 gds1+gds2 CBD1+CGD1+CGS2+CBD2 +
+
gm1 gm2 gm1 gm2 +
CMRR is a measure of how well the differential amplifier rejects the common-mode
input voltage in favor of the differential-input voltage.
• Input common-mode range (ICMR)
The input common-mode range is the range of common-mode voltages over which
the differential amplifier continues to sense and amplify the difference signal with the
same gain.
Typically, the ICMR is defined by the common-mode voltage range over which all
MOSFETs remain in the saturation region.
• Output offset voltage (VOS(out))
The output offset voltage is the voltage which appears at the output of the differential
amplifier when the input terminals are connected together.
• Input offset voltage (VOS(in) = VOS)
The input offset voltage is equal to the output offset voltage divided by the differential
voltage gain.
V OS(out)
V OS = AVD
;y ;y
should bulk be connected? Consider a p-well, vG1 M1
iD1 iD2 M2 v
G2
CMOS technology:
+ +
D1 G1 S1 S2 G2 D2 VDD v vGS1 vGS2
IBias ID - -
M4 M3 ISS
n+ n+ p+ n+ n+ n+
VBulk
p-well
n-substrate Fig. 5.2-2
Fig. 5.2-3
1.) Bulks connected to the sources: No modulation of VT but large common mode
parasitic capacitance.
2.) Bulks connected to ground: Smaller common mode parasitic capacitors, but
modulation of VT.
What are the implications of a large common mode capacitance?
+
R − R
vIN
vIN 0V
Little −
+ Large charging
charging of of capacitance
capacitance 070416-02
diOUT K'1ISSW 1
gm = dvID (VID = 0) = ISS = L1
Voltage Transfer Function of the Differential Amplifer with a Current Mirror Load
VDD = 5V
5
2μm 2μm
1μm 1μm M4 active
4
iD3 M3 M4 iD4 iOUT M4 saturated
vOUT (Volts)
2μm 2μm +
1μm iD1 iD2 3
1μm
VIC = 2V
M1 M2
+ + 2
vGS1 - - vGS2 vOUT
2μm ISS M2 saturated
vG1 1μm vG2 1 M2 active
M5
- - -
VBias 0
-1 -0.5 0 0.5 1
vID (Volts) 060705-01
Regions of operation of the transistors:
M2 is saturated when,
vDS2 vGS2-V TN vOUT-V S1 VIC-0.5vID-V S1-V TN vOUT VIC-V TN
where we have assumed that the region of transition for M2 is close to vID = 0V.
M4 is saturated when,
vSD4 vSG4 - |VTP| VDD-vOUT VSG4-|VTP| vOUT VDD-V SG4+|VTP|
The regions of operations shown on the voltage transfer function assume ISS = 100μA.
2·50
Note: VSG4 = 50·2 +|VTP| = 1 + |VTP| vOUT 5 - 1 - 0.7 + 0.7 = 4V
M5
VBias IDD
- -
vSG1 vSG2
+ M1 +
M2
+ +
iD1 iD2 iOUT
iD3 iD4 +
vG1 vG2
M3 vOUT
M4
- - -
Fig. 5.2-7
C3
M3 M4 D1=G3=D3=G4
iD3 iD4 iout G1 G2 rds1 S1=S2 rds2 D2=D4
+ vid -
+ + i3 +
iD1 iD2 +
vg1 vg2 1 rds5 i3 vout
M1 M2 C1
gm3 rds3 gm1vgs1 gm2vgs2 rds4 C2
- - -
vid vout S3 S4
M5 iout'
ISS G1 G2 D1=G3=D3=G4 D2=D4
- + vid -
VBias + + i3 +
vgs1 vgs2 C3
1 vout
gm1vgs1 C1 gm2vgs2 i3 rds2 rds4 C2
- - rds1 rds3 gm3 -
S1=S2=S3=S4 Fig. 330-03
Differential Transconductance:
Assume that the output of the differential amplifier is an ac short.
gm1gm3rp1
iout’ = 1+g r vgs1 gm2vgs2 gm1vgs1 gm2vgs2 = gmdvid
m3 p1
where gm1 = gm2 = gmd, rp1 = rds1rds3 and i'out designates the output current into a short
circuit.
†
It can be shown that the current mirror causes this requirement to be invalid because the drain loads are not matched. However, we will continue to use
the assumption regardless.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 190 – Differential Amplifier (3/27/10) Page 190-11
Common Mode Analysis for the Current Mirror Load Differential Amplifier
The current mirror load differential amplifier is not a good example for common mode
analysis because the current mirror rejects the common mode signal.
VDD
-M3-M4
M1
M3 M4
+
M2
v ≈ 0V
M1 M2 out
vic
+ -
VBias M5
- Fig. 5.2-8A
Totalcommon Commonmode Commonmode
modeOutput = outputdueto - outputdueto
duetovic M1-M3-M4path M2path
Therefore:
• The common mode output voltage should ideally be zero.
• Any voltage that exists at the output is due to mismatches in the gain between the two
different paths.
M3 M4 M3 M4 M3 M4
vo1 vo2 vo1 vo2 vo1 vo2
v1 v2
M1 M2 M1 M2 M1 M2
ISS M5x 12 ISS
vid vid ISS 2 2
2 2 vic vic
M5
VBias VBias
Differential-Mode Analysis:
vo1 gm1 vo2 gm2
-
vid 2gm3 and vid + 2gm4
Note that these voltage gains are half of the active load inverter voltage gain.
Common-Mode Analysis:
+ vgs1 - gm1vgs1
+ +
Assume that rds1 is large and can be ignored
1
(greatly simplifies the analysis). vic 2rds5 rds1 rds3 gm3 vo1
- -
vgs1 = vg1-vs1 = vic - 2gm1rds5vgs1 Fig. 330-06
Solving for vgs1 gives
vic
vgs1 = 1+2gm1rds5
The single-ended output voltage, vo1, as a function of vic can be written as
vo1 gm1[rds3||(1/gm3)] (gm1/gm3) gds5
vic = - 1+2gm1rds5 - 1+2gm1rds5 - 2gm3
Common-Mode Rejection Ratio (CMRR):
|vo1/vid| gm1/2gm3
CMRR = |vo1/vic| = gds5/2gm3 = gm1rds5
How could you easily increase the CMRR of this differential amplifier?
R1 M2
vo1 gm2vo1 vout
gm1vin
vin M1 R2
Fig. 5.2-10C
M3 M4
gm1vid gm1vid rout
2 2
+
M1 gm1vid gm2vid M2
+ 2 2 -
vid vid
vout
2 - + 2
+ -
M5 vid
-
VBias
Fig. 5.2-11
vin
vgs2 = vg2 - vs2 = vin - (gm2rds1)vgs2 vgs2 = 1+gm2rds1
gm2vin
Thus, iout = 1+gm2rds1 = gm2(eff) vin
* M1 M2 * * M1 M2
ito2 vOUT
en32 en42
M3 * * M4 Vout M3 M4
Fig. 5.2-11C
Solve for the total output-noise current to get,
ito 2 = gm12en12 + gm22en22 + gm32en32 + gm42en42
This output-noise current can be expressed in terms of an equivalent input noise voltage
eeq2, given as ito2 = gm12eeq2
Equating the above two expressions for the total output-noise current gives,
gm3 2
eeq = en1 + en2 + gm1 en32+en42
2 2 2
1/f Noise (en12=en22 and en32=en42): Thermal Noise (en12=en22 and en32=en42):
K’NBN L1 2
2BP
16kT
W 3L1K'3 1/2
eeq(1/f)= f W1L1 1+ K’PBP L3
eeq(th)= 3[2K' (W/L) I ]1/21+L3W 1K'1
1 1 1
Linearization
vin vin
-ISS -ISS
060608-03
Method (degeneration):
VDD VDD
M3 M4 M3 M4
iout iout
M1 M2 M1 M2
+ RS RS VDD or + VDD
vin 2 2 2 vin RS 2
− −
M5
VNBias1 M5 VNBias1 M6
060118-10
M1 VBias M2 M1 M2
+ VDD + VDD
or
vin M6 2 M6 2
vin
− M7
M5x1/2 −
VNBias1 M5x1/2 M5
VNBias1 M6
I1 I3
I3 I1
0 vDS1 0 vDS1
0 VDS1<VDS(sat) VDD 0 VSD3<VSD(sat) VDD
(a.) I1>I3. (b.) I3>I1. Fig. 5.2-13
Operation:
• Common mode output voltages are sensed at the gates of MC2A and MC2B and
compared to VCM.
• The current in MC3 provides the negative feedback to drive the common mode output
voltage to the desired level.
• With large values of output voltage, this common mode feedback scheme has flaws.
MC5 M5
MB
Note that RCM1 and RCM2 must not load the output of the differential amplifier.
(We will examine more CM feedback schemes in Lecture 280.)
Example 190-2 - Design of a MOS Differential Amp. with a Current Mirror Load
Design the currents and W/L values of the current mirror load MOS differential amplifier
to satisfy the following specifications: VDD = -VSS = 2.5V, SR 10V/μs (CL=5pF), f-3dB
100kHz (CL=5pF), a small signal gain of 100V/V, -1.5VICMR2V and Pdiss 1mW
Use the parameters of K N’=110μA/V2, K P’=50μA/V2, V TN=0.7V, V TP=-0.7V
N=0.04V-1 and P=0.05V-1.
Solution
1.) To meet the slew rate, ISS 50μA. For maximum Pdiss, ISS 200μA.
2
2.) f-3dB of 100kHz implies that Rout 318k. Therefore Rout = (N+P)ISS 318k
ISS 70μA Thus, pick ISS = 100μA
3.) VIC(max) = VDD - VSG3 + VTN1 2V = 2.5 - VSG3 + 0.7
2·50μA
V SG3 = 1.2V = 50μA/V2(W 3/L3) + 0.7
W3 W4 2
L3 = L4 = (0.5)2 = 8
SUMMARY
• Differential amplifiers are compatible with the matching properties of IC technology
• The differential amplifier has two modes of signal operation:
- Differential mode
- Common mode
• Differential amplifiers are excellent input stages for voltage amplifiers
• Differential amplifiers can have different loads including:
- Current mirrors
- MOS diodes
- Current sources/sinks
- Resistors
• The small signal performance of the differential amplifier is similar to the inverting
amplifier in gain, output resistance and bandwidth
• The large signal performance includes slew rate and the linearization of the
transconductance
• The design of CMOS analog circuits uses the relationships of the circuit to design the dc
currents and the W/L ratios of each transistor
VNBias1
vIN IBias vIN M1
060609-01
vOUT
Large Signal Characteristics: VDD
VON3
V OUT(max) VDD – VDS3(sat)
V OUT(min) VDS1(sat) + VDS2(sat)
Note VDS1(sat) = VON1
VON2
VON1+VON2
VT2
vIN
VON1 VNBias2
060609-02
rds2 g
m2rds2rds3 vout gm2rds2rds3
vout = gm2vs2 r +r rds3 = r +r
v Av= v =+ r +r
ds2 ds3 ds2 ds3 in in ds2 ds3
Rin = Rin’||rds1, Rin’ is found as follows
vs2 = (i1 - gm2vs2)rds2 + i1rds3 = i1(rds2 + rds3) - gm2 rds2vs2
vs2 rds2+rds3 rds2+rds3
Rin' = i1 = 1+gm2rds2 Rin=rds1||1+gm2rds2
Routrds2||rds3
From the previous page, the input resistance to the common gate configuration is,
rds2+RLoad
Rin = 1+gm2rds2
For the various loads shown, Rin becomes:
rds2 1 rds2+rds3 2 rds2+rds4gm3rds3
Rin1 = 1+gm2rds2 gm2 Rin2 = 1+gm2rds2 gm2 Rin3 = 1+gm2rds2 rds!!!
The input resistance of the common gate configuration depends on the load at the drain
The frequency response can be found by replacing rds3 in the previous slide with,
rds3
rds3 sr C +1 where Cout = Cgd2 + Cgd3 + Cbd2 + Cbd3 + CL
ds3 out
V out gm2rds2rds3 1 gm2rds2rds3 1
Av(s) = V in = + rds2+rds3 rds2rds3Cout = + rds2+rds3
1- s
s rds2+rds3 +1 p1
-1
where p1 = rds2rds3Cout -3dB = |p1|
rds2+rds3
M1
vIN
060609-05
†
“Cascode” = “Cascaded triode” see H. Wallman, A.B. Macnee, and C.P. Gadsden, “A Low-Noise Amplifier, Proc. IRE, vol. 36, pp. 700-708, June
1948.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 200 Low Input Resistance Amplifiers (3/27/10) Page 200-7
ID (mA)
K W2 2μm
G F = 1μm
JIH E L2
0.2 vIN=2.0V 3.4V
M3 vOUT
M1
0.1 D W1 = 2μm
vIN=1.5V + L1 1μm
C vIN
A,B vIN=1.0V - -
0.0
0 1 2 3 4 5
vOUT 5 A B C
D
4
E
M3 active
3 M3 saturated M2 saturated
vOUT
M2 active
2
F
G H
1
M1 sat- M1 I J K
urated active
0
Fig. 5.3-2 0 1 2v
IN
3 4 5
M1 sat. when VGG2-V GS2 VGS1-V T vIN 0.5(VGG2+VTN) where VGS1=VGS2
M2 sat. when VDS2VGS2-V TN vOUT-V DS1VGG2-V DS1-V TN vOUT VGG2-V TN
M3 is saturated when VDD-vOUT VDD - VGG3 - |VTP| vOUT VGG3 + |VTP|
(vOUT-vDS1)2
iD2 = 2 (VGG2-vDS1-VT2)(vOUT-vDS1)-
2
Assuming the input is Iin, the vRin Rs C1 ≈ Cgs1 C3 = Cbd1 + Cbd2 + Cgd2
s
nodal equations are, C2 = Cgd1 R3 = rds1||rds2 Fig.
[G1 + s(C1 + C2)]V 1 sC2V out = Iin and (gm1sC2)V 1+[G3+s(C2+C3)]V out = 0
where
G1 = Gs (=1/Rs), G3 = gds1 + gds2, C1 = Cgs1, C2 = Cgd1 and C3 = Cbd1+Cbd2 + Cgd2.
Solving for Vout(s)/Vin(s) gives
V out(s) (sC2gm1)G1
=
V in(s) G1G3+s[G3(C1+C2)+G1(C2+C3)+gm1C2]+(C1C2+C1C3+C2C3)s2 or,
V out(s) gm1 [1s(C2/gm1)]
=
V in(s) G3 1+[R1(C1+C2)+R3(C2+C3)+gm1R1R3C2]s+(C1C2+C1C3+C2C3)R1R3s2
Assuming that the poles are split allows the use of the previous technique to get,
1 1 gm1C2
p1 = R1(C1+C2)+R3(C2+C3)+gm1R1R3C2 gm1R1R3C2 andp2 C1C2+C1C3+C2C3
The Miller effect has caused the input pole, 1/R1C1, to be decreased by a value of gm1R3.
CMOS Analog Circuit Design © P.E. Allen - 2010
+
VNBias2 M2
Cgd1
Rs2
RS + vOUT
+ v1
vS vIN M1 −
- −
060610-02
The Miller effect causes Cgs1 to be increased by the value of 1 + (v1/vin) and appear in
parallel with the gate-source of M1 causing a dominant pole to occur.
The cascode amplifier eliminates this problem by keeping the value of v1/v in small by
making the value of Rs2 approximately 2/gm2.
CURRENT AMPLIFIERS
What is a Current Amplifier?
• An amplifier that has a defined output-input current relationship
• Low input resistance
• High output resistance
Application of current amplifiers:
ii +
ii io io
Ai iS RS ii Ai
-
iS RS Current RL Current RL
Amplifier Amplifier
Single-ended input. Differential input. Fig. 5.4-1
I1 I2
iin iout iin iout
R + C2
vin RL
M1 M2 ≈0
gm1vin rds1 C1 gm2vin rds2 C3
-
Fig. 5.4-3
Current Amplifier
1 1 W 2/L2
Rin = g Rout = I and Ai = W /L .
m1 1 o 1 1
Frequency response:
-(gm1+gds1) -(gm1+gds1) -gm1
p1 = C +C = C +C +C +C C +C +C +C
1 2 bd1 gs1 gs2 gd2 bd1 gs1 gs2 gd2
Note that the bandwidth can be almost doubled by including the resistor, R.
(R removes Cgs1 from p1)
IIN IOUT
iin iout
+ M3 +
VNBias2 M4
vIN vOUT
M1 M2
− −
060610-01
1 W 2/L2
Rin gm1, Rout rds2gm4rds4, and Ai = W 1/L1
Fig. 5.4-5
Rin(nofb.) rds1 1
Rin = 1+Loopgain gm1rds1gm3rds3 = gm1gm3rds3
Small signal analysis:
iin = gm1vgs1 - gds1vgs3
and vgs3 = -vin vgs1 = vin - (gm3 vgs3rds3) = vin(1+gm3rds3)
1
iin = gm1(1+gm3rds3)vin + gds1vin gm1gm3rds3vin Rin gm1gm3rds3
CMOS Analog Circuit Design © P.E. Allen - 2010
vc
RR(vx = 0): -vc' = 0 RR(ix = 0): vc = - vgs3(1+ gm3rds3) = - gm1rds1 (1+ gm3rds3)vc’
vc
RR(ix = 0) = -vc' = gm1rds1 (1+ gm3rds3)
Finally,
1+0 1
Rx = Rin = rds1 1+gm1rds1(1+gm3rds3) gm1gm3rds3
Fig. 5.4-7
SUMMARY
• Low input resistance amplifiers use the source as the input terminal with the gate
generally on ground
• The input resistance to the common gate amplifier depends on what is connected to the
drain
• The voltage driven common gate/common source amplifier has one dominant pole
• The current driven common gate/common source amplifier has two dominant poles
• The cascode amplifier eliminates the input dominant pole for the current driven common
gate/common source amplifier
• Current amplifiers have a low input resistance, high output resistance, and a defined
output-input current relationship
• Input resistances less than 1/gm require feedback
However, all feedback loops have internal poles that cause the benefits of negative
feedback to vanish at high frequencies.
In addition, feedback loops can have a slow time constant from a pole-zero pair.
• Voltage amplifiers using a current amplifier have high values of gain-bandwidth
• Current amplifiers are useful at low power supplies and for switched current
applications
INTRODUCTION
General Considerations of Output Amplifiers
Requirements: VDD
t
i2
Fig. 5.5-005
iOUT
Output Imax due to CL
t
Amplifier +
CL RL vOUT
− Imax due to RL 070422-01
Result:
|iOUT| > CL·SR
vOUT(peak)
|iOUT| > RL
Fortunately, the maximum current for the resistor and capacitor do not occur at the same
time.
Output
vIN Amplifier R
out
vOA t
+
RL vOUT
−
070422-02
CLASS A AMPLIFIERS
Current source load inverter
A Class A circuit has VDD i
VDD+|VSS| D
current flow in the MOSFETs RL
during the entire period of a M2
sinusoidal signal. VGG2 IQ iOUT RL dominates
vOUT
IQ as the load line
Characteristics of Class A iD1
amplifiers:
v M1CL RL vOUT
• Unsymmetrical sinking and IN VSS
IQRL IQRL
VDD
sourcing
VSS Fig. 5.5-1
• Linear
• Poor efficiency
vOUT(peak)2 vOUT(peak)2
PRL 2RL 2RL v
OUT(peak) 2
Efficiency = PSupply = (VDD-V SS)IQ = (V
=
DD-V SS) V DD-V SS
(VDD-VSS) 2RL
Maximum efficiency occurs when vOUT(peak) = VDD = |VSS| which gives 25%.
IQ Larger RL
0 vDS1
IQRL IQRL
VSS 0 VDD Fig. 040-03
M3 M2 RL
where vIN is assumed to be equal to VDD.
If W1/L1 =10 and if vOUT = 0V, then VSS VSS Fig. 040-01
V T1 = 1.08V IOUT equal to 1.11 mA.
However, as vOUT increases above 0V, the current rapidly decreases.
Maximum Sinking Current:
For the current sink load, the sinking current is limited by the bias current.
IOUT(sinking) = IQ
Efficiency of the Class A, source follower:
Same as the Class A, common source which is 25% maximum efficiency
vgs1
+ -
+ C1 +
vin rds1 rds2 RL C2 vout
- gm1vin gm1vout gmbs1vout -
Fig. 040-04
V out gm1 gm1 gm1RL
=
V in gds1+gds2+gm1+gmbs1+GL gm1+gmbs1+GL 1+gm1RL
If VDD = -VSS = 2.5V, Vout = 0V, W1/L1 = 10μm/1 μm, W2/L2 = 1μm/1 μm,
and ID = 500 μA, then:
For the current sink load follower (RL = ):
V out V out
V in = 0.869V/V, if the bulk effect were ignored, then V in = 0.963V/V
For a finite load, RL = 1000:
V out
V in = 0.512V/V
PUSH-PULL AMPLIFIERS
Push-Pull Source Follower
VDD VDD
Can both sink and source VDD
M6
current and provide a slightly M1 VGG
M5 M1
lower output resistance. VSS
VBias VSS
VSS iOUT
vIN iOUT vO
VBias vOUT
RL VDD M4 M2 VDD RL
M2 VDD
Efficiency: vIN M3
Depends on how the transistors VSS
VSS VSS Fig. 060-01
are biased.
• Class B - one transistor has current flow for only 180° of the sinusoid (half period)
vOUT(peak)2
PRL 2RL vOUT(peak)
Efficiency = PVDD =
1 2v
=
OUT(peak) 2 V DD-V SS
(VDD-V SS)2 RL
0V 0mA 0V 0mA
vout vG2 vout vG2
-1V -1V
iD2 iD2
-2V -1mA -2V -1mA
-2 -1 0 1 2 -2 -1 0 1 2
Vin(V) Vin(V)
Class B, push-pull, source follower Class AB, push-pull, source follower Fig. 060-02
Comments:
• Note that vOUT cannot reach the extreme values of VDD and VSS
• IOUT+(max) and IOUT-(max) is always less than VDD/RL or VSS/RL
• For vOUT = 0V, there is quiescent current flowing in M1 and M2 for Class AB
• Note that there is significant distortion at vIN =0V for the Class B push-pull follower
vgs1
+ -
+ C1 +
vin 1 RL C2 vout
g
- gm1vin gm1vout gmbs1vout rds1 gm2vin gm2vout m2gmbs2vout rds2 -
Fig. 060-03
vout gm1+gm2
=
vin gds1+gds2+gm1+gmbs1+gm2+gmbs2+GL
1
Rout = gds1+gds2+gm1+gmbs1+gm2+gmbs2 (does not include RL)
If VDD = -VSS = 2.5V, Vout = 0V, ID1 = ID2 = 500μA, and W/L = 20μm/2μm, Av = 0.787
(RL=) and Rout = 448.
A zero and pole are located at
-(gm1+gm2) -(gds1+gds2+gm1+gmbs1+gm2+gmbs2+GL)
z= C1 p = C1+C2 .
These roots will be at high frequencies because the associated resistances are small.
M2
VTR2 iOUT
vIN vOUT
VTR1
M1CL RL
VDD
M5 M6
M1 M3 VGG3
iOUT
vIN vOUT
M2 M4 VGG4
CL RL
M7 M8
V GG3 and VGG4 can be used to bias this amplifier in class AB or class B operation.
Note, that the bias current in M6 and M8 is not dependent upon VDD or VSS (assuming
V GG3 and VGG4 are not dependent on VDD and VSS).
M8 M3 M4 M9
vin-
M2
M6
Ib I=2Ib M10
vOUT
vIN
VT+2VSat
050423-10
vIN
050423-08
M3
Q1 M2
iB vout vout
iB
M2 Q1
CL CL M3
Comments:
VSS VSS VSS
• Can use either p-well CMOS n-well CMOS Fig. 5.5-8A
substrate or lateral
BJTs.
• Small-signal output resistance is 1/gm which can easily be less than 100.
• Unfortunately, only PNP or NPN BJTs are available but not both on a standard CMOS
technology.
• In order for the BJT to sink (or source) large currents, the base current, iB, must be
large. Providing large currents as the voltage gets to extreme values is difficult for
MOSFET circuits to accomplish.
• If one considers the MOSFET driver, the emitter can only pull to within vBE+VON of the
power supply rails. This value can be 1V or more.
M1 M5 M6 M1
070423-01
rds1||rds2 1
Rout = 1+LoopGain 10 if gm = 500μS and gmrds 100.
2gm2rds
The actual value of Rout will be influenced by the value of RL, particularly if it is small.
Push-Pull Implementation
VDD
Error M2
Amplifier
- + iOUT
vIN vOUT
- +
Error
Amplifier CL RL
M1
Fig. 060-07
VSS
rds1||rds2
Rout = 1+LoopGain
Comments:
• Can achieve output resistances as low as 10.
• If the error amplifiers are not balanced, it is difficult to control the quiescent current in
M1 and M2
• Great linearity because of the strong feedback
• Can be efficient if operated in class B or class AB
• We will consider this circuit in more detail in a later lecture.
R1 R2 iOUT
vIN vOUT
CL RL
M1
VSS Fig. 060-08
R
1
gm1+gm2
1+ R1+R2
gds1+gds2+GL
Let R1 = R2, RL = , IBias = 500μA, W1/L1 = 100μm/1μm and W2/L2 = 200μm/1μm.
Thus, gm1 = 3.316mS, gm2 = 3.162mS, rds1 = 50k and rds2 = 40k.
50k||40k 22.22k
Rout = 3316+3162 = 1+0.5(143.9) = 304
vIN
M1
vOUT
VBN1 Rout
M2
070423-04
1
Rout = gm1K
SUMMARY
• The objectives are to provide output power in form of voltage and/or current.
• In addition, the output amplifier should be linear and be efficient.
• Low output resistance is required to provide power efficiently to a small load resistance
• High source/sink currents are required to provide sufficient output voltage rate due to
large load capacitances.
• Types of output amplifiers considered:
Class A amplifier
Source follower
Class B and AB amplifier
Use of BJTs
Negative shunt feedback
OP AMPS
What is an Op Amp?
The op amp (operational amplifier) is a high gain, dc coupled amplifier designed to
be used with negative feedback to precisely define a closed loop transfer function.
The basic requirements for an op amp:
• Sufficiently large gain (the accuracy of the signal processing determines this)
• Differential inputs
• Frequency characteristics that permit stable operation when negative feedback is
applied
Other requirements:
• High input impedance
• Low output impedance
• High speed/frequency
Why Op Amps?
The op amp is designed to be used with single-loop, negative feedback to accomplish
precision signal processing as illustrated below.
Single-Loop Negative Feedback Network Op Amp Implementation of a Single-Loop
Negative Feedback Network
Feedback Network
Vf(s) Vf(s)
F(s) F(s)
−
Vin(s) + Vout(s) − Vout(s)
Σ A(s) Vin(s)
+
Av(s)
Op Amp 060625-01
V out(s)
The voltage gain, V (s) , can be shown to be equal to,
in
V out(s) Av(s)
V in(s) = 1+Av(s)F(s)
If the product of Av(s)F(s) is much greater than 1, then the voltage gain becomes,
V out(s) 1
V in(s) F(s) The precision of the voltage gain is defined by F(s).
OP AMP CHARACTERIZATION
Linear and Static Characterization of the CMOS Op Amp
A model for a nonideal op amp that includes some of the linear, static nonidealities:
v1 Ricm
CMRR Cicm en2
v2 * -
Rout vout
VOS Cid Rid
+
v1 Ideal Op Amp
Ricm
Cicm
060625-03
where
Rid = differential input resistance
Cid = differential input capacitance
Ricm = common mode input resistance
Ricm = common mode input capacitance
V OS = input-offset voltage
CMRR = common-mode rejection ratio (when v1=v2 an output results)
e2n = voltage-noise spectral density (mean-square volts/Hertz)
Actual -6dB/oct.
Magnitude
GB
ω2 ω 3
0dB ω
ω1
-12dB/oct.
-18dB/oct.
Fig. 110-06
Settling Time
0 t
0 Ts Fig. 110-07
OP AMP CATEGORIZATION
Classification of CMOS Op Amps
Conversion Hierarchy
Current
Voltage Transconductance Transconductance Stage
to Current Grounded Gate Grounded Source
Second
Voltage
Current Class A (Source Class B Stage
to Voltage or Sink Load) (Push-Pull)
Table 110-01
M3 M4
M6
- vout -
M1 M2 vout
vin vin
+
+
VBias M7
M5
VSS
V→I I→V V→I I→V Fig. 6.1-8
VBias
M4 M5
VSS
V→I I→I I →V 060118-10
COMPENSATION OF OP AMPS
Compensation
Objective
Objective of compensation is to achieve stable operation when negative feedback is
applied around the op amp.
Types of Compensation
1. Miller - Use of a capacitor feeding back around a high-gain, inverting stage.
• Miller capacitor only
• Miller capacitor with an unity-gain buffer to block the forward path through the
compensation capacitor. Can eliminate the RHP zero.
• Miller with a nulling resistor. Similar to Miller but with an added series resistance
to gain control over the RHP zero.
2. Self compensating - Load capacitor compensates the op amp (later).
3. Feedforward - Bypassing a positive gain amplifier resulting in phase lead. Gain can be
less than unity.
Because compensation plays such a strong role in design, it is considered before
design.
+ Σ
• Open-loop gain = L(s) = -A(s)F(s) Vin(s) A(s) Vout(s)
V out(s) Fig. 120-01
A(s)
• Closed-loop gain = V in(s) = 1+A(s)F(s)
Stability Requirements:
The requirements for stability for a single-loop, negative feedback system is,
|A(j360°)F(j360°)| = |L(j360°)| < 1 _ |A(j0°)F(j0°)| = |L(j0°)| < 1
where 360°= 0° is defined as
Arg[-A(j0°)F(j0°)] = Arg[L(j0°)] = 0°= 360°
Another convenient way to express this requirement is
Arg[-A(j0dB)F(jw0dB)] = Arg[L(j0dB)] > 0°
where 0dBis defined as
|A(j0dB)F(j0dB)| = |L(j0dB)| = 1
-20dB/decade
0dB ω
-40dB/decade
180
Arg[-A(jω)F(jω)]
225
270
315
ΦM
360 ω0dB ω
Frequency (rads/sec.) 060625-07
A measure of stability is given by the phase when |A(j)F(j)| = 1. This phase is called
phase margin.
Phase margin = M = 360° - Arg[-A(j0dB)F(j0dB)] = 360° - Arg[L(j0dB)]
0.2
0
0 5 10 15 Fig. 120-03
ωot = ωnt (sec.)
A “good” step response is one that quickly reaches its final value.
Therefore, we see that phase margin should be at least 45° and preferably 60° or larger.
(A rule of thumb for satisfactory stability is that there should be less than three rings.)
Note that good stability is not necessarily the quickest rise time.
CMOS Analog Circuit Design © P.E. Allen - 2010
M3 M4 Q3 Q4
M6 Q6
vout vout
- M1 M2 - Q1 Q2
vin vin
+ +
+ M7 + Q7
VBias M5 VBias Q5
- -
VSS VEE Fig. 120-04
Small-Signal Model:
The locations for the two poles are given by the following equations
-1 -1
p’1 = RICI and p’2 = RIICII
where RI (RII) is the resistance to ground seen from the output of the first (second) stage
and CI (CII) is the capacitance to ground seen from the output of the first (second) stage.
CMOS Analog Circuit Design © P.E. Allen - 2010
GB
0dB log10(ω)
Phase Shift -40dB/decade
-45/decade
180°
Arg[-A(jω)]
225°
-45/decade
270°
315°
360° log10(ω)
|p1'| |p2'| ω0dB 060625-08
If we assume that F(s) = 1 (this is the worst case for stability considerations), then the
above plot is the same as the loop gain.
Note that the phase margin is much less than 45° ( 6°).
Therefore, the op amp must be compensated before using it in a closed-loop
configuration.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 220 – Compensation of Op Amps (3/27/10) Page 220-17
MILLER COMPENSATION
Miller Compensation of the Two-Stage Op Amp
VDD VCC
M3 M4
Q3 Q4
CM M6 CM Q6
Cc vout Cc vout
M1 M2 Q1 Q2
- -
vin CI CII vin CI CII
+ +
+ M7 + Q7
VBias M5 VBias Q5
- -
VSS VEE Fig. 120-08
The various capacitors are:
Cc = accomplishes the Miller compensation
CM = capacitance associated with the first-stage mirror (mirror pole)
CI = output capacitance to ground of the first-stage
CII = output capacitance to ground of the second-stage
Cc
v2
+ +
vin gm1vin CI CII vout
rds2||rds4 gm6v2 rds6||rds7
- -
Fig. 120-09
Same circuit holds for the BJT op amp with different component relationships.
σ
p2 p2' p1' p1 z1 Fig. 120-11
|A(jω)F(jω)|
F(jω)=1 -20dB/decade
Compensated
GB
0dB log10(ω)
Phase Shift -40dB/decade
Uncompensated
180°
Arg[-A(jω)F(jω)|
-45/decade
225°
F(jω)=1
270° -45/decade
Compensated Phase
315°
No phase margin Margin
360° log10(ω)
|p1| |p1'| |p2'| |p2|
060118-10
Note that the unity-gainbandwidth, GB, is
1 gmI gm1 gm2
GB = Avd(0)·|p1| = (gmIgmIIRIRII)gmIIRIRIICc = Cc = Cc = Cc
Fig. 120-14
Further Comments on p2
The previous observations on p2 can be proved as follows:
Find the resistance RCc seen by the compensation capacitor, Cc.
Cc VDD
vx
RCc RII
RCc
ix ix
M6 +
RI RI vgs6 RII
− gm6vgs6
060626-02
i3 +
gm1Vin gm2Vin Vo1
2 1 i3
rds1 rds3 gm3 C3 2 rds2 rds4 -
Fig. 120-16
The transfer function from the input to the output voltage of the first stage, V o1(s), can be
written as
V o1(s) -gm1 gm3+gds1+gds3 -gm1 sC3+2gm3
= +1
Vin(s) 2(gds2+gds4) gm3+gds1+gds3+sC3 2(gds2+gds4) sC3+gm3
-1
-1
-1
±180° - tan |p1| - tan |p2| - tan z
= 45°
GB GB
Cc
A
+ +
Vi gmIIVi CII RII Vout
- - Fig.430-09
V out(s) AC s+gmII/ACc
c
=
V in(s) Cc+C s+1/[RII(Cc+CII)]
II
Self-Compensated Op Amps
Self compensation occurs when the load capacitor is the compensation capacitor (can
never be unstable for resistive feedback)
|dB|
Voltage gain:
vout
vin = Av(0) = GmRout
Dominant pole: Stability:
-1 Large load capacitors simply reduce
p1 = R C GB but the phase is still 90° at GB.
out L
Unity-gainbandwidth:
Gm
GB = Av(0)·|p1| = CL
C2 C2
-A -A
R1 C1 R1 C1 C3(1+A)
RootID01
C2 C2
+A +A
R1 C1 R1 C1 C3(1-A)
RootID02
s
V out A(s) p +1
A(s) A(s) 1
then V = 1+A(s)F(s) = 1 =s
in
1+A(s) s p1+1+A(s)
p1+1 VDD
RII
2.) Zeros are also created by two paths from the input to the Cc
output and one of more of the paths is frequency dependent. vout
V out s+1/(R1C1)
+ + =
V in s+1/(R1||R2)C1
Vin R1 R2 Vout
− −
070425−02
CMOS Analog Circuit Design © P.E. Allen - 2010
I5 I6-I5-I7 I5 I5 I7-I5 I5
SR+ = min Cc
, CL = Cc because I6>>I5 SR- = min ,
Cc CL
=
Cc if I7>>I5.
Therefore, if CL is not too large and if I7 is significantly greater than I5, then the slew rate
of the two-stage op amp should be, I5/Cc.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 220 – Compensation of Op Amps (3/27/10) Page 220-31
SUMMARY
• Op amps achieve accuracy by using negative feedback
• Compensation is required to insure that the feedback loop is stable
• The degree of stability is measured by phase margin and is necessary to achieve small
settling times
• A compensated op amp will have one dominant pole and all other poles will be greater
than GB
• A two-stage op amp requires some form of Miller compensation
• A high output resistance op amp is compensated by the load capacitor
• Poles of a CMOS circuit are generally equal to the negative reciprocal of the product of
the resistance to ground from a node times the sum of the capacitances connected to
that node.
• The slew rate of the two-stage op amp is equal to the input differential stage current
sink/source divided by the Miller capacitor
Design Inputs
Boundary conditions:
1. Process specification (VT, K', Cox, etc.)
2. Supply voltage and range
3. Supply current and range
4. Operating temperature and range
Requirements:
1. Gain
2. Gain bandwidth
3. Settling time
4. Slew rate
5. Common-mode input range, ICMR
6. Common-mode rejection ratio, CMRR
7. Power-supply rejection ratio, PSRR
8. Output-voltage swing
9. Output resistance
10. Offset
11. Noise
12. Layout area
M6
M3 M4 Cc
Topology- M1 M2
vout
CL
vin
+
+ M7
VBias M5
-
VSS
DC Currents
Op amp circuit Design of 50µA
or systems CMOS
specifications Op Amps L
W/L ratios W
Component C R
values
060625-06
M6
M3 M4 Cc
vout
- M1 M2 CL
vin
+
+ M7
VBias M5
-
VSS Fig. 6.3-1
Notation:
Wi
Si = Li = W/L of the ith transistor
S6 2S7
4.) For balance, I6 must equal I7 S4= S5 called the “balance conditions”
5.) So if the balance conditions are satisfied, then VDG4 = 0 and M4 is saturated.
Op Amp Specifications
The following design procedure assumes that specifications for the following parameters
are given.
1. Gain at dc, Av(0)
Max. ICMR
2. Gain-bandwidth, GB and/or p3
VDD Vout(max)
3. Phase margin (or settling time) VSG4
+
VSG6
+
- -
4. Input common-mode range, ICMR M6 gm6 or
M3 M4 C Proper Mirroring
5. Load Capacitance, CL gm1
c I 6
VSG4=VSG6
GB =
6. Slew-rate, SR -
Cc vout
Cc ≈ 0.2CL CL
7. Output voltage swing vin M1 M2
(PM = 60°)
+
8. Power dissipation, Pdiss Min. ICMR I 5 I5 = SR·Cc
Vout(min)
+
VBias M5 M7
-
VSS Fig. 160-02
jω
jω3 Loop
Gain RHP Zero Boost
Use of Buffer to Eliminate the Feedforward Path through the Miller Capacitor
Model: C c
+1 Cc
VI
The transfer + +
function is given Inverting vOUT Vin gmIvin CI RI Vout Vo
gmIIVI RII CII
High-Gain - -
by the following Stage
Fig. 430-0
equation,
V o(s) (gmI)(gmII)(RI)(RII)
=
V in(s) 1+s[RICI+RIICII+RICc+gmIIRIRIICc]+s2[RIRIICII(CI+Cc)]
Using the technique as before to approximate p1 and p2 results in the following
-1 -1
p1 RICI+RIICII+RICc+gmIIRIRIICc gmIIRIRIICc
and
-gmIICc
p2 CII(CI+Cc)
Comments:
Poles are approximately what they were before with the zero removed.
For 45° phase margin, |p2| must be greater than GB
For 60° phase margin, |p2| must be greater than 1.73GB
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 230 – Design of Two-Stage Op Amps (3/27/10) Page 230-19
Use of Buffer with Finite Output Resistance to Eliminate the RHP Zero
Assume that the unity-gain buffer has an output resistance of Ro.
Model:
Cc Ro
+1 Cc
VI
+ Vout +
vOUT Vin gmIvin CI RI Ro Ro Vout
Inverting
gmIIVI RII CII
High-Gain - -
Stage
Fig. 430-03
It can be shown that if the output resistance of the buffer amplifier, Ro, is not neglected
that another pole occurs at,
-1
p4 Ro[CICc/(CI+Cc)]
and a LHP zero at
-1
z2 RoCc
Closer examination shows that if a resistor, called a nulling resistor, is placed in series
with Cc that the RHP zero can be eliminated or moved to the LHP.
Use of Nulling Resistor to Eliminate the RHP Zero (or turn it into a LHP zero)†
Cc Rz
Cc Rz
VI
+ +
vOUT Vin gmIvin CI RI Vout
Inverting CII
gmIIVI RII
High-Gain - -
Stage
Fig. 430-04
Nodal equations:
VI sCc
gmIV in + RI + sCIV I + 1+sCcRz (VI - Vout) = 0
Vo sCc
gmIIV I + RII + sCIIV out + 1+sCcRz (Vout - VI) = 0
Solution:
V out(s) a{1-s[(Cc/gmII)-RzCc]}
V in(s) = 1+bs+cs2+ds3
where
a = gmIgmIIRIRII
b = (CII + Cc)RII + (CI + Cc)RI + gmIIRIRIICc + RzCc
c = [RIRII(CICII + CcCI + CcCII) + RzCc(RICI + RIICII)]
d = RIRIIRzCICIICc
†
W,J. Parrish, "An Ion Implanted CMOS Amplifier for High Performance Active Filters", Ph.D. Dissertation, 1976, Univ. of CA., Santa Barbara.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 230 – Design of Two-Stage Op Amps (3/27/10) Page 230-21
A Design Procedure that Allows the RHP Zero to Cancel the Output Pole, p2
We desire that z1 = p2 in terms of the previous notation.
Therefore,
1 -gmII jω
=
Cc(1/gmII-Rz) CII σ
-p1
The value of Rz can be found as -p4 -p2 z1 Fig. 430-06
Cc+CII
Rz = Cc (1/gmII)
With p2 canceled, the remaining roots are p1 and p4(the pole due to Rz) . For unity-gain
stability, all that is required is that
Av(0) gmI
|p4| > Av(0)|p1| = gmIIRIIRICc = C
c
and (1/RzCI) > (gmI/Cc) = GB
Substituting Rz into the above inequality and assuming CII >> Cc results in
gmI
Cc > gmIICICII
This procedure gives excellent stability for a fixed value of CII ( CL).
Unfortunately, as CL changes, p2 changes and the zero must be readjusted to cancel p2.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 230 – Design of Two-Stage Op Amps (3/27/10) Page 230-23
Incorporating the Nulling Resistor into the Miller Compensated Two-Stage Op Amp
Circuit: VDD
M11 M3 M4 V
B
VA M6
M10 CM Cc vout
M8
VC vin- vin+
M1 M2
CL
IBias
M9 M5
M12 M7
Cc+CL 1 M10
z1 = p2 Rz = gm6ACC = gm6B M11
M3 M4
Which gives M6
vou
C c - M1 M2 M6B
gm6B = g
m6A C +C
vin CL
c L Cc
+
In the previous example, M8 M9
+ M7
gm6A = 950μS, Cc = 3pF VBias M5
-
and CL = 10pF. VSS Fig. 6.3-4A
†
B.K. Ahuja, “An Improved Frequency Compensation Technique for CMOS Operational Amplifiers,” IEEE J. of Solid-State Circuits, Vol. SC-18,
No. 6 (Dec. 1983) pp. 629-633.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 230 – Design of Two-Stage Op Amps (3/27/10) Page 230-29
1+gm8
Iin =
G1G2
1+s Cc +C2 +Cc +gm6Cc
+s2
CcC2
gm8 G2 G2 G1G2 gm8G2
Using the approximate method of solving for the roots of the denominator gives
-1 -6
p1 = C
Cc C2 gm6Cc gm6rds2Cc
c
gm8 G2+G2+ G1G2
+
gm6rds2Cc
- 6 gm8rds2G2
gm6
gm8rds
and p2 CcC2 = 6
=
C2 3 |p2’|
gm8G2
where all the various channel resistance have been assumed to equal rds and p2’ is the
output pole for normal Miller compensation.
Result:
Dominant pole is approximately the same and the output pole is increased by gmrds.
Concept:
3 3
Rout = rds7|| gm6gm8r
gm6gm8rds8
ds8
Therefore, the output pole is VDD VDD
approximately,
rds7 gm8rds8 rds7
gm6gm8rds8 Cc 3
|p2| 3CII vout vout
1
M8 GB·Cc ≈ 0 M6
CII
M6 CII
V2 - VDD Av(V1-V2)
Vout V1 Vout
V1 +
Vss VSS ±AddVdd
Fig. 180-02
V out = AddV dd + Av(V1-V 2) = AddV dd - AvV out Vout(1+Av) = AddV dd
V out Add Add 1
V dd 1+Av Av PSRR+ (Good for frequencies up to GB)
= =
Vout
M6 VDD Vdd 1
Cc Vout RoutCc
M3 M4 Cc Vout 0dB ω
M5 rds7
M7 Vss Path through Cgd7
VBias
is negligible
VBias connected to VSS VSS
What is Zout? Fig. 180-11
Vt gmIV t
Zout = I It = gmIIV 1 = gmIIG +sC +sC
t I I c
GI+s(CI+Cc) Cc CII+Cgd7 It
Thus, Zout = gmIgMII
+ rds6||rds7 +
CI RI V1 gmIIV1 Vout Vt
gmIVout
- -
Fig.180-12
rds7
V out 1+Zout s(Cc+CI)+GI+gmIgmIIrds7 -GI
V ss = 1 = s(Cc+CI)+GI Pole at Cc+CI
The negative PSRR is much better than the positive PSRR.
CMOS Analog Circuit Design © P.E. Allen - 2010
SUMMARY
• The output of the design of an op amp is
- Schematic
- DC currents
- W/L ratios
- Component values
• Design procedures provide an organized approach to creating the dc currents, W/L
ratios, and the component values
• The right-half plane zero causes the Miller compensation to deteriorate
• Methods for eliminating the influence of the RHP zero are:
- Nulling resistor
- Increasing the magnitude of the output pole
• The PSRR of the two-stage op amp is poor because of the Miller capacitance, however,
methods exist to eliminate this problem
• The two-stage op amp is a very general and flexible op amp
Cascode Op Amps
Why cascode op amps?
• Control of the frequency behavior
• Can get more gain by increasing the output resistance of a stage
• In the past section, PSRR of the two-stage op amp was insufficient for many
applications
• A two-stage op amp can become unstable for large load capacitors (if nulling resistor
is not used)
• The cascode op amp leads to wider ICMR and/or smaller power supply requirements
Where Should the Cascode Technique be Used?
• First stage -
Good noise performance
Requires level translation to second stage
Degrades the Miller compensation
• Second stage -
Self compensating
Increases the efficiency of the Miller compensation
Increases PSRR
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 240 Cascode Op Amps (3/28/10) Page 240-3
MB5
MC1 MC2 MC1 + MC2
M1 M2 M1 VBias M2
VBias MB1 MB2
+v - +v
in vin in - vin -
2- + 2 2- + 2
+ M5 + M5
VNBias1 VNBias1
- -
VSS VSS 060627-01
Rout of the first stage is RI (gmC2rdsC2rds2)||(gmC4rdsC4rds4)
vo1
Voltage gain = vin = gm1RI [The gain is increased by approximately 0.5(gMCrdsC)]
As a single stage op amp, the compensation capacitor becomes the load capacitor.
M7 M8 M7 M8
M15
-A M5 M6
VNB1
M5 M6 M16
vOUT VDD VDD vOUT
VPB1
M3 M4
M13 M14
-A -A M3 M4
M11 M12
M1 M2 M1 M2
+ +
vIN vIN
− −
M9
VNB1 M9 VNB1 M10
060627-02
RII = (gmC6rdsC6rds6)||(gmC7rdsC7rds7) -
vin
M1 M2 VBN MC7 CL
+
+ M7
VBias M5
-
Comments: VSS Fig. 6.5-3
• The second-stage gain has greatly
increased improving the Miller compensation
• The overall gain is approximately (gmrds)3 or very large
• Output pole, p2, is approximately the same if Cc is constant
• The zero RHP is the same if Cc is constant
• PSRR is poor unless the Miller compensation is removed (then the op amp becomes
self compensated)
CMOS Analog Circuit Design © P.E. Allen - 2010
where
vout
- M1 M2
VNB2 M9
RII = (gm7rds7rds6)||(gm12rds12rds11)
vin M12 CL and
+
M5 M10
gm8 gm6
+ M11 k = gm3 = gm4
V NB1
-
VSS 060627-03
This op amp is balanced because the
drain-to-ground loads for M1 and M2 are identical.
;;;
Technological Implications of the Cascode Configuration
A
A B C D
;;;;;;;
B Thin
oxide Poly I Poly II
n+ n-channel n+
C p substrate/well
D
Fig. 6.5-5
If a double poly CMOS process is available, inter-node parasitics can be minimized.
;;
As an alternative, one should keep the drain/source between the transistors to a minimum
area.
Minimum Poly
A separation
A B C D
;;;;;;;;
B Thin
oxide Poly I Poly I
n+ n-channel n+ n-channel n+
C p substrate/well
D
Fig. 6.5-5A
Input Common Mode Range for Two Types of Differential Amplifier Loads
VDD-VSD3+VTN
VDD VDD
VDD-VSG3+VTN
+ + + +
VSG3 VSD4 V VSD4
Input SD3
Input
- M3 M4 - Common - M3 M4 -
VBP
Common Mode
Mode Range
Range M1 M2 M1 M2
VSS+VDS5+VGS1 VSS+VDS5+VGS1
+ M5 vicm + M5 vicm
VBias VBias
- -
VSS VSS
Differential amplifier with Differential amplifier with
a current mirror load. current source loads. Fig. 6.5-6
In order to improve the ICMR, it is desirable to use current source (sink) loads without
losing half the gain.
The resulting solution is the folded cascode op amp.
RA VPB2 RB
I1 I2
I6 I7
vOUT
M6 M7
M1 M2 VNB2
+
vIN
− M8 M9 CL
M3
VNB1 I3 M11
M10
060628-04
Comments:
• I4 and I5, should be designed so that I6 and I7 never become zero (i.e. I4=I5=1.5I3)
• This amplifier is nearly balanced (would be exactly if RA was equal to RB)
• Self compensating
• Poor noise performance, the gain occurs at the output so all intermediate transistors
contribute to the noise along with the input transistors. (Some first stage gain can be
achieved if RA and RB are greater than gm1 or gm2.
2gm7rds7+(rds2||rds5)
2
1+ gm7rds7
The output voltage, vout, is equal to the sum of i7 and i10 flowing through Rout. Thus,
vout
gm1 gm2 2+k
+
vin 2 2(1+k) out
2+2k gmIRout
= R =
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 240 Cascode Op Amps (3/28/10) Page 240-17
While the analysis is simpler than small signal analysis, the value of k defined in the
previous slide is 1.
Vss
Fig. 6.5-9A
This model assumes that gate, source and drain of M11 and the gate and source of M9 all
vary with VSS.
We shall examine Vout/V ss rather than PSRR-. (Small Vout/V ss will lead to large PSRR-.)
The transfer function of Vout/V ss can be found as
V out sCgd9Rout
V ss sCoutRout+1 for Cgd9 < Cout
The approximate PSRR- is sketched on the next page.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 240 Cascode Op Amps (3/28/10) Page 240-21
|PSRR-|
|Avd(ω)|
1
Cgd9Rout
Dominant
pole frequency
0dB log10(ω)
Cgd9 GB
Cout
Vout Fig. 6.5-10A
Vss
Other sources of Vss injection, i.e. rds9
We see that the PSRR of the cascode op amp is much better than the two-stage op amp
without any modifications to improve the PSRR.
We need to check that the values of S4 and S5 are large enough to satisfy the maximum
input common mode voltage. The maximum input common mode voltage of 2.5 requires
2I4 2·125μA
S4 = S5 K ’[V -V (max)+V ]2 = 25x10-6μA/V2[0.5V]2 = 40
P DD in T1
which is less than 160. In fact, with S4 = S5 = 160, the maximum input common mode
voltage is 2.75V.
The power dissipation is found to be
Pdiss = 2.5V(125μA+125μA) = 0.625mW
-A -A
(Ards9gm9rds11)
Since A gmrds the voltage gain would be in the range of 100,000 to 500,000.
Note that to achieve maximum output swing, it will be necessary to make sure that M5
and M11 are biased with VDS = VDS(sat).
0dB log10ω
|p1(enh)| |p1| GB 060629-02
SUMMARY
• Cascode op amps give additional flexibility to the two-stage op amp
- Increase the gain
- Control the dominant and nondominant poles
• Enhanced gain, cascode amplifiers provide additional gain and are used when high
gains are needed
• Folded cascode amplifier is an attractive alternate to the two-stage op amp
- Wider ICMR
- Self compensating
- Good PSRR
INTRODUCTION
Simulation and Measurement Considerations
Objectives:
• The objective of simulation is to verify and optimize the design.
• The objective of measurement is to experimentally confirm the specifications.
Similarity between Simulation and Measurement:
• Same goals
• Same approach or technique
Differences between Simulation and Measurement:
• Simulation can idealize a circuit
- All transistor electrical parameters are ideally matched
- Ideal stimuli
• Measurement must consider all nonidealities
- Physical and electrical parameter mismatches
- Nonideal stimuli
- Parasistics
Simulation:
vIN +VOS - VDD
This circuit will give the voltage transfer vOUT
function curve. This curve should identify:
1.) The linear range of operation CL RL VSS
2.) The gain in the linear range
3.) The output limits Fig. 240-01
4.) The systematic input offset voltage
5.) DC operating conditions, power dissipation
6.) When biased in the linear range, the small-signal frequency response can be
obtained
7.) From the open-loop frequency response, the phase margin can be obtained (F = 1)
Measurement:
This circuit probably will not work unless the op amp gain is very low.
VDD
vIN vOUT
CL RL VSS
C R
Fig. 240-02
Resulting Closed-Loop Frequency Response:
dB Op Amp
Av(0) Open Loop
Frequency
Response
0dB log10(w)
1 Av(0)
RC RC Fig. 240-03
V
+ OS- VDD
vout
+
vcm VSS
- CL RL
Fig. 6.6-5
Make sure that the output voltage of the op amp is in the linear region.
Divide (subtract dB) the result into the open-loop gain to get CMRR.
VSS Vcm
Vcm ±AcVcm
Fig. 6.6-7
V 1+V2
V out = Av (V1-V 2) ±A 2 = -AvV out ± AcmV cm
cm
±Acm ±Acm
V out = 1+Av Vcm Av Vcm
Av V cm
|CMRR|=Acm=V out
- VDD Av(V1-V2)
V2
V1 + V1 Vout
Vss = 0
Vss VSS
±AddVdd
Fig. 6.6-9
V out = Av (V1-V 2) ±AddV dd = -AvV out ± AddV dd
±Add ±Add
V out = 1+Av Vdd Av Vdd
Av V dd Av V ss
PSRR+=Add=V out and PSRR-=Ass=V out
VDD
Vout
+
i 10Ω V
V out V out -
Avd = V id = V i CL RL VSS
V os 1000Vi 060701-01
1000Vout
Therefore, Avd = V
os
Sweep Vout as a function of frequency, invert the result and multiply by 1000 to get
Avd(j).
Measurement of CMRR
Measurement Configuration: - 100kΩ
Note that the whole amplifier is stimulated by vos +
V icm while the input responds to this change. vicm
100kΩ
The definition of the common-mode rejection 10kΩ
ratio is
Avd (vout/vid) VDD
CMRR = Acm = (vout/vicm) vOUT
+
However, in the above circuit the value of vout 10Ω vi vicm
is the same so that we get - CL RL VSS
vicm Fig. 240-08
CMRR = vid
vos
But vid = vi and vos 1000vi = 1000vid vid = 1000
vicm 1000vicm
Substituting in the previous expression gives, CMRR = vos = vos
1000
Make a frequency sweep of Vicm, invert the result and multiply by 1000 to get CMRR.
Measurement of PSRR
100kΩ
Measurement Configuration: Vos
The definition of the positive power supply rejection 100kΩ
ratio is Vdd
10kΩ
Avd (Vout/V id)
+
PSRR = Acm = (Vout/V dd) VDD
Vout
However, in the above circuit the value of Vout is the +
IDD 1
VDD
vOUT 1
+ vIN
vIN ICMR
- VSS
CL RL
ISS
Also, monitor
IDD or ISS. Fig.240-11
Initial jump in sweep is due to the turn-on of M5.
Should also plot the current in the input stage (or the power supply current).
20
Phase Margin (Degrees)
60
10
Overshoot (%)
50
5
40 Phase Margin Overshoot
10
0 0.1
0 0.2 0.4 0.6 0.8 1
ζ= 1 070429-03
2Q
.SUBCKT OPAMP 1 2 6 8 9
M1 4 2 3 3 NMOS1 W=3U L=1U AD=18P AS=18P PD=18U PS=18U
M2 5 1 3 3 NMOS1 W=3U L=1U AD=18P AS=18P PD=18U PS=18U
M3 4 4 8 8 PMOS1 W=15U L=1U AD=90P AS=90P PD=42U PS=42U
M4 5 4 8 8 PMOS1 W=15U L=1U AD=90P AS=90P PD=42U PS=42U
M5 3 7 9 9 NMOS1 W=4.5U L=1U AD=27P AS=27P PD=21U PS=21U
M6 6 5 8 8 PMOS1 W=94U L=1U AD=564P AS=564P PD=200U PS=200U
M7 6 7 9 9 NMOS1 W=14U L=1U AD=84P AS=84P PD=40U PS=40U
M8 7 7 9 9 NMOS1 W=4.5U L=1U AD=27P AS=27P PD=21U PS=21U
CC 5 6 3.0P
.MODEL NMOS1 NMOS VTO=0.70 KP=110U GAMMA=0.4 LAMBDA=0.04 PHI=0.7
+MJ=0.5 MJSW=0.38 CGBO=700P CGSO=220P CGDO=220P CJ=770U CJSW=380P
+LD=0.016U TOX=14N
.MODEL PMOS1 PMOS VTO=-0.7 KP=50U GAMMA=0..57 LAMBDA=0.05 PHI=0.8
+MJ=0.5 MJSW=.35 CGBO=700P CGSO=220P CGDO=220P CJ=560U CJSW=350P +LD=0.014U TOX=14N
IBIAS 8 7 30U
.ENDS
VOS
1
vOUT(V)
0
-1
-2
-2.5
-2 -1.5 -1.0 -0.5 0 0.5 1 1.5 2
vIN(mV) Fig. 240-18
80 200
150
60
Phase Shift (Degrees)
100
Magnitude (dB)
40
50
20 0
-50
0
-100
-20
-150 Phase Margin
GB GB
-40 -200
10 100 1000 104 105 106 107 108 10 100 1000 104 105 106 107 108
Frequency (Hz) Frequency (Hz) Fig. 6.6-16
ID(M5) μA
(Subcircuit of Table 6.6-1) 3 30
..
. 2 20
.DC VIN+ -2.5 2.5 0.1 Input CMR
vOUT (V)
.PRINT DC V(3) 1 10
.TRAN 0.05U 10U 0 10N
.PRINT TRAN V(3) V(1) 0 0
.AC DEC 10 1 10MEG
.PRINT AC VDB(3) VP(3) -1
.PROBE (This entry is unique to PSPICE)
.END -2
-3
Note the usefulness of monitoring the -3 -2 -1 0
vIN(V)
1 2 3
Fig. 240-21
current in the input stage to determine
the lower limit of the ICMR.
100 100
80
Arg[PSRR+(jω)] (Degrees)
50
|PSRR+(jω)| dB
60
40 0
20
-50
0
-20 -100
10 100 1000 104 105 106 107 108 10 100 1000 104 105 106 107 10
Frequency (Hz) Frequency (Hz) Fig. 240-22
This PSRR+ is poor because of the Miller capacitor. The degree of PSRR+ deterioration
will be better shown when compared with the PSRR-.
Arg[PSRR-(jω)] (Degrees)
100
100
|PSRR-(jω)| dB
80 50
0
60 -50
PSRR+
-100
40
-150
20 -200
10 100 1000 104 105 106 107 108 10 100 1000 104 105 106 107 108
Frequency (Hz) Frequency (Hz) Fig. 240-23
1 0.1 vin(t)
0.5 0.05
vout(t)
vout(t)
Volts
Volts
0 0
-0.5 -0.05
vin(t)
-1 -0.1
-1.5 -0.15
0 1 2 3 4 5 2.5 3.0 3.5 4.0 4.5
Time (Microseconds) Time (Microseconds) Fig. 240-24
OP AMP MACROMODELS
What is a Macromodel?
A macromodel uses resistors, capacitors, inductors, controlled sources, and some active
devices (mostly diodes) to capture the essence of the performance of a complex circuit
like an op amp without modeling every internal component of the op amp.
Small Signal, Frequency Independent Op Amp Macromodel
v1 4 3 v1 3
v1
vo 1 Ro v o 1 vo
A R id Avd (v 1 -v 2 ) R id Avd (v -v ) Ro
1 2
2 2 Ro
v2
v2 v2
(a.) (b.) (c.) Fig. 010-01
Figure 1 - (a.) Op amp symbol. (b.) Thevenin form. (c.) Norton form.
1
3
Ric1
+
Rid Avc v1 Avc v2
2 Avd(v1 -v2 ) 2Ro 2Ro Ro vo
Ro
-
Ric2
Linear Op Amp Macromodel
Fig. 010-03
Figure 2 - Simple op amp model including differential and common mode behavior.
Figure 5 - Op amp macromodel that limits the input and output voltages.
Io Io v1
5
2 2
1 4 D3 D1 3
Io D1 D3 Io vo
Rid D5 D6
ILimit
ILimit 2 D4 D2 7 8
ILimit D2 D4
2 Avd Ro + +
2
v2 (v -v ) ILimit 6 VOH VOL
Ro 1 2
Io Io
2 2 Fig. 010-12 - -
Fig. 010-13
Figure 6 – Technique for current limiting and a macromodel for output voltage and
current limiting.
5V
Output
Voltage
0V
-5V
Input
Voltage
-10V
0μs 2μs 4μs 6μs 8μs 10μs
Time Fig. 010-16
SUMMARY
• Simulation and measurement of op amps has both similarities and differences
• Measurement of open loop gain is very challenging – the key is to keep the quiescent
point output of the op amp well defined
• The method of stimulating the output of the op amp or power supplies and letting the
input respond results in a robust method of measuring open loop gain, CMRR, and PSRR
• Carefully investigate any deviations or aberrations from expected behavior in the
simulation and experimental results
• Macromodels are useful for modeling the op amp without including every individual
transistor
INTRODUCTION
Buffered Op Amps
What is a buffered op amp?
Buffered op amps are op amps with the ability to drive a low output resistance and/or
a large output capacitance. This requires:
- An output resistance typically in the range of 10 Ro 1000
- Ability to sink and source sufficient current (CL·SR)
Rout Rout
+ Large Small
vIN vOUT
− vOUT’
Op Amp Buffer 070430-01
M6
M3 M4 Cc M8
vout
- M1 M2
vin
+ CL
M7 I7 M9 I9
VNBiasM5 I5
060706-03
1
Rout gm21+gm22 1000, Av(0)=65dB (IBias=50μA), and GB = 60MHz for CL = 1pF
Note the bias currents through M18 and M19 vary with the signal.
p2 Compensated poles
Uncompensated poles
p2
σ σ
p3' p2' p1' p1 p3=p3' p2' p1' p1
p3
M7 M3 M4
M6
IBias
C1 C2 vout
RL
- M1 M2
- vin'
vin + M5
+
Input
stage Cross over stage VSS Output Stage
060706-04
• This buffer trades gain for the ability to drive a low load resistance
• The load resistance should be fixed in order to avoid changes in the buffer gain
• The push-pull common source output will give good output voltage swing capability
VDD vout
M6
M7 M3 M4 M6 Active
IBias M1-M3 M2-M4
Inverter M6 Satur- Inverter
C1 C2 vout
M5 Saturated ated
M1 M2 M5 RL M5 Active
vin'
0 vin'
VSS VA VB VDD
VSS 060706-05
M1
vin vout vin vout
M8 M3 M4 M9
If W4/L4 = W 9/L9 and M2
M6
W 3/L3 = W 8/L8, then the Ib I=2Ib M10
quiescent currents in M1 VSS
and M2 can be determined VSS 070430-07
by the following
relationship:
W /L W /L
1 1 2 2
I1 = I2 = Ib W 7/L7 = Ib W 10/L10
When vin is increased, M6 turns off M2 and turns on M1 to source current. Similarly,
when vin is decreased, M5 turns off M1 and turns on M2 to sink current.
− Ro ROUT
vIN + vOUT
Av
RL
070430-02
• Output resistance
Ro
ROUT = 1+Av
• Watch out for the case when RL causes Av to decrease.
• The bandwidth will be limited by the feedback (i.e. at high frequencies, the gain of Av
decreases causing the output resistance to increase.
070430-03
1
Rout gm8K
Power dissipation now becomes (I5 + I7 + I11)V DD
Gain becomes,
gm1 gm6 gm8K
Av = gds2+gds4 gds6+gds7 gm8K+gmbs8K+GL
1 1000
Rout K(gm21+gm22) K 100
Av(0)=65dB (IBias=50μA)
Note the bias currents through M18 and M19 vary with the signal.
Gain Error M2
Amplifier Amplifier
- - + iout
viin
+ vout
- +
Error
Amplifier CL RL
M1
VSS Fig. 7.1-5A
Comments:
• The output resistance will be equal to rds1||rds2 divided by the loop gain
• If the error amplifiers are not perfectly matched, the bias current in M1 and M2 is not
defined
+ + M6
vin M16 M9
- -
Cc -A1+ VOS
vout
Error Loop
M8 M10
- + M8A
Unbuffered A2
op amp
M17 M6A
+ M13 M12 M11
VBias
-
VSS Fig. 7.1-6
The feedback circuitry of the two error amplifiers tries to insure that the voltages in
the loop sum to zero. Without the M9-M12 feedback circuit, there is no way to adjust the
output for any error in the loop. The circuit works as follows:
When VOS is positive, M6 tries to turn off and so does M6A. IM9 reduces thus reducing
IM12. A reduction in IM12 reduces IM8A thus decreasing VGS8A. VGS8A ideally decreases
by an amount equal to VOS. A similar result holds for negative offsets and offsets in EA2.
VDD
+
VBias
M6 M5A -
M3 M4 Cc1
vin
vin MR1 M2A M1A
M1 M2 vout MR2
Cc2
+ M6A M4A M3A
VBias M5
-
A1 amplifier VSS A2 amplifier
070430-05
Basically a two-stage op amp with the output push-pull transistors as the second-stage of
the op amp.
MP3-MN3-MN4-MP4-MP5
MN3A-MP3A-MP4A-MN4A-MN5A gm1 gm6
rds6||rds6A 50k R1 C1 RL CL
Rout LoopGain 5000 = 10
M8 M3 M4 M6
200μA 10/1 1/1 1/1 10/1
vout Output Resistance:
Ro
M1 M2 CL R =
out 1+LG
+
vin 10/1 10/1 where
- 1
1/1 Ro = gds6+gds7
M5
M10 10/1 1/1 10/1 and
gm2
M9 M7 |LG| = 2gm4 (gm6+gm7)Ro
VSS
Therefore, the output resistance is:
Fig. 7.1-9
1
Rout =
gm2
(gds6+gds7) 1+ 2gm4(gm6+gm7)Ro
Example 260-1 - Low Output Resistance Using Shunt Negative Feedback Buffer
Find the output resistance of above op amp using the model parameters of KN’ =
120μA/V2, KP’ = 25μA/V2, N = 0.06V-1 and P = 0.08V-1.
Solution
The current flowing in the output transistors, M6 and M7, is 1mA which gives Ro of
1 1000
Ro = ( + )1mA = 0.14 = 7.143k
N P
To calculate the loop gain, we find that
gm2 = 2KN’·10·100μA = 490μS
gm4 = 2KP’·1·100μA = 70.7μS
and
gm6 = 2KP’·10·1000μA = 707μS
Therefore, the loop gain is
490
|LG| = 2·70.7 (0.707+0.071)7.143 = 19.26
Solving for the output resistance, Rout, gives
7.143k
Rout = 1+19.26 = 353 (Assumes that RL is large)
;;;
;; ;
Emitter Base Collector
(VDD)
Collector (VDD)
;;;
;;;
n+ (Emitter) p+ n+
Base
p- well (Base)
n- substrate (Collector)
Fig. 7.1-10
Emitter
Comments:
• gm of the BJT is larger than the FET so that the output resistance w/o feedback is lower
• Collector current will be flowing in the substrate
• Current is required to drive the BJT
• Only an NPN or a PNP bipolar transistor is available
Emitter
Base
Base
r10+(1/gm9) 1 1
Rout 1+ßF = g + g (1+ß )
m10 m9 F
= 51.6+6.7 = 58.3 where I10=500μA, I8=100μA, W9/L9=100 and ßF is 100
2KP’ Ic10
vOUT(max) = VDD - VSD8(sat) - vBE10 = VDD - I8(W 8/L8) - Vt lnIs10
Voltage gain:
vout gm1 gm6 gm9
gm10RL
vin gds2+gds4gds6+gds7gm9+gmbs9+gds8+g101+gm10RL
070430
SUMMARY
• A buffered op amp requires an output resistance between 10 Ro 1000
• Output resistance using MOSFETs only can be reduced by,
- Source follower output (1/gm)
- Negative shunt feedback (frequency is a problem in this approach)
• Use of substrate (or lateral) BJT’s can reduce the output resistance because gm is
larger than the gm of a MOSFET
• Adding a buffer stage to lower the output resistance will most likely complicate the
compensation of the op amp
20dB
0dB log10(ω)
ωA ω-3dB GB
Fig. 7.2-1
What defines the GB?
We know that
gm
GB = C
where gm is the transconductance that converts the input voltage to current and C is the
capacitor that causes the dominant pole.
This relationship assumes that all higher-order poles are greater than GB.
Higher-Order Poles
For reasonable phase margin, the smallest higher-order pole should be 2-3 times larger
than GB if all other higher-order poles are larger than 10GB.
Av(0) dB
Larger non- Smallest non- Dominant
dominant poles dominant pole pole
-10GB -GB
10GB
0dB
GB GB log10ω
Av(0)
060709-01
If the higher-order poles are not greater than 10GB, then the distance from GB to the
smallest non-dominant pole should be increased for reasonable phase margin.
p2 = -95x106 rads/sec.
Type P-Channel N-Channel Units
b.) p3 was found in Ex. 6.3-1 as CGSO 220 10-12 220 10-12 F/m
p3 = -1.25x109 rads/sec. (also CGDO 220 10-12 220 10-12 F/m
there is a zero at -2.5x109 CGBO 700 10-12 700 10-12 F/m
rads/sec.) CJ 560 10 -6 770 10 -6 F/m2
CJSW 350 10-12 380 10-12 F/m
MJ 0.5 0.5
MJSW 0.35 0.38
When p2 is cancelled, the next smaller pole is p4 which will define the new GB. 2.)
Using the nulling zero, z1, to cancel p2, gives p4 as the next smallest pole.
For 60° phase margin GB = |p4|/2.2 if the next smallest pole is more than 10GB.
GB = 0.680x109/2.2 = 0.309x109 rads/sec. or 49.2MHz.
This value of GB is designed from the relationship that GB = gm1/Cc. Assuming gm1 is
constant, then Cc = gm1/GB = (94.25x10-6)/(0.309x109) = 307fF. It might be useful to
increase gm1 in order to keep Cc above the surrounding parasitic capacitors (Cgd6 =
18.7fF). The success of this method assumes that there are no other roots with a
magnitude smaller than 10GB.
The result of this example is to increase the GB from 5MHz to 49MHz.
Example 270-2 - Increasing the GB of the Folded Cascode Op Amp of Ex. 240-4
Use the folded-cascode op amp designed in VDD
Example 240-4 and apply the above approach to VPB1
increase the gainbandwidth as much as possible. I4 I5
Assume that the drain/source areas are equal to M4 M5
2μm times the width of the transistor and that all
voltage dependent capacitors are at zero voltage. RA VPB2 RB
I1 I2
I6 I7
Solution M6 M7
vOU
M1 M2 V
The poles of the folded cascode op amp are: + NB2
vIN
-1 − M8 M9 CL
pA R C (the pole at the source of M6 ) M3
VNB1 I3
A A M10 M11
-1 060628-04
pB R C (the pole at the source of M7)
B B
-gm10
p6 C6 (the pole at the drain of M6)
-gm8rds8gm10
p8 C8 (the pole at the source of M8)
-gm9
p9 C9 (the pole at the source of M9)
The smallest of these poles is pA or pB. Since p6 is not much larger than pA or pB, we
will find the new GB by dividing pA or pB by 4 (which is guess rather than 2.2) to get
364x106 rads/sec. Thus the new GB will be 364/2 or 58MHz.
Checking our guess gives a phase margin of,
PM = 90° - 2tan-1(0.364/1.456) - tan-1(0.364/3.38) = 56° which is okay
The magnitude of the dominant pole is given as
pdominant = GB/Avd(0) = 364x106/3,678 = 99,000 rads/sec.
The value of load capacitor that will give this pole is
CL = (pdominant·Rout)-1 = (99x103·7.44M)-1 = 1.36pF
Therefore, the new GB = 58MHz compared with the old GB = 10MHz.
vin + VPB1
M4 Non-
dominant
VPB2 M3 Pole
vout
Dominant Pole
VNB2 M2 CL
Non-
M1 dominant
vin + VNB1 Pole
060710-01
If the source-drain area between M1 and M2 and M3 and M4 can be minimized, the non-
dominant poles will be quite large.
M7 M3
C1
vin- φ2 φ1 vin+ vout
IB
C2
M6 M2
φ1 φ2
M5 + M1
VB1
-
VSS Fig.7.2-5
M7 + + M3
C1 VDD-VB2-vin+ VDD-VB2-vin+ C1
- vin- - vout
IB vin+
+ +
C2 vin+-VSS-VB1 vin+-VSS-VB1 C2
M6 - - M2
M5 + M1
VB1 VSS+VB1-(vin+-vin-)
-
VSS VSS
Equivalent circuit during the φ1 clock period Equivalent circuit during the φ2 clock period.
Fig. 7.2-6
†
S. Masuda, et. al., “CMOS Sampled Differential Push-Pull Cascode Op Amp,” Proc. of 1984 International Symposium on Circuits and Systems,
Montreal, Canada, May 1984, pp. 1211-12-14.
CMOS Analog Circuit Design © P.E. Allen - 2010
Ao n
s/ω1+1 060710-02
Voltage Gain:
V out gm1 Kn'(W 1/L1)(I3+I5)
V in = gm3 = Kp'(W 3/L3)I3
gm3
-3dB Cgs1
CMFB
VBP
vout vout
VBN
M2 M2
VB1 VB1
M3
M2dB M0dB vin M0dB M2dB
vin
Fig. 7.2-137A
†
P. Orsatti, F. Piazza, and Q. Huang, “A 71 MHz CMOS IF-Basdband Strip for GSM, IEEE JSSC, vol. 35, No. 1, Jan. 2000, pp. 104-108.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 270 – High Speed Op Amps (3/28/10) Page 270-23
CMFB
2dB 0dB 0dB 2dB
-10dB
M5 VBP M5
M6
M6
vout vout
M4 VBN M4
0dB M2 M2 M2 M2
Load -10dB
vin Load vin
M3 M3
M0dB M0dB
M2dB M2dB
-10dB
Fig. 7.2-137A
Dominant pole is also at 150MHz
For VDD = 2.5V, at 60dB gain, the total current is 2.6mA
IIP3 +1dBm
+
Vin GM
− Ai Vout
060711-04
V out -GMRFAi
V in = 1+Ai
VPB2
Rin
Vin+ Vin-
M1 R M2
F RF
+ Vout −
VNB2
1:n 1:n
060712-01
R1
vin+ vin-
M1 M2
R2 R2
+1 + vout - +1
VBias
x4 x2 x1 VSS x1 x2 x4
=1/8 = 1/4 =1/2 =1/2 = 1/4 =1/8
Fig. 7.2-135A
R1 and the current mirrors are used for gain variation while R2 is fixed.
SUMMARY
• Increasing the GB of an op amp requires that the magnitude of all non-dominant poles
are much greater than GB from the origin of the complex frequency plane
• The practical limit of GB for an op amp is approximately 5-10 times less than the
magnitude of the smallest non-dominant pole ( 100MHz)
• To achieve high values of GB it is necessary to eliminate the non-dominant poles
(which come from parasitics) or increase the magnitude of the non-dominant poles
• The best way to achieve high-bandwidth amplifiers is to cascade high-bandwidth
voltage amplifiers
• If the gain of the high-bandwidth voltage amplifiers is well defined, then it is not
necessary to use negative feedback around the amplifier
• Amplifiers with well defined gains are obtainable with a -3dB bandwidth of 100MHz
INTRODUCTION
Why Differential Output Op Amps?
• Cancellation of common mode signals including clock feedthrough
• Increased signal swing
v1
A v1-v2
2A
t
v2 -A t
A
t -2A Fig. 7.3-1
-A
• Cancellation of even-order harmonics
Symbol:
- -
+ +
vin vout
+ -
+ -
Fig. 7.3-1A
0 t 0 t 0 t
VSS VSS VSS
CM output voltage properly defined, CM output voltage too large, CM output voltage too small,
Vcm = 0 Vcm= 0.5VDD V = 0.5VSS
cm 070506-01
Remember that:
vOUT = Avd(vID) ± Acm(vCM)
vi1 M1 M2 vi2
M5
M9 + M7
(OCMR) = VDD+ |VSS| - VSDP(sat) - VDSN(sat) VBN
-
VSS Fig. 7.3-3
The maximum peak-to-peak output voltage
2·OCMR
Conversion between differential outputs and single-ended outputs:
+ +
+ + + + + +
vid - vod CL vid - vo1 2CL
- - - - - -
+
vo2 2CL
Fig. 7.3-4
-
M5
M9 M10 + M12 M8
VBN
-
VSS Fig. 7.3-6
Comments:
• Able to actively source and sink output current
• Output quiescent current poorly defined
CL − vOUT +
M1 M2 CL
+ VNB2
vIN
− M8 M9
M3 VNB1
VNB1 I3 M11
M10
060717-01
M7 M3 M4 M6 M8
M5
M21 M20
M9 M10
vi1 M1 M2 vi2 M19
vo1 R2 R1 vo2
M22
M15 M16
M17
VBias M18
M23
M13 M12
M11 M14
M10 M11 M6 M7
VPB2
M12 M13 +A −
+ − +
vIN M1 M2 M3 M4
− M8 M9
M5
VNB1 CL − vOUT + CL
M15 M18
VNB2 − + VNB2
M14 +A − M19
+ M1 M2 +
VGS1 vGS1 vGS2 VGS2
- -
vi1 vi2
+ +
VSG3 vSG3 vSG4 VSG4
- -
M3 M4
i2 i1
Fig. 7.3-9
Operation:
Voltage loop vi1 - vi2 = -VGS1+ vGS1 + vSG4 - VSG4 = VSG3 - vSG3 - vGS2 + VGS2
Using the notation for ac, dc, and total variables gives,
vi2 - vi1 = vid = (vsg1 + vgs4) = -(vsg3 + vgs2)
If gm1 = gm2 = gm3 = gm4, then half of the differential input is applied across each
transistor with the correct polarity.
gm1vid gm4vid gm2vid gm3vid
i1 = 2 = 2 and i2 = - 2 = - 2
M9 M7 M8 M10
M25
M26
M13 M24
vi1 vi2
M1 M2
M21 M22 R1
M14
vo1
vo2
M19 M3 M4 M20
M15 R2
M16
M27
M17 M18
M23
M28 +
VBias
M11 M12
- M5 M6
VSS Fig. 7.3-10
Quiescent output currents are defined by the current in the input cross-coupled
differential amplifier.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 280 – Differential-In, Differential-Out Op Amps (3/28/10) Page 280-13
vo2
Common Mode
vo1 +
Sensing Circuit
Output
−
Stage
Model VCMREF
060718-09
M7 - M6
Cc M3 M4 Cc
Rz Rz vo2
vo1
vi1 M1 M2 vi2
M5
M9 + M8
VBN
-
VSS Fig. 7.3-12
Comments:
• Simple
• Unreferenced – value of common mode output voltage determined by the circuit
characteristics
060718-10
This scheme can be applied to any differential output amplifier.
CM Loop Gain = -gmC1Ro1 which can be large if the output of the differential output
amplifier is cascaded or a gain-enhanced cascode.
The common-mode loop gain may need to be compensated for proper dynamic
performance.
MC5 M5
MB
060718-11
M5 M6
CM Correction Circuitry
vo1 M1 M2 M3 M4 vo2
RCM RCM
VCMREF
060718-12
This circuit is capable of sustaining a large differential voltage without loading the output
of the differential output op amp.
070506-02
The CM feedback path has two poles – one at the gates of M10 and M11 and the
dominant output pole of the differential output op amp.
Can compensate with Miller capacitors as shown.
• The need for compensation of the common mode loop no longer exists since there is
only one dominant pole
• The dominant pole of the differential amplifier becomes the dominant pole of the
common mode feedback
+ vo1
Ccm
+ +
CMbias
vid - φ1
- - vo2
Vocm
Ccm
φ1 φ2 φ1
Fig. 7.3-14
Operation:
1.) During the 1 phase, both Ccm are charged to the desired value of Vocm and CMbias
= Vocm.
2.) During the 2 phase, the Ccm capacitors are connected between the differential
outputs and the CMbias node. The average value applied to the CMbias node will be
V ocm.
to force the value of the common mode output voltage back to VCM.
SUMMARY
• Advantages of differential output op amps:
- 6 dB increase in signal amplitude
- Cancellation of even harmonics
- Cancellation of common mode signals including clock feedthrough
• Disadvantages of differential output op amps:
- Need for common mode output voltage stabilization
- Compensation of common mode feedback loop
- Difficult to interface with single-ended circuits
• Most differential output op amps are truly balanced
• For push-pull outputs, the quiescent current should be well defined
• Common mode feedback schemes include,
- Continuous time
- Discrete time
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-2
;;;;
iD
Square Law Strong Inversion
The model that has 1μA
Transition vGS =VT
been developed for 100nA 100nA
the large signal sub- Exponential
vGS ≤VT
threshold operation Weak Inversion
is: 0 vGS 0 vDS
0 VT 0 1V 2V Fig. 7.4-0A
vDS
W vGS-V T
iD = It L exp nVt 1+VA where vDS > 0 and VDS(sat) = VON = VGS -VT = 2nVt
Small-signal model:
vDS ID qID ID Cox
diD | W It vGS-V T
gm = dvGS Q = It L nVt exp nVt 1+VA = nVt = nkT = V t Cox+Cjs
diD | ID
gds = dvDS Q V A
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-4
M6
M3 M4 Cc
vout
- M1 M2 CL
vin
+
+ M7
VBias M5
-
VSS Fig.7.4-1
Low frequency response:
ro2ro4 ro6ro7 1 1
Avo = gm2gm6 ro2+ro4 ro6+ro7 = n2n6(kT/q)2(2+4)(6+7) (No longer
)
ID
GB and SR:
ID1 ID5 ID1
kT
GB = (n1kT/q)C and SR = C = 2 C = 2GB n1 q = 2GBn1V t
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-6
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-8
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-10
26 27
Let L28 = A L26 and L29 = A L27
The output current available can be found by assuming that vin = vi1-vi2 > 0.
i1 + i2 = I5 + A(i2-i1)
The ratio of i2 to i1 can be expressed as
i2 v
in
i1 = exp
nVt
If the output current is iOUT = b(i2-i1) then combining the above two equations gives,
v
in
bI5exp nVt-1
vin
iOUT = v
i OUT = when A = 2.16 and nVt = 1
in
(1+A)-(A-1)exp nVt
where b corresponds to any current gain through current mirrors (M6-M4 and M8-M3).
0
0 1 2
vIN nVt Fig. 7.4-5
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-12
i1 i2
Current
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-14
M25 M26
+ i2 i1
M15 M23 VBias M5 M24 M16
M11 M20
M19 M12
- M6
VSS Fig.7.4-7
k = overdrive factor of the current mirror
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-15
iin+IB iin IB
kiin
M3
50/1
M5 M4
1/1 1/1
M1 M2
1/1 210/1
Fig. 7.4-7A
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-16
M1 is M1 is
noisy S noiseless S Fig. 7.5-0A
2 8kTgm (KF)ID 2 8kTgm(1+) (KF)ID
in = 3 + or in = 3 + if vBS 0
fCoxL2 fCoxL2
gmbs
Recall that = gm
Gate voltage model assuming common source operation:
2 D D
2 i N 8kT KF
2
en1
en = 2 = 3gm+2fCoxWLK’ or M1 M1
gm G G *
2 8kT KF
M1 is M1 is
en = 3gm(1+)+2fCoxWLK’ if vBS 0 noisy S noiseless S
Fig. 7.5-0C
Noise Analysis
1.) Insert a noise generator for each transistor that contributes to the noise. (Generally
ignore the current source transistor of source-coupled pairs.)
2.) Find the output noise voltage across an open-circuit or output noise current into a
short circuit.
3.) Reflect the total output noise back to the input resulting in the equivalent input noise
voltage.
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-18
+ * M1 M2 *
vin eto2
- 2 2
M1 M2 Cc vout
en8 M8 M9 en9
M11 * *
VBias 2 VBias
+ en6
VBias M8 M9 2 2
- M6 en3 en4
* M6
M3 M4 M3 * * M4
Comments;
2
• Because we have selected PMOS input transistors, en1 has been minimized if we
choose W1L1 (W 2L2) large.
• Make L1<<L3 to remove the influence of the second term in the brackets.
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-20
Noise Corner:
Equating the equivalent input-noise voltage spectral density for the 1/f noise and the
thermal noise gives the noise corner, fc, as
3gmB
fc = 8kTWL
Example 290-3 Design of A Two-Stage, Miller Op Amp for Low 1/f Noise
Use the model parameters of KN’ = 120μA/V2, KP’ = 25μA/V2, and Cox = 6fF/μm2
along with the value of KF = 4x10-28 F·A for NMOS and 0.5x10-28 F·A for PMOS and
design the previous op amp with ID5 = 100μA to minimize the 1/f noise. Calculate the
corresponding thermal noise and solve for the noise corner frequency. From this
information, estimate the rms noise in a frequency range of 1Hz to 100kHz. What is the
dynamic range of this op amp if the maximum signal is a 1V peak-to-peak sinusoid?
Solution
1.) The 1/f noise constants, BN and BP are calculated as follows.
KF 4x10-28F·A
BN = 2CoxKN’ = 2·60x10-4F/m2·120x10-6A/V2 = 1.33x10-22 (V·m)2
and
KF 0.5x10-28F·A
BP = 2CoxKP’ = 2·60x10-4F/m2·25x10-6A/V2 = 1.67x10-22 (V·m)2
2.) Now select the geometry of the various transistors that influence the noise
performance.
2
To keep en1 small, let W1 = 100μm and L1 = 1μm. Select W3 = 10μm and L3 =
20μm and letW8 and L8 be the same as W1 and L1 since they little influence on the
noise.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-22
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-24
Experimental noise 10
performance:
8
Eq. input noise voltage of low-noise op amp
Noise (nV/ Hz)
4
Voltage noise of lateral BJT at 170μA
2
0
10 100 1000 104 105
Frequency (Hz) Fig. 7.5-7
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-25
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-26
f
0 fc 2fc 3fc
VB(f)
f
0 fc 2fc 3fc
VC(f)
f
0 fc 2fc 3fc Fig. 7.5-8
Chopper-Stabilized Amplifier
Chopper-stabilized Amplifier: VDD VDD
M3 M4 M7 M8
φ1 φ1
+
φ2 M1 M2 φ2 M5 M6
vin
φ2 φ2
-
φ1 φ1
IBias IBias
V VSS
Circuit equivalent during φ1 phase: SS
vu1 vu2
+ - + -
vueq A1 A2
- + - +
v
vueq = vu1 + u2
A1
Circuit equivalent during the φ2 vphase: vu2
u1
+ - + -
vueq A1 A2
-+ - +
vu2 , v (aver) =vu2
vueq = -vu1 + ueq Fig. 7.5-10
A1 A1
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-28
With chopper
fc = 16kHz
nV/ Hz
100
With chopper fc = 128kHz
10
0 10 20 30 40 50
Frequency (kHz) Fig. 7.5-11
Comments:
• The switches in the chopper-stabilized op amp introduce a thermal noise equal to kT/C
where k is Boltzmann’s constant, T is absolute temperature and C are capacitors
charged by the switches (parasitics in the case of the chopper-stabilized amplifier).
• Requires two-phase, non-overlapping clocks.
• Trade-off between the lowering of 1/f noise and the introduction of the kT/C noise.
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-30
Input o Output f
fc-fo
Let = fo and be a given Modulator Bandpass Filter Modulator
041006-03
†
bound of . It can be shown that
the achievable effective offset reduction, EOR, and the optimum Q for the bandpass filter,
Qopt, is
8Q
EOR = (1+8Q2) , <<1 and Qopt = 1/ 8
Improvements of 14dB reduction in effective offset are possible for = 0.8%.
†
C. Menolfi and Q. Huang, “A Fully Integrated, Untrimmed CMOS Instrumentation Amplifier with Submicrovolt Offset,” IEEE J. of Solid-State
Circuits, vol. 34, no.8, March 1999, pp. 415-420.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 290 – Low Power and Low Noise Op Amps (3/28/10) Page 290-31
SUMMARY
• Operation of transistors for low power op amps is generally in weak inversion
• Boosting techniques are needed to get output sourcing and sinking currents that are
larger than that available during quiescent operation
• Be careful about using circuits at weak inversion, i.e. the self-biased cascode will cause
the resistor to be too large
• Primary sources of noise for CMOS circuits is thermal and 1/f
• Noise analysis:
1.) Insert a noise generator for each transistor that contributes to the noise.
(Generally ignore the current source transistor of source-coupled pairs.)
2.) Find the output noise voltage across an open-circuit or output noise current into a
short circuit.
3.) Reflect the total output noise back to the input resulting in the equivalent input
noise voltage.
• Noise is reduced in op amps by making the input stage gain as large as possible and
reducing the noise of this stage as much as possible.
• The input stage noise can be reduced by using lateral BJTs (particularily the 1/f noise)
• Doubly correlated sampling can transfer the noise at low frequencies to the clock
frequency (this technique is used to achieve low input offset voltage op amps).
INTRODUCTION
Implications of Low-Voltage, Strong-Inversion Operation
• Reduced power supply means decreased dynamic range
• Nonlinearity will increase because the transistor is working close to VDS(sat)
• Large values of because the transistor is working close to VDS(sat)
• Increased drain-bulk and source-bulk capacitances because they are less reverse
biased.
• Large values of currents and W/L ratios to get high transconductance
• Small values of currents and large values of W/L will give smallVDS(sat)
• Severely reduced input common mode range
• Switches will require charge pumps
Therefore,
V DD(min.) = VT + 3VON
This could be reduced to 3VON with the floating battery but its implementation probably
requires more than 3VON of power supply.
Note the output signal swing is VT + VON while the input common range is VON.
VDS5(sat) +
VBias M5
If the threshold magnitudes are 0.7V, VDD = -
Fig. 7.6-3
1.5V and the saturation voltages are 0.3V, then
V icm(upper) = 1.5 - 0.3 + 0.7 = 1.9V
and
V icm(lower) = 0.3 + 1.0 = 1.3V
giving an ICMR of 0.6V.
VDD > Vicm > Vonp: (n-channel on and p-channel off) gm(eq) = gmN
Vonp Vicm Vonn: (n-channel on and p-channel on) gm(eq) = gmN + gmP
Vonn > Vicm > 0 : (n-channel off and p-channel on) gm(eq) = gmP
where gm(eq) is the equivalent input transconductance of the above input stage, gmN is
the input transconductance for the n-channel input and gmP is the input trans-
conductance for the p-channel input.
gm(eff)
gmN+gmP
gmP gmN
n-channel off Vonn n-channel on Vonp n-channel on
p-channel on p-channel on p-channel off
Vicm
0 VSDP5(sat)+VGSN1 VDD-VSDP5(sat)+VGSN1 VDD Fig. 7.6-5
KP’W P Ib
gm(eff) =LP 2 Ib 1:3
Fig. 7.6-6
2.) V onn < Vicm < Vonp: both on with
In = Ip = Ib:
KN’W N KP’W P
gm(eff) = LN I b + LP Ib
3.) V icm > Vonp: p-channel diff. amp. off and n-channel on with In = 4Ib:
KN’W N
gm(eff) = LN 2 Ib
gmN=gmP
0 Vicm
0 Vonn Vonp VDD Fig. 7.6-7
The above techniques and many similar ones are good for power supply values down to
about 1.5V. Below that, different techniques must be used or the technology must be
modified (natural devices).
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 300 – Low Voltage Op Amps (3/28/10) Page 300-9
Natural Transistors
Natural or native NMOS transistors normally have a threshold voltage around 0.1V
before the threshold is increased by increasing the p concentration in the channel.
If these transistors are characterized, then they provide a means of achieving low voltage
operation.
Minimum power supply (ICMR = 0):
V DD(min) = 3VON
Input common mode range:
V icm(upper) = VDD – VON + VT(natural)
V icm(lower) = 2VON + VT(natural)
If VT(natural) VON = 0.1V, then
V icm(upper) = VDD
V icm(lower) = 3VON = 0.3V
Therefore,
ICMR = VDD - 3VON = VDD – 0.3V V DD(min) 1V
Matching tends to be better (less doping and magnitude is smaller).
;;
Bulk-Driven MOSFET
A depletion device would permit large ICMR even with very small power supply voltages
because VGS is zero or negative.
;;
When a MOSFET is driven from the bulk with the gate held constant, it acts like a
depletion transistor.
Cross-section of an n-channel
;;
;;;;;
;; ;; ;;
vBS VDS VGS VDD
bulk-driven MOSFET:
;;;;;;
Bulk Drain Gate Source Substrate
;;
;;;;;
;;
Channel
p+ n+ n+ n+
QP
Depletion p-well
Region QV
n substrate
Large signal equation: Fig. 7.6-8
KN’W
iD = 2L V GS-VT0- 2|F|-vBS+ 2|F|2
Small-signal transconductance:
(2KN’W/L)ID
gmbs = 2 2| |-V
F BS
(forward biased )
• Noise of both configurations are the same (any differences comes from the gate versus
bulk noise)
• Bulk-driven MOSFET tends to be more linear at lower currents than the gate-driven
MOSFET
• Very useful for generation of IDSS floating current sources.
200nA
Bulk-Source Current
150nA
100nA
50nA
-50nA
-0.50V -0.25V 0.00V 0.25V 0.50V
Input Common-Mode Voltage Fig. 7.6-10A
Comments:
• Effective ICMR is from VSS to VDD -0.3V
• The transconductance of the input stage can vary as much as 100% over the ICMR
which makes it very difficult to compensate
;;
S S Gate
IE p+ p+
B
;;
G B G
n+
D ICD ICS
D Source Drain
IBB IBB
n-well
p- substrate
Reduced Threshold MOSFET Parasitic BJT Layout Fig. 7.6-19
Problem:
Want to limit the BJT current to some value called, Imax.
Therefore,
Imax
IBB = CS+CD+1
†
T. Lehmann and M. Cassia, “1V Power Supply CMOS Cascode Amplifier,” IEEE J. of Solid-State Circuits, Vol. 36, No. 7, 2001.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 300 – Low Voltage Op Amps (3/28/10) Page 300-15
IS,E 1.3ID and IR 0.1ID which sets IBB at 0.1ID assuming we can neglect ICS with
respect to ICD.
For this circuit to work, the following conditions must be satisfied:
V BE < VTN + IRR and |VTP| + VDS(sat) < VTN + IRR
If |VTP| > VTN, then the level shifter IRR can be eliminated.
The problem with this approach is the number of poles that occur (one per stage) if the
amplifier is to be used in a closed loop application.
Cm1 jω
p4 p3 p2 p1
σ
Cm2 jω
p4 p2 p3 p1
σ
Cm3 jω
p4 p3 p2 p1
σ
-GB 070508-01
This approach is complicated by the feedforward paths which create RHP zeros.
Unfortunately, the analysis becomes quite complex - for the details refer to the reference
below.
†
R. Hogervorst and J. H. Huijsing, Design of Low-Voltage, Low-Power Operational Amplifier Cells, Kluwer Academic Publishers, 1996, pp. 127-131.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 300 – Low Voltage Op Amps (3/28/10) Page 300-21
Cascoding
Possibilities that trade off output resistance and headroom:
ID ID ID
R R R
M2 + out M2 + out M2 + out
ID VT+2Von VT+2Von
Sat. Sat. Sat.
Rout v v v
+ M1 out M1 out M1 out
vout Sat. Act. Act.
VGG − VGG − VGG − VGG −
Thick oxide
transistor Retractable cascode
Thick oxide
050416-02
cascode composite transistor
(Transistor symbols with additional separation between the gate line and the channel line
represent thick oxide transistors.)
†
Anne-Johan Annema, et. Al., “5.5-V I/O in a 2.5-V 0.25μm CMOS Technology,” IEEE J. of Solid-State Circuits, Vol. 36, No. 3, March 2001, pp.
528-538.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 300 – Low Voltage Op Amps (3/28/10) Page 300-23
VDD VDD
M7
M3 M4 M7 M3 M4
or
M6 M6 M5
M1 M2 M1
M5 IB2 M2
Fig. 7.6-13A
M3 M4 4 10 -5
iout Iin=40μA
+
Iout (A)
+ +
VGS3 VBS3
- V GS4
-M2
3 10-5 Iin=30μA
M1 M2 - M1
2 10-5 Iin=20μA
+ + + + + +
VGS VBS VGS VGS1 VBS1 V GS2 Iin=10μA
- - - - - - 1 10-5
Simple bulk-driven 0
Cascodebulk-driven
0 0.2 0.4 0.6 0.8 1
current mirror current mirror. Fig.7.6-11 Vout (V) Fig. 7.6-12
The cascode current mirror gives a minimum input voltage of less than 0.5V for currents
less than 100μA
R1
Voltage-mode bandgap topology. Current-mode bandgap topology. Voltage-current mode bandgap topology
Fig. 7.6-14
K2IVBE K1IPTAT
I2 INL K3INL
INL
IVBE K1IPTAT
Temperature
Circuit to generate nonlinear correction term, INL. Illustration of the various currents.
Fig. 7.6-16
0 , K2IVBE>K1IPTAT
INL = K1IPTAT-K2IVBE ,
K2IVBE<K1IPTAT
The combination of the above concept with the previous slide yielded a curvature-
corrected bandgap reference of 0.596V with a TC of 20ppm/C° from -15C° to 90C° using
a 1.1V power supply.† In addition, the line regulation was 408 ppm/V for 1.2VDD10V
and 2000 ppm/V for 1.1VDD10V. The quiescent current was 14μA.
†
G.A. Rincon-Mora and P.E. Allen, “A 1.1-V Current-Mode and Piecewise-Linear Curvature-Corrected Bandgap Reference,” J. of Solid-State
Circuits, vol. 33, no. 10, October 1998, pp. 1551-1554.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 300 – Low Voltage Op Amps (3/28/10) Page 300-27
VPB2 vOUT
Cc
+ M1 M2
vIN M6 M7
−
VNB1
M5 M8 M9 M10
060804-01
Performance:
Gain gm2rds2
Miller compensated
Output swing is VDD -2VON
Max. CM input = VDD
Min. CM input = 2VON + VT
VDD-VT-2VDS(sat)
+ − vOUT
VT+2VDS(sat)
VT+VDS(sat) 1:3
041231-15
Performance:
Gain gm2rds2, self compensated, and output swing is VDD -4VON
VPB2 VPB2
+ − vOUT
VNB2 VNB2
VNB1
1:3
060804-02
VDD=1V
6000/6 6000/6 3000/6 6000/6
M12
M8 M9 M10 M11
vin- 2000/2 vin+
Cc=30pF vout
IBias M1 M2
Rz=1kΩ
Q5 Q6 CL
M3 M4
M7
400/2 400/2 400/2
Fig. 7.6-18
M6 M13
Cx M9 M10
M17
+
vin M1 M2 vout
-
CL
M7 M8
VBiasN M3 M5 M4 M14
M15
M16
SUMMARY
• Integrated circuit power supplies are rapidly decreasing (today 2-3Volts)
• Classical analog circuit design techniques begin to deteriorate at 1.5-2 Volts
• Approaches for lower voltage circuits:
- Use natural NMOS transistors (VT 0.1V)
- Drive the bulk terminal
- Forward bias the bulk
- Use depeletion devices
• The dynamic range will be compressed if the noise is not also reduced
• Fortunately, the threshold reduction continues to allow the techniques of this section to
be used in today’s technology
CHARACTERIZATION OF COMPARATORS
What is a Comparator?
The comparator is a circuit that compares one analog signal with another analog signal
or a reference voltage and outputs a binary signal based on the comparison.
The comparator is basically a 1-bit analog-to-digital converter:
Comparator symbol:
vP +
vO
vN -
Fig. 8.1-1
vP-vN vP-vN
VOL VOL
Noninverting Comparator Inverting Comparator
Fig. 8.1-2A
vP-vN
Model:
vP
+ +
vP-vN f0(vP-vN) vO
- -
vN
Comparator
VOH for (vP-vN) > 0
f0(vP-vN) =
VOL for (vP-vN) < 0 Fig. 8.1-3
V -V
lim OH OL
Gain = Av = V where V is the input voltage change
V 0
V OH+VOL
V OS = the input voltage necessary to make the output equal 2 when vP = vN.
Model:
vP
+vP' +
±VOSv '-v ' f1(vP'-vN') vO
P N
-v ' -
vN N
Comparator Fig. 8.1-7
Other aspects of the model:
ICMR = input common mode voltage range (all transistors remain in saturation)
Rin = input differential resistance
Ricm = common mode input resistance
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 310 – Open-Loop Comparators (3/28/10) Page 310-7
;;
Comparator Noise
Noise of a comparator is modeled as if the comparator were biased in the transition
region.
vo
VOH
Rms Noise
vP-vN
VOL
Transition Uncertainty Fig. 8.1-8
Noise leads to an uncertainty in the transition region causing jitter or phase noise.
Risingpropagationdelaytime+Fallingpropagationdelaytime
Propagation delay time = 2
tpr+tpf
= 2
VPBias2
MC3 MC4 vo
CL
MC1 MC2
vp M1 M2 v
VBias n
-
+ M5
VNBias1
-
060808-02
• Gain gm2rds2
• Slew rate = I5/CL
• Dominant pole = -1/(RoutCL) = -1/(gmrds2CL)
Folded-Cascode Comparator
VDD
VPB1
M4 M5
VPB2
M6 vOUT
vP M7
M1 M2 VNB2
M8 M9 CL
vN
M3
VNB1 I3 M11
M10
060808-03
• Gain gm2rds2
• Slew rate = I3/CL
• Dominant pole = -1/(RoutCL) -1/(gmrds2CL)
• Slightly improved ICMR
M10 M11
VPB1 M3
vP -A
M8 M9
vOUT
vN M1 M2
M6 M7 CL
-A -A
VNB1 M4
M5
060808-04
• Gain gm1Rout
• Rout [Ards7gm7(rds1||rds5)]|| (Ards9gm9rds11)
• Slew rate = I3/CL
• Dominant pole = -1/(RoutCL)
M3 M4
M6
vn vout
M1 M2
vp CL
+ M7
VNB1 M5
-
060808-05
• Much faster linear response – the two poles of the comparator are typically much larger
than the dominant pole of the self-compensated type of comparator.
• Be careful not to close the loop because the amplifier is uncompensated.
I7 I6-I7
• Slew rate: SR- = CII and SR+ = CII
p1
-1 p2-1
0.8
m=2 m = 1 m = 0.5
m = 0.25
0.6
0.4
p2
m= p
1
0.2
0
0 2 4 6 8 10
Normalized Time (tn = -tp1 ) Fig. 8.2-2
can’t be easily solved so approximate the step response as a power series to get
m
tn2 1
m2tn2
mtn2Av(0)Vin
vout(tn) Av(0)Vin1-m-1
1-tn+ 2 +··· +m-1
1-mtn+ 2 +···
2
Therefore, set vout(tn) = 0.5(VOH-V OL)
V OH-V OL mtpn2Av(0)Vin
2 2
or
V OH-V OLV in(min) 1
tpn mAv(0)Vin =mVin =
mk
This approximation is particularly good for large values of k.
VDD
VOH = VDD – (VDD-VG6(min)-|VTP|)
i3 i4
8I7 M3 M4 vo1
x1- 1- M6
6(VDD-VG6(min)-|VTP|)2 i1 i2 CI
vout
vG1 M1 M2 vG2
CII
ISS
+ M7
VBias M5
-
VSS Fig. 8.2-3
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 310 – Open-Loop Comparators (3/28/10) Page 310-27
Solution
1.) Total delay = sum of the first and second stage delays, t1 and t2
2.) First, consider the change of vG2 from -2.5V to 2.5V at 0.2μs.
The last row of table on Slide 310-28 gives vo1 = +2.5V and vout = -2.5V
3.) tf1, requires CI, Vo1, and I5. CI = 0.2pF, I5 = 30μA and V1 can be calculated by
finding the trip point of the output stage.
CMOS Analog Circuit Design © P.E. Allen - 2010
SUMMARY
• The two-stage, open-loop comparator has two poles which should as large as possible
• The transient response of a two-stage, open-loop comparator will be limited by either
the bandwidth or the slew rate
• It is important to know the initial states of a two-stage, open-loop comparator when
finding the propagation delay time
• If the comparator is gainbandwidth limited then the poles should be as large as possible
for minimum propagation delay time
• If the comparator is slew rate limited, then the current sinking and sourcing ability
should be as large as possible
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-2
AUTOZEROING
Principle of Autozeroing
Use the comparator as an op amp to sample the dc input offset voltage and cancel the
offset during operation.
Ideal Ideal Ideal
Comparator Comparator Comparator
vIN
- - - vOUT
+ + - +
VOS VOS CAZ VOS + VOS
+ VOS
-C
AZ
Comments:
• The comparator must be stable in the unity-gain mode (self-compensating comparators
are ideal, the two-stage comparator would require compensation to be switched in
during the autozero cycle.)
• Complete offset cancellation is limited by charge injection
φ1Ideal
vIN-
+ - vOUT = VOS
Comparator VOS
φ2 - +
- vOUT
φ1 VOS
vIN+ + Comparator during φ1 phase
φ2 VOS vIN- - vOUT
CAZ φ1 +
vIN+ + -
VOS VOS
Differential Autozeroed Comparator Comparator during φ2 phase
Fig. 8.4-2
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-4
Comment on autozeroing:
Need to be careful about noise that gets sampled onto the autozeroing capacitor and
is present on the comparison phase of the process.
HYSTERESIS
Influence of Input Noise on the Comparator
Comparator without hysteresis:
Comparator vin
threshold
t
vout
VOH
t
VOL Fig. 8.4-6A
Comparator with hysteresis:
vin
VTRP+
t
VTRP-
vout
VOH
t
VOL
Fig. 8.4-6B
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-6
VTRP+ R1 (V -V )
R2 OH OL VTRP+
vIN 0 vIN
0
VTRP- VTRP-
VOL VOL
R2
R1 (V -V ) R V
vIN R1 R2 OH OL - 1 OL
+ vOUT 0 R2
vIN
- 0
-R1VOH
R2
VOL
Upper Trip Point: Fig. 8.4-7
Assume that vOUT =
V OL, the upper trip point occurs when,
R1
R2
R1
0 = R +R V OL + R +R V TRP+
V TRP+ = - R2 VOL
1 2 1 2
Lower Trip Point:
Assume that vOUT = VOH, the lower trip point occurs when,
R1 R2 R1
0 = R1+R2V OH + R1+R2V TRP-
V TRP- = - R2 VOH
Width of the bistable characteristic:
R
1
+ -
Vin = VTRP -V TRP = R V OH-V OL
2
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-8
Fig. 8.4-8
Upper Trip Point:
R1
vIN = VTRP + = R1+R2V OH
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-10
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-12
IBias M3 M6 M7 M4
vo1 vo2
vi1 M1 M2 vi2
M8 M5
Fig. 8.4-11
VSS
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-14
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-16
1.4
1.2
1
-0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4 0.5
vin (volts) Fig. 8.4-13
IBias M3 M6 M7 M4
M9 M8
vi1 vi2
M1 M2 vout
M10 M11
M8 M5
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-18
Schmitt Trigger
The Schmitt trigger is a circuit that has better defined switching points.
Consider the following circuit:
VDD How does this circuit work?
Assume the input voltage, vin, is low and the output
M5 voltage, vout , is high.
M3, M4 and M5 are on and M1, M2 and M6 are off.
M4 When vin is increased from zero, M2 starts to turn on causing
vin M3 vout M3 to start turning off. Positive feedback causes M2 to turn
on further and eventually both M1 and M2 are on and the
M6
M2 output is at zero.
The upper switching point, VTRP+ is found as follows:
M1 When vin is low, the voltage at the source of M2 (M3) is
vS2 = VDD-V TN3
Fig. 8.4-15
V TRP+ = vin when M2 turns on given as VTRP+ = VTN2 + vS2
V TRP+ occurs when the input voltage causes the currents in M3 and M1 to be equal.
0 0 vin
VTRP- VTRP+ VDD
Fig. 8.4-16
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-20
SIMPLE LATCHES
Regenerative Comparators
Regenerative comparators use positive feedback to accomplish the comparison of two
signals. Latches can have a faster switching speed than the previous comparators.
NMOS and PMOS latch:
VDD VDD
I1 I2 M1 M2
vo1 vo2 vo1 vo2
M1 M2 I1 I2
I1 I2 M1 M2
Enable Enable Enable Enable
Vo1ʼ Vo2ʼ Vo1ʼ Vo2ʼ
M1 M2 I1 I2
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-22
V o1’
gm1V o2+G1V o1+sC V o1- s = gm1V o2+G1V o1+sC1V o1-C1V o1’ = 0
1
V o2’
gm2V o1+G2V o2+sC V o2- s = gm2V o1+G2V o2+sC2V o2-C2V o2’ = 0
2
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-24
0
0 1 2 t 3 4 5
Since the propagation time delay is the time when the output is 0.5(VOH-V OL), then
using the above results or Fig. 8.5-5 we find for Vi = 0.01(VOH-V OL) that tp = 3.91L =
0.512ns and for Vi = 0.1(VOH-V OL) that tp = 1.61L = 0.211ns.
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-26
3.) The input voltage which causes R1 = R2 is vin(threshold) = (W2/W 1)V REF
W 2/W 1 = 1/4 generates a threshold of ±0.25VREF.
Performance 20Ms/s & 200μW
†
T.B. Cho and P.R. Gray, “A 10b, 20Msamples/s, 35mW pipeline A/D Converter,” IEEE J. Solid-State Circuits, vol. 30, no. 3, pp. 166-172, March
1995.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-27
φ1 M5 M6 φ1
vout+ vout-
M3 M4
vin+ M1 M2 vin-
Fig. 8.5-7
Dissipated 50μW when clocked at 2MHz.
Self-referenced
†
A. Coban, “1.5V, 1mW, 98-dB Delta-Sigma ADC”, Ph.D. dissertation, School of ECE, Georgia Tech, Atlanta, GA 30332-0250.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-28
Tail-Referenced Latch
The previous two latches experience poor input offset VDD
voltage characteristics because the input devices are
working in the linear region during the latch phase. Latch Latch
The latch below keeps the input devices in the sat- vout- vout+
uration region. The resulting larger gain of the input
devices reduces the input offset voltage as shown.
The input offset voltage of the tail referenced Vref+ Vref-
vin+ vin-
latch is compared between two latches with the M1 M2
referenced latch for 100 samples. The x-axis is the
deviation from the mean of the first latch and the y- All transistors are
Latch
axis is the deviation of the mean of the second latch. 3.5μm/0.4μm excep
070511-01 M1 and M2
CMOS Latch
Circuit:
VDD
φLatch
M6
M8 M3 M4 +
VREF vout
vin vout-
M7
M1 M2
φLatch
M5
;
Fig. 8.5-8
Input offset voltage distribution:
;;
;;
;;
;; L = 1.2μm
of Samples
20
Number
;;
;;;
;;;
σ = 5.65 (0.6μm Process)
10
0 -15 -10 -5 0 15
5 10
Input offset voltage (mV) Fig. 8.5-9
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-30
M1 M2
Latch
M7 Outputs
M3 M4
060808-10
When Latch_bar is high, M5, M6 and M7 are off and the latch is disabled and the outputs
are shorted together.
When Latch_bar is low, the input voltages stored at the sources of M1 and M2 will cause
one of the latch outputs to be high and the other to be low.
The source of M1 and M2 that is higher will have a larger source-gate voltage
resulting in a larger transconductance and more gain than the other transistor.
Metastability
Metastability is the condition where the latch cannot make a decision in the time
allocated. Normally due to the fact that the input is small (within the input resolution
range).
Metastability can be improved (reduced) by increasing the gain of the comparator by
preceding it with an amplifier to keep the signal input to the latch as large as possible
under all conditions. The preamplifier also reduced the input offset voltage.
VDD
Latch_bar
Latch
Inputs
Comparator
Inputs Latch
Outputs
VNB1
Lecture 320 – Improved Open-Loop Comparators and Latches (3/28/10) Page 320-32
SUMMARY
• Discrete-time comparators must work with clocks
• Switched capacitor comparators use op amps to transfer charge and autozero
• Regenerative comparators (latches) use positive feedback
• The propagation delay of the regenerative comparator is slow at the beginning and
speeds up rapidly as time increases
• The highest speed comparators will use a combination of open-loop comparators and
latches
One stage of this amplifier had a gain of 10 and a dominant pole at 551MHz. The
response of this amplifier to a step input is
V out(t) = 10Vin (1-e-p1t)
If the output signal swing is 1V and the step is 0.1V, the propagation time delay is,
V in(min) = 1/10 = 0.1V k = 1
2k 2
1 1
tp = ln 2k-1 =
6 ln 2-1 = 0.20 ns
p1 2·551x10
+ + + + + +
Vin A1 A2 A3 Vout
− − − − − −
10V/V 10V/V 10V/V
p1=551MHz p1=551MHz p1=551MHz
Assuming a W/L ratio of 42 for M1 and 200 for M2, if the input can swing to VDD
(=2.5V) and ground, the sourcing and sinking currents are:
Kp' W 25·200
ISourcing = 2L (VDD – |VTP|)2 = 2 (2.5V-0.5)2 μA = 10.0 mA
Kn' W 120·42
ISinking = 2L (VDD – VTN)2 = 2 (2.5V-0.5)2 μA = 10.1 mA
If larger currents are required, cascaded stages can be used to optimize the delay versus
the current output.
If the effective resistance of the driver is 30k, then the delay is 29 ns which is much too
large.
ln(CLoad/Cin)
From the above figure we see that CLoad = f NCin _ N =
ln f
The delay of a single, push-pull inverter can be expressed as,
C
j
tinv = invCj-1+inv
where
inv = ReffCin (Reff is the effective output resistance of the inverter)
Cself Cjunction
inv = Cin = Cin (Cjunction is the bulk-drain capacitances)
Cj
Setting f = Cj-1 gives
ln(CLoad/Cin)
ttotal = inv (f + inv)
ln f
Plotting the total delay versus f for various values of inv shows that the optimum value of
f lies in the range of 2.5 to 4†.
†
D.A. Hodges, H.G. Jackson, and R.A. Saleh, Analysis and Design of Digital Integrated Circuits in Deep Submicron Technology, 3rd ed., McGraw-
Hill Book Co., 2004, Chapter 6.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 330 – High Speed Comparators (3/28/10) Page 330-9
M1 M2
M1 M2
M5
VBias M5
VSS Fig. 8.3-4
VSS
Advantage:
Large sink or source current with out a large quiescent current.
Disadvantage:
Poor common mode range (vin+ slower than vin-)
†
M. Bazes, “Two Novel Full Complementary Self-Biased CMOS Differential Amplifiers,” IEEE Journal of Solid-State Circuits, Vol. 26, No. 2, Feb.
1991, pp. 165-168.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 330 – High Speed Comparators (3/28/10) Page 330-11
M4 M6
M3 M8
vn vout
M1 M2
vp CL
M5
+ M9 M7 Metal
VBias
-
060808-06
Comments:
• Gain reduced Larger input resolution
• Push-pull output Higher slew rates
• Can increase the current drive by cascading the output stage
M8 M10
M3 M4
M6
vn
M1 M2 vout
vp CL
+ M7 M9 M11
VNB1 M5
-
060808-08
Comments:
• Slew rate = 3V/μs into 50pF
• Linear rise/fall time = 100ns into 50pF
• Propagation delay time 1μs
• Loop gain 32,000 V/V
• The quiescent dc currents in the output stages are not well defined
• Use the principle of optimizing the delay in cascaded inverters
Fast rising
0 t
060810-04
Fast rising
2.72Vin
Slow rising
0 t
τL 060810-05
+ + +
Vin Ao Vo1 Latch Vout
− − −
060810-06
In order to keep the bandwidth of the amplifier large, the gain will be small. To achieve
Preamplifier 1 Preamplifier 2 Preamplifier n
+ + + + + +
Vin Ao1/n Vo1 Ao1/n Vo2 Von-1 Ao1/n Von Latch Vout
− − − − − −
Gain = Ao 060810-08
Therefore, the question is how many stages of the amplifier and what is the gain of each
stage for optimum results?
Enable
Solution
The solution is based on the figure shown.
We note that, Amplifier
VOH
voa(t) = 10[1-e--3dBt]0.05(VOH-V OL).
Latch
If we define the input voltage to the latch as, x(VOH-VOL)
vil = x·(VOH-V OL) t2
then we can solve for t1 and t2 as follows: VOL t
t1 S01E3S1
1 1 1 dtp
tp = t1 + t2 = -3dB ln
1-2x + L ln
2x dx = 0 gives
2L-3dB 0.4
2x = 2+2L-3dB = 2+0.4 = 0.3859 (x = 0.1930)
10ns
1
t1 = 2 ln
1-0.3859 = 1.592ns·0.4875 = 0.7762 ns
1
and t2 = 1ns ln
0.3859 = 0.9522ns
tp = t1 + t2 = 0.776 ns + 0.952 ns = 1.728 ns
Gain = Ao 070509-06
An Improved Preamplifier
Circuit:
VDD
VBiasP VBiasP
M3 M4
vout- M5 M6 vout+
Reset
M10 M12
FB M11 FB
M7 M8
VBias
vin+ vin-
M1 M2
VBiasN
M9
Fig. 8.6-5
Gain:
gm1 KN’(W 1/L1)I1 KN’(W 1/L1) I5
Av = - gm3 = - KP’(W 3/L3)I3 = - KP’(W 3/L3) 1+I3
If I5 = 24I3, the gain is increased by a factor of 5
Gain = 20dB
f-3dB = 551MHz
Vref1 Vref2
VNB1
†
T. Liechti, “Design of a High-Seed 12-bit Differential Pipelined A/D Converter,” Diploma Project, Feb. 2004, Microelectronic Systems Laboratory,
Swiss Federal Institute of Technology, Lausanne.
CMOS Analog Circuit Design © P.E. Allen - 2010
Clock waveforms:
Mean comparator power
dissipation is 140μW
under typical conditions
SUMMARY
• Comparators are limited in speed either by bandwidth or slew rate
• Increasing the magnitude of the poles improves the bandwidth limitations
• Increasing the current sinking/sourcing ability improves the slew rate limitation
• Most high speed comparators use a combination of preamplifier followed by a latch
- The preamplifier uses bandwidth to quickly build up the input
- The latch uses positive feedback to take the signal to its final state
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-2
INTRODUCTION
Importance of Data Converters in Signal Processing
ANALOG
SIGNAL PRE-PROCESSING DIGITAL POST-PROCESSING ANALOG
(Speech, (Filtering and analog PROCESSOR (Digital to analog OUTPUT
sensors, to digital conversion) (Microprocessor) conversion and SIGNAL
radar, filtering)
etc.)
CONTROL
Digital-Analog Converters
Digital Signal
Processing
System
Microprocessors DIGITAL-
Compact disks ANALOG Filter Analog
Read only memory
Amplifier
CONVERTER Output
Random access memory
Digital transmission
Disk outputs
Digital sensors
Characteristics:
• Can be asynchronous or synchronous
• Primary active element is the op amp
• Conversion time can vary from fast (one clock period, T) to slow (2No. of bits*T)
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-4
Analog-Digital Converters
Digital Signal
Processing
ANALOG- System
Analog Sample Microprocessors
DIGITAL Compact disks
Input and CONVERTER Read only memory
Hold Random access memory
Digital transmission
Disk outputs
Digital sensors
060922-01 Reference
Characteristics:
• Can only be synchronous (the analog signal must be sampled and held during
conversion)
• Primary active element is the comparator
• Conversion time can vary from fast (one clock period, T) to slow (2No. of bits*T)
Binary Switches
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-6
Input-Output Characteristics
Ideal input-output characteristics of a 3-bit DAC
1.000
0.875
Infinite Resolution
Analog Output Value Normalized to VREF
Characteristic
0.750
0.625 1 LSB
0.500
Vertical Shifted
0.375 Characteristic
0.250
0.125
0.000
000 001 010 011 100 101 110 111
Digital Input Code Fig. 10.1-4
Definitions
• Resolution of the DAC is equal to the number of bits in the applied digital input word.
• The full scale (FS):
FS = Analog output when all bits are 1 - Analog output all bits are 0
V REF
1
FS = (VREF - 2N ) - 0 = VREF1-2N
• Full scale range (FSR) is defined as
lim (FS) = V
FSR = N REF
• Quantization Noise is the inherent uncertainty in digitizing an analog value with a finite
resolution converter.
Quantization Noise
1LSB
0.5LSB
Digital
0LSB Input
000 001 010 011 100 101 110 111
Code
-0.5LSB Fig. 10.1-5
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-8
More Definitions
• Dynamic Range (DR) of a DAC is the ratio of the FSR to the smallest difference that can
be resolved (i.e. an LSB)
FSR FSR
DR = LSBchange = (FSR/2N) = 2N
or in terms of decibels
DR(dB) = 6.02N (dB)
• Signal-to-noise ratio (SNR) for the DAC is the ratio of the full scale value to the rms
value of the quantization noise.
T
1 t LSB FSR
LSB2 -0.5
2dt =
rms(quantization noise) = T T =
12 2N 12
0
vOUT(rms)
SNR =
(FSR/ 122N)
• Maximum SNR (SNRmax) for a sinusoid is defined as
vOUTmax(rms) FSR/(2 2) 62N
SNRmax = = = 2
(FSR/ 122N) FSR/( 122N)
or in terms of decibels
62N
SNRmax(dB) = 20log10 2
= 10 log10(6)+20 log10(2N)-20 log10(2) = 1.76 + 6.02N dB
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-10
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-12
where Vcx is the actual voltage change on a bit-to-bit basis and Vs is the ideal LSB
change of (VFSR/2N) 8
8
Infinite Resolution Characteristic
7
Example of a 3-bit DAC: 8
+1.5 LSB DNL
Analog Output Voltage
6
8
5 Nonmonotonicity
8
-1 LSB INL
4
8 +1.5 LSB INL A
3 -1.5 LSB DNL
8
2 Ideal 3-bit Characteristic
8
1
8 Actual 3-bit Characteristic
0
8 000 001 010 011 100 101 110 111
Digital Input Code Fig. 10.1-7
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-14
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-16
Settling Time
0 t
0 Ts Fig. 6.1-7
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-18
TESTING OF DACs
Input-Output Test
Test setup:
ADC
Digital N-bit ADC with Output
Vout Digital Digital
Word DAC more resolution
Subtractor Error
Input under than DAC
(N+2 bits) Output
(N+2 bits) test (N+2 bits)
(N+2 bits)
Fig. 10.1-9
Comments:
Sweep the digital input word from 000...0 to 111...1.
The ADC should have more resolution by at least 2 bits and be more accurate than the
errors of the DAC
INL will show up in the output as the presence of 1’s in any bit.
If there is a 1 in the Nth bit, the INL is greater than ±0.5LSB
DNL will show up as a change between each successive digital error output.
The bits which are greater than N in the digital error output can be used to resolve the
errors to less than ±0.5LSB
All nonlinearities of the DAC (i.e. INL and DNL) will cause harmonics of the
fundamental frequency
The THD can be used to determine the SNR dB range between the magnitude of the
fundamental and the THD. This SNR should be at least 6N dB to have an INL of less than
±0.5LSB for an ENOB of N-bits.
Note that the noise contribution of VREF must be less than the noise floor due to
nonlinearities.
If the period of the digital pattern is increased, the frequency dependence of INL can be
measured.
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-20
Digital-Analog Converters
Serial Parallel
I0
I1 RF
Current vOUT
I2
VREF Scaling -
Network
IN-1 +
Fig. 10.2-2
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-22
S0 S1 S2 SN-1 +
-
I0 I1 I2 IN-1 vOUT
R 2R 4R 2N-1R + -
IO
VREF +
S0 S1 S2 SN-1 -
IO vOUT
+ -
Fig. 10.2-4
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-24
IREF =I R2 +
S0 SN-3 SN-2
SN-1 -
N-1 4I 2I I
+ - b0 2 I bN-3 bN-2 bN-1 A1
+
Transistor vOUT
A2 Array
+ +
VA -
V
- A -
I I I I
2 4 8 2N
060926-01
b0 b1 b2 bN-1
vOUT = IRL 2 + 4 + 8 +···++ N
2
where
+1ifthebitis1
bi =
-1ifthebitis0
A single-ended DAC can be obtained by replacing the left RL by a short.
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-26
I I I I I I
2N 2N 2N 2N 2N 2N
d0 d1 d2 d3 d4 d2N
N to 2N Encoder
b0 b1 b2 bN 060926-02
I I I I I I
2N 2N 2N 2N 2N 2N
q0 q1 q2 q3 q4 q2N
N to 2N Encoder
b0 b1 b2 bN 060926-03
Lecture 340 – Characterization of DACs and Current Scaling DACs (5/1/10) Page 340-28
SUMMARY
• DACs scale a voltage reference as an analog output according to a digital word input
• Quantization noise is an inherent ±0.5 LSB uncertainty in digitizing an analog value with
a finite resolution converter
• The most significant bit requires the greatest accuracy with the least significant bit
requiring the least accuracy
• Integral Nonlinearity (INL) is the maximum difference between the actual finite
resolution characteristic and the ideal finite resolution characteristic measured vertically
(% or LSB)
• Differential Nonlinearity (DNL) is a measure of the separation between adjacent levels
measured at each vertical jump (% or LSB)
• The limits to DAC speed include:
- Parasitic capacitors
- The op amp gainbandwidth
- The op amp slew rate
• Current scaling DACs scale the reference voltage into binary-weighted currents that are
summed into to a resistor to obtain the analog output voltage.
• Current scaling DACs are generally fast but have large element spreads and are not
monotonic
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-2
V1
V2
Voltage
VREF V3 Decoder
Scaling vOUT
Logic
Network
V2N
Fig. 10.2-6
Operation:
Creates all possible values of the analog output then uses a decoding network to
determine which voltage to select based on the digital input word.
vOUT
5 4VREF
large R 8
3VREF
• Sensitive to 4 vOUT
8
parasitics R 2VREF
3 8
• Requires a buffer R VREF
2 8
• Large current can
R 0
flow through the 1 000 001 010 011 100 101 110 111
resistor string. R/2
Digital Input Code
(a.) (b.)
Figure 10.2-7 - (a.) Implementation of a 3-bit voltage scaling DAC. (b.) Input-output
characteristics of Fig. 10.2-7(a.)
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-4
VREF
R/2 b2 b1 b0
8
R
7
R 3-to-8 Decoder
6
R
5
R
4
R
3
R vOUT
2
R
1
R/2
Fig. 10.2-8
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-6
Charge
VREF Scaling vOUT
Network
Fig. 10.2-9
General principle is to capacitively attenuate the reference C1
voltage. Capacitive attenuation is simply: +
VREF C2 Vout
Calculate as if the capacitors were resistors. For example, -
Fig. 10.2-9b
1
C2 C1
V out = 1 1 REF C1+C2 VREF
V =
C1+C2
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-8
which gives
vOUT = [b02-1 + b12-2 + b22-3 + ... + bN-12-N]V REF
Equivalent circuit of the binary-weighted, charge Ceq.
scaling DAC is: +
Attributes: VREF 2C - Ceq. vOUT
• Accurate
-
• Sensitive to parasitics Fig. 10.2-11
• Not monotonic
• Charge feedthrough occurs at turn on of switches
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-9
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-10
C+C n C+C
2
= 2C V REF 2n = 2n 2C LSBs
and
1
(C-C)-Cterm
(C- C)-2n-1(C-C)
vOUT(0111...) = (C+C)+(C-C) V REF = (C+C)+(C-C) V REF
C-C
2 2nC-C 2 C-C
2
= 2C 1-2nV REF = 2n 2C 1-2nV REF = 2n 2C 1-2n LSBs
vOUT(1000...)-vOUT(0111...) C+C
C-C
2 C
LSB -1 LSBs = 2n
2C
-2 n
2C
1- 2n -1 = (2n-1)
C LSBs
C
Therefore, DNL=(2n-1) C LSBs
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-12
Example 350-2 - DNL and INL of a Binary Weighted Capacitor Array DAC
If the tolerance of the capacitors in an 8-bit, binary weighted, charge scaling DAC are
±0.5%, find the worst case INL and DNL.
Solution
For the worst case INL, we get from above that
INL = (27)(±0.005) = ±0.64 LSBs
For the worst case DNL, we can write that
DNL = (28-1)(±0.005) = ±1.275 LSBs
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-14
Fig. 10.2-12
Attributes:
• No floating nodes which implies insensitive to parasitics and fast
• No terminating capacitor required
• With the above configuration, charge feedthrough will be Verror -(COL/2CN)V
• Can totally eliminate parasitics with parasitic-insensitive switched capacitor circuitry
but not the charge feedthrough
Approaches:
• Combination of similarly scaled subDACs
Divider approach (scale the analog output of the subDACs)
Subranging approach (scale the reference voltage of the subDACs)
• Combination of differently scaled subDACs
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-16
VREF
k-bit
k-LSB LSB ÷ 2m
bits DAC
Fig. 10.3-1
b0 b1 bm-1 bm+k-1
1 bm bm+1
vOUT = 2 + 4 +···+ 2m V REF + 2m 2 + 4 +···+ 2k V REF
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-18
m-bit
m-MSB +
MSB Σ vOUT
bits +
DAC
VREF/2m
k-bit
k-LSB LSB
bits DAC
Fig. 10.3-2
b0 b1 b bm bm+1 m-1 bm+k-1V REF
vOUT = 2 + 4 +···+ 2 V REF + 2 + 4 +···+ 2k 2m
m
b0 b1 bm-1 bm bm+1 bm+k-1
vOUT = 2 + 4 +···+ 2m +2m+1+2m+2+···+ 2m+k V REF
Accuracy considerations of this method are similar to the analog scaling approach.
Advantage: There are no dynamic limitations associated with the scaling factor of 1/2m.
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-20
b7 b6 b5 b4 R b3 b2 b1 b0 -
LSB MSB
+
Current
I I I I Divider I I I I
16 8 4 2 16 8 4 2
Fig. 10.3-3
LSB subDAC MSB subDAC
b0 b1 b2 b3 1 b4 b5 b6 b7
vOUT = RFI 2 + 4 + 8 +16+16 2 + 4 + 8 +16
Capacitor
C C C C C C
C C -
Scaling
8 4 2 8 4 2
φ1 C
8 b7 b6 b5 b4 b3 b2 b1 b0
φ2 φ2 φ2 φ2 φ2 φ2 φ2 φ2
VREF
Circuit for LSB Thevenin Eq. Circuit for MSB Thevenin Eq. 070515-01
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-22
V2 V1
V 1 =
15/8 b0+
15/8 b1+
15/8 b2+
15/8 b3
V REF = 15
2 + 4 + 8 +16 VREF
and the Thevenin equivalent voltage of the LSB array is
1/1
1/2
1/4
1/8
b4 b5 b6 b8
V 2 =
2 b4+
2 b5+
2 b6+
2 b7
V REF =
2 + 4 + 8 +16 VREF
Combining the elements of the simplified equivalent circuit above gives
1+15 8
2 2
15 15+15·15
16
15 1
vOUT=
1 15 8 V 1+
1 15 8 V 2=
15+15·15+16 V 1+
15+15·15+16 V 2= 16V 1+16V 2
2+ 2 +15 2+ 2 +15
b0 b1 b2 b3 b4 b5 b6 b7 7 bV
i REF
vOUT = 2 + 4 + 8 +16+32+64+128+256 V REF =
i=0 2
i+1
Charge Amplifier DAC Using Two Binary Weighted Charge Amplifier SubDACs
Implementation:
C/8
C C
b4 φ1 b0 φ1
b4 φ1 vO1 b0 φ1
C/2 C/2 +
b5 2C b1 2C
vOUT
b5 φ1 - b1 φ1 -
C/4 C/4 -
b6 A1 b2 A2
+ + +
-
b6 φ1 VREF b2 φ1
VREF - C/8 + C/8
b7 b3
b7 φ1 b3 φ1
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-24
Operation:
1.) Switches SF and S1B through Sk,B discharge all capacitors.
2.) Decoders A and B connect Bus A and Bus B to the top and bottom, respectively, of
the appropriate resistor as determined by the m-bits.
3.) The charge scaling subDAC divides the voltage across this resistor by capacitive
division determined by the k-bits.
Attributes:
• MSB’s are monotonic but the accuracy is poor
• Accuracy of LSBs is good
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-25
Voltage Scaling MSB SubDAC And Charge Scaling LSB SubDAC - Continued
Equivalent circuit of the voltage scaling (MSB) and charge scaling (LSB) DAC:
Ck = Ck-1 = C2 C1 Bus A
C
Bus A 2k-1C 2k-2C =2C =C Ceq.
vOUT 2-mVREF 2kC - Ceq. v'OUT
Sk,A Sk-1,A S2A S1A Bus B
2-mVREF vOUT
Sk,B Sk,B S2B S1B
V'REF
Bus B
V'REF
Fig. 10.3-8
where,
0 b b1 bm-2 bm-1
V’REF = V
REF 1 2 +22+···+2m-1+ 2m
and
V REF bm bm+1 bm+k bm+k-1
bm bm+1 bm+k bm+k-1
v’OUT = 2m 2 + 22 +···+ 2k-1 + 2k = VREF2m+1+2m+2+···+2m+k-1+ 2m+k
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-26
b b1
0 bm-2 bm-1 vk
bm bm+1 bm+k bm+k-1
vOUT = 2 +22+···+2m-1+ 2m V REF+2m where vk = 21 + 22 +···+ 2k-1 + 2k V REF
1
b0 b1 bm-2 bm-1 bm bm+1 bm+k bm+k-1
vOUT =21+22+···+2m-1+ 2m +2m+1+2m+2+···+2m+k-1+ 2m+k VREF
Attributes:
• MSBs have good accuracy
• LSBs are monotonic, have poor accuracy - require trimming for good accuracy
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-28
Example 350-5 - Design of a DAC using Voltage Scaling for MBSs and Charge
Scaling for LSBs
Consider a 12-bit DAC that uses voltage scaling for the MSBs charge scaling for the
LSBs. To minimize the capacitor element spread and the number of resistors, choose m =
5 and k = 7. Find the tolerances necessary for the resistors and capacitors to give an INL
and DNL equal to or less than 2 LSB and 1 LSB, respectively.
Solution
Substituting n = 12 and k = 7 into the previous equations gives
R C R C
2 = 211 R + 26 C and 1 = 27 R + (27-1) C
Solving these two equations simultaneously gives
C 24-2 C
=
C 2 -2 -2
11 6 4 = 0.0071 C = 0.71%
R 28-26-2 R
=
R 2 -2 -2
18 13 11 = 0.0008 R = 0.075%
We see that the capacitor tolerance will be easy to meet but that the resistor tolerance
will require resistor trimming to meet the 0.075% requirement. Because of the 2n-1
multiplying R/R in the relationship, we are stuck with approximately 0.075%.
Therefore, choose m = 2 (which makes the 0.075% easier to achieve) and let k = 10 which
gives R/R = 0.083% and C/C = 0.12%.
Example 350-6 - Design of a DAC using Charge Scaling for MBSs and Voltage
Scaling for LSBs
Consider a 12-bit DAC that uses charge scaling for the MSBs voltage scaling for the
LSBs. To minimize the capacitor element spread and the number of resistors, choose m =
7 and k = 5. Find the tolerances necessary for the resistors and capacitors to give an INL
and DNL equal to or less than 2 LSB and 1 LSB, respectively.
Solution
Substituting the values of this example into the relationships developed on a previous
slide, we get
R C R C
2 = 24 R + 211 C and 1 = R + (212-1) C
Solving these two equations simultaneously gives
C 24-2 C R 3 R
C 216-211-24 = 0.000221 C = 0.0221% and
= R 25-1 = 0.0968 R = 9.68%
For this example, the resistor tolerance is easy to meet but the capacitor tolerance will
be difficult. To achieve accurate capacitor tolerances, we should decrease the value of m
and increase the value of k to achieve a smaller capacitor value spread and thereby
enhance the tolerance of the capacitors. If we choose m = 4 and k = 8, the capacitor
tolerance is 0.049% and the resistor tolerance becomes 0.79% which is still reasonable.
The largest to smallest capacitor ratio is 8 rather than 64 which helps to meet the
capacitor tolerance requirements.
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-30
Fig. 10.4-1
Operation:
Switch S1 is the redistribution switch that parallels C1 and C2 sharing their charge
Switch S2 precharges C1 to VREF if the ith bit, bi, is a 1
Switch S3 discharges C1 to zero if the ith bit, bi, is a 0
Switch S4 is used at the beginning of the conversion process to initially discharge C2
Conversion always begins with the LSB bit and goes to the MSB bit.
vC2/VREF
vC1/VREF
is given as b0 = 1, b1 = 1, b2 = 0,
1/2 1/2
and b3 = 1. Follow through the
1/4 1/4
sequence of events that result in
the conversion of this digital 0
0 1 2 3 4 5 6 7 8
0
0 1 2 3 4 5 6 7 8
input word. t/T t/T Fig. 10.4-2
Solution
1.) S4 closes setting vC2 = 0.
2.) b3 = 1, closes switch S2 causing vC1 = VREF.
3.) Switch S1 is closed causing vC1 = vC2 = 0.5VREF.
4.) b2 = 0, closes switch S3, causing vC1 = 0V.
5.) S1 closes, the voltage across both C1 and C2 is 0.25VREF.
6.) b1 = 1, closes switch S2 causing vC1 = VREF.
7.) S1 closes, the voltage across both C1 and C2 is (1+0.25)/2VREF = 0.625VREF.
8.) b0 = 1, closes switch S2 causing vC1 = VREF.
9.) S1 closes, the voltage across both C1 and C2 is (0.625 + 1)/2VREF = 0.8125VREF =
(13/16)VREF.
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-32
Pipeline DAC
The pipeline DAC is simply an extension of the sub-DACs concept to the limit where the
bits converted by each sub-DAC is 1.
Implementation:
1/2 1/2 1/2
0 Σ z-1 Σ z-1 Σ z-1 vOUT
bN-1 b0 = ±1
bN-2 = ±1
= ±1
VREF Fig. 10.4-3
1
2 FIG. 10.4-4
Lecture 350 – Parallel DACs, Improved Resolution DACs and Serial DACs (3/28/10) Page 350-34
5.) The next LSB = 1, switch A is closed and vOUT = VREF+0.5(-1.25VREF) = 0.375VREF.
6.) The MSB = 1, switch A is closed and vOUT = VREF + 0.5(0.375VREF) = 1.1875VREF
= (19/16)VREF. (Note that because the actual VREF of this example if ±VREF or 2VREF,
the analog value of the digital word 11001 is 19/32 times 2VREF or (19/16)VREF.)
SUMMARY
• Voltage scaling DACs are monotonic, use equal resistors but are sensitive to capacitve
parasitics
• Charge scaling DACs are fast with good accuracy but have large element spread and are
nonmonotonic
• DAC resolution can be increased by combining several subDACs with smaller
resolution
• Methods of combining include scaling the output or the reference of the non-MSB
subDACs
• SubDACs can use similar or different scaling methods
• Tradeoffs in the number of bits per subDAC and the type of subDAC allow minimization
of the INL and DNL
• Serial, charge redistribution DAC is simple and requires minimum area but is slow and
requires complex external circuitry
• Serial, algorithmic DAC is simple and requires minimum area but is slow and requires
complex external circuitry
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-2
INTRODUCTION
General Block Diagram of an Analog-Digital Converter
Digital
x(t) y(kTN)
Processor
• Prefilter - Avoids the aliasing of high frequency signals back into the baseband of the
ADC
• Sample-and-hold - Maintains the input analog signal constant during conversion
• Quantizer - Finds the subrange that corresponds to the sampled analog input
• Encoder - Encoding of the digital bits corresponding to the subrange
f
-fB 0 fS fS 2fS
2
Use of an antialiasing filter to avoid aliasing.
Antialiasing
Filter
f
-fB 0 fB fS fS Fig. 10.5-
2
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-4
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-6
Input-Output Characteristics
Ideal input-output characteristics of a 3-bit ADC
111
Infinite Resolution
110 Characteristic
Digital Output Code
101
1 LSB
100
Ideal 3-bit
011 Characteristic
010
1 LSB
001
000
Quantization
1.0
Noise LSBs
0.5
vin
0.0 VREF
-0.5
0 1 2 3 4 5 6 7 8
8 8 8 8 8 8 8 8 8
Analog Input Value Normalized to VREF
Figure 10.5-3 Ideal input-output characteristics of a 3-bit ADC.
Definitions
• The dynamic range, signal-to-noise ratio (SNR), and the effective number of bits
(ENOB) of the ADC are the same as for the DAC
• Resolution of the ADC is the smallest analog change that distinguishable by an ADC.
• Quantization Noise is the ±0.5LSB uncertainty between the infinite resolution
characteristic and the actual characteristic.
• Offset Error is the difference between the ideal finite resolution characteristic and
actual finite resolution characteristic
• Gain Error is the Gain Error = 1.5LSBs
111 111
difference between
110 110
the ideal finite Ideal
Digital Output Code Ideal
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-8
Note that INL and DNL of an analog-digital converter will be in terms of integers in
contrast to the INL and DNL of the digital-analog converter. As the resolution of the
ADC increases, this restriction becomes insignificant.
111 Ideal
Characteristic
110
INL =
INL = DNL =
011
-1LSB +1LSB
010
001 DNL =
0 LSB vin
000
0 1 2 3 4 5 6 7 8 V REF
8 8 8 8 8 8 8 8 8
Example of INL and DNL for a 3-bit ADC.) Fig.10.5-5
Note that the DNL and INL errors can be specified over some range of the analog input.
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-10
Monotonicity
A monotonic ADC has all vertical jumps positive. Note that monotonicity can only be
detected by DNL.
Example of a nonmonotonic ADC:
111
Actual
110 Characteristic
Digital Output Code
101
100
DNL =
011 -2 LSB
Ideal
010 Characteristic
001
vin
000
0 1 2 3 4 5 6 7 8 VREF
8 8 8 8 8 8 8 8 8
Fig. 10.5-6L
If a vertical jump is 2LSB or greater, missing output codes may result.
If a vertical jump is -1LSB or less, the ADC is not monotonic.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-11
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-12
Comparator
The comparator is the quantizing unit of ADCs.
Open-loop model:
VOS
V1
+ Ro
Ri Vi Av(s)Vi Vo
-
V2
Comparator Fig.10.5-7
Nonideal aspects:
• Input offset voltage, VOS (a static characteristic)
• Propagation time delay
- Bandwidth (linear)
Av(0) Av(0)
Av(s) = s = sc+1
c+1
- Slew rate (nonlinear)
C·V V
T = I (I constant) = SlewRate
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-14
Sample-and-Hold Circuit
Waveforms of a sample-and-hold S/H Command
circuit: Hold Sample Hold
Output of S/H
Amplitude
Definitions: ta ts valid for ADC
vin*(t) conversion
• Acquisition time (ta) = time required
to acquire the analog voltage vin*(t)
vin(t)
• Settling time (ts) = time required to vin(t)
settle to the final held voltage to within
Time
an accuracy tolerance Fig.10.5-9
1
Tsample = ta + ts Maximum sample rate = fsample(max) = T
sample
Other consideratons:
• Aperture time= the time required for the sampling switch to open after the S/H
command is initiated
• Aperture jitter = variation in the aperture time due to clock variations and noise
Types of S/H circuits:
• No feedback - faster, less accurate
• Feedback - slower, more accurate
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-16
φ vout(t)
vin(t) + vin(t)
Switch Switch Switch
CH Closed Open Closed
(sample) (hold) (sample)
Time Fig.10.5-10
Attributes:
• Fast, open-loop
• Requires current from the input to charge CH
• DC voltage offset of the op amp and the charge feedthrough of the switch will create dc
errors
Settling Time
Assume the op amp has a dominant pole at -a and a second pole at -GB.
GB2
The unity-gain response can be approximated as, A(s) s2+GB·s+GB2
4
3
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-18
D3 D4 CH rd rd CH CH
RON = rd ROFF = ∞
Clock IB
Sample phase - diodes Hold phase - diodes
060927-01 forward biased. reversed biased.
MOS diode bridge S/H circuit:
VDD
Clock IB
Blowthru Capacitor
1 1
gm gm
vIN(t) M1 M2 vOUT(t) vIN(t) vOUT(t) vIN(t) vOUT(t)
M3 M4
1 1
CH gm gm CH CH
RON = 1/gm ROFF = ∞
Clock IB
Sample phase - MOS Hold phase - MOS
060927-02 diodes forward biased. diodes reversed biased.
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-20
2IB 2IB
VSS VSS
Practical implementation of the diode bridge Hold mode.
sample and hold (sample mode). 060927-03
During the hold mode, the diodes D5 and D6 become forward biased and clamp the upper
and lower nodes of the sampling bridge to the sampled voltage.
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-22
IB
iin iout
φ1 φ2
φ1
CH
Fig.10.5-15
Attributes:
• Fast
• Requires current in and out
• Good for low voltage implementations
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-24
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-26
Op Amp Design
Gain:
1 1
Gain error = 1+LoopGain 0.5 LSB = 11
2
Therefore, the op amp gain 211 = 2048 V/V
Choose the op amp gain as 5000 V/V
Gainbandwidth:
For a dominant pole op amp with unity-gain feedback, the relationship between the
gain-bandwidth (GB), accuracy (N) and speed (ts) is
N+1 N+1
ts = GB ln(2) = 0.693 GB
Therefore, if ts 0.5 Tclock = 50 ns (choose ts = 10 ns). For N = 10, the gain-bandwidth
is
GB = 0.762x109 = 120 MHz
Dominant pole is 24 kHz and with an output capacitance of 1pF this means the output
resistance of the op amp must be 6.6 M.
061021-01
Bias Currents:
The 100V/μs slew rate requires I3 = 100μA. Setting I4 = I5 = 125μA gives a power
dissipation of 0.875mW with VDD = 2.5V.
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-28
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-30
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-32
Design Summary
At this point, the analog designer understands the weaknesses and strengths of the
design. The next steps will not be done but are listed below:
1.) Simulation to confirm and explore the hand-calculated performance
2.) Layout of the op amp, hold capacitor and switch.
3.) Verification of the layout
4.) Extraction of the parasitics from the layout
5.) Resimulation of the design.
6.) Check for sensitivity to ESD and latchup.
7.) Select package and include package parasitics in simulation.
Lecture 360 – Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-34
SUMMARY
• An ADC is by nature a sampled data circuit (cannot continuously convert analog into
digital)
• Two basic types of ADCs are:
- Nyquist – analog bandwidth is as close to the Nyquist frequency as possible
- Oversampled – analog bandwidth is much smaller than the Nyquist frequency
• The active components in an ADC are the comparator and the sample and hold circuit
• A sample and hold circuit must have at least the accuracy of 100%/2N
• Sample and hold circuits are divided into two types:
- Open loop which are fast but not as accurate
- Close loop which are slower but more accurate
• An example of designing a sample and hold amplifier was given to illustrate the
electrical design process for CMOS analog circuits
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-2
TESTING OF ADCs
Input-Output Test for an ADC
Test Setup:
Digital
Word
Output
N-bit (N bits) DAC with Qn =
Vin'
Vin ADC more resolution - Vin-Vin'
under than ADC Σ
(N+2 bits) +
test
Fig.10.5-17
2.0 LSB
1.5 LSB
Quantization Noise (LSBs) +2LSB
1.0 LSB INL
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-4
Clock
fc
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-6
Sinusoidal Input
Triangular Input
Output
Comments: 0
0 Mid Full Code
• Emphasizes Scale Scale
the time spent Fig.10.5-20
at a given level and can show DNL and missing codes
• DNL
Widthofthebinasafractionoffullscale H(i)/Nt
DNL(i) = Ratioofthebinwidthtotheidealbinwidth -1 = P(i) -1
where
H(i) = number of counts in the ith bin
Nt = total number of samples
P(i) = ratio of the bin width to the ideal bin width
• INL is found from the cumulative bin widths
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-8
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-10
+ nT t
VREF Ramp vT
Generator - Output
vT Counter
Reset vin*
Interval Output
0 t n≤N
Counter 0 nT
T
Clock t
Fig.10.6-1
f =1/T
Attributes:
• Simplicity of operation
• Subject to error in the ramp generator
• Long conversion time 2NT
Dual-Slope ADC
Block diagram: Waveforms: vin
1 VREF+Vth
vin* vint t1 = NREFT NREFT
Positive
2 + vin'''
-VREF Integrator
Vth - vin''' > vin'' > vin'.
vin''
Digital
Control vin'
Carry Vth
Output Binary 0 t
Counter 0 t2'
Output Reset t0(start) t2''
Fig.10.6-2 t2'''
t2= NoutT Fig.10.6-3
Operation:
1.) Initially vint = 0 and vin is sampled and held (vIN* > 0).
2.) Reset the positive integrator by integrating a positive voltage until vint (0) = Vth.
3.) Integrate vin* for NREF clock cycles to get,
NREFT
vint(t1) = K 0 vin*dt+ vint(0) = KNREFTvin* + Vth
4.) After NREF counts, the carry output of the counter closes switch 2 and-VREF is
applied to the positive integrator. The output of the integrator at t = t1+t2 is,
NoutT
vint(t1+t2) = vint(t1)+K t (VREF)dt=Vth KNREFTvin* +Vth -KNoutTVREF = Vth
1
5.) Solving for Nout gives, Nout = NREF (vin*/VREF)
Comments: Conversion time 2(2N)T and the operation is independent of Vth and K.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-12
0.25VREF
0 t
0 1 2 3 4 5 6 T
Fig.10.7-2
+
Vin*
-
Comparator
Digital-Analog
Output
VREF Converter
Register
Shift
Clock
Register
Conditional
Output Gates Fig.10.7-1
†
R. Hnatek, A User's Handbook of D/A and A/D Converters, John Wiley and Sons, Inc., New York, NY, 1976.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-14
Delay
G1 G2 G3 G4 G5
Delay
Clock pulses
1 1 1 1 1
SR1 SR2 SR3 SR4 SR5
Start pulse
The delay allows for the circuit transients to Shift Register
settle before the comparator output is sampled. Fig.10.7-3
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-16
+ - + - + - + -
2 2 Vi-1 2 Vi
Vin* z-1 Σ z-1 Σ z-1 Σ z-1
±1 ±1 ±1
V
REF
Operation: Stage 1 Stage 2 i-th stage Stage N
Fig.10.7-9
• Each stage multiplies
its input by 2 and adds or Vi/VREF
subtracts VREF depending 1.0
upon the sign of the input. bi+1
• i-th stage, =+1
Vi = 2Vi-1 - biVREF 0 Vi-1/VREF
-1.0 -0.5 0 0.5 1.0
where bi is given as bi+1
=-1
+1ifVi-1>0 -1.0
bi = -1ifVi-1<0 bi = -1 bi = +1
[bi,bi+1] [0,0] [0,1] [1,0] [1,1] Fig.10.7-10
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-18
0.6
1 1 1 1
Stage 3
V analog = 5 24+8+16
0.4
0.2
= 5(0.4375) = 2.1875 0
Stage 2
-0.2
where bi = +1 if the ith-bit is 1
-0.4 Stage 1
and bi = -1 if the ith bit is 0
-0.6
-0.8
-1
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
V in*/V REF
SR
MSB-1
Digital Ouput Word
SR SR
SR SR
i-th Bit
SR SR SR
LSB
+ - + - + - + -
2 2 Vi-1 2 Vi
Vin* z-1 Σ z-1 Σ z-1 Σ z-1
±1 ±1 ±1
VREF
Stage 1 Stage 2 i-th stage Stage N
Fig.10.7-9B
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-20
[0010]
[0110]
[1010]
[1110]
[0000]
[0001]
[0011]
[0100]
[0101]
[0111]
[1000]
[1001]
[1011]
[1100]
[1101]
[1111]
[00] [01] [10] [11]
060930-01
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-22
[0110]
[1010]
[1110]
[0001]
[0101]
[1001]
[1101]
060930-02
The output bits can be used to determine the error. If these bits are 00, then 0.5LSB must
be added to get the correct digital output. If the bits are 11, then 0.5LSB must be
subtracted to get the correct digital output.
[0001]
[0010]
[0101]
[1001]
[0000]
[0100]
[1000]
[1010]
[0001]
[0010]
[0101]
[1001]
[0110]
[0000]
[0100]
[1000]
[1010]
[0110]
[1100]
[1101]
060930-03
To obtain code 11 out of the stage after correction, the correction logic must increment
the output of the stage.
To obtain code 00 from this stage after correction, the correction logic need do nothing.
Therefore, only two comparators are needed to produce outputs of (00, 01, 10) as shown
on the right-hand characteristic.
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-24
When the shift is to the left, the comparator will not be in error until the shift is greater
than 0.25 VREF. This is because the comparator thresholds were shifted to the right by
0.5 VREF.
When the shift is to the right, the input to the next stage will be greater than 0.50VREF.
This will cause the output code 10 which indicates that the digital word should be
incremented by 1 bit.
The range of correction ±VREF /2B+1 where B is the number of bits per stage.
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-26
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-28
;;;; ;;;;
2.0 2.0
1.6 1.6
;;;; ;;;;
1.2 1.2
;;;; ;;;;
0.8 0.8
0.4 0.4
0.0 t/T 0.0 t/T
0 1 2 3 4 5 0 1 2 3 4 5
Fig. 10.7-14.
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-30
SELF-CALIBRATION TECHNIQUES
Self-Calibrating Analog-Digital Converters
Self-calibration architecture for a m-bit charge scaling, k-bit voltage scaling successive
approximation ADC
m-bit subDAC - S1 To Successive
Approximation
+ Register
C1 C2 C3 Cm-1 Cm Cm
VREF
Register
m+2-bit
Adder
k-bit Calibration
m control lines subDAC DAC Data Register
k-bits
Successive Control
Approximation Logic
Comments: Register
• Self-calibration can be m+k-bits
Vε1 Vε2
accomplished during a Data Output Fig.10.7-15
calibration cycle or at start-up
• In the above scheme, the LSB bits are not calibrated
• Calibration can extend the resolution to 2-4 bits more that without calibration
Lecture 370 – Testing of ADCs and Moderate Speed Nyquist ADCs (3/29/10) Page 370-32
SUMMARY
• Tests for the ADC include:
- Input-output test
- Spectral test
- FFT test
- Histogram test
• Moderate Speed ADCs:
Type of ADC Advantage Disadvantage
Serial ADC High resolution Slow
Voltage-scaling, charge-scaling High resolution Requires
successive approximation ADC considerable digital
control circuitry
Successive approximation Simple Slow
using a serial DAC
Pipeline ADC Fast after initial
Accuracy depends
latency of NT
on input
Iterative algorithmic ADC Simple
Requires other
digital circuitry
• Successive approximation ADCs also can be calibrated extending their resolution 2-4
bits more than without calibration.
PARALLEL/FLASH ADCs
Parallel/Flash ADC Architecture
Analog Sample
vin(t)
Input and Hold
VREF Circuit
vin*(t)
V1 d1
Voltage
V2 d2 b1
Scaling
V3 d3 b2
Network Digital
V4 2N-1 d4 2N-1 b3
creating Word
Compar to N
all possible Output
ators Decoder
discrete bN
analog V2N-1 d2N-1
voltages
Phase 1 Phase 2
060928-01 One Clock Period, T
• The notation, vin*(t), means the signal is sampled and held.
• The sample and hold function can be incorporated into the comparators
• The digital words designated as di form a thermometer code
Since electrical signals travel at approximately 50μm/ps for metal on an IC, each metal
path from the clock to each comparator must be equal to within 125μm to avoid LSB
errors due to clock skew. Therefore, must use careful layout to avoid ADC inaccuracies
at high frequencies.
An equal-delay clock distribution system for a 4-bit parallel ADC:
Clock
Generator
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comparators Fig.10.8-2B
CMOS Analog Circuit Design © P.E. Allen - 2010
Active Interpolation
Example of a 3 level current interpolation:
x4 x1 x2 x3 x4 x3 x2 x1 x4 x1 x2 x3 x4 x3 x2 x1
060928-02
This type of interpolation works well with current processing, i.e., current comparators.
Vin Interpolating
Preamplifiers Amplifiers
++ ++
Vy Vo2
VR,j+1 - - - -
Aj+1
++
Vo3
- -
++ ++
Vx Vo1
VR,j - - - -
Aj
060928-03
Averaging†
VDD VDD VDD
In many cases, the comparators
consist of a number of pre- Termination Termination Termination
amplifiers followed by a latch. Resistors Resistors Resistors
Averaging is the result of A11 A12 A13
interconnecting the outputs of
each stage of amplifiers so that
the errors in one amplifier chain
are balanced out by adjacent A21 A22 A23
amplifier chains.
†
P.C.S. Scholtens and M. Vertregt, “A 6-b 1.6-Gsample/s Flash ADC in 0.18 μm CMOS Using Averaging Termination, IEEE J. of Solid-State
Circuits, vol. 37, no. 12, Dec. 2002, pp. 1599-1609.
CMOS Analog Circuit Design © P.E. Allen - 2010
FOLDING
Folding Analog-Digital Converters
Allows the number of comparators to be reduced below the value of 2N-1.
Architecture for a folded ADC:
n1
Coarse bits
Preprocessor Quantizer n1+n2
bits Digital
Encoding
Vin Logic Output
n2
Folding Fine bits
Preprocessor Quantizer
Fig.10.8-7
Operation:
The input is split into two or more parallel paths.
• First path uses a coarse quantizer to quantize the signal into 2n1 values
• The second path maps all of the 2n1 subranges onto a single subrange and applies this
analog signal to a fine quantizer of 2n2 subranges.
Thus, the total number of comparators is 2n1-1 + 2n2-1 compared with 2n1+n2-1 for a
parallel ADC.
I.e., if n1 = 2 and n2 = 4, the folding ADC requires 3 + 15 = 18 compared with 63
comparators.
CMOS Analog Circuit Design © P.E. Allen - 2010
No
n1 = 2 Folding
n2 = 3
32
VREF Folding
4
8
0 VREF
0 Analog Input
MSBs = 00 01 10 11 Fig.10.8-9
Problems:
• The sharp discontinuities of the folder are difficult to implement at high speeds.
• Fine quantizer must work at voltages ranging from 0 to VREF/4 (subranging).
• The actual frequency of the folding signal is F times the input frequency where F is the
number of folds
In the second case, the reference voltage for all comparators is identical which removes
any ICMR problems.
+ 5-bit
- digital
Folder 1 output
Vin
+
-
Decoder
Folder 2
3 bits
LSBs
+
Folder 7 -
Comparators Fig.10.8-11
Comments:
• Number of comparators is 7 for the fine quantizer and 3 for the course quantizer
• The zero crossings of the folders must be equally spaced to avoid linearity errors
• The number of folders can be reduced and the comparators simplified by use of
interpolation
Folding Circuits
Implementation of VDD
a times 4 folder: +VREF
RL RL Folding
R Outputs
+V
R/4
V8 - ou
I
R/4
R/4
R/4 V7
R/4
R/4
R/4 I V1 I V2 I V7 I V8
R/4
in V
Comments: R/4 V2
R/4 Vout
• Horizontal R/4 +IRL
shifting is R/4
V1
R/4
achieved by R/4
modifying the R/4 0
V1 V2 V3 V4 V5 V6 V7
V
V8 VREF in
R/4
topmost and
bottom resistors 060928-06 -IRL
of the resistor
string
• Folding and interpolation ADCs offer the most resolution at high speeds (8 bits at
500MHz)
061002-02
k-bits k-bits
bk-2 bk-1
b b1 0
Residue voltage = Vi-1 - 2 +22+···+2k-1+ 2k VREF
Voltage
101 101 101
VREF 100 100 100
2 011 011 011
010 010 010
001 001 001
0 000 000 000 Time
Clock 1 Clock 2 Clock 3
Digital output = 011 111 001
MSB LSB Fig.10.8-14
Converted word is 011 111 001
Comments:
• Only 21 comparators are required for this 9-bit ADC
• Conversion occurs in three clock cycles
• The residue amplifier will cause a bandwidth limitation,
50MHz
GB = 50MHz f-3dB = 23 6MHz
Note: the reference voltage of the previous stage (i-1) is divided by 2k to get the reference
voltage for the present stage (i), VREF(i), and so forth.
11
0.7500VREF
Comments: 10
• Resolution of the
Voltage
comparators for the 0.5000VREF 11
0.4375VREF
following stages increases 0.3750VREF 01 10
but fortunately, the 0.3125VREF 01
00
tolerance of each stage 0.2500VREF
decreases by 2k for every 00
additional stage.
0 Time
• Removes the frequency Clock 1 Clock 2
limitation of the amplifier Digital output word = 01 10 Fig.10.8-15
INL=0LSB
4/16 0 1 4/16 0 0 0 0 1 0 0 1001
-DNL=0LSB
5/16 0 1 4/16 1/16 0 0 0 1 0 1 1000
Comparing the actual digital output word with the ideal output word gives the following:
+INL = 0LSB, -INL = 0111-0101 = -2LSB, +DNL = (1000-0101) - 1LSB = +2LSB, and
-DNL = (0101-0100) - 1LSB = 0LSB.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 380 – High Speed Nyquist ADCs (3/29/10) Page 380-27
Increment
DAC by 1
Vr1
LSB
ADC LSBs
Vr2
Fig.10.8-21
DAC
Features:
• Requires only 2n/2-1 comparators
• LSBs decoded using 31 preset charge redistribution capacitor arrays
• Reference voltages used in the LSBs are generated by the MSB ADC
• No op amps are used
Digital KB
Logic bits
041007-11
Operation:
1.) Stage 1 resolves the analog input signal to within one of B subranges which
determines the first B bits.
2.) Stage 1 then creates the analog residue (analog input – quantized analog output) and
passes on to Stage 2 by either amplifying or subranging.
3.) Stage 2 repeats this process which ends with Stage K.
0.50VREF 0.50VREF
Vin* = 0.45VREF Vin* = 0.45VREF
0.25VREF 0.25VREF
0 Time 0 Time
Clock 1 Clock 2 Clock 3 Clock 1 Clock 2 Clock 3
Digital output word = 01 11 00 Digital output word = 10 00 00 041007-14
Note that if the comparator in the first stage makes the wrong choice, the converter
cannot recover as shown in the example on the right.
00 00
0 Time 0 Time
Clock 1 Clock 2 Clock 3 Clock 1 Clock 2 Clock 3
Digital output word = 01 00 00 Digital output word = 10 -01 00 041007-15
Corrected digital output word = 01 11 00
Comments:
• Add a correcting bit to the following stage to correct for errors in the previous stage.
• The subranging or amplification of the next stage does not include the correcting bit.
• Correction can be done after all stages of the pipeline ADC have converted or after
each individual stage.
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 380 – High Speed Nyquist ADCs (3/29/10) Page 380-33
• Avoids saturation
of the next stage ADC ADC ADC ADC ADC
• Reduces the 3 bits 3 bits 3 bits 3 bits 4 bits
number of
missing codes
• Relaxed
specifications for
the comparators
• Compensates for Clock
wrong decisions 12 bits
in the coarse Digital Error Correction Logic
quantizers Fig. 11-30
Self-Calibration:
• Can calibrate the effects of the DAC nonlinearity and gain error
• Can be done by digital or analog methods or both
†
J. Goes, et. al., CICC’96
CMOS Analog Circuit Design © P.E. Allen - 2010
V
− REF
2 -1 1 -5 -3 -1 1 3 5 -13-11-9 -7 -5 -3 -1 1 3 5 7 9 11 13
4 4 B=1 8 8 8 8 8 8 16 16 16161616 16 16161616 161616
B=2 B=3
−VREF VREF VREF VREF −VREF VREF VREF VREF
−VREF − VREF 0 VREF −VREF − VREF 0 − 0
2 2 2 2 2 2 061002-01
V REF
If all else is ideal, the offset voltage correction range is equal to ± B+1 .
2
SUMMARY
Type of ADC Primary Advantage Primary Disadvantage
Flash or parallel Fast Area is large if N > 6
Interpolating Fast Requires accurate
interpolation
Folding Fast Bandwidth increases if
no S/H used
Multiple-Bit, Increased number of bits Slower than flash
Pipeline
Time- Small area with large Precise timing and fast
interleaved throughput multiplexer
Typical Performance:
• 6-8 bits
• 500-2000 Msamples/sec.
• The ENOB at the Nyquist frequency is typically 1-2 bits less that the ENOB at low
frequencies.
• Power is approximately 0.3 to 1W
INTRODUCTION
What is an oversampling converter?
An oversampling converter uses a noise-shaping modulator to reduce the in-band
quantization noise to achieve a high degree of resolution.
• What is the range of oversampling?
The oversampling ratio, called M, is a ratio of the clock frequency to the Nyquist
frequency of the input signal. This oversampling ratio can vary from 8 to 256.
- The resolution of the oversampled converter is proportional to the oversampled ratio.
- The bandwidth of the input signal is inversely proportional to the oversampled ratio.
• What are the advantages of oversampling converters?
Very compatible with VLSI technology because most of the converter is digital
High resolution
Single-bit quantizers use a one-bit DAC which has no INL or DNL errors
Provide an excellent means of trading precision for speed (16-18 bits at 50ksps to 8-10
bits at sampling rates of 5-10Msps).
• What are the disadvantages of oversampling converters?
Difficult to model and simulate
Limited in bandwidth to the clock frequency divided by the oversampling ratio
;;;
Conventional ADC with fB≈ 0.5fN=0.5fS.
Transition band
Amplitude
;;;
Signal Bandwidth Anti-aliasing filter
0 f
0 fB 0.5fN = 0.5fS fS =fN
;;
Oversampled ADC with fB≈ 0.5fN<<fS.
Amplitude
Signal Bandwidth
Anti-aliasing filter
Transition band
0 f
0 fB = fN 0.5fS fS =MfN
0.5fN Fig.10.9-03
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 390 – Oversampling ADCs – Part I (3/29/10) Page 390-5
-6 -4 -2 1 Input, x
-1 2 4 6
-3
-5
The quantized signal y can be
represented as, Quantization error, e
1
y = Gx + e Input, x
Δ
where -1 Fig.10.9-04
G = gain of the ADC, normally 1
e = quantization error
The mean square value of the quantization error is
2
1 /2 2 2
erms = SQ = e(x) dx = 12
-/2
The noise-shaping oversampling ADCs are also known as delta-sigma ADCs. We will
only consider the delta-sigma type oversampling ADCs.
DELTA-SIGMA MODULATORS
General block diagram of an oversampled ADC
fS fD<fS
-0.5
-1
-1.5
0 50 100 150 200 250
Tme (Units of T, clock period) Fig.10.9-09
Higher-Order Modulators
A second-order, modulator:
q[nTs]
function,
L=3
8
;;
having noise shaping charac-
teristics of the form (1-z-1)L 2
L=1
;;
are unstable for L>2 unless an LPF
L-bit quantizer is used. 0
0 fb fs/2
Frequency
Fig.10.9-12
2 2L 1
SB = fs (2sinfTs)2L12 df 2L+1M2L+112 where sinfTs fTs for M>>1.
-fb
Therefore, the in-band, rms noise is given as
L
1
L
1
n0 = SB = = e
2L+1ML+0.5 12 2L+1ML+0.5 rms
Note that as the is a much more efficient way of achieving resolution by increasing M.
erms
n0 ML+0.5 Doubling of M leads to a 2L+0.5 decrease of in-band noise
1
2L+1
M2L+1
12
Nyquist Converter:
The dynamic range of a N-bit Nyquist rate ADC is (now becomes VREF for large N),
Maximumsignalpower (VREF/2 2)2 3
2
DR = SQ = 2/12 = 2 22N DR = 1.5 2N
Expressing DR in terms of dB (DRdB) and solving for N, gives
DRdB-1.7609
N= 6.0206 or DRdB = (6.0206N + 1.7609) dB
Example: A 16-bit ADC requires about 98dB of dynamic range. For a second-order
modulator, M must be 153 or 256 since we must use powers of 2.
Therefore, if the bandwidth is 20kHz, then the clock frequency must be 10.24MHz.
Multibit Quantizers v +
A single-bit quantizer: y
-
= VREF v<0
u
Advantage is that the DAC is inherently linear. v>0
3 2L+1
DR2 = 2 2L M2L+1 2B-12 Quantizer
Fig. 10.9-14
Converting the dynamic range to 79,433 and substituting into the above equation gives a
minimum oversampling ratio of M = 48.03 which would correspond to an oversampling
rate of 64. Using the definition of M as fc/2fB gives fB as 10MHz/2·64 = 78kHz.
(b.) and (c.) For part (b.) and (c.) we obtain a minimum oversampling rates of M = 32.53
and 96.48, respectively. These values correspond to oversampling rates of 32 and 128,
respectively. The bandwidth of the converters is 312kHz for (b.) and 78kHz for (c.).
Q(z)
Q(z)
X(z) + z-1 + Y(z)
- 1-z-1
Fig.10.9-16
z-1
1
z-1
Y(z) = Q(z) + 1-z-1 [X(z) - Y(z)]
Y(z) 1-z
-1= Q(z) + 1-z-1 X(z)
The various transfer functions are (a1=1, a2=2, b1=1, b2=2, l1=2 and C = 4) :
D1(z) = Xin(z) + (1-z-1)2 Q1(z)
D2(z) = (1/C)(-Q1(z)) + (1-z-1)2 Q2(z)
Dout(z) = Xin(z) + (1-z-1)4 Q2(z)
†
U.S. Patent 5,061,928, Oct. 29, 1991.
CMOS Analog Circuit Design © P.E. Allen - 2010
1-bit
D/A Fig.10.9-20
Amplitude of integrator outputs:
fourth order distributed feedback modulator
a1=0.1, a2=0.1, a3=0.4, a4=0.4
1.50
amplitude of integrator output / VREF
y1 y3
1.25
y2 y4
1.00
0.75
0.50
0.25
0.00
-1.00 -0.60 -0.20 0.20 0.60 1.00
input signal amplitude / VREF
1-bit
A/D Fig.10.9-20
Amplitude of integrator outputs (Integrator constants have been optimized to minimize
the integrator outputs):
fourth order feedforward modulator
a1=0.5, a2=0.4, a3=0.1, a4=0.1
1.50
amplitude of integrator outputs
1.25 y1 y3
y2 y4
1.00
0.75
0.50
0.25
0.00
-1.00 -0.60 -0.20 0.20 0.60 1.00
input signal amplitude / VREF
X + a1z-1 + a2z-1 +
- 1-z-1 - 1-z-1
circuit
Y
α q2
+ +
+ a3z-1 +
β
- 1-z-1
Fig.10.9-21
Comments:
• The stability is guaranteed for cascaded structures
• The maximum input range is almost equal to the reference voltage level for the
cascaded structures
• All structures are sensitive to the circuit imperfection of the first stages
• The output of cascaded structures is multi-bit requiring a more complex digital
decimator
V in(z) = Ci
1-z-1
o
V out(ejT) C1
e-jT/2
T
C
1
T/2
-jT/2
=
=
e
V in(ejT) C2 j2sin(T/2) T jTC2 sin(T/2)
o
o
V out(ejT) C1 I
o jT = (Ideal)x(Magnitude error)x(Phase error) where I = TC2 Ideal = j
V in(e )
SUMMARY
• Oversampled ADCs allow signal bandwidth to be efficiently traded for resolution
• Noise shaping oversampled ADCs preserve the signal spectrum and shape the noise
quantization spectrum
• The modulator shapes the noise quantization spectrum with a high pass filter
• The quantizer can be single or multiple bit
- Single bit quantizers do not require linear DACs because a 1 bit DAC cannot be
nonlinear
- Multiple bit quantizers require ultra linear DACs
• Modulators consist of combined integrators with the goal of high-pass shaping of the
noise spectrum and cancellation of all quantizer noise but the last quantizer
IMPLEMENTATION OF MODULATORS
Modulators – The Analog Part of the Oversampling ADC
Most of today’s delta-sigma modulators use fully differential switched capacitor circuits.
Advantages are:
• Doubles the signal swing and increases the dynamic range by 6dB
• Common-mode signals that may couple to the signal through the supply lines and
substrate are canceled
• Charge injected by the switches are canceled to a first-order
Example: Q1
+
X + 0.5z-1 + 0.5z-1 + Y
-
1 - z- 1 -
1 - z- 1
First integrator
dissipates the most
power and requires the
most accuracy. VRef+ VRef- VRef+ VRef- φ1
2C 2C
Y YB φ1 Y YB φ1
C - C - Y
φ1d φ2 φ1d φ2
φ1d C φ2 + φ1d C φ2 + YB
YB Y φ1 YB Y φ1
VRef+ VRef- 2C VRef+ VRef- 2C Fig.10.9-24
X a1 a2 a3 a4 1-bit Y
Σ z - 1 y1 z - 1 y2 Σ z - 1 y3 Σ z - 1 y4 A/D
b1 b2
Σ
1-bit
Fig. 10.10-06
D/A
where a1 = 1/3, a2 = 3/25, a3 = 1/10, a4 = 1/10, b1= 6/5, b2= 1 and = 1/6
Advantages:
• The modulator combines the advantages of both DFB and DFF type modulators:
Only four op amps are required. The 1st integrator’s output swing is between ±VREF
for large input signal amplitudes (0.6VREF), even if the integrator gain is large (0.5).
• A local resonator is formed by the feedback around the last two integrators to further
suppress the quantization noise.
• The modulator is fully pipelined for fast settling.
†
A.L. Coban and P.E. Allen, “A 1.5V, 1mW Audio Modulator with 98dB Dynamic Range, “Proc. of 1999 Int. Solid-State Circuits Conf., Feb.
1999, pp. 50-51.
CMOS Analog Circuit Design © P.E. Allen - 2010
DR = 98 dB
BW = 20 kHz
Cs = 5 pF
0.5 μm CMOS
OSR = 64
OSR = 32
OSR = 16
OSR = 8
Suppy
Voltage (V)
DR = 98 dB
BW = 20 kHz
Integrator gain = 1/3
0.5μm CMOS
Capacitor Values
Capacitor Integrator 1 Integrator 2 Integrator 3 Integrator 4 1
Cs 5.00pF 0.15pF 0.30pF 0.10pF 1d
Ci 15.00pF 1.25pF 3.00pF 1.00pF 2
Ca - - 0.05pF -
Cb1 - - - 0.12pF 2d
Fig.10.9-25
Cb2 - - - 0.10pF
frequency, (kHz)
fs fs/D 2fN fN fN
L+1-th First-half Second-half Droop
order band filter band filter correction
Fig.10.9-26
1.) For modulators with (1-z-1)L noise shaping comb filters are very efficient.
• Comb filters are suitable for reducing the sampling rate to four times the Nyquist
rate.
• Designed to supress the quantization noise that would otherwise alias into the
signal band upon sampling at an intermediate rate of fs1.
2.) The remaining filtering is performed by in stages by FIR or IIR filters.
• Supresses out-of-band components of the signal
3.) Droop correction - may be required depending upon the ADC specifications
Comb Filters
A comb filter that computes a running average of the last D input samples is given as
1 D-1
y[n] = D x[n-i]
i=0
where D is the decimation factor given as
fs
D = fs1
The corresponding z-domain expression is,
D 1 1-z-D
HD(z) = z = D 1-z-1
-i
i=1
The frequency response is obtained by evaluating HD(z) for z = ej2fTs,
1 sinfDTs
HD(f) = D sinfTs e-j2fTs/D
where Ts is the input sampling period (=1/fs). Note that the phase response is linear.
For an L-th order modulator with a noise shaping function of (1-z-1)L, the required
number of comb filter stages is L+1. The magnitude of such a filter is,
1 sinfDTs
|HD(f)| = D sinfTs K
-20
K=1
|HD(f)| dB
-40
K= 2
-60
K=3
-80
-100
0 fb fs 2 fs 3 fs 4 fs
D D D D
Frequency Fig.10.9-27
z-1 z-1
h(2) h(2)
z-1 z-1
h(3) h(3)
z-1 z-1
h(N-1) h(N-1)
†
S.R. Norsworthy, R. Schreier, and G.C. Temes, Delta-Sigma Data Converters-Theory, Design, and Simulation, IEEE Press, NY, Chapter 13, 1997.
CMOS Analog Circuit Design © P.E. Allen - 2010
-20
Magnitude (dB)
-50
-80
LOW-PASS 2fB
analog f B DECIMATOR
input FILTER digital
MODULATOR
PCM
Time Time
0 fs 3fs fs Frequency
Application of the bandpass ADC is 4 4 Fig. 11-32
for systems with narrowband signals (IF frequencies)
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 400 – Oversampling ADCs – Part II (3/29/10) Page 400-21
- 1+z-2
Fig.10.9-27B
z-1
Y(z) = Q(z) + [X(z) - Y(z)]
1+z-2
1+z-2 z-1
Y(z) =
Q(z) + X(z)
1+z-1-z-2 1+z-1-z-2
1+z-2
NTFQ (z) =
1+z -z
-1 -2
The NTFQ (z) has two zeros on the j axis.
Resonator Design
Resonators can be designed by applying a lowpass to bandpass transform as follows:
X(z) + V(z) z-1
Σ z-1
1 - z-1
+
Fig. 10.9-27D
Result:
• Simple way to design the resonator
• Inherits the stability of a lowpass modulator
• Center frequency located at fs/4
Fig. 10.9-27E
Comments:
• Designed by applying a lowpass to bandpass transform to a second-order lowpass
modulator
• The stabilty and SNR characteristics are the same as those of a second-order lowpass
modulator
• The z-domain output is given as,
Y(z) = z-4X(z) + (1+z-2)2Q(z)
• The zeros are located at z = ±j which corresponds to notches at fs/4.
Fig. 10.9-27F
Fully differential switch-capacitor implementation:
Operation:
1.) Interpolate a digital word at the conversion rate of the converter (fN) up to the sample
frequency, fs.
2.) The word length is then reduced to one bit with a digital sigma-delta modulator.
3.) The one bit PDM signal is converted to an analog signal by switching between two
reference voltages.
4.) The high-frequency quantization noise is removed with an analog lowpass filter
yielding the required analog output signal.
Sources of error:
• Device mismatch (causes harmonic distortion rather than DNL or INL)
• Component noise
• Device nonlinearities
• Clock jitter sensitivity
• Inband quantization error from the - modulator
Lowpass
filter Quantization noise after
filtering
output
VRef IRef
φ1 Analog
Analog φ2
y(k)
lowpass Analog y(k) lowpass Analog
φ2 R filter Output filter with Output
with -3dB -3dB
C φ2
φ1 frequency C R frequency
y(k)
of 0.5fN of 0.5fN
y(k)
-IRef
-VRef
Voltage-driven DAC with a Current-driven DAC with a
passive lowpass filter stage. passive lowpass filter stage.
Fig10.9-32
A multi-bit output would consist of more parallel, controlled current sources and sinks.
VRef R
φ1
y(k) C2
C1 φ2 To analog
-
lowpass
+ filter
φ1 φ2 φ1
y(k)
-VRef Fig10.9-34
SUMMARY
Comparison of the Various Types of ADCs
Speed Area Dependence
A/D Converter Type Maximum (Expressed in terms on the number of
Practical Number of T a clock period) bits, N, or other
of Bits (±1) ADC parameters
Dual Slope 12-14 bits NT
2(2 ) Independent
Successive Approximation 12-15 bits NT N
with self-correction
1-Bit Pipeline 10 bits T (After NT delay ) N
Algorithmic 12 bits NT Independent
Flash 6 bits T 2N
Two-step, flash 10-12 bits 2T 2N/2
Mulitple-bit, M-pipe 12-14 bits MT 2N/M
- Oversampled (1-bit, L
loops and M= oversampling
ratio = f clock/2fb) 15-17 bits MT L
20
Output word length
15
Flash
Pipelined
10 Algorithmic
Successive approximation
Dual-slope
Delta-sigma
Folding/Interpolating
Bandpass delta-sigma
5
1 102 104 106 108 1010
Conversion rate, (samples/sec.) Figure 10.10-1
10
0.1
0.01
1 100 10 4 10 6 10 8
10 10
Conversion Rate (Samples/second) Figure 10.10-2
References - Continued
[19] A 5-V Single-Chip Delta-Sigma Audio A/D Converter with 111 dB Dynamic Range. Fujimori, I., IEEE J-SC, vol. 32, no.
3, Mar 97 329-336
[20] A 256 x 256 CMOS Imaging Array with Wide Dynamic Range Pixels and Column-Parallel Digital Output. Decker, S.,
IEEE J-SC, vol. 33, no.12, Dec 98 2081-2091
[21] A 400 Msample/s, 6-b CMOS Folding and Interpolating ADC. Flynn, M., IEEE J-SC, vol. 33, no.12, Dec 98 1932-1938
[22] An Analog Background Calibration Technique for Time-Interleaved Analog-to-Digital Converters. Dyer, K. C., IEEE J-SC,
vol. 33, no.12, Dec 98 1912-1919
[23] A CMOS 6-b, 400-Msample/s ADC with Error Correction. Tsukamoto, S., IEEE J-SC, vol. 33, no.12, Dec 98 1939-1947
[24] A Continuously Calibrated 12-b, 10-MS/s, 3.3-V ADC. Ingino, J. M., IEEE J-SC, vol. 33, no.12, Dec 98 1920-1931
[25] A Delta-Sigma PLL for 14b, 50 ksamples/s Frequency-to-Digital Conversion of a 10 MHz FM Signal. Galton, I., IEEE J-
SC, vol. 33, no.12, Dec 98 2042-2053
[26] A Digital Background Calibration Technique for Time-Interleaved Analog-to-Digital Converters. Fu, D., IEEE J-SC, vol. 33
no.12, Dec 98 1904-1911
[27] An IEEE 1451 Standard Transducer Interface Chip with 12-b ADC, Two 12-b DAC’s, 10-kB Flash EEPROM, and 8-b
Microcontroller. Cummins, T., IEEE J-SC, vol. 33, no.12, Dec 98 2112-2120
[28] A Single-Ended 12-bit 20 Msample/s Self-Calibrating Pipeline A/D Converter. Opris, I. E., IEEE J-SC, vol. 33, no.12, Dec
98 1898-1903
[29] A 900-mV Low-Power A/D Converter with 77-dB Dynamic Range. Peluso, V., IEEE J-SC, vol. 33, no.12, Dec 98
1887-1897
[30] Third-Order Modulator Using Second-Order Noise-Shaping Dynamic Element Matching. Yasuda, A., IEEE J-SC, vol.
33, no.12, Dec 98 1879-1886
[31] R, G, B Acquisition Interface with Line-Locked Clock Generator for Flat Panel Display. Marie, H., IEEE J-SC, vol. 33,
no.7, Jul 98 1009-1013
[32] A 25 MS/s 8-b - 10 MS/s 10-b CMOS Data Acquisition IC for Digital Storage Oscilloscopes. Kusayanagi, N., IEEE J-SC,
vol. 33, no.3, Mar 98 492-496
[33] A Multimode Digital Detector Readout for Solid-State Medical Imaging Detectors. Boles, C. D., IEEE J-SC, vol. 33, no.5,
May 98 733-742
[34] CMOS Charge-Transfer Preamplifier for Offset-Fluctuation Cancellation in Low Power A/D Converters. Kotani, K., IEEE J-
SC, vol. 33, no.5, May 98 762-769
[35] Design Techniques for a Low-Power Low-Cost CMOS A/D Converter. Chang, Dong-Young, IEEE J-SC, vol. 33, no.8,
Aug 98 1244-1248
CMOS Analog Circuit Design © P.E. Allen - 2010
Lecture 400 – Oversampling ADCs – Part II (3/29/10) Page 400-37
CONCLUDING THOUGHTS
• What is analog circuit design?
The complex process of creating circuit solutions using analog circuit techniques.
• What is the analog integrated circuit design process?
The even more complex process of combining analog design with IC technology
which includes electrical, physical and test design.
• What are the key principles, concepts and techniques for analog IC design?
Key principles – Fundamental laws
Key concepts – Important relationships and
ideas
Key techniques – Tools that allow
simplification or insight
Technology changes but principles, concepts and
• How can the analog IC designer enhance techniques remain the same.
creativity and solve new problems in today’s
industrial environment?
Learn the key principles, concepts and techniques of
analog circuit design
Learn from mistakes
Learn the technology
Always try to understand the concept and operation
of the circuit, never rely on a computer or someone else for this understanding
CMOS Analog Circuit Design © P.E. Allen - 2010