CN113970964B - Method, system, equipment and storage medium for detecting power failure of power supply output of server - Google Patents
Method, system, equipment and storage medium for detecting power failure of power supply output of server Download PDFInfo
- Publication number
- CN113970964B CN113970964B CN202111276666.6A CN202111276666A CN113970964B CN 113970964 B CN113970964 B CN 113970964B CN 202111276666 A CN202111276666 A CN 202111276666A CN 113970964 B CN113970964 B CN 113970964B
- Authority
- CN
- China
- Prior art keywords
- current
- power supply
- output current
- output
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000004044 response Effects 0.000 claims abstract description 25
- 230000005856 abnormality Effects 0.000 claims abstract description 10
- 230000006870 function Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 7
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 claims description 6
- 229920002492 poly(sulfone) Polymers 0.000 description 58
- 238000010586 diagram Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention provides a method, a system, equipment and a storage medium for detecting power failure of a power supply output of a server, wherein the method comprises the following steps: acquiring current sharing bus voltage of the server power supply, and determining the current running condition of the power supply according to the current sharing bus voltage; determining the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply; acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero or not; and in response to the present actual output current not being zero, continuously comparing the present actual output current with the output current to determine whether an abnormality exists. According to the invention, the output current is obtained through the current-sharing bus voltage of the server power supply and is compared with the actual current, so that an alarm is given for the scene that the output current is zero when the output voltage is in a normal range, and the usability of the system is improved.
Description
Technical Field
The present invention relates to the field of servers, and in particular, to a method, system, device, and storage medium for detecting power loss of a server power supply output.
Background
The Server system needs to read the values of the sensors from the Server power supply (Server PSU) at any time to optimize the power management and regulation system. The read contents can be classified into voltage detection, current detection, temperature detection, power detection, fan detection, and the like. The server obtains various sensor values by using the BMC (Baseboard Management Controller) baseboard management controller to access the server power MCU through the I2C Bus. The output value of the power supply voltage and the current of the server is read to determine whether the power supply of the server achieves current sharing. There is a case where the server reads the power supply output, the output is still in the normal range 11.4V-12.6V, but the output current is zero (note: it is necessary to confirm that the server power supply is not in a+s mode). Because the server power supply scenario for the output alarm OVP, UVP, OCP is not reached, the server power supply will not have any output alarm either. Because the system is still operating normally, the power supply does not have any alarm at this time. This scenario is referred to as "server power output power down (Zero Output Current)".
Under the condition that the power supply output of the server is powered down, the current is zero and is a legal output value because the voltage is still normally output and is in a normal range. The server system will not alarm, so the system operation staff can not know whether the server power supply function with zero output current is still normal. If the output current is zero, the load is concentrated to the power supply which works normally, the service life of the power supply is reduced, the reliability of the system is reduced, and the system is seriously damaged or offline. Because the existing design does not have a "power failure output" alarm mechanism, the server operation and maintenance personnel can be reminded to get to the site to eliminate the problem until the server power supply is abnormally functioned or the server is suddenly offline, so that the loss is caused to the user of the server.
Disclosure of Invention
Accordingly, an object of the embodiments of the present invention is to provide a method, a system, a computer device and a computer readable storage medium for detecting power failure of a server power supply.
Based on the above object, an aspect of the embodiments of the present invention provides a method for detecting power failure of a power supply output of a server, including the following steps: acquiring current sharing bus voltage of the server power supply, and determining the current running condition of the power supply according to the current sharing bus voltage; determining the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply; acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero or not; and in response to the present actual output current not being zero, continuously comparing the present actual output current with the output current to determine whether an abnormality exists.
In some embodiments, the method further comprises: and connecting the current sharing function pins of the power supplies of the servers together so that the current sharing bus voltages of the power supplies of the same server are the same.
In some embodiments, the method further comprises: the current-sharing bus voltage is connected to the digital-analog converter pin of the secondary microprocessor to convert the current-sharing bus voltage into a current value.
In some embodiments, the determining the current operating condition of the power supply according to the current share bus voltage includes: determining that the current operation condition of the power supply is single power supply operation in response to the current equalizing bus voltage being in a first interval; and determining that the current operation condition of the power supply is that a plurality of power supplies are operated in parallel in response to the current flow equalizing bus voltage being in other intervals.
In some embodiments, the method further comprises: responding to the current actual output current being zero, inputting an instruction by using an IPMI tool and acquiring current output information of a server; and responding to the register value in the current output information as a preset value, and alarming.
In some embodiments, the alerting comprises: the server power device alert pin is switched from high to low based on the secondary side microprocessor.
In some embodiments, the continuously comparing the present actual output current with the output current to determine whether an abnormality comprises: determining that the server power supply works normally in response to the fact that the current actual output current is equal to the output current; and responding to the fact that the current actual output current is not equal to the output current, and alarming.
In another aspect of the embodiment of the present invention, a system for detecting power failure of a power output of a server is provided, including: the acquisition module is configured to acquire the current sharing bus voltage of the server power supply and determine the current running condition of the power supply according to the current sharing bus voltage; the determining module is configured to determine the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply; the judging module is configured to acquire the current actual output current of the power supply and judge whether the current actual output current is zero or not; and a comparison module configured to continuously compare the present actual output current with the output current to determine whether an abnormality is present in response to the present actual output current not being zero.
In yet another aspect of the embodiment of the present invention, there is also provided a computer apparatus, including: at least one processor; and a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method as above.
In yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method steps as described above.
The invention has the following beneficial technical effects: the output current is obtained through the current sharing bus voltage of the server power supply and is compared with the actual current, so that an alarm is given for the scene that the output current is zero when the output voltage is in a normal range, and the usability of the system is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an embodiment of a method for detecting power failure of a power supply output of a server according to the present invention;
FIG. 2 is a diagram of a maximum current automatic current sharing method according to an embodiment of the present invention;
FIG. 3 is a table showing the comparison of 1600W power supply current sharing bus voltage and output power;
FIG. 4 is a schematic diagram of an embodiment of a system for detecting power loss of a server power supply according to the present invention;
FIG. 5 is a schematic diagram of hardware configuration of an embodiment of a computer device for detecting power failure of a power supply output of a server according to the present invention;
fig. 6 is a schematic diagram of an embodiment of a computer storage medium for detecting power failure of a power supply output of a server according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are merely used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
In a first aspect of the embodiment of the present invention, an embodiment of a method for detecting a power failure of a power supply output of a server is provided. Fig. 1 is a schematic diagram of an embodiment of a method for detecting power failure of a server power supply. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, acquiring current sharing bus voltage of the server power supply, and determining the current running condition of the power supply according to the current sharing bus voltage;
s2, determining the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply;
s3, acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero or not; and
and S4, responding to the current actual output current not being zero, and continuously comparing the current actual output current with the output current to determine whether the current actual output current is abnormal.
In order to improve the reliability, the server adopts a power redundancy mechanism. The mechanism is to configure a plurality of identical power supplies, load balance is carried out by the power supplies, when one power supply fails, the other power supply can take over the work immediately, and after the power supply is replaced, the power supplies work cooperatively. The benefit of redundancy is that high stability of the server system is achieved. When one or two power supplies are out of function or are not output for unknown reasons, the rest power supplies in the system can continuously operate to provide power for the server system, so that the server is not down or shut down due to power supply factors.
The power supply realizing the redundancy function has multiple groups of current to be output in parallel connection, so that the average distribution of the current is important. Therefore, the current equalizing or current equalizing function is required to ensure the current equalizing output of each power supply. The purpose of current sharing is to prevent the system power supply from being operated under high load for a long time (more than 80% of full load), and the service life of the server power supply is reduced due to long-time high-load operation, so that the reliability of the system is reduced.
In order to improve the efficiency of the power redundancy mechanism in light load or Standby, the server may adopt an a+s mode (Active-Standby mode). For redundant power supply systems, the cold redundancy mode may be enabled by a PMBUS instruction. Letting the power supply device set to PSU0 be set to ACTIVE power (ACTIVE PSU), the other power supply devices may be set to STANDBY power (STANDBY PSU). When this mode setting is enabled, ACTIVE PSU will take on all output loads, the other STANDBY PSU is in a+s mode, the power output (+12 VDC) holds the voltage and stops powering, this function can change the command by PMBUS setting different Von/Voff currents. If the power supply device is in the A+S mode, the output power supply output voltage and current are zero (+12VDC to stop the power supply). The power supply set to the active mode at this time can be operated with higher efficiency.
The A+S mode is to connect the CR/Cold redundancy pins together on the user system board in the N+N power supply system to realize the Cold redundancy function. For an n+n power supply system, either AC or DC power may be used alone, and the cold redundancy mode may be enabled by PMBus. The master power supply is used to set to ACTIVE mode and the slaves can be set to STANDBY mode. When this mode is set to OK, the ACTIVE power supply will take over all output loads, and the other STANDBY power supply will be in sleep mode, outputting a hold voltage and stopping the power supply output. The function can be changed by setting different Von/Voff currents through PMBus commands. The power consumption of the PSU0/1/2 power supply in sleep mode should be less than 10W. In this case, there is a possibility that the output current is zero voltage, and therefore, it is necessary to exclude the case. Or the Server PSU is designed to enter STANDBY mode completely in the A+S mode. At this time, the main power is turned off, and only the standby power is continuously turned on. When the system is not started, the power supply is in the mode so as to achieve the purpose of saving electricity.
The current server power supply is divided into a PRIMARY Side (PRIMARY Side) MCU and a SECONDARY Side (SECONDARY Side) MCU according to different functions by the MCU to complete the functions of switch control, fan control, LED control, monitoring, protection, communication, etc. of the power supply. The current sharing and redundancy functions are controlled and realized by a SECONDARY Side (SECONDARY Side) MCU.
In some embodiments, the method further comprises: and connecting the current sharing function pins of the power supplies of the servers together so that the current sharing bus voltages of the power supplies of the same server are the same. The current sharing of the server power supply is to provide a DC level feedback to the power supply circuit through a hardware. And provides the basis for loading or unloading when in parallel operation. When in use, the PSU current sharing function pins (Ishare pins) are connected together to be used as the reference voltage of the current sharing DC level of each machine.
There are many methods for current sharing, and in the embodiment of the present invention, a "maximum current automatic current sharing method" architecture is adopted. FIG. 2 is a diagram of a maximum current automatic current sharing method according to an embodiment of the present invention. This is an automatic, unintentional method of setting the master and slave, i.e. in all power supply modules, if at a certain moment the output current of one module reaches the maximum of all modules, this module is defaulted as master and the remaining modules are defaulted as slaves. Their voltage error references are compared and corrected one by one. Since the primary module is not intentionally determined among the N parallel modules, the final so-called primary and secondary modules are determined according to the magnitude of the output current only during the operation of the circuit, and the module with the largest current is taken as the primary module.
The method has the characteristics of good current sharing effect and easy realization of accurate current sharing. In a specific use, if a current sharing bus short circuit occurs or one unit connected to the bus is not working, the voltage of the bus is reduced, so that the output voltage of each unit is reduced, even the lower limit is reached, and the fault is caused. And when the current of a certain module rises to Iomax, the output current of the current amplifier also reaches a limit value, and the output voltage of other units is automatically reduced. The redundancy system can be formed, and the number of the current sharing modules is not limited in theory.
In some embodiments, the method further comprises: the current-sharing bus voltage is connected to the digital-analog converter pin of the secondary microprocessor to convert the current-sharing bus voltage into a current value. The reference voltage (current-sharing bus voltage) obtained by current sharing is connected to the pin of the secondary MCU ADC (digital-to-analog converter). The current equalizing bus voltage can be converted into a current scale value, and the current scale value can be used for assisting in judging whether the current output value is correct or not.
Taking a server power supply with 1600W power output as an example, a maximum of 4 power supplies are set in parallel. FIG. 3 is a table showing the comparison of 1600W power supply current sharing bus voltage and output power.
The relation between the current sharing bus voltage (Current share Bus Voltage) of the Power source current sharing function pin (Ishare pin) and the Power source output (Total Power) is as follows:
900W current sharing bus voltage reference level is 1.22V, total output current is 75A. At this time, the system application scene is that the output current of a single PSU (1 PSU) is 75A, and the output current is 56% of the maximum load.
The current sharing bus voltage reference level of II.1800W is 2.72V, and the total output current is 150A. At this time, 2 PSUs (1+1 redundancy) are in the system, after current sharing, the single PSU current is 75A, and the output current is 56% of the maximum load.
The current sharing bus voltage reference level of iii.2700w is 3.77V and the total output current is 225A. At this time, 2 PSUs (1+1 redundancy) are in the system, after current sharing, the single PSU current is 112.5A, and the output current is 85% of the maximum load.
The IV.3600W current sharing bus voltage reference level is 4.72V and the total output current is 300A. At this time, 3 PSUs (2+1 redundancy) are in the system, after current sharing, the current of a single PSU is 100A, and the output current is 75% of the maximum load.
The v.4500w current-sharing bus voltage reference level is 5.79V and the total output current is 375A. At this time, 3 PSUs (2+1 redundancy) are in the system, after current sharing, the current of a single PSU is 125A, and the output current is 94% of the maximum load.
The VI.5400W current sharing bus voltage reference level is 6.72V and the total output current is 450A. At this time, 4 PSUs (2+2 redundancy) are in the system, after current sharing, the current of a single PSU is 112.5A, and the output current is 85% of the maximum load.
VII.6400W current sharing bus voltage reference level is 7.7V, total output current is 533A. At this time, 4 PSUs (2+2 redundancy) are in the system, and after current sharing, the current of a single PSU is 133A, and the current is 100% output.
The output current parallel logic relationship table is set as follows:
i.1 PSU outputs at 1600W maximum, the current sharing bus voltage is 0.25-2V, and the maximum output current is 133A.
II.2 PSUs are output at the maximum 3200W in parallel. The current sharing bus voltage is 2-4V, the maximum output current is 266A, and the current sharing of each PSU is still about 133A (the maximum output current of a single PSU is still not exceeded).
III.3 PSUs are output in parallel at a maximum of 4800W. The current sharing bus voltage is 4-6V, the maximum output current is 400A, and the current sharing of each PSU is still about 133A (the maximum output current of a single PSU is still not exceeded).
The iv.4 PSUs are output in parallel at a maximum of 6400W. The current sharing bus voltage is 6-8V, the maximum output current is 533A, and the current sharing of each PSU is still about 133A (the maximum output current of a single PSU is still not exceeded).
And acquiring the current-sharing bus voltage of the server power supply, and determining the current running condition of the power supply according to the current-sharing bus voltage.
In some embodiments, the determining the current operating condition of the power supply according to the current share bus voltage includes: determining that the current operation condition of the power supply is single power supply operation in response to the current equalizing bus voltage being in a first interval; and determining that the current operation condition of the power supply is that a plurality of power supplies are operated in parallel in response to the current flow equalizing bus voltage being in other intervals. According to the relation between PSU and output power and current during current sharing, the current running condition of the power supply can be determined according to the current sharing bus voltage (Ishare Bus voltage):
ishare Bus voltage =0.25-2V, operating as a single PSU.
Ishare Bus voltage =2-4V, two PSUs running in parallel.
Ishare Bus voltage =4-6V, running in parallel for three PSUs.
Ishare Bus voltage =6-8V, four PSUs running in parallel.
And determining the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply.
The output current value is determined based on feedback to the secondary side MCU Ishare Bus voltage.
The reference standards are as follows:
for a single PSU, the current-share bus voltage reference level is 1.22V and the total output current is 75A.
If two PSUs are connected in parallel, the current sharing bus voltage reference level is 2.72V and the total output current is 150A. After current sharing, the single PSU current was 75A.
If two PSUs are connected in parallel, the current sharing bus voltage reference level is 3.77V and the total output current is 225A. After current sharing, the single PSU current was 112.5A.
If three PSUs are connected in parallel, the current sharing bus voltage reference level is 4.72V and the total output current is 300A. After current sharing, the single PSU current was 100A.
If three PSUs are connected in parallel, the current sharing bus voltage reference level is 5.79V and the total output current is 375A. After current sharing, the single PSU current was 125A.
If four PSUs are connected in parallel, the current sharing bus voltage reference level is 6.72V and the total output current is 450A. After current sharing, the single PSU current was 112.5A.
If four PSUs are connected in parallel, the current sharing bus voltage reference level is 7.7V and the total output current is 533A. After current sharing, the single PSU current was 133A.
And acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero. In response to the present actual output current not being zero, the present actual output current is continuously compared with the output current to determine whether an anomaly is present.
In some embodiments, the method further comprises: responding to the current actual output current being zero, inputting an instruction by using an IPMI tool and acquiring current output information of a server; and responding to the register value in the current output information as a preset value, and alarming. The instruction set D1h-D3h in the PMBus1.2 instruction set is reserved for function expansion. D1h can be taken as the definition and expansion of the power-down function of the power output of the server. The server BMC can obtain the current output information of the server by inputting an instruction D1h by using the IPMI tool. At this time, the receiving command is a SECONDARY Side (SECONDARY Side) MCU, and returns a Hex value (hexadecimal) to display the current output state. If 00h is displayed to indicate that PSU output is zero, a warning needs to be given; if 02h is shown to indicate that the PSU average flow rate is below 5%; if 04h is shown to indicate that the PSU average flow rate is below 10%; if 06h is shown, it indicates that the PSU average flow rate is above 10%.
In some embodiments, the alerting comprises: the server power device alert pin is switched from high to low based on the secondary side microprocessor. If the D1h register value is 00h and the PSU output is zero, a warning needs to be given. The secondary side MCU converts the warning pin of the server power supply device from a high level to a low level. At this time, the Server BMC receives the signal and sends out the Server PSU Server maintenance personnel to check the power state. At this time, the LED warning of the Server PSU is changed from green light to amber light, and the Server PSU needs to be replaced. The following table is a Server PSU LED light table:
in some embodiments, the continuously comparing the present actual output current with the output current to determine whether an abnormality comprises: determining that the server power supply works normally in response to the fact that the current actual output current is equal to the output current; and responding to the fact that the current actual output current is not equal to the output current, and alarming.
According to the embodiment of the invention, the output current is obtained through the current sharing bus voltage of the server power supply and is compared with the actual current, so that an alarm is given for the scene that the output current is zero when the output voltage is in a normal range, and the usability of the system is improved.
It should be noted that, in the embodiments of the method for detecting power failure of server power supply output, the steps may be intersected, replaced, added and deleted, so that the method for detecting power failure of server power supply output by using these reasonable permutation and combination transformation shall also belong to the protection scope of the present invention, and shall not limit the protection scope of the present invention to the embodiments.
In view of the above, a second aspect of the embodiments of the present invention proposes a system 200 for detecting a power failure of a power output of a server. As shown in fig. 4, the system 200 includes the following modules: the acquisition module is configured to acquire the current sharing bus voltage of the server power supply and determine the current running condition of the power supply according to the current sharing bus voltage; the determining module is configured to determine the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply; the judging module is configured to acquire the current actual output current of the power supply and judge whether the current actual output current is zero or not; and a comparison module configured to continuously compare the present actual output current with the output current to determine whether an abnormality is present in response to the present actual output current not being zero.
In some embodiments, the system further comprises a setup module configured to: and connecting the current sharing function pins of the power supplies of the servers together so that the current sharing bus voltages of the power supplies of the same server are the same.
In some embodiments, the system further comprises a conversion module configured to: the current-sharing bus voltage is connected to the digital-analog converter pin of the secondary microprocessor to convert the current-sharing bus voltage into a current value.
In some embodiments, the acquisition module is further configured to: determining that the current operation condition of the power supply is single power supply operation in response to the current equalizing bus voltage being in a first interval; and determining that the current operation condition of the power supply is that a plurality of power supplies are operated in parallel in response to the current flow equalizing bus voltage being in other intervals.
In some embodiments, the system further comprises an alert module configured to: responding to the current actual output current being zero, inputting an instruction by using an IPMI tool and acquiring current output information of a server; and responding to the register value in the current output information as a preset value, and alarming.
In some embodiments, the alert module is further configured to: the server power device alert pin is switched from high to low based on the secondary side microprocessor.
In some embodiments, the comparison module is further configured to: determining that the server power supply works normally in response to the fact that the current actual output current is equal to the output current; and responding to the fact that the current actual output current is not equal to the output current, and alarming.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, acquiring current sharing bus voltage of the server power supply, and determining the current running condition of the power supply according to the current sharing bus voltage; s2, determining the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply; s3, acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero or not; and S4, responding to the current actual output current not being zero, and continuously comparing the current actual output current with the output current to determine whether the current actual output current is abnormal.
In some embodiments, the steps further comprise: and connecting the current sharing function pins of the power supplies of the servers together so that the current sharing bus voltages of the power supplies of the same server are the same.
In some embodiments, the steps further comprise: the current-sharing bus voltage is connected to the digital-analog converter pin of the secondary microprocessor to convert the current-sharing bus voltage into a current value.
In some embodiments, the determining the current operating condition of the power supply according to the current share bus voltage includes: determining that the current operation condition of the power supply is single power supply operation in response to the current equalizing bus voltage being in a first interval; and determining that the current operation condition of the power supply is that a plurality of power supplies are operated in parallel in response to the current flow equalizing bus voltage being in other intervals.
In some embodiments, the steps further comprise: responding to the current actual output current being zero, inputting an instruction by using an IPMI tool and acquiring current output information of a server; and responding to the register value in the current output information as a preset value, and alarming.
In some embodiments, the alerting comprises: the server power device alert pin is switched from high to low based on the secondary side microprocessor.
In some embodiments, the continuously comparing the present actual output current with the output current to determine whether an abnormality comprises: determining that the server power supply works normally in response to the fact that the current actual output current is equal to the output current; and responding to the fact that the current actual output current is not equal to the output current, and alarming.
Fig. 5 is a schematic hardware structure diagram of an embodiment of the computer device for detecting power failure of the power supply output of the server according to the present invention.
Taking the example of the apparatus shown in fig. 5, a processor 301 and a memory 302 are included in the apparatus.
The processor 301 and the memory 302 may be connected by a bus or otherwise, for example in fig. 5.
The memory 302 is used as a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and a module, such as program instructions/modules corresponding to a method for detecting power loss of a server power supply output in an embodiment of the present application. The processor 301 executes various functional applications of the server and data processing, i.e., implements a method of detecting power loss from the server power supply, by running non-volatile software programs, instructions, and modules stored in the memory 302.
Any one embodiment of the computer device executing the method for detecting the power failure of the power supply output of the server can achieve the same or similar effect as the corresponding any one embodiment of the method.
The invention also provides a computer readable storage medium storing a computer program which when executed by a processor performs a method of detecting a power loss of a server power supply output.
Fig. 6 is a schematic diagram of an embodiment of the computer storage medium for detecting power failure of the power supply output of the server according to the present invention. Taking a computer storage medium as shown in fig. 6 as an example, the computer readable storage medium 401 stores a computer program 402 that when executed by a processor performs the above method.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in the methods of the embodiments described above may be implemented by computer programs to instruct related hardware, and the program for detecting the power failure of the server power output may be stored in a computer readable storage medium, where the program when executed may include the procedures of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (RAM), or the like. The computer program embodiments described above may achieve the same or similar effects as any of the method embodiments described above.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.
Claims (8)
1. The method for detecting the power failure of the power supply output of the server is characterized by comprising the following steps:
acquiring current sharing bus voltage of the server power supply, and determining the current running condition of the power supply according to the current sharing bus voltage;
determining the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply;
acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero or not; and
in response to the present actual output current not being zero, continuously comparing the present actual output current with the output current to determine if an abnormality,
the determining the current running condition of the power supply according to the current sharing bus voltage comprises the following steps:
determining that the current operation condition of the power supply is single power supply operation in response to the current equalizing bus voltage being in a first interval;
in response to the current sharing bus voltage being in other intervals, determining that the current operating condition of the power supply is that a plurality of power supplies are operated in parallel,
the continuously comparing the present actual output current with the output current to determine whether the abnormality exists comprises:
determining that the server power supply works normally in response to the fact that the current actual output current is equal to the output current; and
and responding to the fact that the current actual output current is not equal to the output current, and alarming.
2. The method according to claim 1, wherein the method further comprises:
and connecting the current sharing function pins of the power supplies of the servers together so that the current sharing bus voltages of the power supplies of the same server are the same.
3. The method according to claim 1, wherein the method further comprises:
the current-sharing bus voltage is connected to the digital-analog converter pin of the secondary microprocessor to convert the current-sharing bus voltage into a current value.
4. The method according to claim 1, wherein the method further comprises:
responding to the current actual output current being zero, inputting an instruction by using an IPMI tool and acquiring current output information of a server;
and responding to the register value in the current output information as a preset value, and alarming.
5. The method of claim 4, wherein the alerting comprises:
the server power device alert pin is switched from high to low based on the secondary side microprocessor.
6. A system for detecting a power loss from a server power supply output, comprising:
the acquisition module is configured to acquire the current sharing bus voltage of the server power supply and determine the current running condition of the power supply according to the current sharing bus voltage;
the determining module is configured to determine the current sharing busbar voltage and the output current according to the current running condition and the output power of the power supply;
the judging module is configured to acquire the current actual output current of the power supply and judge whether the current actual output current is zero or not; and
a comparison module configured to continuously compare the present actual output current with the output current to determine whether an abnormality occurs in response to the present actual output current not being zero,
the acquisition module is configured to:
determining that the current operation condition of the power supply is single power supply operation in response to the current equalizing bus voltage being in a first interval;
in response to the current sharing bus voltage being in other intervals, determining that the current operating condition of the power supply is that a plurality of power supplies are operated in parallel,
the comparison module is configured to:
determining that the server power supply works normally in response to the fact that the current actual output current is equal to the output current; and
and responding to the fact that the current actual output current is not equal to the output current, and alarming.
7. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-5.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111276666.6A CN113970964B (en) | 2021-10-29 | 2021-10-29 | Method, system, equipment and storage medium for detecting power failure of power supply output of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111276666.6A CN113970964B (en) | 2021-10-29 | 2021-10-29 | Method, system, equipment and storage medium for detecting power failure of power supply output of server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113970964A CN113970964A (en) | 2022-01-25 |
CN113970964B true CN113970964B (en) | 2023-06-16 |
Family
ID=79589033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111276666.6A Active CN113970964B (en) | 2021-10-29 | 2021-10-29 | Method, system, equipment and storage medium for detecting power failure of power supply output of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113970964B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107765831A (en) * | 2016-08-18 | 2018-03-06 | 中国长城科技集团股份有限公司 | A kind of computer, computer power supply and its warning circuit |
CN108170249A (en) * | 2018-02-09 | 2018-06-15 | 深圳市杰和科技发展有限公司 | A kind of method of supplying power to and electric power system of server CPU redundant powers |
CN111857313A (en) * | 2020-07-10 | 2020-10-30 | 苏州浪潮智能科技有限公司 | Current-sharing control system and method for server power module of whole cabinet |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10168721B2 (en) * | 2015-11-02 | 2019-01-01 | Dell Products, L.P. | Controlling redundant power supplies in an information handling system |
-
2021
- 2021-10-29 CN CN202111276666.6A patent/CN113970964B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107765831A (en) * | 2016-08-18 | 2018-03-06 | 中国长城科技集团股份有限公司 | A kind of computer, computer power supply and its warning circuit |
CN108170249A (en) * | 2018-02-09 | 2018-06-15 | 深圳市杰和科技发展有限公司 | A kind of method of supplying power to and electric power system of server CPU redundant powers |
CN111857313A (en) * | 2020-07-10 | 2020-10-30 | 苏州浪潮智能科技有限公司 | Current-sharing control system and method for server power module of whole cabinet |
Also Published As
Publication number | Publication date |
---|---|
CN113970964A (en) | 2022-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101369697B1 (en) | Power conversion system and uninterruptible power source system | |
US10003200B2 (en) | Decentralized module-based DC data center | |
US6181029B1 (en) | Method of controlling battery back-up for multiple power supplies | |
WO2010076076A1 (en) | Reducing power consumption on devices with multiple power supplies | |
US20170265325A1 (en) | Rack power system and method | |
US11611232B2 (en) | Systems and methods for providing direct current and alternating current from a power supply to a load | |
US20140132070A1 (en) | Rack and power control method thereof | |
US20190094951A1 (en) | Power supply system | |
US10942555B2 (en) | Power supplying method for computer system | |
US10432015B2 (en) | Standby power supply device and standby power supply system | |
CN113970964B (en) | Method, system, equipment and storage medium for detecting power failure of power supply output of server | |
US8819470B2 (en) | Switching device, a switching device control method and a switching device control program | |
CN105005007A (en) | Fault detection apparatus of redundant auxiliary power system and method thereof | |
RU2533204C1 (en) | Modular uninterrupted direct-current power supply system for consumers | |
US11258297B2 (en) | Inverter control strategy for a transient heavy load | |
CN113964928B (en) | DC-DC adaptive power supply and conversion control method thereof | |
US20210119475A1 (en) | Uninterruptible power supply | |
JP5667915B2 (en) | DC power supply | |
US20210325474A1 (en) | Adaptive control method for mobile x-ray machine, and high voltage generator | |
RU2317626C1 (en) | Redundant-architecture dc voltage converter | |
KR102018235B1 (en) | DC power automatic switcher | |
JPH03103044A (en) | Fault detecting system for diode in duplex power supply | |
CN106329701A (en) | Failure determining and switching system for dual-machine uninterruptible power supply | |
RU2215355C1 (en) | No-break power installation for railway automatic-control systems | |
TW201926850A (en) | Power supply system and control method using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |