Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.


  1. Advanced Patent Search
Publication numberUS5068814 A
Publication typeGrant
Application numberUS 07/433,612
Publication dateNov 26, 1991
Filing dateNov 7, 1989
Priority dateNov 7, 1989
Fee statusLapsed
Publication number07433612, 433612, US 5068814 A, US 5068814A, US-A-5068814, US5068814 A, US5068814A
InventorsWilliam D. Stark, Gregory C. Prestas
Original AssigneeArray Analysis, Inc.
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Interactive adaptive inference system
US 5068814 A
A human interactive adaptive inference system for testing electric or electronic devices or assemblies. The system includes a testing mechanism for performing position-dependent, time-ordered tests upon electrical or electronic devices or assemblies. The testing mechanism provides a test data array. The testing mechanism has manually provided test parameters and is adapted to operate under at least one of a plurality of operating modes. A reference array is also provided to contain acceptable data for comparison with test data. A reference comparator is connected to the test data array and to the reference array for providing a diagnostic analysis of the electrical or electronic device or assemblies.
Previous page
Next page
What is claimed is:
1. A human interactive adaptive inference system having an operative program for predicting causes of a previously unobserved fault appearing in an electric or electronic device or assembly from relationships with other known and previously stored fault data and information gathered for said electric or electronic device or assembly in prior tests, said adaptive inference system comprising:
a) testing means for performing position dependent, time-ordered tests upon electrical or electronic devices or assemblies to provide a test data array containing a pattern of faults;
b) storage means defining a reference array containing stored data and information representing patterns of faults of said electric or electronic device or assembly, and data and information patterns of said electrical or electronic device or assembly that conforms to operating requirements, said reference array having means for receiving and incorporating information representative of human judgment, which incorporated information is added to the fault patterns;
c) display means operatively connected to said data array of said testing means and said reference array of said storage means for displaying fault data and information;
d) means operatively connected to said data array of said testing means and said reference array of said storage means for entering human judgment information to said fault patterns to assist in obtaining a diagnostic analysis of said fault patterns; and
e) comparison means operatively connected to said data array of said testing means and said reference array of said storage means for providing a diagnostic analysis of said electrical or electronic device or assembly in accordance with said entered human judgment information, said comparison means being able to discern variances in fault data patterns from data patterns obtained from previously tested conforming electrical and electronic devices or assemblies, whereby said human interactive adaptive inference system is able to learn and predict causes of faults that were not previously experienced or stored within said human interactive adaptive inference system.
2. The human interactive adaptive inference system of claim 1, wherein said testing means includes means for receiving test parameters.
3. The human interactive adaptive inference system of claim 1, wherein said storage means defining a reference array includes a tolerance data array.
4. The human interactive inference system of claim 1, wherein said at least one of a plurality of operating modes can be selected in accordance with said program.

The present invention is particularly directed to use in an adaptive inference testing system which will employ varying features and functions, described in differing aspects in any one or more of the following copending patent applications, including this one, all filed concurrently and assigned to the present assignee: U.S. Ser. No. 433,612 for "INTERACTIVE ADAPTIVE INFERENCE SYSTEM"; U.S. Ser. No. 433,591 for "SYSTEM FOR DISPLAYING ADAPTIVE INFERENCE TESTING DEVICE INFORMATION"; U.S. Ser. No. 433,608 for "ARRAY STRUCTURE FOR USE IN AN ADAPTIVE INFERENCE TESTING DEVICE"; U.S. Ser. No. 433,335 for "METHOD FOR CALCULATING ADAPTIVE INFERENCE TEST FIGURE OF MERIT"; U.S. Ser. No. 433,594 for "UNPREDICTABLE FAULT DETECTION USING ADAPTIVE INFERENCE TESTING TECHNIQUES".


The present invention relates to a system for testing electric or electronic devices or assemblies and, more particularly, an adaptive inference system that allows a user to test such devices interactively.

In the field of electronics in general and in printed circuit board assembly in particular, electronic components are generally mounted, affixed, plugged into or otherwise associated with printed circuit boards. Such electronic components may be analog devices, digital devices, integrated circuits and the like.

The boards, in turn, usually have electrical contacts along one or more sides thereof for plugging into connectors. On a typical personal computer, for example, some five to ten boards are provided and are associated, by means of connectors, with a so-called mother board. Of course, more sophisticated machines would tend to have a greater number of boards and less sophisticated instruments would have tend to have fewer boards.

As the technology of electronic devices advances and as the consumer market for advanced products matures, not only does the functional complexity and the number of manufactured machines increase, but so too may the number of components per board increase. This makes it difficult to directly access all of the test points required to test a loaded board completely.

Finally, components mounted on the boards become ever more powerful and more difficult to test as new functions are required.

It therefore has become increasingly important to enhance procedures for testing proper operation of components, boards and machines. To the extent that such testing procedures can be improved, more efficient methods and more accurate methods are ensured.

For purposes of this description, the term "adaptive inference" means the ability to predict the cause of a previously unobserved fault from the relationships with other known fault information.

Also for purposes of this description, the term "unit under test (UUT)" is used to identify any component or assembly to be tested. Heretofore, UUTs were tested by technicians with the aid of certain instruments as simple as a voltmeter or as complex as a mainframe computer. Such testing methods were necessarily time consuming and labor intensive.

More recently, programmable systems have been used to test specific UUTs. These systems tend to be more efficient than manual methods, by allowing a greater number of UUTs to be tested in a given amount of time. But in order to use these programmable systems to test every possible condition of a component or board, every possible stimulant must be applied to the UUT and every possible response must be analyzed or at least compared with its associated proper reference response.

Even on a simple UUT, unanticipated problems can arise in many ways. Previous methods required a test engineer to program each of these possible faults into a machine. This required enormous amounts of programming. Over 25,000 lines of code and six months of effort were not unusual.

The present invention eliminates this programming effort for fault isolation by mathematically comparing a new fault to previously stored faults. A figure of merit is derived and displayed to indicate likely causes and closeness to known faults.

