Power tube test circuit and power protection chip
By designing the test circuit of the power tube in the power protection chip, and using the control circuit to reduce the output current in the test mode, the problem of detecting large current in the power protection chip is solved, and stable test results are achieved and detection needs are met.
Patent Information
- Application Number
- CN202110790128.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-13
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-07-13
AI Technical Summary
Existing power protection chips are difficult to effectively detect large currents in mass production testing, resulting in unstable test results and inability to meet the detection requirements.
A test circuit for power tubes is designed, including power tubes, control circuits and sampling tubes. By conducting the first unit tubes in the test mode and closing N unit tubes, the output current of the power tubes is reduced, thereby reducing the output current of the power tubes, thereby reducing the large current. Convert to a small current that can pass the probe test to improve test stability.
It realizes stable detection of large currents, meets the testing needs, and avoids instability of test results and probe current limitation.
Smart Images

Figure CN113655358B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to a test circuit for a power tube and a power protection chip. Background Art
[0002] Many power protection chips integrate power tubes. Among them, the power tube is the transistor that serves as the final output in the amplifier circuit. The power tube can be based on the maximum collector dissipation power P CM The size of the power tube is divided into high-power tube and low-power tube. Among them, the power tube with a maximum collector dissipation power greater than 1 watt (W) can be a high-power tube, and the power tube with a maximum collector dissipation power less than 1W can be a low-power tube.
[0003] These power tubes will flow through ampere-level high currents when they are working normally. High currents easily cause large voltage drops at both ends of the power tubes, and the power tubes will heat up. If tested directly, the test results will be unstable. Moreover, the probes for mass production tests do not allow high currents to be input.
[0004] At present, the mass production test of power protection chips is still configured with a small current gear to detect small currents, making it difficult to detect large currents and meet testing requirements. Summary of the invention
[0005] The present application provides a test circuit for a power tube. The circuit includes a power tube, a control circuit and a sampling tube. The power tube includes N+1 unit tubes, and the N+1 unit tubes include a first unit tube and N unit tubes. In a test mode, the control circuit turns on the first unit tube and turns off the N unit tubes, reducing the output current of the power tube, thereby converting a large current into a small current that can be tested by a probe, and improving the stability of the test.
[0006] In a first aspect, the present application provides a test circuit for a power tube, the circuit comprising a power tube, a control circuit and a sampling tube, the power tube comprising N+1 unit tubes, the N+1 unit tubes comprising a first unit tube and N unit tubes, N being greater than 1;
[0007] In the test mode, the control circuit turns on the first unit tube and turns off the N unit tubes to reduce the output current of the power tube.
[0008] In some possible implementations, the N+1 unit tubes are all N-type metal oxide semiconductor field effect transistors NMOS, the drains of the N+1 unit tubes are connected to the power input terminal, and the sources of the N+1 unit tubes are connected to the output terminal;
[0009] The gates of the N unit tubes are connected to a control circuit, which includes a first switch tube and a second switch tube. The first switch tube is a P-type metal oxide semiconductor field effect transistor PMOS, and the second switch tube is an NMOS. When the first switch tube is in an off state and the second switch tube is in an on state, the gates and sources of the N unit tubes are short-circuited, the N unit tubes are turned off, the first unit tube is turned on, and the output current of the power tube is reduced.
[0010] In some possible implementations, the control circuit also includes a first logic unit, a third switch tube, a fourth switch tube, a fifth switch tube, a first resistor and a first inverter, and a second inverter. The third switch tube is NMOS, and the fourth switch tube and the fifth switch tube are PMOS; the gates of the fourth switch tube and the fifth switch tube are connected, the sources of the fourth switch tube and the fifth switch tube are connected to the power input terminal, the drain of the fourth switch tube is respectively connected to the source of the fourth switch tube and the drain of the third switch tube, the gate of the third switch tube is connected to the first logic unit, the drain of the fifth switch tube is respectively connected to the input terminal of the first inverter and the first end of the first resistor, the output terminal of the first inverter is connected to the input terminal of the second inverter, the output terminal of the second inverter is connected to the gate of the second switch tube, and the second end of the first resistor is connected to the output terminal.
[0011] In some possible implementations, the first logic unit is used to control the state of the third switch tube in combination with the test current. When the third switch tube is turned on, the fourth switch tube is turned on and the bias current is mirrored to the high-voltage port. A pull-up current source is formed through the fifth switch tube. The pull-up current of the fifth switch tube generates a voltage drop on the first resistor. The first inverter outputs a low level. The second inverter is used to output a high level. Correspondingly, the first switch tube is turned off and the second switch tube is turned on.
[0012] In some possible implementations, the circuit further includes a current limiting resistor, a first end of the current limiting resistor is grounded, a second end of the current limiting resistor is connected to the source of the sampling tube via a sixth switch tube, and the sixth switch tube is a PMOS.
[0013] In some possible implementations, the circuit also includes a rail-to-rail operational amplifier, the source of the sampling tube and the sources of N+1 unit tubes are respectively connected to the input of the rail-to-rail operational amplifier, and the output of the rail-to-rail operational amplifier is connected to the gate of the sixth switching tube.
[0014] In some possible implementations, the circuit further includes a second logic unit and a charge pump, and the second logic unit is a comparator;
[0015] One input end of the comparator is connected to the second end of the current limiting resistor, the other input end of the comparator is connected to the reference voltage, the output end of the comparator is connected to the gate of the sampling tube, the first end of the charge pump is connected to the gate of the sampling tube, and the other end of the charge pump is connected to the source of the first unit tube.
[0016] In some possible implementations, the N+1 unit tubes are completely matched.
[0017] In some possible implementations, the number of unit tubes is determined according to a current limiting threshold and a maximum measurement value of a test probe.
[0018] In a second aspect, the present application provides a power protection chip, characterized in that the power protection chip includes a test circuit for the power tube in the first aspect or any implementation of the first aspect.
[0019] Based on the implementations provided in the above aspects, the present application can also be further combined to provide more implementations.
[0020] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0021] An embodiment of the present application provides a test circuit for a power tube, which includes a power tube, a control circuit and a sampling tube, wherein the power tube includes N+1 unit tubes, and the N+1 unit tubes include a first unit tube and N unit tubes. In a test mode, the control circuit turns on the first unit tube and turns off the N unit tubes to reduce the output current of the power tube. In this way, the output current of the power tube can be controlled so that the output current meets the test requirements.
[0022] Furthermore, the test circuit of the power tube in this embodiment includes two test modes. When the current flowing through the power tube meets the test requirements, the output current remains unchanged. When the current flowing through the power tube is greater than the testable current, the current is limited and sampled, and the output current is 1 / N of the current flowing through the power tube, so that the output current meets the test requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical methods of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 A schematic diagram of a power tube test circuit provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of a power protection chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The scheme in the embodiments provided in this application will be described below in conjunction with the drawings in this application.
[0027] The terms "first" and "second" in the embodiments of the present application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0028] First, some technical terms involved in the embodiments of the present application are introduced.
[0029] In the current test of power tubes, how to test large currents has always been a difficult problem in the industry. On the one hand, large currents easily produce large voltage drops at both ends of the power tubes, causing the power tubes to heat up, causing overheating protection, and making it impossible to perform stable tests. On the other hand, mass-produced probes have maximum current limits and cannot test large currents.
[0030] In view of this, the present application proposes a test circuit for a power tube, which includes a power tube, a control circuit and a sampling tube, wherein the power tube includes multiple unit tubes, specifically including a first unit tube and N unit tubes. In the test mode, the control circuit turns on the first unit tube and turns off the N unit tubes, thereby reducing the output current of the power tube so that the output current is always less than the testable current, thereby being able to safely and stably test large currents.
[0031] For ease of understanding, the test circuit of the power tube provided in the embodiment of the present application is introduced below with reference to the accompanying drawings.
[0032] See also Figure 1 The schematic diagram of the test circuit of the power tube shown in FIG. 1 includes a power tube, a control circuit and a sampling tube, wherein the power tube includes N+1 unit tubes, specifically including a first unit tube and N unit tubes.
[0033] Specifically, the unit tube (mpass) is an N-type metal oxide semiconductor field effect transistor (negative channel metal oxide semiconductor, NMOS), the drain of the unit tube is connected to the power input terminal, and the source is connected to the output terminal.
[0034] The control circuit may include a first switch tube and a second switch tube, wherein the first switch tube is a P-type metal oxide semiconductor field effect transistor (positive channel metal oxide semiconductor, PMOS) and the second switch tube is an NMOS.
[0035] The source of the first switch tube is connected to the gate of the sampling tube and the gate of the first unit tube, the drain of the first switch tube is connected to the gates of the N unit tubes, and the gate of the first switch tube is connected to the gate of the second switch tube. The drain of the second switch tube is connected to the gates of the N unit tubes, and the source of the second unit tube is connected to the source of the N unit tubes and the power output.
[0036] When the first switch tube is in the off state and the second switch tube is in the on state, the source and gate of the N unit tubes are disconnected, so the N unit tubes are turned off and the output current of the power tube is reduced. When the N unit tubes work normally, the output current of the power tube is I=N*i, where i is the current flowing through each unit tube in the N unit tubes, and N is the number of unit tubes.
[0037] When the first switch tube is in the on state and the second switch tube is in the off state, the gates of the N unit tubes are connected to the gate of the first unit tube, and the output current is not sampled and remains unchanged, thereby ensuring the test accuracy under low current conditions.
[0038] Specifically, the power tube includes N unit tubes, where N is greater than 1. N can be determined based on the current limiting threshold and the maximum measurement value of the test probe. In some embodiments, when the ratio of the current limiting threshold to the maximum measurement value of the test probe is an integer, N can be the integer value. For example, the current limiting threshold is 4 amperes (Ampere, A), the maximum measurement value of the test probe is 1A, and N=4A / 1A=4. Among them, N can also be an integer value greater than the ratio.
[0039] In some embodiments, when the ratio of the current limiting threshold to the maximum measurement value of the test probe is not an integer, N can be an integer value obtained by rounding up the above ratio. For example, if the current limiting threshold is 5A and the maximum measurement value of the test probe is 2A, the ratio can be 5A / 2A=2.5. At this time, N can be an integer value obtained by rounding up the ratio, that is, N can be 3. Among them, N can also be other integer values greater than the above ratio, such as 4.
[0040] It should be noted that the unit tubes included in the power tube may also be different. In some embodiments, the sizes of the unit tubes may be different, and the maximum current value allowed to flow through each unit tube may be different. Taking the current limiting threshold as 5A as an example, the power tube may include three unit tubes, the maximum current value allowed to flow through two unit tubes may be 2A, and the maximum current value allowed to flow through another unit tube may be 1A.
[0041] In some possible implementations, the control circuit may further include a first logic unit, a third switch tube, a fourth switch tube, a fifth switch tube, a first resistor, a first inverter, and a second inverter.
[0042] The first logic unit is used to control the state of the third switch tube according to the test current. In some possible implementations, the first logic unit is an NOR gate structure, and only when all inputs are low level (logic 0), it outputs a high level (logic 1). The first input of the first logic unit can reflect the working mode of the circuit.
[0043] When the circuit is in normal working condition, the first input of the first logic unit can be at a high level, and when the circuit is in a test mode, the first input of the first logic unit can be at a low level. When the circuit is in a test mode, the second input can reflect the magnitude of the current flowing through the power tube: when the current flowing through the power tube is a large current, the second input can be at a low level, and when the current flowing through the power tube is a small current, the second input can be at a high level.
[0044] The third switch tube can be an NMOS, the source of the third switch tube is connected to a fixed current source, optionally, the fixed current source is 0.5 μA, the gate of the third switch tube is connected to the output of the first logic unit, and the drain of the third switch tube is connected to the drain of the fourth switch tube, the gate of the fourth switch tube and the gate of the fifth switch tube. The first logic unit controls the on and off of the third switch tube according to the input.
[0045] The fourth switch tube may be a PMOS, a source of the fourth switch tube is connected to a power input, a gate of the fourth switch tube is connected to a drain of the fourth switch tube, and is connected to a gate of the fifth switch tube and a drain of the third switch tube.
[0046] The fifth switch tube can be a PMOS, the source of the fifth switch tube is connected to the power input, the gate of the fifth switch tube is connected to the gate of the fourth switch tube, the drain of the fourth switch tube and the drain of the third switch tube, and the drain of the fifth switch tube is connected to one end of the first resistor.
[0047] A first end of the first resistor is connected to the drain of the fifth switch tube, and the other end is connected to the power output end.
[0048] The input end of the first inverter is connected to the drain of the fifth switch tube and the first end of the first resistor, and the output end of the first inverter is connected to the input end of the second inverter.
[0049] The input end of the second inverter is connected to the output end of the first inverter, and the output end of the second inverter is connected to the gate of the first switch tube and the gate of the second switch tube.
[0050] In some possible implementations, the circuit may further include a diode, wherein the diode is connected in parallel with the first resistor, the anode of the diode is connected to the output, and the cathode of the diode is connected to the input of the first inverter and the drain of the fifth switch tube.
[0051] The first logic unit is used to control the state of the third switch tube: when in the high current test mode, the first input of the first logic unit is low level, the second input is low level, and the output of the first logic unit is high level. Therefore, the third switch tube is turned on, the fourth switch tube is turned on, the bias current is mirrored to the high voltage port, and a pull-up current source is formed through the fifth switch tube. The pull-up current of the fifth switch tube generates a voltage drop on the first resistor, the first inverter outputs a low current, the second inverter outputs a high current, the first switch tube is turned off, the second switch tube is turned on, the gate and source of the Nth unit tube are short-circuited, the Nth unit tube is turned off, and the high current test mode is entered, and the output current is a current limit value of 1 / N.
[0052] When in the low current test mode, the first input of the first logic unit is low level, the second input is high level, and the output of the first logic unit is low level. Therefore, the third switch tube is turned off, the fifth switch tube has no pull-up current, the first resistor connects the input of the first inverter to the output end, the first inverter outputs a high level, the second inverter outputs a low level, the first switch tube is turned on, the second switch tube is turned off, the gates of the N unit tubes and the first unit tube are connected together, the output current is not sampled, and remains unchanged, thereby ensuring the test accuracy of the small current.
[0053] In some possible implementations, the circuit further includes a current limiting resistor (rlim), and the logic output of the second input terminal of the first logic unit can be determined by the current limiting resistor. The current limiting resistor can be an external current limiting threshold configuration resistor, and the size of the current limiting resistor determines the size of the current limiting of the circuit. In practice, the threshold current for high and low level switching of the second input terminal of the first logic unit can be set according to the range of the actual test machine.
[0054] A first end of the current limiting resistor is grounded, and a second end is connected to the source of the sampling tube through a sixth switch tube, and the sixth switch tube is a PMOS.
[0055] In some possible implementations, the circuit further includes a rail-to-rail operational amplifier, a second logic unit, and a charge pump.
[0056] The drain of the sixth switch tube is connected to the second end of the current limiting resistor and the input end of the second logic unit, the gate of the sixth switch tube is connected to the output end of the rail-to-rail amplifier, and the source of the sixth switch tube is connected to the inverting input end of the rail-to-rail amplifier.
[0057] An operational amplifier (OPA, also called an op amp) is an amplifying circuit that can perform mathematical operations on signals, and is usually combined with a feedback network to form a certain functional module. If the voltage input to the non-inverting input of the operational amplifier is higher than the voltage input to the inverting input, the output of the operational amplifier will output a voltage that is the same as the positive power supply voltage; if the voltage input to the inverting input is higher than the voltage input to the non-inverting input, the output of the operational amplifier will output a voltage that is the same as the negative power supply voltage. If the operational amplifier uses a single power supply, if the voltage input to the inverting input is higher than the voltage input to the non-inverting input, the output voltage of the output of the operational amplifier is. In this embodiment, a single-power supply operational amplifier is used. When the voltage input to the non-inverting input of the operational amplifier is higher than the voltage input to the inverting input, a high level is output, and when the voltage input to the inverting input of the operational amplifier is higher than the voltage input to the non-inverting input, a low level is output.
[0058] The non-inverting input terminal of the rail-to-rail operational amplifier is connected to the power supply output, and is also connected to one end of the charge pump, the source of the first unit tube, the other end of the first resistor, the source of the second switch tube, and the source of the Nth unit tube. The inverting input terminal of the rail-to-rail operational amplifier is connected to the source of the sixth switch tube and the source of the sampling tube. The output terminal of the rail-to-rail operational amplifier is connected to the gate of the sixth switch tube.
[0059] The second logic unit may be a comparator, and optionally, an operational amplifier A may be used as the comparator. The non-inverting input terminal of the operational amplifier A is a reference voltage (vref), the inverting input terminal of the operational amplifier A is the second end of the current limiting resistor and the drain of the sixth switch tube, and the output terminal of the operational amplifier A is connected to one end of the charge pump and the gate of the sampling tube and the gate of the first unit tube.
[0060] The charge pump is an energy storage element that can change the output voltage according to the input voltage. In this embodiment, the charge pump is connected to the output of the second logic unit and the non-inverting input of the rail-to-rail operational amplifier respectively, so as to provide a voltage for the current limiting resistor.
[0061] When the output current of the power tube approaches the current limiting threshold, the voltage drop of the sampling tube current on the current limiting resistor approaches the reference voltage, the current limiting loop reduces the gate and source voltages of the power tube, and the current flowing through the power tube is limited. In some possible implementations, the resistance value of each current limiting resistor corresponds to a maximum output current.
[0062] In normal operation, the output current is not sampled. Only in the test mode will the sampling method for the output current be determined according to the current limit size. Optionally, when the output current is a small current (for example, less than the maximum measurement value of the test probe), the output current remains unchanged. When the output current is a large current, the output current is 1 / N of the large current. The large current can be a current that exceeds the current that the probe can test.
[0063] The first logic unit is used to determine the working mode of the circuit. The first logic unit is an NOR gate structure, and only when all inputs are low level (logic 0), the output is high level (logic 1). In the test mode, the first input of the first logic unit is input at a low level. The second input of the first logic unit is a logic output for determining the current limit size. When the output current is a small current, the second input of the first logic unit is a high level, and the output of the first logic unit outputs a low level. When the output current is a large current, the second input of the first logic unit is a low level, and the output of the first logic unit outputs a high level, and the output current is reduced to 1 / N of the original.
[0064] In the high current test mode, the first input terminal of the first logic unit is at a low level, the second input terminal of the first logic unit is at a low level, and the output terminal of the first logic unit is at a high level. The third switch tube is turned on, the fourth switch tube is turned on, the bias current is mirrored to the high voltage port, and a pull-up current source is formed through the fifth switch tube. The pull-up current of the fifth switch tube generates a voltage drop on the first resistor, the first inverter outputs a low current, the second inverter outputs a high current, the first switch tube is turned off, the second switch tube is turned on, the gate and source of the Nth unit tube are short-circuited, the Nth unit tube is turned off, and the output current is a current limit value of 1 / N.
[0065] In the low current test mode, the first input end of the first logic unit is at a low level, the second input end of the first logic unit is at a high level, and the output end of the first logic unit is at a low level. The third switch tube is turned off, the fourth switch tube is turned off, and the fifth switch tube cannot form a pull-up current. The input of the first inverter is the power supply output end through the first resistor, so the first inverter outputs a high level, the second inverter outputs a low level, the first switch tube is turned on, the second switch tube is turned off, the gate of the Nth unit tube is connected to the gate of the first unit tube, and the output current is not sampled and remains unchanged, thereby ensuring the accuracy of the low current test.
[0066] The sampling ratio can be automatically switched between the high current test mode and the low current test mode. The sampling ratio in the low current test mode is 1, which ensures the sampling accuracy. In the high current test mode, the sampling ratio is determined according to the output current and the current limit, so that the current meets the probe requirements and can be tested stably.
[0067] Optionally, the second input of the first logic unit can be determined by a current limiting resistor. The current limiting resistor can be a configuration resistor for an external current limiting threshold, and the value of the current limiting resistor determines the value of the current limiting current. Specifically, the current limiting threshold current for controlling the high and low level switching of the second input of the first logic unit can be set according to the range of the test machine.
[0068] In some possible implementations, the test circuit of the power tube can also be used to detect the working state of the chip under high current.
[0069] In summary, the test circuit of the power tube provided in the embodiment of the present application includes a power tube and a sampling tube, wherein the power tube includes a plurality of unit tubes, and the power tube is connected to the sampling tube. When the circuit is in the test mode, the sampling tube adjusts the states of the plurality of unit tubes in the power tube according to the preset current limiting threshold, controls the output current of the power tube, and makes the output current of the power tube meet the preset current limiting threshold, thereby.
[0070] Furthermore, the circuit includes a working mode and a test mode, and the test mode includes a small current test mode in which the current passing through the power tube meets a preset current limiting threshold and a large current test mode in which the current passing through the power tube is greater than the preset current limiting threshold. According to the magnitude of the current passing through the power tube and the preset current limiting threshold, different circuits are used to test the current flowing through the power tube.
[0071] Corresponding to the above circuit embodiment, the present application also provides a power protection chip, such as Figure 2 As shown, the power protection chip includes the above-mentioned test circuit of the power tube.
[0072] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0073] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the system part description.
[0074] It should also be noted that, in this article, the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0075] The above description of the disclosed embodiments will enable professionals in the field to implement or use the various modifications of these embodiments to be apparent to professionals in the field, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A power tube test circuit, characterized in that: The circuit includes a power tube, a control circuit, a sampling tube, a rail-to-rail operational amplifier and a current limiting resistor. The power tube includes N+1 unit tubes, the N+1 unit tubes include a first unit tube and N unit tubes, the N is greater than 1, the source of the N+1 unit tubes is connected to the in-phase input terminal and the power output terminal of the rail-to-rail operational amplifier, the drain of the N+1 unit tubes and the drain of the sampling tube are connected to the power input terminal, the source of the sampling tube is connected to the inverting input terminal of the rail-to-rail operational amplifier and the source of the sixth switch tube, the gate of the sampling tube is connected to the gate of the first unit tube, the output of the rail-to-rail operational amplifier is connected to the gate of the sixth switch tube, the first end of the current limiting resistor is grounded, the second end of the current limiting resistor is connected to the drain of the sixth switch tube, and the sixth switch tube is a PMOS; The gates of the N unit tubes are connected to the control circuit, and the control circuit includes a first logic unit, a first switch tube, a second switch tube, a third switch tube, a fourth switch tube, a fifth switch tube, a first resistor, a first inverter and a second inverter. The first logic unit is an NOR gate structure. The source of the first switch tube is connected to the gate of the sampling tube and the gate of the first unit tube. The drain of the first switch tube is connected to the gates of the N unit tubes. The gate of the first switch tube is connected to the gate of the second switch tube. The drain of the second switch tube is connected to the gates of the N unit tubes. The source of the second switch tube is connected to the source of the N unit tubes and the power output end. The third switch The source of the switch is connected to a fixed current source, the gate of the third switch is connected to the first logic unit, the gate of the fourth switch is connected to the gate of the fifth switch, the source of the fourth switch and the fifth switch is connected to the power input, the gate of the fourth switch is connected to the drain of the fourth switch and the drain of the third switch respectively, the drain of the fifth switch is connected to the input of the first inverter and the first end of the first resistor respectively, the output of the first inverter is connected to the input of the second inverter, the output of the second inverter is connected to the gate of the first switch and the second switch, and the second end of the first resistor is connected to the power output; In the test mode, the control circuit turns on the first unit tube and turns off the N unit tubes to reduce the output current of the power tube.
2. The circuit according to claim 1, characterized in that The N+1 unit tubes are all N-type metal oxide semiconductor field effect transistors NMOS; The first switch tube is a P-type metal oxide semiconductor field effect transistor PMOS, the second switch tube is the NMOS, and when the first switch tube is in an off state and the second switch tube is in an on state, the gates and sources of the N unit tubes are short-circuited, the N unit tubes are turned off, the first unit tube is turned on, and the output current of the power tube is reduced.
3. The circuit according to claim 2, characterized in that When in a high current test mode, the first input of the first logic unit is a low level, the second input is a low level, and the output of the first logic unit is a high level to control the third switch tube to be turned on. When in a low current test mode, the first input of the first logic unit is a low level, the second input is a high level, and the output of the first logic unit is a low level to control the third switch tube to be turned off. The third switch tube is the NMOS, and the fourth switch tube and the fifth switch tube are the PMOS.
4. The circuit according to claim 3, characterized in that The fourth switch tube is used to turn on when the third switch tube is turned on, and mirror the bias current to the high-voltage port, and form a pull-up current source through the fifth switch tube. The pull-up current of the fifth switch tube generates a voltage drop on the first resistor, and the first inverter outputs a low level. The second inverter is used to output a high level. Correspondingly, the first switch tube is turned off and the second switch tube is turned on.
5. The circuit according to claim 1, characterized in that The control circuit further includes a second logic unit and a charge pump, wherein the second logic unit is a comparator; One input end of the comparator is connected to the second end of the current limiting resistor, the other input end of the comparator is connected to the reference voltage, the output end of the comparator is connected to the gate of the sampling tube, the first end of the charge pump is connected to the gate of the sampling tube, and the other end of the charge pump is connected to the source of the first unit tube.
6. The circuit according to any one of claims 1 to 2, characterized in that: The number of the unit tubes is determined according to a current limiting threshold and a maximum measurement value of a test probe.
7. A power protection chip, characterized in that: The power protection chip comprises a test circuit for a power tube as claimed in any one of claims 1 to 6.
