Method and apparatus for electrostatic discharge testing of machines which repetitively execute a stored program with a plurality of program steps

Abstract: The present invention employs random electrostatic discharges to stress test electrical machinery, particularly digital computer systems running repetitive diagnostic programs. There is provided an interactive capability which allows the user to determine test duration either in terms of a fixed time or in terms of a specified confidence level, the latter case being one in which the system provides the user with an indication of the run time required. Significant improvements over deterministic "zapping" devices result.

Description: The present invention is generally related to electrostatic testing of electronic machines, particularly stored program digital computers. More particularly, the present invention is directed to an apparatus and method for randomly generating electrostatic discharge test patterns of appropriate duration and timing to insure a specified level of confidence in the test result. Because of the characteristics of devices employed in present day electronic circuitry, complex electrical systems are sensitive to the occurrence of electrostatic discharges, such as occur when an improperly grounded person comes in physical contact with a machine. The electrostatic discharge that can result is capable of introducing errors and faults in electric or electronic machines. In an article "Synchronized Electrostatic Discharge for Studying Electrostatic Discharge Susceptibility", published in IBM Technical Disclosure Bulletin, Vol. 28, No. 10, March 1986, p. 4273/4274 synchronized electrostatic discharge testing of products, such as printers, is described. The tester has an electrostatic discharge generator the sparks of which are imposed on the machine under test is triggered by an operator of the machine or by hardware logic gates which recognize suspicious printer states. Another tester for electrostatic-discharge faults in integrated circuits, published in IBM Technical Disclosure Bulletin Vol. 28 No. 4, September 1985, pp. 1791-1792 makes use of operator defined setting of test conditions for each pin of the device to be tested by answering questions as prompted by the menue of an PC used as test controller. After programming parameters are set, the system automatically tests each device pin in sequence according to the previously defined conditions. The testing, as it is actually occuring, shows up on the controlling PC in block diagram form to keep the user informed. In order to insure that such machines are free from excess sensitivity to electrostatic effects, machines are tested prior to shipment. In these tests, machines are stressed as much as possible using conventional electrostatic discharge devices. These devices, which are typically controllable with respect to voltage, discharge rate and test duration nonetheless are constrained to operate in wholly deterministic ways. The main problem associated with deterministic electrostatic testing arises out of the fact that the machine under test is executing a stored test program which includes a plurality of individual diagnostic steps. In the ideal case, it is desirable to "zap" the machine during execution of each one of these steps to insure that induced hardware errors are handled correctly. To this end the diagnostic program steps include error trapping mechanisms in each of the steps to indicate the presence of a particular hardware error. However, the discharge test device and the machine itself are not set in synchronization with one another since static discharges in the field are themselves random events. Furthermore, attempts at synchronization are difficult because of different lengths of test programs and because of the varying number and kinds of program steps with which they are involved. Currently, electrostatic discharge equipment is used to inject noise into operating data processing devices, usually in conjunction with diagnostic test routines. During these tests it is important to assure maximal diagnostic coverage in a minimal time. Here, maximal coverage means that a discharge occurs during each diagnostic step. However, because of the situation described above, many hours can be wasted both in computer time and in manpower if a well formulated test termination criterion is no implemented. In fact, without the introduction of randomness in testing, as proposed herein, it may not even be possible to insure total test program coverage. In order to further clarify the test situation being considered herein, it can be assumed that a diagnostic test program which is repetitive in nature is running on a piece of data processing equipment under test. The test program particularly exercises the system error trapping mechanisms. The total length of run time which includes a number of iterations of the test program is referred to herein as the "experiment". In an asynchronous manner, an electrostatic discharge device (ESD) produces electrostatic discharges into the system in which the sequence of instructions is executing. It is a test object to insure, with a certain level of confidence, that each cycle of this instruction sequence is executed simultaneously with an electrostatic discharge, at least once, in a minimal amount of time. There are a number of reasons to require such tests. There is a significant need to test computer equipment prior to shipment for susceptibility to noise since the environments in which these machines are placed are subjected to a number of different noise sources. In particular, large scale computer installations often contain many computers together with associated input and output equipment. There are numerous non-ideal environmental situations which reside in customer installations that greatly affect the high availability of large systems. Some of these situations are customer power buses that serve as a common bus not only to one or more computers but also to other equipment as well. These buses generate noise which can enter computer systems. Additionally, miles and miles of under-the-floor cabling, oftentimes in neat long rows carry undesired cross talk noise to the computer circuits. Telephone lines and teleprocessing equipment cables can also couple noise into computer systems. The equipment which is often used by customers to guarantee uninterrupted power, as well as other motors, generators and diesel engines used in operating environments, also generates a high frequency noise spectrum. In general, noise may be radiated or conducted into a computer system. System operation in itself generates noise which can affect both the generating system and power or utility lines to which they are coupled. Indeed, the very grounding of systems can in fact have an effect on computer performance. It is thus seen that susceptibility to noise is a significant factor in the reliability, availability and serviceability of computer equipment. Accordingly, the desire for appropriate electrostatic testing is very important. Furthermore, one would like to be able to perform these tests in a minimal amount of time without sacrificing test thoroughness. This is becoming more difficult however because of the increased complexity of the systems and because of the length of the diagnostic test programs which are employed during the test phase. Accordingly, it is an object of the present invention to reduce test durations associated with electrostatically stressing digital computer systems. It is also an object of the present invention to increase the coverage of individual program steps with respect to the simultaneous or near simultaneous occurrence of disruptive electrostatic test discharges. It is a still further object of the present invention to enable a user or tester to interactively specify a test duration. It is yet another object of the present invention to enable a user or tester to ascertain a confidence level or probability associated with a selected test duration. It is also a object of the present invention to improve the testing of digital computer systems with respect to disruptive electrostatic discharge excitation. It is yet another object of the present invention to be able to determine a test duration from a specified probability that an electrostatic discharge occurs in each one of N test routing steps. It is a still further object of the present invention to be able to determine an appropriate confidence level for the test provided that the user supplies a given test duration. It is also an object of the present invention to provide the user with means to specify a certain proportion of program steps to be hit, thus providing a function which is particularly useful in situations involving diagnostic programs with large blocks of initialization steps. Lastly, but not limited hereto, it is an object of the present invention to avoid the problems associated with deterministic electrostatic discharge test methods. These objects of the invention are accomplished by the features of the main claims. Further advantages of the invention are characterized in the subclaims. The present invention preferably provides an interactive environment in which a user (that is, an electrostatic discharge test technician) is able to interactively specify either a test duration or a probability that at least one electrostatic discharge occurs during each program step of the diagnostic routine. The user is also able to specify a proportion of program steps that are to be "hit". In preferred embodiments of the present invention, when the user specifies a desired probability (confidence level), the user is also provided with an indication of the number of test iterations (the test duration) that will be required before a desired confidence level is reached. Furthermore, if the user specifies a test duration, say in seconds, then the apparatus of the present invention preferably provides an indication of the probability of successful discharge coverage for the specified test duration. Additionally, the user may provide an indicated proportion of the number of program steps to be covered by the discharge test. A preferred embodiment of the present invention also encompasses a method for conducting an electrostatic discharge test of a machine, which repetitively executes a stored routine having a plurality of program steps, by means of electrostatically exciting the machine at randomly spaced time intervals and for a duration determined interactively through user specified parameters of run time duration, program proportion and/or confidence level. The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. The invention, however, both as to organization and method of practice, together with further objects and advantages thereof, may best be understood by reference to the following description taken in connection with the accompanying drawings in which: Figure 1 is a schematic block diagram illustrating a preferred embodiment of the present invention; Figure 2A and 2B are flowcharts illustrating a preferred method of test duration control; Figure 2C is a flow diagram illustrating a preferred method for random fire timing control in accordance with preferred embodiments of the present invention. Figure 1 illustrates a preferred embodiment of the present invention in block diagram form. In particular, it is seen that test controller 10 operates to control electrostatic discharge device 30 which supplies voltage stress pulses to a machine under test 40. Typically, the connection between discharge device 30 and machine 40 involves placement of a conductive lead from discharge device 30 in close proximity to machine 40. Actual physical contact is not essential for the practice of the invention. However, most importantly for the present invention discharge device 30 is controlled by means of test controller 10 which includes test duration controller 12 and random fire timing controller 14. Flow charts describing the operations of these two subcomponents of test controller 10 are illustrated in Figures 2A, 2B and 2C. In one embodiment of the present invention, test controller 10 comprised an IBM PC/ATTM Personal Computer. This embodiment also employed an interface card 16 (Hewlett Packard HPIB interface card) which was connected to discharge device 30 by means of an HPIB IEEE 488 bus cable. The electrostatic discharge device in this embodiment comprised a Hewlett Packard 8112A pulse generator used in combination with a Hewlett Packard 6824A power supply/amplifier. Additionally, the "HPIB Command Library for MS-DOS (82990A) was also employed in the PC/ATTM computer. User communication with test controller 10 was established via display 20 and keyboard 25. In particular, as indicated in the flowchart in Figure 2A, test duration controller 12 requests the user to supply three parameters, namely the cycle time, CT, the length, PGM, of the repetitive test program 42 executing in machine 40, and the desired proportion, A, of the program to be covered. Two of these parameters may be specified in units of seconds. The third parameter is preferably specified as a decimal number from 0.0 to 1.0 and indicates the proportion of program steps to be covered. The parameters, CT and PGM, are used to determine the number of steps N in diagnostic program 42. Thus it is seen that cycle time CT represents the execution time of the individual steps or subprocedures in program 42. It is an object of the present invention to insure with a specified level of confidence that a discharge from device 30 is provided to machine 40 during the execution of M of the N program steps. This is accomplished in a random, asynchronous fashion. Nevertheless, the randomness is controlled in terms of duration and firing time. In the event that M = N ( as for example when A = 1.0), each program step is specified. However, when A < 1.0 fewer than all N steps are targeted. The choice of a value for A less than 1.0 is particularly useful when program 42 includes a step which is a long initialization routine for which hardware testing is less critical or even unnecessary. In operation, the user, in response to queries generated by test duration controller 12 supplies cycle time, proportion and test program length information. Test duration controller 12 also further inquires whether the user wishes to specify either an experiment which is limited by a specific run-time or the achievement of a certain probability of producing a discharge during each of the steps in program 42. If the user specifies that the experiment is to be run-time limited, it is a feature of the preferred embodiment of the present invention that the user is provided with an indication of the probability P of achieving the desired complete discharge coverage. However, for experiments which are limited by user specified run-time, or RT, it is not essential for proper operation of the invention to determine the value P, although it is still desirable. However, it is also possible for the user to specify a certain probability of complete discharge coverage for each of the N program steps (or M program steps that are to be covered). In this case, it is necessary to determine the number of random discharges which should be produced to achieve the specified probability, P. It has been shown by the applicants' that the relation between the probability P and the number of discharge iterations d which are required to achieve the specified success level is specified as: Also, if the user specifies a proportion, A, not equal to 1, then the probability P is computed as follows: where M is computed as the smallest integer greater than A x N. Notationally M is written as [A x N]+ as seen in Figure 2A. It is noted that in the case in which the user specifies the run time of the experiment, the value of d is readily computed (see Figure 2B and below with respect to option "A" from step 105). Furthermore, in this case, once given values for d and N the value for P is readily computed in accordance with Equations (1) or (2) above. However, in the event that the user specifies a probability of complete discharge coverage, then Equations (1) or (2) above must be solved for d as a function of the specified probability, P. From a numerical analysis point of view this is a much more difficult problem though still solvable by several different means. For example, since the value of d is integral, only a finite number of possibilities need to be investigated. Furthermore, tables can be pre-computed based upon values of N and d with table entries indicating the resultant probabilities P. Furthermore, iterative approaches to solving for d are readily applicable and available. While these approaches are all available, applicants' have nonetheless further discerned that an approximate closed form value for d may be computed in accordance with the following formulas: d = log [N/(1 - P)] log [N/(N - 1)] or, if A < 1.0, d = log [M/(1 - P)] log [N/(N - 1)] In Equations (3) and (4) above, the logarithm specified can be to any base but for ease of computation, it is preferable to use the natural logarithm, that is the logarithm to the base e. An even simpler approximate expression for d (again using natural logarithms) is given either by (N - 1) log [N/(1 - P)] or, if A = 1.0, by (N - 1) log [M/(1 - P)]. Still simpler though slightly more approximate values for d are given by N log [N/(1 - P)] or Nlog [M/(1 - P)], under the condition indicated above. Any of these formulas may (in appropriate circumstances) be employed to determine the value of d, which controls test duration, as a function of N, M and user specified probability P. Attention is now specifically directed to the flowcharts illustrated in Figures 2A through 2C. As indicated above, test duration controller 12 requests input information from the user in step 100. In particular, in Figure 2A, the user is prompted to supply cycle time, CT, test program length, PGM and proportion, A, data. Next, controller 12 computes a value for N in step 101 by dividing PGM by CT and rounding up to the next integer value. In particular, in steps 101 and 111 (discussed below) the square brackets having a subscripted "+" sign denote "the smallest integer greater than". A value for M is also computed in step 101 as [A x N] , where A is the user specified proportion. Next, in step 102, controller 12 specifies L, the minimum firing time. This parameter is dependent on the specifications of the electrostatic discharge unit itself and is related to specific hardware and is therefore preset. However, under test conditions, L was set to approximately 8 milliseconds in tests carried out by the applicants. Typically, L most strongly depends on firing relay characteristics such as pick time and release time. Furthermore, inherent randomness found in relay operation actually contributes in a positive way to overall randomness in firing times. Although this relay characteristic is not essential to the operation of the present invention, it is more than acceptable as long as relay operation is not significantly delayed. Next, controller 12 computes an average firing time interval duration, AFT, as L + MIN(PGM,L)/2 in step 103 as shown. Next, in step 104 controller 12 inquires of the users whether they wish to specify either a run time for the experiment or a probability of test coverage as a parameter for controlling test duration. In step 105, controller 12 analyzes the users' response which is preferably provided through display 20 and keyboard 25. In the event that the user specifies a run time parameter for duration control (option "A"), controller 12 requests a run time value, RT, as shown in step 110 (the reader being cautioned not to confuse proportion variable A with option "A", these being different concepts). Next, in step 111 a value for duration d, in terms of the number of iterations, is computed as the smallest integer greater than the ratio of RT to AFT. Next, having been able to compute values for N, M and d, controller 12 preferably computes probability P as specified by Equations (1) or (2) above and in step 112. Then in step 130 controller 12 preferably displays values of RT and P to the user and further inquires as to whether or not these values are satisfactory. In particular, in the case at hand, if the run time of the experiment produces a probability P which is unsatisfactory to the user, then the user, in step 131, is given the opportunity to indicate an unsatisfactory result in which case control returns to step 104 and the cycle is repeated as necessary. It is noted in step 112, that no special consideration must be given to solving for P having been given values for N, M and d. If, in step 104, the user has specified that the duration is to be controlled by a probability parameter, then, in step 120 (Figure 2B), the user is requested to supply a desired probability of discharge coverage. Based upon the confidence level or probability P supplied by the user, controller 12 computes, in step 121, an appropriate value for d in accordance with the equation specified therein. As indicated above, the value of d may be determined from iterative numerical computations, from tables or from any one of several approximation formulas indicated above. Based upon the value of d determined, a run time computation is carried out in step 122 in which RT is computed as the product of d and AFT. As above, in step 130, the values of RT and P are preferably displayed to the user together with an inquiry as to whether or not these values are satisfactory. In particular, it may appear to the user that the probability of test coverage specified could result in a test duration which is too long for practicability or conversely, the user may be provided with an indication that the run time is relatively short so that increased confidence levels can be specified for tests which can be carried out in a reasonable amount of time. It is thus seen that test duration controller 12, in response to user input parameters A, CT and PGM and a choice of termination procedure, determines a value for d, a measure of test duration. It is the determination of a value for d which is the primary function of duration controller 12. In the event that the user specifies a probability P, it is necessary for controller 12 to determine an appropriate value for d in which case the controller returns to the user a specified run time, RT. In the converse situation in which an experiment run time is supplied by the user, controller 12 readily computes a value for d (in step 111) and, essentially for convenience, supplies to the user a value of P. Once the user has specified, in step 131, that the run time and/or confidence level, is satisfactory, control is passed to random fire timing controller 14. This function is implementable as indicated in the flow chart in Figure 2C. In particular, in order to control the number of firings or discharges that occur, a counter is initialized to the value 1 in step 140. Next, in step 141, a random number between 0 and the lower of PGM and L is generated. This random number is preferably selected from a uniform distribution between these two limits. This random number may be generated by any one of a number of conventional computer routines for random number generation. Next, as indicated in step 142, fire timing controller 14 waits for a period of L + R seconds after which a signal is sent to electrostatic discharge device 30 to initiate firing. The firing signal may for example be supplied through interface card 16, more particularly described above. Next, timing controller 14 determines whether or not counter I, initialized in step 140, is equal to d. If it is, the user is informed (in step 145) that the experiment is completed. If equality is not present between counter I and duration d (step 143), the counter is incremented by 1 (in step 144) after which control is returned to step 141 which again generates a random number between 0 and min(PGM, L). Thus in spite of the fact that electrostatic discharge device 30 is now operated randomly, it is nonetheless seen that more complete coverage of the program steps in program 42 is achieved. In particular, Table I below indicates a comparison between the use of an old deterministic zapper in comparison with the present zapper employing random discharge functionality. Accordingly, it is seen that results of testing a large computer system using the zapper of the present invention produced significantly improved results in all areas in comparison with a deterministic zapper. From the above, it should be appreciated that the present invention provides significant advantages over noise injection devices or zappers previously used, particularly with respect to electrostatic stress testing of complicated digital computing machinery. More particularly, it is seen that the present invention provides the user with greater flexibility in terms of test duration and specifiable confidence levels. It is further seen, that while the present invention is particularly applicable to the testing of digital computing machinery, the discharge tester of the present invention is also applicable to other electronic machinery. It is further seen that the present invention has the advantage of being interactive with the user and provides the user with information which is not supplied by other commercially available discharge devices. Furthermore, it is seen that the approach developed by the present applicants of providing a random zapping functionality is superior in theory and in practice to deterministic zapping apparatus and methods.

