Professional Documents
Culture Documents
5.g 133 - Efficient Fault Effect Extraction For An Integrated
5.g 133 - Efficient Fault Effect Extraction For An Integrated
Abstract - Analog to digital converter (ADC) is the vital part It is well known that time consumed for testing is the
of many mixed-signal ICs because it interfaces analog signals key parameter to be minimized from the manufacturing
from real world with digital logic on a chip. Errors made during point of view. This fact holds primarily because the testing
conversion are hard to eliminate in the digital part that follows. process increases time to market cost. In widely accepted
Therefore, functional testing of ADC is a very important
especially during developing of prototypes. Testing techniques for
automatic test equipment (ATE) testing of ADCs is based
the ADC implemented in an integrated power-meter are on the verification of a subset of converter performance
considered first. A testing procedure based on efficient fault effect parameters that include offset, gain, signal-to-noise ratio
extraction will be proposed and implemented to a ΣΔ ADC. (SNR), total harmonic distortion (THD), integral nonline-
Encouraging results were observed. arity (INL), differential nonlinearity (DNL) and power con-
Keywords – IMPEG, ΣΔ AD Converter, DFT, SC integrator sumption. Dynamic performance parameters are estimated
from FFT analysis performed over output bit stream. Static
I. INTRODUCTION performance parameters can be determined from measured
code transition edges (feedback loop test) or from the
Modern power meters are usually realized as solid state number of code occurrences in response to a periodic
integrated SoC circuits. The functionality of this kind of signal (histogram testing). The accuracy of such parameter
circuits is based on acquiring instantaneous values of measurements requires a large number of samples (approx.
voltage and current. These values are obtained through 16536 for 90 dB THD and SNR measurements) and up to
some kind of analog-to-digital data conversion and further 10 s of test time for a single channel 16-bit audio ADC.
processed in digital domain. One such solution is realized There is a number of techniques and methods (e.g.
as integrated circuit in LEDA laboratory and named built-in self-test (BIST)) for analog and mixed-signal cir-
IMPEG [1]. Basic block diagram of IMPEG chip is shown cuitry in high resolution ADCs. All those techniques ad-
on Fig. 1. dress the measurement of just one or of only a limited num-
Vdd=3.3V
ber of specification parameters using conventional techni-
Vdd=3.3V ques. One of such techniques that focus on minimization of
Vbat=3.0V PowOffInt test time and data required for FFT analysis is published in
POR PowOnRes
Vrtc
Ports [3]. Often, most of these methods tends to require signi-
Digital UART
8052 SPI
ficant die area and dedicated additional test patterns for
DSP verification. In this paper a recent solution of design for
Filters MCU LCD
Clk_4MHz
RTCBus testability (DFT) for ΣΔ ADC implemented in an integrated
I,V ΣΔ AD CSP Clk_32kHz
(R, S. T) converters RTCBusOn RTC power meter is discussed [4].
SDA, SCL This paper is organized as follows. The next section
Fig. 1: IMPEG block diagram deals with different methods for ADC testing. After that we
describe a practical way for testing the analog part of ΣΔ
From Fig. 1 one can notice the main functional blocks AD Converter. The paper concludes with important results
of IMPEG. One, in particular, block which is of prime obtained after testing the particular ΣΔ ADC.
concern of this paper, is ADC block. In the IMPEG
solution ADC is realized as ΣΔ type of converter with
second order noise shaping loop [2]. Since the accuracy of
II. ADC TESTING
the ADC determines the quality of the power measurement,
a proper function of this block is very important. So the Typical ADC tests are: ADC code edge measurement,
ADC has to be fully tested. DC tests, transfer curve tests, and dynamic ADC tests [5].
Each one of them will be briefly explained.
Dejan Mirković and Vančo Litovski are with the Depart- The aim of ADC code edge measurement is to find the
ment of Electronics, Faculty of Electronic Engineering, Univer- input voltage threshold between two successive ADC codes
sity of Niš, Aleksandra Medvedeva 14, 18000 Niš, Serbia, E- that causes an output code to change. To measure the ADC
mail: {dejan, vanco}@elfak.ni.ac.rs. linearity one needs to derive transfer curve of an ADC.
Dejan Stevanović is with The Innovation Center, School of Two well-known methods for transfer curve derivation are
Electrical Engineering, University of Belgrade, d.o.o. (ICEF), center code testing and edge code testing [4].
Bul. Kralja Aleksandra 73, 11120 Belgrade, Serbia, E-mail: The center code testing gives artificially low DNL
dejan.stevanovic@elfak.ni.ac.rs.
125
Proceedings of Small Systems Simulation Symposium 2012, Niš, Serbia, 12th-14th February 2012
value, and because of that this technique should be avoi- modulator, respectively. The pin digital_inout represents
ded. There are several different ways to search for the code bidirectional digital port which has dual role. Firstly, it
edges. One of the most common techniques is the histo- provides access to the bit stream which represents coarsely
gram method. quantized, oversampled value of analog input signal.
The simplest way to perform a histogram test is to Secondly through this pin the digital filters, that follow the
apply a rising or falling linear ramp to the input of the ADC ΣΔ modulator, can be fed with some externally generated
and collect samples from the ADC at constant sampling bit sequence. So this pin enables implementation of testing
rate. The ADC samples are captured while the input ramp algorithms weather for the whole ADC or just for the
slowly moves from one end of the ADC conversion range digital filters.
to the other. The number of occurrences of each code is It is worth to mention that the converted value of analog
plotted as a histogram. It shows which codes are hit more input signal is stored in a 24 bit wide register which is
often, indicating that they are wider codes. After obtaining refreshed with a rate of 4096 kHz. This register can be
the histogram, a code edge transfer curve must be derived accessed using three wire serial communication port (SCP)
using a mathematical equation that sums the code widths. at rate of 400 kHz. More about architecture illustrated in
To compensate for the poor linearity of the ramp gene- Fig. 2 can be found in [4] and [6].
rators, the alternative, sinusoidal histogram method can be analog_out
used. It is easier to produce a pure sinusoidal waveform AMUX
126
Proceedings of Small Systems Simulation Symposium 2012, Niš, Serbia, 12th-14th February 2012
Φ1 Φ2
SP1 SP2
CREF1 VREF 0 Q Φ1 Φ2 CF1
VINP -VREF SP5 SP6
SP3 SP4 1 CS1
VOUTP
VCM SP7 SP8 VCM
VOUTM
SN5 SN6
CS2
VINM -VREF 0
SN1 SN2 VREF
CREF2 SN7 SN8 CF2
1
SN3 SN4
Fig. 3. Structure of the SC integrator in the sigma-delta modulator
in the analog part of the ΣΔ modulator (quantizer, SC corresponds to instantaneous value of analog input signal,
integrator etc.). Single fault analysis is conceived. Finally, V INP . In the second phase (Φ 2 active) the charge
the responses of the fault-free and the faulty circuits are maintained on C S1 is transferred to the feedback capacitor
compared in order to establish testability for every inserted C F1 and further to the output of the opamp, V OUTP .
fault. Similarly, the charge proportional to k·V REF , where k is the
If there is deviation in SNR and/or THD values between ratio C REF1 /C F1 , is added to the feedback capacitor with
the responses of the fault-free and the faulty circuit, the plus or minus sign depending on the state of Q.
fault is covered with the test signal adopted in first step. Knowing this, one can notice that the analog switch
Otherwise, the fault is masked so different test signal S P2 /S P4 (equivalently S N2 /S N4 ) is vital for proper
should be adopted, and the procedure repeated. Practically, functioning of the SC integrator. During its activation
the procedure is iteratively repeated until the given defect charge is transferred to the output of the integrator. That
is covered i.e. appropriate test signal discovered. Besides was why malfunction of S P2 is picked to be tested with the
SNR and THD parameters, visual inspection of the signal’s proposed procedure. The testing procedure is applied to
spectrum can be helpful to detect presence of defect in the detect shorts and opens between all four transistor
circuit. terminals (drain, gate, source and bulk) of the switch.
Fortunately, because of the specificity of the circuit,
every defect that forces any of the integrators, and the V. RESULTS
further quantizer, to saturate, will lead to malfunction. So
sometimes is just enough to observe the waveform of the The proposed test procedure is applied on SPICE macro
quantizer output. But when the effect of defect is not model of ΣΔ modulator which includes adequate MOS
visible from output signal waveform then proposed testing transistor model for 0.35 μm CMOS technology process.
procedure should be used. After simulation, FFT analysis, SNR and THD estimation
are performed using appropriate MATLAB® script. All
B. Functionality of SC integrator results are summarized in Table I.
The values for THD and SNR are given in homonymous
As it was mentioned in previous sections noise shaping columns. Column detected provides information weather
is obtained with second order loop filter i.e. Σ∆ modulator. defect is detected or not with the adopted excitation signal.
Each of two modulator stages is realized as SC, delaying, The second row refers to the fault-free circuit, while the
parasitic insensitive, integrator. The simplified, fully diffe- others represent faulty ones. The letters D, G, S, and B
rential, realization of SC integrator is depicted in Fig. 3. correspond to drain, gate, source, and bulk transistor
Since the circuit is symmetrical to the horizontal axis for terminals, respectively. Sine wave with 200mVpp
sake of simplicity one can concentrate on the top half of the magnitude and 50Hz frequency is adopted for excitation.
circuit. After applying the test procedure to the circuit, this kind of
Every analog switch, S Ni /S Pi , where i= 1, ..,8, is excitation signal is shown to be adequate test signal for all
realized as an NMOS transistor. The voltages V INP , V OUTP defects in S P2 .
and V INM , V OUTM represent the input and output for a As can be seen from Table I all shorts between analog
positive and negative analog signal, respectively. The port switch terminals, except gate-balk combination, result with
Q is the output of the quantizer while Φ 1 and Φ 2 are clock malfunction of the circuit. So these defects could be
signal ports. The common mode voltage is denoted by V CM , detected only by observation of the waveform at the
and the reference voltage with V REF . quantizer output. However, for gate-bulk short and drain,
The operation of the SC integrator takes place in two source and gate opens, the functionality of the circuit
non overlapping clock phases provided by Φ 1 and Φ 2 . In apparently stays unchanged. Because of that, presence of
the first phase, when the clock signal Φ 1 is active, the these defects cannot be detected by purely observing
sampling capacitor (C S1 ) is charged with charge that waveform of output signal.
127
Proceedings of Small Systems Simulation Symposium 2012, Niš, Serbia, 12th-14th February 2012
ACKNOWLEDGEMENT
[1] http://leda.elfak.ni.ac.rs/projects/IMPEG/impeg.htm
[2] R. Schreier, and G. C. Temes., ”Understanding Delta-
Sigma Data Converters”, John Wiley & Sons, Inc.,
Hoboken, New Jersey, 2005.
[3] De Venuto D., ”Testing high resolution SD ADC’s by
using the quantizer input as test access”, Microelec-
tronics Journal, Vol. 36, No. 9, 2005, pp. 810–819.
[4] Nikolić, M., Sokolović, P., and Petković, P., ”Labora-
tory ADC Tester Based on NI-6251 Acquisition Card”,
Proc. of 25th MIEL, Belgrade, 14-17 May, 2006
[5] M. Burns, and G. W. Roberts, ”An Introduction to
Mixed-Signal IC Test and Measurement”, Oxford Uni-
versity Press, New York, 2001.
Fig. 5. Single-sided magnitude spectrum with shorted gate and [6] Sokolović, M., Savić, M., Nikolić, M., Litovski, V.,
bulk terminals of S P2 analog switch Jevtić, M., and Petković, P., ”Testing and Diagnostic of
As mentioned earlier, graphical representation of ADC and Integrated Powermeter”, Electronics, Vol. 9,
observed signal spectrum can be useful for defects No. 1, 2005, ISSN 1450-5843.
128