GPU power supply circuit and server
By using the power supply unit, power supply bus, charge and discharge unit and first capacitor in the GPU power supply circuit, the problem of the GPU being unable to effectively provide peak current is solved, a more efficient and reliable power supply is achieved, and the design complexity of the PSU is reduced. and cost.
Patent Information
- Application Number
- CN202411210899.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technology cannot effectively provide the required peak current for the GPU, resulting in a large number of PSUs, high prices, low efficiency and poor reliability.
A GPU power supply circuit is designed, including a power supply unit, a power supply bus, a charge and discharge unit and a first capacitor. When the demand current value is greater than the target current value, the energy stored in the first capacitor is used to provide current for the power supply bus to ensure that the GPU Sufficient power is obtained under peak current demand, and the current compensation and capacitor charging strategies are optimized through the control unit to improve power efficiency.
It effectively reduces the design difficulty and quantity of PSUs, improves power efficiency, reduces the maximum power and current difference of PSUs, and meets the wider operating voltage range and higher peak power requirements of GPUs.
Smart Images

Figure CN118708044A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the computer field, and specifically, to a GPU power supply circuit and a server. Background Art
[0002] Artificial Intelligence (AI) servers are servers that are specifically used to perform AI-related computing tasks, such as deep learning. AI servers usually need to have high performance, high parallelism, high scalability, and high energy efficiency to meet the needs of large-scale data processing and complex model training. At present, the graphics processing unit (GPU) has become the cornerstone of the AI large model training platform, and even the decisive computing power base. The current single GPU has a high power consumption of up to 700W, and the power of the new generation of GPUs is even as high as 100W. At the same time, in order to meet the computing needs, a single AI server requires multiple GPUs for parallel processing. At present, the total power of a single AI server is as high as 10kW. In order to further meet the requirements of high efficiency and high power density, it brings great challenges to the input power design. At the same time, the GPU in the design has peak power processing capability requirements. For example, for a single 350W GPU, the 12V bus current is 29A. At the same time, short-term peak current requirements of 400uS / 52.5A and 50mS / 43.8A are proposed. The peak current of 400uS has reached 1.8 times, further increasing the difficulty of GPU power supply design.
[0003] In order to meet the peak power requirements of GPUs, most current methods increase the number of power supply units (PSUs) in AI servers and improve the peak output current capability of the PSU power supply, so that the PSU can provide the peak current required by the GPU. However, this method results in a large number of PSUs and high prices. At the same time, the maximum peak current of the power supply differs greatly from the average current of actual operation. In order to ensure the peak current requirements for a short period of time, most PSUs work at a lower load, resulting in low output efficiency, severe heat generation, and low reliability.
[0004] With regard to the problem in the related art that the required peak current cannot be provided to the GPU, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a GPU power supply circuit and a server to at least solve the problem of being unable to provide the required peak current for the GPU.
[0006] According to one embodiment of the present application, a GPU power supply circuit is provided, comprising: a power supply unit, a power supply bus, a graphics processing unit GPU, a charge and discharge unit, and a first capacitor; wherein the power supply unit is electrically connected to the power supply bus for providing current to the power supply bus; the GPU is electrically connected to the power supply bus for obtaining current from the power supply bus; a first end of the charge and discharge unit is electrically connected to the first capacitor, and a second end of the charge and discharge unit is electrically connected to the power supply bus, and the charge and discharge unit is used to use the energy stored in the first capacitor to provide current to the power supply bus when the required current value of the GPU is greater than a target current value, the required current value is the current value required for the GPU to be in a normal working state, and the target current value is the maximum current value allowed to be provided by the power supply unit.
[0007] In an exemplary embodiment, the GPU power supply circuit also includes: a control unit; wherein the control unit is electrically connected to the charging and discharging unit, and is used to determine the difference between the required current value and the target current value to obtain a first current value; and control the charging and discharging unit to use the energy stored in the first capacitor to provide the power supply bus with a current of the first current value.
[0008] In an exemplary embodiment, the control unit is also used to determine the voltage of the power supply bus to obtain a target voltage value after determining the difference between the demand current value and the target current value to obtain a first current value; determine a current compensation coefficient based on the target voltage value and the steady-state voltage value of the power supply bus; and use the current compensation coefficient to update the first current value.
[0009] In an exemplary embodiment, the control unit is used to subtract the target voltage value from the steady-state voltage value to obtain a fluctuating voltage value; divide the fluctuating voltage value by the steady-state voltage value to obtain a fluctuation ratio; and determine a current compensation coefficient corresponding to the fluctuation ratio according to a preset relationship, wherein the preset relationship is used to indicate current compensation coefficients corresponding to different fluctuation ratios.
[0010] In an exemplary embodiment, the charging and discharging unit includes: a first energy storage inductor, a second capacitor, a first power switch tube, and a second power switch tube; the first end of the first energy storage inductor is electrically connected to the first end of the first capacitor, the second end of the first energy storage inductor is electrically connected to the positive electrode of the first power switch tube, the negative electrode of the first power switch tube is electrically connected to the positive electrode of the power supply bus, the positive electrode of the second power switch tube is electrically connected to the second end of the first capacitor, the negative electrode of the second power switch tube is electrically connected to the second end of the first energy storage inductor, the second end of the first capacitor is electrically connected to the negative electrode of the power supply bus, the first end of the second capacitor is electrically connected to the positive electrode of the power supply bus, and the second end of the second capacitor is electrically connected to the negative electrode of the power supply bus.
[0011] In an exemplary embodiment, the GPU power supply circuit also includes: a control unit; wherein the control unit is electrically connected to the charge and discharge unit, and is used to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the charge and discharge unit to use the energy stored in the first capacitor to provide current to the power supply bus; and determine the voltage of the power supply bus to obtain a second voltage value; determine the conduction time of the first power switch tube and the conduction time of the second power switch tube according to the first voltage value and the second voltage value.
[0012] In an exemplary embodiment, the control unit is used to determine the conduction time length of the first power switch tube and the conduction time length of the second power switch tube by using the following formula 1 and formula 2: t1+t2=T (Formula 1); Ug-Uc / Uc=(T-t1) / T (Formula 2); Among them, t1 is the conduction time of the first power switch tube, t2 is the conduction time of the second power switch tube, T is the working time of the charging and discharging unit in a working cycle, Ug is the second voltage value, and Uc is the first voltage value.
[0013] In an exemplary embodiment, the charging and discharging unit is further configured to charge the first capacitor using the current obtained from the power supply bus when the required current value is less than the target current value.
[0014] In an exemplary embodiment, the charging and discharging unit is also used to charge the first capacitor using a constant current value until the voltage of the first capacitor reaches a first preset voltage value; and to charge the first capacitor at N preset voltage values respectively until the charge amount of the first capacitor does not increase, wherein the first preset voltage value among the N preset voltage values is the first preset voltage value, the Nth preset voltage value among the N preset voltage values is the maximum full charge voltage value of the first capacitor, the Nth preset voltage value among the N preset voltage values is greater than the N-1th preset voltage value, and N is a positive integer greater than or equal to 2.
[0015] In an exemplary embodiment, the GPU power supply circuit also includes: a control unit; wherein the control unit is electrically connected to the charging and discharging unit, and is used to determine a second current value provided by the power supply bus to the charging and discharging unit, and to determine a maximum charging current value of the first capacitor; when the second current value is greater than or equal to the maximum charging current value, the charging and discharging unit is controlled to use the maximum charging current value to charge the first capacitor; when the second current value is less than the maximum charging current value, the charging and discharging unit is controlled to use the second current value to charge the first capacitor.
[0016] In an exemplary embodiment, the GPU power supply circuit further includes: a capacitor charging unit; wherein a first end of the capacitor charging unit is electrically connected to the power supply unit, a second end of the capacitor charging unit is electrically connected to the first capacitor, and the capacitor charging unit is used to obtain current from the power supply unit; the control unit is electrically connected to the charging and discharging unit, and is used to control the charging and discharging unit to use the second current value to charge the first capacitor, and after determining a preset time, control the charging and discharging unit to use the energy stored in the first capacitor to provide current to the power supply bus, determine the difference between the maximum charging current value and the second current value, and obtain a third current value; control the capacitor charging unit to use the third current value to charge the first capacitor.
[0017] In an exemplary embodiment, the charging and discharging unit includes: a first energy storage inductor, a second capacitor, a first power switch tube, and a second power switch tube; the first end of the first energy storage inductor is electrically connected to the first end of the first capacitor, the second end of the first energy storage inductor is electrically connected to the positive electrode of the first power switch tube, the negative electrode of the first power switch tube is electrically connected to the positive electrode of the power supply bus, the positive electrode of the second power switch tube is electrically connected to the second end of the first capacitor, the negative electrode of the second power switch tube is electrically connected to the second end of the first energy storage inductor, the second end of the first capacitor is electrically connected to the negative electrode of the power supply bus, the first end of the second capacitor is electrically connected to the positive electrode of the power supply bus, and the second end of the second capacitor is electrically connected to the negative electrode of the power supply bus.
[0018] In an exemplary embodiment, the GPU power supply circuit further includes: a control unit; wherein the control unit is electrically connected to the charge and discharge unit, and is used to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the charge and discharge unit to charge the first capacitor; and determine the voltage of the power supply bus to obtain a second voltage value; and determine the conduction time of the first power switch tube and the conduction time of the second power switch tube by the following formula 1 and formula 3: t1+t2=T (Formula 1); Uc / Ug=t1 / T (Formula 3); Among them, t1 is the conduction time of the first power switch tube, t2 is the conduction time of the second power switch tube, T is the working time of the charging and discharging unit in a working cycle, Ug is the second voltage value, and Uc is the first voltage value.
[0019] In an exemplary embodiment, the GPU power supply circuit further includes: a capacitor charging unit and a control unit; wherein a first end of the capacitor charging unit is electrically connected to the power supply unit, a second end of the capacitor charging unit is electrically connected to the first capacitor, and the capacitor charging unit is used to obtain current from the power supply unit; wherein the control unit is electrically connected to the charging and discharging unit, and is used to control the capacitor charging unit to charge the first capacitor until the charge amount of the first capacitor does not increase before controlling the charging and discharging unit to use the energy stored in the first capacitor to provide current to the power supply bus.
[0020] In an exemplary embodiment, the control unit is further used to, during the process of controlling the capacitor charging unit to charge the first capacitor, when it is determined that the capacitor charging unit fails, control the charging and discharging unit to charge the first capacitor using the current obtained from the power supply bus after the power supply unit provides current to the power supply bus.
[0021] In an exemplary embodiment, the capacitor charging unit includes: a third capacitor, a third power switch tube, a second energy storage inductor, and a power diode; the negative electrode of the third power switch tube is electrically connected to the positive electrode of the power supply unit, the positive electrode of the third power switch tube is electrically connected to the first end of the second energy storage inductor, the second end of the second energy storage inductor is electrically connected to the first end of the first capacitor, the negative electrode of the power supply unit is electrically connected to the second end of the first capacitor, the first end of the third capacitor is electrically connected to the positive electrode of the power supply unit, the second end of the third capacitor is electrically connected to the negative electrode of the power supply unit, the positive electrode of the power diode is electrically connected to the negative electrode of the power supply unit, and the negative electrode of the power diode is electrically connected to the positive electrode of the third power switch tube.
[0022] In an exemplary embodiment, the capacitor charging unit includes: a third capacitor, a third power switch tube, a fourth power switch tube, and a second energy storage inductor; the negative electrode of the third power switch tube is electrically connected to the positive electrode of the power supply unit, the positive electrode of the third power switch tube is electrically connected to the first end of the second energy storage inductor, the second end of the second energy storage inductor is electrically connected to the first end of the first capacitor, the negative electrode of the power supply unit is electrically connected to the second end of the first capacitor, the first end of the third capacitor is electrically connected to the positive electrode of the power supply unit, the second end of the third capacitor is electrically connected to the negative electrode of the power supply unit, the positive electrode of the fourth power switch tube is electrically connected to the negative electrode of the power supply unit, and the negative electrode of the fourth power switch tube is electrically connected to the positive electrode of the third power switch tube.
[0023] In an exemplary embodiment, the control unit is further used to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the capacitor charging unit to charge the first capacitor; and determine the voltage of the power supply unit to obtain a third voltage value; and determine the conduction time of the third power switch tube and the conduction time of the third power switch tube by the following formula 4 and formula 5: t3+t4=t (Formula 4); Uc / Up=t3 / t (Formula 5); Among them, t3 is the conduction time of the third power switch tube, t4 is the conduction time of the fourth power switch tube, t is the working time of the capacitor charging unit in a working cycle, Up is the third voltage value, and Uc is the first voltage value.
[0024] In an exemplary embodiment, the GPU power supply circuit further includes: a slow start and fault isolation unit, wherein a first end of the slow start and fault isolation unit is electrically connected to the power supply unit, and a second end of the slow start and fault isolation unit is electrically connected to the power supply bus; the slow start and fault isolation unit is used to provide current to the power supply bus according to a preset current increase, and prevent the power supply unit from failing when a failure occurs in the power supply bus.
[0025] According to another embodiment of the present application, a server is provided, comprising any one of the above-mentioned GPU power supply circuits.
[0026] According to another embodiment of the present application, a GPU power supply method is also provided, including: detecting a required current value of a target component, wherein the required current value is a current value required for the target component to be in a normal working state; when the required current value is greater than a target current value, using energy stored in a first capacitor through a charge and discharge unit to provide current to a power supply bus of the target component, wherein the target current value is a maximum current value allowed to be provided by a power supply unit, the power supply unit provides current to the power supply bus of the target component, and the current source of the target component is the power supply bus of the target component.
[0027] According to another embodiment of the present application, a GPU power supply device is also provided, including: a detection module, used to detect a demand current value of a target component, wherein the demand current value is a current value required for the target component to be in a normal working state; a power supply module, used to, when the demand current value is greater than a target current value, use energy stored in a first capacitor to provide current to a power supply bus of the target component through a charge and discharge unit, wherein the target current value is a maximum current value allowed to be provided by a power supply unit, the power supply unit provides current to the power supply bus of the target component, and the current source of the target component is the power supply bus of the target component.
[0028] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0029] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0030] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0031] The present application provides a GPU power supply circuit, in which a power supply unit in the GPU power supply circuit normally provides current to a power supply bus, and the GPU obtains current from the power supply bus. When the required current value of the GPU is greater than the maximum current value allowed to be provided by the power supply unit, the charge and discharge unit in the GPU power supply circuit uses the energy stored in the first capacitor to provide current to the power supply bus to meet the current demand of the GPU, thereby better providing the required peak current for the GPU, avoiding the use of multiple PSUs to power the GPU, and solving the problem of not being able to better provide the required peak current for the GPU. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0033] Figure 1 is a schematic diagram of a GPU power supply circuit according to an embodiment of the present application (I);
[0034] Figure 2 is a schematic diagram of a GPU power supply circuit according to an embodiment of the present application (II);
[0035] Figure 3 is a structural schematic diagram of a charge and discharge unit according to an embodiment of the present application;
[0036] Figure 4 is a schematic diagram of a GPU power supply circuit according to an embodiment of the present application (III);
[0037] Figure 5 is a structural schematic diagram of a capacitor charging unit according to an embodiment of the present application (I);
[0038] Figure 6 is a structural schematic diagram of a capacitor charging unit according to an embodiment of the present application (II);
[0039] Figure 7 is a schematic diagram of a GPU power supply circuit according to an embodiment of the present application (IV);
[0040] Figure 8 is a flow chart of a GPU power supply method according to an embodiment of the present application;
[0041] Fig. 9is a hardware structure block diagram of a server device of a GPU power supply method according to an embodiment of the present application;
[0042] Fig.10 is a structural block diagram of a GPU power supply device according to an embodiment of the present application;
[0043] Fig.11 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0046] In this embodiment, a GPU power supply circuit is provided. Figure 1 is a schematic diagram of a GPU power supply circuit according to an embodiment of the present application (I), such as Figure 1 As shown, the GPU power supply circuit includes:
[0047] A power supply unit (10), a power supply bus (20), a graphics processing unit GPU (30), a charging and discharging unit (40), and a first capacitor (50);
[0048] Wherein, a power supply unit is electrically connected to the power supply bus and is used to provide current to the power supply bus;
[0049] The GPU is electrically connected to the power supply bus and is used to obtain current from the power supply bus;
[0050] The first end of the charge and discharge unit is electrically connected to the first capacitor, and the second end of the charge and discharge unit is electrically connected to the power supply bus. The charge and discharge unit is used to use the energy stored in the first capacitor to provide current to the power supply bus when the required current value of the GPU is greater than the target current value. The required current value is the current value required for the GPU to be in a normal working state, and the target current value is the maximum current value allowed to be provided by the power supply unit.
[0051] It should be noted that the first capacitor is a super capacitor, which allows the stored energy to be greater than a preset threshold.
[0052] Through the above-mentioned GPU power supply circuit, the power supply unit in the GPU power supply circuit normally provides current to the power supply bus, the GPU obtains current from the power supply bus, and when the required current value of the GPU is greater than the maximum current value allowed to be provided by the power supply unit, the charging and discharging unit in the GPU power supply circuit uses the energy stored in the first capacitor to provide current to the power supply bus to meet the current demand of the GPU, thereby better providing the required peak current for the GPU, avoiding the use of multiple PSUs to power the GPU, and solving the problem of not being able to better provide the required peak current for the GPU.
[0053] In an exemplary embodiment, Figure 2 As shown, the GPU power supply circuit further includes: a detection unit (50) electrically connected to the power supply bus, wherein the detection unit is used to detect the required current value of the GPU.
[0054] In an exemplary embodiment, Figure 2 As shown, the GPU power supply circuit further includes: a control unit (60);
[0055] Among them, the control unit is electrically connected to the charging and discharging unit, and is used to determine the difference between the required current value and the target current value to obtain a first current value; and control the charging and discharging unit to use the energy stored in the first capacitor to provide the power supply bus with a current of the first current value.
[0056] It should be noted that the control unit is also electrically connected to the detection unit, and is used to obtain the required current value of the GPU from the detection unit.
[0057] In an exemplary embodiment, the control unit is further used to determine the voltage of the power supply bus to obtain a target voltage value after determining the difference between the demand current value and the target current value to obtain a first current value; determine a current compensation coefficient based on the target voltage value and the steady-state voltage value of the power supply bus; and use the current compensation coefficient to update the first current value.
[0058] It should be noted that the detection unit is also used to detect the voltage of the power supply bus, and then the control unit can obtain the voltage of the power supply bus from the detection unit.
[0059] In an exemplary embodiment, a control unit is used to subtract the target voltage value from the steady-state voltage value to obtain a fluctuating voltage value; divide the fluctuating voltage value by the steady-state voltage value to obtain a fluctuation ratio; and determine a current compensation coefficient corresponding to the fluctuation ratio according to a preset relationship, wherein the preset relationship is used to indicate current compensation coefficients corresponding to different fluctuation ratios.
[0060] For better understanding, the following is a detailed description: when the control unit detects that the maximum current provided by the PSU for the output GPU load exceeds the target current value, the excess energy is provided by the first capacitor, and the energy detection method is mainly in current mode, and the charge and discharge unit releases the energy in the first capacitor to the GPU power supply bus; when releasing the energy of the first capacitor, the charge and discharge unit works in current mode, which is a variable current working mode; its output current value I5 is equal to the total GPU current I4 minus the maximum current value I1 allowed to be output by the PSU, that is, I5=I4-I1; the current is detected while detecting the GPU power supply bus voltage, with the steady-state voltage Ug as the reference. When the power supply current suddenly increases, if the energy supply unit fails to provide energy in time, it will cause the GPU power supply bus voltage to fluctuate and drop to a certain extent. When the power supply bus voltage fluctuation range exceeds a certain value, for example, the fluctuation exceeds 3%, the current supplied by the charge and discharge unit to the GPU power supply bus is provided according to a certain ratio of demand to compensate for the voltage drop in time, for example, 1.1 times I5. If the voltage fluctuation exceeds 5%, it is set to 1.2 times I5. The current compensation coefficient can be further adjusted in real time according to the peak current supply situation, thereby providing stable power to the GPU.
[0061] It should be noted that the control unit controls the charge and discharge unit to operate under current PID control. By increasing the operating frequency of the charge and discharge unit and the PID current regulation mode, the current mode fast response characteristics are triggered, and the output current is adjusted in real time to meet the peak current requirements of the GPU.
[0062] In an exemplary embodiment, Figure 3 As shown, the charging and discharging unit includes: a first energy storage inductor, a second capacitor, a first power switch tube, and a second power switch tube; the first end of the first energy storage inductor is electrically connected to the first end of the first capacitor, the second end of the first energy storage inductor is electrically connected to the positive electrode of the first power switch tube, the negative electrode of the first power switch tube is electrically connected to the positive electrode of the power supply bus, the positive electrode of the second power switch tube is electrically connected to the second end of the first capacitor, the negative electrode of the second power switch tube is electrically connected to the second end of the first energy storage inductor, the second end of the first capacitor is electrically connected to the negative electrode of the power supply bus, the first end of the second capacitor is electrically connected to the positive electrode of the power supply bus, and the second end of the second capacitor is electrically connected to the negative electrode of the power supply bus.
[0063] It should be noted that the first end of the first capacitor is the positive electrode of the first capacitor, and the second end of the first capacitor is the negative electrode of the first capacitor.
[0064] In an exemplary embodiment, the control unit is also used to determine the voltage of the first capacitor to obtain a first voltage value in the process of controlling the charging and discharging unit to use the energy stored in the first capacitor to provide current to the power supply bus; and determine the voltage of the power supply bus to obtain a second voltage value; and determine the conduction time of the first power switch tube and the conduction time of the second power switch tube according to the first voltage value and the second voltage value.
[0065] In an exemplary embodiment, the control unit is used to determine the conduction time length of the first power switch tube and the conduction time length of the second power switch tube by using the following formula 1 and formula 2:
[0066] t1+t2=T (Formula 1);
[0067] Ug-Uc / Uc=(T-t1) / T (Formula 2);
[0068] Among them, t1 is the conduction time of the first power switch tube, t2 is the conduction time of the second power switch tube, T is the working time of the charging and discharging unit in a working cycle, Ug is the second voltage value, and Uc is the first voltage value.
[0069] For better understanding, the following is a specific description. When the first capacitor is used to supplement energy for the GPU power bus, the charge and discharge unit is a boost conversion power unit. According to the voltage Uc of the first capacitor and the voltage Ug of the GPU bus, the charge and discharge unit Q1 and Q2 are complementary turned on in one working cycle, and the two power tube times are added as one working cycle, and the working cycle is preset to T. The control unit determines the voltage of the first capacitor and the voltage state of the GPU power bus, and further controls the switch states of Q1 and Q2 to achieve the electric energy replenishment of the first capacitor, wherein the conduction time of Q1 is t1, and the conduction time of Q2 is T-t1, wherein Ug-Uc / Uc=(T-t1) / T.
[0070] In this embodiment, through the above method, the control unit can accurately determine the conduction time of the first power switch tube and the conduction time of the second power switch tube to power the GPU.
[0071] In an exemplary embodiment, the charging and discharging unit is further configured to charge the first capacitor using the current obtained from the power supply bus when the required current value is less than the target current value.
[0072] That is, when it is detected that the maximum current provided by the PSU for the output GPU load is less than the target current value, the remaining current energy of the PSU will supplement the energy of the first capacitor.
[0073] It should be noted that the charging and discharging unit is a working unit of bidirectional power conversion. Compared with the traditional circuit, it requires a charging unit and a discharging unit. The two sets of circuits are designed independently, use more devices, occupy a large space, and have a low overall power density. The unit of this application integrates the charging unit and the discharging unit into one, with higher overall integration, smaller volume, and more difficult control strategy. When the GPU power bus charges the first capacitor, due to the low voltage of the first capacitor and the high voltage of the GPU power bus, the charging and discharging unit is a buck converter, whose GPU power bus is the input port and the first capacitor is the output interface. When the first capacitor replenishes energy for the GPU bus, the first capacitor is the input interface and the GPU power bus is the output interface. At this time, the charging and discharging unit is a boost converter.
[0074] It should be noted that when the voltage of the GPU power supply bus is normal, that is, it reaches the required value of the GPU bus power supply, and the first capacitor has been pre-charged and all states are normal, the GPU unit can work normally. After the GPU works normally, the detection unit detects the voltage state and output current state of the output GPU bus to the GPU load, wherein the current corresponding to the maximum power that the PSU can provide is used as the standard, and the load current and voltage provided to the GPU are constantly detected by the detection unit, and further compared with the standard value. When the GPU required current value is greater than the maximum current value that the PSU can provide, the first capacitor works in a discharge state; when the GPU required current value is less than the maximum current value that the PSU can provide, the first capacitor works in a charging state.
[0075] In an exemplary embodiment, the charging and discharging unit is also used to charge the first capacitor using a constant current value until the voltage of the first capacitor reaches a first preset voltage value; and to charge the first capacitor at N preset voltage values respectively until the charge amount of the first capacitor does not increase, wherein the first preset voltage value among the N preset voltage values is the first preset voltage value, the Nth preset voltage value among the N preset voltage values is the maximum full charge voltage value of the first capacitor, the Nth preset voltage value among the N preset voltage values is greater than the N-1th preset voltage value, and N is a positive integer greater than or equal to 2.
[0076] In an exemplary embodiment, the control unit is used to determine a second current value provided by the power supply bus to the charging and discharging unit, and to determine a maximum charging current value of the first capacitor; when the second current value is greater than or equal to the maximum charging current value, the charging and discharging unit is controlled to use the maximum charging current value to charge the first capacitor; when the second current value is less than the maximum charging current value, the charging and discharging unit is controlled to use the second current value to charge the first capacitor.
[0077] For a better understanding, the following specific explanation is given: when the charging and discharging unit provides the capability to charge the first capacitor, when the peak current interval required by the GPU is long, the first capacitor is charged only through the charging and discharging unit, wherein the charging and discharging unit operates in a constant current and then constant voltage charging mode, wherein the constant current value selects the maximum current I1 corresponding to the remaining power of the PSU, and the maximum allowable current I2 for charging the first capacitor. The minimum value is selected for comparing the two currents for fast charging of the capacitor, wherein the constant voltage mode selects 90% of the maximum withstand voltage of the first capacitor, which is the maximum full voltage value U1. When the capacitor voltage is equal to 0.9U1, the charging and discharging unit enters the constant voltage power unit.
[0078] In this embodiment, the energy of the first capacitor can be quickly replenished through the above method.
[0079] In an exemplary embodiment, Figure 4 As shown, the GPU power supply circuit further includes: a capacitor charging unit (70), wherein a first end of the capacitor charging unit is electrically connected to the power supply unit, a second end of the capacitor charging unit is electrically connected to the first capacitor, and the capacitor charging unit is used to obtain current from the power supply unit;
[0080] Wherein, the control unit is also used to control the charging and discharging unit to use the second current value to charge the first capacitor. After determining the preset time, the charging and discharging unit is controlled to use the energy stored in the first capacitor to provide current for the power supply bus, determine the difference between the maximum charging current value and the second current value, and obtain a third current value; control the capacitor charging unit to use the third current value to charge the first capacitor.
[0081] That is to say, in this embodiment, when it is detected that the charging and discharging unit is about to release the energy in the first capacitor to the GPU power bus for the next time, the capacitor charging unit is started in time to charge the first capacitor and replenish energy. The capacitor charging unit operates in the maximum constant current mode, and its output current I3 is equal to the maximum charging current I2 of the first capacitor minus the maximum current I1 corresponding to the remaining power of the PSU (I3=I2-I1).
[0082] In an exemplary embodiment, the control unit is further used to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the charging and discharging unit to charge the first capacitor; and determine the voltage of the power supply bus to obtain a second voltage value; and determine the conduction time of the first power switch tube and the conduction time of the second power switch tube by the following formula 1 and formula 3:
[0083] t1+t2=T (Formula 1);
[0084] Uc / Ug=t1 / T (Formula 3);
[0085] Among them, t1 is the conduction time of the first power switch tube, t2 is the conduction time of the second power switch tube, T is the working time of the charging and discharging unit in a working cycle, Ug is the second voltage value, and Uc is the first voltage value.
[0086] That is to say, when the GPU power supply bus charges the first capacitor, the charge and discharge unit is a step-down conversion power unit, and according to the voltage Uc of the first capacitor and the voltage Ug of the GPU bus, the charge and discharge unit Q1 and Q2 are complementary turned on in one working cycle, and the two power tube times are added as one working cycle, and the working cycle is preset to T. The power supply of the first capacitor is achieved by controlling the switching state of Q1 and Q2, wherein the conduction time of Q1 is t1, and the conduction time of Q2 is T-t1, wherein Uc / Ug=t1 / T.
[0087] In this embodiment, through the above method, the control unit can accurately determine the conduction time length of the first power switch tube and the conduction time length of the second power switch tube to supply power to the first capacitor.
[0088] In an exemplary embodiment, the control unit is used to control the capacitor charging unit to charge the first capacitor until the charge amount of the first capacitor does not increase before controlling the charging and discharging unit to use the energy stored in the first capacitor to provide current to the power supply bus.
[0089] In an exemplary embodiment, the control unit is further used to, during the process of controlling the capacitor charging unit to charge the first capacitor, when it is determined that the capacitor charging unit fails, control the charging and discharging unit to charge the first capacitor using the current obtained from the power supply bus after the power supply unit provides current to the power supply bus.
[0090] For a better understanding, the following specific description is given. When the AI server is powered on, the PSU power supply is powered on and starts working. At the beginning, the first capacitor is charged through the capacitor charging unit. If the capacitor charging unit is abnormal, the first capacitor can be pre-charged through the charging and discharging unit after the GPU power supply bus is fully charged. The charging and discharging unit works in a step-down charging mode, and enters a standby mode when the first capacitor is fully charged. The control unit monitors the status of each unit and each power bus in real time. After the first capacitor is pre-charged, the charging status is detected by the control unit. When the status is normal, a normal working instruction is sent to the AI server unit and the GPU unit, which can provide peak power supply capacity for the GPU power supply unit.
[0091] It should be noted that the GPU power supply work can only be started normally after the first capacitor needs to be fully charged in advance. In order to prevent the pre-start time of the GPU power supply unit and the GPU from being affected by the addition of the first capacitor, a pre-charging unit (i.e., a capacitor charging unit) is added. During the startup of the AI server system, when the GPU power supply bus is not powered, the first capacitor can be charged in advance through the pre-charging unit to ensure that the GPU power supply unit system has a low to zero standby charging time. At the same time, when the GPU power consumption frequency is higher and the peak current is larger, the first capacitor needs to be charged faster. The first capacitor can be charged at the same time through the pre-charging unit and the charging and discharging unit to reduce the charging time and ensure that the first capacitor has enough electrical energy the next time the GPU is powered. At the same time, the charging and discharging unit has a conversion time in the process of charging and discharging the capacitor, and the pre-charging unit can ensure zero switching time, and replenish energy for the first capacitor in a timely and fast manner.
[0092] In an exemplary embodiment, Figure 5 As shown, the capacitor charging unit includes: a third capacitor, a third power switch tube, a second energy storage inductor, and a power diode; the negative electrode of the third power switch tube is electrically connected to the positive electrode of the power supply unit, the positive electrode of the third power switch tube is electrically connected to the first end of the second energy storage inductor, the second end of the second energy storage inductor is electrically connected to the first end of the first capacitor, the negative electrode of the power supply unit is electrically connected to the second end of the first capacitor, the first end of the third capacitor is electrically connected to the positive electrode of the power supply unit, the second end of the third capacitor is electrically connected to the negative electrode of the power supply unit, the positive electrode of the power diode is electrically connected to the negative electrode of the power supply unit, and the negative electrode of the power diode is electrically connected to the positive electrode of the third power switch tube.
[0093] In an exemplary embodiment, Figure 5 The power diode in can also be adjusted to a power switch tube, such as Figure 6 As shown, the capacitor charging unit includes: a third capacitor, a third power switch tube, a fourth power switch tube, and a second energy storage inductor; the negative electrode of the third power switch tube is electrically connected to the positive electrode of the power supply unit, the positive electrode of the third power switch tube is electrically connected to the first end of the second energy storage inductor, the second end of the second energy storage inductor is electrically connected to the first end of the first capacitor, the negative electrode of the power supply unit is electrically connected to the second end of the first capacitor, the first end of the third capacitor is electrically connected to the positive electrode of the power supply unit, the second end of the third capacitor is electrically connected to the negative electrode of the power supply unit, the positive electrode of the fourth power switch tube is electrically connected to the negative electrode of the power supply unit, and the negative electrode of the fourth power switch tube is electrically connected to the positive electrode of the third power switch tube.
[0094] It should be noted that the switching period and the duty cycle of the conduction time of Q3 and Q4 in the capacitor charging unit are controlled by the control unit.
[0095] In an exemplary embodiment, the control unit is further used to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the capacitor charging unit to charge the first capacitor; and determine the voltage of the power supply unit to obtain a third voltage value; and determine the conduction time of the third power switch tube and the conduction time of the third power switch tube by the following formula 4 and formula 5:
[0096] t3+t4=t (Formula 4);
[0097] Uc / Up=t3 / t (Formula 5);
[0098] Among them, t3 is the conduction time of the third power switch tube, t4 is the conduction time of the fourth power switch tube, t is the working time of the capacitor charging unit in a working cycle, Up is the third voltage value, and Uc is the first voltage value.
[0099] It should be noted that the capacitor charging unit is a unidirectional power conversion unit, and can only have a state where the PSU output bus charges the first capacitor. The process and principle of the control unit controlling Q3 and Q4 are the same as when controlling Q1 and Q1 to achieve charging. According to the voltage Uc of the first capacitor and the voltage Up of the PSU bus, Q3 and Q4 of the capacitor charging unit are complementary turned on in one working cycle, and the two power tube times are added together as one working cycle, and the working cycle is preset to t. The power supply of the first capacitor is achieved by controlling the switching state of Q3 and Q4, wherein the conduction time of Q3 is t3, and the conduction time of Q4 is t-t3, wherein Uc / Up=t3 / t.
[0100] In this embodiment, through the above method, the control unit can accurately determine the conduction time of the third power switch tube and the conduction time of the fourth power switch tube to supply power to the first capacitor.
[0101] In an exemplary embodiment, Figure 7 As shown, the GPU power supply circuit also includes: a slow start and fault isolation unit (70), wherein a first end of the slow start and fault isolation unit is electrically connected to the power supply unit, and a second end of the slow start and fault isolation unit is electrically connected to the power supply bus; the slow start and fault isolation unit is used to provide current to the power supply bus according to a preset current increase, and prevent the power supply unit from failing when the power supply bus fails.
[0102] It should be noted that by pre-charging the GPU power supply bus through the slow start unit, it can be ensured that the AI server system timing requirements and the pre-start status of each power supply unit of the power supply bus are normal. At the same time, the PSU power supply unit is composed of multiple unit power supply units in parallel, and the slow start and fault isolation units can prevent the GPU power supply bus from being abnormal due to partial failure of the PSU power supply unit.
[0103] It should be noted that this application has the following advantages:
[0104] (1) The first capacitor provides short-term peak power to the GPU. It has a small size and large energy, which can reduce the maximum power required by the PSU, reduce the difficulty of PSU design, reduce the difference between the maximum rated working current and the maximum output current of the PSU, and further optimize the efficiency of the PSU within the full load range;
[0105] (2) Charging and discharging the first capacitor by the charging and discharging unit can release the energy of the first capacitor to the maximum extent and meet the voltage value requirement of the GPU power bus;
[0106] (3) It can meet the wider operating voltage range of the first capacitor, multiple first capacitors can be used in series, and a single first capacitor can also be used, maximizing the capacitance capacity requirements that the first capacitor can provide;
[0107] (4) Compared with the PSU, the charge-discharge unit has a non-isolated unit topology structure, and both the input and output are in a low-voltage working state. The charge-discharge unit has a high operating frequency, which can reach more than 1MHz, while the maximum operating frequency of the PSU is usually 200kHz. Therefore, the charge-discharge unit can meet the peak power demand of the GPU faster and more. At the same time, it can also quickly switch to the first capacitor charging state and fully charge the first capacitor in the minimum interval time;
[0108] (5) It is proposed that the capacitor charging unit quickly pre-charges the first capacitor, thereby reducing the pre-waiting time of the first capacitor and meeting the GPU working requirements more quickly;
[0109] (6) According to the requirements of the GPU peak current interval time and current value, the capacitor charging unit and the charging and discharging unit can be selected to charge the first capacitor at the same time to meet the faster and higher frequency peak power requirements of the GPU unit;
[0110] (7) A constant current control mode is proposed, which can meet the GPU maximum peak power requirement by adjusting the control of the GPU peak power supplement unit only through peak current detection without changing the original design method of the PSU and GPU power supply load unit;
[0111] (8) A control mode of first constant current and then constant voltage is proposed, which can ensure that the first capacitor is fully charged in the fastest time to meet the GPU peak current mode. At the same time, a method of detecting the GPU voltage value is proposed to detect whether the capacitor charging unit is enabled, and the control is simple with a single parameter.
[0112] (9) Only the charging and discharging unit charges the super power supply, which is simple to control, efficient and reliable. At the same time, the voltage mode is introduced to import the capacitor charging unit to replenish energy for the first capacitor, which can meet the peak power requirements of the GPU at a higher frequency.
[0113] In this embodiment, a server is also provided, comprising any one of the above-mentioned GPU power supply circuits.
[0114] In this embodiment, a GPU power supply method is provided, including but not limited to being applied to the above control unit, such as Figure 8 As shown, the process includes the following steps S802-S804:
[0115] Step S802: Detecting a required current value of a target component, wherein the required current value is a current value required for the target component to be in a normal working state;
[0116] Step S804: When the demand current value is greater than the target current value, the energy stored in the first capacitor is used through the charge and discharge unit to provide current for the power supply bus of the target component, wherein the target current value is the maximum current value allowed to be provided by the power supply unit, the power supply unit provides current for the power supply bus of the target component, and the current source of the target component is the power supply bus of the target component.
[0117] In the above steps, when the required current value of the GPU is greater than the maximum current value allowed to be provided by the power supply unit, the energy stored in the first capacitor is used by the charge and discharge unit to provide current to the power supply bus to meet the current demand of the GPU, thereby better providing the required peak current for the GPU, avoiding the use of multiple PSUs to power the GPU, and solving the problem of not being able to better provide the required peak current for the GPU.
[0118] The GPU power supply method embodiment provided in the embodiment of the present application can be executed in a server device. Taking running on a server device as an example, Fig. 9 1 is a hardware structure block diagram of a server device of a GPU power supply method according to an embodiment of the present application. Fig. 9 As shown, the server device may include one or more ( Fig. 9Only one is shown in the figure) a processor 902 (the processor 902 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 904 for storing data, wherein the above-mentioned server device may also include a transmission device 906 and an input and output device 908 for communication functions. It can be understood by those skilled in the art that Fig. 9 The structure shown is only for illustration and does not limit the structure of the above server device. Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations shown.
[0119] The memory 904 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the GPU power supply method in the embodiment of the present application. The processor 902 executes various functional applications and data processing by running the computer program stored in the memory 904, that is, to implement the above method. The memory 904 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 904 may further include a memory remotely arranged relative to the processor 902, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0120] The transmission device 906 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 906 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 906 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0122] In this embodiment, a GPU power supply device is also provided to implement the above-mentioned embodiments and preferred implementation modes, which have been described and will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the modules described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0123] Fig.10 A GPU power supply device according to an embodiment of the present application is as follows: Fig.10 As shown, the GPU power supply device includes:
[0124] A detection module 1002 is used to detect a required current value of a target component, wherein the required current value is a current value required for the target component to be in a normal working state;
[0125] The power supply module 1004 is used to use the energy stored in the first capacitor to provide current to the power supply bus of the target component through the charge and discharge unit when the required current value is greater than the target current value, wherein the target current value is the maximum current value allowed to be provided by the power supply unit, the power supply unit provides current to the power supply bus of the target component, and the current source of the target component is the power supply bus of the target component.
[0126] In the above-mentioned device, when the required current value of the GPU is greater than the maximum current value allowed to be provided by the power supply unit, the charging and discharging unit uses the energy stored in the first capacitor to provide current to the power supply bus to meet the current demand of the GPU, thereby better providing the required peak current for the GPU, avoiding the use of multiple PSUs to power the GPU, and solving the problem of not being able to better provide the required peak current for the GPU.
[0127] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0128] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0129] Optionally, in this embodiment, the computer program may be configured to perform the following steps by means of the computer program:
[0130] S1, detecting a required current value of a target component, wherein the required current value is a current value required for the target component to be in a normal working state;
[0131] S2, when the demand current value is greater than the target current value, the energy stored in the first capacitor is used to provide current to the power supply bus of the target component through the charge and discharge unit, wherein the target current value is the maximum current value allowed to be provided by the power supply unit, the power supply unit provides current to the power supply bus of the target component, and the current source of the target component is the power supply bus of the target component.
[0132] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0133] The embodiment of the present application also provides an electronic device, such as Fig.11 As shown, the electronic device includes a memory 1102 and a processor 1104. The memory 1102 stores a computer program, and the processor 1104 is configured to execute the steps in any of the above method embodiments through the computer program.
[0134] Optionally, in this embodiment, the processor 1104 may be configured to perform the following steps through a computer program:
[0135] S1, detecting a required current value of a target component, wherein the required current value is a current value required for the target component to be in a normal working state;
[0136] S2, when the demand current value is greater than the target current value, the energy stored in the first capacitor is used to provide current to the power supply bus of the target component through the charge and discharge unit, wherein the target current value is the maximum current value allowed to be provided by the power supply unit, the power supply unit provides current to the power supply bus of the target component, and the current source of the target component is the power supply bus of the target component.
[0137] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0138] Alternatively, a person skilled in the art may understand that: Fig.11 The structure shown is for illustration only. Fig.11 The structure of the electronic device is not limited. For example, the electronic device may also include Fig.11 More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.11 Different configurations shown.
[0139] Among them, the memory 1102 can be used to store software programs and modules, such as the program instructions / modules corresponding to the GPU power supply method and the information sending device in the embodiments of the present application. The processor 1104 executes various functional applications and data processing by running the software programs and modules stored in the memory 1102, that is, realizing the above-mentioned GPU power supply method. The memory 1102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1102 may further include a memory remotely located relative to the processor 1104, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 1102 can be specifically, but not limited to, used to store information such as system configuration files. As an example, such as Fig.11 As shown, the memory 1102 may include but is not limited to the detection module 1002 and the power supply module 1004 in the information sending device. In addition, it may also include but is not limited to other module units in the information sending device, which will not be described in detail in this example.
[0140] Optionally, the transmission device 1106 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 1106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1106 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0141] In addition, the electronic device further includes: a display 1108; and a connection bus 1110, which is used to connect various module components in the electronic device.
[0142] In other embodiments, the electronic device may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. The nodes may form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.
[0143] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.
[0144] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0145] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps of any one of the above method embodiments.
[0146] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0147] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A GPU power supply circuit, characterized in that: include: A power supply unit, a power supply bus, a graphics processing unit GPU, a charging and discharging unit, and a first capacitor; Wherein, a power supply unit is electrically connected to the power supply bus and is used to provide current to the power supply bus; The GPU is electrically connected to the power supply bus and is used to obtain current from the power supply bus; The first end of the charge and discharge unit is electrically connected to the first capacitor, and the second end of the charge and discharge unit is electrically connected to the power supply bus. The charge and discharge unit is used to use the energy stored in the first capacitor to provide current to the power supply bus when the required current value of the GPU is greater than the target current value. The required current value is the current value required for the GPU to be in a normal working state, and the target current value is the maximum current value allowed to be provided by the power supply unit.
2. The GPU power supply circuit according to claim 1, characterized in that: The GPU power supply circuit further includes: a control unit; Among them, the control unit is electrically connected to the charging and discharging unit, and is used to determine the difference between the required current value and the target current value to obtain a first current value; and control the charging and discharging unit to use the energy stored in the first capacitor to provide the power supply bus with a current of the first current value.
3. The GPU power supply circuit according to claim 2, characterized in that: The control unit is further configured to determine the voltage of the power supply bus to obtain a target voltage value after determining the difference between the required current value and the target current value to obtain a first current value; A current compensation coefficient is determined according to the target voltage value and the steady-state voltage value of the power supply bus; and the first current value is updated using the current compensation coefficient.
4. The GPU power supply circuit according to claim 3, characterized in that: The control unit is used to subtract the target voltage value from the steady-state voltage value to obtain a fluctuating voltage value; Dividing the fluctuating voltage value by the steady-state voltage value to obtain a fluctuation ratio; The current compensation coefficient corresponding to the fluctuation ratio is determined according to a preset relationship, wherein the preset relationship is used to indicate the current compensation coefficients corresponding to different fluctuation ratios.
5. The GPU power supply circuit according to claim 1, characterized in that: The charging and discharging unit includes: a first energy storage inductor, a second capacitor, a first power switch tube, and a second power switch tube; the first end of the first energy storage inductor is electrically connected to the first end of the first capacitor, the second end of the first energy storage inductor is electrically connected to the positive electrode of the first power switch tube, the negative electrode of the first power switch tube is electrically connected to the positive electrode of the power supply bus, the positive electrode of the second power switch tube is electrically connected to the second end of the first capacitor, the negative electrode of the second power switch tube is electrically connected to the second end of the first energy storage inductor, the second end of the first capacitor is electrically connected to the negative electrode of the power supply bus, the first end of the second capacitor is electrically connected to the positive electrode of the power supply bus, and the second end of the second capacitor is electrically connected to the negative electrode of the power supply bus.
6. The GPU power supply circuit according to claim 5, characterized in that: The GPU power supply circuit further includes: a control unit; Among them, the control unit is electrically connected to the charging and discharging unit, and is used to determine the voltage of the first capacitor to obtain a first voltage value in the process of controlling the charging and discharging unit to use the energy stored in the first capacitor to provide current for the power supply bus; and determine the voltage of the power supply bus to obtain a second voltage value; determine the conduction time of the first power switch tube and the conduction time of the second power switch tube according to the first voltage value and the second voltage value.
7. The GPU power supply circuit according to claim 6, characterized in that: The control unit is used to determine the conduction time of the first power switch tube and the conduction time of the second power switch tube by using the following formula 1 and formula 2: t1+t2=T (Formula 1); Ug-Uc / Uc=(T-t1) / T (Formula 2); Among them, t1 is the conduction time of the first power switch tube, t2 is the conduction time of the second power switch tube, T is the working time of the charging and discharging unit in a working cycle, Ug is the second voltage value, and Uc is the first voltage value.
8. The GPU power supply circuit according to claim 1, characterized in that: The charging and discharging unit is further configured to charge the first capacitor using the current obtained from the power supply bus when the required current value is less than the target current value.
9. The GPU power supply circuit according to claim 8, characterized in that: The charging and discharging unit is further used to charge the first capacitor using a constant current value until the voltage of the first capacitor reaches a first preset voltage value; and to charge the first capacitor at N preset voltage values respectively until the charge amount of the first capacitor does not increase, wherein the first preset voltage value among the N preset voltage values is the first preset voltage value, the Nth preset voltage value among the N preset voltage values is the maximum full charge voltage value of the first capacitor, the Nth preset voltage value among the N preset voltage values is greater than the N-1th preset voltage value, and N is a positive integer greater than or equal to 2.
10. The GPU power supply circuit according to claim 9, characterized in that: The GPU power supply circuit further includes: a control unit; Wherein, the control unit is electrically connected to the charging and discharging unit, and is used to determine the second current value provided by the power supply bus to the charging and discharging unit, and to determine the maximum charging current value of the first capacitor; when the second current value is greater than or equal to the maximum charging current value, the charging and discharging unit is controlled to use the maximum charging current value to charge the first capacitor; when the second current value is less than the maximum charging current value, the charging and discharging unit is controlled to use the second current value to charge the first capacitor.
11. The GPU power supply circuit according to claim 10, characterized in that: The GPU power supply circuit further includes: a capacitor charging unit; Wherein, a first end of the capacitor charging unit is electrically connected to the power supply unit, a second end of the capacitor charging unit is electrically connected to the first capacitor, and the capacitor charging unit is used to obtain current from the power supply unit; The control unit is electrically connected to the charging and discharging unit, and is used to control the charging and discharging unit to use the second current value to charge the first capacitor. After determining a preset time, the charging and discharging unit is controlled to use the energy stored in the first capacitor to provide current for the power supply bus, determine the difference between the maximum charging current value and the second current value, and obtain a third current value; and control the capacitor charging unit to use the third current value to charge the first capacitor.
12. The GPU power supply circuit according to claim 8, characterized in that: The charging and discharging unit includes: a first energy storage inductor, a second capacitor, a first power switch tube, and a second power switch tube; the first end of the first energy storage inductor is electrically connected to the first end of the first capacitor, the second end of the first energy storage inductor is electrically connected to the positive electrode of the first power switch tube, the negative electrode of the first power switch tube is electrically connected to the positive electrode of the power supply bus, the positive electrode of the second power switch tube is electrically connected to the second end of the first capacitor, the negative electrode of the second power switch tube is electrically connected to the second end of the first energy storage inductor, the second end of the first capacitor is electrically connected to the negative electrode of the power supply bus, the first end of the second capacitor is electrically connected to the positive electrode of the power supply bus, and the second end of the second capacitor is electrically connected to the negative electrode of the power supply bus.
13. The GPU power supply circuit according to claim 12, characterized in that: The GPU power supply circuit further includes: a control unit; The control unit is electrically connected to the charging and discharging unit, and is used to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the charging and discharging unit to charge the first capacitor; and determine the voltage of the power supply bus to obtain a second voltage value; and determine the conduction time of the first power switch tube and the conduction time of the second power switch tube by the following formula 1 and formula 3: t1+t2=T (Formula 1); Uc / Ug=t1 / T (Formula 3); Among them, t1 is the conduction time of the first power switch tube, t2 is the conduction time of the second power switch tube, T is the working time of the charging and discharging unit in a working cycle, Ug is the second voltage value, and Uc is the first voltage value.
14. The GPU power supply circuit according to claim 1, characterized in that: The GPU power supply circuit further includes: a capacitor charging unit and a control unit; Wherein, a first end of the capacitor charging unit is electrically connected to the power supply unit, a second end of the capacitor charging unit is electrically connected to the first capacitor, and the capacitor charging unit is used to obtain current from the power supply unit; Wherein, the control unit is electrically connected to the charging and discharging unit, and is used to control the capacitor charging unit to charge the first capacitor until the charge amount of the first capacitor does not increase before controlling the charging and discharging unit to use the energy stored in the first capacitor to provide current to the power supply bus.
15. The GPU power supply circuit according to claim 14, characterized in that: The control unit is further used to, during the process of controlling the capacitor charging unit to charge the first capacitor, control the charge and discharge unit to charge the first capacitor using the current obtained from the power supply bus after the power supply unit provides current to the power supply bus when determining that the capacitor charging unit fails.
16. The GPU power supply circuit according to claim 14, characterized in that: The capacitor charging unit includes: a third capacitor, a third power switch tube, a second energy storage inductor, and a power diode; the negative electrode of the third power switch tube is electrically connected to the positive electrode of the power supply unit, the positive electrode of the third power switch tube is electrically connected to the first end of the second energy storage inductor, the second end of the second energy storage inductor is electrically connected to the first end of the first capacitor, the negative electrode of the power supply unit is electrically connected to the second end of the first capacitor, the first end of the third capacitor is electrically connected to the positive electrode of the power supply unit, the second end of the third capacitor is electrically connected to the negative electrode of the power supply unit, the positive electrode of the power diode is electrically connected to the negative electrode of the power supply unit, and the negative electrode of the power diode is electrically connected to the positive electrode of the third power switch tube.
17. The GPU power supply circuit according to claim 14, characterized in that: The capacitor charging unit includes: a third capacitor, a third power switch tube, a fourth power switch tube, and a second energy storage inductor; the negative electrode of the third power switch tube is electrically connected to the positive electrode of the power supply unit, the positive electrode of the third power switch tube is electrically connected to the first end of the second energy storage inductor, the second end of the second energy storage inductor is electrically connected to the first end of the first capacitor, the negative electrode of the power supply unit is electrically connected to the second end of the first capacitor, the first end of the third capacitor is electrically connected to the positive electrode of the power supply unit, the second end of the third capacitor is electrically connected to the negative electrode of the power supply unit, the positive electrode of the fourth power switch tube is electrically connected to the negative electrode of the power supply unit, and the negative electrode of the fourth power switch tube is electrically connected to the positive electrode of the third power switch tube.
18. The GPU power supply circuit according to claim 17, characterized in that: The control unit is further configured to determine the voltage of the first capacitor to obtain a first voltage value during the process of controlling the capacitor charging unit to charge the first capacitor; and determine the voltage of the power supply unit to obtain a third voltage value; The conduction time length of the third power switch tube and the conduction time length of the third power switch tube are determined by the following formula 4 and formula 5: t3+t4=t (Formula 4); Uc / Up=t3 / t (Formula 5); Among them, t3 is the conduction time of the third power switch tube, t4 is the conduction time of the fourth power switch tube, t is the working time of the capacitor charging unit in a working cycle, Up is the third voltage value, and Uc is the first voltage value.
19. The GPU power supply circuit according to any one of claims 1 to 18, characterized in that: The GPU power supply circuit also includes: a slow start and fault isolation unit, Wherein, a first end of the slow start and fault isolation unit is electrically connected to the power supply unit, and a second end of the slow start and fault isolation unit is electrically connected to the power supply bus; The soft start and fault isolation unit is used to provide current to the power supply bus according to a preset current increase, and to prevent the power supply unit from failing when a failure occurs in the power supply bus.
20. A server, characterized in that: The GPU power supply circuit comprises the GPU power supply circuit as claimed in any one of claims 1 to 19.
Citation Information
Patent Citations
Computing device
CN115509335A
Energy scheduling device, energy scheduling method, power supply circuit and electronic equipment
CN116054121A
Power failure holding circuit, power supply protection method, power supply control circuit and device
CN116436146A
Uninterruptible power supply and power supply system
CN117013680A
Uninterruptible power supply and power supply system
CN220291718U
