CN112051916A - Server power supply protection device - Google Patents

Server power supply protection device Download PDF

Info

Publication number
CN112051916A
CN112051916A CN201910486869.4A CN201910486869A CN112051916A CN 112051916 A CN112051916 A CN 112051916A CN 201910486869 A CN201910486869 A CN 201910486869A CN 112051916 A CN112051916 A CN 112051916A
Authority
CN
China
Prior art keywords
power supply
supply units
power
server
servers
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.)
Pending
Application number
CN201910486869.4A
Other languages
Chinese (zh)
Inventor
沈明彥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shencloud Technology Co Ltd
Huanda Computer Shanghai Co Ltd
Original Assignee
Shencloud Technology Co Ltd
Huanda Computer Shanghai Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shencloud Technology Co Ltd, Huanda Computer Shanghai Co Ltd filed Critical Shencloud Technology Co Ltd
Priority to CN201910486869.4A priority Critical patent/CN112051916A/en
Publication of CN112051916A publication Critical patent/CN112051916A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Abstract

A server power protection device comprises a plurality of power supply units, a plurality of servers and a micro control unit, wherein each server is used for supplying an output power, each server receives a plurality of output powers, the micro control unit is electrically connected with the power supply units and the servers and detects the number of the servers running in the servers, when the detected number is larger than a maximum supply value, the micro control unit detects whether the power supply units normally run, and when at least one power supply unit in the power supply units abnormally runs, the micro control unit outputs a frequency reduction notice to at least one server in the servers, so that the at least one server reduces the working frequency of internal components of the server according to the frequency reduction notice.

Description

