CN112269466B - Power supply method of power chip and server mainboard - Google Patents
Power supply method of power chip and server mainboard Download PDFInfo
- Publication number
- CN112269466B CN112269466B CN202011111521.6A CN202011111521A CN112269466B CN 112269466 B CN112269466 B CN 112269466B CN 202011111521 A CN202011111521 A CN 202011111521A CN 112269466 B CN112269466 B CN 112269466B
- Authority
- CN
- China
- Prior art keywords
- power
- power supply
- target
- chip
- supply terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000003044 adaptive effect Effects 0.000 claims abstract description 20
- 230000008569 process Effects 0.000 claims description 22
- 230000009471 action Effects 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3296—Power saving characterised by the action undertaken by lowering the supply or operating voltage
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Direct Current Feeding And Distribution (AREA)
Abstract
The invention discloses a power supply method of a power chip and a server mainboard, wherein a power supply source for adapting to the power supply requirements of different types of power chips is configured in advance; the power supply has different power supply grades when being adapted to the power supply requirements of any type of power chip; acquiring a target type of a target power chip on a mainboard, and controlling a power supply to enter a power supply state adaptive to the power supply requirement of the target power chip according to the target type; the current power consumption of the target power chip is obtained, the target power supply grade corresponding to the current power consumption is determined according to the preset power consumption grade corresponding relation, and the power supply is controlled to supply power to the target power chip in the power supply state corresponding to the target power supply grade. Therefore, the power supply requirements of the power chips of different types can be adapted, and meanwhile, the power supply voltage can be reasonably distributed according to the actual power consumption condition of the chips, so that the power supply voltage is fully utilized, and the power consumption of the whole server is reduced under the condition of ensuring the normal operation of the service.
Description
Technical Field
The invention relates to the field of chip power supply, in particular to a power supply method of a power chip and a server mainboard.
Background
With the rapid development of cloud computing and artificial intelligence, the application of a GPU (Graphics Processing Unit) is becoming more and more widespread. At present, with the continuous improvement of the operation and data processing rate of the GPU, the power consumption of the GPU is also increased. Based on the specification of PCIE (peripheral component interconnect express, high-speed serial computer expansion bus standard) on the server motherboard, the maximum power supply output of the PCIE slot on the motherboard is 75W, and for a high-end GPU which is widely applied at present, the power of 75W is not enough to support the normal operation of the GPU, so in the server motherboard design process, the design of the motherboard power supply end is performed based on the GPU type which needs to be supported, but when the GPU is upgraded (the GPU type is changed), the power consumption is significantly increased, and at this time, the design power supply of the original motherboard power supply end is not enough to support the normal operation of the upgraded GPU, the motherboard power supply end needs to be re-developed, that is, the compatibility of the server motherboard power supply end is poor.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a power supply method of a power chip and a server mainboard, which can adjust the power supply output of a power supply for supplying power to a target power chip according to the target type and the current power consumption of the target power chip on the mainboard so as to realize the power supply requirement adaptive to different types of power chips, and simultaneously realize the reasonable distribution of power supply voltage according to the actual power consumption condition of the chips, so that the power supply voltage is fully utilized, and the power consumption of the whole server is reduced under the condition of ensuring the normal operation of services.
In order to solve the above technical problem, the present invention provides a power supply method for a power chip, including:
pre-configuring a power supply for adapting to power supply requirements of different types of power chips; the power supply has different power supply grades when being adapted to the power supply requirements of any type of power chip;
acquiring a target type of a target power chip on a mainboard, and controlling the power supply to enter a power supply state adaptive to the power supply requirement of the target power chip according to the target type;
the current power consumption of the target power chip is obtained, a target power supply grade corresponding to the current power consumption is determined according to a preset power consumption grade corresponding relation, and the power supply is controlled to supply power to the target power chip in a power supply state corresponding to the target power supply grade.
Preferably, the power supply comprises a first power supply terminal and a second power supply terminal connected with the power supply end of the target power chip, and a voltage division circuit arranged on a power supply line of the first power supply terminal and the second power supply terminal and used for enabling the power supply to adapt to the power supply requirements of different types of power chips by adjusting the voltage division value on the power supply line; when the power supply power source is matched with the power supply requirement of any type of power chip, the power supply set power of the first power supply terminal is less than the rated power consumption of the matched power chip and less than the power supply set power of the second power supply terminal;
correspondingly, the process of controlling the power supply to enter a power state adapted to the power supply requirement of the target power chip according to the target type includes:
adjusting the voltage division circuit according to the target type of the target power chip so that the power supply enters a power supply state matched with the power supply requirement of the target power chip;
the process of determining a target power supply grade corresponding to the current power consumption according to a preset power consumption grade corresponding relation and controlling the power supply to supply power to the target power chip in a power supply state corresponding to the target power supply grade comprises the following steps:
if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, selecting the first power supply terminal to supply power to the target power chip;
if the current power consumption of the target power chip is larger than the current power supply set power of the first power supply terminal and smaller than or equal to the current power supply set power of the second power supply terminal, selecting the second power supply terminal to supply power for the target power chip;
and if the current power consumption of the target power chip is larger than the current power supply set power of the second power supply terminal, stopping the power supply of the target power chip by the first power supply terminal and the second power supply terminal.
Preferably, the voltage dividing circuit comprises N first sub-voltage dividing circuits connected in parallel and arranged on a power supply line of the first power supply terminal, and N second sub-voltage dividing circuits connected in parallel and arranged on a power supply line of the second power supply terminal; the first sub-voltage division circuit and the second sub-voltage division circuit respectively comprise a voltage division device and a switch tube connected with the voltage division device in series; the total type number of the power chips matched with the power supply is N;
correspondingly, the process of controlling the power supply to enter a power state adapted to the power supply requirement of the target power chip according to the target type includes:
according to the target type of the target power chip, distinguishing a first switching tube which is adaptive to the power supply requirement of the target power chip from a second switching tube which is not adaptive to the power supply requirement of the target power chip, and controlling the second switching tubes to be disconnected;
the process of determining a target power supply level corresponding to the current power consumption according to a preset power consumption level corresponding relation and controlling the power supply to supply power to the target power chip in a power supply state corresponding to the target power supply level includes:
if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, controlling a first switching tube arranged on a power supply line of the first power supply terminal to be conducted so as to select the first power supply terminal to supply power to the target power chip;
if the current power consumption of the target power chip is larger than the current power supply setting power of the first power supply terminal and smaller than or equal to the current power supply setting power of the second power supply terminal, controlling a first switching tube arranged on a power supply line of the second power supply terminal to be conducted so as to select the second power supply terminal to supply power for the target power chip;
and if the current power consumption of the target power chip is greater than the current power supply setting power of the second power supply terminal, controlling the first switching tubes to be switched off so as to stop the first power supply terminal and the second power supply terminal from supplying power to the target power chip.
Preferably, the on-off control process of each switching tube arranged on the power supply line of the first power supply terminal and the second power supply terminal comprises:
configuring power supply codes representing the on-off conditions of the switch tubes according to the target type and the current power consumption of the target power chip;
and generating a driving signal of each switching tube according to the power supply codes, and inputting the driving signal of each switching tube to the control end of each switching tube in a one-to-one correspondence manner so as to control the on-off condition of each switching tube.
Preferably, the different types of power chips include 250W GPU, 300W GPU and 350W GPU.
Preferably, the power supply setting power of the first power supply terminal is 0.45 of rated power consumption of the adapted power chip; and the power supply setting power of the second power supply terminal is 1.1 of rated power consumption of the adapted power chip.
Preferably, the power supply end of the target power chip is further connected with a PCIE power supply slot on the motherboard; the power supply power of the PCIE power supply slot position is less than the power supply setting power of the first power supply terminal;
correspondingly, if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, the process of selecting the first power supply terminal to supply power to the target power chip includes:
if the current power consumption of the target power chip is less than or equal to a preset power consumption threshold value, selecting the PCIE power supply slot position to supply power to the target power chip; the preset power consumption threshold value is less than or equal to the power supply power of the PCIE power supply slot position;
and if the current power consumption of the target power chip is larger than a preset power consumption threshold value and is smaller than or equal to the current power supply setting power of the first power supply terminal, selecting the first power supply terminal to supply power for the target power chip.
In order to solve the technical problem, the invention also provides a server mainboard, which comprises power chips and a power supply source for adapting to the power supply requirements of the power chips of different types; the power chip is powered by any one of the power chip power supply methods.
The invention provides a power supply method of a power chip, which is characterized in that a power supply source for adapting to the power supply requirements of different types of power chips is configured in advance; the power supply has different power supply grades when being adapted to the power supply requirements of any type of power chip; acquiring a target type of a target power chip on a mainboard, and controlling a power supply to enter a power supply state adaptive to the power supply requirement of the target power chip according to the target type; the current power consumption of the target power chip is obtained, the target power supply grade corresponding to the current power consumption is determined according to the preset power consumption grade corresponding relation, and the power supply is controlled to supply power to the target power chip in the power supply state corresponding to the target power supply grade. Therefore, the power supply output of the power supply supplying power to the target power chip can be adjusted according to the target type and the current power consumption of the target power chip on the mainboard, so that the power supply requirements of different types of power chips can be adapted, meanwhile, the power supply voltage can be reasonably distributed according to the actual power consumption condition of the chips, the power supply voltage can be fully utilized, and the power consumption of the whole server can be reduced under the condition that the normal operation of the service is guaranteed.
The invention also provides a server mainboard which has the same beneficial effects as the power supply method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a power supply method for a power chip according to an embodiment of the present invention;
fig. 2 is a schematic power supply diagram of a power chip according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a power supply method of a power chip and a server mainboard, which can adjust the power supply output of a power supply for supplying power to the target power chip according to the target type and the current power consumption of the target power chip on the mainboard so as to realize the adaptation of the power supply requirements of different types of power chips, and simultaneously realize the reasonable distribution of the power supply voltage according to the actual power consumption condition of the chip, so that the power supply voltage is fully utilized, and the power consumption of the whole server is reduced under the condition of ensuring the normal operation of services.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a power supply method for a power chip according to an embodiment of the present invention.
The power supply method of the power chip comprises the following steps:
step S1: pre-configuring a power supply for adapting to power supply requirements of different types of power chips; the power supply has different power supply grades when being adapted to the power supply requirements of any type of power chip.
Specifically, the power supply is configured on the server mainboard in advance, the power supply can adapt to the power supply requirements of different types of power chips, and different power supply grades exist when the power supply adapts to the power supply requirements of any type of power chip, so that a basis is provided for reasonably distributing power supply voltage according to the actual power consumption condition of the chip in the follow-up process.
Step S2: and acquiring the target type of the target power chip on the mainboard, and controlling the power supply to enter a power supply state adaptive to the power supply requirement of the target power chip according to the target type.
Specifically, the power chip currently set on the server motherboard is called a target power chip, and in consideration of different power supply requirements of different types of power chips, the target type of the target power chip is obtained in the present application, so as to control the power supply configured on the server motherboard to enter a power state adapted to the power supply requirement of the target power chip according to the target type of the target power chip, so as to subsequently meet the power supply requirement of the target power chip.
Step S3: the current power consumption of the target power chip is obtained, the target power supply grade corresponding to the current power consumption is determined according to the preset power consumption grade corresponding relation, and the power supply is controlled to supply power to the target power chip in the power supply state corresponding to the target power supply grade.
It should be noted that the preset of the present application is set in advance, and only needs to be set once, and the reset is not needed unless the modification is needed according to the actual situation.
Specifically, the actual power consumption of the target power chip depends on the actual working state of the target power chip, which may be in a low-load working state, and at this time, the actual power consumption of the target power chip is also low; it may also be in a high load operating state, where the actual power consumption of the target power chip is also higher. It can be understood that when the actual power consumption of the target power chip is low, the currently required chip power supply is also low, i.e. the required power supply level is low; when the actual power consumption of the target power chip is higher, the currently required chip power supply is also higher, i.e. the required power supply level is higher. Therefore, the power consumption level corresponding relation set in advance in the application is as follows: the larger the actual power consumption of the target power chip is, the higher the corresponding power supply level of the power supply is.
Based on this, the current power consumption of the target power chip is obtained, the target power supply grade corresponding to the current power consumption of the target power chip is determined according to the preset power consumption grade corresponding relation, and then the power supply is controlled to supply power to the target power chip in the power supply state corresponding to the target power supply grade, so that the power supply voltage is reasonably distributed according to the actual power consumption condition of the chip, and the power supply voltage is fully utilized.
The invention provides a power supply method of a power chip, which is characterized in that a power supply source for adapting to the power supply requirements of different types of power chips is configured in advance; the power supply has different power supply grades when being adapted to the power supply requirements of any type of power chip; acquiring a target type of a target power chip on a mainboard, and controlling a power supply to enter a power supply state adaptive to the power supply requirement of the target power chip according to the target type; the current power consumption of the target power chip is obtained, the target power supply grade corresponding to the current power consumption is determined according to the preset power consumption grade corresponding relation, and the power supply is controlled to supply power to the target power chip in the power supply state corresponding to the target power supply grade. Therefore, the power supply output of the power supply supplying power to the target power chip can be adjusted according to the target type and the current power consumption of the target power chip on the mainboard, so that the power supply requirements of different types of power chips can be adapted, meanwhile, the power supply voltage can be reasonably distributed according to the actual power consumption condition of the chips, the power supply voltage can be fully utilized, and the power consumption of the whole server can be reduced under the condition that the normal operation of the service is guaranteed.
On the basis of the above-described embodiment:
as an alternative embodiment, the power supply includes a first power supply terminal and a second power supply terminal connected to the power supply terminal of the target power chip, and a voltage dividing circuit, provided on the power supply lines of the first power supply terminal and the second power supply terminal, for adapting the power supply to the power supply requirements of different types of power chips by adjusting the voltage dividing value on the power supply line; when the power supply source is matched with the power supply requirement of any type of power chip, the power supply set power of the first power supply terminal is less than the rated power consumption of the matched power chip and less than the power supply set power of the second power supply terminal;
correspondingly, according to the target type, the process of controlling the power supply to enter the power supply state adapting to the power supply requirement of the target power chip comprises the following steps:
adjusting the voltage division circuit according to the target type of the target power chip so that the power supply enters a power supply state adaptive to the power supply requirement of the target power chip;
the method comprises the following steps of determining a target power supply grade corresponding to current power consumption according to a preset power consumption grade corresponding relation, and controlling a power supply to supply power to a target power chip in a power supply state corresponding to the target power supply grade, wherein the process comprises the following steps:
if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, selecting the first power supply terminal to supply power to the target power chip;
if the current power consumption of the target power chip is larger than the current power supply set power of the first power supply terminal and smaller than or equal to the current power supply set power of the second power supply terminal, selecting the second power supply terminal to supply power for the target power chip;
and if the current power consumption of the target power chip is larger than the current power supply set power of the second power supply terminal, stopping the first power supply terminal and the second power supply terminal to supply power to the target power chip.
Specifically, the power supply on the server motherboard comprises two power supply terminals connected with the power supply terminal of the target power chip on the motherboard, which are respectively called a first power supply terminal and a second power supply terminal; the power supply further comprises a voltage division circuit, the voltage division circuit is arranged on a power supply line of the first power supply terminal and the second power supply terminal, the voltage division value on the power supply line of the first power supply terminal and the second power supply terminal can be adjusted, the power of the power supply end of the chip can be supplied by adjusting the first power supply terminal and the second power supply terminal, namely the power is set by adjusting the power supply of the first power supply terminal and the power supply of the second power supply terminal, and therefore the power supply needs of power chips of different types of power supply power adaptation are met.
It should be noted that, when the power supply source adapts to the power supply requirement of any type of power chip, the power supply setting power of the first power supply terminal is less than the rated power consumption of the adapted power chip and less than the power supply setting power of the second power supply terminal, so that different power supply grades exist when the power supply source adapts to the power supply requirement of any type of power chip. It will be appreciated that the first power supply terminal supplies power at a low power level and the second power supply terminal supplies power at a high power level.
Based on this, after the target type of the target power chip is obtained, the voltage division circuit is adjusted according to the target type of the target power chip, so that the power supply enters a power supply state which is adaptive to the power supply requirement of the target power chip. After the current power consumption of the target power chip is obtained, comparing the current power consumption of the target power chip with the current power supply setting power of the first power supply terminal and the current power supply setting power of the second power supply terminal, and if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, selecting the first power supply terminal to supply power to the target power chip; if the current power supply setting power of the first power supply terminal is less than the current power consumption of the target power chip and less than or equal to the current power supply setting power of the second power supply terminal, selecting the second power supply terminal to supply power for the target power chip; and if the current power consumption of the target power chip is larger than the current power supply setting power of the second power supply terminal, stopping supplying power to the target power chip by the first power supply terminal and the second power supply terminal, and enabling the target power chip not to work under the overload condition so as to avoid burning the chip or the mainboard.
As an alternative embodiment, the voltage dividing circuit includes N first sub-voltage dividing circuits connected in parallel to each other and provided on the power supply line of the first power supply terminal, and N second sub-voltage dividing circuits connected in parallel to each other and provided on the power supply line of the second power supply terminal; the first sub-voltage division circuit and the second sub-voltage division circuit respectively comprise a voltage division device and a switch tube connected with the voltage division device in series; the total type number of the power chips matched with the power supply is N;
correspondingly, according to the target type, the process of controlling the power supply to enter the power supply state adapting to the power supply requirement of the target power chip comprises the following steps:
according to the target type of the target power chip, distinguishing a first switching tube which is adaptive to the power supply requirement of the target power chip from a second switching tube which is not adaptive to the power supply requirement of the target power chip, and controlling the second switching tubes to be switched off;
the method comprises the following steps of determining a target power supply grade corresponding to current power consumption according to a preset power consumption grade corresponding relation, and controlling a power supply to supply power to a target power chip in a power supply state corresponding to the target power supply grade, wherein the process comprises the following steps:
if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, controlling a first switching tube arranged on a power supply line of the first power supply terminal to be conducted so as to select the first power supply terminal to supply power to the target power chip;
if the current power consumption of the target power chip is larger than the current power supply setting power of the first power supply terminal and smaller than or equal to the current power supply setting power of the second power supply terminal, controlling a first switching tube arranged on a power supply line of the second power supply terminal to be conducted so as to select the second power supply terminal to supply power for the target power chip;
and if the current power consumption of the target power chip is greater than the current power supply set power of the second power supply terminal, controlling the first switching tubes to be switched off so as to stop the first power supply terminal and the second power supply terminal from supplying power to the target power chip.
Specifically, the voltage division circuit comprises N first sub-voltage division circuits which are connected in parallel, wherein the first sub-voltage division circuits are arranged on a power supply line of a first power supply terminal; the voltage division circuit further comprises N second sub-voltage division circuits which are connected in parallel, and the second sub-voltage division circuits are arranged on a power supply circuit of the second power supply terminal. Each of the first sub-voltage division circuit and the second sub-voltage division circuit comprises a voltage division device and a switch tube, when the switch tube of one sub-voltage division circuit is conducted, the voltage division device of the sub-voltage division circuit acts on a power supply circuit of the power supply terminal where the sub-voltage division circuit is located, and at the moment, the power supply terminal where the sub-voltage division circuit is located supplies power to the target power chip under the action of the corresponding voltage division device.
It should be noted that the voltage dividing values of the voltage dividing devices of the sub-voltage dividing circuits are different, so that the voltage dividing values on the power supply lines of the first power supply terminal and the second power supply terminal can be adjusted by controlling the on-off conditions of the switching tubes of the sub-voltage dividing circuits, so as to adjust the power that the first power supply terminal and the second power supply terminal can provide to the power supply terminals of the chips, and thus, the power supply can adapt to the power supply requirements of different types of power chips.
Based on this, after the target type of the target power chip is obtained, according to the target type of the target power chip, the first switch tube which is matched with the power supply requirement of the target power chip and the second switch tube which is not matched with the power supply requirement of the target power chip are distinguished, and the second switch tubes are controlled to be disconnected, so that a basis is provided for the power supply to be matched with the power supply requirement of the target power chip. After the current power consumption of the target power chip is obtained, comparing the current power consumption of the target power chip with the current power supply setting power of the first power supply terminal and the current power supply setting power of the second power supply terminal, and if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, controlling a first switching tube arranged on a power supply line of the first power supply terminal to be switched on (the first switching tube arranged on the power supply line of the second power supply terminal is switched off by default) so as to select the first power supply terminal to supply power to the target power chip; if the current power supply setting power of the first power supply terminal is less than the current power consumption of the target power chip and less than or equal to the current power supply setting power of the second power supply terminal, controlling a first switching tube arranged on a power supply line of the second power supply terminal to be switched on (the first switching tube arranged on the power supply line of the first power supply terminal is disconnected by default) so as to select the second power supply terminal to supply power for the target power chip; and if the current power consumption of the target power chip is larger than the current power supply setting power of the second power supply terminal, controlling the first switching tubes arranged on the power supply lines of the first power supply terminal and the second power supply terminal to be switched off so as to stop the first power supply terminal and the second power supply terminal to supply power for the target power chip, and enabling the target power chip not to work under the overload condition.
As an alternative embodiment, the on-off control process of each switching tube arranged on the power supply line of the first power supply terminal and the second power supply terminal includes:
configuring power supply codes representing the on-off conditions of the switch tubes according to the target type and the current power consumption of the target power chip;
and generating a driving signal of each switching tube according to the power supply code, and inputting the driving signal of each switching tube to the control end of each switching tube in a one-to-one correspondence manner so as to control the on-off condition of each switching tube.
Specifically, according to the target type and the current power consumption of the target power chip, the on-off condition of each switching tube arranged on the power supply line of the first power supply terminal and the second power supply terminal can be determined, so that the power supply codes representing the on-off condition of each switching tube can be configured according to the target type and the current power consumption of the target power chip, and the driving signals of each switching tube are generated according to the power supply codes to control the on-off condition of each switching tube.
As an alternative embodiment, the different types of power chips include 250W GPU, 300W GPU and 350W GPU.
Specifically, the power chip of the present application may be a GPU, the types of which include 250W GPU, 300W GPU, and 350W GPU. The voltage dividing circuit of the present application includes 3 first sub-voltage dividing circuits connected in parallel and 3 second sub-voltage dividing circuits connected in parallel, each of the first sub-voltage dividing circuits and the second sub-voltage dividing circuits includes a voltage dividing device and a switching tube, as shown in fig. 2, Q0, Q1, and Q2 are switching tubes of the first sub-voltage dividing circuits; q3, Q4 and Q5 are switching tubes of the second sub-voltage division circuit; s0 denotes a first power supply terminal; s1 denotes a second power supply terminal. The switching tubes adapted to the 250W GPU are Q0 and Q3; the switching tubes adapted to the 300W GPU are Q1 and Q4; the switching tubes adapted to the 350W GPU are Q2 and Q5. Setting the power supply setting power of the first power supply terminal to be 0.45 of rated power consumption of the adaptive power chip; the power supply setting power of the second power supply terminal is 1.1, which is the rated power consumption of the adapted power chip, and is shown in table 1 below:
TABLE 1
GPU | S0 | S1 |
Collocation 250W GPU | 112.5W(Q0) | 275W(Q3) |
Collocation 300W GPU | 135W(Q1) | 330W(Q4) |
Collocation 350W GPU | 157.5W(Q2) | 380W(Q5) |
Based on this, when the target power chip on the motherboard is a 250W GPU, after the target type of the target power chip is obtained, according to the target type of the target power chip, the first switching tubes (Q0 and Q3) which are adapted to the power supply requirement of the target power chip and the second switching tubes (Q1, Q2, Q4 and Q5) which are not adapted to the power supply requirement of the target power chip are distinguished, and the Q1, Q2, Q4 and Q5 are controlled to be all turned off. After the current power consumption of the target power chip is obtained, the current power consumption of the target power chip is compared with 112.5W and 275W, if the current power consumption of the target power chip is less than or equal to 112.5W, the Q0 is controlled to be connected (Q3 is disconnected by default) so as to select S0 to supply power to the target power chip; if the current power consumption of the target power chip is more than 112.5W and less than or equal to 275W, controlling the Q3 to be switched on (Q0 is switched off by default) to select S1 to supply power to the target power chip; and if the current power consumption of the target power chip is more than 275W, controlling Q0 and Q3 to be switched off so as to stop S0 and S1 to supply power to the target power chip, and enabling the target power chip not to work under the overload condition.
When the target power chip on the mainboard is a 300W GPU, after the target type of the target power chip is obtained, according to the target type of the target power chip, the first switching tubes (Q1 and Q4) which are adaptive to the power supply requirement of the target power chip and the second switching tubes (Q0, Q2, Q3 and Q5) which are not adaptive to the power supply requirement of the target power chip are distinguished, and the Q0, the Q2, the Q3 and the Q5 are controlled to be disconnected. After the current power consumption of the target power chip is obtained, the current power consumption of the target power chip is compared with 135W and 330W, if the current power consumption of the target power chip is less than or equal to 135W, the Q1 is controlled to be switched on (Q4 is switched off by default) to select S0 to supply power to the target power chip; if the current power consumption of the target power chip is more than 135W and less than or equal to 330W, controlling the Q4 to be switched on (Q1 is switched off by default) to select S1 to supply power to the target power chip; if the current power consumption of the target power chip is larger than 330W, the Q1 and the Q4 are controlled to be switched off, so that the power supply of the S0 and the S1 for the target power chip is stopped, and the target power chip does not work under the overload condition.
When the target power chip on the mainboard is a 350W GPU, after the target type of the target power chip is obtained, according to the target type of the target power chip, the first switching tubes (Q2 and Q5) which are adaptive to the power supply requirement of the target power chip and the second switching tubes (Q0, Q1, Q3 and Q4) which are not adaptive to the power supply requirement of the target power chip are distinguished, and the Q0, the Q1, the Q3 and the Q4 are controlled to be disconnected. After the current power consumption of the target power chip is obtained, the current power consumption of the target power chip is compared with 157.5W and 380W, if the current power consumption of the target power chip is less than or equal to 157.5W, the Q2 is controlled to be connected (Q5 is disconnected by default), and S0 is selected to supply power to the target power chip; if 157.5W is less than or equal to 380W, controlling the Q5 to be switched on (Q2 is switched off by default) to select S1 to supply power to the target power chip; and if the current power consumption of the target power chip is more than 380W, controlling Q2 and Q5 to be switched off so as to stop S0 and S1 to supply power to the target power chip, and enabling the target power chip not to work under the overload condition.
In addition, in the present application, a BMC (Baseboard Management Controller) on the motherboard may be adopted to obtain the current power consumption information of the target power chip in real time through an I2C protocol, and transmit the current power consumption information of the target power chip to a CPLD (Complex Programmable Logic Device), the CPLD configures a power supply code according to the received current power consumption information of the target power chip, and controls the on-off state of each switching tube through a Controller.
As an alternative embodiment, the power supply setting power of the first power supply terminal is 0.45 of the rated power consumption of the adapted power chip; the power supply setting power of the second power supply terminal is 1.1 of the rated power consumption of the adapted power chip.
The description of the present embodiment is already mentioned in the above embodiments, and the detailed description of the present application is omitted here.
As an optional embodiment, the power supply end of the target power chip is further connected to a PCIE power supply slot on the motherboard; the power supply power of the PCIE power supply slot position is less than the power supply setting power of the first power supply terminal;
correspondingly, if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, the process of selecting the first power supply terminal to supply power to the target power chip includes:
if the current power consumption of the target power chip is less than or equal to a preset power consumption threshold value, selecting a PCIE power supply slot position to supply power to the target power chip; the power supply power of the PCIE power supply slot position is not more than a preset power consumption threshold value;
and if the current power consumption of the target power chip is larger than the preset power consumption threshold value and is smaller than or equal to the current power supply set power of the first power supply terminal, selecting the first power supply terminal to supply power to the target power chip.
Further, considering that when the target power chip is in idle state, the power consumption of the target power chip is much less than 75W (the maximum power supply output of the PCIE power supply slot on the motherboard), the PCIE power supply slot on the motherboard may be used to supply power to the target power chip under this condition, so that the power supply voltage is more reasonably distributed, and the power supply voltage is fully utilized.
Based on this, after the current power consumption of the target power chip is obtained, the current power consumption of the target power chip is compared with a preset power consumption threshold (the threshold is set to be 10% redundant, namely 67.5W), the current power supply setting power of the first power supply terminal and the current power supply setting power of the second power supply terminal, and if the current power consumption of the target power chip is less than or equal to 67.5W, the PCIE power supply slot position is selected to supply power to the target power chip; and if the current power consumption of the target power chip is less than or equal to 67.5W and less than or equal to the current power supply set power of the first power supply terminal, selecting the first power supply terminal to supply power for the target power chip.
The application also provides a server mainboard which comprises power chips and a power supply used for adapting to the power supply requirements of the power chips of different types; the power chip is powered by any one of the power chip power supply methods.
For introduction of a server motherboard provided in the present application, reference is made to the embodiment of the power supply method, and details of the present application are not repeated herein.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (7)
1. A power supply method of a power chip is characterized by comprising the following steps:
pre-configuring a power supply for adapting to power supply requirements of different types of power chips; the power supply has different power supply grades when being adapted to the power supply requirements of any type of power chip;
acquiring a target type of a target power chip on a mainboard, and controlling the power supply to enter a power supply state adaptive to the power supply requirement of the target power chip according to the target type;
acquiring the current power consumption of the target power chip, determining a target power supply grade corresponding to the current power consumption according to a preset power consumption grade corresponding relation, and controlling the power supply to supply power to the target power chip in a power supply state corresponding to the target power supply grade;
the power supply comprises a first power supply terminal and a second power supply terminal which are connected with the power supply end of the target power chip, and a voltage division circuit which is arranged on a power supply circuit of the first power supply terminal and the second power supply terminal and is used for enabling the power supply to adapt to the power supply requirements of different types of power chips by adjusting the voltage division value on the power supply circuit; when the power supply power source is matched with the power supply requirement of any type of power chip, the power supply set power of the first power supply terminal is less than the rated power consumption of the matched power chip and less than the power supply set power of the second power supply terminal;
correspondingly, the process of controlling the power supply to enter a power state adapted to the power supply requirement of the target power chip according to the target type includes:
adjusting the voltage division circuit according to the target type of the target power chip so that the power supply enters a power supply state matched with the power supply requirement of the target power chip;
the process of determining a target power supply level corresponding to the current power consumption according to a preset power consumption level corresponding relation and controlling the power supply to supply power to the target power chip in a power supply state corresponding to the target power supply level includes:
if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, selecting the first power supply terminal to supply power to the target power chip;
if the current power consumption of the target power chip is larger than the current power supply set power of the first power supply terminal and smaller than or equal to the current power supply set power of the second power supply terminal, selecting the second power supply terminal to supply power for the target power chip;
and if the current power consumption of the target power chip is larger than the current power supply set power of the second power supply terminal, stopping the power supply of the target power chip by the first power supply terminal and the second power supply terminal.
2. The power supply method of the power chip according to claim 1, wherein the voltage dividing circuit includes N first sub-voltage dividing circuits connected in parallel to each other on the supply line of the first power supply terminal, and N second sub-voltage dividing circuits connected in parallel to each other on the supply line of the second power supply terminal; the first sub-voltage division circuit and the second sub-voltage division circuit respectively comprise a voltage division device and a switch tube connected with the voltage division device in series; the total type number of the power chips matched with the power supply is N;
correspondingly, the process of controlling the power supply to enter a power state adapted to the power supply requirement of the target power chip according to the target type includes:
according to the target type of the target power chip, distinguishing a first switching tube which is adaptive to the power supply requirement of the target power chip from a second switching tube which is not adaptive to the power supply requirement of the target power chip, and controlling the second switching tubes to be disconnected;
the process of determining a target power supply grade corresponding to the current power consumption according to a preset power consumption grade corresponding relation and controlling the power supply to supply power to the target power chip in a power supply state corresponding to the target power supply grade comprises the following steps:
if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, controlling a first switching tube arranged on a power supply line of the first power supply terminal to be conducted so as to select the first power supply terminal to supply power to the target power chip;
if the current power consumption of the target power chip is larger than the current power supply setting power of the first power supply terminal and smaller than or equal to the current power supply setting power of the second power supply terminal, controlling a first switching tube arranged on a power supply line of the second power supply terminal to be conducted so as to select the second power supply terminal to supply power for the target power chip;
and if the current power consumption of the target power chip is greater than the current power supply setting power of the second power supply terminal, controlling the first switching tubes to be switched off so as to stop the first power supply terminal and the second power supply terminal from supplying power to the target power chip.
3. The power supply method of the power chip as claimed in claim 2, wherein the on-off control process of each switching tube provided on the power supply line of the first power supply terminal and the second power supply terminal comprises:
configuring power supply codes representing the on-off conditions of the switch tubes according to the target type and the current power consumption of the target power chip;
and generating a driving signal of each switching tube according to the power supply codes, and inputting the driving signal of each switching tube to the control end of each switching tube in a one-to-one correspondence manner so as to control the on-off condition of each switching tube.
4. The method of claim 2, wherein the different types of power chips include 250WGPU, 300WGPU and 350 WGPU.
5. The power chip supply method according to claim 1, wherein the first power supply terminal has a power supply setting power = 0.45 of a rated power consumption of the adapted power chip; the power supply set power of the second power supply terminal = rated power consumption x 1.1 of the adapted power chip.
6. The power supply method of the power chip according to any one of claims 1 to 5, wherein the power supply end of the target power chip is further connected to a PCIE power supply slot on the motherboard; the power supply power of the PCIE power supply slot position is less than the power supply setting power of the first power supply terminal;
correspondingly, if the current power consumption of the target power chip is less than or equal to the current power supply setting power of the first power supply terminal, the process of selecting the first power supply terminal to supply power to the target power chip includes:
if the current power consumption of the target power chip is less than or equal to a preset power consumption threshold value, selecting the PCIE power supply slot position to supply power to the target power chip; the preset power consumption threshold value is less than or equal to the power supply power of the PCIE power supply slot position;
and if the current power consumption of the target power chip is larger than a preset power consumption threshold value and is smaller than or equal to the current power supply setting power of the first power supply terminal, selecting the first power supply terminal to supply power for the target power chip.
7. A server mainboard is characterized by comprising power chips and a power supply source, wherein the power supply source is used for adapting to the power supply requirements of the power chips of different types; the power chip is powered by the power chip power supply method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011111521.6A CN112269466B (en) | 2020-10-16 | 2020-10-16 | Power supply method of power chip and server mainboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011111521.6A CN112269466B (en) | 2020-10-16 | 2020-10-16 | Power supply method of power chip and server mainboard |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112269466A CN112269466A (en) | 2021-01-26 |
CN112269466B true CN112269466B (en) | 2022-07-08 |
Family
ID=74338367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011111521.6A Active CN112269466B (en) | 2020-10-16 | 2020-10-16 | Power supply method of power chip and server mainboard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112269466B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113885691A (en) * | 2021-09-30 | 2022-01-04 | 上海商汤阡誓科技有限公司 | Chip power consumption adjustment method, device and chip system, and neural network training method and device |
CN113687707B (en) * | 2021-10-26 | 2022-03-04 | 苏州浪潮智能科技有限公司 | Power supply voltage control device of mainboard and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885151A (en) * | 2019-01-31 | 2019-06-14 | 郑州云海信息技术有限公司 | A kind of server power supply monitoring method and system |
CN110518564A (en) * | 2019-07-31 | 2019-11-29 | 广东浪潮大数据研究有限公司 | A kind of server output power distribution method and device |
CN111475009A (en) * | 2020-04-16 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Power consumption reduction circuit of GPU in server and server |
-
2020
- 2020-10-16 CN CN202011111521.6A patent/CN112269466B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885151A (en) * | 2019-01-31 | 2019-06-14 | 郑州云海信息技术有限公司 | A kind of server power supply monitoring method and system |
CN110518564A (en) * | 2019-07-31 | 2019-11-29 | 广东浪潮大数据研究有限公司 | A kind of server output power distribution method and device |
CN111475009A (en) * | 2020-04-16 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Power consumption reduction circuit of GPU in server and server |
Also Published As
Publication number | Publication date |
---|---|
CN112269466A (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI749182B (en) | Power supplying apparatus, power supplying control apparatus, and power supplying control method | |
CN112269466B (en) | Power supply method of power chip and server mainboard | |
CN107783882B (en) | Server power consumption management method and equipment | |
US20140122910A1 (en) | Rack server system and operation method thereof | |
CN111103827B (en) | Server working mode switching device | |
TWI754588B (en) | System for transmitting power to a remote poe subsystem by forwarding pd input voltage and manufacturing method, using method, and non-transitory program storage device readable by a computing device of the same | |
CN101707380A (en) | Method, device and system for configuring power supply system | |
CN103455120A (en) | Power supply control system and method | |
CN103166765A (en) | Power over ethernet (PoE) power gating switchover method and device | |
CN105119330A (en) | Power adapter and power supply method | |
CN104682552A (en) | System and method for supplying power to data center | |
CN111475008A (en) | Control method for working mode of power supply module | |
CN113472043A (en) | double-Type-C port shared charging power charger and intelligent output power distribution method thereof | |
CN110047557A (en) | A kind of enterprise-level solid state hard disk device for testing functions and method | |
CN104113129B (en) | Redundancy power supply system | |
CN100383771C (en) | System and method for dynamically distributing device address on integrated circuit bus | |
WO2023082531A1 (en) | Avs adjustment system, method and apparatus, and device and storage mdium | |
CN112615724B (en) | POE load priority power supply management system | |
CN105093993A (en) | Electronic equipment and control method thereof | |
CN114496002A (en) | Power supply circuit and storage device | |
CN210573287U (en) | Expansion circuit | |
CN114678861A (en) | Multi-power-supply Ethernet power supply system and control device thereof | |
CN102346528B (en) | Computer device | |
CN219204186U (en) | Multi-machine parallel system of constant-current digital power supply | |
CN111402787A (en) | L ED screen power supply control device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |