Professional Documents
Culture Documents
INSTITUTION
ELECTRICAL AND ELECTRONIC
DEPARTMENT ENGINEERING
EENG424
MODULE CODE
With growing miniaturisation of electronic circuits the traditional means of testing for faults
can no longer be used and quite often the maintenance approach becomes one of
replacement of faulty cards rather than identifying individual faulty components. In many
instances this may prove less cumbersome and expensive especially when the fault detection
becomes rather time consuming and the replacement card may be almost as expensive as the
faulty IC. Surface mounting techniques in IC fabrication has largely removed the soldering
iron from the portfolio of tools in the maintenance of a wide range of electronic equipment,
and computer based techniques are increasingly being used for fault diagnosis.
Testing techniques
1. Functional testing
2. Structural testing
Functional testing
This is a technique of testing the system or circuit to ensure that it meets the manufacturer’s
specifications. This method can involve applying all possible input logic combinations and
comparing the results with the expected circuit response.
This method while convenient for simple circuits, clearly has limitations, as the number of
input variables increases, the number of possible test inputs increases exponentially as 2n
where n is the number of input variables. However this technique lends itself to
computerisation as an algorithm can be derived for large test conditions.
Structural Testing
This is a technique where tests are carried out at the gate level to ensure that individual
components of the network are working correctly. They are designed to detect, locate and
identify faults in a circuit.
a. Logical Faults
In analysing combinational circuits using this technique the following assumptions are made :
i. Two models are assumed for determining logical faults. These are :
a. Stuck-at-zero (s-a-o) and
b. Stuck-at-one (s-a-1).
ii. The combinational circuit tested should not have redundant paths
iii. Faults considered are non-transient.
b. Non-Logical faults
These are faults such as power supply failures, cross talk in communication systems, solder
float which can present itself as a short circuit due to the shorting of the copper tracks on a
circuit board.
Testability of circuits
Redundancy
Let us now briefly consider the effects of redundancy on the fault performance of circuits and
why this condition should be avoided in practice.
g1
g3
g2
F = AB’ + A’BC + C
Factorising yields
F = AB’ + C.
i.e. the output of gate 2 is unimportant and redundant as it does not affect the overall output
of the circuit. Hence a fault occurring at the terminals of that gate will not be detected.
p
v
q r
x
s w
u
t
Note that the internal wires of the circuit are labelled as p, q, r, s, t, u. v, w, and x.
In running a test regime for this circuit we shall tabulate all possible input conditions and then
compare the faulty and fault-free outputs. We shall than identify distinct tests or input
conditions that will enable us to detect the possible faults that could arise in the circuit.
Let us refer to the Fault Table. The test inputs are labelled by their decimal equivalent, i.e.
Test input 011 is labelled as Test 3.
Case 1: Line q is stuck at 1. Let the corresponding output response of the circuit be f1
s w
u
t
Summary
Analysis therefore shows that f1 is detected using Test 2 and f2 is detected using Test 0.
NB. To test for a fault on a wire, the inverse of the stuck-at-value should be
applied to the faulty input
p
t
q
v
r u
f0 = AB + BC’
For s-a-0 and s-a-1 faults in the lines labelled we obtain the following responses of the circuit
where fp0 for example denotes the output response of the circuit when line p is stuck at
zero. This is distinct from variable input A = 0 as the input variable A can take values of zero
or 1 as the case may be while the line p is stuck at zero for all combinations of the inputs.
fp0 = pB + BC’
fp0 = BC’. NB. It is not the variable A that is stuck at zero but the line or wire p that is
stuck at zero.
It can be seen that some of the faulty responses are identical, making it difficult to isolate
which of these faults may have occurred. We shall now examine the output responses and
group similar ones under the same output function.
Let fv0 = 0 = f4
Let fr1 = C’ + AB = f7
This table provides a tabulation of all possible inputs into the circuit and the fault-free and
faulty responses, given each of the test inputs. As before the tests are labelled by their
decimal equivalent. Thus test input 110 is labelled as Test 6