WO2000070358A1 - Method for testing circuits - Google Patents

Method for testing circuits Download PDF

Info

Publication number
WO2000070358A1
WO2000070358A1 PCT/US2000/013862 US0013862W WO0070358A1 WO 2000070358 A1 WO2000070358 A1 WO 2000070358A1 US 0013862 W US0013862 W US 0013862W WO 0070358 A1 WO0070358 A1 WO 0070358A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
response
specifications
derived
synthesizing
Prior art date
Application number
PCT/US2000/013862
Other languages
French (fr)
Inventor
Pramodchandran N. Variyam
Abhijit Chatterjee
Original Assignee
Georgia Tech Research Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Georgia Tech Research Corporation filed Critical Georgia Tech Research Corporation
Priority to EP00939316A priority Critical patent/EP1212626A4/en
Priority to AU54420/00A priority patent/AU5442000A/en
Publication of WO2000070358A1 publication Critical patent/WO2000070358A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/01Subjecting similar articles in turn to test, e.g. "go/no-go" tests in mass production; Testing objects at points as they pass through a testing station
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2832Specific tests of electronic circuits not provided for elsewhere
    • G01R31/2836Fault-finding or characterising
    • G01R31/2846Fault-finding or characterising using hard- or software simulation or using knowledge-based systems, e.g. expert systems, artificial intelligence or interactive algorithms
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/316Testing of analog circuits
    • G01R31/3163Functional testing

