A bipolar adc static parameter inl fast test method based on ATE
By performing positive and negative polarity tests on the ATE, the static parameter INL test of the bipolar ADC is simplified, solving the problems of hardware complexity and software programming difficulty, and realizing fast and accurate INL test.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZHENXING METROLOGY & TEST INST
- Filing Date
- 2021-09-27
- Publication Date
- 2026-07-21
AI Technical Summary
Existing methods for testing the static parameters of bipolar ADCs suffer from complex hardware structures or difficult software programming, resulting in large errors in test results and high costs, making it difficult to accurately measure INL.
By performing positive and negative polarity tests on the bipolar ADC on the ATE and sampling the output separately, the highest-order digital output pin is avoided. Combined with the INL algorithm to calculate static parameters, the testing process is simplified.
This approach simplifies the static parameter INL test of bipolar ADCs while ensuring the accuracy of test results, thereby improving test efficiency and accuracy.
Smart Images

Figure CN115882857B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic component testing technology, and in particular to a rapid testing method for the static parameter INL of a bipolar ADC based on ATE. Background Technology
[0002] An ADC is an interface circuit that converts analog signals into digital signals. Integral Nonlinearity (INL) characterizes the difference between the actual output of the ADC and the ideal conversion curve, reflecting the ADC's conversion performance and serving as a crucial static parameter. INL (Integral Nonlinearity) focuses on the cumulative effect of all code nonlinearity errors. Most ADCs are unipolar ADCs, meaning their analog input range is generally from GND to positive voltage. Bipolar ADCs, on the other hand, have an analog input range covering both negative and positive voltages. Bipolar ADCs offer excellent compatibility, requiring no signal conversion to match most bipolar drive and control circuits. However, due to their positive and negative input range, the digital code conversion pattern of a bipolar ADC output is no longer monotonous, exhibiting abrupt changes. Using ATE-based static testing methods for unipolar ADCs will result in significant errors in the test results, making it difficult to accurately measure INL. Previously, there were two methods for testing the static parameters of bipolar ADCs:
[0003] First, it requires the use of an inverter's peripheral circuit design. This method can perfectly solve the problem of non-monotonous and discontinuous conversion curves. Automatic testing equipment can directly input the parameter formulas to calculate continuous conversion curves. However, this method requires modification of the ADC peripheral test loop, which increases hardware design costs and is quite cumbersome. It also has low compatibility with general-purpose ADC test adapters of the same series or type and is rarely used.
[0004] Secondly, without changing the typical ADC test loop design, the data output by the ADC each time is sampled into the register of the automatic test machine, and the sampled data of each step is inverted by the software algorithm. This method can also obtain a complete conversion curve, but it increases the difficulty of software programming, increases the software running time, is more cumbersome, and requires customized programs for the same series of ADCs, resulting in high development costs. Summary of the Invention
[0005] Based on the above analysis, the present invention aims to provide a fast test method for the static parameters INL of bipolar ADCs based on ATE, in order to solve the problems of complex hardware structure or difficult software programming in existing bipolar ADC static parameter test methods.
[0006] This invention discloses a fast method for testing the static parameter INL of a bipolar ADC based on ATE, comprising:
[0007] A fast method for testing the static parameter INL of a bipolar ADC based on ATE, characterized by comprising:
[0008] Connect the bipolar ADC under test to the ATE and perform high and low level tests on the digital output pins of the bipolar ADC. If the high and low level tests pass, the ATE configures the test conditions for the bipolar ADC under test. The test conditions include positive and negative polarity test patterns. The number of test bits in the positive and negative polarity test patterns is n-1, where n is the number of bits in the bipolar ADC.
[0009] The ATE performs positive and negative polarity output sampling on the bipolar ADC under test based on positive and negative polarity test patterns, respectively; neither the positive nor negative polarity output sampling includes the most significant bit of the digital output pin;
[0010] Based on the positive and negative polarity output sampling results and the number of test bits, the static parameter INL of the bipolar ADC under test is obtained, and it is determined whether the static parameter INL of the bipolar ADC under test has passed the test.
[0011] Based on the above solution, the present invention also makes the following improvements:
[0012] Furthermore, if the high and low level output tests fail, the bipolar ADC static parameter INL test will also fail.
[0013] Furthermore, the positive polarity test pattern includes a positive polarity analog input stepped wave and a positive polarity output sampling pattern; the negative polarity test pattern includes a negative polarity analog input stepped wave and a negative polarity output sampling pattern.
[0014] The positive polarity analog input stepped wave has a value range from 0V to the maximum input voltage value of the bipolar ADC; the negative polarity analog input stepped wave has a value range from the minimum input voltage value of the bipolar ADC to 0V.
[0015] The positive and negative polarity analog input stepped waves and the positive and negative polarity output sampling patterns are both matched to the number of test bits.
[0016] Furthermore, the clocks of the positive polarity analog input stepped wave and the positive polarity output sampling pattern are synchronized, and the sampling frequency of the positive polarity output sampling pattern is not lower than the output frequency of the positive polarity analog input stepped wave.
[0017] The negative polarity analog input stepped wave and the negative polarity output sampling pattern are clocked synchronously, and the sampling frequency of the negative polarity output sampling pattern is not lower than the output frequency of the negative polarity analog input stepped wave.
[0018] Furthermore, the positive polarity output of the bipolar ADC under test is sampled by performing the following operations:
[0019] Send the positive polarity analog input staircase wave to the analog input pin of the bipolar ADC under test;
[0020] at the same time,
[0021] Based on the positive polarity output sampling pattern, perform positive polarity output sampling on the non-highest bit digital output pin of the bipolar ADC under test.
[0022] Furthermore, the negative polarity output of the bipolar ADC under test is sampled by performing the following operations:
[0023] Send the negative polarity analog input staircase wave to the analog input pin of the bipolar ADC under test;
[0024] at the same time,
[0025] Based on the negative polarity output sampling pattern, negative polarity output sampling is performed on the non-highest bit digital output pin of the bipolar ADC under test.
[0026] Furthermore, one LSB code width in the positive and negative polarity analog input staircase waves corresponds to k steps in the positive and negative polarity analog input staircase waves, and the number of steps in the positive and negative polarity analog input staircase waves is k*2. n-1 ;
[0027] The number of rows used for sampling in the positive and negative polarity output sampling patterns is equal to the number of steps (k*2) of the positive and negative polarity analog input stepped waves. n-1 ;
[0028] The total number of digital output pins used for sampling in the positive and negative polarity output sampling pattern is n-1; where bit 0 is the least significant bit of the digital output pin and bit n-2 is the most significant bit of the digital output pin.
[0029] Furthermore, obtain the static parameters INL of the bipolar ADC under test:
[0030] The positive and negative polarity output sampling results and the number of test bits are respectively input into the INL algorithm to obtain the static parameters INL corresponding to the positive and negative polarities;
[0031] The larger value in the static parameters INL corresponding to the positive and negative polarities is taken as the static parameter INL of the bipolar ADC under test, and it is determined whether the static parameter INL of the bipolar ADC under test passes the test.
[0032] Furthermore, the INL algorithm is as follows:
[0033] Step S1: Convert the output sampling results into decimal data sequentially and store them in an array data_num;
[0034] Step S2: Set INL = 0; i = 1;
[0035] Step S3: tmp = 0; Let j = 1;
[0036] Step S4: tmp = tmp + data_num[j], j = j + 1;
[0037] Step S5: If j≤i, then jump to step S4; if j>i, then tmp=tmp+data_num[i] / 2-lsb*(i-0.5), tmp=tmp / lsb;
[0038] Step S6: If fabs(tmp) > fabs(INL), then INL = tmp, i = i + 1; otherwise, i = i + 1.
[0039] Step S7: If i ≤ k*2 n-1 If the condition is met, proceed to step S3; otherwise, output INL.
[0040] Wherein, lsb represents the ideal number of sampling points for each code in the stepped wave.
[0041] Furthermore, the determination of whether the static parameters INL / INL of the bipolar ADC under test have passed the test includes:
[0042] If the static parameter INL of the bipolar ADC under test is within the criterion range of the static parameter INL of the bipolar ADC under test, then the static parameter INL test of the bipolar ADC under test passes; otherwise, the static parameter INL test of the bipolar ADC under test fails.
[0043] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0044] The present invention provides a rapid testing method for the static parameter INL of bipolar ADCs based on ATE, which improves the existing testing methods. While ensuring the accuracy of the test results, it simplifies the testing process of the static parameter INL of bipolar ADCs and improves the testing efficiency. It can quickly and accurately test the static parameter INL index of bipolar ADCs.
[0045] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description
[0046] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts.
[0047] Figure 1 This is a schematic diagram of a typical unipolar ADC conversion curve;
[0048] Figure 2 This is a schematic diagram of the conversion characteristic curve of a bipolar ADC;
[0049] Figure 3 This is a flowchart of a rapid testing method for the static parameter INL of a bipolar ADC based on ATE in an embodiment of the present invention;
[0050] Figure 4 This diagram illustrates the pin connections between the ATE and the bipolar ADC under test. Detailed Implementation
[0051] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.
[0052] This invention is a rapid testing method for the INL parameters of a bipolar ADC based on an ATE (Automatic Test Equipment). First, the background involved in this embodiment is explained as follows:
[0053] ADC static parameters describe the intrinsic characteristics of the device and the errors in its internal circuitry. Among these, integral nonlinearity (INL) error is one of the most important test parameters for an ADC. Integral nonlinearity (INL) represents the error value at the point where the analog value deviates most from the true value across all numerical points; in other words, it's the largest deviation of the output value from linearity. Integral nonlinearity describes the difference between the code conversion and the ideal state. A bipolar ADC has an analog voltage input range covering both positive and negative voltages, with the analog input swinging between ±VFS. A unipolar ADC's analog input voltage swings between VFS and GND.
[0054] For INL testing of unipolar ADCs, the general electrical testing method is to send a stepped voltage signal to the analog input pin of the ADC under test through an automatic test machine. After configuring the ADC's sampling and holding, conversion rate, power supply conditions and other operating conditions, the input stepped wave is sampled and converted at a certain frequency and output. The test system can then plot the digital code conversion curve based on the output parallel or serial digital signal data, with the horizontal axis representing the number of sampling points and the vertical axis representing the digital code value. Figure 1 This is a typical schematic diagram of a unipolar ADC conversion curve. After the conversion curve is plotted, the data on the curve is calculated using formulas. According to the definition of INL, the INL parameter value is calculated, and then it is determined whether the INL parameter meets the requirements of the technical manual. However, because the output range of a bipolar ADC spans "0V", its conversion curve is non-monotonic. Directly applying the INL test method of a unipolar ADC to the test system will result in distorted results at non-monotonic conversion points in the INL formula, thus affecting the actual conversion error test.
[0055] This embodiment uses the AD7899-3, a typical bipolar ADC, as an example for illustration. The AD7899-3 is a 14-bit, successive approximation parallel output, differential input bipolar ADC with a bipolar input range of ±2.5V. During testing or application, VINA is connected to the analog signal input, and VINB is left empty. The digital code changes at the middle position of each least significant bit (LSB) (e.g., 1 / 2 LSB, 3 / 2 LSBs, 5 / 2 LSBs, etc.). For a 14-bit ADC, its LSB = FSR / 16384, i.e., 1 LSB = 5V / 16384 = 610.4μV. FSR represents the full-scale voltage. Taking the AD7899-3 as an example, its ideal input-output conversion relationship is shown in Table 1.
[0056] Table 1 Ideal Input-Output Conversion Relationship of AD7899-3
[0057]
[0058] As shown in Table 2, within the analog input range of -2.5V to 0V, there is a linear correspondence between analog input and digital output. Specifically, a -2.5V analog input corresponds to the digital output code 10 0000 0000 0000, and GND (0V) corresponds to a linear change between 11 1111 11111111. Within the analog input range of 0V to 2.5V, there is also a linear correspondence between analog input and digital output. An analog input of 0V corresponds to the digital output code 00 0000 0000 0000, and an analog input of 2.5V corresponds to the digital output code 011111 1111 1111. However, around 0V, there is a sudden change in the output digital code. The digital code from negative 0V to positive 0V changes directly from the maximum digital code 11 1111 1111 1111 to the minimum digital code 00 0000 0000 0000. When the analog input is around (0V-610.4uV), the digital output will change from 11 1111 1111 11111 to 00 0000 0000 0000. When the analog input is around (0V+610.4uV), the digital output will change from 00 0000 0000 0000 to 00 0000 0000 0001.
[0059] The specific digital output code conversion diagram from -2.5V to 2.5V is shown in Figure 2. Figure 2 The horizontal axis represents the analog input, and the vertical axis represents the digital output code, having already converted the binary value to a decimal value. The corresponding unipolar ADC conversion characteristics are as follows: Figure 1 As shown, it is clear that the ideal conversion characteristics of a bipolar ADC differ from those of a unipolar ADC. The main reason for this is that the most significant bit of the digital output pin of a bipolar ADC is a flag bit. According to the rules of two's complement, this flag bit is 1 when the value is negative and 0 when the value is positive, resulting in a discontinuous conversion curve. Therefore, to test the static parameters of a bipolar ADC, it is necessary to connect an inverter to the most significant bit of the digital output pin in hardware or to invert the level of the most significant bit of the digital output pin in the software program for each sample value. This ensures that the digital output binary code continuously converts from 00 0000 0000 0000 to 10 0000 0000 0000, guaranteeing that the conversion curve from negative full-code input to positive full-code input is continuous and monotonic. The curve can then be substituted into the INL formula for calculation.
[0060] The problem with these two methods is that testing peripheral circuits requires additional hardware, which increases the design difficulty of the test adapter and the testing cost; or the software algorithm requires numerical calculations, which increases the complexity of the program, especially for serial output bipolar ADCs, where the array inversion calculation needs to be completed in a loop, which greatly increases the overall test time.
[0061] To address the aforementioned issues, this embodiment provides a rapid testing method for the static parameter INL of a bipolar ADC based on ATE (Automatic Test Equipment). The flowchart is shown below. Figure 3 As shown, it includes the following steps:
[0062] Step S1: Connect the bipolar ADC under test to the ATE and perform high and low level tests on the digital output pins of the bipolar ADC; if the high and low level tests pass, the ATE configures the test conditions for the bipolar ADC under test; the test conditions include positive and negative polarity test patterns; the number of test bits in the positive and negative polarity test patterns is n-1, where n is the number of bits in the bipolar ADC;
[0063] If the high or low level output test fails, the bipolar ADC static parameter INL test will also fail.
[0064] Step S2: The ATE performs positive and negative polarity output sampling on the bipolar ADC under test based on the positive and negative polarity test patterns respectively; the positive and negative polarity output sampling does not include the most significant bit of the digital output pin;
[0065] Step S3: Based on the positive and negative polarity output sampling results and the number of test bits, obtain the static parameter INL of the bipolar ADC under test, and determine whether the static parameter INL of the bipolar ADC under test has passed the test.
[0066] Here, we explain the reason for testing the high and low levels of the digital output pins in a bipolar ADC: the above testing process assumes that the digital output pins used in the test are in normal working condition. If they are in normal working condition, the subsequent INL test is meaningful; if the digital output pins are in an abnormal working condition, the subsequent INL test is meaningless, and in this case, the bipolar ADC static parameter INL test can be considered to have failed. Therefore, before sampling the positive and negative polarity outputs, it is necessary to test the high and low levels of the digital output pins in the bipolar ADC. This testing process can be implemented using existing methods.
[0067] Specifically, step S1 includes:
[0068] Step S11: Connect the bipolar ADC under test to the ATE; specifically, design a test adapter for a general test loop of the bipolar ADC (no inverter hardware required); the test adapter is used to realize the adaptation and conversion between the bipolar ADC under test and the ATE; and plug the wiring from the ADC under test to the test adapter, and connect it to the corresponding hardware resources of the ATE through the test adapter.
[0069] In step S11, the test adapter design refers to the technical manual requirements of the bipolar ADC under test. Generally, the analog input pins, digital input pins, digital output pins, power supply, ground, and other pins of the bipolar ADC under test need to be led out and wired (PCB traces) as required. These wires need to be plugged into the test adapter and connected to the corresponding hardware resources of the ATE through the test adapter. The use of the test adapter facilitates engineering applications and modular development.
[0070] The analog input pins are connected to the AWG resources in the ATE via corresponding pins on the test adapter. The digital input pins serve as timing and logic control pins for the positive and negative polarity test patterns, and are connected to the ATE's digital resources (DCM) via corresponding pins on the test adapter. The digital output pins serve as output pins for the positive and negative polarity test patterns, and are connected to the ATE's digital channel resources via corresponding pins on the test adapter. Power and ground need to be connected to the automatic test equipment's power ground loop. Furthermore, for some hardware setup requirements, such as shorting pins to ground or VCC, design them according to the manual. For the decoupling, voltage regulation, and differential circuit requirements needed for testing, design the corresponding capacitors, inductors, and other peripheral circuits (the function of the peripheral circuits is to stabilize the test waveform, stabilize the power supply, and make the test waveform more stable for easier measurement). It is particularly important to note the connection of the digital output pins. Typically, the hardware testing method for bipolar ADCs connects the highest-order digital output pin to an inverter before connecting it to the test equipment resources. However, in this invention, the highest-order digital output pin can be directly connected to the test equipment resources, equivalent to the connection method for unipolar ADC testing.
[0071] After installing the aforementioned test adapter onto the automated test bench, determine the hardware resource connection configuration in the automated test bench according to the test adapter and device manual, and perform corresponding pin definition programming in the test software; complete the detailed definition of each pin of the ADC under test in the test bench, ensuring a one-to-one correspondence between resource channels and pins of the device under test, thus achieving a complete connection between the automated test bench and the hardware of the device under test, as follows. Figure 4 As shown. Among them, AWG, DCM, and PVI are the analog, digital, and power resources of the automatic testing machine.
[0072] Step S12: The ATE configures the test conditions for the bipolar ADC under test; the test conditions include:
[0073] (1) Positive and negative polarity test pattern
[0074] The positive polarity test pattern includes a positive polarity analog input stepped waveform and a positive polarity output sampling pattern; the negative polarity test pattern includes a negative polarity analog input stepped waveform and a negative polarity output sampling pattern; the value range of the positive polarity analog input stepped waveform is from 0V to the maximum input voltage value of the bipolar ADC; the value range of the negative polarity analog input stepped waveform is from the minimum input voltage value of the bipolar ADC to 0V; the positive and negative polarity analog input stepped waveforms and the positive and negative polarity output sampling patterns are all matched to the number of test bits.
[0075] The positive polarity analog input stepped wave and the positive polarity output sampling pattern are clock-synchronized, and the sampling frequency of the positive polarity output sampling pattern is not lower than the output frequency of the positive polarity analog input stepped wave.
[0076] (2) Other general configurations, such as power-on sequence, input high and low levels, clock rate, conversion mode and other general requirements;
[0077] This is a general test procedure. Programming can be done by referring to the datasheet of the device under test (DUT). The programming language is the same as the software used by the automated test machine, typically C++ or OTPL. The implementation steps of the test program are as follows: Specifically:
[0078] a. Open the test machine software, run the test software, and enter the programming interface;
[0079] b. According to the technical manual requirements, write the test conditions such as power-on sequence, input high and low levels, clock rate, and switching mode;
[0080] C is used to compile programming files to make the program callable.
[0081] Write software programs to define INL test parameters. Based on the device under test (DUT) datasheet, control the output frequency, number of output points, and output voltage range of the automated test machine's analog input AWG signals (i.e., positive and negative polarity analog input stepped waves). Synchronize the clocks of the positive and negative analog input stepped waves and their corresponding output sampling patterns. Write conversion sampling test programs for the two sets of INL AWG control sampling patterns (positive and negative polarity output sampling patterns, i.e., two conversion sampling programs from the minimum input voltage value of the bipolar ADC to 0V and from 0V to the maximum input voltage value of the bipolar ADC).
[0082] The specific implementation steps are as follows:
[0083] Enter the programming interface and set the analog input stepped waveform. The stepped waveform serves as the input to the conversion curve and requires two sets: one set from the minimum input voltage of the bipolar ADC to 0V (i.e., negative polarity analog input stepped waveform), and the other set from 0V to the maximum input voltage of the bipolar ADC (i.e., positive polarity analog input stepped waveform). Depending on the sampling requirements, the stepped waveform generally needs a large number of repetition points per conversion code width (to improve calculation accuracy). Here, you can set an AWG output of one LSB code width (generally one step corresponds to one code width, sometimes multiple steps correspond to one code width) with 40 analog voltage points (adjustable according to system memory capacity, but not less than 10 points). Note that the number of steps in the two AWG stepped waveforms should be increased from the 2 required by an n-bit ADC. n 2 required to change to an n-1 bit ADC n-1 That is, the sum of the two segments is still 2. n The number of steps is consistent with the total number of conversion codes of an n-bit ADC. At this point, the input signal of the ADC can be regarded as the full voltage range input of two n-1 bit ADCs, which has initially met the requirements of the static parameter calculation formula of the linear histogram.
[0084] One LSB code width in the positive and negative polarity analog input staircase waves corresponds to k steps in the positive and negative polarity analog input staircase waves, and the number of steps in the positive and negative polarity analog input staircase waves is k*2. n-1 The number of rows used for sampling in the positive and negative polarity output sampling patterns is equal to the number of steps (k*2) of the positive and negative polarity analog input stepped waves. n-1 The total number of digital output pins used for sampling in the positive and negative polarity output sampling patterns is n-1; where bit 0 is the least significant bit of the digital output pin and bit n-2 is the most significant bit. Based on the resolution of the device under test (DUT) and the resource resolution of the ATE, one LSB is divided into k steps, where k is an integer; therefore, the value of k is adaptively set according to actual test requirements, the resolution of the bipolar ADC under test, and the resource resolution of the ATE.
[0085] b. Set the output frequency for the two AWG stepped waves according to the manual requirements;
[0086] c. According to the manual, set the conversion timing of all ADC output pins and the sampling frequency of the automatic test machine for the output pins. The sampling frequency of the output pins should be no less than the output frequency of the AWG staircase wave to ensure no missed points.
[0087] In the test software, two sets of ADC static parameter test sampling patterns are used. The highest digital bit pin is set to "X" (i.e., not sampled), while the other digital bits are still sampled according to the normal conversion timing. (It should be noted that this does not mean that the highest digital output pin is not connected to hardware resources, because the state of the highest digital output pin still needs to be evaluated when testing parameters such as output level. Instead, the vector capture state in the static parameter test sampling pattern needs to be changed. Usually, the vector state of the digital output pin should be L / H, i.e., the low-high comparison edge state.)
[0088] The specific implementation steps are as follows:
[0089] Enter the pattern programming interface and set the vector model of each input and output pin (NRZ, RTZ, etc.);
[0090] b. Enter the pattern programming interface and draw two sets of AWG waveform sampling vector patterns according to the frequency and timing requirements.
[0091] Enter the pattern programming interface and set the CTV sampling edge of the two patterns. Except for setting the sampling action of the highest bit of the digital output pin to "X" (no comparison) in each step, the other digital pins are set normally, generally as low trigger edge comparison (L edge).
[0092] After the above settings are completed, step S2 can be executed. Specifically,
[0093] (1) Positive polarity output sampling:
[0094] The positive polarity output of the bipolar ADC under test is sampled by performing the following operations:
[0095] Send the positive polarity analog input staircase wave to the analog input pin of the bipolar ADC under test;
[0096] at the same time,
[0097] Based on the positive polarity output sampling pattern, perform positive polarity output sampling on the non-highest bit digital output pin of the bipolar ADC under test.
[0098] (2) Negative polarity output sampling:
[0099] The negative polarity output of the bipolar ADC under test is sampled by performing the following operations:
[0100] Send the negative polarity analog input staircase wave to the analog input pin of the bipolar ADC under test;
[0101] at the same time,
[0102] Based on the negative polarity output sampling pattern, negative polarity output sampling is performed on the non-highest bit digital output pin of the bipolar ADC under test.
[0103] It should be noted that this embodiment does not impose any restrictions on the order of sampling positive and negative polarity outputs.
[0104] In step S3, the static parameters INL of the bipolar ADC under test are obtained by performing the following operations:
[0105] Step S31: Input the positive and negative polarity output sampling results and the number of test bits into the INL algorithm respectively to obtain the static parameters INL corresponding to the positive and negative polarities;
[0106] Step S311: Convert the output sampling results into decimal data sequentially and store them in an array data_num;
[0107] Step S312: Let INL = 0; i = 1;
[0108] Step S313: tmp = 0; Let j = 1;
[0109] Step S314: tmp = tmp + data_num[j], j = j + 1;
[0110] Step S315: If j≤i, then jump to step S314; if j>i, then tmp=tmp+data_num[i] / 2-lsb*(i-0.5), tmp=tmp / lsb;
[0111] Step S316: If fabs(tmp) > fabs(INL), then INL = tmp, i = i + 1; otherwise, i = i + 1.
[0112] Step S317: If i ≤ k*2 n-1 If the condition is met, proceed to step S313; otherwise, output INL.
[0113] Wherein, lsb represents the ideal number of sampling points for each code in the stepped wave.
[0114] Step S32: Take the larger value of the static parameters INL corresponding to the positive and negative polarities as the static parameter INL of the bipolar ADC under test, and determine whether the static parameter INL of the bipolar ADC under test has passed the test.
[0115] The determination of whether the static parameter INL / INL of the bipolar ADC under test has passed the test includes: if the static parameter INL of the bipolar ADC under test is within the range of the static parameter INL criterion of the bipolar ADC under test, then the static parameter INL test of the bipolar ADC under test has passed; otherwise, the static parameter INL test of the bipolar ADC under test has failed.
[0116] In summary, the rapid testing method for the static parameter INL of bipolar ADCs based on ATE provided by this invention improves upon existing testing methods. While ensuring the accuracy of test results, it simplifies the testing process for the static parameter INL of bipolar ADCs and improves testing efficiency, enabling rapid and accurate testing of the static parameter INL index of bipolar ADCs.
[0117] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0118] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. A fast testing method for the static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE), characterized in that, include: Connect the bipolar ADC under test to the automated test equipment (ATE), and perform high and low level tests on the digital output pins of the bipolar ADC. If the high and low level tests pass, the ATE configures the test conditions for the bipolar ADC under test. The test conditions include positive and negative polarity test patterns. The number of test bits in the positive and negative polarity test patterns is n-1, where n is the number of bits in the bipolar ADC. The automated test equipment (ATE) samples the bipolar ADC under test for positive and negative polarity outputs based on positive and negative polarity test patterns, respectively; neither the positive nor negative polarity output sampling includes the most significant bit of the digital output pin. Based on the positive and negative polarity output sampling results and the number of test bits, the static parameter integral nonlinearity (INL) of the bipolar ADC under test is obtained, and it is determined whether the static parameter integral nonlinearity (INL) of the bipolar ADC under test has passed the test. The positive polarity test pattern includes a positive polarity analog input stepped wave and a positive polarity output sampling pattern; the negative polarity test pattern includes a negative polarity analog input stepped wave and a negative polarity output sampling pattern. The positive polarity analog input stepped wave has a value range from 0V to the maximum input voltage value of the bipolar ADC; the negative polarity analog input stepped wave has a value range from the minimum input voltage value of the bipolar ADC to 0V. The positive and negative polarity analog input stepped waves and the positive and negative polarity output sampling patterns are both matched to the number of test bits.
2. The fast testing method for static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 1, characterized in that, If the high and low level output tests fail, the bipolar ADC static parameter integral nonlinearity (INL) test will also fail.
3. The rapid testing method for the static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 2, characterized in that, The positive polarity analog input stepped wave and the positive polarity output sampling pattern are clocked synchronously, and the sampling frequency of the positive polarity output sampling pattern is not lower than the output frequency of the positive polarity analog input stepped wave. The negative polarity analog input stepped wave and the negative polarity output sampling pattern are clocked synchronously, and the sampling frequency of the negative polarity output sampling pattern is not lower than the output frequency of the negative polarity analog input stepped wave.
4. The fast testing method for the static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 3, characterized in that, The positive polarity output of the bipolar ADC under test is sampled by performing the following operations: Send the positive polarity analog input staircase wave to the analog input pin of the bipolar ADC under test; at the same time, Based on the positive polarity output sampling pattern, perform positive polarity output sampling on the non-highest bit digital output pin of the bipolar ADC under test.
5. The rapid testing method for the static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 4, characterized in that, The negative polarity output of the bipolar ADC under test is sampled by performing the following operations: Send the negative polarity analog input staircase wave to the analog input pin of the bipolar ADC under test; at the same time, Based on the negative polarity output sampling pattern, negative polarity output sampling is performed on the non-highest bit digital output pin of the bipolar ADC under test.
6. The rapid testing method for static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to any one of claims 1-5, characterized in that, One LSB code width in the positive and negative polarity analog input staircase waves corresponds to k steps in the positive and negative polarity analog input staircase waves, and the number of steps in the positive and negative polarity analog input staircase waves is k*2. n-1 ; The number of rows used for sampling in the positive and negative polarity output sampling patterns is equal to the number of steps (k*2) of the positive and negative polarity analog input stepped waves. n-1 ; The total number of digital output pins used for sampling in the positive and negative polarity output sampling pattern is n-1; where bit 0 is the least significant bit of the digital output pin and bit n-2 is the most significant bit of the digital output pin.
7. The fast testing method for the static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 6, characterized in that, Obtain the static parameters, integral nonlinearity (INL), of the bipolar ADC under test: The positive and negative polarity output sampling results and the number of test bits are respectively input into the integral nonlinearity INL algorithm to obtain the static parameter integral nonlinearity INL corresponding to the positive and negative polarities; The larger value in the static parameter integral nonlinearity INL corresponding to the positive and negative polarities is taken as the static parameter integral nonlinearity INL of the bipolar ADC under test, and it is determined whether the static parameter integral nonlinearity INL of the bipolar ADC under test passes the test.
8. The fast testing method for the static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 7, characterized in that, The integral nonlinear INL algorithm is as follows: Step S1: Convert the output sampling results into decimal data sequentially and store them in an array data_num; Step S2: Set the integral nonlinearity INL = 0; i = 1; Step S3: tmp=0; Let j=1; Step S4: tmp = tmp + data_num[j], j = j + 1; Step S5: If j If i, then jump to step S4; if j>i, then tmp=tmp+data_num[i] / 2-lsb*(i-0.5), tmp=tmp / lsb; Step S6: If fabs(tmp) > fabs(INL), then the integral nonlinearity INL = tmp, i = i + 1; Otherwise, i=i+1; Step S7: If i k*2 n-1 If the condition is met, proceed to step S3; otherwise, output the integral nonlinearity INL. Wherein, lsb represents the ideal number of sampling points for each code in the input stepped wave.
9. The fast testing method for static parameter integral nonlinearity (INL) of a bipolar ADC based on an automated test equipment (ATE) according to claim 8, characterized in that, The determination of whether the static parameter integral nonlinearity (INL) of the bipolar ADC under test has passed includes: If the static parameter integral nonlinearity (INL) of the bipolar ADC under test is within the range of the static parameter integral nonlinearity (INL) criterion of the bipolar ADC under test, then the static parameter integral nonlinearity (INL) test of the bipolar ADC under test passes; otherwise, the static parameter integral nonlinearity (INL) test of the bipolar ADC under test fails.