Power supply voltage adjusting method, device, equipment and medium
By introducing a controller into the PSU, it is possible to detect whether the voltage and current output of the PSU meet the preset requirements and adjust the central output voltage of the PSU according to the detection results, which solves the problem that the PSU output voltage cannot be adjusted adaptively, and improves the safety and reliability of the equipment.
Patent Information
- Application Number
- CN202510175902.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-06-06
Smart Images

Figure CN120103955A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a power supply voltage adjustment method, device, equipment and medium. Background Art
[0002] With the development of technologies such as artificial intelligence, the Internet, and cloud computing, the demand for server computing power has increased dramatically, and the peak power consumption of various computing inference chips and graphics processing unit (GPU) accelerator cards has also increased accordingly.
[0003] In the prior art, although the power output voltage standard in the Intel CRPS design specification is 12.0V, when the power consumption of the server increases, the server's power supply printed circuit board (PCB) or power supply cable will have a large voltage line loss. Therefore, in order to compensate for this part of the voltage line loss, the current common power supply unit (PSU) center output voltage has mostly been increased to 12.2V, thereby ensuring the normal operation of the back-end motherboard voltage conversion chip and system. According to the high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIe), some mainstream GPU manufacturers have adjusted the maximum power supply voltage range of the power supply connector of multiple GPU cards from 11.04V to 12.96V to 11.04V to 12.6V. Due to the characteristics of the PSU, when the GPU card is doing large load jumps such as Electrical Date Peak Processing (EDPP), in order to ensure the normal operation of the GPU card, the instantaneous load of the PSU may reach more than 150%, and it is very likely that the output voltage range will exceed 12.6V. According to the requirements of the GPU card specifications, if the power supply voltage is above 12.6V for a long time, it may cause certain damage to the GPU card, reducing the reliability and security of the GPU server or GPU BOX system.
[0004] If the central output voltage of the PSU is further reduced from 12.2V to the previous 12.0V, the disadvantage of this solution is that under dynamic conditions such as non-GPU EDPP or non-GPU BOX systems, such as under a simple heavy load, the voltage drop generated after the 12.0V current is relatively large, which is equivalent to reducing the versatility and universality of the power supply. It may not guarantee the normal operation of the subsequent motherboard voltage conversion chip and system, so it is not recommended.
[0005] Therefore, how to adaptively adjust the central output voltage of the PSU becomes an urgent problem to be solved. Summary of the invention
[0006] The embodiments of the present application provide a power supply voltage adjustment method, device, equipment and medium to solve the problem in the prior art that the central output voltage of a PSU cannot be adaptively adjusted, resulting in the central output voltage of the PSU having different disadvantages at different voltage values.
[0007] In a first aspect, an embodiment of the present application provides a power supply voltage adjustment method, the method comprising:
[0008] When the controller determines that the output of the power supply PSU does not meet the preset requirements, the controller controls the central output voltage of the PSU to be reduced to a first preset voltage value; wherein, the output does not meet the preset requirements and includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length.
[0009] In the above manner, the controller detects the output of the PSU. When it is determined that the frequency at which the voltage output by the PSU is greater than the preset voltage reaches a first frequency threshold, and / or the jump amplitude of the PSU output current is greater than the first jump threshold within a first preset time length, the controller controls the central output voltage of the PSU to be reduced to the first preset voltage threshold, thereby preventing the output of the PSU from exceeding the rated voltage range of the board connected to it, avoiding damage to the board powered by it, and thereby improving the safety and reliability of equipment operation.
[0010] In a possible implementation, the method further includes:
[0011] When the controller determines that the frequency that the voltage of the power supply connector of any GPU powered by the PSU is greater than the preset voltage reaches a second frequency threshold, the controller controls the central output voltage of the PSU to decrease to the first preset voltage value.
[0012] In the above manner, the controller detects the voltage of the power supply connector of each GPU powered by the PSU, and more intuitively detects the voltage provided to the GPU, thereby improving the accuracy of power supply voltage control.
[0013] In a possible implementation, the method further includes:
[0014] When the controller determines that the PSU meets the voltage recovery condition, the controller controls the central output voltage of the PSU to be increased to a second preset voltage value; wherein the voltage recovery condition includes at least one of the following: PSU restart, the PSU output current jump amplitude is less than the second jump threshold within a second preset time length, and the first preset voltage value is less than the second preset voltage value.
[0015] Through the above method, the controller detects in real time whether the PSU meets the voltage recovery condition. When it is determined that the PSU meets the voltage recovery condition, the central output voltage of the PSU is controlled to be increased to a second preset voltage value, thereby realizing adaptive adjustment of the output voltage of the PSU, thereby improving the power supply operation efficiency and improving economy.
[0016] In a possible implementation manner, the controller is a power controller of the PSU, or a baseboard management controller BMC, or a complex programmable logic device CPLD.
[0017] Through the above method, the controller configured for power supply voltage adjustment can be a variety of different devices, thereby achieving diversity in power supply voltage adjustment and being applicable to a variety of scenarios.
[0018] In a possible implementation manner, if the controller is a baseboard management controller BMC, controlling the central output voltage of the PSU to decrease to a first preset voltage value includes:
[0019] The baseboard management controller BMC sends a voltage adjustment instruction to the power controller of the PSU through I2C communication, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value.
[0020] Through the above method, the BMC is used as a controller to realize I2C communication between the BMC and the power controller of the PSU. When adjusting the central output voltage, the BMC sends a software voltage adjustment instruction to the power controller of the PSU through I2C, thereby realizing the control of the central output voltage of the PSU by software communication.
[0021] In a possible implementation manner, if the controller is a complex programmable logic device (CPLD), controlling the central output voltage of the PSU to decrease to a first preset voltage value includes:
[0022] The complex programmable logic device CPLD sends a hardware level signal to the power controller of the PSU, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value according to the hardware level signal.
[0023] Through the above method, the CPLD is used as a controller to achieve hardware level communication between the CPLD and the power controller of the PSU. When adjusting the central output voltage, the CPLD sends a hardware voltage adjustment instruction to the power controller of the PSU by sending a level signal, thereby realizing the control of the central output voltage of the PSU by hardware communication.
[0024] In a second aspect, the embodiment of the present application further provides a power supply voltage adjustment device, which has the function of implementing the behavior of the device in the method embodiment of the first aspect above, and the beneficial effects can be referred to the description of the first aspect and will not be repeated here. The power supply voltage adjustment device includes:
[0025] A determination module, used for the controller to determine whether the output of the power supply PSU does not meet the preset requirements;
[0026] A control module is used to control the central output voltage of a power supply unit (PSU) to be reduced to a first preset voltage value when it is determined that the output of the PSU does not meet the preset requirements; wherein, the output does not meet the preset requirements and includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than a first jump threshold within a first preset time length.
[0027] In a third aspect, an embodiment of the present application further provides an electronic device, which includes at least a processor and a memory, and the processor is used to implement the steps of the power supply voltage adjustment method as described in any one of the above items when executing a computer program stored in the memory.
[0028] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power supply voltage adjustment method as described in any one of the above items.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the steps of the power supply voltage adjustment method as described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 A schematic diagram of a power supply voltage adjustment process provided in an embodiment of the present application;
[0032] Figure 2 A schematic diagram of a power supply voltage adjustment process in a software communication method provided in an embodiment of the present application;
[0033] Figure 3A schematic diagram of a power supply voltage adjustment process of a hardware communication method provided in an embodiment of the present application;
[0034] Figure 4 A schematic diagram of a power supply voltage adjustment process provided in an embodiment of the present application;
[0035] Figure 5 A schematic diagram of the structure of a power supply voltage adjustment device provided in an embodiment of the present application;
[0036] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0038] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.
[0039] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0040] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0041] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0042] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0043] For ease of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are intended to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
[0044] With the development of artificial intelligence, the Internet, cloud computing and other technologies, the demand for server computing power has increased sharply, and the peak power consumption of various computing reasoning chips and GPU acceleration cards has also increased accordingly. Therefore, based on the general server, some pure GPU BOX system designs have been derived, that is, the power consumption unit inside the GPU BOX system chassis is only the GPU card (air-cooling design includes fans and other components), as well as the necessary cables and boards. Based on this design, the general server is the host and communicates with the GPU BOX system through cables. In other words, the GPU BOX system separates N GPU units and supporting power supply and cooling units from the conventional GPU server, places them in a separate chassis, and then communicates with another server HOST through various cables. It can be seen that compared with ordinary servers, the power consumption of the GPU BOX system is mainly consumed by the GPU card and the fan, and according to the EDPP characteristics of the GPU, the PSU operation of the GPU BOX system becomes a long-term, large-jump dynamic load type working state, so the output voltage of the PSU will also jump sharply with the sudden increase or decrease of the load. When the power consumption of the server increases, the PCB board or power supply cable of the server will have a large voltage line loss. Therefore, in order to compensate for this part of the voltage line loss, the central output voltage of the current general PSU has been mostly increased to 12.2V. According to the requirements of PCIe, some mainstream GPU manufacturers have adjusted the maximum supply voltage range of the power supply connector of multiple GPU cards from 11.04~12.96V to 11.04V~12.6V. Even under large dynamic conditions such as EDPP, this power supply voltage must meet this range during the entire working condition or test operation. Because when the GPU card is doing a large load jump such as EDPP, the instantaneous load of the PSU that powers it may reach more than 150%. Therefore, the PSU is likely to have an output voltage range exceeding 12.6V. According to the requirements of the GPU card specifications, if the power supply voltage is above 12.6V for a long time, it may cause certain damage to the GPU card, reducing the reliability and safety of the server or GPU BOX operation.
[0045] Regarding the above voltage over-specification situation, there is no efficient solution after searching the current literature. In order to adjust the central output voltage of the PSU in the related art, a solution is often adopted: increasing the output capacitance inside the PSU, and adding capacitance near the port of the GPU power line and the PCIe slot, enhancing the energy storage and filtering capabilities of the system, and reducing the jump amplitude of the PSU output voltage under large dynamic loads. However, this solution not only increases the cost, but also needs to consider the capacitor layout space of the motherboard and the capacitor space inside the PSU. In addition, experimental tests show that adding a small amount of capacitance has a relatively small impact on the power supply voltage of the GPU power supply connector, so the overall benefit is extremely small, but if a large amount of capacitance is added, it may cause the power supply to have capacitive load capacity that is not satisfied. Moreover, how much capacitance needs to be added and where it is added for good effect, all need to be based on actual tests. In addition, the general server or GPU BOX that has been used in the computer room is basically impossible to change, so the applicability is also very low. At the same time, under continuous cycle charge and discharge, the reliability and life of the capacitor also need to be considered separately. Even if the cost issue is not considered, the volume and packaging of the capacitor used for energy storage are generally large. In view of the space inside the motherboard and PSU power supply, a large amount of capacitance is not allowed to be added.
[0046] In order to adjust the power supply voltage in the prior art, the system may also be over-configured for power supply. For example, if a 2000W power supply is originally configured, but the voltage is found to exceed 12.6V during testing, it is replaced with a 2400W / 2700W power supply. Since the power supply capacity and load capacity are increased, it is easier to meet the 12.6V requirement. However, the price will increase, and due to the over-configuration of power, the efficiency of the actual working load point of the power supply will decrease, resulting in more energy consumption.
[0047] The embodiment of the present application provides a power supply voltage adjustment method, device, equipment and medium, in which the controller controls the central output voltage of the power supply PSU to be reduced to a first preset voltage value when determining that the output of the power supply PSU does not meet the preset requirements; wherein the output does not meet the preset requirements includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the jump amplitude of the PSU output current is greater than the first jump threshold within a first preset time length. In the embodiment of the present application, the controller detects the output of the PSU, and when it is determined that the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and / or the jump amplitude of the PSU output current is greater than the first jump threshold within a first preset time length, the controller controls the central output voltage of the PSU to be reduced to the first preset voltage threshold, thereby preventing the output of the PSU from exceeding the rated voltage range of the board connected to it, avoiding the damage of the output of the PSU to the board powered by it, and thereby improving the safety and reliability of the operation of the equipment.
[0048] Before introducing the power supply voltage adjustment method provided in the embodiment of the present application, in order to facilitate understanding, some terms involved in the embodiment of the present application are first explained below.
[0049] PSU: Power Supply Unit. In the embodiments of the present application, PSU may refer to a server power module, including a CRPS power supply, a SLIM power supply, an ATX power supply, and all power modules that supply power to the server system.
[0050] Remote sense: refers to the remote feedback signal of the PSU output voltage, which is used to offset and compensate for the voltage drop caused by large current flowing through the conductor, and serves as one of the references for output voltage adjustment.
[0051] EDPP: Electrical Data Peak Processing. Refers to a continuous dynamic load waveform of a GPU card, where the peak power consumption or current is much higher than the rated value. It also refers to a peak output operating mode that a PSU can support.
[0052] MCU: Microcontroller Unit. In the present application, it refers to the chip inside the PSU that controls the power supply, can receive remote sense signals, issue voltage regulation instructions, etc.
[0053] Dynamic load: refers to the load jumping over time. The power can be depicted as a periodic or non-periodic curve. The load of the PSU changes over time.
[0054] Center output voltage: generally refers to the normal value of the PSU output voltage. During calibration, it is based on the voltage value at the gold finger end when the PSU is half-loaded.
[0055] Output voltage: refers to the voltage value output by the PSU, which is used to drive the load or provide the required voltage level. The output voltage may vary depending on the load, because in actual applications, the output voltage will be affected by the load and produce a voltage drop.
[0056] Embodiment 1:
[0057] In order to achieve adaptive voltage adjustment, a power supply voltage adjustment method is provided in an embodiment of the present application. The method includes:
[0058] When the controller determines that the output of the PSU does not meet the preset requirements, the controller controls the central output voltage of the PSU to be reduced to a first preset voltage value; wherein, the output does not meet the preset requirements includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length.
[0059] The power supply voltage adjustment method provided in the embodiment of the present application is applied to a controller in an electronic device, and the electronic device may be a computer (Personal Computer, PC), a server, etc.
[0060] In order to achieve adaptive adjustment of the output voltage of the PSU, in an embodiment of the present application, the controller in the electronic device can monitor the output of the PSU in the electronic device in real time. When it is determined that the output of the PSU does not meet the preset requirements, the controller can control the central output voltage of the PSU to decrease to a first preset voltage value, thereby ensuring that the output voltage of the PSU meets the voltage range required by the board powered by it. The controller can be a power controller of the PSU.
[0061] In a possible implementation, when the controller determines that the frequency at which the voltage output by the PSU is greater than the preset voltage reaches a first frequency threshold, it can be determined that the output of the PSU does not meet the preset requirements. Specifically, the controller can detect the main output voltage of the PSU in real time based on the voltage sensor. If the reported value of the voltage sensor exceeds the theoretical value of the maximum power supply voltage of the GPU for multiple times within the set first time length, it can be determined that the output of the PSU does not meet the preset requirements. Exemplarily, the set first time length can be 30 seconds, 1 minute, 3 minutes, etc. For example, if the reported value of the voltage sensor exceeds 12.6V twice within 30 seconds, it can be determined that the output of the PSU does not meet the preset requirements.
[0062] In a possible implementation, when the controller determines that the jump amplitude of the PSU output current is greater than the first jump threshold within the first preset time length, it can be determined that the output of the PSU does not meet the preset requirements. That is, when the controller determines that the PSU output current is in continuous jump within the first preset time length, and each jump amplitude is greater than the first jump threshold, it can be determined that the output of the PSU does not meet the preset requirements. Exemplarily, the first jump threshold can be any decimal, such as 0.5, 0.7, 80%, 75%, etc. Specifically, if within 1 minute, the PSU output current is in continuous jump, and each jump amplitude reaches more than 60%, it can be determined that the output of the PSU does not meet the preset requirements. The jump amplitude reaching 60% can be understood as the output current of the PSU jumping from 20% of the rated current to 80% of the rated current.
[0063] In a possible implementation, when the controller determines that the frequency at which the voltage output by the PSU is greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length, it can be determined that the output of the PSU does not meet the preset requirements.
[0064] When the controller determines that the output of the PSU does not meet the preset requirements, it means that the output of the PSU may exceed the rated range of the GPU powered by it. In order to prevent the output of the PSU from exceeding the rated range of the GPU for a long time, in an embodiment of the present application, the controller can control the central output voltage of the PSU to be reduced to a first preset voltage value. Among them, the first preset voltage value can be any voltage value less than the current central output voltage. Assuming that the current central output voltage of the PSU is 12.2V, then the first preset voltage value can be 12.0V. Specifically, when the central output voltage needs to be adjusted, the PSU software logic can be triggered, and the power controller inside the PSU can reduce the central output voltage of the PSU to 12.0V by adjusting the drive signal, such as adjusting the voltage reference value, duty cycle, drive frequency, etc.
[0065] In order to further achieve reasonable adjustment of the power supply voltage, in the embodiment of the present application, the correspondence between different output voltage values and different central output voltage values can be pre-saved. After determining that the output of the PSU does not meet the preset requirements, before reducing the central output voltage of the PSU to the first preset voltage value, the output voltage of the PSU when it is determined that the output of the PSU does not meet the preset requirements can be obtained, and based on the current output voltage and the pre-saved correspondence between different output voltage values and different central output voltage values, the target central output voltage value corresponding to the output voltage of the PSU when the output does not meet the preset requirements is determined, and the target central output voltage value is determined as the first preset voltage value. It should be noted that the pre-saved correspondence between different output voltages and different central output voltage values can be configured by technicians in this field as needed. And the central output voltage values corresponding to multiple different output voltages can be the same.
[0066] In an embodiment of the present application, the controller detects the output of the PSU. When it is determined that the frequency at which the voltage output by the PSU is greater than the preset voltage reaches a first frequency threshold, and / or the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length, the controller controls the central output voltage of the PSU to be reduced to the first preset voltage threshold, thereby preventing the output of the PSU from exceeding the rated voltage range of the board connected to it, avoiding damage to the board powered by it, and thereby improving the safety and reliability of the equipment operation.
[0067] The power supply voltage adjustment process is described below with reference to a specific embodiment. Figure 1A schematic diagram of a power supply voltage adjustment process provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the process includes the following steps:
[0068] S101: The controller detects whether the PSU has an output problem that does not meet preset requirements at preset time intervals, wherein the output does not meet the preset requirements includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length.
[0069] S102: When it is determined that the output of the PSU does not meet the preset requirement, the controller controls the central output voltage of the PSU to decrease to a first preset voltage value.
[0070] Embodiment 2:
[0071] In order to improve the accuracy of power supply voltage adjustment, based on the above embodiment, in the embodiment of the present application, the method further includes:
[0072] When the controller determines that the frequency that the voltage of the power supply connector of any GPU powered by the PSU is greater than the preset voltage reaches a second frequency threshold, the controller controls the central output voltage of the PSU to decrease to the first preset voltage value.
[0073] Since the PSU is connected to the power supply connector of the GPU in the circuit that supplies power to the GPU, the presence of the power supply connector will cause voltage loss during the period when the PSU supplies power to the GPU. For example, the output voltage of the PSU is 12.16V, and the voltage supplied to the GPU after the output voltage of the PSU passes through the power supply connector may be 12.13V. If the voltage value after the voltage loss is still greater than the rated voltage of the GPU, then the output voltage of the PSU must be greater than the rated voltage of the GPU. If the voltage value after the voltage loss is not greater than the rated voltage of the GPU, then the output voltage of the PSU may be greater than the rated voltage of the GPU, or may not be greater than the rated voltage of the GPU. Therefore, in order to further improve the accuracy of the power supply voltage adjustment, in an embodiment of the present application, the controller can also detect in real time the voltage of the device closer to the GPU in the circuit that supplies power to the GPU. For example, the controller detects in real time the voltage of the power supply connector of any GPU powered by the PSU. If the frequency of the voltage being greater than the preset voltage reaches the second frequency threshold, the central output voltage of the PSU can be controlled to decrease by the first preset voltage value.
[0074] Specifically, the built-in voltage sensor of the electronic device can be used to detect the voltage of the power supply connector of each GPU. When the reported value of the voltage sensor detecting the power supply connector of any GPU exceeds 12.6V for a set number of times within a set second time length, the controller can control the central output voltage of the PSU to be reduced to a first preset voltage value. For example, if it exceeds 12.6V twice within 30 seconds, the controller can control the central output voltage of the PSU to be reduced to the first preset voltage value. When controlling the central output voltage of the PSU to be reduced to the first preset voltage value, the controller can send a voltage adjustment instruction to the PSU. If the voltage of the power supply connector continues to exceed 12.6V, the controller can continue to send voltage adjustment instructions. If the voltage of the power supply connector does not exceed 12.6V after the controller sends the voltage adjustment instruction to the PSU, the controller can stop sending the voltage adjustment instruction to the PSU.
[0075] In an embodiment of the present application, the controller detects the voltage of the power supply connector of each GPU powered by the PSU, and more intuitively detects the voltage provided to the GPU, thereby improving the accuracy of power supply voltage control.
[0076] Embodiment 3:
[0077] In order to achieve dynamic adjustment of the PSU output voltage, based on the above embodiments, in the embodiment of the present application, the method further includes:
[0078] When the controller determines that the PSU meets the voltage recovery condition, the controller controls the central output voltage of the PSU to be increased to a second preset voltage value; wherein the voltage recovery condition includes at least one of the following: PSU restart, the PSU output current jump amplitude is less than the second jump threshold within a second preset time length, and the first preset voltage value is less than the second preset voltage value.
[0079] Since the central output voltage of the PSU is 12.2V, the current of the entire system is small and the voltage drop is low, which is more conducive to improving the power supply operation efficiency and improving economy. Therefore, in an embodiment of the present application, after the controller adjusts the central output voltage of the PSU to a first preset voltage value, when it is determined that the PSU meets the voltage recovery condition, the central output voltage of the PSU can be increased to a second preset voltage value. Among them, the first preset voltage value is less than the second preset voltage value. Exemplarily, the first preset voltage value can be 12.0V, and the second preset voltage value can be 12.2V; the first preset voltage value can also be 11.8V, and the second preset voltage value can also be 12.1V. Those skilled in the art can configure as needed.
[0080] In the embodiment of the present application, the voltage recovery condition may include at least one of the following: PSU restart, the PSU output current jump amplitude is less than the second jump threshold within the second preset time length. The second preset time length may be the same as the first preset time length, or may be different. For example, the second preset time length may be 3 minutes, 10 minutes, 1 hour, etc. The second jump threshold is less than the first jump threshold. For example, the second jump threshold may be a smaller value such as 30%, 20%, etc.
[0081] Since the power consumption of the PSU is related to the voltage and current, in the embodiment of the present application, the controller can also detect the power consumption jump amplitude of the PSU. When it is detected that the power consumption jump amplitude of the PSU itself is continuously lower than the first jump threshold, it is determined that the PSU meets the voltage recovery condition.
[0082] In an embodiment of the present application, the controller detects in real time whether the PSU meets the voltage recovery condition. When it is determined that the PSU meets the voltage recovery condition, the central output voltage of the PSU is controlled to be increased to a second preset voltage value, thereby realizing adaptive adjustment of the output voltage of the PSU, thereby improving the power supply operation efficiency and improving economy.
[0083] Embodiment 4:
[0084] In order to achieve diversity in power supply voltage adjustment, based on the above embodiments, in an embodiment of the present application, the controller is a power controller of the PSU, or a baseboard management controller BMC, or a complex programmable logic device CPLD.
[0085] In the embodiment of the present application, the controller for detecting the output of the PSU may be a power controller of the PSU, a baseboard management controller (BMC), or a complex programmable logic device (CPLD). The power controller of the PSU may be a chip MCU that controls the operation of the power supply inside the PSU. In other words, during the process of adjusting the power supply voltage, the PSU may detect its own output, or other controllers outside the PSU may detect the output of the PSU.
[0086] In an embodiment of the present application, the controller configured for power supply voltage adjustment can be a variety of different devices, thereby achieving diversity in power supply voltage adjustment and being applicable to a variety of scenarios.
[0087] In order to adjust the central output voltage of the PSU, based on the above embodiments, in the embodiment of the present application, if the controller is a BMC, controlling the central output voltage of the PSU to be reduced to a first preset voltage value includes:
[0088] The BMC sends a voltage adjustment instruction to the power controller of the PSU through I2C communication, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value.
[0089] In order to be able to control the central output voltage of the PSU to be reduced to a first preset voltage value, in an embodiment of the present application, if the controller is a BMC, the BMC can send a voltage regulation instruction to the power controller of the PSU through an integrated circuit bus (Inter-Integrated Circuit, I2C), so that the power controller reduces the central output voltage of the PSU to the first preset voltage value.
[0090] Figure 2 A schematic diagram of a power supply voltage adjustment process in a software communication method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the server includes a PSU system and a server system, and the PSU system and the Server system are connected by cables, connectors, etc. Among them, the PSU system includes a main output unit, voltage detection, a power controller and a communication unit, and the Server system includes a GPU module and a power unit, voltage detection and a BMC controller. In order to be able to adjust the power supply voltage in time, in an embodiment of the present application, the PSU can perform its own voltage adaptive adjustment. The voltage detection module inside the PSU system detects the voltage value Vout of the main output unit in real time, and outputs feedback information V_F1 to the power controller. The power controller outputs a drive signal V_R to the main output unit based on the received feedback information V_F1. After receiving the drive signal V_R, the main output unit adjusts the central output voltage according to the drive signal V_R, and then adjusts the output voltage Vout.
[0091] While the PSU system is detecting itself, the BMC controller in the Server system can also detect in real time the voltage of the power supply connector that supplies power to the GPU. In an embodiment of the present application, the PSU can receive instructions from the Server system to perform voltage adaptive adjustment. The voltage detection unit in the Server system can detect in real time the voltage V_GPU provided to the GPU module and the power unit, and output feedback information V_F2 to the BMC controller. After receiving the feedback information V_F2, the BMC controller forms a voltage regulation signal based on V_F2, and transmits the feedback information to the communication unit of the PSU through I2C, i.e., the data signal line (SerialData, SDA) / serial clock line (Serial Clock Line, SCL). The communication unit of the PSU system sends the voltage regulation signal V_F2 to the power controller. After receiving the voltage regulation signal, the power controller generates a drive signal V_R based on the voltage regulation signal and sends it to the main output unit. Finally, the main output unit adjusts the central output voltage based on the drive signal V_R, and then adjusts the output voltage Vout.
[0092] In an embodiment of the present application, the BMC is used as a controller to implement I2C communication between the BMC and the power controller of the PSU. When adjusting the central output voltage, the BMC sends a software voltage adjustment instruction to the power controller of the PSU via I2C, thereby implementing control of the central output voltage of the PSU by software communication.
[0093] In order to adjust the central output voltage of the PSU, based on the above embodiments, in the embodiment of the present application, if the controller is a CPLD, controlling the central output voltage of the PSU to be reduced to a first preset voltage value includes:
[0094] The CPLD sends a hardware level signal to a power controller of the PSU, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value according to the hardware level signal.
[0095] In order to control the central output voltage of the PSU to be reduced to a first preset voltage value, in an embodiment of the present application, if the controller is a CPLD, data communication can be implemented between the CPLD and the PSU by means of hardware communication, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value. In an embodiment of the present application, when it is determined that the central output voltage of the PSU needs to be adjusted, the CPLD can send a hardware level signal to the power controller of the PSU, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value according to the hardware level signal.
[0096] Figure 3A schematic diagram of a power supply voltage adjustment process of a hardware communication method provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the server includes a PSU system and a Server system, and the PSU system and the Server system are connected through cables, gold fingers, etc. Among them, the PSU system includes a main output unit, voltage detection and power controller, and the Server system includes a GPU module and a power unit, voltage detection and CPLD controller. In order to be able to adjust the power supply voltage in time, in the embodiment of the present application, the PSU system can perform self-adaptive voltage adjustment, and the adaptive adjustment process is the same as Figure 2 The adaptive adjustment process of the PSU system itself is consistent, and the embodiments of the present application will not be repeated. While the PSU system is detecting itself, the CPLD controller in the Server system can also detect in real time the voltage of the power supply connector that powers the GPU. In the embodiment of the present application, the power controller of the PSU system can receive instructions issued by the Server system to perform voltage adaptive adjustment. The voltage detection unit of the Server system detects the voltage V_GPU provided to the GPU module and the power unit in real time, and outputs feedback information V_F2 to the CPLD controller. The CPLD controller is connected to the power controller level detection pin through a hardware gold finger, and the CPLD controller outputs a hardware level signal to the power controller according to the feedback information V_F2. The power controller adjusts the V_R drive signal according to the received hardware level signal and sends it to the main output unit. The main output unit adjusts the central output voltage of the PSU based on the drive signal V_R, and then adjusts the output voltage Vout, completing the adaptive voltage closed-loop adjustment of the PSU system and the Server system. Exemplarily, when the CPLD controller outputs a low level to the power controller of the PSU, the power controller of the PSU adjusts the central output voltage of the PSU to 12.2V according to the low level. When the CPLD controller outputs a high level to the power controller of the PSU, the power controller of the PSU adjusts the central output voltage of the PSU to 12.0V according to the high level.
[0097] It should be noted that according to the Intel CRPS Design Guide gold finger definition, the power controller of the CPLD and the PSU needs to occupy the gold finger resources to transmit the level signal, that is, it needs to occupy the additional pin interface of the gold finger. Table 1 is a gold finger pin definition description provided in an embodiment of the present application. Through the introduction of each pin in Table 1, it can be known that the additional pin interface of the gold finger can be occupied for level communication, such as B21 (the 21st pin on the back) / B24 / B25 and other reserved or unused pins.
[0098] Table 1
[0099]
[0100] In an embodiment of the present application, the CPLD is used as a controller to achieve hardware level communication between the CPLD and the power controller of the PSU. When adjusting the central output voltage, the CPLD sends a hardware voltage adjustment instruction to the power controller of the PSU by sending a level signal, thereby achieving control of the central output voltage of the PSU by hardware communication.
[0101] Embodiment 5:
[0102] For ease of understanding, the process of adaptively adjusting the power supply voltage is described below in conjunction with a specific embodiment. In the embodiment of the present application, the central output voltage of the PSU can be reduced or increased through the automatic voltage detection technology of the electronic device and the power supply itself, thereby meeting certain voltage range requirements of the electronic device, increasing the reliability and safety of the system, reducing the risk of card drop and damage, and improving the economy of power supply application and management. Figure 4 A schematic diagram of a power supply voltage adjustment process provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the process includes the following steps:
[0103] S401: The BMC / CPLD detects or obtains the voltage value of the power supply connector of each GPU powered by the PSU. In addition, the PSU may also detect the jump of its own output voltage value and current value.
[0104] The voltage value and the current value may be obtained based on sensors.
[0105] S402: The voltage value of the power supply connector of any GPU card is greater than 12.6V twice within the set second time length, or the PSU power controller detects that the continuous jump amplitude of the PSU's own current value is greater than 60% within the first preset time length, or the PSU power controller detects that the PSU's own output voltage value is greater than 12.6V twice within the set first time length, the BMC or CPLD sends a voltage adjustment instruction to the PSU's power controller, or the PSU power controller internally triggers the logic of reducing the central output voltage.
[0106] S403: The PSU adjusts the central output voltage to 12.0V, and detects in real time whether other voltage adjustment instructions are received.
[0107] S404: If the PSU is restarted or the current jump amplitude of the PSU itself continues to be less than 20% for one hour, and no voltage adjustment command is received during this period, the PSU adjusts the central output voltage to 12.2V.
[0108] The power supply voltage adjustment method provided by the present application achieves the following effects:
[0109] Improve the applicability and versatility of PSU, whether it is a general-purpose server or GPU BOX, the PSU output voltage can be supported. The general-purpose PSU power supply with a central output voltage of 12.2V can meet the low voltage upper limit requirements of GPU BOX models through software upgrades, while not affecting the use status in general-purpose servers.
[0110] When the GPU is in large dynamic conditions such as non-EDPP, the output voltage fluctuation range of the PSU itself is small. If the PSU voltage is only reduced from 12.20V to 12.00V, under the same system power consumption, the internal loss of the power supply will increase, the efficiency will decrease, and the economy will deteriorate. The power supply voltage adaptive adjustment method provided in this application can dynamically adjust the central output voltage of the PSU according to load changes, thereby improving the economy of the PSU application.
[0111] Since the same power supply is differentiated by 12.00V and 12.20V output voltages, each storage and production link of the enterprise must be managed according to two power supply models. Adjusting the power supply voltage based on the power supply voltage adjustment method provided in this application can reduce power management costs.
[0112] Although the PSU voltage briefly exceeding the 12.6V requirement of the GPU card will not cause substantial damage to the card, long-term overvoltage operation will pose a risk to the reliability of the system and GPU card. After the PSU adaptive output voltage adjustment is adopted, the power supply and the system both intervene in the PSU power supply to a certain extent, reducing the risk of GPU card overvoltage, thereby improving system safety and reliability.
[0113] Embodiment 6:
[0114] Based on the same technical concept, on the basis of the above embodiments, the present application provides a power supply voltage adjustment device, Figure 5 A schematic diagram of the structure of a power supply voltage adjustment device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the device comprises:
[0115] A determination module 501 is used for the controller to determine whether the output of the power supply PSU does not meet the preset requirement;
[0116] The control module 502 is used to control the central output voltage of the power supply PSU to be reduced to a first preset voltage value when it is determined that the output of the PSU does not meet the preset requirements; wherein, the output does not meet the preset requirements and includes at least one of the following items: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length.
[0117] In a possible implementation manner, the determination module 501 is further configured for the controller to determine whether a frequency at which a voltage of a power supply connector of any GPU powered by the PSU is greater than a preset voltage reaches a second frequency threshold;
[0118] The control module 502 is further used to control the central output voltage of the PSU to decrease to the first preset voltage value when it is determined that the frequency at which the voltage of the power supply connector of any GPU powered by the PSU is greater than the preset voltage reaches a second frequency threshold.
[0119] In a possible implementation manner, the determination module 501 is further used by the controller to determine whether the PSU meets a voltage recovery condition; wherein the voltage recovery condition includes at least one of the following: the PSU is restarted, the PSU output current jump amplitude is less than a second jump threshold within a second preset time length, and the first preset voltage value is less than the second preset voltage value;
[0120] The control module 502 is further configured to control the central output voltage of the PSU to be increased to a second preset voltage value when it is determined that the PSU meets a voltage recovery condition.
[0121] In a possible implementation manner, the controller is a power controller of the PSU, or a baseboard management controller BMC, or a complex programmable logic device CPLD.
[0122] In a possible implementation, if the controller is a baseboard management controller BMC, the control module 502 is specifically used for the baseboard management controller BMC to send a voltage adjustment instruction to the power controller of the PSU through I2C communication, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value.
[0123] In a possible implementation, if the controller is a complex programmable logic device CPLD, the control module 502 is specifically used for the complex programmable logic device CPLD to send a hardware level signal to the power controller of the PSU, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value according to the hardware level signal.
[0124] Embodiment 7:
[0125] Based on the same technical concept, the present application also provides an electronic device, Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 6As shown, it includes: a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other through the communication bus 604;
[0126] The memory 603 stores a computer program. When the program is executed by the processor 601, the processor 601 performs the following steps:
[0127] When it is determined that the output of the power supply PSU does not meet the preset requirements, the central output voltage of the PSU is controlled to be reduced to a first preset voltage value; wherein, the output does not meet the preset requirements and includes at least one of the following items: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the output current jump amplitude of the PSU is greater than the first jump threshold within a first preset time length.
[0128] In a possible implementation, the processor 601 is further used to control the central output voltage of the PSU to be reduced to the first preset voltage value when it is determined that the frequency at which the voltage of the power supply connector of any GPU powered by the PSU is greater than the preset voltage reaches a second frequency threshold.
[0129] In one possible embodiment, the processor 601 is also used to control the central output voltage of the PSU to be increased to a second preset voltage value when it is determined that the PSU meets the voltage recovery condition; wherein the voltage recovery condition includes at least one of the following: PSU restart, the PSU output current jump amplitude is less than the second jump threshold within a second preset time length, and the first preset voltage value is less than the second preset voltage value.
[0130] In a possible implementation, the processor 601 is a power controller of the PSU, or a baseboard management controller BMC, or a complex programmable logic device CPLD.
[0131] In a possible implementation, if the processor 601 is a baseboard management controller BMC, the processor 601 is specifically used to send a voltage adjustment instruction to the power controller of the PSU through I2C communication, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value.
[0132] In a possible implementation, if the processor 601 is a controller that is a complex programmable logic device (CPLD), the processor 601 is specifically used to send a hardware level signal to the power controller of the PSU so that the power controller reduces the central output voltage of the PSU to the first preset voltage value according to the hardware level signal.
[0133] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0134] The communication interface 602 is used for communication between the electronic device and other devices.
[0135] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0136] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it can also be a digital signal processing processor (Digital Signal Processing, DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.
[0137] Embodiment 8:
[0138] Based on the same technical concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program that can be executed by an electronic device. When the program runs on the electronic device, the electronic device implements any of the above embodiments when executing.
[0139] The above-mentioned computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor in the electronic device, including but not limited to magnetic storage such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc., optical storage such as CD, DVD, BD, HVD, etc., and semiconductor storage such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD), etc.
[0140] Based on the same technical concept, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any of the above embodiments. Since the principle of solving the problem by the above computer program product is similar to that of the power supply voltage adjustment method, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0142] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0143] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0145] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A power supply voltage adjustment method, characterized in that: The method comprises: When the controller determines that the output of the power supply PSU does not meet the preset requirements, the controller controls the central output voltage of the PSU to be reduced to a first preset voltage value; wherein, the output does not meet the preset requirements and includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than the first jump threshold within a first preset time length.
2. The method according to claim 1, characterized in that The method further comprises: When the controller determines that the frequency that the voltage of the power supply connector of any GPU powered by the PSU is greater than the preset voltage reaches a second frequency threshold, the controller controls the central output voltage of the PSU to decrease to the first preset voltage value.
3. The method according to claim 1, characterized in that: The method further comprises: When the controller determines that the PSU meets the voltage recovery condition, the controller controls the central output voltage of the PSU to be increased to a second preset voltage value; wherein the voltage recovery condition includes at least one of the following: PSU restart, the PSU output current jump amplitude is less than the second jump threshold within a second preset time length, and the first preset voltage value is less than the second preset voltage value.
4. The method according to any one of claims 1 to 3, characterized in that: The controller is a power controller of the PSU, or a baseboard management controller BMC, or a complex programmable logic device CPLD.
5. The method according to claim 4, characterized in that If the controller is a baseboard management controller BMC, controlling the central output voltage of the PSU to decrease to a first preset voltage value includes: The baseboard management controller BMC sends a voltage adjustment instruction to the power controller of the PSU through I2C communication, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value.
6. The method according to claim 4, characterized in that If the controller is a complex programmable logic device (CPLD), the step of controlling the central output voltage of the PSU to decrease to a first preset voltage value includes: The complex programmable logic device CPLD sends a hardware level signal to the power controller of the PSU, so that the power controller reduces the central output voltage of the PSU to the first preset voltage value according to the hardware level signal.
7. A power supply voltage adjustment device, characterized in that: The device comprises: A determination module, used for the controller to determine whether the output of the power supply PSU does not meet the preset requirements; A control module is used to control the central output voltage of a power supply unit (PSU) to be reduced to a first preset voltage value when it is determined that the output of the PSU does not meet the preset requirements; wherein, the output does not meet the preset requirements and includes at least one of the following: the frequency of the voltage output by the PSU being greater than the preset voltage reaches a first frequency threshold, and the PSU output current jump amplitude is greater than a first jump threshold within a first preset time length.
8. The device according to claim 7, characterized in that The determination module is further used for the controller to determine whether the frequency of the voltage of the power supply connector of any GPU powered by the PSU being greater than the preset voltage reaches a second frequency threshold; The control module is further used to control the central output voltage of the PSU to decrease to the first preset voltage value when it is determined that the frequency at which the voltage of the power supply connector of any GPU powered by the PSU is greater than the preset voltage reaches a second frequency threshold.
9. An electronic device, characterized in that: The electronic device comprises at least a processor and a memory, and the processor is used to implement the steps of the power supply voltage adjustment method according to any one of claims 1 to 6 when executing a computer program stored in the memory.
10. A computer storage medium, characterized in that: It stores a computer program executable by an electronic device. When the program runs on the electronic device, the electronic device executes the steps of the power supply voltage adjustment method according to any one of claims 1 to 6.