Definitions

  • the present disclosure relates to a method for testing circuits. More particularly, the disclosure relates to a method of testing circuits having analog components, and a method of developing the tests applied to them.
  • Test methodologies for mixed-signal systems are based primarily on the paradigm of measuring the circuit's specifications to determine if they are "good” or “bad”. This method is known as specification based testing. With this method of testing, each specification is measured for each circuit, e.g., an integrated circuit (IC), to ensure that the circuit satisfies all specified parameters. Specification based testing has many drawbacks. Foremost perhaps is the cost associated with such testing. Testing costs include both the cost of test development as well as the costs associated with conducting the actual manufacturing tests. The cost factor becomes critical in high volume production of analog and mixed-signal ICs.
  • the present disclosure relates to a method for testing a circuit having analog components.
  • the method comprises performing a low-cost optimized test on the circuit by applying an optimized input stimulus to the circuit, capturing the circuit response to the input stimulus applied to the circuit, evaluating the circuit response to predict whether the performance parameters of the circuit satisfies predetermined specifications for the circuit, and making a pass/fail determination for the circuit based upon the evaluation of the circuit response.
  • the method deriving synthesizing functions which map measurement responses of the circuit to circuit performance parameters, applying an optimized input stimulus to the circuit, capturing the circuit response to the input stimulus applied to the circuit, evaluating the circuit response with respect to the derived synthesizing functions to predict whether a predeterrnined number of performance parameters of the circuit satisfies predetermined specifications for the circuit, making a pass/fail determination for the circuit based upon the evaluation of the circuit response, and for circuits for which a clear pass/fail determination cannot be made, perfo ⁇ r-ing specification based tests with respect to particular predetermined circuit specifications to make a final pass/fail determination for the circuit.
  • FIG. 1 is a high level flow diagram of a testing methodology in accordance with the present invention.
  • FIG. 2 is a flow diagram detailing a first portion of the testing methodology shown in FIG. 1.
  • FIG. 3 is a schematic representation of various parameter spaces.
  • FIG. 4 is a flow diagram detailing the first portion of the testing methodology shown in FIG. 2.
  • FIG. 5 is a schematic view of mapping between parameter spaces.
  • FIG. 6 is a flow diagram of an example test flow.
  • FIG. 7 is a flow diagram of generation of critical circuit instances.
  • FIG. 8 is a is a schematic of a routine showing steps involved in synthesizing mapping functions.
  • FIG. 9 is a graphical representation of standard deviation of measurements.
  • FIG. 10 is a schematic representation of string encoding.
  • FIG. 11 is a schematic representation of use of uniform crossover to create child strings.
  • FIG. 1 illustrates a high level view of a testing methodology in accordance with the present invention.
  • the final test procedure can be divided into two stages. As shown in FIG. 1, the circuit under test
  • CUT CUT is first subjected to a set of low-cost optimized tests derived from the CUT's specifications, as indicated in block 10. These tests can be conducted by applying an input stimulus (described below) to the circuit and observing the response, e.g. in the form of a waveform, to determine whether the circuit operates in compliance with a majority of the specifications established for the circuit. Once these tests have been performed, the test results are evaluated, as shown in block 12, to determine whether the CUT passes with respect to the various predetermined specifications. At this point, it can be determined, at least with respect to some circuits, whether the circuit passes (is good) or fails (is bad).
  • the low-cost optimized tests which are the subject of the present disclosure may reject circuits that actually pass each designated specification or accept circuits which do not pass each designated specification. Therefore, at 14, some circuits may fall into a third category in which it is not clear from the optimized tests whether the circuit passes or fails.
  • critical specification based tests can be applied in a second stage with respect to particular predete ⁇ nined specifications in the conventional manner, as indicated in block 16, to ensure that each approved circuit complies with each specification. Determination of which specifications for a given circuit will be specification based tested can be made by, for instance, initially comparing the test results obtained for each specification with the low-cost optimized tests with conventional test results for each specification. In this manner, the accuracy of the low-cost optimized tests can be assessed on a specification-
  • the overall test process can comprise first applying the low-cost optimized tests to the CUTs, and then applying critical specification based tests to circuits which do not clearly pass or fail with respect to certain predete ⁇ riined circuit specifications to make a final "good” or "bad” determination.
  • the overall test cost is significantly smaller as compared to what would be incurred by applying specification based tests to every circuit with respect to each circuit specification.
  • FIG. 2 illustrates the first portion of the test method in greater detail. More particularly, this figure shows various steps involved in blocks 10 and 12 of FIG. 1. As shown in FIG. 2, the input stimulus is first applied to the circuit as indicated in block 20.
  • the output response of the circuit can be captured (block 22) and, if desired, stored. From this response, the circuit specifications can be predicted, as indicated in block 24, so that pass/fail determinations can be made with regard to the predetermined specifications, as indicated in block 26.
  • the performance of a circuit is determined by a set of associated process parameters, i.e., the parameters under which the circuit is constructed.
  • process parameters i.e., the parameters under which the circuit is constructed.
  • such parameters can include the temperatures used during fabrication, the chemical compositions used, etc.
  • n p is the total number of process parameters which affect the circuit performance.
  • a circuit fabricated in this process can be represented by a point in the n p dimensional process parameter space.
  • the design of an analog circuit is evaluated using various performance parameters which reflect the circuit's transient, frequency, and DC performance metrices.
  • these performance parameters correspond to the specifications to which the circuit operates.
  • a circuit can also be represented by a point in the n s dimensional performance parameter space.
  • the performance parameters of the circuit are to satisfy certain specifications which arc given by lower and/or upper bounds on the performance parameters.
  • the specifications with a single bound can be designated as single ended specifications and those with both upper as well as lower bounds can be designated as double ended specifications.
  • all the double ended specifications on the CUT can be decomposed into two single ended specifications, giving a total of /./, single ended specifications (the subscript b standing for bound).
  • the lower or upper bound of the /' ' single ended specification can be denoted as b,.
  • the " single ended specification (on the performance parameter sj) defines a region . . ,,, in the n s dimensional performance parameter space containing all performance parameter values satisfying
  • Performance parameter sets satisfying all the ⁇ % single ended specifications fo ⁇ n the acceptance region in the performance parameter space (As) are defined by
  • circuits with perfonuance parameters lying in this region are classified as fault free or good circuits while circuits with perfonnance parameters outside this acceptance region are faulty or bad circuits. Since the performance parameter space and the process parameter space are related by the mappings given in equation [l], the acceptance region in the performance parameter space is implicitly related to the acceptance region in the process parameter space (A p ) as defined by equations [4] and [5].
  • Every circuit instance within the acceptance region in the process parameter space can be mapped into the measurement space using the mappings of equation [6] to give an acceptance region in the measurement space (A, tone) defined by equations [7] and [8].
  • the functional mappings ⁇ andf r , lie are, in general, not available in closed form and these mappings are evaluated for a given p via numerical circuit simulation. According to rigorous mathematical definitions, the dimensions of the above mentioned spaces are equal to n p , n s , and /.,,- conditional on the linear independence of the process parameters, performance parameters, and measurements respectively. From the above discussion, it can be appreciated that the manufacturing parameters, performance parameters, and testing responses of a given circuit can be defined in terms of process parameter space, performance parameter space, and measurement space, and further that each of these spaces are related to each other.
  • an input stimulus can be created which, when applied to a CUT manufactured with an incorrect process parameter, will yield a change in the measurement space which can be observed so that the defective nature of the circuit can be readily identified.
  • one goal of the present method is to design tests which maximize the change in the measured response of the circuit so that defective circuits can more readily be identified.
  • the response can be used to predict compliance with the specifications.
  • determining the test criteria involves finding the boundaries of the acceptance region in the measurement space.
  • the relationship between the measured response and the various circuit specifications can be defined as a plurality of functions which map the measured response to each individual circuit specification.
  • the input stimulus is applied to the CUT at block 40.
  • the response resulting from the application of the input stimulus is then measured, as indicated at block 42, and stored if desired. Once this measured response has been received, it can be input into the various mapping or synthesizing functions for the various circuit performance parameters (i.e., specifications) as indicated in block 44.
  • the mapping functions can then be evaluated to determine whether the circuit satisfies each individual specification, as indicated in block 46, so that a pass/fail determination can be made,
  • SUBSTTTUTE SHEET (RULE 26) as indicated in block 48. At this point, flow can continue to specification based testing, if needed, as indicated in FIG. 2.
  • the measurements obtained from applying the test stimulus are post-processed to define the test thresholds on the post-processed data rather than the measurements themselves.
  • This process can be designated measurement synthesis.
  • Measurement synthesis involves deriving n b synthesized measurements from the n m original measurements using the b synthesizing functions. All the information about the performance parameters of the circuit can be extracted using the synthesizing functions. As will be appreciated by persons having ordinary skill in the art, the synthesizing functions are preferably derived near the boundary of the acceptance region within performance parameter space to increase the accuracy of the functions in predicting a passing or failing performance parameter.
  • the/ performance parameter is very near to the specification bound b route i.e.,p is a critical circuit instance.
  • Equation [10] requires that the f h synthesized measurement fm s m) be equal to the f h performance parameter s Notice that two different subscripts / ' and j are used since, as described above, a performance parameter can have a double ended specification on it. In that
  • the synthesized measurements track the performance parameters, physically interpretable test criteria are obtained. Synthesized measurements contain much more information about the performance parameters than the measurements themselves, which is helpful for diagnostics. Second, there are robust nonlinear function approximation techniques which can be used to derive the synthesizing functions. Thus, the synthesizing functions can capture highly non-linear relations between measurements and performance parameters. For instance, as discussed below, a multivariate regression technique can be used to derive the synthesizing functions. Third, the misclassified circuits can be identified and handled systematically with this approach. For instance, as discussed below, various errors associated with the measurement synthesis can be incorporated to identify the circuits which are likely to be misclassified due to these errors.
  • SUBSTTTUTE SHEET (RULE 26) neural networks or any other regression strategy to approximate the function f ms .
  • the model produced by MARS can be of the form
  • Each basis function is a truncated power spline basis function of desired order q.X k,m is one of the variables in x and t ⁇ , chorus is the knot location for the basis function.
  • MARS modeling strategy is to progressively add basis functions based on the maximum reduction in the squared error of the model, until an over-fitted model is obtained. This basis set is then subjected to a backward stepwise deletion to produce the final model. While using measurement synthesis to determine test criteria, the chief source of misclassification of circuits are the inherent errors associated with regression and the non-idealities of the tester. As is discussed below, these non-idealities effect our test decision and how to identify circuits which needs to be tested further with the specification tests for fault detection.
  • the residuals do not contain any information about the function that we are trying to approximate and they are usually modeled as normally distributed random variables with zero mean (e n - N(0, ⁇ ] n )) .
  • the variance ⁇ e 2 n can be easily calculated from the training data without performing any additional circuit simulation.
  • the independent variables m in msi(m) can be replaced with (m+e m *).
  • the errors in measurement (ejon,*) can be modeled as normally distributed random variables with zero mean and known covariance matrix ⁇ em (17).
  • the random error in the synthesized measurement can be modeled as normally distributed with zero mean and variance ⁇ e 2 m which can be evaluated by simulation. It is to be noted that the variance can be estimated by evaluating the synthesizing function using a set of measurements with errors injected according to the measurement error statistics. This can be done without performing any additional circuit simulation. Thus, the following can be obtained
  • m is the actual measurements that we are making on the CUT for fault detection
  • the random error, e is the deviation of the synthesized measurement from the actual performance parameter S j .
  • FIG. 6 shows an example test flow diagram for production testing of analog ICs using measurement synthesis.
  • block 60 Given the acceptable ranges of all specifications, the measurement uncertainty due to inaccuracies in measurement instrumentation and modeling errors, and the mathematical prediction functions for predicting the circuit specifications form test response measurements, flow continues to block 61 in which it is determined whether the circuit needs further testing. If further testing is needed, specification tests can be conducted in block 64. If not all of the specifications have been computed, flow continues from 62 to block 65 in which, for a selected specification, the specification value is predicted from the response measurement. Next, at 66, it is determined whether
  • SUBSTTTUTE SHEET (RULE 26) the predicted value is such that it is certain that the circuits is good despite uncertainties. If not, flow continues back to block 61. If so, however, flow continues to 67 in which it is determined whether the predicted specification value is such that it is certain that the circuit is bad despite the uncertainty of ⁇ ,. If not, flow continues to block 68, and the specification value is very close to the boundary of acceptance for the specification.
  • An objective during the test design and while deriving the synthesizing functions is to minimize the number of circuits which need further specification testing. This in turn can be achieved by minimizing the variance ⁇ e 2 ⁇ . To minimize this variance, the individual variances of the two errors e m ⁇ and e n can be minimized. The variance of the error due to regression can be minimized by appropriately selecting the training circuit instances for the MARS.
  • measurements are the independent variables and the performance parameters are the dependent variables.
  • a set of appropriate circuit instances in the process parameter space can therefore be selected and mapped to the performance parameter space and measurement space by circuit simulation.
  • the accuracy of the generated MARS model depends heavily upon the circuit instances used for building the model. From equations [9] and [10] it can be understood that the synthesized measurements must track the corresponding performance parameters very well near the specification bound. Hence, to obtain a very accurate synthesizing function
  • the framing set typically must contain a large number of circuit instances which lie close to these bounds (critical circuit instances).
  • SUBSTTTUTE SHEET (RULE 26) in Figure 7 can be used to dynamically generate the critical circuit instances required for training.
  • the process statistics and specifications can be input, as indicated in block 70. If all of the specifications have been considered (71), flow continues to block 72 where descriptions of circuits having specification values very close to the specification boundaries are generated. If, on the other hand, not all of the specifications have been considered, flow continues to block 73 in which sets of current descriptions with different process parameter values are randomly generated using the supplied process statistics.
  • a mathematical function of is built which maps the random process parameter values to their respective specification values. This function can then be used to determine what the process parameters should be so that the circuit specifications will be close to or at the respective specification boundaries.
  • Each set of process parameters thereby determine, by simulation, the corresponding specification values. If these values differ from the predicted values ( ) by less than a specified error (ErroMax) at 75, then flow continues to block 77 and the process is repeated. If not, however, flow continues to block 76 where, for newly generated circuits whose specifications do not lie close to the specification boundary, flow will continue back to block 74.
  • ErroMax a specified error
  • This procedure takes this MARS model and finds a set critical circuits instances.
  • This procedure uses binary search algorithm with the nominal circuit instance and a randomly selected circuit instance as the initial guesses to search for a critical circuit instance. Using these newly generated circuit instances, the average squared error between the performance parameters predicted and those obtained through simulation can be calculated. If this error is less than a predefined value, the existing MARS model is accurate near the specification bound, else more circuits are added to the training set to improve the model accuracy.
  • the outputs of this routine are the MARS model relating the circuit performance parameters to the process parameters and a set of critical circuit instances.
  • PCA principal component analysis
  • PCA cannot be used directly for measurement selection. Therefore, a heuristic based on measurement ordering to select a set of measurements is used which will give a minimum variance ⁇ e 2 ⁇ .
  • the procedure OrderMeasurements removes one measurement at a time from the list of measurements and calculates the variance ⁇ e 2 ⁇ of the synthesizing function derived using the remaining measurements. The measurements are then ordered in the ascending order of the variance ⁇ e 2 ⁇ .
  • the procedure OrderMeasurements shown in FIG. 8, removes one measurement at a time from the list of measurements and calculates the variance ⁇ e 2 ⁇ of the synthesizing function derived using the remaining measurements. The measurements are then ordered in the ascending order of the variance ⁇ e 2 ⁇ .
  • genetic algorithms can be used to search for the optimum PWL transient stimulus and sampling points.
  • An objective during test design is to increase the standard deviation ⁇ p by appropriately choosing the measurements. This, in turn, can be achieved by selecting those measurements which are sensitive to the process parameter deviations of the circuit.
  • the search space typically must be encoded into genetic strings or chromosomes a set of rules must be provided for selection, crossover, mutation and fitness evaluation for these genetic strings. For example, the following rules could be established:
  • the i* gene of the genetic string is an integer representing the voltage at time point t, (equation [22]).
  • the f gene has a value j
  • the corresponding voltage of the PWL transient waveform is given by equation [23].
  • the string length of the population is equal to the total number of time divisions n,.
  • FIG. 10 shows the encoding in detail. In the figure, maximum voltage was assumed to be 5N and there are 5 voltage divisions and 5 time divisions.
  • Tournament selection involves picking two strings from the population and selecting the better for reproduction.
  • Crossover The crossover operator takes genes from each of the parent string and combines them to create child strings. A uniform crossover scheme can then be used for creating child strings. FIG. 11 shows how uniform crossover is performed to produce the child strings. Each gene of the parent strings is chosen with certain probability and are swapped to yield the two child strings.
  • Mutation After the child strings are created, the genes of the child strings can undergo mutation. For mutation, a gene is selected with a certain probability (mutation probability) and is replaced with a random number within the allowed range.
  • EXAMPLE 1 provides the performance specifications of an operational amplifier. In the absence of real data from the silicon foundry, it is assumed that the specification failure in this operational amplifier is caused by variations in seven parameters namely, the threshold voltages (N ton V top ), gate oxide thickness (T ox ), aspect ratios ((W/L) n , (W/L) p ), bias resistance ( R i as ) and compensating capacitor (CC). For the purpose of this example, it is assumed that the test measurement hardware has the capability of measuring small signal voltage gain of the operational amplifier for fault detection with 0.1 % accuracy.
  • the training set for building the synthesizing function for each of the specification was generated using the algorithm FindTrainSet().
  • transient tests were generated using the methods described herein.
  • the two double-ended specifications were decomposed to single-ended specifications to give a total of five single-ended specifications.
  • Circuit instances were generated for each of the five single- ended specifications using GenerateTrainSet(), and five circuits (one corresponding to each of the single-ended specification) with minimum distance (/ 2 , norm) from the nominal circuit were selected for generating the optimum PWL input stimulus.
  • a maximum testing time of 5ms was assumed.
  • For encoding the PWL input into the genetic string a string of 20 genes (giving 20 PWL segments) was assumed and the voltage at the comer points of the PWL segments was quantized to 20 levels between -5V and 5V.
  • the output of the CUT was sampled at 20 equally spaced time points for fault detection. For each of the five single-ended specifications, these 20 measurements were ordered and a subset of measurements were chosen to derive the synthesizing functions. For measurement ordering and selection, a measurement error of 1% was assumed. The number of measurements required for each of the synthesizing functions is given in Table 3 along with the corresponding specifications.

