Server liquid leakage detection device and method

By using a leak detection rope and voltage comparator in the server liquid cooling system, combined with the judgment logic of CPLD, the cost-effective problem in the existing technology is solved, and efficient and accurate leak detection is achieved to prevent equipment damage and data loss. .

CN119124512APending Publication Date: 2024-12-13DONGGUAN RAMAXEL MEMORY TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411272161.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the prior art, the addition of special liquid leakage detection boards has led to a higher cost of the server liquid cooling liquid leakage detection system.

Method used

A server leakage detection device is designed, and a system consisting of a leakage detection rope, a voltage comparator and a CPLD are used to judge the leakage situation through the voltage comparator, and to determine whether an alarm signal is issued through the CPLD reception signal, avoiding cost-effectiveness. Increase.

Benefits of technology

It realizes efficient and accurate liquid leakage detection, reduces system costs, improves detection accuracy and system compatibility, and prevents server equipment damage and data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119124512A_ABST
    Figure CN119124512A_ABST
Patent Text Reader

Abstract

The invention discloses a server liquid leakage detection device and method. The method comprises a liquid leakage detection rope, a connector, a first voltage comparison circuit, a second voltage comparison circuit, a CPLD (Complex Programmable Logic Device) and a BMC (Baseboard Management Controller), the liquid leakage detection rope is wound on a liquid cooling circulating pipe of the server, two ends of the connector are respectively provided with at least four ports, a connecting end of the liquid leakage detection rope is respectively connected with a first port and a fourth port at one end of the connector, and a second port and a third port at one end of the connector are in short circuit. A first port at the other end of the connector is simultaneously connected with the input ends of the first voltage comparison circuit and the second voltage comparison circuit, the output end of the first voltage comparison circuit, the output end of the second voltage comparison circuit and a second port at the other end of the connector are all connected with the CPLD, and the CPLD is connected with the BMC. Compared with the prior art, the detection circuit and method do not need a special liquid leakage detection small plate, and a voltage comparator is selected, so that the cost is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a server liquid leakage detection device and method. Background Art

[0002] The liquid leakage detection system is a technology used to monitor liquid leakage, which is used in data centers and high-performance computing fields. With the continuous growth of computing needs, traditional air cooling technology has been unable to meet the heat dissipation needs of high-power density servers. Liquid cooling technology can provide good heat dissipation effects, not only with high cooling efficiency, but also without noise during operation. However, liquid cooling also brings certain risks. Once a leak occurs, it may not only damage the server equipment, but also cause data loss. Therefore, in order to prevent serious consequences, it is necessary to develop an efficient and accurate server liquid cooling leakage detection technology.

[0003] The prior art proposes a BMC system for detecting liquid leakage in a liquid-cooled server, which includes a mainboard, a leakage detection board, a leakage detection cable, and a leakage alarm cable. The leakage detection board detects whether the leakage detection cable is leaking. When a leakage signal is detected, a leakage alarm signal group is sent to the mainboard through the leakage alarm cable, and then the BMC sends an alarm signal. However, although this technical system can detect leakage efficiently and accurately, it adds a special leakage detection board, which is relatively expensive. Summary of the invention

[0004] The object of the present invention is to provide a server leakage detection device and method, aiming to solve the problem of high cost caused by adding a special leakage detection board in the prior art.

[0005] In order to solve the above technical problems, the purpose of the present invention is achieved through the following technical solutions:

[0006] The first aspect of the present application provides a server leakage detection device, comprising: a leakage detection rope, a connector, a first voltage comparison circuit, a second voltage comparison circuit, a CPLD and a BMC; the leakage detection rope is wound around the liquid cooling circulation pipe of the server, and at least four ports are provided at both ends of the connector. The connection end of the leakage detection rope is respectively connected to the first port and the fourth port at one end of the connector, the second port and the third port at one end of the connector are short-circuited, the first port at the other end of the connector is simultaneously connected to the input ends of the first voltage comparison circuit and the second voltage comparison circuit, the output end of the first voltage comparison circuit, the output end of the second voltage comparison circuit and the second port at the other end of the connector are all connected to the CPLD, and the CPLD is connected to the BMC.

[0007] In a possible implementation, the first voltage comparison circuit includes: a first voltage comparator, a first resistor, a second resistor, a third resistor, a fourth resistor and a first capacitor;

[0008] One end of the first resistor is connected to the standby power supply, and the other end of the first resistor is respectively connected to one end of the second resistor and the positive signal input end of the first voltage comparator;

[0009] The other end of the second resistor is grounded;

[0010] The negative signal input terminal of the first voltage comparator is connected to the first port at the other end of the connector;

[0011] One end of the first capacitor is grounded, and the other end of the first capacitor is respectively connected to a standby power supply and a power supply input end of the first voltage comparator;

[0012] The negative power supply input terminal of the first voltage comparator is grounded;

[0013] One end of the third resistor is connected to the standby power supply, and the other end of the third resistor is respectively connected to one end of the fourth resistor and the output end of the first voltage comparator;

[0014] The other end of the fourth resistor is connected to the input end of the CPLD.

[0015] In a possible implementation, the second voltage comparison circuit includes: a second voltage comparator, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor and a second capacitor;

[0016] One end of the fifth resistor is connected to the standby power supply, and the other end of the fifth resistor is respectively connected to one end of the sixth resistor and the negative signal input end of the second voltage comparator;

[0017] The other end of the sixth resistor is grounded;

[0018] One end of the seventh resistor is connected to the standby power supply, and the other end of the seventh resistor is respectively connected to one end of the eighth resistor, the positive signal input end of the second voltage comparator, and the first port of the other end of the connector;

[0019] The other end of the eighth resistor is grounded;

[0020] The positive signal input terminal of the second voltage comparator is connected to the first port at the other end of the connector;

[0021] One end of the second capacitor is grounded, and the other end of the second capacitor is respectively connected to the standby power supply and the power supply input end of the second voltage comparator;

[0022] The negative power supply input terminal of the second voltage comparator is grounded;

[0023] One end of the ninth resistor is connected to the standby power supply, and the other end of the ninth resistor is respectively connected to one end of the tenth resistor and the output end of the second voltage comparator;

[0024] The other end of the tenth resistor is connected to the input end of the CPLD.

[0025] In a possible implementation, the device further includes: an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a first bidirectional diode, and a second bidirectional diode;

[0026] One end of the eleventh resistor is connected to the standby power supply, and the other end of the eleventh resistor is connected to the second port at the other end of the connector;

[0027] One end of the twelfth resistor is connected to the third port at the other end of the connector, and the other end of the twelfth resistor is grounded;

[0028] One end of the thirteenth resistor is connected to the fourth port at the other end of the connector, and the other end of the thirteenth resistor is grounded;

[0029] One end of the first bidirectional diode is connected to the first port at the other end of the connector, and the other end of the first bidirectional diode is grounded;

[0030] One end of the second bidirectional diode is grounded, and the other end of the second bidirectional diode is respectively connected to the second port at the other end of the connector and one end of the fourteenth resistor;

[0031] The other end of the fourteenth resistor is connected to the input end of the CPLD.

[0032] A second aspect of the present application provides a server leakage detection method, comprising:

[0033] The leakage detection signal output by the connector is processed by the first voltage comparison circuit and the second voltage comparison circuit respectively, and the processed signal is transmitted to the CPLD;

[0034] The output signals from the first voltage comparison circuit and the second voltage comparison circuit are received by the CPLD, and the CPLD determines the connection state of the leakage detection rope and whether leakage occurs according to the output signals;

[0035] The BMC determines whether to issue an alarm signal based on the detection results of the CPLD.

[0036] In a possible implementation, the method further includes:

[0037] Before the liquid leakage detection operation, a reset signal is output to the CPLD through the connector, and the connection state between the liquid leakage detection rope and the connector is determined according to the level change of the reset signal detected by the CPLD;

[0038] After the liquid leakage detection operation, a reset signal is output to the CPLD through the connector again to reset the state of the CPLD and related circuits to the initial state.

[0039] In a possible implementation, the step of processing the leakage detection signal output by the connector through the first voltage comparison circuit and the second voltage comparison circuit respectively, and transmitting the processed signal to the CPLD includes:

[0040] Acquire a detection voltage value of the leakage detection rope through the leakage detection signal and compare it with a first preset voltage threshold of the first voltage comparison circuit and a second preset voltage threshold of the second voltage comparison circuit respectively;

[0041] Determine whether the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and the second preset voltage threshold;

[0042] If the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and less than the second preset voltage threshold, the first voltage comparator and the second voltage comparator both output a low level;

[0043] If the detection voltage value of the leakage detection rope is less than the first preset voltage threshold and the second preset voltage threshold, the first voltage comparator outputs a high level and the second voltage comparator outputs a low level;

[0044] If the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and the second preset voltage threshold, the first voltage comparator outputs a low level, and the second voltage comparator outputs a high level.

[0045] In a possible implementation, the step of receiving the output signal from the first voltage comparison circuit and the second voltage comparison circuit through the CPLD, and the CPLD judging the connection state of the leakage detection rope and whether leakage occurs according to the output signal, includes:

[0046] Controlling the CPLD to identify digital signals output by the first voltage comparison circuit and the second voltage comparison circuit;

