A leakage detection device, method and controller
Patent Information
- Application Number
- CN202310720787.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-16
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-06-16
AI Technical Summary
[0003]在漏液检测过程中,模拟开关处于闭合状态,则漏液检测线的一端悬空,这就容易受到核心供电芯片CPU VR的电磁干扰,从而导致漏液误报的情况发生
[0038]从上述技术方案可以看出,本申请公开的漏液检测装置、方法及控制器,漏液检测装置包括:电压调节装置,用于基于控制指令调节输出的参考电压,参考电压为第一参考电压或第二参考电压;漏液检测结构,漏液检测结构的第一端的两个接口通过第一电阻串接,漏液检测结构的第二端的第一接口接地,漏液检测结构的第二端的第二接口与第一电源连接;比较器,比较器的第一输入端与漏液检测结构的第二端的第二接口连接,比较器的第二输入端与电压调节装置连接,用于比较第一输入端输入的漏液检测结构的输出电压及第二输入端输入的参考电压,获得比较结果,以便基于比较结果确定漏液检测结构的漏液状态;其中,第一参考电压用于确定漏液检测结构处于开路状态或在线状态,第二参考电压用于确定漏液检测结构处于在位且无告警状态或告警状态。
Smart Images

Figure CN116754156B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of detection, and more particularly to a leakage detection device, method and controller. Background Technology
[0002] Currently, the leakage detection solution used in server water cooling plates is usually as follows: one end of the leakage detection line is connected to a comparator on the motherboard, and the voltage input to the comparator determines whether leakage has occurred; the other end of the leakage detection line is connected to an analog switch, and when the analog switch is turned on, the two wires of the leakage detection line are short-circuited.
[0003] During the leak detection process, if the analog switch is in the closed state, one end of the leak detection line will be suspended, which makes it susceptible to electromagnetic interference from the core power supply chip CPU VR, thus causing false leak alarms. Summary of the Invention
[0004] In view of this, this application provides a leakage detection device, method, and controller, the specific solutions of which are as follows:
[0005] A leak detection device, comprising:
[0006] A voltage regulating device for adjusting an output reference voltage based on a control command, wherein the reference voltage is a first reference voltage or a second reference voltage;
[0007] A leakage detection structure, wherein two interfaces at the first end of the leakage detection structure are connected in series through a first resistor, the first interface at the second end of the leakage detection structure is grounded, and the second interface at the second end of the leakage detection structure is connected to a first power supply;
[0008] A comparator, wherein the first input terminal of the comparator is connected to the second interface of the second terminal of the leakage detection structure, and the second input terminal of the comparator is connected to the voltage adjustment device, for comparing the output voltage of the leakage detection structure input to the first input terminal and the reference voltage input to the second input terminal to obtain a comparison result, so as to determine the leakage state of the leakage detection structure based on the comparison result;
[0009] The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
[0010] Furthermore, it also includes:
[0011] The controller is connected to the output terminals of the voltage regulator and the comparator respectively, and is used to output control commands to the voltage regulator and determine the leakage status of the leakage detection structure based on the comparison result output by the comparator.
[0012] Furthermore, the voltage regulating device includes:
[0013] A field-effect transistor (FET), wherein the gate of the FET is connected to the controller and is used to adjust the FET to be in an on or off state based on the control command;
[0014] A resistor group, wherein the resistor group includes at least: a second resistor, a third resistor, and a fourth resistor;
[0015] Wherein, the first end of the second resistor is connected to the second power supply, the second end of the second resistor is connected to the second end of the third resistor, the first end of the third resistor is connected to the source of the field-effect transistor, the source of the field-effect transistor is grounded, the second end of the second resistor is connected to the second end of the fourth resistor, the first end of the fourth resistor is connected to the drain of the field-effect transistor, and the second ends of the second, third, and fourth resistors together serve as the output terminal of the resistor group and are connected to the second input terminal of the comparator.
[0016] Furthermore, it also includes:
[0017] The fifth resistor has one end connected to the first power supply and the other end connected to the second interface of the second end of the leakage detection structure.
[0018] Furthermore, it also includes:
[0019] An alarm device is used to output an alarm signal when it is determined that the leakage detection structure is in an alarm state.
[0020] Furthermore,
[0021] The voltage value of the first power supply is the same as the voltage value of the second power supply.
[0022] Furthermore,
[0023] The first reference voltage is the terminal voltage of the third resistor when the field-effect transistor is turned off based on the first voltage output by the controller;
[0024] The second reference voltage is the terminal voltage of the third and fourth resistors connected in parallel when the field-effect transistor is turned on based on the second voltage output by the controller.
[0025] A method for detecting leakage, comprising:
[0026] Output control commands so that the voltage regulating device adjusts the output reference voltage based on the control commands, wherein the reference voltage is a first reference voltage or a second reference voltage;
[0027] Obtain the comparison result of the comparator based on the reference voltage and the output voltage of the leakage detection structure;
[0028] The leakage status of the leakage detection structure is determined based on the comparison results.
[0029] The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
[0030] Furthermore, determining the leakage state of the leakage detection structure based on the comparison result includes:
[0031] If the comparison result is a comparison between the first reference voltage and the output voltage of the leakage detection structure, then if the comparison result shows that the output voltage of the leakage detection structure is greater than the first reference voltage, it is determined that the leakage detection structure is in an open circuit state; if the comparison result shows that the output voltage of the leakage detection structure is less than the first reference voltage, it is determined that the leakage detection structure is in an online state.
[0032] If the comparison result is a comparison between the second reference voltage and the output voltage of the leakage detection structure, then if the comparison result shows that the output voltage of the leakage detection structure is greater than the second reference voltage, it is determined that the leakage detection structure is in place and in a no-alarm state; if the comparison result shows that the output voltage of the leakage detection structure is less than the second reference voltage, it is determined that the leakage detection structure is in an alarm state.
[0033] A controller, comprising:
[0034] An output unit is used to output control commands so that the voltage regulating device adjusts the output reference voltage based on the control commands, wherein the reference voltage is a first reference voltage or a second reference voltage;
[0035] The acquisition unit is used to obtain the comparison result of the comparator based on the reference voltage and the output voltage of the leakage detection structure;
[0036] The determining unit is used to determine the leakage state of the leakage detection structure based on the comparison result;
[0037] The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
[0038] As can be seen from the above technical solutions, the leakage detection device, method, and controller disclosed in this application include: a voltage regulating device for adjusting the output reference voltage based on control commands, wherein the reference voltage is a first reference voltage or a second reference voltage; a leakage detection structure, wherein two interfaces at the first end of the leakage detection structure are connected in series through a first resistor, the first interface at the second end of the leakage detection structure is grounded, and the second interface at the second end of the leakage detection structure is connected to a first power supply; and a comparator, wherein the first input terminal of the comparator is connected to the second interface at the second end of the leakage detection structure, and the second input terminal of the comparator is connected to the voltage regulating device, for comparing the output voltage of the leakage detection structure input at the first input terminal and the reference voltage input at the second input terminal to obtain a comparison result, so as to determine the leakage state of the leakage detection structure based on the comparison result; wherein, the first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in a present and alarm-free state or an alarm state. Attached Figure Description
[0039] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0040] Figure 1 This is a schematic diagram of the structure of a leakage detection device disclosed in an embodiment of this application;
[0041] Figure 2 This is a schematic diagram of a leakage detection device in the prior art;
[0042] Figure 3 This is a schematic diagram of the structure of a leakage detection device disclosed in an embodiment of this application;
[0043] Figure 4 This application discloses a leakage detection structure whose output voltage is within different threshold ranges, representing the leakage state corresponding to these conditions.
[0044] Figure 5 This is a complete structural schematic diagram of a leakage detection structure disclosed in an embodiment of this application;
[0045] Figure 6 This is a flowchart of a leakage detection method disclosed in an embodiment of this application;
[0046] Figure 7 This is a schematic diagram of the structure of a controller disclosed in an embodiment of this application. Detailed Implementation
[0047] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0048] This application discloses a leakage detection device, the structural schematic diagram of which is shown below. Figure 1 As shown, it includes:
[0049] Voltage regulation device 11, leakage detection structure 12 and comparator 13.
[0050] The voltage regulating device 11 is used to regulate the output reference voltage based on the control command, wherein the reference voltage is a first reference voltage or a second reference voltage;
[0051] The two interfaces at the first end of the leakage detection structure 12 are connected in series through the first resistor R1. The first interface at the second end of the leakage detection structure 12 is grounded, and the second interface at the second end of the leakage detection structure is connected to the first power supply VCC1.
[0052] The first input terminal of comparator 13 is connected to the second interface of the second terminal of the leakage detection structure 12, and the second input terminal of comparator 13 is connected to the voltage adjustment device 11. It is used to compare the output voltage of the leakage detection structure 12 input to the first input terminal and the reference voltage input to the second input terminal to obtain the comparison result, so as to determine the leakage state of the leakage detection structure 12 based on the comparison result.
[0053] The first reference voltage is used to determine whether the leakage detection structure is in an open circuit or online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
[0054] Leak detection of server water cooling pipes typically involves setting up a leak detection line around the water cooling pipe and determining whether a leak exists by observing changes in the resistance of the leak detection line.
[0055] in, Figure 1 The CPU0 cold plate and CPU1 cold plate can be different processors in a dual-core processor.
[0056] In current solutions, typically as follows: Figure 2As shown, the system includes: a leak detection controller 21, a comparator 22, an analog switch 23, and a leak detection line 24. The leak detection line 24 is arranged around the server's water cooling pipes so that when there is a leak in the water cooling pipes, the leak detection line 24 can detect the leak, thereby changing its resistance. The first end of the leak detection line 24 is connected to the comparator 22, and the other end of the comparator 22 is input with a reference value. The comparator 22 determines whether a leak has occurred based on the voltage value input across the comparator. The other end of the leak detection line 24 is connected to the analog switch 23. When the analog switch 23 is turned on, it short-circuits the two ports of the second end of the leak detection line 24 to simulate leak faults and detect open circuits in the leak detection line.
[0057] During normal operation, the analog switch 23 is in the closed state, and the second end of the leakage detection line 24 is suspended, making it susceptible to electromagnetic interference from the power supply chip, which may lead to false leakage alarms.
[0058] To avoid this problem, in this solution, one end of the leakage detection structure is connected in series with a resistor, and the other end is connected to a comparator. This avoids the situation where the port of the leakage detection structure is left floating, reduces the problem of electromagnetic interference from the power supply chip, and improves the accuracy of leakage detection.
[0059] Specifically, the leakage detection device disclosed in this embodiment includes a voltage adjustment device, which can adjust the output reference voltage so that the reference voltage received by the comparator is a first reference voltage or a second reference voltage.
[0060] When the comparator receives a first reference voltage, it compares the first reference voltage with the voltage input to the leak detection structure to obtain a first comparison result. Based on the first comparison result, it determines whether the leak detection structure is in an open circuit state or an online state, thereby determining the state of the water cooling tube. If the comparator receives a second reference voltage, it compares the second reference voltage with the voltage input to the leak detection structure to obtain a second comparison result. Based on the second comparison result, it determines whether the leak detection structure is in an in-position and alarm-free state or an alarm state, thereby determining the state of the water cooling tube.
[0061] Therefore, the leakage detection device disclosed in this embodiment can determine different states of the leakage detection structure by adjusting the voltage regulation device, without the need to set multiple comparators to determine multiple states. The internal structure is simple and the control logic is simple.
[0062] The leakage detection device disclosed in this embodiment also includes a leakage detection structure, which can be specifically a leakage detection line. It is set around the water cooling pipe of the server. When there is leakage at any position of the water cooling pipe, the leakage detection structure can detect it and cause a change in resistance.
[0063] The leakage detection structure has two ends, each with two interfaces. The two interfaces of the first end of the leakage detection structure are connected in series through a first resistor R1 to avoid floating. The first interface of the second end of the leakage detection structure is grounded, and the second interface of the second end is connected to the first power supply VCC1. At the same time, the second interface of the second end is also connected to the first input terminal of the comparator.
[0064] Specifically, when the first power supply VCC1 is connected to the second interface of the second end, the first power supply VCC1 can be connected to the second interface of the second end of the leakage detection structure through the fifth resistor R5.
[0065] The second end of the leakage detection structure is connected to the first input end of the comparator so that the first input end of the comparator can obtain the voltage input by the leakage detection structure. This voltage is actually the voltage division of the leakage detection line and the first resistor R1 with respect to the first power supply. When the water cooling tube leaks, the resistance of the leakage detection line changes, which causes the distribution of the leakage detection line and the first resistor R1 with respect to the first power supply VCC1 to change. That is, the voltage value input to the first input end of the comparator is different depending on the state of the leakage detection line.
[0066] The second input terminal of the comparator is connected to the voltage regulation device to obtain the first reference voltage or the second reference voltage input by the voltage regulation device. The voltage input at the first input terminal is compared with the voltage input at the second comparator to obtain the comparison result. Based on the comparison result, the leakage status can be determined.
[0067] The voltage regulation device inputs different reference voltages to the comparator so that the output voltage of the leakage detection structure is compared with the different reference voltages, thereby determining the leakage state of the leakage detection structure. This enables the determination of multiple states of the leakage detection structure through a single comparator, eliminating the need for two separate comparators and simplifying the internal structure and control logic.
[0068] The leakage detection device disclosed in this embodiment includes: a voltage regulating device for adjusting an output reference voltage based on a control command, wherein the reference voltage is a first reference voltage or a second reference voltage; a leakage detection structure, wherein two interfaces at a first end of the leakage detection structure are connected in series through a first resistor, the first interface at a second end of the leakage detection structure is grounded, and the second interface at a second end of the leakage detection structure is connected to a first power supply; and a comparator, wherein a first input terminal of the comparator is connected to the second interface at the second end of the leakage detection structure, and a second input terminal of the comparator is connected to the voltage regulating device, for comparing the output voltage of the leakage detection structure input at the first input terminal with the reference voltage input at the second input terminal to obtain a comparison result, so as to determine the leakage state of the leakage detection structure based on the comparison result; wherein the first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in a present and alarm-free state or an alarm state. This solution uses a voltage adjustment device to input different reference voltage values to the comparator, which are then compared with the output voltage of the leakage detection structure input at the other end of the comparator. This determines the leakage status of the leakage detection structure, enabling the detection of different leakage states by adjusting the input reference voltage. In addition, both ends of the leakage detection structure are connected in the circuit, eliminating the possibility of one end being suspended, thus avoiding false leakage alarms caused by electromagnetic interference from the power supply chip and improving the accuracy of leakage detection.
[0069] This embodiment discloses a leakage detection device, the structural schematic diagram of which is shown below. Figure 3 As shown, it includes:
[0070] Voltage regulation device 31, leakage detection structure 32, comparator 33 and controller 34.
[0071] In addition to the same structure as the previous embodiment, the leakage detection device disclosed in this embodiment also includes a controller.
[0072] The controller 34 is connected to the output terminals of the voltage regulator 31 and the comparator 33 respectively, and is used to output control commands to the voltage regulator 31 and determine the leakage status of the leakage detection structure 32 based on the comparison result output by the comparator 33.
[0073] When leakage detection is required, the controller outputs a control command to the voltage regulator. Based on this control command, the voltage regulator can output either a first reference voltage or a second reference voltage. At this time, the comparator compares the output voltage of the leakage detection structure with the first or second reference voltage output by the voltage regulator to obtain a comparison result. The comparison result is then transmitted to the controller. The controller obtains the comparison result and, by analyzing the comparison result and considering whether the reference voltage output by the voltage regulator is the first or second reference voltage, can determine the current specific state of the leakage detection structure.
[0074] When it is determined that leakage detection is required, the controller can first input a first control command to the voltage regulator. Based on the first control command, the voltage regulator can output a first reference voltage VREF1. At this time, the comparator compares the output voltage of the leakage detection structure with the first reference voltage VREF1 to obtain a first comparison result. The first comparison result may be that the output voltage of the leakage detection structure is greater than the first reference voltage VREF1, or it may be that the output voltage of the leakage detection structure is less than the first reference voltage VREF1.
[0075] The controller obtains the first comparison result from the comparator output and analyzes it. If the first comparison result shows that the output voltage of the leakage detection structure is greater than the first reference voltage VREF1, it indicates that the leakage detection structure is in an open circuit state; if the first comparison result shows that the output voltage of the leakage detection structure is less than the first reference voltage VREF1, it indicates that the leakage detection structure is in an online state.
[0076] If the controller determines that the leakage detection structure is online based on the first comparison result, it can continue to output a second control command to the voltage regulator. The voltage regulator, based on the second control command, can output a second reference voltage VREF2. At this time, the comparator compares the output voltage of the leakage detection structure with the second reference voltage VREF2 to obtain a second comparison result. The second comparison result may be that the output voltage of the leakage detection structure is greater than the second reference voltage VREF2, or it may be that the output voltage of the leakage detection structure is less than the second reference voltage VREF2.
[0077] The controller obtains the second comparison result from the comparator output and analyzes it. If the second comparison result shows that the output voltage of the leakage detection structure is greater than the second reference voltage VREF2, it indicates that the leakage detection structure is online and in an alarm-free state. If the second comparison result shows that the output voltage of the leakage detection structure is less than the second reference voltage VREF2, it indicates that the leakage detection structure is in a leakage alarm state.
[0078] Based on this, it can be determined that the second reference voltage is less than the first reference voltage.
[0079] like Figure 4 The diagram shows the leakage states corresponding to the output voltage of the leakage detection structure within different threshold ranges. Specifically: if the output voltage of the leakage detection structure is greater than the first reference voltage VREF1, it indicates that the leakage detection structure is in an open circuit state; if the output voltage of the leakage detection structure is less than the first reference voltage VREF1 but greater than the second reference voltage VREF2, it indicates that the leakage detection structure is in place and has no alarm; if the output voltage of the leakage detection structure is less than the second reference voltage VREF2, it indicates that the leakage detection structure is in a leakage alarm state.
[0080] Of course, when the controller outputs control commands, it can also do so as follows: First, it outputs a second control command to the voltage regulator, which then outputs a second reference voltage. The output voltage of the leak detection structure is compared with the second reference voltage VREF2. That is, it first determines whether the leak detection structure is in a leak alarm state. If the output voltage of the leak detection structure is less than the second reference voltage VREF2, it can be directly determined that the leak detection structure is currently in a leak alarm state. If the output voltage of the leak detection structure is greater than the second reference voltage VREF2, the controller continues to output a first control command to make the voltage regulator output a first reference voltage VREF1. The comparator compares the output voltage of the leak detection structure with the first reference voltage VREF1 and obtains the comparison result. If it is determined that the output voltage of the leak detection structure is greater than the first reference voltage VREF1, it can be determined that the leak detection structure is currently in an open circuit state. If it is determined that the output voltage of the leak detection structure is less than the first reference voltage VREF1, it can be determined that the leak detection structure is currently online and in a no-alarm state.
[0081] There is no restriction on the order in which the first and second control commands are output; the specific order is determined based on the controller's control logic.
[0082] Furthermore, the leakage detection device disclosed in this embodiment may also include: an alarm device, used to output an alarm signal when it is determined that the leakage detection structure is in an alarm state.
[0083] When the controller determines that the leakage detection structure is in an alarm state, it can output a leakage alarm signal. If it determines that the leakage detection structure is online and has no alarm, it can detect the leakage state based on the monitoring cycle of the leakage state of the leakage detection structure. If it determines that the leakage detection structure is in an open circuit state, it needs to output an open circuit alarm signal.
[0084] The alarm device can output a leakage alarm signal when the leakage detection structure is in a leakage alarm state, and it can also output an open circuit alarm signal when the leakage detection structure is in an open circuit state.
[0085] The leakage detection device disclosed in this embodiment includes: a voltage regulating device for adjusting an output reference voltage based on a control command, wherein the reference voltage is a first reference voltage or a second reference voltage; a leakage detection structure, wherein two interfaces at a first end of the leakage detection structure are connected in series through a first resistor, the first interface at a second end of the leakage detection structure is grounded, and the second interface at a second end of the leakage detection structure is connected to a first power supply; a comparator, wherein a first input terminal of the comparator is connected to the second interface at the second end of the leakage detection structure, and a second input terminal of the comparator is connected to the voltage regulating device, for comparing the output voltage of the leakage detection structure input at the first input terminal and the reference voltage input at the second input terminal to obtain a comparison result, so as to determine the leakage state of the leakage detection structure based on the comparison result; and a controller, for connecting to the output terminals of the voltage regulating device and the comparator respectively, for outputting control commands to the voltage regulating device, and determining the leakage state of the leakage detection structure based on the comparison result output by the comparator, wherein the first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in a present and alarm-free state or an alarm state. This solution uses a controller to adjust the voltage, which is then input to a comparator at different reference voltage values. These values are compared with the output voltage of the leak detection structure, which is input to the other end of the comparator, to determine the leak status of the leak detection structure. This allows for the detection of different leak statuses by adjusting the input reference voltage. Furthermore, both ends of the leak detection structure are connected in the circuit, eliminating the possibility of one end being unconnected. This avoids false leak alarms caused by electromagnetic interference from the power supply chip and improves the accuracy of leak detection.
[0086] This embodiment discloses a leakage detection device, the structural schematic diagram of which is shown below. Figure 3 As shown, it includes:
[0087] Voltage regulation device 31, leakage detection structure 32, comparator 33 and controller 34.
[0088] In addition to the same structure as the previous embodiment, the voltage regulation device 31 in the leakage detection device disclosed in this embodiment may specifically include:
[0089] The field-effect transistor Q1 and the battery pack, the battery pack including at least: a second resistor R2, a third resistor R3 and a fourth resistor R4.
[0090] The gate of the field-effect transistor Q1 is connected to the controller 34 and is used to adjust the field-effect transistor Q1 to be in the on or off state based on the control command.
[0091] The first end of the second resistor R2 is connected to the second power supply VCC2. The second end of the second resistor R2 is connected to the second end of the third resistor R3. The first end of the third resistor R3 is connected to the source of the field-effect transistor Q1. The source of the field-effect transistor Q1 is grounded. The second end of the second resistor R2 is connected to the second end of the fourth resistor R4. The first end of the fourth resistor R4 is connected to the drain of the field-effect transistor Q1. The second ends of the second resistor R2, the third resistor R3, and the fourth resistor R4 together serve as the output of the resistor group and are connected to the second input of the comparator 33.
[0092] The complete schematic diagram of the leakage detection structure disclosed in this embodiment is as follows: Figure 5 As shown.
[0093] Among them, the first power supply VCC1 and the second power supply VCC2 can be power supplies with the same voltage value, such as: the voltage of the first power supply VCC1 and the second power supply VCC2 is 3.3V.
[0094] The gate of the field-effect transistor Q1 is connected to the controller 34. The controller controls whether the field-effect transistor Q1 is in the on or off state by different voltage values input to the controller. If the controller inputs a control command to the voltage regulation device, i.e., the input voltage, the controller determines whether the field-effect transistor Q1 needs to be in the on or off state based on the comparison between the input voltage and the voltage difference Vgs between the gate and source of the field-effect transistor Q1.
[0095] If the controller inputs a first voltage and determines that the first voltage is less than the voltage difference Vgs between the gate and source of the field-effect transistor Q1, then the field-effect transistor Q1 is turned off. When the field-effect transistor Q1 is turned off, the actual first reference voltage input to the comparator is:
[0096] VREF1=(VCC2 / (R2+R3))×R3
[0097] That is, when the field-effect transistor Q1 is in the off state, the first reference voltage input to the second input terminal of the comparator is actually the voltage across the third resistor R3 in the voltage regulation device.
[0098] If the controller inputs a second voltage and determines that the second voltage is greater than the voltage difference Vgs between the gate and source of the field-effect transistor Q1, then the field-effect transistor Q1 turns on. When the field-effect transistor Q1 is on, the second reference voltage input to the second input terminal of the comparator is:
[0099] VREF2=(VCC2 / (R2+R6))×R6
[0100] Where R6 is the resistance value of R3 and R4 connected in parallel.
[0101] For example: VCC1 = VCC2 = 3.3V, when R2 = 10kΩ and R3 = 39kΩ, the first reference voltage is: VREF1 = (3.3 / (10k+39k)) × 39k = 2.62V;
[0102] If R4 = 10kΩ, then the resistance value R6 after parallel connection can be determined first. The second reference voltage is: VREF2 = (3.3 / (10k+7.96k)) × 7.96k = 1.46V.
[0103] When the controller inputs the first voltage, the field-effect transistor Q1 is turned off. At this time, the first reference voltage value input to the second input terminal of the comparator is 2.62V. If the output voltage of the leakage detection structure is greater than 2.62V, it indicates that the leakage detection structure is currently in an open circuit state, and the alarm device needs to output an open circuit alarm signal. If the output voltage of the leakage detection structure is less than 2.62V, it indicates that the leakage detection structure is currently in an online state.
[0104] When the leak detection structure is determined to be online, the field-effect transistor Q1 turns on when the controller continues to input the second voltage. At this time, the second reference voltage value input to the second input terminal of the comparator is 1.46V. If the output voltage of the leak detection structure is greater than 1.46V, it can be determined that the leak detection structure is currently in an on-site, alarm-free state. If the output voltage of the leak detection structure is less than 1.46V, it can be determined that the leak detection structure is currently in a leak alarm state, and the alarm device needs to output a leak alarm signal.
[0105] If R5 = 39kΩ and R1 = 64.9kΩ, then when the leakage detection structure is in place and there is no alarm, the output voltage of the leakage detection structure is 2.06V; when leakage occurs, the impedance between the two leakage detection lines in the leakage detection structure is 7-10kΩ, and at this time, the output voltage of the leakage detection structure is 0.5-0.76V; when the leakage detection structure is in an open circuit state, the output voltage of the leakage detection structure is 3.3V.
[0106] Therefore, when the controller inputs the first voltage, the field-effect transistor Q1 is turned off. At this time, the second input terminal of the comparator obtains the first reference voltage value of 2.62V. If the output voltage of the leakage detection structure obtained by the first input terminal of the comparator is 2.06V, the comparison result is that the output voltage of the leakage detection structure is less than the first reference voltage. At this time, the controller can determine that the leakage detection structure is in the in-position state. If the output voltage of the leakage detection structure obtained by the first input terminal of the comparator is 0.5-0.76V, the comparison result is that the output voltage of the leakage detection structure is less than the first reference voltage. At this time, the controller can determine that the leakage detection structure is in the online state. If the output voltage of the leakage detection structure obtained by the first input terminal of the comparator is 3.3V, the comparison result is that the output voltage of the leakage detection structure is greater than the first reference voltage. At this time, the controller can determine that the leakage detection structure is in the open circuit state.
[0107] When the controller determines that the leakage detection structure is online, the controller continues to output a second voltage to the field-effect transistor Q1. At this time, the field-effect transistor Q1 is turned on, and the second input terminal of the comparator obtains the second reference voltage value of 1.46V. If the output voltage of the leakage detection structure obtained by the first input terminal of the comparator is 2.06V, the comparison result is that the output voltage of the leakage detection structure is greater than the second reference voltage. At this time, the controller can determine that the leakage detection structure is in place and has no alarm. If the output voltage of the leakage detection structure obtained by the first input terminal of the comparator is 0.5-0.76V, the comparison result is that the output voltage of the leakage detection structure is less than the first reference voltage. At this time, the controller can determine that the leakage detection structure is in a leakage alarm state.
[0108] The controller can either output a first voltage first, and then determine whether to output a second voltage, meaning it will only continue outputting the second voltage if it determines that the output voltage of the leak detection structure is less than the first reference voltage. Alternatively, the controller can output the second voltage first, and then determine whether to output the first voltage, meaning it will only continue outputting the first voltage if it determines that the output voltage of the leak detection structure is greater than the second reference voltage.
[0109] Specifically, after the controller outputs the first voltage or the second voltage, the comparator does not immediately perform a comparison. Instead, it performs a comparison only after a preset time interval. This ensures that the reference voltage value input to the second input terminal of the comparator has stabilized before the comparison, thus guaranteeing the accuracy of the comparison result. This preset time interval can be 1ms or other durations, and is not specifically limited here.
[0110] It should be noted that, Figure 5The field-effect transistor Q1 shown is an N-channel field-effect transistor, but a P-channel field-effect transistor can also be used. In this case, the determination of whether the field-effect transistor is in the off state or the on state is made by comparing the voltage at the gate of the field-effect transistor, i.e., the output voltage of the controller, with the absolute value of the voltage difference between the gate and source of the field-effect transistor, |Vgs|.
[0111] The leakage detection device disclosed in this embodiment includes: a voltage regulating device for adjusting an output reference voltage based on a control command, wherein the reference voltage is a first reference voltage or a second reference voltage; a leakage detection structure, wherein two interfaces at a first end of the leakage detection structure are connected in series through a first resistor, the first interface at a second end of the leakage detection structure is grounded, and the second interface at a second end of the leakage detection structure is connected to a first power supply; a comparator, wherein a first input terminal of the comparator is connected to the second interface at the second end of the leakage detection structure, and a second input terminal of the comparator is connected to the voltage regulating device, for comparing the output voltage of the leakage detection structure input at the first input terminal and the reference voltage input at the second input terminal to obtain a comparison result, so as to determine the leakage state of the leakage detection structure based on the comparison result; and a controller, for connecting to the output terminals of the voltage regulating device and the comparator respectively, for outputting control commands to the voltage regulating device, and determining the leakage state of the leakage detection structure based on the comparison result output by the comparator, wherein the first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in a present and alarm-free state or an alarm state. This solution uses different input voltage values to turn the field-effect transistor on or off, thereby providing different reference voltage values to the comparator. These reference voltage values are then compared with the output voltage of the leakage detection structure input to the other end of the comparator to determine the leakage status of the leakage detection structure. This allows for the detection of different leakage states by adjusting the input reference voltage. Furthermore, both ends of the leakage detection structure are connected in the circuit, eliminating the possibility of one end being unconnected. This avoids false leakage alarms caused by electromagnetic interference from the power supply chip, thus improving the accuracy of leakage detection.
[0112] This embodiment discloses a leakage detection method, the flowchart of which is shown below. Figure 6 As shown, it includes:
[0113] Step S61: Output control command so that the voltage regulating device adjusts the output reference voltage based on the control command. The reference voltage is either a first reference voltage or a second reference voltage.
[0114] Step S62: Obtain the comparison result of the comparator based on the reference voltage and the output voltage of the leakage detection structure;
[0115] Step S63: Determine the leakage status of the leakage detection structure based on the comparison results; the first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
[0116] Furthermore, based on the comparison results, the leakage status of the leakage detection structure is determined, including:
[0117] If the comparison result is between the first reference voltage and the output voltage of the leakage detection structure, then if the comparison result shows that the output voltage of the leakage detection structure is greater than the first reference voltage, it is determined that the leakage detection structure is in an open circuit state; if the comparison result shows that the output voltage of the leakage detection structure is less than the first reference voltage, it is determined that the leakage detection structure is in an online state.
[0118] If the comparison result is between the second reference voltage and the output voltage of the leakage detection structure, then if the comparison result shows that the output voltage of the leakage detection structure is greater than the second reference voltage, it is determined that the leakage detection structure is in place and has no alarm; if the comparison result shows that the output voltage of the leakage detection structure is less than the second reference voltage, it is determined that the leakage detection structure is in an alarm state.
[0119] The leakage detection method disclosed in this embodiment is based on the leakage detection device disclosed in the above embodiment, and will not be described again here.
[0120] The leakage detection method disclosed in this embodiment outputs a control command so that a voltage regulating device adjusts the output reference voltage based on the control command. The reference voltage is either a first reference voltage or a second reference voltage. A comparator compares the reference voltage with the output voltage of the leakage detection structure. Based on the comparison result, the leakage state of the leakage detection structure is determined. The first reference voltage is used to determine whether the leakage detection structure is in an open-circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and without alarm or in an alarm state. This scheme uses a voltage regulating device to input different reference voltage values to the comparator for comparison with the output voltage of the leakage detection structure input at the other end of the comparator, thereby determining the leakage state of the leakage detection structure. This achieves the detection of different leakage states by adjusting the input reference voltage. Furthermore, both ends of the leakage detection structure are in a connected state in the circuit, avoiding a situation where one end is suspended, thus preventing false leakage alarms caused by electromagnetic interference from the power supply chip and improving the accuracy of leakage detection.
[0121] This embodiment discloses a controller, the structural schematic diagram of which is shown below. Figure 7 As shown, it includes:
[0122] Output unit 71, acquisition unit 72 and determination unit 73.
[0123] The output unit 71 is used to output control commands so that the voltage regulating device can adjust the output reference voltage based on the control commands. The reference voltage is either a first reference voltage or a second reference voltage.
[0124] The obtaining unit 72 is used to obtain the comparison result of the comparator based on the reference voltage and the output voltage of the leakage detection structure;
[0125] The determining unit 73 is used to determine the leakage status of the leakage detection structure based on the comparison results;
[0126] The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
[0127] The controller disclosed in this embodiment is based on the leakage detection device disclosed in the above embodiments, and will not be described again here.
[0128] The controller disclosed in this embodiment outputs control commands so that the voltage regulation device adjusts the output reference voltage based on the control commands. The reference voltage is either a first reference voltage or a second reference voltage. It obtains a comparison result between the comparator based on the reference voltage and the output voltage of the leakage detection structure. Based on the comparison result, it determines the leakage state of the leakage detection structure. The first reference voltage is used to determine whether the leakage detection structure is in an open-circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in an alarm-free state or an alarm state. This solution uses a voltage regulation device to input different reference voltage values to the comparator for comparison with the output voltage of the leakage detection structure input at the other end of the comparator, thereby determining the leakage state of the leakage detection structure. This achieves the detection of different leakage states by adjusting the input reference voltage. Furthermore, both ends of the leakage detection structure are in a connected state in the circuit, eliminating the possibility of one end being suspended, thus avoiding false leakage alarms caused by electromagnetic interference from the power supply chip and improving the accuracy of leakage detection.
[0129] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.
[0130] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0131] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0132] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A leakage detection device, comprising: A voltage regulating device for adjusting an output reference voltage based on a control command, wherein the reference voltage is a first reference voltage or a second reference voltage; A leakage detection structure, wherein two interfaces at the first end of the leakage detection structure are connected in series through a first resistor, the first interface at the second end of the leakage detection structure is grounded, and the second interface at the second end of the leakage detection structure is connected to a first power supply; A comparator, wherein the first input terminal of the comparator is connected to the second interface of the second terminal of the leakage detection structure, and the second input terminal of the comparator is connected to the voltage adjustment device, for comparing the output voltage of the leakage detection structure input to the first input terminal and the reference voltage input to the second input terminal to obtain a comparison result, so as to determine the leakage state of the leakage detection structure based on the comparison result; The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
2. The apparatus according to claim 1, wherein, Also includes: The controller is connected to the output terminals of the voltage regulator and the comparator respectively, and is used to output control commands to the voltage regulator and determine the leakage status of the leakage detection structure based on the comparison result output by the comparator.
3. The apparatus according to claim 2, wherein, The voltage regulating device includes: A field-effect transistor (FET), wherein the gate of the FET is connected to the controller and is used to adjust the FET to be in an on or off state based on the control command; A resistor group, wherein the resistor group includes at least: a second resistor, a third resistor, and a fourth resistor; Wherein, the first end of the second resistor is connected to the second power supply, the second end of the second resistor is connected to the second end of the third resistor, the first end of the third resistor is connected to the source of the field-effect transistor, the source of the field-effect transistor is grounded, the second end of the second resistor is connected to the second end of the fourth resistor, the first end of the fourth resistor is connected to the drain of the field-effect transistor, and the second ends of the second, third, and fourth resistors together serve as the output terminal of the resistor group and are connected to the second input terminal of the comparator.
4. The apparatus according to claim 1, wherein, Also includes: The fifth resistor has one end connected to the first power supply and the other end connected to the second interface of the second end of the leakage detection structure.
5. The apparatus according to claim 1, wherein, Also includes: An alarm device is used to output an alarm signal when it is determined that the leakage detection structure is in an alarm state.
6. The apparatus according to claim 3, wherein, The voltage value of the first power supply is the same as the voltage value of the second power supply.
7. The apparatus according to claim 3, wherein, The first reference voltage is the terminal voltage of the third resistor when the field-effect transistor is turned off based on the first voltage output by the controller; The second reference voltage is the terminal voltage of the third and fourth resistors connected in parallel when the field-effect transistor is turned on based on the second voltage output by the controller.
8. A method for detecting leakage, applied to the leakage detection device according to any one of claims 1-7, the method comprising: Output control commands so that the voltage regulating device adjusts the output reference voltage based on the control commands, wherein the reference voltage is a first reference voltage or a second reference voltage; Obtain the comparison result of the comparator based on the reference voltage and the output voltage of the leakage detection structure; The leakage status of the leakage detection structure is determined based on the comparison results. The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
9. The method according to claim 8, wherein, Determining the leakage status of the leakage detection structure based on the comparison result includes: If the comparison result is a comparison between the first reference voltage and the output voltage of the leakage detection structure, then if the comparison result shows that the output voltage of the leakage detection structure is greater than the first reference voltage, it is determined that the leakage detection structure is in an open circuit state; if the comparison result shows that the output voltage of the leakage detection structure is less than the first reference voltage, it is determined that the leakage detection structure is in an online state. If the comparison result is a comparison between the second reference voltage and the output voltage of the leakage detection structure, then if the comparison result shows that the output voltage of the leakage detection structure is greater than the second reference voltage, it is determined that the leakage detection structure is in place and in a no-alarm state; if the comparison result shows that the output voltage of the leakage detection structure is less than the second reference voltage, it is determined that the leakage detection structure is in an alarm state.
10. A controller for controlling the leakage detection device according to any one of claims 1-7, comprising: An output unit is used to output control commands so that the voltage regulating device adjusts the output reference voltage based on the control commands, wherein the reference voltage is a first reference voltage or a second reference voltage; The acquisition unit is used to obtain the comparison result of the comparator based on the reference voltage and the output voltage of the leakage detection structure; The determining unit is used to determine the leakage state of the leakage detection structure based on the comparison result; The first reference voltage is used to determine whether the leakage detection structure is in an open circuit state or an online state, and the second reference voltage is used to determine whether the leakage detection structure is in place and in a state without alarm or in an alarm state.
Citation Information
Patent Citations
Liquid leakage detection device and method for liquid cooling heat dissipation
CN113884251A
Anti-false-triggering device for water leakage detection and scribing machine equipment
CN116242550A