Beruflich Dokumente
Kultur Dokumente
Indian Journal of Science and Technology, Vol 11(6), DOI: 10.17485/ijst/2018/v11i6/117481, February 2018 ISSN (Online) : 0974-5645
Abstract
Objectives: The objective of this paper is to estimate the dynamic parameters of Analog to Digital Converter (ADC)
with multi frequency sine signal as stimuli. Methods/Statistical Analysis: Traditionally the characteristics of a signal
are estimated with its spectrum using Fast Fourier Transform (FFT) algorithm. Interpolated FFT technique gives more
accurate results compared to the FFT technique. The signal is weighted with rectangular and Hanning window before
the Discrete Fourier Transform (DFT) is calculated, frequency and magnitude of various components of input stimulus
are estimated with this technique. Weighted signal is applied to ADC under test and the frequency spectrum of digital
output is obtained. Findings: This technique is used to determine the frequency dependent parameters of ADC. The
analytical formula for amplitude, frequency and phase estimation is simple to implement. The expression for the accurate
estimation of the fractional part between the two largest spectrums of the recorded cycles by IPDFT method is presented.
Sampled input signal is weighted with rectangular and tapered window and averaged. A reduction in noise level can be
observed in the spectrum. The obtained values of frequency, amplitude and phase which are more accurate as presented
in literature. Comparative values of ideal and real ADC dynamic parameters are presented here. The research work carried
can contribute significantly to ADC design and testing with multi frequency input signals. The novelty of this approach is
that the accurate results for dynamic parameters of ADC can be characterized for a particular bandwidth in a single run.
Application/Improvements: An ADC is a vital component in high-speed data communications video and radar systems.
The overall accuracy of the system is dependent on the accuracy of the ADC. For such systems, dynamic testing of the
device using standard signal is not useful. Therefore dynamic testing of ADC under application conditions is needed. The
techniques discussed in the paper are very much useful in testing high-speed ADCs by the manufacturer as well as a circuit
designer.
Keywords: Analog to Digital Converter, Dynamic Parameters, Multi Frequency Signal, Multipoint Interpolation
ficulty encountered in this approach is the spectral leak- 2. Theoretical Prerequisites
age. It occurs even in the presence of tapered window,
this means that every spectral component is spread over 2.1 Input Signal
the whole frequency axis. A frequency domain tech- Multi-frequency signal can be analytically expressed as
nique for accurate real-time signal parameter measure- the sum of a finite number of sine signals. In order to
ment is IPFFT3. This method provides a very accurate estimate the characteristics of this signal, spectrum using
frequency, amplitude, and phase estimation and its best FFT is attained. Multi-frequency signal simulates the
performances are obtained using the maximum side lobe operating conditions of the real world. Mathematically it
decay windows. Many of the FFT based estimation meth- can be expressed as:
ods assume coherent sampling, which is on the accurate
synchronization of the signal and the ADC sampling rate. (t ) x1 (t ) + x 2 (t )… x m (t ) (1)
x=
In the real situation for testing the ADC sampling may
be non-coherent sampling, and may affect the estimation
over tones. Where m=1,2,3….M is number of sine components pre-
An ideal ADC or quantize experience only quan- sented in the stimulus. This signal is uniformly sampled
tization error, its spectrum comprises of spectral lines with the sampling frequency of fs. Sampling time interval
of stimulus and noise only due to quantization error will be defined as: ∆t=1/fs. Thereforeeq. 1may be written
called noise floor. While the actual ADC has a dc off- as:
set spectral line at zero frequency, spectral lines of
stimulating signals, noise due to quantization error, x(k∆t ) = ∑mM=1 Am sin(2π f m k∆t + ∅m ) (2)
harmonics due to presented integral nonlinearity and
inter modulation distortion in case of multi-frequency Where fm,Am and ∅mare fundamental frequency, amplitude
stimulus4. A frequency domain procedure often used and phase of m the component of the signal respectively.
to compensate both spectral leakage and picket fence Total number of components is M, total number of sam-
effect is IPFFT. This method provides a very accurate ples is N, andK=0,1,2,….N-1.
estimation of the ratio of signal frequency to the sam- When a Multi-frequency signal is considered, the
pling frequency by processing the DFT of the acquired individual frequency should be selected in a manner to
data weighted by a suitable window sequence5. A com- get minimum interference errors on each component due
bination of interpolation algorithm with tapered time to the contribution of leakage from all other components7.
window is implemented to overcome the deficiency of Selected sampled frequency should be at least double of
short range and long range leakage6. In this paper, a the maximum frequency component of the input signal
multi-frequency sine signal is simulated and applied to as per sampling theorem.
ideal and real life ADC. Amplitude and frequency of
all the components presented in the input signal are 2.2 Analog to Digital Converter
estimated with FFT and 2-point IPFFT. The signal is
weighted with suitable window and averaged spectrum An ADC is characterized as function of obtained digital
is analyzed at the output end to estimate SNR, SINAD, output code and applied input signal. It can be modeled as
and THD. the conversion of the analog signal into digital data with
The paper is organized as follows: Section 2 pres- finite precision, called quantization. Finite precision itself
ents the theoretical perspective for characterization of persuades error known as quantization error. In ideal
ADC under test and input signal to be applied. Section ADC, transition voltages are equally spaced with a mea-
3 describes the mathematical formulation of the param- sure equal to the least significant bit, which is not the case
eters estimations using interpolation techniques with the with actual ADC8. Known values of Integral Nonlinearity
windowed signal. Estimation of dynamic parameters of (INL) are inserted into ideal ADC9. These nonlinearities
ADC has been shown in section 4 and simulation results are the source of curvature in the ADC transfer charac-
are presented in section 5. Based on the results obtained teristics. Nonlinearity creates harmonic distortion in the
conclusion is discussed in section 6. output spectrum. Figure 1 shows the characteristics of
2 Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology
Bhawana Garg and Deepak K. Mishra
ADC with nonlinearities. It presents the relation between teristics of the applied signal should also be accurately
the applied input signals and obtained the digital out- determined. Special methods have been suggested to esti-
put. Arbitrary values of INL are introduced in the ideal mate the frequency, amplitude, and phase of the signal3,6.
ADC to make it real life ADC. In Multi-frequency signal The Multi-frequency input signal considered in eq. (2)
relation between different frequencies and sampling fre- can also rewrite as:
quency in absence of coherent relationship lead to spec-
tral leakage. It can be reduced by weighing the discrete K M fm
x = A0 + ∑ Am sin 2 K + ∅m (3)
time domain sample with a sequence that is selected to fs ( m =1) fs
be a real and symmetric function to obtain a symmetric
reduction of the leakage called windowing10. Sampling =K 0,1, 2… N − 1
the input signal in time domain to finite numbers of
data points is equivalent to multiplying that signal by a
rectangular time window with time width equal to total Weighted signal is attained by multiplying the input sig-
sampling time. Multiplication in the time domain is same nal with time domain window.
as a convolution of the corresponding transforms in the
frequency domain11. Since the leakage is directly related
xw (K ∆t )= x(K ∆t ) × xw (K ∆t ) (4)
to discontinuities of the rectangular time window, a win-
dow with smoother edges will give better results. Hence DFT of weighted signal xw (k∆t)at spectral line n is given
the Hanning window can be considered due to its sim- by eq. (5).
plicity. Another advantage of using Hanning windows as
compared to rectangular is that the roll-off rate at the side
k∆t ) A0W (n) − j 0.5[ Am e j∅m W ((λm − n) f 0
Xw (=
lobes is higher; therefore, the spectral leakage is limited to (5)
a smaller frequency range12. + Am e − j∅m W (λm − n) f 0 )]
Charactristics of ADC
18 Where W(f) is the spectrum of the selected time domain
16
window, f0 is defined as the frequency resolution and can
be evaluated as the ratio of sampling frequency to the total
14
number of samples fs/N and λm is the ratio of fundamental
12 frequency to the frequency resolution.
Digital Output
10
fm
λ=
m = Lm + δ m (6)
8 f0
6
4
Lm is an integer which signifies the number of recorded m
the component cycle. δm is the fractional part and its value
2
lies in the interval 0≤δm≤1. It is measure of displacement
0 due to non-coherency. The interval (Lm,L(m+1))covers for
-3 -2 -1 0 1 2 3
Analog Input different fundamental frequencies, so that the largest two
spectrum lines are and S(Lm) and S(L(m+1))12.
Figure 1. Characteristics of 5-bit real life ADC.
3.1 Rectangular Window
3. Estimation of Signal
Spectrum of rectangular window:
Parameters with Interpolation
Technique and Windowing WR ( f m ) =
sin(πλm ) jπ NN−1λm
e
πλm (7)
Leakage due to discontinuities can be reduced by select- sin
ing proper window function. Along with this, charac- N
Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology 3
Dynamic Parameter Estimation of Analog to Digital Converter with Multipoint Interpolation Technique
3.1.2 Amplitude (Am)
s(Lm + 1) = − j 0.5Am e j (a(δ m −1)+ϕm )
sin π ( m ) (9)
δ − 1
π (δ m − 1) From eq. (17) and eq. (18) amplitudes of signal compo-
sin nents can be calculated respectively,
N
If a number of samples are equal to or greater than 1024, 2πδ m | s(L m )|
Am = (17)
eq. (10) and eq. (11) can be approximated by replacing N |sin πδ m |
sine in the denominator by their respective arguments13.
2π (1 − δ m ) | s(L m + 1)|
Am = (18)
| sinπδ m | N |sin π (1 − δ m |
s(Lm ) = 0.5Am (10)
πδ m
N Eq. (18) is recommended to get more accurate results
only if the spectral line at Lm+1 is greater than Lm.
| sinπδ m | 3.1.3 Phase (Øm)
s(Lm ) = 0.5Am (11)
πδ m The phase of fundamental frequencies can be calculated
N using eq. (19) and eq. (20).
The ratio of two magnitudes can be expressed as: π
=∅m phase(S(Lm )) − aδ m + (19)
| s(l + 1)| 2
αm = m (12)
| s(lm )| π
=∅m phase(S(Lm )) − aδ m + (20)
2
α
δ m = m (13)
αm + 1 Phase and amplitudes of harmonics can be computed with
the same procedure as calculated for the fundamental.
4 Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology
Bhawana Garg and Deepak K. Mishra
π π
=∅m phase(S(Lm )) − aδ m + (21) =∅m phase(SH (Lm )) − a δ m − 1 + (29)
2 2
Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology 5
Dynamic Parameter Estimation of Analog to Digital Converter with Multipoint Interpolation Technique
Where j is the number of components of the input signal, Figure 2 shows the frequency spectrum of ideal
n is the number of harmonics considered. Y is the Fourier ADC with rectangular windowed multi-frequency
transform of the corresponding signal. input signals. It is averaged for all four windows to
reduce the noise. Peak values are a measure of ampli-
4.3 Signal to Noise and Distortion tudes of tones of the input signal with FFT. More
accurate estimation of amplitude and frequency can
Signal-to-Noise-and-Distortion (SINAD) is the ratio of
be obtained with I PFFT technique. Figure 3 pres-
the RMS of signal amplitude to the mean value of the RSS
ents the spectrum with Hanning windowed signal.
of all other spectral components, including harmonics,
Less amount of leakage can be observed in Figure
but excluding dc. SINAD is a good measure of the overall
4-6 shows the average spectrum for actual ADC
dynamic performance of an ADC because it includes all
with rectangular and Hanning windowed input sig-
components which make up noise and distortion.
nal. Compared to the spectrum of ideal ADC, more
harmonics are observed with actual ADC. These har-
5. Simulation Results monics are presented due to inserted nonlinearity in
the actual ADC. Using these spectrums frequency,
To estimate the dynamic parameters of ADC a Multi-
amplitude and phase of signal and harmonics have
frequency signal is taken. Test frequencies are selected
been estimated with 2- point interpolation method
that guarantees the phases of the sampled values uni-
and shown in Table 1. Based on the estimated values
formly distributed between 0 and 2π. High-frequency
of frequency and amplitude, dynamic parameters of
multi-tone signal with a sampling frequency of 1MHz and
ADC are estimated as mentioned in Table 2.
a test frequency of components equal to 26377.9142Hz,
102533.8366Hz, have been simulated16,17. 8-bit ideal and
real life bipolar ADC is simulated with full-scale voltage
of 5.12V. Total number of samples is 4096. Rectangular
and Hanning window of size 1024 samples are simulated,
hence total number of windows will be 4. Initial phases of Figure 2. Test set up.
all components are assumed to be zero.
Figure 3. Frequency spectrum of Ideal ADC stimulated with rectangular windowed multi frequency signal.
6 Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology
Bhawana Garg and Deepak K. Mishra
Figure 4. Frequency spectrum of Ideal ADC stimulated with hanning windowed multi frequency signal
Figure 5. Frequency spectrum of actual ADC stimulated with rectangular windowed multi frequency signal
Figure 6. Frequency spectrum of actual ADC stimulated with Hanning windowed multi frequency
Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology 7
Dynamic Parameter Estimation of Analog to Digital Converter with Multipoint Interpolation Technique
Table 1. Estimated values of input parameters using FFT and IPFFT
6. Conclusion 7. Reference
Testing of ADC is the process of characterization of ADC, 1. Jain V.K. High-accuracy analog measurements via inter-
which includes the estimation of static and dynamic polated FFT, IEEE Transactions on Instrumentation and
parameters of the device. Static parameter Gain, offset Measurement. 1979; 28(2):113−22. crossref.
and nonlinearity are estimated with histogram method. 2. Belega D. Multi-frequency signal analysis by interpolated
DFT method with maximum side lobe decay windows,
For estimation of dynamic parameters, frequency domain
Measurement. 2009; 42(3):420−26. crossref.
based methods are used. In this paper interpolation
3. Belega D. Frequency estimation via weighted multi-
method is used for dynamic parameters estimation of
point interpolated DFT, IET Science, Measurement and
ADC. SNR, THD, and SINAD are important parameters Technology. 2008; 2(1):1−8. crossref.
of an ADC. The interpolated method offers more accurate 4. Offelli C, Petri D. A frequency-domain procedure for
results compared to FFT method with Hanning window. accurate real-time signal parameter measurement, IEEE
The overall work is carried out has made a significant Transactions on Instrumentation and Measurement. 1990;
contribution to ADC testing. The results presented here 2(39):363−68. crossref.
are based on computer simulation. The algorithm devel- 5. Grandke T. Interpolation algorithms for discrete Fourier
oped is equally suitable for real-life dynamic testing of transforms of weighted signals, IEEE Transactions on
ADC. The nonlinearity can contribute to harmonic dis- Instrumentation and Measurement. 1938; 32(2):350−55.
tortion, while the sampling jitter, the quantization noise, crossref.
and the thermal noise contribute to the noise floor of the 6. Flores GC, Negreiros M, Carro L, Susin AA. INL and
DNL estimation based on noise for ADC test, IEEE
digitizing system.
8 Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology
Bhawana Garg and Deepak K. Mishra
Transactions on Instrumentation and Measurement. 2004 12. Dušan A. Dynamics of frequency estimation in the fre-
Oct; 53(5):1391−95. crossref. quency domain, IEEE Transactions on Instrumentation
7. Agrez D. Analysis of the residual spectrum in ADC and Measurement. 2007; 56(6):2111−18. crossref.
dynamic testing, IEEE Transactions on Instrumentation 13. Blair JJ. Selecting test frequencies for sine wave tests
and Measurement. 2009; 58(3):2009. crossref. of ADCs, IEEE Transactions on Instrumentation and
8. Mishra DK. ADC testing using interpolated fast Fourier Measurement. 2005; 1(54):73−78. crossref.
transforms (IFFT) technique, International Journal of 14. Mahoney M. DSP-based testing of analog and mixed-signal
Electronics. 2003; 90(7):459−69. crossref. circuits. John Wiley & Sons. 1987, p. 1−257.
9. Wagdy MF. Determining ADC effective no. of bits via 15. Mishra DK. Some methods of dynamic testing of A/D con-
Histogram Testing, IEEE Transactions on Instrumentation verters. P. hD. Thesis, SGSITS Indore; 1999. 1−25.
and Measurement. 1991; 40(4):770−72. crossref. 16. Mishra DK, Gamad RS. Dynamic testing of an ADC for real
10. Novotny MS. The influence of window side-lobes on DFT- application input. IEEE AUTOTESTCON, USA; 2011 Sep.
based multi frequency signal measurement, Computer p. 354−59.
Standards and Interfaces. 2010; 32(3):110−18. crossref. 17. Harris FJ. On the use of windows for harmonic analy-
11. Gray RM. Quantization noise spectra, IEEE Transaction on sis with the discrete Fourier transform, Proceeding of the
Information Theory. 1990; 6(36):1220−44. crossref. IEEE. 1978; 1(66):1−33. crossref.
Vol 11 (6) | February 2018 | www.indjst.org Indian Journal of Science and Technology 9