[0047] Determining whether the logical combination of the digital signal is a logical combination within a liquid leakage detection program preset by the CPLD;

[0048] If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are both at low levels, it is determined that no leakage occurs in the server;

[0049] If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are respectively high level and low level, it is determined that the server has a liquid leak;

[0050] If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are respectively at a low level and a high level, it is determined that the leakage detection rope is not connected to the connector or is in poor contact.

[0051] In a possible implementation, the step of the BMC determining whether to issue an alarm signal according to the detection result of the CPLD includes:

[0052] If the detection result of the CPLD is "normal", the BMC does not send out an alarm signal and the system operates normally;

[0053] If the detection result of the CPLD is "leakage" or "open", the BMC sends an alarm signal, and the server automatically performs a forced shutdown operation.

[0054] In a possible implementation, before the liquid leakage detection operation, the step of outputting a reset signal to the CPLD through the connector, and judging the connection state between the liquid leakage detection rope and the connector according to the level change of the reset signal detected by the CPLD, includes:

[0055] If the CPLD detects that the level of the reset signal changes from high to low, it is determined that the leakage detection rope is correctly connected to the connector;

[0056] Otherwise, it is determined that the leakage detection rope is not connected to the connector or is in poor contact.

[0057] Compared with the prior art, the present invention has the following beneficial effects: the present invention provides a server leakage detection device for an existing BMC system for detecting leakage of a liquid-cooled server, the leakage detection system consisting of a leakage detection rope, a voltage comparator and a CPLD, the voltage comparator determines whether leakage occurs by the resistance change of the leakage detection rope and the preset threshold of the voltage comparator, and can accurately and quickly detect whether leakage occurs, thereby preventing damage to server equipment and loss of data; and a server leakage detection method is also designed based on a test circuit, comprising: processing the leakage detection signal output by the connector through the first voltage comparison circuit and the second voltage comparison circuit respectively, and transmitting the processed signal to the CPLD; receiving the output signals from the first voltage comparison circuit and the second voltage comparison circuit through the CPLD, and the CPLD determining the connection status of the leakage detection rope and whether leakage occurs according to the output signals; and the BMC determining whether to issue an alarm signal according to the detection result of the CPLD. Compared with the prior art, the detection circuit and method designed in the present invention do not require a special leakage detection board, and a voltage comparator is selected to greatly reduce the cost; and the CPLD on the main board is used. It only needs to add a detection program to the CPLD to make a quick judgment when a leakage signal is received, so the detection accuracy is higher and the system compatibility is stronger. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0059] Figure 1 A block diagram of a server liquid leakage detection device provided by an embodiment of the present invention;

[0060] Figure 2 A schematic diagram of a connector and a reset circuit of a server liquid leakage detection device provided in an embodiment of the present invention;

[0061] Figure 3 A schematic diagram of a first voltage comparison circuit of a server liquid leakage detection device provided by an embodiment of the present invention;

[0062] Figure 4 A schematic diagram of a second voltage comparison circuit of a server liquid leakage detection device provided by an embodiment of the present invention;

[0063] Figure 5 Schematic diagram of the process of the server leakage detection method provided by the embodiment of the present invention Figure 1 ;

[0064] Figure 6 Schematic diagram of the process of the server leakage detection method provided by the embodiment of the present invention Figure 2 ;

[0065] Figure 7 Schematic diagram of the process of the server leakage detection method provided by the embodiment of the present invention Figure 3 ;

[0066] Figure 8 Schematic diagram of the process of the server leakage detection method provided by the embodiment of the present invention Figure 4 ;

[0067] Fig. 9 Schematic diagram of the process of the server leakage detection method provided by the embodiment of the present invention Figure 5 ;

[0068] Fig.10 Schematic diagram of the process of the server leakage detection method provided by the embodiment of the present invention Figure 6 . DETAILED DESCRIPTION

[0069] 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 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.

[0070] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0071] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0072] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0073] See also Figures 1 to 10 , please refer to Figure 1The embodiment of the present invention provides a server leakage detection device, including: a leakage detection rope, a connector J49, a first voltage comparison circuit, a second voltage comparison circuit, a CPLD (Complex Programmable Logic Device) and a BMC (Baseboard Management Controller); the leakage detection rope is wound around a liquid cooling circulation pipe of the server, and at least four ports are provided at both ends of the connector J49. The connection end of the leakage detection rope is respectively connected to a first port and a fourth port at one end of the connector J49, and the second port and the third port at one end of the connector J49 are short-circuited. The first port at the other end of the connector J49 is simultaneously connected to the input end of the first voltage comparison circuit and the second voltage comparison circuit, and the output end of the first voltage comparison circuit, the output end of the second voltage comparison circuit and the second port at the other end of the connector J49 are all connected to the CPLD, and the CPLD is connected to the BMC.

