Hot-swap protection device
By designing a hot-swap protection device for sampling resistors and power tubes in HDMI circuits, and controlling the output of the power tubes by sampling voltage and current, the problems of high cost and slow response speed in the prior art are solved, and the circuit stability is achieved Dual optimization of sex and cost.
Patent Information
- Application Number
- CN202011005510.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-09-23
AI Technical Summary
The existing hot-swap protection circuits used in high-definition multimedia interface (HDMI) circuits have high cost and slow response speed. Traditional control circuits can easily lead to excessive power when power tubes are started, which may damage the circuit, and in order to avoid it. This problem usually selects higher power tubes, causing the circuit to exceed the design margin and increase costs.
A hot-swap protection device is designed, including a sampling resistor and a power tube between the input port and the output port, and a power control circuit is connected to the power tube control end, which is through an input control module, a first switch tube and an output. The control module adjusts the circuit state according to the sampling voltage and sampling current, controls the output power of the power tube to ensure current limiting current under preset conditions and avoids overloading of the power tube.
It reduces circuit costs and improves circuit stability, ensures that the power consumption of power tubes is within the safe range, avoids circuit damage, reduces the design margin of the circuit, and reduces the overall cost.
Smart Images

Figure CN114257070B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of integrated circuits, and in particular to a hot plug protection device. Background Art
[0002] High-availability systems such as servers, network switches, redundant storage disk arrays RAID, and other forms of communication infrastructure need to have a near-zero downtime rate throughout their entire lifecycle. If a component of such a system fails or needs to be upgraded, it must be replaced without interrupting the rest of the system. The failed circuit board or module will be removed and the replacement component will be inserted while the system remains operational. This process is called hot swapping (also called hot plugging when the module interacts with the system software). Hot swapping improves the system's ability to recover from disasters, scalability, and flexibility.
[0003] In the prior art, hot plug detection (HPD) protection circuits for various interface circuits, especially high definition multimedia interface (HDMI) circuits, are often implemented using ESD devices or voltage regulator diodes. However, ESD devices have higher standards and are very expensive, and voltage regulator diodes have slow response speeds and are prone to failure.
[0004] Another design of hot-swap protection circuit in the prior art is to use a control circuit to control the on / off and other functions of the power tube. When controlling the power tube to be on, the startup process of the power tube is that the output port rises from 0 to equal to the input voltage. The traditional control circuit only controls the current flowing through the power tube during the startup process. If the power tube is started with a heavy load, it may enter a current limiting state. At the beginning of the startup, the voltage difference between the two ends of the power tube is large, so the power is also high. Excessive power may exceed the safe working area of the power tube and burn the power tube. Usually, a higher power tube is selected to avoid this problem. However, this may cause the circuit to exceed the design margin (over design) and increase costs. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a hot-swap protection device, which can reduce circuit cost and improve circuit stability.
[0006] The present invention provides a hot-swap protection device, comprising a sampling resistor and a power tube arranged between an input port and an output port, and a power control circuit connected to a control end of the power tube, wherein the power control circuit comprises:
[0007] An input control module adjusts its own circuit state to generate a control signal according to the sampled voltage of the power tube and the sampled current of the sampling resistor;
[0008] A first switch tube, the control end of which is connected to the output end of the input control module, the first end of which is used as the output end of the power control circuit, and the second end of which is grounded. When the sampling voltage meets the preset condition, the first switch tube is turned on and maintained in the on state according to the control signal;
[0009] The output control module is connected to the input control module and the first end of the first switch tube respectively, and when the first switch tube is in the cut-off state, the sampling current is limited; and when the first switch tube is in the on state, the output voltage of the first end of the first switch tube is adjusted according to the sampling current to control the output power of the power tube.
[0010] Preferably, the hot-swap protection device further comprises:
[0011] A current detection circuit, connected between the sampling resistor and the power control circuit, for detecting the current passing through the sampling resistor and generating the sampling current;
[0012] A voltage detection circuit connected between the power tube and the power control circuit to detect the voltage difference between the two ends of the power tube and generate the sampling voltage; and
[0013] The power resistor is connected between the power control circuit and the ground.
[0014] Preferably, the input control module comprises:
[0015] A first current source and a first transistor connected in series between a power supply terminal and ground;
[0016] A second transistor and a second current source connected in series between the power supply terminal and the ground, the connection node between the second transistor and the second current source is connected to the control terminal of the first transistor, and the control terminal of the second transistor is connected to the connection node between the first current source and the first transistor;
[0017] A third transistor and a third current source connected in series between the power supply terminal and the ground, wherein the control terminal of the third transistor is connected to the control terminal of the second transistor;
[0018] A fourth current source and a fourth transistor are connected in series between the power supply terminal and the ground, and the connection node between the fourth current source and the fourth transistor serves as the output terminal of the aforementioned input control module. The control terminal of the fourth transistor is connected to the connection node between the aforementioned third transistor and the third current source.
[0019] Preferably, the output control module includes:
[0020] a fifth current source and a sixth current source connected in series between the power supply terminal and the ground;
[0021] A first current mirror, comprising a fifth transistor and a sixth transistor, wherein first terminals of the fifth transistor and the sixth transistor are commonly connected to a power supply terminal, control terminals of the fifth transistor and the sixth transistor are commonly connected to a second terminal of the fifth transistor, and the fifth transistor is connected in parallel to both ends of the fifth current source;
[0022] A second current mirror comprises a seventh transistor and an eighth transistor, wherein first terminals of the seventh transistor and the eighth transistor are commonly connected to the ground, control terminals of the seventh transistor and the eighth transistor are commonly connected to the second terminal of the seventh transistor, and the second terminal of the seventh transistor is connected to the second terminal of the sixth transistor;
[0023] A charge pump, the output end of which is connected to the second end of the eighth transistor, the connection node between the charge pump and the eighth transistor is connected to the first end of the first switch tube, and together serves as the output end of the output control module, and is connected to the control end of the power tube.
[0024] Preferably, the first current source and the fifth current source are both reference current sources provided inside the chip, and the second current source is a set current source provided outside the chip based on the power resistor.
[0025] Preferably, the fourth current source and the sixth current source are equivalent current sources of the current detection circuit, and are used to provide the sampling current;
[0026] The third current source is an equivalent current source of the voltage detection circuit, and is used to provide a conversion current of the sampling voltage.
[0027] Preferably, the second current source comprises:
[0028] An operational amplifier, wherein a non-inverting input terminal of the operational amplifier is connected to a reference voltage;
[0029] A ninth transistor, a tenth transistor and the power resistor connected in series between the power supply terminal and the ground, the control terminal of the tenth transistor being connected to the output terminal of the operational amplifier, and the connection node between the tenth transistor and the power resistor being connected to the inverting input terminal of the operational amplifier;
[0030] an eleventh transistor and a twelfth transistor connected in series between the power supply terminal and the ground, wherein the first terminals of the eleventh transistor and the ninth transistor are commonly connected to the power supply terminal, and the control terminals of the eleventh transistor and the ninth transistor are commonly connected to the second terminal of the ninth transistor;
[0031] A thirteenth transistor, wherein the first terminals of the thirteenth transistor and the twelfth transistor are commonly connected to the ground, the control terminal of the thirteenth transistor is connected to the control terminal of the twelfth transistor, and the second terminal of the thirteenth transistor serves as the output terminal of the aforementioned second current source.
[0032] Preferably, the power transistor, the first switch transistor, the fifth transistor, the sixth transistor, the seventh transistor, the eighth transistor, the ninth transistor, the tenth transistor, the eleventh transistor, the twelfth transistor and the thirteenth transistor are all metal oxide semiconductor field effect transistors.
[0033] Furthermore, the first transistor, the second transistor, the third transistor and the fourth transistor are all bipolar transistors.
[0034] Preferably, the power transistor, the first switch transistor, the seventh transistor, the eighth transistor, the tenth transistor, the twelfth transistor and the thirteenth transistor are all N-type metal oxide semiconductor field effect transistors.
[0035] Furthermore, the first transistor, the second transistor, the third transistor and the fourth transistor are all NPN bipolar transistors.
[0036] Preferably, the fifth transistor, the sixth transistor, the ninth transistor and the eleventh transistor are all P-type metal oxide semiconductor field effect transistors.
[0037] The beneficial effects of the present invention are as follows: a hot-swap protection device provided by the present invention comprises a sampling resistor and a power tube arranged between an input port and an output port, and a power control circuit connected to a control end of the power tube, wherein the power control circuit comprises: an input control module, which adjusts its own circuit state to generate a control signal according to a sampling voltage of the power tube and a sampling current of the sampling resistor; a first switch tube, whose control end is connected to an output end of the input control module, whose first end serves as an output end of the power control circuit, and whose second end is grounded; and the first switch tube is turned on and maintains its on state according to the control signal when the sampling voltage meets a preset condition; and an output control module, which is respectively connected to the input control module and the output end of the power tube. The module is connected to the first end of the first switch tube. When the power tube is only overcurrent but does not reach the limited power, the first switch tube is controlled to be in a cut-off state, and the control loop composed of the output control module limits the current flowing through the power tube to a constant current. When the voltage difference between the two ends of the power tube is large and the power consumed is greater than the limited power, the first switch tube is turned on by the generated control signal to form a new closed loop, and the sampling current is combined with the output of the charge pump to adjust the voltage of the output end (control end of the power tube) of the power control circuit, reduce the current flowing through the power tube and reduce its power, so that when the loop is stable, the power consumption of the power tube is limited to the set value, while reducing the circuit cost, it also improves the stability of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.
[0039] Figure 1 A schematic diagram showing the structure of a hot-swap protection device provided by an embodiment of the present invention is shown;
[0040] Figure 2 Show Figure 1 A schematic diagram of the structure of a power control circuit in a hot-swap protection device shown;
[0041] Figure 3 Show Figure 2 Schematic diagram of the internal structure of the current source Iref1 in the power control circuit shown. DETAILED DESCRIPTION
[0042] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0044] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
[0045] Figure 1 A schematic diagram of the structure of a hot-swap protection device provided by an embodiment of the present invention is shown. Figure 2 Show Figure 1 The structural schematic diagram of the power control circuit in the hot plug protection device shown.
[0046] refer to Figure 1 and Figure 2A hot-swap protection device 100 provided by an embodiment of the present invention comprises: a sampling resistor Rs and a power tube Q1 arranged between an input port VIN and an output port VOUT, and a power control circuit 120 connected to a control end of the power tube Q1, the power control circuit 120 comprising: an input control module 121 connected between a power supply end VDD and a control end of the power tube Q1, a switch tube M5 and an output control module 122, wherein the input control module 121 adjusts the sampling voltage (Isen1 is used to characterize the conversion current of the sampling voltage, and Isen1 is used to represent the sampling voltage in the following text) at both ends of the power tube Q1 and the sampling currents Isen0 and Isen2 of the aforementioned sampling resistor Rs. The circuit state itself generates a control signal VB4; the control end of the switch tube M5 is connected to the output end of the input control module 121, the first end is used as the output end of the power control circuit 120, and the second end is grounded. When the current signal Isen1 converted from the sampling voltage meets the preset condition, the switch tube M5 is turned on and maintains its on state according to the control signal VB4; the output control module 122 is respectively connected to the input control module 121 and the first end of the switch tube M5, and when the switch tube M5 is in the off state, the sampling currents Isen0 and Isen2 are limited; and when the switch tube M5 is in the on state, the output voltage Vg of the first end of the switch tube M5 is adjusted according to the sampling currents Isen0 and Isen2.
[0047] In this embodiment, the hot-swap protection device 100 further includes: a current detection circuit 110, a voltage detection circuit 130, and a power resistor Rp, wherein the current detection circuit 110 is connected between the sampling resistor Rs and the power control circuit 120 to detect the current passing through the sampling resistor Rs and generate the aforementioned sampling currents Isen0 and Isen2, and the value of the sampling current Isen0 is equal to the value of the sampling current Isen2; the voltage detection circuit 130 is connected between the power tube Q1 and the power control circuit 120 to detect the voltage difference between the two ends of the power tube Q1 and generate the aforementioned current signal Isen1 converted from the sampling voltage; and the power resistor Rp is connected between the power control circuit 120 and the ground.
[0048] The hot-swap protection device 100 detects the voltage across the sampling resistor Rs through the current detection circuit 110 to indirectly detect the current Isen0 and Isen2 flowing through the power tube Q1, detects the voltage difference across the power tube Q1 through the voltage detection circuit 130, and converts it into a current signal Isen1, and then obtains the power consumed by the power tube Q1 through a product operation through the power control circuit 120. The maximum power (the aforementioned preset condition) allowed to be consumed by the power tube Q1 is set through the reference setting of the circuit. When the power tube Q1 exceeds the power, the gate voltage Vg of the control end of the power tube Q1 is controlled through the internal loop composed of the input control module 121, the switch tube M5 and the output control module 122 in the power control circuit 120 to control the on-off state of the power tube Q1, so as to control the current flowing through the power tube Q1, and finally control the power consumed by the power tube Q1 to be within the set safe power range.
[0049] In addition, the current detection circuit 110 and the voltage detection circuit 130 in this embodiment can be implemented using the technical solutions disclosed in the prior art, aiming to realize the detection function described above, so as to provide the detection signals (sampling current and sampling voltage) corresponding to the aforementioned ones, which will not be elaborated in detail in the embodiments of the present invention.
[0050] refer to Figure 2 The input control module 121 includes: a current source Iref0, a current source Iref1, a current source Isen1, a current source Isen0, a transistor M1, a transistor M2, a transistor M3 and a transistor M4.
[0051] Specifically, the current source Iref0 and the transistor M1 are connected in series between the power supply terminal VDD and the ground, the transistor M2 and the current source Iref1 are connected in series between the power supply terminal VDD and the ground, and the connection node between the transistor M2 and the current source Iref1 is connected to the control terminal of the transistor M1, so as to provide the first bias voltage VB1 to the transistor M1, and the control terminal of the transistor M2 is connected to the connection node between the current source Iref0 and the transistor M1, and receives the second bias voltage VB2 provided by the connection node; the transistor M3 and the current source Isen1 are connected in series between the power supply terminal VDD and the ground, and the control terminal of the transistor M3 is connected to the control terminal of the aforementioned transistor M2; the current source Isen0 and the transistor M4 are connected in series between the power supply terminal VDD and the ground, and the connection node between the current source Isen0 and the transistor M4 serves as the output terminal of the aforementioned input control module, so as to provide the fourth bias voltage VB4, and at the same time, the control terminal of the transistor M4 is connected to the connection node between the aforementioned transistor M3 and the current source Isen1, and receives the third bias voltage VB3 provided by the connection node.
[0052] In this embodiment, the output control module 122 includes: a current source Iref2 , a current source Isen2 , a first current mirror, a second current mirror and a charge pump 1221 .
[0053] Specifically, the current source Iref2 and the current source Isen2 are connected in series between the power supply terminal VDD and the ground; the first current mirror includes a transistor M6 and a transistor M7, and the first ends of the transistor M6 and the transistor M7 are commonly connected to the power supply terminal VDD, the control ends of the transistor M6 and the transistor M7 are commonly connected to the second end of the transistor M6, and the transistor M6 is connected in parallel to the two ends of the current source Iref2; the second current mirror includes a transistor M8 and a transistor M9, and the first ends of the transistor M8 and the transistor M9 are commonly connected to the ground, the control ends of the transistor M8 and the transistor M9 are commonly connected to the second end of the transistor M8, and the second end of the transistor M8 is connected to the second end of the aforementioned transistor M7; and the output end of the charge pump 1221 is connected to the second end of the transistor M9, and the connection node of the charge pump 1221 and the transistor M9 is connected to the first end of the switch tube M5, and they are commonly used as the output end of the output control module 122, and are connected to the control end of the power tube Q1 to provide the gate voltage Vg of the power tube Q1.
[0054] In this embodiment, the current source Iref0 and the current source Iref2 are, for example, reference current sources provided inside the chip, and the current source Iref1 is a set current source based on the power resistor Rp and provided outside the chip.
[0055] Furthermore, the aforementioned current source Isen0 and the aforementioned current source Isen2 are, for example, equivalent current sources of the current detection circuit 110 , for providing the sampling currents Isen0 and Isen2 respectively;
[0056] The current source Isen1 is, for example, an equivalent current source of the voltage detection circuit 130 , and is used to provide the conversion current Isen1 of the sampled voltage.
[0057] Furthermore, the transistor M1 , the transistor M2 , the transistor M3 and the transistor M4 are all bipolar junction transistors (BJT).
[0058] Furthermore, the transistor M1 , the transistor M2 , the transistor M3 , and the transistor M4 are all NPN bipolar junction transistors (BJT).
[0059] when Figure 2 When the four NPN bipolar transistors (transistor M1 to transistor M4) in the circuit are all working in the amplification region,
[0060] VB2=VBE2+VBE3=VBE1+VBE4 (1)
[0061] Wherein, VBE2, VBE3, VBE1 and VBE4 correspond to the voltage difference between the base and the emitter of transistor M2, transistor M3, transistor M1 and transistor M4 respectively, and:
[0062] VBE2=VT*ln(Iref1 / Is) (2)
[0063] VBE3=VT*ln(Isen1 / Is) (3)
[0064] VBE1=VT*ln(Iref0 / Is) (4)
[0065] VBE4=VT*ln(Isen0 / Is) (5)
[0066] Wherein, VT is the thermoelectric potential, Is is the saturation current of the bipolar transistor (transistor M1 to transistor M4), Iref1, Isen1, Iref0 and Isen0 are the currents provided by the current source Iref1, the current source Isen1, the current source Iref0 and the current source Isen0 respectively. Substituting equations (2), (3), (4) and (5) into equation (1), the simplified equation is:
[0067] Iref0*Iref1=Isen0*Isen1 (6)
[0068] refer to Figure 3 The current source Iref1 includes: an operational amplifier 1211, a transistor M10, a transistor M11, a transistor M12, a transistor M13 and the aforementioned power resistor Rp, and a transistor M14.
[0069] Specifically, the non-inverting input terminal of the operational amplifier 1211 is connected to the reference voltage Vref; the transistor M10, the transistor M11 and the power resistor Rp are connected in series between the power supply terminal VDD and the ground, and the control terminal of the transistor M11 is connected to the output terminal of the operational amplifier 1211, and the connection node between the transistor M11 and the power resistor Rp is connected to the inverting input terminal of the operational amplifier 1211 to provide a negative feedback voltage VFB; the transistor M12 and the transistor M13 are connected in series between the power supply terminal VDD and the ground, the transistor M12 and the transistor M10 form a current mirror structure, and the first terminals of the transistor M12 and the transistor M10 are commonly connected to the power supply terminal VDD, and the control terminals of the transistor M12 and the transistor M10 are commonly connected to the second terminal of the transistor M10; and the first terminals of the transistor M14 and the transistor M13 are commonly connected to the ground, the control terminal of the transistor M14 is connected to the control terminal of the transistor M13, and the second terminal of the transistor M14 serves as the output terminal of the aforementioned current source Iref1.
[0070] Furthermore, the power tube Q1, the switch tube M5, the transistor M6, the transistor M7, the transistor M8, the transistor M9, the transistor M10, the transistor M11, the transistor M12, the transistor M13 and the transistor M14 are all metal oxide semiconductor field effect transistors (MOSFET), referred to as MOS tubes.
[0071] Furthermore, the power transistor Q1, the switch transistor M5, the transistor M8, the transistor M9, the transistor M11, the transistor M13 and the transistor M14 are all N-type MOS transistors, and the transistor M6, the transistor M7, the transistor M10 and the transistor M12 are all P-type MOS transistors.
[0072] In this embodiment Figure 3 In the current source Iref1 circuit shown, the power resistor Rp is an external power limiting resistor, Vref is the reference voltage inside the chip, and the operational amplifier 1211 works in a negative feedback state so that the reference voltage Vref = negative feedback voltage VFB. By adjusting the ratio of the current mirror, it can be obtained:
[0073] Iref1=Vref / Rp (7)
[0074] Further, combined with Figure 1 and Figure 2 , through the current detection circuit 110 and the voltage detection circuit 130, respectively:
[0075] Isen0=Isen2=1 / K*Vs / Rs=1 / K*IOUT (8)
[0076] Isen1=VDS / R (9)
[0077] Among them, K is the proportional coefficient, Vs is the voltage difference across the sampling resistor Rs, IOUT is the current flowing through the power tube Q1, VDS is the voltage difference across the source and drain of the power tube Q1, and R is the resistance designed inside the chip.
[0078] Substituting formula (7), (8), and (9) into formula (6), we obtain:
[0079] IOUT*VDS=K*R / Rp*Iref0*Vref (10)
[0080] Among them, IOUT*VDS is the power consumed by the power tube Q1.
[0081] When the power tube Q1 is only overcurrent but does not reach the limited power, Iref0*Iref1>Isen0*Isen1, the third bias voltage VB3 received by the control terminal of the transistor M4 is greater than the turn-on voltage of the transistor M4, and VB4 is pulled down, which in turn causes the switch tube M5 to be turned off. Through the loop formed by the output control module 122, the sampling currents Isen0 and Isen2 are limited, and the following is obtained:
[0082] Isen2=Iref2+I1 (11)
[0083] The internal loop composed of the input control module 121, the switch tube M5 and the output control module 122 in the power control circuit 120 is used as an enabling device. It accurately sets the power supply voltage that the power tube Q1 must reach. Once the power control circuit 120 is enabled, the gate of the power tube Q1 begins to charge, and the gate voltage Vg of the power tube Q1 (N-channel MOSFET) used in this circuit must be higher than the source. In order to achieve this condition within the entire power supply voltage range, the hot plug protection device 100 can maintain the gate voltage Vg of the power tube Q1 at a level higher than the input voltage through the internal integrated charge pump 1221. When necessary, the gate voltage Vg of the power tube Q1 requires the charge pump 1221 to pull up the current to enable the power tube Q1, and requires a pull-down current to disable the power tube Q1. The weaker pull-down current is used for regulation, and the stronger pull-down current is used to quickly disable the power tube Q1 in the case of a short circuit (only overcurrent but not reaching the limited power).
[0084] Specifically in this embodiment, Igate is the driving current (the aforementioned pull-up current) provided by the charge pump 1221, which is used to drive the control terminal gate of the power tube Q1. Figure 2 As shown, when the loop in the power control circuit 120 reaches a balance, I0=Igate, and by adjusting the ratio of the first current mirror and the second current mirror, the following is achieved:
[0085] I1 = m * I0 = m * Igate (12)
[0086] Wherein, m is the proportionality coefficient of the first current mirror (also the second current mirror). Substituting formula (12) into formula (11) and arranging, we get:
[0087] IOUT = K * (Iref2 + m * Igate) (13)
[0088] In this embodiment, the use of the current mirror in the loop intermediate stage of the power control circuit 120 can effectively reduce the impedance of the output node of the power control circuit 120, thereby reducing the loop gain, making loop compensation easier, and obtaining higher stability.
[0089] In this embodiment, when the voltage difference between the source and drain of the power transistor Q1 is large and the consumed power is greater than the specified power, satisfying Iref0 * Iref1 < Isen0 * Isen1, the third bias voltage VB3 received by the control terminal of the transistor M4 decreases, causing the transistor M4 to be cut off or weakly conducting, and then causing the switching transistor M5 to conduct, forming a loop. According to the sampling currents Isen0 and Isen2, and the drive current Igate, the output voltage Vg of the first end of the switching transistor M5 is adjusted, and the consumed power of the switching transistor M5 is reduced by reducing IOUT. When the final loop is stable, the power is limited to the value set by formula (10).
[0090] In summary, the hot-swap protection device 100 provided by the present invention includes a sampling resistor Rs and a power tube Q1 arranged between an input port VIN and an output port VOUT, and a power control circuit 120 connected to the control end of the power tube Q1. The power control circuit 120 includes: an input control module 121 connected between a power supply end VDD and the control end of the power tube Q1, a switch tube M5 and an output control module 122, wherein the input control module 121 is used to adjust its own circuit state to generate a control signal according to the sampling voltage of the source and drain of the power tube Q1 and the sampling current of the sampling resistor Rs; the control end of the switch tube M5 is connected to the output end of the input control module 121, the first end is used as the output end of the power control circuit 120, and the switch tube M5 is turned on and maintains its on state according to the control signal when the sampling voltage meets the preset condition; the output The output control module 122 is connected to the input control module 121 and the first end of the switch tube M5 respectively. When the power tube Q1 is only overcurrent but does not reach the limited power, the switch tube M5 is controlled to be in the off state, and the control loop formed by the output control module 122 limits the current flowing through the power tube Q1 to a constant current. When the voltage difference between the two ends of the power tube Q1 is large and the power consumed is greater than the limited power, the switch tube M5 is turned on by the generated control signal to form a new closed loop, and the sampling current is combined with the driving current output by the charge pump 1221 to adjust the output end (control end of the power tube Q1) voltage Vg of the power control circuit 120. By reducing the current flowing through the power tube Q1, the power consumed by it is reduced, so that when the loop is stable, the power consumption of the power tube Q1 is limited to the value set by formula (10), while reducing the circuit cost, the stability of the circuit is also improved.
[0091] It should be noted that in the description of the present invention, it is necessary to understand that the terms "upper", "lower", "inner" and the like indicating directions or positional relationships are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limitations on the present invention.
[0092] In addition, in this article, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also includes 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 that includes the element.
[0093] Finally, it should be noted that: Obviously, the above embodiments are only examples for clearly explaining the present invention, and are not intended to limit the implementation methods. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from this are still within the scope of protection of the present invention.
Claims
1. A hot-swap protection device, comprising a sampling resistor and a power tube arranged between an input port and an output port, and a power control circuit connected to a control end of the power tube, characterized in that: The power control circuit comprises: An input control module, which adjusts its own circuit state to generate a control signal according to the sampled voltage of the power tube and the sampled current of the sampling resistor; A first switch tube, a control end of which is connected to the output end of the input control module, a first end of which serves as the output end of the power control circuit, and a second end of which is grounded. When the sampling voltage meets a preset condition, the first switch tube is turned on and maintains its state according to the control signal; an output control module, connected to the input control module and the first end of the first switch tube respectively, and limiting the sampling current when the first switch tube is in the off state; and adjusting the output voltage of the first end of the first switch tube according to the sampling current when the first switch tube is in the on state to control the output power of the power tube, Wherein, the input control module includes: A first current source and a first transistor connected in series between a power supply terminal and ground; a second transistor and a second current source connected in series between a power supply terminal and a ground, wherein a connection node between the second transistor and the second current source is connected to a control terminal of the first transistor, and the control terminal of the second transistor is connected to a connection node between the first current source and the first transistor; a third transistor and a third current source connected in series between the power supply terminal and the ground, wherein the control terminal of the third transistor is connected to the control terminal of the second transistor; A fourth current source and a fourth transistor are connected in series between the power supply terminal and the ground, the connection node of the fourth current source and the fourth transistor serves as the output terminal of the input control module, and the control terminal of the fourth transistor is connected to the connection node of the third transistor and the third current source.
2. The hot-swap protection device according to claim 1, characterized in that: Also includes: A current detection circuit, connected between the sampling resistor and the power control circuit, for detecting the current passing through the sampling resistor and generating the sampling current; A voltage detection circuit, connected between the power tube and the power control circuit, for detecting a voltage difference between two ends of the power tube and generating the sampling voltage; as well as The power resistor is connected between the power control circuit and the ground.
3. The hot-swap protection device according to claim 2, characterized in that: The output control module comprises: a fifth current source and a sixth current source connected in series between the power supply terminal and the ground; A first current mirror, comprising a fifth transistor and a sixth transistor, wherein first terminals of the fifth transistor and the sixth transistor are commonly connected to a power supply terminal, control terminals of the fifth transistor and the sixth transistor are commonly connected to a second terminal of the fifth transistor, and the fifth transistor is connected in parallel to both ends of the fifth current source; A second current mirror comprises a seventh transistor and an eighth transistor, wherein first terminals of the seventh transistor and the eighth transistor are commonly connected to the ground, control terminals of the seventh transistor and the eighth transistor are commonly connected to the second terminal of the seventh transistor, and the second terminal of the seventh transistor is connected to the second terminal of the sixth transistor; A charge pump, wherein the output end of the charge pump is connected to the second end of the eighth transistor, the connection node between the charge pump and the eighth transistor is connected to the first end of the first switch tube, and together serves as the output end of the output control module and is connected to the control end of the power tube.
4. The hot-swap protection device according to claim 3, characterized in that: The first current source and the fifth current source are reference current sources provided inside the chip, and the second current source is a set current source based on the power resistor and provided inside the chip.
5. The hot-swap protection device according to claim 4, characterized in that: The fourth current source and the sixth current source are both equivalent current sources of the current detection circuit, and are used to provide the sampling current; The third current source is an equivalent current source of the voltage detection circuit, and is used to provide a conversion current of the sampled voltage.
6. The hot-swap protection device according to claim 3, characterized in that: The second current source comprises: An operational amplifier, wherein a non-inverting input terminal of the operational amplifier is connected to a reference voltage; A ninth transistor, a tenth transistor and the power resistor are connected in series between the power supply terminal and the ground, the control terminal of the tenth transistor is connected to the output terminal of the operational amplifier, and the connection node between the tenth transistor and the power resistor is connected to the inverting input terminal of the operational amplifier; an eleventh transistor and a twelfth transistor connected in series between a power supply terminal and a ground, wherein a first end of the eleventh transistor and a first end of the ninth transistor are commonly connected to the power supply terminal, and a control end of the eleventh transistor and a control end of the ninth transistor are commonly connected to a second end of the ninth transistor; A thirteenth transistor, wherein the first terminals of the thirteenth transistor and the twelfth transistor are commonly connected to the ground, the control terminal of the thirteenth transistor is connected to the control terminal of the twelfth transistor, and the second terminal of the thirteenth transistor serves as the output terminal of the second current source.
7. The hot-swap protection device according to claim 6, characterized in that: The power tube, the first switch tube, the fifth transistor, the sixth transistor, the seventh transistor, the eighth transistor, the ninth transistor, the tenth transistor, the eleventh transistor, the twelfth transistor and the thirteenth transistor are all metal oxide semiconductor field effect transistors, Furthermore, the first transistor, the second transistor, the third transistor and the fourth transistor are all bipolar transistors.
8. The hot-swap protection device according to claim 7, characterized in that: The power tube, the first switch tube, the seventh transistor, the eighth transistor, the tenth transistor, the twelfth transistor and the thirteenth transistor are all N-type metal oxide semiconductor field effect transistors, Furthermore, the first transistor, the second transistor, the third transistor and the fourth transistor are all NPN bipolar transistors.
9. The hot-swap protection device according to claim 7, characterized in that: The fifth transistor, the sixth transistor, the ninth transistor and the eleventh transistor are all P-type metal oxide semiconductor field effect transistors.
