A power supply protection method, system, device and storage medium of a server

By placing a controller and auxiliary power supply device on the outside of the server chassis, the output current of the power supply is collected and judged, which solves the problem of power instability caused by GPU current characteristics, realizes stable power supply for the server and power grid stability, and avoids the impact of motherboard space limitations.

CN119620841BActive Publication Date: 2026-01-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411718424.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2026-01-27
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively address the current characteristics of GPUs, leading to unstable server power supply, impacting grid stability, and limiting the implementation of circuit designs due to motherboard space constraints.

Method used

By deploying controllers, data collectors, and auxiliary power supply devices outside the server chassis, the output current of the power supply is collected to determine the power supply status. When necessary, the auxiliary power supply device is controlled to supply power together with the power supply to smooth out peak flows and ensure grid stability.

Benefits of technology

It achieves stable power supply protection for the server, ensures the stability of the power grid, avoids the impact of motherboard space limitations, and improves the reliability of power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119620841B_ABST
    Figure CN119620841B_ABST
Patent Text Reader

Abstract

The application discloses a power supply protection method and system of a server, a device and a storage medium, and applies to the technical field of servers. A controller is connected with a collector and an auxiliary power supply device, and the controller, the collector and the auxiliary power supply device are arranged at a first position outside a server shell. The power supply protection method of the server comprises the following steps: receiving an output current of a power supply of the server collected by the collector; judging whether the server is stably powered based on the output current; if not, controlling the auxiliary power supply device to be in a discharging state, so that the auxiliary power supply device and the power supply jointly supply power to the server, and after it is determined that the server is stably powered, controlling the auxiliary power supply device to stop supplying power. According to the scheme, the current characteristics of a GPU can be effectively coped with, the power supply protection of the server is realized, the stability of the power grid is ensured, and the server mainboard layout space is not affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of server technology, and in particular to a power supply protection method, system, device, and storage medium for servers. Background Technology

[0002] With the continuous development of technologies such as big data and artificial intelligence, customer needs are becoming increasingly diverse and complex. GPUs (Graphics Processing Units) are widely used, and their performance is constantly improving. This leads to increasingly higher power requirements and thus higher dynamic current, which can affect the stable power supply to servers and cause current fluctuations in the power grid. Therefore, the requirements for PSUs (Power Supply Units) in servers are becoming increasingly stringent, requiring them to ensure a stable power supply to the servers and the stability of the power grid.

[0003] Regarding the current characteristics of GPUs, currently, in the early stages of server development, the output current of the power supply unit (PSU) is typically adjusted specifically to address the GPU's high dynamic load. For example, some PSU designs can provide dynamic current up to 1.7 to 1.8 times the PSU's rated current. If 1.7 to 1.8 times is insufficient to meet the GPU's dynamic current requirements, a higher-power PSU will be used, resulting in higher production and design costs.

[0004] Servers typically include multiple power supply units (PSUs) mounted on the motherboard. Some solutions incorporate motherboard-side circuitry to absorb the dynamic current from the GPU, ensuring stable power supply during GPU operation without affecting grid fluctuations. However, due to limited motherboard space, such solutions are easily constrained and difficult to implement, for example, forcing simplified circuit design and resulting in suboptimal performance.

[0005] In summary, how to effectively address the current characteristics of GPUs, achieve power supply protection for servers, and ensure the stability of the power grid are technical problems that urgently need to be solved by those skilled in the art. Summary of the Invention

[0006] The purpose of this invention is to provide a power supply protection method, system, device, and storage medium for servers, so as to effectively deal with the current characteristics of GPUs, realize power supply protection for servers, and ensure the stability of the power grid.

[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0008] In a first aspect, the present invention provides a power supply protection method for a server, applied to a controller, wherein the controller is connected to a data collector and an auxiliary power supply device, and the controller, the data collector, and the auxiliary power supply device are all arranged at a first location outside the server casing. The power supply protection method for the server includes:

[0009] Receives the output current of the server's power supply collected by the collector;

[0010] Based on the output current, determine whether the server is receiving a stable power supply;

