PCIe extender embedded with violent hot plug protection function and operation method thereof

By designing a PCIe extender with embedded violent hot-swapping protection function, the problem of PCIe interface not supporting hot-swapping is solved, safe hot-swapping and high-bandwidth transmission of PCIe slave devices are realized, improving operating efficiency and compatibility.

CN118568034APending Publication Date: 2024-08-30SHENZHEN CUDY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410911990.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing PCIe interface does not support hot swapping, causing damage to the host or PCIe service daughter card. Moreover, the closed design and the low transmission rate of the Thunderbolt interface affect operating efficiency and compatibility.

Method used

Design a PCIe extender with embedded violent hot-swap protection function, including extension cable and hot-swap protection connection board. It realizes hot-swap of PCIe slave devices through protection circuit and data signal transmission circuit, and controls PCIe power supply and female socket. between circuit on-off and current limit, supporting PCIe 4.0/5.0 protocol.

Benefits of technology

The hot-swappable operation of PCIe slave devices is realized to avoid device damage, improve operating efficiency and compatibility, and make full use of the bandwidth of PCIe devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568034A
    Figure CN118568034A
Patent Text Reader

Abstract

The invention discloses a PCIe extender embedded with a violent hot plug protection function and an operation method of the PCIe extender, and relates to the technical field of computers. The PCIe extender comprises an extension line and a hot plug protection connecting plate; a hot plug protection module and a female seat are arranged on the hot plug protection connecting plate; one end of the extension cord is a male head matched with a PCIe slot of a host, and the other end of the extension cord is connected with the hot plug protection connecting plate; the PCIe power supply of the host supplies power to the female seat through the extension line; the extension line is in communication connection with the female seat. The hot plug protection module is used for controlling the on-off of a circuit between the PCIe power supply and the female seat according to the enabling control signal; prolonging the power-on duration of the female seat to be greater than or equal to a preset value; limiting the transient current input to the female seat to be less than or equal to a preset threshold value; wherein the enable signal comes from a host or is obtained by triggering of a user; according to the PCIe extender embedded with the violent hot plug protection function, hardware support is provided for violent hot plug operation of PCIe host or slave equipment which does not support hot plug.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a PCIe extender embedded with a violent hot plug protection function and an operation method thereof. Background Art

[0002] Currently in the market, most host manufacturers provide PCIe interfaces for hosts so that users can expand diversified business daughter cards; however, it is worth noting that most PCIe interfaces do not support hot-swap operations; if hot-swap is forced, it may cause damage to the motherboard or PCIe business daughter card. In order to avoid such risks, plugging and unplugging operations are usually performed in a power-off state; however, the host initialization process usually takes a long time, which undoubtedly increases the time cost of the operation; in addition, the closed host design makes the plugging and unplugging of PCIe devices less convenient, and often requires disassembly to complete, and the limitation of the internal space of the host also brings many inconveniences to the plugging and unplugging operations, seriously affecting the operation efficiency.

[0003] In order to solve the above problems, a solution using Thunderbolt to PCIe interface card has emerged; however, this solution still has some obvious defects. First, PCIe business cards are still not hot-swappable, which means that before plugging and unplugging PCIe, the Thunderbolt interface still needs to be disconnected. Secondly, the transmission rate of the Thunderbolt interface is relatively low; currently, the mass-produced PCIe 5.0 technology provides a maximum transmission rate of 512Gbps, while the latest Thunderbolt 4 technology can only provide a transmission rate of 40Gbps; therefore, the use of this solution cannot fully utilize the bandwidth of PCIe devices. Finally, since the interface has been converted once, this may affect its compatibility. In addition, the Thunderbolt interface is not found on all hosts, which means that its versatility is subject to certain limitations. Summary of the invention

[0004] In order to solve the problems existing in the prior art, the present invention provides a PCIe extender embedded with a violent hot plug protection function and an operation method thereof, which can realize hot plugging of PCIe slave devices.

