Data conversion for data acquisition is a two-part process that involves sampling and then converting signals into digital venues. These processes inherently remove part of the complete analog signal in exchange for the power and robustness of digital signal handling. This becomes especially difficult when trying to capture signals at the limits of the resolution and speed of our systems. In this session, learn how to design a data conversion system that minimizes the signal loss to match the signal handling requirements … even on the hard ones.
1. Data Converters for Solving Hard
Problems
Advanced Techniques of Higher Performance Signal Processing
Presenter: Hank Zumbahlen
2. Legal Disclaimer
Notice of proprietary information, Disclaimers and Exclusions Of Warranties
The ADI Presentation is the property of ADI. All copyright, trademark, and other intellectual property and
proprietary rights in the ADI Presentation and in the software, text, graphics, design elements, audio and all other
materials originated or used by ADI herein (the "ADI Information") are reserved to ADI and its licensors. The ADI
Information may not be reproduced, published, adapted, modified, displayed, distributed or sold in any manner, in
any form or media, without the prior written permission of ADI.
THE ADI INFORMATION AND THE ADI PRESENTATION ARE PROVIDED "AS IS". WHILE ADI INTENDS THE ADI
INFORMATION AND THE ADI PRESENTATION TO BE ACCURATE, NO WARRANTIES OF ANY KIND ARE MADE
WITH RESPECT TO THE ADI PRESENTATION AND THE ADI INFORMATION, INCLUDING WITHOUT LIMITATION
ANY WARRANTIES OF ACCURACY OR COMPLETENESS. TYPOGRAPHICAL ERRORS AND OTHER
INACCURACIES OR MISTAKES ARE POSSIBLE. ADI DOES NOT WARRANT THAT THE ADI INFORMATION AND
THE ADI PRESENTATION WILL MEET YOUR REQUIREMENTS, WILL BE ACCURATE, OR WILL BE
UNINTERRUPTED OR ERROR FREE. ADI EXPRESSLY EXCLUDES AND DISCLAIMS ALL EXPRESS AND IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF
ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHTS. ADI SHALL NOT BE RESPONSIBLE FOR ANY DAMAGE
OR LOSS OF ANY KIND ARISING OUT OF OR RELATED TO YOUR USE OF THE ADI INFORMATION AND THE ADI
PRESENTATION, INCLUDING WITHOUT LIMITATION DATA LOSS OR CORRUPTION, COMPUTER VIRUSES,
ERRORS, OMISSIONS, INTERRUPTIONS, DEFECTS OR OTHER FAILURES, REGARDLESS OF WHETHER SUCH
LIABILITY IS BASED IN TORT, CONTRACT OR OTHERWISE. USE OF ANY THIRD-PARTY SOFTWARE
REFERENCED WILL BE GOVERNED BY THE APPLICABLE LICENSE AGREEMENT, IF ANY, WITH SUCH THIRD
PARTY.
2
3. Today’s Agenda
Data converters in the signal chain
Basics of data conversion
Dynamic signal processing
Driving ADCs
Input structures
DACs for high speed and high resolution
3
4. Analog to Electronic Signal Processing
4
SENSOR
(INPUT)
DIGITAL
PROCESSOR
AMP CONVERTER
ACTUATOR
(OUTPUT)
AMP CONVERTER
5. Analog to Electronic Signal Processing
5
SENSOR
(INPUT)
DIGITAL
PROCESSOR
AMP ADC
ACTUATOR
(OUTPUT)
AMP DAC
6. Analog and Digital Domains
Why Convert to Digital?
6
Analog signals are continuous and provide the entire signal
Digital signals capture only a portion of the signal
Why digitize?
Improved signal analysis potential
More robust storage
More accurate transmission
Why not digitize?
Cost
Complexity
Processing time available.
Development objective of sampled data systems is to minimize
effect of the sampling process
7. Basic ADC with External Reference
7
VDD
VSS
GROUND
(MAY BE INTERNALLY
CONNECTED TO VSS)
ANALOG
INPUT
VREF
DIGITAL
OUTPUT
SAMPLING
CLOCK
CONTROL SIGNALS
(EOC, DATA READY, ETC.)
ADC
VDIO
8. Sampled Data System: Sampling and
Quantization
8
LPF
OR
BPF
N-BIT
ADC
DSP
N-BIT
DAC
LPF
OR
BPF
fa
fs fs
t
AMPLITUDE
QUANTIZATION DISCRETE
TIME SAMPLING
fa
1
fs
ts=
11. The Size of a Least Significant Bit (LSB)
11
VOLTAGE
(10V FS)
2.5 V
625 mV
156 mV
39.1 mV
9.77 mV (10 mV)
2.44 mV
610 µV
153 µV
38 µV
9.54 µV (10 µV)
2.38 µV
596 nV*
ppm FS
250,000
62,500
15,625
3,906
977
244
61
15
4
1
0.24
0.06
% FS
25
6.25
1.56
0.39
0.098
0.024
0.0061
0.0015
0.0004
0.0001
0.000024
0.000006
dB FS
-12
-24
-36
-48
-60
-72
-84
-96
-108
-120
-132
-144
RESOLUTION
N
2-bit
4-bit
6-bit
8-bit
10-bit
12-bit
14-bit
16-bit
18-bit
20-bit
22-bit
24-bit
2N
4
16
64
256
1,024
4,096
16,384
65,536
262,144
1,048,576
4,194,304
16,777,216
*600nV is the Johnson Noise in a 10kHz BW of a 2.2kΩ Resistor @ 25°C
12. Practical Resolution Needs for Data Converters
Instrumentation measurements
Sensor resolution/accuracy of 0.5% = 1/200
8 bits equivalent to 1/256 -- digitizing will lose information
10x sensor resolution = 1/2000 -- 12 bits is 1/4096
Allows discrimination of small changes
Can also be driven by display requirements
12
13. Transfer Functions for Ideal 3-Bit DAC and ADC
13
DIGITAL INPUT
ANALOG
OUTPUT
FS
000 001 010 011 100 101 110 111
ANALOG INPUT
DIGITAL
OUTPUT
FS
000
001
010
011
100
101
110
111
QUANTIZATION
UNCERTAINTY
QUANTIZATION
UNCERTAINTY
DAC ADC
14. Primary Errors in Data Converters
(DC Parametrics)
Instrumentation and measurement
Described in LSBs (least-significant-bit), % of FS, ppm of FS
Offset error – the input level needed to change the first code
Gain/full-scale error – the input level need to change the last code
Nonlinearity – deviation of codes from the line from zero to FS
Differential nonlinearity – code-to-code deviation from 1 LSB
Transition noise – ADC uncertainty in code center point
14
15. Primary Errors in Data Converters
(AC Parametrics)
15
Dynamic systems
SINAD (Signal-to-Noise-and-Distortion Ratio):
The ratio of the rms signal amplitude to the mean value of the root-
sum-squares (RSS) of all other spectral components, including
harmonics, but excluding DC.
ENOB (Effective Number of Bits):
SNR (Signal-to-Noise Ratio), or Signal-to-Noise Ratio without
Harmonics:
The ratio of the rms signal amplitude to the mean value of the root-
sum-squares (RSS) of all other spectral components, excluding the first
5 harmonics and DC
SFDR (Spurious-Free-Dynamic-Range) Signal dynamic range in the
bandwidth of interest containing no frequency noise spurs
ENOB =
SINAD – 1.76dB
6.02dB
16. Quantifying Data Converter
Dynamic Performance
16
Harmonic Distortion
Worst Harmonic
Total Harmonic Distortion (THD)
Total Harmonic Distortion Plus Noise (THD + N)
Signal-to-Noise-and-Distortion Ratio (SINAD, or S/N +D)
Effective Number of Bits (ENOB)
Signal-to-Noise Ratio (SNR)
Analog Bandwidth (Full-Power, Small-Signal)
Spurious Free Dynamic Range (SFDR)
Two-Tone Intermodulation Distortion
Multi-tone Intermodulation Distortion
Noise Power Ratio (NPR)
Adjacent Channel Leakage Ratio (ACLR)
Noise Figure
Settling Time, Overvoltage Recovery Time
17. The Comparator: A 1-Bit ADC
17
DIFFERENTIAL
ANALOG INPUT
LOGIC
OUTPUT
LATCH
ENABLE
DIFFERENTIAL ANALOG INPUT
COMPARATOR
OUTPUT
"0"
"1"
0
VHYSTERESIS
+
–
18. Quantization and Quantization Noise
18
001
010
011
100
101
110
111
1/8 2/8 3/8 4/8 5/8 6/8 7/8 FS
NORMALIZED ANALOG INPUT
DIGITALOUTPUT
Quantization noise error: RMS value is LSB/3.464
Quantization
error function
21. Nyquist's Criteria
A signal with a maximum bandwidth of fa must be sampled at a rate fs > 2fa
or information about the signal will be lost because of aliasing.
Aliasing occurs whenever fs < 2fa
A signal which has frequency components between fa and fb must be
sampled at a rate fs > 2 (fb – fa) in order to prevent alias components from
overlapping the signal frequencies.
The concept of aliasing is widely used in communications applications
such as direct IF-to-digital conversion.
21
22. Analog Signal fa Sampled @ fs Has Images
(Aliases) At |±Kfs ±fa|, K = 1, 2 ...
22
23. Oversampling Relaxes Requirements
on Baseband Antialiasing Filter
23
BA
DR
fs
fa fs– fa
Kfs – f
a
fa
fs
2
KfsKfs
2
STOPBAND ATTENUATION = DR
TRANSITION BAND: fa to fs – fa
CORNER FREQUENCY: fa
STOPBAND ATTENUATION = DR
TRANSITION BAND: fa to Kfs – fa
CORNER FREQUENCY: fa
24. Advantages of Differential Analog Input
Interfaces for Data Converters
Differential inputs give twice the signal swing vs. single-ended
(especially important for low voltage single-supply operation)
Differential inputs help suppress even order distortion products
Many IF/RF components such as SAW filters and mixers are
differential
Differential inputs suppress common-mode ADC switching noise
including LO feed-through from mixer and filter stages
Differential ADC designs allow better internal component matching
and tracking than single-ended. Less need for trimming
Helps minimize the effects of noise on the ground.
If you drive them single-ended, you will have degradation in
distortion and noise performance
However, many signal sources are single-ended, so the differential
amplifier is useful as a single-ended to differential converter
2.24
28. Input Impedance Model for Buffered and
Unbuffered Input ADCs
2.28
R C
ADC
ZIN
BUFFERED INPUT
R and C are constant over frequency
Typically:
R: 1 kΩ – 2 kΩ
C: 1.5 pF – 3 pF
UNBUFFERED INPUT
R and C vary with both frequency and mode
(track/hold)
Use Track mode R and C at the input frequency
of interest
29. 2.29
Unbuffered CMOS ADC (AD9236 12-Bit, 80 MSPS)
Series Input Impedance in Track Mode and Hold Mode
REAL Z, HOLD
REAL Z, TRACK
IMAG Z, TRACK
IMAG Z, HOLD
ANALOG INPUT FREQUENCY (MHz)
SERIESREALIMPEDANCE(OHMS)
SERIESIMAGINARYIMPEDANCE(pF)
200
180
160
140
120
100
80
60
40
20
0
20
18
16
14
12
10
8
6
4
2
0
0 100 200 300 400 500 600 700 800 900 1000
RSZIN
CS
30. Basic Principles of Resonant Matching
2.30
(2π f )2 CS
RSZIN
CS
RP
ZIN
CP
LS/2
LS/2
LP
LS =
1
(2π f )2 CP
LP =
1
SERIES RESONANT @ f (70MHz) PARALLEL RESONANT @ f (70MHz)
ZIN = RS + j0 @ f ZIN = RP + j0 @ f
ADC ADC
Make XLS = XCS Make XLP = XCP
f
|ZIN|
RP
|ZIN|
RS
f
4kΩ @ 70MHz
For AD9236
69Ω @ 70MHz
For AD9236
(69Ω)
(4.3pF)
(4kΩ) (4.3pF)
(1.2µH) (1.2µH)
31. Before and After Adding
Matching Analog Antialiasing Filter Network
2.31
SFDR Improved by 13.4 dB, SNR improved by 10.7 dB
Note: Measured at maximum gain of 35 dB (gain code 255, high gain mode) using
76.8 MHz sampling clock
SAMPLING RATE = 76.8MSPS
INPUT = 70MHz
NOISE FLOOR = –84.3dBFS
THD = –63.9dBc
SFDR = 68.0dBc
SNR = 42.1dBFS
SAMPLING RATE = 76.8MSPS
INPUT = 70MHz
NOISE FLOOR = –84.3dBFS
THD = –63.9dBc
SFDR = 68.0dBc
SNR = 42.1dBFS
WITHOUT NETWORK
SAMPLING RATE = 76.8MSPS
INPUT = 70MHz
NOISE FLOOR = –95dBFS
THD = –76.8dBc
SFDR = 81.4dBc
SNR = 52.8dBFS
WITH NETWORK
32. Effects of Aperture Jitter
and Sampling Clock Jitter
32
ANALOG
INPUT
TRACK
HOLD
∆
dv
dt
v dv
dt
t
RMS
= APERTURE JITTER
v
RMS
NOMINAL
HELD
OUTPUT
= t
= SLOPE = APERTURE JITTER ERROR∆
∆
∆
33. Theoretical SNR and ENOB Due to Jitter
vs. Full-Scale Sinewave Analog Input Frequency
33
SNR
(dB)
ENOB
100
80
60
40
20
16
14
12
10
8
6
4
1 3 10 30 100
tj = 1ns
tj = 100ps
tj = 10ps
tj = 1ps
tj = 0.1ps
120
18
FULL-SCALE SINEWAVE ANALOG INPUT FREQUENCY (MHz)
SNR = 20log10
1
2πftj
tj = 50fs
44. ADC References
Input level compared to reference
ADC accuracy is relative to that reference
Internal reference
Simplicity and lower cost
Reference tuned to ADC performance
Specifications all-inclusive
External reference
Can be chosen for higher absolute accuracy
Allows common reference in multiple-ADC system
Common reference for sensor driver and ADC
Power supply as reference
Lowest cost in most cases
Noise is biggest issue
Tolerance and drift may degrade accuracy
44
49. DAC sin x/x Roll Off
(Amplitude Normalized)
49
0.5fc fc 1.5fc 2fc 2.5fc 3fc
A =
sin
π f
fc
π f
fc
1
f
A
t
–3.92dB
RECONSTRUCTED
SIGNAL
0
1
fc
IMAGES
IMAGES
IMAGES
FS – FOUT FS + FOUT 2FS – FOUT 2FS + FOUT
51. Analog Filter Requirements for fo = 10 MHZ:
fc = 30 MSPS, and fc = 60 MSPS
51
fCLOCK = 30MSPS
dB
IMAGE
10 20 30 40 50 60 70 80
fo
ANALOG LPF
10 20 30 40 50 60 70 80
IMAGE
ANALOG
LPF
FREQUENCY (MHz)
IMAGE
IMAGEIMAGE
IMAGE
fo
fCLOCK = 60MSPS
dB
A
B
52. DAC Images (continued)
52
As the DAC output (FOUT) approaches Nyquist frequency, the images come closer
together, making it extremely difficult to filter the image from the signal.
0 50 100 150 200 250
0
101
102
X X X
FREQUENCY
POWER
In the above example, FOUT = 0.45 3 Fs
53. Interpolation
Maximum Output Frequency of Standard DAC is FCLOCK ÷ 2 (Nyquist Rate).
In an Interpolating D/A Converter, Digital Interpolation Filters and a PLL Clock Multiplier Are
Used to Multiply the Input Data Rate to the DAC by a Factor of x Times the Clock Rate.
Produces an Image at x Times FSIGNAL, Smoothing the Sine Function and Simplifying the
Filter Requirements and Digital Interface.
53
fSIGNAL fCLOCK = 2 x fSIGNAL fSIGNAL fCLOCK = 8 x fSIGNAL
54. Oversampling Interpolating TxDAC®
Simplified Block Diagram
54
fo
K•fc
fc
LATCH LATCH DAC
LPF
DIGITAL
INTERPOLATION
FILTER
PLL
N N N N
TYPICAL APPLICATION: fc = 160MSPS
fo = 50MHz
K = 2
Image Frequency = 320– 50 = 270MHz
55. AD9772: 2X Interpolation vs.
Nyquist DAC
55
Nyquist DAC AD9772 DAC
1st IMAGE
1st NEW IMAGE
IMAGES FILTERED BY
DIGITAL 2X
INTERPOLATION
56. Tweet it out! @ADI_News #ADIDC13
What We Covered
Data converters in the signal chain
Basics of data conversion
Dynamic signal processing
Driving ADCs
Input structures
DACs for high speed and high resolution
56
57. Tweet it out! @ADI_News #ADIDC13
Design Resources Covered in This Session
Design tools & resources:
Ask technical questions and exchange ideas online in our
EngineerZone® Support Community
Choose a technology area from the homepage:
ez.analog.com
Access the Design Conference community here:
www.analog.com/DC13community
57
Name Description URL
ADIsimADC Shows dynamic performance of ADCs in real
applications
Voltage Reference
Selection Wizard
Visual Analog
SPI Controller
58. The Data Conversion Handbook
58
The Data Conversion Handbook, edited by Walt Kester (Newnes,
2005), is written for design engineers who routinely use data
converters and related circuitry. Comprising Data Converter
History, Fundamentals of Sampled Data Systems, Data
Converter Architectures, Data Converter Process Technology,
Testing Data Converters, Interfacing to Data Converters, Data
Converter Support Circuits, Data Converter Applications, and
Hardware Design Techniques, it may be the ultimate expression
of product "augmentation" as it relates to data converters. The
last chapter discusses practical issues, including common pitfalls
and solutions related to the non-ideal properties of passive
components.
The Data Conversion Handbook can be purchased from your
favorite bookseller.
Individual chapters--or a zip file containing all chapters--of the original Basic Linear
Design seminar notes can be downloaded by selecting the appropriate links below
http://www.analog.com/library/analogDialogue/archives/39-06/data_conversion_handbook.html
59. Linear Circuit Design Handbook
59
Linear Circuit Design Handbook, edited by Hank Zumbahlen
(Newnes, 2008), bridges the gap between circuit component
theory and practical circuit design. Effective analog circuit design
requires a strong understanding of core linear devices and how
they affect analog circuit design. This book provides complete
coverage of important analog devices and how to use them in
designing linear circuits, and serves as a useful learning tool and
reference for design engineers involved in analog and mixed-
signal design. It features complete coverage of analog circuit
components for the practicing engineer; market-validated design
information for all major types of linear circuits; practical advice
on how to read op amp data sheets and how to choose off-the-
shelf op amps; printed circuit board design issues; and over 1000
figures, including working circuit diagrams. Analog Dialogue
readers can get a 20% discount when they order this book
directly from Newnes. Enter discount code 92222.
Individual chapters--or a zip file containing all chapters--of the original Basic Linear
Design seminar notes can be downloaded by selecting the appropriate links below
http://www.analog.com/library/analogDialogue/archives/43-09/linear_circuit_design_handbook.html