CN111427440A - Method and equipment for controlling GPU compensation capacitance - Google Patents

Method and equipment for controlling GPU compensation capacitance Download PDF

Info

Publication number
CN111427440A
CN111427440A CN202010154748.2A CN202010154748A CN111427440A CN 111427440 A CN111427440 A CN 111427440A CN 202010154748 A CN202010154748 A CN 202010154748A CN 111427440 A CN111427440 A CN 111427440A
Authority
CN
China
Prior art keywords
gpu
control switch
capacitor
control signal
capacitance
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.)
Pending
Application number
CN202010154748.2A
Other languages
Chinese (zh)
Inventor
肖朋晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010154748.2A priority Critical patent/CN111427440A/en
Publication of CN111427440A publication Critical patent/CN111427440A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC

Abstract

The invention provides a method and equipment for controlling a GPU compensation capacitor, wherein the method comprises the following steps: calculating the capacitance capacity of a compensation capacitor required by each GPU in the server; connecting the corresponding compensation capacitor to the corresponding GPU through the control switch according to the calculated capacitor capacity; and sending a corresponding control signal to the control switch based on the server running state, and enabling the control switch to be closed according to the received control signal so as to connect the capacitor to the GPU. By using the scheme of the invention, peak-load charge can be controlled, the problem that the GPU server cannot be started due to overlarge startup surge current can be effectively solved, and the problem that the GPU is powered off in an EDPP state due to too small capacitance of the input capacitor can be solved.

Description