For instance, a certain circuit node may be shorted to ground and the faults recorded and stored in memory. When the same node is shorted to +5v, the acquired data is not going to be identical, but may be very close. In a traditional programming environment, two separate programs would be needed to cover both those cases. But the present invention indicates a high probability (figure of merit) that the indicated node is the source of the fault.

Powerful display tools in accordance with the present invention, such as waveform displays with color highlighting to show discrepancies, aid in localizing the troublesome area. A figure of merit less than 100% for faults never before experienced can signal the operator to investigate.

In the above example, when the operator discovers that a node is stuck high (not grounded), with a single keystroke the new fault can be added to memory. If the fault occurs again, the message displayed indicates this new fault with a high figure of merit: that same node is likely to be stuck to +5v. The next time the test is run with the same node stuck high, the system displays the message and indicates the second most likely diagnosis is the same node stuck low with a figure of merit less than 100%.

In this way, the system accumulates a representation of knowledge that it has gained in the past. It can infer things it has never seen. It operates similarly to the way that a human operator would debug a circuit. Moreover, the system improves with time and, of course, it never forgets.

A particularly vexing problem relates to the fact that test systems of the prior art have predetermined (i.e., predefined or programmed) input and output parameters that require a great deal of programming. Thus, a test, once released to production, cannot be easily modified. There is little or no opportunity to vary the test and no opportunity to learn from previous testing activities without reprogramming. Moreover, prior art test systems do not permit more than cumbersome rudimentary interaction with the human technician responsible for locating and repairing faults on UUTs.

The result, while adequate for a relatively few, predictable, selected fault conditions, is woefully inadequate for sophisticated, complex electronic devices, having a great number of possible and unanticipated failure modes, each resulting in a different response. In short, what is missing in prior art test systems is the ability to incorporate human judgement in a test system that learns.

U.S. Pat. No. 4,766,595 issued to Gollomp discloses a system for diagnosing faults in a UUT using behavior models to incorporate design knowledge of a UUT to run diagnostic tests. The system is capable of being used with automatic test equipment and providing test programs for automatic test. Test data is applied in a feedback arrangement to improve fault diagnosis.

U.S. Pat. No. 4,709,366 issued to Scott et al. discloses a system for isolating circuit faults in an electronic system and guides a technician node by node on a UUT to the source of failure. A computer provides stimulus patterns, and responses at the nodes are measured using a probe. A tailored signal for the node being probed is applied and the response is compared to a predetermined response and either a failure or probe next node response is generated. The computer displays clues to the technician to determine which node is most apt to be defective.

U.S. Pat. No. 4,847,795 issued to Baker et al. discloses a system for diagnosing electronic assembly defects. The system has a knowledge base for storing information on UUT and receiving current test failure. The system has a pattern search which compares current test data to stored information. A voting section recommends a repair process. The knowledge base is updated with information as to whether or not the repair eliminated the defect.

U.S. Pat. No. 4,841,456 issued to Hogan, Jr., et al. discloses a system in which an artificial intelligence system is interfaced with an automatic test system such that the actions of the AI are indistinguishable from those of a human operator. The automatic testing system includes an automatic test equipment controller, at least one test instrument and a UUT. There is a storage means for storing a functional test procedure (FTP) for the UUT. The FTP data set contains the results obtained by executing the FTP. An expert system means processes the FTP data and indicates when a failure has occurred and, if possible, the defective UUT portion that may have caused the failure. The expert system means produces output data identifying the defective UUT portion. The automatic test system may also comprise a diagnostic test procedure for the UUT should the expert system determine that further testing is required.

U.S. Pat. No. 4,857,833 issued to Gonzales et al, discloses a system which determines which of a plurality of electrical devices connected to a node of a circuit under test is causing a failure. The node is driven one device at a time and passive voltages at the node are taken for each device. The different device voltages are measured and analyzed to identify which device is causing the failure.

It would be advantageous to provide an interactive system for testing electronic components and assemblies.

It would also be advantageous to provide an interactive test system using adaptive inference techniques.

It would also be advantageous to provide an interactive test system in which reference data can be compared to test data.

It would also be advantageous to provide an interactive test system in which human judgment is incorporated in an adaptive inference system.

It would also be advantageous to provide an interactive test system using adaptive inference techniques in which a human operator may evaluate detected faults and respond thereto.

It would also be advantageous to provide an interactive test system having adaptive inference techniques in which a human operator can add newly discovered faults to a fault database so that future diagnostic analyses can include newly discovered faults.


In accordance with the present invention, there is provided a human interactive adaptive inference system for testing electric or electronic devices or assemblies. The system includes a testing mechanism for performing position-dependent, time-ordered tests upon electrical or electronic devices or assemblies. The testing mechanism provides a test data array. The testing mechanism is adapted to operate under at least one of a plurality of operating modes. A reference array is also provided to contain acceptable data for comparison with test data. The reference array is generated as a function of human judgment. A reference comparator is connected to the test data array and to the reference array for providing a diagnostic analysis of the electrical or electronic devices or assemblies.


A complete understanding of the present invention may be obtained by reference to the accompanying drawings, when taken in conjunction with the detailed description thereof and in which:

FIG. 1 is a perspective view of the MFI and MCP of the present invention;

FIG. 2 is a perspective view of the probe assembly;

FIG. 3 is a block diagram of the MFI and MCP of the present invention;

FIG. 4 is a schematic representation of a display on a video monitor;

FIG. 5 is a schematic representation of data arrays used in accordance with the present invention;

FIG. 6 is a flow chart of the testing process in accordance with the present invention; and

FIG. 7 is a schematic representation of the testing process in accordance with the present invention.


Referring now to FIG. 1, there is illustrated the preferred physical embodiment of the present invention. The invention includes a microprocessor-based Multifunction Instrument (MFI) 10.