Server power supply protection device
[ technical field ] A method for producing a semiconductor device
The present invention relates to a power protection device, and more particularly, to a power protection device for a server.
[ background of the invention ]
The conventional server rack includes a plurality of servers (or called server nodes) and a plurality of power supply units. Each power supply unit receives an external AC power through an AC power line and supplies the received power to the servers.
In the above structure, when one or a part of the power supply units are damaged, the remaining power supply units which normally operate can still maintain the power supply to the servers. However, when any power supply unit is damaged (or the ac power line is unplugged or damaged) and operates abnormally, the number of power supply units capable of supplying power normally decreases, and the total power available is also decreased. If the total power consumption of the servers exceeds the upper limit of the total power that can be provided by the remaining normal power supply units, the operation of the circuit components in the servers may be unstable (e.g., crash) due to the insufficient output power of the normal power supply units, and even multiple servers may be forced to be shut down, so that the data stored in the servers is damaged and the stability of the servers is affected.
[ summary of the invention ]
The invention aims to provide a server power supply protection device capable of improving the stability of a server.
In order to solve the above-mentioned problems, the server power protection device of the present invention comprises a plurality of power supply units, a plurality of servers, and a micro control unit.
Each power supply unit is used for supplying an output power.
Each server is electrically connected with the power supply units to receive the output power.
The micro control unit is electrically connected with the power supply units and the servers, detects the number of the servers running in the servers, detects whether the power supply units normally operate or not when the detected number is larger than a maximum supply value, and outputs a frequency reduction notice to at least one of the servers when at least one of the power supply units does not normally operate, so that the at least one server reduces the working frequency of internal components according to the frequency reduction notice.
Another technical problem to be solved by the present invention is to provide a server power protection device capable of improving the stability of a server.
In order to solve the above technical problems, the server power protection device of the present invention includes a plurality of power supply units, a plurality of servers, and a micro control unit.
Each power supply unit is used for supplying an output power.
Each server is electrically connected with the power supply units to receive the output power.
The micro control unit is electrically connected with the power supply units and the servers, detects the number of the servers running in the servers and whether the power supply units run normally, and outputs a frequency reduction notice to at least one of the servers when detecting that at least one of the power supply units does not run normally and detects that the number of the running servers is greater than a maximum supply value, so that the at least one server reduces the working frequency of internal components of the server according to the frequency reduction notice.
Compared with the prior art, the server power protection device detects the number of running servers and whether the power supply units normally run or not by the micro control unit, and outputs the frequency reduction notification to the at least one server when the detected number is larger than the maximum supply value and the at least one power supply unit does not normally run, so that the at least one server reduces the working frequency of the at least one server, and therefore, when any power supply unit does not normally run, the output power provided by other power supply units which still normally run is enough for other servers which still normally run to continue to normally run, all running servers cannot be shut down or forced to be shut down, and all servers do not need to be subjected to frequency reduction at the same time, and the efficiency and the stability of the servers are effectively improved.
[ description of the drawings ]
Other features and advantages of the present invention will become apparent from the following detailed description of the preferred embodiments with reference to the accompanying drawings, in which:
fig. 1 is a block diagram illustrating an embodiment of a server power protection device according to the present invention.
[ detailed description ] embodiments
Referring to fig. 1, the embodiment of the Server power protection device of the present invention is suitable for being installed in a Server Rack (not shown). The server power protection device comprises two power supply units 1, a plurality of servers 2 and a micro control unit 3. Note that each server 2 is a Node (Node) of the server rack. The power supply units 1, the servers 2, and the micro control unit 3 are respectively inserted into a backplane (not shown) of the server cabinet. In other embodiments, the number of the power supply units 1 may be two or more, but is not limited thereto.
[ first embodiment ]
Each power supply unit 1 is used for supplying an output power and has a present pin. In this embodiment, each power supply unit 1 may be an AC/dc power supply unit, and each power supply unit 1 receives an external AC power AC via an AC power line (not shown), and converts the AC power AC into a dc power suitable for the output power of the server cabinet. The AC power source AC is, for example, commercial power.
Each server 2 is electrically connected to the power supply units 1 to receive the output power, and when each server 2 normally operates, each server 2 converts the received output power into an operating power for the normal operation thereof, and when each server 2 abnormally operates, the output power is not converted into the operating power, and each server 2 has at least one detection pin. In this embodiment, each server 2 includes a Baseboard Management Controller (BMC) 21 electrically connected to the mcu 3, and a Central Processing Unit (CPU) 22 coupled to the BMC 21. Each server 2 has two detection pins, and each detection pin is, for example, a General Purpose Input and Output (GPIO) electrically connected to the mcu 3, and is used as a detection pin for the mcu 3 to determine whether each server 2 is operating normally. In each server 2, a detection circuit (not shown) connected to the detection pins is used, and a first detection signal GPIO _0 is generated through a first detection pin of the detection pins, and a second detection signal GPIO _1 is generated through a second detection pin of the detection pins, wherein a set of detection signals is composed of the first detection signal GPIO _0 and the second detection signal GPIO _ 1. The detection circuit receives the operation power converted by the corresponding server 2 to control the detection pins to generate the corresponding first detection signal and the second detection signal respectively when the corresponding server 2 operates normally, and conversely, the detection circuit does not convert and provide the operation power when the corresponding server 2 operates abnormally, so that the detection circuit does not receive the operation power and cannot operate, and further the detection circuit does not control the detection pins to generate the corresponding first detection signal and the second detection signal. In another embodiment, each server 2 has a detection pin and a detection circuit (not shown) connected to the detection pin. When each server 2 normally operates, each server 2 supplies the operating power converted by the server to the corresponding detection circuit to trigger the corresponding detection circuit to control the corresponding detection pin to generate the corresponding detection signal, and when each server 2 abnormally operates, the corresponding detection circuit cannot operate without receiving the operating power, so that the corresponding detection circuit does not control the corresponding detection pin to generate the corresponding detection signal. In another embodiment, each server 2 includes the Baseboard Management Controller (BMC) 21 and the Central Processing Unit (CPU) 22. The bmc 21 periodically monitors the operating status of the cpu 22, and each server 2 has a set of detect pins, each set of detect pins being, for example, an Inter-Integrated Circuit Bus (I C Bus) electrically connecting the mcu 3 and the bmc 21. When each server 2 operates normally, the corresponding central processing unit 22 receives the operating power supply to operate, and the corresponding baseboard management controller 21 transmits the generated detection signal to the micro control unit 3 through the integrated circuit bus according to the operating state of the central processing unit 22.
The micro control unit 3 is electrically connected to the presence pins of the power supply units 1 and the detection pins of the servers 2. The micro control unit 3 periodically detects the number of the servers 2 running in the servers 2 according to each detection signal generated by each detection pin, for example, every second, and when the detected number of the servers 2 running in the servers 2 is greater than a maximum supply value, the micro control unit 3 is triggered to periodically detect whether the power supply units 1 are normally operated. It should be noted that, in this embodiment, the maximum supply value may be a predetermined value, and the predetermined value is, for example, equal to two, but is not limited thereto. The maximum supply value may also be changed with a change in a power supply ratio or a total preset output power, where the power supply ratio is one of a ratio of the number of the power supply units 1 that normally operate among the power supply units 1 to the number of all the power supply units 1, and a ratio of a total preset output power that represents a sum of default output powers of the power supply units 1 that normally operate among the power supply units 1 to an original preset output power that represents a sum of default output powers of all the power supply units 1. The total default output power is the sum of the default output powers of the power supply units 1 that are normally operating in the power supply units 1.
In detail, the mcu 3 stores a look-up table, for example, table 1 below, which lists only a small portion of the look-up table. The look-up table contains a plurality of sets of detection signals, each associated with a corresponding one of the servers 2 (e.g., the corresponding identifier Node1 represents a first one of the servers 2), and a plurality of corresponding identifiers respectively corresponding to the plurality of sets of detection signals, each set of detection signals including the first and second detection signals GPIO _0, GPIO _1 generated by the detection pins of a corresponding one of the servers 2.
Table 1:
Figure 822868DEST_PATH_IMAGE001
when any server 2 is inserted into the backplane of the server cabinet and operates, the detection pins corresponding to any server 2 respectively generate the detection signals, so that the micro control unit 3 can obtain the number of servers 2 operating in the servers 2 according to the detection signals and the lookup table. For example, when only the first server 2 is plugged into the backplane of the server rack and is running, the detecting pins of the first server 2 generate the first and second detecting signals GPIO _0 and GPIO _1, which are all logic 0, as the first set of detecting signals, so that the mcu 3 can check from the lookup table according to the first set of detecting signals that the first set of detecting signals corresponds to the corresponding identifier Node1, thereby knowing that the first server 2 is running currently, and the number of servers 2 running in the servers 2 is equal to one. Then, when the second server 2 is also inserted into the backplane of the server rack and is running, the detecting pins of the second server 2 respectively generate the first and second detecting signals GPIO _0 and GPIO _1 as logic 0 and logic 1 as a second group of detecting signals, so that the micro control unit 3 can search from the lookup table according to the second group of detecting signals that the second group of detecting signals corresponds to a corresponding identifier Node2, and further the micro control unit 3 knows that the second server 2 is running in addition to the first server 2, and at this time, the number of servers 2 running in the servers 2 is equal to two, but is not limited thereto. When the number of the detected servers 2 is smaller than the maximum supply value, the micro control unit 3 does not periodically detect whether the power supply units 1 are operating normally. When the detected amount is greater than the maximum supply value, the mcu 3 periodically detects whether the power supply units 1 are operating normally, and the details thereof will be described in detail below.
In this embodiment, the mcu 3 detects whether the power supply units 1 are operating normally through a power Management bus pmbus (power Management bus). For example, the power management bus PMBus manages the power supply status of all the power supply units 1, and when the power management bus PMBus monitors that at least one power supply unit 1 of the power supply units 1 does not output the output power, the power management bus PMBus sends at least one warning signal to the micro control unit 3, so that the micro control unit 3 detects that the at least one power supply unit 1 is not operating normally according to the at least one warning signal. In addition, the micro control unit 3 can also detect whether each power supply unit 1 is correctly set according to a presence signal generated by the presence pin of each power supply unit 1, for example, when the presence signal is logic 1, the micro control unit 3 determines that the corresponding power supply unit 1 is correctly set, otherwise, when the presence signal is logic 0, the micro control unit 3 determines that the corresponding power supply unit 1 is incorrectly set. When the micro control unit 3 detects at least one of the at least one power supply unit 1 of the power supply units 1 not outputting the output power and the at least one power supply unit 1 of the power supply units 1 not being correctly configured, the micro control unit 3 detects that the at least one power supply unit 1 is not normally operated. It should be noted that, in this embodiment, the reason why the power supply unit 1 cannot output the output power may be because: (1) instability of the alternating current power supply AC occurs; (2) the AC power line supplying the AC power source AC is unplugged or damaged; or (3) the power supply unit 1 itself breaks down.
When the at least one power supply unit 1 of the power supply units 1 is not normally operated, the micro control unit 3 outputs a frequency reduction notification to the baseboard management controller 21 corresponding to each of the at least one server 2 of the servers 2, so that the baseboard management controller 21 corresponding to each of the at least one server 2 generates and transmits a frequency reduction command to the central processing unit 22 according to the frequency reduction notification when receiving the frequency reduction notification, so as to reduce the operating frequency of the central processing unit 22 corresponding to the frequency reduction command. Therefore, the purpose of reducing the power consumption of the at least one server 2 is achieved by adjusting and reducing the operating frequency of the central processing unit 22 corresponding to the baseboard management controller 21 corresponding to each of the at least one server 2, so as to ensure that when any power supply unit 1 is abnormally operated, all running servers 2 are not crashed or forced to be shut down, so that the data stored in the servers 2 are not damaged or lost, and further, the stability of the servers 2 is effectively improved. When the user replaces the power supply unit 1 which is not normally operated, the mcu 3 outputs a recovery command to the servers 2, so that the servers 2 are recovered to a full-speed operation state.
[ second embodiment ]
The server power protection device according to the present invention can perform server power protection in the second embodiment. In this embodiment, the sequence of the micro control unit 3 detecting the number of the running servers 2 and detecting whether the power supply units 1 are normally operated can be arbitrarily changed.
In detail, in this embodiment, the mcu 3 detects the number of servers 2 running in the servers 2 and detects whether the power supply units 1 are operating normally. When the mcu 3 detects that the at least one power supply unit 1 is not operating normally, the mcu 3 obtains a new maximum supply value as the maximum supply value according to one of the power supply ratio and the total preset output power. In this embodiment, when the mcu 3 obtains the corresponding new maximum supply value according to the power supply ratio, the mcu 3 uses the ratio of the number of the power supply units 1 still in normal operation to the number of all the power supply units 1 as the power supply ratio (the number of all the power supply units 1 can be obtained by the mcu 3 detecting before starting up or stored in a readable memory of the mcu 3), and calculates or looks up the new maximum supply value according to the power supply ratio (the new maximum supply value represents the number of servers 2 that can provide normal and stable operation by the current power). When the mcu 3 obtains the new maximum supply value according to the total default output power, the micro control unit 3 obtains a default output power of each power supply unit 1 that is still normally operating to perform summation calculation to obtain the total preset output power (the micro control unit 3 can obtain the default output power of each power supply unit 1 through the power management bus PMBus when starting up, then store the default output power in the readable memory of the micro control unit 3, and then take out the default output power for use when needing to use, or the micro control unit 3 can obtain the default output power of the power supply unit 1 that is still normally operating one by one through the power management bus PMBus when detecting that one of the power supply units 1 is abnormally operating), the mcu 3 calculates the total preset output power to obtain the new maximum supply value.
Then, the micro control unit 3 compares the maximum supply value (i.e. the new maximum supply value) with the number of the running servers 2, and when the number of the running servers 2 exceeds the maximum supply value, the micro control unit 3 outputs the down-conversion notification to at least one of the servers 2, so that the at least one server 2 reduces the operating frequency of its internal components according to the down-conversion notification. Thus, it can be ensured that when any power supply unit 1 is not normally operated, the output power provided by the other power supply units 1 still normally operated is enough for the other servers 2 still normally operated, so that all the servers 2 in operation are not crashed or forced to be shut down, the data stored in the servers 2 are not damaged or lost, and all the servers 2 are not required to be simultaneously frequency-down, thereby effectively improving the efficiency and stability of the servers 2.
Note that in other embodiments, the following modifications may be made to the present embodiment: (1) the micro control unit 3 is omitted; and (2) a main board management controller 21 of a main server 2 of the servers 2 directly detects whether the power supply units 1 are normally operated through the power management bus PMBus, and when the at least one power supply unit 1 is not normally operated, the main board management controller 21 outputs the frequency reduction command to the other board management controllers 21 to reduce the operating frequency of each cpu 22.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A server power protection device, comprising:
a plurality of power supply units, each for supplying an output power;
a plurality of servers, each server electrically connected to the power supply units for receiving the output power; and
the micro control unit is electrically connected with the power supply units and the servers, detects the number of the servers running in the servers, detects whether the power supply units normally operate or not when the detected number is larger than a maximum supply value, and outputs a frequency reduction notice to at least one of the servers when at least one of the power supply units does not normally operate, so that the at least one server reduces the working frequency of internal components according to the frequency reduction notice.
2. The device as claimed in claim 1, wherein each server has at least one detection pin, the at least one detection pin generates a detection signal, the micro control unit determines whether each server is in a running state according to the detection signal generated by the at least one detection pin corresponding to each server, so as to obtain the number of servers running in the servers.
3. The device of claim 1, wherein the MCU detects whether the power supply units are operating normally through a power management bus, and detects that the at least one power supply unit is not operating normally when the at least one power supply unit of the power supply units does not output the output power.
4. The device as claimed in claim 1, wherein each power supply unit has a presence pin, the micro control unit detects whether each power supply unit is properly installed according to a presence signal generated by the presence pin of each power supply unit, and the micro control unit detects that at least one of the power supply units is not properly installed.
5. The device as claimed in claim 1, wherein each server includes a baseboard management controller electrically connected to the micro control unit for receiving the frequency down notification, and a central processing unit coupled to the baseboard management controller, wherein the baseboard management controller generates and transmits a frequency down command to the central processing unit according to the frequency down notification when receiving the frequency down notification, so as to reduce the operating frequency of the central processing unit.
6. The server power protection device of claim 1, wherein the maximum supply value varies with a change in a power supply ratio, the power supply ratio being one of a ratio of a number of normally operating ones of the power supply units to a number of all of the power supply units, and a ratio of a total preset output power representing a sum of default output powers of the normally operating ones of the power supply units to an original preset output power representing a sum of default output powers of all of the power supply units.
7. The apparatus of claim 1, wherein the maximum supply value varies with a total predetermined output power, the total predetermined output power being a sum of default output powers of normally operating ones of the power supply units.
8. A server power protection device, comprising:
a plurality of power supply units, each for supplying an output power;
a plurality of servers, each server electrically connected to the power supply units for receiving the output power; and
the micro control unit is electrically connected with the power supply units and the servers, detects the number of the servers running in the servers and whether the power supply units run normally, and outputs a frequency reduction notice to at least one of the servers when detecting that at least one of the power supply units does not run normally and the number of the servers running is larger than a maximum supply value, so that the at least one server reduces the working frequency of internal components according to the frequency reduction notice.
9. The server power protection device of claim 8, wherein the maximum supply value varies with a change in a power supply ratio, the power supply ratio being one of a ratio of a number of normally operating ones of the power supply units to a number of all of the power supply units, and a ratio of a total preset output power representing a sum of default output powers of the normally operating ones of the power supply units to an original preset output power representing a sum of default output powers of all of the power supply units.
10. The apparatus of claim 8, wherein the maximum supply value varies with a total predetermined output power, the total predetermined output power being a sum of default output powers of normally operating ones of the power supply units.
CN201910486869.4A 2019-06-05 2019-06-05 Server power supply protection device Pending CN112051916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910486869.4A CN112051916A (en) 2019-06-05 2019-06-05 Server power supply protection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910486869.4A CN112051916A (en) 2019-06-05 2019-06-05 Server power supply protection device

