slyt331.pdf

(570 KB) Pobierz
Texas Instruments Incorporated
Data Acquisition
How the voltage reference affects
ADC performance, Part 1
By Bonnie Baker, Senior Applications Engineer,
and Miro Oljaca, Senior Applications Engineer
Introduction
When designing a mixed-signal system, many designers
have a tendency to examine and optimize each component
separately. This myopic approach can go only so far if the
goal is to have a working design at the end of the day.
Given the array of different components in a system,
designers must have a complete understanding of not only
the individual components but also their impact on the
overall system performance. When a design has an analog-
to-digital converter (ADC), it is critical to understand how
this device interacts with the voltage reference and voltage-
reference buffer.
This article is the first of a three-part series. Parts 2 and
3 will appear in future issues of the Analog Applications
Journal . Part 1 looks at the fundamental operation of an
ADC independently, exactly as many designers do, and then
at the performance characteristics that have an impact on
the accuracy and repeatability of the system. Part 2 will
delve into the voltage-reference device, once again examin-
ing its fundamental operation and then the details of its
impact on the performance of the ADC. Part 3 will investi-
gate the impact of the voltage-reference buffer and the
capacitors that follow it, and will discuss how to ensure
that the amplifier is stable. Assumptions and conclusions
will be compared to measurement results. The interplay
between the driving amplifier, voltage reference, and con-
verter will be briefly analyzed, followed by an investigation
of the sources of error in the ADC’s conversion results.
The fundamentals of ADCs
Figure 1 shows the voltage-reference system for the
successive-approximation-register (SAR) ADC that will be
examined in this three-part series. As the name suggests,
the ADC converts an analog voltage to a digital code. The
overall system accuracy and repeatability depend on how
effectively the converter executes this process. The accu-
racy of this conversion can be defined with static specifica-
tions, and the repeatability with dynamic specifications.
Generally, the ADC static specifications are offset-voltage
error, gain error, and transition noise. The ADC dynamic
specifications are signal-to-noise ratio (SNR), total
harmonic distortion (THD), and spurious-free dynamic
range (SFDR).
Static performance
Figure 2 shows an ideal and an actual (or non-ideal) trans-
fer function of a 3-bit ADC. The actual transfer function
has an offset-voltage error and a gain error. In the example
application circuit, only the ADC gain error, transition
noise, and SNR are of concern.
Figure 1. Voltage-reference system for SAR ADC
R O
Voltage
Reference
+
ESR
C L2
C L1
V REF
D OUT
V IN
ADC
Figure 2. Ideal and actual ADC transfer functions
with offset and gain errors
111
110
Actual
Transfer
Function
101
100
011
Ideal
Transfer
Function
010
001
000
Actual Full-Scale Range
Ideal Full-Scale Range
5
Analog Applications Journal
2Q 2009
High-Performance Analog Products
917563019.146.png 917563019.157.png 917563019.167.png 917563019.178.png 917563019.001.png 917563019.012.png 917563019.023.png 917563019.034.png 917563019.045.png 917563019.056.png 917563019.067.png 917563019.078.png 917563019.088.png 917563019.099.png 917563019.107.png 917563019.108.png 917563019.109.png 917563019.110.png 917563019.111.png 917563019.112.png 917563019.113.png 917563019.114.png 917563019.115.png 917563019.116.png 917563019.117.png 917563019.118.png 917563019.119.png 917563019.120.png 917563019.121.png 917563019.122.png 917563019.123.png
Data Acquisition
Texas Instruments Incorporated
Figure 3. Transition noise with a 3-bit ADC
Code Under Test
111
110
100%
101
0%
Center of
Code Width
50%
100
011
Low-Side
Transition
010
001
Transition
Points
000
0 0
1/2 FS
Analog Input (FS = Full Scale)
FS
Actual Gain Ideal Gain
Actual Gain
Equation 1 describes the typical transfer function of the
ideal (error-free) ADC:
GE ADC =
.
n
2
From Equation 3 it can be seen that the gain-error factor
adds to the initial accuracy of V REF . The output code is
inversely proportional to the combination of the voltage
reference plus the gain error. The DC error caused by
noise from the voltage-reference chip inversely impacts the
gain accuracy of the ADC. Part 2 of this series will specifi-
cally show the impact of the voltage reference’s errors.
Equations 2 and 3 can be combined to show the final
transfer function:
Code
V
,
(1)
IN
V
REF
where “Code” is the ADC output code in decimal form, V IN
is the analog input voltage (in volts), n is the resolution of
the ADC (or number of output-code bits), and V REF is the
analog value of the voltage reference (in volts). This equa-
tion demonstrates that the ADC output code is directly
proportional to the analog input voltage and inversely
proportional to the voltage reference. Equation 1 also
shows that the output code depends on the number of
bits (the converter resolution).
The DC errors of non-ideal ADCs are offset-voltage error
and gain error. If the offset-voltage error is introduced into
the transfer function, Equation 1 can be rewritten as
n
2
1
(
) ×
Code
= −
VV
(4)
IN
OS
_
ADC
(
)
V
GE
REF
ADC
To analyze ADC transition noise, the code transition
points in the ADC’s transfer curve can be examined. These
are the points where the digital output switches from one
code to the next as a result of a changing analog input
voltage. The transition point from code to code is not a
single threshold but a small region of uncertainty. Figure 3
shows the uncertainty at these transitions that results
from internal converter noise. The region of uncertainty is
defined by measuring repetitive code transitions from
code to code.
An ADC’s transition noise has a direct effect on the
signal-to-noise ratio (SNR) of the converter. Since it is
important to understand this phenomenon, Part 2 of this
series will look more closely at voltage-reference noise
characteristics.
n
2
(
) ×
Code
= −
VV
,
(2)
IN
OS
_
ADC
V
REF
where V OS_ADC is the input offset voltage of the ADC. Gain
error is equal to the difference between the ideal slope from
zero to full scale and the actual slope from zero to full scale.
The notation for gain error is a decimal or percentage. If
the impact of only the gain error (no offset-voltage error)
on an ADC is considered, Equation 1 can be rewritten as
n
2
1
,
(3)
Code
V
IN
(
)
V
GE
REF
ADC
where GE ADC is the gain error in decimal form,
expressed as
6
High-Performance Analog Products
2Q 2009
Analog Applications Journal
917563019.124.png 917563019.125.png 917563019.126.png 917563019.127.png 917563019.128.png 917563019.129.png 917563019.130.png 917563019.131.png 917563019.132.png 917563019.133.png 917563019.134.png 917563019.135.png 917563019.136.png 917563019.137.png 917563019.138.png 917563019.139.png 917563019.140.png 917563019.141.png 917563019.142.png 917563019.143.png 917563019.144.png 917563019.145.png 917563019.147.png 917563019.148.png 917563019.149.png 917563019.150.png 917563019.151.png 917563019.152.png 917563019.153.png 917563019.154.png 917563019.155.png 917563019.156.png 917563019.158.png 917563019.159.png 917563019.160.png 917563019.161.png 917563019.162.png 917563019.163.png 917563019.164.png
Texas Instruments Incorporated
Data Acquisition
Dynamic performance
The total system noise from the circuit in
Figure 1 is a combination of the inherent
ADC noise, the noise from the analog input-
buffer circuitry, and the reference input-
voltage noise. Figure 4 shows a simplified
internal circuit of a SAR ADC.
To determine the dynamic performance of
an ADC, a fast Fourier transform (FFT) plot
of the converter’s output data can be used.
An FFT plot can be calculated from a con-
sistent clocked series of converter outputs.
The FFT plot provides the SNR, the noise-
floor level, and the spurious-free dynamic
range (SFDR). In the example application
circuit, only the SNR specification is of
interest. Figure 5 provides an FFT plot of
these specifications.
A useful way of determining noise in an
ADC circuit is to examine the SNR (see
Figure 5). The SNR is the ratio of the root
mean square (RMS) of the signal power to
the RMS of the noise power. The SNR of the
FFT calculation is a combination of several noise sources,
which may include the ADC quantization error and the
ADC internal noise. Externally, the voltage reference and
the reference driving amplifier contribute to the overall
system noise. The theoretical limit of the SNR is equal to
6.02n + 1.76 dB, where n is the number of ADC bits.
Figure 4. Simplified topology of a SAR ADC
C N1
C N2
S1
Comparator
Buffer
S3
V C–
V MID
Data
Output
Control
Logic
+
V C+
S4
To Switches
S2
V IN
C
C/2 N
C/2 N
C/2
C/4
C
V REF
S5
S6
SN
V REF
Capacitive Conversion Network
The total harmonic distortion (THD) quantifies the
amount of distortion in the system. THD is the ratio of the
root sum square (RSS) of the powers of the harmonic com-
ponents (spurs) to the input-signal power. For example, in
Figure 5, the harmonic components are labeled “2nd”
through “6th.” An RSS calculation is also known as the
Figure 5. FFT plot with 8192 data samples from a 16-bit converter
20
Input-Signal Amplitude
0
–20
Sampling Rate
f
M
s
Bin Width =
=
Number of Points in FFT
Peak Harmonic
( SFDR )
–40
Average Noise-
Floor Level
–60
SNR ( RMS Values )
–80
2nd
4th
–100
3rd
5th
6th
–120
–140
–160
0
10
20
30
40
50
Frequency ( kHz )
(divided into 4096 frequency bins)
Applied Input-
Signal Frequency
7
Analog Applications Journal
2Q 2009
High-Performance Analog Products
917563019.165.png 917563019.166.png 917563019.168.png 917563019.169.png 917563019.170.png 917563019.171.png 917563019.172.png 917563019.173.png 917563019.174.png 917563019.175.png 917563019.176.png 917563019.177.png 917563019.179.png 917563019.180.png 917563019.181.png 917563019.182.png 917563019.183.png 917563019.184.png 917563019.185.png 917563019.186.png 917563019.187.png 917563019.188.png 917563019.002.png 917563019.003.png 917563019.004.png 917563019.005.png 917563019.006.png 917563019.007.png 917563019.008.png 917563019.009.png 917563019.010.png 917563019.011.png 917563019.013.png 917563019.014.png 917563019.015.png 917563019.016.png 917563019.017.png 917563019.018.png 917563019.019.png 917563019.020.png 917563019.021.png 917563019.022.png 917563019.024.png 917563019.025.png 917563019.026.png 917563019.027.png 917563019.028.png 917563019.029.png 917563019.030.png 917563019.031.png 917563019.032.png 917563019.033.png 917563019.035.png 917563019.036.png 917563019.037.png 917563019.038.png 917563019.039.png 917563019.040.png 917563019.041.png 917563019.042.png 917563019.043.png 917563019.044.png 917563019.046.png 917563019.047.png 917563019.048.png 917563019.049.png 917563019.050.png 917563019.051.png 917563019.052.png 917563019.053.png 917563019.054.png 917563019.055.png 917563019.057.png 917563019.058.png 917563019.059.png 917563019.060.png 917563019.061.png 917563019.062.png 917563019.063.png 917563019.064.png 917563019.065.png 917563019.066.png 917563019.068.png 917563019.069.png 917563019.070.png 917563019.071.png 917563019.072.png 917563019.073.png 917563019.074.png 917563019.075.png 917563019.076.png 917563019.077.png 917563019.079.png 917563019.080.png 917563019.081.png 917563019.082.png 917563019.083.png 917563019.084.png 917563019.085.png 917563019.086.png
 
