A control method and device of a power supply unit, electronic equipment and storage medium
By dividing the server power supply unit into working and backup redundant units, and controlling the backup unit to output a voltage lower than the equipment's required voltage, the problem of low power supply unit load rate is solved, achieving higher power conversion efficiency and energy utilization.
Patent Information
- Application Number
- CN202411997025.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2044-12-30
AI Technical Summary
With the existing N+N redundant backup configuration of the server power supply unit, the low load rate of the power supply unit leads to low power conversion efficiency and energy waste.
The power supply unit in the redundant power supply system is divided into a working unit and a backup redundant unit. The working unit outputs the voltage required by the device, and the backup redundant unit outputs a first backup voltage that is lower than the voltage required by the device. The voltage value is configured through the power management bus controlled by the processor to achieve zero power output.
It increases the load rate of the power supply unit, reduces ineffective losses, and improves the power conversion efficiency of the redundant power supply system.
Smart Images

Figure CN119718054B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power supply technology, and in particular to a control method, device, electronic equipment, and storage medium for a power supply unit. Background Technology
[0002] Servers, as computer devices specifically designed for storing, processing, and transmitting data, play a crucial role in today's digital and internet-driven world. Servers provide users with various services, such as websites, email, file sharing, and database management, enabling data exchange and information sharing over the network. Therefore, ensuring server reliability is paramount. And a reliable power supply is a prerequisite for a server's reliable operation.
[0003] To improve server power supply reliability, server power supply units (PSUs) are typically required to be implemented with N+N redundancy, meaning 2N PSUs operate simultaneously. If N PSUs fail, the remaining N PSUs can still support the entire system. However, when all 2N PSUs are operating normally without failure, the maximum load on each PSU is less than 50%. If the overall system workload is low or the configuration is low, the load on each PSU will be far below 50%, even below 10%. Therefore, this N+N backup configuration results in low load rates for all PSUs, leading to low power conversion efficiency and energy waste.
[0004] It is evident that improving the power conversion efficiency of the server's power supply unit is a problem that needs to be solved by those skilled in the art. Summary of the Invention
[0005] The purpose of this invention is to provide a control method, device, electronic device, and storage medium for a power supply unit, which can solve the energy waste problem caused by the low power conversion efficiency of the server's power supply unit.
[0006] To address the aforementioned technical problems, this invention provides a control method for a power supply unit, applied to a processor in a redundant power supply system. The redundant power supply system further includes N power supply units, whose output terminals are connected in parallel. The common connection point of these parallel connections is connected to the power supply terminal of the device. The control terminal of each power supply unit is connected to the output terminal of the processor. N is a positive integer. The control method for the power supply unit includes:
[0007] Select i power supply units out of N power supply units as working units, and use the remaining Ni power supply units as backup redundant units; i is a positive integer, and i < N;
[0008] Configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the equipment in order to power the equipment;
[0009] The output voltage of the power supply unit, which serves as a backup redundancy unit, is configured as the first backup voltage; the first backup voltage is less than the voltage required by the device.
[0010] In some embodiments, it also includes:
[0011] If A power supply units in the working unit fail, then A power supply units are selected from the backup redundant units as the units to be woken up; A is a positive integer, and A < i;
[0012] Adjust the output voltage of the unit to be woken up from the first backup voltage to the voltage required by the device.
[0013] In some embodiments, the processor is connected to the power supply unit via a power management bus;
[0014] Configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the device, including:
[0015] Write the binary value corresponding to the device's required voltage into the preset register of the power management bus connected to the working unit;
[0016] The output voltage of the power supply unit, which serves as a backup redundancy unit, is configured as the first backup voltage, including:
[0017] Write the binary value corresponding to the first backup voltage into the preset register of the power management bus connected to the backup redundancy unit.
[0018] In some embodiments, it also includes:
[0019] Detect the load rate of the working unit and determine whether the load rate of the working unit is less than the first preset value;
[0020] If so, select several power supply units from the working units as dynamic redundancy units;
[0021] The output voltage of the dynamic redundancy unit is configured as the second backup voltage; the second backup voltage is less than the required voltage of the equipment, and the second backup voltage is greater than the first backup voltage.
[0022] In some embodiments, detecting the load rate of a work unit and determining whether the load rate of the work unit is less than a first preset value includes:
[0023] Determine the average current of the output current of all working units;
[0024] Determine whether the average current is less than the preset current. The preset current is the product of the maximum output current of the power supply unit and the first preset value.
[0025] If so, the load rate of the working unit is determined to be less than the first preset value;
[0026] If not, it is determined that the load rate of the working unit is not less than the first preset value, and the process jumps back to the step of determining the average current of the output current of all working units.
[0027] In some embodiments, the output current sampling terminals of all power supply units are connected to the current detection terminals of the processor via a current sharing bus.
[0028] Determine the average current value of the output current of all working units, including:
[0029] Read the bus voltage of the current sharing bus and determine the bus voltage as the average current of the output current of all working units.
[0030] In some embodiments, selecting a plurality of power supply units from the working units as dynamic redundancy units includes:
[0031] Determine the number of working units currently being powered and the total output current of all working units;
[0032] Calculate the ratio between the total current value and the preset current, and determine the target number of power supply units that need to operate at this time based on the ratio.
[0033] The difference between the number of units and the target number is used as the number of dynamic redundant units to be selected.
[0034] If the number selected is less than the number of units, then select the number of power supply units from the working units as dynamic redundancy units;
[0035] If the number of selected units is not less than the number of units, then one power supply unit is reserved as a working unit, and the remaining working units are all determined as dynamic redundant units.
[0036] After selecting several power supply units as dynamic redundancy units from the working units, the following is also included:
[0037] If the load rate of the working unit is greater than the second preset value, the output voltage of several power supply units in the dynamic redundancy unit will be adjusted from the second backup voltage to the voltage required by the equipment.
[0038] To address the aforementioned technical problems, this invention also provides a control device for a power supply unit, applied to a processor in a redundant power supply system. The redundant power supply system further includes N power supply units, whose output terminals are connected in parallel. The common connection point of these parallel connections is connected to the power supply terminal of the device. The control terminal of each power supply unit is connected to the output terminal of the processor, where N is a positive integer. The control device for the power supply unit includes:
[0039] The working division unit is used to select i power supply units out of N power supply units as working units, and the remaining Ni power supply units as backup redundancy units; i is a positive integer, and i < N;
[0040] The first voltage configuration unit is used to configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the device in order to supply power to the device.
[0041] The second voltage configuration unit is used to configure the output voltage of the power supply unit, which serves as a backup redundancy unit, as a first backup voltage; the first backup voltage is less than the voltage required by the device.
[0042] To address the aforementioned technical problems, embodiments of the present invention also provide an electronic device, comprising:
[0043] Memory, used to store computer programs;
[0044] A processor is used to execute computer programs to implement the steps of the control method for the power supply unit as described above.
[0045] To address the aforementioned technical problems, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned power supply unit control method.
[0046] As can be seen from the above technical solution, the power supply unit in the redundant power supply system is divided into a working unit and a backup redundant unit. The power supply unit, acting as the working unit, directly outputs the voltage required by the equipment to meet its power supply needs. Although the power supply unit, acting as the backup redundant unit, also outputs voltage, its first backup voltage is lower than the voltage required by the equipment. Since current only flows from high level to low level, the backup redundant unit, although operating at the output voltage, has zero output current and only static losses without conversion losses. The beneficial effect of this invention is that by controlling the output voltage, the redundant backup unit achieves zero power output, thereby reducing the ineffective losses of the redundant backup unit, increasing the load rate of the working unit, and improving the power conversion efficiency of the entire redundant power supply system. Attached Figure Description
[0047] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 A flowchart illustrating a control method for a power supply unit provided in an embodiment of the present invention;
[0049] Figure 2 This is a schematic diagram of a redundant power supply system provided in an embodiment of the present invention;
[0050] Figure 3 This is a schematic diagram of the structure of a control device for a power supply unit provided in an embodiment of the present invention;
[0051] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.
[0053] The terms "comprising" and "having," and any variations thereof, in the specification and accompanying drawings of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may include steps or units not listed.
[0054] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] Next, a control method for a power supply unit provided by an embodiment of the present invention will be described in detail. See also Figure 1 As shown, Figure 1 This is a flowchart illustrating a control method for a power supply unit provided in an embodiment of the present invention. The control method is applied to a processor in a redundant power supply system. The redundant power supply system further includes N power supply units, whose output terminals are connected in parallel. The common connection point of the parallel connections is connected to the power supply terminal of the device. The control terminal of each power supply unit is connected to the output terminal of the processor. N is a positive integer. The control method for the power supply unit includes:
[0056] S11: Select i power supply units out of N power supply units as working units, and the remaining Ni power supply units as backup redundant units; i is a positive integer, and i < N;
[0057] Understandably, considering that servers typically operate 24 / 7, to improve the reliability of the redundant power supply system, the N power supply units in the redundant power supply system are divided into two groups. The power supply units serving as working units need to supply power to the equipment. When a power supply unit in a working unit fails, a backup redundant unit is needed to replace the failed working unit. This application does not specifically limit the grouping method of the power supply units, nor the number of power supply units in the working unit or the number of power supply units in the redundant backup unit. Generally, it is necessary to consider the maximum load that the equipment may generate during operation. During grouping, it is necessary to ensure that there are a sufficient number of power supply units in the working unit to handle the maximum load generated by the equipment during operation. That is, the value of i can be set according to the maximum load during equipment operation, and i power supply units can handle the maximum load of the equipment. A preferred embodiment is that the number of power supply units in the working unit is equal to the number of power supply units in the redundant backup unit. This way, when all the power supply units serving as working units in the initial group fail, the equal number of power supply units in the redundant backup unit can still support the normal operation of the server and the entire redundant power supply system. An equal number of working units and redundant backup units can also establish a one-to-one correspondence. When a power supply unit in a working unit fails, the corresponding power supply unit in the redundant backup unit can be directly woken up to replace it and perform normal operation.
[0058] S12: Configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the equipment in order to power the equipment;
[0059] On one hand, the working unit, as the main power supply unit in the redundant power supply system, needs to bear the load generated by the equipment during operation and ensure the normal operation of the equipment. Therefore, the power supply unit of the working unit needs to output an output voltage that meets the power supply requirements of the equipment. The redundant power supply system needs to continuously and stably output the voltage required by the equipment to ensure the normal operation of the equipment. Therefore, the output voltage of the power supply unit of the working unit is configured as the voltage required by the equipment. The voltages required by the equipment output by i power supply units of the working unit are connected in parallel and output as the power supply bus voltage to the power supply terminal of the equipment to provide a stable power supply voltage for the equipment. The specific value of the voltage required by the equipment needs to be set and adjusted according to the specific type of equipment and power supply requirements. The voltage required by the equipment refers to the standard power supply voltage that can ensure the normal operation of the equipment.
[0060] S13: Configure the output voltage of the power supply unit, which serves as a backup redundancy unit, as the first backup voltage; the first backup voltage is less than the voltage required by the device.
[0061] On the other hand, to ensure timely response from the power supply unit in the backup redundant unit in the event of a fault in the working unit, the backup redundant unit also needs to remain operational. Therefore, the processor also controls the backup redundant unit to output voltage. However, to reduce power supply unit losses and improve conversion efficiency, the power supply unit in the redundant backup state will be in a state where the power supply is working normally but cannot output current. Therefore, this invention adjusts the output voltage of the power supply unit acting as the backup redundant unit to be lower than the power supply bus voltage, i.e., lower than the voltage required by the equipment. This power supply unit will no longer output load, thus ensuring that the power supply unit acting as the backup redundant unit in the entire redundant power supply system will not bear the load. Only the power supply unit acting as the working unit will bear the load. The load rate refers to the ratio of the actual load borne by the power supply unit to its maximum load. When only the power supply unit acting as the working unit bears the load, the number of power supply units bearing the equipment load decreases, and the load rate of a single power supply unit increases. This avoids the power supply unit operating in a low-load area, resulting in low conversion efficiency, wasted energy, and increased costs. This application does not impose any special restrictions on the specific value of the first backup voltage, etc. It only needs to be less than the voltage required by the equipment, and preferably greater than the minimum operating voltage of the equipment. The minimum operating voltage of the equipment refers to the lowest operating voltage that can ensure the normal operation of the equipment.
[0062] It's easy to understand that when the output voltage of a backup redundant power supply unit is lower than the power supply bus voltage, current cannot flow to the high-level region. Although the output voltage of the backup redundant power supply unit is in normal working condition and can output voltage, there is no current output, i.e., zero load. Therefore, it only has static losses and no conversion losses. Since the backup redundant power supply unit has no output power and does not bear the equipment load, the load is entirely handled by the working power supply unit. This avoids the situation where N power supply units simultaneously bear the load, resulting in low conversion efficiency due to the low load rate of a single power supply unit in a redundant power supply system. Because Ni power supply units are in a no-output state, the load rate of the other i normally operating power supply units will double, thus avoiding the low-efficiency range and improving the overall conversion efficiency.
[0063] In one specific embodiment, the power supply unit, which serves as the working unit, will operate normally, with an output level of V. norm The minimum operating level required to ensure normal operation of the equipment is determined based on the equipment type. min The MCU accesses the power supply unit, which serves as a backup redundant unit, via PMBUS (Power Management Bus), adjusts its control commands, and sets its V... out Adjusted to V back And ensure V min <Vback <V norm At the same time, the current sharing control function of the redundant power supply system is turned off.
[0064] It should be noted that this application does not impose any special restrictions on the specific types and implementation methods of each power supply unit and processor in the redundant power supply system. The processor can be implemented using MCU (Microcontroller Unit) or similar methods. The number N of power supply units is generally set to an even number to facilitate the implementation of an equal number of working units and backup redundant units.
[0065] As one specific embodiment, see Figure 2 As shown, Figure 2 This is a schematic diagram of a redundant power supply system provided in an embodiment of the present invention. The present invention designs a power supply unit redundancy backup management system based on an MCU. The MCU can manage and monitor all power supply units through PMBUS, and is equipped with a high-precision AD converter to acquire analog signals and use GPIO to detect alarm signals. VIN represents the input power of the redundant power supply system, and the Vout bus is the power supply bus of the redundant power supply system to supply power to the server node. The redundant power supply system is equipped with N power supply units (PSUs). In the initial configuration, PSU 1 to PSU N / 2 are used as working units, and PSU (N / 2)+1 to PSU N are used as backup redundant units.
[0066] Furthermore, considering that this invention mainly improves the load rate by setting the output voltage, in order to avoid backflow caused by the power supply bus voltage being greater than the output voltage of the power supply unit used as a backup redundant unit, an anti-backflow circuit is set at the output terminal of each power supply unit. The redundant power supply system is equipped with N anti-backflow circuits connected one-to-one with N power supply units. When controlling V to improve the load rate... back <V norm In this case, the current on the power supply bus will not flow back to the redundant backup power supply unit, thus preventing damage to the redundant backup power supply unit. The anti-backflow circuit can be implemented using diodes or other methods, and this application does not make any special limitations here.
[0067] The power supply unit control method provided by this invention can be applied to the redundant control of power supply units in various systems. By designing a power supply unit redundancy management strategy, the power supply unit can achieve no current output when it is in a redundant backup state, and achieve zero power output of the backup redundant power supply unit, thereby improving the load rate of the power supply unit as a working unit, keeping the normally operating power supply unit in a high-efficiency range, reducing ineffective losses, and improving the power conversion efficiency of the entire redundant power supply system.
[0068] In some embodiments, it also includes:
[0069] If A power supply units in the working unit fail, then A power supply units are selected from the backup redundant units as the units to be woken up; A is a positive integer, and A < i;
[0070] Adjust the output voltage of the unit to be woken up from the first backup voltage to the voltage required by the device.
[0071] It is easy to understand that when a power supply unit in a working unit fails, a corresponding number of power supply units need to be woken up from the redundant backup units to replace the failed power supply units and resume normal operation. For example, when A power supply units in a working unit fail, the MCU will wake up A power supply units in the redundant backup state, adjust their output voltage to the voltage required by the equipment, thereby ensuring the number of power supply units in the working unit that are working normally is sufficient to handle the equipment load. This application does not specifically limit the specific detection method for power supply unit failures, and there are multiple options for selecting the units to be woken up. A correspondence between the power supply units in the working unit and the power supply units in the redundant backup units can be established in advance. When a power supply unit fails, the corresponding power supply unit in the redundant backup unit is directly woken up according to this correspondence to replace it and resume normal operation. As a specific embodiment, when A power supply units fail and have no output, the MCU detects the alarm signal through GPIO and immediately wakes up A power supply units in the redundant backup unit through the PMBUS bus, adjusting their output voltage back to V. norm This ensures a stable power supply.
[0072] It should be noted that the wake-up process of the processor waking up the power supply units in the redundant backup units and converting them into working units requires a certain amount of time. If, during this wake-up process, the load pressure on the other normal NA power supply units acting as working units is too high and they cannot handle the load generated by the equipment, then the power supply bus voltage V will drop. norm A voltage drop will occur when the power supply bus voltage V morm Reduce to V back When the output of the redundant backup power supply unit is no longer at a voltage difference with the power supply bus, the Ni power supply units in the redundant backup unit will be passively awakened. Because current flows from high voltage to low voltage, this ensures the redundant power supply system has sufficient power supply capacity and prevents equipment failure due to delayed awakening or the dormancy of the redundant backup. The power supply voltage required for normal equipment operation typically falls within a certain operating range. The voltage required by the equipment is generally the midpoint of this operating range, which is the optimal standard power supply voltage to meet the normal operation needs of the equipment. When the power supply bus voltage V... morm It hasn't dropped to V yet. backAt this time, the power supply bus voltage will also show a decreasing trend, but because the first backup voltage is set to be greater than the minimum operating voltage of the equipment, that is, V min <V back Although the voltage of the power supply bus drops at this time, its voltage level is still sufficient to meet the power supply requirements of the server (equipment).
[0073] Furthermore, the processor can connect to each power supply unit via its own GPIO ports and use these ports to detect alarm signals from the power supply units. These alarm signals specifically include over-temperature protection and over-current protection for the power supply units. Each power supply unit includes protection modules such as over-temperature protection circuits and over-current protection circuits. These protection modules all issue corresponding alarm signals. For example, the over-temperature protection circuit monitors the operating temperature of the power supply unit in real time; when the operating temperature is outside the normal range, it outputs an over-temperature alarm signal. Similarly, the over-current protection circuit monitors the output current of the power supply unit in real time; when the output current exceeds a current threshold, it outputs an over-current alarm signal. In a redundant power supply system, N voltage detection modules can be added, each corresponding to a power supply unit. The input of each voltage detection module is connected to the output of the corresponding power supply unit, and the output is connected to the processor's voltage detection terminal. The processor uses these modules to monitor the output voltage of the power supply unit in real time and calculates the difference between the actual output voltage and the output voltage configured for it. If this difference exceeds a preset value, or if multiple measurements of the output voltage of a power supply unit consistently show a difference greater than the preset value, the processor determines that the power supply unit is faulty and issues an abnormal output voltage alarm signal. Once the MCU detects any alarm signal output from a power supply unit, it determines that the unit is faulty and cannot function properly, activating a redundant power supply unit to take over its normal operation.
[0074] Specifically, during the pre-grouping setup, the output voltage of the power supply unit serving as the backup redundant unit is configured as the first backup voltage. Therefore, when the power supply unit serving as the working unit malfunctions, the output voltage of the unit to be woken up only needs to gradually increase from the first backup voltage to the voltage required by the device, without having to slowly rise from zero voltage to the voltage required by the device. This greatly improves the wake-up time of the redundant backup unit, enabling seamless wake-up of the redundant backup unit. Without adding other circuits, the reliability of this redundant design is guaranteed, and the response speed of the entire redundant power supply system is improved.
[0075] In some embodiments, the processor is connected to the power supply unit via a power management bus;
[0076] Configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the device, including:
[0077] Write the binary value corresponding to the device's required voltage into the preset register of the power management bus connected to the working unit;
[0078] The output voltage of the power supply unit, which serves as a backup redundancy unit, is configured as the first backup voltage, including:
[0079] Write the binary value corresponding to the first backup voltage into the preset register of the power management bus connected to the backup redundancy unit.
[0080] It is understood that all power supply units in the redundant power supply system are connected to the processor via the PMBUS bus, and all power supply units support the PMBUS bus standard. Considering that there are registers in the PMBUS bus for configuring the output voltage, the processor can directly adjust the output voltage of each power supply unit by changing the value of the corresponding register in the PMBUS bus. This application does not impose any special limitations on the setting method of the preset registers in the PMBUS bus.
[0081] Specifically, the processor can directly manage and control each power supply unit using the power management bus, and can configure and adjust the output voltage of each power supply unit by assigning different values to specific registers. This is simple, effective, and easy to implement.
[0082] In some embodiments, it also includes:
[0083] Detect the load rate of the working unit and determine whether the load rate of the working unit is less than the first preset value;
[0084] If so, select several power supply units from the working units as dynamic redundancy units;
[0085] The output voltage of the dynamic redundancy unit is configured as the second backup voltage; the second backup voltage is less than the required voltage of the equipment, and the second backup voltage is greater than the first backup voltage.
[0086] Considering that when the equipment is in a low-configuration working environment or during low-traffic periods, even if Ni power supply units are in a backup redundant dormant state and only i power supply units are in normal working state, these power supply units still operate in a low-load area due to the low equipment load, resulting in lower conversion efficiency. Therefore, a dynamic redundancy control strategy can be further designed. During power supply, the load rate of the working units is monitored in real time, and if the load rate of the working units is less than a first preset value, j power supply units are selected from the i working units as dynamic redundancy units. Then, the output voltage of the dynamic redundancy units is configured as the second backup voltage, and the dormant voltage of the dynamic redundancy units, i.e., the second backup voltage V, is set to V.D-back Set the voltage below the normal operating voltage of the device, but above the backup redundancy sleep voltage, i.e., V back <V D-back <V norm When the ij normally operating power supply units can meet the equipment load, since the second backup voltage is lower than the power supply bus voltage, the dynamic redundancy unit will also maintain a state of zero current and zero power output, and will no longer bear the equipment load, thereby increasing the load rate of the ij normally operating power supply units and further improving the conversion efficiency of the entire redundant power supply system under low load conditions. This application does not specifically limit the specific values of the first preset value and the second backup voltage. The first preset value is generally implemented as a percentage, and a load rate below 50% is generally defined as a low load state; therefore, the first preset value is generally set to 50%.
[0087] It's easy to understand that when the equipment load increases and the ij normally operating power supply units cannot meet the load, the dynamic redundancy unit will be activated first and adjusted to normal operating status to handle the load. Furthermore, due to V... back <V D-back The output voltage of the awakened dynamic redundancy unit only needs to be gradually increased from the second backup voltage to the voltage required by the device. When server workload increases, the dynamic redundancy power supply unit can recover more quickly, with a faster response speed than the backup redundancy unit. This allows the dynamically redundancy dormant power supply unit to respond quickly and ensure power supply to the device. Similar to the redundant backup unit, the dynamic redundancy unit can also be passively awakened when the power supply bus voltage V... morm Reduce to V D-back When the output terminals of the j power supply units, which are dynamic redundancy units, no longer have a voltage difference with the power supply bus, they will be passively awakened first. Furthermore, power supply units that are in hibernation to ensure dynamic redundancy control will not affect normally redundant power supply units when awakened; whether a unit is in hibernation depends solely on the load generated by the equipment.
[0088] It should be noted that the redundant power supply system has a total of N power supply units. When powering the equipment at the beginning, N / 2 units can be directly used as backup redundant units, and their output voltage is adjusted to V. back Then, during the process of powering the server, due to the fluctuation of the server system's traffic, when the traffic is very low, the load of the N / 2 normally operating power supply units is also very low. However, the traffic is constantly fluctuating. Therefore, this embodiment proposes the concept of dynamic redundancy, which adjusts some normally operating power supply units into a dynamic redundancy state when the server traffic is low.
[0089] Specifically, by adopting the dynamic redundancy control strategy proposed in this embodiment, the power supply unit can operate in the optimal efficiency range under any equipment operating conditions, thereby greatly improving the power conversion efficiency of the redundant power supply system. It can further improve the power conversion efficiency of the redundant power supply system during periods of low equipment configuration or low business hours, making it more flexible and applicable to a wider range of situations.
[0090] In some embodiments, detecting the load rate of a work unit and determining whether the load rate of the work unit is less than a first preset value includes:
[0091] Determine the average current of the output current of all working units;
[0092] Determine whether the average current is less than the preset current. The preset current is the product of the maximum output current of the power supply unit and the first preset value.
[0093] If so, the load rate of the working unit is determined to be less than the first preset value;
[0094] If not, it is determined that the load rate of the working unit is not less than the first preset value, and the process jumps back to the step of determining the average current of the output current of all working units.
[0095] It is understandable that a redundant power supply system provides a stable supply voltage to the equipment. Therefore, load fluctuations of the equipment and the load rate of the redundant power supply system will be directly reflected in the output current of the redundant power supply system. Thus, the load rate of the working unit can be determined directly by obtaining the output current of the power supply unit and judging its magnitude. Considering that the output current of each power supply unit may not be completely consistent, the load rate of the power supply unit can be determined by determining the average current of the output current of the power supply unit serving as the working unit. For a given power supply unit, its maximum load capacity is the load value corresponding to its maximum output current. Therefore, the preset current corresponding to the first preset value can be directly obtained by calculating the product of the maximum output current of the power supply unit and the first preset value. The maximum output current of the power supply unit can be directly determined according to the power supply unit specifications. This application does not specifically limit the specific method for determining the average current.
[0096] Specifically, the load rate of the working unit can be determined by real-time detection of the output current of the power supply unit, thereby determining whether the load rate of the working unit is too low, so that the processor can determine whether to execute a dynamic redundancy control strategy. This is simple, effective and easy to implement.
[0097] In some embodiments, the output current sampling terminals of all power supply units are connected to the current detection terminals of the processor via a current sharing bus.
[0098] Determine the average current value of the output current of all working units, including:
[0099] Read the bus voltage of the current sharing bus and determine the bus voltage as the average current of the output current of all working units.
[0100] In a redundant power supply system, after the output voltage of each power supply unit is configured, the output terminals of these units are connected in parallel to power the equipment. To achieve load balancing (current sharing) among the power supply units, a current sharing bus is designed to control the current sharing of each power supply unit in normal operation. This current sharing bus is a common connection line used to connect the output current sampling voltage of all parallel power supply units. In this way, the voltage on the current sharing bus represents the average output current of all parallel power supply units. Current sharing control means that each power supply unit connected in parallel outputs the same load. The MCU can read the output current of each power supply unit via the PMBUS bus and then adjust the output voltage of each power supply unit by comparing the output current of each unit with the average current on the current sharing bus to achieve consistency in the output current of each power supply unit. Therefore, the voltage of the current sharing bus directly reflects the average current value of all normally operating power supply units that are outputting the voltage required by the equipment. The average current I of the power supply unit can be obtained by detecting the voltage of the current sharing bus. share .
[0101] It should be noted that the processor's current sharing function based on the current sharing bus will only be enabled after the output voltage of all power supply units in the redundant power supply system has been configured or adjusted. During the process of grouping working units and backup redundant units, adjusting some working units to dynamic redundant units, waking up backup redundant units, and waking up dynamic redundant units, this current sharing function needs to be disabled. Specifically, the MCU can issue instructions through the PMBUS bus to close the corresponding output current read register and stop reading the output current of each power supply unit to disable the current sharing function.
[0102] Specifically, using a current-sharing bus can achieve balanced load operation, improve the efficiency and reliability of the entire redundant power supply system, and reduce the impact of load changes on the redundant power supply system, thus enabling optimized load control. At the same time, the current-sharing bus can also effectively detect the output current of the power supply unit, thereby enabling the detection of the power supply unit's load rate and facilitating the implementation of dynamic redundancy control strategies.
[0103] In some embodiments, selecting a plurality of power supply units from the working units as dynamic redundancy units includes:
[0104] Determine the number of working units currently being powered and the total output current of all working units;
[0105] Calculate the ratio between the total current value and the preset current, and determine the target number of power supply units that need to operate at this time based on the ratio.
[0106] The difference between the number of units and the target number is used as the number of dynamic redundant units to be selected.
[0107] If the number selected is less than the number of units, then select the number of power supply units from the working units as dynamic redundancy units;
[0108] If the number of selected units is not less than the number of units, then one power supply unit is reserved as a working unit, and the remaining working units are all determined as dynamic redundant units.
[0109] After selecting several power supply units as dynamic redundancy units from the working units, the following is also included:
[0110] If the load rate of the working unit is greater than the second preset value, the output voltage of several power supply units in the dynamic redundancy unit will be adjusted from the second backup voltage to the voltage required by the equipment.
[0111] Understandably, when the device load is too low, the difference between the current output current of the power supply unit and the preset current corresponding to the ideal load rate can be calculated to determine which dynamic redundant units need to be put into sleep mode. However, even if the device load is very low, one power supply unit still needs to be retained as a working unit to ensure that the device can receive normal power supply voltage. When the device load increases, one dynamic redundant unit can be woken up first, and the device load rate can be repeatedly judged. If the load rate is still too high, another dynamic redundant unit can be woken up until the device load rate is less than the second preset value or all dynamic redundant units have been woken up. The specific value of the second preset value is not particularly limited here. It can be determined according to the actual relationship between the conversion efficiency of the power supply unit and the load rate to ensure that the load rate of the normally operating power supply unit can be maintained at an appropriate level and operate in the optimal efficiency range.
[0112] As a specific embodiment, taking a power supply unit load rate of not less than 50% as an example, when I share <0.5I max When the maximum output current of the power supply unit is reached, it indicates that the load rate of each normally operating power supply unit is below 50%, and it is not operating within its optimal efficiency range. Therefore, it is necessary to keep some power supply units in sleep mode as dynamic redundancy units, so that the normally operating power supply units operate within their optimal efficiency range. This can be achieved by calculating k*I. share =0.5I max To determine the number of power supply units that need to operate normally to maintain a 50% load rate, we can obtain k = At this point, ik power supply units out of the i power supply units that serve as working units need to go into sleep mode, i.e., j=ik, so that the load rate of the k power supply units at the final normal operating point can be greater than 50%. When the calculated result of k is not a positive integer, a value greater than k can be determined as the final value of k, or a positive integer closest to k can be determined as the final value of k.
[0113] Specifically, the number of power supply units that need to be in hibernation in dynamic redundancy units can be calculated and determined, thereby improving the accuracy and reliability of the dynamic redundancy control process, ensuring that the load rate of the normally operating power supply units is greater than the first preset value, so that the normally operating power supply units operate in the optimal efficiency range, and improving the power conversion efficiency of the redundant power supply system during periods of low equipment configuration or low business hours.
[0114] See Figure 3 As shown, Figure 3 This is a schematic diagram of a control device for a power supply unit provided in an embodiment of the present invention. To solve the above-mentioned technical problems, this embodiment of the present invention also provides a control device for a power supply unit, applied to a processor in a redundant power supply system. The redundant power supply system further includes N power supply units, the output terminals of the N power supply units are connected in parallel, and the common connection point of the parallel connection is connected to the power supply terminal of the device. The control terminal of the power supply unit is connected to the output terminal of the processor, where N is a positive integer. The control device for the power supply unit includes:
[0115] The work partitioning unit 11 is used to select i power supply units out of N power supply units as working units, and the remaining Ni power supply units as backup redundancy units; i is a positive integer, and i < N;
[0116] The first voltage configuration unit 12 is used to configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the device, so as to supply power to the device.
[0117] The second voltage configuration unit 13 is used to configure the output voltage of the power supply unit, which serves as a backup redundancy unit, as a first backup voltage; the first backup voltage is less than the voltage required by the device.
[0118] In some embodiments, it also includes:
[0119] The wake-up target determination unit is used to select A power supply units as wake-up units from the backup redundancy unit if A power supply units in the working unit fail; A is a positive integer and A < i.
[0120] The first wake-up unit is used to adjust the output voltage of the unit to be woken up from the first backup voltage to the voltage required by the device.
[0121] In some embodiments, the processor is connected to the power supply unit via a power management bus; the first voltage configuration unit 12 includes:
[0122] The first voltage configuration subunit is used to write the binary value corresponding to the device's required voltage into a preset register of the power management bus connected to the working unit;
[0123] The second voltage configuration unit 13 includes:
[0124] The second voltage configuration subunit is used to write the binary value corresponding to the first backup voltage into a preset register of the power management bus connected to the backup redundancy unit.
[0125] In some embodiments, it also includes:
[0126] The load rate judgment unit is used to detect the load rate of the working unit and determine whether the load rate of the working unit is less than the first preset value; if so, the dynamic redundancy setting unit is triggered.
[0127] The dynamic redundancy setting unit is used to select several power supply units as dynamic redundancy units from the working units;
[0128] A dynamic redundancy voltage configuration unit is used to configure the output voltage of the dynamic redundancy unit as a second backup voltage; the second backup voltage is less than the equipment requirement voltage and greater than the first backup voltage.
[0129] In some embodiments, the load rate determination unit includes:
[0130] The average current determination unit is used to determine the average current value of the output current of all working units;
[0131] The load rate judgment subunit is used to determine whether the average current is less than the preset current. The preset current is the product of the maximum output current of the power supply unit and the first preset value. If it is, the first judgment unit is triggered; if not, the second judgment unit is triggered.
[0132] The first determination unit is used to determine that the load rate of the working unit is less than a first preset value;
[0133] The second determination unit is used to determine that the load rate of the working unit is not less than the first preset value, and to re-trigger the average current determination unit.
[0134] In some embodiments, the output current sampling terminals of all power supply units are connected to the current detection terminal of the processor via a current sharing bus; the average current determination unit includes:
[0135] The average current determination subunit is used to read the bus voltage of the current sharing bus and determine the bus voltage as the average current of the output current of all working units.
[0136] In some embodiments, the dynamic redundancy setting unit includes:
[0137] The total current calculation unit is used to determine the number of working units currently being powered and the total output current of all working units.
[0138] The target number calculation unit is used to calculate the ratio between the total current value and the preset current, and to determine the target number of power supply units that need to work at the current time.
[0139] The dynamic redundancy unit number determination unit is used to calculate the difference between the unit number and the target number, and use the difference as the number of dynamic redundancy units to be selected.
[0140] The first dynamic redundancy setting subunit is used to select a number of power supply units as dynamic redundancy units from the working units if the selected number is less than the number of units.
[0141] The second dynamic redundancy setting subunit is used to reserve one power supply unit as a working unit and determine the remaining working units as dynamic redundancy units if the number of selected units is not less than the number of units.
[0142] Also includes:
[0143] The second wake-up unit is used to adjust the output voltage of several power supply units in the dynamic redundancy unit from the second backup voltage to the voltage required by the equipment if the load rate of the working unit is greater than the second preset value.
[0144] For a description of the features in the control device of the power supply unit provided in the embodiments of the present invention, please refer to the relevant description of the embodiments of the control method of the power supply unit, which will not be repeated here.
[0145] See Figure 4 As shown, Figure 4 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. To solve the above-mentioned technical problems, an embodiment of the present invention also provides an electronic device, comprising:
[0146] Memory 60 is used to store computer programs;
[0147] The processor 61 is used to execute a computer program to implement the steps of the control method for the power supply unit as described in the above embodiments.
[0148] The electronic devices provided in this embodiment may include, but are not limited to, smartphones, tablets, laptops, or desktop computers.
[0149] The processor 61 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 61 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 61 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 61 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.
[0150] The memory 60 may include one or more computer-readable storage media, which may be non-transitory. The memory 60 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 60 is used to store at least the following computer program 601, which, after being loaded and executed by the processor 61, is capable of implementing the relevant steps of the power supply unit control method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 60 may also include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. The operating system 602 may include Windows, Unix, Linux, etc. The data 603 may include, but is not limited to, data in the power supply unit control method.
[0151] In some embodiments, the electronic device may further include a display screen 62, an input / output interface 63, a communication interface 64, a power supply 65, and a communication bus 66.
[0152] Those skilled in the art will understand that Figure 4 The structures shown do not constitute a limitation on electronic devices and may include more or fewer components than those shown.
[0153] For a description of the features in the electronic device provided in the embodiments of the present invention, please refer to the relevant description of the embodiments of the control method of the power supply unit, which will not be repeated here.
[0154] It is understood that if the power supply unit control method in the above embodiments is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the current technology, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods in the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drive, mobile hard drive, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk, or optical disk, and other media capable of storing program code.
[0155] Based on this, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power supply unit control method described above.
[0156] For a description of the features in the computer-readable storage medium provided in the embodiments of the present invention, please refer to the relevant description of the embodiments of the control method of the power supply unit, which will not be repeated here.
[0157] This invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the power supply unit control method described in the above embodiments.
[0158] For a description of the features in the computer program product provided in the embodiments of the present invention, please refer to the relevant description of the embodiments of the control method of the power supply unit, which will not be repeated here.
[0159] The foregoing has provided a detailed description of a control method, apparatus, electronic device, and storage medium for a power supply unit according to embodiments of the present invention. The various embodiments are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0160] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0161] The control method, apparatus, electronic device, and storage medium for a power supply unit provided by the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of the present invention. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the present invention.
Claims
1. A control method for a power supply unit, characterized in that, A processor is applied to a redundant power supply system, wherein the redundant power supply system further includes N power supply units, the output terminals of the N power supply units are connected in parallel, and the common connection point of the parallel connection is connected to the power supply terminal of the device, and the control terminal of the power supply unit is connected to the output terminal of the processor, where N is a positive integer; The control method for the power supply unit includes: Select i power supply units out of N power supply units as working units, and use the remaining Ni power supply units as backup redundant units; i is a positive integer, and i < N; The output voltage of the power supply unit, which serves as the working unit, is configured to meet the device's required voltage to power the device. The output voltage of the power supply unit serving as the backup redundancy unit is configured as a first backup voltage; the first backup voltage is less than the required voltage of the device and greater than the minimum operating voltage of the device; wherein, the backup redundancy unit is in a state where the power supply is working normally and does not output current; The processor is connected to the power supply unit via a power management bus; Configuring the output voltage of the power supply unit, which serves as the working unit, to meet the device's required voltage includes: Write the binary value corresponding to the device's required voltage into a preset register of the power management bus connected to the working unit; Configuring the output voltage of the power supply unit serving as the backup redundancy unit as the first backup voltage includes: Write the binary value corresponding to the first backup voltage into the preset register of the power management bus connected to the backup redundancy unit; Also includes: If A power supply units in the working unit fail, then A power supply units are selected from the backup redundancy unit as the units to be woken up; A is a positive integer, and A < i; Adjust the output voltage of the unit to be woken up from the first backup voltage to the voltage required by the device; Also includes: The load rate of the working unit is detected, and it is determined whether the load rate of the working unit is less than a first preset value; If so, then select several power supply units from the working units as dynamic redundancy units; The output voltage of the dynamic redundancy unit is configured as a second backup voltage; the second backup voltage is less than the required voltage of the device, and the second backup voltage is greater than the first backup voltage.
2. The control method for the power supply unit as described in claim 1, characterized in that, Detecting the load rate of the working unit and determining whether the load rate of the working unit is less than a first preset value includes: Determine the average current value of the output current of all the aforementioned working units; Determine whether the average current is less than a preset current, wherein the preset current is the product of the maximum output current of the power supply unit and a first preset value; If so, the load rate of the working unit is determined to be less than the first preset value; If not, it is determined that the load rate of the working unit is not less than the first preset value, and the process jumps back to the step of determining the average current of the output current of all the working units.
3. The control method for the power supply unit as described in claim 2, characterized in that, The output current sampling terminals of all the power supply units are connected to the current detection terminals of the processor via a current sharing bus. Determine the average current value of the output current of all the said working units, including: Read the bus voltage of the current sharing bus and determine the bus voltage as the average current of the output current of all the working units.
4. The control method for the power supply unit as described in claim 2, characterized in that, Several power supply units are selected from the working units as dynamic redundancy units, including: Determine the number of working units currently supplying power and the total output current value of all said working units; Calculate the ratio between the total current value and the preset current, and determine the ratio as the target number of power supply units that need to operate. The difference between the number of units and the target number is used as the number of dynamic redundant units to be selected. If the number of selections is less than the number of units, then select the number of power supply units from the working units as dynamic redundancy units; If the number of selections is not less than the number of units, then one power supply unit is reserved as a working unit, and the remaining working units are all determined as dynamic redundant units. After selecting several power supply units as dynamic redundancy units from the aforementioned working units, the method further includes: If the load rate of the working unit is greater than the second preset value, the output voltage of several power supply units in the dynamic redundancy unit will be adjusted from the second backup voltage to the voltage required by the equipment.
5. A control device for a power supply unit, characterized in that, A processor is applied to a redundant power supply system, wherein the redundant power supply system further includes N power supply units, the output terminals of the N power supply units are connected in parallel, and the common connection point of the parallel connection is connected to the power supply terminal of the device, and the control terminal of the power supply unit is connected to the output terminal of the processor, where N is a positive integer; The control device for the power supply unit includes: The working division unit is used to select i power supply units out of N power supply units as working units, and the remaining Ni power supply units as backup redundancy units; i is a positive integer, and i < N; The first voltage configuration unit is used to configure the output voltage of the power supply unit, which serves as the working unit, to the voltage required by the device, so as to supply power to the device; The second voltage configuration unit is used to configure the output voltage of the power supply unit, which serves as the backup redundancy unit, as a first backup voltage; the first backup voltage is less than the required voltage of the device and greater than the minimum operating voltage of the device; wherein the backup redundancy unit is in a state where the power supply is working normally and does not output current; The processor is connected to the power supply unit via a power management bus; Configuring the output voltage of the power supply unit, which serves as the working unit, to meet the device's required voltage includes: Write the binary value corresponding to the device's required voltage into a preset register of the power management bus connected to the working unit; Configuring the output voltage of the power supply unit serving as the backup redundancy unit as the first backup voltage includes: Write the binary value corresponding to the first backup voltage into the preset register of the power management bus connected to the backup redundancy unit; The control device of the power supply unit is also used for: If A power supply units in the working unit fail, then A power supply units are selected from the backup redundancy unit as the units to be woken up; A is a positive integer, and A < i; Adjust the output voltage of the unit to be woken up from the first backup voltage to the voltage required by the device; The control device of the power supply unit is also used for: The load rate of the working unit is detected, and it is determined whether the load rate of the working unit is less than a first preset value; If so, then select several power supply units from the working units as dynamic redundancy units; The output voltage of the dynamic redundancy unit is configured as a second backup voltage; the second backup voltage is less than the required voltage of the device, and the second backup voltage is greater than the first backup voltage.
6. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the control method for the power supply unit as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the control method for the power supply unit as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Spare control system of redundant power
CN205335844U