A Low-Cost Analog Test Circuit with Offset Calibration
By designing a low-cost analog test circuit, using components such as a reference percentage generation circuit and a comparator, and using only one test PAD to complete the measurement and screening of multiple analog signals, the problems of high test cost and low accuracy in the existing technology are solved. , realizing efficient and safe multi-channel signal testing.
Patent Information
- Application Number
- CN202111212953.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-10-19
AI Technical Summary
In analog circuit design, existing technology is difficult to effectively reduce test costs and resource usage, especially when multiple chips are tested simultaneously, excessive use of sense lines leads to high test costs, and inaccurate device models cause test values to differ from design simulation values. If it does not match, it will affect the test accuracy.
Design a low-cost analog test circuit to complete the measurement and screening of multiple on-chip DC voltages and currents using only one test PAD, using a reference percentage generation circuit, voltage comparator, current comparator, signal selector under test and logic circuit to implement OFFSET calibration function, reduce the use of sense lines and improve test accuracy.
It achieves efficient testing of multi-channel signals, reduces chip costs, avoids the direct connection of internal signals of analog circuits to pads, improves test accuracy and safety, and reduces the occupation of test resources.
Smart Images

Figure CN113945828B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of analog circuit design. In mass production testing, based on its highly automated analog signal measurement method and minimal testing resource investment, high-speed and low-cost chip testing is achieved. Background Art
[0002] As the complexity of integrated circuits increases, more and more voltage and current signals in analog integrated circuits need to be measured. At the same time, the precision of integrated circuits is getting higher and higher, and the test requirements and test complexity of analog signals are increasing accordingly. With the rapid development of electronic products, due to the fierce competition in the industry, while product quality is improving, the price of chips has become one of the key concerns of consumers. Test cost is an important component of chip production cost, and test cost is positively correlated with test time. In today's fierce competition in the IC industry, test resources are in short supply. Reducing test time and minimizing the use of test resources are of great significance to reducing chip costs.
[0003] As process size continues to evolve, it is becoming increasingly difficult to establish accurate device models. However, analog circuit design is highly dependent on the accuracy of device models. When the device model is not accurate enough, the actual processing test value of the analog circuit will be different from the theoretical design simulation value. Therefore, reducing the test cost of the signal can invest in more test items, and it is possible to use a variety of test methods to solve difficult problems in circuit design. Therefore, it is necessary for circuit designers to devote some energy to studying low-cost circuit testing solutions. Summary of the invention
[0004] (1) Purpose of the Invention
[0005] The usual method for testing analog DC voltage or current signals is that the test machine directly uses the limited resource sense lines for measurement. When multiple chips are tested at the same time using this method, each chip needs to occupy a sense line. A large number of sense lines are used, which occupies more test resources, which means that the test cost is higher. The purpose of the present invention is to, firstly, reduce the test cost and the use of sense lines, thereby avoiding the need for a sense line for each test chip. When multiple chips are tested at the same time, only one force line needs to be provided. Secondly, test pad multiplexing is realized, and only one test pad is used to test multiple signals, which not only reduces the chip cost, but also avoids the direct connection of the internal signal of the analog circuit to the pad, thereby improving the safety of the chip. Thirdly, in order to improve the test accuracy, this design proposes a method for realizing the offset calibration function.
[0006] (2) Technical solution
[0007] like Figure 1As shown, a low-cost analog test circuit with offset calibration is characterized in that only one test PAD is used to complete the TRIM, measurement and screening of multiple on-chip DC voltages and currents. Its composition structure mainly includes: a reference percentage generation circuit, a voltage comparator, a current comparator, a voltage signal selector to be tested and a logic circuit, a switch S2, and a switch S3.
[0008] The reference percentage generating circuit includes switch S1, OFFSET correction resistor string 1, OFFSET correction resistor string 2, percentage voltage divider adjustment resistor string, and OFFSET correction reference generating resistor string. Its input end is connected to the chip PAD named TST_PAD, which is used to apply the off-chip reference voltage during the chip test process. The M+1-bit input control signal COMP_OFFSET_TRIM <m:0>Adjust the OFFSET correction resistor string 1 and the OFFSET correction resistor string 2 to calibrate the comparator offset. N+1 bit input control signal VREF_PERCENT_SEL <n:0>The percentage voltage divider adjustment resistor string is used to output a reference voltage VREF_PERCENT with different scaling ratios. The reference voltage VREF_PERCENT scaled by percentage is connected to the negative input terminal VIN of the voltage comparator. The OFFSET correction reference voltage VREF_OFFSET is connected to the negative input terminal VIP of the voltage comparator through the switch S3.
[0009] A voltage comparator, whose positive input terminal VIP is connected to the output VREF_OFFSET of the reference percentage generating circuit through a switch S3, and whose positive input terminal VIP is connected to the output signal VOL_SEL of the signal selector to be tested, whose negative input terminal is connected to the output VREF_PERCENT of the reference percentage generating circuit, and whose output terminal VCOMP_OUT is connected to an input terminal of the logic circuit.
[0010] Current comparator, one of its input terminals is connected to TST_PAD through switch S2, and the other X+1 input terminals are connected to X+1 current signals to be measured CURRENT_TEST <x:0>. At the same time, it has an X+1-bit current selection control signal CURRENT_SEL <x:0>, used to select the current to be measured. Its output terminal CCOMP_OUT is connected to another input terminal of the logic circuit.
[0011] The voltage signal selector to be tested has X+1 input terminals connected to the voltage signal to be tested VOL_TEST <x:1>, and has an X+1-bit voltage selection control signal VOL_SEL to be tested <x:0>, used to select the voltage to be measured. Its output terminal VOL_SEL is connected to the positive input terminal of the voltage comparator.
[0012] The logic circuit has one input terminal connected to the output CCOMP_OUT of the current comparator and another input terminal connected to the output VCOMP_OUT of the voltage comparator. Its output terminal TST_OUT is provided to the chip system as a basis for judging the test result.
[0013] Here’s how it works:
[0014] The principle of the test circuit OFFSET calibration is that switches S1 and S3 are closed, switch S2 is open, the signal selector to be tested is configured to have no signal output, the current comparator is configured to be off, VREF_PERCENT_SEL <n:0>Configured to output the same voltage division value of VREF_PERCENT and VREF_OFFSET. TST_PAD applies a suitable reference voltage V TST_PAD At this time, VREF_PERCENT = VREF_OFFSET. Due to the inevitable mismatch in the circuit, the comparator output is high or low, and the COMP_OFFSET_TRIM is adjusted in sequence. <m:0>, until the comparator output flips, completing the OFFSET calibration.
[0015] VREF_PERCENT_SEL <n:0>Adjust the percentage voltage divider to adjust the resistor string, which is used to output the reference voltage VREF_PERCENT with different scaling ratios. For example, the VREF_PERCENT output range can be designed to be K*V TST_PAD *(1±10%), the step length is 0.5%, and there are 41 output gears in total, where K is the self-defined resistor voltage divider ratio. OFFSET correction resistor string 1 and OFFSET correction resistor string 2 are complementary. The resistance value of OFFSET correction resistor string 1 plus the resistance value of OFFSET correction resistor string 2 is a fixed value, which remains unchanged during the OFFSET calibration process. Therefore, the total resistance of the reference percentage generation circuit is also a fixed value. After the OFFSET calibration is completed, the VREF_PERCENT output is [K*V TST_PAD *(1±10%)]±V OFFSET , where V OFFSET The step size is still 0.5% for the mismatch voltage to be calibrated, that is, OFFSET calibration is implemented for each output level of VREF_PERCENT.
[0016] The TRIM test principle for analog voltage signals is as follows: switch S1 is closed, switches S2 and S3 are opened, and the signal selector to be tested adjusts VOL_SEL <x:0>Select the analog signal to be tested VOL_TEST <x:1>, VREF_PERCENT is configured as the target voltage value, and the TRIM process of the analog signal can be completed by adjusting the TRIM control word of the analog signal under test until the output TST_OUT is flipped.
[0017] The principle of the screening test for analog voltage signals is that switch S1 is closed, switches S2 and S3 are opened, and the signal selector to be tested adjusts VOL_SEL <x:0>Select the analog signal to be tested VOL_TEST <x:1>, VREF_PERCENT is configured as the upper limit of the target voltage value, such as +2% gear. If the output TST_OUT is low, it means that the analog signal under test is below the upper limit, otherwise it exceeds. When VREF_PERCENT is configured as the lower limit of the target voltage value, such as -2% gear, if the output TST_OUT is high, it means that the analog signal under test is above the lower limit, otherwise it exceeds.
[0018] The measurement principle of the analog voltage signal is as follows: switch S1 is closed, switches S2 and S3 are opened, and the signal selector to be measured adjusts VOL_SEL <x:0>Select the analog signal to be tested VOL_TEST <x:1>, gradually adjust VREF_PERCENT_SEL <n:0>Change the VREF_PERCENT output value until the TST_OUT output flips. At this time, the VREF_PERCENT value is the value of the measured signal. If the range of VREF_PERCENT is not enough, you can achieve a suitable range by changing the TST_PAD voltage.
[0019] The TRIM test principle for analog current signals is as follows: switch S2 is closed, switches S1 and S3 are opened, and the current comparator adjusts CURRENT_SEL <x:0>Select the analog signal to be tested CURRENT_TEST <x:0>, TST_PAD externally supplies the target current value, and the TRIM control word of the analog current signal under test can be adjusted until the output TST_OUT is flipped, thus completing the TRIM process of the analog signal.
[0020] The principle of the screening test for the analog current signal is that switch S2 is closed, switches S1 and S3 are opened, and the current comparator adjusts CURRENT_SEL <x:0>Select the analog signal to be tested CURRENT_TEST <x:0>, TST_PAD is fed with the target current upper limit value. If the output TST_OUT is low, it means that the analog signal under test is below the upper limit value, otherwise it exceeds. Then TST_PAD is fed with the target current lower limit value. If the output TST_OUT is high, it means that the analog signal under test is above the lower limit value, otherwise it exceeds.
[0021] The measurement principle of the analog current signal is as follows: switch S2 is closed, switches S1 and S3 are opened, and the current comparator adjusts CURRENT_SEL <x:0>Select the analog signal to be tested CURRENT_TEST <x:0>, TST_PAD steps the external current value until the output TST_OUT flips. The test external current value is the analog current signal value being measured. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A Low-Cost Analog Test Circuit with Offset Calibration DETAILED DESCRIPTION
[0023] Figure 1 This is a low-cost analog test circuit with offset calibration of the present invention. The OFFSET calibration control word COMP_OFFSET_TRIM<3:0> is designed to have 4 bits in total. The percentage voltage divider adjustment resistor string control word VREF_PERCENT_SEL<5:0> is 6 bits in total. TST_PAD is externally fed with a 1.3V reference voltage. The VREF_PERCENT output is shown in Table 1, with a total of 41 gears, a step size of 5mV, and a VREF_OFFSET voltage value of 1V. The analog voltage selection control word VOL_SEL<2:0> is 3 bits in total, and 8 analog voltage signals VOL_TEST<3:1> can be selected for measurement. The analog circuit selection signal control word CURRENT_SEL<1:0> is 2 bits in total, and 4 analog current signals CURRENT_TEST<2:0> can be selected for measurement.
[0024] Table 1 TST_PERCENT_SEL<5:0> corresponds to
[0025]
[0026]
[0027] First, perform OFFSET calibration on the test circuit, close switches S1 and S3, open switch S2, configure the signal selector to output no signal, configure the current comparator to be off, and configure VREF_PERCENT_SEL<5:0> to 010100. The output VREF_PERCENT and VREF_OFFSET are 1 V. Since there is inevitably mismatch in the circuit, the comparator output is high or low. By adjusting COMP_OFFSET_TRIM<3:0> until the comparator output flips, the OFFSET calibration is completed.
[0028] Take the test bandgap reference voltage VREF as an example, its target value is 1V. Switch S1 is closed, switches S2 and S3 are open, VREF is selected to be output to the positive input of the comparator by adjusting VOL_SEL<2:0>, VREF_PERCENT_SEL<5:0> is configured to 010100 to output VREF_PERCENT=1V, and the TRIM control word of VREF is adjusted until the output TST_OUT is flipped, that is, the TRIM process of VREF is completed. In the screening test of VREF, the screening accuracy of VREF is expected to be ±2%. First, VREF_PERCENT_SEL<5:0> is configured to 011000 to output VREF_PERCENT=1.02V. After the stabilization time, if the output TST_OUT is low, the test passes, otherwise the chip is screened out. Then configure VREF_PERCENT_SEL<5:0> to 010000 and output VREF_PERCENT = 0.98V. After the stabilization time, if the output TST_OUT is high, the test passes, otherwise the chip is screened out.
[0029] The basic principle, circuit features and detailed ideas of the present invention are described in detail above. It should be understood by those skilled in the art that the present invention is not limited by the above embodiments. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the claims and their equivalents.
Claims
1. A low-cost analog test circuit with offset calibration, characterized in that Only one test PAD is used to complete the TRIM, measurement and screening of multiple on-chip DC voltages and currents. Its composition structure includes: a reference percentage generating circuit, a voltage comparator, a current comparator, a voltage signal selector to be tested and a logic circuit, a switch S2, and a switch S3. An input port of the reference percentage generating circuit is connected to a chip PAD named TST_PAD, an output terminal VREF_PERCENT is connected to an input terminal VIN of the voltage comparator, another output VREF_OFFSET of the reference percentage generating circuit is connected to an input terminal VIP of the voltage comparator through a switch S3, and at the same time, the input terminal VIP of the voltage comparator is connected to an output VOL_SEL of the signal selector to be tested; by connecting VREF_OFFSET By comparing T with VREF_PERCENT voltage, the mismatch between the reference percentage generating circuit and the voltage comparator can be detected and calibrated; by comparing the VOL_SEL signal with the VREF_PERCENT voltage, the comparison result VCOMP_OUT is output to the logic circuit for judgment, thereby realizing the test function of the voltage signal to be measured; the current test function is realized by the current comparator, one input end of the current comparator is connected to the chip PAD named TST_PAD through the switch S2, and when the current comparison is performed, the reference current is externally injected into TST_PAD, and the on-chip current to be measured is compared by the current comparator, and the comparison result CCOMP_OUT is output to the logic circuit for judgment, thereby realizing the test function of the current signal to be measured. The reference percentage generating circuit includes a switch S1, an OFFSET correction resistor string 1, an OFFSET correction resistor string 2, a percentage voltage-dividing adjustment resistor string, and an OFFSET correction reference generating resistor string. The input end of the reference percentage generating circuit is connected to a chip PAD named TST_PAD, which is used to apply an off-chip reference voltage during chip testing; the M+1-bit input control signal COMP_OFFSET_TRIM <m:0>Adjust the OFFSET correction resistor string 1 and the OFFSET correction resistor string 2 to calibrate the comparator offset; the N+1 bit input control signal VREF_PERCENT_SEL <n:0> The percentage-adjusting voltage-dividing adjusting resistor string is used to output a reference voltage VREF_PERCENT with different scaling ratios; the reference voltage VREF_PERCENT scaled by percentage output of the reference percentage generating circuit is connected to the negative input terminal VIN of the voltage comparator; the output OFFSET correction reference voltage VREF_OFFSET of the reference percentage generating circuit is connected to the negative input terminal VIP of the voltage comparator through the switch S3; the positive input terminal VIP of the voltage comparator is connected to the output VREF_OFFSET of the reference percentage generating circuit through the switch S3, and the positive input terminal VIP of the voltage comparator is connected to the output signal VOL_SEL of the signal selector to be tested, the negative input terminal is connected to the output VREF_PERCENT of the reference percentage generating circuit, and the output terminal VCOMP_OUT is connected to an input terminal of the logic circuit;< / n:0> The current comparator has one input terminal connected to the chip's TST_PAD through switch S2, and the other X+1 input terminals are connected to X+1 current signals to be tested CURRENT_TEST <x:0>; At the same time, it has the X+1-bit current selection control signal CURRENT_SEL <x:0> , used to select the current to be measured; its output terminal CCOMP_OUT is connected to another input terminal of the logic circuit.< / x:0> 2. The low-cost analog test circuit according to claim 1, characterized in that: The voltage signal selector to be tested has X+1 input terminals connected to the voltage signal to be tested VOL_TEST <x:1>, and has an X+1-bit voltage selection control signal VOL_SEL to be tested <x:0> , used to select the voltage to be measured; its output terminal VOL_SEL is connected to the positive input terminal of the voltage comparator.< / x:0> 3. The analog test circuit according to claim 1, characterized in that: The logic circuit has one input terminal connected to the output CCOMP_OUT of the current comparator, and another input terminal connected to the output VCOMP_OUT of the voltage comparator; Its output terminal TST_OUT is provided to the chip system as a flag signal and as a basis for judging the test results.
Citation Information
Patent Citations
Low-cost simulation test circuit with offset calibration
CN216560877U
