Method and apparatus for correcting for detector inaccuracies in limited access testing

Abstract: A method of handling measurement inaccuracies comprises the steps of taking a set of voltage measurements of a first set of nodes of a circuit, calculating a set of minimum deltas, a set of maximum deltas wherein there is a first maximum for each member of the set of voltage measurements, a set of mimimum-result deltas and comparing each element of the set of minimum-result deltas to an individual element of a set of maximums to determine if a first group of components has at least one component that is outside a predefined test limit, and comparing each elements of the set of set of maximum-result deltas to an individual element of a set of mimimums to determine if the first group of components has at least one component that is outside the predefined test limit.

Description: FIELD OF THE INVENTION This invention relates generally to circuit board testing. More particularly this invention relates to the identification of manufacturing defects and faulty components on a circuit board. BACKGROUND OF THE INVENTION Generally, a circuit board consists of numerous interconnected components such as semiconductor chips, resistors, capacitors, inductors, etc. After circuit boards have been assembled, but before they can be used or placed into assembled products, they must be tested. Testing verifies that the proper components have been used, that each component performs within test limits, that all required electrical connections have been properly completed, and that all necessary electrical components have been attached to the board in the proper position and with the proper orientation. When a component is not performing within test limits, it is said to be faulty. A common way to test assembled printed circuit boards is called in-circuit test. In-circuit testing involves probing individual board components through a so-called "bed-of-nails" and verifying their existence and specifications independent of surrounding circuitry. A well known series of circuit board testing machines for in-circuit testing is the Hewlett-Packard Company Model HP-3070 Family of Circuit Board Testers. The HP-3070 Family of board testers are fully described in the HP-3070 Family Operating and Service Manuals available from Hewlett-Packard Company. Other families of circuit board testing machines made by Hewlett-Packard are the HP-3060 and HP-3065 series. Several approaches for increasing the speed and reliability of test systems have been shown in the art. US 5,512,842 discloses an inspection method and an inspection apparatus for a visual test of semiconductor integrated circuits. The respective inspection method is applied for verifying the proper physical placement of electronic components. The method and apparatus are designed in order to read a specification, a measuring system error in measurements and a number N of measurement repeat times. Subsequently, a distance between parts of the semiconductor integrated circuit is measured in order to obtain a measured value. The measured value is compared with a specification to execute a first non-defective/defective discrimination. A measured value indicating a defect by the first discrimination is further compared with a new discrimination reference obtained by adding the measuring system error to the specification to execute a second non-defective/defective discrimination. For semiconductor integrated circuits discriminated to be defective in the first discrimination and to be non-defective in the second discrimination, the measurement is carried out N times and an average value of the N measured values is calculated. This average value is further compared with a specification to execute a third non-defective/defective discrimination. In the result, the measuring system error components are averaged and thus a false notice rate of the essentially non-defective ICs can be reduced. Accordingly, the method and apparatus shown in the respective U.S. patent allow to use a measurement system comprising tolerances for a non-defective/defective discrimination. Measured values being out of limit, neglecting the measurement system tolerance, but possibly within limits considering measurement system tolerances, are re-measured for a given number of times in order to avoid considering a value out of limit due to tolerances of a measurement system. U.S. Patent 4,991,176 discloses a method for developing test sequences for analyzing and testing a finite state machine. The finite state machine is characterized by a state diagram having states and edges interconnecting the states. According to the disclosed invention, test sequences are generated according to minimum cost function rules. For this purpose, minimum cost unique signatures are developed for state identification of the finite state machine. Based upon the minimum cost unique signatures, a minimum cost test sequence is generated to cover every state transition of the finite state machine. For this purpose, discrete linear optimization algorithms are used. As a result, every testable aspect of a state machine is guaranteed to be tested using a minimum number of steps. The result of such an approach is a considerable cost saving. Other aspects and advantages of the present invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram illustrating the major components involved in limited access testing consistent with an embodiment of the present invention. FIG. 2 is a flowchart illustrating generally the major steps taken by the test program generator consistent with an embodiment of the present invention. FIG. 3 is a schematic diagram illustrating a circuit that may be modeled by a Simplified Tableau. FIG. 4 is a schematic diagram of a circuit that is used to help illustrate a preferred embodiment. FIG. 5 is a plot of the change in voltage as a single component in the circuit of FIG. 3 is swept through a range of values. FIG. 6 is a flow chart illustrating the steps to optimize the objective function used to find test limits consistent with an embodiment of the present invention. FIG. 7 is a schematic diagram of an example reduced cluster. FIG. 8 and 9 are schematic diagrams of the reduced cluster of FIG. 7 showing stimulus in different locations. FIG. 10 is a flowchart illustrating a process of generating a figure of merit for various stimulus. FIG. 11A is a diagram illustrating the non-ideal properties of the measurement and stimulus hardware. FIG. 11B is a diagram illustrating the non-ideal properties of the measurement and stimulus hardware with the stimulus being replaced by it's thevenin equivalent. FIG. 12 is a flowchart illustrating a process for generating clusters from a board topology. FIG. 13 is a flowchart that illustrates the process for generating reduced clusters from a cluster. FIG. 14 is a flowchart illustrating the steps taken to perform node pruning for a reduced cluster. FIG. 15 is a flowchart that illustrates a process that corrects for non-ideal properties of the measurement and stimulus hardware. FIG. 16 is a diagram that illustrates a topology graph. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, a database 102 that may be stored on a storage device coupled to a computer is used to feed a model of the circuit to be tested to a test program generator 104 . The model contains the information necessary to test the board including component types, component interconnections, component values, component tolerances, and an indication of which circuit nodes are accessible. The test program generator creates a test program that controls the operation of the measurement hardware 106 as it applies stimulus to, and takes measurements on, the circuit under test 110 . The results of these measurements, and information provided by the test program generator 104 are used by a fault analysis routine 108 to produce pass/fail and diagnostic information on the circuit under test. The test program generator and the fault analysis routine may be programs or routines that are executed on a computer. The test program generator 104 or fault analysis routine 108 may be stored in memory on a computer, stored on disk, or any other computer readable medium. They may be part of a single piece of executable code, or they may be separate programs, or routines. Furthermore, they may be executed on the same computer, or they may be run on different pieces of hardware. The hardware implementing the test system shown in FIG. 1 may be a general purpose computing device coupled to the measurement hardware and executing executable code or it may include custom hardware, such as an application specific integrated circuit that integrates one or more of the functions shown. FIG. 2 illustrates the major steps taken by the test program generator 108. In a step 202 , the test program generator reads the circuit model and any other input data that is necessary, such as which nodes are accessible and the component tolerances. In a step 204 , dangling and shorted components are removed from the model. Dangling components are those that cannot be tested because there is no path between any of the accessible nodes that passes through that component. In a step 206 the circuit model is broken down into groups of components that are electrically isolated. These groups of components are called "clusters." A cluster is defined as a group of components that for test purposes is connected to the remainder of the circuitry by zero or one node. In a step 208 each cluster is further broken down into reduced clusters and the nodes needed to test each reduced cluster are pruned. A reduced cluster is a group of targeted components that reduces the size and complexity of the test generation, measurement, and fault analysis problems in succeeding stages of the test process. The process of generating "reduced" or "immediate" clusters and selecting the "test points" for each reduced cluster is described in more detail in another part of this document. In a step 210 , stimulus and measurements nodes are selected to test each component in each reduced cluster. Some stimulus and measurement nodes may be selected to test more than one component. The stimulus and measurements may be optimized for test throughput, test coverage, or some tradeoff between the two. In a step 212 , for each stimulus, corresponding measurement nodes, and desired number of simultaneous faults to be tested, at least one equivalence class, U* matrix, and set of test limits are generated. The terms equivalence class, U* matrix, etc. will be discussed in further detail later. For now, suffice it to say that these terms represent the information that will be used later by the fault analysis routine to provide pass/fail and diagnostic information. In a preferred embodiment, the process of generating the equivalence classes, U* matrices, and test limits for each stimulus and corresponding measurement nodes operates on a reduced cluster. This process, however, can be applied to much larger groups of components, including the whole board. As with many testing methodologies, a model of the test circuit must first be constructed. This may be the whole board, or some smaller number of components, such as, for example, a cluster. Likewise, it may involve more than one stimulus and any number of measurement nodes. However, for simplicity and computational efficiency, a preferred embodiment uses a test circuit model that involves the components of only one reduced cluster and the stimulus that is being applied by the tester. The test circuit model contains information on the tester stimulus, the components, and their interconnection so that the testing methodology has enough information to tell when a component is faulty. Many possible circuit models and formulations exist. Many of these models and formulations are described in Computer Methods for Circuit Analysis and Design by Jiri Vlach and Kishore Singhal, Van Nostrand Reinhold Publishing, New York, New York, 1983 and Computer-Aided Analysis of Electronic Circuits, Algorithms and Computational Techniques by Leon O. Chua and Pen-Min Lin, Prentice-Hall, Englewood Cliffs, New Jersey, 1975 which are both hereby incorporated herein by reference. In a preferred embodiment, a Simplified Tableau model will be used. The Simplified Tableau model is given by Equation 1. Where I b is a column vector representing the branch currents, V n is a column vector representing the node voltages, A is the reduced incidence matrix, A T is the transpose of the reduced incidence matrix, K i and K v are matrices derived from the branch constitutive equations, and S is the source vector that contains the value of the independent sources. Usually the independent sources are a result of the stimulus applied by the tester hardware. For the purposes of this discussion, n (non-subscripted) is chosen to represent the number of nodes in the circuit and b (non-subscripted) is chosen to represent the number of branches. The rules for constructing K i and K v are straightforward and generally involve setting each element of the K i and K v matrices according to a table that relates the type of circuit element (i.e. impedance, admittance, current source, current controlled voltage source, etc.) and its value to the appropriate entries in K i and K v . To illustrate how K i and K v may be constructed, examine FIG. 3. FIG. 3 shows a simple circuit with n = 3 nodes and b = 4 branches. This circuit may be the entire board, a cluster, or just the component of a reduced cluster with the tester applied stimulus. I b will have four currents I 1 -I 4 and V n will have two node voltages ( V n1 and V n2 ). Note that there are n-I node voltages in the V n vector instead of n node voltages because the node voltages are relative to a reference node. The reference node (usually ground) is often assigned the number 0. The node voltage of the reference node, in FIG. 3, V n0 , is by definition zero and, as such, need not be included as one of the node voltages. K i , also known as the impedance matrix, for the network of FIG. 3 can be: K v , also known as the admittance matrix, for the network of FIG. 3 and the K i of Equation 2 is: where s is the Laplace transform variable. Note that by entering the capacitance in admittance form when constructing K i and K v , the s variable is kept in the numerator. To simplify the mathematics if only passive components are present, K i and K v may be constructed such that K i is the identity matrix. This is shown in Equations 4 and 5 as follows: Finally, the incidence matrix, A, which defines the interconnection of the components for FIG. 3 is: Note that this incidence matrix was constructed such that a branch current flowing into a node is defined as having a negative sign, and a branch current flowing out of a node is defined as having a positive sign. These definitions could be reversed. By substituting Equations 4-6 into Equation 1, the Simplified Tableau for the network shown in FIG. 3 is obtained: Equation 7 may be solved for a particular value of s to determine the node voltages and branch currents. Solving Equation 7 can be done by hand using matrix methods, or by any number of computerized math packages or methods. One of the ways a tableau equation can be solved for the branch currents ( I b ) and node voltages ( V n ) is to compute the inverse of the tableau. In terms of the generalized case given in Equation 1 this would be: This inverse can be partitioned such that a submatrix containing only those terms that affect the node voltages ( V n ) can be extracted. To illustrate: The Z matrix is composed of n-1 rows and b columns where, once again, n is the number of nodes in the circuit, and b is the number of branches. The extraction of the Z matrix allows the use of the following simple equation to relate node voltages to applied independent sources: V n = ZS If each circuit branch in the model has only one component, a property of the Z matrix is that its columns have a one-to-one correspondence to each of the components. This means that composite components, such as an inductor that has both a series resistance and an ideal inductance, should be split into multiple branches to maintain this one-to-one relationship. (i.e. a branch for the resistance and a branch for the inductance.) For example, if the columns of the incidence matrix, A , correspond to the components in FIG. 3 as follows (note that since each branch is a single component, the terms component and branch may be used interchangeably.): then the Z matrix, which has the same ( n-1) x b dimension as the A matrix, would have the same correspondence between its columns. To illustrate: The Simplified Tableau model describing any circuit whose components each have a single, pre-defined value is given in a generalized way by Equation 1. When component values are changed, (for example, by having a tolerance instead of a single value, or by being faulty) the circuit may be described using this equation: Equation 11 shows that a change in the admittance matrix K v by an amount ΔK v results in changes ΔI b and ΔV n in the branch-current and node-voltage vectors, respectively, for the same stimulus, S . To simplify the math, K i is kept constant by opting to describe all changes in component values as changes in the admittance matrix K v . For example, if the nominal value of the resistor in FIG. 3 is R 2 and it increases from that nominal by 100 Ohms, then: In the general case, subtracting Equation 1 from Equation 11 gives: from which: Extracting the parts of Equation 14 that affect ΔV n gives: Δ V n = Z Δ K v A T ( V n + Δ V n ) In a preferred embodiment, not all of the nodes of a circuit under test are accessible to the measurement hardware. Therefore, not all of the node voltages ca be measured. The rows of the matrices in Equation 15 can be re-arranged and partitioned into changes in node voltages that can be observed, and changes that cannot be observed as follows: where " ac " designates the set of nodes accessible to the measurement hardware and " nac " designates the non-accessible nodes. Accordingly, the following equation gives only the observable changes in node voltages: Δ V ( n,ac ) = Z ( ac ) ΔK v A T ( V n + Δ V n ) In a preferred embodiment, the terms of this equation are used to generate equivalence classes, U * matrices, and test limits. The process for generating the equivalence classes and U * matrices preferably follows the process taken in the conventional T F -Equivalence class approach. Additional information regarding the T F -Equivalence class approach can be found in "The T F -Equivalence Class Approach to Analog Fault Diagnosis Problems" by Togawa, Matsumoto, and Arai, IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS, vol. cas-33 no. 10, October 1986. A rigorous mathematical description of the T F -Equivalence class approach is given in the previously mentioned paper by Togawa, The T F -Equivalence Class Approach to Analog Fault Diagnosis Problems, IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS, vol. cas-33 no. 10 (1986) which is hereby incorporated herein by reference. A simple example based on the circuit shown in FIG. 4 consistent with an embodiment of the present invention will be used to illustrate some concepts of the T F -Equivalence class approach. The circuit of FIG. 4 has only resistances in addition to a source stimulus. However, the same basic methods of the T F -Equivalence class approach may be applied when components have complex impedances. Assume that the components in FIG. 4 have nominal values as shown in the figure. Also, assume that the only accessible nodes in addition to the reference node V n0 , are V n1 and V n2 . If each of the components is held constant at its nominal value except one, and that one component is swept through a large range of values, it produces a line when ΔV n2 is plotted versus ΔV n1 . ΔV n1 and ΔV n2 are the changes in V n1 and V n2 from their nominal values. When this is done for each component in turn, the plot of FIG. 5 results. In FIG. 5, each line is labeled with the component that was being varied. This plot helps illustrate the equivalence classes of FIG. 4. Take for example, the case where it is assumed that all components are at their nominal value except for one. First, V n1 and V n2 are measured on the circuit under test to obtain a ΔV (n1,test) and ΔV (n2,test) which are then plotted on FIG. 5. If the location of this point fell on the lines for R 1 , R 2 , or R 3 it would indicate that corresponding component is the component that is not at its nominal value. If the location of the point fell on the line for R 4 and R 5 , then it would indicate that either, or both, of R 4 or R 5 is not at its nominal value and that the rest of the components are at their nominal values. Furthermore, if the point does not lie on any of the lines, then it can be concluded that some combination of more than one component being non-nominal has occurred (other that R 4 and R 5 both being non-nominal). As shown in FIG. 5, the lines for R 4 and R 5 overlap. In general then, it is impossible to distinguish the case when R 4 is non-nominal from the case when R 5 is non-nominal by looking only at the voltages at the accessible nodes V n1 and V n2 . These components are then said to be in the same equivalence class. The methods of the T F -Equivalence class approach are applicable to higher dimensions. That is to say, to include larger circuits with more accessible nodes, to include complex as well as real voltages measurements, to include multiple components being non-nominal, multiple stimulus, and multiple stimulus frequencies. The foregoing example was limited to only two dimensions, and one non-nominal component at a time, so that it would be easily visualized and could be shown on a two-dimensional plot. In a preferred embodiment, the equivalence classes may be determined using the elements of the Z (ac) matrix of Equation 17. The construction of the Z (ac) matrix and the equivalence classes is typically done by the test program generator 104 based on the information obtained from database 102 after partitioning the circuit into clusters. For the case when only two nodes are accessible (V n1 and V n2 ) the Z (ac) matrix for the circuit shown in FIG. 3 is: where Z (ac) has a column ordering that corresponds to R 1 , R 2 , R 3 , R 4 , and R 5 , respectively. A complete list of all the equivalence classes may be constructed by checking whether each combination of elements and groups of elements belong to the same equivalence class and then grouping them accordingly. In general, two groups of components belong to the same equivalence class when it is impossible to distinguish the case when one group has non-nominal components from when the other group has non-nominal components merely by looking at the voltages at the accessible nodes. In more detail, the following procedure may be used to determine if two components, or groups of components, belong in the same equivalence class. The two groups of components are referred to as f1 and f2 , respectively, and each may be comprised of one or more components being non-nominal. 1. Assemble a matrix from the columns of the Z (ac) matrix corresponding to the first group ( Z (ac,f1) ). Calculate its rank, rank ( Z (ac,f1) ). 2. Assemble a matrix from the columns of the Z (ac) matrix corresponding to the second group ( Z (ac,f2) ). Calculate its rank, rank ( Z (ac,f2) ). 3. Assemble a matrix from the columns of the Z (ac) matrix corresponding to the union of the first group and the second group ( Z (ac,f1∪f2) ). Calculate its rank, rank ( Z (ac,f1∪f2) ). 4. If and only if rank ( Z (ac,f1) )= rank ( Z (ac,f2) )= rank ( Z (ac,f1∪f2) ) do the groups f1 and f2 belong to the same equivalence class. Using f1 ={R 1 } and f2 ={R 2 } as an example: 1. 2. 3. 4. Since rank ( Z (ac , f1 ∪ f2) )≠ rank (Z (ac,f1) )= rank ( Z ( ac , f2 ) ) then R 1 and R 2 do not belong to the same equivalence class. Another example, this time with f1 ={R 1 ,R 4 } and f2 ={R 1 ,R 5 }: 1. 2. 3. 4. Since rank ( Z (ac,f1) )= rank ( Z (ac,f2) )= rank ( Z (ac,f1∪f2) ) the groups f1 ={R 1 ,R 4 } and f2 ={R 1 ,R 5 } belong to the same equivalence class. In a preferred embodiment, a mathematically and computationally advantageous method of checking whether a point lies in the space of an equivalence class in an arbitrary number of dimensions is used. This allows a set of measurements at the accessible nodes to be used to determine which equivalence class contains the components or components that are non-nominal for an arbitrary number of accessible nodes. The procedure to find the equivalence classes (if any) that contain non-nominal components, which is also used by the T F -Equivalence class approach, is summarized as follows: 1. Select one member of an equivalence class. For clarity, f1 will represent the group of components in the member of the equivalence class, and will represent the equivalence class. Therefore, f1 is a member of . Assemble a matrix from the columns of the Z (ac) matrix corresponding to the components in this group. ( Z (acf1) ). 2. Use the Singular Value Decomposition ("SVD") to factor the matrix from step 1 into three terms. SVD ( Z (ac,f1) )= U (ac,f1) Σ (ac,f1) W T (ac,f1) . (Note: the SVD is commonly written as the matrix product of the three terms, U , Σ, and V T where U is the matrix containing the left singular vectors, Σ, is the matrix containing singular values, and V is the matrix containing the right singular vectors. Unfortunately, the variable V has been chosen to mean voltage in the preceding discussions. Therefore, this discussion will use the variable W to represent the right singular matrix. Also note that the rank of Z (ac,f1) is easily obtained from SVD( Z (ac,f1) ).) 3. Generate the conjugate transpose of U (ac,f1) , U* (ac,f1) . (Note that since U (ac,f1) is unitary, the conjugate transpose of U (ac,f1) is the same as the inverse and the adjoint of U (ac,f1) .) 4. Generate ΔV (n,ac,meas) by subtracting the voltages expected at the accessible nodes if all the components are at their nominal value from the voltages measured at the accessible nodes. 5. Multiply U* (ac,f1) and Δ V (n,ac,meas) . 6. If the first r elements (rows) of U * (ac,f1) Δ V (n,ac,meas) are non-zero, and the rest are zero, then the equivalence class of which f1 is a member, contains the group of components that are non-nominal. The variable r represents the maximum number of simultaneously non-nominal (or faulty) components that is being checked. ( r also equals rank(Z (ac,f1) .) If the group of components f1 is only one member of , then all of the components in f1 are non-nominal. 7. If the first r elements (rows) of U * (ac,f1) ΔV (n,ac,meas) are not all non-zero, or any of the rest of the elements are non-zero, then the equivalence class of which f1 is a member, does not contain the group of components that are non-nominal. Accordingly, steps 1-6 should be repeated for each equivalence class, in turn, until one is found that contains the non-nominal group of components or all the equivalence classes are exhausted. In a preferred embodiment, steps 1-3, above, are typically performed just once for each equivalence class and the resulting U* (ac,f1) , U* (ac,f2) ... etc. matrices are typically stored for use in step 5. Step 4 is usually performed once for each circuit tested. Additionally, steps 5 and 6 are typically repeated successively for each equivalence class until the an equivalence class (if any) is found that contains the group of components that are non-nominal on the circuit being tested. No equivalence class may be found if there are more simultaneously non-nominal components than were considered when the equivalence classes were constructed. On many circuits, components are not confined to a single nominal value to be considered non-faulty. This range of component values is referred to as tolerance. In a preferred embodiment, to cope with component tolerances, the zero/non-zero determination in step 6, above, is governed by the following equation: γ (ac,f, min) ≤ U * ( ac , f ) Δ V ( n , ac , meas ) ≤ γ ( ac , f ,max) In other words, if a particular element of Δ V (ac,test) is greater than or equal to the γ (ac,f,min) (for that particular element and that particular fault " f ") and U * (ac,f) Δ V (ac) is less than or equal to the γ (ac,f,max) (for that particular element and that particular fault " f "), then it should be considered a zero. Otherwise, it should be considered non-zero. "Considering" a particular element of U * (ac,f) Δ V (n,ac,meas) zero/non-zero allows the tests of steps 6 and 7, above, to be accomplished in the case where components have tolerances. However, by allowing a range of values for each element of U* (ac,f) ΔV (n,ac,meas) to be considered zero/non-zero, more than one equivalence class may satisfy the test of step 6 and be identified as containing a member whose components are out-of-tolerance. Nevertheless, the search for the out-of-tolerance components should be considerably narrowed since only one equivalence class truly has a member whose components are out-of-tolerance. If U *Δ V (n,ac,meas) involves complex numbers, the real and imaginary parts must both satisfy limits to be considered a zero. The zero/non-zero determination is governed by the following set of equations: γ ( ac , f , real ,min) ≤ real( U* ( ac,f ) Δ V ( n,ac,meas ) ) ≤ γ ( ac,f,real ,max) γ ( ac,f,imag ,min) ≤ imag( U * ( ac,f ) ΔV ( n,ac,meas) ) ≤ γ ( ac,f,imag ,max) In both Equations 19 and 20, the γ terms are vectors with individual elements that each correspond to a row of U *. The functions real() and imag() extract the real and imaginary parts, respectively, from the input vector. In an exemplary embodiment of the present invention, any method that will minimize and maximize a function is sufficient to calculate each element of the γ vectors. In a preferred embodiment of the present invention, the method used to calculate the γ vectors is based on linear programming (LP). One matrix formulation of an LP model is called a standard-form LP and is characterized by: min( or max) cx subject to Dx = b, x ≥ 0. To construct the constraint matrix, D , the tolerance on the elements of K v can be viewed as a tolerance on the real portion of the complex values and a tolerance on the imaginary portion. If only one portion exists (e.g. in the case of a resistor, the corresponding value in K v is a real number, and for a capacitor, the value has only an imaginary portion), the tolerance on the other portion is zero. Since linear programming has the implicit constraint that all decision variables are required to be greater than or equal to zero, the tolerance on the real portions of K v can be described by: real(min K v ) ≤ real( K v ) ≤ real(max K v )  real( K v ) = X real + real(min K v ) = real(max K v ) - Y real with X real ≥ 0 and Y real ≥ 0  X real + Y real = real(max K v ) - real(min K v ). Similarly, the imaginary portions of K v can be described by: X imag + Y imag = imag(max K v ) - imag(min K v ). The above equations may then be written as follows: Note that the above equation 21 has the form Dx = b which matches the form of the constraints in a standard-form LP. According to the present invention, the objective function to be optimized corresponds to each row of the righthand side of the following equation derived from Equation 17: Here the diag() function transforms a vector into a diagonal matrix where the diagonal elements are the vector elements and the rest of the elements are zero. The vect() function takes the elements along the diagonal of a diagonal matrix and transforms them into a vector. This has the form cx where Δ K v is the decision variable. Written in terms of X 1 (the real part) and X 2 (the imaginary part) of Δ K v , and E 1 (the real part) and E 2 (the imaginary part) of the rest of Equation 22 results in: By separating Equation 23 into its real and imaginary components, two objective functions are obtained. One objective function is for the real part of Equation 23, and one is for the imaginary part. Each of these objective functions needs to be minimized and maximized independently. The objective functions are: and These functions are non-linear because both ΔK v and ΔV n are unknown. This can be solved by appropriately assigning values for the elements in ΔV n and then optimizing to find a ΔK v . FIG. 6 is a flow chart illustrating the steps to optimize the objective function consistent with an embodiment of the present invention. In a step 602 , the process is initiated by setting ΔV n to zero. In a step 604 , the objective function is optimized using the currently assigned value of ΔV n and the conventional Simplex method. This optimization may be a minimization or a maximization depending on whether γ (ac , f , min) or γ (ac,f,max) , respectively, is being computed. In a step 606 , if this is the first pass (i.e. ΔV n is zero) then the process proceeds to step 608 . If it is not the first pass, then the process continues on to step 610 . In a step 608 , ΔV n is calculated from the Δ K v found in step 604 . The process then loops back to step 604 to optimize the objective function with the new ΔV n . In a step 610 , if the objective function optimized in step 604 improved from the last pass, the process continues on to step 614 . If the objective function did not improve from the last pass, k is divided by two in step 612 and then the process continues on to step 614 . In a step 614 a new ΔV n is calculated as ΔV n ←(1 + k)ΔV n . In a step 616 , a check is made to see how close the new ΔV n is to the last ΔV n . If the new ΔV n is close enough, for example 1%, then the process terminates in a step 618 . If the new ΔV n is not close enough, then the process loops back to step 604 to optimize the objective function again with the new ΔV n . The steps in FIG. 6 constitute a search method that finds a ΔV n that produces the most optimized objective function. In this case, it is a bisection search. Other search methods could also be used. Examples of types of searches that could be used are the Fibonacci search, the Golden Section search, and the Dichotomus search. Other types of searches that could be used are detailed in Algorithms by R. Sedgewick, Addison-Wesley, Reading Mass., 1988. Once the algorithm terminates with a ΔK v that either minimizes or maximizes the objective function, the real and imaginary γ (ac,f,min) and γ (ac,f,max) may be obtained from the optimization routine, or may be computed from ΔK v and the last ΔV n using the following equation derived from the objective function: γ ( ac,f ) = U* ( ac , f ) ΔV ( n , ac ) = U* ( ac , f ) Z ( ac ) Δ K v A T ( V n + Δ V n ) Referring back to FIG. 2, in a step 210 stimulus and measurement nodes are selected to test each component in the reduced cluster. This process of selecting stimulus and measurement nodes could be performed on larger groups of components including clusters or the whole circuit. However, in a preferred embodiment the process of selecting uses the components in a reduced cluster to improve efficiency and reduce complexity. To illustrate the process of selecting stimulus and measurement nodes take FIG. 7 to be an example reduced cluster. FIG. 7 shows the circuit of FIG. 4 with the current source as provided by the test hardware, J 1 , removed consistent with an embodiment of the present invention. In the example illustrated in FIG. 7, nodes V n0 , V n1 and V n2 are once again the only accessible nodes. FIG. 4 illustrates just one of three possible stimulus locations that could have been chosen. The other two are illustrated in FIG. 8 and FIG. 9 consistent with an embodiment of the present invention. Note how in FIG. 4 and FIG. 8 current will flow through R 1 , but in FIG. 9 no current will flow through R 1 . Clearly, the stimulus location shown in FIG. 9 should not be selected to try to test R 1 . To test a component, it is desirable to maximize the voltage across that component. This maximizes the dependence of at least one node voltage on the component value. A process for choosing stimulus that maximizes the branch voltage across a component is illustrated in FIG. 10. In a step 1022 , the branch voltages for each component are calculated for each stimulus location. In a step 1024 , a cost function is applied to the branch voltages. A cost function might be used to reduce (or increase) the desirability of some stimulus over others. For example, voltage measurements at lower frequencies take longer because the measurement interval needs to include the period (or fraction thereof) of the applied frequency. To accommodate a cost function, the node voltage values of various stimulus may be multiplied by appropriate numbers. Multiplication by a positive number less than one lowers the desirability of that stimulus. Multiplication by positive numbers greater than 1 increases the desirability of that source. In a step 1026 , the magnitude of the branch voltage values are sorted and duplicate values are eliminated. In a preferred embodiment, they are sorted from smallest to largest. In a step 1028 , non-useful branch voltages are set to zero. Also in step 1028 , branch voltages that are within a predetermined factor of each other are rounded to the same value. A branch voltage across a device is only considered useful if a change in that voltage is detectable between when the device has its minimum value and when the device has its maximum value. For example, a change in voltage may only be detectable if it is greater than 1 microvolt. Branch voltages that may result in changes between a devices minimum and maximum value being undetectable may be assigned a zero rank order number, or equivalently, set to zero before rank ordering. This helps take into account the tester hardware's measuring accuracy by treating branch voltages that may not result in detectable changes as "no-current" branches. Finally, branch voltages that are within a predetermined factor of each other may be rounded to the same number or assigned the same rank order. In a preferred embodiment, branch voltages that are within a factor of two are rounded to the same number before rank ordering. This rounding helps reduce the number of stimuli selected. In a step 1030 , each branch voltage value is then assigned a rank order number. In a preferred embodiment, the rank order number is assigned starting at zero with the smallest branch voltage and incrementing by one for each different branch voltage value. However, this choice is arbitrary. Many other ranking schemes such as a descending rank order, or incrementing by a different positive or negative number could be used as long as appropriate adjustments were made in later steps when determining which stimulus to use. In a step 1032 , if any of the branch voltages was zero, then one is subtracted from all the rank order numbers. In a step 1034 , a figure of merit is assigned to each stimulus location. The figure of merit is typically assigned by replacing the branch voltage value across each component with the corresponding rank order number and then summing the rank order numbers for every component. In a step 1036 , the stimulus location or locations are selected. The stimulus locations may be chosen according to a variety of criteria based on the information developed in the preceding steps. For example, if maximum branch voltages are desired, the following process may be used: 1. Eliminate any stimulus locations that do not have the highest rank order number for at least one component. 2. Select the stimulus location with the highest figure of merit. 3. Eliminate from consideration those components that the selected stimulus location has the highest rank order number for that component. 4. Eliminate the selected stimulus from consideration. 5. Repeat steps 1-4 until there are no more components under consideration. A way of selecting the stimulus locations to maximize test throughput may be to first select the stimulus (if any) with the highest figure of merit that did not have any components with a zero rank order number. If there was no stimulus location that did not have at least one component with a zero rank order number, the stimulus with the highest figure of merit would be selected and all the components with non-zero rank order numbers eliminated from consideration. Then another stimulus location could be selected and the process repeated until there were no more components under consideration. A third way of selecting stimulus locations would be to balance maximizing branch voltages with test throughput. This may be accomplished by adding one stimulus at a time until a desired measure of coverage and/or measure of time is achieved. This balance can be left to the user, or selected through an automated set of rules. An example of the processes in FIG. 10 follows. For simplicity, the stimulus location shown in FIG. 4 will be referred to as σ n1,n0 since the stimulus is between nodes V n1 and V n2 . Likewise, the stimulus location shown in FIG. 8 will be referred to as σ n2,n1 and the stimulus location shown in FIG. 9 will be referred to as σ n2,n0 . When the branch voltages for each of these three stimulus are presented in table form, Table 2 results. R 1 R 2 R 3 R 4 R 5 σ n1,n0 1 1 0.5 0.25 0.25 σ n2,n0 0 0.5 0.25 0.375 0.375 σ n2,n1 1 0.5 0.75 0.125 0.125 Examining Table 2, it can be observed that stimulus location σ n2,n1 creates a larger voltage across R 3 than either of the other two stimulus locations. Likewise, it can be seen that stimulus locations σ n1,n0 and σ n2,n1 produce equal voltages across R 1 and σ n2,n0 produces no voltage across R 1 . When the branch voltage in Table 2 are sorted according to their values, duplicates eliminated, and a rank order number assigned, Table 3 results. Branch Voltage Rank Order 0 0 0.125 1 0.25 2 0.375 3 0.5 4 0.75 5 1 6 When the branch voltage values in Table 2 are replaced by the corresponding rank order number and a figure of merit calculated, Table 4 results. R 1 R 2 R 3 R 4 R 5 Figure of Merit σ n1,n0 6* 6* 4 2 2 20 σ n2,n0 0 4 2 3* 3* 12 σ n2,n1 6* 4 5* 1 1 17 Note that in Table 4, the best (i.e. highest rank order) entries for each component have been marked with an asterisk (*). The information in Table 4 can then be used to apply the appropriate stimulus selection criteria. The preceding example was based upon a purely resistive circuit and the stimulus was limited to a single frequency (including DC). When components other than resistors are part of the circuit, complex node voltages may be present. These node voltages are a function of stimulus frequency. The method previously described may be extended to cover this situation by calculating the branch voltages with the stimulus at a number of frequencies at each possible source location. The normal process of rank ordering, calculating a figure of merit, and selection could then be used to select which stimulus location or locations and which frequencies are to be used. The form of Table 2 when extended to multiple frequencies is shown by Table 5. Component #1 Component #2 Component #3 ... Last Component σ n1,n0,DC σ n1,n0,freq1 σ n1,n0,freq2 ... σ n2,n0,DC σ n2,n0,freq1 ... σ n2,n1,DC σ n2,n1,freq1 ... As stated previously, a cost function may also be applied to the branch voltage data. A cost function might be used to reduce (or increase) the desirability of some stimulus over others. For example, voltage measurements at lower frequencies take longer because the measurement interval needs to include the period (or fraction thereof) of the applied frequency. To accommodate a cost function, the node voltage values of various stimulus may be multiplied by appropriate numbers. Multiplication by a positive number less than one lowers the desirability of that stimulus. Multiplication by positive numbers greater than 1 increases the desirability of that source. The cost function used in the above example was one. As discussed above in step 1028 , the branch voltage values that may not result in detectable changes are set to zero, or assigned a zero rank order number. A rule of thumb process for determining which branch voltage values to set to zero is based on Equation 27. 2 tV b 100 > threshold, where V b is the branch voltage value being checked and t is the tolerance, in percent, of the device that is the branch being checked. Threshold is a predefined number that reflects the accuracy of the measurement hardware. In a preferred embodiment, if the tester hardware cannot detect voltage differences less than 1 microvolt, then threshold would be chosen to be 1 microvolt. In a preferred embodiment, an efficient method of calculating Table 2 is used. A model of the cluster in the Simplified Tableau form of Equation 1 is the starting point. Equation 1 is given again for convenience. Note that by arranging the rows of Equation 1 to separate the branch currents of the components under test and the branch currents of the current source branches, (assuming there are no voltage sources) I b can be written as: where I (b , test) is the set branch currents of the components under test in vector form and - J is the set of branch currents in the current source branches (in vector form.) Making similar splits in K i , K v , and A gives: A =[ A ( b , test ) A J ] where 1 is an identity matrix so K i equals an identity matrix. K (v , test) is the submatrix of K v that corresponds to the components under test. The entries in K v corresponding to the current sources are zero. Substituting Equations 29-31 into Equation 1 and simplifying gives: Remember that A (b,test) , I (b,test) , and K (v,test) normally correspond to the components under test and do not correspond to any portion of the stimulus. Branch voltages are related to node voltages by: V b = A T V n Equation 33 can be separated into the branch voltages of the components under test and the branch voltages of the current source branches similar to the way I b was separated in Equation 2 to give: Solving Equation 32 for and partitioning gives: It follows from Equation 34 and Equation 35 that: ν b = A T (b,test ) V n = A T ( b,test ) WA J J In a preferred embodiment, the stimulus is applied one source at a time so the vector J has a single non-zero entry associated with the branch current and zero elsewhere. Applying this stimulus results in a vector of branch voltage, ν b . If J was defined as a matrix of single stimulus locations where the stimulus is only at possible stimulus locations as shown in Equation 37, there is now a single current source at each possible stimulus location. When ν b is calculated using the J matrix of Equation 37, the result is a matrix where the rows are branch voltages and the columns are the possible source configurations. For convenience, J matrix could also be arranged so that it was diagonal. If this is transposed, a matrix with entries in the form of Table 2 results: table = ( A T ( b , test ) WA J J matrix ) T Equation 38 can be extended to support multiple frequencies. The original system of equations can be used to analyze multiple frequencies by repeating the calculations with the stimulus at different frequencies. The preceding discussions have focused mainly on the case where the applied stimulus and measurement hardware are ideal or have negligible non-ideal properties. However, due to practical considerations involving the design and construction of modern test hardware, both the hardware for applying stimulus, and the measurement apparatus may have significant non-ideal properties. These non-ideal properties are also called parasitic effects. This situation is illustrated in FIGs. 11A and 11B consistent with an embodiment of the present invention. FIGs. 11A and 11B show the same situation except in FIG. 11A the ideal stimulus is shown as a voltage source 1104 , V s , in series with a source impedance resistor 1106 , R s . In FIG. 11B, the ideal stimulus is shown as the thevenin equivalent of the stimulus in FIG. 11A―a current source 1118 in parallel with source impedance resistor 1120 , also R s . In both FIG. 11A and 11B, the set of components being tested are shown generally as shape 1102 . The non-ideal properties of the stimulus hardware are shown as resistances 1114 , Z i , 1116, Z g , and capacitance 1108 , y s . The non-ideal properties of the measurement hardware are shown as capacitance 1112 , y d , connected to a node from the set of components being tested, and the reference node. Since the dominant component of the non-ideal properties of the detector and the source tends to be capacitance, y s and y d are shown as being capacitive. However, these could also include resistive and inductive properties. Z i and Z g represent various resistance associated with applying the stimulus to the circuit being tested. These non-ideal properties of the stimulus hardware, like the stimulus itself, can be included in the model of the set of components. However, the values for Z i and Z g may change each time a board is tested since the resistance between a board and the probe pin, among other things, may change each time a board is placed in the test fixture. Finally, in a case where there are fewer detectors than nodes that need to be measured, the non-ideal properties of the measurement hardware will move from node to node with each measurement location. This means the value of y d will change from measurement location to measurement location. The values of y d and y s will also change each time a test fixture is mounted. Accordingly, instead of including all these non-ideal properties in the model when running the test program generator, in a preferred embodiment, a test-time correction is run within the fault analysis routine to translate the values measured by the measurement hardware to values that would have been measured if the measurement and stimulus hardware were ideal. These corrected values may then be used with the U * matrices and test limits generated from a model without these non-ideal properties. FIG. 15 illustrates a process that corrects for these non-ideal properties to produce a corrected version of the measured voltages at accessible nodes that approximates the voltages that would be on the measured accessible nodes had the measurement and stimulus hardware been ideal. Before the measured voltages are corrected, several measurements are typically taken to characterize the test hardware. One of these measurements is taken of the source voltage, V s . This is an AC voltage so that later measurements taken with this voltage applied can be used to calculate the capacitance on certain nodes. In particular, this measured value is used to calculate the testhead capacitance for both the source and the detector. Several other hardware dependant measurements may also be taken. These measurements allow calculation of the parasitic capacitance on each source node and the reference node due to the tester hardware. This provides the y s value for each applied stimulus location. Likewise, these measurements also allow the calculation of the parasitic capacitance on each measurement node due to the tester hardware. This provides the y d value for each node measured by the measurement hardware. Since the parasitic capacitance of the detector will vary from measurement node to measurement node, the notation y (x,d) is used to indicate the value of the parasitic capacitance at node X (in admittance form) due to the detector being connected to that node. The source capacitance will vary from stimulus location to stimulus location. However, the following discussion is directed to only one source stimulus location so only the notation y s is used to indicate the source capacitance (in admittance form). This process may be expanded to more stimulus location by using different values of y s and different incidence matrixes for each stimulus location. After these characterization measurements have been taken, stimulus may be applied to, and measurements taken on, a board. These measurements can then be corrected for the non-ideal properties of the test environment according to FIG. 15. In a step 1502 , the voltage measurements are taken. These measurements are taken with stimulus applied to the board. The results of these measurements are stored in a vector, V' m . To indicate an individual element of this vector, say the node voltage at node X, the notation V' (X,m) will be used in this discussion. Similar notation will be used to indicate individual elements of other vector quantities. In addition to measuring the node voltages on the accessible nodes on the board (or alternatively, the cluster, or reduced cluster) under test, measurements are taken of the reference node on the board, V' g , the applied stimulus voltage to the board, V' s and the voltage on the opposite side of the reference resistor from the stimulus source, V' r . In a step 1504 , the measurement taken on the opposite side of the reference resistor, V' r is corrected using Equation 39 for the effects of the detector capacitance as it measured the voltage V' r . The detector capacitance as it measured the voltage V' r is y (r,d) . V " r = V ' s · V ' r V ' s -( y ( r , d ) · R ' s · V ' s ) In a step 1506 , a Z matrix is calculated using the nominal values of the board components, default values for Z i and Z g , and a measured value of the reference resistor, R' s . Default values for Z i and Z g may be developed by measuring and averaging Z i and Z g for a number of different paths from a source to a board under test. The tableau should also contain entries for y d and y s . The entry for y s may be a column in the incidence matrix that defines a connection between V r and the reference node and an entry in the K v matrix of zero. The entry for y d may be a column in the incidence matrix that is all zeros and an entry in the K v matrix of zero. This allows the value y (X,d) to be plugged into a later equation to calculate the corrected node voltage on node X without having to re-calculate a Z matrix or repeat several other steps shown in FIG. 15. In a step 1508 , the measured voltage on the reference node on the board, V' g , and the measured voltage at the stimulus node on the board, V' i , are corrected to remove the effects of the detector capacitance, y d , and the source capacitance, y s . V' g is corrected using Equation 40. V' i is corrected using Equation 41. V " g = V ' g ·(1- Z ( g , d ) · y ( g , d ) )-( Z ( g , s ) · y s · V " r ) V " i = V ' i ·(1- Z ( i , d ) · y ( i , d ) )-( Z ( i , s ) · y s · V " r ) In Equations 40 and 41, Z (g,d) is the entry in the last calculated Z matrix corresponding the node V g and the column corresponding to the branch y d . Similarly, Z (i,d) is the entry in the last calculated Z matrix corresponding the node V i and the column corresponding to the branch y d . Z (g,s) is the entry in the last calculated Z matrix corresponding the node V g and the column corresponding to the branch y s . Z (i,s) is the entry in the last calculated Z matrix corresponding the node V i and the column corresponding to the branch y s . In a step 1510 , V" r is corrected for the effects of the source capacitance, y s using Equation 42. V * r = V ' s ·V' r V ' s -( y s · R ' s · V " r ) In a step 1512 , Z i and Z g are calculated using Equations 43 and 44, respectively. Z i = R ' s ( V * r -V " i ) V ' s -V * r Z g = R ' s V " g V ' s - V * r In a step 1514 , if this was a first calculation of Z i and Z g , then the process needs to iterate one more time and proceeds to step 1516 . If this is the second time Z i and Z g have been calculated, then the process proceeds to step 1518 . In a step 1516 , a Z matrix is calculated using values for Z i and Z g just calculated. These values for Z i and Z g should be plugged into the tableau as admittances in the K v matrix. The process then loops back to step 1508 where the just calculated Z matrix will supply some of the terms in Equations 42 and 43. In a step 1518 , yet another Z matrix is calculated. This matrix is calculated using the Z i and Z g from the second iteration of steps 1508 through 1512 . The measured value of the reference resistor R' s is also used in the calculation of the Z matrix. This matrix is then reduced to include only those rows that correspond to nodes that were measured in step 1502 . This reduced matrix is Z corr . In a step 1520 , a first correction is calculated on each measured node voltage. If V' (x,m) is the measured voltage at node X, then the first correction is calculated according to Equation 45. V " ( x , m ) = V ' ( x , m ) · Z ( x , d ) · y ( x , d ) - V * r · Z ( x , s ) · y s In a step 1522 , a measured value of the current flowing through the reference resistor, I' s , is calculated using Ohm's law from the measure value of the source, V' s , and the measured value of the reference resistor, R' s . I' s is then placed in a source vector S'. The source vector S' is created by placing I' s in a vector with one column and a row corresponding to each branch in the circuit. I' s is placed in the row corresponding to the stimulus branch. The rest of the row entries are zero. In a step 1524 , a modified model voltage is calculated for each measured node using Equation 46. V mod is a vector with one column and each row corresponding to a measured node. V mod = Z corr S ' In a step 1526 , a correction factor C f is calculated for each measured node. This correction factor is simply the ideal value of each measured node voltage as modeled by a tableau with nominal components and no detector or source parasitic effects divided by the modified model voltage for that node. This is shown in Equation 47. C x = V ( x , ideal ) V ( x , mod ) Finally, in a step 1528 , a corrected value for each measured node voltage is generated using Equation 48. V ( x , corrected ) = C x V " ( x , m ) These values can then be used to create the vector Δ V (n , ac , meas) which can be multiplied by the various U* matrices and checked against limits that were generated using a tableau model that did not include the non-ideal properties of the tester hardware. Many measurement systems will have some error in the measurements they take. This error means that a reported measurement of say 0.15 volts, for example, could correspond to an actual node voltage of as little as 0.149 volts or as much as 0.151 volts. Accordingly, each individual measured node voltage in V' m could be inside a range with a minimum and a maximum. For example, node X could be within the range given by Equation 49. V ' ( X,m,min ) ≤ V ' ( X , m , actual ) ≤ V ' ( X , m ,max) According to the present invention, these minimums and maximums can be calculated from the V' (X,m) that is returned by the measurement hardware. They may then be passed through the procedure detailed in FIG. 15, above, to produce a V corr,min and a V corr,max . V corr,min and V corr,max may then be used to produce a ΔV min and a ΔV max . According to the present invention, these ranges for the individual elements of Δ V may be used as the constraints in a linear programming problem to find a minimum U * ΔV and a maximum U * ΔV . Equations 50 and 51 may then be used to govern whether a particular entry in U * ΔV should be considered zero or non-zero. γ ( ac , f ,min) ≤ LP min ( U * ( ac,f ) ΔV ) ≤ γ ( ac,f, max) γ ( ac , f ,min) ≤ LP max ( U * ( ac,f ) Δ V ) ≤ γ ( ac,f, max) where LP min (U*Δ V ) and LP max ( U*ΔV) are the minimized and maximized results of the linear programming problem. In other words, if a particular element of the result of the minimization of U * ΔV subject to the constraints of ΔV min and a ΔV max is greater than or equal to the γ (ac,f,min) and the result of the maximization of U * ΔV subject to the constraints of ΔV min and a ΔV max is less than or equal to the γ (ac,f,max) for that particular element and that particular fault " f ", then it should be considered a zero. In this manne, using an inventive method the measurement error of the detector may be taken into account and still be used with the methods detailed above. In the following, further improvements will be described that result in a better performance of a test system implementing the inventive method of handling measurement inaccuracies. Referring back to the discussion of FIG. 2, recall that in a step 206 the circuit was broken down into electrically isolated groups of components called "clusters." By definition, a cluster has at least one node that is inaccessible and has no more than one path joining it to any other cluster. Also recall that these clusters were further broken down in a step 208 by generating smaller "reduced" clusters that contain fewer components and require fewer accessible nodes to test thereby reducing the computational complexity and execution time necessary to generate the equivalence classes, U* matrices and test limits. To help reduce the size of clusters, several rules are typically followed when generating clusters. The first rule deals with open or apparent open devices. In a preferred embodiment, the test voltages applied by the test hardware are small enough that active devices such as transistors and integrated circuits will not be activated. As such, these active devices can be modeled either in terms of their parasitic effects, or as open or apparent open devices. Therefore, most integrated circuit devices, not-placed jumpers, open switches, and connectors are considered to be open devices. If a device does exhibit an intrinsic impedance, or has significant parasitic effects, it should not be considered as an open device and should be described in the circuit topology. An example of this would be a one-shot integrated circuit that has a built-in resistance between certain pins. Other apparent open devices include active devices such as transistors, diodes, zener diodes, and enhancement mode field effect transistors (FETs). Open and apparent open devices will be removed from the circuit topology during the cluster generation process since they will not contribute to the cluster topology. When these devices are removed, it helps decrease the size of clusters because there are fewer connections in the circuit. To prevent active devices from being activated, the applied test voltages should always be kept less than the 0.7 volts typically required to forward bias a P-N junction of a silicon diode. Test voltages that are less than or equal to 0.2 volts are even more desirable. Circuits having active devices fabricated from other materials, such as gallium arsenide, or based on other technologies, such as vacuum tubes or both, may have different turn-on voltages and the maximum test voltage can be adjusted accordingly. The second rule deals with shorted or apparent shorted devices. Shorted devices include fuses, jumpers, and closed switches. Apparent shorted devices include devices that have an impedance that is below a threshold value. This threshold value may be set as an environment variable, or specified by some other form of input to the test generation program. In a preferred embodiment, the default threshold considers any device with an impedance of less than one ohm to be an apparent short. The third rule deals with variable devices. These typically include variable resistors, potentiometers, variable capacitors, and variable inductors. These devices cannot be attached to an inaccessible node, but they can be part of a cluster topology. In an embodiment, if a variable device is connected to an inaccessible node, an error condition is generated and the user notified that another accessible node is necessary to test the variable device. FIG. 12 is a flowchart illustrating a process for generating clusters from a board topology. The process starts generating a cluster from the existing board topology in a step 1202 . In a step 1204 , the process selects a starting device by searching the board topology for a device that is connected to one accessible node and one inaccessible node. In a step 1206 , a topological representation is created. A topological representation represents devices, nodes, and their interconnection. In a preferred embodiment, this topological representation is a topology graph. The topology graph is created by adding the starting device to an empty undirected graph. Devices are added to the topology graph as edges and the nodes connected to that device are added to the topology graph as vertices. The devices connected to the starting devices are added to the graph. Then the devices connected to those devices are added and so on until all devices that can trace a path to the starting device have been added. As devices are being added to the graph, the first rule stated above is followed so that open or apparent open devices are not added to the graph. This has the effect of "removing" open or apparent open devices from the board and cluster topology. Also, dangling components are not added to the cluster topology. This has the effect of removing dangling components from the cluster topology. Once constructed, the graph is reduced according to the second rule stated above in a step 1208 . In a step 1208 , edges associated with short and apparent short devices are removed from the graph and the vertices of these devices are combined into a single vertex. This effectively removes any devices shorted out by these devices from the cluster topology. In a step 1210 , the topology graph is recursively traversed starting with the inaccessible node connected to the starting device. As the graph is being traversed, the recursion stops at accessible nodes, but continues descending edges (devices) connected to inaccessible nodes. In this manner, all of the accessible nodes that are reachable along a path from the starting inaccessible node through only inaccessible nodes are traversed. In a step 1212 , the accessible nodes that were stopped at are placed in a list of possible test points. The principles used to construct and traverse the topology graph (and the other graphs constructed and traversed in succeeding steps and in FIG. 13) may be used with different topological representations and different traversal methods. These representations and traversal methods are known in the art. In a step 1214 , all the paths between any two nodes in the list of possible test points are found. In a step 1216 , all the devices along these paths are marked as being in the cluster being generated. In a step 1218 , any accessible nodes along or at the end of the paths found in step 1214 that are not already in the list of possible test points are added to the list of possible test points. In a step 1220 , inaccessible nodes that have not previously been traversed in step 1210 or step 1220 (un-traversed nodes) are used as a starting point for traversing the topology graph. The topology graph is recursively traversed starting with the un-traversed inaccessible node. As the graph is being traversed, the recursion stops at accessible nodes, but continues descending edges (devices) connected to inaccessible nodes. In this manner, all of the accessible nodes that are reachable along a path from the starting un-traversed inaccessible node through only inaccessible nodes are traversed. In a step 1222 , the accessible nodes that were stopped at are placed in the list of possible test points if they were not already there. If any nodes were added to the list of possible test points in steps 1218 or step 1220 , the process loops back to step 1214 . If no nodes were added to the list of possible test points, the process moves to step 1226 where all the devices marked as being in the cluster being generated are stored and then removed from the board topology. In a step 1228 , if there are no devices left in the board topology, then the process terminates in a step 1230 . If there are still devices left in the board topology, then the process loops back to step 1202 to start generating a new cluster from the devices left in the board topology. In FIG. 2 in a step 208 , each cluster is further broken down into reduced clusters. A reduced cluster is a group of targeted components that reduces the size and complexity of the test generation, measurement, and fault analysis problems in succeeding stages of the test process. FIG. 13 is a flowchart that illustrates the process for generating reduced clusters from a cluster. In a step 1302 , a topology graph containing the devices in the cluster being broken into reduced clusters is generated. For this discussion, this will be called the cluster topology graph. To construct the cluster topology graph the process begins with an empty undirected graph. Each device in the cluster is added to the cluster topology graph one at a time. Each device is added to the cluster topology graph as an edge and the nodes connected to that device are added to the topology graph as vertices if not already in the cluster topology graph. The process for generating an individual reduced cluster begins in a step 1304 . In a step 1306 , an inaccessible node is selected from the cluster topology graph. In a step 1308 , the cluster topology graph is recursively traversed starting with the selected inaccessible node. As the cluster topology graph is being traversed, the recursion stops at accessible nodes, but continues descending edges (devices) connected to inaccessible nodes. In this manner, all of the accessible nodes that are reachable along a path from the starting inaccessible node and through only inaccessible nodes, are traversed. In a step 1310 , the devices traversed in step 1308 are placed in the current reduced cluster. In a step 1311 , the accessible nodes stopped at in step 1308 are placed in a list of potential stimulus nodes for this reduced cluster. In a step 1312 , these devices are stored as a reduced cluster and the list of potential stimulus nodes for this reduced cluster are stored. In a step 1314 , the devices (edges) of the reduced cluster are deleted from the cluster topology graph. In a step 1316 , any nodes (vertices) that are no longer connected to any devices are removed from the cluster topology graph. In a step 1318 , if there are still inaccessible nodes left in the cluster topology graph, the process loops back to step 1304 to begin generating another reduced cluster. If there are no inaccessible nodes left in the cluster topology graph, the process terminates in a step 1320 . Any devices left in the cluster topology graph when the process terminates in step 1320 may be tested by conventional in-circuit test techniques. Several of the steps in FIG. 12 and FIG 13 refer to recursively traversing a graph. To illustrate in an exemplary manner this function, examine the exemplary undirected topology graph represented in FIG. 16. The vertexes of the graph represented in FIG. 16 correspond to nodes. The node number is shown inside of each circle. Accessible nodes are shown with an asterisk (*) next to the node number. The rest of the nodes are inaccessible. The edges of the graph represented in FIG. 16 are shown as lines. Each edge corresponds to a component (or branch). The name of the component is shown next to the line. Note that the topology graph in FIG. 16 corresponds to the circuit shown in FIG. 4 except with different accessible nodes. Say that the traversal starts at node 2. Node 2 is an inaccessible node so all of the branches (or edges) connected to node 2 need to be recursively traversed. This means that edges R 4 and R 3 are to be traversed. Which one is traversed first does not matter. If R 4 is traversed first, it leads to node 4. Since node 4 is also inaccessible, all the branches connected to node 4 except the branch followed to get to node 4 need to be recursively traversed. Accordingly, R 5 is then traversed leading to node 0. Since node 0 is an accessible node, the traversal stops at this node and does not traverse down the branches connected to node 0. The traversal then backs up to node 4. At node 4, all of the branches connected to node 4 have already been traversed (i.e. R 5 ) so the traversal backs back up to node 2. At node 2, R 4 has already been traversed, but node 3 has not Therefore, the traversal continues down R 3 to node 3. At node 3, R 2 and R 1 have not been traversed. Once again, which one is traversed first does not matter. Accordingly, R 2 is arbitrarily chosen first for this example. When R 2 is traversed, it leads to node 0. Once again, since node 0 is an accessible node the branches connected to node 0 are not traversed. Note that to avoid an infinite loop, traversal also stops at nodes that have been previously traversed. After the traversal backs up to node 3, it traverses down branch R 1 to node 1. Node 1 is an accessible node so the branches connected to node 1 are not traversed. The traversal then returns to node 3. At node 3, the traversal backs up to node 2 because all of the branches connected to node 3 have been traversed. All of the branches connected to node 2, the starting node, have been recursively traversed. Since all of the branches connected to the starting node have now been traversed, the process ends. Accordingly, in the above example, the devices traversed are R 1 , R 2 , R 3 , R 4 , and R 5 . J 1 was not traversed, and the accessible nodes stopped at are nodes 0 and 1. It may not be necessary to measure all of the accessible nodes connected to devices in the whole cluster to test the components in a reduced cluster. Accordingly, for each reduced cluster, access pruning is performed to determine a minimized set of accessible nodes that need to be measured. By reducing the number of nodes measured, the size of the U* matrices, etc. are also reduced. This simplifies the computations necessary to determine if a fault has occurred and speeds test time. FIG. 14 is a flowchart illustrating the steps taken to perform node pruning for a reduced cluster. In a step 1402 , the devices in the reduced cluster are divided into equivalence classes. This is typically done by first creating a Z matrix for the entire cluster. This Z matrix has rows that correspond to each of the accessible nodes connected to devices in the cluster. The columns correspond to the devices in cluster. The equivalence classes are then produced by checking the columns, and groups of columns, that correspond to the devices in the reduced cluster for independence. This follows the basic procedure for generating equivalence classes described, above, except that only combination of columns corresponding to devices in the reduced cluster are checked. In a step 1404 , the nodes in the list of potential stimulus nodes that were generated when the reduced cluster was generated are placed in the list of test points for this reduced cluster. These nodes are also eliminated from later consideration. That means that these nodes will not be eliminated in later steps as test points. In a step 1406 , a node still under consideration for elimination is selected. This node is an accessible node since only accessible nodes can be possible test points. In a step 1408 , a check is made to see if the selected node can be eliminated as a test point without changing the equivalence classes of the reduced cluster. This check is accomplished by first removing the row corresponding to the selected node from the Z matrix used in step 1402 . Then, this stripped Z matrix is used to divide the devices of the reduced cluster into equivalence classes. If there is a difference in the equivalence classes just produced and those produced in step 1402 , then this node is needed as a test point for this reduced cluster and the process proceeds to step 1412 . If there was no difference, this node is not needed as a test point for this reduced cluster and the process proceeds to step 1410 . In a step 1412 , a node that is needed as a test point is placed in the list of test points for this reduced cluster. The node is also eliminated from further consideration so it will not be selected again. The process then proceeds to step 1414 . In a step 1410 , a node that is not needed as a test point is eliminated from further consideration so it will not be selected again for possible placement in the list of test points for this reduced cluster. In a step 1414 , if there are still accessible nodes under consideration, the process loops back to step 1406 . If all of the accessible nodes have been tested to see if they should become test points, the process proceeds to step 1416 . In a step 1416 , the list of test points for this reduced cluster is stored. Then the process terminates in a step 1418 . In a preferred embodiment, only the accessible nodes in the list of test points will be used to generate the U* matrices and test limits for the equivalence classes of this reduced cluster. Although several specific embodiment of the invention has been described and illustrated, the invention is not to be limited to the specific forms, arrangements, and steps so described and illustrated. For example, many of the stimuli shown in the specific embodiments are shown as current sources. However, these could also be voltage sources. The invention is limited only by the claims.