The MFI 10 supplies system control and power and can perform complex tasks without requiring a host PC 12, such as is manufactured by IBM CORP. However, when the MFI 10 is connected to inferential software, described hereinbelow, which is hosted on the PC 12, other testing functions can be performed, as described herein. The MFI chassis provides an optional printer connector, not shown, communications connector 14, and a GPIB connector, not shown.

A keypad 16 is built into the MFI chassis providing an input interface for stand alone operation. The keypad 16 contains function keys 18 used to respond to MFI menus and data displays, described later herein.

A video monitor 18 is connected to the MFI 10 via a monitor cable 20. The video monitor 18 is used during stand alone operation to view data displays and menus, described later herein.

The MFI chassis has two hardware modules called plug-ins 22 and 24 that configure the MFI 10. There are plug-ins 22 and 24 for data acquisition, pattern generation, EPROM programming, EPROM emulation and other functions. The MFI 10 must have at least one plug-in (two plug-ins are shown in the FIGURE) 22 and 24 installed in order to operate as a testing tool.

Connected to the plug-ins 22 and 24, in turn, are probes 26, at least one or two for each plug-in 22 and 24, only one of which is shown in FIG. 1. Different types of probes 26 can be used with a particular type of plug-in 22 and 24 to achieve different functions.

Referring now also to FIG. 2, there is shown a perspective view of the probe assembly. Probes 26 extend from the plug-ins 22 and 24 (FIG. 1) to test leads 28 attachable to a unit under test (UUT), not shown. In this way, probes are the conduit between the UUT and the MFI 10. Probes 26 contain a set of ground pins 30 and signal pins 32 that are connected by means of test clips 34 to the UUT. Each plug-in 22 and 24 and probe 26 must be correctly matched to perform desired functions (e.g., data acquisition, pattern generation, and continuity testing). A label 36 identifies the function of the probe 26.

Referring now to FIG. 3, there is shown a block diagram of the preferred embodiment of the present invention. The inventive circuit testing tool has the microprocessor-based Multifunction Instrument (MFI) 10 connected to an MFI Control Program (MCP) 11 by means of a GPIB interface (shown by arrow), which MCP 11 is hosted on the personal computer 12 (FIG. 1). A printout to the MCP program listing is provided as Appendix A, filed with the aforementioned patent application titled "Interactive Adaptive Inference System", and is herein incorporated by reference.

Connected to MFI 10 is a unit under test (UUT) 38. UUT 38 may be a large, complex printed circuit board, not shown, or a smaller component that may be disposed on or near such a board. It should also be understood that such a component can be displaced from a larger assembly or disconnected entirely therefrom. Any electrical or electronic device or assembly can be used with the system.

The MFI 10 contains a high speed random access memory 42, an address counter 44, a data clock control 46, a state machine 48 and buffer memory 50. State machine 48 is connected to data clock control 46 by means of lines 48a. Data clock control 46 is connected to address counter 44 by means of lines 46a. State machine 48 is connected to plug-ins 22 and 24 by means of lines 48b.

Address counter 44 is connected to RAM 42 by means of lines 44a. RAM 42 is connected to memory 50 by means of line 42a.

Connected to plug-ins 22 and 24 are probes 26 and Analog/Digital/Drive/Sensor (ADDS) boards 40.

The MFI 10 operates as a logic analyzer, digital pattern generator, continuity tester, signature analyzer, microprocessor, disassembler, digital storage oscilloscope, analog waveform generator, EPROM programmer or EPROM emulator. These functions can be controlled by the MFI 10 in the stand alone mode or by the MCP 11 in the coupled mode. When the MFI 10 is coupled with the MCP 11, the combination of devices can run automatic tests and can learn from the results of completed tests.

MFI 10 runs an internal firmware program generating menus and data displays; responding to keypad inputs (stand alone mode); controlling the operation of the address counter 44, data clock 46, ADDS boards 40, and trigger control 48; and responding to the control status and data communication from the host PC 12 running MCP software.

A plurality of MFI's may be stacked. When in this mode, one MFI 10 acts as the master processor controlling interfaces, not shown, between the other processors.

The multiple MFI's can simultaneously acquire (read) and generate (write) digital and analog data, not shown. Data is acquired or sent via the ADDS boards 40. The MFI 10 typically contains several digital and analog ADDS boards 40. The functionality of ADDS boards 40 (analog/digital, drive/sense) is controlled via MFI menus, described in greater detail hereinbelow. Attached to the ADDS boards 40 are the plug-ins 22 and 24, used to configure the MFI 10 for the data acquisition or pattern generation.

Data output to or input from the UUT 38 via the ADDS boards 40, plug-in 22 and 24, and probes 26 is resident in the RAM 42. The RAM 42 is structured into 96 channels with each channel being 2K samples deep. All data is stored in the RAM 42. Such data is stored in the RAM 42 as digital data, but represents the analog form. That is, analog data input is converted to digital form prior to storage in RAM 42 and converted from digital to analog form when output from RAM 42. RAM control is performed by the address counter 44, data clock control 46 and trigger control 48.

The MFI 10 operates in three states:

a) an IDLE state where the data clock 46 is OFF, the address counter 44 is OFF, and no data is being written to or read from the RAM 42;

b) an ARMED state where the data clock 46 is ON or halted, the address counter 44 is ON and data is being written to or read from the RAM 42; and

c) a TRIGGERED state where the data clock 46 is Stopped, the address counter 44 is stopped, and the contents of the RAM 42 are Frozen.

When the MFI 10 is ARMED, it is active either generating data for or acquiring data from the UUT 38.

The trigger control 48 determines the length of time the data clock 46 will be operable (i.e., how long the MFI 10 will be ARMED). Trigger control 48 monitors the acquired data searching for sequences of trigger patterns.

A trigger pattern is a combinational state of the acquisition channels of the MFI 10. States can be high, low or "don't care". Several trigger patterns can be used simultaneously. Once the specified sequence of trigger patterns has been recognized, the MFI 10 enters a TRIGGERED state. The state machine 48 counts the number of samples past the trigger event.