[0011] If not, the auxiliary power supply device is controlled to be in a discharging state so that the auxiliary power supply device and the power supply jointly supply power to the server, and after determining that the server has a stable power supply, the auxiliary power supply device is controlled to stop supplying power.

[0012] On the other hand, determining whether the server is receiving a stable power supply based on the output current includes:

[0013] Determine whether the output current exceeds a preset current threshold;

[0014] If not, then it is determined that the server receives a stable power supply;

[0015] If so, it is determined that the server is not receiving a stable power supply.

[0016] On the other hand, determining whether the server is receiving a stable power supply based on the output current includes:

[0017] Based on the output current, determine whether at least M of the N judgment conditions used to reflect the power supply status of the server are met.

[0018] If not, then it is determined that the server receives a stable power supply;

[0019] If so, it is determined that the server is not receiving a stable power supply;

[0020] Where M is a positive integer and N is a positive integer not less than 2.

[0021] On the other hand, the power output terminal of the power supply is connected to the server and K load devices respectively to supply power to the server and K load devices; the power supply terminal of the auxiliary power supply device is connected to the power output terminal of the power supply; the output current collected by the collector is the output current at the power output terminal of the power supply.

[0022] The N judgment conditions are divided into N1 first-type judgment conditions and N2 second-type judgment conditions; N1 and N2 are both positive integers and N1 + N2 = N;

[0023] Based on the output current, determine whether at least M of the N judgment conditions used to reflect the power supply status of the server are met, including:

[0024] Based on the output current, determine whether all N1 first-type determination conditions are met;

[0025] If none of the N1 first-type determination conditions are met, then it is determined that the server has a stable power supply.

[0026] If all N1 first-class decision conditions are true, then determine whether at least X of the N2 second-class decision conditions are true; X is a positive integer and X≤N2;

[0027] If at least X of the N2 second-type determination conditions are met, then it is determined that the server is not receiving a stable power supply.

[0028] If not at least X of the N2 second-type determination conditions are met, then it is determined that the server has a stable power supply.

[0029] Among them, N1 first-type determination conditions include: the output current exceeds a preset current threshold; N2 second-type determination conditions include: the power state of the server's graphics processor meets a preset high-power state.

[0030] On the other hand, it also includes:

[0031] After controlling the auxiliary power supply device to be in a discharging state, if the server does not receive a stable power supply for a first duration, the power consumption of the server is limited.

[0032] After confirming that the server has a stable power supply, the power consumption limit of the server is lifted.

[0033] On the other hand, power consumption is limited for the server, including:

[0034] Limit the operating frequency of a specified central processing unit and / or a specified graphics processing unit in the server.

[0035] On the other hand, the auxiliary power supply device includes an energy storage unit for energy storage, and a conversion unit connected to the energy storage unit for converting direct current to alternating current; the energy storage unit includes a single capacitor or multiple capacitors connected in parallel, and the energy storage unit is connected to the uninterruptible power supply device of the server.

[0036] The power supply protection method for the server also includes:

[0037] When the terminal voltage of the energy storage unit is detected to be lower than the set charging voltage threshold and the energy storage unit is not in a discharging state, the uninterruptible power supply device of the server is controlled to charge the energy storage unit.

[0038] Secondly, the present invention provides a power supply protection device for a server, comprising:

[0039] Memory, used to store computer programs;

[0040] A processor for executing the computer program to implement the steps of the power supply protection method for the server as described above.

[0041] Thirdly, the present invention provides a power supply protection system for a server, comprising: a data collector, an auxiliary power supply device, and a power supply protection device for the server as described above.

[0042] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the power supply protection method for a server as described above.

[0043] Applying the technical solution provided in this invention, considering that the dynamic current characteristics of the GPU cause the server to be unable to receive a stable power supply, this will be reflected in the output current of the server's power supply, thus causing grid-side current fluctuations. Therefore, in this application, the controller is connected to both the data acquisition unit and the auxiliary power supply device. The data acquisition unit collects the output current of the server's power supply and sends it to the controller. The controller can then determine whether the server is receiving a stable power supply based on the output current. If it is determined that the server is not receiving a stable power supply, it indicates that the dynamic current characteristics of the GPU may be causing grid fluctuations. In this case, this application considers that the auxiliary power supply device can be controlled to discharge, allowing the auxiliary power supply device and the power supply to jointly supply power to the server. That is, by discharging the auxiliary power supply device, the overshoot of the power supply's output current can be compensated, thereby ensuring the stability of grid harmonics, current, and voltage, playing a role in peak shaving and valley filling, and thus helping to ensure a stable power supply to the server. Subsequently, after determining that the server has received a stable power supply, the auxiliary power supply device can be controlled to stop supplying power.