Claims: A method of handling measurement inaccuracies in a circuit test procedure, comprising: taking a set of voltage measurements on a first set of nodes of a circuit; calculating a set of minimum voltage deltas, each member of the set of minimum voltage deltas corresponding to a member of the set of voltage measurements, whereas the members of the set of minimum voltage deltas represent minimum voltage deviations from nominal values, that, under consideration of measurement uncertainties, can produce voltage measurements as given by the corresponding members of the set of voltage measurements; calculating a set of maximum voltage deltas, each member of the set of maximum voltage deltas corresponding to a member of the set of voltage measurements, whereas the members of the set of maximum voltage deltas represent maximum voltage deviations from nominal values, that, under consideration of measurement uncertainties, can produce voltage measurements as given by the corresponding members of the set of voltage measurements; calculating a set of minimum-result deltas, wherein members of said set of minimum-result deltas are minimum values of corresponding elements of the result of a matrix-vector multiplication of a rotation matrix with an optimising voltage vector, wherein each element of said optimising voltage vector is within a range defined by corresponding members of said set of minimum voltage deltas and said set of maximum voltage deltas; calculating a set of maximum-result deltas wherein members of said set of maximum-result deltas are maximum values of corresponding elements of the result of a matrix-vector multiplication of a rotation matrix with an optimising voltage vector, wherein each element of said optimising voltage vector is within a range defined by members of said set of minimum voltage deltas and said set of maximum voltage deltas; comparing each element of said set of minimum-result deltas to a corresponding element of a set of maximums, whereas the elements of the set of maximums define maximal allowable magnitudes for elements of a matrix-vector product of said rotation matrix and a voltage delta vector, to determine if a group of components has at least one component that is outside a predefined test limit; and comparing each element of said set of maximum-result deltas to a corresponding element of a set of minimums, whereas the elements of the set of minimums define minimal allowable magnitudes for elements of a matrix-vector product of said rotation matrix and a voltage delta vector, to determine if said group of components has at least one component that is outside said predefined test limit, whereas the rotation matrix is a matrix derivable from a singular value decomposition of an impedance matrix, whereas said impedance matrix gives a relationship between currents and voltages for a circuit under test stimulated by a test equipment. The method of claim 1, wherein said step of calculating a set of minimum-result deltas is accomplished by using linear programming with said set of minimum voltage deltas and said set of maximum voltage deltas acting as constraints and said optimising voltage vector acting as a variable solution vector. A program storage medium readable by a computer, tangibly embodying a program of instructions executable by the computer to perform method steps for handling measurement inaccuracies in a circuit test procedure according to claim 1 or 2. An apparatus for handling measurement inaccuracies in a circuit test procedure, comprising: means for taking a set of voltage measurements on a first set of nodes of a circuit; means for calculating a set of minimum voltage deltas, each member of the set of minimum voltage deltas corresponding to a member of the set of voltage measurements, whereas the members of the set of minimum voltage deltas represent minimum voltage deviations from nominal values, that, under consideration of measurement uncertainties, can produce voltage measurements as given by the corresponding members of the set of voltage measurements; means for calculating a set of maximum voltage deltas, each member of the set of maximum voltage deltas corresponding to a member of the set of voltage measurements, whereas the members of the set of maximum voltage deltas represent maximum voltage deviations from nominal values, that, under consideration of measurement uncertainties, can produce voltage measurements as given by the corresponding members of the set of voltage measurements; means for calculating a set of minimum-result deltas, wherein members of said set of minimum-result deltas are minimum values of corresponding elements of the result of a matrix-vector multiplication of a rotation matrix with an optimising vector, wherein each element of said optimising voltage vector is within a range defined by corresponding members of said set of minimum voltage deltas and said set of maximum voltage deltas; means for calculating a set of maximum-result deltas wherein members of said set of maximum-result deltas are maximum values of corresponding elements of the result of a matrix-vector multiplication of a rogation matrix with an optimising voltage vector, wherein each element of said optimising vector is within a range defined by members of said set of minimum voltage deltas and said set of maximum voltage deltas; means for comparing each element of said set of minimum-result deltas to a corresponding element of a set of maximums, whereas the elements of the set of maximums define maximal allowable magnitudes for elements of the matrix-vector product of said rotation matrix and a voltage delta vector to determine if a group of components has at least one component that is outside a predefined test limit; means for comparing each element of said set of maximum-result deltas to a corresponding element of a set of minimums, whereas the elements of the set of minimums define minimal allowable magnitude for elements of a matrix-vector product of said rotation matrix and a voltage delta vector, to determine if said group of components has at least one component that is outside said predefined test limit; and means for deriving the rotation matrix from a singular value decomposition of an impedance matrix, whereas said impedance matrix gives a relationship between currents and voltages for a circuit under test stimulated by a test equipment. The apparatus of claim 4, wherein said means for calculating a set of minimum-result deltas uses linear programming with said set of minimum voltage deltas and said set of maximum voltage deltas acting as constraints and said optimising voltage vector acting as a variable solution vector.

Inventors: AHRIKENCHEIKH CHERIF, BROWEN RODNEY A, DARBIE WILLIAM P, MCDERMID JOHN E, AHRIKENCHEIKH, CHERIF, BROWEN, RODNEY A., DARBIE, WILLIAM P., MCDERMID, JOHN E.
Applicants: AGILENT TECHNOLOGIES INC, AGILENT TECHNOLOGIES, INC. (A DELAWARE CORPORATION)
Application year: 1999
Main classification: G01R31
IPC codes: G01R31