Server power protection device

By using a micro-control unit in the server power protection device to detect the number of servers and the status of the power supply unit, it outputs a frequency reduction notification to reduce the server operating frequency, solving stability problems caused by insufficient power supply and achieving efficient and stable operation of the server.

CN112051916BActive Publication Date: 2024-09-06HUANDA COMPUTER (SHANGHAI) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910486869.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-05
Publication Date
2024-09-06
Estimated Expiration
2039-06-05

AI Technical Summary

Technical Problem

When the power supply unit of the existing server power protection device is damaged or reduced, it may cause the server's circuit components to operate unstable, or even force the server to be forced to shut down, affecting stability.

Method used

Design a server power protection device that includes multiple power supply units and a micro-control unit. The micro-control unit detects the number of servers and the status of the power supply units. When the power supply is insufficient, it outputs a frequency reduction notification to the server to reduce its work. frequency to ensure that the remaining power supply is sufficient to avoid server crashes.

Benefits of technology

It effectively improves the stability and performance of the server, prevents crashes or forced shutdowns due to insufficient power supply, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112051916B
    Figure CN112051916B
Patent Text Reader

Abstract

A server power protection device includes a plurality of power supply units each for supplying an output power, a plurality of servers, and a micro control unit. Each server receives a plurality of output power supplies. The micro control unit is electrically connected to the power supply units and the servers, and detects the number of servers running among the servers. When the detected number is greater than a maximum supply value, the micro control unit detects whether the power supply units are operating normally. When at least one of the power supply units is not operating normally, the micro control unit outputs a frequency reduction notification to at least one of the servers, so that the at least one server reduces the operating frequency of its internal components according to the frequency reduction notification.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention relates to a power supply protection device, in particular to a server power supply protection device. [Background technology]

[0002] The existing server cabinet includes a plurality of servers (or server nodes) and a plurality of power supply units. Each power supply unit receives an external AC power via an AC power line and supplies the received power to the servers.

[0003] In the above structure, when one or part of the power supply units are damaged, the remaining power supply units that are working normally can still maintain the power supply to the servers. However, when any power supply unit is damaged (or the AC power cord is unplugged or damaged) and works abnormally, the number of power supply units that can supply power normally is reduced, and the total power they can provide is also reduced. 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 circuit components in the servers may become unstable (for example, crash) due to insufficient output power of the normal power supply units, and may even force multiple servers to be forced to shut down, thereby causing the data stored in the servers to be damaged and affecting the stability of the servers. [Summary of the invention]

[0004] The technical problem to be solved by the present invention is to provide a server power protection device capable of improving the stability of the server.

[0005] 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.

[0006] Each power supply unit is used for supplying an output power.

[0007] Each server is electrically connected to the power supply units to receive the output power.

[0008] The microcontrol unit is electrically connected to the power supply units and the servers. The microcontrol unit detects the number of servers running among the servers. When the detected number is greater than a maximum supply value, the microcontrol unit detects whether the power supply units are operating normally. When at least one of the power supply units is not operating normally, the microcontrol unit outputs a frequency reduction notification to at least one of the servers, so that the at least one server reduces the operating frequency of its internal components according to the frequency reduction notification.

[0009] Another technical problem to be solved by the present invention is to provide a server power protection device capable of improving the stability of the server.

[0010] 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.

[0011] Each power supply unit is used for supplying an output power.

[0012] Each server is electrically connected to the power supply units to receive the output power.

[0013] The micro control unit is electrically connected to the power supply units and the servers. The micro control unit detects the number of servers running among the servers and whether the power supply units are operating normally. When it is detected that at least one of the power supply units is not operating normally and the number of running servers is detected to be greater than a maximum supply value, the micro control unit outputs a frequency reduction notification to at least one of the servers, so that the at least one server reduces the operating frequency of its internal components according to the frequency reduction notification.

[0014] Compared to the prior art, the server power protection device of the present invention detects the number of running servers and whether the power supply units are operating normally by the micro control unit, and outputs the frequency reduction notification to the at least one server when the detected number is greater than the maximum supply value and the at least one power supply unit is operating abnormally, so that the at least one server reduces its operating frequency, thereby ensuring that when any power supply unit is operating abnormally, the output power provided by the other power supply units that are still operating normally is sufficient for the other servers that are still operating normally to continue to operate normally, so that all running servers will not crash or be forced to shut down, and there is no need to reduce the frequency of all servers at the same time, thereby effectively improving the performance and stability of the servers.

Brief Description of the Drawings

[0015] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, in which:

