Fault Detection and Correction: STLD Case Study
Fault Detection and Correction: STLD Case Study
AND CORRECTION
NAME : KHUSHBOO
ROLL NO. : 02051202818
BRANCH : ECE(EVENING)
Introduction
With the advances in science and technology, modern devices are becoming more and more
complex every day. As the device complexity increases, testing becomes even more complex. To
decrease the test cost, the time required to test a device needs to be decreased. So, we simply need to
devise a test set that is small in size.
All manufactured VLSI chips are tested for defects. But it is not possible to generate or apply
vectors to test all possible defects in a chip. So defects are modeled as faults to ease the test
generation process. Among the various existing fault models, the single stuck-at fault model is
widely accepted because of its closeness to actual defects and the algorithmic possibilities it offers
for generating test vectors.
Types of Circuit
Types of digital circuits under study are simple two stage combinational circuits. The practical
digital circuits, which are composed of AND, OR, NOT, NAND and NOR gates are alone chosen
for evaluating the performance of the methods in survey. Furthermore, the methods derived for
obtaining tests for this class of circuits are general enough to be applied to circuits consisting of
gates other than these five types, such as the XOR gate, with minor modifications. It is assumed that
the response delays of all the gate elements are the same.
Types of Fault
The faults considered in this study are assumed to be fixed or permanent or non transient faults,
which means that without having them fixed or repaired, the fault will be permanently there. Most
of the faults occurring in currently used circuits, such as resistor-transistor logic circuits (RTL),
diode-transistor logic circuits(DTL), and transistor-transistor logic circuits (TTL), are those which
cause a wire to be stuck-at-zero(s-a-0) or stuck-at-one(s-a-1). Restricting our consideration to just a
class of faults is technically justified, since most circuit failures exhibit symptomatically identical
effects. This class of faults occur in circuits with discrete components as well as integrated circuits.
A multiple fault is defined as the simultaneous occurrence of any possible combination of s-a-0 and
s-a-1 faults.
There are some faults in a circuit which are undetectable. A fault of a combinational circuit
is said to be detectable if there exists a test by which we can judge whether or not the circuit has
such a fault; otherwise, we call the fault undetectable. A combinational circuit is said to be
irredundant if any logic fault that occurred at any part of the circuit will cause a change in the
switching function that the fault-free circuit realizes. All s-a-0 and s-a-1 faults in a circuit are
detectable if and only if the circuit is irredundant if and only if the function that the circuit realizes
is a minimized function. Two faults are said to be indistinguishable if the truth tables of the output
functions of the circuits with these two faults are completely identical.
F with output combinations for possible input combinations[14] of the chosen circuit. Each
corresponding faulty and fault-free outputs are compared using Exclusive-OR operation results
zf1,zf2…zfi single bit erroneous outputs shows in fault detection table Table II. The complete test set
for any fi is the set of input combinations xj =(x1j,x2j ……xnj)
such that
z(xj) zfi(xj) =
1 (1)
for all 1 i l, 1 j
2n
TABLE I. FAULT TABLE
Test X
1
X
2 .. X
n Z f
1
f
2 … f
i
No
1 0 0 .. 0 0 1 0 … 0
2 0 0 1 1 1 0 … 1
. . . .. . . . . … .
. . . . . . . .
. . . . . . . .
2n 1 1 .. 1 0 0 0 … 1
B. Heuristic Method
In Heuristic Test minimization method, fault table alone is created. A diagnosing tree is created by
dissecting the fault diagnostic matrix into two sub matrices based on essential test number. The test
number is added to essential test set. Column numbers in these two matrices are added to the root
node of the tree as right and left siblings. Left subtree contains fault-free output column numbers
from the matrix(0s) and right subtree contains faulty output column numbers from the matrix(1s).
The process is repeated until both left and right children results in a single column number in them.
Essential test set is found after removing redundant test numbers in nodes.
C. Path Sensitizing Method
In this method fault detection test may be found by examining the paths of transmission from
the location of an assumed fault to one of its primary outputs. The path-sensitizing method is very
attractive from the point of view of not requiring the construction of the fault table and is useful for
the fault detection of tree like circuits. But for general non-tree like circuits, the process of
exhausting all possible single paths, then all possible pair of paths, then all possible groups of three
paths and so on, involves quite a lot of searching and computation, even when done by a computer.
When fan-out exists, there occurs the additional problem of sensitizing a set of paths which in fact
contain all connections. It would be desirable if such tests could be found by direct inspection of the
circuit. Unfortunately no such direct technique has been discovered.
D. Equivalent-Normal-Form Method
The Equivalent Normal Form (ENF) of a circuit is obtained by expressing the output of each
gate as a sum-of-products expression of its inputs and preserving the identity of each gate by a
suitable subscript. Each subscripted input variable in a ENF is called literal. An appearance of a
literal in a term is also called a literal. An equivalent normal form corresponds to a two-level AND-
OR circuit. In the AND-OR circuit each literal corresponds to a circuit input and to a unique path
from that input to the circuit output. On the other hand, in the equivalent normal form two variables
may have different subscripts because they are associated with two different paths, although they
correspond to the same input in the original multilevel circuit.
Path sensitizing method and Equivalent-normal-form method are both based on the concept of
path sensitizing. ENF method has several advantages over Path sensitizing method. The ENF method
is an analytical method that provides a vehicle for systematically finding the most desirable tests,
those which each detect many faults in the circuit. Single paths that are not sensitizable are usually
easily seen from the ENF.
This method is the combination of ENF method and Karnaugh map method. In this method, a
Karnaugh map technique for deriving a fault-detection experiment for multilevel circuits, which will
give the same result as that obtained by the ENF method. It is much simpler technique than the ENF
method, as it does not use a scoring technique and is without the complemented ENF. An ENF
corresponds to a two level AND-OR circuit. Consequently, the techniques developed for two-level
circuits can now be applied, with several modifications to the ENF’s.
In the above matrix rows identifies test numbers and columns identifies fault numbers. The
Primal ILP is formulated from fault diagnostic matrix. This method can be adopted for complex
VLSI circuits and results best optimal solution with exponential complexity. Suppose a
combinational circuit has n faults, integer values {0,1} are assigned to variables f1, f2, …, fn. in the
fault set F. Vector set V with n inputs for each test number j is assigned integer values {0, 1} for
variables Vj , j = 1, 2, . . .
, J (where J is 2n), to each vector. Without loss of generality, it is assumed that all n faults are
detected by these vectors. The problem of finding the minimal test set is to find the smallest subset of
these vectors that detects all the faults. In this primal problem, the test set is chosen as follows: The
vector j is included in the selected vector set, if Vj = 1. The vector j is discarded in the selected vector
set, if Vj = 0.
The fault set and test set are simulated without dropping faults. The result is represented as a
diagnostic matrix of 0’s and 1’s as shown in Table III.