Abstract

The present disclosure relates to a method for testing a circuit having analog components. The method comprises performing a low-cost optimized test on the circuit by applying an optimized input stimulus (20) to the circuit, capturing the circuit response (22) to the input stimulus (20) applied to the circuit, evaluating the circuit response to predict whether the performance parameters of the circuit satisfies predetermined specifications (24) for the circuit, and making a pass/fail determination (26) for the circuit based upon the evaluating of the circuit response.

Description

METHOD FOR TESTING CIRCUITS
CLAIM OF PRIORITY
This application claims priority to copending U.S. provisional application entitled, "Design of Alternate Tests to Replace the Specification Tests for Analog
Circuits," having Serial No. 60/134,800, filed May 19, 1999, and U.S. patent application entitled "Method for Testing Circuits," having Serial No. 09/575,488, filed May 19, 2000, both of which are entirely incorporated herein by reference.
STATEMENT REGARDING FEDERALLY
SPONSORED RESEARCH OR DEVELOPMENT
The U.S. government has a paid-up license in this invention and the right in limited circumstances to require the patent owner to license others on reasonable terms as provided for by the terms of Contract No. ARPA#9526-041 awarded by the DARPA of the U.S.
FTELD OF THE INVENTION
The present disclosure relates to a method for testing circuits. More particularly, the disclosure relates to a method of testing circuits having analog components, and a method of developing the tests applied to them.
BACKGROUND OF THE INVENTION
Currently, comprehensive and low-cost test methodologies for analog and mixed-signal systems analogous do not exist. Test methodologies for mixed-signal systems are based primarily on the paradigm of measuring the circuit's specifications to determine if they are "good" or "bad". This method is known as specification based testing. With this method of testing, each specification is measured for each circuit, e.g., an integrated circuit (IC), to ensure that the circuit satisfies all specified parameters. Specification based testing has many drawbacks. Foremost perhaps is the cost associated with such testing. Testing costs include both the cost of test development as well as the costs associated with conducting the actual manufacturing tests. The cost factor becomes critical in high volume production of analog and mixed-signal ICs. Most of the previous research in test generation for fault detection in analog circuits assumes that a list of faults for which tests are to be generated is given. This approach is known as fault based testing. Realistic fault lists can be generated from analysis of the circuit layout using inductive fault analysis (IF A) based techniques. In the past, test researchers have proposed eliminating some of the tests from the conventional specification test set to reduce production test cost. Theses researchers have been motivated by the fact that many of the specification tests contain redundant information about the underlying process defects. For instance, the correlation between specification tests has been used for test elimination. A more rigorous approach for test elimination based on QR factorization of linear models has also been proposed. During production testing, not only the number of tests but also the order in which they are performed affect the overall testing time and test quality. Thus, a further reduction in average production testing time can be achieved by performing those specification tests first, which take the least time and have the maximum fault coverage. A graphical theoretic approach has also been used to optimize specification tests. Although the tests derived using the above mentioned testing schemes can substitute for the conventional specification tests performed during the final test stage of analog circuits, these test methodologies again resort to costly (although optimized) specification tests for fault detection. From the foregoing, it can be appreciated that it would be desirable to have a testing method for circuits, such as analog ICs, which accurately predicts circuit performance and which is low in cost to develop and perform.
SUMMARY OF THE INVENTION The present disclosure relates to a method for testing a circuit having analog components. The method comprises performing a low-cost optimized test on the circuit by applying an optimized input stimulus to the circuit, capturing the circuit response to the input stimulus applied to the circuit, evaluating the circuit response to predict whether the performance parameters of the circuit satisfies predetermined specifications for the circuit, and making a pass/fail determination for the circuit based upon the evaluation of the circuit response.
SUBSTTTUTE SHEET (RULE 26) In a preferred embodiment, the method deriving synthesizing functions which map measurement responses of the circuit to circuit performance parameters, applying an optimized input stimulus to the circuit, capturing the circuit response to the input stimulus applied to the circuit, evaluating the circuit response with respect to the derived synthesizing functions to predict whether a predeterrnined number of performance parameters of the circuit satisfies predetermined specifications for the circuit, making a pass/fail determination for the circuit based upon the evaluation of the circuit response, and for circuits for which a clear pass/fail determination cannot be made, perfoπr-ing specification based tests with respect to particular predetermined circuit specifications to make a final pass/fail determination for the circuit.
With these inventive methods, circuits such as analog ICs can be tested much more quickly and much more cheaply. The features and advantages of the invention will become apparent upon reading the following specification, when taken in conjunction with the accompanying drawings.
BRIEF DESCRTPTION OF THE DRAWINGS The invention can be better understood with reference to the following drawings. The components in the drawings are not necessarily to scale, emphasis instead being placed upon clearly illustrating the principles of the present invention. FIG. 1 is a high level flow diagram of a testing methodology in accordance with the present invention.
FIG. 2 is a flow diagram detailing a first portion of the testing methodology shown in FIG. 1.
FIG. 3 is a schematic representation of various parameter spaces. FIG. 4 is a flow diagram detailing the first portion of the testing methodology shown in FIG. 2.
FIG. 5 is a schematic view of mapping between parameter spaces. FIG. 6 is a flow diagram of an example test flow. FIG. 7 is a flow diagram of generation of critical circuit instances. FIG. 8 is a is a schematic of a routine showing steps involved in synthesizing mapping functions.
FIG. 9 is a graphical representation of standard deviation of measurements. FIG. 10 is a schematic representation of string encoding.
FIG. 11 is a schematic representation of use of uniform crossover to create child strings.
DETA-CLED DESCRIPTION
Overview of the Test Methodology
Referring now to the drawings in which like numerals identify corresponding components or steps, FIG. 1 illustrates a high level view of a testing methodology in accordance with the present invention. In an effort to reduce the cost of testing, the final test procedure can be divided into two stages. As shown in FIG. 1, the circuit under test
(CUT) is first subjected to a set of low-cost optimized tests derived from the CUT's specifications, as indicated in block 10. These tests can be conducted by applying an input stimulus (described below) to the circuit and observing the response, e.g. in the form of a waveform, to determine whether the circuit operates in compliance with a majority of the specifications established for the circuit. Once these tests have been performed, the test results are evaluated, as shown in block 12, to determine whether the CUT passes with respect to the various predetermined specifications. At this point, it can be determined, at least with respect to some circuits, whether the circuit passes (is good) or fails (is bad). Because of measurement errors, modeling errors, and mathematical residuals inherent to the test derivation process, the low-cost optimized tests which are the subject of the present disclosure may reject circuits that actually pass each designated specification or accept circuits which do not pass each designated specification. Therefore, at 14, some circuits may fall into a third category in which it is not clear from the optimized tests whether the circuit passes or fails. For these circuits, critical specification based tests can be applied in a second stage with respect to particular predeteπnined specifications in the conventional manner, as indicated in block 16, to ensure that each approved circuit complies with each specification. Determination of which specifications for a given circuit will be specification based tested can be made by, for instance, initially comparing the test results obtained for each specification with the low-cost optimized tests with conventional test results for each specification. In this manner, the accuracy of the low-cost optimized tests can be assessed on a specification-
SUBSTTTUTE SHEET (RULE 26) by-specification basis. Accordingly, the overall test process can comprise first applying the low-cost optimized tests to the CUTs, and then applying critical specification based tests to circuits which do not clearly pass or fail with respect to certain predeteπriined circuit specifications to make a final "good" or "bad" determination. With this methodology, the overall test cost is significantly smaller as compared to what would be incurred by applying specification based tests to every circuit with respect to each circuit specification.
FIG. 2 illustrates the first portion of the test method in greater detail. More particularly, this figure shows various steps involved in blocks 10 and 12 of FIG. 1. As shown in FIG. 2, the input stimulus is first applied to the circuit as indicated in block 20.
Once this stimulus has been applied, the output response of the circuit can be captured (block 22) and, if desired, stored. From this response, the circuit specifications can be predicted, as indicated in block 24, so that pass/fail determinations can be made with regard to the predetermined specifications, as indicated in block 26.
Theoretical Background
For a better understanding of the test generation methodology that follows, the theoretical background of the present invention is provided. The performance of a circuit, such as an analog IC, is determined by a set of associated process parameters, i.e., the parameters under which the circuit is constructed. For instance, such parameters can include the temperatures used during fabrication, the chemical compositions used, etc.
These parameters can be denoted as p-[pι, P2 , PnpJ, where np is the total number of process parameters which affect the circuit performance. As identified in FIG. 3, a circuit fabricated in this process can be represented by a point in the np dimensional process parameter space.
The design of an analog circuit is evaluated using various performance parameters which reflect the circuit's transient, frequency, and DC performance metrices. In other words, these performance parameters correspond to the specifications to which the circuit operates. The performance parameters can be denoted by s = [s;, S , , s„J, where ns is the total number of performance parameters. Hence, a circuit can also be represented by a point in the ns dimensional performance parameter space. The performance parameters of a circuit can be related to the associated process parameters through a set of n, mapping functions denoted byfps = [fpsι,fps2, fpsm]- This is to say that the relation between the performance of the circuit and the processes used to manufacture the circuit can be defined as in equation [1].
fP,, P → s, » P e ^"" >s, <≡ * = l ■ ■ ■ ", [Equation 1 ]
As will be understood by persons having ordinary skill in the art, the performance parameters of the circuit are to satisfy certain specifications which arc given by lower and/or upper bounds on the performance parameters. The specifications with a single bound can be designated as single ended specifications and those with both upper as well as lower bounds can be designated as double ended specifications. For the purposes of test generation, all the double ended specifications on the CUT can be decomposed into two single ended specifications, giving a total of /./, single ended specifications (the subscript b standing for bound). Note that if there are rt\ performance parameters with single ended specifications and π2 of them with double ended specifications, n\ + H = ns and t = nj + 2ιi2- The lower or upper bound of the /' ' single ended specification can be denoted as b,. The " single ended specification (on the performance parameter sj) defines a region ..,,, in the ns dimensional performance parameter space containing all performance parameter values satisfying
•i , >b, if lower bound
!,, = ( E R"' x , <k if upper bound [Equation 2]
Performance parameter sets satisfying all the ι% single ended specifications foπn the acceptance region in the performance parameter space (As) are defined by
A s, =
= l • n„ s- ' ' [Equation 3]
Circuits with perfonuance parameters lying in this region are classified as fault free or good circuits while circuits with perfonnance parameters outside this acceptance region are faulty or bad circuits. Since the performance parameter space and the process parameter space are related by the mappings given in equation [l], the acceptance region in the performance parameter space is implicitly related to the acceptance region in the process parameter space (Ap) as defined by equations [4] and [5].
Ap
Figure imgf000009_0001
A [Equation 4]
A „ =
■ n - ' [Equation 5]
One goal of the test generation method used herein is to find easy-to-perform measurements in which the CUT can be classified as good or bad. Assuming there are fi„, measurements represented by m=[mι, 1112 m„mJ, there is an n,„ dimensional measurement space in which the CUT can be represented by a point. These measurements are related to the process parameters of the circuit, with points in the process parameter space mapped onto the measurement space by nm mappings,
Figure imgf000009_0002
fpm2, - pmnj as defined in equation [6].
fpm, ■ P → '», > P e ^"" • '». e 91, / = / ... n„ [Equation 6]
Every circuit instance within the acceptance region in the process parameter space can be mapped into the measurement space using the mappings of equation [6] to give an acceptance region in the measurement space (A,„) defined by equations [7] and [8].
,
Figure imgf000009_0003
[Equation 7]
A m = π Λm. i [Equation 8]
1 = 1 "»
The functional mappings^ andfr,„ are, in general, not available in closed form and these mappings are evaluated for a given p via numerical circuit simulation. According to rigorous mathematical definitions, the dimensions of the above mentioned spaces are equal to np, ns, and /.,,- conditional on the linear independence of the process parameters, performance parameters, and measurements respectively. From the above discussion, it can be appreciated that the manufacturing parameters, performance parameters, and testing responses of a given circuit can be defined in terms of process parameter space, performance parameter space, and measurement space, and further that each of these spaces are related to each other. Just as a change in the parameter space, i.e., a fluctuation in a manufacturing parameter, will have an affect on the performance space, an input stimulus can be created which, when applied to a CUT manufactured with an incorrect process parameter, will yield a change in the measurement space which can be observed so that the defective nature of the circuit can be readily identified. As is discussed in greater detail below, one goal of the present method is to design tests which maximize the change in the measured response of the circuit so that defective circuits can more readily be identified.
Defining the Relationship Between Measured Response and Performance Parameters
From the foregoing discussion, it is apparent that, if the relationship between a measured response to an applied stimulus and the performance parameter of a circuit can be derived, the response can be used to predict compliance with the specifications. Thus, given a set of measurements obtained after applying the input stimulus, determining the test criteria involves finding the boundaries of the acceptance region in the measurement space. In other words, the relationship between the measured response and the various circuit specifications can be defined as a plurality of functions which map the measured response to each individual circuit specification. Once these mapping or synthesizing functions have been developed, the actual measured responses of a circuit to the input stimulus can be input into the mapping functions to make the pass/fail determination. Accordingly, the present testing method can further be represented as shown in FIG. 4. In this figure, the input stimulus is applied to the CUT at block 40. The response resulting from the application of the input stimulus is then measured, as indicated at block 42, and stored if desired. Once this measured response has been received, it can be input into the various mapping or synthesizing functions for the various circuit performance parameters (i.e., specifications) as indicated in block 44. The mapping functions can then be evaluated to determine whether the circuit satisfies each individual specification, as indicated in block 46, so that a pass/fail determination can be made,
8
SUBSTTTUTE SHEET (RULE 26) as indicated in block 48. At this point, flow can continue to specification based testing, if needed, as indicated in FIG. 2.
In a preferred arrangement, the measurements obtained from applying the test stimulus are post-processed to define the test thresholds on the post-processed data rather than the measurements themselves. This process can be designated measurement synthesis. The measurements are post-processed using a set of nb synthesizing functions [fmsi,-fms2, fmsnbj) to yield nb synthesized measurements (θ = [θι, θ2,..., θnb]).
This measurement synthesis can then be used to derive accurate test criteria for analog circuits. Measurement synthesis involves deriving nb synthesized measurements from the nm original measurements using the b synthesizing functions. All the information about the performance parameters of the circuit can be extracted using the synthesizing functions. As will be appreciated by persons having ordinary skill in the art, the synthesizing functions are preferably derived near the boundary of the acceptance region within performance parameter space to increase the accuracy of the functions in predicting a passing or failing performance parameter.
Suppose for a circuit instance/?, the/ performance parameter is very near to the specification bound b„ i.e.,p is a critical circuit instance.
fps] (p) * b, for any 0 < i ≤ nb [Equation 9]
Then the synthesizing function fms, for the specification bound b, need to be derived such that
Sj = fpsj (p) = fmsι (fpm (p)) = θ, [Equation 10]
In order to understand the relation given in equation [10], consider FIG. 5. As illustrated in this figure, the circuit instance p is mapped to the performance parameter space and the performance parameter Sj is very close to the specification bound b3. Equation [10] requires that the fh synthesized measurement fms m) be equal to the fh performance parameter s Notice that two different subscripts /' and j are used since, as described above, a performance parameter can have a double ended specification on it. In that
SUBSTTTUTE SHEET (RULE 26) case, two synthesized measurements are derived, one tracking the performance parameter accurately near the upper bound and the other one tracking it accurately near the lower bound. Thus, if the post-processing function /^ satisfies the relation given in equation [10], then the synthesized measurements for the critical circuit instances become equal to the corresponding performance parameters. As a consequence, the specification bound b, itself becomes the test criteria for the fh synthesized measurement. Thus, the problem of accurate boundary determination can be converted to one of function approximation using measurement synthesis.
The aforementioned technique provides several advantages. First, since the synthesized measurements track the performance parameters, physically interpretable test criteria are obtained. Synthesized measurements contain much more information about the performance parameters than the measurements themselves, which is helpful for diagnostics. Second, there are robust nonlinear function approximation techniques which can be used to derive the synthesizing functions. Thus, the synthesizing functions can capture highly non-linear relations between measurements and performance parameters. For instance, as discussed below, a multivariate regression technique can be used to derive the synthesizing functions. Third, the misclassified circuits can be identified and handled systematically with this approach. For instance, as discussed below, various errors associated with the measurement synthesis can be incorporated to identify the circuits which are likely to be misclassified due to these errors.
Derivation of the Synthesizing Functions
The functions/^ andfpm are very complex and are not available in closed form. Therefore, it is difficult to directly derive the synthesizing functions using equation [10]. However, function approximation using regression can be used. Ideally, the technique used for approximating the functional mapping between measurements and performance parameters should be able to approximate highly nonlinear functions accurately, should be able to handle large dimensionality of dependent variables, and should be immune to the problem of over-fitting. Multivariate Adaptive Regression Splines (MARS) is a known tool which has the above mentioned desirable properties. Hence, it can be desirable to use MARS to derive the post processing functions fm. One can also use
10
SUBSTTTUTE SHEET (RULE 26) neural networks or any other regression strategy to approximate the function fms. By way of example, the model produced by MARS can be of the form
f{x) = a, + ∑ am - Bl (x) [Equation 11 ] m=l
where the coefficients a,„ are chosen to minimize the squared error of the regression model. B„,(x) are splines of the form
K ( ) = I! H\s*> ' « - '*.« )]' [Equation 12]
*=ι
where S n takes values ±1 and
Figure imgf000013_0001
' [Equation 13]
Each basis function is a truncated power spline basis function of desired order q.Xk,m is one of the variables in x and t^,„ is the knot location for the basis function. MARS modeling strategy is to progressively add basis functions based on the maximum reduction in the squared error of the model, until an over-fitted model is obtained. This basis set is then subjected to a backward stepwise deletion to produce the final model. While using measurement synthesis to determine test criteria, the chief source of misclassification of circuits are the inherent errors associated with regression and the non-idealities of the tester. As is discussed below, these non-idealities effect our test decision and how to identify circuits which needs to be tested further with the specification tests for fault detection. As identified in the foregoing, errors associated with the measurement synthesis can increase the likelihood of misclassifying circuits. Accordingly, it is advisable to take these errors into consideration when synthesizing the mapping functions. Due to the regression approximation the ideal synthesizing function fms, is related to the synthesizing function / „„, obtained using MARS by equation [14], where e is the residual of regression.
11
SUBSTTΓUTE SHEET (RULE 26) Sj = fms, (m) = f msi(m) + en [Equation 14]
The residuals do not contain any information about the function that we are trying to approximate and they are usually modeled as normally distributed random variables with zero mean (en - N(0, σ]n )) . The variance σe 2 n , can be easily calculated from the training data without performing any additional circuit simulation.
To incorporate the effect of random measurement errors, the independent variables m in msi(m) can be replaced with (m+em*). The errors in measurement (e„,*) can be modeled as normally distributed random variables with zero mean and known covariance matrix ∑em(17).
em*~N(0,Σem) [Equation 15]
For estimating the errors in the synthesized measurements, the way in which the statistical distribution of the measurement errors are altered by the synthesizing function
(f msi) can be investigated. The random error in the synthesized measurement can be modeled as normally distributed with zero mean and variance σe 2 m which can be evaluated by simulation. It is to be noted that the variance can be estimated by evaluating the synthesizing function using a set of measurements with errors injected according to the measurement error statistics. This can be done without performing any additional circuit simulation. Thus, the following can be obtained
/*,. (m + * *) = fms, M + e m, [Equation 16]
where e~N(0, σ]m). Substituting this expression with measurement errors incorporated, in equation [14] yields
Sj = fmsi(m) + em + eπ [Equation 17]
12
SUBSTTTUTE SHEET (RULE 26) Assuming that the errors em, and e„ are independent and normally distributed, equation [17] reduces to
s j = fms, i ) + e, [Equation 18]
where eOT,~N(0, σ2J and
σ_, = σ.m + σ: [Equation 19]
In equation [18], m is the actual measurements that we are making on the CUT for fault detection, / msi(m) = θ, is the synthesized measurement. The random error, e, is the deviation of the synthesized measurement from the actual performance parameter Sj. Using the variance σe 2 ι , we can define a band δ, around the specification bound b, as given as
δ, = 3 -σ [Equation 20]
If the synthesized measurement θ, of the CUT is within this band we cannot make a confident decision as to whether the CUT is good or bad by looking at the synthesized measurement. To decide if the CUT is good or bad we need to subject it to the f' specification test. Thus specification bound bi and the band δi constitutes the test criteria for the synthesized measurement θ,. Figure 6 shows an example test flow diagram for production testing of analog ICs using measurement synthesis. With reference to block 60, given the acceptable ranges of all specifications, the measurement uncertainty due to inaccuracies in measurement instrumentation and modeling errors, and the mathematical prediction functions for predicting the circuit specifications form test response measurements, flow continues to block 61 in which it is determined whether the circuit needs further testing. If further testing is needed, specification tests can be conducted in block 64. If not all of the specifications have been computed, flow continues from 62 to block 65 in which, for a selected specification, the specification value is predicted from the response measurement. Next, at 66, it is determined whether
13
SUBSTTTUTE SHEET (RULE 26) the predicted value is such that it is certain that the circuits is good despite uncertainties. If not, flow continues back to block 61. If so, however, flow continues to 67 in which it is determined whether the predicted specification value is such that it is certain that the circuit is bad despite the uncertainty of δ,. If not, flow continues to block 68, and the specification value is very close to the boundary of acceptance for the specification.
Flow then returns to block 61 where the process is repeated. From this flow diagram, it is clear that if any of the synthesized measurements declare the circuit as faulty, then at least one of the specification is violated and further testing is unnecessary. If all the synthesized measurements declare the circuit to be fault free then the CUT is good. If the circuit has a few critical specifications and is not faulty, then we need to subject the
CUT to the critical specification tests to determine if the circuit is bad or good.
An objective during the test design and while deriving the synthesizing functions is to minimize the number of circuits which need further specification testing. This in turn can be achieved by minimizing the variance σe 2 ι . To minimize this variance, the individual variances of the two errors e and en can be minimized. The variance of the error due to regression can be minimized by appropriately selecting the training circuit instances for the MARS.
For the synthesizing functions, measurements are the independent variables and the performance parameters are the dependent variables. A set of appropriate circuit instances in the process parameter space can therefore be selected and mapped to the performance parameter space and measurement space by circuit simulation. The accuracy of the generated MARS model depends heavily upon the circuit instances used for building the model. From equations [9] and [10] it can be understood that the synthesized measurements must track the corresponding performance parameters very well near the specification bound. Hence, to obtain a very accurate synthesizing function
(low σ2 n ) near the specification bound, the framing set typically must contain a large number of circuit instances which lie close to these bounds (critical circuit instances).
However, the boundary of the acceptance region in the process parameter space is not known a priori. One straight forward way of generating a critical circuit instances is to randomly select circuit instances in the process parameter space and simulate these circuits and see if the performance parameter is close to the specification bound. This will involve a large number of circuit simulations. Hence, the example procedure shown
14
SUBSTTTUTE SHEET (RULE 26) in Figure 7 can be used to dynamically generate the critical circuit instances required for training. As shown in this figure, the process statistics and specifications can be input, as indicated in block 70. If all of the specifications have been considered (71), flow continues to block 72 where descriptions of circuits having specification values very close to the specification boundaries are generated. If, on the other hand, not all of the specifications have been considered, flow continues to block 73 in which sets of current descriptions with different process parameter values are randomly generated using the supplied process statistics. At block 74, a mathematical function of is built which maps the random process parameter values to their respective specification values. This function can then be used to determine what the process parameters should be so that the circuit specifications will be close to or at the respective specification boundaries. Each set of process parameters thereby determine, by simulation, the corresponding specification values. If these values differ from the predicted values ( ) by less than a specified error (ErroMax) at 75, then flow continues to block 77 and the process is repeated. If not, however, flow continues to block 76 where, for newly generated circuits whose specifications do not lie close to the specification boundary, flow will continue back to block 74.
For each of the specifications one can start with a set of circuit instances generated by randomly sampling the process parameter space. Then a coarse MARS model is built relating the process parameters to the performance parameter of the CUT.
This procedure takes this MARS model and finds a set critical circuits instances. This procedure uses binary search algorithm with the nominal circuit instance and a randomly selected circuit instance as the initial guesses to search for a critical circuit instance. Using these newly generated circuit instances, the average squared error between the performance parameters predicted and those obtained through simulation can be calculated. If this error is less than a predefined value, the existing MARS model is accurate near the specification bound, else more circuits are added to the training set to improve the model accuracy. The outputs of this routine are the MARS model relating the circuit performance parameters to the process parameters and a set of critical circuit instances.
15
SUBSTTTUTE SHEET (RULE 26) For efficient production testing of analog circuits, it is desirable to mmimize the number of measurements. By mi-αimizing the number of measurements, the variance, σ2 m , is mi-nimized. Moreover, the average production testing time is also rni-ni ized. Nevertheless, eliminating measurements might led to loss of information about the performance parameters of the circuit. This an increase in the variance σ2 n . Hence, only those measurements should be eliir-inated if used for deriving the synthesized measurements increases the overall variance σe 2 ι .
One straight forward method to extract the information content in all the measurements is principal component analysis (PCA). However, principal components of the measurement data are a linear combination of all the measurements itself. Hence
PCA cannot be used directly for measurement selection. Therefore, a heuristic based on measurement ordering to select a set of measurements is used which will give a minimum variance σe 2 ι .
The procedure OrderMeasurements, shown in FIG. 8, removes one measurement at a time from the list of measurements and calculates the variance σe 2 ι of the synthesizing function derived using the remaining measurements. The measurements are then ordered in the ascending order of the variance σe 2 ι . The procedure
SelecfMeasurements (FIG. 8) then takes this ordered list of measurements and adds one measurement at a time to the list of selected measurements and derives the synthesizing function using these selected measurements. Initially, the overall variance σe 2 ι reduces because we increase the accuracy of our regression by adding more measurements. After adding a few measurements, the addition of more measurements do not result in an increase in the accuracy of the regression model. However, the variance σ ml increases because we are introducing more measurement error with the addition of a new measurement. This leads to an increase in the overall variance σ2 . Once σ t start increasing, we stop adding new measurements and the final list of measurements will give a rninimum variance of the errors. Test Stimulus Generation
The synthesis between measurements and performance having been desired in the foregoing, derivation of an optimized input stimulus will now be described. For DC and AC tests, the search space is small and a set of tests (input to SelectMeasurements()) can be selected by uniformly sampling the range of possible DC input voltage and frequency of the sinusoidal test signal. However, for transient input stimulus the search space is very large. In searching for the best piece-wise linear (PWL) stimulus by dividing the time axis into divisions and voltage axis into «2 divisions, there are n2"* possible solutions. For such problems, genetic algorithms have shown the ability to move towards better solutions by selecting possible solutions from a large search space.
Hence, genetic algorithms can be used to search for the optimum PWL transient stimulus and sampling points.
As explained above, the chief reasons for misclassification during testing are the measurement errors and regression errors. The problem of misclassification becomes severe near the boundaries of the acceptance region. This can be explained with the help of Figure 9. In the figure, σp is the standard deviation of the measurements around the nominal fault free circuit instance due to the process vaiations and σe is that due to the measurement errors. Circuit instance pi is well within the region of acceptance, pz is outside the acceptance region and p2 is at the measurement threshold. In the figure we show the distribution of the measurements performed on these circuit instances. From the figure it is clear that/?/ and ps are always classified correctly even in the presence of measurement errors. However, there is a high probability that, ?2, the circuit instance at the boundary of the acceptance region is misclassified. The chances of misclassification reduces if the ratio is σp/σe increased. Thus a good test need to have the standard deviation due to the process variations much greater than that due to the measurements.
An objective during test design is to increase the standard deviation σp by appropriately choosing the measurements. This, in turn, can be achieved by selecting those measurements which are sensitive to the process parameter deviations of the circuit.
Earlier sensitivity based test generation methods were formulized to maximize the sensitivity of the measurements to the process parameter variations of the nominal circuit instance. Maximizing the sensitivity of the measurements to the process parameter deviations around the nominal fault free circuit often does not help, especially for circuits with loose specifications. If the specifications are not tight, increasing the sensitivity of the measurements to the process parameters for the nominal circuit will not necessarily increase the sensitivity of the measurements to the process parameters for the circuit instances near the boundary. This will lead to large rates of misclassification for a drifted manufacturing process. Thus our objective during test generation is to derive measurements which are highly sensitive to the process deviations of the critical circuit instances. Thus the fitness function for a set of nm measurements is given by equation [23], where nc is the number of critical circuit instances. We select one worst-case circuit instance per single-ended specification to evaluate the fitness. This worst-case critical circuit instance is the one which is nearest to the nominal circuit instance (lowest norm) among all those generated by GenerateTrainSet()
Fitness = ∑ ∑∑ (SJ/ \ I [Equation 21] =l /=1 /.=1
based on their fitness. After crossover and mutation of the existing population, the evolved new population again undergoes selection, crossover and mutation to give a population with individuals having better fitness functions. To conduct the genetic search, the search space typically must be encoded into genetic strings or chromosomes a set of rules must be provided for selection, crossover, mutation and fitness evaluation for these genetic strings. For example, the following rules could be established:
String encoding: The i* gene of the genetic string is an integer representing the voltage at time point t, (equation [22]). Thus, if the f gene has a value j, the corresponding voltage of the PWL transient waveform is given by equation [23]. The string length of the population is equal to the total number of time divisions n,. FIG. 10 shows the encoding in detail. In the figure, maximum voltage was assumed to be 5N and there are 5 voltage divisions and 5 time divisions.
t, = -^/ [Equation 22]
Vin(tt ) = ^≡- j [Equation 23] Selection: The selection of strings for crossover is biased towards strings having the highest fitness value so that the average fitness of successive populations tends to increase. Tournament selection can be used for selecting the parents for reproduction.
Tournament selection involves picking two strings from the population and selecting the better for reproduction.
Crossover: The crossover operator takes genes from each of the parent string and combines them to create child strings. A uniform crossover scheme can then be used for creating child strings. FIG. 11 shows how uniform crossover is performed to produce the child strings. Each gene of the parent strings is chosen with certain probability and are swapped to yield the two child strings.
Mutation: After the child strings are created, the genes of the child strings can undergo mutation. For mutation, a gene is selected with a certain probability (mutation probability) and is replaced with a random number within the allowed range.
Fitness evaluation: One measurement in a particular segment of the PWL transient waveform is suade. Hence, he total number of measurements is equal to the string length N. The fitness is equal to the sum of absolute value of the sensitivities of the measurements to the process parameters for the critical circuit instances.
EXAMPLE 1 Table 1 provides the performance specifications of an operational amplifier. In the absence of real data from the silicon foundry, it is assumed that the specification failure in this operational amplifier is caused by variations in seven parameters namely, the threshold voltages (Nton Vtop), gate oxide thickness (Tox), aspect ratios ((W/L)n, (W/L)p), bias resistance ( R ias) and compensating capacitor (CC). For the purpose of this example, it is assumed that the test measurement hardware has the capability of measuring small signal voltage gain of the operational amplifier for fault detection with 0.1 % accuracy.
19
SUBSTTTUTE SHEET (RULE 26)
Figure imgf000022_0001
First, the training set for building the synthesizing function for each of the specification was generated using the algorithm FindTrainSet(). The voltage gain at a set of 25 equally spaced frequency points on a logarithmic scale between DC and
150MHz were chosen for fault detection. Next, the 25 measurements were ordered using OrderMeasurementsO and a subset of these measurements were chosen for deriving the synthesizing functions using SelectMeasurements(). The number of measurements needed to derive each of the synthesized measurements are given in Table 1. Thus, the synthesized measurement for bias current was derived from 11 measurements and that for the/3 dB frequency was derived from 2 measurements, and so on. Totally, 15 measurements are needed to derive all the synthesizing functions indicating that some measurements are used to derive more than one synthesizing functions. The value of δ, was determined for each of the synthesized measurements. The bound 3δ, and the specification bound constitutes the test criterion for the optimized tests. To evaluate the generated tests, 1000 Monte Carlo samples were generated
(assuming independent normal distributions with 10% tolerance for parameters) of the operational amplifier and marked as faulty or fault free using the conventional specification tests. The fifteen selected measurements were made on these circuit instances and random measurement errors were injected to incorporate measurement non-idealities. Using these measurements with measurement errors incorporated, five synthesized measurements were derived (one corresponding to each of the circuit specification) using the precomputed synthesizing functions. Using the derived test criteria and the test flow given in Figure 6, the circuits were classified into three categories. Table 2 summarizes the simulation results. Table 2: Simulation Results on the Compensated Operational Amplifier
Figure imgf000023_0001
Out of 1000 circuits, 776 were found to satisfy the specification on bias current. Using the synthesized measurements 744 of these circuits were classified with a high degree of certainty. Out of the remaining 32 circuits, 17 had an uncertain test outcome. Hence for these 17 circuits, bias current is a critical performance parameter. Similarly, 20 circuit instances (out of 224) those did not satisfy the specification on the bias current have bias current as a critical performance parameter.
When all the specifications are considered, the synthesized measurements are able to correctly classify 93% of the CUTs. Out of the remaining 7%, 4.5% had an uncertain test outcome stet. These circuits are then subjected to the critical specification tests for fault detection. Thus only remaining 2.5% of the CUTs are misclassified by the proposed test procedure.
It is to be noted that not all the 44 circuits with uncertain test outcome were subjected to all the specification tests. From the table it can be seen that bias currents of 37, f3 dB of five, phase margin of one and gain margin of 48 circuits are to be measured. Thus, in worst case, only 91 performance parameters must be measured to correctly classify 97.5% of the CUTS.
EXAMPLE 2
Now the simulation results on an ITC'97 bench mark circuit, state-variable filter will be discussed. The faults in the state-variable filter were assumed to be due to variations in 16 parameters, seven of them are the process parameters of the operational amplifier and the remaining nine are the values of passive components of the state
21
SUBSTTTUTE SHEET (RULE 26) variable filter. For the state-variable filter, two double-ended specifications and one single ended specification were considered. The performance parameters and the specifications are given in Table 3.
Table 3: S ecification of the State-Variable Filter
Figure imgf000024_0001
To test this circuit, transient tests were generated using the methods described herein. To generate a training set for test generation, the two double-ended specifications were decomposed to single-ended specifications to give a total of five single-ended specifications. Circuit instances were generated for each of the five single- ended specifications using GenerateTrainSet(), and five circuits (one corresponding to each of the single-ended specification) with minimum distance (/2, norm) from the nominal circuit were selected for generating the optimum PWL input stimulus. To generate the optimum PWL input stimulus, a maximum testing time of 5ms was assumed. For encoding the PWL input into the genetic string, a string of 20 genes (giving 20 PWL segments) was assumed and the voltage at the comer points of the PWL segments was quantized to 20 levels between -5V and 5V.
The output of the CUT was sampled at 20 equally spaced time points for fault detection. For each of the five single-ended specifications, these 20 measurements were ordered and a subset of measurements were chosen to derive the synthesizing functions. For measurement ordering and selection, a measurement error of 1% was assumed. The number of measurements required for each of the synthesizing functions is given in Table 3 along with the corresponding specifications.
The generated tests were evaluated as described for the operational amplifier using 1000 Monte Carlo samples of the state-variable filter assuming independent normal distribution for the process parameters with 10% tolerance. Table 4 summarizes the simulation results. When all the circuit specifications were considered, out of 824 good circuits, 83% were declared as good by the derived tests, 10% needed further testing, and 7% were misclassified. Out of 176 bad circuits, 72% were classified as bad by the test, 20% needed further testing, and 8% were misclassified. Thus, with 16 time domain measurements and a few (maximum 182) performance parameter measurements, 93% of the circuits were correctly classified in the presence of 1% measurement error (in transient measurements). This, as compared to a total of 3000 performance parameter measurements, reduces down the overall testing time of the state- variable filter. Notice that, for this example, a higher percentage error was assumed for the measurements as compared to the operational amplifier example. That is why a 7% misclassification is obtained as compared to 2.6% in the previous example.
Table 4:
Figure imgf000025_0001
While particular embodiments of the invention have been disclosed in detail in the foregoing description and drawings for purposes of example, it will be understood by those skilled in the art that variations and modifications thereof can be made without departing from the spirit and scope of the invention as set forth in the following claims.
23
SUBSTTTUTE SHEET (RULE 26)

Claims

CLAIMSWhat is claimed is:
1. A method for testing circuits having analog components, comprising: performing a low-cost optimized test on the circuit by applying an optimized input stimulus to the circuit; capturing the circuit response to the input stimulus applied to the circuit; evaluating the circuit response to predict whether the performance parameters of the circuit satisfies predetermined specifications for the circuit; and making a pass/fail determination for the circuit based upon the evaluation of the circuit response.
2. The method of claim 1, wherein the low-cost optimized test is used to evaluate compliance with each specification specified for the circuit being tested.
3. The method of claim 1, wherein the low-cost optimized test is used to evaluate compliance with less than each specification specified for the circuit being tested.
4. The method of claim 1, wherein the low-cost optimized test is designed to maximize the sensitivity of the circuit response to changes in circuit process parameters.
5. The method of claim 1, further comprising perfoπriing specification based tests to circuits for which a clear pass/fail determination could not be made from the low- cost optimized test.
6. The method of claim 5, wherein the specification based tests are applied to determine compliance with respect to less than all of the specification for the circuit being tested.
7. The method of claim 5, wherein the optimized test is created such that the number of specification based tests needed is minimized.
24
SUBSTTTUTE SHEET (RULE 26)
8. The method of claim 1, further comprising performing specification based tests to the circuits to determine comphance with one or more predetermined circuit specifications.
9. The method of claim 8, wherein the specification based tests are applied to less than all of the specifications specified for the circuit being tested.
10. The method of claim 1, wherein the low-cost optimized test is formulated by deriving synthesizing functions which map the measurement response to circuit performance parameters.
11. The method of claim 10, wherein one synthesizing function is derived for each circuit specification to be tested.
12. The method of claim 10, wherein the circuit response is input into the synthesizing functions to predict compliance with the various circuit specifications.
13. The method of claim 10, wherein the synthesizing functions are derived near the boundary of an acceptance boundary for each circuit performance parameter.
14. The method of claim 10, wherein the synthesizing functions are derived through nonlinear regression.
15. The method of claim 1 , wherein the input stimulus is a sinusoidal stimulus.
16. The method of claim 1, wherein the input stimulus is derived using genetic algorithms.
17. A method for testing circuits having analog components, comprising: deriving synthesizing functions which map measurement responses of the circuit to circuit performance parameters; applying an optimized input stimulus to the circuit; capturing the circuit response to the input stimulus applied to the circuit; evaluating the circuit response with respect to the derived synthesizing functions to predict whether a predetermined number of performance parameters of the circuit satisfies predetermined specifications for the circuit; making a pass/fail deterrr-ination for the circuit based upon the evaluation of the circuit response; and for circuits for which a clear pass/fail determination cannot be made, performing specification based tests with respect to particular predetermined circuit specifications to make a final pass/fail determination for the circuit.
18. The method of claim 17, wherein the low-cost optimized test is designed to maximize the sensitivity of the circuit response to changes in circuit process parameters.
19. The method of claim 17, wherein the optimized test is created such that the number of specification based tests needed is minimized.
20. The method of claim 17, wherein one synthesizing function is derived for each circuit specification to be tested.
21. The method of claim 17, wherein the synthesizing functions are derived near the boundary of an acceptance boundary for each circuit performance parameter.
22. The method of claim 17, wherein the input stimulus is derived using genetic algorithms.
23. A testing system for testing compliance of circuits with predetermined circuit specifications, comprising: logic configured to derive an optimized input stimulus which is to be applied to the circuit being tested; logic configured to derive synthesizing functions which map measurement responses of the circuit to circuit performance parameters; logic configured to capture the circuit response to the input stimulus applied to the circuit; and logic configured to evaluate the circuit response through use of the derived synthesizing functions to predict whether the performance parameters of the circuit satisfies the predetermined specifications for the circuit.
24. The system of claim 23, wherein the derived synthesizing functions are designed to maximize the sensitivity of the circuit response to changes in circuit process parameters.
25. The system of claim 23, wherein the synthesizing functions are derived near the boundary of an acceptance boundary for each circuit performance parameter.
26. A testing system for testing compliance of circuits with predetermined circuit specifications, comprising: means for deriving an optimized input stimulus which can be applied to the circuit being tested; means for deriving synthesizing functions which map measurement responses of the circuit to circuit performance parameters; means for capturing the circuit response to the input stimulus applied to the circuit; and means for evaluating the circuit response through use of the derived synthesizing functions to predict whether the performance parameters of the circuit satisfies the predetermined specifications for the circuit.
27. The system of claim 26, wherein the derived synthesizing functions are designed to maximize the sensitivity of the circuit response to changes in circuit process parameters.
28. The system of claim 26, wherein the synthesizing functions are derived near the boundary of an acceptance boundary for each circuit performance parameter.
PCT/US2000/013862 1999-05-19 2000-05-19 Method for testing circuits WO2000070358A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP00939316A EP1212626A4 (en) 1999-05-19 2000-05-19 Method for testing circuits
AU54420/00A AU5442000A (en) 1999-05-19 2000-05-19 Method for testing circuits

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13480099P 1999-05-19 1999-05-19
US60/134,800 1999-05-19

Publications (1)

Publication Number Publication Date
WO2000070358A1 true WO2000070358A1 (en) 2000-11-23

Family

ID=22465073

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2000/013862 WO2000070358A1 (en) 1999-05-19 2000-05-19 Method for testing circuits

Country Status (3)

Country Link
EP (1) EP1212626A4 (en)
AU (1) AU5442000A (en)
WO (1) WO2000070358A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104237770A (en) * 2014-08-15 2014-12-24 电子科技大学 Analog circuit fault diagnosis method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104198922B (en) * 2014-08-15 2017-02-01 电子科技大学 Frequency selection method in early fault diagnosis of analog circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4907230A (en) * 1988-02-29 1990-03-06 Rik Heller Apparatus and method for testing printed circuit boards and their components
US4935877A (en) * 1988-05-20 1990-06-19 Koza John R Non-linear genetic algorithms for solving problems
US5327437A (en) * 1991-11-25 1994-07-05 Hewlett-Packard Company Method for testing electronic assemblies in the presence of noise
US5506852A (en) * 1994-03-17 1996-04-09 Nec Usa, Inc. Testing VLSI circuits for defects
US5805795A (en) * 1996-01-05 1998-09-08 Sun Microsystems, Inc. Method and computer program product for generating a computer program product test that includes an optimized set of computer program product test cases, and method for selecting same
US5819208A (en) * 1996-10-29 1998-10-06 Northern Telecom Limited Quantifying circuit performance

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4044244A (en) * 1976-08-06 1977-08-23 International Business Machines Corporation Automatic tester for complex semiconductor components including combinations of logic, memory and analog devices and processes of testing thereof
US4168527A (en) * 1978-02-17 1979-09-18 Winkler Dean A Analog and digital circuit tester
US4647846A (en) * 1980-10-10 1987-03-03 Malkin Dov B Method and means for testing multi-nodal circuits
CA2206738A1 (en) * 1997-06-02 1998-12-02 Naim Ben Hamida Fault modeling and simulation for mixed-signal circuits and systems

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4907230A (en) * 1988-02-29 1990-03-06 Rik Heller Apparatus and method for testing printed circuit boards and their components
US4935877A (en) * 1988-05-20 1990-06-19 Koza John R Non-linear genetic algorithms for solving problems
US5327437A (en) * 1991-11-25 1994-07-05 Hewlett-Packard Company Method for testing electronic assemblies in the presence of noise
US5506852A (en) * 1994-03-17 1996-04-09 Nec Usa, Inc. Testing VLSI circuits for defects
US5805795A (en) * 1996-01-05 1998-09-08 Sun Microsystems, Inc. Method and computer program product for generating a computer program product test that includes an optimized set of computer program product test cases, and method for selecting same
US5819208A (en) * 1996-10-29 1998-10-06 Northern Telecom Limited Quantifying circuit performance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1212626A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104237770A (en) * 2014-08-15 2014-12-24 电子科技大学 Analog circuit fault diagnosis method
CN104237770B (en) * 2014-08-15 2016-11-23 电子科技大学 A kind of analog-circuit fault diagnosis method

Also Published As

Publication number Publication date
AU5442000A (en) 2000-12-05
EP1212626A4 (en) 2006-05-24
EP1212626A1 (en) 2002-06-12

Similar Documents

Publication Publication Date Title
Variyam et al. Prediction of analog performance parameters using fast transient testing
US6865500B1 (en) Method for testing analog circuits
US8700550B1 (en) Adaptive model training system and method
JP2021521646A (en) Integrated circuit profiling and anomaly detection
CN113987033B (en) Main transformer online monitoring data group deviation identification and calibration method
CN111260063B (en) Analog circuit fault positioning and parameter identification method based on genetic algorithm
US8219355B2 (en) Methods and systems for high sigma yield estimation
CN109063734B (en) Oil-immersed transformer fault state evaluation method combining multi-level local density clustering
Yeganeh et al. Monitoring linear profiles using Artificial Neural Networks with run rules
JP2001502831A (en) A method for classifying the statistical dependence of measurable time series
US20080244326A1 (en) Prognosis of faults in electronic circuits
CN114169631B (en) Oil field power load management and control system based on data analysis
US20050144537A1 (en) Method to use a receiver operator characteristics curve for model comparison in machine condition monitoring
CN113484813A (en) Intelligent ammeter fault rate estimation method and system under multi-environment stress
CN113341305A (en) Analog circuit fault prediction method based on fusion modeling
CN110163332B (en) Transformer fault diagnosis method
EP1212626A1 (en) Method for testing circuits
Belforte et al. Identification, structure selection and validation of uncertain models with set-membership error description
Variyam et al. Specification-driven test design for analog circuits
Tsiamyrtzis et al. Bayesian statistical process control for Phase I count type data
CN115454990A (en) Oil paper insulation data cleaning method based on improved KNN
CN112163189A (en) Equipment fault diagnosis method based on test sequence probability matrix
JP2011258651A (en) Testing device, testing method, computer program and recording medium recording program
Kripakaran et al. Evaluting reliability of multiple-model system identification
Rahayu et al. Comparasion of the m, mm and s estimator in robust regression analysis on indonesian literacy index data 2018

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY CA CH CN CR CU CZ DE DK DM DZ EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

WWE Wipo information: entry into national phase

Ref document number: 2000939316

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2000939316

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: JP