[0016] Figure 1 is a block diagram illustrating an embodiment of the server power protection device of the present invention. [Specific implementation method]

[0017] See also Figure 1, an embodiment of the server power protection device of the present invention is suitable for being set in a server rack (Server Rack, not shown). The server power protection device includes two power supply units 1, multiple servers 2, and a micro control unit 3. It should be noted that each server 2 is a 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 rack. In other embodiments, the number of the power supply units 1 may also be more than two, but is not limited thereto.

[0018] [First practical method]

[0019] Each power supply unit 1 is used to supply an output power and has a present pin. In this embodiment, each power supply unit 1 can be an AC / DC power supply unit. Each power supply unit 1 receives an external AC power source AC via an AC power line (not shown) and converts the AC power source AC into a DC power source suitable for the output power of the server cabinet. The AC power source AC is, for example, a mains supply.

[0020] Each server 2 is electrically connected to the power supply units 1 to receive the output power, and when each server 2 operates normally, each server 2 converts the received output power into an operating power for its normal operation. When each server 2 does not operate normally, 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 21 (Baseboard Management Controller, BMC) electrically connected to the micro control unit 3, and a central processing unit 22 (Central Processing Unit, CPU) coupled to the baseboard management controller 21. Each server 2 has two detection pins, each detection pin, for example, is a general purpose input and output (General Purpose Input and Output, GPIO) electrically connected to the micro control unit 3 to serve as a detection pin for the micro control unit 3 to determine whether each server 2 operates normally. In each server 2, a detection circuit (not shown) connected to the detection pins is used to generate a first detection signal GPIO_0 through a first detection pin among the detection pins, and a second detection signal GPIO_1 through a second detection pin among the detection pins. The first detection signal GPIO_0 and the second detection signal GPIO_1 form a set of detection signals. When the corresponding server 2 is operating normally, the detection circuit receives the operating power received and converted by the corresponding server 2 to control the detection pins to generate the corresponding first detection signal and the second detection signal. On the contrary, when the corresponding server 2 is not operating normally, the corresponding server 2 does not convert and provide the operating power. Therefore, the detection circuit does not receive the operating power and cannot operate, and 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 operates normally, each server 2 supplies the operating power it converts to the corresponding detection circuit to trigger the corresponding detection circuit to control the corresponding detection pin to generate the corresponding detection signal. When each server 2 operates abnormally, the corresponding detection circuit does not receive the operating power and cannot operate, thereby causing the corresponding detection circuit to 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 baseboard management controller 21 periodically monitors the operating status of the central processing unit 22. Each server 2 has a set of detection pins. Each set of detection pins is, for example, an integrated circuit bus (ICB) electrically connecting the micro control unit 3 and the baseboard management controller 21. 2 When each server 2 operates normally, the corresponding CPU 22 receives the operating power and operates, and the corresponding BMC 21 transmits the generated detection signal to the MCU 3 through the IC bus according to the operating status of the CPU 22 .

[0021] 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 detects the number of servers 2 running in the servers 2 periodically, for example, every second, according to each detection signal generated by each detection pin. When the number of servers 2 running in the detected 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 operating normally. It should be noted that in this embodiment, the maximum supply value can be a predetermined value, and the predetermined value, for example, is equal to two, but is not limited thereto. The maximum supply value can also change with a power supply ratio or a total preset output power change, and the power supply ratio is one of the ratio of the number of power supply units 1 that are operating normally in the power supply units 1 to the number of all the power supply units 1, and a total preset output power representing the sum of the preset output powers of the power supply units 1 that are operating normally in the power supply units 1 and an original preset output power representing the sum of the preset output powers of all the power supply units 1. The total preset output power is the sum of the preset output powers of the power supply units 1 that operate normally among the power supply units 1 .

[0022] In detail, the micro control unit 3 stores a lookup table, for example, Table 1 below, which lists only a small part of the lookup table. The lookup table contains multiple sets of detection signals and multiple corresponding identifiers corresponding to the multiple sets of detection signals, each corresponding identifier is related to a corresponding one of the servers 2 (for example, the corresponding identifier Node1 represents the first server of the servers 2), and each set of detection signals includes the first and second detection signals GPIO_0 and GPIO_1 generated by the detection pins of a corresponding one of the servers 2.

[0023] Table 1:

[0024]

