Adc Testing 2
-
Upload
javier-tobar -
Category
Documents
-
view
31 -
download
3
Transcript of Adc Testing 2
slide - 104/13/23slide - 14/13/23
ADC TEST
Mixed Signal VLSI
Xunyu Zhu
Dr. Chris Hutchens
slide - 204/13/23slide - 24/13/23
ADC TEST
Test methods1. Static test - SIN Histogram
i.e. Gain and Offset2. Dynamic test –
i.e. ENOB using 16K FFTSIN fit.
Outline
Does this make sense??
slide - 304/13/23slide - 34/13/23
ADC TEST
Static Tests• Number of digitized bits• Gain • Offset • Differential Nonlinearity (DNL)• Integral Nonlinearity (INL)• Monotonicity
Test Specification
slide - 404/13/23slide - 44/13/23
ADC TEST
• Dynamic Tests• Effective number of bits (ENOB)• Signal-to-noise ration (SNR)• Total Harmonic distortion (THD)• Total spurious distortion (TSD)• Spurious-free dynamic range (SFDR)
Test Specification
slide - 504/13/23slide - 54/13/23
ADC TEST
Objective:• Converter accuracy • Transfer function of the converter• Monotonicity of the converter• Quantify the gain, offset, DNL and INL of the converter
Disadvantage:• Nonlinearites which coupled to the input signal bandwidth cannot be revealed• For high bit converters, measurement is lengthy
Static Test
slide - 604/13/23slide - 64/13/23
ADC TESTTest Setup
Clock
AnalogDigital
DigitalDigital Control
Ramp???? test setup
• Each voltage step less or equal to 1/8 LSB• At lest 10 samples sampled at each voltage level
Logic Analyzer -Word length > NWord depth > > 20π*2N
Pattern generator -Period jitter (peak to peak)less than
122
1 N
Bf
fB is the input signal frequencyN is the ADC resolution
Source generator-Resolution N +3 bits
slide - 704/13/23slide - 74/13/23
ADC TESTStatic Test
ADC static test result
G is the GainVos is the offsetT1 is the ideal value corresponding to T[1]T[k] is the input valueQ is the ideal width of a code binε[k] is the residual error
Transfer function described as below
Using conventional linear least-squares estimation techniques, get G and Vos as below
slide - 804/13/23slide - 84/13/23
ADC TEST
Differential nonlinearity
Static Test
Too Many fonts
slide - 904/13/23slide - 94/13/23
ADC TESTStatic Test
Illustration of DNL and INL
slide - 1004/13/23slide - 104/13/23
ADC TESTStatic Test
Integral nonlinearity
Q is the ideal code bin width, expressed in input units,VFS is the full-scale range of the ADC in input units.
The maximum INL is the maximum value of |INL[k]| for all k.
Where INL(k) is the integral nonlinearity at output code k, ε[k] is the difference between ideal output bin T’[k] and T[k] computed from G and Vos,
that is,
osVkTGTkQkTkTk ][)1(][]['][ 1
Too many different fonts
slide - 1104/13/23slide - 114/13/23
ADC TEST
• Objective- Measure– Harmonic and spurious distortion information
– Input bandwidth
– Signal-to-noise ratio
– Effective number of bits (ENOB)
– Spurious-free dynamic range (SFDR)
Dynamic Test
Think about the consistency with slide 4
slide - 1204/13/23slide - 124/13/23
ADC TEST
• Disadvantage– Cannot test for monotonicity of the ADC– Input signal must be sampled using an integer
number of cycles– Histogram test measure the noise of the ADC
• Test methods– Histogram test– FFT test
Dynamic Test
What is the recommended method for measuring the noise of an ADC?
slide - 1304/13/23slide - 134/13/23
ADC TEST
Test setup for histogram and FFT test
Dynamic Test
Clock
AnalogDigital
Digital
Logic Analyzer -Word length > NWord depth > 2π*2N ???
Pattern generator -Period jitter (peak to peak)less than
122
1 N
Bf
fB is the input signal frequencyN is the ADC resolution
Source generator-Resolution N +3 bits
slide - 1404/13/23slide - 144/13/23
ADC TEST
• Record length selection
There must be an exact integer number of cycles in a record, and the number of cycles in a record must be relatively prime to the number of samples in the record.
si fM
Jf
fi is the input signal frequencyfs is the sampling signal frequencyJ is the number of cycles per recordM is a record length
Histogram Test
slide - 1504/13/23slide - 154/13/23
ADC TEST
The procedure to find the near-optimum input signal frequency
a) Find an integer, r, such that the desired frequency is approximately fs/r.
b) Let J equal the number of full cycles that can be recorded at the frequency in step a)
J=int(M/r)
c) Let fi equal
1i
rJ
Jff s
Histogram Test cont’
a) b) etc are NOT consistent with the rest of the ppt slides
slide - 1604/13/23slide - 164/13/23
ADC TESTHistogram Test cont’
Illustration of histogram test results
Review SIN reconstruction after this slide
slide - 1704/13/23slide - 174/13/23
ADC TEST
• Total harmonic distortion
The THD is also often expressed as a dB ratio with respect to rms amplitude of the fundamental component of the output,
FFT Test
bandwidthfullinfrequencyalfundermenttheof
mirrorofmagnitudeaveragedtheisffX
frequencyalfundermenttheofmagnitudeaveragedtheisfX
ffXfXA
A
THDTHD
isavm
iavm
isavmiavmrms
rmsdB
)(
)(
))(())((2
1
)(log20
22
10
Too Many Fonts
slide - 1804/13/23slide - 184/13/23
ADC TESTFFT Test
• Total spurious distortion
Each of the spurious frequencies in fsp is the frequency of a persistent spectral output component that is neither the fundamental nor a harmonic
distortion component.
samplesofnumbertheisM
distortionspurioustheisf
fXM
TSD
sp
nnspavm )(
1][
Too Many Fonts
slide - 1904/13/23slide - 194/13/23
ADC TESTFFT Test
• Spurious-free dynamic range (SFDR)
The ratio of the amplitude of the ADC output averaged spectral component at the input frequency, fi, to the amplitude of the largest harmonic or spurious spectral component observed over the full Nyquist band:
)})()({max
)((log20)(
,
10havgsavg
ff
iavg
fXorfX
fXdBSFDR
hs
WhereXavg is the averaged spectrum of the ADC output,fi is the input signal frequency,fs and fh are the frequencies of the set of harmonic and
spurious spectral components
slide - 2004/13/23slide - 204/13/23
ADC TESTFFT Test
Spectrum of a sine wave and its harmonics
slide - 2104/13/23slide - 214/13/23
ADC TESTFFT Test
Spectrum of a real ADC FFT test result
Fundamentalfrequency Harmonics
Spurious frequency
SFDR
slide - 2204/13/23slide - 224/13/23
ADC TEST
• SINAD is the ration of the signal to the total noise• Time domain calculation
noiserms
signalrmsSINAD
givenisSINADratiodistortionandnoisetosignalThe
waveefitbesttheofsetdatatheisy
setdatasampletheisy
where
yyM
noiserms
n
n
M
nnn
)(
sin
)(1
'
2/1
1
2'
Signal-to-noise and distortion ratio (SINAD)
slide - 2304/13/23slide - 234/13/23
ADC TEST
• Frequency domain calculation
2/11
0
2
22
)(1
))(())((1
M
mmavm
isavmiavm
fEM
noiserms
ffXfXM
signalrms
• Effective number of bits (ENOB)
))2/(
(log)5.1(log2
1)(log 222 V
ASINADENOB
WhereA is the amplitude of the sine wave fitted to the outputV is the full-scale range of the ADC under test
Signal-to-noise and distortion ratio (SINAD) cont’
Summary Must follow