[0044] Furthermore, considering the limited layout space inside the server, the controller, data collector, and auxiliary power supply required by this application are all arranged in the first position outside the server chassis, so as not to be affected by the layout space of the server motherboard.

[0045] In summary, the proposed solution can effectively address the current characteristics of GPUs, achieve power supply protection for servers, ensure the stability of the power grid, and is not affected by the layout space of the server motherboard. Attached Figure Description

[0046] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 A flowchart illustrating the implementation of a server power supply protection method according to a specific embodiment of the present invention.

[0048] Figure 2 A schematic diagram of the power supply protection system for a server provided according to a specific embodiment of the present invention;

[0049] Figure 3 A schematic diagram of the power supply protection system for a server provided in another specific embodiment of the present invention;

[0050] Figure 4 A schematic diagram of the power supply protection device for a server provided in a specific embodiment of the present invention;

[0051] Figure 5 This is a schematic diagram of the structure of a computer-readable storage medium according to the present invention. Detailed Implementation

[0052] The core of this invention is to provide a power supply protection method, system, device, and storage medium for servers, which can effectively cope with the current characteristics of GPUs, realize power supply protection for servers, ensure the stability of the power grid, and is not affected by the layout space of the server motherboard.

[0053] To enable those skilled in the art to better understand the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0054] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating an implementation of a server power supply protection method according to a specific embodiment of the present invention. This server power supply protection method can be applied to controller 10. (See attached document for details.) Figure 2 This is a schematic diagram of a server power supply protection system according to the present invention, including a data collector 20, an auxiliary power supply device 30, and a power supply protection device, which can be specifically implemented by a controller 10. The controller 10 is connected to both the data collector 20 and the auxiliary power supply device 30, and the controller 10, data collector 20, and auxiliary power supply device 30 are all arranged at a first location outside the server casing. The power supply protection method for this server may include the following steps:

[0055] Step S101: Receive the output current of the server's power supply collected by the collector.

[0056] The power supply can power the server. Its specific structure can be configured and adjusted according to actual needs. For example, in practical applications, the power supply can be implemented using a PDU (Power Distribution Unit), which can provide multiple ports to connect multiple loads simultaneously and power each connected load. The power supply can be a DC source providing direct current or an AC source providing alternating current; typically, an AC source is used.

[0057] Servers typically have multiple PSUs (Power Supply Units) connected in parallel. Different PSUs can output different voltages to meet the power supply requirements of the corresponding loads in the server, for example... Figure 2 The image shows PSU-0 to PSU-n in the server.

[0058] In this application, the collector 20 collects the output current of the server's power supply, that is, the collector 20 collects the operating current of the power supply. There are various specific collection methods, which can be set according to actual needs. For example, the output current of the power supply can be collected by setting a sampling resistor, or the output current of the power supply can be collected by a non-contact sensor, etc.

[0059] The data collector 20 can send the collected output current of the server's power supply to the controller 10.

[0060] Step S102: Based on the output current, determine whether the server is receiving a stable power supply. If not, proceed to step S103.

[0061] This application takes into account that whether the server is receiving a stable power supply can be reflected to some extent by the output current of the power supply. Therefore, the controller 10 needs to determine whether the server is receiving a stable power supply based on the output current of the power supply. Of course, the specific judgment rules can be set and adjusted according to actual needs, as long as they can accurately and effectively determine whether the server is receiving a stable power supply.

[0062] Step S103: Control the auxiliary power supply device to discharge state so that the auxiliary power supply device and the power supply can jointly supply power to the server, and after confirming that the server has a stable power supply, control the auxiliary power supply device to stop supplying power.