[0025] When any server 2 is plugged into the backplane of the server cabinet and is running, the detection pins corresponding to the any server 2 respectively generate the detection signals, so that the micro control unit 3 can obtain the number of servers 2 running among 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 cabinet and is running, the detection pins of the first server 2 generate the first and second detection signals GPIO_0 and GPIO_1, both of which are logic 0, as the first group of detection signals, so that the micro control unit 3 can find out from the lookup table according to the first group of detection signals that the first group of detection signals corresponds to the corresponding identifier Node1, and then know that the first server 2 is currently running and the number of servers 2 running among the servers 2 is equal to one. Next, when the second server 2 is also plugged into the backplane of the server cabinet and is running, the detection pins of the second server 2 generate the first and second detection signals GPIO_0 and GPIO_1 of logic 0 and logic 1 respectively as the second set of detection signals, so that the micro control unit 3 can find out from the lookup table that the second set of detection signals corresponds to a corresponding identifier Node2 according to the second set of detection signals, and then the micro control unit 3 knows that in addition to the first server 2 running, the second server 2 is also running. At this time, the number of servers 2 running in the servers 2 is equal to two, but not limited to this. When the detected number of servers 2 is less than the maximum supply value, the micro control unit 3 will not regularly detect whether the power supply units 1 are operating normally. When the detected number is greater than the maximum supply value, the micro control unit 3 regularly detects whether the power supply units 1 are operating normally, and the details will be described in detail below.

[0026] In this embodiment, the micro control unit 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 power supply units 1. When the power management bus PMBus monitors that at least one power supply unit 1 among 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. On the contrary, 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 that at least one of the power supply units 1 does not output the output power and the at least one of the power supply units 1 is not correctly configured, the micro control unit 3 detects that the at least one power supply unit 1 is not operating normally. It should be noted that in this embodiment, the reason why the power supply unit 1 cannot output the output power may be: (1) the alternating current power AC is unstable; (2) the alternating current power line that provides the alternating current power AC is unplugged or damaged; or (3) the power supply unit 1 itself is damaged.

[0027] When at least one of the power supply units 1 is not operating normally, the micro control unit 3 outputs a frequency reduction notification to the baseboard management controller 21 corresponding to at least one of the servers 2, so that when the baseboard management controller 21 corresponding to the at least one server 2 receives the frequency reduction notification, it generates and transmits a frequency reduction instruction to the central processing unit 22 according to the frequency reduction notification to reduce the operating frequency of the corresponding central processing unit 22. In this way, the power consumption of the at least one server 2 is reduced by reducing the operating frequency of the central processing unit 22 corresponding to the baseboard management controller 21 corresponding to the at least one server 2, thereby ensuring that when any power supply unit 1 is not operating normally, all the running servers 2 will not crash or be forced to shut down, so that the data stored in the servers 2 will not be damaged or lost, thereby effectively improving the stability of the servers 2. When the user replaces the abnormally functioning power supply unit 1 , the micro control unit 3 will output a recovery command to the servers 2 , so that the servers 2 are restored to the full-speed operation state.

[0028] [Second Embodiment]

[0029] The server power protection device of the present invention can perform server power protection in the second embodiment. In this embodiment, the order in which the micro control unit 3 detects the number of running servers 2 and detects whether the power supply units 1 are operating normally can be changed arbitrarily.

[0030] Specifically, in this embodiment, the micro control unit 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 micro control unit 3 detects that at least one power supply unit 1 is not operating normally, the micro control unit 3 obtains a corresponding 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 micro control unit 3 obtains the corresponding new maximum supply value according to the power supply ratio, the micro control unit 3 uses the ratio of the number of power supply units 1 that are still operating normally to the number of all power supply units 1 as the power supply ratio (the number of all power supply units 1 can be obtained by the micro control unit 3 when it is turned on, or pre-stored in a readable memory in the micro control unit 3), and calculates or looks up the table according to the power supply ratio to obtain the corresponding new maximum supply value (the new maximum supply value represents the number of servers 2 that can be operated normally and stably by the current power supply). When the microcontroller unit 3 obtains the corresponding new maximum supply value according to the total preset output power, the microcontroller unit 3 obtains a preset output power of each power supply unit 1 that is still in normal operation and adds them up to obtain the total preset output power (the microcontroller unit 3 can obtain the preset output power of each power supply unit 1 through the power management bus PMBus when the microcontroller unit 3 is turned on, and then store it in the readable memory in the microcontroller unit 3, and then take it out for use when needed, or when the microcontroller unit 3 detects that one of the power supply units 1 is not operating normally, it can obtain the preset output power of the power supply units 1 that are still operating normally one by one through the power management bus PMBus). The microcontroller unit 3 then calculates according to the total preset output power to obtain the corresponding new maximum supply value.

