Circuit for accurately testing the current sensing ratio and equivalent impedance of the chip
By using open-loop static test circuit in power chip testing, using built-in error amplifier and current sampling tube, the high error and complexity problems of closed-loop dynamic test are solved, and high-precision, low-cost, and low-complexity tests are achieved, improving the Test efficiency and safety.
Patent Information
- Application Number
- CN202410917493.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-10
AI Technical Summary
When testing power chips with high switching frequency, high voltage and high load current, closed-loop dynamic testing has problems such as high error, high complexity, high cost and poor safety, especially the dependence on the response speed of chips and test equipment. Causes error and security risks.
The open-loop static test circuit is adopted, and the built-in error amplifier, current sampling tube and logic driver module are used to accurately test with voltage and current sources, avoiding external passive devices and additional RC compensation components, and achieving high precision of the chip. Low error, low cost, and low complexity test.
It greatly reduces the error and complexity of chip testing, improves testing efficiency and safety, reduces chip damage risks and testing costs, simplifies chip packaging, and is suitable for batch testing of high-frequency power chips.
Smart Images

Figure CN118465514B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of integrated circuit design, and more specifically, to a test circuit for chip current detection ratio and equivalent impedance. Background Art
[0002] In existing industrial electronic applications with high performance requirements, such as server arrays, storage, telecommunications base stations, embedded computing, etc., there is a huge demand for power chips with high switching frequency, high voltage, high load current, and low power consumption. The requirements for chip design and testing are increasing day by day. It is necessary to accurately and quickly test the power tube on-resistance, current sampling ratio, and equivalent impedance of the power chip to facilitate fast and effective debugging and screening without increasing power consumption and complexity.
[0003] Therefore, there is an urgent need for a test method and a test system that can perform low-error, high-precision, low-cost, high-reliability, and high-safety testing on the current sampling ratio and equivalent impedance of a chip.
[0004] Existing test circuits such as Figure 1 As shown, under normal circumstances, the chip peripheral passive devices must be complete and a closed-loop test method must be used. The chip needs to have an independent VC pin, on which the RC compensation element is connected. The peripheral active devices include a voltage source Vsource1 and a current source load; voltage sampling V1, V2, V3 and current sampling I1 are required respectively.
[0005] During testing, the feedback voltage must be connected to the FB pin outside the chip to form a closed loop; conventional closed-loop dynamic testing requires complete chip peripheral inductors, capacitors and other passive devices, and the peripheral conditions are complex, which affects batch test results and test efficiency.
[0006] Under the closed-loop test, the power tube is continuously switched on and off while current is flowing. For today's power chips with high switching frequency, high voltage, and high load current, the risk of damage to the power tube is huge. During the test process, it may also involve electric shock, which may affect personal safety.
[0007] In addition, closed-loop testing requires dynamic sampling of multiple data points at the same time. For today's high switching frequency and high load current chips, the response speed of sampling and detection equipment has a great impact, which will be accompanied by a large error and affect the test results. In addition, the external VC pin requires additional chip area and a strong driving force, and the external RC compensation component increases the cost and complexity.
[0008] Therefore, it is necessary to provide an improved technical solution to overcome the above technical problems existing in the prior art. Summary of the invention
[0009] The purpose of the present invention is to solve the problem of using closed-loop dynamic measurement when testing the current sampling ratio and equivalent impedance of a chip in the traditional way, and to propose a circuit for accurately testing the current sensing ratio and equivalent impedance of a chip. The present invention adopts open-loop static testing, does not require external passive devices, and does not require frequent switching of the switch tube under static testing, thereby eliminating the dependence on the response speed of the chip and the test equipment, greatly reducing the error and complexity of chip testing, and improving batch test results and test efficiency.
[0010] The technical solution of the present invention is:
[0011] A circuit for accurately testing the current sensing ratio and equivalent impedance of a chip, comprising:
[0012] The chip includes an error amplifier EA, a comparator CMP, a current sampling tube Mhsns, a logic driver module CLD, a power upper tube Mhpwr and a power lower tube Mlpwr;
[0013] The reverse proportional input end of the error amplifier EA is connected to the voltage source Vsource2 as the chip FB pin, the non-inverting proportional input end of the error amplifier EA is connected to the reference level vref, the output end of the error amplifier EA is connected to the gate of the MOS tube, the source of the MOS tube is connected in series with a resistor Rs and then grounded, the drain is connected in series with a current sampling tube Mhsns and then connected to the input voltage VIN, the output end of the error amplifier EA, the connection point between the MOS tube drain and the current sampling tube Mhsns are connected in series with switches S1 and S2 respectively and then connected in parallel as the chip test ATEST pin, the connection point between the MOS tube drain and the current sampling tube Mhsns is connected to the non-inverting end of the comparator CMP, the output end of the comparator CMP is connected to the input end of the logic drive module CLD, the output of the logic drive module CLD is respectively connected to the power upper tube Mhpwr and the power lower tube Mlpwr, the source of the power upper tube Mhpwr is used as the chip VIN pin, the drains of the power upper tube Mhpwr and the power lower tube Mlpwr are connected as the chip SW pin, and the source of the power lower tube Mlpwr is grounded as the chip PGND pin;
[0014] Peripheral active devices, including voltage source Vsource1, voltage source Vsource2 and current source Iload, wherein the voltage source Vsource1 and the voltage source Vsource2 are connected to the chip VIN pin and the FB pin respectively, and the current source Iload is connected to the chip SW pin and the PGND pin;
[0015] And the voltage and current sampling modules, including voltage sampling module one, voltage sampling module two, voltage sampling module three and current sampling module, are respectively used to obtain the chip VIN pin, SW pin and ATEST pin voltages, and the VIN pin end current.
[0016] Furthermore, the error amplifier EA has a built-in RC compensation circuit.
[0017] Furthermore, when the circuit is tested, the chip is in an open-loop state; the inverting terminal of the error amplifier EA is connected to a voltage source Vsource2, which is compared with the reference level vref1 and amplified to generate an error level Vc; the error level Vc generates a current through the resistor Rs, and the current generates a level Vsense through the current sampling tube Mhsns and is input to the comparator CMP; the comparator CMP generates a PWM signal Vpwm to control the opening and closing of the power upper tube Mhpwr and the power lower tube Mlpwr.
[0018] Furthermore, when the chip is working;
[0019] Add the current source Iload to obtain the on-resistance rdson of the power upper tube Mhpwr;
[0020] The current source Iload is disconnected, the logic drive module CLD controls the output HG to turn off the power upper tube Mhpwr, and the logic drive module CLD controls the gate input voltage HGS of the current sampling tube Mhsns to turn on the current sampling tube Mhsns;
[0021] Turn on switch s2, turn off switch s1, and configure the voltage source Vsource2 to two values near Vref to the chip FB pin;
[0022] The current sampling module and the voltage sampling module 3 are used to respectively record two groups of sampling current I1 and chip ATEST pin voltage V3 (I1a, V3a) and (I1b, V3b) corresponding to the voltage source Vsource2;
[0023] The current sampling multiplier of the power upper tube Mhpwr is obtained based on the on-resistance rdson, the sampling current I1 and the chip ATEST pin voltage V3 as the chip current detection ratio.
[0024] Furthermore, the current sampling ratio sns_ratio of the power upper tube Mhpwr is obtained by using the following formula;
[0025] sns_ratio = (V3a-V3b) / (I1a-I1b) / rdson.
[0026] Furthermore, obtaining the on-resistance rdson of the power upper tube Mhpwr specifically includes:
[0027] The logic drive module CLD controls the output HG to turn on the power upper tube Mhpwr, and the logic drive module CLD controls the gate input voltage HGS of the current sampling tube Mhsns to turn off the current sampling tube Mhsns;
[0028] Record the sampling voltages V1 and V2 of the voltage sampling module and the sampling current I1 of the current sampling module, and use the following formula to obtain the on-resistance rdson of the power upper tube Mhpwr;
[0029] rdson = (V1-V2) / I1.
[0030] Furthermore, the voltage source Vsource2 is configured to have a voltage of 0.98~0.99Vref and 1.01~1.02Vref.
[0031] Further, the current source Iload is disconnected, so that the power upper tube Mhpwr is turned off and the current sampling tube Mhsns is turned on;
[0032] Turn on switch s1 and turn off switch s2;
[0033] Disconnect the voltage source Vsource2 from the chip FB pin, and connect the voltage source Vsource2 to the chip ATEST pin; configure the voltage source Vsource2 to two values near Vref to the chip FB pin;
[0034] The current sampling module and the voltage sampling module 3 are used to respectively record two groups of sampling currents I1' and chip ATEST pin voltages V3' (I1a', V3a') and (I1b', V3b') corresponding to the voltage source Vsource2;
[0035] The equivalent impedance ri of the chip is obtained based on the chip current detection ratio, the sampling current I1' and the chip ATEST pin voltage V3'.
[0036] Furthermore, the equivalent impedance ri of the chip adopts the following formula:
[0037] ri = (V3a'-V3b') / (I1a'-I1b') / sns_ratio.
[0038] Furthermore, the chip is a direct current-to-direct current power supply chip or a DC-DC power supply chip.
[0039] Beneficial effects of the present invention:
[0040] The present invention adopts open-loop static testing, without the need for external passive devices. Moreover, during static testing, the switch tube does not need to be frequently opened and closed under the current flow, eliminating the dependence on the response speed of the chip and the test equipment, greatly reducing the risk of chip damage during testing, and reducing the problem of electric shock and threat to personal safety during the test process.
[0041] The circuit of the present invention also eliminates the dependence on the response speed of the chip and the test equipment, greatly reduces the error and complexity of chip testing, and improves batch test results and test efficiency.
[0042] The circuit of the present invention does not need to add additional digital interfaces and analog interfaces, nor does it require external VC pins and external RC compensation components, which effectively reduces the chip packaging size and test cost, ensures versatility and reliability, and can meet the test mode setting of chips with a small number of ports.
[0043] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.
[0045] Figure 1 A schematic diagram of a traditional closed-loop test circuit in the background technology is shown.
[0046] Figure 2 A schematic diagram of a circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0047] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0048] like Figure 2 As shown, the present invention provides a circuit for accurately testing the current sensing ratio and equivalent impedance of a chip, which is composed of a chip, peripheral active devices and a voltage and current sampling device;
[0049] The chip comprises an error amplifier EA with built-in RC compensation, a PWM comparator CMP, a current sampling tube Mhsns, a logic drive module Control Logic & Driver, a power upper tube Mhpwr and a power lower tube Mlpwr; the reverse proportional input end of the error amplifier EA is connected to a voltage source Vsource2 as a chip FB pin, the same-direction proportional input end of the error amplifier EA is connected to a reference level vref, the output end of the error amplifier EA is connected to the gate of a MOS tube, the source of the MOS tube is connected to ground in series with a resistor Rs, the drain is connected to a current sampling tube Mhsns in series with an input voltage VIN, and the output end of the error amplifier EA, the connection point between the drain of the MOS tube and the current sampling tube Mhsns are respectively connected in series with a switch S 1. S2 is connected in parallel as the chip test ATEST pin, the connection point between the MOS tube drain and the current sampling tube Mhsns is connected to the in-phase end of the comparator CMP, the output end of the comparator CMP is connected to the input end of the logic drive module CLD, the output of the logic drive module CLD is respectively connected to the power upper tube Mhpwr and the power lower tube Mlpwr, the source of the power upper tube Mhpwr is used as the chip VIN pin, the drains of the power upper tube Mhpwr and the power lower tube Mlpwr are connected as the chip SW pin, and the source of the power lower tube Mlpwr is grounded as the chip PGND pin;
[0050] Peripheral active devices, including voltage source Vsource1, voltage source Vsource2 and current source Iload, wherein the voltage source Vsource1 and the voltage source Vsource2 are connected to the chip VIN pin and the FB pin respectively, and the current source Iload is connected to the chip SW pin and the PGND pin;
[0051] and a voltage and current sampling module, including a voltage sampling module 1, a voltage sampling module 2, a voltage sampling module 3 and a current sampling module, which are respectively used to obtain the voltages of the chip VIN pin, the SW pin and the ATEST pin, and the current at the VIN pin end;
[0052] No passive components are required around the chip.
[0053] Attached Figure 2 This is an example to describe this test structure, and the actual circuit is not limited to the structure. For different analog circuits, different targeted chip circuits and peripheral active devices can be designed.
[0054] During testing, the chip can be opened in an open loop without being closed in a closed loop.
[0055] The error amplifier EA compares the pin FB with the reference level vref1 and amplifies it to generate an error level Vc. The current sampling tube Mhsns shares the VIN and SW potentials with the power tube Mhpwr and is in a certain proportion. The current generated by Vc through Rs flows through Mhsns to generate the level Vsense. Vsense is compared with SW to generate a PWM signal Vpwm to control the on and off of Mhpwr and Mlpwr. The entire system can be equivalent to a voltage-controlled current source in which the current flowing through the power tube is determined by Vc, and its equivalent impedance is set to ri.
[0056] When the chip is working, add Iload current, control HG to turn on Mhpwr, control HGS to turn off Mhsns, and record voltage sampling (V1, V2) and current sampling (I1) at the same time. Assume that the on-resistance of the power upper tube Mhpwr is rdson, then
[0057] rdson = (V1-V2) / I1
[0058] Disconnect the Iload current. Control HG to turn off Mhpwr, and control HGS to turn on Mhsns.
[0059] Connect switch s2 and disconnect switch s1, so that V3 can measure the Vsense level through the ATEST port. Configure Vsource2 to connect to the FB interface, with two different values near Vref, for example, Vref±0.05V, record the corresponding two groups (I1a, V3a) and (I1b, V3b), and set the current sampling ratio of the power upper tube Mhpwr to sns_ratio, which is:
[0060] sns_ratio = (V3a-V3b) / (I1a-I1b) / rdson
[0061] Disconnect the Iload current. Control HG to turn off Mhpwr, and control HGS to turn on Mhsns.
[0062] Connect switch s1, disconnect switch s2, configure Vsource2 to disconnect the FB interface, connect to the ATEST port, and make V3 measure the Vc level. Configure Vsource2 to two different values, record the corresponding two groups (I1a', V3a') and (I1b', V3b'), then the system equivalent impedance ri:
[0063] ri = (V3a'-V3b') / (I1a'-I1b') / sns_ratio.
[0064] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A circuit for accurately testing the current sensing ratio and equivalent impedance of a chip, characterized in that include: The chip includes an error amplifier EA, a comparator CMP, a current sampling tube Mhsns, a logic driver module CLD, a power upper tube Mhpwr and a power lower tube Mlpwr; The inverse proportional input end of the error amplifier EA is connected to the voltage source Vsource2 as the chip FB pin, the inverse proportional input end of the error amplifier EA is connected to the reference level Vref, the output end of the error amplifier EA is connected to the gate of the MOS tube, the source of the MOS tube is connected in series with a resistor Rs and then grounded, the drain is connected in series with a current sampling tube Mhsns and then connected to the input voltage VIN, the output end of the error amplifier EA, the connection point between the MOS tube drain and the current sampling tube Mhsns are connected in series with switches S1 and S2 respectively and then connected in parallel as the chip test ATEST pin, the connection point between the MOS tube drain and the current sampling tube Mhsns is connected to the in-phase end of the comparator CMP, the output end of the comparator CMP is connected to the input end of the logic drive module CLD, the output of the logic drive module CLD is respectively connected to the power upper tube Mhpwr and the power lower tube Mlpwr, the source of the power upper tube Mhpwr is used as the chip VIN pin, the drains of the power upper tube Mhpwr and the power lower tube Mlpwr are connected as the chip SW pin, and the source of the power lower tube Mlpwr is grounded as the chip PGND pin; Peripheral active devices, including voltage source Vsource1, voltage source Vsource2 and current source Iload, wherein the voltage source Vsource1 and the voltage source Vsource2 are connected to the chip VIN pin and the FB pin respectively, and the current source Iload is connected to the chip SW pin and the PGND pin; And the voltage and current sampling modules, including voltage sampling module one, voltage sampling module two, voltage sampling module three and current sampling module, are respectively used to obtain the chip VIN pin, SW pin and ATEST pin voltages, and the VIN pin end current.
2. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 1, characterized in that: The error amplifier EA has a built-in RC compensation circuit.
3. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 1, characterized in that When the circuit is tested, the chip is in open-loop state; the inverting terminal of the error amplifier EA is connected to the voltage source Vsource2, which is compared with the reference level Vref and amplified to generate an error level Vc; The error level Vc generates a current through the resistor Rs, and the current generates a level Vsense through the current sampling tube Mhsns and is input to the comparator CMP; The comparator CMP generates a PWM signal Vpwm to control the on / off of the upper power tube Mhpwr and the lower power tube Mlpwr.
4. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 1, characterized in that When the chip is working; Add the current source Iload to obtain the on-resistance rdson of the power upper tube Mhpwr; The current source Iload is disconnected, the logic drive module CLD controls the output HG to turn off the power upper tube Mhpwr, and the logic drive module CLD controls the gate input voltage HGS of the current sampling tube Mhsns to turn on the current sampling tube Mhsns; Turn on switch s2, turn off switch s1, and configure the voltage source Vsource2 to two values near Vref to the chip FB pin; The current sampling module and the voltage sampling module 3 are used to respectively record two groups of sampling current I1 and chip ATEST pin voltage V3 (I1a, V3a) and (I1b, V3b) corresponding to the voltage source Vsource2; The current sampling multiplier of the power upper tube Mhpwr is obtained based on the on-resistance rdson, the sampling current I1 and the chip ATEST pin voltage V3 as the chip current detection ratio.
5. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 4, characterized in that: The current sampling ratio sns_ratio of the power upper tube Mhpwr is obtained by using the following formula; sns_ratio = (V3a-V3b) / (I1a-I1b) / rdson.
6. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 4, characterized in that Obtaining the on-resistance rdson of the power upper tube Mhpwr specifically includes: The logic drive module CLD controls the output HG to turn on the power upper tube Mhpwr, and the logic drive module CLD controls the gate input voltage HGS of the current sampling tube Mhsns to turn off the current sampling tube Mhsns; Record the sampling voltages V1 and V2 of the voltage sampling module and the sampling current I1 of the current sampling module, and use the following formula to obtain the on-resistance rdson of the power upper tube Mhpwr; rdson = (V1-V2) / I1.
7. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 4, characterized in that Configure the voltage source Vsource2 to 0.98~0.99Vref and 1.01~1.02Vref.
8. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 5, characterized in that ; Disconnect the current source Iload, turn off the power upper tube Mhpwr, and turn on the current sampling tube Mhsns; Turn on switch s1 and turn off switch s2; Disconnect the voltage source Vsource2 from the chip FB pin, and connect the voltage source Vsource2 to the chip ATEST pin; configure the voltage source Vsource2 to two values near Vref to the chip FB pin; The current sampling module and the voltage sampling module 3 are used to respectively record two groups of sampling currents I1' and chip ATEST pin voltages V3' (I1a', V3a') and (I1b', V3b') corresponding to the voltage source Vsource2; The equivalent impedance ri of the chip is obtained based on the chip current detection ratio, the sampling current I1' and the chip ATEST pin voltage V3'.
9. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 8, characterized in that The equivalent impedance ri of the chip adopts the following formula; ri = (V3a'-V3b') / (I1a'-I1b') / sns_ratio.
10. The circuit for accurately testing the current sensing ratio and equivalent impedance of a chip according to claim 1, characterized in that The chip is a DC-DC power supply chip.
