Introduction To ADC Testing
Introduction To ADC Testing
testing I
Definition of basic parameters
Jn aliga
Dept. of Electronics and Telecommunications
Technical University of Kosice, Slovakia
Agenda
Introduction
Deterministic and probabilistic
models
Basic static parameters
Basic dynamic parameters
Other parameters
Signal
conditioning
S&H
(optional)
ADC
Buffe
r
x
k round
Q
ADC parameters
(characteristics & errors)
N nominal resolution
-4
-3
-2
(number of bits) of ADC
Real
ADC
Input
code k
111
Gain (slope)
error
Nonlinearity
Ideal and
real straight
lines
110
101
100
-1
0
1
011
Ideal
ADC
Input
analogue
value x(t)
[Vfs/Q]
Missing
code
2
Error in monotonicity
010
Offset
error
001
000
2N
Vfsn N
Tnom 2N 1 Tnom 1 2N Q
2 2
ADC transfer
characteristic
Deterministic model
Output
code k
111
Stochastic model
Output
code k
101
Input
analogue
value x(t)
110
100
101
[Vfs/2N]
100
-4
-3
-2
-1
00111
010
001
000
1
2
Deterministic
definition
Channel profile
Input
analogue
value x(t)
[Vfs/2N]
P(k|x)
1
k =0,1,...,2N-1
0
Conditional
probability
1,5
Stochastic
definition
Input
analogue
value x(t)
[Vfs/2N]
Differential non-linearity
DNL [ k ] =
Integral non-linearity
W [k ] - Q
Q
no
m
no
m
T [k ] - Tnom[k ]
INL [k ]=
Qnom
INL k
DNL i
INL k 1 DNL k
i 0
Dynamic parameters I
Noise floor
k 1, k J , k hJ
Y k
1 M
Y
2 2
M
hmax
2
h 2 hmax
Dynamic parameters II
Signal to noise and distortion ratio
SINADdB 10 log
M / 2 1
k 1, k J
Y K
1 M
2 NFl Y
2 2
2
SNRdB 10 log
M / 2 1
k 1, k J , k hJ
Y k hmax 1 NFl
2
1 M
Y
2 2
Dynamic parameters IV
THD, THD+noise, IMD
THD
THDdB 20 log
H
i
2
i ADC
THD
H
i
2
i ADC
THD+noise = 1/SINAD
Dynamic parameters V
Effective Number of Bits
Nef N log2
rms
12
N log2 rms
q
Qnom
SINADdBFS 1.76dB
6.02
Dynamic parameters VI
SFDR
SFDR(dB) 20 log
Yavm (fi )
USB
NI USB 6009
ADC: 12 bits, 10kHz,
differential
Software (LabVIEW):
1. Sinewave generator = Sound
card
2. Control: AI1 = DUT (FS,
record)
Data processing and
Other parameters
Introduction to ADC
testing II
Basic standardized test methods
Agenda
Standardization
Static test method
Histogram test
Dynamic test with data processing
in time domain
Dynamic test with data processing
in spectral domain
Standardization
Programable
DC source
ADC
under
test
Buffer
DC
Voltmeter
Control of test stand
(PC)
Recording device,
e.g. logic analyzer
64 256
(M)
4
6
Transition level measurement
precision
45% 23% 12% 6%
(% of noise standard
deviation)
Static test
Experimental demonstration
Measurement setup (
run demonstration)
AI0 (DUT)
USB
AI1 (Voltmeter)
NI USB 6009
ADC: 12 bits, 10kHz,
differential
DAC: 12 bit, static, RSE
1:10
AO0 (DC
source)
I
NI USB 6008 (12 bits, 10kHz,
10000s/T)
Switching
monitor
during the
measuremen
t
Histogram (statistical)
test
Standardized method
Synchronisation
Accurate generator
(arbitrary, DDS)
Notch
filter
CLK
generator
ADC under
test
Buffer
Recording
device
DNL k
H i
i 1
T 1
T k T k 1
H k
Q
S 2N 2
T 2 2 T 1
G
S
Sinewave signal
(All standards) theoretical background I
dx 2
A
of probability:
Distribution of probability:
Vfs k 2N 1
Pk
2N
A2 x 2
Vfs k 1 2N 1
2N
A x
2
1
dx
1
Vfs k 2N 1
Vfs k 1 2N 1
arcsin
arcsin
N
A.2
A.2N
Sinewave signal
(All standards) theoretical
background I
M
Hid k
Vfs k 2N 1
Vfs k 1 2N 1
arcsin
arcsin
N
N
A
2
A
2
H
k
H
k
id
DNL: DNL k
Hid k
Transition levels:
Hc k 1
T k C A cos
Hc 2 1
for
k 1, 2, , 2N 1
Sinewave signal
(All standards) theoretical
background II
cos
estimation
H 2 1
H 2 1
error in ~
~
~
T 2 1 T 1
gain and A
H 0
H 2 2
cos
cos
offset
H 2 1
H 2 1
N
C
N
C
N
C
N
N
N
2
1
Sinewave signal
Test conditions I
,
r
2 JM
r fi f s
Sinewave signal
Test conditions II
Sinewave signal
Test conditions III
2N 1 K
R J
B
c 1,1
0
,
2
c
N
T 2 1 T 1
VS
c 1 2
N
T 2 1 T 1 M
K 2 erf
J=1 for INL, J=2 for DNL, is the standard deviation of noise
level in volt for the INL determination and the smaller of
the values of and Q/1,1 for the DNL determination.
Sinewave signal
Simulation
Histogram test
Experimental demonstration
1:2
AI1 (DUT)
USB
NI USB 6009
ADC: 12 bits, 10kHz,
differential
Software (LabVIEW):
Sinewave generator = Sound
card
AI1 control = DUT - FS, record
Data processing and
tests
Comparison generators (USB
6009)
Stanford DS
360 (20-bits,
100 mil.
samples)
Agilent 33220A
(14-bits,
100 mil.
samples)
Histogram (statistical)
test
Some non-standardized methods
Reasons:
Common signals:
Gaussian noise
Exponential signal
Uniform noise, small sinewave or triangular
with DC steps,
lim
pdfG k,
1
0
test
Small amplitude sinewave or
triangular with a DC component
Michaeli L., Serra A.C., ..: In: IEEE transactions on
instrumentation and measurement, Measurement,
proc. of IMTC, IMEKO IWADC
Idea: multistep test with fractional histograms (and
INLs) acquired at small signal (sinewave, triangular)
covering only a few tens/hundreds of codes shifted
within ADC FS by known DC voltage
Advantage: the quality of test signal may be much
worse than those of signal covering the whole FS of
ADC
Disadvantage: connecting the partial histograms to
build the final histogram
x t FS B exp B
1:2
1:10
AI0 (DUT)
USB
Software
(LabVIEW):
Arbitrary generator = Sound card
DC shift = AO0
NI USB 6009
ADC: 12 bits, 10kHz,
differential
Histogram test
Conclusions
Dynamic test
Introduction
Goal:
Dynamic test
General test setup
Synchronisation
Accurate harmonic
generator (DDS)
Notch
filter
Accurate harmonic
generator (DDS)
CLK
generator
ADC under
test
Buffer
Obliged
Recommended
Optional
Only for IMD and multitone methods
Recording
device
Dynamic test
Requirements
2
Mmin
Mmin 2N
1 DNLmax
Record can consist of a few partial records
Sinewave must cover the ADC input range
as much as possible (more than 90 95%)
but must not overload it.
Dynamic test
Data processing in time domain
Dynamic test
Data processing in time domain I
Dynamic test
Data processing in time domain
II
Dynamic test
Three-parameter fit I
1
M
M 1
y
m
A
cos
cos
2
mf
A
sin
sin
2
mf
iN
iN
m0
2
~
2
E y x rms
Dynamic test
Three-parameter fit II
In matrix form:
y ~x
x P A cos , A sin , C
y Dx P y Dx P , where
T
1
cos2fiN
...
cos2 M - 1 fiN
y Dx
0
1
sin2fiN
1
...
...
sin2 M - 1 fiN 1
y Dx P
T
x P
xP D D
D y
1
Dynamic test
Three-parameter fit III
Necessary condition:
The input (and sampling) frequency
must be precisely known!!!
If not incorrect results SINAD,
Dynamic test
Four-parameter fit I
Unknown parameters: A, C, , f
Difficult calculation = system of nonlinear system of 4 equations is to be
solved
The system can be solved only by
iteration process
Dynamic test
Four-parameter fit II
Let x P A cos , A sin , C , fiN
cos 2fiN j
D j
...
cos 2fiN j M 1
sin 2fiN j
...
sin 2fiN j M 1
...
...
Aj 1 M 1 cos j 1 sin 2fiN j M 1
Dynamic test
Four-parameter fit III
~
fiN
2
m
m
m J s
Js
2
Y
m
m J s
Dynamic test
Data processing in spectral
domain DFT test
Dynamic test
Data processing in spectral domain I
Dynamic test
Data processing in spectral domain II
Dynamic test
Data processing in spectral domain
III
Spectrum calculation:
Y i
M 1
w m x m e
j 2fiN
m 0
Error in coherency:fi J J fs
Processing gain
PG
M 1
2
T
w n
n 0
M 1
w n
n 0
M 1
A
T2
w n
n 0
M 1
2
w
n
n 0
Equivalent Noise
Bandwidth
M 1
ENBW
M w 2 n
n 0
n0
M 1
w n
i .m
M
Dynamic test
Data processing in spectral domain
IV
NFl
k 1, k J 1, k rnd h( J j l
Y k
1 M
Y
2 2
M
hmax (2lmax 1)
2
h 2 hmax , l 0 lmax
Dynamic test
Data processing in spectral domain
V
SINADY J NFl
W 0
2
SINADdB 10 log
AB
where :
M / 2 1
B ENBW
Y k 2lmax
Y rnd h J
h max
h 2
jr fs
W
c
M
k 1, k J 1, k rnd h( J j l
with l 0 lmax
and
1 M
2 NFl Y ,
2 2
2
W 0
fracr h J j fs
Wc
W 0
M 1
w n
n 0
f
Wc j s
M
i 2
e j fs
M
w t dt
Dynamic test
Conclusions