Disclosure of Invention
The invention aims to provide a simplified and staged test coverage rate evaluation method.
In order to solve the technical problems, the invention adopts the following technical scheme: an evaluation method for testing coverage rate is used for testing the coverage rate of a tested object, the tested object comprises a component and a pin corresponding to the component, the component comprises a digital component and an analog component, and the evaluation method comprises the following steps:
step S1, in the testability stage, evaluating the coverage rate of the tested object, wherein the step S1 includes step S11, that is, analyzing the component library of the components, if the pin of the corresponding component is assigned, the pin is considered to be covered by the test;
step S2, evaluating the coverage of the tested object in the manufacturing stage of the fixture, wherein step S2 includes step S21 and step S22, and the pin is considered to be covered by the test only if the pin is covered in step S21 and step S22;
step S21, analyzing the component library of the components, if the pin of the corresponding component is assigned, the pin is preliminarily considered to be covered by the test;
step S22, analyzing the layout detection report of the tested object, if the pin has a test point, the pin is preliminarily considered to be covered by the test, if the pin has no test point, but the pin is on the connection network lines of a plurality of boundary scanning devices, the pin is preliminarily considered to be covered by the test; and
step S3, in the final testing stage, evaluating the coverage of the tested object, wherein the step S3 includes: step S31, evaluating the test coverage rate of the pins of the corresponding digital device; wherein if the digital device is a boundary scan device and is covered by a boundary scan test, the pin of the corresponding digital device is considered to have been covered by the test; if the digital device is a non-boundary scan device, the pin corresponding to the non-boundary scan device is considered to be covered by the test only if the pin meets the fixed 0 fault and the fixed 1 fault; step S32, evaluating the stability of the analog device, that is, calculating the results of multiple tests to obtain the standard deviation and the value of the process capability, if the value of the process capability is greater than 20, the analog device is considered to be unstable; and step S33, evaluating the existence of the component.
As a further improvement of the invention, the pin for connecting the power supply or the ground is not measurable, and the pin for connecting more than 5 parallel capacitors is also not measurable.
As a further improvement of the present invention, the object under test includes a plurality of wires, and in step S2, the wires may be connected by clamps.
As a further improvement of the present invention, the calculation formula of the standard deviation is:
wherein,Xis a test value;nis the number of tests.
As a further improvement of the present invention, the formula for calculating the process capability is:
wherein μ is a test average;USLis the upper tolerance limit of the device;LSLis the lower tolerance limit of the device.
As a further improvement of the present invention, in step S33, the existence coverage of the component adopts the following rule:
if the component is a capacitor, at least one capacitor test or serial capacitor test covers all pins;
if the component is a connector, at least one pin is tested;
if the component is a diode, both pins need to be covered by the diode test;
if the component is an inductor, at least one jumper test or inductor test covers the two pins;
if the component is a jumper, at least one jumper test covers two pins;
if the component is a resistor, at least one of the resistance tests or the series resistance test covers all pins.
As a further improvement of the present invention, in step S33, the existence coverage of the component adopts the following rule:
if the component is a triode, at least one triode is tested to cover all pins;
if the component is a light emitting diode, at least one diode test or light emitting diode color test covers all pins;
if the component is an oscillator, at least one of the simulated power tests covers and detects the correct frequency;
if the component is a digital component, at least one pin is tested by a fixed 0 fault and a fixed 1 fault;
if the component is an analog power supply, at least one pin is tested.
Compared with the prior art, the invention can respectively obtain the test coverage of the testability stage, the fixture manufacturing stage and the final test stage through the steps S1, S2 and S3, thereby simplifying the test procedure applied to the online test machine and shortening the fixture manufacturing period.
Detailed Description
The invention discloses an evaluation method for testing coverage rate, which is used for testing the coverage rate of a tested object. In this embodiment, the object to be tested is a circuit board, which includes a plurality of components and a plurality of pins corresponding to the components. The components comprise digital devices and analog devices. Referring to fig. 1, the method for evaluating test coverage of the present invention includes the following steps:
step S1, in the testability stage, evaluating the coverage of the tested object, wherein the step S1 includes:
step S11, analyzing the component library of the components, and if the pin of the corresponding component is assigned, the pin is considered to be covered by the test;
step S2, evaluating the coverage of the tested object in the manufacturing stage of the fixture, wherein step S2 includes step S21 and step S22, and the pin is considered to be covered by the test only if the pin is covered in step S21 and step S22;
step S21, analyzing the component library of the components, if the pin of the corresponding component is assigned, the pin is preliminarily considered to be covered by the test;
step S22, analyzing the layout detection report of the tested object, if the pin has a test point, the pin is preliminarily considered to be covered by the test, if the pin has no test point, but the pin is on the connection network lines of a plurality of boundary scanning devices, the pin is preliminarily considered to be covered by the test; and
step S3, in the final testing stage, evaluating the coverage of the tested object, wherein the step S3 includes:
step S31, evaluating the test coverage rate of the pins of the corresponding digital device;
step S32, evaluating the stability of the analog device; and
in step S33, the presence of the component is evaluated.
The method for evaluating test coverage further comprises a step of initializing before step S1, wherein the pin connected to power or ground is not testable, and the pin connected to more than 5 capacitors connected in parallel is also not testable.
The object under test includes a plurality of wires, and in step S2, the wires may be connected by clamps.
In step S21, taking agilent 3070 online testing machine as an example:
capacitor *, 1000p, 10, 10, f
external pins 1
device * pins 1
external pins 2
device * pins 2
then pins 1, 2 of the component are test covered.
In step S31, if the digital device is a boundary scan device and is covered by the boundary scan test, the pin of the corresponding digital device is considered to have been covered by the test. The pins are TAP pins, or direct connection, or BusWire, or SiliconNai. The description is as follows: if the pins corresponding to the boundary scanning device are connected to the serial resistor, the condition that the pins are tested by one interconnection is satisfied, and the connected pins are on the same network cable; if the pins corresponding to the boundary scan device are tested by one interconnect, but on two silicon nodes, then only these pins are covered, and the resistors are not covered.
In step S31, if the digital device is a non-boundary scan device, the pin corresponding to the non-boundary scan device is considered to be covered by the test only when the pin satisfies the fixed 0 fault (Stuck-At-0) and the fixed 1 fault (Stuck-At-1).
In step S32, the results of the multiple tests are calculated to obtain the Standard Deviation (Standard development) and the process capability (Cpk) values. In this embodiment, if the process capability value is greater than 20, the analog device is considered unstable and needs to be retested or replaced.
The standard deviation is calculated as:
wherein,Xis a test value;nis the number of tests.
The formula for calculating the process capability is as follows:
wherein μ is a test average;USLis the upper tolerance limit of the device;LSLis the lower tolerance limit of the device.
In step S33, the existence coverage of the component adopts the following rule:
if the component is a capacitor, at least one capacitor test or serial capacitor test covers all pins, and a bypass capacitor is not included;
if the component is a connector, at least one pin is tested;
if the component is a diode, both pins need to be covered by the diode test;
if the component is an inductor, at least one jumper test or inductor test covers the two pins;
if the component is a jumper, at least one jumper test covers two pins;
if the component is a resistor, at least one resistor test or serial resistor test covers all pins;
if the component is a triode, at least one triode is tested to cover all pins;
if the component is a light emitting diode, at least one diode test or light emitting diode color test covers all pins;
if the component is an oscillator, at least one of the simulated power tests covers and detects the correct frequency;
if the component is a digital component, at least one pin is tested by a fixed 0 fault and a fixed 1 fault;
if the component is an analog power supply, at least one pin is tested.
Compared with the prior art, the method for evaluating the test coverage rate can obtain the test coverage rates of the testability stage, the clamp manufacturing stage and the final test stage through the steps S1, S2 and S3 respectively, so that the test procedure applied to the online test machine is simplified, and the clamp manufacturing period is shortened. In addition, because the test coverage rate can reflect the defects of the tested object, the tester can make corresponding adjustment according to the test coverage rate so as to achieve the purposes of obtaining the maximum coverage rate and reducing the risk when finally performing board-level online test.
In summary, the above is only a preferred embodiment of the present invention, and should not be limited to the scope of the present invention, and all the simple equivalent changes and modifications made according to the claims and the content of the specification of the present invention should be covered by the scope of the present invention.