Several triggers can be used to start and stop data collection. Once the RAM 42 is full or the last trigger is reached, the data clock 46 and address counter 44 are stopped and the RAM 42 frozen. The MFI 10 reads the contents of the RAM 42 into local memory 50.

Once data is in local memory 50, the MFI 10 can create a data display that is output to the video monitor 18 or transferred to the PC 12 for analysis. The address counter 44 points to a sample address in the RAM 42 where data is either written into or read out of the ADDS boards 40. The data clock 46, which may be sourced externally, determines the speed that the address counter 44 counts through the RAM channels and determines the time between samples. Data clock 46 can be made to operate at a speed greater than the speed at which the UUT 38 would normally operate.

In the stand alone mode, the MFI 10 operation described above is controlled by menus 49 accessed via the keypad 16 and viewed on the video monitor 18.

Each menu 49a-49k has a series of questions that, when answered, provides the capability to modify or adjust MFI operation. The MFI 10 reconfigures these menus 49 to show only those questions and answers that relate to the types of plug-ins 22 and 24 and probes 26 that have been installed.

The first menu that appears when the MFI 10 is activated is the configuration menu 49a. This menu 49a provides information about the present configuration of the MFI 10, such as what plug-ins 22 and 24 are attached, whether the MFI 10 is stacked or uncoupled, which machine or operating state the MFI 10 is in, and what SETUP mode is selected.

A SETUP mode is the set of all MFI 10 operating parameters a user can modify on all the menus plus one display parameter. There are two complete setups allowing a user to change setups without having to remodify all the menus. In addition to status information, this configuration menu 49a provides the capability to change configurations.

A communication menu 49b sets up the printer ports and the communication ports on the MFI 10. This menu can be accessed only from the configuration menu 49a.

The data parameter menu 49c provides the capability to select the display mode, trigger delay, probe and channel options, and auto arm. The trigger delay provides the capability to adjust the number of samples to be acquired after the sequence has been satisfied.

The clock menu 49d provides the capability to determine what points in time are to be sample points. Sample points are those points at which acquisition channels sample data and when generation channels output data.

The trigger pattern definition menu 49e provides the capability to set up to 14 trigger patterns. The trigger pattern is a set of logic levels, one logic level defining each acquisition channel. Logic levels can be defined as HI, LO, and DON'T CARE for each acquisition channel. When these logic levels simultaneously occur on all the acquisition channels, the trigger pattern has occurred.

The trigger sequence menu 49f provides the capability to instruct the MFI 10 to perform different actions as different trigger patterns occur.

The pattern generation menu 49g provides the capability to control the pattern generation plug-ins 22 and 24 and probes 26. There are two sources of patterns: algorithmic pattern, useful for generating analog signals; and "from the screen" pattern source which uses data records in the MFI buffer memory 50 as pattern sources.

The continuity test menu 49h controls the continuity tester plug-in 22 and 24 and probe 26.

The analog menu 49i provides the capability to specify that the data records of selected probes 26 be displayed on the timing display shown on either video monitor 18 or PC 12 (FIG. 1) as analog waveforms.

The signature analysis menu 49j provides control over the signature plug-in 22 and 24.

The EPROM programming menu 49k provides the capability to control the EPROM plug-in 22 and 24 and probe 26.

Data displays that appear on video monitor 18 or PC 12 provide the capability to observe and modify data acquired or generated by the MFI 10. There are four data displays provided with the MFI 10:

a) timing display, not shown, displaying waveform data. The timing display acts as an adjustable window on the data record, not shown. The data record is larger than the window, but the window may be moved back and forth or up and down to show the whole data record. The data may also be magnified under the window for more precise observations.

b) binary/hex display. These standard displays, well known in the art and not shown in detail herein, provide the capability to examine the data records sample by sample and channel by channel;

c) octal display. This standard display, well known in the art and not shown in detail, displays the data record as a sequence of octal data; and

d) processor disassembly displays, providing the capability to observe the processor code execution in the assembly language of the UUT processor.

Referring now also to FIG. 4, there is shown a typical timing diagram displayed on video monitor 18 or the PC 12 (FIG. 1).

The timing diagram display illustrates some of the key concepts described above. This example shows twelve digital channels and one analog channel. In the simplified example observe the following items:


The user selected sampling rate for the data shown in this display is 20 ns per sample. The dotted horizontal line 73 in the middle of the display shows the actual positions of the sample clock.


The trigger event 75 is indicated by the vertical dashed line. At this point in time, the states of the acquisition channels matched the user described trigger pattern. "Trig=00303" indicates the position of the trigger event as sample number 303 in the record.


"S=0248" indicates that the left edge of the screen 76 is displaying the 248th sample of the record. At the top right corner 78 "0359" indicates that the right edge of the screen is displaying the 359th sample of the record. Typically, the earliest sample in the record is sample 0 and the last is sample 1023. The last sample number is a function of record size.


The indications on the left edge of the display are the channel labels. These labels identify the plug-in probe pin 32 (FIG. 2) that was connected to the point in the user's circuit that generated the waveform 82 to the right of the label.


The waveforms displayed to the right of each channel label are representations of digital data captured by the MFI. This is the result of ACQUISITION.


This indicates MFI status as either ARMED, TRIGGERED, or as evidenced in this example, IDLE.


This indicates the resolution of the display. In this example, MAG=1 shows separate sample points at the highest resolution, 112 samples across the display.


These vertical solid lines are used to locate the signal events within the data record or to measure the time period of a signal event.


Indicate the sample number positions of the timing cursors.


Indicate the number of samples or time units between the timing cursors 90-92.


Measure the amplitude of the analog waveforms.


Indicates the number of vertical divisions between the voltage cursors 96.


This indicates the vertical scale of the analog channel. Divisions are actually the pixel size on the display.