Method and equipment for controlling GPU compensation capacitance
Technical Field
The field relates to the field of computers, and more particularly to a method and apparatus for controlling GPU compensation capacitance.
Background
With the development of cloud computing applications, informatization gradually covers various fields of society. People's daily life and daily life are more and more communicated through networks, and with the increase of the communication, the performance of a server used as a basic carrier is required to be stronger, the computing power is stronger, and the reaction speed is faster.
With the development of intelligent technology, the server not only needs to process a large amount of data, but also needs to process a large amount of images in time. Such as: the unmanned driving needs a server to process a large amount of real-time images at every moment, and at the moment, an ordinary server cannot meet the requirement on the image processing speed, so that a GPU server specially aiming at image processing is needed.
In order to enhance the image processing capability of the server, the GPU server integrates a plurality of GPUs on a board and is connected together through L ink chips.
The power consumption of the server device and the input capacitance cause the instantaneous current of the server during starting up to be very large. While the devices on the server are fixed, this requires that the capacity on the GPU board cannot be very large. While the instantaneous power consumption in the EDPP (EDPP) is increased to several times of the normal state, the power supply cannot instantaneously provide such large power consumption for the GPU, and the voltage drop from the power supply to the PSU power link is too large because the current is too large, which is lower than the requirement of the GPU specification. In order to meet the requirements of power consumption and voltage drop, enough capacitance is added on a GPU board for compensation, and thus the current is contradicted with the instantaneous current of starting.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for controlling a GPU compensation capacitor, by using the method of the present invention, peak-shifting charging can be controlled, a problem that a GPU server cannot be booted due to an excessive boot inrush current can be effectively solved, and a problem that a GPU is powered off in an EDPP state due to a too small capacitance of an input capacitor can be solved.
In view of the above, an aspect of the embodiments of the present invention provides a method for controlling a GPU compensation capacitance, including the following steps:
calculating the capacitance capacity of a compensation capacitor required by each GPU in the server;
connecting the corresponding compensation capacitor to the corresponding GPU through the control switch according to the calculated capacitor capacity;
and sending a corresponding control signal to the control switch based on the server running state, and enabling the control switch to be closed according to the received control signal so as to connect the capacitor to the GPU.
According to one embodiment of the invention, calculating the capacitance capacity of the compensation capacitor required by each GPU in the server comprises:
according to formula 1/2C (U)2-Udrop 2) Calculating capacitance (P x T), wherein C is capacitance of input capacitor on GPU board, U is voltage for GPU to work normally, and U is voltage for GPU to work normallydropIs a drop voltage; p is the power consumption of the GPU EDPP; t is the EDPP time.
According to one embodiment of the invention, the control signal is sent to the control switch via the BMC.
According to an embodiment of the present invention, the method further comprises:
and disconnecting the control switch according to the received control signal to disconnect the capacitor from the GPU.
According to one embodiment of the present invention, transmitting a corresponding control signal to the control switch based on the server operation state, causing the control switch to close according to the received control signal to connect the capacitor to the GPU includes:
controlling the control switch to be switched off through the control signal in response to the GPU board being powered on;
and responding to the starting of the server, and sequentially controlling the closing of each control switch through a threshold time by a control signal.
In another aspect of the embodiments of the present invention, there is also provided an apparatus for controlling a GPU compensation capacitance, the apparatus including:
the calculation module is configured to calculate the capacitance capacity of the compensation capacitor required by each GPU in the server;
a control module configured to receive the calculated capacitance capacity and to send a corresponding control signal to a control switch between the compensation capacitor corresponding to the calculated capacitance capacity and the corresponding GPU based on the server operation state, to cause the control switch to close according to the received control signal to connect the capacitor to the GPU.
According to an embodiment of the invention, the calculation module is further configured to calculate the value according to the formula 1/2C (U)2-Udrop 2) Calculating capacitance (P x T), wherein C is capacitance of input capacitor on GPU board, U is voltage for GPU to work normally, and U is voltage for GPU to work normallydropIs a drop voltage; power consumption with P as GPU EDPP(ii) a T is the EDPP time.
According to one embodiment of the invention, the control signal is sent to the control switch via the BMC.
According to an embodiment of the invention, the control module is further configured to cause the control switch to open in accordance with the received control signal to disconnect the capacitance from the GPU.
According to one embodiment of the invention, the control module is further configured to:
controlling the control switch to be switched off through the control signal in response to the GPU board being powered on;
and responding to the starting of the server, and sequentially controlling the closing of each control switch through a threshold time by a control signal.
The invention has the following beneficial technical effects: according to the method for controlling the GPU compensation capacitors, the capacitance capacity of the compensation capacitors needed by each GPU in the server is calculated; connecting the corresponding compensation capacitor to the corresponding GPU through the control switch according to the calculated capacitor capacity; the technical scheme that the control switch is closed according to the received control signal so that the capacitor is connected to the GPU based on the server running state can control off-peak charging, can effectively solve the problem that the GPU cannot be started due to overlarge startup surge current of the GPU server, and can solve the problem that the GPU is powered down in an EDPP state due to too small capacitance of the input capacitor.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art 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 that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method of controlling GPU compensation capacitance according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus for controlling GPU compensation capacitance according to one embodiment of the present invention;
FIG. 3 is a schematic diagram of a circuit for controlling GPU compensation capacitance according to one embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
In view of the above, a first aspect of embodiments of the present invention proposes an embodiment of a method for controlling a GPU compensation capacitance. Fig. 1 shows a schematic flow diagram of the method.
As shown in fig. 1, the method may include the steps of:
s1, calculating the capacitance capacity of the compensation capacitor required by each GPU in the server, and calculating the capacitance value of the required compensation capacitor, wherein the compensation capacitor can meet the voltage drop requirement of the GPU;
s2, connecting the corresponding compensation capacitor to the corresponding GPU through the control switch according to the calculated capacitor capacity, connecting the corresponding compensation capacitor to one end of the control switch, connecting the other end of the control switch to the GPU, wherein each GPU needs to be provided with one control switch, and all the control switches can be connected to equipment capable of sending control signals;
s3, corresponding control signals are sent to the control switch based on the operation state of the server, the control switch is closed according to the received control signals, the capacitor is connected to the GPU, the control switch is opened or closed according to the control signals, and when the control switch is closed, the compensation capacitor is connected to the GPU.
By the technical scheme, peak-load charge can be controlled, the problem that the GPU server cannot be started due to overlarge startup surge current can be effectively solved, and the problem that the GPU is powered off in an EDPP state due to too small capacitance of the input capacitor can be solved.
In a preferred embodiment of the present invention, calculating the capacitance capacity of the compensation capacitor required by each GPU in the server includes:
according to formula 1/2C (U)2-Udrop 2) Calculating capacitance (P x T), wherein C is capacitance of input capacitor on GPU board, U is voltage for GPU to work normally, and U is voltage for GPU to work normallydropIs a drop voltage; p is the power consumption of the GPU EDPP; t is the EDPP time.
As can be seen from the above formula, under the condition that the power consumption and time of the GPU EDPP are not changed, the input capacitance C on the GPU board is equal to (U)2-Udrop 2) Inversely proportional, the GPU normal operating voltage is the power supply output voltage, therefore, the capacitance of the input capacitor determines U in the EDPP statedropIf the input capacitance is insufficient, resulting in UdropIf the voltage is too low and exceeds the voltage specification required by the GPU, the phenomenon that the GPU is powered down due to too low voltage can occur. Therefore, the capacitance value of the compensation capacitor meeting the GPU requirement is calculated according to the formula.
In a preferred embodiment of the invention, the control signal is sent to the control switch via the BMC. The BMC can send corresponding signals to control connection or disconnection of the compensation capacitor according to the starting-up condition of the server.
In a preferred embodiment of the present invention, the method further comprises:
and disconnecting the control switch according to the received control signal to disconnect the capacitor from the GPU.
In a preferred embodiment of the present invention, transmitting a corresponding control signal to the control switch based on the server operation state, causing the control switch to close according to the received control signal to connect the capacitor to the GPU includes:
controlling the control switch to be switched off through the control signal in response to the GPU board being powered on;
and responding to the starting of the server, and sequentially controlling the closing of each control switch through a threshold time by a control signal.
The compensation capacitor can use a capacitor plate, when the GPU plate is powered on, a device (such as BMC) capable of sending a control signal sends a corresponding control signal to control the control switch to be switched off, the capacitor plate is not charged by a power supply, and the surge current of starting the GPU plate is not too large.
After the start-up is stable, the equipment sends corresponding control signals to enable the control switches to be sequentially closed, and the power supply sequentially charges the capacitor plates to form peak staggering charging. Because only one control switch is closed each time, the power supply charges one capacitor plate, and the capacitance of a single capacitor plate is not too large, so that the system voltage is not influenced.
When all the capacitor plates are charged, the control switch is kept in a closed state all the time when the system normally operates, when the GPU enters the EDPP state, the capacitor plates discharge to supply power for the GPU, and the working voltage U of the GPU in the EDPP state is guaranteeddropAnd the voltage is still within the voltage specification range of the GPU, so that the GPU is ensured not to have the risk of power failure.
By the technical scheme, peak-load charge can be controlled, the problem that the GPU server cannot be started due to overlarge startup surge current can be effectively solved, and the problem that the GPU is powered off in an EDPP state due to too small capacitance of the input capacitor can be solved.
It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
In view of the above object, according to a second aspect of the embodiments of the present invention, there is provided an apparatus for controlling GPU compensation capacitance, as shown in fig. 2, the apparatus 200 includes:
the calculation module is configured to calculate the capacitance capacity of the compensation capacitor required by each GPU in the server;
a control module configured to receive the calculated capacitance capacity and to send a corresponding control signal to a control switch between the compensation capacitor corresponding to the calculated capacitance capacity and the corresponding GPU based on the server operation state, to cause the control switch to close according to the received control signal to connect the capacitor to the GPU.
In a preferred embodiment of the invention, the calculation module is further configured to calculate the value according to the formula 1/2C (U)2-Udrop 2) Calculating capacitance (P x T), wherein C is capacitance of input capacitor on GPU board, U is voltage for GPU to work normally, and U is voltage for GPU to work normallydropIs a drop voltage; p is the power consumption of the GPU EDPP; t is the EDPP time.
In a preferred embodiment of the invention, the control signal is sent to the control switch via the BMC.
In a preferred embodiment of the invention, the control module is further configured to cause the control switch to open in response to the received control signal to disconnect the capacitor from the GPU.
In a preferred embodiment of the present invention, the control module is further configured to:
controlling the control switch to be switched off through the control signal in response to the GPU board being powered on;
and responding to the starting of the server, and sequentially controlling the closing of each control switch through a threshold time by a control signal.
It should be particularly noted that the embodiment of the system described above employs the embodiment of the method described above to specifically describe the working process of each module, and those skilled in the art can easily think that the modules are applied to other embodiments of the method described above.
Further, the above-described method steps and system elements or modules may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements or modules.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The embodiments described above, particularly any "preferred" embodiments, are possible examples of implementations and are presented merely to clearly understand the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure and protected by the following claims.

