Hot-swap power-on detection system and method for server board
Through the detection system of CMOS tubes and voltage-dividing resistors, the problem of logic devices damage during hot swapping of server boards is solved, and low-cost reliability is improved.
Patent Information
- Application Number
- CN202211620721.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-15
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-12-15
AI Technical Summary
Existing server boards are prone to damage to logic devices due to voltage spikes and leakage currents during hot swaps, and existing power control and signal isolation methods are complex and limited.
The detection system of CMOS tube and voltage-dividing resistor is used to control the power supply enable signal by detecting the plug-in status of the board to avoid leakage current and realize the protection of logic devices.
It improves the reliability of board and server design, reduces equipment failures, is simple in structure and low in cost.
Smart Images

Figure CN115878357B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of hot-plugging of server boards, and in particular relates to a hot-plugging power-on detection system and method for server boards. Background Art
[0002] Server hardware circuitry primarily consists of a motherboard housing the CPU and southbridge chipset, various storage hard drives, fan boards for air cooling, power boards, and several functional boards. Because boards typically transmit signals via cables or connectors, logic devices are designed into the boards to enhance signal driving capabilities and perform signal level conversion. During server operation, the hard drive backplane, power board, and fan board often need to support hot-swappable operation. However, during hot-swappable operation, hot-swappable board power supplies have significant capacitance, resulting in slow power-up and a delay between supplying the rated voltage and current required for proper device operation. During this process, the logic device's input and output pins are connected to the motherboard's normal device pins. The moment the connector pins touch, a surge and voltage spike occur in the circuits. This can also cause leakage current to flow through the input and output pins into the board's power or ground planes, causing current backflow that exceeds the device's rated operating voltage and current rating, potentially damaging the device.
[0003] One widely used approach is to control the power supply of hot-swappable devices. This involves adding a power protection module to the hot-swappable card. The motherboard controls the card's power output. When the CPLD detects the insertion of a card or hard drive, it outputs a power-on enable signal to power the card. This typically manages the card or hard drive's P12V power supply, while the logic device's power is typically routed from the motherboard's P3V3. This approach, which requires the addition of a power protection module to the hot-swappable card and CPLD detection, is complex. Another approach involves isolating hot-swappable device signals, such as fan presence signals and speed feedback signals. The voltage spikes and surges generated by these signals during hot-swapping are isolated from the control chip's input and output pins via an isolation chip, protecting the control chip. This approach requires additional isolation and protection for the control chip, which is also complex. Furthermore, the required power-on enable and presence signals require the logic device to function properly, ensuring that the control chip can receive and output data, limiting their applicability.
[0004] This is a shortcoming of the prior art. Therefore, in order to address the above-mentioned defects in the prior art, it is very necessary to provide a hot-swap power-on detection system and method for server boards. Summary of the Invention
[0005] In view of the defects of the prior art in that the hot-swap process of the above-mentioned existing server motherboard and various types of boards may cause damage to the logic devices, and the existing method of controlling the power supply of the hot-swap devices is relatively cumbersome, the present invention provides a hot-swap power-on detection system and method for server boards to solve the above technical problems.
[0006] In a first aspect, the present invention provides a hot-swap power-on detection system for a server board, comprising a server mainboard and a functional board;
[0007] The server mainboard is provided with a main control unit, a first hot-swap power-on detection unit, and a first connector;
[0008] The function board is provided with a logic device unit, a hot-swap power-on second detection unit and a second connector;
[0009] The first connector is connected to both the hot-swap power-on first detection unit and the main control unit, and the hot-swap power-on first detection unit is also connected to the main control unit;
[0010] The second connector is connected to both the hot-swap power-on second detection unit and the logic device unit;
[0011] The second connector is plugged into the first connector, thereby realizing the plugging of the function board into the server mainboard;
[0012] The hot-swap second detection unit cooperates with the hot-swap first detection unit to detect and, when it detects that the function board is plugged into the server mainboard, notify the control unit to output data to the function board; and when it detects that the function board is not plugged into the server mainboard, notify the main control unit not to output data to the function board.
[0013] Furthermore, the functional boards include a hard disk backplane, a fan board, and a power supply board. Functional boards include but are not limited to the above boards, and may also include boards with other functions.
[0014] Furthermore, the logic device unit includes a logic power pin, a ground pin, a data pin, and a clock pin;
[0015] The logic power pin is connected to the backplane voltage source;
[0016] The backplane voltage source, the data pins of the logic device unit, and the clock pins are all connected to the second connector;
[0017] The ground pin of the logic device unit is grounded. The logic device unit communicates with the main control unit on the server mainboard through the second connector.
[0018] Furthermore, the hot-swap power-on second detection unit includes a first resistor R1 and a second resistor R2;
[0019] One end of the first resistor R1 is connected to the backplane voltage source, and the other end of the first resistor R1 is connected to the voltage divider terminal;
[0020] The other end of the first resistor R1 is also connected to the second resistor R2, and the other end of the second resistor R2 is grounded. The voltage divider circuit provides a turn-on voltage for the CMOS transistor on the main board.
[0021] Furthermore, the first connector and the second connector are both provided with a power terminal, a clock terminal, a data terminal and a switch terminal;
[0022] The power terminal of the second connector is connected to the backplane voltage source, the clock terminal of the second connector is connected to the clock pin of the logic device unit, the data terminal of the second connector is connected to the data pin of the logic device unit, and the switch terminal of the second connector is connected to the voltage divider terminal of the second hot-swap power-on detection unit. The two connectors are plugged together to connect two sets of power terminals, clock terminals, data terminals, and switch terminals.
[0023] Furthermore, the main control unit includes a control power pin, a ground pin, a data pin, a clock pin and an enable pin;
[0024] The control power supply pin is connected to the mainboard voltage source;
[0025] The mainboard voltage source is connected to the power terminal of the first connector, the data pin of the main control unit is connected to the data terminal of the first connector, the clock pin of the main control unit is connected to the clock terminal of the first connector, and the enable pin of the main control unit is connected to the first hot-swap power-on detection unit;
[0026] The ground pin of the main control unit is grounded. The main control unit enables a signal controlled by the first hot-swap power-on detection unit of the mainboard.
[0027] Furthermore, the hot-swap power-on first detection unit includes a CMOS tube Q1, an inverter Q2 and a third resistor R3;
[0028] The source of the CMOS transistor Q1 is grounded, and the drain of the CMOS transistor Q1 is connected to the third resistor R3 and the input end of the inverter Q2;
[0029] The other end of the third resistor R3 is connected to the mainboard voltage source;
[0030] The output end of the inverter Q2 is connected to an enable output terminal;
[0031] The enable output terminal is connected to the main control unit. CMOS transistors are field-effect transistors. The main control unit is enabled by the output of the inverter on the motherboard.
[0032] Furthermore, the CMOS transistor Q1 is an N-channel enhancement type MOS transistor.
[0033] In a second aspect, the present invention provides a hot-swap power-on detection method for a server card based on the first aspect, comprising the following steps:
[0034] S1. The server motherboard is powered on. Before the functional board and the service motherboard are plugged in, the hot-swappable power detection unit controls the hot-plug power detection unit. The first detection unit does not send an enable signal to the main control unit, so that the main control unit does not send a data signal to the functional board.
[0035] S2. After the function board and the server motherboard are connected, the hot-swappable power-on second detection unit controls the hot-swappable power-on first detection unit to send an enable signal to the main control unit, whereby the main control unit sends a data signal to the function board;
[0036] S3. After the function board is unplugged from the server mainboard, the hot-swap power-on second detection unit controls the hot-swap power-on first detection unit to stop sending the enable signal to the main control unit, so that the main control unit stops sending data signals to the function board.
[0037] Furthermore, the specific steps of step S1 are as follows:
[0038] S11. The server motherboard is powered on, and the motherboard voltage source provides power to the server motherboard.
[0039] S12. Before the function board is connected to the service board, the backplane voltage source cannot draw power from the server board.
[0040] S13. The voltage at the voltage divider terminal of the second hot-swap power detection unit is less than the turn-on voltage threshold of the first hot-swap power detection unit CMOS tube, and the CMOS tube is in the off state;
[0041] The drain of S14.COMS tube is pulled up to the voltage of the motherboard voltage source through the third resistor, and the output end of the inverter is low level;
[0042] S15. After the enable pin of the main control unit receives a low level, it determines that the function board has not completed power-on, and thus does not output data signals to the function board. The input and output of the main control unit remain in a high-impedance state.
[0043] Furthermore, the specific steps of step S2 are as follows:
[0044] S21. After the functional board and the service motherboard are plugged in, the backplane voltage source is powered from the server motherboard, and the backplane voltage is equal to the voltage of the motherboard voltage source;
[0045] S22. The voltage at the voltage divider terminal of the second hot-swap detection unit is greater than the turn-on voltage threshold of the CMOS tube of the first hot-swap detection unit, and the CMOS tube is turned on and connected to ground;
[0046] S23. The CMOS tube drain outputs a low level, and the output of the inverter is a high level;
[0047] S24. After the enable pin of the main control unit receives a high level, it determines that the function board has completed power-on, and thus outputs a data signal to the function board to start normal data transmission.
[0048] Furthermore, the specific steps of step S3 are as follows:
[0049] S31. After the function board is unplugged from the service motherboard, the voltage at the voltage divider terminal of the hot-swap power-on second detection unit is less than the turn-on voltage threshold of the hot-swap power-on first detection unit CMOS tube;
[0050] S32. No current flows into the gate of the CMOS tube, and the CMOS tube is in the off state;
[0051] The drain of S33.COMS tube is pulled up to the voltage of the motherboard voltage source through the third resistor. The drain of CMOS tube outputs high level and the output of inverter is low level signal.
[0052] S34. After the enable pin of the main control unit receives a low level, it determines that the function board is powered off, and thus does not output data signals to the function board. The input and output of the main control unit remain in a high impedance state.
[0053] The beneficial effects of the present invention are:
[0054] The hot-swap power-on detection system and method for server boards provided by the present invention avoid damage to functional boards due to leakage current by using low-cost CMOS tubes and voltage-dividing resistors, thereby improving the reliability of the board and server design and reducing the number of equipment failures.
[0055] In addition, the present invention has a reliable design principle, a simple structure and a very broad application prospect.
[0056] It can be seen that compared with the prior art, the present invention has outstanding substantial features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0058] Figure 1 This is a schematic diagram of Example 1 of a hot-swap power-on detection system for a server board of the present invention.
[0059] Figure 2 This is a schematic diagram of Example 2 of a hot-swap power-on detection system for a server board of the present invention.
[0060] Figure 3 This is a flow chart of Example 3 of the hot-plug power-on detection method for a server board of the present invention.
[0061] Figure 4 This is a flow chart of Example 4 of the hot-plug power-on detection method for a server board of the present invention.
[0062] In the figure, 1-server motherboard; 2-function board; 3-hot-swap power-on first detection unit; 4-hot-swap power-on second detection unit; U1-main control unit; U2-logic device unit; CONN1-first connector; CONN2-second connector; BP-VCC-backplane voltage source; MB-VCC-mainboard voltage source; VCC-power terminal; CLK-clock terminal; DATA-data terminal; Vg-switch terminal; EN_OUT-enable output terminal; R1-first resistor; R2-second resistor; R3-third resistor; Q1-CMOS tube; Q2-inverter. DETAILED DESCRIPTION
[0063] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of 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 making creative efforts should fall within the scope of protection of the present invention.
[0064] Example 1:
[0065] like Figure 1 and Figure 2 As shown, the present invention provides a hot-swap power-on detection system for a server board, comprising a server mainboard 1 and a functional board 2;
[0066] The server mainboard 1 is provided with a main control unit U1, a hot-swap power-on first detection unit 3 and a first connector CONN1;
[0067] The function board 2 is provided with a logic device unit U2, a hot-swap power-on second detection unit 4 and a second connector CONN2;
[0068] The first connector CONN1 is connected to both the hot-swap power-on first detection unit 3 and the main control unit U1, and the hot-swap power-on first detection unit 3 is also connected to the main control unit U1;
[0069] The second connector CONN2 is connected to both the hot-swap power-on second detection unit 4 and the logic device unit U2;
[0070] The second connector CONN2 is plugged into the first connector CONN1, thereby realizing the plugging of the function board 2 into the server mainboard 1;
[0071] The hot-swap second detection unit 4 cooperates with the hot-swap first detection unit 3 to detect and, when it is detected that the function board 2 is plugged into the server mainboard 1, notify the control unit U1 to output data to the function board 2; and when it is detected that the function board 2 is not plugged into the server mainboard 1, notify the main control unit U1 not to output data to the function board 2.
[0072] The hot-swap power-on detection system for server boards provided by the present invention avoids damage to functional boards due to leakage current by using low-cost CMOS tubes and voltage-dividing resistors, thereby improving the reliability of the board and server design and reducing the number of equipment failures.
[0073] Example 2:
[0074] like Figure 1 and Figure 2 As shown, the present invention provides a hot-swap power-on detection system for a server board, comprising a server mainboard 1 and a functional board 2;
[0075] The server mainboard 1 is provided with a main control unit U1, a hot-swap power-on first detection unit 3 and a first connector CONN1;
[0076] The function board 2 is provided with a logic device unit U2, a hot-swap power-on second detection unit 4 and a second connector CONN2;
[0077] The first connector CONN1 is connected to both the hot-swap power-on first detection unit 3 and the main control unit U1, and the hot-swap power-on first detection unit 3 is also connected to the main control unit U1;
[0078] The second connector CONN2 is connected to both the hot-swap power-on second detection unit 4 and the logic device unit U2;
[0079] The second connector CONN2 is plugged into the first connector CONN1, thereby realizing the plugging of the function board 2 into the server mainboard 1;
[0080] The second hot-swap detection unit 4 cooperates with the first hot-swap detection unit 3 to detect and cooperate with each other. When it is detected that the function board 2 is plugged into the server mainboard 1, the control unit U1 is notified to output data to the function board 2. When it is detected that the function board 2 is not plugged into the server mainboard 1, the main control unit U1 is notified not to output data to the function board 2.
[0081] The logic device unit U2 includes a logic power pin, a ground pin, a data pin, and a clock pin;
[0082] The logic power pin is connected to the backplane voltage source BP-VCC;
[0083] The backplane voltage source BP-VCC, the data pin and the clock pin of the logic device unit U2 are all connected to the second connector CONN2;
[0084] The ground pin of the logic device unit U2 is grounded;
[0085] The hot-swap power-on second detection unit 4 includes a first resistor R1 and a second resistor R2;
[0086] One end of the first resistor R1 is connected to the backplane voltage source, and the other end of the first resistor R1 is connected to the voltage divider terminal;
[0087] The other end of the first resistor R1 is also connected to the second resistor R2, and the other end of the second resistor R2 is grounded;
[0088] The first connector CONN1 and the second connector CONN2 are both provided with a power terminal VCC, a clock terminal CLK, a data terminal DATA and a switch terminal Vg;
[0089] The power terminal VCC of the second connector CONN2 is connected to the backplane voltage source BP-VCC, the clock terminal CLK of the second connector CONN2 is connected to the clock pin of the logic device unit U2, the data terminal of the second connector CONN2 is connected to the data pin of the logic device unit U2, and the switch terminal Vg of the second connector CONN2 is connected to the voltage divider terminal of the hot-swap power-on second detection unit 4;
[0090] The main control unit U1 includes a control power pin, a ground pin, a data pin, a clock pin, and an enable pin;
[0091] The control power supply pin is connected to the mainboard voltage source MB-VCC;
[0092] The mainboard voltage source MB-VCC is connected to the power terminal VCC of the first connector CONN1, the data pin of the main control unit U1 is connected to the data terminal of the first connector CONN1, the clock pin of the main control unit U1 is connected to the clock terminal of the first connector CONN1, and the enable pin of the main control unit U1 is connected to the hot-swap power-on first detection unit 3;
[0093] The ground pin of the main control unit U1 is grounded;
[0094] The hot-swap power-on first detection unit includes a CMOS tube Q1, an inverter Q2 and a third resistor R3;
[0095] The source of the CMOS transistor Q1 is grounded, and the drain of the CMOS transistor Q1 is connected to the third resistor R3 and the input end of the inverter Q2;
[0096] The other end of the third resistor R3 is connected to the mainboard voltage source MB-VCC;
[0097] The output end of the inverter Q2 is connected to the enable output terminal EN_OUT;
[0098] The enable output terminal EN_OUT is connected to the main control unit U1.
[0099] In the above embodiment 2, the functional board 2 includes a hard disk backplane, a fan board, and a power board. Functional boards include but are not limited to the above boards, and may also include boards with other functions;
[0100] CMOS tube Q1 adopts N-channel enhancement type MOS tube.
[0101] In the above-mentioned embodiment 2, the server mainboard 1 and the function board 2 are connected via the first connector CONN1 and the second connector CONN2, and the transferred signals include power, clock, data, etc.; the server mainboard 1 is designed with a main control unit U1 and a first hot-swap power-on detection unit, and the function board 2 is designed with a logic device unit U2. The power supply of the function board 2 is provided by the server mainboard 1 and transferred to the function board 2 via the first connector CONN1 and the second connector CONN2, and VCC is always in a normal power supply state;
[0102] The hot-swap power-on protection first detection unit 3 and the hot-swap power-on second detection unit 4 include resistors R1, R2, and R3, and a CMOS transistor Q1. The CMOS transistor has a gate G, a drain D, and a source S, and the CMOS transistor has a turn-on voltage threshold of Vgth. When the gate voltage VG>Vgth, the CMOS transistor turns on and conducts, and the CMOS transistor drain outputs a low level; when the gate voltage VG<Vgth, the CMOS transistor is in the off state, and the CMOS transistor drain outputs a high level. The inverter Q2 has a positive electrode connected to the CMOS transistor drain output terminal and a negative electrode connected to the output port EN_OUT. To clearly illustrate the power-on sequence of the functional board 2 and the server motherboard 1, assume that the backplane power supply is BP-VCC after power-on, and the server motherboard 1 power supply is MB-VCC. BP-VCC=MB-VCC, except that BP-VCC_ lags behind MB_VCC. The functional board 2 will not be powered on until it is inserted into the server motherboard 1.
[0103] That is, the power-on protection circuit is divided into two parts. One part is located on the functional board 2 and is designed as a voltage divider circuit with BP-VCC passing through the first resistor R1 and the second resistor R2. The voltage of the voltage divider node is recorded as Vg, and the voltage divider node is connected to the gate G of the CMOS tube Q1 to control the on and off of the CMOS tube; the other part is located on the server motherboard 1, including the CMOS tube Q1 and the inverter Q2; the gate of the CMOS tube is connected to the voltage divider node of the functional board 2, and the drain is connected to the power supply MB-VCC through the third resistor R3 for pull-up processing; the drain output end of the CMOS tube is connected to the input end of the inverter Q2, and the output end of the inverter Q2 is connected to the main control unit U1 of the server motherboard 1.
[0104] Example 3:
[0105] like Figure 3 As shown, the present invention provides a hot-plug power-on detection method for a server card based on the above-mentioned embodiment 1 or embodiment 2, comprising the following steps:
[0106] S1. The server motherboard is powered on. Before the functional board and the service motherboard are plugged in, the hot-swappable power detection unit controls the hot-plug power detection unit. The first detection unit does not send an enable signal to the main control unit, so that the main control unit does not send a data signal to the functional board.
[0107] S2. After the function board and the server motherboard are connected, the hot-swappable power-on second detection unit controls the hot-swappable power-on first detection unit to send an enable signal to the main control unit, whereby the main control unit sends a data signal to the function board;
[0108] S3. After the function board is unplugged from the server mainboard, the hot-swap power-on second detection unit controls the hot-swap power-on first detection unit to stop sending the enable signal to the main control unit, so that the main control unit stops sending data signals to the function board.
[0109] The hot-swap power-on detection method for a server card provided by the present invention avoids damage to the functional card due to leakage current by using a low-cost CMOS tube and a voltage-dividing resistor, thereby improving the reliability of the card and server design and reducing the number of equipment failures.
[0110] Example 4:
[0111] like Figure 4 As shown, the present invention provides a hot-swap power-on detection method for a server board, comprising the following steps:
[0112] S1. The server motherboard is powered on. Before the functional board and the service motherboard are plugged in, the hot-swappable power-on second detection unit controls the hot-swappable power-on first detection unit and does not send an enable signal to the main control unit, so that the main control unit does not send a data signal to the functional board; the specific steps of step S1 are as follows:
[0113] S11. The server motherboard is powered on, and the motherboard voltage source provides power to the server motherboard.
[0114] S12. Before the function board is connected to the service board, the backplane voltage source cannot draw power from the server board.
[0115] S13. The voltage at the voltage divider terminal of the second hot-swap power detection unit is less than the turn-on voltage threshold of the first hot-swap power detection unit CMOS tube, and the CMOS tube is in the off state;
[0116] The drain of S14.COMS tube is pulled up to the voltage of the motherboard voltage source through the third resistor, and the output end of the inverter is low level;
[0117] S15. After the enable pin of the main control unit receives a low level, it determines that the function board is not powered on, so that the data signal is not output to the function board, and the input and output of the main control unit remain in a high-impedance state;
[0118] S2. After the function board is connected to the server motherboard, the hot-swappable power-on detection unit controls the hot-swappable power-on detection unit to send an enable signal to the main control unit, whereby the main control unit sends a data signal to the function board; the specific steps of step S2 are as follows:
[0119] S21. After the functional board and the service motherboard are plugged in, the backplane voltage source is powered from the server motherboard, and the backplane voltage is equal to the voltage of the motherboard voltage source;
[0120] S22. The voltage at the voltage divider terminal of the second hot-swap detection unit is greater than the turn-on voltage threshold of the CMOS tube of the first hot-swap detection unit, and the CMOS tube is turned on and connected to ground;
[0121] S23. The CMOS tube drain outputs a low level, and the output of the inverter is a high level;
[0122] S24. After the enable pin of the main control unit receives a high level, it determines that the function board is powered on, thereby outputting a data signal to the function board to start normal data transmission;
[0123] S3 function board unplugged from the server motherboard, the hot-swappable power on the second detection unit control hot-swappable power on the first detection unit stops sending an enable signal to the main control unit, so that the main control unit stops sending data signals to the function board; Step S3 specific steps are as follows:
[0124] S31. After the function board is unplugged from the service motherboard, the voltage at the voltage divider terminal of the hot-swap power-on second detection unit is less than the turn-on voltage threshold of the hot-swap power-on first detection unit CMOS tube;
[0125] S32. No current flows into the gate of the CMOS tube, and the CMOS tube is in the off state;
[0126] The drain of S33.COMS tube is pulled up to the voltage of the motherboard voltage source through the third resistor. The drain of CMOS tube outputs high level and the output of inverter is low level signal.
[0127] S34. After the enable pin of the main control unit receives a low level, it determines that the function board is powered off, and thus does not output data signals to the function board. The input and output of the main control unit remain in a high impedance state.
[0128] In the above-mentioned embodiment 4, the server mainboard is operating normally. Before the functional board is fully inserted, MB-VCC is powered normally, BP-VCC is sufficiently small or is 0, and the node voltage Vg of BP-VCC after voltage division is less than the CMOS tube turn-on voltage threshold Vgth, and the CMOS tube is in the off state; the drain of the CMOS tube is pulled up to MB-VCC via the third resistor R3, and the inverter Q2 outputs EN-OUT at a low level. After receiving the low-level signal, the main control unit U1 determines that the functional board has not been powered on, and does not output any signal to the functional board, maintaining the high-impedance state.
[0129] When the functional board is fully inserted and BP-VCC = MB-VCC, the voltage at the voltage divider node, Vg, exceeds the Vgth threshold for the CMOS transistor Q1 to turn on. CMOS transistor Q1 is then turned on and connected to ground. The CMOS transistor drain outputs a low level, which is then reversed by inverter Q2 and EN_OUT outputs a high level to the main control unit U1. After receiving the high-level signal, the main control unit U1 determines that the functional board has been properly powered on, controls data output, and initiates normal data transmission.
[0130] When the function board is pulled out, the situation is the same as when the function board is inserted. After the function board is pulled out, the node voltage Vg is less than the CMOS tube turn-on voltage threshold, and no current flows into the gate. The CMOS tube is in the off state, the CMOS tube drain outputs a high level, and EN_OUT outputs a low level signal. After receiving the low level, the main control unit U1 keeps the input and output ports in a high-impedance state.
[0131] This embodiment illustrates that, during the hot-swap process of the functional board, although the input and output pins are briefly connected, the main control unit maintains a high-impedance state for the input and output pins, which does not cause any impact on the functional board, thereby avoiding chip damage caused by hot-swap under power.
[0132] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and such modifications or substitutions shall be within the scope of the present invention. Any person skilled in the art who is familiar with the present invention may easily conceive of changes or substitutions within the technical scope disclosed in the present invention, and such changes or substitutions shall be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.
Claims
1. A hot-swap power-on detection system for a server card, characterized in that: Including server motherboard and function boards; The server mainboard is provided with a main control unit, a first hot-swap power-on detection unit, and a first connector; The function board is provided with a logic device unit, a hot-swap power-on second detection unit and a second connector; The first connector is connected to both the hot-swap power-on first detection unit and the main control unit, and the hot-swap power-on first detection unit is also connected to the main control unit; The second connector is connected to both the hot-swap power-on second detection unit and the logic device unit; The second connector is plugged into the first connector, thereby realizing the plugging of the function board into the server mainboard; The second hot-swap detection unit cooperates with the first hot-swap detection unit to detect and notify the control unit to output data to the function board when it detects that the function board is plugged into the server mainboard, and to notify the main control unit not to output data to the function board when it detects that the function board is not plugged into the server mainboard; The hot-swap power-on second detection unit includes a first resistor R1 and a second resistor R2; One end of the first resistor R1 is connected to the backplane voltage source, and the other end of the first resistor R1 is connected to the voltage divider terminal; The other end of the first resistor R1 is also connected to the second resistor R2, and the other end of the second resistor R2 is grounded; The hot-swap power-on first detection unit includes a CMOS tube Q1, an inverter Q2 and a third resistor R3; The source of the CMOS transistor Q1 is grounded, and the drain of the CMOS transistor Q1 is connected to the third resistor R3 and the input end of the inverter Q2; The other end of the third resistor R3 is connected to the mainboard voltage source; The output end of the inverter Q2 is connected to an enable output terminal; The enable output terminal is connected to the main control unit.
2. The hot-swap power-on detection system for a server card according to claim 1, wherein: The logic device unit includes a logic power pin, a ground pin, a data pin, and a clock pin; The logic power pin is connected to the backplane voltage source; The backplane voltage source, the data pins of the logic device unit, and the clock pins are all connected to the second connector; The ground pin of the logic device unit is grounded.
3. The hot-swap power-on detection system for a server card according to claim 2, wherein: The first connector and the second connector are both provided with a power terminal, a clock terminal, a data terminal and a switch terminal; The power terminal of the second connector is connected to the backplane voltage source, the clock terminal of the second connector is connected to the clock pin of the logic device unit, the data terminal of the second connector is connected to the data pin of the logic device unit, and the switch terminal of the second connector is connected to the voltage divider end of the hot plug power-on second detection unit.
4. The hot-swap power-on detection system for a server card according to claim 3, wherein: The main control unit includes a control power pin, a ground pin, a data pin, a clock pin and an enable pin; The control power supply pin is connected to the mainboard voltage source; The mainboard voltage source is connected to the power terminal of the first connector, the data pin of the main control unit is connected to the data terminal of the first connector, the clock pin of the main control unit is connected to the clock terminal of the first connector, and the enable pin of the main control unit is connected to the first hot-swap power-on detection unit; The ground pin of the main control unit is grounded.
5. A method for detecting hot-swap power-on of a server card, using the hot-swap power-on detection system for a server card according to any one of claims 1 to 4, characterized in that: The steps include: S1. The server motherboard is powered on. Before the functional board and the service motherboard are plugged in, the hot-swappable power detection unit controls the hot-plug power detection unit. The first detection unit does not send an enable signal to the main control unit, so that the main control unit does not send a data signal to the functional board. S2. After the function board and the server motherboard are connected, the hot-swappable power-on second detection unit controls the hot-swappable power-on first detection unit to send an enable signal to the main control unit, whereby the main control unit sends a data signal to the function board; S3. After the function board is unplugged from the server mainboard, the hot-swap power-on second detection unit controls the hot-swap power-on first detection unit to stop sending the enable signal to the main control unit, so that the main control unit stops sending data signals to the function board.
6. The hot-swap power-on detection method for a server card according to claim 5, wherein: The specific steps of step S1 are as follows: S11. The server motherboard is powered on, and the motherboard voltage source provides power to the server motherboard. S12. Before the function board is connected to the service board, the backplane voltage source cannot draw power from the server board. S13. The voltage at the voltage divider terminal of the second hot-swap power detection unit is less than the turn-on voltage threshold of the first hot-swap power detection unit CMOS tube, and the CMOS tube is in the off state; The drain of S14.COMS tube is pulled up to the voltage of the motherboard voltage source through the third resistor, and the output end of the inverter is low level; S15. After the enable pin of the main control unit receives a low level, it determines that the function board has not completed power-on, and thus does not output data signals to the function board. The input and output of the main control unit remain in a high-impedance state.
7. The hot-swap power-on detection method for a server card according to claim 6, wherein: The specific steps of step S2 are as follows: S21. After the functional board and the service motherboard are plugged in, the backplane voltage source is powered from the server motherboard, and the backplane voltage is equal to the voltage of the motherboard voltage source; S22. The voltage at the voltage divider terminal of the second hot-swap detection unit is greater than the turn-on voltage threshold of the CMOS tube of the first hot-swap detection unit, and the CMOS tube is turned on and connected to ground; S23. The CMOS tube drain outputs a low level, and the output of the inverter is a high level; S24. After the enable pin of the main control unit receives a high level, it determines that the function board has completed power-on, and thus outputs a data signal to the function board to start normal data transmission.
8. The hot-swap power-on detection method for a server card according to claim 5, wherein: The specific steps of step S3 are as follows: S31. After the function board is unplugged from the service motherboard, the voltage at the voltage divider terminal of the hot-swap power-on second detection unit is less than the turn-on voltage threshold of the hot-swap power-on first detection unit CMOS tube; S32. No current flows into the gate of the CMOS tube, and the CMOS tube is in the off state; The drain of S33.COMS tube is pulled up to the voltage of the motherboard voltage source through the third resistor. The drain of CMOS tube outputs high level and the output of inverter is low level signal. S34. After the enable pin of the main control unit receives a low level, it determines that the function board is powered off, and thus does not output data signals to the function board. The input and output of the main control unit remain in a high impedance state.
Citation Information
Patent Citations
Hot plug control device for Ethernet switch and industrial Ethernet switch
CN103076785A
Reset circuit, reset system and method supporting hot plug board card
CN103605415A