ADC chip test circuit and equipment
By using low-cost counters and DAC modules in the ADC chip test circuit, combined with the clock module synchronous driving and the replacement enable signal of the preprocessing module, the high cost of high-precision analog signal source and noise interference are solved, and micro Second-level measurement and stable measurement reduce circuit costs and improve test accuracy.
Patent Information
- Application Number
- CN202010413630.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-15
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-05-15
AI Technical Summary
The high-precision and high-stability analog signal sources in existing ADC chip test circuits are costly and noise interference, resulting in increased circuit design difficulty and cost increase.
Using a low-cost counter and DAC module, the chip to be tested and the DAC module are synchronously driven by the clock module, the first preprocessing module detects the extreme value of the digital code and outputs the fill-in enable signal. The second preprocessing module maintains data comparison The output signal of the module is stable, reducing the accuracy requirements of each module for components.
Microsecond measurement is realized, circuit cost is reduced, test speed and accuracy is improved, the working failure of the data comparison module at extreme values is avoided, and stable measurement of the zero point and full-scale point of the chip to be tested is ensured.
Smart Images

Figure CN111579963B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuit testing, and in particular to an ADC chip testing circuit and equipment. Background Art
[0002] The test circuit of the existing analog-to-digital converter (ADC chip) usually uses a high-precision and high-stability analog signal source. During the test, the input end of the chip to be tested is connected to a high-precision and high-stability analog signal source, and the output end of the chip to be tested is connected to a high-speed comparator. The high-speed comparator performs multiple samplings at a sampling rate several times higher than the analog-to-digital conversion rate under the control of a synchronous clock, and sends the samples to the subsequent DSP or PC for digital signal and noise processing.
[0003] However, there are some problems with the existing test circuits. For example, high-precision and high-stability analog signal sources usually have high-precision digital-to-analog converters (DACs), which are expensive. Since the output drive capability of the high-precision DAC is insufficient, it must be connected to an amplification output circuit in actual use, which will introduce noise interference, and the post-amplification output will bring about a drift effect, resulting in a deviation between the set voltage and the actual output voltage, thereby increasing the difficulty and cost of circuit design. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides an ADC chip test circuit, which uses low-cost devices to test the ADC chip and reduces the test cost.
[0005] In a first aspect, an ADC chip test circuit according to an embodiment of the present invention includes a counter for outputting a digital code; a data comparison module having a first input terminal, a second input terminal, a control terminal and an output terminal, wherein the first input terminal of the data comparison module is connected to the counter, the second input terminal of the data comparison module is connected to the output terminal of the chip to be tested, the control terminal of the data comparison module is connected to a first preprocessing module, the input terminal of the first preprocessing module is connected to the counter, the output terminal of the data comparison module is connected to a second preprocessing module, the first preprocessing module is used to detect the extreme value of the digital code and send a padding enable signal to the data comparison module, The second preprocessing module is used to keep the output signal of the data comparison module stable; the integral control module is connected to the output end of the second preprocessing module; the DAC module, the input end of which is connected to the counter; the amplitude attenuation module has a first input end, a second input end and an output end, the first input end of the amplitude attenuation module is connected to the output end of the integral control module, the second input end of the amplitude attenuation module is connected to the output end of the DAC module, and the output end of the amplitude attenuation module is used to connect to the input end of the chip to be tested; the clock module, the output end of which is respectively connected to the second preprocessing module, the DAC module and the clock signal end of the chip to be tested.
[0006] According to some embodiments of the present invention, the first preprocessing module includes a maximum value detection circuit and a minimum value detection circuit, the input end of the maximum value detection circuit and the input end of the minimum value detection circuit are respectively connected to the counter, the output end of the maximum value detection circuit and the output end of the minimum value detection circuit are respectively connected to the data comparison module, the maximum value detection circuit is used to detect whether the digital code is a maximum value, and output a first fill enable signal according to the detection result, and the minimum value detection circuit is used to detect whether the digital code is a minimum value, and output a second fill enable signal according to the detection result.
[0007] According to some embodiments of the present invention, the maximum value detection circuit includes a first NOR gate and at least one first NAND gate, the input end of the first NAND gate is connected to the counter, the output end of the first NAND gate is connected to the first NOR gate, and the output end of the first NOR gate is connected to the data comparison module.
[0008] According to some embodiments of the present invention, the minimum value detection circuit includes a second NOR gate, multiple first inverters and at least one second NAND gate, the input ends of the multiple first inverters are respectively connected to the counter, the output ends of the multiple first inverters are respectively connected to the corresponding second NAND gates, the output end of the second NAND gate is connected to the second NOR gate, and the output end of the second NOR gate is connected to the data comparison module.
[0009] According to some embodiments of the present invention, the data comparison module includes a plurality of cascade-connected numerical comparison chips, each of which has a first input terminal, a second input terminal, a cascade input terminal and an output terminal. The first input terminal of the numerical comparison chip at each stage is used to be connected to the counter respectively, the second input terminal of the numerical comparison chip at each stage is respectively connected to the output terminal of the chip to be tested, the output terminal of the numerical comparison chip at the previous stage is connected to the cascade input terminal of the numerical comparison chip at the next stage, the cascade input terminal of the numerical comparison chip at the first stage serves as the control terminal of the data comparison module, and the output terminal of the numerical comparison chip at the last stage serves as the output terminal of the data comparison module.
[0010] According to some embodiments of the present invention, the data comparison module also includes a first bidirectional controllable switch and a second inverter, the first bidirectional controllable switch having a normally closed end, a normally open end, a static end and a control end, the normally open end of the first bidirectional controllable switch is connected to the output end of the second inverter, the normally closed end of the first bidirectional controllable switch and the input end of the second inverter are respectively used to receive the highest bit signal of the digital code from the chip to be tested, the static end of the first bidirectional controllable switch is connected to the second input end of the last-stage numerical comparison chip of the data comparison module, and the control end of the first bidirectional controllable switch is used to receive a first switching control signal.
[0011] According to some embodiments of the present invention, the second preprocessing module includes an RS trigger and at least two D triggers, the input ends of at least two of the D triggers are respectively connected to the output end of the data comparison module, the inverting output ends of at least two of the D triggers are respectively connected to the input ends of the RS trigger, and the in-phase output end of the RS trigger is connected to the integral control module.
[0012] According to some embodiments of the present invention, the second preprocessing module also includes a second bidirectional controllable switch, the second bidirectional controllable switch having a normally closed end, a normally open end, a static end and a control end, the normally closed end and the normally open end of the second bidirectional controllable switch are respectively connected to the two output ends of the RS trigger, the static end of the second bidirectional controllable switch is connected to the input end of the integral control module, and the control end of the second bidirectional controllable switch is used to receive a second switching control signal.
[0013] According to some embodiments of the present invention, the amplitude attenuation module includes a first operational amplifier, the in-phase input terminal of the first operational amplifier is connected to a resistor R9, and is connected to the integral control module through the resistor R9, the in-phase input terminal of the first operational amplifier is also connected to a resistor R8 and a resistor R7, one end of the resistor R7 is connected to the resistor R8, the other end of the resistor R7 is grounded, and the connection node between the resistor R7 and the resistor R8 is also connected to the output terminal of the DAC module.
[0014] In a second aspect, an ADC chip testing device according to an embodiment of the present invention includes the above-mentioned ADC chip testing circuit.
[0015] One or more technical solutions according to the embodiments of the present invention have at least the following beneficial effects: compared with the high-precision and high-stability analog signal source in the prior art, the present invention adopts a low-cost counter and DAC module, and synchronously drives the chip to be tested and the DAC module through the clock module. By adjusting the frequency relationship between the counter and the clock module, microsecond measurement can be achieved. The first preprocessing module can achieve stable measurement of the zero point and full-scale point of the chip to be tested by outputting a fill enable signal. The second preprocessing module can keep the output chip of the data comparison module stable, which is beneficial to reducing the accuracy requirements of each module on components, thereby reducing circuit costs.
[0016] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0018] Figure 1 It is a principle block diagram of an ADC chip test circuit according to an embodiment of the present invention;
[0019] Figure 2 1 is a circuit schematic diagram of a maximum value detection circuit of an ADC chip test circuit according to an embodiment of the present invention;
[0020] Figure 3 It is a circuit principle diagram of a minimum value detection circuit of an ADC chip test circuit according to an embodiment of the present invention;
[0021] Figure 4 This is one of the circuit principle diagrams of the data comparison module of the ADC chip test circuit according to an embodiment of the present invention;
[0022] Figure 5 One of the circuit principle diagrams of the second pre-processing module of the ADC chip test circuit according to an embodiment of the present invention;
[0023] Figure 6 A circuit schematic diagram of a counter of an ADC chip test circuit according to an embodiment of the present invention;
[0024] Figure 7 A circuit schematic diagram of a first preprocessing module of an ADC chip test circuit according to an embodiment of the present invention;
[0025] Figure 8This is one of the circuit principle diagrams of the data comparison module of the ADC chip test circuit according to an embodiment of the present invention;
[0026] Fig. 9 One of the circuit principle diagrams of the second pre-processing module of the ADC chip test circuit according to an embodiment of the present invention;
[0027] Fig.10 It is a circuit schematic diagram of an integral control module of an ADC chip test circuit according to an embodiment of the present invention;
[0028] Fig.11 It is a circuit principle diagram of the amplitude attenuation module of the ADC chip test circuit according to an embodiment of the present invention;
[0029] Fig.12 The circuit schematic diagram of the DAC module of the ADC chip test circuit according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0031] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0032] Please refer to Figure 1The present embodiment discloses an ADC chip test circuit, including a counter 100, a data comparison module 300, an integral control module 500, an amplitude attenuation module 700 and a clock module 800. The counter 100 adopts an increasing or decreasing counter. The counter 100 is used to output a digital code. The digital code is used as a test signal to detect whether the signal converted by the chip to be tested 900 is within the error range; the data comparison module 300 has a first input end, a second input end, a control end and an output end. The first input end of the data comparison module 300 is connected to the counter 100, the second input end of the data comparison module 300 is connected to the output end of the chip to be tested 900, the control end of the data comparison module 300 is connected to the first preprocessing module 200, the input end of the first preprocessing module 200 is connected to the counter 100, and the output end of the data comparison module 300 is connected to the second preprocessing module 200. Module 400, the first preprocessing module 200 is used to detect the extreme value of the digital code and send a fill enable signal to the data comparison module 300, the second preprocessing module 400 is used to keep the output signal of the data comparison module 300 stable; the integral control module 500 is connected to the output end of the second preprocessing module 400, the input end of the DAC module 600 is connected to the counter 100, the amplitude attenuation module 700 has a first input end, a second input end and an output end, the first input end of the amplitude attenuation module 700 is connected to the output end of the integral control module 500, the second input end of the amplitude attenuation module 700 is connected to the output end of the DAC module 600, the output end of the amplitude attenuation module 700 is used to connect to the input end of the chip to be tested 900, and the output end of the clock module 800 is respectively connected to the clock signal ends of the second preprocessing module 400, the DAC module 600 and the chip to be tested 900. The clock module 800 can synchronously drive the DAC module 600 and the chip under test 900 . By adjusting the frequency relationship between the counter 100 and the clock module 800 , microsecond-level measurement of the chip under test 900 can be achieved.
[0033] The working principle of this embodiment is as follows:
[0034] Taking an 8-bit ADC chip to be tested as an example, it should be noted that the number of bits of the ADC chip can be more than 12 bits, the input signal of the chip to be tested 900 is an analog signal, the chip to be tested 900 outputs a digital signal corresponding to the analog signal, and the output signal range of the chip to be tested 900 is 0x00 to 0xFF. When the test starts, the counter 100 outputs the original digital code, such as 0x01, and the original digital code is converted into an analog signal by the DAC module 600. However, in order to reduce the test cost, the DAC module 600 of this embodiment uses components with lower precision and stability, and the accuracy and stability of the analog signal output by the DAC module 600 are lower. In order to improve the accuracy and stability of the input signal of the chip under test 900, the data comparison module 300, the integral control module 500 and the amplitude attenuation module 700 form a feedback loop to adjust the input voltage of the chip under test 900, thereby improving the accuracy and stability of the input signal of the chip under test 900, wherein the data comparison module 300 is used to compare the digital code to be checked output by the chip under test 900 with the original digital code, and send the comparison result to the integral control module 500, the integral control module 500 is used to perform waveform conversion, that is, to convert the pulse wave into an analog signal wave, and the amplitude attenuation module 700 is used to superimpose the output signal of the integral control module 500 and the output signal of the DAC module 600, so as to perform feedback adjustment on the input signal of the chip under test 900. It should be conceived that the output signal of the chip under test 900 in the circuit is represented in binary, that is, the output digital code is 0000 0000 to 1111 1111, and each output pin of the chip under test 900 corresponds to a bit of the digital code. Since the digital code output by the chip under test 900 ranges from 0000 0000 to 1111 1111, the chip under test 900 cannot output a smaller or larger digital code. When the digital code output by the chip under test 900 is a minimum value or a maximum value, that is, 0000 0000 or 1111 1111, the data comparison module 300 cannot work normally, resulting in the fitted voltage not corresponding to the minimum value or the maximum value. Therefore, the extreme value of the digital code is detected by the first preprocessing module 200, and a corresponding bit-filling enable signal is sent to the data comparison module 300 to avoid the data comparison module 300 from being unable to work normally because the digital code to be checked is the same as the original digital code, which is conducive to achieving stable measurement of the zero point and full-scale point of the chip under test 900.
[0035] Please refer to Figure 1 , Figure 2 and Figure 3The first preprocessing module 200 includes a maximum value detection circuit 210 and a minimum value detection circuit 220. The input end of the maximum value detection circuit 210 and the input end of the minimum value detection circuit 220 are respectively connected to the counter 100, and the output end of the maximum value detection circuit 210 and the output end of the minimum value detection circuit 220 are respectively connected to the data comparison module 300. The maximum value detection circuit 210 is used to detect whether the digital code is a maximum value, and output a first fill enable signal according to the detection result. The minimum value detection circuit 220 is used to detect whether the digital code is a minimum value, and output a second fill enable signal according to the detection result.
[0036] Please refer to Figure 2 The maximum value detection circuit 210 includes a first NOR gate 212 and at least one first NAND gate 211. The input end of the first NAND gate 211 is connected to the counter 100, the output end of the first NAND gate 211 is connected to the first NOR gate 212, and the output end of the first NOR gate 212 is connected to the data comparison module 300. It should be noted that the number of the first NAND gates 211 is adjusted according to the number of bits of the digital code and the number of input pins of the first NAND gates 211. Please refer to Figure 1 and Figure 2 In this embodiment, a 12-bit digital code is taken as an example. The counter 100 outputs a 12-bit digital code. The signals of each bit of the digital code are P00 to P11 from low to high. Figure 2 The number of the first NAND gates 211 is 3, the number of the first NOR gates 212 is 1, and when the digital code is a maximum value, that is, each bit signal of the digital code is logic 1, the first NOR gate 212 outputs logic 1, otherwise, the first NOR gate 212 outputs logic 0. This embodiment realizes the maximum value detection of the digital code through a simple logic operation device, which is conducive to reducing the circuit cost, thereby reducing the test cost of the ADC chip.
[0037] Please refer to Figure 3 The minimum value detection circuit 220 includes a second NOR gate 223, a plurality of first inverters 221 and at least one second NAND gate 222. The input ends of the plurality of first inverters 221 are respectively connected to the counter 100, and the output ends of the plurality of first inverters 221 are respectively connected to the corresponding second NAND gates 222. The output end of the second NAND gate 222 is connected to the second NOR gate 223, and the output end of the second NOR gate 223 is connected to the data comparison module 300. It should be noted that the number of the first inverter 221 and the second NAND gate 222 is adjusted according to the number of bits of the digital code and the number of input pins of the second NAND gate 222. The counter 100 outputs a 12-bit digital code, and the signals of each bit of the digital code are P00 to P11 from low to high. Figure 3The number of the first inverters 221 is 12, the number of the second NAND gates 222 is 3, the number of the second NOR gates 223 is 1, and when the digital code is a minimum value, that is, the signal of each bit of the digital code is logic 0, the second NOR gate 223 outputs logic 1, otherwise, the second NOR gate 223 outputs logic 0. This embodiment realizes the minimum value detection of the digital code through a simple logic operation device, which is conducive to reducing the circuit cost, thereby reducing the test cost of the ADC chip.
[0038] Please refer to Figure 4 The data comparison module 300 includes a plurality of cascade-connected numerical comparison chips 310, each of which has a first input terminal, a second input terminal, a cascade input terminal and an output terminal. It should be noted that the first input terminal and the second input terminal of the numerical comparison chip 310 each have a plurality of pins, each pin being used to receive a signal of each bit of the digital code. The first input terminal of each level of numerical comparison chip 310 is used to connect to the corresponding pin of the counter 100, the second input terminal of each level of numerical comparison chip 310 is respectively connected to the corresponding output pin of the chip to be tested 900, the output terminal of the previous level of numerical comparison chip 310 is connected to the cascade input terminal of the next level of numerical comparison chip 310, the cascade input terminal of the first level of numerical comparison chip 310 serves as the control terminal of the data comparison module 300, and the output terminal of the last level of numerical comparison chip 310 serves as the output terminal of the data comparison module 300. Multiple cascade-connected numerical comparison chips 310 can compare the original digital code from the counter 100 with the digital code to be checked from the chip to be tested 900. The cascade input end of the first-stage numerical comparison chip 310 can receive the fill-in enable signal from the first preprocessing module 200, which is conducive to achieving stable measurement of the zero point and full-scale point of the chip to be tested 900, wherein the zero point (ZERO point) and the full-scale point (FULL-SCALE point) are respectively the maximum swing of the ADC chip input signal. For example, the input voltage amplitude of the 8-bit ADC chip is 0~10V, which can be understood as the zero point corresponds to 0V voltage, the full-scale point corresponds to 10V voltage, the digital code corresponding to 0V is 0x00, and the digital code corresponding to 10V is 0xFF.
[0039] For most chips under test, the input voltage of the chip under test 900 is 0~nV, n>0, but the input voltage range of some chips under test 900 is -n~+nV, n>0. When the input voltage is -nV~0V, the highest bit signal of the digital code to be checked usually represents a negative sign, so it is necessary to adjust the highest bit signal of the digital code to be checked for testing. Please refer to Figure 4The data comparison module 300 also includes a first bidirectional controllable switch 320 and a second inverter 330. The first bidirectional controllable switch 320 has a normally closed end, a normally open end, a static end and a control end. The normally open end of the first bidirectional controllable switch 320 is connected to the output end of the second inverter 330. The normally closed end of the first bidirectional controllable switch 320 and the input end of the second inverter 330 are respectively used to receive the highest bit signal of the digital code from the chip under test 900. The static end of the first bidirectional controllable switch 320 is connected to the second input end of the last-stage numerical comparison chip 310 of the data comparison module 300. The control end of the first bidirectional controllable switch 320 is used to receive the first switching control signal. Under normal conditions, the static end of the first bidirectional controllable switch 320 is connected to the normally closed end. When the control end of the first bidirectional controllable switch 320 receives the first switching control signal, the static end of the first bidirectional controllable switch 320 is connected to the normally open end, so that the highest bit signal of the digital code output by the chip under test 900 passes through the second inverter 330 and is then input into the numerical comparison chip 310.
[0040] Please refer to Figure 4 and Figure 5 The second preprocessing module 400 includes an RS trigger 420 and at least two D triggers 410. The input terminals of the at least two D triggers 410 are respectively connected to the output terminals of the data comparison module 300. The D trigger 410 is used to latch the output signal of the data comparison module 300, which is beneficial to improving the stability of the output signal. The inverting output terminals of the at least two D triggers 410 are respectively connected to the input terminals of the RS trigger 420. The in-phase output terminal of the RS trigger 420 is connected to the integral control module 500. The characteristic that the output level remains unchanged when both input terminals of the RS trigger 420 are logic 1 is utilized to keep the amplitude of the signal subsequently input to the chip under test 900 fluctuating near the middle value, avoiding excessive fluctuation of the signal at the input terminal of the chip under test 900, which is beneficial to improving the stability.
[0041] Please refer to Figure 5The second preprocessing module 400 also includes a second bidirectional controllable switch 430, which has a normally closed end, a normally open end, a static end and a control end. The normally closed end and the normally open end of the second bidirectional controllable switch 430 are respectively connected to the in-phase output end and the inverting output end of the RS trigger 420, the static end of the second bidirectional controllable switch 430 is connected to the input end of the integral control module 500, and the control end of the second bidirectional controllable switch 430 is used to receive the second switching control signal. In a normal state, the static end of the second bidirectional controllable switch 430 is connected to the normally closed end. When the control end of the second bidirectional controllable switch 430 receives the second switching control signal, the static end of the second bidirectional controllable switch 430 is connected to the normally open end. The second bidirectional controllable switch 430 can change the input signal of the integral control module 500 when a test error occurs to ensure that the integral control module 500 can output a compensation voltage that meets the requirements.
[0042] Reference below Figure 1 , Figures 6 to 12 The ADC chip test circuit according to the embodiment of the present invention is described in detail with a specific embodiment. It should be noted that the following description is only an exemplary description, and is not a specific limitation of the present invention.
[0043] Please refer to Figure 1 and Figure 6 The chip U18 is a counter chip, and the original digital code it outputs has 12 bits. The signals of each bit of the digital code are P00 to P11 from low to high. The 10th pin of the chip U18 is a clock signal pin, which is connected to the clock module 800.
[0044] Please refer to Figure 7The first pre-processing module 200 includes chips U12 to U17. Chip U12 and chip U13 are both inverter chips of the 74LS series. Chip U12 and chip U13 are used to convert signals P00 to P11 into inverted signals P00- to P11-. Chip U14, chip U15 and chip U16 are all four-input NAND gate chips of the 74LS series. Chip U17 (U17A, U17B) uses a three-input NOR gate of the 74LS series, wherein signals P00 to P03 are grouped to perform NAND operations, signals P04 to P07 are grouped to perform NAND operations, signals P08 to P11 are grouped to perform NAND operations, and the three groups of NAND operation results are then subjected to NOR operations. Chip U17A outputs a first bit-filling enable signal S00. Similarly, chip U17B outputs a second bit-filling enable signal S01. Only when all signals P00-P11 are logic 1, that is, the original digital code is a maximum value, the first bit-filling enable signal S00 is logic 1, and only when all signals P00-P11 are logic 0, that is, the original digital code is a minimum value, the second bit-filling enable signal S01 is logic 1. Detecting the minimum or maximum value of the digital code through a simple, low-cost logic chip is conducive to reducing the production cost of the circuit, thereby reducing the testing cost of the ADC chip.
[0045] Please refer to Figure 8The data comparison module 300 includes a cascade-connected chip U5, a chip U6, and a chip U7. The chips U5, U6, and U7 all use 74LS series numerical comparison chips. The chip U5 is a first-stage numerical comparison chip, and the chip U7 is a last-stage numerical comparison chip. The 10th, 12th, 13th, and 15th pins of the chip U5 are connected to the counter 100 as the first input terminal, the 9th, 11th, 14th, and 1st pins of the chip U5 are connected to the chip to be tested as the second input terminal, the 2nd, 3rd, and 4th pins of the chip U5 are connected to the two output terminals of the first preprocessing module 200 as the cascade input terminals, and the 5th, 6th, and 7th pins of the chip U5 are connected to the next-stage numerical comparison chip as the output terminal, wherein the 3rd pin of the chip U5 is grounded. The usage of the chip U6 and the chip U7 is the same as that of the chip U5, and will not be repeated here. When the original digital code and the digital code to be verified are both maximum values, that is, signals P00-P11 and signals D0-D11 are all logic 1, the first bit-filling enable signal S00 is logic 1, and the second bit-filling enable signal S01 is logic 0; when the original digital code and the digital code to be verified are both minimum values, that is, signals P00-P11 and signals D0-D11 are all logic 0, the first bit-filling enable signal S00 is logic 0, and the second bit-filling enable signal S01 is logic 1. According to the working principle of the numerical comparison chip, when the signals P00-P11 and signals D0-D11 are respectively equal, the output of the last-stage numerical comparison chip 310 depends on the cascade input signal of the first-stage numerical comparison chip, that is, the first bit-filling enable signal S00 and the second bit-filling enable signal S01. The logic state value of the first bit-filling enable signal S00 and the second bit-filling enable signal S01 is equivalent to adding a comparison bit to the original digital code or the digital code to be verified. Therefore, the first preprocessing module 200 can solve the problem that the data comparison module 300 cannot work normally through the above-mentioned filling method, thereby achieving stable measurement of the zero point and full-scale point of the chip to be tested.
[0046] Please refer to Fig. 9 The second pre-processing module 400 includes a chip U8 and a chip U9. The chip U8 uses a 74LS series D-type flip-flop chip. The chip U8 has two built-in D flip-flops. The two flip-flop input pins of the chip U8 are respectively connected to the two output pins of the chip U7. Please refer to Figure 1 and Fig. 9 The clock signal terminal of chip U8 is connected to clock module 800 for receiving clock signal TRIG1. Chip U9 uses 74LS series NAND gate chip. Chip U9 has four built-in double-input NAND gates, two of which form RS triggers. The two input terminals of the RS trigger are respectively connected to the two inverting output terminals of chip U8.
[0047] The output end of the RS trigger is also connected to a chip U10 used as a second bidirectional controllable switch. The chip U10 is a signal relay. The second pin of the chip U10 is a normally closed end, the third pin is a static end, the fourth pin is a normally open end, and the tenth pin is a control end. The normally closed end and the normally open end of the chip U10 are respectively connected to the in-phase output end and the inverting output end of the RS trigger 420.
[0048] The data comparison module 300 also includes a first bidirectional controllable switch. The first bidirectional controllable switch uses a chip U11. The chip U11 is a signal relay. The second pin of the chip U11 is a normally closed end, the third pin is a static end, the fourth pin is a normally open end, and the tenth pin is a control end. In order to avoid adding an additional inverter chip and reduce costs, this embodiment uses one of the NAND gates in the chip U9 as an inverter, that is, the 12th and 13th pins of the chip U9 receive the signal D11, and the 11th pin of the chip U9 outputs an inverted signal S1 corresponding to the signal D11. The inverted signal S1 is input to the 4th pin of the chip U11. Please refer to Figure 8 and Fig. 9 , the third pin of the chip U11 is connected to the first pin of the chip U7. When the tenth pin of the chip U11 receives the first switching control signal, the chip U11 sends the inverted signal S1 to the chip U7.
[0049] Please refer to Fig.10 The integral control module 500 includes a comparator U1A, a comparator U1B, an operational amplifier U2A, an operational amplifier U2B, a MOS tube Q8 and a MOS tube Q9. The inverting input terminal of the comparator U1A and the non-inverting input terminal of the comparator U1B are respectively connected to the output terminal of the second pre-processing module 400, and the non-inverting input terminal of the comparator U1A and the inverting input terminal of the comparator U1B are respectively connected to a 1.5V voltage. The output terminal of the operational amplifier U2A is connected to the amplitude attenuation module 700 as the output terminal of the integral control module 500. Among them, by changing the input signal FBS of the comparators U1A and U1B through the second bidirectional switch, the switch state of the MOS tubes Q8 and MOS Q9 can be changed, and the current on the resistor R3 and the resistor R4 can be flowed in or out, thereby ensuring that the integral control module 500 can integrate the compensation voltage that meets the requirements. Similarly, the control of the compensation voltage can be achieved by setting the positive and negative voltages of the inverting input signal POWER1 of the operational amplifier U2B.
[0050] Please refer to Fig.11, the amplitude attenuation module 700 includes a first operational amplifier U2C, the in-phase input terminal of the first operational amplifier U2C is connected to a resistor R9, and is connected to the integral control module 500 through the resistor R9, and the in-phase input terminal of the first operational amplifier U2C is also connected to a resistor R8 and a resistor R7, one end of the resistor R7 is connected to the resistor R8, and the other end of the resistor R7 is grounded to ensure that the initial value of the output signal MV4 is zero potential when powered on. The connection node between the resistor R7 and the resistor R8 is also connected to the output terminal of the DAC module 600, and the output terminal of the first operational amplifier U2C is connected to the chip to be tested 900. The first operational amplifier U2C is used to superimpose the output signal of the integral control module 500 and the output signal of the DAC module 600. Among them, by adjusting the proportional relationship between the resistor R8 and the resistor R9, the output signal Sig2 of the integral control module 500 can be changed to compensate the output signal DACO of the DAC module. For example, assuming that the resistance ratio of the resistor R8 and the resistor R9 is 1:200, VMV4=(1*V Sig2 +200*V DACO ) / (1+200), then, when the input signal Sig2 fluctuates by 1V, the output signal MV4 outputs a voltage compensation of 5mV. During measurement, the output signal MV4 is sampled by an external device, such as a desktop multimeter or an ATE machine, and the sampled data is detected to see if it is within the allowable error range, thereby detecting whether the chip under test is qualified.
[0051] Please refer to Fig.12 The DAC module 600 includes a chip U4. The chip U4 is a low-precision DAC chip with low cost. The first pin of the chip U4 is connected to the amplitude attenuation module 700 as an output pin. The second to 11th, 13th and 14th pins of the chip U4 are used to receive signals P11 to P00 respectively. The chip U3 is a three-terminal regulator. The output end of the chip U3 is connected to the 22nd pin of the chip U4. The output end of the chip U3 is also connected to the operational amplifier U2D. The output end of the operational amplifier U2D is connected to the 17th pin of the chip U4.
[0052] Through the above configuration, the present embodiment can at least achieve the following beneficial effects: each module uses simple logic circuits or comparators and other devices, and does not require high-precision and high-stability components. The circuit production cost is low, which is conducive to reducing the test cost. The clock module 800 synchronously drives the DAC module 600 and the chip to be tested 900, adjusts the frequency relationship between the counter 100 and the clock module 800, and can achieve microsecond-level testing. The test speed is fast and the ADC can be tested at nearly full speed. The first preprocessing module 200 sends a fill-in enable signal to the data comparison module 300, which can prevent the data comparison module 300 from failing to work properly when the digital code is an extreme value, which is conducive to achieving stable measurement of the zero point and full-scale point of the chip to be tested 900. The second preprocessing module 400 uses the characteristics of the trigger to achieve stable jumps of the output level of the data comparison module 300 in the middle area of the jump platform, thereby keeping the input signal of the integral control module 500 stable.
[0053] This embodiment also discloses an ADC chip testing device, including the above-mentioned ADC chip testing circuit.
[0054] Compared with the high-precision and high-stability analog signal source in the prior art, this embodiment adopts a low-cost counter 100 and a DAC module 600, and synchronously drives the chip to be tested 900 and the DAC module 600 through the clock module 800. By adjusting the frequency relationship between the counter 100 and the clock module 800, microsecond measurement can be achieved. The first preprocessing module 200 can achieve stable measurement of the zero point and full-scale point of the chip to be tested 900 by outputting a fill enable signal. The second preprocessing module 400 can keep the output chip of the data comparison module 300 stable, which is beneficial to reducing the accuracy requirements of each module on components, thereby reducing circuit costs.
[0055] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. An ADC chip test circuit, characterized in that: include: Counter (100), used to output digital code; A data comparison module (300) having a first input end, a second input end, a control end and an output end, wherein the first input end of the data comparison module (300) is connected to the counter (100), the second input end of the data comparison module (300) is connected to the output end of the chip to be tested (900), the control end of the data comparison module (300) is connected to a first preprocessing module (200), the input end of the first preprocessing module (200) is connected to the counter (100), the output end of the data comparison module (300) is connected to a second preprocessing module (400), the first preprocessing module (200) is used to detect the extreme value of the digital code and send a padding enable signal to the data comparison module (300), and the second preprocessing module (400) is used to keep the output signal of the data comparison module (300) stable; An integral control module (500) connected to an output end of the second pre-processing module (400); A DAC module (600), an input end of which is connected to the counter (100); An amplitude attenuation module (700) having a first input end, a second input end and an output end, the first input end of the amplitude attenuation module (700) being connected to the output end of the integral control module (500), the second input end of the amplitude attenuation module (700) being connected to the output end of the DAC module (600), and the output end of the amplitude attenuation module (700) being used to connect to the input end of the chip to be tested (900); A clock module (800), the output end of which is respectively connected to the clock signal ends of the second pre-processing module (400), the DAC module (600) and the chip to be tested (900); The first preprocessing module (200) comprises a maximum value detection circuit (210) and a minimum value detection circuit (220), wherein an input end of the maximum value detection circuit (210) and an input end of the minimum value detection circuit (220) are respectively connected to the counter (100), and an output end of the maximum value detection circuit (210) and an output end of the minimum value detection circuit (220) are respectively connected to the data comparison module (300), wherein the maximum value detection circuit (210) is used to detect whether the digital code is a maximum value, and output a first bit-filling enable signal according to the detection result, and the minimum value detection circuit (220) is used to detect whether the digital code is a minimum value, and output a second bit-filling enable signal according to the detection result; The data comparison module (300) comprises a plurality of cascade-connected numerical comparison chips (310), wherein the numerical comparison chips (310) have a first input terminal, a second input terminal, a cascade input terminal and an output terminal. The first input terminal of each stage of the numerical comparison chip (310) is used to be connected to the counter (100) respectively, the second input terminal of each stage of the numerical comparison chip (310) is connected to the output terminal of the chip to be tested (900) respectively, the output terminal of the numerical comparison chip (310) of the previous stage is connected to the cascade input terminal of the numerical comparison chip (310) of the next stage, the cascade input terminal of the numerical comparison chip (310) of the first stage serves as the control terminal of the data comparison module (300), and the output terminal of the numerical comparison chip (310) of the last stage serves as the output terminal of the data comparison module (300).
2. The ADC chip test circuit according to claim 1, characterized in that: The maximum value detection circuit (210) comprises a first NOR gate (212) and at least one first NAND gate (211), the input end of the first NAND gate (211) being connected to the counter (100), the output end of the first NAND gate (211) being connected to the first NOR gate (212), and the output end of the first NOR gate (212) being connected to the data comparison module (300).
3. The ADC chip test circuit according to claim 1 or 2, characterized in that: The minimum value detection circuit (220) comprises a second NOR gate (223), a plurality of first inverters (221) and at least one second NAND gate (222); the input ends of the plurality of first inverters (221) are respectively connected to the counter (100); the output ends of the plurality of first inverters (221) are respectively connected to the corresponding second NAND gates (222); the output end of the second NAND gate (222) is connected to the second NOR gate (223); and the output end of the second NOR gate (223) is connected to the data comparison module (300).
4. The ADC chip test circuit according to claim 1, characterized in that: The data comparison module (300) further comprises a first bidirectional controllable switch (320) and a second inverter (330); the first bidirectional controllable switch (320) has a normally closed end, a normally open end, a static end and a control end; the normally open end of the first bidirectional controllable switch (320) is connected to the output end of the second inverter (330); the normally closed end of the first bidirectional controllable switch (320) and the input end of the second inverter (330) are respectively used to receive the highest bit signal of the digital code from the chip to be tested (900); the static end of the first bidirectional controllable switch (320) is connected to the second input end of the last stage value comparison chip (310) of the data comparison module (300); and the control end of the first bidirectional controllable switch (320) is used to receive a first switching control signal.
5. The ADC chip test circuit according to claim 1, characterized in that: The second pre-processing module (400) comprises an RS trigger (420) and at least two D triggers (410), the input ends of the at least two D triggers (410) are respectively connected to the corresponding output ends of the data comparison module (300), the inverting output ends of the at least two D triggers (410) are respectively connected to the input ends of the RS trigger (420), and the in-phase output end of the RS trigger (420) is connected to the integral control module (500).
6. The ADC chip test circuit according to claim 5, characterized in that: The second pre-processing module (400) further comprises a second bidirectional controllable switch (430), the second bidirectional controllable switch (430) having a normally closed end, a normally open end, a static end and a control end, the normally closed end and the normally open end of the second bidirectional controllable switch (430) being respectively connected to the two output ends of the RS trigger (420), the static end of the second bidirectional controllable switch (430) being connected to the input end of the integral control module (500), and the control end of the second bidirectional controllable switch (430) being used to receive a second switching control signal.
7. The ADC chip test circuit according to claim 1, characterized in that: The amplitude attenuation module (700) comprises a first operational amplifier, the in-phase input terminal of the first operational amplifier is connected to a resistor R9, and is connected to the integral control module (500) via the resistor R9, the in-phase input terminal of the first operational amplifier is also connected to a resistor R8 and a resistor R7, one end of the resistor R7 is connected to the resistor R8, the other end of the resistor R7 is grounded, and the connection node between the resistor R7 and the resistor R8 is also connected to the output terminal of the DAC module (600).
8. An ADC chip testing device, characterized in that: It comprises the ADC chip testing circuit according to any one of claims 1 to 7.
Citation Information
Patent Citations
ADC chip test circuit and device
CN212410777U