When this example has completed its activities, the MFI 10 has obtained a set of data and stored it in the RAM 42. MFI stand alone operation (FIG. 3) is summarized in the following example of the MFI 10 functioning as logic analyzer. The following example is prescribed for explanatory purposes only and is not intended to limit the scope of the invention as defined by the appended claims. The MFI 10 is configured for this example as follows: capacity of 32 channels of timing data represented by two DDA50 plug-ins 22 and 24 (each with 16 channels digital) and each plug-in 22 and 24 with two P8v probes 26 (each probe with 8 channels available). The probes 26 are attached to a set of circuit boards 38. Each acquisition channel 32 (FIG. 2) on the probes 26 is assigned to a point in the unit under test 38 (FIG. 3).

Each channel acquires logic level samples (1's and 0's) from the point in the UUT 38. Sampling occurs at points in time (sample points) determined by the operator's selected data clock 46. An analog channel uses eight digital channels in the preferred embodiment to represent the analog wave form.

Sampling begins when the MFI 10 is ARMED. The MFI 10 is ARMED when one of the following occurs:

The Arm Key Trig Key on the keypad 16, or the MFI 10 receives an Arm Key or Trig Key command over the communications port 14 from the MCP software 11, while the MFI 10 is IDLE (not ARMED).

The MFI 10 is triggered while in AUTO-ARM mode.

Sampling stops when one of the following occurs:

The MFI 10 is disarmed by pressing the Arm Key on the keypad 16 or sending the Arm Key command to the communications port 14 to the MCP software 11, while the MFI 10 is ARMED.

The MFI 10 is triggered.

The MFI 10 is triggered by one of the following:

The occurrence of a specified sequence of trigger patterns followed by a trigger delay number of data clocks 46.

The Trig Key on the keypad 16 is pressed or the Trig Key command is sent to the communications port 14 to the MCP software 11.

When the MFI 10 is triggered it will display the acquired data on the video monitor 18 or on the PC 12.

Each channel maintains a data record of the most recent samples. The number of samples in a channel's record is determined by the plug-in 22 and 24 type and data clock 46 for that channel. The record size can also be affected by concurrent pattern generation with the MFI. Generally, the record size is from 512 to 8192 samples.

A trigger pattern is an operator defined combinational state of input channels. For a particular trigger pattern, the user can assign a state for each acquisition channel, a 1 or a 0 or an x (for "DON'T CARE"). When this combination of states occurs simultaneously on the acquisition channels, the defined trigger pattern is said to have occurred.

______________________________________      TRIGGER PATTERN______________________________________PROBE #      22221111111100000000Pin #        32107654321076543210TP01         XXXXXXXXXXXXXXXXXXXX______________________________________

When the MFI 10 is triggered, the channel records are available in their final form to be viewed on the MFI's display screens. These records may be viewed as timing diagrams (FIG. 4) or as one of many data domain displays, including microprocessor disassembly, that the MFI 10 can generate.

The above discussion on the invention data acquisitions/sending operations is the same in either the stand alone mode (MFI 10 controls the activity) or the coupled mode (MCP 11 controls the activity).

Referring now again to FIG. 3, the MFI control program (MCP) 11 provides the capability to use PC based technology to control and enhance the performance of the MFI 10.

The MFI 10 is connected to the MCP 11 by standard interfaces 14 (e.g., RS-232 communications port or GPIB IEEE-488 interface). The MCP 11 operates as a menu driven, interactive program organized into six major functions: control 52, editing 54, filing and transfer 56, viewing 58, testing 60, and other 62.

The control menu 52 provides the capability to control the MFI 10 directly, including the MFI menus 49. There are two modes associated with this menu:

a) blind control provides keys on the PC keyboard as replacements for the keys on the MFI keypad 16. Control is exercised by using the keyboard keys to interact with the menus and displays produced by the MFI 10; and

b) remote control provides the capability to replace both the MFI keypad 16 and monitor 18 with the PC 12. The PC 12 displays the current MFI display on one half of the monitor 18 and displays valid MCP control keys on the other half.

Editing menus 54 provide the capability to change or modify data contained in the MCP memory 50. Data can be edited using either the digital/analog waveform display (such as illustrated in FIG. 4) or the hexadecimal character display. Additional functions are provided to edit the waveform display; mark, unmark, copy, fill, and duplicate digital waveform segments; generate digital counting patterns; generate simple analog waveforms; and perform mathematical operations on analog waveforms.

Filing and transfer menus 56 provide the capability to control the transfer of information between the MFI 10 and the MCP 11. It allows the MCP 10 and MCP 11 to share setups and data. Setups are the copy of all working menu variables and reflect menu settings (MFI menus 49a-49k and MCP menus 52-62). Filing functions provide disk accessing and storage on the PC disk system.

Viewing menus 58 provide the capability to select the data being displayed, to label and arrange the order of the channels in the display, to control the resolution of the display, to display specific portions of the data, and to select between a waveform representation and a hexadecimal character representation.

Testing menus 60 provide the capability to test chips, circuits, PC boards, and other electrical or electronic devices or assemblies. The MFI 10 is automatically reconfigured for a specific test through the filing functions.

Other menus 62 provide the following miscellaneous functions: setting communications baud rate, copying among buffers, listing files in the working directory, changing directories, outputting a control byte to the parallel port, uploading and downloading EPROM images.

In addition to the aforementioned menus 52-62, the MCP 11 provides the capability to record operator commands as they are entered from the PC 12 (FIG. 1) keyboard or keypad 16 and to execute these sequences on command, generating the same activity as when they were first recorded. The macro functions 64 allow the MCP 11 to run tests without operator interaction.

Referring now also to FIG. 5, there is shown a schematic representation of data arrays as used in accordance with the present invention. In operation, test vectors 102 are applied to a unit under test (UUT) 38. While UUT 38 is usually a printed circuit board, it may also be a single device. The invention contemplates several ways of creating test vectors 102. If UUT 38 contains a microprocessor or other intelligence, and actually performs a function when the power is turned on, MCP 11 (FIG. 3) can learn the function of UUT 38 by connecting to it and observing the normal response.