Data Acquisition
Texas Instruments Incorporated
square root of the sum of the squares of several values.
Spurs resulting from the nonlinearity of the ADC appear
at whole-number multiples of the input signal’s frequency
(the fundamental frequency). Most manufacturers use
the first six to nine harmonic components in their THD
calculations.
If the ADC creates spikes in the FFT plot, it is probable
that the converter has some integral nonlinearity errors.
Additionally, spurs can come from the input signal through
the signal source or from the reference driving amplifier. If
the driving amplifier is the culprit, the amplifier may have
crossover distortion; or it may be marginally stable, slew-
rate-limited, bandwidth-limited, or unable to drive the
ADC. Injected noise from other places in the circuit, such
as digital-clock sources or the frequency of the mains, can
also contribute spurs to the FFT result.
The combination of the converter’s SNR and THD can
be used to determine the signal to noise and distortion
(SINAD) of the device. Many engineers refer to SINAD as
“THD plus noise” or “total distortion.” SINAD is an RSS
calculation of the SNR and THD; i.e., it is the ratio of the
fundamental input signal’s RMS amplitude to the RMS sum
of all other spectral components below half the sampling
frequency (excluding DC). While the SAR converter’s theo-
retical minimum for SINAD is equal to the ideal SNR, or
6.02n + 1.76 dB, the working SINAD is
References
For more information related to this article, you can down-
load an Acrobat ® Reader ® file at www-s.ti.com/sc/techlit/
litnumber and replace “ litnumber ” with the TI Lit. # for
the materials listed below.
Document Title
TI Lit. #
1. Bonnie Baker, “A Glossary of Analog-to-
Digital Specifications and Performance
Characteristics,” Application Report ......... sbaa147
2. Miroslav Oljaca and Justin McEldowney, “Using
a SAR Analog-to-Digital Converter for Current
Measurement in Motor Control Applications,”
Application Report........................ sbaa081
3. Rick Downs and Miro Oljaca. Designing SAR
ADC drive circuitry, Parts I – III. EN-Genius
Network: analogZONE: acquisitionZONE
[Online]. Available: http://www.analogzone.com/
acqt 0000 .pdf (Replace “ 0000 ” with “0221” for
Part I, “1003” for Part II, or “0312” for Part III.)
4. Tim Green. Operational amplifier stability,
Parts 3, 6, and 7. EN-Genius Network:
analogZONE: acquisitionZONE [Online].
Available: http://www.analogzone.com/
acqt 0000 .pdf (Replace “ 0000 ” with “0307” for
Part 3, “0704” for Part 6, or “0529” for Part 7.)
5. Bonnie C. Baker and Miro Oljaca. (2007,
June 7). External components improve
SAR-ADC accuracy. EDN [Online]. Available:
http://www.edn.com/contents/images/
10 10 (5)
SINAD is an important figure of merit because it provides
the effective number of bits (ENOB) with a simple
calculation:
SNR
/
THD
/
SINADdB
()
=−
20
log
10
+
10
.
6. Wm. P. (Bill) Klein, Miro Oljaca, and Pete
Goad. (2007). Improved voltage reference
circuits maximize converter performance.
Analog e-Lab™ Webinar [Online]. Available:
“Videos” under “Analog eLab™ Design
Support” and select webinar title.)
SINAD
−176
602
.
dB
ENOB
=
(6)
.
In an FFT representation of converter data, the average
noise floor (see Figure 5) is an RSS combination of all the
bins within the FFT plot, excluding the input signal and
signal harmonics. The number of samples versus the num-
ber of ADC bits can be chosen so that the noise floor is
below any spurs of interest. With these considerations, the
theoretical average FFT noise floor (in decibels) is
7. Art Kay. Analysis and measurement of
intrinsic noise in op amp circuits, Part I.
EN-Genius Network: analogZONE:
audiovideoZONE [Online]. Available:
http://www.en-genius.net/includes/files/
M
ENBW
3
FFT Noise Floor
=
602 0
.
n
+
log
,
π
where M is the number of data points in the FFT, and
ENBW is the equivalent noise bandwidth of the FFT
window function. A reasonable number of samples for the
FFT of a 12-bit converter is 4096, which will result in a
theoretical noise floor of –107 dB.
Conclusion
The ADC specifications that impact the application circuit
in Figure 1 are gain error, transition noise, and SNR. Part 2
will examine the voltage reference’s DC accuracy and noise
contribution to the system performance.
×
Related Web site
8
High-Performance Analog Products
2Q 2009
Analog Applications Journal
917563019.087.png 917563019.089.png 917563019.090.png 917563019.091.png 917563019.092.png 917563019.093.png 917563019.094.png 917563019.095.png 917563019.096.png 917563019.097.png 917563019.098.png 917563019.100.png 917563019.101.png 917563019.102.png 917563019.103.png 917563019.104.png
 
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements,
improvements, and other changes to its products and services at any time and to discontinue any product or service without notice.
Customers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI's standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except
where mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should
provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask
work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services
are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such
products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under
the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and
deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject
to additional restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service
voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would
reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement
specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of
their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements
concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related
information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any
damages arising out of the use of TI products in such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or “enhanced plastic.” Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is
solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection
with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products
Amplifiers
Applications
Audio
Data Converters
Automotive
DLP ® Products
Broadband
DSP
Digital Control
Clocks and Timers
Medical
Interface
Military
Logic
Optical Networking
Power Mgmt
Security
Microcontrollers
Telephony
RFID
Video & Imaging
RF/IF and ZigBee ®
Wireless
Solutions
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
917563019.105.png 917563019.106.png
Zgłoś jeśli naruszono regulamin