Program controlled in-circuit test of analog to digital converters

Abstract: A device and process for programmatically controlled in-circuit pin checks and gross functionality tests of analog to digital converters. The tests provide deterministic bit checks for higher order bits and non-deterministic bit checks of lower order bits independent of other circuitry on the printed circuit board of which the digital to analog converter is a component.

Description: BACKGROUND OF THE INVENTION A. FIELD INVENTION This invention pertains generally to the in-circuit functionality testing of hybrid circuit components, i.e., those having both analog and digital input/output ports and more specifically to a device and procedure to provide for in-circuit measurement and testing of general purpose analog to digital converters. B. DESCRIPTION OF THE BACKGROUND For this invention, in-circuit test or measurement refers to a printed circuit board test procedure which, through the use of various isolation techniques, performs "pin checks" or "gross functionality tests" on individual board components regardless of the specific circuit configuration or the effects of surrounding circuitry. "Pin checks" are tests specially designed to verify appropriate electrical activity on all device pins (the physical connections to the devices). "Gross functionality tests" are more comprehensive than pin checks and refer to tests designed to verify the basic function of the part in addition to simply verifying pin activity. Neither test provides full functionality testing of component specifications. The proliferation of "hybrid" electronic components, i.e. integrated circuits incorporating both analog and digital functions in their design, has rendered standard fault detection techniques obsolete, and has created manufacturing and quality control problems for printed circuit board assemblies utilizing these devices. Central to this problem are the class of components known as converters, of which there are two basic types. The digital to analog converter (D/A) converts a digital input signal to an analog output signal, and the analog to digital converter (A/D) converts an analog input signal to a digital output signal. Neither conventional analog or digital in-circuit test techniques alone suffice as a means of performing a comprehensive in-circuit functionality test of these hybrid components. As a result, printed circuit board assemblies utilizing D/A and A/D converters have been difficult to test, due to the previously intractable problem of programmably generating in-circuit tests for these components. SUMMARY OF THE INVENTION Features of a programmable testing module and of a method of testing are defined by Claims 1 and 7 respectively. In an embodiment of the invention a converter under test is electronically isolated from its attendant circuitry (by means of analog and digital overdriving). Its input port is programmably stimulated with an appropriate analog waveform, and the converter response is evaluated by comparing the output bit pattern against expectations. This process is repeated as many times as necessary to completely evaluate the specific converter under test. This device may be used effectively to evaluate both high order and low order bits through respective deterministic and non-deterministic bit checks. Testing is thus possible in an electrically noisy test environment, and is independent of the downstream and upstream circuitry surrounding the device under test. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic circuit design of a test module for testing an analog to digital converter in a typical printed circuit board configuration in accordance with the present invention. Figure 2 is a schematic flow diagram of the test setup process for testing a typical analog to digital converter employed in accordance with the present invention. Figure 3 is a schematic flow diagram of the overrange/underrange test procedure for testing an analog to digital converter employed in accordance with the present invention. Figure 4 is a schematic flow diagram of the deterministic test of high order bits of an analog to digital converter employed in accordance with the present invention. Figure 5 is a schematic flow diagram of the non-deterministic bit check of low order bits of an analog to digital converter employed in accordance with the present invention. Figure 6 is a schematic flow diagram of the test cleanup procedure for the test of an analog to digital converter employed in accordance with the present invention. DETAILED DESCRIPTION OF THE INVENTION Figure 1 discloses the schematic diagram of a test module 8 for performing programmatically generated in-circuit "pin checks" and "gross functionality tests" of an analog to digital converter 10 which is one component of the printed circuit board assembly under test 6. The test module 8 is driven through a computer interface 36 and a test program generated for the specific A/D converter being tested; and is interfaced to the printed circuit board under test 6 through a test fixture and scanner relays 22. In order to perform an in-circuit test, the test module 8 must isolate the A/D converter 10 under test from all surrounding circuitry, stimulate the converter, and then make appropriate measurements to determine converter functionality. Isolation techniques are provided for digital inputs such as the start convert line 21; as well as for the analog inputs, specifically the reference voltage input 13 and the analog input 15 to the converter. The output measurements are made at the digital outputs 23 of the A/D converter 10 in order to determine the A/D converter's functionality. All A/D converters require an analog input signal 15 produced by a source such as that schematically illustrated by amplifier 14, and a small percentage require an external voltage reference 13 produced by an on board reference voltage generator 12. In order to isolate the A/D converter 10 from onboard signals produced by 12 and 14, the test module 8 uses analog overdriving as the method to impose voltages determined by the test program directly to A/D converter inputs 13 and 15. In the case of the reference voltage input 13, an analog overdrive amplifier 24 with remote sensing (at its negative input) is combined with a DC voltage source 26 to set the desired voltage level. For the analog input line 15 to A/D converter 10, an analog overdrive amplifier 28 (with remote sensing at its negative input) is combined with a combination AC/DC source 30 to provide the desired waveforms to the A/D converter 10 under test. The only digital input line requiring isolation and stimulus is the start convert input 21. This signal is applied to the converter under test 10 by means of overdriving digital driver 32 to activate the conversion process. The use of digital overdriving permits the application of this signal directly at the start convert input 21 independent of other digital circuitry 20 on the board under test 6. The digital overdrive isolation technique is in effect for the duration of the test sequence. This is of concern as digital overdrive testing can result in damage to upstream circuit components (the start convert driver 20 shown in the diagram). However, the test module 8 is designed to permit rapid completion of the test process, and in conjunction with careful test setup and monitoring a test can be generated which is well within the overdrive tolerance of most integrated circuits. When the isolation and stimulus of analog converter inputs are in place, the conversion process is initiated by means of the start convert line and the test cycle is then completed by measuring the response at the converter output lines 23. This data is collected by means of digital receivers 34 in the test module 8. For most converters, this is a two step process. First, the convert complete line 25, must be monitored for indication that the analog to digital conversion process is complete. When this signal is received, by means of digital receiver 34, the output data may then be read at the A/D converter data outputs 23 again by means of digital receiver 34 for comparison to expected results. The test module of the present invention supports a number of specific test options which evaluate analog to digital converter functionality. For some converters, a simple "overrange/underrange" test is adequate. This is a fast two pass deterministic test which consists of applying input signals above and below the conversion range of the A/D converter 10 under test. Then, the response at the data output 23, either all "0's" or all "1's" (or equivalent overrange and underrange data) can be measured by the digital receivers 34 and evaluated by the test control program. For converters which do not provide deterministic responses to overrange conditions, a more elaborate test procedure is required. In this case, the evaluation of high order bits (those corresponding to larger voltage changes at the input) can be accomplished in a deterministic fashion by simply setting an appropriate input voltage and measuring bit behavior, as in the above process. Considerably more difficult however, is the evaluation of the low order bits of the A/D converter (those corresponding to very small changes in the analog input voltage). This measurement problem is aggravated by the electrically noisy test environment resulting from the digital and analog overdriving at the converter inputs. Remote sensing at the reference input 13 and analog input 15 of the device reduce the severity of this problem. In addition, a non-deterministic measurement technique can be used whereby multiple conversion cycles, in response to an AC signal at the analog input, are initiated looking first for a "1" output on a given bit line of interest, and later looking for a "0" output on the same line. Figure 2 discloses a schematic flow diagram of the steps used in setting up an in-circuit "pin check" and "gross functionality test" of an analog to digital (A/D) converter using the test module of Figure 1. The test setup begins with step 40 by loading the appropriate component test program and making all electrical connections through scanner relays 22 to the circuit board 6 containing the A/D converter 10 under test as shown in Figure 1. In step 42 the digital driver 32 is connected to the start convert line 21, and digital receivers 34 are connected to the convert complete line 25, and data output ports 23. Next, in step 44, DC source 26 is connected to the reference input 13 of the A/D converter 10 by means of a remotely sensed overdriving amplifier 24. This allows the overdriving of the voltage reference 12, thus imposing the desired voltage at the converter reference input 13. This voltage is left in place for the duration of the test. In step 46, a combined AC/DC source 30 is connected to the analog input 15 of the A/D converter 10 by means of a remote sensed overdriving amplifier 28. This overdrives the onboard analog source 14, thus imposing the desired waveform at the converter input 15 for various test phases. As disclosed in Figure 3 for the case of A/D converters with deterministic overrange/underrange behavior, an overrange/ underrange test technique is used. This tests all bits of the A/D converter 10 under test - both high and low order. Here, as shown in step 52, a DC voltage above the maximum conversion capability of the converter is first applied to the analog input of the converter by means of the AC/DC voltage source 30 and analog overdrive amplifier 28. The start convert signal is then asserted in step 54 by means of the digital overdriving driver 32. The test module 8 then awaits conversion completion, in step 56, which is sensed by means of the conversion complete line and a digital receiver 34. Once conversion is complete, the data output is read, in step 58, by means of the digital receivers 34. This measured digital response is compared directly to the expected response, in step 60, (all "1's" or an equivalent overrange response) to determine the pass or fail outcome of the test. Then, in step 64, the underrange test (a second pass test) repeating steps 54 through 60 is then conducted by applying a voltage below the minimum conversion capability of the A/D converter 10 verifying all "0's" (or an equivalent underrange indication) at the output 23. The second deterministic verification option is disclosed in Figure 4 and applies to converters without predictable overrange/underrange behavior. In this case, a deterministic bit check is used to verify only the performance of the high order bits (those responding to higher levels of analog input signal) of the converter under test 10. These bits are evaluated one by one by applying voltage levels to the converter which will correspond to specific predictable changes in the higher order digital output bits. In step 66, an appropriate DC voltage is applied to the analog input 15 of the A/D converter 10 by means of the AC/DC voltage source 30 and analog overdrive amplifier 28. The start convert signal is then asserted, in step 68, by means of the digital overdriving driver 32. The test module 8 then awaits conversion completion, in step 70, which is sensed by means of the conversion complete line 25 and a digital receiver 34. Once conversion is complete, the data output 23 is read by means of digital receivers 34 in step 72. The measured digital pattern is then compared directly to the expected response, at step 74, in order to determine the pass/fail outcome of the test. This sequence is then repeated under program control until all high order bits of the A/D converter 10 being tested have been deterministically tested in step 76. Figure 5 discloses the test procedure for the non-deterministic evaluation of lower order bits (those input bits responding to lower levels of voltage at the analog input of the converter). This procedure is used when the electrical noise levels in the test environment prevent absolute correlation between applied analog voltage levels and the lower order bit outputs of the A/D converter 10. This process is not required for converters tested by the overrange/underrange method. In this process, multiple conversion cycles are performed in response to an AC input signal while looking for both a "0" and a "1" output from the same bit. The change in state is used as an indication of bit functionality. For this test an appropriate AC voltage is applied, in step 78, to the analog input 5 of the A/D converter 10 by means of the AC/DC voltage source 30 and analog overdrive amplifier 28. The start convert signal is then asserted, in step 80, by means of the digital overdriving driver 32. The test module 8 then awaits conversion completion - which is sensed, in step 82, by means of the conversion complete line 25 and a digital receiver 34. Once conversion is complete, the data output is read, in step 84, by means of digital receivers 34. This data is logged, in step 86, and the test repeated as required, in steps 88 through 96, until all bits have exhibited both a "1" and a "0" output. Once this occurs, the test is considered to have passed at step 100. A failure 98 is indicated if, after a considerable number of iterations (statistically determined based on the converter specifications) one or more bits is "stuck" in a single state, and is thus considered non-functional. The choice of overrange testing vs. deterministic and non-deterministic bit verification is set by the specifications and type of A/D converter under test. Also, the crossover point from "low order" bits to "high order" bits is determined by the specifications of the A/D converter under test and is incorporated into the test program so that appropriate test techniques are applied to the specific converter under test. Clean up of the A/D converter test setup is disclosed in Figure 6. Here, in steps 102 and 104 all lines between the A/D converter 10 under test and the test module 8 are disconnected. This is accomplished by opening scanner relays 22. The above described procedure cover the test requirements of typical A/D converters. Depending on the exact converter specifications and/or features, this procedure may be truncated into fewer steps in order to increase throughput; or further partitioned into more steps in order to cover other specific requirements. The present invention therefore provides a unique means and method of programmatically generating in-circuit gross functionality tests of analog to digital converters independent of the circuit in which the converter resides. The present invention therefore provides a method of quality control in the manufacture of printed circuit boards containing these hybrid devices. The forgoing description of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to precisely the form disclosed, as other modifications and variations may be possible in light of the above teachings within the scope of the invention as defined in the appended claims. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and various modifications as are suited to the particular use contemplated.