[0063] If the server is determined to have a stable power supply, the controller 10 does not need to perform any additional operations. Conversely, if the server is determined to have an unstable power supply, the controller 10 needs to control the auxiliary power supply device 30 to a discharge state, so that the auxiliary power supply device 30 and the power supply can jointly supply power to the server. In other words, at this time, the discharge of the auxiliary power supply device 30 is needed to compensate for the overshoot of the output current of the power supply, which helps to ensure the stability of the power grid's harmonics, current, and voltage, and plays a role in peak shaving and valley filling, thus helping to ensure that the server receives a stable power supply.

[0064] Once the server is confirmed to have a stable power supply based on the output current of the power supply, the auxiliary power supply device 30 can be controlled to stop supplying power.

[0065] The specific structure of the auxiliary power supply device 30 can be set and adjusted as needed to meet the functional requirements of this application. For example, a battery and a switch can be used as the auxiliary power supply device 30 of this application. The controller 10 determines whether the battery will assist the power supply in supplying power to the server by controlling the on and off of the switch.

[0066] Furthermore, it is understood that the auxiliary power supply device 30 of this application should be able to assist the power supply to supply power to the server when the server does not receive a stable power supply. Therefore, when the server receives a stable power supply and the auxiliary power supply device 30 stops supplying power, if the power in the auxiliary power supply device 30 is low, it can be charged. For example, the auxiliary power supply device 30 can be charged by mains power at this time.

[0067] In one specific embodiment of the present invention, the auxiliary power supply device 30 includes an energy storage unit for energy storage and a conversion unit connected to the energy storage unit for converting direct current to alternating current; the energy storage unit includes a single capacitor or multiple capacitors connected in parallel, and the energy storage unit is connected to the uninterruptible power supply device of the server.

[0068] Correspondingly, server power supply protection methods also include:

[0069] When the terminal voltage of the energy storage unit is detected to be lower than the set charging voltage threshold and the energy storage unit is not in a discharging state, the uninterruptible power supply of the control server charges the energy storage unit.

[0070] This implementation takes into account that there can be various specific implementations of the auxiliary power supply device 30. However, in practical applications, when the server does not receive a stable power supply, the grid current, i.e. the output current of the power supply, may fluctuate rapidly, which makes the timeliness of the power supply of the auxiliary power supply device 30 very important. Therefore, in this implementation, the energy storage unit in the auxiliary power supply device 30 is based on capacitors, i.e., the energy storage unit includes a single capacitor or multiple capacitors connected in parallel. These capacitors are usually large capacitors to store enough electrical energy.

[0071] In this embodiment, the energy storage unit can provide direct current (DC). However, considering that the grid side typically uses alternating current (AC), this embodiment also includes a conversion unit connected to the energy storage unit to convert DC to AC, i.e., a DC-AC conversion unit, enabling the auxiliary power supply device 30 in this embodiment to output AC. Figure 3 This design adopts this implementation method. The auxiliary power supply device 30 includes an energy storage unit and a conversion unit. When the auxiliary power supply device 30 needs to assist the power supply to jointly supply power to the server, the controller 10 can control the energy storage unit. For example, by controlling the relevant switches in the energy storage unit to turn on, the auxiliary power supply device 30 can assist the power supply to jointly supply power to the server. Of course, in other cases, the controller 10 can also choose to control the corresponding switches in the conversion unit, so that the auxiliary power supply device 30 switches from a non-discharge state to a discharge state.

[0072] In this embodiment, the controller 10 also detects the terminal voltage of the energy storage unit. When the terminal voltage of the energy storage unit is detected to be lower than the set charging voltage threshold, it indicates that the remaining power of the energy storage unit is insufficient. Since the energy storage unit is not in a discharging state, it can be charged to replenish its power. Specifically, in this embodiment, the energy storage unit is connected to the server's UPS (Uninterruptible Power Supply), and the server's UPS is controlled to charge the energy storage unit. This is because servers typically have UPS systems, and charging the energy storage unit through the UPS does not incur additional hardware costs.

[0073] When setting the charging voltage threshold, a simple way is to directly write a fixed value into the program of controller 10.