[0005] To achieve the above object, the present invention provides a PCIe extender embedded with a violent hot-plug protection function, comprising: an extension line and a hot-plug protection connection board; the hot-plug protection connection board is provided with a hot-plug protection module and a female socket; the female socket is used to connect a PCIe slave device; One end of the extension cable is a male connector that matches the PCIe slot of the host, and the other end is connected to the hot-swap protection connection board; The hot-swap protection module includes a protection circuit and a data signal transmission circuit; the PCIe power supply of the host supplies power to the protection circuit through the extension line, and the extension line is communicatively connected to the data signal transmission circuit; the protection circuit and the data signal transmission circuit are respectively connected to the female socket; the data signal transmission circuit is used to transmit PCIe data signals; the protection circuit is used to: According to the enable control signal, the circuit between the PCIe power supply and the female socket is controlled to be on and off; the enable control signal is given by the AND of the full PRESENT signal of the PCIe and the external enable signal; Extending the power-on time of the female socket to be greater than or equal to a preset value; The transient current input to the female socket is limited to be less than or equal to a preset threshold.

[0006] Optionally, the protection circuit includes an enable control signal generating circuit and multiple groups of power protection circuits, the enable control signal generating circuit is respectively connected to the multiple groups of power protection circuits, and provides an enable control signal for each group of power protection circuits; the multiple groups of power protection circuits correspond one-to-one to the power supply interfaces of the PCIe power supply; the types of the power supply interfaces include at least: 12V, 3.3V and 3.3Vaux; the reference ground of each group of the power protection circuits is connected to the PCIe reference ground of the host.

[0007] Optionally, the power protection circuit includes: An enabling control and delay circuit, used to control the on / off of the circuit between the PCIe power supply and the female socket according to an enabling control signal; and to extend the power-on time of the female socket to be greater than or equal to a preset value; A current limiting circuit, used to limit the transient current input to the female socket to be less than or equal to a preset threshold; The enable control and delay circuit includes a resistor R1, a capacitor C1 and a MOS tube Q1; the current limiting circuit includes a resistor R2, a resistor R3 and an operational amplifier A1; one end of the resistor R1 is connected to the enable control signal input end, and the other end is respectively connected to one end of the capacitor C1, one end of the resistor R3, and the gate of the MOS tube Q1; the other end of the resistor R3 is connected to the output end of the operational amplifier A1; the source of the MOS tube Q1 is respectively connected to the voltage input end VIN and the other end of the capacitor C1; the drain of the MOS tube Q1 is respectively connected to the positive input end of the operational amplifier A1 and one end of the resistor R2; the other end of the resistor R2 is respectively connected to the voltage output end VOUT and the negative input end of the operational amplifier A1.

[0008] Optionally, the protection circuit further includes: PCIe auxiliary signal protection circuit for: Transmitting the PCIe auxiliary signal sent by the host to the female socket; According to the enable control signal, the inserted transient ESD or EOS energy is introduced into the PCIe power supply or PCIe reference ground of the host.

[0009] Optionally, the PCIe auxiliary signal protection circuit is a TVS diode array.

[0010] Optionally, the extension cable and the hot-swap protection connection plate are connected by welding, or are detachably connected via a gold finger assembly.

[0011] Optionally, a button, a sliding switch or a wireless controller is also provided on the hot-swap protection connection board; and a user triggers the external enabling signal through the button, the sliding switch or the wireless controller.

[0012] Optionally, an LED light is also provided on the hot-swap protection connection board; the display status of the LED light is used to indicate the on-off status between the female socket and the PCIe power supply.

[0013] Optionally, the PCIe extender further includes: The extender shell has a hot-swap protection connection board placed inside.

