CN113970964A - Method, system, device and storage medium for detecting power failure of server power output - Google Patents
Method, system, device and storage medium for detecting power failure of server power output Download PDFInfo
- Publication number
- CN113970964A CN113970964A CN202111276666.6A CN202111276666A CN113970964A CN 113970964 A CN113970964 A CN 113970964A CN 202111276666 A CN202111276666 A CN 202111276666A CN 113970964 A CN113970964 A CN 113970964A
- Authority
- CN
- China
- Prior art keywords
- current
- power supply
- output
- server
- output current
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000004044 response Effects 0.000 claims abstract description 8
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 claims description 6
- 230000005856 abnormality Effects 0.000 abstract description 2
- 229920002492 poly(sulfone) Polymers 0.000 description 22
- 230000006870 function Effects 0.000 description 16
- 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
- 238000012423 maintenance Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 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
- 239000012141 concentrate Substances 0.000 description 1
- 238000013461 design Methods 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
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000758 substrate Substances 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention provides a method, a system, equipment and a storage medium for detecting power failure of power output of a server, wherein the method comprises the following steps: 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; determining the voltage and the output current of a current-sharing bus bar 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 there is an abnormality. 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 in the scene that the output voltage is in a normal range and the output current is zero, and the availability of the system is improved.
Description
Technical Field
The present invention relates to the field of servers, and more particularly, to a method, system, device, and storage medium for detecting a power failure of a power supply output of a server.
Background
The Server system needs to read the values of various sensors (sensors) from the Server power supply (Server PSU) at any time in order 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 utilizes a BMC (baseboard Management controller) substrate Management controller to access the server power supply MCU through I2C Bus to obtain the values of various sensors. Wherein, the output values of the server power voltage and the current are read to know whether the server power reaches the current sharing. In one case of the server reading the power 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 is not in A + S mode). Because the scene that the server power supply outputs alarms OVP, UVP and OCP is not reached, the server power supply does not output any alarm. The power supply does not have any alarm at this time because the system still operates normally. This kind of scene is called "server power Output power failure (Zero Output Current)".
Under the condition that the power supply output of the server is powered off, the current is zero and is a legal output value because the voltage is still normally output and is within a normal range. The server system will not alarm, so the system operation and maintenance personnel can not know whether the power supply function of the server with zero output current is still normal. If it is true that the power supply with zero output current fails, the load will concentrate on the power supply which normally works, which will cause the service life of the power supply to be reduced, so that the reliability of the system is reduced, and most seriously, the system is down or off-line. Because the existing design does not have a server power output power failure warning mechanism, the server operation and maintenance personnel are usually reminded to get rid of the problem on site when the server power supply function is abnormal to alarm or the server is suddenly off-line, so that the loss is caused to the user of the server.
Disclosure of Invention
In view of this, 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 a power failure of a server power supply, in which an output current is obtained through a current-sharing bus voltage of the server power supply and is compared with an actual current, so as to alarm in a scenario where the output current is zero when the output voltage is in a normal range, thereby improving the usability of the system.
Based on the above object, an aspect of the embodiments of the present invention provides a method for detecting a power failure of a power output of a server, including the following steps: 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; determining the voltage and the output current of a current-sharing bus bar 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 there is an abnormality.
In some embodiments, the method further comprises: the current-sharing pins of the server power supply are connected together so that the current-sharing buses of the power supply of the same server have the same voltage.
In some embodiments, the method further comprises: the voltage of the current-sharing bus is connected to the pins of the digital-to-analog converter of the secondary microprocessor to convert the voltage of the current-sharing bus into a current value.
In some embodiments, the determining the current operation condition of the power supply according to the current share bus voltage comprises: responding to the current-sharing bus voltage in a first interval, and determining that the current operation condition of the power supply is single power supply operation; and responding to the current-sharing bus voltage in other intervals, and determining the current operation condition of the power supply to be that the plurality of power supplies are operated in parallel.
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 the server; and responding to the register value in the current output information as a preset value, and then giving an alarm.
In some embodiments, said alerting comprises: and converting the warning pin position of the server power supply equipment from high level to low level based on the secondary side microprocessor.
In some embodiments, said continuously comparing said present actual output current to said output current to determine whether there is an anomaly comprises: determining that the server power supply is working normally in response to the current actual output current being equal to the output current; and responding to the current actual output current not equal to the output current, and giving an alarm.
In another aspect of the embodiments of the present invention, a system for detecting a power failure of a power output of a server is provided, including: the acquisition module is configured to acquire a 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 for determining the voltage and the output current of the current equalizing bus according to the current running condition and the output power of the power supply; the judging module is configured to obtain the current actual output current of the power supply and judge whether the current actual output current is zero or not; and the comparison module is configured to respond that the current actual output current is not zero, and continuously compare the current actual output current with the output current to determine whether the current actual output current is abnormal or not.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the output current is obtained through the current equalizing bus voltage of the server power supply and is compared with the actual current, so that the alarm is given in the scene that the output voltage is in the normal range and the output current is zero, and the usability of the system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic diagram of an embodiment of a method for detecting a power loss at a power output of a server according to the present invention;
FIG. 2 is a diagram illustrating a maximum current auto-equalization architecture according to an embodiment of the present invention;
FIG. 3 is a table showing the comparison between the voltage and the output power of the current equalizing bus of 1600W power supply;
FIG. 4 is a schematic diagram of an embodiment of a system for detecting a power loss at a power output of a server according to the present invention;
FIG. 5 is a schematic diagram of a hardware structure of an embodiment of a computer device for detecting a 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 a power loss at a power 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 are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it is understood that "first" and "second" are only used for convenience of expression and should not be construed as limitations to the embodiments of the present invention, and the descriptions thereof in the following embodiments are omitted.
In a first aspect of an embodiment of the present invention, an embodiment of a method for detecting a power failure of a power output of a server is provided. Fig. 1 is a schematic diagram illustrating an embodiment of a method for detecting a power failure of a server power output according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, acquiring a 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 voltage and the output current of the current equalizing bus 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 or not.
In order to improve reliability, the server adopts a power redundancy mechanism. The mechanism is that a plurality of identical power supplies are configured, the power supplies are used for load balancing, when one power supply fails, the other power supply can take over the work of the other power supply, and after the power supplies are replaced, the plurality of power supplies work cooperatively. The benefit of redundancy is to achieve high stability of the server system. When one or two power supplies lose functions or are not output for unknown reasons, the rest power supplies in the system can continuously run to provide power for the server system, so that the server is not down or shut down due to power factors.
The power supply realizing the redundancy function has a plurality of groups of currents which are output in parallel, so that the average distribution of the currents is quite important. Therefore, it is necessary to have a current equalizing or current balancing function to ensure balanced output of current of each power supply. The purpose of current sharing is not to allow the system power supply to operate under high load for a long time (more than 80% of full load), and the long-time high-load operation also causes the service life of the server power supply to be reduced, so that the reliability of the system is reduced.
In order to improve the efficiency of the power redundancy mechanism during light load or Standby, the server adopts an a + S mode (Active-Standby mode). For redundant power systems, the cold redundancy mode may be enabled by a PMBUS command. The power supply device set to PSU0 is set to ACTIVE power (ACTIVE PSU), and the other power supply devices may be set to STANDBY power (STANDBY PSU). When this mode setting is enabled, the ACTIVE PSU (ACTIVE power supply) will take all the output load, the other STANDBY PSUs (STANDBY power supplies) are in a + S mode, the power supply output (+12VDC) holds the voltage and stops supplying power, this function can change the command by PMBUS setting different Von/Voff currents. The output power supply output voltage and current are zero (+12VDC off) if the power supply device is in the a + S mode. The power supply set to the active mode can operate more efficiently at this time.
The so-called A + S mode is that in the N + N power supply system, CR/Cold Redundant pins are connected together on a user system board to realize the Cold redundancy function. For an N + N power system, AC or DC power alone may be used, and the cold redundancy mode may be enabled via PMBus. The master 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 on all output loads, the other STANDBY power supply will be in sleep mode, outputting the hold voltage and stopping the power supply output. This function can be changed by setting different Von/Voff currents via the PMBus command. 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 and the voltage exists, so that the situation needs to be eliminated. Or designing the Server PSU to enter the STANDBY mode completely in the A + S mode. At this time, the main outputs of the power supplies are all closed, and only the standby power supplies are continuously powered on. When the system is not started, the power supply is in the mode to achieve the purpose of saving power.
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, wherein the functions of the power supply include converter switch control, fan control, LED control, monitoring, protection, communication, etc. are performed by the MCU. The current sharing and redundancy functions are controlled and implemented by a SECONDARY Side (SECONDARY Side) MCU.
In some embodiments, the method further comprises: the current-sharing pins of the server power supply are connected together so that the current-sharing buses of the power supply of the same server have the same voltage. Server power flow is provided with a DC level feedback power circuit through hardware. And the basis of loading or unloading is provided when the parallel operation is carried out. When in application, the pins (Ishare pins) of the PSUs are connected together to be used as the reference voltage of the current-sharing DC level of each machine.
There are many current sharing methods, and in the embodiment of the present invention, a "maximum current automatic current sharing method" architecture is adopted. Fig. 2 is a diagram illustrating a maximum current auto-equalizing architecture according to an embodiment of the present invention. This is an automatic and non-deliberate way to set the master and slave, i.e. in all power modules, if at a certain moment the output current of one module reaches the maximum value of all modules, then this module is defaulted as the master and the rest of the modules are defaulted as slaves. Their voltage error references are compared and corrected one by one. Because the main module is not determined deliberately in the N parallel modules, the final so-called primary module and secondary module are determined only according to the magnitude of the output current in the circuit operation process, and the module with the largest current is taken as the main module.
The method has the characteristics of good current sharing effect and easy realization of accurate current sharing. In specific use, if a current equalizing bus is short-circuited or one unit connected to the bus does not work, the voltage of the bus is reduced, so that the output voltage of each unit is reduced, even reaches the lower limit, and the fault is caused. When the current of a certain module rises to Io max, the output current of the current amplifier also reaches a limit value, and the output voltages of other units automatically drop. A redundant system can be formed, and the number of current sharing modules can be theoretically unlimited.
In some embodiments, the method further comprises: the voltage of the current-sharing bus is connected to the pins of the digital-to-analog converter of the secondary microprocessor to convert the voltage of the current-sharing bus into a current value. The reference voltage (current-sharing bus voltage) obtained by current sharing is connected to the pin of the secondary side MCU ADC (digital analog converter). The voltage of the current equalizing bus can be converted into a current scale value, and the current scale value can be used to assist in judging whether the current output value is correct or not.
Taking a server power supply with 1600W power output as an example, the maximum is set to 4 power supplies in parallel. FIG. 3 is a table showing the voltage and output power of the current share bus of 1600W power supply.
The relationship between the Current share Bus Voltage (Current share Bus Voltage) and the Power output (Total Power) of the Power supply Current sharing function pin (Ishare pin) is as follows:
the I.900W current share bus voltage reference level is 1.22V, and the total output current is 75A. The system application scene is that the output current of a single PSU (1PSU) is 75A, and the output current is 56% of the maximum load.
II.1800W current share bus voltage reference level is 2.72V, and 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.
III.2700W current share bus voltage reference level 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 current of a single PSU is 112.5A, and the output current is 85% of the maximum load.
IV.3600W current equalizing 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 share 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 single PSU current is 125A, and the output current is 94% of the maximum load.
VI.5400W current-sharing bus voltage reference level is 6.72V, and total output current is 450A. At this time, 4 PSUs (2+2 redundancy) are in the system, and after current sharing, the current of a single PSU is 112.5A, and the output current is 85% of the maximum load.
VII.6400W the voltage reference level of the current-sharing bus is 7.7V, and the total output current is 533A. At this time, 4 PSUs (2+2 redundant) are in the system, and after current sharing, the single PSU current is 133A, which is 100% output.
The output current parallel logic relation table is set as follows:
i.1 PSUs output at maximum 1600W, the voltage of the current equalizing bus is 0.25-2V, and the maximum output current is 133A.
II.2 PSUs output in parallel at a maximum of 3200W. The current sharing bus voltage is 2-4V, the maximum output current is 266A, and the PSU current sharing is still about 133A (the maximum output current of a single PSU is still not exceeded).
III.3 PSUs are connected in parallel and output at a maximum of 4800W. The current sharing bus voltage is 4-6V, the maximum output current is 400A, and the PSU current sharing is still about 133A (the maximum output current of a single PSU is still not exceeded).
IV.4 PSUs are connected in parallel and output at a maximum of 6400W. The current sharing bus voltage is 6-8V, the maximum output current is 533A, and the PSU current sharing 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 operation condition of the power supply according to the current share bus voltage comprises: responding to the current-sharing bus voltage in a first interval, and determining that the current operation condition of the power supply is single power supply operation; and responding to the current-sharing bus voltage in other intervals, and determining the current operation condition of the power supply to be that the plurality of power supplies are operated in parallel. According to the relationship between the PSU and the output power and current during current sharing, the current operation condition of the power supply can be determined according to the current sharing Bus voltage (Ishare Bus voltage):
the Ishare Bus voltage is 0.25-2V and runs on a single PSU.
The Ishare Bus voltage is 2-4V, and two PSUs are operated in parallel.
The Ishare Bus voltage is 4-6V, and three PSUs are operated in parallel.
The Ishare Bus voltage is 6-8V, and four PSUs are operated in parallel.
And determining the voltage and the output current of the current equalizing bus according to the current running condition and the output power of the power supply.
And determining an output current value according to 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 is 75A.
If two PSUs are connected in parallel, the current share bus voltage reference level is 3.77V, and the total output current is 225A. After current sharing, the single PSU current is 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 is 100A.
If three PSUs are connected in parallel, the current share bus voltage reference level is 5.79V, and the total output current is 375A. After current sharing, the single PSU current is 125A.
If four PSUs are connected in parallel, the current share bus voltage reference level is 6.72V, and the total output current is 450A. After current sharing, the single PSU current is 112.5A.
If four PSUs are connected in parallel, the current-share bus voltage reference level is 7.7V, and the total output current is 533A. After current sharing, the single PSU current is 133A.
And acquiring the current actual output current of the power supply, and judging whether the current actual output current is zero or not. And 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 or not.
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 the server; and responding to the register value in the current output information as a preset value, and then giving an alarm. The D1 h-D3 h instruction set is reserved in the PMBus1.2 instruction set for function extensions. D1h can be taken as the definition and extension of the power-down function of the server power output. The server BMC may obtain the current output information of the server by using the IPMI tool to input the instruction "D1 h". At this time, the received command is a SECONDARY Side (SECONDARY Side) MCU, and a Hex value (hexadecimal) is returned to display the current output state. If 00h is displayed to indicate that the PSU output is zero, a warning is required to be provided; if 02h is shown, the PSU mean flow rate is below 5%; if 04h is shown, the PSU mean flow rate is below 10%; if 06h is shown, the PSU mean flow rate is above 10%.
In some embodiments, said alerting comprises: and converting the warning pin position of the server power supply equipment from high level to low level based on the secondary side microprocessor. If the register value of D1h is 00h, the PSU output is zero, and a warning is required. And the secondary side MCU converts the warning pin position of the server power supply equipment from high level to low level. At this time, the Server BMC receives the signal and sends out a Server PSU Server maintenance person to check the power state. At this time, the LED warning of the Server PSU is changed from a green light to an amber light, and the Server PSU needs to be replaced. The following table is a Server PSU LED light gauge:
in some embodiments, said continuously comparing said present actual output current to said output current to determine whether there is an anomaly comprises: determining that the server power supply is working normally in response to the current actual output current being equal to the output current; and responding to the current actual output current not equal to the output current, and giving an alarm.
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 the alarm is given in the scene that the output voltage is in a normal range and the output current is zero, and the availability of the system is improved.
It should be particularly noted that, the steps in the embodiments of the method for detecting a power failure of a server power output may be mutually intersected, replaced, added, or deleted, so that these methods for detecting a power failure of a server power output, which are transformed by reasonable permutation and combination, shall also belong to the scope of the present invention, and shall not limit the scope of the present invention to the embodiments.
In view of the above, according to a second aspect of the embodiment of the present invention, a system 200 for detecting a power failure of a power output of a server is provided. As shown in fig. 4, the system 200 includes the following modules: the acquisition module is configured to acquire a 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 for determining the voltage and the output current of the current equalizing bus according to the current running condition and the output power of the power supply; the judging module is configured to obtain the current actual output current of the power supply and judge whether the current actual output current is zero or not; and the comparison module is configured to respond that the current actual output current is not zero, and continuously compare the current actual output current with the output current to determine whether the current actual output current is abnormal or not.
In some embodiments, the system further comprises a setup module configured to: the current-sharing pins of the server power supply are connected together so that the current-sharing buses of the power supply of the same server have the same voltage.
In some embodiments, the system further comprises a conversion module configured to: the voltage of the current-sharing bus is connected to the pins of the digital-to-analog converter of the secondary microprocessor to convert the voltage of the current-sharing bus into a current value.
In some embodiments, the acquisition module is further configured to: responding to the current-sharing bus voltage in a first interval, and determining that the current operation condition of the power supply is single power supply operation; and responding to the current-sharing bus voltage in other intervals, and determining the current operation condition of the power supply to be that the plurality of power supplies are operated in parallel.
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 the server; and responding to the register value in the current output information as a preset value, and then giving an alarm.
In some embodiments, the alert module is further configured to: and converting the warning pin position of the server power supply equipment from high level to low level based on the secondary side microprocessor.
In some embodiments, the alignment module is further configured to: determining that the server power supply is working normally in response to the current actual output current being equal to the output current; and responding to the current actual output current not equal to the output current, and giving an alarm.
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 a 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 voltage and the output current of the current equalizing bus 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, continuously comparing the current actual output current with the output current to determine whether the current actual output current is abnormal or not.
In some embodiments, the steps further comprise: the current-sharing pins of the server power supply are connected together so that the current-sharing buses of the power supply of the same server have the same voltage.
In some embodiments, the steps further comprise: the voltage of the current-sharing bus is connected to the pins of the digital-to-analog converter of the secondary microprocessor to convert the voltage of the current-sharing bus into a current value.
In some embodiments, the determining the current operation condition of the power supply according to the current share bus voltage comprises: responding to the current-sharing bus voltage in a first interval, and determining that the current operation condition of the power supply is single power supply operation; and responding to the current-sharing bus voltage in other intervals, and determining the current operation condition of the power supply to be that the plurality of power supplies are operated in parallel.
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 the server; and responding to the register value in the current output information as a preset value, and then giving an alarm.
In some embodiments, said alerting comprises: and converting the warning pin position of the server power supply equipment from high level to low level based on the secondary side microprocessor.
In some embodiments, said continuously comparing said present actual output current to said output current to determine whether there is an anomaly comprises: determining that the server power supply is working normally in response to the current actual output current being equal to the output current; and responding to the current actual output current not equal to the output current, and giving an alarm.
Fig. 5 is a schematic hardware structure diagram of an embodiment of the computer device for detecting power failure of a server power output according to the present invention.
Taking the device shown in fig. 5 as an example, the device includes a processor 301 and a memory 302.
The processor 301 and the memory 302 may be connected by a bus or other means, such as the bus connection in fig. 5.
The memory 302 is used as a non-volatile computer readable storage medium and can be used for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the method for detecting power failure of the power output of the server in the embodiment of the present application. The processor 301 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 302, i.e., implements a method of detecting a power loss of the power output of the server.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a method of detecting a power loss of the power output of the server, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Any embodiment of the computer device executing the method for detecting the power failure of the power output of the server can achieve the same or similar effects as any corresponding embodiment of the method.
The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs a method of detecting a power loss at a power output of a server.
Fig. 6 is a schematic diagram of an embodiment of a computer storage medium for detecting a power failure of a server power output according to the present invention. Taking the computer storage medium as shown in fig. 6 as an example, the computer readable storage medium 401 stores a computer program 402 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the program of the method for detecting a power failure of a power output of a server may be stored in a computer readable storage medium, and when executed, may include the processes 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 embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
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 present 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 of the invention 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 numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits 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 instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for detecting power failure of power output of a server is characterized by comprising the following steps:
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;
determining the voltage and the output current of a current-sharing bus bar 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
and 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 or not.
2. The method of claim 1, further comprising:
the current-sharing pins of the server power supply are connected together so that the current-sharing buses of the power supply of the same server have the same voltage.
3. The method of claim 1, further comprising:
the voltage of the current-sharing bus is connected to the pins of the digital-to-analog converter of the secondary microprocessor to convert the voltage of the current-sharing bus into a current value.
4. The method of claim 1, wherein determining the current operation of the power supply according to the current share bus voltage comprises:
responding to the current-sharing bus voltage in a first interval, and determining that the current operation condition of the power supply is single power supply operation;
and determining the current operation condition of the power supplies as the parallel operation of a plurality of power supplies in response to the current equalizing bus voltage being in other intervals.
5. The method of claim 1, further comprising:
responding to the current actual output current being zero, inputting an instruction by using an IPMI tool and acquiring current output information of the server;
and responding to the register value in the current output information as a preset value, and then giving an alarm.
6. The method of claim 5, wherein the alerting comprises:
and converting the warning pin position of the server power supply equipment from high level to low level based on the secondary side microprocessor.
7. The method of claim 1, wherein said continuously comparing said present actual output current to said output current to determine if there is an anomaly comprises:
determining that the server power supply is working normally in response to the current actual output current being 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 giving an alarm.
8. A system for detecting a power loss at a power output of a server, comprising:
the acquisition module is configured to acquire a 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 for determining the voltage and the output current of the current equalizing bus according to the current running condition and the output power of the power supply;
the judging module is configured to obtain the current actual output current of the power supply and judge whether the current actual output current is zero or not; and
and the comparison module is configured to respond that the current actual output current is not zero, and continuously compare the current actual output current with the output current to determine whether the current actual output current is abnormal or not.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
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 true CN113970964A (en) | 2022-01-25 |
CN113970964B 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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170123445A1 (en) * | 2015-11-02 | 2017-05-04 | Dell Products, L.P. | Controlling redundant power supplies in an information handling system |
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 |
-
2021
- 2021-10-29 CN CN202111276666.6A patent/CN113970964B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170123445A1 (en) * | 2015-11-02 | 2017-05-04 | Dell Products, L.P. | Controlling redundant power supplies in an information handling system |
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 |
---|---|
CN113970964B (en) | 2023-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101369697B1 (en) | Power conversion system and uninterruptible power source system | |
US10003200B2 (en) | Decentralized module-based DC data center | |
US6614133B2 (en) | Power system with plural parallel power supplies with at least one power supply in standby mode for energy efficiency | |
US10459506B1 (en) | Battery state detection by use of voltage in a shared power system background | |
US20070216229A1 (en) | UPS methods, systems and computer program products providing adaptive availability | |
US8522077B2 (en) | Power supply grid switch | |
CN111857313B (en) | Current-sharing control system and method for server power module of whole cabinet | |
WO2017152356A1 (en) | Rack power system and method | |
CN103809724A (en) | Equipment cabinet and power source control method thereof | |
US20140132070A1 (en) | Rack and power control method thereof | |
US11381107B2 (en) | Systems and methods for providing direct current and alternating current from a power supply to a load | |
US10942555B2 (en) | Power supplying method for computer system | |
CN113258763A (en) | Power module, voltage-sharing device and electronic equipment | |
Palamar | Methods and means of increasing the reliability of computerized modular uninterruptible 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 | |
CN110597684A (en) | PSU (Power supply Unit) for reducing system overload risk and method for reducing system overload risk | |
TWI665848B (en) | Power supply system and control method using the same | |
CN111381659B (en) | Computer system and power management method | |
KR100842433B1 (en) | Isolation Parallel Control Apparatus for Uninterruptible Power Supply which using of Common Battery | |
Xiaofei et al. | How to ensure the modular UPS with high reliability | |
KR102018235B1 (en) | DC power automatic switcher | |
JP2659758B2 (en) | Parallel operation control method | |
CN218829639U (en) | Direct current power supply system | |
CN109814697B (en) | Power supply method for computer system |
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 |