Power supply control method and server
By dynamically controlling the status of the server's power supply module and backup power module, ensuring that each power module operates at peak energy efficiency, solving the problem of the inability to maintain the output power in the highest conversion efficiency range in the prior art, and improving the energy saving of the server Effect.
Patent Information
- Application Number
- CN202411018184.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-12-03
AI Technical Summary
When the existing server turns on and off the power supply module according to the load condition, it cannot guarantee that the output power is within the highest conversion efficiency range, resulting in poor energy saving effect.
By obtaining the load power of the server, determining its working status, and controlling the number of power supply modules on and the working status of the backup power module according to the working status and the power status of the backup power module, so that the output power of each power supply module is maintained At peak energy efficiency power, ensure maximum power conversion efficiency.
It achieves better energy saving effects, avoids power waste when the power supply module is output at peak energy efficiency power, and ensures server operation stability and power utilization.
Smart Images

Figure CN119065479A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of server technology, and in particular to a power control method and a server. Background Art
[0002] A server usually includes multiple power supply units (PSUs) and a rack management controller (RMC). The RMC can monitor and manage multiple PSUs in the server.
[0003] In current servers, multiple PSUs in the server are usually turned on and off according to the current load of the server to reduce the overall power consumption of the server. In this case, it is impossible to ensure that the output power of the turned-on PSUs is maintained in the range corresponding to the highest conversion efficiency, and thus it is impossible to achieve better energy-saving effects. Summary of the invention
[0004] The embodiments of the present application provide a power control method and a server, which can improve the energy saving effect of the server.
[0005] In a first aspect, an embodiment of the present application provides a power control method, which is applied to a server, wherein the server includes a plurality of power supply modules and a backup power supply module; each of the power supply modules has an energy efficiency peak power, and the energy efficiency peak power is used to represent the output power of the power supply module at the maximum power conversion efficiency; the method includes:
[0006] Obtaining the load power of the server;
[0007] determining the working state of the server based on the load power; the working state of the server includes an overload state and a low load state, the overload state is used to indicate that the load power is greater than the first output power, and the low load state is used to indicate that the load power is lower than the first output power; the first output power is used to indicate the sum of the energy efficiency peak powers of the power supply modules turned on by the server;
[0008] According to the working status of the server and the power status of the backup power module, the number of the multiple power supply modules that are turned on and the working status of the backup power module are controlled, and the output power of the turned-on power supply modules is controlled to the energy efficiency peak power.
[0009] In an embodiment of the present application, different numbers of power supply modules turned on correspond to different first output powers. The working state of the server can be determined by comparing the load power of the server with the first output power, thereby judging whether the load power of the server is too high or too low. Further, in combination with the power state of the backup power module and the working state of the server, the number of power supply modules turned on in the server and the working state of the backup power module are controlled, and the output power of each turned-on power supply module is maintained at the energy efficiency peak power, so that each power supply module works at the maximum power conversion efficiency, and the total output power of the turned-on power supply modules can support the load power of the server, and there will be no waste of output power when the power supply module outputs at the energy efficiency peak power. The energy consumption of the server is low, and the energy saving effect is improved.
[0010] In a first possible implementation manner of the first aspect, the power state includes: a high power state and a low power state; the high power state is used to indicate that the backup power module is in a dischargeable state, and the low power state is used to indicate that the backup power module is in a state to be charged;
[0011] The controlling the number of the plurality of power supply modules turned on and the working state of the backup power supply module according to the working state of the server and the power state of the backup power supply module comprises:
[0012] When the working state of the server is the low-load state, controlling the number of the power supply modules to be turned on to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module;
[0013] When the working state of the server is the overload state, the number of the power supply modules turned on is controlled to increase or maintain according to the power state, and the working state of the backup power supply module is controlled.
[0014] In this implementation, the actual working status of the server and the power status of the backup power module can be combined, and the number of power supply modules turned on and the working status of the backup power modules can be controlled so that all turned-on power supply modules can operate at the energy efficiency peak power, and the output power of each power supply module is utilized, thereby maximizing the power conversion efficiency of each power supply module and improving the energy saving effect of the server.
[0015] In a second possible implementation manner of the first aspect, when the working state is the low-load state, controlling the number of turned-on power supply modules to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module, includes:
[0016] When the power state is the high power state, controlling the number of power supply modules turned on to be reduced to a first power supply turned on number, and controlling the output power of the power supply modules under the first power supply turned on number to be the energy efficiency peak power;
[0017] Determining a first output power of the server when the first power supply is turned on according to the first power supply turned on number;
[0018] Based on the first output power and the load power under the first power-on number, the working state of the backup power module is controlled to be a discharging state for discharging.
[0019] In this implementation, when the power state of the backup power module is in a high power state and the working state of the server is in a low load state, the number of power supply modules turned on can be reduced to the first power on number, so that the current first output power of the server (the first output power under the first power on number) is slightly less than the load power of the server. The power state of the backup power module is in a high power state, that is, the backup power module is in a dischargeable state, so the working state of the backup power module is controlled to a discharge state. In this case, the backup power module can supply power to the load to compensate for the part of the first output power under the first power on number that is slightly less than the load power. In this way, the output power of each turned-on power supply module is maintained at the energy efficiency peak power and there is no power waste, thereby avoiding the situation where the power supply module has excess power or the power supply module has insufficient power supply, while ensuring the stability of the server operation, the energy saving effect of the server is improved.
[0020] In a third possible implementation manner of the first aspect, when the working state is the low-load state, controlling the number of turned-on power supply modules to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module, includes:
[0021] When the power state is the low power state, controlling the number of power supply modules turned on to be reduced to a second power supply turned on number, and controlling the output power of the power supply modules under the second power supply turned on number to be the energy efficiency peak power;
[0022] Determining a first output power of the server when the second power supply is turned on according to the second power supply turned on number;
[0023] Based on the first output power and the load power under the second power-on number, the power supply module is controlled to charge the backup power module, so that the working state of the backup power module is a charging state.
[0024] In this implementation, when the power state of the backup power module is a low power state and the working state of the server is a low load state, since the working state of the server is a low load state, the first output power of the server is greater than the load power of the server, and the number of power supply modules turned on can be reduced to the second power supply turned on number, so that the first output power under the second power supply turned on number is slightly greater than the load power of the server. The power state of the backup power module is in a low power state, that is, the backup power module is in a state to be charged, so the working state of the backup power module is controlled to a charging state. In this case, the part of the first output power under the second power supply turned on number that is greater than the server load power is used in the charging process of the backup power module, so that when each power supply module is ensured to be able to operate at the energy efficiency peak power, there will be no excess power, which improves the energy saving effect of the server. In this way, when the first output power of the server is much greater than the load power of the server, even if the power supply module is controlled to be used for charging the backup power module, there will still be a certain amount of power waste.
[0025] In a fourth possible implementation manner of the first aspect, when the working state is the low-load state, controlling the number of turned-on power supply modules to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module, includes:
[0026] When the power state is the low power state, controlling the number of power supply modules to be turned on to maintain;
[0027] Based on the first output power and the load power, the power supply module is controlled to charge the backup power module, so that the working state of the backup power module is a charging state.
[0028] In this implementation, when the working state of the server is a low-load state and the power state of the backup power module is a low-power state, the number of power supply modules that are turned on is maintained, and the turned-on power supply modules are controlled to charge the backup power module. Since the first output power of the server is slightly greater than the load power of the server, by controlling the power supply module to charge the backup power module, the output power of the surplus power supply module in the server can be used to charge the backup power module, avoiding the situation of excess power. In this way, it can be ensured that each power supply module can operate at the peak power of energy efficiency, and there will be no excess power, thereby improving the energy saving effect of the server.
[0029] In a fifth possible implementation manner of the first aspect, when the working state of the server is the overload state, controlling the number of turned-on power supply modules to increase or maintain according to the power state, and controlling the working state of the backup power supply module, includes:
[0030] When the power state is the low power state, controlling the number of power supply modules turned on to increase to a third power supply turned on number, and controlling the output power of the power supply modules under the third power supply turned on number to the energy efficiency peak power;
[0031] Determining, according to the third power-on number, a first output power of the server when the third power-on number is on;
[0032] Based on the first output power and the load power under the third power-on number, the power supply module is controlled to charge the backup power module, so that the working state of the backup power module is a charging state.
[0033] In this implementation, when the server is in an overload state and the power state of the backup power module is in a low power state, since the backup power module is in a waiting state and the server is in an overload state, the first output power of the server is less than the load power of the server, and the total power of the power supply module at the energy efficiency peak power cannot cover the load power of the server. Therefore, it is necessary to increase the number of power supply modules turned on to the third power supply turned on number, so that the first output power of the server at the third power supply turned on number is slightly greater than the load power of the server, so that the surplus output power in the server can be used to charge the backup power module, thereby charging the backup power module. In this way, the output power of each power supply module can be controlled at the energy efficiency peak power, so that the backup power module can be charged and power support can be provided to the server at the same time while ensuring that the power supply module has no excess power and maintains the energy efficiency peak power, thereby improving the energy saving effect of the server.
[0034] In a sixth possible implementation manner of the first aspect, when the working state of the server is the overload state, controlling the number of turned-on power supply modules to increase or maintain according to the power state, and controlling the working state of the backup power supply module, includes:
[0035] When the power state is the high power state, controlling the number of power supply modules turned on to increase to a fourth power supply turned on number, and controlling the output power of the power supply modules under the fourth power supply turned on number to the energy efficiency peak power;
[0036] Determining, according to the fourth power-on number, a first output power of the server when the fourth power-on number is on;
[0037] Based on the first output power and the load power under the fourth power-on number, the working state of the backup power module is controlled to be a discharging state for discharging.
[0038] In this implementation, when the working state of the server is an overload state and the power state of the backup power module is a high power state, since the power state of the backup power module is a high power state, the backup power module can be controlled to provide the load that the server lacks. Since the load power of the server is much greater than the first output power of the server, the discharge power of the backup power module and the first output power of the server may still not cover the load power of the server. Therefore, the number of power supply modules turned on is controlled to increase to the fourth power supply turned on number, so that the first output power under the fourth power supply turned on number is slightly less than the load power of the server. In this way, the working state of the backup power module is controlled to be a discharge state, and the load power of the server is compensated by the discharge of the backup power module, so that the energy saving effect of the server can be maximized.
[0039] In a seventh possible implementation manner of the first aspect, when the working state of the server is the overload state, controlling the number of turned-on power supply modules to increase or maintain according to the power state, and controlling the working state of the backup power supply module, includes:
[0040] When the power state is the high power state, controlling the number of power supply modules to be turned on to maintain;
[0041] Based on the first output power and the load power, the working state of the backup power module is controlled to be a discharging state for discharging.
[0042] In this implementation, when the server's working state is overloaded and the power state of the backup power module is high, since the load power of the server is close to the first output power of the server, the output power of the backup power module during discharge and the first output power of the server can effectively support the load power of the server. At this time, the number of power modules turned on is maintained, and only the backup power module is controlled to discharge to maximize the energy saving effect of the server.
[0043] In an eighth possible implementation manner of the first aspect, the method further includes:
[0044] When the rising speed of the load power is greater than a preset speed threshold, the load power is supplemented according to the power state and available output power of the backup power module.
[0045] In this implementation, the load power of the server needs to be continuously monitored. When the increase rate of the server load power is greater than the preset speed threshold, the load power is supplemented according to the actual power status of the backup power module and the available output power of the backup power module. By combining the power status and available output power of the backup power module to supplement the load power of the server, when the server load power increases rapidly, the load power can be supplemented in time according to the situation of the backup power module, thereby ensuring that the backup power module completes the load power supplement by discharging at the most appropriate time, thereby improving the effectiveness and utilization of the backup power module.
[0046] In a ninth possible implementation manner of the first aspect, the performing load power supplement according to the power status and available output power of the backup power module includes:
[0047] When the power state of the backup power module is a high power state, determining a power difference value according to the available output power of the backup power module and the first output power and the load power of the server;
[0048] When the available output power of the backup power module is greater than the power difference, the load power is supplemented by the backup power module.
[0049] In a tenth possible implementation manner of the first aspect, the performing load power supplementation according to the power status and available output power of the backup power module further includes:
[0050] When the available output power of the backup power module is less than the power difference, the output power of the power supply module is adjusted to the rated power of the power supply module to supplement the load power.
[0051] In this implementation, when the backup power module is in a high power state, by calculating the available output power of the backup power module, it is considered whether the backup power module has the ability to supplement the load power, which can ensure the stability of power supply when the load power is supplied by the backup power module, and avoid the problem that the available output power of the backup power module is too small, resulting in its inability to stably provide supplementary power. When the available output power of the backup power module meets the conditions, it is controlled to discharge to complete the load power supplement, thereby ensuring the operation stability of the server.
[0052] In the eleventh possible implementation method of the first aspect, when the power state of the backup power supply module is the low power state, the output power of the power supply module is adjusted to the rated output power of the power supply module to supplement the load power, and the low power state is used to indicate that the backup power supply module is in a state to be charged.
[0053] In this implementation, when the power state of the backup power module is low, it indicates that the backup power module does not have enough power reserve to supplement the load power. Even if the available output power in the backup power module meets the conditions, the low power reserve of the backup power module will cause the problem of supply interruption when supplementing the load power. Therefore, when the power state of the backup power module is low, the output power of the turned-on power supply module is adjusted to the rated power to quickly supplement the load power for the server, thereby ensuring the operational stability of the server.
[0054] In a second aspect, an embodiment of the present application provides a power supply control system, which is applied to a server, wherein the server includes a plurality of power supply modules and a backup power supply module; each of the power supply modules has an energy efficiency peak power, and the energy efficiency peak power is used to represent the output power of the power supply module at the maximum power conversion efficiency; the system includes:
[0055] An acquisition module, used to acquire the load power of the server;
[0056] a determination module, configured to determine the working state of the server based on the load power; the working state of the server includes an overload state and a low load state, the overload state is used to indicate that the load power is greater than a first output power, and the low load state is used to indicate that the load power is lower than the first output power; the first output power is used to indicate the sum of the energy efficiency peak powers of the power supply modules turned on by the server;
[0057] A control module is used to control the number of the multiple power supply modules that are turned on and the working status of the backup power supply module according to the working status of the server and the power status of the backup power supply module, and control the output power of the turned-on power supply modules to the energy efficiency peak power.
[0058] In a possible implementation manner of the second aspect, the power control system may also be used to execute the steps in the first to eleventh possible implementation manners of the power control method introduced in the first aspect.
[0059] In a third aspect, an embodiment of the present application provides a server, the server comprising: a controller, and a memory communicatively connected to the controller;
[0060] The memory is used to store computer-executable instructions;
[0061] The controller is used to execute the computer-executable instructions stored in the memory to implement the power control method described in any embodiment / implementation of any of the aforementioned aspects.
[0062] In some examples, the controller may be a RMC. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0064] Figure 1 A schematic diagram of the structure of a server provided in an embodiment of the present application;
[0065] Figure 2 A flowchart of a power control method provided in an embodiment of the present application;
[0066] Figure 3 A flowchart of another power control method provided in an embodiment of the present application;
[0067] Figure 4 A flowchart of another power control method provided in an embodiment of the present application;
[0068] Figure 5 A flowchart of another power control method provided in an embodiment of the present application;
[0069] Figure 6 A flowchart of another power control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] It should be noted that the embodiments described in this application are only part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0071] In order to make the following embodiments clear, the technical terms involved in this application are first introduced.
[0072] Rack Management Controller (RMC) is a management system for data centers or server cabinets, designed to achieve centralized monitoring and management of equipment in the rack. In applications for whole-cabinet servers, RMC can centrally manage all equipment in the whole-cabinet server, including servers, storage devices, and network devices. It can monitor key parameters such as the operating status, temperature, power usage, and fan speed of equipment in the rack in real time. When an abnormal situation is found, it can send an alarm notification so that the administrator can take timely measures.
[0073] A power supply unit (PSU) is a component in electronic devices that converts external power (usually alternating current) into the direct current power required by the device.
[0074] A battery backup unit (BBU) is a device that provides power backup, usually used to provide temporary power support for critical systems and devices when the main power fails. The main function of a BBU is to ensure that critical devices can continue to operate when the power is interrupted, preventing data loss and system crashes.
[0075] The present application embodiment provides a server. Figure 1 As shown, the server may be a whole cabinet server. The server may include multiple PSUs, BBUs, and controllers electrically connected to each other. Exemplarily, the controller may be an RMC. The RMC may uniformly monitor and manage multiple PSUs and BBUs, thereby controlling the turning off and on of the PSUs and BBUs, and controlling the output power of the PSUs and BBUs.
[0076] A power control method provided in an embodiment of the present application will be described in detail below in conjunction with the accompanying drawings of specific embodiments.
[0077] The power control method provided in the embodiment of the present application can be applied to the RMC of the server. The server includes multiple power supply modules PSU and backup power modules BBU. Among them, each PSU is continuously supplied with electricity to ensure the normal operation of the server. As a backup power module in the server, the BBU is used to provide temporary power supply for the cache, storage controller and other key components in the server. When a power failure occurs in the server or the power supply is temporarily unable to supply power, the BBU can temporarily provide power to ensure the normal operation of the server.
[0078] In some examples, the energy efficiency peak power of each PSU in the server is the same, and the energy efficiency peak power of the PSU is used to represent the output power corresponding to the PSU at the maximum power conversion efficiency. It can be understood that in other possible implementations, the energy efficiency peak power of each PSU in the server may be different. Power conversion efficiency refers to the ratio between output power and input power in the process of PSU converting input power into output power. The power conversion efficiency of PSU is not a constant value, and it changes with the change of power output power. In actual scenarios, the power conversion efficiency is the highest in a specific power value range, and the specific power value range is often within the rated power range of the PSU itself. Exemplarily, when its own output power is within the range of about 45%-55% of the rated power, it has the maximum power conversion efficiency. When the output power of the PSU is higher than this range, its power conversion efficiency will decrease instead, resulting in unnecessary power loss. In some specific examples, when the output power of the PSU is about 50% of its rated power, it has the maximum power conversion efficiency.
[0079] The embodiment of the present application aims to control the output power of each turned-on PSU to an energy efficiency peak power corresponding to the maximum power conversion efficiency, so that the PSU has the highest power conversion efficiency, thereby maximizing the energy saving effect.
[0080] Next, the power control method provided by the embodiment of the present application will be described in detail in conjunction with the specific embodiment drawings. Figure 2 , which is a flow chart of a power control method provided in an embodiment of the present application, specifically comprising the following steps:
[0081] S101: Obtain the load power of the server.
[0082] Exemplarily, the load power of the server can be obtained through the hardware monitoring program of the server. The server often includes multiple power-consuming devices (such as CPU, memory, BMC, etc.) that occupy the load consumption. By driving the hardware monitoring program to monitor the power consumption parameters of multiple power-consuming devices, the load power of each power-consuming device is calculated based on the various power consumption parameters obtained, and the overall load power of the server can be determined. The embodiment of the present application does not specifically limit the method for obtaining the server load power.
[0083] S102: Determine the working state of the server based on the load power; the working state of the server includes an overload state and a low load state, the overload state is used to indicate that the load power is greater than the first output power, and the low load state is used to indicate that the load power is lower than the first output power; the first output power is used to indicate the sum of the energy efficiency peak powers of the power supply modules turned on the server.
[0084] In the process of determining the working status of the server, it can be determined based on the load power of the server and the current first output power of the server. The first output power represents the sum of the energy efficiency peaks of all the power supply modules turned on in the server. Under different numbers of turned-on power supplies, the first output power corresponding to the server will also be different.
[0085] Specifically, the number of currently enabled PSUs in the server is first determined to determine the first output power corresponding to the current number of enabled PSUs. Wherein, when the energy efficiency peak power of each PSU is the same, the first output power can be specifically the product of the energy efficiency peak power of the PSU and the number of enabled PSUs. The first output power is determined by the number of enabled power supply modules and the energy efficiency peak power, and the first output power that enables each power module to achieve the maximum power conversion efficiency under a specific number of enabled power supply modules can be determined.
[0086] Among them, it should be particularly noted that in actual application scenarios, since the output power of the PSU may have slight power fluctuations, the energy efficiency peak power of the PSU can be the power value range corresponding to its maximum power conversion efficiency. Similarly, the first output power mentioned above can be calculated by the average value of the energy efficiency peak power within the power fluctuation range, so as to flexibly represent the energy efficiency peak power corresponding to the maximum power conversion efficiency of the PSU, which is not specifically described in this embodiment. In addition, the number of PSUs turned on in the server can be obtained through a specific PSU turned on number script in the RMC, or through a specific query instruction.
[0087] Furthermore, after obtaining the first output power corresponding to the number of PSUs turned on, the load power of the server is compared with the first output power to determine the current working state of the server. The working state of the server is divided into an overload state and a low load state. When the server is in an overload state, the load power of the server is greater than the first output power, which means that the sum of the energy efficiency peak powers of all currently turned on PSUs cannot cover the load power of the server. When the server is in an underload state, the load power of the server is less than the first output power, which means that the sum of the energy efficiency peak powers of all currently turned on PSUs can completely cover the load power of the server and there is a power surplus. At this time, if all turned on PSUs output at the energy efficiency peak power, part of the output power will still be wasted, resulting in a waste of energy. Specific examples are given below:
[0088] For example, assuming that the number of PSUs turned on is 3 and the energy efficiency peak power of the PSU is 2000w; at this time, the first output power corresponding to the number of PSUs turned on is 3x2000w=6000w. When the load power of the server is 5000w, the load power is less than the first output power, and the working state of the server is a low-load state. When the load power of the server is 7000w, the load power is greater than the first output power, and the working state of the server is an overload state.
[0089] S103: According to the working state of the server and the power state of the backup power module, the number of the multiple power supply modules turned on and the working state of the backup power module are controlled, and the output power of the turned-on power supply modules is controlled to the energy efficiency peak power.
[0090] After determining the working state of the server, the working state of the BBU is controlled according to the specific power state of the BBU, such as whether the BBU is in a charging state or a discharging state, and determining whether to partially shut down a currently turned-on PSU or turn on a new PSU.
[0091] When the working state of the control BBU is in the discharge state, it means that the BBU can provide a part of the power supply at this time. At this time, the first output power of the server can be adjusted to be less than the load power of the server, and the BBU will cover the missing power. For example, it is also assumed that the number of PSUs turned on is 3, and the energy efficiency peak power of the PSU is 2000w. At this time, the first output power of the server is 6000w. When the load power of the server is 5000w, if the BBU supports discharge at this time, the number of PSUs turned on in the server can be adjusted to 2, and the corresponding first output power is 4000w. In this case, the remaining 1000w power can be supplemented by BBU discharge.
[0092] Similarly, when the BBU is in the charging state, it means that the BBU needs to be supplemented with electricity, so the first output power needs to be adjusted to be greater than the load power of the server, and the BBU is supplemented with electricity through the extra surplus output power. In this way, each PSU can be controlled to run at the energy efficiency peak power without extra power waste, thereby maximizing the energy saving effect when the RMC performs multiple power supply control. Taking the above example parameters as an example, the first output power of the server at this time is 6000w, which is greater than the load power of the server at 5000w. At this time, there is a power surplus, and the BBU needs to enter the charging state. At this time, the number of power supply modules that are turned on can be maintained, and the excess 1000w power can be used to supplement the BBU. In this way, the output power of each power supply module can be controlled at the energy efficiency peak power while avoiding excess power.
[0093] The embodiment of the present application can ensure that all PSUs turned on in the server can operate at energy-efficient peak power according to different power states of the BBU, and there will be no waste of output power.
[0094] Next, in conjunction with the drawings of specific embodiments, the control method of the number of PSUs turned on and the output power according to the working status of the server and the power status of the BBU in the above steps, as well as the control method for the working status of the BBU are introduced in detail.
[0095] It should be noted that in the power control method of the embodiment of the present application, the control of the PSU output power and the number of power-on, as well as the control of the BBU working state, need to be controlled based on the specific working state of the server and the power state of the BBU. Among them, the power state of the BBU includes a high power state and a low power state, and the division between the high power state and the low power state can be completed based on a pre-set percentage threshold of the stored power to complete the state division. The high power state is used to indicate that the backup power module is in a dischargeable state, and the low power state is used to indicate that the backup power module is in a state to be charged.
[0096] As can be seen from the above, the different working states of the BBU and the server will affect the control of the number of PSUs turned on in the server, among which the power state of the BBU plays a key factor. When the BBU is in a high power state, since there is a lot of electrical energy stored in the BBU at this time, if the BBU is charged, it is possible that the BBU is full and cannot be charged, which will still cause power waste. Therefore, in the embodiment of the present application, the power state of the BBU is limited. When the power state of the BBU is a high power state, the BBU is in a dischargeable state to control the BBU to discharge. When the power state of the BBU is a low power state, the BBU is in a state to be charged to control the BBU to charge, so as to ensure the full application of the PSU output power.
[0097] like Figure 3 As shown in the figure, this figure is a flow chart of another power control method provided in an embodiment of the present application, which specifically includes the following steps:
[0098] S201: When the working state of the server is a low-load state, the number of power supply modules turned on is controlled to be reduced or maintained according to the power state, and the working state of the backup power supply module is controlled.
[0099] When the server is in a low-load state, it is necessary to reduce or maintain the number of power supply modules that are turned on according to the different power states of the BBU, so that the output power of each PSU is controlled at the energy efficiency peak power and there is no excess output power of the power supply module. It is understandable that when the server is in a low-load state, the first output power of the server is greater than the actual load power of the server. At this time, the server is in a power surplus situation. In order to cope with the server power surplus situation, the corresponding control of the number of PSUs turned on must be reduced or maintained, and the number of power supply modules turned on will not increase.
[0100] S202: When the working state of the server is an overload state, the number of power supply modules turned on is controlled to increase or maintain according to the power state, and the working state of the backup power supply module is controlled.
[0101] When the server is in an overloaded state, it is also necessary to turn on or maintain the power supply module in combination with the different power states of the BBU to ensure maximum energy saving of the server.
[0102] This control method can combine the actual working status of the server and the power status of the BBU, and instantly control the number of power supply modules turned on and the working status of the backup power modules, so that all turned-on power supply modules can operate at the energy efficiency peak power, and the output power of each power supply module is used, maximizing the power conversion efficiency of each power supply module and improving the energy saving effect of the server.
[0103] Next, the control method of the PSU and BBU in the server will be specifically introduced through the accompanying drawings of specific embodiments when the working state of the PSU is a low load state:
[0104] See also Figure 4 , which is a flow chart of another power control method provided in an embodiment of the present application, specifically comprising the following steps:
[0105] S301: Determine the power status of the backup power module.
[0106] Under the premise of determining that the working state of the server is a low-load state, it is necessary to determine the power state of the BBU, so as to adopt different control methods according to the different power states of the BBU. If the power state of the BBU is determined to be a high power state, it means that the BBU can be adjusted to a discharge state to balance the first output power and load power of the server. When the power state of the BBU is a low power state, it means that the BBU needs to be adjusted to a charging state.
[0107] In some implementations, specifically, when it is determined in S301 that the power state of the backup power module is a high power state, S302 to S304 may be executed.
[0108] S302: Control the number of power supply modules turned on to decrease to a first power supply turned on number, and control the output power of the power supply modules under the first power supply turned on number to energy efficiency peak power.
[0109] When it is determined that the power state of the BBU is a high power state, the BBU is in a dischargeable state. At this time, the load power of the server can be covered by combining the discharge power of the BBU and the first output power of the server. Since the working state of the server is a low load state, the first output power of the server is greater than the load power of the server. At this time, the number of PSUs turned on is controlled to be reduced to the first power on number. In this way, when the server is in the first power on number, the first output power of the server is slightly less than the load power of the server.
[0110] S303: Determine a first output power of the server when the first power-on number is set according to the first power-on number.
[0111] The first output power of the server under the first number of powered-on power supplies can be determined through the energy efficiency peak power of each PSU and the first number of powered-on power supplies.
[0112] S304: Based on the first output power and the load power under the first power-on number, control the working state of the backup power supply module to be a discharging state for discharging.
[0113] According to the first output power and load power of the server when the first power supply is turned on, the power that the BBU needs to output when discharging can be determined. The working state of the BBU is controlled in the discharge state so that the BBU is discharged, thereby ensuring that the BBU can be controlled to supply energy at a certain output power, so that the first output power of the server and the output power of the BBU when discharging can be equal to the load power of the server. In this way, the output power of each PSU is maintained at the energy efficiency peak power without excess power, thereby avoiding the situation of PSU excess power or insufficient PSU power supply, while ensuring the stability of server operation, and improving the energy saving effect of the server.
[0114] In some other implementations, specifically, when it is determined in S301 that the power state of the backup power module is a low power state, S305 to S307 may be executed.
[0115] S305: Control the number of power supply modules turned on to decrease to a second power supply turned on number, and control the output power of the power supply modules under the second power supply turned on number to energy efficiency peak power.
[0116] When the power status of the server BBU is low, the BBU is in a charging state, indicating that the BBU needs to be switched to a charging state to replenish the power for the BBU. Since the server is in a low-load state, the first output power of the server is greater than the load power. Therefore, in actual application scenarios, when the first output power is much greater than the load power, a certain number of PSUs need to be turned off to avoid the situation where there may be excess power even if part of the surplus power of the PSU can be used to charge the BBU. Therefore, when the power status of the backup power module is low, the number of power supply modules turned on needs to be reduced to the second power supply turned on number, so that the first output power of the server is slightly greater than the load power of the server when the second power supply is turned on.
[0117] S306: Determine a first output power of the server when the second power-on number is set according to the second power-on number.
[0118] By determining the second power-on number, the sum of the energy efficiency peak powers of the PSUs of the server when the second power-on number is determined, and the first output power of the server when the second power-on number is obtained.
[0119] S307: Based on the first output power and the load power under the second power-on number, control the power supply module to charge the backup power module, so that the working state of the backup power module is a charging state.
[0120] The surplus power in the server can be determined based on the first output power and load power of the server when the second power supply is turned on. The working state of the BBU is adjusted to the charging state to use the surplus power for charging the BBU. In this way, the part of the first output power that is greater than the server load power can be used for charging the backup power module. In this way, while ensuring that each power supply module can operate at the energy efficiency peak power, there will be no excess power, which improves the energy saving effect of the server.
[0121] In some other implementations, specifically, when it is determined in S301 that the power state of the backup power module is a low power state, S308 to S309 may be executed.
[0122] S308: Control the number of power supply modules that are turned on to maintain.
[0123] The server is in a low-load state, and the BBU is in a low-power state. In some practical application scenarios, the first output power of the server is only slightly greater than the server's load power. At this time, when the BBU is charged by the PSU, the surplus output power of the PSU in the server can be fully covered in the charging of the BBU, and there will be no excess power. In this case, the number of power supply modules that are turned on is controlled to maintain.
[0124] S309: Based on the first output power and the load power, control the power supply module to charge the backup power module, so that the working state of the backup power module is a charging state.
[0125] Since the number of PSUs turned on remains unchanged, the PSU can be controlled to charge the BBU based on the first output power and load power of the server, thereby controlling the working state of the BBU to be in a charging state. This ensures that each PSU can operate at its energy-efficient peak power without excess power, thereby improving the energy-saving effect of the server.
[0126] Next, the control method of the BBU and PSU in the server when the server is in an overload state will be specifically introduced through the specific embodiment drawings:
[0127] See also Figure 5 , which is a flow chart of another power control method provided in an embodiment of the present application, specifically comprising the following steps:
[0128] S401: Determine the power status of the backup power module.
[0129] After determining the working status of the server, it is necessary to determine the power status of the BBU so as to take different control measures according to different power statuses of the BBU.
[0130] When it is determined that the power state of the BBU is low, the power in the BBU is insufficient to support the BBU to output power for a long period of time. Therefore, when the power state of the BBU is low, the working state of the BBU needs to be adjusted to the charging state so that the PSU can supply power to the BBU to ensure that the power of the BBU is sufficient. After the power state of the BBU changes to a high power state again, the control process of the BBU in the high power state can be repeated to achieve closed-loop control.
[0131] In some implementations, specifically, when it is determined in S401 that the power state of the backup power module is a high power state, S402 to S404 may be executed.
[0132] S402: Control the number of power supply modules turned on to increase to a fourth power supply turned on number, and control the output power of the power supply modules under the fourth power supply turned on number to energy efficiency peak power.
[0133] When the server is in an overload state and the BBU is in a high power state, the BBU can be controlled to provide the load that the server lacks because the BBU is in a high power state. In some actual application scenarios, since the server's load power is much greater than the server's first output power, the BBU discharge power plus the server's first output power may still not cover the server's load power. Therefore, it is necessary to first increase the number of PSUs in the server to the fourth power-on number, so that the server's first output power under the fourth power-on number is only slightly lower than the server's load power.
[0134] S403: Determine a first output power of the server when the fourth power-on number is set according to the fourth power-on number.
[0135] After determining the fourth power-on number of the server, the first output power of the server under the fourth power-on number can be determined by calculating the sum of the energy efficiency peak powers of the PSUs in the server under the fourth power-on number.
[0136] S404: Based on the first output power and the load power under the fourth power-on number, control the working state of the backup power supply module to be a dischargeable state for discharging.
[0137] The power that needs to be supplemented by the BBU is determined by the first output power and load power of the server when the four power supplies are turned on, and the output power of the backup power module can be controlled to control the working state of the backup power module in the discharge state. At this time, the load power of the server can be balanced by the discharge of the BBU, which can maximize the energy saving effect of the server.
[0138] In some other implementations, specifically, when it is determined in S401 that the power state of the backup power module is a low power state, S405 to S407 may be executed.
[0139] S405: Control the number of power supply modules turned on to increase to a third power supply turned on number, and control the output power of the power supply modules under the third power supply turned on number to energy efficiency peak power.
[0140] Furthermore, when the server is in an overload state and the power state of the backup power module is in a low power state, the backup power module needs to enter a charging state to complete the power replenishment, and the server is in an overload state, that is, the first output power of the server is less than the load power of the server, and the total power of the power supply module at the energy efficiency peak power cannot cover the load power of the server. Therefore, it is necessary to increase the number of power modules turned on to the third power turned on number, so that the first output power of the server is slightly greater than the load power of the server.
[0141] S406: Determine a first output power of the server when the third power-on number is set according to the third power-on number.
[0142] After determining the third power-on number of the server, the first output power of the server under the third power-on number can be determined by calculating the sum of the energy efficiency peak powers of the PSUs in the server under the fourth power-on number.
[0143] S407: Based on the first output power and the load power under the third power-on number, control the power supply module to charge the backup power module, so that the working state of the backup power module is a charging state.
[0144] The current surplus power of the server can be determined by the first output power and load power of the server under the third power supply on quantity, and this power can be used to charge the BBU, so that the working state of the BBU can be controlled to the charging state. In this way, the surplus output power in the server can be used to charge the backup power module, thereby charging the backup power module. Under this condition, the output power of each power supply module is still controlled at the energy efficiency peak power, so that while ensuring that the power supply module has no excess power and maintains the energy efficiency peak power, the backup power module can be charged and power support can be provided to the server at the same time, thereby improving the energy saving effect of the server.
[0145] In some other implementations, specifically, when it is determined in S401 that the power state of the backup power module is a high power state, S408 to S409 may be executed.
[0146] S408: Control the number of power supply modules that are turned on to maintain.
[0147] When the server is in an overload state and the power state of the backup power module is in a high power state, if the load power of the server is close to the first output power of the server at this time, the output power of the backup power module during discharge and the first output power of the server can effectively cover the load power of the server. At this time, the number of power modules turned on is maintained, and only the backup power module is controlled to discharge to maximize the energy saving effect of the server.
[0148] S409: Based on the first output power and the load power, control the working state of the backup power supply module to be a discharging state for discharging.
[0149] Finally, without adjusting the number of PSU power supplies turned on in the server, the BBU can be controlled to supplement power through the first output power corresponding to the number of server power modules turned on and the load power of the server, so that the working state of the BBU can be adjusted to the discharge state.
[0150] In the power control method of the embodiment of the present application, during the normal operation of the server, each PSU can operate at the peak power of the energy efficiency, and there is no surplus in the output power, thereby achieving the maximum energy saving effect. In some implementations, when the load power of the server increases significantly in a short period of time, in order to maximize the energy saving effect of the server as much as possible, the BBU can be used to cope with the rapidly increasing load power, and the output power of the PSU can be increased when the BBU cannot cope with its rapidly increasing load power.
[0151] Next, in conjunction with the accompanying drawings of specific embodiments, the countermeasures based on the BBU and PSU when the load power of the server increases rapidly will be specifically introduced.
[0152] See also Figure 6 , which is a flow chart of another power control method provided in the embodiment of the present application, specifically comprising the following steps:
[0153] S501: When the rising speed of the load power is greater than a preset speed threshold, the load power is supplemented according to the power status and available output power of the backup power module.
[0154] During the operation of the server, RMC can continuously monitor the load power of the server. When the increase rate of the server load power is greater than the preset speed threshold, the load power is supplemented according to the actual power status of the backup power module and the available output power of the backup power module. By combining the power status and available output power of the backup power module to supplement the server load power, when the server load power increases rapidly, the load power can be supplemented in time according to the situation of the backup power module, thereby ensuring that the backup power module completes the load power supplement by discharging at the most appropriate time, thereby improving the effectiveness and utilization of the backup power module.
[0155] S502: Determine the power status of the backup power module.
[0156] Specifically, if the power status of the BBU is low, even if the available output power of the BBU is sufficient to support the BBU for power replenishment, too low a power level will cause the BBU to be unable to guarantee power replenishment for a continuous period of time. Therefore, it is necessary to first ensure that the power status of the BBU is high. After ensuring that it can replenish power for a continuous period of time, further determine whether the available output power of the BBU can meet the rapidly rising load power.
[0157] S503: Determine a power difference according to the available output power of the backup power module, the first output power of the server, and the load power.
[0158] If the power state of the BBU is high, it indicates that the BBU can provide continuous power replenishment. At this time, the power difference required to be provided by the BBU can be determined according to the available output power of the BBU and the first output power and load power of the server.
[0159] S504: Determine whether the available output power of the backup power module is greater than the power difference.
[0160] Furthermore, it is determined whether the available output power of the BBU is greater than the power difference, so as to determine whether the BBU can be used to cope with the situation where the current load of the server increases rapidly.
[0161] S505: When the available output power of the backup power module is greater than the power difference, the load power is supplemented by the backup power module.
[0162] If the available output power of the BBU is greater than the power difference currently required to be output by the BBU, it indicates that the available output power of the BBU can support the BBU to complete power replenishment. At this time, the BBU is operated to supplement the load power.
[0163] S506: When the available output power of the backup power module is less than the power difference, the output power of the power supply module is adjusted to the rated power of the power supply module to supplement the load power.
[0164] Correspondingly, if the available output power of the BBU is less than the power difference currently required to be output by the BBU, it means that the available output power of the BBU at this time cannot support the BBU to complete power replenishment. At this time, the output power of the PSU is increased to the rated power to cope with the rapid increase in load in the server.
[0165] S507: Adjust the output power of the power supply module to the rated power of the power supply module to supplement the load power.
[0166] Similarly, when the power status of the BBU is low, the electric energy stored in the BBU cannot supply the load. At this time, the output power of the PSU is directly increased to the rated power of the PSU to supplement the load power, thereby ensuring the normal operation of the server.
[0167] An embodiment of the present application also provides a power supply control system applied to a server, wherein the server includes multiple power supply modules and a backup power supply module; each power supply module has an energy efficiency peak power, and the energy efficiency peak power is used to represent the output power of the power supply module at the maximum power conversion efficiency.
[0168] The control system includes: an acquisition module for acquiring the load power of the server; a determination module for determining the working state of the server based on the load power; the working state of the server includes an overload state and a low load state, the overload state is used to indicate that the load power is greater than a first output power, and the low load state is used to indicate that the load power is lower than the first output power; the first output power is used to indicate the sum of the energy efficiency peak powers of the power supply modules turned on the server; and a control module for controlling the number of turned-on power supply modules and the working state of the backup power supply modules according to the working state of the server and the power state of the backup power supply modules, and controlling the output power of the turned-on power supply modules to the energy efficiency peak power.
[0169] An embodiment of the present application also provides a server, which includes a memory and a controller, the memory is used to store instructions or codes, and the controller is used to execute instructions or codes to implement the power control method of any embodiment / implementation method of the present application.
[0170] An embodiment of the present application also provides a computer storage medium in which codes are stored. When the codes are executed, a device executing the codes implements the power control method of any embodiment / implementation of the present application.
[0171] The "first" and "second" in the names such as "first" and "second" (if any) mentioned in the embodiments of the present application are only used as name identifiers and do not represent the first or second in order.
[0172] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0173] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0174] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A power control method, It is characterized in that Applied to a server, the server includes a plurality of power supply modules and a backup power supply module; each of the power supply modules has an energy efficiency peak power, and the energy efficiency peak power is used to represent the output power of the power supply module at the maximum power conversion efficiency; the method includes: Obtaining the load power of the server; determining the working state of the server based on the load power; the working state of the server includes an overload state and a low load state, the overload state is used to indicate that the load power is greater than the first output power, and the low load state is used to indicate that the load power is lower than the first output power; the first output power is used to indicate the sum of the energy efficiency peak powers of the power supply modules turned on by the server; According to the working status of the server and the power status of the backup power module, the number of the multiple power supply modules that are turned on and the working status of the backup power module are controlled, and the output power of the turned-on power supply modules is controlled to the energy efficiency peak power.
2. The method according to claim 1, It is characterized in that The power state includes: a high power state and a low power state; the high power state is used to indicate that the backup power module is in a dischargeable state, and the low power state is used to indicate that the backup power module is in a state to be charged; The controlling the number of the plurality of power supply modules turned on and the working state of the backup power supply module according to the working state of the server and the power state of the backup power supply module comprises: When the working state of the server is the low-load state, controlling the number of the power supply modules to be turned on to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module; When the working state of the server is the overload state, the number of the power supply modules turned on is controlled to increase or maintain according to the power state, and the working state of the backup power supply module is controlled.
3. The method according to claim 2, It is characterized in that When the working state is the low-load state, controlling the number of the power supply modules to be turned on to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module, includes: When the power state is the high power state, controlling the number of power supply modules turned on to be reduced to a first power supply turned on number, and controlling the output power of the power supply modules under the first power supply turned on number to be the energy efficiency peak power; Determining a first output power of the server when the first power supply is turned on according to the first power supply turned on number; Based on the first output power and the load power under the first power-on number, the working state of the backup power module is controlled to be a discharging state for discharging.
4. The method according to claim 2, It is characterized in that When the working state is the low-load state, controlling the number of power supply modules to be turned on to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module, includes: When the power state is the low power state, controlling the number of power supply modules turned on to be reduced to a second power supply turned on number, and controlling the output power of the power supply modules under the second power supply turned on number to be the energy efficiency peak power; Determining a first output power of the server when the second power supply is turned on according to the second power supply turned on number; Based on the first output power and the load power under the second power-on number, the power supply module is controlled to charge the backup power module, so that the working state of the backup power module is a charging state.
5. The method according to claim 2, It is characterized in that When the working state is the low-load state, controlling the number of power supply modules to be turned on to be reduced or maintained according to the power state, and controlling the working state of the backup power supply module, includes: When the power state is the low power state, controlling the number of power supply modules to be turned on to maintain; Based on the first output power and the load power, the power supply module is controlled to charge the backup power module, so that the working state of the backup power module is a charging state.
6. The method according to claim 2, It is characterized in that When the working state of the server is the overload state, controlling the number of the power supply modules to be turned on to increase or maintain according to the power state, and controlling the working state of the backup power supply module, includes: When the power state is the low power state, controlling the number of power supply modules turned on to increase to a third power supply turned on number, and controlling the output power of the power supply modules under the third power supply turned on number to the energy efficiency peak power; Determining, according to the third power-on number, a first output power of the server when the third power-on number is on; Based on the first output power and the load power under the third power-on number, the power supply module is controlled to charge the backup power module, so that the working state of the backup power module is a charging state.
7. The method according to claim 2, It is characterized in that When the working state of the server is the overload state, controlling the number of the power supply modules to be turned on to increase or maintain according to the power state, and controlling the working state of the backup power supply module, includes: When the power state is the high power state, controlling the number of power supply modules turned on to increase to a fourth power supply turned on number, and controlling the output power of the power supply modules under the fourth power supply turned on number to the energy efficiency peak power; Determining, according to the fourth power-on number, a first output power of the server when the fourth power-on number is on; Based on the first output power and the load power under the fourth power-on number, the working state of the backup power module is controlled to be a discharging state for discharging.
8. The method according to claim 2, It is characterized in that When the working state of the server is the overload state, controlling the number of the power supply modules to be turned on to increase or maintain according to the power state, and controlling the working state of the backup power supply module, includes: When the power state is the high power state, controlling the number of power supply modules to be turned on to maintain; Based on the first output power and the load power, the working state of the backup power module is controlled to be a discharging state for discharging.
9. The method according to claim 1, It is characterized in that The method further comprises: When the rising speed of the load power is greater than a preset speed threshold, the load power is supplemented according to the power state and available output power of the backup power module.
10. A server, It is characterized in that include: A controller, and a memory communicatively connected to the controller; The memory is used to store computer-executable instructions; The controller is used to execute the computer-executable instructions stored in the memory to implement the power control method according to any one of claims 1 to 9.
Citation Information
Cited By
Server and power supply control method, system, equipment, product and medium thereof
CN119376515A
Cellular module power control method based on network state and service load
CN121174259A
