Computation of Error in Estimation of Nonlinearity in ADC Using Histogram Technique ()
1. Introduction
Real life signals are analog in nature and in order to interface them with digital processing systems it is necessary to convert them in digital using ADC. As ADC plays an important role in deciding accuracy of overall system, testing of an ADC is essential to find out its functional parameters. ADC test duration and its cost increase significantly with resolution of ADC. ADC is usually characterized by its figures of merits like Effective Number of Bits (ENOB), Signal to Noise and Distortion ratio (SINAD), DNL and INL [1,2]. Histogram technique is very popular for testing an ADC to determine several parameters of interest namely, INL, DNL, ENOB, gain error and offset error. Recently work on determination of error in estimation of code transition levels and computation of variance in gain and offsets has been published [3,4].
Also performance of techniques to determine ADC parameters have been evaluated [5,6]. DNL, INL and ENOB are determined based on code transition levels of ADC transfer characteristics [7,8]. If estimation of code transition levels has errors then subsequently it will lead error in estimation of parameters based on code transition levels. In this paper our contribution is in determination of error in estimation of DNL and INL.
Section 2 presents brief review of earlier work using histogram technique. Mathematical formulae developed for computing error in estimation of nonlinearity are presented in Section 3. Simulation results for 5 and 8 bit ADC are reported in Section 4. Conclusions are presented in Section 5.
2. Earlier Work Done on Histogram Technique
A sinusoidal stimulus signal with frequency (f), amplitude (A), and offset (O) is applied to the ADC under test and predefined number of samples, M, with sampling frequency (fs) are acquired. The expression used to estimate the transition levels, T[k], of an ADC with N bits is given as [3,9].
(1)
where.
= The total number of samples received in code bin i.
The number of counts in the cumulative histogram is a random variable and these depend on real transition voltages ‘T’ and number of samples ‘M’. Normalized transition voltages ‘U(k)’ can be expressed using equation (1) as:
(2)
For any particular values of gain and the offset, the DNL and INL can be determined without additive noise and overdrive as follows [10,11].
(3)
(4)
where, G = gain, W[k] = Kth code bin width and Q = ideal code bin width.
3. Estimation of Nonlinearity
DNL is deviation of actual code bin width from ideal code bin width and INL is maximum deviation of actual transfer characteristics from ideal or best fit transfer characteristics. Estimate values of parameter are computed when additive noise and overdrive effects are considered. Considering additive noise, estimate of DNL and INL can be expressed as follow. In all formulae this symbol ۸ on top of parameter indicates estimate value.
(5)
where, estimated code bin width =,
or
Similarly estimate of INL can be expressed as:
(6)
where from [2,3,12]:
where, L = Last transition level, F = First transition level.
Therefore,
(7)
(8)
Error Estimation in DNL and INL From equations (3) and (5), estimation error of DNL can be written as:
(9)
Similarly from equations (4) and (6), estimation error of INL can be given as:
(10)
4. Results and Discussion
Ideal ADC transfer characteristics for 5 and 8 bit resolution are simulated and arbitrary nonlinearity error is introduced in their transfer characteristics. Simulated full scale sine wave with 0.98 MHZ frequency with slight over derives is applied to the ADC and large number of samples at 5 MHZ sampling frequency are collected. In first case using standard histogram technique code transition levels are computed after introducing DNL error in ADC transfer characteristics. Further error in code transition level estimation is determined. Error determination in estimation of DNL is done and is shown in Figure 1 and Figure 2 for 5 and 8 bit ADC respectively with respect to ADC code. Error variation in DNL estimation is observed with maximum value of approximately of 0.4 LSB and minimum value of <−0.2 LSB as shown in Figure 1 for 5 bit ADC. Similarly for 8 bit ADC maximum value of error is observed and is equal to 0.5 LSB and minimum value equal to −0.2 LSB as shown in Figure 2. Also arbitrary INL error is introduced in 5 and 8 bit ADC transfer characteristics and computation of error in INL estimation is done and is shown in Figure 3 and Figure 4 for 5 and 8 bit ADC respectively. Though in this paper results for 5 and 8 bit ADC are presented but same test technique can be used for testing ADC with higher resolution.
5. Conclusions
This paper reports effects of additive noise and overdrive in computation of estimation error in DNL and INL of 5 and 8 bit ADC. Estimate value is taken when effects of additive noise and overdrive are considered. While actual value is considered without additive noise and overdrive. Estimation error is determined by taking difference of estimate value and actual value. Simulation of ideal ADC transfer characteristic is done and arbitrarily nonlinearity error is introduced in it. Simulation results for estimation error in DNL and INL are reported for 5 and 8 bit ADC.
6. Acknowledgements
This work has been carried out in SMDP VLSI laboratory of the Electronics and Instrumentation Engineering Department of Shri G. S. Institute of Technology and Science, Indore, India. This SMDP VLSI project is funded
Figure 1. Estimation error in DNL for 5 bit ADC.
Figure 2. Estimation error in DNL for 8 bit ADC.
Figure 3. Estimation error in INL for 5 bit ADC.
Figure 4. Estimation error in INL for 8 bit ADC.
by Ministry of Information and Communication Technology, Government of India. Authors are thankful to the Ministry for the facilities provided under this project.