Claims: An apparatus for conducting an electrostatic discharge test of a machine (40) which repetitively executes a stored program (42) having a plurality of program steps, further having a test controller (10), and an electrostatic discharge device (30) controlled by said test controller (10), said apparatus comprising: random fire timing control means (14) in said test controller for generating a pseudorandom distribution of time intervals between discharges around an average firing time interval test duration control means (12) in said test controller means (10) for controlling the duration of said electrostatic discharge test, in which said test duration is determined in response to a user specified time limit; and means to specify to said user a confidence level for the probability of at least one electrostatic discharge occurring during each of said program steps. An apparatus for conducting an electrostatic discharge test of a machine (40) which repetitively executes a stored program (42) having a plurality of program steps, further having a test controller (10), and an electrostatic discharge device (30) controlled by said test controller (10), said apparatus comprising: random fire timing control means (14) in said test controller for generating a pseudorandom distribution of time intervals between discharges around an average firing time interval test duration control means (12) in said test controller means (10) for controlling the duration of said electrostatic discharge test, in which said test duration d is determined in response to a user specified confidence level P for the probability of an electrostatic discharge occurring during a user specified proportion of said program steps, the relationship between test duration d and the user specified confidence level P being determined in accordance with: d = log [N/(1 - P)] / log [N/(N - 1)], where P is the user specified probability of an electrostatic discharge occurring in each one of N program steps. An apparatus of claim 1 and 2 comprising: an selector means (20, 25, 104) for user operated selection of said test duration as a user specified time limit or as a user specified confidence level. The apparatus of claim 1 in which said time limit is specified interactively. The apparatus of claim 2 in which said confidence level is specified interactively. The apparatus of claim 2 in which said test duration, d, is determined as a solution to the relationship: The apparatus of claim 4 in which said test duration, d, is determined in accordance with: d = log M/(1 - P) / log N/(N - 1) , where P is the user specified probability of an electrostatic discharge occurring in M of the N program steps, M being an integer less than N. The apparatus of claim 2 in which said test duration, d, is determined as a solution to the relationship: where P is the probability of an electrostatic occurring in each one of the N program steps. A method for conducting an electrostatic discharge test of a machine which is repetitively executing a stored program having a plurality of program steps, said method comprising the step of: generating a pseudorandom distribution of time intervals between discharges around an average firing time interval (141); electrostatically exciting said machine (142) at these pseudorandom time intervals and for a test duration determined through the user specified parameter of test duration; specifying to said user a confidence level for the probability of at least one electrostatic discharge occurring during each of said program steps. A method for conducting an electrostatic discharge test of a machine which is repetitively executing a stored program having a plurality of program steps, said method comprising the step of: generating a pseudorandom distribution of time intervals between discharges around an average firing time interval (141); electrostatically exciting said machine (142) at these pseudorandom time intervals; in which said test duration d is determined in response to a user specified confidence level P for the probability of an electrostatic discharge occurring during a user specified proportion of said program steps; the relationship between test duration d and the user specified confidence level P being determined in accordance with: d = log [N/(1 - P)] / log [N(N - 1)], where P is the user specified probability of an electrostatic discharge occurring in each one of N program steps. The method of claim 9 and 10 further including the step of specifying to said user either the run time duration in response to the user specified confidence level or the confidence level in response to said user specified duration.

Inventors: NICK HOWARD HERBERT, OSBORN BROCK ESTEL, WU CHANG-YU, NICK, HOWARD HERBERT, OSBORN, BROCK ESTEL, WU, CHANG-YU
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1989
Main classification: G06F11
IPC codes: G06F11, G01R31