5.g 129 - Oscillation Based Analog Testing - A Case Study
5.g 129 - Oscillation Based Analog Testing - A Case Study
5.g 129 - Oscillation Based Analog Testing - A Case Study
Abstract— The Oscillation Based Testing (OBT) method The implementation of OBT depends on the very
represents an effective and simple solution to the testing
circuit under test. The main reason for that is the ne-
problem of discrete continuous time analog electronic cessity to create an oscillator out of a given circuit.
niters. Its implementation, however, still imposes need
That is one of the difficulties related to the implemen-
for knowledge of the circuit under test (CUT) behaviour
tation of the method. In addition, some of the faults,
and the simulation algorithms of oscillators in the time
especially the soft ones, create fault effects that are
domain. In this paper we describe the implementation of
not easily discernible. Moreover, while mainly the
the OBT method to a second order notch cell realized
number of test points is reduced to one, the oscilla-
with one operational amplifier. For simulation we used
tor's output, the problem of measurement is still not
LTspice. A realistic model for simulation of the ope-
fully solved since one has to decide which and how
rational amplifier in time domain was used. The results
obtained confirm the hypothesis of usefulness of OBT. many parameters of the response are to be extracted.
Finally, the method needs to bring the oscillator into a
Single soft and catastrophic faults are considered with
steady state what frequently slows down the testing
more detail while double soft faults are exemplified only.
Ideas for future work are suggested. process. It is worth mentioning that there are rare si-
tuations where no fault effect may be observed when
using one testing point (output voltage) so additional
Key word - active filter, testing, fault dictionary,
oscillator, simulation, BIST, design for testability. measurements are needed such as /DD [2], [3].
18 MIPRO 2011/MEET
ses) of that circuit one may extract quantities, such as proper structuring o f the analog subsystem on the chip,
the frequency, the amplitude o f the first and other har- as shown in Fig. 1, one may create possibilities to con-
monics, the D C value o f the output voltage, etc. that trol the testing process from outside o f the chip. In mo-
may contain information on the presence o f a fault in re complex mixed- signal architectures, however, ba-
the circuit. M a i n advantage o f this method is avoidan- sed on O B T , one may implement the built in self test
ce o f the search for input stimuli and appropriate mode (BIST) concept, too. In that case one supposes that a
of operation o f the circuit; independence of the method digital signal processing (DSP) unit is implemented
on the type o f faults present i n the circuit (soft or somewhere on the chip and used while the device is in
catastrophic); and simplified selection o f the test point test mode to evaluate the output-signal parameters
and measured quantity at the output [1], [4], [5], [6]. what is then used for qualification o f the circuit as
fault-free or faulty.
From the design for testability ( D F T ) point o f view
this method offers exceptional advantages. Namely, by
^Circuit under test (CUT)
Analog
Inpiits|_ block 1
Analog
block 2
1 _ Analog
block N-1
, Analog
block N Outputs
Test logic
R 2C R
c c
R/2
I
Fig. 3. Twin-T circuit Fig. 4. Sallen-Key (SK) non-inverting second order notch filter cell
MIPRO 2011/MEET
V. F A U L T SIMULATION
in Us
tor. Note that simulation of an oscillator is not a stra-
ightforward task since one usually implements an A-
stable integration rule (such as Euler-backward) for
solving the differential equations of the oscillator [8].
F i g . 5. R C oscillator based on the N o t c h filter cell Here however, since the circuit is unstable, one needs
to use an integration rule that is not A-stable (trapezo-
The fault list used contains both parametric (soft) idal, for example).
and catastrophic faults.
When parametric faults are considered, the oscilla- For correct simulation one needs to use a complete
tor is treated as a linear circuit so one may use the usu- schematic of the operational amplifier or a qualified
al oscillator analysis method-to get the expected oscil- model that performs well from the phase-shift point of
lation frequencies. Namely, by writing the modified view. To shorten the computation time we used a
nodal equations [8] for the circuit of Fig. 5, and equa- model as shown in Fig. 6 which is redrawn based on
ting the system determinant to zero, after separating the SPICE code given in [3] with the parameters ac-
the real and imaginary part, one obtains the following commodated to Linear Technologies LTlOOl [10]. To
two expressions for the possible oscillation frequen- illustrate how successful the modelling of the phase
cies: difference inserted by the operational amplifier is, the
2 A-l simulation results for a fault free circuit (oscillator) are
wo = depicted in Fig. 7. Two signals are drawn, the operati-
onal amplifier input (difference of voltages at the input
(1) terminals) and its output (the operational amplifiers
and output voltage). One can deduce from the drawing a
time delay of 0.05 ms what is equivalent to a
significant phase shift of 1.018 rad or 58.3°.
0)0^ =
(2)
where:
/( = A =1 + ^ 4 / ^ 5 . (3)
One of these expressions is usually required for
frequency calculations while the other is needed to
find the necessary value of A for sustained oscillation.
The above expressions were derived under conditi-
on that the operational amplifiers are ideal with infinite
gain which is not true in a real circuit. This is impor-
tant since the closed-loop-gain of the oscillator circuit
is characterized by both modulus and phase. The latter
is frequency dependent and fiindamentally determines
the oscillation frequency. The operational amplifier's
phase shift becomes of importance in this situation and
has to be taken into account. So, the expressions given
by (1) or (2), may be used as reference only. This will
(!) 0
be shown after experiments with simulation are per-
formed. It is worth mentioning that the need to include
the operational amplifiers phase shift was earlier men-
tioned in the literature [9], The idea was, however, im- F i g . 6. C i r c u i t diagram o f the op-amp's model
plemented in the frequency domain and led to con-
clusions quite different than the ones we are reporting A. Defect models
here. The defects here are categorized in several groups:
• Catastrophic defects within the RC circuit.
Fault
f T +r \
Mr 1
2
free
3.30/0.0
No
3.30
0.389
3.30
No
I.-.1-LAI i . ; SC: /J|
• rf J-.; 3 SC:/?2 No No No
;4 MM 4 SC:^3 ^3=0 n No 0.389 No
-2
1 ll 5 OP: /J, /?i=oon 3.40/3.0 No No
t:1-
MIPRO 2011/MEET
a reference for making decision about the existence of o f extracted parameters o f the output signal what is
the fault. Here again we may conclude that the fauU considered as a task for future work.
coverage is almost perfect. A s for the computed fre- T A B L E III. T w o DEFECTS P R E S E N T S I M U L T A N E O U S L Y
quency fo, one may state that it is i n discrepancy with
the measured one even for the fault-free circuit what Measured Computedfo
was the case in Table I too. /o[kHz]/ [kHz]
No. Defect type
relative
increment [%] (1) (2)
T A B L E II. P A R A M E T R I C DEFECTS
1 Fault free 3.30/0.0 3.30 3.30
Measured Computedfo
/o[kHz]/ IkHz] 2 1.2-C2; I.2-C3 2.90/12.1 0.562 0.589
No, Defect type
relative
(2) 3 O.8C2; O.8C3 3.70/12.1 No 0.634
increment [%] (I)
1 Fault free 3.30/0.0 3.3 3.3 4 I . 2 C 2 ; O.8C3 3.50/6.1 No 0.575
11 O.8C2 3.50/6.1 No 0.660 B y inspection o f Tables I, II, and III, one may find
12 1,2C3 3.10/6.1 0.710 0.625 that some o f the fault effects while different from the
fault-free response, are identical among them. One re-
13 0.8-C3 3.60/9.1 No 0.600 fers to this type o f faults as ambiguity groups or func-
tionally equivalent faults (FEF). These groups are not
The possible number o f double soft defects is affecting the testing since the go-no-go concept is
much larger than i n the case o f the single faults. O f applied i.e. the information that there is a fault in the
course there is much smaller probability for double system is enough to decide for the circuit to be discar-
faults to occur. This is why a reduced set o f pairs o f ded. In cases, however, when diagnosis is to be perfor-
soft faults was considered as shown in Table III. One med F E F is limiting the diagnostic resolution. Finding
may observe that in eleven out o f twelve cases the altematives that lead to resolution between F E F is,
again, a task for future work.
faulty circuit exhibits new value for f^. In nine out o f
ten cases the decision making is possible.
VI. C O N C L U S I O N
C. Overview of the results It was shown by an example that the Oscillation
When evaluating the O B T approach implemented Based Testing ( O B T ) method represents an effective
to the notch filter cell we have to consider the follo- and simple solution to the testing problem o f discrete
wing. First o f all, no test signal was needed to be continuous time analog electronic filters. Its imple-
found. That is a big advantage for the test engineer. mentation, however, still imposes need for knowledge
Second, only one test point was observed i.e. the o f the circuit under test ( C U T ) behaviour and the si-
circuits output, what is the most natural way of access mulation algorithms o f oscillators i n the time domain.
for measurement. Finally, only one quantity was ex- In this paper we describe the implementation o f the
tracted as a measure o f fault coverage: the oscillation O B T method to a second order notch cell realized
frequency. with one operational amplifier. Single soft and cata-
strophic faults were considered with more detail while
With such a simple procedure a waste number o f double soft faults were exemplified only. The most
faults were covered that lead to a conclusion that the simplified approach was implemented meaning that
O B T method, for this example, is an excellent testing only one test point was used while for the creation o f
concept. the fault dictionary only one parameter o f the output
voltage was extracted. Ideas for future work were
Further improvement o f the fault coverage may be
suggested.
expected to be achieved by simple broadening the list
122 MIPRO2011/MEET
Besides the validation of the O B T method for tes- [4] K . Arabi, and B. Kaminska, "EfTicienl and accurate testing of
ting of analog filters we here, for the first time, analog-to-digital converters using oscillation-test method,"
Proc. of the European Design and Test Conference (ED&TC
implement a realistic model of the operational amp- 97), Paris, France, Marchl997, pp. 348-352.
lifier that leads to more dependable conclusions rela-
[S] K . Arabi, and B. Kaminska, "Oscillation-test methodology for
ted to the presence of a fault in the circuit. We expect low-cost testing o f active filters," IEEE Trans, on
that this approach will be more appreciated when Instrumentation and Measurements, Vol. 48, No. 4, August
testing of circuits containing larger number of ope- 1999, pp. 798-806.
rational amplifiers is considered. [6] S. Das, el al., "Testing analog and mixed-signal circuits with
built-in hardware - A new approach," IEEE Trans, on
Instrumentation and Measurement, Vol. 56, No. 3, June 2007,
pp. 840-855.
REFERENCES
[7] Huelsman, L.P., "Active and Passive Analog Filter Design:
[I] K. Arabi, and B. Kaminska, "OsQillation-test strategy for A n Introduction", Mcgraw-Hill College, 1993.
analog and mixed-signal integrated circuits," Proc. of the
I4the IEEE VLSI Test Symposium, (VTS 96), Princeton, [8] Litovski, v., Zwolinski, M . : ..VLSI circuits simulation and
New Jersey, April/May 1996, pp. 476-482. optimization", Chapman and Hall, London, 1997
[2] Alii, P.K., "Testing A C M O S Operational Amplifier Circuit [9] Zamik, M.S., Novak, F. and Maiek, S., "Design of
Using A Combination O f Oscillation And Iddq Test oscillation-based test structures for active RC filters", l E E
Methods", M.Sc. Thesis, Louisiana State University, USA, Proc.-Circuits Devices Syst., Vol. 147, No. 5. October 2000,
2004. pp. 297-302.
[3] G. Hu, H . Wang, M . Hu, and S. Yang, "Oscillation test [ 10] http://www.linear.com/pc/downIoadDocument.do?navId=HO,
strategy for analog filters by monitoring output voltage and C1 ,C 1154.C 1009,C 1021 ,P 1206,D 11418.
supply current," Thinghua Science and Technology, Vol. 12,
No. SI, July 2007, pp. 78-82.
MIPRO 2011/MEET