[0074] Furthermore, in one specific embodiment of the present invention, the charging voltage threshold is a charging voltage threshold determined based on the server's rated power, and the charging voltage threshold is positively correlated with the server's rated power. This embodiment takes into account that when using an energy storage unit to assist the power supply in powering the server, it is necessary to use the energy storage unit to compensate for the power supply's operating current overshoot. For energy storage units based on large capacitors, this compensation capability is affected by the remaining charge of the energy storage unit. In other words, if the server's power requirement suddenly increases due to factors such as a sudden increase in GPU power, the energy storage unit's current charge may be low. Even if the energy storage unit assists the power supply in powering the server, it may not achieve a good effect, and the power supply's output current may still fluctuate to some extent. Therefore, in this embodiment, setting the charging voltage threshold according to the server's rated power allows the energy storage unit's charge to be maintained at a more suitable level.

[0075] In addition, some configurations set the charging voltage threshold to the terminal voltage of the energy storage unit when it is fully charged, or a value close to it. This approach is less likely to encounter situations where the energy storage unit's current charge is low, because after each use of the energy storage unit to assist the power supply in powering the server, the energy storage unit is immediately recharged when it switches to an undischarged state. However, this configuration leads to excessively frequent charging and discharging, which is detrimental to the lifespan of the energy storage unit. The implementation method described above, which sets the charging voltage threshold according to the server's rated power, maintains the energy storage unit's charge at a suitable level, preventing situations where the energy storage unit's charge is too low, thus avoiding insufficient current replenishment, and also preventing excessively frequent charging and discharging that could damage the energy storage unit's lifespan. Furthermore, in some cases, changes in business operations may cause changes in the server's rated power. Since the charging voltage threshold is set according to the server's rated power, it can be adaptively adjusted to the changed rated power to a value suitable for the current situation, offering high flexibility.

[0076] In one specific embodiment of the present invention, step S102 may specifically include:

[0077] Determine whether the output current exceeds the preset current threshold;

[0078] If not, then ensure the server receives a stable power supply;

[0079] If so, it indicates that the server is not receiving a stable power supply.

[0080] This implementation takes into account that, when determining whether the server is receiving a stable power supply based on the output current, the simplest and most convenient way is to directly determine whether the output current exceeds a preset current threshold. If it does not exceed the preset current threshold, it can be determined that the server is receiving a stable power supply. Conversely, if it exceeds the preset current threshold, it can be determined that the server is not receiving a stable power supply, and it is necessary to use the auxiliary power supply device 30 to assist the power supply to supply power to the server in order to reduce the fluctuation of the network-side current.

[0081] In one specific embodiment of the present invention, step S102 may specifically include:

[0082] Based on the output current, determine whether at least M of the N judgment conditions used to reflect the power supply status of the server are true.

[0083] If not, then ensure the server receives a stable power supply;

[0084] If so, it indicates that the server is not receiving a stable power supply;

[0085] Where M is a positive integer and N is a positive integer not less than 2.

[0086] This implementation takes into account that, due to noise interference and other reasons, the output current may exceed the preset current threshold for a very short time and then immediately return to normal. If it is directly determined that the server is not receiving a stable power supply, and the auxiliary power supply device 30 is used to assist the power supply to supply power to the server to reduce network-side current fluctuations, it will increase the number of charge-discharge cycles of the auxiliary power supply device 30, which is not conducive to ensuring the service life of the auxiliary power supply device 30. In addition, in some cases, when the output current of the power supply fluctuates for a short period of time, the PSU and other devices in the server have a certain ability to ensure voltage and current stability. That is, short-term current fluctuations on the network side may not always affect the load in the server. In this regard, this implementation takes into account that N judgment conditions can be set to reflect the power supply status of the server, where N is a positive integer not less than 2. If at least M of the N judgment conditions are met, it will be determined that the server is not receiving a stable power supply. This helps to reduce the probability of false triggering and also helps to ensure the service life of the auxiliary power supply device 30. M is a positive integer, and is usually set to a value greater than or equal to 2. Of course, in specific situations, the specific value of M, the specific number and content of N judgment conditions can all be set and adjusted as needed, so as to conveniently and accurately determine whether the server is currently receiving a stable power supply.

