This application claims all benefits accruing under 35 U.S.C. §119 from China Patent Application No. 201310206021.4, filed on Mar. 29, 2013 in the State Intellectual Property Office of China. The contents of the China Application are hereby incorporated by reference.
1. Technical Field
The disclosure generally relates to power failure detection, and particularly relates to apparatuses and methods for detecting a power failure of a power supply unit (PSU).
2. Description of Related Art
A typical server computer usually has multiple power supply units (PSUs). When one of the PSUs fails, the other PSUs can continue powering the server without power interruption. A related person, (e.g., a system technician) needs to repair the failed PSU or replace it with a new one. However, the known power failure detection system cannot detect the power failure of the PSU and inform the related person of the power failure rapidly enough.
Therefore, there is room for improvement within the art.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like reference numerals indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references can mean “at least one.”
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language such as Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an erasable-programmable read-only memory (EPROM). The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media are compact discs (CDs), digital versatile discs (DVDs), Blu-Ray discs, Flash memory, and hard disk drives.
In the illustrated embodiment, the power failure detection device includes a logic device 12, a comparison device 14, a baseboard management controller (BMC) 16, and a monitoring device 18. The logic device 12 is connected to the comparison circuit 14. The BMC 16 is connected to the logic device 12. The monitoring device 18 is in communication with the BMC 16 via an Internet protocol (IP) network.
The comparison circuit 14 may receive a power signal from a PSU 20 and compare a voltage of the power signal with a predefined voltage value, e.g., +12V. When the voltage of the power signal is not equal to the predefined voltage value, the comparison circuit 14 may send a power failure signal to the logic device 12. In one embodiment, the comparison circuit 14 is an operational amplifier.
When the logic device 12 receives the power failure signal from the comparison circuit 14, the logic device 12 may generate power failure information based on the power failure signal from the comparison circuit 14 and send the failure information to the BMC 16. In some embodiments, the logic device 12 may be a complex programmable logic device (CPLD) or a field programmable gate array (FPGA).
The logic device 12 may collect state information of the PSU 20 and add the state information of the PSU 20 into the power failure information. The logic device 12 may detect whether the PSU 20 generates a power good signal. When the PSU 20 does not generate the power good signal, the logic device 12 may determine that the PSU 20 is powering on and in a powering-on state. When the PSU 20 generates the power good signal, the logic device 12 may determine that the PSU 20 has been powered on and is in a powered-on state.
The BMC 16 is a specialized microcontroller embedded on a motherboard of a computing device. The BMC 16 manages an interface between system management software and platform hardware. When the BCM 16 receives the power failure information from the logic device 12, the BMC 16 may send the power failure information to the monitoring device 18 via the IP network.
The monitoring device 18 may generate an alarm to inform of the power failure information in response to receiving the power failure information from the BMC 16. In one embodiment, the monitoring device 18 includes a display configured to display the power failure information. When a related person (e.g., a system technician) is informed of the power failure information, the person can take actions to cut off the power, repair the PSU 20 or replace the PSU 20 with a new one.
In step S201, the comparison circuit 14 is connected to the PSU 20.
In step S202, the comparison circuit 14 receives a power signal from the PSU 20.
In step S203, the comparison circuit 14 compares a voltage of the power signal from the PSU 20 with a predefined voltage value. If the voltage of the power signal is equal to the predefined voltage value, the flow proceeds to step S204. Otherwise, the flow ends.
In step S204, the comparison circuit 14 sends a power failure signal to the logic device 12.
In step S205, the logic device 12 generates power failure information based on the power failure signal. In one embodiment, the logic device 12 collects state information of the PSU 20 and adds the state information of the PSU 20 into the power failure information. The logic device 12 detects whether the PSU 20 generates a power good signal. When the PSU 20 does not generate the power good signal, the logic device 12 determines that the PSU 20 is powering on and in a powering-on state. When the PSU 20 generates the power good signal, the logic device 12 determines that the PSU 20 has been powered on and is in a powered-on state.
In step S206, the logic device 12 sends the power failure information to the BMC 16.
In step S207, the BMC 16 sends the power failure information to the monitoring device 18 via the IP network. The monitoring device 18 generates an alarm to inform of the power failure information in response to receiving the power failure information from the BMC 16.
Although numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in the matters of arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2013102060214 | May 2013 | CN | national |