CN114089825A - Power supply method and power supply circuit of server - Google Patents

Power supply method and power supply circuit of server Download PDF

Info

Publication number
CN114089825A
CN114089825A CN202210051998.2A CN202210051998A CN114089825A CN 114089825 A CN114089825 A CN 114089825A CN 202210051998 A CN202210051998 A CN 202210051998A CN 114089825 A CN114089825 A CN 114089825A
Authority
CN
China
Prior art keywords
power supply
logic controller
power
network card
crps
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.)
Granted
Application number
CN202210051998.2A
Other languages
Chinese (zh)
Other versions
CN114089825B (en
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.)
Zhongke Controllable Information Industry Co Ltd
Original Assignee
Zhongke Controllable Information Industry 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 Zhongke Controllable Information Industry Co Ltd filed Critical Zhongke Controllable Information Industry Co Ltd
Priority to CN202210051998.2A priority Critical patent/CN114089825B/en
Publication of CN114089825A publication Critical patent/CN114089825A/en
Application granted granted Critical
Publication of CN114089825B publication Critical patent/CN114089825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • G06F1/206Cooling means comprising thermal management
    • 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
    • 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/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/005Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting using a power saving mode
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/005Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting using a power saving mode
    • H02J9/007Detection of the absence of a load
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a power supply method and a power supply circuit of a server. In the method, when the AC power supply is triggered to be powered on, a logic controller is initialized, a first power supply module is started through the logic controller to provide electric energy for the working equipment in the S5 state, when the logic controller detects that a network card is in place, a second power supply module is started through the logic controller to provide electric energy for the network card, and when the logic controller detects that the network card is not in place, the second power supply module is disconnected with the network card through the logic controller. The method realizes an optimized power supply scheme for supplying power to different devices in different states, avoids the waste phenomenon that the network card is not in place or the server still provides redundant electric energy for the server when the server is in the S5 state, realizes a method for selecting the power supply modules matched with each other according to the power supply requirements of each device, and further solves the problem that the existing power supply requirements and power supply capacity of the power supply are unbalanced.

Description

Power supply method and power supply circuit of server
Technical Field
The present application relates to the field of computer device technologies, and in particular, to a power supply method and circuit for a server.
Background
With the wide application of the super-large-scale data center, the server has higher and higher requirements on parameters such as network bandwidth, throughput, transmission delay and the like, and the server network card is used as a main accessory of the server and used for connection between the server and network equipment such as the server, the server and a switch and has higher and higher performance requirements. The OCP3.0 network card is a new generation of multifunctional high-performance server network card, and gradually becomes a mainstream configuration server network card by virtue of the advantages of high bandwidth, multiple specifications, easiness in maintenance and the like.
At present, an OCP3.0 network card designed in a motherboard circuit of a server generally dissipates heat through an AUX fan, or performs power supply switching and power supply through setting a plurality of eFUSE electronic fuses to simulate the S0/S5 states, so as to optimize a heat dissipation scheme and a power supply scheme of the motherboard, for example, the OCP3.0 network card is designed with a fan, or the server provides an independent low-power fan to be placed above a radiator of the OCP network card, or the server uses a general high-power fan to perform heat dissipation, and uses eFUSE to simulate the S0/S5 states to switch and supply power.
However, the above method has a problem that the power supply requirement and power supply capability of the server are unbalanced, thereby causing a problem that the heat dissipation effect of the internal mainboard of the server is not good.
Disclosure of Invention
Therefore, it is necessary to provide a power supply method and a power supply circuit for a server in order to solve the problem that the existing power supply requirement and power supply capability are not balanced, which results in poor heat dissipation effect of the server.
In a first aspect, the present application provides a power supply method for a server, where the method includes:
when detecting that the alternating current power supply is triggered to be powered on, initializing a logic controller;
starting a first power supply module through the logic controller to provide power for the working equipment in the S5 state;
when the logic controller detects that the network card is in place, a second power supply module is started to supply electric energy to the network card through the logic controller, and when the logic controller detects that the network card is not in place, the second power supply module is disconnected from the network card through the logic controller.
According to the method, the second power supply module is started or closed to supply power to the network card through detecting whether the network card is in place, and the first power supply module supplies power to the working equipment of the server in the S5 state, so that an optimized power supply scheme for supplying power to different equipment in different states is realized, the waste phenomenon that redundant electric energy is provided for the server when the network card is not in place or the server is in the S5 state is avoided, a method for selecting power supply modules matched with each other according to the power supply requirements of each equipment is realized, the problems of unbalanced power supply requirements and power supply capacity of the existing power supply requirements are solved, and the problem of poor heat dissipation effect of a circuit where the network card is located in the server due to unbalanced power supply requirements and power supply capacity of the existing power supply requirements and the power supply capacity of the existing power supply requirements can be solved.
In one embodiment, the method further comprises:
when the logic controller detects that the power consumption of a network card is not larger than a preset power consumption threshold value, the logic controller disconnects the second power supply module from the network card; and when the logic controller detects that the power consumption of the network card is greater than the preset power consumption threshold value, starting a third power supply module to supply electric energy to the network card through the logic controller.
According to the embodiment, the power supply requirement of the network card is determined according to the power consumption information of the network card, so that the power supply optimization design is realized according to the power supply requirement of the network card, the power supply requirement and the power consumption of the network card reach a balanced state, the network card cannot accumulate heat, the heat dissipation effect of the network card is improved to a certain extent, and the damage to the network card is reduced.
In one embodiment, the method further comprises:
when the logic controller detects that the fan is in an on state, reading information of the temperature device, and determining a heat dissipation strategy according to the read information;
and controlling the rotating speed of the fan to dissipate heat according to the heat dissipation strategy.
The embodiment realizes the rotation speed adjustment of the fan, avoids the power consumption waste caused by full rotation of the fan when the network card on the mainboard cannot work normally or works at low power consumption, and achieves the purpose of energy conservation.
In one embodiment, the method further comprises:
when detecting that the direct current power supply is triggered to be powered on, the logic controller starts the fourth power supply module to provide electric energy for the network card, the logic controller starts the fifth power supply module to provide electric energy for the peripheral device, and the logic controller opens the fuse to communicate a circuit between the fourth power supply module and the pluggable device.
The embodiment realizes that the server is effectively switched to the S0 state from the S5 state, optimizes power supply design by switching the power modules in different states in the switching process, achieves the aim of energy saving, can also solve the problem of balance between the power supply requirement of the working equipment in the S5 state and the power supply capacity of the power supply, and further improves the heat dissipation effect of the server in the S5 state.
In a second aspect, the present application further provides a power supply circuit of a server. The power supply circuit includes: the system comprises a logic controller, a first power supply module, a first starting device, a first switching device, a second power supply module, a second starting device, a second switching device, an interface of working equipment and a network card;
a first end of the first switching device is connected with an output end of the first power supply module, a second end of the first switching device is connected with an interface of the working equipment, and a third end of the first switching device is connected with a first output end of the logic controller;
the first end of the second switching device is connected with the output end of the second power supply module, the second end of the second switching device is connected with the network card, and the third end of the second switching device is connected with the second output end of the logic controller;
the input end of the first starting device is connected with the third output end of the logic controller, and the output end of the first starting device is connected with the input end of the first power supply module;
the input end of the second starting device is connected with the fourth output end of the logic controller, and the output end of the second starting device is connected with the input end of the second power supply module.
The power supply circuit detects whether the network card is in place through the logic controller, the second power supply module is started or closed to supply power to the network card in an adaptive mode, and the first power supply module supplies power to the working equipment of the server in the S5 state, an optimized power supply scheme for supplying power to different equipment in different states is achieved, the waste phenomenon that redundant electric energy is provided for the server when the network card is not in place or the server is in the S5 state is avoided, a method for selecting power supply modules matched with each other according to the power supply requirements of each equipment is achieved, the problems of unbalanced power supply requirements and power supply capacity of the existing power supply requirements and unbalanced power supply capacity are solved, and the problem that the heat dissipation effect of a circuit where the network card is located in the server is poor due to unbalanced power supply requirements and power supply capacity of the existing power supply requirements and the power supply capacity of the server can be solved.
In a third aspect, the present application further provides a power supply circuit of a server, where the power supply circuit includes: the system comprises a main CRPS power supply, a plurality of slave CRPS power supplies, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a fifth MOS tube, a sixth MOS tube, a seventh MOS tube, a logic controller, a fuse, a network card, an interface of working equipment, an interface of a peripheral device and an interface of pluggable equipment;
wherein the plurality of slave CRPS power supplies are connected in parallel; a first output end of the main CRPS power supply is connected with a first port of the logic controller through the fifth MOS tube and the fourth MOS tube;
the second output end of the master CRPS power supply is connected with the plurality of slave CRPS power supplies in parallel through the first MOS tube, the second MOS tube and the third MOS tube; a second output end of the main CRPS power supply is connected with a first port of the logic controller through the first MOS tube, the fifth MOS tube and the fourth MOS tube; the second output end of the main CRPS power supply is connected with the network card through the first MOS tube and the seventh MOS tube, and the second output end of the main CRPS power supply is connected with an interface of the working equipment through the first MOS tube; the second output end of the main CRPS power supply is connected with an interface of the pluggable equipment through the fuse; the control input end of the fuse is connected with the second port of the logic controller;
the third output end of the main CRPS power supply is connected with the first parallel output ends of the plurality of slave CRPS power supplies; the second parallel output ends of the plurality of slave CRPS power supplies are connected with a third port of the logic controller, and the third parallel output ends of the plurality of slave CRPS power supplies are connected with an interface of the peripheral device;
and a fourth port of the logic controller is connected with the network card through the sixth MOS tube and the seventh MOS tube, and a fifth port of the logic controller is connected with the network card.
The power supply circuit is a main board hardware circuit design scheme, and achieves main board power supply design, energy-saving design and heat dissipation design. The server can monitor the power consumption requirement of the network card and the circuit temperature in real time, and intelligently adjust a power supply strategy and a heat dissipation strategy, so that the optimal design of energy conservation and heat dissipation is achieved. In addition, the power supply circuit provided by the application can solve the problem that the power supply requirement and the power supply capacity of the server are unbalanced in the S5 state, and meanwhile, the use of fuse eFUSEs is reduced.
Drawings
Fig. 1 is a schematic internal structure diagram of a server according to an embodiment;
FIG. 2 is a flowchart illustrating a power supply method of a server according to a second embodiment;
FIG. 3 is a flowchart illustrating a power supply method of a server according to a third embodiment;
FIG. 4 is a flowchart illustrating a power supply method of a server according to a fourth embodiment;
FIG. 5 is a flowchart illustrating a power supply method of a server according to a fifth embodiment;
FIG. 6 is a flowchart illustrating a power supply method of a server according to a sixth embodiment;
fig. 7 is a schematic structural diagram of a power supply circuit of a server provided in the seventh embodiment;
fig. 8 is a schematic structural diagram of a power supply circuit of the server provided in the eighth embodiment;
fig. 9 is a schematic structural diagram of a power supply circuit of a server provided in the ninth embodiment;
fig. 10 is a schematic structural diagram of a power supply circuit of a server provided in the tenth embodiment;
fig. 11 is a schematic configuration diagram of a power supply circuit of a server provided in an eleventh embodiment;
fig. 12 is a schematic structural diagram of a power supply circuit of a server provided in the twelfth embodiment;
fig. 13 is a flowchart of a power supply flow of the server according to the thirteenth embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The power supply method for the server provided by the embodiment of the application can be applied to the server in the first embodiment shown in fig. 1. The internal structure of which can be seen in figure 1. The server includes a processor, a memory, a network interface, and a power supply circuit connected by a system bus. Wherein the processor of the server is configured to provide computing and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the server is used to store temperature data. The network interface of the server is used for communicating with an external terminal through network connection. The power supply circuit of the server is used for supplying power to each component in the server, and the computer program is executed by the processor to realize a power supply method of the server.
In a second embodiment, as shown in fig. 2, a power supply method for a server is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s101, when detecting that the alternating current power supply is triggered to be powered on, initializing a logic controller.
The Logic controller may be embodied as a Complex Programmable Logic Device (CPLD), and is disposed on a power supply circuit of a motherboard of the server or other power supply circuits connected to the motherboard. In this embodiment, when the server is in a power-off state, that is, in a G3 state, if the AC power supply AC of the server is manually started, and the server detects that the AC power supply AC is triggered, it indicates that the server is connected to the external AC power supply AC, at this time, a CPLD or a Baseboard Management Controller (BMC) on a motherboard circuit or a power supply circuit of the server performs firmware initialization, and after the initialization is completed, the server enters an S5 state, at this time, the DC power supply DC in the server is in a standby state.
And S102, starting the first power supply module through the logic controller to supply power to the working equipment in the state of S5.
The first Power Supply module is a Power Supply for providing a P12V _ STBY voltage, and the Power Supply can be obtained by connecting a Common Redundant Power Supply (CRPS) and a plurality of slave CRPS in parallel to output a voltage, for example, if N +1 CRPS Power supplies are adopted, the voltage output by the N +1 CRPS Power supplies in parallel is P12V _ STBY.
In this embodiment, after the server completes initialization of the logic controller based on the foregoing steps, the logic controller may be used to control and conduct a circuit between the first power module and the operating device in the S5 state, and start the first power module, so that the first power module can provide the P12V _ STBY voltage for the operating device in the S5 state to perform normal operation. Optionally, a switch circuit may be disposed between the first power module and the operating device in the S5 state, and the logic controller controls the switch circuit to further control to turn on or off a circuit between the first power module and the operating device in the S5 state, where the switch circuit may be implemented by disposing a MOS transistor, or by using another type of switch.
S103, when the logic controller detects that the network card is in place, the logic controller starts the second power supply module to supply electric energy to the network card, and when the logic controller detects that the network card is not in place, the logic controller disconnects the second power supply module from the network card.
The second power module is a power supply for providing OCP _ AUX voltage, where the OCP _ AUX voltage may be obtained from the P12V _ STBY voltage output by the main CRPS power supply and multiple slave CRPS power supplies in parallel, or may be obtained from the P12V _1 voltage output by the main CRPS power supply, for example, if N +1 CRPS power supplies are adopted, the voltage output by the N +1 CRPS power supplies in parallel is P12V _ STBY. The voltage output by 1 of the CRPS power supplies is the P12V _1 voltage.
In this embodiment, when the server is in the S5 state based on the foregoing steps, a preset time may be set at intervals, for example, 1S, the network card information is read by the logic controller CPLD to monitor whether the network card is in place, if the network card is in place, the second power module is started, and the logic controller controls the circuit between the second power module and the network card to be turned on, so that the second power module can normally supply power to the network card, for example, the circuit between the second power module and the network card is controlled to be turned on, so that the second power module can output OCP _ AUX voltage to supply power to the network card. Optionally, when the network card fan is disposed on the network card, the logic controller may also control the circuit between the second power module and the network card fan to be switched on, so that the second power module can normally supply power to the network card fan, and the network card fan can dissipate heat of the network card. If the network card is not in place, the logic controller disconnects the second power supply module from the network card, so that the energy-saving purpose is achieved. It should be noted that, when the second power module is started by the logic controller, the second power module may be specifically implemented by pulling up the port bit OCP _ AUX _ ON of the logic controller and pulling down the port bit OCP _ PRSNT _ N of the logic controller; when the logic controller disconnects the second power module from the network card, the connection may be specifically realized by pulling down the port bit OCP _ AUX _ ON of the logic controller and pulling up the port bit OCP _ PRSNT _ N of the logic controller.
In the power supply method for the server provided in the foregoing embodiment, when it is detected that the ac power supply is triggered to be powered on, the logic controller is initialized, and the first power module is started by the logic controller to provide electric energy for the operating device in the S5 state, when the logic controller detects that the network card is in place, the second power module is started by the logic controller to provide electric energy for the network card, and when the logic controller detects that the network card is not in place, the connection between the second power module and the network card is disconnected by the logic controller. According to the method, the second power supply module is started or closed to supply power to the network card through detecting whether the network card is in place, and the first power supply module supplies power to the working equipment of the server in the S5 state, so that an optimized power supply scheme for supplying power to different equipment in different states is realized, the waste phenomenon that redundant electric energy is provided for the server when the network card is not in place or the server is in the S5 state is avoided, a method for selecting power supply modules matched with each other according to the power supply requirements of each equipment is realized, the problems of unbalanced power supply requirements and power supply capacity of the existing power supply requirements are solved, and the problem of poor heat dissipation effect of a circuit where the network card is located in the server due to unbalanced power supply requirements and power supply capacity of the existing power supply requirements and the power supply capacity of the existing power supply requirements can be solved.
In one embodiment, the logic controller may further read network card information to determine power consumption of the network card, and then switch different power modules according to the power consumption of the network card to optimize power supply design, thereby achieving the purpose of energy saving. Optionally, on the basis of the method described in the embodiment of fig. 2, as in the third embodiment shown in fig. 3, the power supply method further includes:
s104, when the logic controller detects that the power consumption of the network card is not larger than a preset power consumption threshold value, the logic controller disconnects the second power supply module from the network card; and when the logic controller detects that the power consumption of the network card is greater than a preset power consumption threshold value, starting a third power supply module through the logic controller to supply electric energy to the network card.
The preset power consumption threshold is used for judging whether the power consumption of the current network card belongs to low power consumption, namely when the power consumption of the network card is not more than the preset power consumption threshold, the current network card is in a low power consumption working state; when the power consumption of the network card is greater than the preset power consumption threshold value, the current network card is in a high power consumption working state. The preset power consumption threshold may be determined in advance according to the performance or attribute of the network card. The third power module is a power supply providing a P12V _ AUX voltage, where the P12V _ AUX voltage can be obtained from the P12V _1 voltage output by the main CRPS power supply, for example, if N +1 CRPS power supplies are adopted, the voltage output by 1 indispensable CRPS power supply is the P12V _1 voltage.
In this embodiment, when the logic controller reads the network card information of the network card, because the network card information further includes the power consumption information of the network card, for example, the FRU information of the network card includes the power consumption of the network card, the logic controller can determine the power consumption of the network card according to the power consumption information of the network card, and then when the network card is detected to be in a low-power-consumption working state, it indicates that the power supply requirement of the current network card is very low, and the logic controller disconnects the second power module from the network card, thereby achieving the purpose of saving energy. Specifically, the method can be implemented by pulling down the port bit OCP _ AUX _ ON of the logic controller and pulling up the port bit OCP _ PRSNT _ N of the logic controller. When the network card is detected to be in a high-power-consumption working state, it is indicated that the power supply requirement of the current network card is very high, at this time, if the power supply of the current network card is a low-power supply, for example, the P12V _ STBY voltage output by N +1 CRPS in parallel, and the P12V _ STBY can only provide 3A/CRPS current (36W (N + 1)), in order to meet the high power supply requirement, the power supply needs to be switched, that is, the third power supply module is started, and the main CRPS power supply outputs the P12V _1 voltage to provide electric energy for the network card.
In an embodiment, the power supply method provided by the present application may further perform a heat dissipation design on the motherboard circuit or the power supply circuit by adjusting a rotation speed of the fan, so that, on the basis of the above embodiment, as shown in fig. 4, the method in the embodiment of fig. 2 further includes:
and S105, when the logic controller detects that the fan is in the opening state, reading the information of the temperature device, and determining a heat dissipation strategy according to the read information.
The temperature device comprises a network card temperature sensor, a temperature alarm register and a severe temperature alarm register. The heat dissipation strategy includes a control strategy for the speed of the fan, such as a particular fan speed, fan on, fan off, fan run time, and the like.
In this embodiment, the logic controller may read the fan register bit through a data bus (SGPIO), determine whether the fan on the motherboard or the network card needs to be turned on, and specifically control to turn on the fan when reading 1' b 1. When the fan is detected to be in the on state, the logic controller can further read the network card temperature sensor to obtain the current temperature of the network card, read the temperature alarm register to obtain the alarm temperature of the network card, read the serious temperature alarm register to obtain the serious alarm temperature of the network card, and then plan a heat dissipation strategy according to the current temperature of the network card, the alarm temperature of the network card and the serious alarm temperature of the network card, so that the heat dissipation optimization design of a main board circuit or a power supply circuit can be conveniently realized according to the heat dissipation strategy.
And S106, controlling the rotating speed of the fan to dissipate heat according to a heat dissipation strategy.
The mainboard circuit or the power supply circuit can be provided with a controller for controlling the fan, or the fan can be controlled by a logic controller. Specifically, when the heat dissipation strategy is determined based on the steps, the rotating speed of the fan can be regulated according to the heat dissipation strategy, so that the fan can timely dissipate heat for the network card, and the heat dissipation of the network card is guaranteed to pass. The embodiment realizes the rotation speed adjustment of the fan, avoids the power consumption waste caused by full rotation of the fan when the network card on the mainboard cannot work normally or works at low power consumption, and achieves the purpose of energy conservation.
In practical applications, when the server executes the method according to any of the above embodiments, the DC power supply DC of the server may be triggered, so that, on the basis of the method according to the embodiment shown in fig. 2, as shown in the fifth embodiment shown in fig. 5, the method further includes:
s107, when detecting that the direct current power supply is triggered to be powered on, the logic controller starts the fourth power supply module to provide electric energy for the network card, the logic controller starts the fifth power supply module to provide electric energy for the peripheral device, and the logic controller opens the fuse to communicate a circuit between the fourth power supply and the pluggable device.
Wherein the fourth power module is a power supply providing an OCP _ AUX voltage, which may be derived from the P12V _1 voltage output by the main CRPS power supply. For example, if N +1 CRPS are used, the voltage output by the main CRPS is the P12V _1 voltage. The fifth power module is a power supply providing a P12V _2 voltage, where the P12V _2 voltage can be obtained by outputting a plurality of voltages from the CRPS power supply in parallel, for example, if N +1 CRPS are adopted, the voltage output by N CRPS in parallel is the P12V _2 voltage. The peripheral devices may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), an Add-in-Card (AIC) standard, and the like. A fuse (eFUSE) is also a hot swap smart fuse. The fuse can set up on the circuit between fourth power module and the pluggable equipment, and can be controlled to open with the circuit between intercommunication fourth power module and the pluggable equipment through logic controller to and be controlled to close with the circuit between cutting off fourth power module and the pluggable equipment through logic controller. The pluggable device may specifically include an HDD, a fan, and the like, where the fan may be a fan independently disposed in the server.
In this embodiment, when the server completes the step of S102, the server is in an S5 state, and the DC power DC is in a standby state, and when the DC power DC of the server is manually started, that is, the server detects that the DC power DC is triggered, it indicates that the DC power DC is connected to the server, and at this time, the fourth power module may be started by the logic controller, and the logic controller controls a line between the fourth power module and the network card to be conducted, so that the fourth power module can normally supply power to the network card; meanwhile, the fifth power supply can be started through the logic controller, and the circuit between the fifth power supply module and the peripheral device is controlled to be conducted through the logic controller, so that the fifth power supply module can normally supply power to the peripheral device; meanwhile, the fuse can be controlled to be opened through the logic controller so as to communicate a circuit between the fourth power module and the pluggable equipment, and the fourth power module can supply power to the pluggable equipment. It should be noted that, when the server detects that the dc power supply is triggered to be powered on and the above steps are completed, the server switches from the current S5 state to the S0 state, and the whole system operates normally. The embodiment realizes that the server is effectively switched to the S0 state from the S5 state, optimizes power supply design by switching the power modules in different states in the switching process, achieves the aim of energy conservation, can also solve the problem of balance between the power supply requirement of the working equipment in the S5 state and the power supply capacity of the power supply, and further improves the heat dissipation effect of the server in the S5 state.
In practical applications, when the server executes the method according to any of the above embodiments, the AC power source AC of the server may be triggered, so that, on the basis of the method according to the embodiment shown in fig. 2, as shown in the sixth embodiment shown in fig. 6, the method further includes:
and S108, when the fact that the alternating current power supply is triggered to be turned off is detected, performing shutdown operation. That is, when the server detects that the alternating current power (AC power) is triggered to be turned off, for example, the power line of the server is manually cut off, the server enters the G3 state, all operations of the server are stopped, and the server performs a shutdown operation.
In an embodiment, there is further provided a power supply circuit of a server applying the power supply method, as in an embodiment seven shown in fig. 7, the power supply circuit includes: the system comprises a logic controller 10, a first power module 11, a first starting device 12, a first switching device 13, a second power module 14, a second starting device 15, a second switching device 16, an interface 17 of working equipment and a network card 18; a first end of the first switching device 13 is connected with an output end of the first power module 11, a second end of the first switching device 13 is connected with an interface 17 of the working equipment, and a third end of the first switching device 13 is connected with a first output end of the logic controller 10; a first end of the second switching device 16 is connected with the output end of the second power module 14, a second end of the second switching device 16 is connected with the network card 18, and a third end of the second switching device 16 is connected with the second output end of the logic controller 10; the input end of the first starting device 12 is connected with the third output end of the logic controller 10, and the output end of the first starting device 12 is connected with the input end of the first power module 11; an input terminal of the second starting device 15 is connected to the fourth output terminal of the logic controller 10, and an output terminal of the second starting device 15 is connected to an input terminal of the second power module 14.
The power supply circuit can be arranged on a mainboard of the server or can be independently arranged and used for supplying power to various types of equipment or devices in the server. The first power module 11 is used for providing power for the operating device of the server in the S5 state. The first power module 11 is a power supply providing a P12V _ STBY voltage, and the power supply can be obtained by outputting voltages in parallel from a main CRPS power supply and a plurality of slave CRPS power supplies, for example, if N +1 CRPS power supplies are adopted, the voltage output in parallel from the N +1 CRPS power supplies is P12V _ STBY. The main CRPS power supply is an indispensable power supply module, optionally, a CRPS power supply module with smaller rated power of 550W-800W and the like is selected, the rest multiple auxiliary CRPS power supplies can support a redundancy design, and the CRPS power supply module with larger rated power of 1600W-3000W and the like can be used. The first power module 11 may be powered by the first power device 12, the first power device 12 is connected to the logic controller 10, so that the logic controller 10 may control the first power device 12 to turn on or off the first power module 11, and optionally, the logic controller 10 may control the first power device to turn on or off the first power module 11 by pulling up or pulling down an output level of a line between the first power device 12 and the first power device. The first switching device 13 is used to connect or disconnect a line between the first power module 11 and the interface of the operating device in the S5 state, and specifically, the first switching device 13 may be implemented by using a switch such as a MOS transistor or a knife switch. Alternatively, the logic controller 10 may also control the first switch device 13 to connect or disconnect the line between the first power module 11 and the interface of the working device by pulling up or pulling down the output level of the line between the first switch device 13 and the first power module. The interface 17 of the working device is used to connect the working device that needs to be powered when the server is in the S5 state, and generally, the power consumption of the working device in the S5 state is low, and the required power is low, so this embodiment starts the first power module 11 to provide low-power to the working device in the S5 state, that is, to provide P12V _ STBY. The voltage may meet the power requirements of the operating equipment in the current S5 state.
The second power module 14 is used to provide power to the network card 18 in the server. The second power module 14 is a power supply for providing an OCP _ AUX voltage, where the OCP _ AUX voltage may be obtained from a P12V _ STBY voltage output by the main CRPS power supply and multiple slave CRPS power supplies in parallel, or may be obtained from a P12V _1 voltage output by the main CRPS power supply, for example, if N +1 CRPS power supplies are adopted, the voltage output by N +1 CRPS power supplies in parallel is P12V _ STBY. The voltage output by 1 of the CRPS power supplies is the P12V _1 voltage. The second power module 14 may be powered on and off by a second power switch 15, the second power switch 15 is connected to the logic controller 10, so that the logic controller 10 may control the second power switch 15 to turn on or off the second power module 14, and optionally, the logic controller 10 may control the second power switch 15 to turn on or off the second power module 14 by pulling up or pulling down an output level of a line between the second power switch and the second power switch 15. The second switching device 16 is used to connect or disconnect a line between the second power module 14 and the interface of the operating device in the S5 state, and specifically, the second switching device 16 may be implemented by using a switch such as a MOS transistor or a knife switch. Optionally, the logic controller 10 may also control the second switch device 16 to connect or disconnect the line between the second power module 14 and the network card 18 by pulling up or pulling down the output level of the line between the second switch device 16 and the second power module. The network card 18 may be an OCP3.0 network card, or may be another type of network card.
The logic controller 10 may be specifically a CPLD device, and the logic controller 10 is configured to detect whether the network card 18 is in place, control the first starting device 12 to turn on or turn off the first power module 11, and control the second switching device 13 to connect or disconnect a line between the first power module 11 and the interface 17 of the working device; the logic controller 10 is further configured to control the second starting device 15 to turn on or turn off the second power module 14, and also configured to control the second switching device 16 to connect or disconnect a line between the second power module 14 and the network card 18.
The power supply circuit provided in this embodiment may initialize the logic controller in the power supply circuit when the server is powered on, that is, when the AC power supply AC is triggered, and after the initialization is completed, the server enters the S5 state, at this time, the logic controller may start the first power module 11 by controlling the first starting device 12, and communicate with the circuit between the first power module 11 and the interface 17 of the working device by controlling the first switching device 13, so that the first power module 11 normally supplies power to the working device connected to the interface 17 of the working device, and the server normally executes the working process in the S5 state. The logic controller 10 is further configured to monitor whether the network card 18 on the power supply circuit is in place in real time when operating, and if it is monitored that the network card 18 is in place, the second power module 14 may be started by controlling the second starting device 12 according to a power supply requirement of the network card 18, and the second power module 14 may normally supply power to the network card 18 by controlling the second switching device 16 to communicate with a line between the second power module 14 and the network card 18. If the network card 18 is monitored not to be in place, the second power module 14 can be turned off by controlling the second starting device 12 according to the power supply requirement of the network card 18, or the second switching device 16 is controlled to disconnect the line between the second power module 14 and the network card 18, so that the second power module 14 is stopped supplying power to the network card 18, the power consumption waste is avoided, and the power supply design scheme of supplying power as required is realized. It should be noted that, in general, the first power module 11 and the second power module 14 provide electric energy with different powers, for example, the power supply amount required by the working device in the S5 state is small, and usually, the main CRPS power source and the P12V _ STBY voltages output in parallel from the CRPS power sources can meet the power supply requirement of the working device in the S5 state, that is, the first power module 11 can meet the power supply requirement of the working device in the S5 state. When the network card 18 of the server is in place, the second power module 14 is started to supply power to the network card 18, so that the electric quantity required by the network card 18 can be met, and the power supply requirement of the network card and the power supply capacity of the power supply are balanced.
The power supply circuit detects whether the network card is in place through the logic controller, the second power supply module is started or closed to supply power to the network card in an adaptive mode, and the first power supply module supplies power to the working equipment of the server in the S5 state, an optimized power supply scheme for supplying power to different equipment in different states is achieved, the waste phenomenon that redundant electric energy is provided for the server when the network card is not in place or the server is in the S5 state is avoided, a method for selecting power supply modules matched with each other according to the power supply requirements of each equipment is achieved, the problems of unbalanced power supply requirements and power supply capacity of the existing power supply requirements and unbalanced power supply capacity are solved, and the problem that the heat dissipation effect of a circuit where the network card is located in the server is poor due to unbalanced power supply requirements and power supply capacity of the existing power supply requirements and the power supply capacity of the server can be solved.
In an embodiment, there is further provided a power supply circuit, as in an embodiment eight shown in fig. 8, where the power supply circuit further includes, on the basis of the power supply circuit shown in the embodiment of fig. 7: and a second end of the fan 19, a second end of the second switch device 16 is connected with a power interface of the fan 19, and a fifth output end of the logic controller 10 is connected with a control interface of the fan 19.
The fan 19 in this embodiment may be a fan dedicated to radiating heat of the network card 18, that is, the fan 19 may be disposed near the network card 18; alternatively, the fan 19 may be a separate fan, which dissipates heat for all devices on the entire power supply circuit or for all devices connected to the power supply circuit. Alternatively, the fan 19 may be an AUX fan.
When the power supply circuit actually works, when the logic controller 10 detects that the network card 18 is in place, particularly when the power consumption of the network card 18 is large, the logic controller 10 can start the second power module 14 by controlling the second starting device 12, and communicate a circuit between the second power module 14 and the fan 19 by controlling the second switching device 16, so that the second power module 14 can normally supply power to the fan 19, and thus the fan 19 can dissipate heat for the network card when the network card 18 works, and damage caused by too high heat accumulation of the network card is avoided, and heat can be dissipated for other devices when other devices of the power supply circuit work or other devices connected with the power supply circuit work, and damage of other devices is avoided. Moreover, the logic controller 10 can also output a control signal to control the rotation speed of the fan 19, and since the rotation speeds of different fans are different, the power requirements of the power supply supplying power to the fans are also different, so that the rotation speed of the fan 19 is controlled by the logic controller, unnecessary electric energy waste can be reduced, and the purpose of saving energy is achieved, and the heat dissipation effect of the equipment is improved.
In an embodiment, there is further provided a power supply circuit, as in the ninth embodiment shown in fig. 9, where the power supply circuit further includes, on the basis of the power supply circuit shown in the embodiment of fig. 7: and the temperature device 20, and the temperature device 20 is connected with a sixth output end of the logic controller.
The temperature device 20 in this embodiment may be used to measure the temperature of a device on the power supply circuit, or the temperature of a device connected to the power supply circuit, or the temperature of a network card. The temperature device 20 may also be used for temperature alarm, i.e. an alarm is given when the measured temperature is higher than the alarm temperature. Optionally, the temperature device 20 may specifically include: temperature sensor, temperature alarm register and serious temperature alarm register.
When the power supply circuit actually works, the logic controller 10 may determine the temperature of the current device or the network card in the power supply circuit by reading the temperature information of the temperature device 20, and further determine whether the current temperature is too high, and if the temperature is too high, it indicates that the main board circuit or the power supply circuit in the server needs to dissipate heat, at this time, the logic controller 10 may output a control signal to control the fan to start to dissipate heat, or under the condition that the current fan starts, the rotation speed of the fan may be controlled to increase, and then a good heat dissipation effect is achieved. On the other hand, if the temperature is too high, the alarm can be given through the loudspeaker to inform a server user to carry out maintenance.
That is, the method illustrated in fig. 4 may be implemented by applying the power supply circuit described in this embodiment, where when the logic control device 10 detects that the fan of the network card is in the on state, the information of the temperature device is read, and the heat dissipation policy is determined according to the read information. And then the rotating speed of the fan is controlled according to the heat dissipation strategy to dissipate heat. For a specific method, reference may be made to the foregoing description, which is not repeated herein.
In an embodiment, there is further provided a power supply circuit, as in the embodiment ten shown in fig. 10, the power supply circuit further includes, on the basis of the power supply circuit shown in the embodiment of fig. 7: a fuse 21, an interface 22 of the pluggable device and a fourth power module 23; the control end of the fuse 21 is connected with the seventh output end of the logic controller 10, the first connection end of the fuse 21 is connected with the output end of the fourth power module 23, and the second connection end of the fuse 21 is connected with the interface 22 of the pluggable device.
Wherein the fourth power module is a power supply providing an OCP _ AUX voltage, which may be derived from the P12V _1 voltage output by the main CRPS power supply. For example, if N +1 CRPS are used, the voltage output by the main CRPS is the P12V _1 voltage. The fuse 21 is used to connect a line between the fourth power module 23 and the interface 22 of the pluggable device, for example, the fuse 21 may be an eFUSE electronic fuse, and the fuse may also be a hot-pluggable smart fuse. The interface 22 of the pluggable device is used for connecting the pluggable device, which may specifically include an HDD, a fan, and other devices.
When the power supply circuit actually works, the logic controller 10 may control to open the fuse 21 so that the fuse 21 communicates with a line between the fourth power module 23 and the interface 22 of the pluggable device, so that the fourth power module 23 supplies power to the pluggable device connected to the interface 22 of the pluggable device; the logic controller 10 may also control the fuse 21 to be closed so that the fuse 21 disconnects the line between the fourth power supply 23 and the interface 22 of the pluggable device to stop the fourth power module 23 from supplying power to the pluggable device connected to the interface 22 of the pluggable device.
That is, the power supply circuit described in this embodiment may be applied to implement the method described in fig. 5, and the specific method may refer to the foregoing description, which is not described herein again.
In an embodiment, there is further provided a power supply circuit, as in the eleventh embodiment shown in fig. 11, the power supply circuit further includes, on the basis of the power supply circuit shown in the embodiment of fig. 7: the interface 24 of the peripheral device, the fifth power module 25 and the third starting device 26, and the output end of the fifth power module 25 is connected with the interface 24 of the peripheral device.
The fifth power module 25 is a power supply providing a P12V _2 voltage, and the P12V _2 voltage may be obtained by outputting voltages from the CRPS power supplies in parallel, for example, if N +1 CRPS are adopted, the voltage output by N CRPS in parallel is the P12V _2 voltage. The third starting device 26 is configured to turn on a switch of the fifth power module, so that the fifth power module 25 supplies power to the peripheral device connected to the interface of the peripheral device, where the peripheral device may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a standard Card-in-Card expansion Card (Add-in-Card, AIC), and the like.
When the power supply circuit actually works, the logic controller 10 may control the third starting device 26 to turn on the fifth power module 25, and connect the circuit between the fifth power module 25 and the interface 24 of the peripheral device, so that the fifth power module 25 supplies power to the peripheral device. That is, the power supply circuit described in this embodiment may be applied to implement the method described in fig. 5, and the specific method may refer to the foregoing description, which is not described herein again.
In summary of the power supply method and the power supply circuit described in all the above embodiments, the present application further provides a power supply circuit, where the power supply circuit is disposed on a motherboard circuit of a server or connected to the motherboard circuit, as shown in an embodiment twelve shown in fig. 12, and the power supply circuit includes: the system comprises a main CRPS power supply, a plurality of slave CRPS power supplies, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a fifth MOS tube, a sixth MOS tube, a seventh MOS tube, a logic controller, a fuse, a network card, an interface of working equipment, an interface of a peripheral device and an interface of pluggable equipment.
The plurality of slave CRPS power supplies are connected in parallel, and a first output end of the master CRPS power supply is connected with a first port of the logic controller through a fifth MOS tube and a fourth MOS tube; the second output end of the master CRPS power supply is connected with the plurality of slave CRPS power supplies in parallel through a first MOS tube, a second MOS tube and a third MOS tube; the second output end of the main CRPS power supply is connected with the first port of the logic controller through a first MOS tube, a fifth MOS tube and a fourth MOS tube; the second output end of the main CRPS power supply is connected with the network card through a first MOS tube and a seventh MOS tube, and the main CRPS power supply is connected with an interface of the working equipment through the first MOS tube; the second output end of the main CRPS power supply is connected with an interface of the pluggable equipment through the fuse protector; the control input end of the fuse is connected with the second port of the logic controller; the third output end of the master CRPS power supply is connected with the first parallel output ends of the plurality of slave CRPS power supplies; the second parallel output ends of the plurality of slave CRPS power supplies are connected with a third port of the logic controller, and the third parallel output ends of the plurality of slave CRPS power supplies are connected with interfaces of peripheral devices. And a fourth port of the logic controller is connected with the network card through a sixth MOS tube and the seventh MOS tube, and a fifth port of the logic controller is connected with the network card.
The power supply circuit is a server mainboard hardware design scheme supporting a high-power OCP3.0 network card, and power supply, energy conservation and heat dissipation optimization are achieved.
The main CRPS power supply and the plurality of slave CRPS power supplies in the power supply circuit form a CRPS power supply module, wherein N +1 CRPS power supplies can be used in the CRPS power supply module, and 1 CRPS power supply is the main CRPS power supply and can use CRPS power supply modules with smaller rated power of 550W-800W and the like; the N CRPS power supplies are slave CRPS power supplies, can support redundancy design, and can use large rated power CRPS power supply modules of 1600W-3000W and the like. The MAIN CRPS power supply can control a power switch through PS _ ON1, specifically, the MAIN CRPS power supply is turned ON or turned off in a mode that a first port of the CPLD is pulled up or pulled down through PS _ ON1, and when the CPLD is pulled down through PS _ ON1, the MAIN CRPS power supply enters a MAIN electric ON-off state to provide P12V _1 voltage; when the CPLD pulls up the PS _ ON1, the master CRPS power supply and the plurality of slave CRPS power supplies output voltages in parallel, and a P12V _ STBY voltage is provided; the plurality of slave CRPS power supplies are controlled by the PS _ ON2 to be switched ON or off by pulling the PS _ ON2 from the third port of the CPLD, and when the CPLD pulls the PS _ ON2 down, the plurality of slave CRPS power supplies provide a P12V _2 voltage from the third parallel output end. The main CRPS power supply and the plurality of CRPS power supplies are connected in parallel and provide a P12V _ STBY voltage through a first parallel output, i.e. a P12V _ STBY power supply in S5 state is provided.
The first MOS tube, the second MOS tube, the third MOS tube, the fourth MOS tube, the fifth MOS tube, the sixth MOS tube and the seventh MOS tube in the power supply circuit jointly form a DCDC power module of the power supply circuit, and all the MOS tubes work in a linear region and a cut-off region. The first MOS tube, the second MOS tube, the third MOS tube and the seventh MOS tube are P-type MOS tubes with high-current input and output capacity, are used for DCDC conversion of a power supply, have the through-current capacity of 60A, and are small in on-resistance and low in static power consumption; the fourth MOS tube, the fifth MOS tube and the sixth MOS tube are N-type MOS tubes, have functions of level conversion, driving capability enhancement and the like, and are used for controlling Gate ends of the P-type MOS tubes, so that switching and on-off of different power supplies are realized.
When the power supply circuit is applied to supply power to the working equipment of the server in the S5 state, the corresponding working principle is as follows:
when the CPLD detects that the network card is not in place or the power consumption of the network card is low and the heat dissipation of a fan is not needed, the CPLD pulls up the first port P12V _ AUX _ SEL, at the moment, the second MOS tube, the third MOS tube and the fourth MOS tube are conducted, the first MOS tube and the fifth MOS tube are cut off, and the power supply P12V _ AUX connected with the interface of the working equipment is supplied by the voltage P12V _ STBY output by the parallel connection of the main CRPS power supply and the plurality of CRPS power supplies. Under other conditions, the CPLD pulls down the first port P12V _ AUX _ SEL, at this time, the second MOS tube, the third MOS tube and the fourth MOS tube are cut off, the first MOS tube and the fifth MOS tube are conducted, so that the PS _ ON1 starts the main CRPS power supply, the power supply P12V _ AUX connected with the interface of the working equipment is powered by the P12V _1 voltage output by the second output end of the main CRPS power supply, and if the network card detects that the network card is in place at this time, the power supply OCP _ AUX connected with the network card is powered by the P12V _1 voltage output by the second output end of the main CRPS power supply.
The working principle corresponding to the situation that the CPLD detects that the network card is in place or the power consumption of the network card is higher by applying the power supply circuit is as follows:
the OCP _ AUX in the power supply circuit supplies power to the network card and the FAN _ S5 for dissipating heat of the network card, the power is supplied by the P12V _ AUX, that is, when the CPLD detects that the network card is in place, the OCP _ AUX _ ON may be pulled up through the fourth port, so that the sixth MOS transistor and the seventh MOS transistor are turned ON, and the OCP _ AUX may supply power normally, that is, the master CRPS power or the plurality of slave CRPS power for outputting the P12V _ AUX may be selected to supply power to the network card. Otherwise, when the CPLD detects that the network card is not in place, the OCP _ AUX _ ON may be pulled down through the fourth port, the sixth MOS transistor and the seventh MOS transistor are cut off, and the OCP _ AUX stops supplying power. It should be noted that the design can support the OCP hot plug function at the same time, and the OCP _ AUX power switch is controlled by monitoring the in-place condition of the OCP network card. It should be noted that the OCP _ AUX power supply state latch may be triggered by an OCP _ PRSNT _ N level output by a fifth port of the logic controller, that is, the network card is in place, OCP _ PRSNT _ N is pulled high, OCP _ AUX _ ON is pulled high, and OCP _ AUX supplies power to the network card; the network card is not pulled down at the bit OCP _ PRSNT _ N and OCP _ AUX _ ON, and the OCP _ AUX does not supply power to the network card.
The working principle of applying the power supply circuit to supply power to the pluggable equipment is as follows:
in the power supply circuit, the P12V _1 supplies power to the P12V _ AUX and the P12V _ DEV. For the process of supplying power to the P12V _ AUX by the P12V _1, reference may be made to the foregoing embodiments, which are not described herein again. When the P12V _1 supplies power to the P12V _ DEV, i.e., the voltage of the main CRPS power output P12V _1 supplies power to the pluggable device, the P12V _1 is converted into the voltage of the P12V _ DEV through the eFUSE fuse switch, and supplies power to the device which works in the S0 state and supports hot plugging, such as a hard disk, a fan, and the like.
The working principle of applying the power supply circuit to supply power to the peripheral device is as follows:
the peripheral device may be some motherboard core chips or peripherals, such as a CPU, a DPU, an AIC, and the like. The P12V _2 supplies power for the core chip of the mainboard and the peripheral devices, namely, a plurality of P12V _2 voltages output from the third parallel output end of the CRPS power supply power for the peripheral devices.
With the above power supply circuit, as shown in fig. 13, in a thirteenth embodiment, the following process may be specifically executed in the whole process of shutdown, power-on, and shutdown of the server:
q0: when the AC power supply of the server is closed (in a G3 state), the CRPS 220V input power supply does not supply power, then the main CRPS power supply and the plurality of auxiliary CRPS power supplies in the power supply circuit do not work, and the system is shut down. The AC power supply is powered up and goes to Q1.
Q1: after the AC power supply is electrified, the main CRPS power supply and the plurality of slave CRPS power supplies are started, the P12V _ STBY supplies power normally, the second MOS tube, the third MOS tube and the fourth MOS tube are conducted, the first MOS tube, the fifth MOS tube, the sixth MOS tube and the seventh MOS tube are cut off, and the P12V _ AUX supplies power by the P12V _ STBY, namely the P12V _ STBY voltage which is output by the main CRPS power supply and the plurality of slave CRPS power supplies in parallel. At this time, the power supply of the CPLD and the BMC included in the motherboard circuit or the power supply circuit is normal, and the firmware initialization is started. After the initialization of the CPLD is completed, Q2 is entered.
Q2: after the initialization of the CPLD is completed, the server is in the S5 state, and the power-on sequence in the S5 state is controlled, so that the power supply can normally supply power to the operating device in the S5 state, specifically, the server system enters the S5 state, and the DC power supply is in standby. The CPLD automatically reads the network card information at preset time intervals (such as 1 s), and if the network card information is read, the network card information enters Q3, and in the process, if the DC power supply is triggered to be powered on, the network card information enters Q6, and if the AC power supply is triggered to be turned off, the network card information jumps to Q0. It should be noted that, when the power-on sequence in the S5 state is controlled, specifically, the CPLD starts the P12V _ STBY voltage output by the main CRPS power supply and the multiple slave CRPS power supplies in parallel, so as to provide electric energy for the working device in the S5 state.
Q3, the CPLD monitors whether the network card is in place or hot plug behavior occurs according to the network card information, if the network card is in place, a control signal is output through a fifth port of the CPLD to pull up OCP _ PRSNT _ N, and OCP _ AUX _ ON is pulled up through a fourth port of the CPLD, at the moment, the sixth MOS tube and the seventh MOS tube are conducted, the OCP _ AUX supplies power normally, and the network card is supplied with power. In one application, if the CPLD pulls up P12V _ AUX _ SEL through the first port, at this time, the second MOS transistor, the third MOS transistor, and the fourth MOS transistor are turned on, and the first MOS transistor and the fifth MOS transistor are turned off, the OCP _ AUX is provided by P12V _ STBY, that is, by the P12V _ STBY voltage output by the master CRPS power supply and the plurality of slave CRPS power supplies in parallel. In another application, if the CPLD pulls down the P12V _ AUX _ SEL through the first port, at this time, the second MOS transistor, the third MOS transistor, and the fourth MOS transistor are turned off, and the first MOS transistor and the fifth MOS transistor are turned ON, so that the PS _ ON1 turns ON the main CRPS power supply, the OCP _ AUX is provided by the P12V _1, that is, by the P12V _1 voltage output by the second output terminal of the main CRPS power supply. If the network card is not in place, the fifth port of the CPLD outputs a control signal to pull down OCP _ PRSNT _ N, the fourth port of the CPLD pulls down OCP _ AUX _ ON, the sixth MOS tube and the seventh MOS tube are cut off, and the OCP _ AUX does not supply power, namely does not supply power to the network card. And into Q2 if the network card is not in place.
On the other hand, the CPLD may also monitor the power consumption of the network card according to the network card information, for example, the CPLD reads the FRU information of the OCP3.0 network card through I2C, and confirms the power consumption of the OCP3.0 network card, if the power consumption of the network card is low, the Q2 is entered, and if the power consumption of the network card is high, the Q4 is entered. In the above process, the OCP _ AUX power supply state latch is triggered by the OCP _ PRSNT _ N level of the fifth port of the CPLD. And when determining the power consumption of the network card, judging according to a preset power threshold, if the power consumption of the network card is greater than the preset power threshold, determining that the power consumption of the network card is high, and if the power consumption of the network card is not greater than the preset power threshold, determining that the power consumption of the network card is low.
Q4, when the CPLD monitors that the power consumption of the OCP network card is high, because the main CRPS power supply and the plurality of P12V _ STBs output in parallel from the CRPS power supply can only provide 3A/CRPS, namely 36W (N +1), and the power supply requirement of the high-power-consumption network card cannot be met, namely the power supply requirement of P12V _ AUX, the power supply strategy of the P12V _ AUX is self-adaptive, and the power supply channel is switched from the power supply provided by the current P12V _ STBy voltage. At the moment, the CPLD pulls down the P12V _ AUX _ SEL through the first port, the second MOS tube, the third MOS tube and the fourth MOS tube are cut off, the first MOS tube and the fifth MOS tube are conducted, the main CRPS power supply is turned ON through the PS _ ON1, the main CRPS power supply outputs P12_1 voltage to supply power to the network card, the power supply requirement of high power consumption of the network card at the moment is met, and the P12V _ STBY voltage power supply mode output by the main CRPS power supply and the CRPS power supplies in parallel is switched to the P12_1 voltage power supply mode output by the main CRPS power supply. In the Q4 process, the CPLD may also read the network card information at preset time intervals (e.g., 1S), and execute Q3.
In addition, in the Q4 process, if the DC power supply is triggered to be powered on, the power supply enters Q6; meanwhile, the CPLD continuously monitors the OCP network card information, reads FAN _ ON _ AUX register bits through the SGPIO, and controls the FAN (FAN _ S5 FAN) to be started and enter Q5 when 1' b1 is read.
And Q5, performing heat dissipation strategy adjustment by the CPLD, determining a heat dissipation strategy according to the temperature information read by the I2C in the temperature sensor of the OCP network card, the temperature alarm register bit (TEMP _ WARN _ N) and the temperature serious alarm register bit TEMP _ CRIT _ N read by the SGPIO, and performing FAN _ S5 FAN speed regulation and control according to the heat dissipation strategy to ensure that the OCP card can dissipate heat.
In addition, in the Q5 process, the CPLD can also continuously detect whether the network card is in place, and if the OCP network card is plugged and unplugged, the CPLD detects that the OCP network card is not in place, then jumps to Q2; if the DC power supply is triggered to power up, Q6 is entered.
Q6, the DC power supply is triggered to be powered ON, the P12V _ AUX _ SEL is pulled down through a control signal output by the first port of the CPLD, at the moment, the second MOS tube, the third MOS tube and the fourth MOS tube are cut off, the first MOS tube and the fifth MOS tube are conducted, the PS _ ON1 is opened, the PS _ ON2 and the P12V _ DEV _ ON are simultaneously opened, namely the main CRPS power supply is started, the plurality of slave CRPS power supplies are started, so that the P12V _1 and the P12V _2 normally supply power, namely the network card, the peripheral devices and the pluggable device normally supply power, the server enters an S0 state, and the system is normally operated after being started. (at this time, the hot plug of the OCP network card still follows the above hot plug mechanism, the OCP _ AUX power supply state is latched and triggered by the OCP _ PRSNT _ N level of the fifth port of the CPLD).
In the Q6 process, if the DC power is turned off, i.e., the shutdown operation is performed, the process proceeds to Q2, and if the AC power is turned off, the process proceeds to Q0.
In the above-described power supply circuit provided: (1) the CPLD reads FRU information of the OCP network card through I2C, acquires the maximum power consumption requirement of the OCP network card, and is used for deciding a P12V _ AUX power supply scheme, if the power consumption requirement is not large, the power is supplied only by using P12V _ STBY without starting a main CRPS power supply, if the power consumption requirement is large, an independent main CRPS power supply is started, and only the P12V _1 is used for supplying power, so that the power is prevented from being started, and the purpose of saving energy is achieved. (2) The CPLD reads registers such as an OCP network card FAN _ ON _ AUX (FAN starting), a TEMP _ WARN _ N (temperature alarm), a TEMP _ CRIT _ N (temperature serious alarm) and the like through the SGPIO, so that starting control of the S5 FAN and rotation speed adjustment of the S5 FAN are realized, power consumption waste caused by full rotation of the FAN is avoided, and the purpose of energy conservation is achieved.
In conclusion, the power supply circuit provided by the application is a design scheme of a hardware circuit of a mainboard, and the power supply design, the energy-saving design and the heat dissipation design of the mainboard are realized. The server can monitor the power consumption requirement of the network card and the circuit temperature in real time, and intelligently adjust a power supply strategy and a heat dissipation strategy, so that the optimal design of energy conservation and heat dissipation is achieved. In addition, the power supply circuit provided by the application can solve the problem that the power supply requirement and the power supply capacity of the server are unbalanced in the S5 state, and meanwhile, the use of fuse eFUSEs is reduced.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for powering a server, the method comprising:
when detecting that the alternating current power supply is triggered to be powered on, initializing a logic controller;
starting a first power supply module through the logic controller to provide power for the working equipment in the S5 state;
when the logic controller detects that the network card is in place, a second power supply module is started to supply electric energy to the network card through the logic controller, and when the logic controller detects that the network card is not in place, the second power supply module is disconnected from the network card through the logic controller.
2. The method of claim 1, further comprising:
when the logic controller detects that the power consumption of a network card is not larger than a preset power consumption threshold value, the logic controller disconnects the second power supply module from the network card; and when the logic controller detects that the power consumption of the network card is greater than the preset power consumption threshold value, starting a third power supply module to supply electric energy to the network card through the logic controller.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
when the logic controller detects that the fan is in an on state, reading information of the temperature device, and determining a heat dissipation strategy according to the read information;
and controlling the rotating speed of the fan to dissipate heat according to the heat dissipation strategy.
4. The method of claim 1, further comprising:
when detecting that the direct current power supply is triggered to be powered on, the logic controller starts the fourth power supply module to provide electric energy for the network card, the logic controller starts the fifth power supply module to provide electric energy for the peripheral device, and the logic controller opens the fuse to communicate a circuit between the fourth power supply module and the pluggable device.
5. A power supply circuit for a server, the power supply circuit comprising: the system comprises a logic controller, a first power supply module, a first starting device, a first switching device, a second power supply module, a second starting device, a second switching device, an interface of working equipment and a network card;
a first end of the first switching device is connected with an output end of the first power supply module, a second end of the first switching device is connected with an interface of the working equipment, and a third end of the first switching device is connected with a first output end of the logic controller;
the first end of the second switching device is connected with the output end of the second power supply module, the second end of the second switching device is connected with the network card, and the third end of the second switching device is connected with the second output end of the logic controller;
the input end of the first starting device is connected with the third output end of the logic controller, and the output end of the first starting device is connected with the input end of the first power supply module;
the input end of the second starting device is connected with the fourth output end of the logic controller, and the output end of the second starting device is connected with the input end of the second power supply module.
6. The power supply circuit of claim 5, further comprising: a fan; the second end of the second switch device is connected with the power interface of the fan, and the fifth output end of the logic controller is connected with the control interface of the fan.
7. The power supply circuit according to claim 5 or 6, characterized in that the power supply circuit further comprises: a temperature device; the temperature device is connected with a sixth output end of the logic controller.
8. The power supply circuit according to claim 5 or 6, characterized in that the power supply circuit further comprises: the fuse, the interface of the pluggable equipment and the fourth power module; the control end of the fuse is connected with the seventh output end of the logic controller, the first connecting end of the fuse is connected with the output end of the fourth power module, and the second connecting end of the fuse is connected with the interface of the pluggable equipment.
9. The power supply circuit according to claim 5 or 6, characterized in that the power supply circuit further comprises: the interface of the peripheral device, a fifth power supply module and a third starting device; the output end of the fifth power supply module is connected with an interface of the peripheral device; the input end of the third starting device is connected with the eighth output end of the logic controller, and the output end of the third starting device is connected with the input end of the fifth power module.
10. A power supply circuit for a server, the power supply circuit comprising: the system comprises a main CRPS power supply, a plurality of slave CRPS power supplies, a first MOS tube, a second MOS tube, a third MOS tube, a fourth MOS tube, a fifth MOS tube, a sixth MOS tube, a seventh MOS tube, a logic controller, a fuse, a network card, an interface of working equipment, an interface of a peripheral device and an interface of pluggable equipment;
wherein the plurality of slave CRPS power supplies are connected in parallel; a first output end of the main CRPS power supply is connected with a first port of the logic controller through the fifth MOS tube and the fourth MOS tube;
the second output end of the master CRPS power supply is connected with the plurality of slave CRPS power supplies in parallel through the first MOS tube, the second MOS tube and the third MOS tube; a second output end of the main CRPS power supply is connected with a first port of the logic controller through the first MOS tube, the fifth MOS tube and the fourth MOS tube; the second output end of the main CRPS power supply is connected with the network card through the first MOS tube and the seventh MOS tube, and the second output end of the main CRPS power supply is connected with an interface of the working equipment through the first MOS tube; the second output end of the main CRPS power supply is connected with an interface of the pluggable equipment through the fuse; the control input end of the fuse is connected with the second port of the logic controller;
the third output end of the main CRPS power supply is connected with the first parallel output ends of the plurality of slave CRPS power supplies; the second parallel output ends of the plurality of slave CRPS power supplies are connected with a third port of the logic controller, and the third parallel output ends of the plurality of slave CRPS power supplies are connected with an interface of the peripheral device;
and a fourth port of the logic controller is connected with the network card through the sixth MOS tube and the seventh MOS tube, and a fifth port of the logic controller is connected with the network card.
CN202210051998.2A 2022-01-18 2022-01-18 Power supply method and power supply circuit of server Active CN114089825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210051998.2A CN114089825B (en) 2022-01-18 2022-01-18 Power supply method and power supply circuit of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210051998.2A CN114089825B (en) 2022-01-18 2022-01-18 Power supply method and power supply circuit of server