Claims (10)

1. A method for controlling GPU compensation capacitance, comprising the steps of:
calculating the capacitance capacity of a compensation capacitor required by each GPU in the server;
connecting the corresponding compensation capacitor to the corresponding GPU through a control switch according to the calculated capacitor capacity;
and sending a corresponding control signal to the control switch based on the server running state, and enabling the control switch to be closed according to the received control signal so as to enable the capacitor to be connected to the GPU.
2. The method of claim 1, wherein calculating the capacitance capacity of the compensation capacitor required by each GPU in the server comprises:
according to formula 1/2C (U)2-Udrop 2) Calculating the capacitance capacity, wherein C is the capacitance of the input capacitor on the GPU board, U is the voltage of the GPU in normal operation, and U is the voltage of the GPU in normal operationdropIs a drop voltage; p is the power consumption of the GPU EDPP; t is the EDPP time.
3. The method of claim 1, wherein the control signal is sent to the control switch via a BMC.
4. The method of claim 1, further comprising:
and disconnecting the control switch according to the received control signal to disconnect the capacitor from the GPU.
5. The method of claim 4, wherein sending a corresponding control signal to the control switch based on a server operating state, causing the control switch to close to connect the capacitor to the GPU in accordance with the received control signal comprises:
controlling the control switch to be switched off through the control signal in response to the GPU board being powered on;
and responding to the starting of the server, and sequentially controlling the closing of each control switch through the threshold time by the control signal.
6. An apparatus for controlling GPU compensation capacitance, the apparatus comprising:
the calculation module is configured to calculate the capacitance capacity of the compensation capacitor required by each GPU in the server;
a control module configured to receive the calculated capacitance capacity and to send a corresponding control signal to the control switch between the compensation capacitor corresponding to the calculated capacitance capacity and the corresponding GPU based on a server operating state, to cause the control switch to close according to the received control signal to connect the capacitor to the GPU.
7. The device of claim 6, wherein the computing module is further configured to: according to formula 1/2C (U)2-Udrop 2) Calculated by P TThe capacitance capacity is described, wherein C is the capacitance of the input capacitor on the GPU board, U is the voltage of the GPU for normal operation, and U is the voltage of the GPU for normal operationdropIs a drop voltage; p is the power consumption of the GPU EDPP; t is the EDPP time.
8. The device of claim 6, wherein the control signal is sent to the control switch via a BMC.
9. The device of claim 6, wherein the control module is further configured to cause the control switch to open to disconnect the capacitor from the GPU in accordance with the received control signal.
10. The device of claim 9, wherein the control module is further configured to:
controlling the control switch to be switched off through the control signal in response to the GPU board being powered on;
and responding to the starting of the server, and sequentially controlling the closing of each control switch through the threshold time by the control signal.
CN202010154748.2A 2020-03-08 2020-03-08 Method and equipment for controlling GPU compensation capacitance Pending CN111427440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010154748.2A CN111427440A (en) 2020-03-08 2020-03-08 Method and equipment for controlling GPU compensation capacitance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010154748.2A CN111427440A (en) 2020-03-08 2020-03-08 Method and equipment for controlling GPU compensation capacitance

