Server power supply system and grounding detection method
By integrating the ground detection device in the server power supply system, the voltage signals of the power supply device and the ground wire are monitored in real time, the electric shock risk and EMC problems caused by poor grounding of the server are solved, and the safety and compatibility are improved.
Patent Information
- Application Number
- CN202411217892.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
Poor grounding of the server leads to electric shock risks and EMC problems, which are difficult to effectively monitor and solve in the existing technology.
Design a server power supply system, including a power supply device and a ground detection device, and obtains the voltage signal of the power supply device and the voltage signal of the ground wire through the voltage acquisition unit in real time. The processing unit determines the ground detection result based on the comparison results, and can optionally configure the threshold adjustment unit , signal preprocessing unit and early warning unit to realize real-time grounding detection and early warning.
Real-time monitoring of the server's grounding status is realized, avoiding the risk of electric shock and EMC problems caused by grounding abnormalities, and improving the security and electromagnetic compatibility of the server.
Smart Images

Figure CN119088191A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of servers, and more specifically to a server power supply system and a grounding detection method. Background Art
[0002] With the continuous development of servers, the requirements for server performance in actual application scenarios are getting higher and higher. If the server is poorly grounded, voltage will be applied to the server casing, which will bring the risk of electric shock to operators. In addition, the internal common mode noise of the server power supply cannot be transmitted through the ground wire, which will cause EMC (Electro Magnetic Compatibility) problems. Summary of the invention
[0003] In view of this, this application provides the following technical solutions:
[0004] A server power supply system, comprising:
[0005] A power supply device, the power supply device is used to obtain current from an external power supply to supply power to the corresponding server;
[0006] A grounding detection device, the grounding detection device is connected to the power supply device and is used to detect a grounding detection result of the server; the grounding detection device comprises:
[0007] A voltage acquisition unit, wherein a first acquisition terminal of the voltage acquisition unit is used to connect to a voltage monitoring point of the power supply device to obtain a first voltage signal corresponding to the voltage detection point in real time; a second acquisition terminal of the voltage acquisition unit is used to connect to a ground wire of the power supply device to obtain a second voltage signal corresponding to the ground wire;
[0008] A processing unit is connected to the voltage acquisition unit and is used to determine a grounding detection result of a server connected to the power supply device according to the received first voltage signal and the second voltage signal.
[0009] Optionally, the processing unit is configured to:
[0010] comparing the first voltage signal and the second voltage signal to obtain a comparison result;
[0011] If the comparison result indicates that a voltage difference between a first voltage corresponding to the first voltage signal and a second voltage corresponding to the second voltage signal satisfies a target threshold, determining that a grounding detection result of the server is a first detection result of normal grounding;
[0012] If the comparison results continuously output within the target time period indicate that the first voltage and the second voltage do not meet the target threshold for a number of times greater than a number threshold, the grounding detection result of the server is determined to be a second detection result of grounding abnormality.
[0013] Optionally, the ground detection device further includes a threshold value adjustment unit, and the threshold value adjustment unit is used to determine the target threshold value based on the power supply voltage of the external power supply connected to the power supply device and the characteristics of the voltage monitoring point.
[0014] Optionally, the voltage monitoring point of the power supply device includes at least one of the following:
[0015] A voltage monitoring point on the live wire of the power supply device;
[0016] A voltage monitoring point on the neutral line of the power supply device;
[0017] The voltage monitoring point corresponding to the voltage detection module on the target power supply circuit of the power supply device, the target power supply circuit does not include the live wire and the neutral wire.
[0018] Optionally, the voltage monitoring point of the power supply device is a first voltage monitoring point on a live line of the power supply device and a second voltage monitoring point on a neutral line of the power supply device, wherein the processing unit is used to:
[0019] comparing a third voltage signal of the first voltage monitoring point with the second voltage signal to obtain a first comparison result;
[0020] comparing a fourth voltage signal of the second voltage monitoring point with the second voltage signal to obtain a second comparison result;
[0021] A ground detection result of the server is determined based on the first comparison result and the second comparison result.
[0022] Optionally, the processing unit is further configured to:
[0023] comparing the third voltage signal and the fourth voltage signal to obtain a third comparison result;
[0024] Based on the first comparison result, the second comparison result, and the third comparison result, a ground detection result of the server to which the power supply device is connected is determined.
[0025] Optionally, the ground detection device further includes a voltage signal preprocessing unit, and the voltage signal preprocessing unit is connected to the voltage acquisition unit and the processing unit;
[0026] The voltage signal preprocessing unit is used to perform signal processing on the first voltage signal based on the signal receiving characteristics of the processing unit to obtain a first voltage target signal; and process the second voltage signal to obtain a second voltage target signal;
[0027] The first voltage target signal and the second voltage target signal are transmitted to the processing unit; wherein signal characteristics of the first voltage target signal and the second voltage target signal match signal receiving characteristics of the processing unit.
[0028] Optionally, the grounding detection device further comprises: an information storage unit, the information storage unit is connected to the processing unit, and the information storage unit is used to store record information corresponding to the grounding detection result of the server of the power connection device;
[0029] The record information includes first record information corresponding to a first detection result that the grounding detection result of the server is normal grounding, and second record information corresponding to a second detection result that the grounding detection result of the server is abnormal grounding, and the first record information and the second record information are different;
[0030] The information storage unit is also used to update the corresponding target second record information to the first record information based on the recovery instruction of the processing unit, wherein the recovery instruction is an instruction generated by the processing unit when the grounding detection result of the server is restored from abnormal to normal.
[0031] Optionally, the grounding detection device further includes:
[0032] An early warning unit is connected to the information storage unit, and is used to output an early warning signal of grounding abnormality in response to the record information in the information storage unit being the second record information.
[0033] A ground detection method, comprising:
[0034] When a power supply device of a server to be detected obtains current from an external power supply to power the corresponding server, a first voltage signal of a voltage monitoring point inside the power supply device is obtained in real time;
[0035] Detecting and obtaining a second voltage signal of a ground line of the power supply device;
[0036] In response to the first voltage signal and the second voltage signal, a ground detection result of a server connected to the power supply device is determined. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0038] Figure 1 A schematic diagram of the structure of a server power supply system provided in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of the internal circuit of a power supply device provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of an external power supply system provided in an embodiment of the present application;
[0041] Figure 4 A schematic diagram of a detection scenario based on a fire line sampling point provided in an embodiment of the present application;
[0042] Figure 5 A schematic diagram of a detection scenario based on a zero line sampling point provided in an embodiment of the present application;
[0043] Figure 6 A schematic diagram of a flow chart of a ground detection method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. For example, the first audio signal and the second audio signal in the embodiment of the present application are only audio signals that represent different audio signals. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0046] The embodiments of the present application provide a server power supply system and detection method, which can be applied to the grounding detection scenario of the server power supply to achieve real-time monitoring and obtain the grounding detection results of the server, thereby avoiding related problems caused by abnormal server grounding.
[0047] See also Figure 1 , is a structural diagram of a server power supply system provided in an embodiment of the present application, and the server power supply system includes: a power supply device 10 and a grounding detection device 20. The power supply device 10 is used to obtain current from an external power supply to power the corresponding server. The grounding detection device 20 is connected to the power supply device 10 to detect the grounding detection result of the server. The power supply device 10 is a server power supply, which may include a power supply unit (Power Supply Unit, PSU) and a power distribution circuit, etc. The power supply is used to convert the AC power of the external power supply into the required DC power, and supply power to various components and parts of the server through various circuit values. The power distribution circuit distributes the converted retention points to various subsystems or peripherals inside the server. Correspondingly, the external power supply connected to the power supply device 10 can adopt different power supply methods, such as three-phase power or single-phase power, and the present application does not limit this.
[0048] Furthermore, the grounding detection device 20 includes: a voltage acquisition unit 201 and a processing unit 202. The first acquisition end of the voltage acquisition unit 201 is used to connect to the voltage detection point of the power supply device 10 to obtain a first voltage signal corresponding to the voltage monitoring point in real time. The second acquisition end of the voltage acquisition unit 201 is used to connect to the grounding wire of the power supply device to obtain a second voltage signal corresponding to the grounding wire. The processing unit 202 is connected to the voltage acquisition unit 201, and is used to determine the grounding detection result of the server connected to the power supply device 10 according to the received first voltage signal and second voltage signal.
[0049] Specifically, the first acquisition end of the voltage acquisition unit 201 can be connected to the voltage detection module in the power supply device 10, and each voltage detection module in the power supply device can be used to detect and obtain the voltage signal of the corresponding voltage monitoring point. The voltage detection module can be set on the corresponding power supply line in the power supply device, which can realize real-time detection of the voltage signal to determine whether problems such as overvoltage occur. Therefore, in the embodiment of the present application, the voltage acquisition unit can be connected to the original voltage detection module in the power supply device without additionally changing the structure of the power supply device, etc., so that the grounding detection scheme is easier to implement and the cost is lower. In one implementation of the embodiment of the present application, the voltage monitoring point of the power supply device includes at least one of the following: a voltage monitoring point on the live wire of the power supply device, a voltage monitoring point on the neutral wire of the power supply device; a voltage monitoring point corresponding to the voltage detection module on the target power supply line of the power supply device, and the target power supply line does not include the live wire and the neutral wire. For example, the target power supply circuit can be a power supply circuit for related components in the power supply device, such as the target power supply circuit can be a power supply circuit for the temperature detection module in the power supply device; the target power supply circuit can also be an auxiliary circuit in the power supply device other than the live wire, the neutral wire, and the ground wire, for example, a signal transmission circuit in the power supply device, etc. Specifically, the target power supply circuit can also be a circuit in which a voltage detection module has been set in a general power supply device. For example, in a general power supply device, a voltage detection module will be set on the relevant circuit to detect whether there are problems such as overvoltage. These voltage detection modules can be reused to obtain relevant voltage signals for grounding detection. That is, the voltage acquisition unit 201 in the embodiment of the present application and the voltage detection module connected to the power supply device can be set on the live wire, the neutral wire or the target power supply circuit of the power supply device, so that the voltage acquisition unit can obtain the first voltage signal of the corresponding voltage detection point in real time. In the subsequent embodiments of the present application, the grounding detection process will be described in detail with the voltage monitoring point set on the live wire of the power supply device or the neutral wire of the power supply device. When the voltage monitoring point is set on the target power supply line, the voltage difference between the voltage monitoring point and the ground line of the power supply device can be collected when the power supply device is grounded normally, and in order to accurately obtain relevant data, multiple collections can be performed at different time points to determine the voltage difference between the voltage monitoring point set on the target power supply line and the ground line of the power supply device when the grounding is normal. At the same time, the grounding abnormality can be simulated, and the voltage difference between the two under the grounding abnormality can be recorded. According to the voltage difference between the two under the normal grounding situation and the grounding abnormality situation, the target threshold corresponding to the voltage monitoring point on the target power supply line is set, so as to pass the target threshold in the actual detection environment, as well as the current voltage difference between the voltage detection point and the ground line of the power supply device, and the grounding detection result can be determined by comparing the voltage difference with the target threshold.Specifically, the target threshold in this scenario is also related to the input voltage of the external power supply, and can be determined based on the actual input voltage of the external power supply and the above-mentioned simulation calculation process. For details, please refer to the process of setting the target threshold corresponding to the voltage difference between the live wire and the ground wire, or setting the target threshold corresponding to the voltage difference between the neutral wire and the live wire in the subsequent embodiments, which will not be described in detail here.
[0050] In order to obtain the grounding detection result of the server in a timely and accurate manner, the voltage acquisition unit can acquire the first voltage signal of the voltage monitoring point in real time, or it can acquire the voltage signal according to a pre-set time detection period, such as the voltage acquisition unit can acquire the first voltage signal of the corresponding voltage monitoring point every 10 seconds. Correspondingly, the voltage acquisition unit can also acquire the second voltage signal corresponding to the grounding wire of the power supply device in real time, or it can acquire the second voltage signal corresponding to the grounding wire according to the corresponding time detection period. The voltage acquisition unit sets the acquisition time corresponding to the first voltage signal of the voltage monitoring point and the acquisition time corresponding to the second voltage signal of the grounding wire to be the same, so as to ensure that the corresponding voltage signal can be acquired in real time and accurately.
[0051] The processing unit 202 in the grounding detection device 20 is used to determine the grounding detection result of the server connected to the power supply device according to the received first voltage signal and the second voltage signal. The processing unit may include a comparison subunit and a determination subunit, wherein the comparison subunit is used to compare the first voltage signal and the second voltage signal to obtain a comparison result between the two, such as obtaining a voltage difference between the two, and then the determination subunit determines the grounding detection result of the server connected to the power supply device according to the judgment condition of the corresponding grounding detection result and the comparison result. If the grounding is abnormal, abnormal warning information can also be output to remind the server administrator to obtain the result of the grounding abnormality in time, so that relevant personnel can check the grounding connection.
[0052] In the embodiment of the present application, a grounding detection device connected to the power supply device in the server power supply can be added to the existing circuit design of the server power supply itself, and the grounding detection result of the server can be determined by obtaining the first voltage signal of the relevant voltage monitoring point in the power supply device and the second voltage signal of the grounding line in real time. Thus, the purpose of obtaining the grounding detection result of the server in real time can be achieved, and the unstable operation of the server due to abnormal grounding and other safety hazards can be avoided.
[0053] See also Figure 2 , is a schematic diagram of the internal circuit of a power supply device provided in an embodiment of the present application. Figure 2The circuits inside the power supply device shown include a live wire (L), a neutral wire (N), a ground wire, and some other power supply lines connecting these lines, as well as related components such as capacitors or inductors. The ground wire of the power supply device in the embodiment of the present application can adopt two grounding methods, such as the PE (Protective Earth) method, which mainly connects the metal casing or non-charged part of the electrical equipment to the ground to prevent the casing from being charged due to equipment failure. The FG (Frame Grounding) grounding method can also be adopted, and the metal frame of the equipment can be connected to the ground wire. Regardless of which of the above grounding methods is adopted, the grounding detection device of the present application can be used to detect and obtain the corresponding grounding detection result. For the convenience of description, the ground wire can be represented as the ground wire FG (or ground wire PE) in the embodiment of the present application.
[0054] When the input voltage of the external power supply connected to the power supply device is 220Vac, and the server power supply is well grounded, in the data center or laboratory, the neutral line N and the ground line FG (or ground line PE) are not connected together, but in the substation, the neutral line N will be connected to the earth, that is, there is zero voltage between the neutral line N and the ground line. Figure 3 The external power supply system shown, Figure 3 The server power supply in the embodiment of the present application is the power supply device. In this power supply system, the ground wire PE and the neutral wire N are simultaneously introduced into the earth, that is, the ground wire PE and the neutral wire N are short-circuited on the external power supply system, that is, the transformer side.
[0055] Therefore, in the case of good grounding, the voltage between the live wire L and the ground wire FG (or the ground wire PE) is similar to the voltage between the live wire L and the neutral wire N, with a difference of about 1 to 2V. When the grounding is poor, the ground wire will be disconnected from the external power supply, so the neutral wire N will be disconnected from the ground wire PE (or the ground wire FG). When this happens, because the ground wire inside the power supply device is not connected to the external ground wire, the ground wire PE (or FG) inside the power supply will produce a suspended grounding state (referred to as floating ground). In the state of suspended grounding, the inductor element in the power supply device is easily affected by the external electromagnetic field, resulting in the generation of induced voltage. The power supply device may also be connected to other charged bodies or lines through capacitive coupling, which will also cause voltage changes, thereby causing the voltage of the relevant lines in the power supply device to change, such as the voltage on the neutral wire or the live wire in the power supply device. The inductor element and the capacitor element in the power supply device can adopt the relevant type of elements in the general server power supply. Specifically, the power supply device usually adopts safety capacitors to suppress electromagnetic interference. They are divided into two types: C capacitors and Y capacitors. X capacitors are used to suppress differential mode interference. Y capacitors are used to suppress common mode interference. Figure 2The Y capacitor in the power supply device shown is represented by CY, and the X capacitor is represented by CX. For example, when the ground wire FG inside the power supply is in a floating grounding state, a voltage division will be generated between the capacitors CY01 and CY02, between CY201 and CY203, and between CY202 and CY204, because the above capacitors have AC impedance, and this AC impedance will generate a voltage division on the voltage between the live wire L and the neutral wire N. Because the capacitance of the upper and lower arms is equal, their impedances should also be equal in theory, so as a result of the voltage division, the voltage at the middle point (i.e., the point on the ground wire FG inside the power supply device) is half of the voltage difference between the live wire L and the neutral wire N. That is, for a 220Vac power grid system, if the ground wire PE (FG) of the power supply device is disconnected from the ground wire PE (FG) of the power grid, a voltage of about 110Vac will be generated at the grounding point PE (FG) inside the power supply. Among them, the above is explained based on the relationship between the live wire and the neutral wire in the power supply device and the ground wire, and the relationship between the voltage of other voltage monitoring points and the ground wire voltage is similar to the above description. Therefore, in the embodiment of the present application, a ground detection result can be determined based on a comparison between a first voltage signal corresponding to a voltage monitoring point and a second voltage signal corresponding to a ground line.
[0056] Correspondingly, in the server power supply system in the embodiment of the present application, the processing unit can be configured to: compare the first voltage signal and the second voltage signal to obtain a comparison result. If the comparison result indicates that the voltage difference between the first voltage corresponding to the first voltage signal and the second voltage corresponding to the second voltage signal meets the target threshold, the grounding detection result of the server is determined to be the first detection result of normal grounding. If the comparison result continuously output within the target time period indicates that the voltage difference between the first voltage and the second voltage does not meet the target threshold, and the number of outputs is greater than the number threshold, the grounding detection result of the server is determined to be the second detection result of abnormal grounding.
[0057] Among them, the target threshold can be determined according to the actual detection scenario, such as the input voltage of the external power supply connected to the power supply device, and the location of the selected voltage monitoring point and other information. For example, when the voltage monitoring point is the monitoring point on the live wire in the power supply device and the input voltage of the external power supply is 220Vac, the target threshold can be a value between 110 and 220Vac, such as 165Vac. According to the comparison result of the first voltage on the live wire and the second voltage on the ground wire, the voltage difference between the two is determined. If the voltage difference meets the target threshold, it means that the voltage difference is within the range corresponding to the target threshold. For example, when the voltage difference is greater than 165Vac, the grounding detection result of the server is determined to be the first detection result of normal grounding. If the voltage difference does not meet the target threshold, that is, when the voltage difference is less than 165Vac, the grounding detection result of the server is determined to be the second detection result of abnormal grounding. Further, in order to accurately determine the grounding detection result and avoid detection interference or error, it can be that when multiple detections are performed continuously, if the detection results are consistent, the corresponding grounding detection result will be determined. If the voltage difference between the live wire and the ground wire is detected to be less than 165 Vac for four consecutive times within a detection cycle, it is determined that the grounding detection result of the server is abnormal.
[0058] In order to enable the server power supply system of the embodiment of the present application to be applied to different server scenarios, the grounding detection device also includes a threshold adjustment unit, which is used to determine the target threshold based on the power supply voltage of the external power supply connected to the power supply device and the characteristics of the voltage monitoring point.
[0059] For example, the corresponding target threshold value can be obtained by adjusting the threshold adjustment unit according to the grid characteristics corresponding to the external power supply connected to the power supply device. The grid characteristics corresponding to the external power supply can be determined according to the input voltage of its grid. Specifically, when the input voltage corresponding to the external power supply is different, the target threshold value applied in the grounding detection judgment process can be adjusted based on the threshold adjustment unit. When the input voltage of the external power supply is 220V, the target threshold value can be set to V1 through the threshold adjustment unit; when the input voltage of the external power supply is 110V, the target threshold value can be set to V2 through the threshold adjustment unit, and V2 is usually half of V1. In this way, it can be ensured that the grounding detection result of the server can be accurately determined in different application scenarios, and the current grounding detection result can match the grid characteristics of the external power supply connected to the power supply device, thereby improving the accuracy of the detection result. . Further, the target threshold value can also be determined according to the characteristics of the voltage monitoring point. For example, if the voltage monitoring point is a monitoring point on the live line, the target threshold value can be set to 165Vac; if the voltage monitoring point is a monitoring point on the neutral line, the target threshold value can be set to 55Vac.
[0060] Furthermore, in order to obtain more accurate detection results, the voltage acquisition unit can collect voltage signals from voltage monitoring points of voltage detection modules arranged on different lines in the power supply device (for example, a voltage detection module arranged on the live wire in the power supply device, and a voltage detection module arranged on the neutral wire), and compare them with the voltage signals on the ground wire of the power supply device obtained by detection, so as to determine the grounding detection results through different voltage monitoring points.
[0061] Taking the voltage monitoring point including a first voltage monitoring point on a live line and a second voltage monitoring point on a neutral line of a power supply device as an example, in one implementation of an embodiment of the present application, the processing unit is used to:
[0062] Compare the third voltage signal and the second voltage signal of the first voltage detection point to obtain a first comparison result; compare the fourth voltage signal and the second voltage signal of the second voltage detection point to obtain a second comparison result; based on the first comparison result and the second comparison result, determine the grounding detection result of the server.
[0063] When determining the grounding detection result based on the first comparison result, the first threshold value that matches the characteristics of the voltage monitoring point on the live line is used to make a judgment, and the corresponding grounding detection result is obtained. When determining the grounding detection result based on the second comparison result, the second threshold value that matches the characteristics of the voltage monitoring point on the neutral line is used to make a judgment, and the corresponding grounding detection result is obtained. If the grounding detection results determined based on the first comparison result and the second comparison result are both abnormal, the grounding detection result of the server is an abnormal result. If the results of the two judgments are inconsistent, re-detection can be performed or other voltage monitoring points can be selected for judgment, so as to determine a more accurate grounding monitoring result based on the detection results corresponding to different voltage monitoring points.
[0064] In the embodiment of the present application, the detection result of grounding abnormality may include ungrounded and poor grounding. Therefore, the voltages on the live wire and the neutral wire may also be compared to determine a more specific grounding detection result. In the embodiment of the present application, the processing unit is also used to: compare the third voltage signal and the fourth voltage signal to obtain a third comparison result; based on the first comparison result, the second comparison result and the third comparison result, determine the grounding detection result of the server of the power supply device. Specifically, it can be determined whether the server grounding is normal or the server grounding is abnormal based on the first comparison result and the second comparison result. The third comparison result characterizes the voltage difference between the voltage on the live wire and the voltage on the neutral wire. Taking the input voltage of the external power supply as 220V as an example, the voltage between the neutral wire and the live wire should be 220V when the grounding is normal. If the voltage is significantly lower than 220V, it means poor grounding; if the voltage is zero or extremely low, it indicates that the grounding is invalid, that is, it is not grounded.
[0065] In order to enable all functional units of the server power supply system to work normally, so as to realize real-time grounding detection. In one implementation of the embodiment of the present application, the grounding detection device also includes a voltage signal preprocessing unit, which is connected to the voltage acquisition unit and the processing unit. The voltage signal preprocessing unit is used to perform signal processing on the first voltage signal based on the signal receiving characteristics of the processing unit to obtain a first voltage target signal; and to perform signal processing on the second voltage signal to obtain a second target voltage signal. The first voltage target signal and the second voltage target signal are transmitted to the processing unit; wherein the signal characteristics of the first voltage target signal and the second voltage target signal match the signal receiving characteristics of the processing unit.
[0066] In order to realize the comparison and determination of the signal in the embodiment of the present application, the processing unit may include a comparison subunit and a determination subunit. The comparison subunit may adopt the structure of the currently commonly used comparator. The signal input to the comparator is usually a low-level signal. If a high-level signal is directly input to the comparator, it is easy to cause problems such as burning of the comparator. The voltage signal collected by the voltage acquisition unit is a high-level signal. If the normal operation of the comparator can be guaranteed, it is necessary to process the voltage signal collected by the voltage acquisition unit through the voltage signal preprocessing unit so that the signal characteristics of the first voltage target information and the second voltage target signal processed by the voltage signal preprocessing unit match the signal receiving characteristics of the comparator. For example, if the level of the original first voltage signal and the second voltage signal does not match the input level of the comparator, the first voltage signal and the second voltage signal can be converted into the input level range of the comparator through the voltage signal preprocessing unit. If the comparator requires an input of 0 to 5 volts, and the input signal (the first voltage signal and the second voltage signal) is 0 to 10 volts, then the level conversion processing function in the signal preprocessing unit is required to reduce the signal to the range of the comparator, that is, to obtain the first target voltage signal and the second target voltage signal. The specific voltage signal preprocessing unit may include a function unit such as a voltage reduction and shaping unit, and the first voltage signal and the second voltage signal collected by the voltage collection unit are waveform shaped and adjusted to a low-level signal matching the comparator, wherein the waveform shaping refers to adjusting the waveform of the input voltage signal (such as the first voltage signal and the second voltage signal) by the voltage signal preprocessing unit to meet the input requirements of the comparator. Specifically, the processing process of the waveform shaping may include limiting the voltage of the first voltage signal and the second voltage signal to a specific maximum or minimum value, and may also filter out the unnecessary frequency components in the first voltage signal and the second voltage signal through filtering technology; or may also be by processing the input voltage signal to obtain a specific waveform that meets the comparator. Then the comparator may determine the comparison result based on the adjusted first voltage target signal and the second voltage target signal, and send the comparison result to the determination subunit in the processing unit, wherein the comparator outputs a level signal representing the comparison result, such as representing that the grounding is normal by outputting a low-level signal, and representing that the grounding is abnormal by outputting a high-level signal. When the determination subunit detects that the level state of the comparator changes, such as changing from a low-level signal to a high-level signal, it can be determined that the server is abnormally grounded. Correspondingly, the signal preprocessing unit may also be arranged in the processing unit. The processing unit may be a digital signal processing unit (DSP) or a microcontroller unit (MCU).
[0067] In order to record the grounding detection result, in the embodiment of the present application, the grounding detection device further includes an information storage unit, which is connected to the processing unit, and is used to store the record information corresponding to the grounding detection result of the server connected to the power supply device, wherein the record information includes the first record information corresponding to the first detection result that the grounding detection result of the server is normal, and the second record information corresponding to the second detection result that the grounding detection result of the server is abnormal; the first record information and the second record information are different. The information storage unit is also used to update the corresponding target second record information to the first record information based on the recovery instruction of the processing unit, wherein the recovery instruction is an instruction generated by the processing unit when the grounding detection result of the server is restored from abnormal to normal.
[0068] The information storage unit may be arranged in the grounding detection device or in the processing unit of the grounding detection device. Correspondingly, the information storage unit may be a RAM (random access memory) or an EEPROM (electrically erasable programmable read-only memory), which is used to store the grounding detection result. The grounding detection result may be stored in real time or according to a preset storage cycle to save storage resources. For example, the detection result is stored every 5 minutes. For example, the first record information is represented by 0, that is, when the stored record information is 0, it indicates that the grounding is normal; the second record information is represented by 1, that is, when the stored record information is 1, it indicates that the grounding is abnormal. When the processing unit detects the grounding abnormality, it can send the detection result of the grounding abnormality to the corresponding engineer so that the engineer can solve the grounding fault problem. When the grounding is detected to be restored to normal, the processing unit will generate a recovery instruction. The information storage unit can also respond to the recovery instruction of the processing unit to clear the currently stored record information 1 indicating the grounding abnormality and change it to the record information 0 indicating the normal grounding.
[0069] In order to enable the administrator of the server to obtain the information of the grounding anomaly of the server in time, the grounding detection device in the embodiment of the present application may also include an early warning unit, which is connected to the information storage unit, and the early warning unit is used to respond to the record information in the information storage unit as the second record information, and output an early warning signal of the grounding anomaly. For example, the early warning unit may include an indicator light or a sound generator, such as when the indicator light is displayed in a specific color, it can represent the grounding anomaly, or output a specific sound such as a whistle through the sound generator to remind the server administrator of the grounding anomaly. For another example, the early warning unit can be connected to the indicator light in the power supply device, and when the early warning unit outputs the early warning signal, the early warning signal can drive the indicator light to light up to remind the user to check the grounding connection of the current server. Alternatively, the early warning unit can also be connected to the local management system XCC corresponding to the server, so that the early warning signal triggers the XCC to issue an alarm log to remind the user to check the grounding connection status. Therefore, based on the server power supply system provided in the embodiment of the present application, the power supply device can be detected in real time to determine the grounding detection result of the server, and the detection result of the grounding anomaly can be output in time, without taking the detection of whether there is a grounding anomaly when the server is running abnormally, avoiding the problems of unstable operation of the server and other safety hazards.
[0070] The following is an example of collecting the voltage on the ground wire and live wire in the power supply device, and processing the collected voltage to obtain the ground detection result. Figure 4 ,exist Figure 4 The voltage signal of the live wire L sampling point and the ground wire FG sampling point is collected by the voltage collection unit in the ground detection device, and the collected voltage signals are respectively input to the shaping subunit in the signal preprocessing unit, so that the shaping unit shapes the signal, and the shaping unit outputs the corresponding shaped voltage signal, and the shaped voltage signal is input to the comparison subunit in the processing unit, and the comparison subunit obtains the comparison threshold of the live wire and the ground wire from the threshold adjustment unit, and then the comparison result is input to the judgment subunit in the processing unit, so that the judgment subunit outputs the ground detection result, and then the information storage unit stores the relevant record information based on the ground detection result output by the judgment subunit. Finally, the early warning unit can read the relevant record information from the information storage unit, and if the record information indicates that the grounding is abnormal, the early warning unit can output a warning signal.
[0071] For example, the threshold for comparing the voltage of the live wire and the ground wire is set to 165Vac. When the difference between the live wire voltage and the ground wire voltage is greater than the threshold, the grounding detection result of the server is normal. When the difference between the live wire voltage and the ground wire voltage is less than the threshold, the grounding detection result of the server is abnormal, and the corresponding grounding abnormality warning signal is output.
[0072] Take the acquisition of the voltage on the grounding line and the neutral line in the power supply device and the acquisition of the grounding detection result by processing the acquired voltage as an example for explanation. Figure 5 ,exist Figure 5 The voltage signal of the zero line N sampling point and the ground line FG sampling point is collected by the voltage collection unit in the grounding detection device, and the collected voltage signals are respectively input to the shaping subunit in the signal preprocessing unit, so that the shaping unit shapes the signal, and the shaping unit outputs the corresponding shaped voltage signal, and the shaped voltage signal is input to the comparison subunit in the processing unit, and the comparison subunit obtains the comparison threshold of the zero line and the ground line from the threshold adjustment unit, and then the comparison result is input to the judgment subunit in the processing unit, so that the judgment subunit outputs the grounding detection result, and then the information storage unit stores the relevant record information based on the grounding detection result output by the judgment subunit. Finally, the early warning unit can read the relevant record information from the information storage unit, and if the record information indicates that the grounding is abnormal, the early warning unit can output a warning signal.
[0073] For example, the threshold for comparing the voltage of the neutral line and the ground line is set to 55Vac. When the difference between the neutral line voltage and the ground line voltage is less than the threshold, the grounding detection result of the server is normal. When the difference between the neutral line voltage and the ground line voltage is greater than the threshold, the grounding detection result of the server is abnormal, and the corresponding grounding abnormality warning signal is output.
[0074] The above is explained using the live wire and the neutral wire in the power supply device as an example. Voltage collection can also be performed on other voltage monitoring points. The processing method is similar to the above description and can be implemented in combination with the above solution, which will not be described in detail here.
[0075] Correspondingly, a grounding detection method is also provided in an embodiment of the present application, which can be applied to the server power supply system described above, see Figure 6 , the method may include the following steps:
[0076] S201, when a power supply device of a server to be detected obtains current from an external power supply to power a corresponding server, obtaining in real time a first voltage signal of a voltage monitoring point inside the power supply device;
[0077] S202, detecting and obtaining a second voltage signal of a ground line of a power supply device;
[0078] S203 . Determine a grounding detection result of a server connected to the power supply device in response to the first voltage signal and the second voltage signal.
[0079] Optionally, determining a grounding detection result of a server connected to the power supply device in response to the first voltage signal and the second voltage signal includes:
[0080] comparing the first voltage signal and the second voltage signal to obtain a comparison result;
[0081] If the comparison result indicates that a voltage difference between a first voltage corresponding to the first voltage signal and a second voltage corresponding to the second voltage signal satisfies a target threshold, determining that a grounding detection result of the server is a first detection result of normal grounding;
[0082] If the comparison results continuously output within the target time period indicate that the voltage difference between the first voltage and the second voltage does not meet the target threshold and the number of outputs is greater than the number threshold, it is determined that the grounding detection result of the server is the second detection result of grounding abnormality.
[0083] Optionally, the grounding detection method further includes:
[0084] The target threshold is determined based on a power supply voltage of an external power supply to which the power supply device is connected and characteristics of the voltage monitoring point.
[0085] Optionally, the voltage monitoring point of the power supply device includes at least one of the following:
[0086] A voltage monitoring point on the live wire of the power supply device;
[0087] A voltage monitoring point on the neutral line of the power supply device;
[0088] The voltage monitoring point corresponding to the voltage detection module on the target power supply circuit of the power supply device, the target power supply circuit does not include the live wire and the neutral wire.
[0089] Optionally, the voltage monitoring point of the power supply device is a first voltage monitoring point on a live line of the power supply device and a second voltage monitoring point on a neutral line of the power supply device; and determining a grounding detection result of a server connected to the power supply device in response to the first voltage signal and the second voltage signal includes:
[0090] comparing a third voltage signal of the first voltage monitoring point with the second voltage signal to obtain a first comparison result;
[0091] comparing a fourth voltage signal of the second voltage monitoring point with the second voltage signal to obtain a second comparison result;
[0092] A ground detection result of the server is determined based on the first comparison result and the second comparison result.
[0093] Optionally, determining a grounding detection result of the server based on the first comparison result and the second comparison result includes:
[0094] comparing the third voltage signal and the fourth voltage signal to obtain a third comparison result;
[0095] Based on the first comparison result, the second comparison result, and the third comparison result, a ground detection result of the server to which the power supply device is connected is determined.
[0096] Optionally, the method further comprises:
[0097] performing signal processing on the first voltage signal to obtain a first voltage target signal; and performing signal processing on the second voltage signal to obtain a second voltage target signal;
[0098] The signal characteristics of the first voltage target signal and the second voltage target signal match the signal receiving characteristics of the processing unit.
[0099] Optionally, the method further comprises: storing record information corresponding to a grounding detection result of a server to which the power supply device is connected;
[0100] The record information includes first record information corresponding to a first detection result that the grounding detection result of the server is normal grounding, and second record information corresponding to a second detection result that the grounding detection result of the server is abnormal grounding; the first record information and the second record information are different;
[0101] Based on the recovery instruction, the corresponding target second record information is updated to the first record information, wherein the recovery instruction is an instruction generated when the grounding detection result of the server is restored from abnormal to normal.
[0102] Optionally, the method further comprises:
[0103] In response to the record information being the second record information, a warning signal of grounding abnormality is output.
[0104] It should be noted that the specific implementation of the grounding detection method and corresponding sub-steps of this embodiment can refer to the corresponding content of the server power supply system in the previous text, and will not be described in detail here.
[0105] In another embodiment of the present application, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the grounding detection method as described in any one of the above items is implemented.
[0106] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0107] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0108] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0109] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be 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 the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A server power supply system, comprising: A power supply device, the power supply device is used to obtain current from an external power supply to supply power to the corresponding server; A grounding detection device, the grounding detection device is connected to the power supply device and is used to detect a grounding detection result of the server; The grounding detection device comprises: A voltage acquisition unit, wherein a first acquisition terminal of the voltage acquisition unit is used to connect to a voltage monitoring point of the power supply device to obtain a first voltage signal corresponding to the voltage monitoring point in real time; a second acquisition terminal of the voltage acquisition unit is used to connect to a ground wire of the power supply device to obtain a second voltage signal corresponding to the ground wire; A processing unit is connected to the voltage acquisition unit and is used to determine a grounding detection result of a server connected to the power supply device according to the received first voltage signal and the second voltage signal.
2. The server power supply system according to claim 1, wherein the processing unit is configured as follows: comparing the first voltage signal and the second voltage signal to obtain a comparison result; If the comparison result indicates that a voltage difference between a first voltage corresponding to the first voltage signal and a second voltage corresponding to the second voltage signal satisfies a target threshold, determining that a grounding detection result of the server is a first detection result of normal grounding; If the comparison results continuously output within the target time period indicate that the voltage difference between the first voltage and the second voltage does not meet the target threshold and the number of outputs is greater than the number threshold, it is determined that the grounding detection result of the server is the second detection result of grounding abnormality.
3. According to the server power supply system of claim 2, the grounding detection device further comprises a threshold adjustment unit, which is used to determine the target threshold based on the power supply voltage of the external power supply connected to the power supply device and the characteristics of the voltage monitoring point.
4. The server power supply system according to claim 1, wherein the voltage monitoring point of the power supply device comprises at least one of the following: A voltage monitoring point on the live wire of the power supply device; A voltage monitoring point on the neutral line of the power supply device; The voltage monitoring point corresponding to the voltage detection module on the target power supply circuit of the power supply device, the target power supply circuit does not include the live wire and the neutral wire.
5. The server power supply system according to claim 4, wherein the voltage monitoring point of the power supply device is a first voltage monitoring point on the live line of the power supply device and a second voltage monitoring point on the neutral line of the power supply device; wherein, The processing unit is used for: comparing a third voltage signal of the first voltage monitoring point with the second voltage signal to obtain a first comparison result; comparing a fourth voltage signal of the second voltage monitoring point with the second voltage signal to obtain a second comparison result; A ground detection result of the server is determined based on the first comparison result and the second comparison result.
6. The server power supply system according to claim 5, wherein the processing unit is further configured to: comparing the third voltage signal and the fourth voltage signal to obtain a third comparison result; Based on the first comparison result, the second comparison result, and the third comparison result, a ground detection result of the server to which the power supply device is connected is determined.
7. The server power supply system according to claim 1, wherein the grounding detection device further comprises a voltage signal preprocessing unit, and the voltage signal preprocessing unit is connected to the voltage acquisition unit and the processing unit; The voltage signal preprocessing unit is used to perform signal processing on the first voltage signal based on the signal receiving characteristics of the processing unit to obtain a first voltage target signal; and perform signal processing on the second voltage signal to obtain a second voltage target signal; The first voltage target signal and the second voltage target signal are transmitted to the processing unit; wherein, Signal characteristics of the first voltage target signal and the second voltage target signal match signal reception characteristics of the processing unit.
8. The server power supply system according to claim 1, wherein the ground detection device further comprises: An information storage unit, the information storage unit is connected to the processing unit, and the information storage unit is used to store record information corresponding to a grounding detection result of a server connected to the power supply device; The record information includes first record information corresponding to a first detection result that the grounding detection result of the server is normal grounding, and second record information corresponding to a second detection result that the grounding detection result of the server is abnormal grounding; the first record information and the second record information are different; The information storage unit is also used to update the corresponding target second record information to the first record information based on the recovery instruction of the processing unit, wherein the recovery instruction is an instruction generated by the processing unit when the grounding detection result of the server is restored from abnormal to normal.
9. The server power supply system according to claim 8, wherein the ground detection device further comprises: An early warning unit, the early warning unit is connected to the information storage unit; The early warning unit is used for outputting an early warning signal of grounding abnormality in response to the record information in the information storage unit being the second record information.
10. A grounding detection method, comprising: When a power supply device of a server to be detected obtains current from an external power supply to power the corresponding server, a first voltage signal of a voltage monitoring point inside the power supply device is obtained in real time; Detecting and obtaining a second voltage signal of a ground line of the power supply device; In response to the first voltage signal and the second voltage signal, a ground detection result of a server connected to the power supply device is determined.
