DCLD Module 2
DCLD Module 2
Contents: Hazard: Static Hazard, Design of Hazard free switching circuits, Fault Detection in
Combinational Circuits: The faults. The fault table, covering the fault table, Fault Location Experiments:
Preset Experiments, Adaptive Experiments, Designing adaptive Experiments, Boolean Differences:
Properties of Boolean differences, Further applications, Fault detection by Path sensitizing: Path
sensitizing, Limitations of the method, Detection of multiple faults, experiments for two level AND-OR
networks, Systematic generation of minimal fault detection experiments for two-level networks, Fault
tolerant Design, Quadded Logic
Text book 1: Switching and Finite Automata Theory”, ZviKohavi, 2nd Edition. Tata McGraw Hill
Edition, 1979, Chapter 8.1-8.8
Hazards:
*circuits have been assumed to respond instantaneously to input signals and signal propagation
time has been assumed to zero.
* the delays associated with switching components cause non instantaneous changes of states
which leads to hazard.
Gate network
Fig(c)Contact network
about:blank 1/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
about:blank 2/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Hence
about:blank 3/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Now perform EXOR operation between each fault output and fault free output and then tabulate the
results.
Reduced table is
Therefore, 3 essential tests 011,101,111 are required to detect all faults except to detect test 000 is
performed.
1) Preset expt –in this type, entire tests are determined by the circuit response.
2) Adaptive expt-in this type, the test to be presently applied depends on the response of the circuit
to the preceding tests.
about:blank 4/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Preset experiment
Eg: let be faults.
Let and be tests.
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1
Hence are essential tests. Remove essential tests and draw reduced table.
1 1 1
1 1 1 1
1 1
1 1 1
1 1
1 1
1 1
Module-2 Chapter-2 Reliable Design and Fault Diagnosis P a g e 5 | 37
about:blank 5/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Hence to detect all faults we can choose any two tests. Choosing , we get { } as essential
tests.
If is 1,change 1 to 0 and 0 to 1.If is 0 then retain it as it is. Hence we get the table as shown below.
1 0 1 1
0 0 1 0
1 0 0 1
0 0 0 0
1 1 1 1
0 1 1 1
1 0 1 0
about:blank 6/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
about:blank 7/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Exercise: 8-11 Given the fault table as shown below, where Z denotes fault-free output for
the corresponding test.
Faults
Tests Output of fault free ckt (Z)
T1 1 1 1 0
T2 1 1 1
T3 1 1 1
T4 1 0
T5 1 1
Solution:
T1 1 1 1 1 1 1 1 1 1
T2 1 1 1 1 1 1 1 1
Module-2 Chapter-2 Reliable Design and Fault Diagnosis P a g e 8 | 37
about:blank 8/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
T3 1 1 1 1 1 1 1 1
T4 1 1 1 1 1
T5 1 1 1 1 1
Check for column wise single 1’s and mark it as shown above. Hence tests T1 and T2 are
essential tests. Leaving the columns of faults that can be detected by tests T1 and T2 we get
reduced table as shown below.
Reduced table
T3 1 1
T4 1
T5 1 1
Check for column wise 1’s in reduced table and mark them as shown above.hence tests T3,
T4 and T5 are essential.
b) Fault dictionary
Tests
faults
T1 T2 T3 T4 T5
Z 0 1 1 0 1
0 0 1 0 1
0 0 1 1 1
1 1 1 0 1
1 1 0 0 1
1 1 0 0 1
1 1 0 0 0
about:blank 9/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
BOOLEAN DIFFERENCE
• Consider a combinational circuit which realizes the function
• To test input for s-a-0 (stuck at zero), the logical value that must take is
complement to the fault that we want to detect i.e., 1.
• The values assigned to the remaining variables are
will be different from
and therefore the value of will determine
the value and the fault will be determined.
• Definition: Boolean difference of a function wrt one of its
variables is defined as
about:blank 10/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
If then
about:blank 11/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
about:blank 12/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
1) 5
2) 6
3) 7
4) 8
5) 9
6) 10
If is indepent of ,then
7) 11
8) 12
Chain rule
about:blank 13/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
If ,then is independent of .
If ,then is independent of .
Then,
Further applications
It can be applied to detect faults on internal wires.
about:blank 14/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
at s-a-0,
at s-a-1,
Chain rule can now be applied to find tests for faults on input interms of already known
Boolean difference wrt
Wkt,
about:blank 15/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Example :
where
about:blank 16/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
1) At the site of fault assign a logical value complementary to the fault being tested,
i.e., to test for s-aa-0 assign and to test s-a-1 assign
2) select the path from the circuit input through the site of fault to a circuit output.
The path is said to be sensitized if the inputs to the gates along the path are assigned
values so as to propagate to the path output any fault on the wires along the path. This
is called forward drive phase of the method.
about:blank 17/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
3) Determine the primary inputs that will produce all necessary signal values specified in
the previous steps.
This is obtained by tracing the signals backward from each of the gates along the path to
the primary inputs. This is called the backward trace phase of the method.
Example
s-a-1 for
Backward Trace Phase for s-a-1 in path (1) as shown above
Therefore, X= {1,0,0,1,1,}
Backward Trace Phase for s-a-0 in path (1) as shown above
Therefore, X= {1,0,0,0,1,}
Backward Trace Phase for s-a-1 in path (2) as shown below
Therefore, X= {1,0,0,0,1,}
about:blank 18/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Therefore, X= {1,0,0,0,0,}
about:blank 19/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Indicates the
checkmarked onces
For select 9.
about:blank 20/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Combining {a} and {b} we get ,{0 or 4,2 or 10,6 or 14,7,9,11,12,15} are the minimal set of tests
for network.
THEOREM: Every two level OR- AND (AND – OR) network N1 has two level AND –OR (OR-AND)
test equalivalent network N1 such that the inputs of N2 are complements of the inputs of N1.
PROOF:
about:blank 21/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Example:
about:blank 22/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Indicates the
checkmarked onces
Step 1) construct a covering matrix E whose column headings are the prime implicants realized
by the AND gates and row headings are the minterms covered by function.
Step 3)choose arbitrarily ,for every in E one minterm such that where
= 1, if
about:blank 23/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
0, if
Step 3) finds all pair wise intersections of the terms that are contained in the list. Whenever an
intersection is non empty and contains a minterm for which , checkmark the two
interested terms.
Step 5) from the list of prime intersections constructed a list of prime tests by selecting from
each intersection an input combination for which the value of function is ‘0’.
Step 6) construct a prime test chart whose column headings are the terms of the list found
in step 2 and row headings of the prime test of step 5.
Step 7) select a set of prime tests that checks each of the terms i.e., find a cover fro the
prime test chart.
about:blank 24/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Example :
Level 1 Level 2
a-tests
E matrix is
about:blank 25/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
(19) 10011 0 1 0 0
(25) 11001 0 0 1 0
(27) 11011 0 0 1 0
(28) 11100 1 0 0 0
(29) 11101 1 0 1 0
(30) 11110 1 0 0 0
(31) 11111 1 0 1 0
Delete the rows containing more than one 1’s.( highlighted ones)
= 13
14
15
28
30
b-test
step 1)
step 2)
step 3)
step 4)
about:blank 26/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
, , ,
_1 0 0 _
_0 1 1 _
_0 0 0 _
1 0_ _ 1
11_00
00_00
01_10
01_00
Step 4) the prime intersections are 1 1 _ 0 0 and 0 1 _ 0 0, 01010, 10111, 10001, 00000.
about:blank 27/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Step 7)
Therefore ,the complete fault detection experiment for the network of fig. consists of 9 tests as
follows.
13
14 2
15 3
28 18 25
24, 9, 10, 23, 0, 30, 19, 27, 8
1) Critical errors: An error occurring on one of the redundant input’s to a specific gate is
said to be critical if it causes an incorrect gate output.
2) Sub critical errors: Occurrence at one of the redundant input’s to a gate does not cause
a fault in the gate output.
about:blank 28/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
OR 1 to 0 0 to 1 0 to 1
NAND 0 to 1 1 to 0 0 to 1
NOR 1 to 0 0 to 1 1 to 0
about:blank 29/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Quadded logic
Basic structure:
about:blank 30/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Construct the quadded realized circuit for the circuit shown below.
about:blank 31/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Example:
about:blank 32/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
Inured to convert the above circuit into quadded logic, add inverters near inputs of the
gates which are placed before inverter in the above circuit.
In the gate network shown below, only wires q may become either s-a-0 or s-a-
1,while the remaining wires are considered safe.
a) Construct fault table
b) Find minimal cover of the table and use it to determine the minimum fault detection
experiment.
Module-2 Chapter-2 Reliable Design and Fault Diagnosis P a g e 33 | 37
about:blank 33/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
c) Find the preset fault location experiments and show its fault dictionary.
Solution:
FAULT TABLE
0000 0 0 0 0 0 1 1 1 1
0001 0 0 0 0 0 1 1 1 1
0010 0 0 0 0 0 1 1 1 1
0011 1 1 0 1 0 0 1 1 1
0100 0 0 0 0 0 1 1 1 1
0101 0 0 0 0 0 1 1 1 1
0110 0 0 0 0 0 1 1 1 1
0111 1 1 0 1 0 0 1 1 1
1000 0 0 0 0 0 1 1 1 1
1001 0 0 0 0 0 1 1 1 1
1010 0 0 0 0 0 1 1 1 1
1011 1 1 0 1 0 0 1 1 1
Module-2 Chapter-2 Reliable Design and Fault Diagnosis P a g e 34 | 37
about:blank 34/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
1100 1 0 1 0 1 1 0 1 1
1101 1 0 1 0 1 1 0 1 1
1110 1 0 1 0 1 1 0 1 1
1111 0 1 1 0 0 0 0 1 1
0000 0 1 1 1
0001 0 1 1 1
0010 0 1 1 1
0011 1 1 1 1
0100 0 1 1 1
0101 0 1 1 1
0110 0 1 1 1
0111 1 1 1 1
1000 0 1 1 1
1001 0 1 1 1
1010 0 1 1 1
1011 1 1 1 1
1100 1 1 1 1
1101 1 1 1 1
about:blank 35/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
1110 1 1 1 1
1111 0 1 1 1
Hence, there are four essential tests. {0000, 0011, 1100, 1111}.
Fault dictionary
Show a quadded realization of the circuit shown below. Indicate the correction of longest
propagated error.
To obtain the converted circuit, put not gates before AND and convert AND to OR.
about:blank 36/37
3/20/25, 7:16 AM Hazards, Reliable Design and Fault Diagnosis
about:blank 37/37