Alternatively, an operator can visually create test vectors using a highly interactive graphical user interface and editor.

Another method to create test vectors is to download simulation data from a computer aided design (CAD) system database, not shown, to PC 12. When a device or a board is designed, a simulation using a CAD system is often created to validate the design. While such a simulation may not be perfect information for the test process, it is usually a good starting point.

Test vectors 102 are applied to UUT 38 to acquire data for the board under test 38. An acquired data plane or array 104 is generated as a result of applying test vectors 102 to UUT 38. Circles 104a-104c in FIG. 5 indicate information gathered. The two-dimensional representation of this plane of information 104 illustrates one of the unique features of the invention. Wherever a test point is interrogated, information is gathered continuously in the form of a data array. For purposes of this description, it is useful to know that reference data are the responses and information gathered from a known good board.

Data represented by three circles 104a-104c on the acquired data plane 104 are compared to reference data 106a, 106b on reference data plane 106. A single test is sufficient to obtain a reference.

A number of good boards 38 can be used to create a tolerance data plane 108. Since a known good board can have variations that are considered normal, the tolerance plane 108 is a representation of the normal variations of a known good board. For example, a pulse might be one millisecond wide on the board that is being measured. But it is quite likely that a range of, say, from 0.9 to 1.1 milliseconds is valid normal acceptable data.

One could measure a plurality of good boards (e.g., 50 boards) and vary their power supply and temperature to learn normal variance from the good boards. Alternatively, one can use an interactive graphical user interface, hereinbelow described in greater detail, and "tolerate out" (i.e., specify) that range of values, 0.9-1.1 milliseconds. Thus, test vectors 112 are applied to UUT 38 to acquire data 104. Reference data 106 from one good board is already in memory.

A simple logical compare (EXCLUSIVE NOR) is performed on a bit-by-bit basis hundreds of thousands of times between the acquired data 104 and the reference data 106. Any deviations between data in the two planes 104, 106 are then compared to data in the tolerance data plane 108. Here a logical AND operation is used as a mask. Any deviations that have been seen in the first array operations are now compared to this mask 108 again. In this way, massively parallel logical operations occur hundreds of thousands of times.

By the time the error plane 110 is reached, all deviations which have been observed or predicted by simulations are identified. The mode of analyzing data is far different than traditional methods. As a result, faults are defined that would simply be missed by other kinds of test systems.

To build tolerance, an operator decides that the deviations are acceptable; acquired data 104 is compared to reference data 106 and any variances within the tolerance plane 108 are accepted. Once tolerance has been built up, the system is ready to check for errors.

Acquired data 104 not favorably compared to reference data 106 nor within tolerance plane 108 results in errors, stored in an error plane 110. An error is defined as an acquired response that is not tolerated out. A pass/fail, go/no-go test can be performed at this point. If there are no errors, the board under test 38 passes.

If, however, errors exist, the system can memorize data patterns of faults as well as data patterns of known good boards. If there is a variance, the system can identify that condition and associate that pattern with an English language message 116 previously provided by an operator. For example, "U2, pin 3 Shorted to Ground" would be the sort of message that an operator might see, which is associated with a purely internal mathematical representation. One advantage of this diagnosis is that the system can provide an associated fault with an English language message, which an unskilled operator can then use to debug a UUT 38.

The system can store many of these fault patterns, each under a different message. In the process of learning what a good board is or in the process of creating reference data 106, an operator can train the system with a certain number of known faults. In this case, the operator essentially provides the system with a knowledge of faults. For example, U2, pin 2 can be shorted to U2, pin 3. When the test is run, it will fail and the operator enters the appropriate error message. This fault is added to a directory 116 with that English language message. This process can be repeated for different intentionally provoked faults.

Subsequently, a test is performed on another UUT 38, resulting in an error. The board fails and the system checks its memory to see if the fault patterns match any that has been seen before. If such a match occurs, the appropriate English language message is displayed. In such a case, the system indicates close to 100% certainty that an error is caused by a fault previously stored.

Referring now also to FIG. 6, there is shown a flow chart of the testing process.

Test vectors and test parameters are entered into the MCP 11, step 118. These vectors and parameters are downloaded, step 119, into the inferential software 68 (FIG. 5). As explained above, the system enters an ARMED state, step 121, where data is acquired from the UUT 38 until the Trigger is encountered when data is sent to the MCP 11 via the interface 14

Reference and tolerance data are developed, step 120. Initially, these data are developed by setting the reference data set to test data and setting the tolerance data to zero or by using the waveform editor 54 (FIG. 1). Test data acquired from the UUT 38 is compared to the reference and tolerance data, step 124.

Results, step 122, that differ from the reference and tolerance data are entered into the fault database. From known good boards, the tolerance data is increased by the difference, step 120.

Failure data is passed to fault image and displayed, step 126. Fault isolation improves with increased fault database size.

The operator directs any newly discovered fault to the fault database, step 128. At this point in the process the operator can edit any previous diagnosis. The operator can set the testing options, step 130, and the diagnosis options, step 132.

Referring now again to FIG. 5, the inferential software 68 provides the capability to "learn" to recognize fault conditions in analog and/or digital signals. A fault directory is either created by simulating failures or by learning faults as they occur during normal testing.

Once fault data is stored in memory, a newly-detected fault can be compared with the stored faults. A relationship between the stored fault data and the detected fault is determined. The system indicates the cause of the detected fault to the operator based on stored fault data that is most probably related to the detected fault. This system analysis and range of potential causes can be evaluated by an operator.

Referring now to FIG. 7, there is shown a schematic representation of the inferential software principles behind the testing strategies. These strategies are summarized below:

Repeatable Results

The principle utilized in testing assumes that the operation of a circuit may be judged by examining its operating signals.