[0087] In one specific embodiment of the present invention, the power output terminal of the power supply is connected to the server and K load devices respectively to supply power to the server and K load devices; the power supply terminal of the auxiliary power supply device 30 is connected to the power output terminal of the power supply; the output current collected by the collector 20 is the output current at the power output terminal of the power supply.

[0088] The N decision conditions are divided into N1 first-type decision conditions and N2 second-type decision conditions; N1 and N2 are both positive integers and N1 + N2 = N;

[0089] Based on the output current, determine whether at least M of the N criteria used to reflect the power supply status of the server are true, including:

[0090] Based on the output current, determine whether all N1 first-type judgment conditions are met;

[0091] If none of the N1 first-type judgment conditions are met, then it is determined that the server has received a stable power supply.

[0092] If all N1 first-class decision conditions are true, then determine whether at least X of the N2 second-class decision conditions are true; X is a positive integer and X≤N2;

[0093] If at least X of the N2 second-type decision conditions are true, then it is determined that the server is not receiving a stable power supply.

[0094] If not at least X of the N2 second-type decision conditions are true, then the server is determined to have a stable power supply.

[0095] Among them, N1 first-class judgment conditions include: the output current exceeds the preset current threshold; N2 second-class judgment conditions include: the power state of the server's graphics processor meets the preset high power state.

[0096] This implementation takes into account that N judgment conditions are set to reflect the power supply status of the server. Although different judgment conditions can all directly or indirectly reflect the power supply status of the server, the importance of different judgment conditions may vary. That is to say, if the server does not receive a stable power supply, some judgment conditions are more likely to be true, and these judgment conditions are more important and will be classified into the first type of judgment conditions. Correspondingly, if the server does not receive a stable power supply, some judgment conditions may only be true sometimes, but the probability of them being true is not particularly high, and these judgment conditions will be classified into the second type of judgment conditions.

[0097] In this implementation, in order to accurately and effectively determine whether the server is currently receiving a stable power supply, it is necessary to determine whether all N1 first-type determination conditions are met. If one or more of the N1 first-type determination conditions are not met, it will be directly determined that the server is receiving a stable power supply, so as to reduce the probability of false triggering and ensure the service life of the auxiliary power supply device 30.

[0098] Only after all N1 first-type conditions are met will the system proceed to check if at least X of the N2 second-type conditions are met. If at least X of the N2 second-type conditions are met, it will be determined that the server is not receiving stable power; otherwise, it will be determined that the server is receiving stable power.

[0099] Furthermore, in this embodiment, considering that the output current of the power supply exceeding the preset current threshold is a very important reference standard, especially for embodiments where the power supply powers multiple loads simultaneously, the output current of the power supply will usually exceed the preset current threshold when the server is not receiving a stable power supply. Therefore, at least one of the N1 first-type determination conditions should be included: the output current exceeds the preset current threshold. In other embodiments, other important reference standards can be added to the first-type determination conditions based on practical experience. For example, the N1 first-type determination conditions should also include: the duration for which the output current exceeds the preset current threshold is longer than the minimum duration.

[0100] Furthermore, this implementation takes into account that the server's lack of stable power supply is often caused by the dynamic current of the GPU. Therefore, among the N2 second-type determination conditions, it can include: the power state of the server's graphics processor meets the preset high power state. This second-type determination condition is an effective indirect reflection of whether the server has a stable power supply. In other implementations, other reference standards can be added to the second-type determination conditions based on actual experience.

[0101] It should also be noted that this implementation takes into account that, in practical applications, the power supply can power not only a single server, but also other load devices besides the server. Therefore, please refer to [reference needed]. Figure 3 In this embodiment, the power output terminal of the power supply is connected to the server and K load devices respectively, thereby supporting the power supply to the server and K load devices. Since the auxiliary power supply device 30 needs to be able to assist the power supply in providing power, it can be understood that in this embodiment, the power supply terminal of the auxiliary power supply device 30 can be specifically connected to the power output terminal of the power supply. Similarly, the output current collected by the collector 20 is the output current at the power output terminal of the power supply. Figure 3The specific type of load device shown in the embodiments can be a server or other types of load devices, and does not affect the implementation of the present invention.