[0074] Specifically, the leakage detection rope is a special detection element, which is usually wound around the liquid cooling circulation pipe of the server. When the liquid cooling circulation pipe leaks, the leakage detection rope can sense the presence of liquid and generate a corresponding electrical signal; the connector J49 is used to connect the leakage detection rope with the subsequent comparison circuit, and the first port and the fourth port at one end are connected to the leakage detection rope, and the second port and the third port are short-circuited. The link level between the connector J49 and the CPLD changes from high to low, notifying the CPLD that the cable is in place; and the two voltage comparison circuits have different reference voltages or thresholds, and compare and process the signal of the leakage detection rope transmitted from the connector J49 to more accurately judge the leakage situation; the CPLD is responsible for receiving the output signals from the two comparison circuits and the reset signal of the second port at the other end of the connector J49, and performing logic processing, judging the leakage situation according to the preset logic rules, generating a corresponding control signal, and receiving the leakage detection signal from the CPLD through the BMC, and performing corresponding protection or alarm operations according to the signal. This circuit does not require a special leakage detection board, and uses a voltage comparator to greatly reduce costs. It also uses the CPLD on the mainboard. It only needs to add a detection program to the CPLD to make a quick judgment when a leakage signal is received. The detection accuracy is higher and the system compatibility is stronger.

[0075] like Figure 3As shown, the first voltage comparison circuit includes: a first voltage comparator U1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a first capacitor C1; one end of the first resistor R1 is connected to the standby power supply, and the other end of the first resistor R1 is respectively connected to one end of the second resistor R2 and the positive signal input end of the first voltage comparator U1; the other end of the second resistor R2 is grounded; the negative signal input end of the first voltage comparator U1 is connected to the first port at the other end of the connector J49; one end of the first capacitor C1 is grounded, and the other end of the first capacitor C1 is respectively connected to the standby power supply and the power supply input end of the first voltage comparator U1; the negative power input end of the first voltage comparator U1 is grounded; one end of the third resistor R3 is connected to the standby power supply, and the other end of the third resistor R3 is respectively connected to one end of the fourth resistor R4 and the output end of the first voltage comparator U1; the other end of the fourth resistor R4 is connected to the input end of the CPLD.

[0076] Specifically, one end of the first resistor R1 is connected to the standby power supply to provide a positive power supply voltage for the voltage comparator, one end of the first capacitor C1 is grounded, and the other end is connected to the standby power supply and the power supply input end of the first voltage comparator U1 to filter and stabilize the power supply voltage, and the negative power supply input end of the first voltage comparator U1 is grounded; the other end of the first resistor R1 is connected to one end of the second resistor R2 and the positive signal input end of the first voltage comparator U1 to form a voltage divider circuit to set the reference voltage of the positive signal input end, and the other end of the second resistor R2 is grounded to complete the voltage divider circuit; the negative signal input end of the first voltage comparator U1 is connected to the first port at the other end of the connector J49 to receive the signal from the leakage detection rope; the third resistor R3 is used for current limiting, and the fourth resistor R4 is used to adjust the output signal of the voltage comparator to a level suitable for CPLD to receive. When the leakage detection rope does not detect leakage, its resistance value is high (or appears as high impedance), resulting in the voltage signal input to the first port of the connector J49 being lower than the reference voltage of the positive signal input end of the first voltage comparator U1. At this time, the first voltage comparator U1 outputs a low-level signal. When the leakage detection rope detects leakage, its resistance value decreases (or shows low impedance), causing the voltage signal input to the first port of connector J49 to rise, exceeding the reference voltage of the positive signal input terminal of the first voltage comparator U1. At this time, the first voltage comparator U1 outputs a high-level signal. After receiving the high-level signal from the first voltage comparator U1, the CPLD determines it as a leakage event according to the preset logic rules and triggers the corresponding protection or alarm operation.

[0077] like Figure 4As shown, the second voltage comparison circuit includes: a second voltage comparator U2, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10 and a second capacitor C2; one end of the fifth resistor R5 is connected to the standby power supply, and the other end of the fifth resistor R5 is respectively connected to one end of the sixth resistor R6 and the negative signal input end of the second voltage comparator U2; the other end of the sixth resistor R6 is grounded; one end of the seventh resistor R7 is connected to the standby power supply, and the other end of the seventh resistor R7 is respectively connected to one end of the eighth resistor R8, the positive signal input end of the second voltage comparator U2, and the connector J4 9 is connected to the first port of the other end of the eighth resistor R8; the other end of the eighth resistor R8 is grounded; the positive signal input end of the second voltage comparator U2 is connected to the first port of the other end of the connector J49; one end of the second capacitor C2 is grounded, and the other end of the second capacitor C2 is respectively connected to the standby power supply and the power supply input end of the second voltage comparator U2; the negative power input end of the second voltage comparator U2 is grounded; one end of the ninth resistor R9 is connected to the standby power supply, and the other end of the ninth resistor R9 is respectively connected to one end of the tenth resistor R10 and the output end of the second voltage comparator U2; the other end of the tenth resistor R10 is connected to the input end of the CPLD.

[0078] Specifically, the fifth resistor R5 and the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8 respectively constitute a voltage divider circuit, which is used to divide the voltage of the standby power supply and input it to the negative signal input terminal and the positive signal input terminal of the second voltage comparator U2. The voltage ratio of the two voltage divider circuits is determined by the resistance value and can be adjusted as needed to achieve a specific threshold comparison; the second voltage comparator U2 compares the voltages of the negative signal input terminal and the positive signal input terminal. When the voltage of the positive signal input terminal is higher than that of the negative signal input terminal, the output terminal of the second voltage comparator U2 outputs a high level; otherwise, it outputs a low level; the output of the second voltage comparator U2 passes through the series circuit of the ninth resistor R9 and the tenth resistor R10, and is connected to the input terminal of the CPLD. This signal is used for the logic judgment or control process of the CPLD to achieve interaction with external signals.

[0079] like Figure 2As shown, it also includes: an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a first bidirectional diode CR1 and a second bidirectional diode CR2; one end of the eleventh resistor R11 is connected to the standby power supply, and the other end of the eleventh resistor R11 is connected to the second port at the other end of the connector J49; one end of the twelfth resistor R12 is connected to the third port at the other end of the connector J49, and the other end of the twelfth resistor R12 is grounded; one end of the thirteenth resistor R13 is connected to the fourth port at the other end of the connector J49, and the other end of the thirteenth resistor R13 is grounded; one end of the first bidirectional diode CR1 is connected to the first port at the other end of the connector J49, and the other end of the first bidirectional diode CR1 is grounded; one end of the second bidirectional diode CR2 is grounded, and the other end of the second bidirectional diode CR2 is respectively connected to the second port at the other end of the connector J49 and one end of the fourteenth resistor R14; the other end of the fourteenth resistor R14 is connected to the input end of the CPLD.

[0080] Specifically, multiple ports of connector J49 are connected to the standby power supply, ground, and the input terminal of the CPLD through different resistors and bidirectional diodes. This connection method is used to protect the CPLD input terminal from voltage fluctuations or incorrect connections, while achieving bidirectional transmission or protection of signals.

[0081] The working principle of the test circuit provided in this embodiment is as follows: the leakage detection rope is wound around the liquid cooling circulation pipe and connected to the connector J49. The connector J49 sends a signal to two voltage comparators. The voltage comparators compare and determine whether the leakage detection rope is connected and whether leakage occurs through resistance changes and preset voltage thresholds, and then send the signal to the CPLD. Finally, the CPLD feeds back to the BMC. When the leakage detection rope is not connected or leakage occurs, the BMC immediately sends an alarm signal. If leakage occurs, the server will be forced to shut down automatically to prevent damage to server equipment and loss of data.

[0082] See also Figures 5 to 10 , please refer to Figure 5 The embodiment of the present invention further provides a server leakage detection method, comprising:

[0083] S110 , processing the leakage detection signal output by the connector through the first voltage comparison circuit and the second voltage comparison circuit respectively, and transmitting the processed signal to the CPLD.

[0084] Specifically, the connector is used to connect a leakage detection rope, which is arranged inside the server to monitor whether there is a leakage; when leakage occurs, the leakage detection rope will trigger a signal change, which is then captured and output by the connector; the leakage detection signal output by the connector enters the first voltage comparison circuit and the second voltage comparison circuit respectively; the detection signal is compared with the reference voltage preset by the first voltage comparison circuit and the second voltage comparison circuit to see whether the voltage level of the comparison signal exceeds a certain threshold, and the comparison result (high level or low level) is sent to the CPLD as an output signal.

[0085] S120, receiving output signals from the first voltage comparison circuit and the second voltage comparison circuit through the CPLD, and the CPLD determines the connection state of the leakage detection rope and whether leakage occurs according to the output signals.

[0086] Specifically, the CPLD receives output signals from the first voltage comparison circuit and the second voltage comparison circuit; the CPLD determines the connection status of the leakage detection rope (such as whether the connection is normal) and whether leakage occurs according to the received signals and a preset logic algorithm. The CPLD outputs the judgment result in a specific signal form for subsequent processing.

