Escolar Documentos
Profissional Documentos
Cultura Documentos
AR (successive-approximation-register) ADCs
(analog-to-digital converters) are playing an increasingly prominent role in the design of highly
effective data-acquisition systems for automatic
test equipment, instrumentation, spectrum analy
sis, and medical instruments. SAR ADCs make
it possible to deliver high-accuracy, low-power products with
excellent ac performance, such as SNR (signal-to-noise ratio)
and THD (total harmonic distortion), as well as good dc performance.
For optimum SAR-ADC performance, the recommended
driving circuit is an op amp in combination with an RC filter
(Figure 1). Although this circuit commonly drives ADCs, it
has the potential to create circuit-performance limitations. If
you dont properly select the input resistor, RIN, and the input
capacitor, CIN, values, the circuit could produce ADC errors.
Worse yet, it could cause the amplifier to become unstable. If you
ignore the op-amp open-loop output impedance and UGBW
(unity-gain bandwidth), you may run into amplifier-stability
issues.
The optimized ADC-driver circuit in Figure 1 uses an op
amp to separate the ADC from high-impedance signal sources.
The following RC lowpass filter, RIN and CIN, performs functions going back to the op amp and forward to the ADC. RIN
keeps the amplifier stable by isolating the amplifiers output
stage from the capacitive load, CIN. CIN provides a nearly perfect input source to the ADC. This input source tracks the
voltage of the input signal and charges the ADCs input sampling capacitor, CSH, during the converters acquisition time.
In evaluating the circuit in Figure 1, you can determine the
guidelines and constraints for selecting the value of RIN. The
op amps open-loop output resistance, RO, and the UGBW or
the unity crossover frequency, fU, as well as the value of CIN,
govern this issue (Reference 1 and Figure 2). After defining
the design formulas for RIN, you can determine the value of
CIN. The ADCs acquisition time and input sample-and-hold
capacitance, CSH, as well as RIN, influence the value of CIN.
Once you understand how this circuit operates, you can establish the criteria for a stable system and define an appropriate design strategy. A proof of concept uses two sample circuits.
The first is relatively stable; the second is marginally stable.
Op-Amp Stability with R IN and CIN
The ADC in Figure 1 cycles through two stages while converting the input signal to a digital representation. Initially,
the converter must acquire the input signal. After acquiring
VIN
VOP
S1
RS1
S2
CSH
CIN
VSH0
DIANE
140
f0
120
A OL
100
80
VOLTAGE
GAIN 60
(d B)
40
A OL
fU, fCL
20
0
20
A CL
1
10
100
1k
10k
100k
FREQUENCY (Hz)
1M
10M
edn081002ms4296_id 43
10/2/2008 1:31:09 PM
is greater than 20 dB/decade, the amplifier circuit will be marginally stable or completely unstable. For example, if the openloop-gain curve, AOL, is changing at 240 dB/decade, the amplifier circuit is unstable where the slope of the closed-loopgain curve, ACL, is zero at the intersection with the open-loopgain curve.
You can evaluate the stability of the circuit in Figure 1 with
the op amps open-loop-gain function, AOL (Figure 2). The
amplifiers dc open-loop gain is 120 dB. At approximately 7
Hz (f0), the op amps open-loop curve leaves 120 dB and progresses down at a rate of 220 dB/decade. As the frequency increases, this attenuation rate continues past 0 dB. The openloop-gain curve, AOL, crosses 0 dB at approximately 7 MHz
(fU). Because this curve represents a single-pole system, the
crossover frequency, fU, is equal to the amplifiers UGBW. This
plot represents a stable system because the closure rate of the
closed- and open-loop-gain curve is 20 dB/decade.
Figure 3 provides an accurate picture of the amplifiers per140
f0
120
100
20 d B/DECADE
A OL
80
VOLTAGE
60
GAIN
(d B)
A OL
fP
40
fZ
f CL fU
20
40 d B/DECADE
0
A CL
fP =
10
100
f
table 1GSAR-ADC
Worst-case
time
g CL , if Gsettling
CL = GZ20 log
Z > 0 dB,
f
Z K (time-constant multiplier
8
1M
10M
20 d B/DECADE
1k
10k
100k
FREQUENCY (Hz)
(2)
The pole, fP, modifies the open-loop-gain curve of the amplifier by introducing a 220-dB/decade change to the alreadyEquation 3 Equation
4 Equation
5 Equation
6 making
220-dB/decade
slope of the
open-loop-gain
curve,
the slope equal to 240 dB/decade. The added zero at frequency fZ changes the open-loop-gain curve back to 220 dB/
decade.
In the interest of stability, the feffects
of fZ must occur at a
GP =the
20intersect
log P ,frequency of the openfrequency lower than
fU (f
). Figure 4 illustrates
loop- and closed-loop-gain curves
CL
than
fZ the open-loop/closeda condition in which
f
is
higher
GZ = ZGP40 log ,
fP situation, the amplifiloop-intersection frequency, fCL. In this
20
1
(1)
to 12-LSB accuracy)
6.24
10
7.62
12
9.01
Equation 7
10.4
14
16
18
R IN
11.78
RO
.
9
13.17
Note: Using worst-case values, VIN= full-scale voltage, or 2N, and VSH0=0V.
Time (nsec)
120
180
240
300
360
Bin
Histogram
(code)
420
480
540
600
660
720
Frequency (Hz)
0
t ACQ 0
,
K CIN0
2044
2045
2046
4095
4095
4095
4095
4095
4095
4091
4052
4007
4001
3981
4028
2047
43
88
94
114
67
2048
R IN
0
Sigma
0.031242
0.101946
0.145027
0.149778
0.164531
0.126877
Mean
2046
2046
2046
2046
2046
2046
2046.001
2046.011
2046.021
2046.023
2046.028
2046.016
0.2062
0.67284
0.957181
0.988533
1.085904
0.837385
0.000977
0.010501
0.02149
0.022955
0.027839
0.016361
Peak-topeak noise
(code)
Note: Resistance is 66.5V, and input capacitance is 1500 pF for the relatively stable circuit.
edn081002ms4296_id 44
10/2/2008 1:31:09 PM
140
f0
120
100
20 d B/DEC ADE
AO L
80
VOLTAGE 60
GAIN
(d B)
40
A OL
fP
20
40 d B/DEC A D E
0
AC L
10
100
fCL
fZ
fU
20 d B/DECADE
20
1
1k
10k
100k
FREQUENCY (Hz)
1M
10M
Figure 4 The pole and zero pair modify the amplifiers open-loop
gain curve. R IN, RO, and CIN generate the pole, causing a 40-dB/
decade attenuation of the open-loop-gain plot. R IN and CIN generate the zero, which occurs after the frequency of the modified
open-loop/closed-loop intersection
(fCL). 6fig 4
edn0 8 1016ms429
1
.
2(R 0 + R IN )CIN
1
fZ =
.
2R IN CIN
fP =
f
GP =20 log P ,
fU
f
GZ = GP40 log Z ,
fP
f
G CL = GZ20 logg CL , if GZ > 0 dB,
fZ
(3)
(4)
(5)
Equation 7
R IN
RO
.
9
Equation 8
R IN
t ACQ
K CIN
edn081002ms4296_id 46
10/2/2008 1:31:10 PM
60
120
180
240
300
360
Bin
2044
Histogram
(code)
420
480
540
600
660
720
Frequency (Hz)
0
1
0
.
2(R
+
R
)
C
0
IN
0
0 IN
1
4091
fZ =4070
.
2R IN CIN
fP =
2045
2046
3617
2047
465
4095
4095
4084
3707
1708
1370
1654
2230
3278
11
387
2284
2528
2355
1833
817
Equation
60
0 5 Equation
0
103
197
86
32
25
Equation 13
3 Equation0 4
2048
Sigma
0.334518
0.077905
0.031242
0.051765
0.294074
0.537307
0.548346
0.527598
0.514143
0.399682
Mean
2046.12
2046
2046.003
2046.095
2046.608
2046.714
2046.617
2046.463
2046.2
0.341651
1.940889
3.546228
3.619084
3.482145
3.393341
2.637901
0.002686
0.094994
0.608059
0.713553
0.617094
0.463248
0.199512
Peakto-peak
noise
(code)
and
(6)
RO
.
9
Equation 8
R IN
t ACQ
K CIN
edn081002ms4296_id 48
10/2/2008 1:31:11 PM
1
.
2(R 0 + R IN )CIN
1
fZ =
.
2
R
IN CIN
edn 081016 MS4296 equations
(1 8)
fP =
1
fP =
fP .
R20
R IN
GP2=(
0 +log
)CIN
,
1 fU
fZ =
.
R40
CIN fZ ,
INlog
GZ = G2P
fP
fCL
G CL 3= Equation
GZ20 log4g Equation
> 0 dB, 6
, if G5ZEquation
Equation
fZ
f
GZ = GP40 log Z ,
f
R P
R INf O .
G CL = GZ20 logg CL9 , if GZ > 0 dB,
Z C
Correct Values of RIN fand
In
(7)
)
fCL of= capacitor
(fZ ) 10(GZC/ 20
The primary purpose
is ,to charge the ADCs
Equation 8 IN
input sampling capacitor, CSH, during the ADCs signal acquisition. With CIN in the circuit, the amplifier should provide less
than 5% of the charge to CSH during signal acquisition, and CIN
Equation
7
t ACQ
provides more than 95%Rof the
required
charge. To ensure that
,
IN
CIN provides most of the chargeK to
ADCs
input during ac Cthe
IN
quisition, CIN should be greater than or equal to 20 times CSH
(references 2 and 3). R R O .
IN
9 between the op amp and
RIN serves as the isolation resistor
CIN. RIN assists in stabilizing the amplifier, but its secondary
task is to ensure that the system can charge the input ADC
Equation
8
capacitor in a timely fashion
(Reference
3). The time-constant multiplier of this ADC acquisition time is K. As a first
step, with these two variables and CIN,
R IN
t ACQ
K CIN
(8)
edn081002ms4296_id 50
10/2/2008 1:31:12 PM
edn081002ms4296_id 52
10/2/2008 1:31:12 PM
fZ f1U . .
fZ =
Equation
13
14
2tEquation
ACQ
Equation 12
The data shows that the stable design has a lower sigma and
edn 081002
4296mean
equations
9 the
16 unstable system
more consistent
mean.msThe
value of
has an error of more than 0.7 LSB, whereas the stable system
has an error of less than 0.03 LSB.
Equation 9
Designing
the ADC
System
edn 081002
ms4296
equations 9 16
Choosing the right op amp for the ADC is critical. Be sure
to compare issues
20 such
C SHas amplifier
CIN 60 noise,
C SH .bandwidth, and settling time to
ADCs
SNR,equations
SFDR
(spurious-free
dynamEquation
9
ednthe
081002
ms
4296
9 16
ic range), input impedance, and sampling time. The primary
purposes of capacitor CIN are to provide charge to the ADCs
input sampling20
capacitor,
, during
ADCs signal-acqui C SHEqu
C
609 Cthe
SH
Equation
IN 10
SH .
aCtion
sition time and to offload
the amplifier
from dynamic activity
from the ADC. The proper design equation when determining CIN is:
(9)
20 C SH
60 CSH .
CIN
2N +1
Equ
ation 10
K
=
ln
.
1
Determining this valueallows
you to
calculate
the new time(CIN / C
SH + 1)
bits:
1
Equation
2N +10
K1 = ln
.
(CIN / C SH + 1)
Equation 11
(10)
N +1 performances
As design requirements and 2ADC
set up the
K1times,
= ln calculate the frequency
.
ADCs acquisition
of the added
(CINK/ C SH + 1)
zero, fZ:
1
fZEquation
=
11 .
2t ACQ
(11)
K
fZfZ= fU1. .
2t ACQ
Equation
12
Equation 13 Equation 14
fZ fU .12
Equation
1
R IN = f13 Equation
.
Equation
Z
U . fZ 14
2 CfIN
R
R IN O .
9
1
Equation
R IN = 13 Equation. 14
2 CIN fZ
R
R IN O .
9115
R INEquation
=
.
2 CIN fZ
R
R IN O .
19
fP =
.
Equation 15
2 (R IN + R O ) CIN
fP =
1 15
Equation
.
2 Equation
(R IN + R16
O ) CIN
1
.
2 (R IN+f RO ) CIN f
6 dB GZ =Equation
20 log P1640 log Z .
fP
fU
fP =
Equation 13 Equation
14
1
12
R INEquation
=
.
fZ2
C
fUIN
. fZ
RO
R 1 .
R IN =f IN f 9 .
.
(12)
Z CUIN fZ
Equation 213
Equation 14
R
With the frequency of the
R IN added
O .zero and CIN, determine the
value of RIN using the following
9two equations:
Equation 13 Equation 14
Equation1 15
R IN =
.
(13)
2 CIN fZ
R1O
(14)
R
.
R IN Equation
= IN 19 15
.
fP =
.
2 CIN fZ
2 (of
R IN
R O) C
IN f :
Calculate the frequency
the+Radded
pole,
P
O
R IN
.
19
fP =
.
(15)
2 Equation
(R IN + R15
O ) CIN
Check the gain of the Equation
added zero16on the modified open-loop-
.
Equation 16
2 (R IN + R
fPO) CIN fZ
(16)
6 dB GZ =20 log 40 log .
fP
1fU
fP =
.
(R INis+complete,
R
Once the design 2process
that you
fPO) CINitisfZcritical
dB circuit
GZ =
log stability.
log .
40 EDN
benchtest6the
to20
verify
f
f
Equation
P
U16
A c k no w l e d g m e n t
Special thanks to Tim Green
for his16help in developing this article.
Equation
f
f
6 dB G =20 log P 40 log Z .
f
fP
U
1 Green, Tim, Operational Amplifier Stability, Part 6 of 15:
f
f
6 dB GZStability:
=20 logRISOP, High
log &Z CF,
Capacitance-Load
40 Gain
. Noise Gain,
f
fP
U
Analog Zone, 2005, www.analogzone.com/acqt0704.pdf.
2 Downs, Rick, and Miro Oljaca, Designing SAR ADC Drive
Circuitry, Part I: A Detailed Look at SAR ADC Operation,
Analog Zone, 2005, www.analogzone.com/acqt0221.pdf.
3 Downs, Rick, and Miro Oljaca, Designing SAR ADC Drive
Circuitry, Part II: Input Behavior of SAR ADCs, Analog Zone,
2005, www.analogzone.com/acqt1003.pdf.
4 Baker, Bonnie, and Miro Oljaca, External components improve SAR-ADC accuracy, EDN, June 7, 2007, pg 67, www.
edn.com/article/CA6447231.
5 Oljaca, Miro, and Brian Mappes, ADS8342 SAR ADC Inputs, Texas Instruments Application Report SBAA127, 2005,
http://focus.tij.co.jp/jp/lit/an/sbaa127/sbaa127.pdf.
6 Baker, Bonnie, Charge your SAR-converter inputs, EDN,
May 11, 2006, pg 34, www.edn.com/article/CA6330093.
R e f e r e nc eZs
Au t h ors b i ogra p h i e s
Miro Oljaca is a senior applications engineer at Texas Instruments,
where he is responsible for high-precision linear products focusing on
industrial applications.Oljaca has more than 20 years of design experience in motor control and power conversion. He received bachelors
and masters degrees in electrical engineering from the University of
Belgrade (Serbia) and is a member of AEI, CNI, IEE, and IEEE.
Bonnie Baker is a senior applications engineer at Texas Instruments
and has been involved with analog and digital designs and systems
for nearly 20 years. Baker has written more than 250 articles, design notes, and application notes. She is the author of A Bakers
Dozen: Real Analog Solutions for Digital Designers and the
co-author of Circuit Design: Know It All and Analog Circuits:
World-Class Designs. In addition, Baker writes the column Bakers Best for EDN.
fP 16
fZ
Equation
54 EDN 6|dBoctober
16,
GZ =20
log2008
40 log .
fU
edn081002ms4296_id 54 6
fP
f
f
dB GZ =20 log P 40 log Z .
f
fP
U
10/2/2008 1:31:12 PM