[0102] In one specific embodiment of the present invention, it may further include:

[0103] After the auxiliary power supply device 30 is in a discharging state, if the server does not receive a stable power supply for the first duration, the power consumption of the server will be limited.

[0104] Once it is confirmed that the server is receiving a stable power supply, the power consumption limit on the server is lifted.

[0105] This implementation further considers that in some cases, due to a sudden increase in server power, the server may still be in a state of unstable power supply even after the controller 10 controls the auxiliary power supply device 30 to discharge, and the output current of the power supply may still exceed the preset current threshold. In this case, this implementation considers that if the server is not receiving a stable power supply for the first duration, power consumption can be limited to ensure server operational reliability and prevent failures. Accordingly, once it is determined that the server has received a stable power supply, the power consumption limit can be lifted.

[0106] There are several ways to limit the power consumption of a server. For example, in one scenario, considering that the CPU and GPU are the main power-consuming components, the operating frequency of a specific central processing unit and / or a specific graphics processing unit in the server can be limited to achieve the power consumption limit of the server.

[0107] Applying the technical solution provided in this embodiment of the invention, considering that the dynamic current characteristics of the GPU may cause the server to be unable to receive a stable power supply, this will be reflected in the output current of the server's power supply, thus causing fluctuations in the grid-side current. Therefore, in this application, the controller 10 is connected to the data acquisition unit 20 and the auxiliary power supply device 30 respectively. The data acquisition unit 20 collects the output current of the server's power supply and sends it to the controller 10. The controller 10 can then determine whether the server is receiving a stable power supply based on the output current. If it is determined that the server is not receiving a stable power supply, it indicates that the dynamic current characteristics of the GPU may be causing grid fluctuations. In this case, this application considers that the auxiliary power supply device 30 can be controlled to discharge, so that the auxiliary power supply device 30 and the power supply jointly supply power to the server. That is, through the discharge of the auxiliary power supply device 30, the overshoot of the power supply's output current can be compensated, thereby ensuring the stability of the grid's harmonics, current, and voltage, playing a role in peak shaving and valley filling, and thus helping to ensure that the server receives a stable power supply. Subsequently, after it is determined that the server receives a stable power supply, the auxiliary power supply device 30 can be controlled to stop supplying power.

[0108] Furthermore, considering the limited layout space inside the server, the controller 10, collector 20, and auxiliary power supply device 30 required by this application are all arranged in the first position outside the server chassis, so as not to be affected by the layout space of the server motherboard.

[0109] In summary, the proposed solution can effectively address the current characteristics of GPUs, achieve power supply protection for servers, ensure the stability of the power grid, and is not affected by the layout space of the server motherboard.

[0110] Corresponding to the above method embodiments, this invention also provides a power supply protection device for a server, see [link to relevant documentation]. Figure 4 As shown, the device may include:

[0111] Memory 401 is used to store computer programs;

[0112] Processor 402 is configured to execute a computer program to implement the steps of the power supply protection method for the server as described in any of the above embodiments.

[0113] This invention also provides a power supply protection system for a server, a computer-readable storage medium, and a computer program product, which can be referred to in correspondence with the above.

[0114] See also Figure 2 The power supply protection system of the server may include: collector 20, auxiliary power supply device 30 and the power supply protection device of the server mentioned above. The power supply protection device of the server may be implemented by controller 10.

[0115] The computer program product includes a computer program / instructions that, when executed by a processor, implement the steps of the power supply protection method for the server as described in any of the above embodiments.

[0116] See also Figure 5 The computer-readable storage medium 50 stores a computer program 51, which, when executed by a processor, implements the steps of the power supply protection method for the server as described in any of the above embodiments. The computer-readable storage medium 50 referred to herein includes RAM (Random Access Memory), main memory, ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), registers, hard disks, removable disks, or any other form of storage medium known in the art.

[0117] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0118] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention. Specific examples have been used herein to illustrate the principles and implementation methods of the invention; the description of the above embodiments is only for the purpose of helping to understand the technical solution and core ideas of the invention. It should be noted that those skilled in the art can make several improvements and modifications to the invention without departing from the principles of the invention, and these improvements and modifications also fall within the protection scope of the invention.