[0087] S130. The BMC determines whether to issue an alarm signal based on the detection result of the CPLD.

[0088] Specifically, the BMC determines whether to issue an alarm signal based on the received signal and the preset alarm logic; if it is determined that a leakage has occurred, the BMC will trigger the alarm mechanism, including displaying alarm information, sending an alarm email or SMS to notify the administrator, etc.; once the alarm is triggered, the BMC can also execute corresponding response measures according to the preset response strategy, such as shutting down the relevant power supply, starting the backup system, etc.

[0089] like Figure 6 As shown, in a more specific embodiment, it also includes executing steps S210 to S220:

[0090] S210, before the liquid leakage detection operation, outputting a reset signal to the CPLD through the connector, and judging the connection state between the liquid leakage detection rope and the connector according to the level change of the reset signal detected by the CPLD;

[0091] Specifically, before starting the leakage detection operation, the system first sends a reset signal to the CPLD through the connector. After receiving the reset signal, the CPLD detects the level change of the signal (such as jumping from a high level to a low level). According to the level change of the reset signal, the CPLD can determine the connection status between the leakage detection rope and the connector. If the CPLD can successfully detect that the reset signal jumps from a high level to a low level, it is considered that the connection between the leakage detection rope and the connector is normal; otherwise, there may be a problem with the connection.

[0092] S220, after the liquid leakage detection operation, outputting a reset signal to the CPLD through the connector again to reset the state of the CPLD and related circuits to an initial state.

[0093] Specifically, after completing the leakage detection operation, the system again sends a reset signal to the CPLD through the connector. The purpose of sending the reset signal this time is to reset the state of the CPLD and its related circuits to the initial state. The operation includes clearing internal registers, resetting counters, shutting down unnecessary modules, etc. Through the state reset, the CPLD and its related circuits are restored to a known and stable state to facilitate the next leakage detection or other operations. Similar to the reset signal sending in S210, this sending can also be achieved through software control.

[0094] like Fig.10 As shown, in a more specific embodiment, step S210 includes steps S2101-S2102:

[0095] S2101, if the CPLD detects that the level of the reset signal changes from high to low, it is determined that the leakage detection rope is correctly connected to the connector;

[0096] S2102: Otherwise, it is determined that the leakage detection rope is not connected to the connector or is in poor contact with the connector. Figure 7 As shown, in a more specific embodiment, step S110 includes steps S1101-S1105:

[0097] S1101, obtaining a detection voltage value of the leakage detection rope through the leakage detection signal and comparing it with a first preset voltage threshold of the first voltage comparison circuit and a second preset voltage threshold of the second voltage comparison circuit respectively;

[0098] S1102, determining whether the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and the second preset voltage threshold;

[0099] S1103: If the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and less than the second preset voltage threshold, the first voltage comparator and the second voltage comparator both output a low level;

[0100] S1104: If the detection voltage value of the leakage detection rope is less than the first preset voltage threshold and the second preset voltage threshold, the first voltage comparator outputs a high level, and the second comparator outputs a low level;

[0101] S1105: If the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and the second preset voltage threshold, the first voltage comparator outputs a low level, and the second voltage comparator outputs a high level.

[0102] Specifically, in this embodiment, by setting different voltage thresholds and utilizing the output of the voltage comparison circuit, the system can accurately determine the occurrence of a liquid leakage event and make a corresponding response.

[0103] like Figure 8 As shown, in a more specific embodiment, step S120 includes steps S1201-S1205:

[0104] S1201, controlling the CPLD to identify digital signals output by the first voltage comparison circuit and the second voltage comparison circuit;

[0105] S1202, determining whether the logic combination of the digital signal is a logic combination within a liquid leakage detection program preset by the CPLD;

[0106] S1203: If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are both at low levels, it is determined that no liquid leakage occurs in the server;

[0107] S1204: If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are respectively high and low, it is determined that the server has a liquid leak;

[0108] S1205: If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are respectively low level and high level, it is determined that the leakage detection rope is not connected to the connector or is in poor contact.