Claims: A module for programmably testing an analog to digital converter (10) that is connected to components in a circuit, the module comprising: first voltage generator means (26) for generating a precision direct current signal; second voltage generator means (30) for generating a combined direct current and alternating current signal; overdriving amplifier means (24,28) for amplifying both said precision direct current signal and said combined direct current and alternating current signal by an amount sufficient to isolate said analog to digital converter (10) from said components in said circuit and to stimulate said analog to digital converter (10); overdriving digital driver means (32) to stimulate the start convert input of the analog to digital converter (10) for activating said analog to digital converter (10); digital receiver means (34) for receiving a convert complete signal and measuring output data from said analog to digital converter (10); comparator means for comparing said output data with an expected response signal. The module of Claim 1 wherein said first voltage generator means (26) comprises: means for generating a range of +/- 10.0 volts at a minimum resolution of 3.0 mV and an accuracy of +/- 0.1%. The module of Claim 1 wherein said second voltage generator means (30) comprises: means for generating a range of +/- 10.0 volts at a minimum resolution of 3.0 mV with an accuracy of +/- 0.1% and, a frequency range of 0.5 Hz to 30 kHz with a resolution of 0.5 Hz and an accuracy of +/- 0.5%. The module of Claim 1 wherein said overdriving amplifier means (24,28) comprises: means for generating a minimum output current of 150 mA with maximum output impedance of 3.0 ohms. The module of Claim 1 wherein said overdriving digital driver means (32) comprises: means for generating a range of -3.5 to 5.0 volts at a minimum resolution of 5.0 mV, and current capability of +/- 500 mA. The module of Claim 1 wherein said digital receiver means (34) comprises: means for receiving an input voltage range of -3.5 to 5.0 volts at a minimum resolution of 5.0 mV and an input loading current of less than 30.0 µA. A process for programmably testing an analog to digital converter (10) that is connected to components in a circuit, the method comprising the steps of: supplying a precision DC signal through an overdriving amplifier means (24,28) to a reference input of the A/D converter (10), and supplying a combined AC/DC (30) through said overdriving amplifier means (24,28) to an analog signal input of the A/D converter (10), so as to isolate said A/D converter (10) and to stimulate said A/D converter (10); stimulating a start convert input of said A/D converter (10) through an overdriving digital driver means (32); receiving a convert complete signal and data outputs from said A/D converter (10); and comparing said output data with an expected response signal. The process of Claim 7 when used for (a) applying an overrange DC voltage to an analog input of said A/D converter (10), wherein (a) includes the steps of: starting a conversion sequence by stimulating a start convert line to said A/D converter (10) with said overdriving digital driver means (32); waiting for conversion completion as indicated by a convert complete signal read by digital receiver means (34); and evaluating a conversion data output read by said digital receiver means (34) for a predicted overrange output of the A/D converter (10); the process also being used for (b) applying an underrange DC voltage to an analog input of said A/D converter (10), wherein (b) includes the steps of: starting a conversion sequence by stimulating a start convert line of said A/D converter (10) with said overdriving digital driver means (32); waiting for conversion completion to be indicated by a convert complete signal of said A/D converter (10) as sensed by digital receiver means (34); and measuring the output of said A/D converter (10) with said digital receiver means (34) to evaluate an expected underrange response. The process of Claim 8 when used to perform programmable circuit pin checks and gross functionality tests of the A/D converter (10) so as to provide: a deterministic bit evaluation of high order bits by applying the DC voltage to produce specific high order bit behaviours of said A/D converter (10); and a non-deterministic bit evaluation of low order bits by applying specific alternating voltage to produce varying low order bit outputs of said A/D converter (10) which are statistically evaluated. The process of Claim 9 wherein, when said deterministic bit evaluation of high order bits is carried out: said DC voltage signal is applied to the analog input of said A/D converter (10) to generate a specific resultant high order bit at its output; the conversion sequence is started by stimulating the start convert line of the A/D converter (10) with said overdriving digital driver means (32); conversion completion is awaited as indicated by said digital receiver means (34) ; output data is read from said A/D converter (10) with said digital receiver means (34); said measured data is evaluated against the expected response for said input signal; and the preceding four steps are repeated to test all high order bits of said A/D converter (10). The process of Claim 9 wherein, when said non-deterministic evaluation of low order bits is carried out: the appropriate AC signal is applied to the analog input of said A/D converter (10) for the duration of a test; conversion is started by stimulating a start convert line of said A.D converter (10) with said overdriving digital driver means (32); a convert complete signal is awaited from said A/D converter (10) as indicated by said digital receiver means (34); conversion data is logged and the latter steps are repeated until a bit under observation exhibits a "0" and a "1" output; and the preceding five steps are repeated to test all low order bits for said A/D converter (10).

Inventors: CHISM WAYNE R, CHISM, WAYNE R.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1989
Main classification: H03M1
IPC codes: G01R31, H03M1