[0014] The present invention also provides an operation method of a PCIe extender embedded with a violent hot-plug protection function, which is applied to the above-mentioned PCIe extender embedded with a violent hot-plug protection function, comprising: Step 1, connect the male connector at one end of the extension cable to the PCIe slot of the host; connect the other end of the extension cable to the hot-swap protection connection board; the hot-swap protection connection board is provided with a hot-swap protection module and a female socket; Step 2, triggering an enable control signal to set the protection circuit in the hot-swap protection module to a closed state; the enable control signal is given by the full PRESENT signal of PCIe and the external enable signal; the PCIe power supply of the host supplies power to the protection circuit through the extension line; when the protection circuit is set to the closed state, the circuit between the PCIe power supply and the female socket is disconnected; Step 3, inserting a PCIe slave device into the female socket; Step 4, triggering an enable control signal to set the protection circuit to an on state; when the protection circuit is set to an on state, the circuit between the PCIe power supply and the female socket is turned on; the protection circuit is used to extend the power-on time of the female socket to be greater than or equal to a preset value, and to limit the transient current input to the female socket to be less than or equal to a preset threshold; Step 5, transmitting a PCIe data signal between the host and the PCIe slave device through the data signal transmission circuit of the hot-swap protection module; the extension line is communicatively connected to the data signal transmission circuit; the protection circuit and the data signal transmission circuit are respectively connected to the female socket; Step 6, unplug the PCIe slave device from the mother socket; Repeat steps 3, 5 and 6.

[0015] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: The PCIe extender embedded with a violent hot-plug protection function provided by the present invention provides hardware support for the violent hot-plug operation of a PCIe host or slave device that does not support hot-plug; the PCIe extender comprises an extension line and a hot-plug protection connection board; a hot-plug protection module and a female socket are arranged on the hot-plug protection connection board; the present invention leads the PCIe interface of the host to the hot-plug protection connection board through the extension line, thereby facilitating the hot-plug operation of a PCIe subcard device (slave device); the hot-plug protection module arranged on the hot-plug protection connection board through the hot-plug protection circuit design can control the circuit between the PCIe power supply and the female socket according to an enable control signal, and realizes the functions of power-on delay and current limitation, thereby effectively avoiding damage to the host and slave devices on both sides during hot-plug. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.

[0017] Figure 1 An integrated schematic diagram of a PCIe extender with embedded violent hot-plug protection function shown in an embodiment of the present invention; Figure 2 The present invention is a schematic diagram of a separate PCIe extender with an embedded violent hot-plug protection function according to an embodiment of the present invention; wherein Figure (a) is a schematic diagram of a separate extension line, and Figure (b) is a schematic diagram of a separate hot-plug protection connection board; Figure 3 A schematic diagram of a hot-swap protection module shown in an embodiment of the present invention; Figure 4 A schematic diagram of the module structure of a power protection circuit according to an embodiment of the present invention; Figure 5 A schematic diagram of the circuit structure of a power protection circuit according to an embodiment of the present invention; Figure 6A schematic diagram of the module structure of a PCIe auxiliary signal protection circuit according to an embodiment of the present invention; Figure 7 Schematic diagram of a discrete protection transistor circuit according to an embodiment of the present invention Figure 1 ; Figure 8 Schematic diagram of a discrete protection transistor circuit according to an embodiment of the present invention Figure 2 ; Fig. 9 Schematic diagram of a discrete protection transistor circuit according to an embodiment of the present invention Figure 3 . DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] Currently, the vast majority of hosts (or motherboards) and their PCIe service daughter card devices (such as PCIe graphics cards, network cards, sound cards, USB, etc.) on the market are not equipped with hardware hot-swap protection mechanisms. When adding or replacing PCIe daughter card devices (slave devices), in order to prevent the hot-swap operation from causing damage to the host or PCIe daughter card, the conventional operation process is: first power off the host, then disassemble the machine and connect the PCIe service daughter card, and then re-power the host after the operation is completed.

[0020] The object of the present invention is to provide a PCIe extender embedded with a violent hot-plug protection function and an operation method thereof, so that a PCIe slave device connected to a host PCIe interface can be hot-plugged.

