Professional Documents
Culture Documents
net/publication/220526718
Article in IEEE Transactions on Very Large Scale Integration (VLSI) Systems · October 2011
DOI: 10.1109/TVLSI.2010.2063443 · Source: DBLP
CITATIONS READS
17 2,480
2 authors, including:
Jiun-Lang Huang
National Taiwan University
98 PUBLICATIONS 805 CITATIONS
SEE PROFILE
All content following this page was uploaded by Jiun-Lang Huang on 30 April 2015.
Abstract—Loopback testing is a powerful technique for testing path) so that they can test each other becomes a promising
the analog-to-digital converter (ADC) and digital-to-analog con- solution to automatic test equipment (ATE) cost reduction.
verter (DAC) pair embedded in a mixed-signal system-on-chip While attractive, the loopback testing methodology is limited
(SoC). While attractive, its performance is generally limited by
the achievable test resolution and the potential fault masking by the achievable test resolution and the potential fault masking
problem. In this work, a loopback linearity testing technique for problem. Over the years, several techniques have been devel-
an ADC/DAC pair is presented; the key idea is to raise the effec- oped to address these issues. In [7], Shin et al. presented a
tive ADC and DAC resolution by scaling the DAC output. First, loopback testing scheme that utilizes spectral predictors and a
during ADC testing, we scale down the DAC output to achieve the simple analog filter on an external load board to estimate the
required test stimulus resolution and adjust the DAC output offset
to cover the ADC full-scale range. Then, for DAC testing, we raise dynamic performance of data converters. Based on [7], Park
the effective ADC resolution by scaling up the DAC output. Both et al. developed a parallel loopback testing approach in [8].
simulation and measurement results are presented to validate the These methods require intensive computation to derive the
proposed technique. dynamic performance parameters. For static linearity testing,
Index Terms—Analog-to-digital converter (ADC)/digital-to- [9] proposed to first estimate the ADC linearity based on the
analog (DAC) testing, design-for-test (DfT), loopback testing, noise distribution. Then, the characterized ADC is employed
mixed-signal testing, segmented current-steering DAC. to test the DAC. Reference [10] proposed another noise-based
loopback testing scheme. It characterizes the DAC perfor-
I. INTRODUCTION mance with the spectral prediction technique [7], utilizes a
digital equalizer to compensate for the DAC nonlinearity, and
the DAC output. Then, the ADC is utilized to test one current
source in the SCS DAC at a time. From the results, the DAC
input/output (I/O) transfer curve can be constructed assuming
that the current summation is ideal.
The contributions and advantages of the proposed loopback
testing methodology are as follows.
1) We propose to achieve the needed test resolution for static
ADC and DAC testing, including differential nonlinearity
(DNL) and integral nonlinearity (INL), by simply scaling
the DAC output. For SCS DAC, this can be easily realized
by adjusting the load resistance value.
2) The proposed technique is robust. The scaling factors and
the set of offset voltages need not be very accurate. Fig. 1. Six-bit segmented current-steering (SCS) DAC.
Both simulation and measurements on off-the-shelf ADC/DAC
show that the proposed technique achieves almost identical re-
sults to the conventional method. The limitation is that the DAC B. Linearity of DAC
must be of the segmented current-steering architecture. Let denote the DAC output voltage of code . One LSB,
The rest of this paper is organized as follows. In Section II, we which corresponds to the average voltage increment of the DAC,
briefly introduce the linearity specifications of data converters. is defined as
In Section III, the basic architecture and operation principle of
the SCS DAC is presented. In Section IV, we illustrate the pro-
posed technique in detail. In Section V, the impact of ADC/DAC (4)
nonlinearity is discussed. Simulation and experimental results
are given in Sections VI and VII, respectively. Finally, we con- where is the DAC resolution. DNL and INL of the DAC can
clude this paper in Section VIII. then be computed by the following equations:
(5)
II. LINEARITY OF DATA CONVERTERS
if
In this work, we use the endpoint line as the reference line (6)
if
and compute the endpoint DNL and INL [17]. For ADC testing,
the endpoint line connects the lowest and highest ADC transi-
tion voltages; for DAC testing, the endpoint line connects the
smallest and largest DAC output voltages. III. SEGMENTED CURRENT-STEERING DAC
The segmented current-steering (SCS) DAC is very popular
A. Linearity of ADC for high-performance applications. Internally, an -bit SCS
The ADC linearity is usually characterized by the linear his- DAC is divided into two segments: the unary-weighted segment
togram testing; a linear ramp of which the linearity is better than for the more significant bits and the binary-weighted seg-
the ADC by at least 3 bits is applied and the ADC output codes ment for the less significant bits.
are collected. Let be the number of occurrences of output The SCS DAC architecture combines the advantages of the
code . The average code hits, which corresponds to 1 LSB, is unary and binary-weighted architecture—the former relieves
defined as the output glitch problem; the latter reduces the circuit size.
Take the 6-bit SCS DAC in Fig. 1 for example. It has
and ; thus, it uses unary-weighted
(1) and and 4 binary-weighted cur-
rent sources that are related by
where denotes the ADC resolution. and
are invalid and thus excluded because their input ranges are not if
(7)
doubly bounded. DNL, the difference between the actual code otherwise.
width and the average one, can be computed by
While one can use to to directly control the binary-
weighted current sources to , a binary-to-thermometer de-
(2) coder is needed to generate the control signals to the unary-
weighted current sources ( , and ) from and . The
INL, the deviation of the actual code transition level from the total output current is directed to the load resister
ideal one, can be obtained by integrating DNL. to produce the output voltage .
It is worth noting that one can control the SCS DAC’s full
if scale range (FSR) by adjusting ; this forms the basis of the
(3)
if proposed ADC/DAC loopback testing technique.
HUANG AND HUANG: ADC/DAC LOOPBACK LINEARITY TESTING BY DAC OUTPUT OFFSETTING AND SCALING 1767
(8)
(9)
Fig. 7. Proposed DAC loopback testing flow. is to be measured in this example, and the circles denote
the ideal down-scaled DAC outputs. Ideally, there will be DAC
outputs within the code boundaries of , i.e.,
ever, is limited by the ADC FSR. When the largest current . The maximum estimation error occurs when the DAC out-
source, i.e., a unary-weighted one, is tested, the resulting output puts before/after ’s boundaries deviate the most from their
voltage must be within ADC FSR. According to (7), we have idea values. As illustrated by the triangles in Fig. 8, if these
(12) DAC outputs fall out of the boundaries, will be reduced
to . Similarly, if the DAC outputs corresponding to the
Since the maximum DAC output covers the ADC FSR when squares in the figure fall into the code boundaries, will be
loaded with , we have increased to . In both cases, the measured DNL error is
. By increasing , one can reduce the measurement error
(13) and thus improve the test accuracy.
From (12) and (13) and , we have B. Impact of Analog Adder Nonlinearity on ADC Testing
Fig. 12. DAC testing simulation results. (LHS: ideal. RHS: proposed.)
Fig. 15. Simulated ADC test errors considering noise.
Fig. 13. Simulated DAC test errors. Fig. 16. DAC testing simulation results considering noise. (LHS: ideal. RHS:
proposed.)
Fig. 17. Simulated DAC test errors considering noise. Fig. 19. Maximum test errors with respect to different ADC/DAC nonlinearity.
(LHS: ADC. RHS: DAC.)
Fig. 18. Maximum test errors with respect to different scaling factors. (LHS:
ADC. RHS: DAC.)
Fig. 20. Simulation results of 1000 ADC/DAC pairs. (LHS: ADC. RHS: DAC.)
Fig. 21. ADC testing experimental results. (LHS: actual. RHS: proposed.)
Fig. 22. ADC testing errors.
10-bit pipelined ADC (ADS825 from TI). On the other hand, the
DAC under test is emulated using a 14-bit current-output DAC
(THS5671A from TI); it is a 10-bit SCS DAC with
and . The reasons to use an emulated DAC are as fol-
lows. First, we are unable to modify the binary-to-thermometer
decoder of commercial SCS DACs to realize the DAC test flow.
Secondly, this facilitates very flexible fault injection to the DAC.
In the experiments, each current source in the emulated DAC
is randomly perturbed by within 7% of its nominal value. The
ADC and DAC have the same FSR of 2 V and are both operated
at a sampling rate of 100 kHz.
The scaling factor is set to 25, and is set to 60; this is
achieved by setting and in Fig. 3 to 100 ,
4 , and 6 k , respectively. The offset control circuit is imple-
mented by an OPAMP-based (OPA228 from TI) analog adder,
and the required offset voltage is provided by NI DAQ (USB-
6259). The noise is measured by using the DAC to generate a dc Fig. 23. DAC testing experimental results. (LHS: actual. RHS: proposed.)
voltage and observe its distribution at the ADC input; the mea-
sured noise standard deviation is about 0.25 LSB.
B. DAC Testing Experimental Results
A. ADC Testing Experimental Results The actual performance of the emulated 10-bit DAC under
The ADC under test (ADC825) is first characterized by the test is first measured by NI DAQ which has a 16-bit resolu-
14-bit DAC (THS5671A) with the traditional linear histogram tion. Each DAC output is sampled “100” times to average out
testing. The LHS plots in Fig. 21 show the measured DNL and the noise effect. The LHS plots of Fig. 23 show the measured
INL; the peak DNL and INL values are 0.73 and 2.54 LSB, DNL and INL performance; the peak DNL and INL are 0.96
respectively. and 3.57 LSB, respectively.
The proposed loopback ADC testing technique is then ap- As the emulated 10-bit DAC has and ,
plied. Note that: 1) the 10-bit DAC is emulated using a 14-bit there are a total of emulated current sources.
one and is fault-injected and 2) the OPAMP we used in the The output voltage with respect to each of the emulated cur-
analog adder has a very high open-loop gain (160 dB) to en- rent sources (loaded by ) is digitized by the 10-bit ADC
sure the test quality. The measurement results are shown in RHS (ADS825), and each current source is only measured “once.”
plots of Fig. 21. The peak values of the estimated DNL and From the measured voltages, the DAC I/O transfer curve is con-
INL are 0.80 and 2.53 LSB, which are very close to the ac- structed to derive the DNL and INL; the results are shown in the
tual values. RHS plots of Fig. 23. The peak estimated DNL and INL values
The estimation errors are shown in Fig. 22; the maximum are 0.97 and 3.30 LSB, respectively.
DNL and INL measurement errors are 0.19 and 0.36 LSB, re- The DAC DNL/INL test errors of the proposed technique are
spectively. It is worth noting that each DAC output is sampled shown in Fig. 24; the peak DNL and INL errors are 0.16 and
50 times by the ADC in these experiments to average out the 0.32 LSB, respectively. These results demonstrate the insen-
noise effect. sitivity of the proposed DAC testing technique against the noise.
1774 IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, VOL. 19, NO. 10, OCTOBER 2011