Publications (1)

Publication Number Publication Date
CN111427440A true CN111427440A (en) 2020-07-17

Family

ID=71546181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010154748.2A Pending CN111427440A (en) 2020-03-08 2020-03-08 Method and equipment for controlling GPU compensation capacitance

Country Status (1)

Country Link
CN (1) CN111427440A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581637A (en) * 2003-08-01 2005-02-16 华为技术有限公司 Capacitive circuit
CN201025205Y (en) * 2007-03-26 2008-02-20 康国强 Assisted start device for car
CN201174597Y (en) * 2008-03-27 2008-12-31 武汉江北开关有限责任公司 10kV reactive compensating capacitor switch
CN101521382A (en) * 2008-11-26 2009-09-02 锦州拓新电力电子有限公司 Capacitor tuning type series adjustable reactor
CN201789459U (en) * 2010-07-23 2011-04-06 大禹电气科技股份有限公司 Large high-voltage motor capacitance energy-storage compensating starter
CN102082430A (en) * 2011-01-27 2011-06-01 广州金升阳科技有限公司 Surge suppression circuit
CN103166208A (en) * 2011-12-13 2013-06-19 联芯科技有限公司 Power supplying circuit capable of hindering surge currents
CN104218601A (en) * 2013-06-03 2014-12-17 国家电网公司 Anti-voltage-sag compensating device
CN105322522A (en) * 2014-06-24 2016-02-10 中兴通讯股份有限公司 Method and circuit for restraining surge current of DC electrical source

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581637A (en) * 2003-08-01 2005-02-16 华为技术有限公司 Capacitive circuit
CN201025205Y (en) * 2007-03-26 2008-02-20 康国强 Assisted start device for car
CN201174597Y (en) * 2008-03-27 2008-12-31 武汉江北开关有限责任公司 10kV reactive compensating capacitor switch
CN101521382A (en) * 2008-11-26 2009-09-02 锦州拓新电力电子有限公司 Capacitor tuning type series adjustable reactor
CN201789459U (en) * 2010-07-23 2011-04-06 大禹电气科技股份有限公司 Large high-voltage motor capacitance energy-storage compensating starter
CN102082430A (en) * 2011-01-27 2011-06-01 广州金升阳科技有限公司 Surge suppression circuit
CN103166208A (en) * 2011-12-13 2013-06-19 联芯科技有限公司 Power supplying circuit capable of hindering surge currents
CN104218601A (en) * 2013-06-03 2014-12-17 国家电网公司 Anti-voltage-sag compensating device
CN105322522A (en) * 2014-06-24 2016-02-10 中兴通讯股份有限公司 Method and circuit for restraining surge current of DC electrical source