The first step in developing any test is to devise test vectors and acquisition points that, when applied to the unit under test 38, will produce the same results repeatedly. A device that is working properly will produce a predictable and identifiable result. It is assumed that any deviation from predicted operation is produced by an error in the UUT 38. That UUT 38 has failed the test.

Reference and Tolerance Comparison

Even devices which are working properly may show some normal drifting and timing jitter between successive iterations of the same test. The test mechanism was designed to cope with this problem.

In order for the MCP 11 to be able to determine when a device passes and when it fails, the software must have a standard to judge the incoming results (the Acquired data 133). This standard is referred to as the reference image 134. In most cases, the reference image 134 is simply a copy of the first set of results returned by a good device.

The test is performed again and the new results are compared against the old results and stored in the reference image 134. Any differences that occur between successive tests of the same device are recorded in the tolerance image 136.

Once all the deviations of the good device are characterized, the good device will always pass because any deviations from the norm have been recorded in the tolerance image 136 and are ignored. This procedure is then repeated with other known good UUTs 38 until the tolerance image 136 has become broad enough to include all the discrepancies which normally occur among properly working UUTs 38.

Error Pattern Processing

The inferential software, shown in FIG. 7 with dashed lines and identified by reference numeral 68, assumes that, depending upon the specific test configuration, unique faults in the unit under test 38 will produce unique patterns of discrepancies.

One fault, a bad chip for example, might cause massive failures all across four channels; whereas another fault, say one signal stuck low, might cause failures during only part of the test on only one channel.

In each case, the position, timing and location of the resulting test deviations show that each fault produces a very different pattern of failures in the test data 144.

The function of the inferential software 68 can be expressed as follows:

1) Reduce the actual test failure data to a failure synopsis, or fault pattern, which is saved in a database file assigned automatically on a test by test basis.

2) Associate a specific fault diagnosis or comment with each fault pattern stored in the database 138.

3) Compare the incoming fault pattern with all patterns in the database and display the diagnosis descriptions of patterns that match closely 142.

4) Provide a menu-driven interactive interface for developing, utilizing, and maintaining the fault diagnostic databases.

Inferential software 68 keeps a record, or mathematical representation, of the specific error patterns that occur in the process of testing. When a fault pattern is added to the database 138, it is associated with an operator-defined 64-character string referred to as the fault diagnosis 140.

Initially, the fault patterns can be associated with a descriptive comment. As the causes for these errors are determined, the initial comment can be replaced with the diagnosis. The next time an error occurs, the inferential software 68 will report any fault patterns in the database 138 that are similar to the new fault pattern.

Once an error has been identified by the user, the inferential software 68 will be able to recognize and diagnose that error with a high degree of accuracy because it will recognize that fault's unique pattern.

Furthermore, even when processing a pattern for the first time, the inferential software 68 will correlate to the most likely fault already stored and will display at least the best match it can find.

The inferential software 68 is an extension of the testing mechanism already inherent in the MCP 11 (FIG. 3), so all user access to the inferential software 68 is achieved through the testing functions menus 60 (FIG. 3) of the MCP 11.

The inferential software database 138 is maintained in two files (in addition to those generated by the MCP 11 itself). The names of these fields are derived from the MCP 11 data file name and the currently loaded storage frame number.

For example, if the full filename of the data file currently open is "TSTNAME.DAT", the following files would be created during test development and diagnosis:

TSTNAME.22 Reference file 106 and tolerance file 108 for frame 22.

TSTNAME.F22 Inferential software database 138 file of fault descriptions for frame 22.

TSTNAME.X22 Inferential software database 138 file of fault patterns for frame 22.

The fault description file 137 name is formed, as shown above, by taking the reference file 106 name and inserting the letter `F` between the period `.` and the frame number. This file consists of linefeed terminated strings, each within a fixed 80-character cell. It is possible to use the DOS "TYPE" command or any standard ASCII text editor to display this file. The index number refers to the fault's actual position in the file.

The fault pattern file 139 name is formed in the same way as the fault description file 106 except that the letter `X` is inserted instead of the letter `F`. This file consists of fixed size blocks; each block contains one fault pattern. The index number of a fault pattern is identical to the index number of its corresponding position.

The fault diagnosis menu 146 is the focal point for all inferential software 68 activity. On entry to this menu 146, the current failures are abstracted from the exception buffer, not shown, and a new fault pattern is formed, which is matched automatically against all patterns in the database 138. Diagnoses are displayed by group according to the percentage of correlation (figure of merit) between the new fault pattern 139 and each fault in the database 138. Each fault description 116 (FIG. 5) is labeled with its unique fault index. A list of fault diagnosis menu functions appears in Table I, below.


Best: Conduct the matching process again in order to display the group of faults which match best.

Change: Select a specific fault by its index and change the fault description or comment.

Delete: Select a specific fault and delete it from participation in the matching process.

Examine: Select a fault and examine the associated error pattern synopsis.

Find: Find all fault descriptions which match the target string entered by the user.

Include: Include the new fault pattern under an existing description.

List: Generate the same display as the Examine function, also sending it to the standard print device.

New: Add the new error pattern to the database with an associated diagnosis or comment.

Options: Select Fault Diagnosis Options such as fault type and weight.

Query: Query the database for matches against a specific fault pattern already in the database.

Replace: Replace the fault pattern for an existing description with the current fault pattern.

Show Next Display the next best group of matching diagnoses.

Test: Return to the Testing Menu (FIG. 3) 60 and execute the Test function.

ESC: Return to the Testing Menu (FIG. 3) 60.

The figure of merit (FOM) is displayed for each group of faults displayed. This value is a percentage from 0 to 100 which indicates how closely the listed fault patterns match the new fault pattern. A figure of merit of 100% indicates that the listed fault pattern matches the new pattern exactly, whereas 0% indicates that the patterns do not match at all.

In order to understand how the figure of merit is calculated, it is helpful to imagine an error plane consisting of "channels" on one axis and "time samples" on the other. All entries are normally binary zero. Each time a discrepant value (i.e., an error) is found, a binary one is placed in the array. The number of channels is arbitrarily 96 and the number of time samples is 2K (i.e., 2048).