Publications (2)

Publication Number Publication Date
CN114089825A true CN114089825A (en) 2022-02-25
CN114089825B CN114089825B (en) 2022-04-19

Family

ID=80308714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210051998.2A Active CN114089825B (en) 2022-01-18 2022-01-18 Power supply method and power supply circuit of server

Country Status (1)

Country Link
CN (1) CN114089825B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194172A (en) * 2023-10-11 2023-12-08 珠海世宁达科技有限公司 Network card power supply control method and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762456A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of rack-mount server construction for electricity and its implementation
CN110618743A (en) * 2019-09-12 2019-12-27 苏州浪潮智能科技有限公司 Power supply system based on PSU
CN211427304U (en) * 2019-12-06 2020-09-04 苏州浪潮智能科技有限公司 Server power supply circuit, server power supply framework circuit and PSU power supply
CN112448462A (en) * 2020-11-19 2021-03-05 深圳奥尼电子股份有限公司 Power management circuit, power management method and electronic equipment
CN112564268A (en) * 2020-12-21 2021-03-26 深圳市有方科技股份有限公司 Internet of things tracker terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762456A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of rack-mount server construction for electricity and its implementation
CN110618743A (en) * 2019-09-12 2019-12-27 苏州浪潮智能科技有限公司 Power supply system based on PSU
CN211427304U (en) * 2019-12-06 2020-09-04 苏州浪潮智能科技有限公司 Server power supply circuit, server power supply framework circuit and PSU power supply
CN112448462A (en) * 2020-11-19 2021-03-05 深圳奥尼电子股份有限公司 Power management circuit, power management method and electronic equipment
CN112564268A (en) * 2020-12-21 2021-03-26 深圳市有方科技股份有限公司 Internet of things tracker terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117194172A (en) * 2023-10-11 2023-12-08 珠海世宁达科技有限公司 Network card power supply control method and related device
CN117194172B (en) * 2023-10-11 2024-03-22 珠海世宁达科技有限公司 Network card power supply control method and related device