Publications (1)

Publication Number Publication Date
CN112051916A true CN112051916A (en) 2020-12-08

Family

ID=73609478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910486869.4A Pending CN112051916A (en) 2019-06-05 2019-06-05 Server power supply protection device

Country Status (1)

Country Link
CN (1) CN112051916A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030196126A1 (en) * 2002-04-11 2003-10-16 Fung Henry T. System, method, and architecture for dynamic server power management and dynamic workload management for multi-server environment
CN106339058A (en) * 2015-07-08 2017-01-18 广达电脑股份有限公司 Dynamic power supply management method and system
US20190050036A1 (en) * 2017-08-09 2019-02-14 Equinix, Inc. Rack level power control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030196126A1 (en) * 2002-04-11 2003-10-16 Fung Henry T. System, method, and architecture for dynamic server power management and dynamic workload management for multi-server environment
CN106339058A (en) * 2015-07-08 2017-01-18 广达电脑股份有限公司 Dynamic power supply management method and system
US20190050036A1 (en) * 2017-08-09 2019-02-14 Equinix, Inc. Rack level power control

Similar Documents

Publication Publication Date Title
US9223394B2 (en) Rack and power control method thereof
US9411409B2 (en) Data processing system having power capping function in response to output state of power supply module
US9785127B2 (en) Power supply device, micro server having the same, and power supply method
US9454202B2 (en) Power management method for server system
WO2021046934A1 (en) Psu-based power supply system
TWI777058B (en) Power protection device for servers
TWI509402B (en) Apparatus and method for power supply
US20110113263A1 (en) Server
CN106371540B (en) System power management method, chip and electronic equipment
US10942555B2 (en) Power supplying method for computer system
US20180341563A1 (en) Server system, server device and power supply recovery method therefor
CN106940676B (en) Monitoring system of cabinet
WO2023029375A1 (en) Power source consumption management apparatus for four-way server
CN115224555A (en) Power supply adapter board, electronic equipment and power supply method
CN111367392A (en) Dynamic power supply management system
CN112051916A (en) Server power supply protection device
CN110389643B (en) Server and remote control method thereof
CN115904050A (en) Power control system and method for preventing power failure shutdown of server
CN111381659B (en) Computer system and power management method
CN109976490B (en) Power supply control method and electronic equipment
CN112821474A (en) Power supply system, network device and power supply control method
TWI685733B (en) Computer system and power management method
US20140019777A1 (en) Power data communication architecture
TWI753388B (en) Uninterrupted power system and controlling method of the same
CN215646345U (en) Uninterrupted power supply circuit

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