The contents of each channel is a number (e.g., 2K in the preferred embodiment) of binary data samples representing error information from the UUT collected during a test frame.

It is desirable to represent the contents of each channel in several forms, each providing a different way of looking at the data. Three ways of describing this information are by means of BIT, GROUP and RANGE.

BIT is a binary word representing the number of errors in the 2K record.

GROUP is a binary word representing the number of times the error data goes from "no error" to "error".

RANGE includes bits that, when set, represent the case when a segment contains an error. The 2K record is divided into sixty four, 32-bit segments.

In the following example, data are placed in groups of eight for simplicity of discussion herein.

__________________________________________________________________________00111010    11110000              01010100                     00000000                            Derived No.__________________________________________________________________________BIT  4    + 4    + 3    + 0    = 11GROUP2    + 1    + 3    + 0    = 6RANGE            1             = 1__________________________________________________________________________

Each of the aforementioned three derived numbers is stored on a per channel basis.

The FOM calculation uses the three derived numbers as a basis of its calculations. It is desirable to generate a 1 (100%) if all errors match and a 0 (0%) if no match exists.

In normal operation, these numbers are stored for each specific error pattern. Each pattern has an English language message associated therewith. The test is run on a new UUT and the three derived parameters are generated. These parameters are compared with stored fault information in the following way, in which the following terms are defined as shown below.

Base Bits=No. of error bits in stored error plane.

New Bits=No. of error bits in acquired error plane.

Match Bits=No. of error bits in common between Base Bits and New Bits.

Using the above-mentioned BIT, GROUP and RANGE numbers independently, the following ratios are calculated. ##EQU1##

As can be seen by the foregoing equation, the figure of merit as reported on the monitor represents the weighted average of the different methods. Moreover, other sources of information can be used in this manner, without departing from the scope of the present invention, to contribute to the weighted average. In particular, serial bit streams (as in J-Tag and other boundary scan information) complete data without BIT, RANGE or GROUP calculation. Encoding schemes, including transition encoding, to preserve all information in a compressed form are all valid ways to create a FOM using this technique. Many other ways are possible to accent a way that a UUT might fail in practical situations.

Since other modifications and changes varied to fit particular operating requirements and environments will be apparent to those skilled in the art, the invention is not considered limited to the example chosen for purposes of disclosure, and covers all changes and modifications which do not constitute departures from the true spirit and scope of this invention. ##SPC1## ##SPC2## ##SPC3## ##SPC4##

Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US4168527 *Feb 17, 1978Sep 18, 1979Winkler Dean AAnalog and digital circuit tester
US4194113 *Apr 13, 1978Mar 18, 1980Ncr CorporationMethod and apparatus for isolating faults in a logic circuit
US4601033 *Jan 16, 1984Jul 15, 1986Siemens Corporate Research & Suppport, Inc.Circuit testing apparatus employing signature analysis
US4651088 *May 6, 1985Mar 17, 1987Mitsubishi Denki Kabushiki KaishaDevice for testing semiconductor devices
US4656632 *Nov 25, 1983Apr 7, 1987Giordano Associates, Inc.System for automatic testing of circuits and systems
US4709366 *Jul 29, 1985Nov 24, 1987John Fluke Mfg. Co., Inc.Computer assisted fault isolation in circuit board testing
US4766595 *Nov 26, 1986Aug 23, 1988Allied-Signal Inc.For a unit under test
US4769817 *Jan 31, 1986Sep 6, 1988Zycad CorporationConcurrent fault simulation for logic designs
US4841456 *Sep 9, 1986Jun 20, 1989The Boeing CompanyTest system and method using artificial intelligence control
US4847795 *Aug 24, 1987Jul 11, 1989Hughes Aircraft CompanySystem for diagnosing defects in electronic assemblies
US4857833 *Aug 27, 1987Aug 15, 1989Teradyne, Inc.Diagnosis of faults on circuit board
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US5583801 *Jul 17, 1995Dec 10, 1996Levi Strauss & Co.Voice troubleshooting system for computer-controlled machines
US5774372 *Mar 29, 1996Jun 30, 1998Berwanger; PatPressure protection manager system & apparatus
US5991705 *Jul 23, 1997Nov 23, 1999Candle Distributed Solutions, Inc.End-to-end response time measurement for computer programs using starting and ending queues
US6102960 *Feb 23, 1998Aug 15, 2000Synopsys, Inc.Automatic behavioral model generation through physical component characterization and measurement
US6202036Oct 27, 1999Mar 13, 2001Candle Distributed Solutions, Inc.End-to-end response time measurement for computer programs using starting and ending queues
US6341260Jan 17, 2001Jan 22, 2002Candle Distributed Solutions, Inc.End-to-end response time measurement for computer programs using starting and ending queues
US6484129Nov 27, 2001Nov 19, 2002Candle Distributed Solutions, Inc.End-to-end response time measurement for computer programs
US6917971Nov 13, 2000Jul 12, 2005International Business Machines CorporationMethod and apparatus for determining a response time for a segment in a client/server computing environment
US7073107 *Feb 28, 2003Jul 4, 2006Lsi Logic CorporationAdaptive defect based testing
U.S. Classification702/185, 706/916, 714/737, 714/724
International ClassificationG01R31/28
Cooperative ClassificationY10S706/916, G01R31/2846
European ClassificationG01R31/28F4F
Legal Events
Feb 8, 2000FPExpired due to failure to pay maintenance fee
Effective date: 19991126
Nov 28, 1999LAPSLapse for failure to pay maintenance fees
Jun 22, 1999REMIMaintenance fee reminder mailed
Jul 4, 1995REMIMaintenance fee reminder mailed
May 26, 1995FPAYFee payment
Year of fee payment: 4
Nov 7, 1989ASAssignment
Effective date: 19891107