Also Published As

Publication number Publication date
CN114089825B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
JP5707321B2 (en) Sleep processor
US6631474B1 (en) System to coordinate switching between first and second processors and to coordinate cache coherency between first and second processors during switching
US7028196B2 (en) System, method and apparatus for conserving power consumed by a system having a processor integrated circuit
CN108469890B (en) Intelligent power supply management for high standby power system
WO2010094170A1 (en) Method and apparatus for managing power supply and power supply system
JP2003280776A (en) Method and apparatus for conserving power on multiprocessor integrated circuit
CN114089825B (en) Power supply method and power supply circuit of server
TWI750623B (en) Power management system and power management method
CN113075982A (en) Server intelligent network card heat dissipation method, device, system and medium
TWI454898B (en) Apparatus and computer system for vr power mode interface
CN208834141U (en) A kind of power-supply management system based on safety monitoring equipment
CN111190468B (en) OCP network card heat dissipation device and method
US20140016259A1 (en) Multi-motherboard power data communication architecture for power supplies
TW202236054A (en) Balancing power between discrete components in a compute node
US20140019777A1 (en) Power data communication architecture
CN109976490B (en) Power supply control method and electronic equipment
CN202904259U (en) Intelligent power supply management system
TWI459189B (en) Motherboard and power management method thereof
TWI776427B (en) Switching power supply system and method thereof
CN113467598B (en) Power management system and power management method
US9690351B2 (en) Power control system and method thereof
TWI808394B (en) System and method of controlling fan
TWI805855B (en) A power assisted information handling system, a power assist unit and a method for regulating power to a load thereof
TW201025023A (en) Mother-board with power saving expansion slot and control method thereof
WO2021154302A1 (en) Power supply units

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