[0021] See also Figure 1 , Figure 1 The module structure diagram of the PCIe extender with embedded violent hot plug protection function.

[0022] The above PCIe extender comprises: Extension cable and hot-swap protection connection board; the hot-swap protection connection board is provided with a hot-swap protection module and a female socket; the female socket is used to connect the PCIe slave device; One end of the extension cable is a male connector that matches the PCIe slot of the host, and the other end is connected to the hot-swap protection connection board; The hot-swap protection module includes a protection circuit and a data signal transmission circuit; the PCIe power supply of the host supplies power to the protection circuit through an extension line, and the extension line is communicatively connected to the data signal transmission circuit; the protection circuit and the data signal transmission circuit are respectively connected to the female socket; the data signal transmission circuit is used to transmit PCIe data signals; the protection circuit is used to: According to the enable control signal, the circuit between the PCIe power supply and the mother socket is controlled; the enable control signal is given by the AND of the PCIe full-range PRESENT signal and the external enable signal; Extend the power-on time of the mother socket to be greater than or equal to the preset value; Limit the transient current input to the socket to be less than or equal to the preset threshold.

[0023] In applications, the extension cable body can use high-speed connection cables, such as High-Speed ​​I / O CableAssemblies, which can comply with the CopperLink TM external cable specifications and meet PCIe 4.0 / 5.0 or higher indicators SITEST; the extension cable and hot-swap protection connection board can be designed with different PCIe channels, such as x1, x4, x8 and x16, and support PCIe protocols up to 5.0, etc., fully utilizing the PCIe channel to achieve high bandwidth requirements; in addition, extension cables with a lower number of channels can be connected to hot-swap protection connection boards with a higher number of channels, such as x1 cables can be connected to x4, x8, and x16 hot-swap protection connection boards.

[0024] The extension cord and the hot-swap protection connection plate may be integrated or separated; Figure 1 and Figure 2 As shown, one end of the extension cable is connected to the PCIe interface of the host through a male connector, and the other end can be fixedly connected to the hot-swap protection connection board by welding, or can be detachably connected to the hot-swap protection connection board by a gold finger assembly; Figure 2 As shown in the figure, when the extension cord and the hot-swap protection connection plate are connected separately, the other end of the extension cord shown in Figure (a) can be set to a gold finger male connector, and correspondingly, the hot-swap protection connection plate shown in Figure (b) is also provided with a corresponding gold finger female connector.

[0025] The PCIe extender provided by the present invention provides hardware support for the violent hot-plug operation of a PCIe host or slave device that does not support hot-plugging; the PCIe interface of the host is connected to a hot-plug protection connection board through an extension line, which provides convenience for the hot-plug operation of the PCIe sub-card; through the hot-plug protection circuit design, the hot-plug protection module arranged on the hot-plug protection connection board can control the circuit connection and disconnection between the PCIe power supply and the mother socket according to the enable control signal, and realize the power-on delay and current limiting functions at the same time, so that the damage of the host and slave devices on both sides can be effectively avoided during hot-plugging.

[0026] In one embodiment, Figure 1 , Figure 2 As shown, the hot-swap protection connection board is also provided with a button, a slide switch or a wireless controller.

[0027] In an application, a user may trigger an external enable signal (external input signal) through a button, a slide switch, or a wireless controller; through the external input signal, the hardware output enable of the PCIe device may be actively executed.

[0028] The Insert_EN signal (enable signal) can be used to control the hot-swap protection of the power output on the PCIe extender, so as to cut off or reduce the surge current of the power plug-in and reduce transient overvoltage during violent hot plugging. The signal Insert_EN that controls the hot-swap protection function of the power output on the PCIe extender is given by the internal PCIe auxiliary signal PRESENT and the external enable signal. When the PCIe daughter card device is not connected, the hot-swap protection function is enabled, and after the PCIe daughter card device is inserted, the output protection is turned off.

