A power supply working state determination method, device, equipment and storage medium
By monitoring the server system load rate in real time and adjusting the power supply's operating status and resonant parameters, the problem of poor PSU efficiency under different load conditions was solved, enabling the power supply to operate near its optimal efficiency point and optimizing the overall energy consumption and management flexibility of the server system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- LENOVO (BEIJING) LTD
- Filing Date
- 2023-01-31
- Publication Date
- 2026-06-30
AI Technical Summary
Server system power supplies (PSUs) struggle to maintain peak power conversion efficiency for extended periods, particularly under light and heavy loads, leading to uneven overall energy consumption.
By acquiring the real-time load rate of the server system, the operating state of the power supply can be determined as sleep, light load, or heavy load. Based on the load rate, the resonant frequency and resonant parameters of the power supply can be adjusted to optimize the power supply's conversion efficiency under different loads.
It achieves optimal power conversion efficiency under different load conditions, optimizes the overall energy consumption of the server system under high and low power conditions, and improves the flexibility and overall efficiency of power management.
Smart Images

Figure CN116301280B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power management technology, and to, but is not limited to, a method, apparatus, device, and storage medium for determining power operating status. Background Technology
[0002] In related technologies, server systems use power management to enable the 1+1 PSU (Power Supply Unit) to operate in a current-sharing state, which allows the server system to achieve the highest power conversion efficiency of a single power supply at around 50% load rate when fully loaded.
[0003] However, server system PSUs rarely operate at their peak power conversion efficiency point, which is around 50% load, most of the time, and the power conversion efficiency of a single PSU under light load conditions is not easy to optimize. Summary of the Invention
[0004] In view of this, embodiments of this application provide a method, apparatus, device, and storage medium for determining the power supply operating state.
[0005] In a first aspect, embodiments of this application provide a method for determining the operating state of a power supply, the method comprising: acquiring the real-time load rate of a server system; and determining the operating state of at least one power supply in the server system based on the real-time load rate; wherein the operating state includes a sleep state, a light load state, and a heavy load state; and the power conversion efficiency of the server system is higher when the at least one power supply is in the determined operating state compared with the power conversion efficiency in other undetermined operating states.
[0006] Secondly, embodiments of this application provide a power supply operating state determination device, comprising: an acquisition module for acquiring the real-time load rate of a server system; and a first determination module for determining the operating state of at least one power supply in the server system based on the real-time load rate; wherein the operating state includes a sleep state, a light load state, and a heavy load state; and the power conversion efficiency of the server system is higher when the at least one power supply is in the determined operating state compared to the power conversion efficiency in other undetermined operating states.
[0007] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements the steps in the power supply operating state determination method described in embodiments of this application.
[0008] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the power supply operating state determination method described in embodiments of this application. Attached Figure Description
[0009] Figure 1 This is a schematic diagram of a power conversion efficiency curve in related technologies;
[0010] Figure 2 This is a flowchart illustrating a method for determining the operating state of a power supply according to an embodiment of this application.
[0011] Figure 3 This is a schematic diagram of a resonant circuit for a power supply according to an embodiment of this application;
[0012] Figure 4 This is a flowchart illustrating another method for determining the power supply operating state according to an embodiment of this application;
[0013] Figure 5 This is a schematic diagram of a switching circuit for a resonant circuit according to an embodiment of this application;
[0014] Figure 6 This is a flowchart illustrating a resonant circuit switching control method for a power supply unit according to an embodiment of this application.
[0015] Figure 7 This is a schematic diagram of the composition of a power supply operating state determination device according to an embodiment of this application;
[0016] Figure 8 This is a schematic diagram of the hardware entity of an electronic device according to an embodiment of this application. Detailed Implementation
[0017] With the major trends of carbon neutrality and carbon peaking, and the persistently high electricity costs in data centers, energy conservation and efficiency improvement of server systems are becoming increasingly important. Given the limited efficiency limits of individual PSU units in server systems, it is imperative to improve the overall efficiency of server systems through appropriate devices and power management methods.
[0018] like Figure 1 As shown, curve 10 is the power conversion efficiency curve of the platinum efficiency power supply. The power conversion efficiency curve can reflect the relationship between power conversion efficiency and power load rate. The power conversion efficiency curve decreases to different degrees under light load and heavy load conditions. The power conversion efficiency reaches 90% when the load rate is 20%, 94% when the load rate is 50%, and 91% when the load rate is 100%.
[0019] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and embodiments.
[0020] Figure 2 This is a flowchart illustrating a method for determining the operating state of a power supply according to an embodiment of this application, as shown below. Figure 2As shown, the method includes the following steps:
[0021] Step 202: Obtain the real-time load rate of the server system;
[0022] Step 204: Based on the real-time load rate, determine the operating status of at least one power supply in the server system;
[0023] The operating states include sleep state, light load state, and heavy load state; the power conversion efficiency of the server system is higher when the at least one power supply is in the determined operating state compared to the power conversion efficiency in other undetermined operating states.
[0024] In this context, a power supply, also known as a power adapter, is used. When there is only one power supply, it bears the entire load of the server system, and its operating state can be determined based on the real-time load rate of the server system. When there are multiple power supplies, they all share the entire load of the server system, meaning each power supply can bear a portion of the server system's load. The multiple power supplies operate in different states (sleep state, light load state, or heavy load state) according to the real-time load rate of the server system, bearing the load corresponding to the operating state. The load borne by a power supply in the light load state is greater than the load borne in the sleep state but less than the load borne in the heavy load state.
[0025] For a given power supply, the power consumption differs in sleep mode, light load mode, and heavy load mode. The power supply consumes the least power in sleep mode and the most power in heavy load mode. The power consumption in light load mode is greater than that in sleep mode but less than that in heavy load mode. Power conversion efficiency can be the ratio between the power supply's output power and input power. Determining the operating state of at least one power supply based on the real-time load rate of the server system allows each power supply to operate near its optimal power conversion efficiency in the corresponding operating state, thus balancing the overall energy consumption of the server system under high and low power consumption conditions.
[0026] In this embodiment, based on the real-time load rate of the server system, at least one power supply can be put into one of the working states of sleep, light load, and load through power management. This allows for more refined power management of the server system, increased flexibility in power management, and optimization of the overall efficiency of the server system under light and heavy load conditions.
[0027] In some embodiments, step 204, "determining the operating status of at least one power supply in the server system based on the real-time load rate," includes:
[0028] Step 2041: Determine the first load rate as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the light load condition;
[0029] Step 2042: Determine the second load rate as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the heavy load condition;
[0030] If the power supply has a maximum power conversion efficiency of 93% under light load conditions, and the corresponding load rate is 30%, then 30% can be determined as the first load rate; if the power supply has a maximum power conversion efficiency of 91% under heavy load conditions, and the corresponding load rate is 90%, then 90% can be determined as the second load rate.
[0031] Step 2043: Based on the real-time load rate, the first load rate, and the second load rate, determine the operating status of at least one power supply in the server system.
[0032] Specifically, the real-time load rate can be compared with the first load rate and the second load rate, and the operating status of the power supply can be determined based on the comparison result.
[0033] In this embodiment, the operating state of the power supply is determined by comparing the real-time load rate with the first load rate corresponding to the highest power conversion efficiency of the power supply under light load and the second load rate corresponding to the highest power conversion efficiency of the power supply under heavy load. This allows each power supply to operate near its optimal power conversion efficiency, thereby balancing the overall energy consumption of the server system under high and low power consumption conditions and optimizing the overall efficiency of the server system under light and heavy load conditions.
[0034] In some embodiments, the method further includes:
[0035] Step 2051: Determine the first resonant parameter value of the resonant circuit of any of the power supplies based on the first load rate;
[0036] Wherein, the first resonant parameter value is the efficiency design parameter of the power supply under light load conditions, such as... Figure 3 As shown, the first resonant parameter value of any of the resonant circuits 30 of the power supply may include the capacitance value Cr1 of the capacitor element 311 in the resonant circuit 30, the inductance value Ls1 of the inductor element 312 of the series resonant cavity of the resonant circuit, and the inductance value Lp1 of the inductor element 313 of the parallel resonant cavity of the resonant circuit. The resonant circuit also includes a transformer 33, an output capacitor 34, an input voltage 37, etc.
[0037] Step 2052: Determine the first resonant frequency based on the first resonant parameter value;
[0038] The first resonant frequency can be represented as f1.
[0039] Step 2053: Determine the second resonant parameter value of the resonant circuit of any of the power supplies based on the second load rate;
[0040] The second resonant parameter value is the efficiency design parameter of the power supply under heavy load conditions, such as... Figure 3 As shown, the second resonance parameter value of any of the resonant circuits 30 of the power supply may include the capacitance value Cr2 of the capacitor element 321 in the resonant circuit 30, the inductance value Ls2 of the inductor element 322 of the series resonant cavity of the resonant circuit, and the inductance value Lp2 of the inductor element 323 of the parallel resonant cavity of the resonant circuit.
[0041] Step 2054: Determine the second resonant frequency based on the second resonant parameter value;
[0042] The second resonant frequency can be represented as f2.
[0043] Step 2055: Control the operating frequency of the at least one power supply under the light load state to the first resonant frequency;
[0044] Step 2056: Control the operating frequency of the at least one power supply under the heavy load state to the second resonant frequency.
[0045] The power conversion efficiency of the power supply varies under different operating conditions and load rates. For example, the power supply reaches its highest power conversion efficiency at the first load rate under light load conditions and at the second load rate under heavy load conditions. The power conversion efficiency of the power supply at different load rates is determined by the designed resonant parameter values.
[0046] Since the first resonant frequency corresponds to the first load rate and the second resonant frequency corresponds to the second load rate, controlling the power supply to the first resonant frequency under light load conditions can make the power supply reach near its highest power conversion efficiency under light load conditions, and controlling the power supply to the second resonant frequency under heavy load conditions can make the power supply reach near its highest power conversion efficiency under heavy load conditions.
[0047] In this embodiment, by controlling the power supply to operate at the first resonant frequency corresponding to the first load rate under light load conditions and controlling the power supply to operate at the second resonant frequency corresponding to the second load rate under heavy load conditions, the power supply can achieve near the highest power conversion efficiency under light load conditions and near the highest power conversion efficiency under heavy load conditions.
[0048] In some embodiments, the at least one power supply includes a third power supply, and step 204, "determining the operating status of at least one power supply in the server system based on the real-time load rate," includes at least one of the following:
[0049] If the real-time load rate is less than or equal to the third load rate, the third power supply is determined to be in a light-load state.
[0050] If the real-time load rate is greater than the third load rate, the third power supply is determined to be in a heavy load state.
[0051] The third load rate can be 50%. When the real-time load rate is less than or equal to 50%, the third power supply can be determined to be in a light load state. The load rate corresponding to the highest power conversion efficiency in the light load state can be 30%. When the real-time load rate is greater than 50%, the third power supply can be determined to be in a heavy load state. The load rate corresponding to the highest power conversion efficiency in the heavy load state can be 90%.
[0052] In this embodiment of the application, when the server system has a power supply, the working state of the power supply can be determined according to the real-time load rate of the server system, so that the power supply can work near the optimal power conversion efficiency under both light and heavy load conditions.
[0053] In some embodiments, the at least one power supply includes a first power supply and a second power supply; step 2043, "determining the operating state of at least one power supply in the server system based on the real-time load rate, the first load rate, and the second load rate," includes at least one of the following:
[0054] Step 20431a: If the real-time load rate is less than or equal to the first load rate, determine that one of the first power supply and the second power supply is in sleep mode and the other is in light load mode;
[0055] In the case where the server system has two power supplies, the two power supplies can be referred to as 1+1 PSU, and the server system can be referred to as a server 1+1 system. The first load rate can be set to 25%, 30%, 35%, etc. When the first load rate is 30% and the real-time load rate is less than or equal to 30%, one of the first power supply and the second power supply is in sleep mode, and the other power supply is in light load mode. The power supply in light load mode can achieve the highest power conversion efficiency when the load rate is 30%.
[0056] Step 20432a: If the real-time load rate is greater than the first load rate and less than or equal to twice the first load rate, determine that both the first power supply and the second power supply are in a light load state.
[0057] When the first load rate is 30% and the real-time load rate is greater than 30% and less than or equal to 60%, both the first power supply and the second power supply are in a light-load state, and both the first power supply and the second power supply can achieve the highest power conversion efficiency when the load rate is 30%.
[0058] Step 20433a: If the real-time load rate is greater than twice the first load rate and less than or equal to the second load rate, determine that one of the first power supply and the second power supply is in sleep mode and the other is in heavy load mode;
[0059] The second load rate can be set to 90%, 92%, 95%, etc. When the second load rate is 90% and the real-time load rate is greater than 60% and less than or equal to 90%, the first power supply and the second power supply are in sleep mode and heavy load mode, respectively. The power supply in heavy load mode can achieve the highest power conversion efficiency when the load rate is 90%.
[0060] Step 20434a: If the real-time load rate is greater than the second load rate and less than or equal to the sum of the first load rate and the second load rate, determine that one of the first power supply and the second power supply is in a light load state and the other is in a heavy load state.
[0061] Specifically, when the second load rate is 90% and the real-time load rate is greater than 90% and less than or equal to 120%, it is determined that the first power supply and the second power supply are in a light load state and the other is in a heavy load state. The power supply in the light load state can achieve the highest power conversion efficiency when the load rate is 30%, and the power supply in the heavy load state can achieve the highest power conversion efficiency when the load rate is 90%.
[0062] Step 20435a: If the real-time load rate is greater than the sum of the first load rate and the second load rate, determine that both the first power supply and the second power supply are in a heavy load state.
[0063] Specifically, when the second load rate is 90% and the real-time load rate is greater than 120%, it is determined that both the first power supply and the second power supply are in a heavy load state, and both the first power supply and the second power supply can achieve the highest power conversion efficiency when the load rate is 90%.
[0064] In this embodiment of the application, for individual power supplies in a server system, the load efficiency under light and heavy load conditions can be optimized to make the power conversion efficiency curve flatter; for a 1+1 server system, through system load management, the current sharing control of the two power supplies is eliminated, simplifying the power circuit; the power supply can switch efficiency points according to the load condition, realizing different load efficiency combinations management of 1+1 PSU.
[0065] Figure 4 This is a flowchart illustrating another method for determining the power supply operating state according to an embodiment of this application, as shown below. Figure 4 As shown, the method includes the following steps:
[0066] Step 401: The server system performs load testing;
[0067] The server system includes a first power supply PSU1 and a second power supply PSU2. The load rate corresponding to the highest power conversion efficiency of PSU1 and PSU2 under light load conditions can both be 30%, and the load rate corresponding to the highest power conversion efficiency under heavy load conditions can both be 90%.
[0068] Step 4021: Determine if the load rate is below 30%. If so, proceed to step 4031.
[0069] Step 4031: PSU1 operates at 30% high efficiency, while PSU2 is in sleep mode;
[0070] Step 4022: Determine if the load rate is greater than 30% and less than or equal to 60%. If so, proceed to step 4032.
[0071] Step 4032: PSU1 operates at 30% high efficiency, and PSU2 operates at 30% high efficiency.
[0072] Step 4023: Determine if the load rate is greater than 60% and less than or equal to 90%. If so, proceed to step 4033.
[0073] Step 4033: PSU1 is in sleep mode, and PSU2 is working at 90% high efficiency.
[0074] Step 4024: Determine if the load rate is greater than 90% and less than or equal to 120%. If so, proceed to step 4034.
[0075] Step 4034: PSU1 operates at 30% high efficiency, and PSU2 operates at 90% high efficiency;
[0076] Step 4025: Determine if the load rate is greater than 120%. If so, proceed to step 4035.
[0077] Step 4035: PSU1 operates at 90% high efficiency, and PSU2 operates at 90% high efficiency.
[0078] Step 404: PSU high-efficiency point switching;
[0079] PSU1 or PSU2 can switch its working state according to the received switching command.
[0080] In some embodiments, the at least one power supply includes a first power supply, a second power supply, a third power supply, and a fourth power supply. Step 2043, "determining the operating status of at least one power supply in the server system based on the real-time load rate, the first load rate, and the second load rate," includes at least one of the following:
[0081] Step 20431b: If the real-time load rate is less than or equal to twice the first load rate, determine that two of the first power supply to the fourth power supply are in sleep mode and the other two are in light load mode;
[0082] Specifically, when the first load rate is 30% and the real-time load rate is less than or equal to 60%, two of the first to fourth power supplies are in sleep mode, and the other two are in light load mode. The power supplies in light load mode can achieve the highest power conversion efficiency when the load rate is 30%.
[0083] Step 20432b: If the real-time load rate is greater than twice the first load rate and less than or equal to four times the first load rate, determine that the first power supply to the fourth power supply are all in a light load state.
[0084] When the first load rate is 30% and the real-time load rate is greater than 60% and less than or equal to 120%, the first power supply to the fourth power supply are all in a light load state, and the first power supply to the fourth power supply can achieve the highest power conversion efficiency when the load rate is 30%.
[0085] Step 20433b: When the real-time load rate is greater than four times the first load rate and less than or equal to two times the second load rate, determine that two of the first power supply to the fourth power supply are in sleep mode and the other two are in overload mode;
[0086] Specifically, when the second load rate is 90% and the real-time load rate is greater than 120% and less than or equal to 180%, two of the first to fourth power supplies are in sleep mode, and the other two are in heavy load mode. The power supplies in heavy load mode can achieve the highest power conversion efficiency when the load rate is 90%.
[0087] Step 20434b: When the real-time load rate is greater than twice the second load rate and less than or equal to twice the sum of the first load rate and the second load rate, determine that two of the first power supply to the fourth power supply are in a light load state and the other two are in a heavy load state.
[0088] Specifically, when the second load rate is 90% and the real-time load rate is greater than 180% and less than or equal to 240%, the first to the fourth power supplies are determined to be in a light load state, and the other two are in a heavy load state. The power supply in the light load state can achieve the highest power conversion efficiency at a load rate of 30%, and the power supply in the heavy load state can achieve the highest power conversion efficiency at a load rate of 90%.
[0089] Step 20435b: If the real-time load rate is greater than twice the sum of the first load rate and the second load rate, determine that the first power supply to the fourth power supply are all in a heavy load state.
[0090] Specifically, when the second load rate is 90% and the real-time load rate is greater than 240%, it is determined that the first power supply to the fourth power supply are all in a heavy load state, and the first power supply to the fourth power supply can achieve the highest power conversion efficiency when the load rate is 90%.
[0091] In some embodiments, the method further includes:
[0092] Step 206: Based on the operating state of the at least one power supply, send a switching command to the at least one power supply;
[0093] The at least one power source switches its operating state based on the switching command.
[0094] In this embodiment of the application, the power supply can switch its working state based on the received switching command, thereby enabling more efficient switching of the working state.
[0095] In some embodiments, step 206, "the at least one power supply switches its operating state based on the switching command," includes:
[0096] Step 2061a: When the switching command indicates that the power supply is in the sleep state, the controller of the power supply controls the switching circuit of the resonant circuit to disconnect;
[0097] Step 2062a: When the switching command indicates that the power supply is in a light-load state, the controller of the power supply controls the switching circuit in the resonant circuit to switch to the first branch, and the first branch corresponds to the first resonant parameter value;
[0098] Step 2063a: When the switching command indicates that the power supply is in a heavy load state, the controller of the power supply controls the switching circuit in the resonant circuit to switch to the second branch, which corresponds to the second resonant parameter value.
[0099] Among them, such as Figure 3As shown, the resonant parameters of the resonant circuit are switched between light-load and heavy-load states via the first switch SW1 35 and the second switch SW2 36 inside the power supply. In the light-load state, the circuit switches to the first branch line 31, which corresponds to the first resonant parameter value. Both the first switch SW1 and the second switch SW2 are set to the first branch line 31. In the heavy-load state, the circuit switches to the second branch line 32, which corresponds to the second resonant parameter value. Both the first switch SW1 and the second switch SW2 are set to the second branch line 32. This ensures that the resonant cavity of the power supply's resonant circuit has different corresponding resonant frequencies f1 and f2 in the light-load and heavy-load states. Without changing the transformer turns ratio or the overall design, the power supply operates near f1 or f2 to achieve the highest efficiency switching point.
[0100] In some embodiments, such as Figure 5 As shown, a solid-state relay can be selected as the switching circuit. Under light load conditions, it switches to the first branch line1 51, and under heavy load conditions, it switches to the second branch line2 52 to achieve isolation control. The switching process is fast, highly sensitive, and without mechanical structure, the switching process is smooth and there is no arcing.
[0101] In this embodiment, for a single PSU unit, a parallel switching device is used to switch between two different sets of resonant parameter values for efficiency design points under light and heavy load conditions, based on the most commonly used resonant circuit topology of the DC-DC (DC-to-DC) stage of the current PSU. This allows the PSU to operate near its optimal efficiency point (the load rate corresponding to the optimal energy conversion efficiency) under both light and heavy load conditions. For the single PSU unit, the load efficiency under light and heavy load conditions can be significantly optimized, making the efficiency curve flatter and eliminating the need for an internal current sharing control circuit, thus simplifying the PSU circuitry.
[0102] For server systems, for two or more PSUs connected in parallel, the load sharing power management method is abandoned and a new power management method is used. This allows multiple PSUs to operate in different states, such as sleep, light load, and heavy load, depending on the load. This ensures that the PSUs always operate near their optimal efficiency point, balances the overall energy efficiency of the system under high and low power consumption conditions, refines the system's power management, increases power management flexibility, and optimizes the overall efficiency of the server under both heavy and light load conditions.
[0103] In some embodiments, step 206, "the at least one power supply switches its operating state based on the switching command," includes:
[0104] Step 2061b: After receiving the switching command, the power supply controller turns off the switching action of the metal-oxide-semiconductor field-effect transistor (MOS) of the resonant circuit; the series resonant cavity and the parallel resonant cavity of the resonant circuit freewheel through the body diode of the MOS.
[0105] Among them, such as Figure 3 As shown, the MOSFET includes Q1 38 and Q2 39.
[0106] Step 2062b: When the freewheeling current is less than the preset current value, the power supply controller controls the switching circuit of the resonant circuit to switch the working state based on the switching command.
[0107] Step 2063b: After the power supply controller completes the switching, the power supply controller activates the switching action of the MOS.
[0108] The power supply switching circuit can be implemented using a solid-state relay. After receiving the switching command from the server system, the power supply controller executes the switching command through its internal processor and controller, turning off the switching action of the MOSFET in the resonant circuit. The series resonant cavity Ls and the parallel resonant cavity Lp continue to flow through the body diode of the MOSFET. After about a few switching cycles, the follow-current approaches zero. At this time, the solid-state relay switches to ensure the safe operation of the solid-state relay. After the solid-state relay switches successfully, the MOSFET in the resonant circuit restarts and re-establishes the output.
[0109] In this embodiment of the application, after receiving the switching command, the switching action of the MOS transistor is turned off. When the freewheeling current of the body diode of the MOS approaches zero, the working state is switched through the switching circuit, which can ensure the safe operation of the switching circuit.
[0110] Figure 6 This is a flowchart illustrating a resonant circuit switching control method for a power supply unit according to an embodiment of this application. Figure 6 As shown, the method includes:
[0111] Step 601: The server system issues a switchover command;
[0112] Step 602: The PSU controller receives the switching command;
[0113] Step 603: The PSU controller processes the switching command;
[0114] Step 604: Switching of PSU controller actions;
[0115] Step 605: PSU operating parameter switching completed;
[0116] Step 606: The MOS transistor in the resonant circuit stops operating, and Ls and Lp continue to discharge.
[0117] Step 607: Solid-state relay operation switching;
[0118] Step 608: The MOSFET of the resonant circuit resumes operation and re-establishes the output.
[0119] It should be noted that, in the embodiments of this application, if the above-mentioned power operating state determination method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a mobile phone, tablet computer, desktop computer, personal digital assistant, navigator, digital phone, video phone, television, sensor device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0120] Figure 7 This is a schematic diagram of the composition of a power supply operating state determination device according to an embodiment of this application, as shown below. Figure 7 As shown, the device 700 includes: an acquisition module 701 and a first determination module 702, wherein:
[0121] Module 701 is used to obtain the real-time load rate of the server system.
[0122] The first determining module 702 is used to determine the operating status of at least one power supply in the server system based on the real-time load rate.
[0123] The operating states include sleep state, light load state, and heavy load state; the power conversion efficiency of the server system is higher when the at least one power supply is in the determined operating state compared to the power conversion efficiency in other undetermined operating states.
[0124] In some embodiments, the first determining module 702 includes: a first determining submodule, configured to determine a first load rate as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the light load state; a second determining submodule, configured to determine a second load rate as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the heavy load state; and a third determining submodule, configured to determine the operating state of at least one power supply in the server system based on the real-time load rate, the first load rate, and the second load rate.
[0125] In some embodiments, the apparatus further includes: a second determining module, configured to determine a first resonant parameter value of the resonant circuit of any of the power supplies based on the first load rate; determine a first resonant frequency based on the first resonant parameter value; determine a second resonant parameter value of the resonant circuit of any of the power supplies based on the second load rate; and determine a second resonant frequency based on the second resonant parameter value; and a control module, configured to control the at least one power supply to operate at the first resonant frequency under light load conditions; and control the at least one power supply to operate at the second resonant frequency under heavy load conditions.
[0126] In some embodiments, the at least one power supply includes a first power supply and a second power supply; the third determining submodule includes at least one of the following: a first determining unit, configured to determine that one of the first power supply and the second power supply is in a sleep state and the other is in a light-load state when the real-time load rate is less than or equal to the first load rate; a second determining unit, configured to determine that both the first power supply and the second power supply are in a light-load state when the real-time load rate is greater than the first load rate and less than or equal to twice the first load rate; a third determining unit, configured to determine that one of the first power supply and the second power supply is in a sleep state and the other is in a heavy-load state when the real-time load rate is greater than twice the first load rate and less than or equal to the second load rate; a fourth determining unit, configured to determine that one of the first power supply and the second power supply is in a light-load state and the other is in a heavy-load state when the real-time load rate is greater than the second load rate and less than or equal to the sum of the first load rate and the second load rate; and a fifth determining unit, configured to determine that both the first power supply and the second power supply are in a heavy-load state when the real-time load rate is greater than the sum of the first load rate and the second load rate.
[0127] In some embodiments, the apparatus further includes: a switching module, configured to send a switching command to the at least one power source based on the operating state of the at least one power source; wherein the at least one power source switches its operating state based on the switching command.
[0128] In some embodiments, the switching module includes: a first control submodule, configured to, when the switching command indicates that the power supply is in the sleep state, control the switching circuit of the resonant circuit to disconnect; a second control submodule, configured to, when the switching command indicates that the power supply is in a light load state, control the switching circuit in the resonant circuit to switch to a first branch, the first branch corresponding to a first resonant parameter value; and a third module submodule, configured to, when the switching command indicates that the power supply is in a heavy load state, control the switching circuit in the resonant circuit to switch to a second branch, the second branch corresponding to a second resonant parameter value.
[0129] In some embodiments, the switching module includes: a shutdown submodule, used by the power supply controller to shut down the switching action of the metal-oxide-semiconductor field-effect transistor (MOS) of the resonant circuit after receiving a switching command; the series resonant cavity and the parallel resonant cavity of the resonant circuit freewheel through the body diode of the MOS; a switching submodule, used by the power supply controller to control the switching circuit of the resonant circuit to switch its operating state based on the switching command when the freewheeling current is less than a preset current value; and an activation submodule, used by the power supply controller to activate the switching action of the MOS after the switching is completed.
[0130] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0131] Correspondingly, embodiments of this application provide an electronic device, Figure 8 This is a schematic diagram of a hardware entity of an electronic device according to an embodiment of this application, such as... Figure 8 As shown, the hardware entity of the device 800 includes a memory 801 and a processor 802. The memory 801 stores a computer program that can run on the processor 802. When the processor 802 executes the program, it implements the steps in the power supply operating state determination method in the above embodiments.
[0132] The memory 801 is configured to store instructions and applications executable by the processor 802, and can also cache data to be processed or already processed by the processor 802 and the various modules in the device 800 (e.g., image data, audio data, voice communication data and video communication data), which can be implemented by flash memory or random access memory (RAM).
[0133] Correspondingly, embodiments of this application provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps in the power supply operating state determination method provided in the above embodiments.
[0134] It should be noted that the descriptions of the storage medium and device embodiments above are similar to those of the method embodiments above, and have similar beneficial effects as the device embodiments. For technical details not disclosed in the storage medium and method embodiments of this application, please refer to the descriptions of the device embodiments of this application for understanding.
[0135] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0136] It should be noted that, in this document, 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. Unless otherwise specified, 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 that element.
[0137] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0138] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this application may all be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the integrated unit may be implemented in hardware or in a combination of hardware and software functional units.
[0139] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks. Alternatively, if the integrated units of this application are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the related technology, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause computer devices (which may be mobile phones, tablets, desktops, personal digital assistants, navigators, digital phones, video phones, televisions, sensing devices, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0140] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined to obtain new method embodiments without conflict. The features disclosed in the several product embodiments provided in this application can be arbitrarily combined to obtain new product embodiments without conflict. The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined to obtain new method embodiments or device embodiments without conflict.
[0141] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for determining the operating state of a power supply, the method comprising: Obtain the real-time load rate of the server system; Based on the real-time load rate, determine the operating status of at least one power supply in the server system; The operating states include sleep state, light load state, and heavy load state; the power conversion efficiency of the server system is higher when the at least one power supply is in the determined operating state compared to the power conversion efficiency in other undetermined operating states. Determining the operating status of at least one power supply in the server system based on the real-time load rate includes: The first load rate is defined as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the light load condition. The second load rate is defined as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the heavy load condition. Based on the real-time load rate, the first load rate, and the second load rate, determine the operating status of at least one power supply in the server system; The at least one power supply includes a first power supply and a second power supply; determining the operating state of the at least one power supply in the server system based on the real-time load rate, the first load rate, and the second load rate includes at least one of the following: If the real-time load rate is less than or equal to the first load rate, determine that one of the first power supply and the second power supply is in sleep mode and the other is in light load mode. If the real-time load rate is greater than the first load rate and less than or equal to twice the first load rate, it is determined that both the first power supply and the second power supply are in a light-load state. If the real-time load rate is greater than twice the first load rate and less than or equal to the second load rate, it is determined that one of the first power supply and the second power supply is in sleep mode and the other is in overload mode. If the real-time load rate is greater than the second load rate and less than or equal to the sum of the first load rate and the second load rate, it is determined that one of the first power supply and the second power supply is in a light load state and the other is in a heavy load state. If the real-time load rate is greater than the sum of the first load rate and the second load rate, it is determined that both the first power supply and the second power supply are in a heavy load state.
2. The method of claim 1, wherein, The method further includes: The first resonant parameter value of the resonant circuit of any of the power supplies is determined based on the first load rate. The first resonant frequency is determined based on the first resonant parameter value; The second resonant parameter value of the resonant circuit of any of the power supplies is determined based on the second load rate; The second resonant frequency is determined based on the second resonant parameter value; The operating frequency of the at least one power supply under the light load condition is controlled to be the first resonant frequency; The operating frequency of the at least one power supply under the heavy load condition is controlled to be the second resonant frequency.
3. The method of claim 1, wherein, The method further includes: Based on the operating state of the at least one power source, a switching command is sent to the at least one power source; The at least one power source switches its operating state based on the switching command.
4. The method of claim 3, wherein, The at least one power supply switches its operating state based on the switching command, including: When the switching command indicates that the power supply is in the sleep state, the controller of the power supply controls the switching circuit of the resonant circuit to disconnect. When the switching command indicates that the power supply is in a light-load state, the power supply controller controls the switching circuit in the resonant circuit to switch to the first branch, and the first branch corresponds to the first resonant parameter value. When the switching command indicates that the power supply is in a heavy load state, the power supply controller controls the switching circuit in the resonant circuit to switch to the second branch, which corresponds to the second resonant parameter value.
5. The method of claim 3, wherein, The at least one power supply switches its operating state based on the switching command, including: Upon receiving a switching command, the power supply controller shuts down the switching action of the metal-oxide-semiconductor field-effect transistor (MOS) in the resonant circuit; the series resonant cavity and the parallel resonant cavity of the resonant circuit freewheel through the body diode of the MOS. When the freewheeling current is less than the preset current value, the power supply controller controls the switching circuit of the resonant circuit to switch the working state based on the switching command. After the power supply controller completes the switching, it activates the switching action of the MOS.
6. A power supply operating state determination device, the device comprising: The acquisition module is used to acquire the real-time load rate of the server system; The first determining module is used to determine the operating status of at least one power supply in the server system based on the real-time load rate. The operating states include sleep state, light load state, and heavy load state; the power conversion efficiency of the server system is higher when the at least one power supply is in the determined operating state compared to the power conversion efficiency in other undetermined operating states. The first determining module includes: a first determining submodule, configured to determine the first load rate as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the light load state; a second determining submodule, configured to determine the second load rate as the load rate corresponding to the highest power conversion efficiency of any of the power supplies under the heavy load state; and a third determining submodule, configured to determine the operating state of at least one power supply in the server system based on the real-time load rate, the first load rate, and the second load rate. The at least one power supply includes a first power supply and a second power supply; the third determining submodule includes at least one of the following: a first determining unit, configured to determine that one of the first power supply and the second power supply is in a sleep state and the other is in a light-load state when the real-time load rate is less than or equal to the first load rate; a second determining unit, configured to determine that both the first power supply and the second power supply are in a light-load state when the real-time load rate is greater than the first load rate and less than or equal to twice the first load rate; a third determining unit, configured to determine that one of the first power supply and the second power supply is in a sleep state and the other is in a heavy-load state when the real-time load rate is greater than twice the first load rate and less than or equal to the second load rate; a fourth determining unit, configured to determine that one of the first power supply and the second power supply is in a light-load state and the other is in a heavy-load state when the real-time load rate is greater than the second load rate and less than or equal to the sum of the first load rate and the second load rate; a fifth determining unit, configured to determine that both the first power supply and the second power supply are in a heavy-load state when the real-time load rate is greater than the sum of the first load rate and the second load rate.
7. An electronic device comprising a memory and a processor, said memory storing a computer program operable on the processor, characterized in that, When the processor executes the program, it implements the steps in the power supply operating state determination method according to any one of claims 1 to 5.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that When executed by a processor, the computer program implements the steps in the power supply operating state determination method according to any one of claims 1 to 5.