Professional Documents
Culture Documents
(Allen P.E., Holberg D.R.) CMOS Analog Circuit Des
(Allen P.E., Holberg D.R.) CMOS Analog Circuit Des
I. INTRODUCTION
Contents
I.1
Introduction
I.2
I.3
Technology Overview
I.4
Notation
I.5
Page I.0-1
Chapter 10
D/A and A/D
Converters
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
Opamps
Chapter 9
High Performance
Opamps
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS
Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
Chapter 3
CMOS Device
Modeling
DEVICES
Introduction
Chapter 4
Device
Characterization
Page I.0-2
Page I.2-1
I.1 - INTRODUCTION
GLOBAL OBJECTIVES
Teach the analysis, modeling, simulation, and design of analog circuits
implemented in CMOS technology.
Emphasis will be on the design methodology and a hierarchical
approach to the subject.
SPECIFIC OBJECTIVES
1. Present an overall, uniform viewpoint of CMOS analog circuit design.
2. Achieve an understanding of analog circuit design.
Hand calculations using simple models
Emphasis on insight
Simulation to provide second-order design resolution
3. Present a hierarchical approach.
Sub-blocks Blocks Circuits Systems
4. Examples to illustrate the concepts.
Page I.2-1
FILTERS
AMPLIFICATION
Open-loop amplifiers
1935-1950
Active-RC Filters
Requires precise definition
of time constants (RC
products)
Feedback Amplifiers
Requires precise definition
of passive components
1978
Switched Capacitor
Filters
Requires precise C
ratios and clock
Switched Capacitor
Amplifiers
Requires precise C
ratios
1983
Continuous Time
Filters
Time constants are
adjustable
Continuous Time
Amplifiers
Component ratios
are adjustable
1992
Page I.2-2
Activity/Item
Discrete
Integrated
Component Accuracy
Well known
Breadboarding?
Yes
No (kit parts)
Fabrication
Independent
Very Dependent
Physical
PC layout
Implementation
Parasitics
extraction
Not Important
Simulation
Testing
CAD
Components
known
widely
Generally complete
Must be considered
testing is possible
Schematic capture,
Schematic capture,
simulation, PC board
simulation, extraction,
layout
All possible
Active devices,
capacitors, and resistors
Page I.2-3
Implementation
Simulation
Physical Definition
Physical Verification
Parasitic Extraction
Fabrication
Product
Comparison
with design
specifications
Page I.2-4
Analog Circuits
Digital Circuits
are
discontinuous
in
Signals are continuous in amplitude Signal
and can be continuous or discrete in amplitude and time - binary signals
have two amplitude states
time
Designed at the circuit level
Standard
Performance optimized
Programmable by software
Irregular block
Regular blocks
Page I.3-1
Video
Acoustic
imaging
Seismic
Radar
Sonar
Audio
AM-FM radio, TV
Telecommunications
10
100
1k
10k
100k 1M
10M 100M
Signal Frequency (Hz)
Microwave
1G
10G
100G
Page I.3-2
BiCMOS
Bipolar analog
Bipolar digital logic
MOS digital logic
MOS analog
Optical
GaAs
10
100
1k
10k
1G
10G
100G
Page I.3-3
Silicon IC Technologies
Bipolar
Junction
Isolated
Dielectric
Isolated
Bipolar/MOS
CMOS
Aluminum
gate
MOS
PMOS
(Aluminum
Gate)
Silicon
gate
NMOS
Aluminum
gate
Silicon
gate
Page I.3-4
CATEGORY
BIPOLAR
CMOS
Turn-on Voltage
0.5-0.6 V
0.8-1 V
Saturation Voltage
0.2-0.3 V
0.2-0.8 V
gm at 100A
4 mS
0.4 mS (W=10L)
Analog Switch
Implementation
Offsets, asymmetric
Good
Power Dissipation
Moderate to high
Speed
Faster
Fast
Compatible Capacitors
Voltage dependent
Good
AC Performance
Dependence
DC variables only
DC variables and
geometry
Number of Terminals
Noise (1/f)
Good
Poor
Noise Thermal
OK
OK
Offset Voltage
< 1 mV
5-10 mV
Page I.3-5
WHY CMOS???
DIGITAL
ANALOG
MIXED-SIGNAL IC
I.4
NOTATION
Drain
Bulk Gate
Source
Source/bulk
n-channel, enhance- n-channel, enhancement, bulk at most
ment, VBS 0
negative supply
Drain
Gate
Drain
Bulk Gate
Source
Source/bulk
p-channel, enhance- p-channel, enhancement, bulk at most
ment, VBS 0
positive supply
Page I.4-1
Operational Amplifier/Amplifier/OTA
G mV1
AvV1
V1
V1
VCVS
VCCS
I1
I1
Rm I 1
CCVS
Ai I 1
CCCS
Page I.4-2
Page I.4-3
Id
id
ID
iD
time
II.1
II.2
CMOS Technology
II.3
PN Junction
II.4
MOS Transistor
II.5
Passive Components
II.6
Latchup Protection
II.7
ESD Protection
II.8
Geometrical Considerations
Page II.0-1
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
Opamps
Chapter 9
High Performance
Opamps
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS
Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4
Device
Characterization
Page II.0-2
Page II.0-3
OBJECTIVE
Provide an understanding of CMOS technology sufficient to enhance
circuit design.
Characterize passive components compatible with basic technologies.
Provide a background for modeling at the circuit level.
Understand the limits and constraints introduced by technology.
Page II.1-1
Basic Steps
Oxide growth
Thermal diffusion
Ion implantation
Deposition
Etching
Photolithography
Means by which the above steps are applied to selected areas of the silicon
wafer.
Silicon wafer
0.5-0.8 mm
125-200 mm
Page II.1-2
Oxidation
The process of growing a layer of silicon dioxide (SiO2)on the surface of a
silicon wafer.
Original Si surface
tox
SiO 2
0.44 tox
Si substrate
Uses:
Provide isolation between two layers
Protect underlying material from contamination
Very thin oxides (100 to 1000 ) are grown using dry-oxidation
techniques. Thicker oxides (>1000 ) are grown using wet oxidation
techniques.
Page II.1-3
Diffusion
Movement of impurity atoms at the surface of the silicon into the bulk of
the silicon - from higher concentration to lower concentration.
High
Concentration
Low
Concentration
ERFC
t1<t2<t3
N(x)
NB
t1
t3
t2
Depth (x)
Finite-source diffusion:
N0
Gaussian
t1<t2<t3
N(x)
NB
t1
t2
Depth (x)
t3
Page II.1-4
Ion Implantation
Ion implantation is the process by which impurity ions are accelerated to a
high velocity and physically lodged into the target.
Path of impurity atom
Fixed atoms
Concentration
peak
N(x)
NB
0
Depth (x)
Page II.1-5
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 meterial on a substrate:
Chemical-vapor deposition (CVD)
Low-pressure chemical-vapor deposition (LPCVD)
Plasma-assisted chemical-vapor deposition (PECVD)
Sputter deposition
Materials deposited using these techniques cover the entire wafer.
Page II.1-6
Etching
Etching is the process of selectively removing a layer of material.
When etching is performed, the etchant may remove portions or all of:
the desired material
the underlying layer
the masking layer
Important considerations:
Anisotropy of the etch
lateral etch rate
A = 1 - vertical etch rate
Selectivity of the etch (film toomask, and film to substrate)
film etch rate
Sfilm-mask = mask etch rate
Desire perfect anisotropy (A=1) and invinite selectivity.
There are basically two types of etches:
Wet etch, uses chemicals
Dry etch, uses chemically active ionized gasses.
a
Mask
Film
c
b
Underlying layer
Page II.1-7
Photolithography
Components
Photoresist material
Photomask
Material to be patterned (e.g., SiO2)
Positive photoresistAreas exposed to UV light are soluble in the developer
Negative photoresistAreas not exposed to UV light are soluble in the developer
Steps:
1. Apply photoresist
2. Soft bake
3. Expose the photoresist to UV light through photomask
4. Develop (remove unwanted photoresist)
5. Hard bake
6. Etch the exposed layer
7. Remove photoresist
Photomask
UV
Light
Photomask
Photoresist
Polysilicon
Page II.1-8
Page II.1-9
Polysilicon
Photoresist
Photoresist
Polysilicon
Polysilicon
Positive Photoresist
Page II.2-1
Page II.2-2
n-well implant
SiO2
Photoresist
Photoresist
p- substrate
(a)
Si3N4
SiO2
n-well
p- substrate
(b)
n- field implant
Photoresist
Photoresist
Si3N4
n-well
p- substrate
(c)
p- field implant
Si3N4
Photoresist
n-well
p- substrate
(d)
Page II.2-3
Si3N4
FOX
FOX
n-well
p- substrate
(e)
Polysilicon
FOX
FOX
n-well
p- substrate
(f)
SiO2 spacer
Polysilicon
Photoresist
FOX
FOX
n-well
p- substrate
(g)
n+ S/D implant
Polysilicon
Photoresist
FOX
FOX
n-well
p- substrate
(h)
Page II.2-4
Polysilicon
Photoresist
FOX
FOX
n-well
p- substrate
(i)
LDD Diffusion
Polysilicon
FOX
FOX
n-well
p- substrate
(j)
n+ Diffusion
p+ Diffusion
Polysilicon
FOX
FOX
n-well
p- substrate
(k)
n+ Diffusion
p+ Diffusion
Polysilicon
BPSG
FOX
FOX
n-well
p- substrate
(l)
Page II.2-5
Metal 1
BPSG
FOX
FOX
n-well
p- substrate
(m)
Metal 2
Metal 1
BPSG
FOX
FOX
n-well
p- substrate
(n)
Metal 2
Metal 1
Passivation protection layer
BPSG
FOX
FOX
n-well
p- substrate
(o)
Page II.2-6
Silicide/Salicide
Purpose
Polysilicide
Polysilicide
Metal
Silicide
FOX
FOX
(b)
(a)
Page II.3-1
II.3 - PN JUNCTION
CONCEPT
Metallurgical Junction
n-type semiconductor
p-type semiconductor
iD
+vD Depletion
region
n-type
semiconductor
p-type
semiconductor
iD
+vD xd
xp
xn
1. Doped atoms near the metallurgical junction lose their free carriers
by diffusion.
2.
Page II.3-2
PN JUNCTION CHARACTERIZATION
xd
xp
xn
p-type
semiconductor
n-type
semiconductor
iD
+vD -
0
-NA
Depletion charge concentration ( cm-3 )
qND
xp
0
x
xn
-qNA
Electric Field (V/cm)
x
Eo
Potential (V)
o v D
xd
Page II.3-3
kT NAND
NAND
ln
=
V
ln
t
2
q ni
ni2
2si(o-vD)NA
qND(NA+ND)
2si(o-vD)ND
qND(NA+ND)
Depletion capacitanceCj = A
siqNAND
2(NA+ND)
1
o-vD
Breakdown voltagesi(NA+ND)
2
Emax
BV = 2qN N
A D
Cj0
o-vD
1
N
Page II.3-4
SUMMARY - CONTINUED
Current-Voltage Relationship
vD
iD = IsexpV - 1
Dppno D n n p o
where Is = qA L + L
p
n
25
20
iD 15
Is 10
5
0
-5
-4
-3
-2
-1
vD/Vt
10 x1016
8 x1016
16
iD 6 x10
Is
4 x1016
2 x1016
0
-40
-30
-20
-10
0
vD/Vt
10
20
30
40
II.4-1
Drain
p+
Ch
an
n
Polysilicon
el
W
id
th
,
Bulk
Fig.
4.3-4
n+
n+
n-channel
p-substrate (bulk)
Channel
Length, L
TYPES OF TRANSISTORS
iD
Depletion
Mode
VT (depletion)
Enhancement
Mode
VT (enhancement)
vGS
II.4-2
CMOS TRANSISTOR
N-well process
p-channel transistor
SiO2
p+
FOX
n-well
dra
in (
n+)
sou
rce
(n+
)
dra
in (
p+)
n+
sou
rce
(p+
)
Polysilicon
n-channel transistor
p- substrate
Figure 2.3-1 Physical structure of an n-channel and p-channel transistor in an n-well technology.
P-well process
Inverse of the above.
II.4-3
Type of Device
n-channel, enhancement
Polarity of
vGS and V T
+
n-channel, depletion
p-channel, enhancement
p-channel, depletion
Polarity of vDS
+
Drain
Bulk Gate
Source
Source/bulk
n-channel, enhance- n-channel, enhancement, bulk at most
ment, VBS 0
negative supply
Drain
Gate
Drain
Bulk Gate
Source
Source/bulk
p-channel, enhance- p-channel, enhancement, bulk at most
ment, VBS 0
positive supply
Polarity of
vBULK
Most negative
Most negative
Most positive
Most positive
II.5-1
Gate SiO2
FOX
FOX
p+ bottom-plate implant
p- substrate
(a)
FOX
Inter-poly SiO2
p- substrate
(b)
Figure 2.4-1 MOS capacitors. (a) Polysilicon-oxide-channel. (b) Polysilicon-oxide-polysilicon.
II.5-2
M3
M2
B
M1
Poly
T
M3
T
M2
M1
M2
B
B
M1
Poly
M2
M1
Figure 2.4-2 Various ways to implement capacitors using available interconnect layers.
M1, M2, and M3 represent the first, second, and third metal layers respectively.
Top plate
parasitic
Cdesired
Bottom plate
parasitic
Figure 2.4-3 A model for the integrated capacitors showing top and bottom plate parasitics.
(a)
A1
A2
(b)
A1
A2
x1
x2
x3
Figure 2.6-2 Components placed in the presence of a gradient, (a) without commoncentroid layout and (b) with common-centroid layout.
II.5-3
Large-scale distortion
Corner-rounding distortion
II.5-4
II.5-5
VICINITY EFFECT
C
A
C
A
Corner clipping:
Clip
corners
Street-effect compensation:
II.5-6
II.5-7
C2A
C2A
C1A
C1P
1 +
C2 C2A + C2P
C1 = C1A + C1P =
C1A
C2A
C2P C1P (C1P)(C2P)
C 1 + C - C - C C
1A
2A
1A
1A 2A
C2A
C2P C1P
C 1 + C - C
1A
2A
1A
Thus best matching is achieved when the area to periphery ratio remains
constant.
II.5-8
CAPACITOR PARASITICS
Top Plate
Top plate
parasitic
Desired
Capacitor
Bottom Plate
Bottom plate
parasitic
Range of Values
Temperature
Coefficient
0.8-1.0 fF/m2
Relative
Accuracy
0.05%
Absolute
Accuracy
50 ppm/C
Voltage
Coefficient
50 ppm/V
2.2-2.5 fF/m2
0.05%
50 ppm/C
50 ppm/V
10%
0.02-0.03 fF/m2
1.5%
10%
10%
II.5-9
SiO2
FOX
FOX
n- well
p- substrate
(a)
Metal
Polysilicon resistor
FOX
p- substrate
(b)
Metal
n+
FOX
FOX
n- well
p- substrate
(c)
FOX
II.5-10
Temperature
Coefficient
Absolute
Accuracy
50 ppm/C
Voltage
Coefficient
50ppm/V
50 ppm/C
50ppm/V
10%
10%
10%
1500 ppm/C
200ppm/V
35%
1500 ppm/C
8000 ppm/C
100ppm/V
10k ppm/V
30%
40%
II.5-11
Base (n+)
FOX
FOX
FOX
WB
n- well
Collector (p- substrate)
Depletion regions
p
Emitter
n
Base
p
Collector
Carrier concentration
ppE
nn(x)
ppC
pn(0)
NA
npE(0)
ND
NA
pn(x)
npE
ppC
pn(wB)
x=0
x=wB
II.6-1
II.6 - LATCHUP
D=B
Well tie
Substrate tie
p+
FOX
n+
n+
FOX
p+
Q2
Q1
p-substrate
VDD
D=A
p+
RN-
FOX
n+
n-well
RP(a)
VDD
RN-
Q2
A
Q1
B
RP-
(b)
Figure 2.5-3 (a) Parasitic lateral NPN and vertical PNP bipolar transistor in CMOS
integrated circuits. (b) Equivalent circuit of the SCR formed from the parasitic
bipolar transistors.
II.6-2
PREVENTING LATCHUP
p-channel transistor
n-channel transistor
n+ guard bars
p+ guard bars
VDD
VSS
FOX
n-well
p- substrate
II.6-1
VDD
p+ n-well diode
To internal gates
Bonding
Pad
p+ resistor
n+ substrate diode
VSS
(a)
Metal
n+
FOX
p+
FOX
n-well
p-substrate
(b)
Figure 2.5-5 Electrostatic discharge protection circuitry. (a) Electrical equivalent circuit (b) Implementation
in CMOS technology
II.8-1
N-Well
1A. width .........................................................................6
1B. spacing .................................................................... 12
2.
3.
4.
5.
Contacts
II.8-2
Metal-1
6A. width..........................................................................3
6B. spacing .......................................................................3
7.
Via
7A. size ....................................................................... 3x3
7B. spacing .......................................................................4
7C. enclosure by Metal-1....................................................1
7D. enclosure by Metal-2....................................................1
8.
Metal-2
8A. width..........................................................................4
8B. spacing .......................................................................3
Bonding Pad
8C. spacing to AA............................................................ 24
8D. spacing to metal circuitry ........................................... 24
8E. spacing to polysilicon gate .......................................... 24
II.8-3
II.8-4
1B
1A
2E
2B
2A
2F
2C
2D
3C
3A
3E
3D
3B
4C
II.8-5
4B
4A
5C
5A
5B
5D
5E
5F
5G
5H
II.8-6
7A
7B
6B
7C
6A
7D
8A
8B
9B
9A
9C
N-WELL
N-AA
P-AA
POLYSILICON
CAPACITOR
POLYSILICON
GATE
METAL-1
METAL-2
PASSIVATION
CONTACT
VIA
II.8-7
Transistor Layout
Metal
FOX
Active area
drain/source
FOX
Polysilicon
gate
L
Contact
Cut
W
Active area
drain/source
Metal 1
II.8-8
(a)
(b)
Figure 2.6-4 Example layout of MOS transistors using (a) mirror symmetry, and
(b) photolithographic invariance.
PLI IS BETTER
II.8-9
Resistor Layout
Metal
FOX
FOX
Substrate
Active area (diffusion)
Contact
Cut
Metal 1
Metal
FOX
FOX
FOX
Substrate
Active area (diffusion)
Well diffusion
Active area
Well diffusion
Contact
Cut
Metal 1
Figure 2.6-5 Example layout of (a) diffusion or polysilicon resistor and (b) Well resistor
along with their respective side views at the cut line indicated.
II.8-10
Capacitor Layout
Polysilicon 2
Metal
FOX
Substrate
Polysilicon gate
Polysilicon gate
Polysilicon 2
Cut
Metal 1
(a)
Metal 3
Metal 2
Metal 1
FOX
Substrate
Metal 3
Metal 1
Metal 2
Metal 3
Via 2
Via 2
Metal 2
Cut
Via 1
Metal 1
(b)
Figure 2.6-7 Example layout of (a) double-polysilicon capacitor, and (b) triple-level
metal capacitor along with their respective side views at the cut line indicated.
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS OP
AMPS
Chapter 9
High Performance
OTA's
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4 Device
Characterization
Page III.0-1
Page III.1-1
Page III.1-2
Source
and
bulk
iD
Gate
Drain
iD
VDS
- =0.1V
0
0
p substrate (bulk)
VT
2VT 3VT v GS
VT
2VT
3VT v GS
VT
2VT
3VT v GS
vGS = 2VT:
Source
and
bulk
+
v GS
= 2VT -
iD
Gate
Drain
VDS
=0.1V
-
iD
0
0
p substrate (bulk)
vGS = 3VT:
Source
and
bulk
+
v GS
= 3VT-
iD
Gate
Drain
iD
VDS
- =0.1V
0
p substrate (bulk)
Page III.1-3
Source
and
bulk
VGS +
= 2VT -
iD
Gate
Drain
iD
v DS
= 0V
p substrate (bulk)
0.5VT
VT
v DS
vDS = 0.5VT:
Source
and
bulk
VGS +
= 2VT -
iD
Gate
Drain
v DS = i D
0.5VT
0
p substrate (bulk)
0.5VT
VT
v DS
vDS = VT:
Source
and
bulk
VGS +
= 2VT -
p substrate (bulk)
iD
Gate
Drain
+
-
v DS
=VT
iD
0.5V T
VT
vDS
Page III.1-4
Source
and
bulk
v GS =
VT
+
-
iD
Gate
Drain
+ v = iD
DS
4V
T
-
vDS(sat)
0
0 VT 2VT 3VT 4VT v DS
p substrate (bulk)
vGS = 2VT:
Source
and
bulk
+
v GS =
2VT -
iD
Gate
Drain
+ v = iD
DS
- 4VT
vDS(sat)
0
0 VT 2VT 3VT 4VT v DS
p substrate (bulk)
vGS = 3VT:
Source
and
bulk
v GS =
3VT
+
-
iD
Gate
Drain
+ v = iD
DS
4V
T
-
vDS(sat)
0
p substrate (bulk)
Page III.1-5
1.5
iD (mA)
VGS=4V
1.0
0.5
VGS=3V
VGS=2V
VGS=1V
0
vDS (V)
10
1.5
iD (mA)
VDS=8V
VDS=6V
VDS=4V
VDS=2V
1.0
0.5
0
0
3
vGS(V)
Page III.1-6
p-
n+
Source
v(y)
0
+
v
- DS
iD
dy
y y+dy
n+
Drain
L
Derivation Let the charge per unit area in the channel inversion layer be
QI(y) = C ox[vGS v(y) VT] (coulombs/cm2)
Define sheet conductivity of the inversion layer per square as
1
cm2 coulombs amps
S = oQI(y) vs cm2 = volt = /sq.
E
=
S
S
y
W
dy .
Rewriting Ohm's Law gives,
iD
iDdy
dv = W dy = Q (y)W
o I
S
where dv is the voltage drop along the channel in the direction of y.
Rewriting as
iD dy = WoQI(y)dv
and integrating along the channel for 0 to L gives
vDS
L
vDS
WoQI(y)dv =
iDdy =
WoCox[vGSv(y)VT] dv
0
0
0
vDS
WoCox
iD =
(v
V
)v
GS
T
DS
L
2
Page III.1-7
Non-Sat Region
Saturation Region
Increasing
values of vGS
vDS
CoxW
CoxW
2
2L (vGS VT) , 0 < vGS VT < vDS
Page III.1-8
iD dy =
WoQI(y)dy =
WoCox[vGS v(y) V T]dv
0
0
0
Assume that the threshld voltage varies across the channel in the following
way:
VT(y) = VT + v(y)
where V T is the value of the threshold voltage at the source end of the
channel.
Integrating the above gives,
v
WoCox
v2(y) DS
(vGSVT)v(y) (1+)
iD =
L
2 0
or
iD =
WoCox
v2DS
(vGSVT)vDS (1+)
To find vDS(sat), set the derivative of iD with respect to vDS equal to zero
and solve for vDS = vDS(sat) to get,
vDS(sat) =
vGS VT
1+
iD =
2
WoCox
GS
T
2(1+)L
Page III.1-9
Decreasing values
of bulk-source voltage
VBS = 0
vDS vGS - VT
vGS
VT0
VT1
VT2
VT3
In general, the simple model incorporates the bulk effect into V T by the
following empirically developed equationVT(V
BS)
=V T0 +
Page III.1-10
Bulk
Drain
VDS>0
Poly
n+
p+
p-
Gate
VGS>VT
n+
Substrate/Bulk
VSB1>0V:
VSB1
+
Gate
VGS>VT
Source
Bulk
Poly
n+
p+
p-
Drain
VDS>0
n+
Substrate/Bulk
VSB2
Source
Bulk
p+
p-
Gate
VGS>VT
Substrate/Bulk
Drain
VDS>0
Poly
n+
n+
Page III.1-11
+
+
vGS
B vDS
vBS
- -S
Non-saturationiD =
WoCox
vDS2
(vGS V T)vDS
SaturationWoCox
vDS(sat)2
(1 + vDS)
iD =
(v VT)vDS(sat)
L
GS
2
WoCox
2
2L (vGS VT) (1 + vDS)
where:
o = zero field mobility (cm2/voltsec)
Cox = gate oxide capacitance per unit area (F/cm2)
= channel-length modulation parameter (volts-1)
VT = VT0 + 2|f| + |vBS|
2|f|
Page III.1-12
Non-Sat
Region
Saturation Region
0.75
Channel modulation effects
0.5
0.25
Cutoff Region
0
0
0.5
1.0
1.5
Notation:
W
W
= K' = (oCox)
L
L
Note:
oCox = K'
2.0
vGS -VT
= 1.0
VGS0 - VT
vGS-VT = 0.867
VGS0 - VT
vGS-VT = 0.707
VGS0 - VT
vGS-VT = 0.5
VGS0 - VT
vGS-VT = 0
VGS0 - VT
vDS
VGS0 - VT
2.5
Page III.1-13
GRAPHICAL INTERPRETATION OF
Assume the MOS is transistor is saturatedCoxW
iD = 2L (vGS VT) 2(1 + vDS)
Define iD(0) = iD when vDS = 0V.
iD(0) =
CoxW
2
2L (vGS VT)
Now,
iD = iD(0) [1+vDS] = iD(0) + iD(0) vDS
or
1
1
i
vDS =
iD (0)
Matching with y = mx + b gives
vDS
1
1 iD(0)
iD
iD(0)
-1
or
iD
iD3(0)
iD2(0)
iD1(0)
-1
VGS3
VGS2
VGS1
vDS
Page III.1-14
Model
Parameter
VT0
K'
Parameter
Description
Typical Parameter
Value
NMOS
PMOS
Units
ThresholdVoltage forVBS = 0V
0.750.15
0.850.15
Volts
Transconductance Parameter
11010%
5010%
A/V2
0.4
0.57
0.04 (L=1 m)
0.01 (L=2 m)
0.05 (L = 1 m)
0.01 (L = 2 m)
V-1
0.7
0.8
Volts
(sat.)
= 2F
These values are based on a 0.8 m silicon-gate bulk CMOS n-well process.
Page III.1-15
iD (nA)
Weak
inversion
region
1000.0
iD
Strong
inversion
region
100.0
10.0
1.0
0
VT
VON
vGS
VT
VON
vGS
This model is appropriate for hand calculations but it does not accommodate
a smooth transition into the strong-inversion region.
qvGS
W
iD L IDO exp nkT
iD (nA)
Weak
inversion
region
1000.0
100.0
Strong
inversion
region
10.0
1.0
0
vGS
Page III.2-1
SiO2
Gate
Source
C1
Drain
C2
C3
C4
CBD
CBS
Bulk
Page III.2-2
Depletion Capacitors
Bulk-drain pn junction CBD
Capacitance
approximation
for strong forward bias
CBD0xArea
(FC). B
Reverse Bias
CBD =
Forward B
Bias
VBD
CBD0 A BD
CBS0 ABS
andC
=
BS
vBD MJ
vBS MJ
1
1
B
B
where,
A BD (ABS) = area of the bulk-drain (bulk-source)
CBD0A BD
vBD
(1+MJ)FC
+
FC
CBD =
CBS0ABS
vBS
(1+MJ)FC
+
FC
and
Page III.2-3
G
C
D
Source
Drain
F
E
A
SiO2
Bulk
CBX =
(CJ)(AX)
(CJSW)(PX)
+
, vBX (FC)(PB)
vBX MJ
vBX MJSW
1
PB
PB
and
CBX =
vBX
(CJ)(AX)
(1
+
MJ)FC
+
MJ
PB
(1 FC)1+MJ
+
vBX
(CJSW)(PX)
,
1
(1
+
MJSW)FC
+
(MJSW)
PB
(1 FC)1+MJSW
vBX (FC)(PB)
where
AX = area of the source (X = S) or drain (X = D)
PX = perimeter of the source (X = S) or drain (X = D)
CJSW = zero-bias, bulk-source/drain sidewall capacitance
MJSW = bulk-source/drain sidewall grading coefficient
Page III.2-4
Overlap Capacitance
Mask L
Actual
L (Leff)
Oxide encroachment
Mask
W
LD
Actual
W (Weff)
Gate
Source-gate overlap
capacitance CGS (C1)
Drain-gate overlap
capacitance CGD (C3)
Gate
FOX
Source
Drain
FOX
Bulk
Figure 3.2-5 Overlap capacitances of an MOS transistor. (a) Top view showing
the overlap between the source or drain and the gate. (b) Side view.
Page III.2-5
Overlap
FOX
C5
Overlap
Gate
C5
Source/Drain
FOX
Bulk
Page III.2-6
Capacitance
C2 + 2C5
CGS
C1 + _23 C2
CGS, CGD
C1 + _12 C2
CGS, CGD
C1, C3
vDS = constant
vBS = 0
CGD
CGB
2C5
0
Off
Saturation
VT
vDS +VT
NonSaturation
vGS
Figure 3.2-7 Voltage dependence of CGS, CGD, and CGB as a function of VGS
with VDS constang and VBS = 0.
iD
v DS = v GS - VT
Non-Sat
Region
Saturation
Region
Cutoff Region
0
0
0.5
1.0
vDS = constant
1.5
2.0
2.5
Off
CGB = C2 + 2C5 = Cox(Weff )(Leff ) + CGBO(Leff )
CGS = C1 Cox(LD)(Weff ) = CGSO(Weff )
CGD = C3 Cox(LD)(Weff ) = CGDO(Weff )
Saturation
CGB = 2C5 = CGBO (Leff )
CGS = C1 + (2/3)C2 = Cox(LD + 0.67Leff )(Weff )
= CGSO(Weff ) + 0.67Cox(Weff )(Leff )
CGD = C3 Cox(LD)(Weff ) = CGDO(Weff )
Nonsaturated
CGB = 2C5 = CGBO (Leff )
CGS = C1 + 0.5C2 = Cox(LD + 0.5Leff )(Weff )
= (CGSO + 0.5CoxLeff )Weff
CGD = C3 + 0.5C2 = Cox(LD + 0.5Leff )(Weff )
= (CGDO + 0.5CoxLeff )Weff
Page III.2-7
Page III.3-1
rD
Cbd
inrD
Cgd
gbd
gds
gmvgs
inD
Cgs
gmbsvbs
gbs
inrS
Cgb
Cbs
rS
gbd =
IBD
VBD
and
gbs =
IBS
VBS
ID
VGS
gmbs =
ID
VBS
and
gds =
ID
VDS
Page III.3-2
Saturation Region
gm =
gmbs =
Noting that
(2K'W/L)|ID|
ID
ID VT
=
VSB
VT VSB
ID ID
=
, we get
VT VGS
gmbs = gm
gds = go =
= gm
2(2|F| + VSB)1/2
ID
1 + VDS
ID
Relationships of the Small Signal Model Parameters upon the DC Values of Voltage
and Current in the Saturation Region.
Small Signal
DC Current
DC Current and
DC Voltage
Model Parameters
Voltage
2K' W
gm
(2K' IDW/L)1/2
_
(V -V )
gmbs
gds
GS
(2ID)1/2
2(2|F | +VSB) 1/2
ID
( (VGS VT) )
2(2|F | + VSB)1/2
Page III.3-3
Nonsaturation region
gm =
Id
= VDS
VGS
gmbs =
ID
VDS
=
VBS 2(2|F | + VSB)1/2
and
gds = (VGS VT VDS)
= (VGS VT
gds
Noise
2
4kT
i nrD =
f
rD
(A2)
2
4kT
i nrS =
f
rS
(A2)
and
8kT gm(1+) (KF )ID
2
2
i nD =
+
2f (A )
3
f
C
L
ox
VDS)
Page III.4-1
1 + fb
(1)
Weff
Weff
= effCOX
BETA = KP L
Leff
eff
(2)
Leff = L 2(LD)
(3)
Weff = W 2(WD)
(4)
(5)
fb = fn +
GAMMA fs
4(PHI + vSB)1/2
(6)
Note that PHI is the SPICE model term for the quantity 2f . Also be aware that PHI is
always positive in SPICE regardless of the transistor type (p- or n-channel).
fn =
DELTA si
Weff 2 COX
(7)
1/2
xj LD + wc
wp 2
LD
fs = 1
1
x
xj
Leff
xj + wp
j
(8)
(9)
2si 1/2
xd =
q NSUB
(10)
wp
wp2
wc = xj k1 + k2 k3
xj
xj
Page III.4-2
(11)
eff
(12)
(13)
(14)
or
Saturation Voltage
vgs VT
vsat =
(15)
1 + fb
1/2
2
2
vDS(sat) = vsat + vC vsat + vC
vC
VMAX Leff
(16)
(17)
s =
U0
when VMAX = 0
1 + THETA (vGS VT)
eff =
s
when VMAX > 0; otherwise eff = s
vDE
1+
vC
Channel-Length Modulation
When VMAX = 0
(18)
(19)
Page III.4-3
1/2
(20)
ep xd 2
2
1/2
ep xd 2 2
(21)
where
ep =
iDS =
vC (vC + vDS(sat))
Leff vDS (sat)
iDS
1 L
(22)
(21)
(1)
fast =
COX
2(PHI + vSB)
q
(2)
where
(3)
where iDS is given as (from Eq. (1), Sec. 3.4 with vGS replaced with von)
1 + fb
v v
iDS = BETAvon VT
2 DE DE
(4)
Page III.4-4
Typical Model Parameters Suitable for SPICE Simulations Using Level-3 Model
(Extended Model). These Values Are Based upon a 0.8m Si-Gate Bulk CMOS nWell Process
Parameter
Parameter
Typical Parameter Value
Symbol
Description
N-Channel
P-Channel
Units
VTO
Threshold
V
0.7 0.15
0.7 0.15
UO
mobility
660
210
cm2/V-s
DELTA Narrow-width threshold
2.4
1.25
adjust factor
ETA
Static-feedback threshold
0.1
0.1
adjust factor
KAPPA Saturation field factor in
0.15
2.5
1/V
channel-length modulation
THETA Mobility degradation factor
0.1
0.1
1/V
NSUB
Substrate doping
cm-3
31016
61016
TOX
Oxide thickness
140
140
XJ
Mettallurgical junction
0.2
0.2
m
depth
WD
Delta width
m
LD
Lateral diffusion
0.016
0.015
m
NFS
Parameter for weak
11
11
cm-2
710
610
inversion modeling
CGSO
F/m
220 10 12
220 10 12
CGDO
F/m
220 10 12
220 10 12
CGBO
F/m
700 10 12
700 10 12
CJ
F/m2
770 10 6
560 10 6
CJSW
F/m
380 10 12
350 10 12
MJ
0.5
0.5
MJSW
0.38
0.35
NFS
Parameter for weak
cm-2
71011
61011
inversion modeling
Page III.4-5
Temperature Dependence
The temperature-dependent variables in the models developed so far include the: Fermi
potential, PHI, EG, bulk junction potential of the source-bulk and drain-bulk junctions,
PB, the reverse currents of the pn junctions, IS, and the dependence of mobility upon
temperature. The temperature dependence of most of these variables is found in the
equations given previously or from well-known expressions. The dependence of mobility
upon temperature is given as
T BEX
UO(T) = UO(T0)
T0
where BEX is the temperature exponent for mobility and is typically -1.5.
vtherm(T) =
KT
q
T2
EG(T) = 1.16 7.02 104
T + 1108.0
EG(T0)
T
T
EG(T)
3/2
1016
T
T0
T
1
exp EG 1
2 vtherm(T0)
For drain and source junction diodes, the following relationships apply.
EG(T0)
T
T
EG(T)
PB(T) = PB vtherm(T) 3 ln +
T0
v
(T
v
0
therm 0)
therm(T)
IS(T) =
IS(T0)
EG(T0)
EG(T)
T
exp
+ 3 ln
v
(T
v
(T)
T
N
therm
0
therm 0)
Page III.3-1
Page III.3-2
Geometric Multiplier: M
To apply the unit-matching principle, use the geometric multiplier feature
rather than scale W/L.
This:
M1 3 2 1 0 NCH W=20U L=1U
is not the same as this:
M1 3 2 1 0 NCH W=10U L=1U M=2
The following dual instantiation is equivalent to using a multiplier
M1A 3 2 1 0 NCH W=10U L=1U
M1B 3 2 1 0 NCH W=10U L=1U
(a)
(b)
Page III.3-3
MODEL Description
A SPICE simulation file for an MOS circuit is incomplete without a
description of the model to be used to characterize the MOS transistors used
in the circuit. A model is described by placing a line in the simulation file
using the following format.
.MODEL <MODEL NAME> <MODEL TYPE> <MODEL PARAMETERS>
MODEL NAME e.g., NCH
MODEL TYPE either PMOS or NMOS.
MODEL PARAMETERS :
LEVEL=1 VTO=1 KP=50U GAMMA=0.5 LAMBDA=0.01
SPICE can calculate what you do not specify
You must specify the following
surface state density, NSS, in cm-2
oxide thickness, TOX, in meters
surface mobility, UO, in cm2/V-s,
substrate doping, NSUB, in cm-3
The equations used to calculate the electrical parameters are
VTO = MS
KP = UO
ox
TOX
GAMMA =
(2q si NSUB)1/2
(ox/TOX)
and
2kT NSUB
PHI = 2F =
ln
q
ni
LAMBDA is not calculated from the process parameters for the LEVEL 1 model.
Page III.3-4
Other parameters:
IS: Reverse current of the drain-bulk or source-bulk junctions in Amps
JS: Reverse-current density in A/m2
JS requires the specification of AS and AD on the model line. If IS is
specified, it overrides JS. The default value of IS is usually 10-14 A.
RD: Drain ohmic resistance in ohms
RS: Source ohmic resistance in ohms
RSH: Sheet resistance in ohms/square. RSH is overridden if RD or
RS are entered. To use RSH, the values of NRD and NRS must be
entered on the model line.
The drain-bulk and source-bulk depletion capacitors
CJ:
Bulk bottom plate junction capacitance
MJ:
Bottom plate junction grading coefficient
CJSW: Bulk sidewall junction capacitance
MJSW: Sidewall junction grading coefficient
If CJ is entered as a model parameter it overrides the calculation of CJ using NSUB,
otherwise, CJ is calculated using NSUB.
If CBD and CBS are entered, these values override CJ and NSUB calculations.
In order for CJ to result in an actual circuit capacitance, the transistor instance must
include AD and AS.
In order for CJSW to result in an actual circuit capacitance, the transistor instance must
include PD and PS.
CGSO:
CGDO:
AF:
KF:
Page IV.0-1
Organization
Chapter 10
D/A and A/D
Converters
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
Opamps
Chapter 9
High Performance
Opamps
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS
Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
Chapter 3
CMOS Device
Modeling
Chapter 4
Device
Characterization
DEVICES
Page IV.1-1
v DS
W eff
(v G S - V T ) v D S iD = K' L
2
L eff
V T = V T0 +
2| F | + v S B -
2| F |
(1)
(2)
(3)
(4)
iD = 2L
vGS - 2L
VT0
eff
eff
(5)
(6)
y = iD
(7)
x = v GS
(8)
m=
2L eff
Page IV.1-2
(9)
and
K' S W eff 1/2
b =
V T0
2L eff
1/2
Plot i D
(10)
1/2
Page IV.1-3
Mobility degradation
region
v DS > VDSAT
( iD )
1/2
Weak inversion
region
b = VT0
K S Weff
m=
2 L eff
1/2
v GS
(a)
v DS = 0 . 1 V
iD
K L Weff
m=
L eff
vDS
vGS
(b)
Figure B.1-1 (a) iD1/2 versus vGS plot used to determine VT0 and K'S. (b) iD versus
vGS plot to determine K'L.
v DS v GS - K' L
v DS V T +
iD = K' L
2
L eff
L eff
(11)
Page IV.1-4
iD
W eff
vDS
m = v
= K' L
Leff
GS
Knowing the slope, the term K'L is easily determined to be
L eff
W eff
K' L = m
vDS
(12)
(13)
(14)
2| F | + v SB
(15)
x=
2| F |
m=
(16)
b = V T0
(17)
(i D )
Page IV.1-5
1/2
VT0
VT1
VT2
VT3
v GS
Figure B.1-2 iD1/2 versus vGS plot at different vSB values to determine .
VSB = 3 V
VSB = 2 V
VT
VSB = 1 V
m=
VSB = 0 V
( vSB + 2 F )
0.5
( 2 F )
0.5
(18)
Page IV.1-6
(19)
x = v DS
(20)
m = i'D
(21)
(22)
Plot iD versus v DS , and measure the slope of the data in the saturation
region, and divide that value by the y-intercept to get.
Saturation region
Nonsaturation
region
iD
i'D
m = i'D
v DS
Figure B.1-4 Plot of iD versus vDS to determine .
Calculating L and W.
Consider two transistors, with the same widths but different lengths,
operating in the nonsaturation region with the same vDS. The widths of the
transistors are assumed to be very large so that W Weff. The large-signal
model is given as
2
v
K' L W eff
DS
iD = L
(v
V
)v
T 0 D S 2
eff G S
(23)
Page IV.1-7
and
K' L W eff
ID
VD S
= gm =
V GS
L eff
(24)
(25)
and
W2
L2 + L
(26)
Implicit in Eqs. (25) and (26) is that L is assumed to be the same for both
transistors. Combining Eq. (24) with Eqs. (25) and (26) gives
K' L W
(27)
gm1 = L + L v DS
1
and
K' L W
gm2 = L + L v DS
2
(28)
(30)
L2 and L1 known
gm1 and gm2 can be measured
Similarly for W eff :
(W 1 - W 2 )g m2
W 2 + W = W eff = g
m1 - gm2
(31)
Equation (31) is valid when two transistors have the same length but
different widths.
Page IV.1-8
Page IV.3-1
sCoxW
iD =
L
v2
(v
DS + v
V
)v
T DS 2
DS
GS
2| F |
(1)
Cox[v GS - V T - (UTRA)v DS ]
s = o
(2)
Eq. (2) holds when the denominator term in the brackets is less than unity.
Otherwise, o = s. To develop a procedure for extracting o, consider
the case where mobility degradation effects are not being experienced, i.e.,
s = o, Eq. (1) can be rewritten in general as
(3)
iD = o f(C ox , W, L, v GS , V T , v DS , , 2| F |)
This equation is a linear function of vGS and is in the familiar form of
y = mx + b
(4)
where b = 0.
Plot iD versus the function, f(Cox, W , L, v GS , V T , v DS , , 2| F |) and
measure the slope = o.
Page IV.3-2
Region of
variable
mobility
iD
Region of
constant
mobility
Weak-inversion
region
v GS
Figure B.2-1 Plot of iD versus vGS in the nonsaturation region.
(5)
where
2
v
C ox W
DS
f1 = L (v G S - V T )v D S - 2 + vDS 2| F |
2
(1)
and
si
[v GS - V T - (UTRA)v DS ]C o x
Page IV.3-3
(7)
The units of f 1 and f 2 are FV2/cm2 and cm/V respectively. Notice that f 2
includes the parameter UTRA, which is an unknown. UTRA is disabled in
most SPICE models.
Equation (5) can be manipulated algebraically to yield
iD
= log( o) + UEXP[log(UCRIT)] + UEXP[log(f2)] (8)
f1
log
(9)
iD
y = log f
1
(10)
m = UEXP
(11)
b = log( o) + UEXP[log(UCRIT)]
(12)
By plotting Eq. (8) and measuring the slope, UEXP can be determined.
The y-intercept can be extracted from the plot and UCRIT can be
determined by back calculation given UEXP, o, and the intercept, b.
Page IV.4-1
JSA E
(1)
and
iE
dc = i 1
(2)
B
AE is the cross-sectional area of the emitter-base junction of the BJT.
iE = iB ( dc + 1)
(3)
ln(J
A
)
=
ln(
dc E
S E
q
q
q
1 + d c
ln(JSAE)
Plotting ln[iE dc/(1 + dc)] versus vBE results in a graph where
kT
m = slope = q
(5)
and
k T
ln(JSA E )
q
b = y-intercept =
(6)
Page IV.5-1
Resistors
Contact resistance
Characterize the resistor geometry exactly as it will be implemented in a
design. Because
sheet resistance is not constant across the width of a resistor
the effects of bends result in inaccuracies
termination effects are not accurately predictable
Figure B.5-1 illustrates a structure that can be used to determine sheet
resistance, and geometry width variation (bias).
Force a current into node A with node F grounded while measuring the
voltage drops across BC (Vn) and DE (Vw), the resistors Rn and Rw can
be determined as follows
Vn
Rn =
(1)
I
Rw =
Vw
I
(2)
Ln
(3)
W w - Bias
Lw
(3)
RS = Rn
RS = Rw
where
Page IV.5-2
Wn
Ln
B
Ww
Lw
C
(5)
RwLn
k=R L
n w
(6)
where
and
W n - Bias
W w - Bias
= Rw
Ln
Lw
RS = Rn
(7)
Page IV.5-3
10 squares
RA=220
20 squares
RB=420
R A = R 1 + 2R c;
R1 = N 1RS
(8)
R B = R 2 + 2R c;
R2 = N 2RS
N1 is the number of squares for R1
RS is the sheet resistivity in /square
Rc is the contact resistance.
RB - RA
RS = N - N
2
1
(9)
and
(10)
and
2R c = R A N 1R S = R B N 2R S
(11)
Page IV.5-4
R=
V1 V2
IR
VBIAS =
V1 + V2
2
IR
V1
V2
VSS
Figure B.5-3 N-well resistor illustrating back-bias dependence.
27.0
Resistance (k)
26.5
26.0
25.5
25.0
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
Page IV.5-5
Contact Resistance
Pad 1
Metal pads
Diffusion or
polysilicon
Pad 3
Pad 4
Metal pads
Pad 2
Pad 1
RC
R
RC
Pad 4
R
RC
Pad 3
RM
RM
Pad 2
Page IV.5-1
V. Characterization of Capacitance
MOS capacitors
CGS, CGD, and CGB
Depletion capacitors
CDB and CSB
Interconnect capacitances
Cpoly-field, Cmetal-field, and Cmetal-poly (and perhaps multi-metal
capacitors
SPICE capacitor models
C GS0, C GD0, and C GB0 (at V GS = V GB = 0).
Normally SPICE calculates CDB and CSB using the areas of the drain and
source and the junction (depletion) capacitance, CJ (zero-bias value), that it
calculates internally from other model parameters. Two of these model
parameters, MJ and MJSW, are used to calculate the depletion capacitance
as a function of voltage across the capacitor.
Page IV.5-2
Source
Drain
Source
Gate
Figure B.6-1 Structure for determining CGS and CGD.
(1)
where
Cmeas = total measured capacitance
W = total width of one of the transistors
n = total number of transistors
Page IV.5-3
For very narrow transistors, the capacitance determined using the previous
technique will not be very accurate because of fringe field and other edge
effects at the edge of the transistor. In order to characterize CGS0 and
CGD0 for these narrow devices, a structure similar to that given in Fig.
B.6-1 can be used, substituting different device sizes. Such a structure is
given in Fig. B.6-3. The equations used to calculate the parasitic
capacitances are the same as those given in Eq. (1).
Metal drain
interconnect
Drain
Source
Metal source
interconnect
Drain
Polysilicon
gate
Source
Page IV.5-4
CGB0
Drain
Gate overhang
Gate
Source
FOX
Diffusion source
CGB
FOX
Cpoly-field
(3)
where
doverhang = overhang dimension (see Rule 3D, Table 2.6-1)
Page IV.5-5
C BD and C BS
VJ
CJ(VJ) = ACJ(0)1 + PB
-MJ
VJ
+ PCJSW(0)1 +
PB
-MJSW
(4)
where
VJ = the reverse bias voltage across the junction
CJ(VJ) = bottom junction capacitance at VJ
CJSW(VJ) = junction capacitance of sidewall at VJ
A = area of the (bottom) of the capacitor
P = perimeter of the capacitor
PB = bulk junction potential
The constants CJ and MJ can be determined by measuring a large
rectangular capacitor structure where the contribution from the sidewall
capacitance is minimal. For such a structure, CJ(VJ) can be approximated
as
VJ -MJ
(5)
CJ(VJ) = ACJ(0)1 + PB
This equation can be rewritten in a way that is convenient for linear
regression.
VJ
log[CJ(VJ)] = (MJ)log 1 +
PB + log[ACJ(0)]
(6)
Plotting log[CJ(VJ)] versus log[1 + VJ/PB] and determine the slope, MJ,
and the Y intercept (where Y is the term on the left), Log[ACJ(0)].
Knowing the area of the capacitor, the calculation of the bottom junction
capacitance is straightforward.
Page V.0-1
V. CMOS SUBCIRCUITS
Contents
V.1
V.2
V.3
V.4
V.5
V.6
MOS Switch
MOS Diode
MOS Current Source/Sinks
Current Mirrors/Amplifiers
Reference Circuits
V.5-1 Power Supply Dependence
V.5-2 Temperature Dependence
Summary
Organization
Chapter 10
D/A and A/D
Converters
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
Opamps
Chapter 9
High Performance
Opamps
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS
Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4
Device
Characterization
Page V.0-2
WHAT IS A SUBCIRCUIT?
A subcircuit is a circuit which consists of one or more transistors and
generally perfoms only one function.
A subcircuit is generally not used by itself but in conjunction with other
subcircuits.
Example
Design hierarchy of analog circuits illustrated by an op amp.
Operational
Amplifier
Complex Circuits
Simple Circuits
Biasing
Circuits
Current
Source
Current
Mirror
Current
Sink
Diff.
Amp.
Mirror
Load
Second Gain
Stage
Inverter
Output
Stage
Page V.1-1
RAB(off) =
Nonideal Switch
CAB
IOFF
ROFF
VOFF
RON
B
CAC
C
+
RA
VControl
CBC
RB
Page V.1-2
(S/D)
(D/S)
C (G)
iD =
L (v G S - V T ) - 2 vDS
iD KW
vDS = L v G S V T v D S
Thus,
vDS
1
RON = i = KW
D
(v G S V T v D S )
L
ROFF i = I
DS
OFF
Page V.1-3
Bulk
(0 to 5V)
Circuit
1
(0 to 5V)
(S/D)
(D/S)
Circuit
2
The bulk voltage must be less than or equal to zero to insure that the
bulk-source and bulk-drain are reverse biased.
The gate voltage must be greater than 5 + VT in order to turn the switch
on.
Therefore,
VBulk 0V
V G 5 + VT
(Remember that the larger the value of VSB , the larger VT)
Page V.1-4
100A
V1 =10V
V1
V1=9V
Id
60A
V1 =8V
V1 =7V
V2
-5
20A
Id
V1=2V
-20A
V1=3V
V1=4V
-60A
V1 =5V
V1 =6V
-100A
-1V
-0.6V
-0.2V
0.2V
V2
0.6V
1V
Page V.1-5
W/L = 3m/3m
10k
W/L = 15m/3m
W/L = 30m/3m
1k
W/L = 150m/3m
100
1.0V
1.5V
2.0V
2.5V
3.0V
3.5V
Gate-Source Voltage
4.0V
4.5V
5.0V
Page V.1-6
RON
+
VIN
-
VSS
C1
+
vC1
C1
VIN
-
vC1
C2
+
vIN
-
VSS
CHold
+
vOUT
-
+
VSS
vOUT
-
Page V.1-7
EXAMPLES
1.
106
25(10-1) = 4444
VG
2.
C2=10pF
+
5V
+
- C1=20pF
v(t) = 5exp(-t/RC)
10-7
10-7
= 20 RC =
exp
RC
ln(20)
10
Therefore, R = 6 x 103
Thus,
10x103
L/W
L/W
=
=
6
K'(VG-V S-V T) (2.5x10-5)(9)
W
Gives L = 2.67
Page V.1-8
CGSO
S
CGC=Cox
RCH
Cox
2
Cox
2
CGSO
S
RCH
Page V.1-9
dvG
dt
vIN
CHold
-
Page V.1-10
V
vGATE
Voltage
Time
(d)
Voltage
Time
(e)
Figure 4.1-10 (a) Illustration of slow ramp and (b) fast ramp using a quantized voltage
ramp to illustrate the effects due to the time constant of the channel resistance and capacitance.
Page V.1-11
CGS
+
CGD
VSS
VIN CBS
-
CBD
C1
vC1
Switch ON
Switch OFF
1
CGS
+
VIN
-
VSS
CBS
CGD
C1
vC1
CGD
CGD
CGD
vC1 = -C +C 1 - C 1 = - C (v in + VT)
1 GD
1
1
EXAMPLE regime)
Switched
Capacitor
Page V.1-12
Integrator
(slow
clock
edge
1
Switch ON
Switch OFF
vIN+VT
2
Switch ON
Switch OFF
VT
T
M1
M2
+
VIN
-
assuming:
C2
VSS
C1
VSS
vOUT
-
CGS1=CGS2=CGD1=CGD2 = CG
CG
CG
VC1 = VIN 1
V T
C1+CG
CG+C1
V C1 =
Page V.1-13
CG
VC1 = VIN 1C +C
1 G
+
Once M2 turns on (at t3 ), all of the charge on C1 is transferred to C2.
CG
C1
C1
VO = VC1 = V IN 1
C1+CG
C2
C2
+
Between times at t3 and t4 additional charge is transferred to C1 from the
channel capacitance of M2.
V O
Cch
(Vclk V T)
C2
(t3-t4)=
C1 CG
Cch
V O (error) = VIN
(Vclk V T)
C2 C1+CG
C2
Page V.1-14
Consider the gate voltage traversing from VH to VL (e.g., 5.0 volts to 0.0 volts,
respectively) described in the time domain as
v G = V H Ut
(3)
V HT
2CL >> U
(4)
(5)
the error (the difference between the desired voltage V S and the actual voltage,
VCL) due to charge injection can be described as
W C G D 0
V error =
CL
C c h
2
Page V.1-15
U CL W C G D 0
+
(V S + V T V L )
2
CL
(6)
V HT
2CL << U
(7)
WCGD0 + C ch
2
V error =
V H T
CL
V HT WCGD0
6U C + C
(V S + V T V L )
L
L
3
(8)
Case 2
vG
Case 1
0
0.2 ns
10 ns
Time
Case 1:
The first step is to determine the value of U in the expression
vG = VH - Ut
For a transition from 5 volts to 0 volts in 0.2 ns, U = 25 109
In order to determine operating regime, the following relationship must be tested.
Page V.1-16
2
2
VHT
VHT
2CL >> U for slow or 2CL << U for fast
Observin g that there is a backbias on the transistor switch effecting VT, VHT is
VHT = VH - VS - VT = 5 - 1 - 0.887 = 3.113
giving
2
VHT
11010-6 3.1132
= 2.66 109 << 25 109 thus fast regime.
2CL =
2 200f
Applying Eq. (8) for the fast regime yields
1.5810-15
17610-18 +
3.3210-3 17610-18
2
Verror =
(5 + 0.887 - 0)
3.113
+
20010-15
3010-3 20010-15
Verror = 19.7 mV
Case 2:
The first step is to determine the value of U in the expression
v G = VH - Ut
For a transition from 5 volts to 0 volts in 10 ns, U = 5 108 thus indicating the slow regime
according to the following test
2.66 109 >> 5 108
1.5810-15
17610-18 +
2
Verror =
20010-15
Verror = 10.95 mV
31410-6 17610-18
+
(5 + 0.887 - 0 )
22010-6 20010-15
Page V.1-17
W1
L1
WD = W1
LD 2L1
M1
MD
VSS
VSS
vin > 0
-
vout
VSS
vG
3VT
2VT
VT
t
ON
OFF
ON
Page V.1-18
CMOS SWITCHES
"Transmission Gate"
VSS
VDD
Page V.1-19
B
VDD
+
VAB
1 A
50
2
Switch On Resistance
3k
2.5k
VDD = 4V
2k
VDD = 4.5V
VDD = 5V
1.5k
1k
0.5k
0k
0V
1V
2V
VAB
3V
4V
5V
SPICE File:
Simulation of the resistance of a CMOS transmission switch
M1 1 3 2 0 MNMOS L=2U W=50U
M2 1 0 2 3 MPMOS L=2U W=50U
.MODEL MNMOS NMOS VTO=0.75, KP=25U,LAMBDA=0.01, GAMMA=0.5, PHI=0.5
.MODEL MPMOS PMOS VTO=-0.75, KP=10U,LAMBDA=0.01, GAMMA=0.5, PHI=0.5
VDD 3 0
VAB 1 0
IA 2 0 DC 1U
.DC VAB 0 5 0.02 VDD 4 5 0.5
.PRINT DC V(1,2)
.END
Page V.1-20
Nch on
Pch off
Pch on
Nch off
280
270
5v
260
Id
250
5v
240
V
230
220
0.1
210
0
Page V.1-21
M1
CPump
M6
M4
M2
M7
M8
VDBL
CHold
M3
M5
VSS
A
B
Operation:
1. A low, B high - C Pump is charged to VDD-VSS.
2. A high, B low - CPump transfers negative charge to CHold
VDBL -0.5V DD - V S S
3. Eventually, VDBL approaches the voltage of -VDD + VSS. If
VDD = - VSS, then VDBL - 2VDD.
Page V.1-22
Page V.2-1
I-V Characteristics i
AC
DC
K'W
i = iD = (
) [ vGS - VT ]2
2L
= 2 ( vGS - VT ) 2 , ignore
or
v
v = vDS = vGS = VT +
Small signal
i
G
D
+
v
gm v
gmbs vbs
rds
v
If VBS = 0 , then ROUT = i
If V BS 0?
Note:
1
1
= g +g
g
M
DS
M
2iD
Page V.2-2
vDS1 =
2
1 v DS2 - V T 2 + VT1
where
vGS1 = vDS1
and
v GS2 = vDS2
Example :
If VDD = -VSS = 5 volts, Vout = 1 volt, and ID1 = ID2 = 50 amps,
then use the model parameters of Table 3.1-2 to find W/L ratios.
iD1 = ( vGS - VT ) 2
2
1 = 4.0 A/V2
2 = 11.1 A/V2
K'n = 17 A/V2
K'p = 8 A/V2
1
then ( W/L )1 = 4.25
Page V.2-3
I1
M1
+
vDS
I
I2
M2
+
VC
-
Consider :
Assume both devices are non-saturated
2
v DS
I1 = 1 (v DS + V C - V T )v DS 2
2
v DS
I2 = 2 (V C - V T )v DS - 2
2
2
v DS
v DS
I = I1 + I2 = v D S 2 + (V C - V T )v D S - 2 + (V C - V T )v D S - 2
I = 2(VC - VT)vDS
1
R = 2(V - V )
C
T
Page V.2-4
Implementation :
VDD
+
V
- C
M3A
M2A
M1
+
VGS
G- i
M3B
+
VGS
S
-
M2
vDS +
R
VSS
S
M2B
Page V.2-5
VC
+
G1
D1
+
D2
i2
i
G2 +
M1
VSS
S1
M2
r ac
VC
-
S2
_
Voltage-Current Characteristic :
2mA
Vc=7V
6V
5V
I(VSENSE)
1mA
4V
W=15u
L=3u
VBS=-5.0V
3V
0
-1mA
-2mA
-2
-1
VDS
Page V.2-6
iAB
V DD
M2B
M2A
+
VC
-
M1A
+
VC
M1B
M3A
+ V
C
M3B
V SS
Voltage Current Characteristics
100uA
4V
5V
60uA
3V
20uA
Vc=2V
i AB
- 20uA
- 60uA
- 100uA
-4
-3
-2
-1
0
1
VAB
Page V.2-7
i1
v1
v2
v2
- v1
i2
v1
- v1
v2
v2
+
-
i2
VC
Assume the MOSFET's are in the non-saturation region
1
i1 = (V C - v 2 -V T )(v 1 - v 2 ) - 2 (v 1 - v 2 ) 2
i2 = (V C - v 2 -V T )(-v 1 - v 2 ) - (-v 1 - v 2 ) 2
2
Rewrite as
1
i1 = (V C - v 2 -V T )(v 1 - v 2 ) - (v 1 2 - 2v 1 v 2 + v 2 2 )
2
i2 = (V C - v 2 -V T )(-v 1 - v 2 ) - (v 1 2 + 2v 1 v 2 + v 2 2 )
2
i1 - i2 = (V C -v 2 -V T )(2v 1 ) - (v12-2v1v2+v22-v12-2v1v2-v22)
2
v1-(-v1) 2v1
2v1
1
=
=
=
i1-i2 2(VC-VT)v1 (VC-VT)
i1-i2
or
R=
v1 V C - V T
1
W
2K L (VC-VT)
Page V.2-8
i1
i1
v2
v1
v2
v1
VCC
r ac/2
- v1
v2
i2
- v1
v2
i2
VC
Voltage-Current Characteristics
1.0mA
VC= 7V
6V
0.6mA
5V
4V
0.2mA
ID(M1)
3V
- 0.2mA
- 0.6mA
- 1.0mA
-2
-1
V1
Single MOSFET Differential Resistor Realization
M1 1 2 3 4 MNMOS1 W=15U L=3U
M2 5 2 3 4 MNMOS1 W=15U L=3U
VC 2 0
VCC 4 0 DC -5V
V1 1 0
E1 5 0 1 0 -1
.MODEL MNMOS1 NMOS VTO=0.75 KP=25U
+LAMBDA=0.01 GAMMA=0.8 PHI=0.6
.DC V1 -2.0 2.0 0.2 VC 3 7 1
.PRINT DC ID(M1)
.PROBE
.END
Page V.2-9
i1
v1
iD2 iD1
i1
v1
v2
VC2
i2
v
iD3
iD4
v2
VC1
i2
1
1
1
1
or
Page V.2-10
i1
M1
v3
v1
i1
iD2
r ac/2
v1
VSS
v3
M2
r ac/2
v2
VC2
v4
i2
iD3
M3
iD4
VSS
v2
i2
M4
v4
VC1
Voltage-Current Characteristics
150uA
VC2 = 6V
5V
100uA
VBC =-5V
V3 =0V
VC1 =7V
50uA
I(VSENSE)
4V
3V
2V
- 50uA
- 100uA
- 150uA
-3
-2
-1
V1-V2
Page V.2-11
AC Resistance
Realization
Linearity
How
Controlled
Restrictions
Single MOSFET
Poor
V GS or W/L
Parallel MOSFET
Good
VC or W/L
v (VC - VT)
Single-MOSFET,
differential resistor
Good
VC or W/L
|v1| < VC - VT
vBULK < -v1
Differential around v1
v1, v2 < min(VC1-VT,
VC2-VT)
vBULK < min(v1,v2)
Transresistance only
Page V.3-1
VDD
VG = V GG
iD
iD
VGG
+
v
vMIN
iD
VDD
VG = V GG
VGG
iD
+
v
1
rOUT = I
D
vMIN = vDS(SAT.) = vON
vMIN
VDD
Page V.3-2
D
G
B
S
gm =
gmbs =
2K'WID
L
gm
2 2 F + |V BS |
1
1
r ds g = I
ds
D
G
+
B
+
vgs
vbs
gmvgs
gmbsvbs
rds
Page V.3-3
Small-Signal Model
i OUT
+
iout +
M2
r ds2
gm2 vgs2
vOUT
+
-
r
VGG
gmbs2 vbs2
+
v S2
-
Loop equation:
vout = [iout - (g m2vgs2 + gmbs2vbs2)]r ds2 + iout r
But, v gs2 = -vs2 and vbs2 = - vs2.
vout = [iout + gm2vs2 + gmbs2vs2]rds2 + iout r
Replace vs2 by i outrvout = iout [ rds2 + gm2 rds2r + gmbs2rds2r + r ]
Therefore,
rout = rds2 + r [1 + gm2 rds2 + gmbs2rds2]
MOS Small Signal Simplifications
Normally,
g m 10g mbs 100g d s
Continuing
rout rgm2 rds2
r out r x (voltage gain of M2 from source to drain)
vout
-
Page V.3-4
Small-Signal Model
Circuit
iOUT
IREF
iout
+
M2
M4
+
vOUT
gmbs2vbs2
M3 M1
r ds2
gm2vgs2
vout
+
vS2
-
r ds1
gm1vgs1
NMOS Cascode1mA
Slope = 1/R o
iO
0.75mA
+
+
vGS2
-
iO 0.5mA
0.25mA
0mA
0V
VMIN
2V
4V
vO
6V
vO
+
vGS1
- 8V
10V
Page V.3-5
iD2
+
M1
-
vGS1
vGS2
vGS2
M2
iD1
S = W/L
M2
vGS1
M1
-
Assume that M1 and M2 are matched but may not have the same W/L ratios.
1). If vGS1 = vGS2, then iD1 = (S1/S2)iD2
a). v GS1 may be physically connected together , or
b). v GS1 may be equal to vGS2 by some other means.
2). If i D1 = iD2, then
a). vGS1 = VT +
S2/S1(vGS2 - VT) , or
Page V.3-6
IOUT
2VT + 2VON
IOUT
VOUT(sat)
M4
M3
+
VT + VON
-
M2
VOUT
M1
+
VT + VON
+
VT + VON
-
VOUT
VT + 2VON
vGS = VON + VT =
Part of v G S
to achieve
drain current
Part of v G S to
ID
VT
VT+VON
vGS
Page V.3-7
Circuit Which Reduces the Value of Vout(sat) of the Cascode Current Sink
iREF
iREF
M6
M4
1/4
+
-
+
1/1
VT + 2VON
iOUT
M2
vOUT
VT + VON
M3
+
1/1
1/1
VT + VON
2VT + 3VON
M5
iout
VT + 2VON
M1
+
VON
1/1
VT + VON
1/1
iD
vOUT(sat)
W=1
L 1
W =1
L 4
VT + VON
VT + 2VON
ID
vOUT
2V ON
K'W
iD = 2
(v - VT ) 2
L GS
K'W
2
2 L (V ON )
vGS
VT
Page V.3-8
iREF
iREF
iO
1
M5
M4
+
1/4
M1
VT + VON
M2
+
1
+
VON
VT + VON
Assume (W/L)1 = (W/L)2 = (W/L)4 = 4(W/L)5 values are identical and ignore
bulk effects.
Let I
= IO
REF
VGS1 =
2I REF
+ VT = VON + VT
W1
K L
1
and
V GS5 =
2I REF
+ VT
W5
K L
5
V GS5 =
2I REF
+ VT = 2
W1
K 4L
1
2I REF
W1
K L
1
+ V T = 2 VON + VT
Page V.3-9
ID(M4)
750A
500A
250A
0A
0V
1V
2V
3V
VOUT
4V
5V
Page V.3-10
iREF
VT
+ M3 1
+
-
M4
+
V T + VON
1/4
M1
VON
M5
iO
V T + 2VON
VT + V ON
M2
V ON
+
1
V T + V ON
+
-
Page V.3-11
VDD
iOUT
IB2
RB2
M3
iD3
+
vGS3
IB1
M4
vOUT
Iout
M2
M1
vDS3
Principle of operation:
As v OUT decreases, M3 will enter the non-saturation region and
iOUT will begin to decrease. However, this causes a decrease in the gatesource voltage of M4 which causes an increase in the gate voltage of M3.
The minimum value of vOUT is determined by the gate-source voltage of
M4 and Vdsat of M3. Assume that all devices are in saturation.
vOUT(min) =
2IB2
K'(W/L)4 +
2Iout
K'(W/L)3 + VT4
Page V.3-12
RB2
r ds4
gm4vgs4
vgs4
gm3vgs3
r ds2
vout
-
Page V.3-13
IB1=150A
140A
120A
IB1=125A
100A
IB1=100A
iOUT 80A
IB1=75A
60A
40A
IB1=50A
20A
0A
0
vOUT
SPICE Input File
CMOS Regulated Cascode Current Sink
VDD 6 0 DC 5.0
IB1 6 4 DC 25U
VOUT 1 0 DC 5.0
M1 4 4 0 0 MNMOS1 W=15U L=3U
M2 3 4 0 0 MNMOS1 W=15U L=3U
M3 1 2 3 0 MNMOS1 W=30U L=3U
M4 2 3 0 0 MNMOS1 W=15U L=3U
M5 5 4 0 0 MNMOS1 W=15U L=3U
M6 5 5 6 6 MPMOS1 W=15U L=3U
M7 2 5 6 6 MPMOS1 W=6U L=3U
.MODEL MNMOS1 NMOS VTO=0.75 KP=25U
+LAMBDA=0.01 GAMMA=0.8 PHI=0.6
.MODEL MPMOS1 PMOS VTO=-0.75 KP=8U
+LAMBDA=0.02 GAMMA=0.4 PHI=0.6
.DC VOUT 5 0 0.1 IB1 50U 150U 25U
.OP
.PRINT DC ID(M3)
.PROBE
.END
Page V.3-14
Current Sink/Source
Simple
Cascode
High-Swing Cascode
Regulated Cascode
rOUT
Minimum Voltage
rd s
VON
gm2 rds2rds1
gm2 rds2rds1
VT + 2 VON
gm 2rds3
VT + 2 VON
2 V ON
Page V.4-1
R in
CURRENT
iI
iO
MIRROR/
+
vI
Ideally,
iO = A I iI
Rin 0
+
vO
AMPLIFIER
Rout
Graphical Characterization
iI
iO
slope = 1/Rin
slope = 1/Rout
II
IO
vI
vMIN
INPUT
vO
vMIN
OUTPUT
iO
AI
1
iI
TRANSFER
Page V.4-2
iI
iO
MIRROR/
AMPLIFIER
+
vDS1 M1
-
In general,
iO
W2L1 v GS - V T 2 2
iI = W1L2v GS - V T 1
iO
1+vDS2 o2Cox2
1+vDS1 o1Cox1
iI
W1L2 1+vDS1
If vDS1 = vDS2,
W 2L 1
iO
iI = W1L2
Therefore the sources of error are:
1). v DS1 vDS2
2). M1 and M2 not matched ( and VT)
+
vGS
-
M2
vDS2
-
Page V.4-3
DS1
M2
+
vGS
-
+
v DS2
-
( 1 + v
M1
v SS
Ratio Error
vDS1
-
10
= 0.02
8
1 + v DS2
iO
iI
+
- 1)x100%
Circuit -
= 0.015
6
4
= 0.01
2
0
0V
1V
2V
3V
VDS1-VDS2
4V
iI
1+ v D S 1 S2
If S 1 = S 2, v DS2 = 10V, vDS1 = 1V, and i O/iI = 1.501, then
iO
1+10
=
1.501
=
iI
1+
0.5
---> = 8.5 = 0.059
5V
Page V.4-4
iD2
+
M1
Define:
vGS1
vGS2
M2
(vDS2 > vGS2 - VT1)
= 2 - 1
iO = iD2 = 2(vGS2-VT2)2
iI iD1 1(vGS1-VT1)2
and
VT = V T2 - V T1 and
1 + 2
2
VT1+VT2
VT =
2
=
VT
+
,
V
=
V
2
T1
T
2
2
2
VT
and V T2 = V T + 2
1 = -
Thus,
V T2
+ v GS - vT
iO
2
2
V T 2
iI =
- v GS - v T +
2
T
1-2(vV-V
GS T)
VT
1 1+
2 2(vGS-VT)
1 +
2
VT
VT 2
iO
iI 1+ 2 1+ 2 1-2(vGS-VT)1-2(vGS-VT)
2VT
iO
iI 1 + - (v GS - V T ) ,
VT
5% , (v
= 10%
GS - V T )
iO
Page V.4-5
RATIO ERROR (
iO - 1)100%
iI
Illustration
7
6
II = 1uA
5
4
3
II = 5uA
II = 10uA
1
II = 50uA
1
VT(mV)
10
Page V.4-6
iO
iI
M1
iO
M2
M2
V SS
VSS
Layou
iO
iI
M1
M2
a
M2
b
M2
c
M2
d
M2
e
M1
iO
M2
a
M2
b
VSS
VSS
M2
c
M2
d
M2
e
Page V.4-7
60uA
iI = 50uA
iI = 40uA
40uA
iI = 30uA
iOUT
iI = 20uA
20uA
iI = 10uA
0
0
vOUT
iI
iO
3u
3u
3u
3u
M1
M2
vO
-
Page V.4-8
SPICE
iOUT
iI
M3
60uA
M4
40uA
iOUT
iI = 60uA
iI = 50uA
iI = 40uA
iI = 30uA
iI = 20uA
20uA
M1
M2
iI = 10uA
VSS
vOUT
+
rds3
gm3 v3
v4
-
+
rds4
v1 =v3 =0
+
v1
-
1).
2).
3).
+
rds1
gm1 v1
v2
-
rds2
gm2 v1
gmbs v2
vo
Page V.4-9
iI
M3
70uA
65.5uA
iO
60uA
50uA
45.0uA
M1
M2
VSS
40uA
iO
30uA
22.5uA
20uA
10uA
0
0
Wilson Current Source
M1 1 2 0 0 MNMOS W=15U L=3U
M2 2 2 0 0 MNMOS W=15U L=3U
M3 3 1 2 0 MNMOS W=15U L=3U
R 1 0 100MEG
.MODEL MNMOS NMOS VTO=0.75, KP=25U,
+LAMBDA=0.01, GAMMA=0.8 PHI=0.6
IIN 0 1
VOUT 3 0
.DC VOUT 0 5 0.1 IIN 10U 80U 10U
.PRINT DC V(2) V(1) ID(M3)
.PROBE
.END
vOUT
Principle of Operation:
Series negative feedback increase output resistance
1. Assume input current is constant and that there is high resistance to
ground from the gate of M3 or drain of M1.
2. A positive increase in output current causes an increase in vGS2 .
3. The increase in vGS2 causes an increase in vGS1 .
4. The increase in vGS1 causes an increase in iD1.
5. If the input current is constant, then the current through the resistance to
ground from the gate of M3 or the drain of M1 decreases resulting in a decrease
in vGS3.
6. A decrease in v GS3 causes a decrease in the output current opposing the
assumed increase in step 2.
Page V.4-10
iin=0
v3
+
rds3
gm3(v1-v2)
gm1v2
rds1
+
v1
-
rds2
gm2v2
+
v2
-
gmbs3v2
vout
-
v2 = iout 1 + g m2 r d s 2
1+gm2rds2
Page V.4-11
Iout
Iin
M1
M4
M3
Additional diode-connected
transistor equalizes the
drain-source voltage drops
of transistors M2 and M3
M2
SPICE simulation
77.5uA
45.0uA
Iout
Iin = 80uA
70uA
60uA
50uA
40uA
30uA
20uA
22.5uA
10uA
0
Vout
Page V.4-12
iOUT
IB
M4
IIN
M3
vOUT
+
vGS4
-
M1
M2
-
VSS
gm4vgs4
v4
+
g m3 v3
rds3
rds2
vout
v3
-
2IB
K'(W/L)4 +
2Iout
K'(W/L)3 + VT4
Page V.4-13
Accuracy
Output
Resistance
Minimum
Voltage
Simple
Poor (Lambda)
r ds
VON
Cascode
Excellent
g m rds2
VT + 2V ON
Wilson
Excellent
g m rds2
2VON
Good
gm 2rds3
VT + 2VON
Current Mirror
Regulated
Cascode
Page V.5-1
Current Reference
Vref
Page V.5-2
Concept of Sensitivity
Definition
Sensitivity is a measure of dependence of Vref (Iref) upon a parameter or
variable x which influences Vref (Iref).
Vref
S
x
Vref
Vref
x Vref
=
=
x
Vref x
x
where
x = VDD or temperature
Application of Sensitivity
V
Vref ref x
Vref =
x
x
For example, if the sensitivity is 1, then a 10% change in x will cause a 10%
change in V ref.
Vref
Ideally,
S
x
Vref
S
V DD
Vref
Vref
VD D
VDD
Page V.5-3
Page V.5-4
Passive Divider
Accuracy is approximately equivalent to 6 bits (1/64).
VDD
RA
V1
I
RB
V2
RC
VSS
Active Dividers
I
V3
M3
VDD
VDD
V2
M2
V1
M1
M2
M2
+
M1 Vref
-
+
M1 Vref
-
Page V.5-5
V CC - V B E VCC
R
If I =
R
VREF
VCC
V REF V t ln
RI
Sensitivity:
VREF
V CC
1
VCC
ln RI
s
VREF
= 0.0362.
V CC
VCC
R
IR1
R1
I
+
VREF
R2
VBE
replacing IR1by
R1 gives,
R 1 +R 2
VREF
V BE
R1
or
R1+R2
VCC
V REF
Vt ln
R1
RIs
Page V.5-6
2(VDD-V REF)
R
VREF = VGS = VT +
I
1
V REF = VT
R
2(VDD-VT)
1
+ 2 2
R
R
VREF
Sensitivity:
V REF
S
VDD
VDD
1
= V
1 + R(V
REF
REF - V T )
If V DD = 10V, W/L = 10, R = 100k and using the results of Table 3.1-2 gives
VREF
VREF = 1.97V.and
= 0.29.
VDD
R
IR1
R1
R 1 +R 2
V GS
R2
VREF
I
+
V REF
R2
-
Page V.5-7
M4
M5
M3
RB
ID1 = I1
iOUT
ID2 = I2
M6
M2
M8
M1
R
I2
Principle:
If M3 = M4, then
I 1 = I2
(1)
also,
VGS1 = VT1 +
2I1
KNS1 = I2R
therefore,
VT1 1
I2 =
R + R
2I1
KNS1
Desired
operating
point
Eq. (2)
Eq. (1)
(2)
Undesired operating point
Page V.5-8
2I1
1
I 2 = I1
1 + P (V D D - V DS1 )
Solving for I1 from the above two expressions gives
I1R(1 + PVGS4) = [1 + P(V DD-V DS1)]
2I1
1
Differentiating with respect to VDD and assuming the VDS1 and VGS4 are
constant gives (IOUT = I1),
20VDD PV T1 +
IOUT
S
VDD
IOUTR(1 + P V GS4 )
2I1
1
1 + P (V D D - V DS1 )
21I1
Page V.5-9
S
VDD
IOUT/IOUT
= 0.08 = V /V
DD DD
V DD
= 3.2A
If VDD = 6V - 4V = 2V, then IOUT = 0.08 I OUT V
DD
SPICE Results:
120A
100A
80A
IOUT
60A
40A
20A
0A
0V
2V
4V
VDD
6V
8V
10V
Page V.5-10
M4
M5
M3
RB
ID1 = I1
ID2 = I2
M6
M1
M8
I2
VBE1
R = I5
V = I2R V BE1
Q1
M2
iOUT
Page V.5-11
I
I1s Ts
(ln I s )
3 V GO V GO
= T + TV TV
T
t
t
dvBE V BE - V G O
= -2mV/C at room temperature
dT
T
(VGO = 1.205 V and is called the bandgap voltage)
2L d
WCox dT
ID
o
+
dT
4
V GS - V T
Page V.5-12
+
VREF = VBE = kT ln I = Vt ln I
q
Is
Is
-
V DD - v B E V DD
I=
R
R
TCF =
------->
VDD
V REF = V t ln RI
s
dV REF V REF - V G O
VREF dT =
TVREF
Vt dR
- V
REF RdT
0.6 - 1.205
0.026
TC F = (300K)(0.6) - 0.6 (0.0015)
= -0.003361 - 0.000065 = -3426 ppm/C
Page V.5-13
I
+
VREF
-
1
V R E F = V T R +
1 dV REF
=
TCF = V
REF dT
2(VDDVT)
1
+ 2 2
R
R
1
VREF
V DD V REF 1.5
1 d R
2R
R dT
T
1
1 +
2R (V DD V REF )
Page V.5-14
Example
W = 2L, VDD = 5V, R = 100 K , K=110 , VT = 0.7, T = 300 K, = 2.3
mV/C
Solving for VREF gives
VREF = 1.281 V
dR
= +1500 ppm/C
RdT
2.3 10-3 +
1 dV REF
1
TCF = 1.281 dT = 1.281
1+
5 1.281
1.5 1500 10-6
300
2 211010-6 100K
1
2 211010-6 100K (5 - 1.281)
Page V.5-15
M4
M5
M3
RB
I D1 = I1
I D2 = I2
iOUT
M6
M2
M8
M1
R
2ID1 L
+ VT
VGS1
V ON + V T
K'W
ID2 = R =
=
= ID1 = IOUT
R
R
Assuming that VON is constant as a function of temperature because of the
bootstrapped current reference, then
TCF =
1 dVT
1 dR
- 1 dR
=
VT dT
R dT VT - R dT
TC F =
-2.3 x 10 -3
- 0.4x10-3 = -2700 ppm/C
1
Page V.5-16
M4
M5
M3
RB
ID1 = I1
ID2 = I2
iOUT
M6
M1
M8
Q1
vBE1
I2 R
M2
1 dv BE 1 dR
-----> TCF = v
- R dT
BE dT
Page V.6-1
V.6 - SUMMARY
The circuits in this chapter represent the first level of building blocks in
analog circuit design.
The MOS transistor makes a good switch and a variable resistor with
reasonable ranges of linearity in certain applications.
Primary switch imperfection is clock feedthrough. In order for switches to
be used with lower power supplies, VT must be decreased.
The primary characteristics defining a current sink or source are VMIN and
Rout. V MIN 0 and Rout . Typically the product of VMIN times Rout
is a constant in most designs.
Current mirrors are characterized by:
Gain accuracy
Gain linearity
VMIN on output
Rout
Rin
Reasonably good power supply independent and temperature independent
voltage and current references are possible. These references do not satisfy
very stable reference requirements.
Page VI.0-1
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
OTA's
Chapter 9
High Performance
OTA's
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS
Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4 Device
Characterization
Page VI.1-1
Page VI.1-2
VDD
VGG2
M2
M2
+
M1
+
vIN
-
M2
+
M1
vOUT +
vIN
Active
Current
Load
Source
Inverter
Inverter
vOUT
vIN
+
M1
vOUT
Push-pull
inverter
Page VI.1-3
5V
1.2
v IN=5V
M2
iD (mA)
0.8
vIN =4V
0.6
vIN =3.5V
0.4
vIN=3V
W1 15m
=
L1
3m
M1
v IN
-
vIN=1V v IN=2V
vIN =1.5V
v OUT
+
vOUT
vIN=2.5V
0.2
0
W2 15m
=
L2
3m
vIN=4.5V
1.0
5
5
4
3
vOUT
2
1
0
0
v IN
Page VI.1-4
VDD
M2
iD
v OUT (max) V DD |V TP |
Minimum:
Assume v IN = VDD, M1 active,
M2 saturated, and VT1 = VT2 = VT.
vDS1 2
vOUT
vIN
M1
VSS
(v OUTVSS)2
= 1 (VDDVSSVT)(vOUTVSS)
2
2
2
2
2
M2: iD = 2 (vGS VT) = 2 (VDDvOUTVT) = 2 (vOUT+VTVDD)2
2
iD = 2 (vOUT VSS+VSS+VTVDD)2
2
= 2 (vOUTVSS)(VDD VSSVT)2
Define vOUT' = vOUT V SS and VX = VDD V SS V T
(vOUT')2
iD = 1V X vOUT '
(M1)
2
2
iD = 2 v OUT ' V X 2
(M2)
Equate currents v OUT '2
2
2
2
or
1v OUT ' 2V X v OUT ' + V X = 2VX vOUT' v OUT '
2
2
2
1 +
vOUT '2 2VX 1 +
V X2 = 0
vOUT ' +
1
1
1
2/1
2
vOUT' 2VX vOUT' + 1+ / VX2 = 0
2 1
2/1
1 1+2/1 = VX 1
V D D V SS V T
v O U T (min.) = V D D V T
1 + 2 / 1
vOUT' = VX1
Page VI.1-5
1 + 2 / 1
Page VI.1-6
Interpretation of vOUT(min.)
vOUT(min.) = (VDD V SS V T)1
2
1 +
1
+ VSS
VDD = VSS = 5V
VT = 1V
vOUT
5
v MAX
1
0
0.1
10
-1
v MIN
-3
-5
Gain ~
1
2
1
2
Page VI.1-7
M2
M1
v OUT
+
vIN
-
rds2
D1=D2=G2
G1
+
v in gm1 vin
r ds1
v out
v in g m1 v in
r ds1
g m2 v out
rds2
v out
-
S1=B1
vin
g ds1 + g ds2 + g m 2
gm2 =
W1
2KN L I1
1
W2
2KP L I2
vout
vin =
If
K N ' W1L2
=
K P ' W2L1
NO W1L2
PO W2L1
vout
W 1/L1
=
20,
then
W2/L2
vin = 6.67 using the parameters of Table 3.1-2
gm2
ds1 + g ds2 + g m 2
1
2
Page VI.1-8
VGG
VDD
M2
M2
vIN
vOUT
vIN
vOUT
M1
M1
V SS
V SS
Push-pull, inverter
I
M2
vIN = V SS
M1
vIN = VDD
.8V SS
.8V DD
.6V SS
.6V DD
.4VSS
.2VSS
0
.2VDD
.4VDD
VSS
.4V DD
I
J
K
.2VDD
H
F=F'
0
D'
E'
E
D
G'
K' J' I' H'
.5VSS
.5VDD
C=C' .2V SS
B=B'.4V SS
.6V SS
A=A'
V DD
vOUT
Page VI.1-9
B B'
M1 sat.
M2 non-sat.
C
E'
D
VSD2 > VSG2 -VT2
VDD - v OUT > VDD - VGG - VT2
v OUT < VGG + VT2
.8VDD
M1 & M2
saturated
.6VDD
M1 non-sat.
M2 sat.
.4VDD
M2 non-sat.
.2V DD
M2 sat.
VSS
VDD
D'
VGG = 0
F=F'
.8VSS .6VSS
.4VSS
.2VSS
.2VDD
v IN
.2VSS
.4VSS
G
H
.6VSS
.8VSS
VDS1 > VGS1 - VT1
v OUT - VSS > v IN - VSS - VT1
v OUT > v IN - VT1
VSS
G'
H'
I'
J'
K'
Advantages:
1. High gain.
2. Large output signal swing.
3. Large current sink and source capability in push pull inverter.
Page VI.1-10
M2
I
vIN
vOUT
M1
VSS
PSPICE Characteristics:
6
M2 linear
v OUT
M2 saturated
Current in
M1 or M2
100 A
M1 linear
voltage
transfer
curve
-2
vIN + VT2
M1
off
M2 linear
M1 saturated
M1 linear
vIN - VT2
-4
0 A
M2
off
-6
-5
-3
-1
vIN
Page VI.1-11
VGG
M2
I
vOUT
vIN
M1
VSS
v OUT(max.) V D D
2 VDDVGGVT2
1 V V V
SS
T1
1 DD
M2
I
vIN
vOUT
M1
v OUT(max.) V D D
v OUT(min.) V SS
VSS
Page VI.1-12
+
gm1vin
vin
r ds1
gm2vin
r ds2
vout
2
I
D
W1
KN' L +
1
1 + 2
W2
KP' L
2
K
!!!
ID
1
g ds1 + g ds2
Page VI.1-13
1000
100
weak
inversion
strong
inversion
10
0.1A
1A
10A
100A
1000A
ID
L = 1, L=10 m
Page VI.1-14
C GS2
C GD1
X
C GD2
M2 C BD2
vin
CGD1
v in
C BD1
CL
+
g m vin
CT
v out
M1
VSS
(b)
(a)
1
1 = RC
gm
and z = C
GD1
1
(gm2 = 0 for push pull and current source inverters)
R = g +g +g
ds1 ds2 m2
C CGD1+CGS2+CBD1+CBD2+CL (Active load inverter)
C CGD1+CGD2+CBD1+CBD2+CL (Current source & push-pull inverter)
if g mR >> 1
Page VI.1-15
W
2K'
1
L ID
Rg
or -3dB =
~ ID
C
m2
When gm2 = 0
(push pull and current source inverter):
( 1 + 2 ) I D
1
R = (
or
=
~ ID
-3dB
C
1 + 2 ) ID
Example:
Find the 3dB frequency for the CMOS inverter using a current
source load and the CMOS push pull inverter assuming that iD = 1A,
CGD1=CGD2=0.2pF and CBD1=CBD2=0.5pF
W1 W2
Using the parameters of Table 3.1-2 and assuming that
L1 = L2 =1
Gives,
For the active load CMOS inverter,
gm2
-3dB = C = 3.124x10 -6 rads/sec or 512KHz
For the push pull or current source CMOS inverter,
g gd1 + g ds2
-3dB =
= 14.3x10 3 rads/sec or 2.27 KHz
C
gm1
z=C
= 29.155 Mrads/sec or 4.64 MHz
GD1
The reason for the difference is the higher output resistance of the
push pull or current source CMOS inverters
Page VI.1-16
RL
RS
i 2d
v IN +
RL
i 2L
RS
RL
v2n
RS
8
2
id = KTg m (A2/Hz)
3
4KT
2
2
iL =
RL (A /Hz)
Comments:
1.) 1/f noise has been ignored.
2.) Resistors are noise-free, they are used to show topological aspects.
Can repeat the noise analysis for the resistors if desired.
Page VI.1-17
VDD
e2n2
M2
eout
vOUT
vIN
eout
e2n1
2
eeq =
vIN=0
2 gm1 2
2
+ en2
gm2
= en1
M1
gm2 2
2
2
2
eeq = g
= en1 +g
en2
m1 2
m1
VSS
2
en1 1
gm2
2
gm2 2 en2
+ g
m1 e2
n1
1/f noise:
So
eeq =
2
en1 1
' W2
2KP
ID
L2 BP fW1L1
+
fW
L
B
W
2
2
N
1
'
2KN
I
L1
2
2
eeq = en1 1 +
KP' BP L12
K ' BNL2
N
2). en1
small
----->
Gain =
'
KNW1
'
K PW2
L2
L1
8kT(1+)
3gm
8kT(1+1)
2
eeq =
1 +
3gm1
=
gm2 2 (1+2)gm1
2
gm1 (1+1)gm2
W 2 1/2
K
'
P L
8kT(1+
(1+
)
)
2
1
2
2
eeq =
1+
3gm1
(1+1)KN'W1
L1
or
2
eeq =
8kT(1+ 1)
1+2 gm2
1 +
3gm1
1+1 gm1
gm2
2. Increase gm1 =
2KNW1
L1 ID
Page VI.1-18
Page VI.1-19
vOUT
vIN
M1
e2n1
VSS
1
rout = g
ds1 + g ds2
2
2
2
eout = (gm1rout)2 en1 + (gm2rout)2 en2
vout = (gm1 + gm2 )rout vin
gm1
gm2 2 2
2 2
2
eeq = g
e
+
en2
n1
m1 + g m 2
g m1 + g m 2
2
eeq =
2
gm2 2 en2
1 +
g
2
m1 en1
2
en1
2
g
1 + m 2
gm1
KP' BP L1 2
1 + ' L2
K NBN
2
en1
KP' W 2L 1 2
1 + K ' W L
N 1 2
Page VI.1-20
AC Output
Resistance
Bandwidth (CGB=0)
gm2
p-channel
active load
sinking
inverter
-gm1
gm2
1
gm2
n-channel
active load
sinking
inverter
-gm1
gm2+gmb2
1
gm2 +g mb2
Current
source load
sinking
inverter
-gm1
gds1+gds2
1
gds1+gds2
-(gm1 +gm2 )
gds1+gds2
1
gds1+gds2
Push-Pull
inverter
gm2+gmb2
CBD1 +CGD1 +CGS2 +CBD2
gds1+gds2
CBD1 +CGD1 +CGS2 +CBD2
gds1+gds2
Equivalent,
input-referred,meansquare noise voltage
g
v2n1 gm1
+v2n2
g
v2n1 gm1
+v2n2
g
v2n1 gm1
+v2n2
m2
m2
v2n1gm1
CBD1 +CGD1 +CGS2 +CBD2 g +g
m1 m2
m2
v2 g
+ g n2+gm2
m1 m2
Page VI.1-21
1.)
KW
iD = 2L (vGS VT ) 2
2.)
vDS (sat) =
3.)
gm =
2iD
KW/L
2IDKW
L
or
vGS =
2iD
KW/L VT
or
KW
iD(sat) = 2L vDS (sat)2
or
KW
gm = L (VGS V T)
Page VI.2-1
v1
+
Differential
Amplifier
v2
vOUT
v 1 + v 2
(100)
Differential voltage gain = AVD
Common mode voltage gain = AVC
(1)
AVD
Common mode rejection ratio =
(1000)
AVC
VOS(out)
Input offset voltage = VOS(in) =
(2-10mV)
AVD
Common mode input range = VICMR
(VSS+2V<VICMR <VDD2V)
Power supply rejection ratio
Noise
(PSRR)
Page VI.2-2
vG1
M4
iD3
iD4
iD1
iD2
M1
+
vGS1
-
iOUT
vOUT
M2
+
-
vGS2
VSS
vG2
Page VI.2-3
VDD
IDD
vGS1
vG1
vGS2
-
M1
iD1=iD3
M2
iD2
iOUT
vOUT
iD4
M3
vG2
M4
VSS
Page VI.2-4
iD1
iD2
M1
M2
vGS1
vGS2
-
ISS
2iD1
2iD2
2 v ID
ISS
4ISS 2
And
2 v ID
ISS
4ISS 2
iD1
ISS
gm = v =
4
ID
ISS ISS
(4). iD2 = vID
2 2
IS S
I
ISS
1
.8
iD2
.6
.4
iD1 .2
-2
- 2
vID
ISS
Page VI.2-5
9u/3u
vOUT
iD1
iD2
3u/3u
50K
v-
3u/3u
v+
3u/3u
3u/3u
VSS = -5V
Simulation Results
140uA
120uA
100uA
iD1
80uA
60uA
40uA
i D2
20uA
0uA
-5V
-3V
-1V
v+
1V
3V
5V
Page VI.2-6
9u/3u
9u/3u
50k
vOUT
v+
3u/3u
3u/3u
v-
3u/3u
3u/3u
VSS
5
v- = 0V v- = -1V
v- = 1V
Output Voltage
-1
v- = -1V
v- = 1V
-3
v- = 0V
-5
-5
-3
-1
Page VI.2-7
v+
9u/3u
v-
9u/3u
9u/3u
vOUT
3u/3u
3u/3u
50k
VSS
5
v- = 1V
Output Voltage
v- = 0V
v- = -1V
1
-1
v- = 1V
-3
v- = 0V
v- = -1V
-5
-5
-3
-1
Page VI.2-8
vSG1
vG1
vSG2
-
v
M1 SD1
vG2
M2
vOUT
M3
M4
vGS3
-
VSS
ISS
+ VTO3 |VT1|
2ID1
1 |V T1|
Page VI.2-9
= VDD v SD5
= 8 0.2
vG1(min)
= VSS +
=0+
ISS
1 |V T1|
100
1.2 = 6.6 1.67 = 4.99V
5x7.2
ISS
3 + VTO3 |V T1|
100
+ 1.2 0.8 = 0.4 + 2.31 = 2.71V
1x18.7
4.99V
Input Common Mode Range 2.22V
2.71V
0V
Page VI.2-10
Page VI.2-11
M4
vOUT
M1
vG1
M2
VGG
vG2
M5
VSS
Exact small signal model rds1
D1=G3=D3=G4
G1
G2
+v id +
+
vg1
_
1
v g2 g
m3
_
rds2
g m1 v gs1
D2=D4
gm2 v gs2
v gs4
rds3
S1=S2
v gs1 = -v gs2
rds4
g m4 vgs4
S3
vout
vs1 =vs2 0
rds5
s1
vs2 0
S4
D1=G3=D3=G4
D2=D4
G1
G2
+v id +
+
vg1
_
1
v g2 g m3
_
gm1 v gs1
g m2 vgs2
gm4 v gs4
vout
v gs4
rds3
rds2
i'out
rds1
S1=S2=S3=S4
rds4
-
Page VI.2-12
K N'WISS
vi d
L
K N'W
v
ISSL i d
Example
If all W/L ratios are 3m/3m and ISS = 10A, then
gmd(N-channel) = (17x10-6)(10x10-6) = 13 A/V
gmd (P-channel) = (8x10-6)(10x10-6) = 8.9 A/V
and
vout
2(13x10-6)
(N-channel)
=
= 86.67
vid
(0.01+0.02)10x10-6
vout
2(8.9x10-6)
(P-channel)
=
= 59.33
vid
(0.01+0.02)10x10-6
Page VI.2-13
gm1vin
2
M4
Rout
gm1vin
2
gm2vin
2
M1
M2
vin
2 -
VGG
v
+ in -
vOUT
v
+ 2in
M5
VSS
Current flowing into the output node (drains of M2 and M4) is
gm1vin gm2vin
iout = 2
+
2
Output resistance, R out, seen at this node is
1
R out = rds2||rds4 = g +g
ds2 ds4
Therefore, the open circuit voltage gain is
v out
gm1+gm2
gm1
gm2
vin = 2(gds2+gds4) = gds2+gds4 = gds2+gds4
Page VI.2-14
M3
M4
vOUT
vG1
M1
vG2
M2
M1-M2
VSS
Total Common
mode output
due to v I C
Common mode
= output due to
M1-M3-M4 path
Common mode
output due to
M1M2 path
Page VI.2-15
M4
vO1
vO2
vIC
M1
VGG5
vIC
M2
M5
VSS
Use of symmetry to simplify gain calculations VDD
M3
M4
vO1
vO2
vIC
M1
VGG
1 xM5
2
M2
1 xM5
2
VSS
vIC
VGG
Page VI.2-16
rds1
+
vIC=vg1
-
vs1
-
2rds5
gm1 vgs1
vo1
rds3
gm3 vo1
gm1 vg1
rds1
r ds1
+
vIC=vg1 2rds5
-
+
vs1
-
1
gm1 +gmbs1
1
gm3
gm1 vg1
vo1
-
Writing nodal equations 0.5g ds + g ds1 + g mbs1 vs1 gds1 vo1 = gm1 vIC
g ds1 + g m1 + g m b s 1 v o1 + g ds1 + g ds3 + g m 3 vo1 = gm1 vIC
vo1
Solving for v
gives,
IC
0.5gm1gds5
vo1
=
vIC gds3+gm30.5g ds + g m1 + g mbs1 + g ds1 + 0.5g ds1 g ds5
or
0.5gm1gds5
gds5
vo1
vIC gm3g m1 + g mbs1 2gm3
Page VI.2-17
|CMRR| =
gm1
gm3
ds5
gm1gds5
2g m3 g m1 + g mbs1
Page VI.2-18
M4
Cgd4
Cout
vOUT
CM
vG1
M1
vG2
M2
CT
ISS
VSS
CT = tail capacitor (common mode only)
CM = mirror capacitor = Cdg1 + Cdb1 + Cgs3 + Cgs4 + Cdb3
COUT = output capacitor Cbd4 + Cbd2 + Cgd2 + CL
Small Signal Model
+
g m1vgs1
v gs1 = vgs2 =
vid /2 -v id /2
-
+
v gs3
rds3
C gd4
rds2
rds1
g m3 -
CM
rds4
C OUT
v out
-
Page VI.2-19
SLEW RATE
Slew rate is defined as an output voltage rate limit usually caused by
the current necessary to charge a capacitance.
dV
dT
i.e. i = C
M4
CL
M1
+
v
- O
M2
vIN
ISS
VSS
ISS
Slew rate = C
L
where CL is the total capacitance seen from the output node to ground.
If C L = 5pF and ISS = 10A, then the SR = 2V/S
Page VI.2-20
or
2
vnd =
ind
KF
i D(AF-1)
2
2
gm
2foCox WL
Page VI.2-21
VDD
IDD
v2eq1
v2eq2
M1
M2
i2o
+
M3
M4
v2eq3
v2eq4
vOUT
VSS
Page VI.2-22
iod
= gm1 2 v1 + g m2 2 v2 + gm32 v3 + g m4 2 v4
2
2
2
vneq = veq1 + veq2 +
veq3 + veq4
gm1
Where gm1 = gm2 and gm3 = gm4
VDD
I DD
v2neq
M1
M2
i2o
M3
+
M4
-
vOUT
VSS
It is desirable to
increase the
transconductance
of M1 and M2 and
decrease the
transconductance
of M3 and M4.
(Empirical studies
suggest p-channel
devices have less
noise)
Page VI.2-23
m1
m1
1/f noise
Let
KF
B
2
en =
=
2fCoxWLK' fWL
2
and
en3 = en4
K N 'B N L12
2BP
2
eeq (1/f) = fW L 1 + K 'B L
1 1
P P 3
Thermal Noise
16KT(1+1)
eeq (th) =
3
W1
2K P'I 1 L
1
K N ' WL 3
1 + 3
K P'W1
L1
2BP
fW1L1
Page VI.3-1
VDD
VGG2
Miller effect:
M3
vout
VGG1
M2
Cgd1
+
vin
M1 v 1
VSS
Inverter
Cin Gain x Cgd1
Cascode
Cin 3Cgd1
v1
vin
Page VI.3-2
CASCODE AMPLIFIER-CONTINUED
Small Signal Model
+
rds2
gm2 v1
gmbs2 v1
+
vin
rds1
v1
gm1 vin
vout
rds3
C1
rds2
+
C2
vin
gm1vin
rds1
v1
1
gm2 (1+2 )
+
C3
rds3
vout
Nodal Equations:
(gm1 sC1)vin + (g m2 + g mbs2 + g ds1 + g ds2 + sC1 + sC2)v1 (gds2)vout = 0
(gds2 + gm2 + gmbs2)v1 + (gds2 + gds3 + sC3)vout = 0
Solving for v out/vin gives
(sC1-gm1)gm2(1+)
2
s (C3C1+C3C2)+s(C 1+C2)(g ds2+g ds3) +C3gm2 (1+)+gds3gm2(1+)
Page VI.3-3
g m 1
gds3 =
2K'(W1/L 1)ID1
3ID3
M4
M3
vout
VGG1
M2
I4
I2
I1
v in
M1
vout gm1
vin gds3
2K'W1
I1
vout
L1
vin
I2
But I1 = I2 + I4
VSS
Page VI.3-4
gm2 vgs2
r ds2
r ds3
Page VI.3-5
CASCODE AMPLIFIER-CONTINUED
High Resistance Driver for the Inverter M1-M2
VDD
M2
M4
VGG2
Cgd1
ro = g
ds3 +gds4
vout
iin
+
M1
v1
M3
VSS
C2
iin
R1
C1
+
v1
-
+
gmv1
C3
R3
vout
-
gm1
gm1
1s
G1G3
C2
1+R (C +C )+R (C +C )+g R R C s+(C C +C C +C C )R R s2
1 2 1 3 2 3 1 3
1 1 3 3 2 3 m1 1 3 2
Page VI.3-6
Note:
s
s
1
s2
1
d(s) = 1 + as + bs2 = 1 1 = 1 s + +
p 1
p2
p2 p1p2
p1
If |p2| >> |p 1| , then
s
s2
d(s) 1 p + p p
1
1 2
or
1
p1 = a
and
a
p2 = b
1
1
R1(C1+C3)+R3(C2+C3)+gm1R1R3C2
gm1R1R3C2
Page VI.3-7
vout
VGG2
M4
1
ro =g +g
ds3 ds4
Cgd1
iin
M1
M3
VSS
Cgd1
iin
r1
+
v1
-
rds2
C2
gmv1
+
v2 r2
- gm2(1+)v2
+
C3
r3
r1 = ro = (gds3 + gds4)-1
C2 = Cgs2 + Csb2 + Cdb1 + Cgd1
r 2 = g ds1 + g m 2 (1 + )
-1
1
g
m2
-1
1
r3 g
+
g
d
s
5
gds5
ds1 g ds2
vout
-
Page VI.3-8
VDD
io
VGG4
M4
VGG3
M3
VGG2
gm2 v1
Vout
r ds2
gmbs2 v1
G1
M2
Vin
g m3 v4
gmbs3 v4
r ds3
vout
D1=S2
+
vin
M1
VSS
D2
gm1 v in
v1
r ds1
r ds4
+
v4
-
'
=rds3
Page VI.4-1
Page VI.4-2
CLASS A AMPLIFIER
VDD
VGG2
M2
IQ
Vin
Iout
M1
Vout
CL
RL
VSS
KnW1
2
Iout
2L1 (VDD VSS VT1) IQ
KpW2
Iout = 2L (VDD V GG2 |VT2|) 2 < Iout+
2
+=
1. |Iout| = C L
Vout(peak) 2
Efficiency =
Psupply = (V DD + V SS )
PRL
1
1
=
rout = g
2ID
ds1 + g ds2
25%
(typically large)
Page VI.4-3
SOURCE FOLLOWER
N-Channel
Push Pull
VDD
vIN
VDD
M1
M1
vOUT
VGG
vIN
M2
VSS
vOUT
M2
VSS
Page VI.4-4
SOURCE FOLLOWERS
Small Signal Characteristics
Single Channel Follower (Current source and active load):
C1
gm1 vin
vin
gm1 vout
rds1
gmbs1 vout
rds2
C2
gm2 vgs2
vout
W 10 m
If VDD= VSS =5V, vOUT = 0V, iD = 100A, and L =10 m ,
then;
vout
41.23
=
vin
1+1+41.23(1+0.2723)+41.23 = 0.4309 when vGS2 = vOUT
vout
41.23
=
vin
1+1+41.23(1+0.2723) = 0.751 when vGS2 = VGG
vout
0.786 (gds1= gds2 0)
Approximation gives v
in
Output Resistance:
1
r out =
gds1+gds2+gm1+gmbs1+gm2 where g m2 = 0 if v GS2 = V G G
rout = 10.5 K (vGS2 = vOUT) and rout = 18.4 K (vGS2 = VGG)
Page VI.4-5
SOURCE FOLLOWERS
Push Pull Source Follower
Model:
C1
M1
gm1vin
vin
gm1vout
M2
gm2 vin
gm2vout
rds1
gmbs1
rds2
1
gmbs2
C2 v
out
Page VI.4-6
VTR2
vIN
VTR1
M2
Iout
+
-
Vout
M1
CL
RL
VSS
ImplementationVDD
M5
M6
M1
M3
VGG3
M2
M4
VGG4
Iout
Vout
vIN
M7
VSS
CL
M8
RL
Page VI.4-7
M2
Iout
VTR
Vout
vIN
CL
M1
RL
VSS
VDD
VGG6
M6
M2
M5
Iout
Vout
M4
M1
vIN
M3
VSS
CL
RL
Page VI.4-8
VDD
error
amplifier
M2
Iout
Vout
vIN
-
+
CL
M1
RL
VSS
M2
R1
vIN
R2
Iout
M1
Vout
CL
RL
VSS
VI.5 - SUMMARY
Analog Amplifier Building Blocks
Inverters - Class A
Push-Pull - Class AB or B
Cascode - Increased bandwidth
Differential - Common mode rejection, good input stage
Output - Low output resistance with minimum distortion
Page VI.5-1
SECTION 7 - COMPARATORS
Page VII.0-1
Page VII.0-1
VII. COMPARATORS
Contents
VI.1
VI.2
VI.3
VI.4
VI.5
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
OTA's
Chapter 9
High Performance
OTA's
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4 Device
Characterization
Page VII.1-1
VII.1 - CHARACTERIZATION OF
COMPARATORS
What is a Comparator?
A comparator is a circuit which compares two analog signals and
outputs a binary signal based on the comparsion. (It can be an op amp
without frequency compensation.)
Characterization of Comparators
We shall characterize the comparator by the following aspects:
Resolving capability
Speed or propagation time delay
Maximum signal swing limits
Input offset voltage
Other Considerations
Noise
Power
Etc.
Page VII.1-2
VOLTAGE COMPARATORS
Definition of a Comparator
VA
VB
VOUT
-
Noninverting
VOUT
VOH
VOUT =
V O H
V OL
when VA VB
VA - VB
when V A < V B
VOL
Inverting
VOUT
VOUT =
V O L
V OH
when VA VB
VOH
when V A V B
VA - VB
VOL
Page VII.1-3
COMPARATOR PERFORMANCE
Page VII.1-4
Type
Offset Voltage
(Power supply)
Resolution
Speed (8 bit)
Open-loop
1-10 mV
300V (5V)
10 MHz
Regenerative
Charge
Balancing
0.1 mV
50V (5V)
50 MHz
0.1 mV
5mV (5V)
30 MHz
Page VII.1-5
VOUT
VOH
VP - VN
VOL
Model
VP
+
+
fo VP - VN
VN
fo( V P
V O H
- VN ) =
V OL
VO
for ( V P - V N ) 0
for ( V P - V N ) 0
Page VII.1-6
Transfer Curve
VOUT
VOH
VIL
VP - VN
VIH
VOL
Model
VP
+
+
f1 VP - VN
VN
VO
V O H for ( V P - V N ) VIH
f1( V P - V N ) = AV( V P - V N ) f o r V I L ( V P - V N ) V I H
V OL for ( V P - V N ) VIL
Page VII.1-7
VOS
VIL
VP - VN
VIH
VOL
First Order Model with Offset
+-VOS
VP
V'P
+
+
f1 V'P - V'N
-
V'N
VN
VOUT
VOL
VIH
VP - VN
VO
v = VIH + VIL
2
tP
VIL
Time
Page VII.2-1
M2
I2
IB
M1
VBIAS
vO
VSS
Fig. 7.2-1 Simple inverting comparator
VIN
VDD
vO
vN
VTRP
Page VII.2-2
t.
VDD
VDD
vO = V IN + VT2
c
2a
t.
a
2s
VIN
M2
vO
VBIAS
M1
M1 sat.
M1 act.
VBIAS - VT1
VSS
Operating RegionsvDS1 v GS1 - VT
VSS
VSS
VIN
vN
VTRP
VDD
Trip PointAssume both M1 and M2 are saturated, solve and equate drain
currents for VTRP. Assume 0.
K N W1
2
iD1 = 2 L V BIAS - V SS - V T 1
1
K P W2
2
iD2 = 2 L V D D - v I N - VT2
iD1=iD2
KN( W1/L1)
KP( W2/L2) ( V BIAS - V SS - V T 1)
W1
W2
I.e. V DD = -VSS = 5V, VBIAS = -2V and KN L = KP L
1
2
VTRP = 5-1-(-2+5-1) = 4-2 = 2V
Page VII.2-3
M3
M4
vO
M1
vP
M2
VBIAS
vN
M5
vO
VOH = VDD
VOH'
M1 & M2 in
saturation
VOL'
VOL
VSS
-1
+1
vP - vN
Av
Page VII.2-4
vP > vN
M3
I1
vP
M4
I2
M1
M2
vO
vN
ISS
VBIAS
I4
4
I5
Kp'( W4/L4)
M5
VSS
vP < vN
V O H ' = VD D -
I5
Kp'( W3/L3)
V OL ' = v N - V T 2
3. For further decrease in vO, M2 is nonsat
and therefore the VGS2 can increase
allowing the sources of M1 and M2 to
fall(as v P falls).
4. Eventually M5 becomes non-sat and I5
starts to decrease to zero. M2 becomes a
switch and v O tracks V S2(VDS5) all the
way to VSS.
V OL = V SS .
Page VII.2-5
TWO-STAGE COMPARATOR
Combine the differential amplifier stage with the inverter stage.
Sufficient gain.
Good signal swing.
VDD
M3
M4
M6
vN
M1
M2
I8
M8
M5
VSS
vP
vO
M7
Page VI.3-1
Try to keep all devices in saturation - more gain and wider signal
swings.
I5
I4 = 2, then DC balance is achieved under the following:
S6
S
. 7 VDG4 = 0 M4 is saturated.
=
2
S4
S5
Page VI.3-2
KN = 24.75 A/V2
KP = 10.125 A/V2
VTN = -VTP = 1V
N = 0.015V -1
P = 0.020V -1
+
2V
20 2V
10
M3
- M6 40
M4
20
10
I8
20
10
vN
M1
vP
M5
VSS =0V
= 89.9
I5
2 + 4
vGS6
14.1 mV
= 0.157 mV
VOS = A (diff) = 89.9
v
A v(diff) =
vO =5V
10
10 3V
M7
vGS6 =
i6
i7
M2
20A
M8
10
20
10
10
10
Page VI.3-3
VG1
VDG1
-
+ M1
VGS1
-
+
VDS1
-
I5
VBIAS
v G1 (max) = V D D -
VDS5
VSS
I5
21
M5
I5
23 - VT3(max) + V T1 (min)
Example
Design M1 through M4 for a CM input range 1.5 to 9 Volts when VDD =
10 V, ISS = 40A, and VSS = 0V. Table 3.1-2 parameters with |VTN,P| =
0.4 to 1.0 Volts,
I5
vG1(min) = VSS + VDS5 +
1 + VT1(max)
40A
+ 1 (assumed VDS5 0.1V- it probably more
1.5 = 0 + 0.1 +
1
reasonable to assume 1 is already defined and find 5)
1 =
KNW 1
2
L1 = 250 A/V
vG1(max) = VDD 3 =
W1 W 2
L1 = L2 = 14.70
I5
3 - |VT3(max)| + VT1(min)
K PW 3
2
L3 = 250 A/V
W3 W 4
L3 = L4 = 31.25
Page VI.3-4
+
gm1vid
r ds2
r ds4
v1 gm6v1
-
r ds6
r ds7
vid = vP - vN
gm1
ds2 + g ds4
Av = g
2
Av =
gm6
g ds6 + g ds7
W1 W6
KNKP L L
1 6
( 2 + 4) ( 6 + 7)
vout
I1I6
W6
W1
Using L = 5, L = 5, N = 0.015V-1 , P = 0.02V-1
1
6
and Table 3.1-2 values;
2 (17)(8)(5)(5) . -6 95199.10-6
Av =
10 =
(0.015+0.02)2 I1I6
I1I6
Assume I1 = 10 A and I6 = 100 A
Av = 3010
V OH - VOL
= Resolution = 5 mV (assume)
Av
5 .
then VOH - V OL =
1000 3000 = 15 Volts
Page VI.3-5
M3
vN
VGS6 +
-
M1
M2
vP
CL1
VBIAS
M6
i6 key node
vO
i7
CL2
M5
M7
i5
VSS
V GS6 = VDD - v P + V D G 2
dv
iC = C dt , t =
v
CI
t2+ = C L2
K P W6 V
2 L6 ( D D
t+2
VTRP3
V
VDD
SS
VTRP3
V TRP3 - V S S
- v P - V D G 2 - |V T6 | ) 2 -
V DD - V TRP3
t2- = CL2 W L
7 5 i
L7 W5 5
t-2
Slew rate =
isource/sink
CLi
I7
Page VI.3-6
+5V
10
10
M3
40
10
C L1=0.3pF
M4
vDO
vN
M1
M2
20
10
vP
CL2=
10pF
I7 =40A
I5=20A
t = t1 + t2
( v DO (t 0 ) - V TRP2)
t1 =
CL1 ,
I5
vDO(t0) = 5 because vP = -1V
M6
I6
-5V
2I7
KP'( W6/L6)
2.40
= 2.58 V VTRP2 = 5 - 2.58 = 2.42 V
8.4
0.3pF
= 38.7ns
t1 = (5 - 2.42)
20A
CL2
CL2
t2 = v O (t 0 ) - 0
=5
I 6 - I 7
I 6 - I 7
KP6' W6
I6 = 2 L V D D - V D O (min) - VT6 2
6
[VDO(min) is an optimistic assumption based on vDS2 0]
VGS6 = 1 +
I5
= -1.77
KN.2
8.10-6
2
2 (4)(5 - (-1.77) -1) = 533 A
10 pF
t2 = 5 (533 - 40) A = 101 ns
I6 =
t = t1 + t2 139 ns
Second order consideration: Charging of Csb of M1 and M2
vO
Page VI.3-7
M3
M4
(6)
vN
M1
3v
2.42v
M8
20
10
M2
M6
CL1
40
10
(9)
vP
vO
CL2
10
10
M7
-5V
1v
vP
0v
tprop=167 ns
20
10
V(9)
Actual
-1 v
V(6)
-1.54v
Approx.
-3 v
-5 v
0ns
50ns
100ns
150ns
Time
200ns
250ns
300ns
Page VI.3-8
vin
-
+
gm1
-
gm2
R1
C1
R2
C2
vout
-
vout(s)
A o p1 p2
=
vin(s)
( s + p 1) ( s + p 2)
1
p1 = R C
1 1
1
p2 =
R2C2
Ao = gm1gm2R1R2
I5 = 20A R1 = g
1
1
=
40A(.03) = 833K
ds6 + g ds7
1
p2 =
(10pF)(833K) = 120Krps
I7 = 40A R2 = g
Page VI.3-9
M4
M6
M1
vN
M2
I8
M5
M8
vP
vO
M7
VSS
Key Relationships for Design:
i D = (v G S - V T ) 2
2
or
v DS (sat) =
Also,
gm =
where
KW
= L
2I D
2iD(sat)
iD (sat) = 2 [vDS(sat)]2
Page VI.3-10
2ID
3. Knowing the second stage current and minimum device size for M6,
calculate the second stage gain.
A2 =
-g m6
g ds6 + g ds7
4. Calculate the required first stage gain from A2 and gain specifications.
5. Determine the current in the first stage based upon proper mirroring
and minimum values for M6 and M7. Verify that Pdiss is met.
6. Calculate the device size of M1 from A1 and I DS1.
A1 = g
-g m1
ds1 + g ds3
and
gm1 =
2K'W/L
IDS1
7. Design minimum device size for M5 based on negative CMR requirement using the following (IDS1 = 0.5IDS5):
vG1(min) = VSS + VDS5 +
where VDS5 =
IDS5
1 + VT1(max)
2IDS5
5 = VDS5(sat)
IDS5
3 - VTO3 (max) + VT1
Page VI.3-11
Avo > 66 dB
Pdiss < 10 mW
VDD = 10 V
CL = 2 pF
VSS = 0 V
tprop < 1 s
K'W
Recall that = L
CMR = 4-6 V
Output swing is VDD - 2V and VSS + 2V
1). For t prop << 1 s choose slew rate at 100 V/s
dvOUT
. -12
. -6
dt = ( 2 10 ) ( 100 10 ) = 200 A
I7 = CL
2I7
7 =
W7
2(200A)
L7 > 5.88
17.0A/V 2( W7/L7)
M6:
2V > vDS6(sat) =
2( IOUT+I7)
=
6
-g m6
-1
=
3). A 2 = g
ds6 + g ds7
N + P
W6
2(400A)
L6 > 12.5
8.0A/V 2( W6/L6)
2KP'W6
I6L6 -10
Page VI.3-12
2KN'W1
W1
I
2 4 = 200
=
(
+
)A
[
1
4
1
]
I4L 1
L1
2KN'
(Good for noise)
8). S5 =
2I5
5 =
I5
1 - VT1(max)
(34)
-1 = 2.90 V
2(17.0)(200)
W5
2(34)
L > 0.48
(17)S5
5
I5
W5
34
S
=
(5.88)
=
1.0
7
I7
200
L5 = 1 . 0
Page VI.3-13
I5
3 - VTO3 (max) + VT1(min)
I5
34 A
= 2.76.10 -6
( 1 0 - 6 - 1 + 0 . 5) 2
W3 (2.76)(2)
W3 W 4
L =
=
0.69
8
L3 = L4 > 0.69
3
W4
(Previously showed L > 1.06 so no modification is necessary)
4
=
10). Summary
W
Wdrawn = (L - 1.6)
L
Design Ratios
W1
L1
W3
L3
W5
L5
W6
L6
W7
L7
W2
= L = 200
2
W4
= L = 1.0
4
= 1.0
= 12.5
= 5.88
W1
L1
W3
L3
W5
L5
W6
L6
W7
L7
Proper Mirroring
minimum geometry
and LD = 0.8m
W 2 1000
= L = 5
2
W4 5
= L =5
4
= 1.0
62.5
= 5
30
= 5
680
5
3.4 5
5
5
3.4 5
5
5
60
5
30
5
S6
S7
=
2
S4
S5
Page VII.4-1
MP3
MP4
MP12
MP13
MP8
MP6
MN25
MN1
MN2
vOUT
MN10
MN11
MN9
MN5
v1
v2
MN24
MN7
V SS
i1
1
gm13
+
i2
i2
gm2 v1
i1
rout
vout
-
where
R out (rds5gm11rds11)||((rds4||rds2)gm13rds13) =
=g
1
ds5gds11 (gds2+gds4)gds13
gm11 +
gm13
gm1 +gm2
vin
ds5gds11 (gds2+gds4)gds13
gm11 +
gm13
Page VII.4-2
i1
gm1 v2
gm12 gm2 v1
i2
C2
1
gm13
C3
i2
i1
rout
vout
-
where
C1 = C GS12 + C BS12 + C DG3 + C BD3
C2 = C GS13 + C BS13 + C DG4 + C BD4
and
where
1
3 =
routC3
Typical performanceW 1 W 2 W 11 W 13
ID1 = ID2 = 50A and ID3= I D4 = 100A,
L1 = L2 = L11 = L13
=1, assume C 3 0.5pF, and using the values of Table 3.1-2 gives:
gm1 = gm2 = gm11 =41.2S
gds5 = gds11 = 0.5S
gm13 = 28.3S
Page VII.4-3
BIAS
M1
M6
M8
M10
vO
M2
M3
M9
M11
M7
M4
M5
Performance (ISET = 50 A)
Rise time
= 100 ns into 50 pF
Fall time
Propagation delay = 1 s
Slew rate = 2.7 Volts/s
Loop Gain = 32,000
Comments
The inverter pair of M8-M9 and M10-M11 are for the purpose of
providing an output drive capability and minimizing the propagation delay.
Page VII.4-4
VDD
VDD
M6
M8
BIAS
VPB
M1
vO
-
+
M3
M2
M9
M4
VNB
M5
M7
VSS
Page VII.6-1
Comparator
threshold
Time
Comparator
output
VTRP+ comparator
output
Page VII.6-2
vB
vA
vOUT
VREFR2
R1 +R2
VOHR1
R1 +R2
R2
R1
+
V
- REF
VOL
vB
VOLR1
R1 +R2
Noninverting
vOUT
R2
vIN
VOH
R1
vA +
vB
VREF R1 +R2
R2
vOUT
vIN
+
- VREF
R1 V
R2 OL
VOL
R1 V
R2 OH
Page VII.6-3
M10 M11
M4
M8
M6
M1
M2
vO
BIAS
M5
M9
M7
VSS
1.0V
-600m
2.0V
3.0V
4.0V
5.0V
6.0V
-400m
-200m
0m
200m
400m
600m
Page VII.6-5
+
-
IDEAL
VOS
+
-
IDEAL
CAZ
VOS
VIN
+
VOS
+
VOS
IDEAL
+
0V
-
+
V
- OS
Page VII.6-6
vIN+
+
1
vIN-
VOS
+ CAZ
IDEAL
+
VOS
vOUT
Page VII.6-7
vOUT
vIN
+
CAZ
2
2
CAZ
-
vIN
vOUT
1
Page VII.6-1
+
vIN
-
C1
C2
C3
Cn
Latch
Q
Q
= input voltage
change
Latch
n
tn-1 )e-t/ ]
v out = A [1 - (1 + (n-1)!
vout = e t/
A5
A4
A3
5
4
3
v out = A2[1 - (1 + t)e -t/ )]
2
v out = A(1-e-t/ )
n=1
A2
A
t3
tL
Time
Page VII.6-2
+
vIN
-
Latch
Q
Q
VDD
Q
FB
Reset
Q
FB
VB1
vIN
VB2
VSS
vIN-VOS
+ -
+
VOS
LATCH
Page VII.7-1
KW
2
2L (vGS-VT) ,
vDS(sat) =
2iD
K(W/L) , and gm =
2KWID
L
Page VII.0-1
Design Principles
OTA Compensation
Two-Stage CMOS OTA Design
Organization
Chapter 10
D/A and A/D
Converters
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS Op
Amps
Chapter 9
High Performance
OTA's
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4 Device
Characterization
Op Amp Characteristics
Non-ideal model for an op amp
V
I
b2
icm
CMRR
e
V
V
os
V
I
n
id
Ideal
id
+
icm
I
b1
Boundary Conditions
Process Specification
Supply Voltage
Supply Current
Temperature Range
Typical Specifications
Gain
Gainbandwidth
Settling Time
Slew Rate
Input CMR
CMRR
PSRR
Output Swing
Output Resistance
Offset
Noise
Layout Area
Requirement
See Tables 3.1-1 and
3.1-2
+5 V 10%
100 A
0 to 70C
80 dB
10 MHz
0.1 sec
2 V/sec
2 V
60 dB
60 dB
2 VP-P
Capacitive load only
5 mV
50nV/ Hz at 1KHz
10,000 square m
out
Frequency Response
Av0
A v (s) = s
s
s
(p 1 ) (p 1 ) (p 1 ) . . .
1
2
3
-6dB/oct
Gain, dB
GB
0 dB
Frequency
180
Phase (degrees)
90
Phase margin
0
Frequency
-90
10V
5V
Output
Voltage
0V
-5V
-10V
0s
Input
Voltage
2s
4s
Time
6s
8s
10s
Settling Time
1.4
1.2
Upper tolerance
1
Vout(t)
Lower tolerance
0.8
0.6
Settling
time
0.4
0.2
0
0
Time (sec)
10
12
14
Design Approach
Design
Specifications
Iterate
Analysis
Simulation
Modify
Specifications:
Gain
Bandwidth
PSRR
Settling time
CMRR
Power dissipation
Noise
Supply voltage
Silicon area
Design Strategy
Op Amp Architecture
VDD
M3
M4
M6
M1
M2
Compensation
IBias
M5
M7
vOUT
Compensation
In virtually all op amp applications, feedback will be applied around the
amplifier. Therefore, stable performance requires that the amplifier be
compensated. Essentially we desire that the loop gain be less than unity
when the phase shift around the loop is greater than 135
+
IN
OUT
A
=
IN
1 + A
Goal: 1 + A > 0
Rule of thumb: arg[A] < 135 at mag[A] = 1
OUT
|A| (dB)
-6dB/oct
GB
0 dB
Frequency
180o
Arg[A]
90o
0o
Frequency
-12dB/oct
stability
Date/Time run: 04/08/97 19:45:36
Temperature: 27.0
1.5V
3
2
1
1.0V
1 = 1000 rps
Case 1: 2 = 1 x 106 rps
0.5V
5us
10us
v(5)
Time
15us
20us
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.
Miller Compensation
VDD
M3
M4
CM
M1
M2
M6
Cc
v OUT
IBias
C1
CL
M7
M5
Small-signal model
1
gds2+g ds4
-v
gm1 in
2
CM
r ds1
+
v1
gm4v 1
1
gm3
1
gds6 +gds7
Cc
+
v
g m2 in
2
v2
C1
CL vout
gm6 v2
+
vin
1
gds6+gds7
Cc
+
gm1vin
v2
+
C1
gm6v2
CL vout
Analysis
(gmI)(gmII)(RI)(RII)(1 - sCc/gmII)
Vo(s)
=
Vin(s) 1 + s[RI(C1 + Cc) + RII(CL + Cc) + gmIIRIRIICc] + s2RIRII[C1CL + Cc(C1+ CL)]
p1 g
-1
mII RI RII Cc
-gmIICc
p2 C C + C C + C C
1 L
L c
1 c
p2
-gmII
CL
z1 =
gmII
Cc
where
gmI = gm1 = gm2
RI = g
1
ds2+gds4
gmII = gm6
RII = g
1
ds6+gds7
Miller Compensation
=1
|A| (dB)
-6dB/oct
Before compensation
GB
After compensation
1
Frequency
-12dB/oct
180o
Before compensation
Arg[A]
90o
0o
After compensation
Phase margin
Frequency
gmI
= C
c
gmIIRIRIICc
GB = Av(0)|p1| = ( gmIgmIIRIRII)
180 - tan-1
or
GB
GB
135 tan-1(Av(0)) + tan-1 + tan-1(0.1) = 90 + tan-1
+ 5.7
|p2|
|p 2 |
GB
GB
39.3 tan -1 | |p | = 0.818 |p 2 | 1.22GB
|p2
2
g m II > 10g m I
Furthermore,
gmII 2.2gmI
C2 > Cc
which after substitution gives:
C c > 0.22C 2
Note:
gmI = gm1 = gm2
and
gmII = gm6
M4
M1
M6
Cc
M2
RZ
V OUT
CII
Vbias
M7
M5
RZ
+
vin
Cc
+
gmI vin
v2
+
RI
CI
gmII v2
VI
sCc
gmIVin + R + sCIVI +
(VI Vo) = 0
I
1 + sCcRz
Vo
sCc
gmIIVI + R + sCIIVo +
(Vo VI) = 0
II
1 + sCcRz
These equations can be solved to give
Vo(s) a{1 s[(Cc/gmII) RzCc]}
Vin(s) =
1 + bs + cs2 + ds3
where
a = gmIgmIIRIRII
b = (CII + Cc)RII + (CI + Cc)RI + gmIIRIRIICc + RzCc
RII
CII vout
p2
1
1
g R RC
(1 + gmIIRII)RICc
mII II I c
gmIICc
gmII
C
CICII + CcCI + CcCII
II
1
p3 = R C
z I
and
z1 =
1
Cc(1/gmII Rz)
By setting
Rz = 1/gmII
The RHP zero moves to infinity
M4
M1
M2
M6
MZ
Cc
V OUT
CII
Vbias
M7
M5
VDD
M6
M3
M4
Cc
vout
vin
+
M1
CL
M2
+
VBias
-
M7
M5
VSS
Figure 6.3-1 Schematic of an unbuffered, two-stage CMOS op amp
Important with
relationships:
an n-channel input pair.
gm1 = gm2 = gmI, gm6 = gmII, gds2 + gds4 = GI, and gds6 + gds7 = GII.
Slew rate SR =
I5
Cc
(1)
gm1
gds2 + gds4
Output pole p2 =
RHP zero z1 =
gm6
gds6 + gds7
2gm1
I5( 2 + 4)
=
gm6
I6( 6 + 7)
gm1
Cc
(3)
(4)
gm6
CL
(5)
gm6
Cc
(2)
(6)
I5
|VT03|(max) + VT1(min))
(7)
Saturation voltageVDS(sat) =
+ VT1(max) + VDS5(sat)
2IDS
(8)
(9)
I5
(K'3) [VDD Vin(max) |VT03|(max) + VT1(min)]2
If the value determined for (W/L)3 is less than one, then it should be increased to a value
that minimizes the product of W and L. This minimizes the area of the gate region, which
1/2
VT1(max)
If the value for VDS5 is less than about 100 mV then the possibility of a rather large (W/L)5
may result. This may not be acceptable. If the value for VDS5 is less than zero, then the
ICMR specification may be too stringent. To solve this problem, I5 can be reduced or
(W/L)1 increased. The effects of these changes must be accounted for in previous design
steps. One must iterate until the desired result is achieved. With VDS5 determined, (W/L)5
can be extracted using Eq. (9) in the following way
S5 = (W/L)5 =
2(I5)
K'5(VDS5)2
For a phase margin of 60, the location of the loading pole was assumed to be
placed at 2.2 times GB. Based upon this assumption and the relationship for |p2| in Eq. (5),
the transconductance gm6 can be determined using the following relationship
gm6 = 2.2(gm2)(CL/Cc)
Since S3 is known as well as gm6 and gm3, assuming balanced conditions,
gm6
S6 = S3 g
m3
I6 can be calculated from the consideration of the proper mirroring of first-stage the
current mirror load of Fig. 6.3-1. For accurate current mirroring, we want VSD3 to be equal
to VSD4. This will occur if VSG4 is equal to VSG6. VSG4 will be equal to VSG6 if
Max. ICMR
and/or p3
VSG4
-
M3
vin
+
VDD
VSG6
-
M4
Cc
Cc 0.2CL
(PM = 60)
M2
Min. ICMR
I5
+
VBias
-
M5
M6
I6
g
GB = m1
Cc
M1
Vout(max)
I5 = SRCc
gm6 or
Proper Mirroring
VSG4=VSG6
vout
CL
Vout(min)
M7
VSS
Figure 6.3-2 Illustration of the design relationships and the circuit for
a two-stage CMOS op amp.
At this point in the design procedure, the total amplifier gain must be checked against the
specifications.
Av =
(2)(gm2)(gm6)
I5(2 + 3)I6(6 + 7)
If the gain is too low, a number of things can be adjusted. The best way to do this is to use
the table below, which shows the effects of various device sizes and currents on the
Increase
DC
Gain
Increase GB
Increase
RHP
Zero
Increase
Slew
Rate
Increase CL
Drain
Current
I5
I7
()1/2 ()1/2
M1 and
M2
W/L
L
()1/2
()1/2
()1/2
()1/2
M3 and
M4
W
L
Inverter Inverter
Comp.
Load
Cap..
W6/L6 W 7 L7
Cc
()1/2
()1/2
Design Procedure:
This design procedure assumes that the gain at dc (Av), unity gain bandwidth (GB), input
common mode range (Vin(min) and Vin(max)), load capacitance (CL), slew rate (SR),
settling time (Ts), output voltage swing (Vout(max) and Vout(min)), and power dissipation
(Pdiss) are given.
1.
2.
Choose the smallest device length which will keep the channel modulation parameter
constant and give good matching for current mirrors.
From the desired phase margin, choose the minimum value for Cc, i.e. for a 60
phase margin we use the following relationship. This assumes that z 10GB.
Cc > 0.22CL
3.
Determine the minimum value for the tail current (I5) from the largest of the two
values.
I5 = SR .Cc
VDD + |VSS|
I5 10
.
2 Ts
4.
5.
I5
K'3[VDD Vin(max) |VT03|(max) + VT1(min)]2
Verify that the pole of M3 due to Cgs3 and Cgs4 (=0.67W3L3Cox) will not be
dominant by assuming it to be greater than 10 GB
gm3
2Cgs3 > 10GB.
6.
gm1 = GB . Cc S2 =
7.
gm2
K'2I5
Design for S5 from the minimum input voltage. First calculate VDS5(sat) then find S5.
VDS5(sat) = Vin(min) VSS
S5 =
2I5
K'5[VDS5(sat)]2
I5
VT1(max) 100 mV
Find gm6 and S6 by the relationship relating to phase margin, load, and compensation
capacitors, and the balance condition.
gm6 = 2.2gm2(CL/Cc)
gm6
S6 = S3 g
m3
9.
Calculate I6 :
I6 = (S6/S4)I4 = (S6/S4)(I5/2)
10. Design S7 to achieve the desired current ratios between I5 and I6.
S7 = (I6/I5)S5
11. Check gain and power dissipation specifications.
Av =
2gm2gm6
I5(2 + 3)I6(6 + 7)
VDD = 2.5V
VSS = -2.5V
GB = 5MHz
CL = 10pF
SR > 10V/s
Vout range = 2V
ICMR = -1 to 2V
Pdiss 2mW
Solution
Calculate the minimum value of the compensation capacitor Cc,
Cc > (2.2/10)(10 pF) = 2.2 pF
Choose Cc as 3pF. Using the slew-rate specification and Cc calculate I5.
I5 = (3 10-12)(10 106) = 30 A
Next calculate (W/L)3 using ICMR requirements.
(W/L)3 =
30 10-6
= 15
(50 10-6)[2.5 2 .85 + 0.55]2
gm3 =
Therefore
(W/L)3 = (W/L)4 = 15
Check the value of the mirror pole, p3, to make sure that it is in fact greater than
10GB. Assume the Cox = 0.4fF/m2. The mirror pole can be found as
-gm3
- 2KpS3I3
p3 2C = 2(0.667)W L C = 15.75x109(rads/sec)
gs3
3 3 ox
or 2.98 GHz. Thus, p3, is not of concern in this design because p3 >> 10GB.
The next step in the design is to calculate gm1
gm1 = (5 106)(2)(3 10-12) = 94.25S
Therefore, (W/L)1 is
gm12
(94.25)2
(W/L)1 = (W/L)2 = 2K I = 211015 = 2.79 3.0
N 1
Next calculate VDS5
30 10-6
- .85 = 0.35V
110 10-63
2(30 10-6)
= 4.49 4.5
(50 10-6)(0.35)2
942.5 10-6
= 94.25
150 10-6
2 94.25
= 0.348V
110 14.14
which is much less than required. At this point, the first-cut design is complete.
Examining the results shows that the large value of M7 is due to the large value of
M5 which in turn is due to a tight specification on the negative input common
mode range. To reduce these values the specification should be loosened or a
different architecture (i.e. p-channel input pair) examined.
Now check to see that the gain specification has been met
Av =
Organization
Chapter 10
D/A and A/D
Converters
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS Op
Amps
Chapter 9
High Performance
OTA's
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4 Device
Characterization
M9
VDD
M7
VDD
vOUT
M1
-
VDD
M2
+
Cc
CL
M8
M6
M4
M3
vout
+
gm1 vi
C1
r1
v1
gm6 v1
CL
r2
1
1
where gm1 = gm2, r1 = g
,
r
=
2
g ds6 + g ds7
ds2 + g ds4
gm1 Ai
vi
2
Network equations:
[g1 + s(C1 + CL)]v1 - sCcv2 = gm1vi
gm1AIvi
2
i7
AI is the current gain from M1 to M7: AI = i
1
-g m6
z=
AI
Cc
1
2
-g1g2
p1
gm6Cc
-g m6
p2 C
L
gm1gm6
AV g g
1 2
[g5 + sCc]v1 + [g2 + s(Cc + CL)]v2 =
Example:
VDD
VDD
VDD
M9
M7
M1
VDD
M2
VDD
M9
VDD
M7
M1
Cc
M2
Cc
CL
CL
M8
M6
M3
M6
M4
M4
M3
Push-Pull (AI 3)
Standard (AI = 0)
140
120
100
Gain(db)
80
Push-Pull phase
60
Standard gain
40
Push-Pull
gain
20
Standard phase
0
-20
1
10
10
10
VDD
10
10
10
Frequency
10
10
10
Definition:
+
vdd
+
vin
VDD
vout
vss
-
VSS
vout
vin (vdd=0)
Av(vdd=0)
+
PSRR = A (v =0) = v
dd in
out
vdd (vin=0)
Calculation of PSRR:
+
vdd
Addvdd
VDD
v1
vout
+
VSS
=>
vout
v2
Av (v1 -v2 )
vout
Add
A dd
1
=
=
vdd
1 + Av
Av
PSRR+
vout
KAdd
A dd
=
vdd
1+KAv
Av
+
vdd
VDD
M3
M4
M6
M1
to gate of M6.
Cc
M2
vout
M7
M5
+
VBias
VSS
+
-
model-
+
vdd
vout
Cc
Rout
Must reduce C c !
Vout
Vdd
0dB
-60 to
-80dB
1
Rout Cc
Other sources of
PSRR beside C c
VDD
M3
M4
M6
M1
Cc
M2
vout
M7
M5
+
VBias
vss
VSS
+-
M5 or M7
+
VBias
M5
+
vss
VSS
VBias
+-
vss
VSS
Transconductance injection
+
-+
-
Capacitance injection
Intuitive Interpretation of the Negative PSRR for the Two-Stage OTA Continued
Transconductance injection:
Vout
Vss
20 to
40 dB
1
Rout Cout
vout
vss = g m7Rout
Frequency dependence 1
Rout Rout||
sCout
Capacitance injection:
+
vss
vout
Cgd7
Rout
Vout
Vss
0dB
-60 to
-80dB
Reduce Cgd7!
1
Rout C gd7
First stage
transconductance
injection
M3
VDD
VBP
M4
VDD
MC2
VDD
VBN
MC3
VO1
MC1
M1
M2
VBIAS
VSS
gmcrdsc
2
M3
VDD
M4
VDD
ICM
VBP
MC2
MC3
VDD
MC1
M9
VO1
M1
M2
VBIAS
VSS
gm1
CL
M4
M3
ICM
ICM
VBP
VDD
MC2
VSS
VSS
VSS
MC1
MC3
vin
2
-vin vin
2 2
VSS
VSS
-vin
2
VSS
M2
M1
I5 +ICM
VSS
VDD
M4
MT2
M6
MC2
MT1
MC1
Vo
VSS
M2
VBIAS
M5
VSS
M7
M3
M6
M8
VB1
M4
Cc
M9
M2
M1
vOUT
M5
VB2
M7
VSS
+PSRR is reduced by M9
1
gm9
VDD
M4
M3
MT2
VBP
M6
MC2
MT1
ICM
MC3
MC1
Vo
VSS
M9
M1
M2
M7
VBIAS
M5
VSS
VDD
M3
M4
M6
VBP
Comp
M2
M1
VBN
MC6
Vo
MC5
M7
VBIAS
M5
VSS
VDD
VDD
M9
M3
M4
VDD
M6
VDD
MC2
VBP
MC3
VBP
VDD
+
M2
M1
M5
I5
VDD
VDD
MC1
VBN
VSS
VBIAS
CL
M8
M7
VSS
gm 2
A V1 = g
m4
1
A V2 = 2 (g m6 + g m9 )R o
where
gm2
AV = 2(g ) (g m6 + gm9) Ro
m4
AV =
where
K=
W6/L6 W 9/L 9
W4/L4 = W3/L3
Design Example
Pertinent design equations:
iOUT
SR = C
L
AV =
gm2
2(gm4) (gm6 + gm7 ) ro
GB =
g m2 (g m6 + g m7 )
2(gm4)CL
Vin(max) = VDD -
I5
3 - |VT3|(max) + V T1(min)
I5
1 + VT1(max)
Design Procedure
1.) Design for maximum source/sink current
Isource/sink = C L(SR) = 50pf(5V/s) = 250 A
2.) Note that S6
Max. IOUT (source) = S I5
4
Max. IOUT (Sink) = Max. IOUT (source) if S3 = S 4,
S9 = S6 and
S7 = S 8
2I7
+
KN'S7
S 7 = S C1 = 29.4
2IC1
=2
KN'SC1
2I7
KN'S7 = 2
-> S 8 = S 7 = 29.4
500 A
17 A/V 2 S 7
2I6
+
KP'S6
2IC2
=2
KP'SC2
2I6
KP'S6
--> S 3 = S 4 = 25
-3
-5V
-4
M7
-5
+4
VBP
MC2
IOUT(source)= 250 A
+3V
100 A
- 1.2 + 0.8
KP'S3
100 A
= 4.88 (Use S 3 = S4 = 25)
A
8 2 (1.6V) 2
V
R II
AV =
gm4
2
gm4 =
2I4Kp'S4 = 141.1 s
gm6 =
2I6KP'S6 = 353.5 s
gm7 =
2I7KN'S7 = 353.5 s
gmc1 = gm7
gmc2 = gm6
1
rds6 = rdsc2 = I = 0.4 M
6 P
1
rds7 = rdsc1 =
I7 = 0.8 M
RII (gmc1rdsc1rds7) || (gmc2rdsc2rds6) = 45.25 M
gm1 707 s
( 226.24 M || 56.56 M) > 5000 V/V
141.1
gm1 > 44 s
b.) GB specification
GB =
g m1 (g m6 + g m7 )
(50pF) = 10.10 6 rps
2gm4
gm1 =
(10.106)(141.1.10-6)(50.10-12)
= 627 S
707.10-6/2
gm 2
= 231
S 1 = S2 =
I5K N '
gm1gm6+gm7
627 707S
R II =
gm4
2
141.1 2 (45.25M) = 71,080
V DS5 = 0.8 -
100 A
+ 1.2
A
17 2 S 1
V
100
= 0.8 - 0.1596 = 0.641
(17)(231)
S5 =
I5
1 + VT1(max)
2(100 A)
A
(17 2 )S5
V
2(100A)
= 28.6
17A/V 2(0.641)2
S7 = S8 = SC1 = 29.4
VBP = 2V
VBN = -2V
VBIAS = -3.359V
1.5 I
1.5 I
VBP
M3
M4
v+IN
M1 M2
v-IN
M5
M6
M7
M8
VSS
M3
VB3
M14
M2
M1
V OUT
M9
M8
Cc
M16
VB1
M5
M15
VB2
M11
M10
M13
M12
VSS
+
-
R
-
VDD
VDD
VDD
VBIAS
Vin
-
Vout
CL
CL
Common
mode
feedback
VSS
VDD = +5V
MP1A
VBIAS1
MP1
MP2A
VDD
VDD
VBIAS2
MP2
vOUT
+
CL
+
CL
vIN
VSS
MN2A
VSS
VBIAS3
MN2
MN1
VSS
VSS
MN1A
VSS
VBIAS4
MN3
MN3A
VSS = -5V
VDD
VB2
v+IN
v-IN
vOUT
vOUT
v+IN
v-IN
VB1
VSS
M12
M11
VB2
v+IN
M1
M2
v-IN
v+IN
M3
M4
v-IN
VB1
M10
M17
M18
VSS
combine
M9
M14
M13
M17
M12
M14
M11
M5
v+OUT
M6
v+IN
M7
M1
M2
M3
M4
v-IN
v-OUT
M8
I
M18
M10
M13
M9
M17
M12
M14
M11
VB3
VB1
M5
v+OUT
M6
v+IN
M1
VB2
M7
M3
M4
VB4
M8
v-OUT
M15
I
M18
v-IN
M2
M16
M10
M9
M13
Device characteristics iD
iD
square
law
100nA
100nA
weak
inversion
vGS < VT
vDS
exponential
VT
vGS
gm2 gm6
1
=
n2n6( kT/q) 2( l2+l4) ( l6+l7)
( gds2+gds4) ( gds6+gds7)
where,
gm1
ID1
GB = C = (n kT/q)C
1
and
2ID1
n1kT
SR = C = 2GB q
VDD
M3
M4
M6
C
M1
M2
M7
M5
VSS
Design Example
Calculate the gain, unity-gain bandwidth, and slew rate of the previous
two-stage op amp used in weak inversion if:
ID5 = 200nA
nP = 1.5
P = 0.02V-1
L = 10 m
nN = 2.5
N = 0.01V-1
C = 5pF
T = 27C
1
AV = (1.5)(2.5)(0.026)(2)(0.1+0.02)(0.01+0.02) = 5698
GB =
100.10-9
= 307.69Krps or 48.97KHz
(2.5)(0.026)(5.10-12)
SR = 2(153.85.103)(2.5)(0.026) = 0.04V/s
If V DD = -V SS = 2.5, the power dissipation is 0.2W assuming ID7 = I D5.
M4
M8
M6
M2
M1
CC
VB
M5
M7
M9
VSS
Gain enhancement for Push-Pull Micropower Op Amp
M11
M3
M10
M12
M4
M8
M6
M2
M1
CC
VB
M5
M13
M7
M9
VSS
VDD
M3
M4
M8
M6
M1
M2
VB1
VDD
M10
VB2
VB
M5
VSS
M11
M7
M9
VSS
1
1
+ n
nN
P
AV = 2
10,000
2
Vt ( P n P + N 2 n N 2 )
self-compensating
Low power << 1 W
CC
Micropower Op Amp
VDD
M5
M9
M6
M7 M8
va
v-1
M10
vb
M3
M4
M16
M15
100nA
v+2
vo
M17
M2
VBIAS
M18
M19
M14
M12
M11
120nA
20nA
20nA
VSS
Pdiss = |VDD -VSS|(260nA)
vo = vagm9ro - vbgm10ro g m9ro(va - vb)
; gm9 = gm10
where
ro (rds10gm18rds18)||(rds12gm19rds19)
and
nP 1 + k
(va - vb) = va - vb = n 1 - k ( v 2 - v 1 )
N
Small-Signal Analysis
va
vb
1
gm5
gm3 v1
gm8 vb
1
gm6
gm7 va
gm3
g m8
va = -v1 g
- vb g
m5
m5
gm4
g m7
vb = -v2
v
a
gm6
gm6
m3
v1ggm5
v2gm4
gm6
va =
gm3
v1g
gm8
-g
gm4
v2g
-1
-1
gm8
-g
gm7
-g
-1
m5
m6
m4
m5
m5
-1
gm8
-g
gm7
-g
-1
m4
m5
va
v
b
gm 3
g m4 g m 8
-v 1 g + v 2 g g
m5
m5 m6
=
g m7 g m 8
1gm5 gm6
gm4 v2
vb =
v a - vb =
-1
gm3
v1g
gm7
-g
gm4
v2g
-1
gm8
-g
gm7
-g
-1
m6
m5
m4
m6
m5
gm 4
g m3 g m 7
-v 2 g + v 1 g g
m6
m5 m6
=
g m7 g m 8
1gm5 gm6
gm3
g m4 g m 8 gm4
g m3 g m 7
-v1
+
v
- -v2
+
v
2
1
gm5
gm5 gm6 gm6
gm5 gm6
g m7 g m 8
1- g g
m5 m4
-v1
+
v
-v
+
v
2
2
1
gmII
gmII2 gmII
gmII2
v a - vb =
g mIII 2
1-
Define:
gmII2
gmIII
gmII = k
gmI
v
v
( 1 + k)
( 2
1) g
mII
= ( v 2 - v1)
v a - vb =
1 - k2
v a - vb =
gmI
gmII
1 - k
gmI 1
gmII 1 - k ( v 2 - v 1 )
I8 S 8
in W.I. gm is proportional to I
I6 = S6
I 8 S8
I 7 S7
=
=
k;
I6 S6
I5 = S5 = k
Since under balanced conditions
I 3 = I4 ; I4 = I5
I4 = I6 (1 + k)
I3 = I5 (1 + k)
Again, since gm I in weak inversion, then
gm4 I 6(1 + k) or gm4 =
I6
kT (1 + k)
nN
q
and
gm3 I5(1 + k)
since
gm3 = gm4 = gmI gmI =
Also
gm4 = gmII =
I6
kT
nN
q
then
nP
gmI
=
gmII n N (1 + k)
I6
k T (1 + k)
nN
q
finally:
nP 1 + k
( v 2 - v 1 )
v a - vb = n
N 1 - k
1 + k
1 - k ( v 2 - v1)
Therefore,
1+k
vo = gm9 ro 1-k vid
Need large sinking and source currents without having to have large
quiescent currents.
One possible solution uses "tail current boosting" Assume that S 3 = S4 = S11 = S13, S18 = AS17, S15 = S16 = S17 = ..
M11
I1
-
I2
M1
I1
I2
M2
I2
I2 +I1 +A I2 -I1
I1
M15
M13
M4
M3
A I2 -I1
I2 -I1
M16 M17
M18
W18 = AW17
L18
L17
M9
I10
I19 0
M10 M19
I10 (normal)
I10 (overdrive)
2
I10 (normal)
2
vIN
0
-
I10 (overdrive)
B
-
I10 (overdrive)
B
I10 (normal)
B
I10 (normal)
B
I10
g m 1 8 gm 1 3
1- g
m17 gm14
I10
gm 1 3
1- g A
m9
VDD
M12
M8
M13
M3 M4
M11
I1
M5A
I2
M1
M14
M2
VBP
M5B
vOUT
VBN
M6B
I10
M7
M15
M16 M17
M18 M9
M10 M19
M20 M21
M22
M6A
VSS
A=2
A = 1.5
IOUT 1
I10
A=1
A = 0.3
A=0
1
vIN/ nVt
t/T
t/T
2
2 switches
on
2 switches
off 0
1
D
Pretune
circuit
2
2
G
CG
VSS
S
Switched resistor
RFET
1
i
+ D
VC
G1
+
D2
G2
VSS
vDS
S1
M2
VSS
RFET
+
-
S2
D1 M1
VC
- S
2
2
1
CG
VSS
M2
Pretune
circuit
RFET
2
VSS
2
CG
M1
Switched resistor
iD
vOUT
COS
M1
+
vIN
-
VSS
During phase 2 the offset and bias of the inverter is sampled and
applied to C OS and C B.
During phase 1 COS is connected in series with the input and
provides offset cancelling plus bias for M1. CB provides the bias for M2.
VDD
M8
VDD
+
VB2
-
2
M4
M7
M3
C2
IB
VDD
v-IN
vOUT
v+IN
C1
VSS
M2
M6
1
M5
2
M1
+
VB1
-
VSS
VSS
M8
M7
VDD
+
-
C2
v+IN
IB
C1
VSS
M6
M5
VSS
M4
M3
VDD
+
- C2
- VSS - VB1
vOUT
C1
M2
VSS
M1
VSS
2
M8
1
M4
M7
VDD
M3
C2
RB
v-IN
C3
M2
M6
2
M5
vOUT
v+IN
C1
VSS
C4
VDD
VSS
1
M1
VSS
1.6 mW dissipation
1.5 m technology
Used with a 28.6 MHz clock to realize a 5th order switched capacitor filter
with a cutoff frequency of 3.5 MHz.
Page X.0-1
Chapter 11
Analog Systems
SYSTEMS
Chapter 7
CMOS
Comparators
Chapter 8
Simple CMOS
OTA's
Chapter 9
High Performance
OTA's
COMPLEX
CIRCUITS
Chapter 5
CMOS
Subcircuits
Chapter 6
CMOS
Amplifiers
SIMPLE
Chapter 2
CMOS
Technology
DEVICES
Chapter 3
CMOS Device
Modeling
Chapter 4 Device
Characterization
Page X.0-2
ANALOG
SIGNAL
(Speech,
sensors,
radar,
etc.)
DIGITAL
PROCESSOR
(Microprocessor)
PRE-PROCESSING
(Filtering and analog
to digital conversion)
POST-PROCESSING
(Digital to analog
conversion and
filtering)
CONTROL
ANALOG
A/D
DIGITAL
D/A
ANALOG
ANALOG
OUTPUT
SIGNAL
Page X.0-3
Multiplexer
Sample
and
Hold
Analog
to
Digital
Converter
Digital
System
Transmission links
Magnetic tape recorders
Computer memories
Paper tape recorders
Real-time processor
Comparators
System and process
controls
Numerical machine
controls
Minicomputers
Miroprocessors
Etc.
Reference
Transmission links
Magnetic tape recorders
Computer memories
Paper tape recorders
Real-time processor
Comparators
System and process
controls
Numerical machine
controls
Minicomputers
Miroprocessors
Etc.
Digital
System
Digital
to
analog
converter
Reference
Filter
Amplifier
Audio systems
Controllers
Actuators
CRT displays
Analog recorders
Analog computers
Hybrid computers
Analog meters
Transducers
Servomotors
X-Y plotters
Modems
Etc.
Page X.1-1
b0
b1
b2
b3
Digital-toAnalog
Converter
vOUT or iOUT
bN-1
vOUT = KVrefD
or iOUT = KIrefD
where
K = gain constant (independent of digital input)
b1
b2
b N-1
b0
D = N + N-1 + N-2 + + 1 = scaling factor
2
2
2
2
Vref (I ref ) = voltage (current) reference
bN-1 = most significant bit (MSB)
b0 = least significant bit (LSB)
For example,
b1
b2
bN - 1
b0
Page X.1-2
Voltage
References
Vref
DVref
Scaling
Network
vOUT = KDVref
Output
Amplifier
Binary Switches
b0 b1 b2
bN-1
b0
b1
b2
Latch
Digital V
out
to
analog
converter
bN-1
Clock
Sample
and
hold
V*out
Page X.1-3
Serial
Charge
Parallel
Voltage
Charge
Fast
Current
Page X.1-4
0.750
1 LSB
0.625
Ideal
analog
output
0.500
0.375
0.250
0.125
0.000
000
001
010
011
100
101
Digital Input Code
Vref
2N
110
111
Page X.1-5
Definitions
Resolution is the smallest analog change resulting from a 1 LSB digital
change (quantified in terms of N bits).
Quantization Noise is the inherent uncertainty in digitizing an anlog value
with a finite resolution converter.
Infinite resolution analog output
- finite resolution analog output
0.5LSB
0.5
VREF
2N
VREF
2 N+1
-0.5
001
010
VREF
011
2N
-VREF
2 N+1
6
2 N = 20 log 10
+ 20 log10 (2 N)
2
Page X.1-6
Definitions - Continued
Full scale (FS) is the the maximum DAC analog output value. It is one LSB
less than V REF .
FS = VREF
2N 1
2N
Page X.1-7
VREF
7
8
3
4
1 LSB
5
8
1
2
Ideal
analog
output
3
8
1
4
1
8
0
000
0
001
010
011
100
101
110
111
1
8
2
8
3
8
4
8
5
8
6
8
7
8
8
8
Page X.1-8
7
8
7
8
5
8
5
8
3
8
Gain Error
Offset 8
Error
1
8
0
Offset Error
7
8
1
8
0
Gain Error
7
8
Nonlinearity
5
8
5
8
3
8
3
8
1
8
0
1
8
0
Linearity Error
Nonmonotonicity
Nonmonotonicity
(Due to Excessive Differential Nonlinearity)
Page X.1-9
0.5 LSB
9
8
7
6
1.5 LSB
5
4
3
Ideal
2
1
0
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1011
10
0 LSB
8
7
1 LSB
6
5
4
2 LSB
3
2
1
0
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1011
Page X.2-1
+VREF
b0
b0
b1
b1
b2
b2
R/2
8
R
7
R
6
R
5
R
vOUT
4
R
3
R
2
R
1
R/2
vOUT =
VREF
V REF
11
D+0.5
=
2D+1
=
0.6875V
=
(
)
(
)
REF
8
16
16 VREF
Page X.2-2
OUT
6VREF
8
5VREF
8
4VREF
8
3VREF
8
2VREF
8
VREF
8
000
001
010
011
100
101
110
Advantages:
Inherent monotonicity
Compatible with CMOS technology
Small area if n < 8 bits
Disadvantages:
Large area if n > 8 bits
Requires a high input impedance buffer at output
Integral linearity depends on the resistor ratios
111
Input
Page X.2-3
b0
b1
b2
+VREF
R/2
8
3-to-8 Decoder
R
7
R
6
R
5
R
4
R
3
R
2
R
1
R/2
vOUT
Page X.2-4
kRminVREF
( 2N-k) R max + kR min
The difference between the ideal and worst case voltages is,
Vk
Vk'
kRmin
kR
=
VREF VREF
2NR ( 2N-k) R max + kR min
Assuming that this difference should be less than 0.5 LSB gives,
kRmin
kR
0.5
<
2NR ( 2N-k) R max + kR min
2N
Expressing Rmax as R+0.5R and Rmin as R-0.5R and assuming the
worst case occurs midway in the resistor string where k=0.5( 2N) and
assuming that 5 micron polysilicon has a 2% relative accuracy gives,
0.5(R- 0.5R)
1 R
1
0 . 5 - 0.5(R + 0.5R) + 0.5(R- 0.5R) = 4 R < 2 2-N
R
1
<
N-1
R
2
or
Page X.2-5
A
2R
2R
B
2R
2R
b1
b0
2R
b2
2R
b N-1
bN
+
-
Equivalent circuit at A:
R
b0 VREF +
2
-
Equivalent circuit at B:
R
+
-
b0 VREF
2
B
2R
+
b1 VREF
-
( b4 + b2 )V
0
=
-
B
1
REF
+
-
b0
2N
Q
R
b1
b2
b
+ N-1
+ N-2
+...+ N-1 VREF
2
2
2
vOUT
R
-
sign bit
bN
VREF
VREF
Page X.3-1
C
2N-2
C
4
C
2N-1
v OUT
C
2
N-1
SN-1
SN-2
SN-3
S1
S0
Terminating
capacitor
VREF
Operation:
1.) During 1, all capacitors are discharged.
2.) During 2 , capacitors with bi = 1 are connected to VREF and
capacitors with bi = 0 are grounded.
3.) The resulting output voltage is,
bN-1C b N-2 C/2 b N-3 C/4
b 0 C / ( 2N-1)
vOUT = VREF 2C +
2C +
2C + ... +
2C
Ceq.
vOUT
VREF
-
2C-Ceq.
Page X.3-2
Four-Quadrant Operation:
If VREF can have values, then a full, four quadrant DAC can be
obtained.
Multiplying DAC:
If VREF is an analog signal (sampled and held), then the output is the
product of a digital word and an analog signal and is called a multiplying
DAC (MDAC).
Page X.3-3
vOUT v 'O U T
VREF - VREF
C(min)
1
= 2 - C
(max) - C (min)
1
2C
2N
C
2C
2-N
C
1
C
2N-1
Page X.3-4
MSB Array
-
+
1pF
2pF
8pF
4pF
16pF
32pF 1pF
2pF
4pF
8pF
16pF
32pF
v OUT
64pF
1pF
b0
b1
b0
b2
b1
b3
b2
b4
b3
b5
b4
b6
b6
b5
b8
b7
b9
b7
b8
b 11
b 10
b9
b 10
b12
b 11
b 12
+VREF
-VREF
VL =
i=0
b iCi VREF
64
12
bi Ci VREF
i=6
127
VR =
An equivalent circuit1
64
1
+ C = 1 C = 63 1.016
64
+
1.016pF
64pF
vOUT
127pF
VR
VL
-
1
127
= 128 V R + 128 VL
12
VR =
biVREFCi
127
and VL=
i=6
or
63
1
1
+ 64
64
127
= 1
V
+
R
63
1
63
1 VL
1
+ 64 + 127
+ 64 + 127
64
64
12
VREF
vOUT = 128
i=6 b iC i
biVREFCi
64
i=0
biCi
+ 64
i=0
Page X.3-5
VREF
b b
1 0 0
b b b b b b b b b b
1 1 1
1 2 2
1 3 3
1
1 5 5
4 4
b b
1 6 6
b b
1 7 7
C
8
C
4
C
2
C
4
C
2
C
8
C
8
2C
v OUT
Page X.4-1
R(2M-1)
SF
v OUT
R(2M-2)
R(2M-3)
Ck-1
C k-2
2k-1 C
k-2
C1
2C
C0
C
M=4
k=8
SA
R1
SB
A
S(k-1)A
S(k-2) A
S1A
S0A
S(k-1)B
S(k-2) B
S1B
S0B
R0
Advantages:
Resistor string is inherently monotonic so the first M bits are
monotonic.
Can remove voltage threshold offsets.
Switching both busses A and B removes switch imperfections.
Can make tradeoffs in performance between the resistors and
capacitors.
Example with 4 MSB's voltage scaling and 8 LSB's charge scaling:
Page X.4-2
REF
2C
vOUT
+
2-MV
2k-2 C
S k,A
S k-1,A
S 2A
SA
S k,B
S k-1,B
S 2B
SB
+
V 'REF
2KC - Ceq.
vOUT
-
+
V 'REF
-
M+K-1
vOUT =
bi2-(M+K-i) VREF
i=0
Page X.4-3
2 N-2C
2 N-3C
VREF
4C
2C
VREF
Switch network
MSBs
R
LSBs
Page X.5-1
S2
VREF
S3
+
VC1
-
C1
Precharge C1
to ground if
bi = "0"
C2
+
VC2
-
Initially
discharge S4
C1 = C2
b0 = LSB
b1 = NLSB
.
.
.
bN = MSB
Conversion sequence:
4 Bit D/A Converter
INPUT WORD: 1101
1
13/16
3/4
13/16
3/4
Comments:
LSB must go first.
n cycles to make an n-bit D-A conversion.
Top plate parasitics add error.
Switch parasitics add error.
Page X.5-2
1/2
1/2
1/2
-1
b0
-1
b1
LSB
bN-1
MSB
VREF
bN-2
b0
bN-1
where bi = 1 or 0
Approaches:
1.) Pipeline with N cascaded stages.
2.) Algorithmic.
vOUT(z) =
bi z-1VREF
1 - 0.5z - 1
-1
vOUT
Page X.5-3
(Bit "1")
B
Sample
and
hold
VOUT
(Bit "0")
1
2
Assume that the digital word is 11001 in the order of MSB to LSB. The
steps in the conversion are:
1.) VOUT(0) is zeroed.
2.) LSB = 1, switch A closed,
VOUT (1) = VREF .
3.) Next LSB = 0, switch B closed,
VOUT(2) = 0 + 0.5VREF
VOUT (2) = 0.5V REF .
4.) Next LSB = 0, switch B closed,
VOUT (3) = 0 + 0.25VREF
VOUT (3) = 0.25VREF.
5.) Next LSB = 1, switch A closed,
VOUT(4) = VREF + (1/8)VREF
VOUT(4) = (9/8)VREF .
6.) Finally, the MSB is 1,
switch A is closed, and
VOUT(5) = VREF + (9/16)VREF
VOUT(5) = (25/16)VREF
7.) Finally, the MSB+1 is 0 (always last cycle),
switch A is closed, and
VOUT(6) = (25/32)VREF
Page X.6-1
Digital
Processor
x(t)
Filtering
Sampling
Quantization
Digital Coding
y(kTN)
Page X.6-2
111
110
Normal
quantized
value
( 1/2 LSB)
101
100
Ideal
transition
011
010
Ideally
quantized
analog
input
1 LSB
001
0
000
1
8
1 FS
8
2
8
3
8
4
8
5
8
6
8
7
8
2 FS 3 FS 4 FS 5 FS 6 FS 7 FS
8
8
8
8
8
8
Normal quantized value ( LSB)
FS
Page X.6-3
Offset
error
111
111
110
Ideal
110
101
100
011
101
100
011
010
010
001
001
000
1 FS
4
1 FS
2
3 FS
4
Gain error
000
FS
Ideal
1 FS
4
1 FS
2
3 FS
4
Offset Error
111
111
110
110
FS
Ideal
101
100
Ideal
011
Nonlinearity
010
100
Missed
codes due to
excessive
differential
nonlinearity
011
010
001
000
101
001
1 FS
4
1 FS
2
3 FS
4
Integral Nonlinearity
000
FS
1 FS
4
1 FS
2
3 FS
4
Differential Nonlinearity
FS
Page X.6-4
S-H command
Sample
Hold
Hold
Amplitude
ta
ts
S*
S(t)
S*
S(t)
t
Tsample = ts + ta
ta = acquisition time
ts = settling time
tADC = time for ADC to convert analog input to digital word.
Conversion time = ts + ta + tADC.
kT
Noise = C V 2 (rms)
Page X.6-5
vO
A1
+
vI
CH
Improved
vO
A2
+
A1
+
vI
CH
Waveforms
v0(t)
Volts
v1(t),v0(t)
v1(t)
Switch
closed
(sample)
Switch
open
(hold)
Switch
closed
(sample)
Page X.7-1
vIN*
NT
NT
+
Ramp
generator
VREF
vr
Output
counter
vr
vIN*
Reset
Output
0
NT
Interval
counter
f= 1
T
clock
Simplicity of operation
Page X.7-2
Positive
integrator
-VREF
vint
Vth
+
-
Digital
control
Counter
Binary
output
Operation:
1.) Initially vint = 0 and vin is sampled and held (Vin* > 0).
2.) Reset by integrating until vint(0) = Vth.
3.) Integrate Vin* for Nref clock cycles to get,
NrefT
*
*
vint(t1) = vint (NrefT) = k Vin dt + vint(0) = kNrefTVin + Vth
0
*
4.) The Carry Output on the counter is used to switch the integrator from Vin to -V REF.
Integrate until vint is equal to Vth resulting in
NoutT + t1
Page X.7-3
vin
V'''in
V''in
V'in
Vth
0
t1 = NrefT
Reset
t0 (start)
t'2
t''2
t'''2
t2 = Nout T
Page X.7-4
C2
2
2
+
+
v2 (t)
Operation:
Assume non-overlapping clocks 1 and 2. During 1, C1 is charged to v1[ ( n-1) T]
giving a charge of q1[ ( n-1) T] on C1. During 2, the charge across C1 is added to the charge
already on C2 which is q2[ ( n-1) T] resulting in a new charge across C2 designated as
q2( nT) . The charge equation can be written as,
q2( nT) = q2[ ( n-1) T] + q1[ ( n-1) T]
or
C2v2( nT) = C2 v2 [ ( n-1) T] + C1 v1 [ ( n-1) T]
Using z-domain notation gives
C2v2(z) = C2z-1v2(z) + C1z-1v1(z)
or
v2(z) C1 z-1
H(z) = v (z) =
C2 1 - z-1
1
Page X.7-5
-jT
C1
C1 e
2
=
H(ejT) =
T
T
C2 j
C2 1 - e-jT
e 2 - e-j2
o ( /2)
j sin( /2)
exp( -j/2)
Mag. error
Phase error
ejx - e-jx
2j
o
j
1
if f << fc = T
Page X.7-6
c
2
T 2f f
= 2f = f =
2
c
c c
Log Plot10
T
o
2
sin T
2
H(ejt ) dB 0
o =0.5c
o
-10
0.1
4 5
Linear Plot10
8
6
T
o
2
sin T
2
H(ejt )
4
0.5
1.5
2.5
3.5
Page X.7-7
C2
2
1
v1 (t)
+
+
v2 (t)
-
jT
)-
o
j
, if f << fc = 1/T
t
2
vout
t
Slew Rate
Settling Time
Page X.8-1
Conditional
gate
Input
Comparator
Output
register
D/A
Converter
Shift
register
Reference
Clock
Output
End of
conversion
Start
Successive Approximation Process:
vo
VREF
0.5VREF
t
T
Page X.8-2
R1
R2
R3
2K-1C
2C
A
B
SA
SB
R 2 M-1
R2 M
Capacitor switches
V*in
Resistor
switches
Clock
start
Operation:
1.) With SF closed, the bottom plates of all capacitors are connected through switch SB to
Vin*. (Automatically accounts for voltage offsets).
2.) After SF is opened, a successive approximation search among the resistor string taps to
find the resistor segment in which the stored sample lies.
3.) Buses A and B are then connected across this segment and the capacitor bottom plates
are switched in a successive approximation sequence until the comparator input
voltage converges back to the threshold voltage.
Capable of 12-bit monotonic conversion with a DL of 0.5LSB within 50s.
Page X.8-3
V*in
Data storage
register
S2 precharge
Vref
Serial
D/A
converter
(Fig. 10.3-1)
Start
S3 discharge
S1 charge share
S4 reset
D/A control
register
Sequence and
control logic
Clock
Shift left
Parallel data transfer
Shift right
Conversion Sequence:
1.)
2.) Assume (K + 1)th MSB is 1 and compare this analog output with Vin* to
determine aN-K.
3.)
Page X.8-4
S2
VREF
S3
+
VC1
-
C1
Precharge C1
to ground if
bi = "0"
C2
+
VC2
-
Initially
discharge S4
C1 = C2
b0 = LSB
b1 = NLSB
.
.
.
bN = MSB
Conversion sequence:
4 Bit D/A Converter
INPUT WORD: 1101
1
13/16
3/4
13/16
3/4
Comments:
LSB must go first.
n cycles to make an n-bit D-A conversion.
Top plate parasitics add error.
Switch parasitics add error.
Page X.8-5
1
3
4
1
2
vc1 /Vref
1
4
0 1 2 0 1
1 bit
2 3 4 0 1
2 bits
2 3 4 5 6 0 1
3 bits
2 3 4 5 6 7 8
t/T
4 bits
1
3
4
1
2
vc2 /Vref
1
4
0 1 2 0 1
2 3 4 0 1
2 3 4 5 6 0 1
2 3 4 5 6 7 8
t/T
Page X.8-6
bi
LSB
+ -
+ -
+ -
V*in
vi-1
z-1
Vref
ith stage
Vi = 2Vi-1 - biVref
bi = +1 if Vi-1 > 0
where b = -1 if V < 0
i
i-1
A
V
VN = i in Aj bi + bN Vref
i=1
i=1 j=i+1
where Ai and bi are the gain and bit value of the ith stage
vi
z-1
Page X.8-7
-VREF
1
3/4
1
3/4
1
3/4
1/2
1/4
1/2
1/4
1/2
1/4
-1/4
-1/2
-1/4
-1/2
-1/4
-1/2
-1/4
-1/2
-3/4
-1
-3/4
-1
-3/4
-1
-3/4
-1
B=1
B=1
x2
-VREF
1
3/4
1/2
1/4
x2
B=0
+VREF
B=1
Example 2
1
3/4
1/2
3/4
1/2
3/4
1/2
1/4
0
1/4
0
-1/4
-1/2
-3/4
-1
-VREF
1
3/4
1/2
1/4
0
1/4
0
-1/4
-1/4
-1/4
-1/2
-3/4
-1/2
-3/4
-1/2
-3/4
x2
-1
B=0
x2 -VREF
-1
B=1
x2
+VREF
-1
B=0
B=1
Page X.8-8
bi+1 =+1
-1
-.5
.5
bi+1 =-1
-1
bi =-1
bi ,bi+1
[00]
bi =+1
[01]
[10]
[11]
1.) bi+1 must change at 0, and 0.5Vref. (when Vi-1=0 and 0.5Vre f)
2.) bi must change at Vi=0.
3.) Vi cannot exceed Vref.
4.) Vi should not be less than Vref when Vi-1=Vref.
Vi-1
Vref
Page X.8-9
IDEAL PERFORMANCE
Example
Assume V in* = 0.4V and Vref = 1V
Input to the ith stage, Vi-1
Stage i
Vi-1 > 0?
Bit i
0.4
Yes
2(0.4000)-1 = -0.200
No
2(-0.200)+1 = +0.600
Yes
2(+0.600)-1 = +0.200
Yes
b(i)
v(i+1)
b(i+1)
v(i+2)
b(i+2)
v(i+3)
b(i+3)
v(i+4)
b(i+4)
v(i+5)
-1
-0.9
-0.8
-0.7
-0.6
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1
1
1
1
1
1
1
1
1
1
1
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
-1
-1
-1
-1
-1
1
1
1
1
1
-1
-1
-1
-1
-1
1
1
1
1
1
1
-1
-0.6
-0.2
0.2
0.6
-1
-0.6
-0.2
0.2
0.6
-1
-0.6
-0.2
0.2
0.6
-1
-0.6
-0.2
0.2
0.6
1
-1
-1
-1
1
1
-1
-1
-1
1
1
-1
-1
-1
1
1
-1
-1
-1
1
1
1
-1
-0.2
0.6
-0.6
0.2
-1
-0.2
0.6
-0.6
0.2
-1
-0.2
0.6
-0.6
0.2
-1
-0.2
0.6
-0.6
0.2
1
-1
-1
1
-1
1
-1
-1
1
-1
1
-1
-1
1
-1
1
-1
-1
1
-1
1
1
-1
0.6
0.2
-0.2
-0.6
-1
0.6
0.2
-0.2
-0.6
-1
0.6
0.2
-0.2
-0.6
-1
0.6
0.2
-0.2
-0.6
1
-1
1
1
-1
-1
-1
1
1
-1
-1
-1
1
1
-1
-1
-1
1
1
-1
-1
1
-1
0.2
-0.6
0.6
-0.2
-1
0.2
-0.6
0.6
-0.2
-1
0.2
-0.6
0.6
-0.2
-1
0.2
-0.6
0.6
-0.2
1
Page X.8-10
1
0.8
Inputs (Volts)
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-1
0
0.2
VIN
(Volts)
0.4
0.6
0.8
Page X.8-11
k3
Vi-1
k2
+
+
+
bi Vref
k1
+
+
k4
i-1
3
OCi
k5
+
Vi
Page X.8-12
A
V
+
i in AjVOSi + VOSN
i=1
i=1 j=i+1
VN =
N-1 N
i=1 j=i+1
VN = A NVin +
( AN-i) VOS
i=1
N N-i
- V ref( A ) Asbi
i=1
( 2N-i) bi
i=2
Page X.8-13
Identification of Errors
1. Gain Errors
2N( A/A) < 1
N=10
A
1
<
A
1000
2A
A
2A
1A
1+
bi+1 =+1
-1
bi+1 =-1
-1
bi =-1
bi =+1
Vi-1
Vref
Page X.8-14
Vref
2N
1+VOS
bi+1 =+1
-1
bi+1 =-1
-1
bi =-1
bi =+1
Vi-1
Vref
Page X.8-15
-1
-0.5
0.5
Vi-1
Vref
-1+As /As
-1-As /As
Page X.8-16
i-1
OCi
bi+1 =+1
-1-1
-0.5
0.5
bi+1 =-1
bi =-1
bi =+1
VOC = ?
Vi-1
Vref
Page X.8-17
SUMMARY
1.) The 1-bit/pipe, pipeline converter which uses standard components including a sample
and hold, an amplifier, and a comparator would be capable of realizing at most an 8 or 9 bit
converter.
2.) The accuracy of the gains and offset of the first stage of an N-Bit converter must be
within 0.5LSB.
3.) The accuracy of the gains and offset of a stage diminishes with the remaining number
of stages to the output of the converter.
4.) Error correction and self-calibrating techniques are necessary in order to realize the
potential resolution capability of the 1-bit/'stage pipeline ADC.
Page X.8-18
X2
+1
Sample
and
hold
+Vref
+1
-Vref
Practical implementation:
Comparator
Va
X2
+Vref
Sample
and
hold
Vb
S1
Vin
+1
-1
+
-
Vo
Vo = "1"
+Vref
Vo = "0"
Page X.8-19
Vanalog = 0.78125VREF.
Va/VREF
Vb /VREF
2.0
2.0
1.6
1.6
1.2
1.2
0.8
0.8
0.6
0.4
0.4
0.2
t
T
t
T
Practical Converter
12 Bits
Differential linearity of 0.019% (0.8LSB)
Integral linearity of 0.034% (1.5LSB)
Sample rate of 4KHz.
Page X.8-20
Page X.8-21
SELF-CALIBRATING ADC's
S1
MAINDAC
COMP
CN
CN-1
C1B
C1A
CCAL
TO SUCCESIVE
APPROXIMATION
REGISTER
Vref
GND
REGISTER
CALIBRATION
DAC
SUBDAC
SUCCESSIVE
APPROXIMATION
REGISTER
ADDER
DATA REGISTER
CONTROL
LOGIC
VN
VN-1
DATA OUTPUT
Page X.8-22
Self-Calibration Procedure
During calibration cycles, the nonlinearity factors caused by capacitor mismatching are
calibrated and stored in the data register for use in the following normal conversion cycles.
The calibration procedure begins from MSB by connecting CN to VREF and the
remaining capacitors CNX to GND, then exchange the voltage connection as follows:
VX
CN
VX
CNX
CN
VREF
CNX
VREF
CNX - CN
CNX + C N
Page X.8-23
Page X.9-1
Page X.9-2
VREF
R
7 VREF
8
+
R
6 VREF
8
+
-
R
5 VREF
8
+
R
4 VREF
8
+
R
2 VREF
8
+
R
R
1 VREF
8
R
3 VREF
8
Digital
decoding
network
Output
digital
word
101
Page X.9-3
N-bit A/D
T2
S/H
Vin
N-bit A/D
.
..
Digital
word
out
TM
S/H
N-bit A/D
T2
TM
T1 + TC T2 + TC
TM + TC
Page X.9-4
320
160
FLASH
80
5
Succ. Approx.
Array
(m- WAY)
40
3
20
10
# of bits
Page X.9-5
V*in
V*in
Vref
Vref
+
+
-
Digital
decoding
network
+
-
Digital
decoding
network
D/A
Converter
2M - 1
equal
resistors
and
comparators
M MSB's
2M - 1
equal
resistors
and
comparators
M LSB's
Page X.9-6
V*in
1
+
0
+
1
+
0
+
Page X.10-1
x(t)
Filtering
Sampling
Oversampling ADC Block Diagram
x(t)
Filtering
Sampling
Quantization
Digital Coding
Modulator
Decimation
Filter
Quantization
Digital Coding
The anti-aliasing filter at the input stage limits the bandwidth of the input signal and
prevents the possible aliasing of the following sampling step. The modulator pushes the
quantization noise to the higher frequency and leaves only a small fraction of noise energy
in the signal band. A digital low pass filter cuts off the high frequency quantization noise.
Therefore, the signal to noise ratio is increased.
y(kTN)
y(kTN)
Page X.10-2
ANTI-ALIASING FILTER
The anti-aliasing filter of an oversampling ADC requires less effort than that of a
conventional ADC. The frequency response of the anti-aliasing filter for the conventional
ADC is sharper than the oversampling ADC.
Conventional ADC's Anti-Aliasing Filter
fB
f
fN/2
fS=fN
fB
f
fN/2
fN
fS/2
fS
fB : Signal Bandwidth
fN : Nyquist Frequency, fN = 2fB
fS : Sampling Frequency and usually fS >> fN
fS
M : Oversampling ratio, M = f
N
So the analog anti-aliasing filter of an oversampling ADC is less expensive than the
conventional ADC. If M is sufficiently large, the analog anti-aliasing filter is simply an RC
filter.
Page X.10-3
QUANTIZATION
Conventional ADC's Quantization
The resolution of conventional ADCs is determined by the relative accuracy of their
analog components. For a higher resolution, self-calibration technique can be adopted to
enhance the matching accuracy.
Multilevel Quantizer:
output (y)
5
3
ideal curve
-6
-4
-2
1
-1
-3
input (x)
y=Gx+e
-5
e
1
x
-1
Page X.10-4
sampled noise is
2
E(f) = erms f
S
1/2
= erms 2
where
= 1/fS and fS = sampling frequency
The inband noise energy no is
fB
2
e
2f
2
B
2 2
rms
2
no =
E (f)df = e rms (2fB) = erms f = M
S
0
erms
no =
M
fS
The oversampling ratio M = 2f
B
Therefore, each doubling of the sampling frequency decreases the in-band noise
energy by 3 dB, and increases the resolution by 0.5 bit. This is not a very efficient method
of reducing the inband noise.
Page X.10-5
OVERSAMPLING ADC
fS
analog fB
input
MODULATOR
fD
LOW-PASS
2fB
FILTER
digital
PCM
DECIMATOR
Page X.10-6
Sigma-Delta () Modulator
First Order Modulator
The open loop quantizer in a conventional ADC can be modified by adding a closed
loop to become a modulator.
fS
x(t)
Integrator
yi
A/D
D/A
Modulator Output
input signal
Amplitude (V)
modulator
output
0.5
Time (ms)
Page X.10-7
First-Order Modulator
gn
xn
wn+1
Delay
wn
yn
en
Quantizer
Accumulator
yn = wn + en
(1)
wn+1 = gn + wn = xn - yn + wn
= xn -(wn + en) + wn = xn - en
(2)
Therefore, wn = xn-1 - en-1, which when substituted into (1) gives
yn = xn-1 + ( en - en-1)
The output of modulator yn is the input signal delayed by one clock cycle xn-1,
plus the quantization noise difference en - en-1. The modulation noise spectrum density of
en - en-1 is
signal baseband
N(f) = E(f) 1 - z-1 = E(f) 1 - e-j = 2E(f) sin 2 = 2e rms 2 sin 2
Plot of Noise Spectrum
2
N(f)/E(f)
1.5
N(f)
E(f)
0.5
0
0
fB
Frequency
fS
2
Page X.10-8
fB
2
2
2
df
2e
no =
N(f)
2
sin
df
=
rms
2
0
0
fB
2
2
no = 2erms 2 (f) df
0
2f
f
where sin 2 = sin = sin f
2fS
f S
if fS >> f
Therefore,
fB
2
erms2(2fB)3
2
2
f 2 df =
no (2)32 erms
3
0
where , fS >> fB
Thus,
no = erms
Each doubling of the oversampling ratio reduces the modulation noise by 9 dB and
increase the resolution by 1.5 bits.
Page X.10-9
1
z-1
Vout(z) = e rms + z-1 [Vin(z)
Vout(z)]
or
z-1
Vout(z) = z erms if Vin(z) = 0 Vout(z) = (1-z-1)erms
2
|N(f)| = E(f) 1 - e-j = 2E(f) sin 2 = 2
erms sin 2
fS
The noise power is found as
fB
fB
2f
2
2
2
|N(f)|2 df = 2
no(f) =
erms sin2 2 df
fS
0
0
2f
Let sin 2 f if fS >> fB. Therefore,
fB
2
2
2
82 2 fB 3
f2 df =
no(f) = 4 f erms ()2
3 erms fS
S
0
or
3/2
VREF
fB
8
10
no(f) =
erms f
3
2
S
Solving for fB/fS gives (using in erms term is equal to VREF)
fB 12 3 1 2/3
= [0.659x10-3]2/3 = 0.007576
=
fS 8 210
fB = 0.00757610MHz = 75.76kHz.
Page X.10-10
Decimator (down-sampling)
The one-bit output from the modulator is at very high frequency, so we need a
decimator (or down sampler) to reduce the frequency before going to the digital filter.
fS
analog fB
input
fD
MODULATOR
Removes the
modulation noise
from modulator
xn
LOW-PASS
2fB
FILTER
digital
PCM
DECIMATOR
Removes the
out-of-band
components
of the signal
to low-pass filter
yn
REGISTER
fS
fS
1 N
yn = N xn , where N =
= down-sampling ratio
fD
N=0
The transfer function of decimator is
N-1
1 1 - z-N
Y(z) 1
H(z) = X(z) = N z-i = N
1 - z-1
i=0
sinc(fN)
H(ej) =
sinc(f)
Page X.10-11
Quantization Noise
Signal
Bandwidth
Magnitude (dB)
-10
-20
-30
-40
-50
fD
Frequency
fS
2
Page X.10-12
analog fB
input
fD
MODULATOR
Magnitude (dB)
-20
-50
-80
-110
LOW-PASS
2fB
FILTER
digital
PCM
DECIMATOR
4000
Frequency (Hz)
Page X.10-13
Magnitude (dB)
signal
-50
-150
-100
quantization noise
1000
Frequency (Hz)
Bit resolution
From the frequency response of above diagram, the signal-to-noise ratio (SNR)
signal
SNR = 10log 10 f
(dB)
B
noise(f)
f=0
and
Bit resolution (B)
SNR(db)
6dB
Page X.10-14
digital
PCM
FILTER
Frequency
2fB
Frequency
Frequency
Time
Time
MODULATOR
analog fB
input
fS
DECIMATOR
fD
LOW-PASS
Page X.10-15
Second-Order Modulator
Second order modulator can be implemented by cascading two first order
modulators.
INTEGRATOR 2
INTEGRATOR 1
xn
DELAY
A/D
+
+
+
+
+
+
DELAY
D/A
QUANTIZER
yn = xn-1 + (en - 2en-1 + en-2)
The output of a second order modualtor yn is the input signal delayed by one
clock cycle xn-1, plus the quantization noise difference en - 2en-1 + en-2. The modulation
noise spectrum density of en - 2en-1 + en-2 is
2
2
N(f) = E(f) 1 - z-1 = E(f) 1 - e-j = 4E(f) sin2 2
Noise Spectrum
signal baseband
N(f)/E(f)
E(f)
1
fB
Frequency
fS
2
yn
Page X.10-16
2 -5/2
no = e rms
M
=
M
=
( M) -5/2 , fs >> fo
12 5
5
2 15
Each doubling of the oversampling ratio reduces the modulation noise by 15 dB and
increase the resolution by 2.5 bits.
Higher-Order Modulators
Let L = the number of loops. The spectral density of the modulation can be written
as
L
| NL(f)| = e rms 2 2sin 2
The rms noise in the signal band is given approximately by
L
no erms
(2fB) L+0.5
2L+1
This noise falls 3(2L+1) dB for every doubling of the sampling rate providing L+0.5 extra
bits.
Decimation Filter
sinc(fN) L+1
is close to being optimum for decimating the
A filter function of
sinc(f)
signal from an Lth-order modulator.
Stability
For orders greater than 2, the loop can become unstable. Loop configuration must
be used that provide stability for order greater than two.
Page X.10-17
4
12
t
2
sin2 4
fs
where is the signal level out of the 1-bit quantizer and fs = (1/) = the
sampling frequency and is 10MHz. Find the signal bandwidth, fB, in Hz if
the modulator is to be used in an 18 bit oversampled ADC. Be sure to state
any assumption you use in working this problem.
Page X.10-18
S1
S2
C1
C2
C2
S3
S4
IN
S1
-
S2
C1
S3
S4
+ S1
C1
S2
S4
S3
+ S1
C2
C1
S2
OUT
S4
S3
C2
V-REF
V+REF
2.
Linear Errors
Gain and delay
3.
Nonlinear Errors
Harmonic distortion
Thermal noise
Page X.10-19
Page X.10-20
Speed
INL/DNL
(LSB's)
Area
Power
(mW)
Flash
2N-1
Yes
Low
High
N/A
Largest
Largest
Two-Step
Flash
31
Yes
10 bits
5Ms/s
3/0.6
350
1 after
initial
delay
Yes
13 bits
250ks/s 1.5/0.5
54k
mils2
3600
mils2
64
Yes
16 bits
24kHz
75.3k
mils2
110
Pipeline
Oversampling
91dB
15
Page X.11-1
(1)
V ref
equal to kT/C noise of the switch,
2N
kT
C
(2)
= 10kTRfc
2N f c =
Vref
10kRT
(3)
Page X.11-2
sin 1- 2 GBt +
A(0)
2
1-
Settling
Time
0
n t
12
16
20
1-2
Page X.11-3
Analog
In
Analog-todigital
converter
Digital
Out
dvin
V = slope x T = dt T
Vref/2N
V
T = Aperature uncertainty = dV = dv /dt
in
in
dt
Assume that vin(t) = Vp sin t
dvin
dt = V p
max
T =
Therefore, T =
Vref
Vref
1
1
x
=
V p 2NVref 2 N
2N
1
1
=
2f2N f2N+1
1
= 6.22ns
200Kx29
6.22ns
622ppm
Clock accuracy = 10,000ns = 0.06% =
?
Slope = dvin
dt
t
Page X.12-1
A/D Architecture
Serial
1
= 2N T
fc
Successive
Approximation
1
fc NT
High Speed
1
T < f < NT
c
Oversampling
1
<< T
fc
Conclusions
Both resolution and speed are ultimately limited by the accuracy of the
process