[0031] Next, 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. When the number of the running servers 2 exceeds the maximum supply value, the micro control unit 3 outputs the frequency reduction 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 frequency reduction notification. In this way, it can also be ensured that when any power supply unit 1 is not operating normally, the output power provided by the other power supply units 1 that are still operating normally is sufficient for the other servers 2 that are still operating normally to continue to operate normally, so that all the running servers 2 will not crash or be forced to shut down, so that the data stored in the servers 2 will not be damaged or lost, and there is no need to reduce the frequency of all the servers 2 at the same time, thereby effectively improving the performance and stability of the servers 2.

[0032] It should be noted that in other embodiments, the following modifications may be made to this embodiment: (1) the micro control unit 3 is omitted; and (2) a main baseboard management controller 21 of a main server 2 among the servers 2 directly detects whether the power supply units 1 are operating normally through the power management bus PMBus, and when at least one power supply unit 1 is not operating normally, the main baseboard management controller 21 outputs the frequency reduction instruction to the remaining baseboard management controllers 21 to reduce the operating frequency of each central processing unit 22.

[0033] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A server power protection device, It is characterized in that Include: A plurality of power supply units, each power supply unit is used to supply an output power; A plurality of servers, each server being electrically connected to the power supply units to receive the output power; and A micro control unit is electrically connected to the power supply units and the servers. The micro control unit detects the number of servers running among the servers. When it is detected that the number of running servers is greater than a maximum supply value, the micro control unit detects whether the power supply units are operating normally. When at least one of the power supply units is not operating normally, the micro control unit determines a number of frequency-reduced servers related to the maximum supply value according to a power supply ratio, and outputs a frequency reduction notice to the servers corresponding to the number of frequency-reduced servers among the servers according to the number of frequency-reduced servers, so that the servers corresponding to the number of frequency-reduced servers reduce the operating frequency of their internal components according to the frequency reduction notice, and the number of frequency-reduced servers is less than the total number of the servers. The maximum supply value varies with one of the power supply ratio and a total preset output power, wherein the power supply ratio is one of the ratio of the number of normally operating power supply units among the power supply units to the number of all the power supply units, and the ratio of the total preset output power representing the sum of the preset output powers of the normally operating power supply units among the power supply units to an original preset output power representing the sum of the preset output powers of all the power supply units.

2. The server power protection device according to claim 1, It is characterized in that Each server has at least one detection pin, and the at least one detection pin generates a detection signal. The micro control unit determines whether each server is in operation according to the detection signal generated by the at least one detection pin corresponding to each server, thereby obtaining the number of servers in operation.

3. The server power protection device according to claim 1, It is characterized in that The micro control unit detects whether the power supply units operate normally through a power management bus. When at least one of the power supply units does not output the output power, the micro control unit detects that the at least one power supply unit is not operating normally.

4. The server power protection device according to claim 1, It is characterized in that Each power supply unit has an existence pin, and the micro control unit detects whether each power supply unit is correctly set according to an existence signal generated by the existence pin of each power supply unit. When at least one power supply unit among the power supply units is not correctly set, the micro control unit detects that the at least one power supply unit is not operating normally.

5. The server power protection device according to claim 1, It is characterized in that Each server includes a baseboard management controller electrically connected to the microcontroller unit to receive the frequency reduction notification, and a central processing unit coupled to the baseboard management controller. When the baseboard management controller receives the frequency reduction notification, it generates and transmits a frequency reduction instruction to the central processing unit according to the frequency reduction notification to reduce the operating frequency of the central processing unit.

6. A server power protection device, It is characterized in that Include: A plurality of power supply units, each power supply unit is used to supply an output power; A plurality of servers, each server being electrically connected to the power supply units to receive the output power; and a micro control unit electrically connected to the power supply units and the servers, the micro control unit detecting the number of servers running among the servers and whether the power supply units are operating normally, when it is detected that at least one of the power supply units is not operating normally and the number of running servers is detected to be greater than a maximum supply value, the micro control unit determines a number of frequency-reduced servers related to the maximum supply value according to a power supply ratio, and outputs a frequency reduction notice to the servers corresponding to the number of frequency-reduced servers among the servers according to the number of frequency-reduced servers, so that the servers corresponding to the number of frequency-reduced servers reduce the operating frequency of their internal components according to the frequency reduction notice, and the number of frequency-reduced servers is less than the total number of the servers, The maximum supply value varies with a change in one of the power supply ratio and a total preset output power, wherein the power supply ratio is one of the ratio of the number of normally functioning power supply units among the power supply units to the number of all the power supply units, and the ratio of the total preset output power representing the sum of the preset output powers of the normally functioning power supply units among the power supply units to an original preset output power representing the sum of the preset output powers of all the power supply units.