Claims

1. A power supply protection method for a server, characterized in that, The system is applied to a controller, which is connected to a data collector and an auxiliary power supply device, respectively. The controller, the data collector, and the auxiliary power supply device are all located at a first position outside the server chassis. The power supply protection method for the server includes: Receives the output current of the server's power supply collected by the collector; Based on the output current, determine whether the server is receiving a stable power supply; If not, the auxiliary power supply device is controlled to be in a discharging state so that the auxiliary power supply device and the power supply jointly supply power to the server, and after it is determined that the server has a stable power supply, the auxiliary power supply device is controlled to stop supplying power. Based on the output current, determining whether the server is receiving a stable power supply includes: Based on the output current, determine whether at least M of the N judgment conditions used to reflect the power supply status of the server are met. If not, then it is determined that the server receives a stable power supply; If so, it is determined that the server is not receiving a stable power supply; Where M is a positive integer and N is a positive integer not less than 2; The power output terminal of the power supply is connected to the server and K load devices respectively to supply power to the server and K load devices; the power supply terminal of the auxiliary power supply device is connected to the power output terminal of the power supply; the output current collected by the collector is the output current at the power output terminal of the power supply. The N judgment conditions are divided into N1 first-type judgment conditions and N2 second-type judgment conditions; N1 and N2 are both positive integers and N1 + N2 = N; Based on the output current, determine whether at least M of the N judgment conditions used to reflect the power supply status of the server are met, including: Based on the output current, determine whether all N1 first-type determination conditions are met; If none of the N1 first-type determination conditions are met, then it is determined that the server has a stable power supply. If all N1 first-class decision conditions are true, then determine whether at least X of the N2 second-class decision conditions are true; X is a positive integer and X≤N2; If at least X of the N2 second-type determination conditions are met, then it is determined that the server is not receiving a stable power supply. If not at least X of the N2 second-type determination conditions are met, then it is determined that the server has a stable power supply. Among them, the N1 first-class determination conditions include: the output current exceeds a preset current threshold; the duration of the output current exceeding the preset current threshold is longer than the minimum duration; the N2 second-class determination conditions include: the power state of the server's graphics processor conforms to a preset high-power state.

2. The power supply protection method for a server according to claim 1, characterized in that, Based on the output current, determining whether the server is receiving a stable power supply includes: Determine whether the output current exceeds a preset current threshold; If not, then it is determined that the server receives a stable power supply; If so, it is determined that the server is not receiving a stable power supply.

3. The power supply protection method for a server according to claim 1, characterized in that, Also includes: After controlling the auxiliary power supply device to be in a discharging state, if the server does not receive a stable power supply for a first duration, the power consumption of the server is limited. After confirming that the server has a stable power supply, the power consumption limit of the server is lifted.

4. The power supply protection method for a server according to claim 3, characterized in that, Limiting the power consumption of the server includes: Limit the operating frequency of a specified central processing unit and / or a specified graphics processing unit in the server.

5. The power supply protection method for a server according to any one of claims 1 to 4, characterized in that, The auxiliary power supply device includes an energy storage unit for energy storage and a conversion unit connected to the energy storage unit for converting direct current to alternating current; the energy storage unit includes a single capacitor or multiple capacitors connected in parallel, and the energy storage unit is connected to the uninterruptible power supply device of the server. The power supply protection method for the server also includes: When the terminal voltage of the energy storage unit is detected to be lower than the set charging voltage threshold and the energy storage unit is not in a discharging state, the uninterruptible power supply device of the server is controlled to charge the energy storage unit.

6. A power supply protection device for a server, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the power supply protection method for the server as described in any one of claims 1 to 5.

7. A power supply protection system for a server, characterized in that, include: The data collector, the auxiliary power supply device, and the power supply protection device for the server as described in claim 6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the power supply protection method for the server as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Server power supply system and control method thereof

    CN108594980A

  • Whole cabinet server power supply control method and system, terminal and storage medium

    CN113885689A

  • Electrical energy conversion circuit system and uninterrupted power source

    CN206164191U

  • Power supply unit power level protection limits

    US20220317752A1