Similar Documents

Publication Publication Date Title
US8686588B2 (en) Device arrangement comprising an electronic device and a power adapter and method for connecting a power adapter
US11605841B2 (en) Battery equalizing apparatus and method, and unmanned aerial vehicle
US9244509B2 (en) Uninterruptible power system and power control system thereof
CN112737028B (en) Charging conversion equipment and charging control method
CN104375618A (en) Power management method, power management device and electronic device
CN111211602A (en) Super capacitor charge-discharge module, charge-discharge method and power terminal
CN108897416A (en) It is a kind of to control method, apparatus and computer readable storage medium electric under GPU
US8046602B2 (en) Controlling connection status of network adapters
CN111427440A (en) Method and equipment for controlling GPU compensation capacitance
CN210111645U (en) Power supply device capable of realizing rapid discharge
CN210608666U (en) Control device of redundant power supply and power supply system
EP3291404A1 (en) Method and device for implementing connection control
CN217388303U (en) Embedded system power-down protection device based on super capacitor
CN209805473U (en) Control circuit and charger of power supply
CN111400211B (en) PCIe bus-based communication method and system
CN108304059B (en) Automatic shutdown system and method for abnormal power failure of computer
CN111969686A (en) Mobile terminal for concurrent USB OTG and charging and implementation method
CN212413132U (en) Power-on reset protection circuit, control device and household appliance
CN220273333U (en) Charging activation circuit and battery system
CN106410871B (en) Power-supply management system and method
CN117318000B (en) Power supply system and electronic equipment
CN216290254U (en) Standby power supply circuit and electronic device
CN204304543U (en) A kind of power protecting circuit and terminal
CN210430949U (en) Charging device capable of transmitting data
CN213341724U (en) Power supply circuit, movable platform and terminal equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200717