[0109] Specifically, the CPLD, as the control center of the system, is responsible for reading and identifying digital signals from the first voltage comparison circuit and the second voltage comparison circuit. These digital signals are usually high level (such as 1) or low level (such as 0), indicating whether the voltage exceeds the preset threshold value; there is a preset leakage detection program inside the CPLD, which defines the meaning represented by different digital signal logic combinations. In this step, the CPLD will check whether the received digital signal logic combination matches a certain logic combination defined in the program; if both voltage comparison circuits output low level signals, it means that the voltage value on the leakage detection rope is between the two preset threshold values, that is, no leakage is detected, and the CPLD will determine that the server has no leakage; if the first voltage comparator outputs a high level (indicating that the voltage is lower than its threshold value) and the second voltage comparator outputs a low level (indicating that the voltage does not exceed its higher threshold value), this means that the voltage value on the leakage detection rope is lower than the preset safety threshold value, that is, a leakage has occurred, and the CPLD will determine that the server has a leakage; and if the first voltage comparator outputs a low level and the second voltage comparator outputs a high level, this is an abnormal state and is unlikely to be caused by normal leakage detection. The more likely reason is that the leakage detection rope is not connected to the connector or is poorly connected, resulting in an abnormal voltage signal. Therefore, the CPLD determines that there is a problem in the connection state between the leakage detection rope and the connector.

[0110] like Fig. 9 As shown, in a more specific embodiment, step S130 includes steps S1301-S1302:

[0111] S1301: If the detection result of the CPLD is "normal", the BMC does not send an alarm signal and the system operates normally.

[0112] S1302: If the detection result of the CPLD is "leakage" or "open", the BMC sends an alarm signal, and the server automatically performs a forced shutdown operation.

[0113] Specifically, as the detection core of the system, CPLD is responsible for collecting and analyzing signals from the voltage comparison circuit, and then generating a detection result (such as "normal", "leakage" or "open") based on these signals. When CPLD detects that the system is in a normal state (that is, no leakage occurs and the leakage detection rope is well connected), it will convey this result to the management component of the system, such as the baseboard management controller (BMC). After receiving the "normal" state, the BMC will not trigger any alarm signal, and the system will continue to operate in normal mode. If the CPLD detects a leakage (that is, "leakage") or the connection between the leakage detection rope and the connector is not good (that is, "open"), it will immediately notify the BMC of this emergency state. After receiving this type of alarm information, the BMC will immediately trigger a series of protection mechanisms. First, the BMC will issue an alarm signal, which can notify the administrator or relevant personnel through various methods such as system logs, emails, and text messages. Secondly, in order to prevent the leakage from further damaging the server hardware, the BMC will instruct the server to perform a forced shutdown operation. This measure can minimize hardware damage and data loss caused by leakage.

[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A server leakage detection device, It is characterized in that include: A liquid leakage detection rope, a connector, a first voltage comparison circuit, a second voltage comparison circuit, a CPLD and a BMC; the liquid leakage detection rope is wound around the liquid cooling circulation pipe of the server, at least four ports are arranged at both ends of the connector, the connection end of the liquid leakage detection rope is respectively connected to the first port and the fourth port at one end of the connector, the second port and the third port at one end of the connector are short-circuited, the first port at the other end of the connector is simultaneously connected to the input ends of the first voltage comparison circuit and the second voltage comparison circuit, the output end of the first voltage comparison circuit, the output end of the second voltage comparison circuit and the second port at the other end of the connector are all connected to the CPLD, and the CPLD is connected to the BMC.

2. The server liquid leakage detection device according to claim 1, It is characterized in that The first voltage comparison circuit includes: a first voltage comparator, a first resistor, a second resistor, a third resistor, a fourth resistor and a first capacitor; One end of the first resistor is connected to the standby power supply, and the other end of the first resistor is respectively connected to one end of the second resistor and the positive signal input end of the first voltage comparator; The other end of the second resistor is grounded; The negative signal input terminal of the first voltage comparator is connected to the first port at the other end of the connector; One end of the first capacitor is grounded, and the other end of the first capacitor is respectively connected to a standby power supply and a power supply input end of the first voltage comparator; The negative power supply input terminal of the first voltage comparator is grounded; One end of the third resistor is connected to the standby power supply, and the other end of the third resistor is respectively connected to one end of the fourth resistor and the output end of the first voltage comparator; The other end of the fourth resistor is connected to the input end of the CPLD.

3. The server liquid leakage detection device according to claim 1, It is characterized in that The second voltage comparison circuit includes: a second voltage comparator, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor and a second capacitor; One end of the fifth resistor is connected to the standby power supply, and the other end of the fifth resistor is respectively connected to one end of the sixth resistor and the negative signal input end of the second voltage comparator; The other end of the sixth resistor is grounded; One end of the seventh resistor is connected to the standby power supply, and the other end of the seventh resistor is respectively connected to one end of the eighth resistor, the positive signal input end of the second voltage comparator, and the first port of the other end of the connector; The other end of the eighth resistor is grounded; The positive signal input terminal of the second voltage comparator is connected to the first port at the other end of the connector; One end of the second capacitor is grounded, and the other end of the second capacitor is respectively connected to the standby power supply and the power supply input end of the second voltage comparator; The negative power supply input terminal of the second voltage comparator is grounded; One end of the ninth resistor is connected to the standby power supply, and the other end of the ninth resistor is respectively connected to one end of the tenth resistor and the output end of the second voltage comparator; The other end of the tenth resistor is connected to the input end of the CPLD.

4. The server liquid leakage detection device according to claim 1, It is characterized in that Also includes: an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a first bidirectional diode, and a second bidirectional diode; One end of the eleventh resistor is connected to the standby power supply, and the other end of the eleventh resistor is connected to the second port at the other end of the connector; One end of the twelfth resistor is connected to the third port at the other end of the connector, and the other end of the twelfth resistor is grounded; One end of the thirteenth resistor is connected to the fourth port at the other end of the connector, and the other end of the thirteenth resistor is grounded; One end of the first bidirectional diode is connected to the first port at the other end of the connector, and the other end of the first bidirectional diode is grounded; One end of the second bidirectional diode is grounded, and the other end of the second bidirectional diode is respectively connected to the second port at the other end of the connector and one end of the fourteenth resistor; The other end of the fourteenth resistor is connected to the input end of the CPLD.

5. A method for detecting liquid leakage in a server, It is characterized in that include: The leakage detection signal output by the connector is processed by the first voltage comparison circuit and the second voltage comparison circuit respectively, and the processed signal is transmitted to the CPLD; The output signals from the first voltage comparison circuit and the second voltage comparison circuit are received by the CPLD, and the CPLD determines the connection state of the leakage detection rope and whether leakage occurs according to the output signals; The BMC determines whether to issue an alarm signal based on the detection results of the CPLD.

6. The server leakage detection method according to claim 5, It is characterized in that Also includes: Before the liquid leakage detection operation, a reset signal is output to the CPLD through the connector, and the connection state between the liquid leakage detection rope and the connector is determined according to the level change of the reset signal detected by the CPLD; After the liquid leakage detection operation, a reset signal is output to the CPLD through the connector again to reset the state of the CPLD and related circuits to the initial state.

7. The server leakage detection method according to claim 5, It is characterized in that The step of processing the leakage detection signal output by the connector through the first voltage comparison circuit and the second voltage comparison circuit respectively, and transmitting the processed signal to the CPLD comprises: Acquire a detection voltage value of the leakage detection rope through the leakage detection signal and compare it with a first preset voltage threshold of the first voltage comparison circuit and a second preset voltage threshold of the second voltage comparison circuit respectively; Determine whether the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and the second preset voltage threshold; If the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and less than the second preset voltage threshold, the first voltage comparator and the second voltage comparator both output a low level; If the detection voltage value of the leakage detection rope is less than the first preset voltage threshold and the second preset voltage threshold, the first voltage comparator outputs a high level and the second voltage comparator outputs a low level; If the detection voltage value of the leakage detection rope is greater than the first preset voltage threshold and the second preset voltage threshold, the first voltage comparator outputs a low level, and the second voltage comparator outputs a high level.

8. The server leakage detection method according to claim 5, It is characterized in that The step of receiving the output signal from the first voltage comparison circuit and the second voltage comparison circuit through the CPLD, and the CPLD judging the connection state of the leakage detection rope and whether leakage occurs according to the output signal, comprises: Controlling the CPLD to identify digital signals output by the first voltage comparison circuit and the second voltage comparison circuit; Determining whether the logical combination of the digital signal is a logical combination within a liquid leakage detection program preset by the CPLD; If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are both at low levels, it is determined that no leakage occurs in the server; If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are respectively high level and low level, it is determined that the server has a liquid leak; If the digital signals output by the first voltage comparison circuit and the second voltage comparison circuit are respectively at a low level and a high level, it is determined that the leakage detection rope is not connected to the connector or is in poor contact.

9. The server leakage detection method according to claim 5, It is characterized in that The step of the BMC judging whether to issue an alarm signal according to the detection result of the CPLD comprises: If the detection result of the CPLD is "normal", the BMC does not issue an alarm signal and the system operates normally; If the detection result of the CPLD is "leakage" or "open", the BMC sends an alarm signal and the server automatically performs a forced shutdown operation.

10. The server leakage detection method according to claim 6, It is characterized in that The step of outputting a reset signal to the CPLD through the connector before the leakage detection operation, and judging the connection state between the leakage detection rope and the connector according to the level change of the reset signal detected by the CPLD, comprises: If the CPLD detects that the level of the reset signal changes from high to low, it is determined that the leakage detection rope is correctly connected to the connector; Otherwise, it is determined that the leakage detection rope is not connected to the connector or is in poor contact.