[0029] In one embodiment, the hot-swap protection module includes an enable control signal generating circuit and multiple groups of power protection circuits. The enable control signal generating circuit is respectively connected to the multiple groups of power protection circuits to provide an enable control signal for each group of power protection circuits. The multiple groups of power protection circuits correspond one-to-one to the power supply interfaces of the PCIe power supply. The types of the power supply interfaces include at least: 12V, 3.3V and 3.3Vaux. The reference ground of each group of power protection circuits is connected to the PCIe reference ground of the host.

[0030] like Figure 3 As shown, regarding hot plugging of power supplies, the present invention provides three groups of power protection designs, namely, three groups of power protection circuits, U1, U2, and U3, for three groups of PCIe power supplies.

[0031] The inputs of U1, U2 and U3 correspond to the 12V, 3.3V and 3.3Vaux of the host PCIe power supply respectively; the outputs of U1, U2 and U3 are connected to the 12V, 3.3V and 3.3Vaux networks of the PCIe output socket on the board, and then power the slave devices; the enable control of U1, U2 and U3 can be connected to the Insert_EN signal, which can be generated by the full PRESENT signal of the internal PCIe ( Figure 3 In the application, by adding the detection signal to enable the full PRESENT control, the outputs of U1, U2, and U3 can be disabled when the PCIe slave device is not inserted, thereby avoiding the devastating damage caused by the instantaneous power supply contact discharge when the PCIe slave device is inserted.

[0032] See also Figure 4 , the internal design of U1, U2 and U3 is as follows Figure 4 As shown, there are delay modules and current limiting modules. By adding a delay module, the power supply can be prevented from being turned on too quickly during the insertion process, and the burr interference of the enable signal can be filtered out; the current limiting module can control the output current to avoid excessive transient current and damage to the slave device. The functions of the internal design modules of U1, U2 and U3 are consistent. The difference is that there are differences in the output capabilities of each power supply according to the PCIe protocol. U1 is for 12V power output, and the specifications of the design device should be reduced to meet the maximum output of 12V / 5.5A; U2 is for 3.3V power output, and the specifications of the design device should be reduced to meet the maximum output of 3.3V / 3A; U3 is for 3.3V power output, and the specifications of the design device should be reduced to meet the maximum output of 3.3V / 0.375A; in addition, the selected device specifications should ensure that the minimum power supply voltage requirements of the subsequent PCIe daughter card can be met.

[0033] The functions of U1, U2 and U3 may be realized by a power current limiting integrated circuit with enable control, such as a power electronic switch, or a power hot-swap integrated circuit, such as a hot-swap controller LM5067.

[0034] In addition, U1, U2, and U3 can also be discrete circuits that implement the above functions; see Figure 5 , the power protection circuit exemplarily includes: The enable control and delay circuit is used to control the on / off of the circuit between the PCIe power supply and the mother socket according to the enable control signal; and to extend the power-on time of the mother socket to be greater than or equal to a preset value; A current limiting circuit, used to limit the transient current input to the female socket to be less than or equal to a preset threshold; The enable control and delay circuit includes a resistor R1, a capacitor C1 and a MOS tube Q1; the current limiting circuit includes a resistor R2, a resistor R3 and an operational amplifier A1; one end of the resistor R1 is connected to the enable control signal input end, and the other end is respectively connected to one end of the capacitor C1, one end of the resistor R3, and the gate of the MOS tube Q1; the other end of the resistor R3 is connected to the output end of the operational amplifier A1; the source of the MOS tube Q1 is respectively connected to the voltage input end VIN and the other end of the capacitor C1; the drain of the MOS tube Q1 is respectively connected to the positive input end of the operational amplifier A1 and one end of the resistor R2; the other end of the resistor R2 is respectively connected to the voltage output end VOUT and the negative input end of the operational amplifier A1.

[0035] In the application, R1 and C1 can be used to design an enable control and enable delay circuit. The Insert_EN signal is transmitted to the gate of Q1 through R1. When the signal is at a low level, Q1 is enabled and controlled to turn on. The charging and discharging process of capacitor C1 can be used to delay the turning on of Q1. By selecting a suitable C1, the power-on time, that is, the preset value, can be adjusted. Furthermore, a current limiting circuit can be designed by R2, R3 and A1. By adjusting R2 and selecting a suitable A1, the current limiting value, that is, the preset threshold, can be controlled.

[0036] It is understandable that the designs of U1, U2 and U3, that is, multiple groups of power protection circuits, can all refer to the above circuit structure, and the specifications of electronic devices can be adjusted accordingly for PCIe power supplies with different power supply interface types; for example, the op amp A1 used by U1 and U2 may have different specifications.

[0037] like Figure 3 As shown, by setting up multiple groups of power protection circuits, hot plugging of PCIe subcards can be achieved when facing different types of PCIe power supplies; as for PCIe data signals, they are directly transmitted to the mother socket through the data signal transmission circuit, and there is no need for protection circuit design; based on the fact that PCIe data signals are transmitted in differential form, the DC blocking capacitor has the characteristic of absorbing surge capability, and the extension line is a high-speed cable, adding more protection designs will cause signal line impedance mismatch or introduce more losses, thereby affecting transmission performance; in addition, to ensure transmission performance, the hot-swap protection connection board can use high-speed board materials to pursue the lowest insertion loss and achieve impedance continuity.

[0038] In one embodiment, the protection circuit further comprises: PCIe auxiliary signal protection circuit for: Transmit the PCIe auxiliary signal sent by the host to the female socket; According to the enable control signal, the inserted transient ESD or EOS energy is introduced into the PCIe power supply or PCIe reference ground of the host.

[0039] For PCIe auxiliary signals such as REFCLK (- / +), RESET#, SMB (CLK, SDA), JTAG (TRST#, TCLK, TDI, TDO, and TMS), WAKE#, etc. Figure 3 As shown, the present invention also provides a hot-swap protection design for U4 (PCIe auxiliary signal protection circuit), the connection method of which is that one end is connected to the host signal and the other end is connected to the female socket on the board to output to the slave.

[0040] In applications, the PCIe auxiliary signal protection circuit can be a hot-swap buffer of the communication bus, a discrete protection transistor circuit, or an integrated TVS diode array (ESD diode array), which can prevent contact discharge, surge, and static electricity.

[0041] U4 can be a dedicated communication bus hot-swap buffer with enable control, such as Figure 6 U4 can also be a semiconductor protection device that can release the inserted transient ESD or EOS energy into the PCIe power supply or GND to protect the chip from damage.

[0042] like Figure 7 As shown, D1 is a diode, the cathode of D1 and the anode of D2 are connected to the signal line, the anode of D1 is connected to the 3.3V power supply, and the cathode of D2 is connected to GND. D1 can preferably be a Schottky diode. The D1 and D2 protection tubes of multiple groups of signals can also be integrated ESD / TVS arrays, such as Figure 8 and Fig. 9 As shown, the common positive terminal 5 of the D3 tube is connected to 3.3V, the common negative terminal 2 is connected to GND, and the DATA terminals 1, 3, 4, and 6 are connected to the PCIe auxiliary signals REFCLK (- / +), RESET#, SMB (CLK, SDA), JTAG (TRST#, TCLK, TDI, TDO, and TMS), and WAKE#.

[0043] In one embodiment, see Figure 3 A shielding layer can be provided on the outer surface of the extension line, and the shielding layer is grounded at the same time, thereby preventing electromagnetic interference and improving the transmission performance of the extension line.

[0044] In one embodiment, Figure 1 , Figure 2 As shown, an LED light is also provided on the hot-swap protection connection board; the display status of the LED light is used to indicate the on-off status between the mother socket and the PCIe power supply.

[0045] In the application, the LED indication can be used to easily confirm whether the current hot-swap protection module has enabled PCIe output.

[0046] In one embodiment, the PCIe extender further includes: The extender housing houses the hot-swap protection connection board.

[0047] In applications, the extender housing can be customized according to the hot-swappable protection connection board, which not only plays a role in signal shielding, but also can prevent dust and water, while enhancing the mechanical strength of the interface, greatly improving the convenience of operation; the extender housing can be exemplarily made of steel shell to shield external interference while optimizing transmission.

[0048] The present invention also provides an operation method of a PCIe extender embedded with a violent hot plug protection function, which is applied to the above-mentioned PCIe extender, comprising: Step 1, connect the male connector at one end of the extension cable to the PCIe slot of the host; connect the other end of the extension cable to the hot-swap protection connection board; the hot-swap protection connection board is provided with a hot-swap protection module and a female socket; Step 2, triggering an enable control signal to set the protection circuit in the hot-swap protection module to a closed state; the enable control signal is given by the full PRESENT signal of PCIe and the external enable signal; the PCIe power supply of the host supplies power to the protection circuit through an extension line; when the protection circuit is set to a closed state, the circuit between the PCIe power supply and the female socket is disconnected; Step 3, insert the PCIe slave device into the female socket; Step 4, triggering an enable control signal to set the protection circuit to an on state; when the protection circuit is set to an on state, the circuit between the PCIe power supply and the mother socket is turned on; the protection circuit is used to extend the power-on time of the mother socket to be greater than or equal to a preset value, and to limit the transient current input to the mother socket to be less than or equal to a preset threshold; Step 5, transmitting the PCIe data signal between the host and the PCIe slave device through the data signal transmission circuit of the hot-swap protection module; the extension line is communicatively connected to the data signal transmission circuit; the protection circuit and the data signal transmission circuit are respectively connected to the female socket; Step 6, unplug the PCIe slave device from the mother socket; Repeat step 3, step 5, and step 6.

[0049] In the application, step 1 is a single operation, and step 2 or 4 is an optional operation. After executing step 1, the user can execute steps 3, 5, and 6 multiple times, that is, to achieve violent hot swapping of PCIe slave devices.

[0050] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A PCIe extender with embedded violent hot-plug protection function, characterized in that: include: Extension cord and hot-swap protection connection board; The hot-plug protection connection board is provided with a hot-plug protection module and a female socket; The female socket is used to connect to a PCIe slave device; One end of the extension cable is a male connector that matches the PCIe slot of the host, and the other end is connected to the hot-swap protection connection board; The hot-swap protection module includes a protection circuit and a data signal transmission circuit; the PCIe power supply of the host supplies power to the protection circuit through the extension line, and the extension line is communicatively connected to the data signal transmission circuit; the protection circuit and the data signal transmission circuit are respectively connected to the female socket; the data signal transmission circuit is used to transmit PCIe data signals; the protection circuit is used to: According to the enable control signal, the circuit between the PCIe power supply and the female socket is controlled to be on and off; the enable control signal is given by the AND of the full PRESENT signal of the PCIe and the external enable signal; Extending the power-on time of the female socket to be greater than or equal to a preset value; The transient current input to the female socket is limited to be less than or equal to a preset threshold.

2. The PCIe extender with embedded violent hot-plug protection function according to claim 1, characterized in that: The protection circuit includes an enable control signal generating circuit and a plurality of power protection circuits, wherein the enable control signal generating circuit is connected to the plurality of power protection circuits respectively to provide an enable control signal for each power protection circuit; The multiple groups of power protection circuits correspond to the power supply interfaces of the PCIe power supply one by one; the types of the power supply interfaces include at least: 12V, 3.3V and 3.3Vaux; The reference ground of each group of the power protection circuits is connected to the PCIe reference ground of the host.

3. The PCIe extender with embedded violent hot-plug protection function according to claim 2, characterized in that: The power protection circuit comprises: An enabling control and delay circuit, used to control the on / off of the circuit between the PCIe power supply and the female socket according to an enabling control signal; and to extend the power-on time of the female socket to be greater than or equal to a preset value; A current limiting circuit, used to limit the transient current input to the female socket to be less than or equal to a preset threshold; The enable control and delay circuit includes a resistor R1, a capacitor C1 and a MOS tube Q1; the current limiting circuit includes a resistor R2, a resistor R3 and an operational amplifier A1; one end of the resistor R1 is connected to the enable control signal input end, and the other end is respectively connected to one end of the capacitor C1, one end of the resistor R3, and the gate of the MOS tube Q1; the other end of the resistor R3 is connected to the output end of the operational amplifier A1; the source of the MOS tube Q1 is respectively connected to the voltage input end VIN and the other end of the capacitor C1; the drain of the MOS tube Q1 is respectively connected to the positive input end of the operational amplifier A1 and one end of the resistor R2; the other end of the resistor R2 is respectively connected to the voltage output end VOUT and the negative input end of the operational amplifier A1.

4. The PCIe extender with embedded violent hot-plug protection function according to claim 2, characterized in that: The protection circuit further comprises: PCIe auxiliary signal protection circuit for: Transmitting the PCIe auxiliary signal sent by the host to the female socket; According to the enable control signal, the inserted transient ESD or EOS energy is introduced into the PCIe power supply or PCIe reference ground of the host.

5. The PCIe extender with embedded violent hot-plug protection function according to claim 4, characterized in that: The PCIe auxiliary signal protection circuit is a TVS diode array.

6. The PCIe extender with embedded violent hot-plug protection function according to claim 1, characterized in that: The extension line and the hot-plug protection connection plate are connected by welding or detachably connected via a gold finger assembly.

7. The PCIe extender with embedded violent hot-plug protection function according to claim 1, characterized in that: The hot-swap protection connection board is also provided with a button, a sliding switch or a wireless controller; the user triggers the external enabling signal through the button, the sliding switch or the wireless controller.

8. The PCIe extender with embedded violent hot-plug protection function according to claim 1, characterized in that: The hot-swap protection connection board is also provided with an LED light; the display status of the LED light is used to indicate the on-off status between the female socket and the PCIe power supply.

9. The PCIe extender with embedded violent hot-plug protection function according to claim 1, characterized in that: The PCIe extender also includes: The extender shell has a hot-swap protection connection board placed inside.

10. An operating method of a PCIe extender embedded with a violent hot-plug protection function, applied to the PCIe extender embedded with a violent hot-plug protection function as claimed in any one of claims 1 to 9, comprising: Step 1, connect the male connector of the extension cable to the PCIe slot of the host; The other end of the extension line is connected to the hot-swap protection connection board; The plug protection connection board is provided with a hot plug protection module and a female socket; Step 2, triggering an enable control signal to set the protection circuit in the hot-swap protection module to a closed state; the enable control signal is given by the whole PRESENT signal of PCIe and the external enable signal; the PCIe power supply of the host supplies power to the protection circuit through the extension line; When the protection circuit is set to the off state, the circuit between the PCIe power supply and the female socket is disconnected; Step 3, inserting a PCIe slave device into the female socket; Step 4, triggering an enable control signal to set the protection circuit to an on state; when the protection circuit is set to an on state, the circuit between the PCIe power supply and the female socket is connected; The protection circuit is used to extend the power-on time of the mother socket to be greater than or equal to a preset value, and to limit the transient current input to the mother socket to be less than or equal to a preset threshold value; Step 5, transmitting a PCIe data signal between the host and the PCIe slave device through the data signal transmission circuit of the hot-swap protection module; the extension line is communicatively connected to the data signal transmission circuit; the protection circuit and the data signal transmission circuit are respectively connected to the female socket; Step 6, unplug the PCIe slave device from the mother socket; Repeat steps 3, 5 and 6.