Hot plug protection circuit and hot plug assembly
By using pull-up circuits, switching circuits and detection circuits in the hot-swap protection circuit to detect and control the output voltage of the interface circuit, the problem of surge current caused by potential difference during hot-swapping is solved and the safety of the main equipment is protected. .
Patent Information
- Application Number
- CN202323539580.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2033-12-22
AI Technical Summary
During hot plugging, there may be a high potential difference between the master device and the slave device, causing surge current and damage to the device.
A hot-swap protection circuit is designed, including a pull-up circuit, a switch circuit and a detection circuit. By detecting the output voltage of the interface circuit, it controls whether the pull-up circuit is connected to the switch circuit to ensure that surge current is prevented when the potential difference is large. Cause damage to the main device.
It effectively prevents damage to the main device due to surge current caused by potential difference during hot plugging, and improves the reliability and stability of the device.
Smart Images

Figure CN221597411U
Abstract
Description
Technical Field
[0001] This utility model relates to the field of hot-swap protection circuit technology, and in particular to a hot-swap protection circuit and a hot-swap component. Background Technology
[0002] With the widespread use of electronic products, the connection or removal of master and slave devices occurs frequently, often involving hot-swapping, such as the USB hot-swapping commonly used in daily life. Hot-swapping, or hot-plugging, refers to the ability to insert or remove a hot-swappable slave device without shutting down or disconnecting the master device's power supply.
[0003] However, hot-swapping has some problems. For example, there may be a high potential difference between the master device and the slave device before hot-swapping. In this case, a large surge current will be generated between the master device and the slave device during hot-swapping, which may lead to damage to the master device and the slave device. Utility Model Content
[0004] The main purpose of this utility model is to provide a hot-swap protection circuit and hot-swap component, which aims to solve the problem of damage to the master and slave devices caused by large surge currents generated between the master and slave devices during hot-swapping.
[0005] To achieve the above objectives, this utility model proposes a hot-swap protection circuit applied to a hot-swap assembly. The hot-swap assembly includes a master device and a slave device. The master device includes a master chip and an interface circuit for hot-swapping with the slave device. The hot-swap protection circuit includes:
[0006] Pull-up circuit, the pull-up circuit being used to connect a pull-up voltage;
[0007] A switching circuit is connected to the main chip, the interface circuit, and the pull-up circuit respectively. The switching circuit is used to control the conduction and shutdown between the interface circuit and the main chip.
[0008] A detection circuit is provided, which is connected to both the interface circuit and the pull-up circuit. The detection circuit is used to detect the output voltage of the interface circuit and control whether to apply the pull-up voltage to the switching circuit based on the output voltage of the interface circuit, so as to control the switching circuit to turn on and off.
[0009] Optionally, the detection circuit includes a detection chip, a first input terminal of the detection chip connected to the interface circuit, a second input terminal of the detection chip grounded, and a control terminal of the detection chip connected to the pull-up circuit. The detection chip is used to detect the output voltage of the interface circuit and control whether to apply the pull-up voltage to the switching circuit based on the output voltage of the interface circuit to control the switching circuit's on and off states.
[0010] Optionally, the switching circuit includes:
[0011] An electronic switch is connected to the main chip, the interface circuit, and the pull-up circuit respectively; the electronic switch is used to control the conduction and cutoff between the interface circuit and the main chip.
[0012] A switch protection circuit is provided, one end of which is connected to the electronic switch, and the other end of which is grounded; the switch protection circuit is used to protect the electronic switch.
[0013] Optionally, the interface circuit includes a first port and a second port; the detection chip includes a first detection chip and a second detection chip; the switching circuit includes a first electronic switch and a second electronic switch.
[0014] The first input terminal of the first detection chip is connected to the first port; the second input terminal of the first detection chip is grounded; the control terminal of the first detection chip is connected to the pull-up circuit; the second input terminal of the second detection chip is connected to the second port; the second input terminal of the second detection chip is grounded; the control terminal of the second detection chip is connected to the pull-up circuit; the first electronic switch is connected to the main chip, the first port, and the pull-up circuit respectively; the second electronic switch is connected to the main chip, the second port, and the pull-up circuit respectively.
[0015] Optionally, the switching circuit further includes a first switch protection circuit and a second switch protection circuit; one end of the first switch protection circuit is connected to the first electronic switch, and the other end of the first switch protection circuit is grounded; one end of the second switch protection circuit is connected to the second electronic switch, and the other end of the second switch protection circuit is grounded.
[0016] Optionally, the pull-up circuit includes a first resistor; the first resistor, the first electronic switch, and the second electronic switch are connected; the first resistor is used to receive the pull-up voltage and to output the voltage after the pull-up voltage is stepped down by the first resistor.
[0017] Optionally, the pull-up circuit includes a second resistor and a third resistor; the second resistor is connected to the first electronic switch; the second resistor is used to receive the pull-up voltage and to output the voltage after the pull-up voltage is stepped down by the second resistor;
[0018] The third resistor is connected to the second electronic switch; the third resistor is used to receive the pull-up voltage and to output the voltage after the pull-up voltage is stepped down by the third resistor.
[0019] Optionally, the first electronic switch and the second electronic switch are respectively a first NMOS transistor and a second NMOS transistor.
[0020] Optionally, the first switch protection circuit and the second switch protection circuit are respectively a first bidirectional transient voltage suppression diode and a second bidirectional transient voltage suppression diode.
[0021] This utility model also proposes a hot-swap assembly, which includes a hot-swap protection circuit.
[0022] This utility model employs a hot-swap protection circuit, including a pull-up circuit, a switching circuit, and a detection circuit. When the potential difference between the master and slave devices is lower than a preset voltage value, the detection circuit detects that the output voltage of the interface circuit is lower than the preset voltage value. It then controls the pull-up circuit to provide a pull-up voltage to the switching circuit, keeping the switching circuit conducting. This keeps the master device's main chip and the interface circuit conducting, allowing the master device's main chip to connect to the slave device without damage. Conversely, when the potential difference between the master and slave devices is higher than the preset voltage value, the detection circuit detects that the output voltage of the interface circuit is higher than the preset voltage value. It then controls the pull-up circuit to stop providing a pull-up voltage to the switching circuit, turning off the switching circuit. This disconnects the connection between the master device's main chip and the interface circuit, and also disconnects the connection between the master device's main chip and the slave device. The surge current generated by the high potential difference between the master and slave devices will not damage the master device's main chip. Therefore, in the event of hot-swapping, the surge current caused by the large potential difference between the master and slave devices will not damage the master device. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0024] Figure 1 This is a schematic diagram of an embodiment of the hot-swap protection circuit of this utility model;
[0025] Figure 2 This is a schematic diagram of another embodiment of the hot-swap protection circuit of this utility model;
[0026] Figure 3 This is a schematic diagram of another embodiment of the hot-swap protection circuit of this utility model.
[0027] Explanation of icon numbers:
[0028]
[0029] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0030] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0031] It should be noted that all directional indicators (such as up, down, left, right, front, back, etc.) in this utility model embodiment are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly.
[0032] Furthermore, the use of terms such as "first" and "second" in this utility model is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this utility model.
[0033] In the existing technology, hot-swapping has some problems. For example, there may be a high potential difference between the master device and the slave device before hot-swapping. In this case, a large surge current will be generated between the master device and the slave device during hot-swapping, which may lead to damage to the master device and the slave device.
[0034] This utility model proposes a hot-swap protection circuit.
[0035] In one embodiment of this utility model, such as Figure 1 As shown, the hot-swap protection circuit is applied to a hot-swap assembly, which includes a master device and a slave device. The master device includes a master chip and interface circuitry for hot-swapping with the slave device. The hot-swap protection circuit includes:
[0036] Pull-up circuit 30 is used to connect the pull-up voltage;
[0037] Switching circuit 20 is connected to the main chip, interface circuit and pull-up circuit 30 respectively. Switching circuit 20 is used to control the conduction and cut-off between the interface circuit and the main chip.
[0038] The detection circuit 10 is connected to the interface circuit and the pull-up circuit 30 respectively. The detection circuit 10 is used to detect the output voltage of the interface circuit and control whether to apply a pull-up voltage to the switch circuit 20 to control the conduction and cutoff of the switch circuit 20 based on the output voltage of the interface circuit.
[0039] In this embodiment, the switching circuit 20 can control the switching between the main chip of the master device and the interface circuit, that is, it can control the switching between the main chip of the master device and the inserted slave device.
[0040] In this embodiment, when the slave device is inserted into the interface circuit of the master device, the master device's main chip remains powered on, resulting in hot-plugging. When the potential difference between the master and slave devices is lower than a preset voltage value, the detection circuit 10 detects that the output voltage of the interface circuit is lower than the preset voltage value. It then controls the pull-up circuit 30 to provide a pull-up voltage to the switching circuit 20. The switching circuit 20 remains on, and the master device's main chip and the interface circuit remain on. The master device's main chip can connect to the slave device through the interface circuit without causing damage to the master device's main chip. When the potential difference between the master and slave devices is higher than the preset voltage value, the detection circuit 10 detects that the output voltage of the interface circuit is higher than the preset voltage value. The detection circuit 10 then controls the pull-up circuit 30 to stop providing a pull-up voltage to the switching circuit 20. The switching circuit 20 is off, and the connection between the master device's main chip and the interface circuit, as well as between the master device's main chip and the slave device, is severed. The surge current generated by the high potential difference between the master and slave devices will not damage the master device's main chip. Thus, in this embodiment, when hot-plugging occurs, the surge current caused by the large potential difference between the master device and the slave device will not damage the master device.
[0041] In this invention, when the potential difference between the master device and the slave device is lower than a preset voltage value, the detection circuit 10 detects that the output voltage of the interface circuit is lower than the preset voltage value. It then controls the pull-up circuit 30 to provide a pull-up voltage to the switching circuit 20. At this time, the switching circuit 20 remains on, and the master chip of the master device remains on with the interface circuit. The master chip can connect to the slave device through the interface circuit without causing damage to the master chip. When the potential difference between the master device and the slave device is higher than the preset voltage value, the detection circuit 10 detects that the output voltage of the interface circuit is higher than the preset voltage value. The detection circuit 10 then controls the pull-up circuit 30 to stop providing a pull-up voltage to the switching circuit 20. At this time, the switching circuit 20 is off, and the connection between the master chip and the interface circuit, and between the master chip and the slave device, is severed. The surge current generated by the high potential difference between the master and slave devices will not damage the master chip. Thus, in this invention, during hot-plugging, the surge current caused by the large potential difference between the master and slave devices will not damage the master device.
[0042] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the detection circuit 10 includes a detection chip. The first input terminal of the detection chip is connected to the interface circuit, the second input terminal of the detection chip is grounded, and the control terminal of the detection chip is connected to the pull-up circuit 30. The detection chip is used to detect the output voltage of the interface circuit and control whether to apply a pull-up voltage to the switching circuit 20 according to the output voltage of the interface circuit to control the conduction and cutoff of the switching circuit 20.
[0043] In this embodiment, the first input terminal of the detection chip receives the output voltage of the interface circuit. The detection chip detects the output voltage of the interface circuit. When the detected output voltage is lower than a preset voltage value, it controls the pull-up circuit 30 to provide a pull-up voltage to the switching circuit 20, at which point the switching circuit 20 remains on. When the detected output voltage is higher than the preset voltage value, it controls the pull-up circuit 30 to be grounded through the detection chip. The pull-up circuit 30 then stops providing a pull-up voltage to the switching circuit 20, and the switching circuit 20 is turned off. This disconnects the main chip from the interface circuit, protecting the main chip from damage by surge current. Thus, this embodiment uses a detection chip to detect the output voltage of the interface circuit and control the pull-up voltage input, simplifying circuit design and providing high reliability.
[0044] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the switching circuit 20 includes:
[0045] Electronic switch 21 is connected to the main chip, the interface circuit, and the pull-up circuit 30 respectively; electronic switch 21 is used to control the conduction and cut-off between the interface circuit and the main chip.
[0046] The switch protection circuit 22 has one end connected to the electronic switch 21 and the other end grounded; the switch protection circuit 22 is used to protect the electronic switch 21.
[0047] It should be noted that during hot-swapping, static electricity may be generated in the interface circuit due to the contact and separation between the slave device and the master device. The inflow of static electricity may damage the electronic switch 21.
[0048] In this embodiment, the electronic switch 21 is used to control the connection or disconnection between the main chip of the host device and the interface circuit. The switch protection circuit 22 is connected to both the electronic switch 21 and ground. It discharges static electricity generated during contact and separation between the slave device and the host device into the ground, protecting the electronic switch 21 from damage. Simultaneously, static electricity is prevented from flowing into subsequent circuits, protecting them from overvoltage or electrostatic damage and improving the stability of the hot-swap protection circuit.
[0049] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the interface circuit includes a first port and a second port; the detection chip includes a first detection chip 11 and a second detection chip 12; the switch circuit 20 includes a first electronic switch and a second electronic switch.
[0050] The first input terminal of the first detection chip 11 is connected to the first port; the second input terminal of the first detection chip 11 is grounded; the control terminal of the first detection chip 11 is connected to the pull-up circuit 30; the second input terminal of the second detection chip 12 is connected to the second port; the second input terminal of the second detection chip 12 is grounded; the control terminal of the second detection chip 12 is connected to the pull-up circuit 30; the first electronic switch is connected to the main chip, the first port, and the pull-up circuit 30 respectively; the second electronic switch is connected to the main chip, the second port, and the pull-up circuit 30 respectively.
[0051] It should be noted that the interface circuit can have multiple ports with different functions or protocols to achieve the transmission of signals with different functions or protocols. For example, the TYPEC0_DP interface and the TYPEC0_DM interface can realize the forward and negative transmission of data signals. In this embodiment, the interface circuit includes a first port and a second port, which can be used to realize hot-plugging between master devices and slave devices with different functions or protocols. In this embodiment, a first protection line including a first electronic switch and a first detection chip 11 is set between the first port and the main chip. A second protection line including a second electronic switch and a second detection chip 12 is set between the second port and the main chip. The first line, the second line, and the pull-up circuit 30 together constitute a hot-plug protection circuit, which can protect the main chip from damage while realizing the transmission of signals with different functions or protocols.
[0052] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the switch circuit 20 also includes a first switch protection circuit and a second switch protection circuit; one end of the first switch protection circuit is connected to the first electronic switch, and the other end of the first switch protection circuit is grounded; one end of the second switch protection circuit is connected to the second electronic switch, and the other end of the second switch protection circuit is grounded.
[0053] In this embodiment, a first switch protection circuit is provided to protect the first switch from electrostatic damage, and a second switch protection circuit is provided to protect the second switch from electrostatic damage generated during hot-plugging, thereby improving the reliability of the hot-plugging protection circuit.
[0054] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the pull-up circuit 30 includes a first resistor R1; the first resistor R1, the first electronic switch and the second electronic switch are connected; the first resistor R1 is used to connect the pull-up voltage and to output the voltage after the pull-up voltage is stepped down by the first resistor R1.
[0055] It should be noted that the input pull-up voltage may be too large or voltage fluctuations may occur, affecting the operation of the switching circuit 20. In this embodiment, the pull-up voltage is divided by a pull-up resistor, and the divided pull-up voltage is provided to the electronic switch 21 to enable the electronic switch 21 to conduct. This adjusts the input pull-up voltage to match the operating voltage of the switching circuit 20, enhancing the stability of the hot-swap protection circuit.
[0056] In this embodiment, a first resistor R1 can be used. When the first chip detects that the output voltage of the first port or the output voltage of the second port is higher than a preset value, it controls the first resistor R1 to be grounded. At this time, both the first and second electronic switches stop receiving pull-up voltage, and both are turned off. This protects the main chip from damage by surge current. In this embodiment, a first resistor R1 is used to simplify the circuit.
[0057] Furthermore, in one embodiment of this utility model, as Figure 3 As shown, the pull-up circuit 30 includes a second resistor R2 and a third resistor R3; the second resistor R2 is connected to the first electronic switch; the second resistor R2 is used to input the pull-up voltage and to output the voltage after the pull-up voltage is stepped down by the second resistor R2.
[0058] The third resistor R3 is connected to the second electronic switch; the third resistor R3 is used to connect the pull-up voltage and the output pull-up voltage after being stepped down by the third resistor R3.
[0059] In this embodiment, two resistors can be used, namely the second resistor and the third resistor R3. In this embodiment, when the first chip detects that the output voltage of the first port is higher than a preset value, it controls the second resistor R2 to ground, thus stopping the first electronic switch from receiving the pull-up voltage, and the first electronic switch is turned off. Similarly, when the second chip detects that the output voltage of the second port is higher than a preset value, it can control the second electronic switch to turn off. In this embodiment, the first and second electronic switches can be controlled separately without affecting each other, enhancing the practicality of the hot-swap protection circuit.
[0060] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the first electronic switch and the second electronic switch are the first NMOS transistor NM1 and the second NMOS transistor NM2, respectively.
[0061] In this embodiment, the NMOS transistor has a low on-resistance, which allows for efficient signal transmission between the main chip of the host device and the interface circuit during the on-state, reducing energy loss. Furthermore, the NMOS transistor has a fast switching speed, enabling rapid switching from the on-state to the off-state, thus protecting the main chip of the host device.
[0062] Furthermore, in one embodiment of this utility model, as Figure 2 As shown, the first switch protection circuit and the second switch protection circuit are respectively the first bidirectional transient voltage suppression diode D1 and the second bidirectional transient voltage suppression diode D2.
[0063] In this embodiment, the bidirectional transient voltage suppression diode can simultaneously suppress both forward and reverse overvoltages, thereby providing more comprehensive protection for the first and second electronic switches in the circuit from damage caused by overvoltages generated during hot-plugging or by overvoltages generated during the operation of other circuit modules. In this embodiment, the bidirectional suppression diode can quickly and effectively eliminate transient overvoltages, enhancing the reliability of the hot-plug protection circuit.
[0064] This utility model also proposes a hot-swap assembly, which includes a hot-swap protection circuit, a master device, and a slave device. The specific structure of the hot-swap protection circuit is as described in the above embodiments. Since the hot-swap assembly adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described in detail here.
[0065] The above description is only an optional embodiment of the present utility model and does not limit the patent scope of the present utility model. All equivalent structural transformations made under the inventive concept of the present utility model using the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.
Claims
1. A hot-swap protection circuit, applied to a hot-swap component, wherein the hot-swap component comprises a master device and a slave device, wherein the master device comprises a master chip and an interface circuit for hot-swap with the slave device, characterized in that: The hot-swap protection circuit comprises: A pull-up circuit, the pull-up circuit is used to access a pull-up voltage; A switch circuit, wherein the switch circuit is connected to the main chip, the interface circuit and the pull-up circuit respectively, and the switch circuit is used to control the conduction and disconnection between the interface circuit and the main chip; A detection circuit, wherein the detection circuit is connected to the interface circuit and the pull-up circuit respectively; the detection circuit is used to detect the output voltage of the interface circuit, and control whether to connect the pull-up voltage to the switch circuit according to the output voltage of the interface circuit to control the conduction and shutdown of the switch circuit.
2. The hot-swap protection circuit according to claim 1, characterized in that: The detection circuit includes a detection chip, a first input end of the detection chip is connected to the interface circuit, a second input end of the detection chip is grounded, and a control end of the detection chip is connected to the pull-up circuit; the detection chip is used to detect the output voltage of the interface circuit, and control whether to connect the pull-up voltage to the switch circuit according to the output voltage of the interface circuit to control the conduction and shutdown of the switch circuit.
3. The hot-swap protection circuit according to claim 1, characterized in that: The switch circuit comprises: An electronic switch, the electronic switch is connected to the main chip, the interface circuit and the pull-up circuit respectively; the electronic switch is used to control the conduction and disconnection between the interface circuit and the main chip; A switch protection circuit, one end of which is connected to the electronic switch, and the other end of which is grounded; the switch protection circuit is used to protect the electronic switch.
4. The hot-swap protection circuit according to claim 2, characterized in that: The interface circuit includes a first port and a second port; the detection chip includes a first detection chip and a second detection chip; the switch circuit includes a first electronic switch and a second electronic switch; The first input end of the first detection chip is connected to the first port; the second input end of the first detection chip is grounded; the control end of the first detection chip is connected to the pull-up circuit; the second input end of the second detection chip is connected to the second port; the second input end of the second detection chip is grounded; the control end of the second detection chip is connected to the pull-up circuit; the first electronic switch is respectively connected to the main chip, the first port and the pull-up circuit; the second electronic switch is respectively connected to the main chip, the second port and the pull-up circuit.
5. The hot-swap protection circuit according to claim 4, characterized in that: The switch circuit also includes a first switch protection circuit and a second switch protection circuit; one end of the first switch protection circuit is connected to the first electronic switch, and the other end of the first switch protection circuit is grounded; one end of the second switch protection circuit is connected to the second electronic switch, and the other end of the second switch protection circuit is grounded.
6. The hot-swap protection circuit according to claim 4, characterized in that: The pull-up circuit includes a first resistor; the first resistor, the first electronic switch and the second electronic switch are connected; the first resistor is used to access the pull-up voltage and output the voltage of the pull-up voltage after being stepped down by the first resistor.
7. The hot-swap protection circuit according to claim 4, characterized in that: The pull-up circuit includes a second resistor and a third resistor; the second resistor is connected to the first electronic switch; the second resistor is used to access the pull-up voltage and output the voltage of the pull-up voltage after being stepped down by the second resistor; The third resistor is connected to the second electronic switch; the third resistor is used to access the pull-up voltage and output the voltage of the pull-up voltage after being stepped down by the third resistor.
8. The hot-swap protection circuit according to claim 4, characterized in that: The first electronic switch and the second electronic switch are respectively a first NMOS transistor and a second NMOS transistor.
9. The hot-swap protection circuit according to claim 5, characterized in that: The first switch protection circuit and the second switch protection circuit are respectively a first bidirectional transient voltage suppression diode and a second bidirectional transient voltage suppression diode.
10. A hot-swap assembly, characterized in that: The hot-swap component comprises the hot-swap protection circuit according to any one of claims 1 to 9.
