Escolar Documentos
Profissional Documentos
Cultura Documentos
c
+1
=
A
v
(0)
s
c
+1
- Slew rate (nonlinear)
T =
CV
I
(I constant) =
V
SlewRate
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-14
CMOS Analog Circuit Design P.E. Allen - 2010
SAMPLE AND HOLD CIRCUITS
Requirements of a Sample and Hold Circuit
The objective of the sample and hold circuit is to sample the unknown analog signal and
hold that sample while the ADC decodes the digital equivalent output.
The sample and hold circuit must:
1.) Have the accuracy required for the ADC resolution, i.e. accuracy =
100%
2
N
2.) The sample and hold circuit must be fast enough to work in a two-phase clock. For an
ADC with a 100 Megasample/second sample rate, this means that the sample and hold
must perform its function within 5 nanoseconds.
3.) Precisely sample the analog signal at the same time for each clock. An advantage of
the sample and hold circuit is that it removes the precise timing requirements from the
ADC itself.
4.) The power dissipation of the sample and hold circuit must be small. Unfortunately,
the above requirements for accuracy and speed will mean that the power must be
increased as the bits are increased and/or the clock period reduced.
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-15
CMOS Analog Circuit Design P.E. Allen - 2010
Sample-and-Hold Circuit
Waveforms of a sample-and-hold
circuit:
Definitions:
Acquisition time (t
a
) = time required
to acquire the analog voltage
Settling time (t
s
) = time required to
settle to the final held voltage to within
an accuracy tolerance
T
sample
= t
a
+ t
s
Maximum sample rate = f
sample
(max) =
1
T
sample
Other consideratons:
Aperture time= the time required for the sampling switch to open after the S/H
command is initiated
Aperture jitter = variation in the aperture time due to clock variations and noise
Types of S/H circuits:
No feedback - faster, less accurate
Feedback - slower, more accurate
t
a
t
s
Hold Sample Hold
S/H Command
v
in
*
(t)
v
in
*
(t)
v
in
(t)
v
in
(t)
Time
A
m
p
l
i
t
u
d
e
Fig.10.5-9
Output of S/H
valid for ADC
conversion
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-16
CMOS Analog Circuit Design P.E. Allen - 2010
Open-Loop, Buffered S/H Circuit
Circuit:
+
-
v
in
(t)
v
out
(t)
C
H
Switch
Closed
(sample)
Switch
Open
(hold)
Switch
Closed
(sample)
v
in
(t)
v
out
(t)
v
in
(t), v
out
(t)
v
in
(t), v
out
(t)
Time
A
m
p
l
i
t
u
d
e
Fig.10.5-10
Attributes:
Fast, open-loop
Requires current from the input to charge C
H
DC voltage offset of the op amp and the charge feedthrough of the switch will create dc
errors
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-17
CMOS Analog Circuit Design P.E. Allen - 2010
Settling Time
Assume the op amp has a dominant pole at -c
a
and a second pole at -GB.
The unity-gain response can be approximated as, A(s)
GB
2
s
2
+GBs+GB
2
The resulting step response is, v
out
(t) = 1 -
\
|
|
[
)
j
j
4
3
e
-0.5GBt
sin
\
|
|
[
)
j
j
3
4
GBt+
Defining the error as the difference between the final normalized value and v
out
(t), gives,
Error(t) = r = 1 - v
out
(t) =
4
3
e
-0.5GBt
In most ADCs, the error is equal to 0.5LSB. Since the voltage is normalized,
1
2
N+1
=
4
3
e
-0.5GBt
s
- e
-0.5GBt
s
=
4
3
2
N
Solving for the time, t
s
, required to settle with 0.5LSB from the above equation gives
t
s =
2
GB
ln
\
|
|
[
)
j
j
4
3
2
N
=
1
GB
[1.3863N + 1.6740]
Thus as the resolution of the ADC increases, the settling time for any unity-gain buffer
amplifiers will increase. For example, if we are using the open-loop, buffered S/H circuit
in a 10 bit ADC, the amount of time required for the unity-gain buffer with a GB of 1MHz
to settle to within 10 bit accuracy is 2.473s.
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-18
CMOS Analog Circuit Design P.E. Allen - 2010
Open-Loop, Switched-Capacitor S/H Circuit
Circuit:
+
-
1d
2
v
in
(t)
v
out
(t)
C
+
-
1d
2
v
in
(t) v
out
(t)
C
+
-
C
2
1
1d
+
-
+
-
Fig.10.5-11
Switched capacitor S/H circuit.
Differential switched-capacitor S/H
Delayed clock used to remove input dependent feedthrough.
Differential version has lower PSRR, cancellation of even harmonics, and reduction of
charge injection and clock feedthrough
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-19
CMOS Analog Circuit Design P.E. Allen - 2010
Open-Loop, Diode Bridge S/H Circuit
Diode bridge S/H circuit:
V
DD
060927-01
v
IN
(t) v
OUT
(t)
C
H
I
B Clock
I
B Clock
v
IN
(t) v
OUT
(t)
C
H
r
d r
d
r
d
r
d
R
ON
=
r
d
Sample phase - diodes
forward biased.
v
IN
(t) v
OUT
(t)
C
H
R
OFF
=
Hold phase - diodes
reversed biased.
D1 D2
D3
D4
Blowthru Capacitor
MOS diode bridge S/H circuit:
V
DD
060927-02
v
IN
(t) v
OUT
(t)
C
H
I
B Clock
I
B Clock
v
IN
(t) v
OUT
(t)
C
H
g
m
R
ON
= 1/
g
m
Sample phase - MOS
diodes forward biased.
v
IN
(t) v
OUT
(t)
C
H
R
OFF
=
Hold phase - MOS
diodes reversed biased.
1
g
m
1
g
m
1
g
m
1
M1 M2
M3 M4
Blowthru Capacitor
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-20
CMOS Analog Circuit Design P.E. Allen - 2010
Practical Implementation of the Diode Bridge S/H Circuit
060927-03
I
B I
B
V
DD
V
SS
C
H
v
out
(t)
v
in
(t)
D1
D2
D3 D4 +
-
2I
B
D5
D6
Sample Hold
M1 M2
Practical implementation of the diode bridge
sample and hold (sample mode).
I
B I
B
V
DD
V
SS
C
H
v
out
(t)
v
in
(t)
D1
D2
D3 D4 +
-
2I
B
D5
D6
Sample Hold
M1 M2
2I
B
I
B
I
B
Hold mode.
I
B
2
I
B
2
During the hold mode, the diodes D5 and D6 become forward biased and clamp the upper
and lower nodes of the sampling bridge to the sampled voltage.
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-21
CMOS Analog Circuit Design P.E. Allen - 2010
Closed-Loop S/H Circuit
Circuit:
+
-
+
-
2
C
H
v
out
(t)
v
in
(t)
+
-
+
-
2
C
H
v
out
(t)
v
in
(t)
Fig.10.5-13
Closed-loop S/H circuit.
1
is the sample
phase and
2
is the hold phase.
An improved version.
Attributes:
Accurate
First circuit has signal-dependent feedthrough
Slower because of the op amp feedback loop
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-22
CMOS Analog Circuit Design P.E. Allen - 2010
Closed-Loop, Switched Capacitor S/H Circuits
Circuit:
+
-
v
out
(t) v
in
(t)
1d
2
C
H
+
-
1
2d
1d
2
1d
2d
1d
2d
1d
2
1
C
H
C
H
C
H
C
H
C
H
C
H
v
out
(t)
v
in
(t)
+
-
+
-
1
2d
-
+
070616-02
Switched capacitor S/H circuit
which autozeroes the op amp
input offset voltage.
A differential version that avoids
large changes at the op amp output
New charge (
2
)
Old charge (
2
)
New charge (
2
)
Old charge (
2
)
Attributes:
Accurate
Signal-dependent feedthrough eliminated by a delayed clock
Differential circuit keeps the output of the op amps constant during the
1
phase
avoiding slew rate limits
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-23
CMOS Analog Circuit Design P.E. Allen - 2010
Current-Mode S/H Circuit
Circuit:
V
DD
I
B
C
H
1
2
i
in
i
out
Fig.10.5-15
Attributes:
Fast
Requires current in and out
Good for low voltage implementations
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-24
CMOS Analog Circuit Design P.E. Allen - 2010
Aperature Jitter in S/H Circuits
Illustration:
If we assume that v
in
(t) =
V
p
sint, then the
maximum slope is equal to
V
p
.
Therefore, the value of V
is given as
V =
dv
in
dt
t = V
p
t .
The rms value of this noise is given as
V(rms) =
dv
in
dt
t =
V
p
t
2
.
The aperature jitter can lead to a limitation in the desired dynamic range of an ADC. For
example, if the aperature jitter of the clock is 100ps, and the input signal is a full scale
peak-to-peak sinusoid at 1MHz, the rms value of noise due to this aperature jitter is
111V(rms) if the value of V
REF
= 1V.
Analog-Digital
Converter
Clock
Analog
Input
Digital
Output V
t
v
in
Aperature Jitter = t
Figure10.5-14 - Illustration of aperature jitter in an ADC.
v
in
(t
o
)
t
o
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-25
CMOS Analog Circuit Design P.E. Allen - 2010
DESIGN OF A SAMPLE AND HOLD AMPLIFIER
Specifications
Accuracy = 10 bits
Clock frequency is 10 MHz
Power dissipation 1mW
Signal level is from 0 to 1V
Slew rate 100V/s with C
L
= 1pF
Use 0.25m CMOS
Technology Parameters (C
ox
= 60.6x10
-4
F/m
2
):
Typical Parameter Value Parameter
Symbol
Parameter Description
N-Channel P-Channel
Units
V
T0
Threshold Voltage
(V
BS
= 0)
0.5 0.15 -0.5 0.15 V
K'
Transconductance Para-meter (in
saturation)
120.0 10% 25.0 10%
A/V
2
Bulk threshold
parameter
0.4 0.6
(V)
1/2
Channel length
modulation parameter
0.32 (L=L
min
)
0.06 (L 2L
min
)
0.56 (L=L
min
)
0.08 (L 2L
min
)
(V)
-1
2|
F
|
Surface potential at strong inversion
0.7 0.8 V
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-26
CMOS Analog Circuit Design P.E. Allen - 2010
Op Amp Design
Gain:
Gain error =
1
1+LoopGain
0.5 LSB =
1
2
11
Therefore, the op amp gain 2
11
= 2048 V/V
Choose the op amp gain as 5000 V/V
Gainbandwidth:
For a dominant pole op amp with unity-gain feedback, the relationship between the
gain-bandwidth (GB), accuracy (N) and speed (t
s
) is
t
s
=
N+1
GB
ln(2) = 0.693
N+1
GB
Therefore, if t
s
0.5 T
clock
= 50 ns (choose t
s
= 10 ns). For N = 10, the gain-bandwidth
is
GB = 0.762x10
9
= 120 MHz
Dominant pole is 24 kHz and with an output capacitance of 1pF this means the output
resistance of the op amp must be 6.6 M.
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-27
CMOS Analog Circuit Design P.E. Allen - 2010
Op Amp Design Continued
The previous specifications suggest a
self-compensated op amp. The gain and
output resistance should be easy to achieve
with a cascaded output. A folded-cascode
op amp is proposed for the design. In
order to have the 0-1V signal range, a p-
channel, differential input is selected. This
will give the input 0-1V range. The output
will effectively be 0-1V with the unity gain
feedback around the op amp.
Bias Currents:
The 100V/s slew rate requires I
3
= 100A. Setting I
4
= I
5
= 125A gives a power
dissipation of 0.875mW with V
DD
= 2.5V.
061021-01
V
NB1
M4 M5
I
6
V
PB2
I
4
I
5
V
DD
= 2.5V
I
7
M6 M7
V
NB2
M8 M9
M10 M11
+
v
IN
v
OUT
V
PB1
I
1
I
2
M1 M2
M3
I
3
C
L
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-28
CMOS Analog Circuit Design P.E. Allen - 2010
Op Amp Design Continued
Transistor sizes:
Design M4-M7 to give a saturation voltage of 0.1V with 125A.
W
4
L
4
=
W
5
L
5
=
W
6
L
6
=
W
7
L
7
=
2I
D
K
n
'V
DS
(sat)
2
=
2125
1200.01
200
Since the upper swing is not as important, choose a saturation voltage of 0.25 for M8
M11.
W
8
L
8
=
W
9
L
9
=
W
10
L
10
=
W
11
L
11
=
2I
D
K
p
'V
DS
(sat)
2
=
2125
250.0625
= 160
To get the GB of 120 MHz, this implies the g
m
of M1 and M2 is
g
m
= GBC
L
= (120x10
6
2)(10
-12
) = 762 S
W
1
L
1
=
W
2
L
2
=
g
m
2
2I
D
K
p
'
=
762762
22550
= 232
Let the upper input common mode voltage be 1.5V which gives the W/L of M3 as,
1V = V
SG1
+ V
SD3
= 0.631 + V
SD3
V
SD3
= 0.369V
W
3
L
3
60
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-29
CMOS Analog Circuit Design P.E. Allen - 2010
Op Amp Design Continued
We now need to check the output resistance and the gain to make sure the specifications
are satisfied. Let us choose twice minimum channel length to keep the capacitive
parasitics minimized and not have the output resistance too small. Therefore at quiescent
conditions,
r
ds5
= 133k, r
ds7
= 222k, g
m7
= 1.935mS and r
ds2
= 250k
R
outdown
(r
ds5
||r
ds2
)g
m7
r
ds7
= 37.29M
r
ds9
=r
ds11
= 167k, and g
m11
= 1.697mS
R
outup
r
ds11
g
m9
r
ds9
= 47.33M
R
out
20.86M
The low frequency gain is,
A
v
g
m1
R
out
= 762S20.86M = 15,886 V/V
The frequency response will be as shown:
061023-02
log
10
f
15,886
Gain
5,000
24kHz
120MHz
7.55kHz
1
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-30
CMOS Analog Circuit Design P.E. Allen - 2010
Op Amp Bias Voltages
We also need to design the bias voltages V
NB1
, V
NB2
, V
PB1
and V
PB2
. This can be done
using the following circuit:
Note, the W/L of M3, M4 and M7 will be 6 so that
a current of 10A gives 100A in M3 of the op
amp. Also, W/L of M1 and M5 will be 16 so a
current of 10A gives 125A in M4 and M5 of the
op amp.
If M2 is 4 times larger than M1, which gives a W/L
of 64 for M2. Under these conditions,
I
2
= I
1
=
1
2
1
R
2
R =
10
6
21201610
= 5.1k
The extra 40A brings the power dissipation to
0.975mW which is still in specification.
The W/L of M6 and M8 are designed as follows:
V
GS8
= V
T
+ 2V
ON
V
GS8
- V
T
= 0.2V =
210
120(W
8
/L
8
)
W
8
L
8
= 4.167
V
SG6
= |V
T
| + 2V
ON
V
SG6
- |V
T
| = 0.5V =
210
25(W
6
/L
6
)
W
6
L
6
= 3.20
061021-02
V
DD
V
PB1
V
PB2
V
NB2
V
NB1
M1 M2
M3 M4
M5
M6
M7
M8
R
10A
10A
10A
10A
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-31
CMOS Analog Circuit Design P.E. Allen - 2010
Switch and Hold Capacitor Design
Switch:
Since the signal amplitude is from 0 to 1V, a single NMOS switch should be
satisfactory. The resistance of a minimum size NMOS switch is,
R
ON
(worst case)
1
K
n
'(W/L)(V
GS
-V
T
)
=
10
6
120(1)(1.5-0.5)
= 8.33k
For a C
H
= 1pf, the time constant is 8 ns. This is too close to the 50 ns so let us increase
the switch size to 0.5m/0.25m which gives a time constant of 4ns.
Therefore, the W/L ratio of the NMOS switch is 0.5m/0.25m and the hold capacitor is
1pf.
Check the error due to channel injection and clock feedthrough-
If we assume the clock that rises and falls in 1ns, then a 0.5m/0.25m switch works in
the fast transition region. The channel/clock error can be calculated as:
V
error
= -
WCGDO+
C
channel
2
C
L
V
HT
-
V
3
HT
6UC
L
-
WCGDO
C
L
(V
S
+2V
T
-V
L
)
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-32
CMOS Analog Circuit Design P.E. Allen - 2010
Switch and Hold Capacitor Design Continued
Assuming CGDO is 200x10
-12
F/m we can calculate V
HT
as 0.8131V. Thus,
V
error
=
-
100x10
-18
+0.5(7.57x10
-16
)
1x10
-12
0.8131-
0.105x10
-3
15x10
-3
-
100x10
-18
1x10
-12
(1+1-0) = -0.586mV
For a 1volt signal with 10 bit accuracy, the error must be less than 1LSB which is
0.967mV. The channel/clock error is close to this value and one may have to consider
using a CMOS switch or a dummy switch to reduce the error.
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-33
CMOS Analog Circuit Design P.E. Allen - 2010
Design Summary
At this point, the analog designer understands the weaknesses and strengths of the
design. The next steps will not be done but are listed below:
1.) Simulation to confirm and explore the hand-calculated performance
2.) Layout of the op amp, hold capacitor and switch.
3.) Verification of the layout
4.) Extraction of the parasitics from the layout
5.) Resimulation of the design.
6.) Check for sensitivity to ESD and latchup.
7.) Select package and include package parasitics in simulation.
Lecture 360 Characterization of ADCs and Sample and Hold Circuits (3/29/10) Page 360-34
CMOS Analog Circuit Design P.E. Allen - 2010
SUMMARY
An ADC is by nature a sampled data circuit (cannot continuously convert analog into
digital)
Two basic types of ADCs are:
- Nyquist analog bandwidth is as close to the Nyquist frequency as possible
- Oversampled analog bandwidth is much smaller than the Nyquist frequency
The active components in an ADC are the comparator and the sample and hold circuit
A sample and hold circuit must have at least the accuracy of 100%/2
N
Sample and hold circuits are divided into two types:
- Open loop which are fast but not as accurate
- Close loop which are slower but more accurate
An example of designing a sample and hold amplifier was given to illustrate the
electrical design process for CMOS analog circuits