CN116719399A - Power supply device and method for Baseboard Management Controller (BMC) - Google Patents

Power supply device and method for Baseboard Management Controller (BMC) Download PDF

Info

Publication number
CN116719399A
CN116719399A CN202310427703.1A CN202310427703A CN116719399A CN 116719399 A CN116719399 A CN 116719399A CN 202310427703 A CN202310427703 A CN 202310427703A CN 116719399 A CN116719399 A CN 116719399A
Authority
CN
China
Prior art keywords
power supply
voltage
bmc
server
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310427703.1A
Other languages
Chinese (zh)
Inventor
汪会军
刘冲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies 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 XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202310427703.1A priority Critical patent/CN116719399A/en
Publication of CN116719399A publication Critical patent/CN116719399A/en
Pending legal-status Critical Current

Links

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/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • 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/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The embodiment of the application provides a power supply device and a method of a Baseboard Management Controller (BMC), wherein the power supply device is arranged in a server, and the server also comprises a main board and the Baseboard Management Controller (BMC); the output end of the power supply device is electrically connected with the power input end of the BMC; the first input end of the power supply device is used for being electrically connected with the output end of the power supply peripheral equipment; the power input end of the BMC is also connected with the power output end of the server main board; the power supply device is used for supplying electric energy to the BMC through power supply peripheral equipment under the condition that the server main board is powered off. Therefore, by adopting the embodiment of the application, under the condition that the power of the server main board is off, the power can be supplied to the BMC through the power supply peripheral equipment, so that the stable work of the BMC is ensured.

Description

Power supply device and method for Baseboard Management Controller (BMC)
Technical Field
The present application relates to the field of computing devices, and in particular, to a power supply device and method for a baseboard management controller BMC.
Background
With the large-scale application of the computing power cloud, the application scale of the server is larger and larger, and the application scene is more and more complex. The baseboard management controller (Baseboard Manager Controller, BMC) (or called as a motherboard management control unit) is an independent monitoring and control system of the server hardware, and is used for remote operation control, heat dissipation management, health status information acquisition and monitoring of hardware temperature, voltage, component in-place and health status and the like of the server, and corresponding adjustment and fault diagnosis are performed to ensure stable and reliable operation of the server. At present, the electric energy of the BMC in the server comes from the power supply of the main board, however, under the conditions of abnormal power supply of a machine room or power failure of the main board, the BMC cannot work normally, so that the server cannot be monitored and controlled, and further stable and reliable work of the server cannot be ensured. Therefore, how to ensure stable operation of BMC is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a power supply device and a method for a Baseboard Management Controller (BMC), which can ensure stable work of the BMC.
In a first aspect, the present application provides a power supply device of a baseboard management controller BMC, where the device is disposed in a server, and the server includes: a server motherboard and a baseboard management controller BMC;
the output end of the power supply device is electrically connected with the power input end of the BMC; the first input end of the power supply device is used for being electrically connected with the output end of the power supply peripheral equipment;
the power input end of the BMC is also connected with the power output end of the server main board;
the power supply device is used for supplying electric energy to the BMC through power supply peripheral equipment under the condition that the server main board is powered off.
Therefore, by adopting the embodiment of the application, the power supply device can provide electric energy for the BMC through the power supply peripheral equipment under the condition that the power of the server main board is off, so that the stable work of the BMC is ensured.
In an alternative embodiment, the power supply device includes a fast charge protocol module, a first step-down module, and a power supply switching module; the power supply switching module comprises a second input end and a third input end;
the input end of the fast charging protocol module is electrically connected with the output end of the power supply peripheral equipment, and the output end of the fast charging protocol module is electrically connected with the input end of the first voltage reduction module; the output end of the first voltage reduction module is electrically connected with the third input end of the power supply switching module; the second input end of the power supply switching module is electrically connected with the power supply output end on the server main board, and the output end of the power supply switching module is electrically connected with the power supply input end of the BMC;
The fast charging protocol module is used for establishing communication connection between the power supply device and the power supply peripheral equipment so as to determine that the output voltage of the power supply peripheral equipment is a first voltage; the power supply peripheral equipment is used for providing electric energy for the BMC;
the first voltage reduction module is used for reducing the first voltage to obtain a second voltage; the second voltage is the working voltage of the BMC;
the power supply switching module is used for providing electric energy for the BMC through power supply peripheral equipment under the condition that the server main board is powered off; or under the condition that the server main board is not powered off, providing electric energy for the BMC through the server main board.
In an alternative embodiment, the server further comprises a power supply unit PSU, a second voltage reduction module is arranged on the server main board, and the input end of the second voltage reduction module is electrically connected with the output end of the PSU; the output end of the second voltage reduction module is connected with the second input end of the power supply switching module; the output end of the second voltage reducing module is a power supply output end on the server main board;
the second voltage reduction module is used for carrying out voltage reduction processing on the voltage output by the PSU to obtain a third voltage, and the third voltage is the working voltage of the BMC.
In an alternative embodiment, the power supply switching module comprises a first Metal Oxide Semiconductor (MOS) transistor, a second MOS transistor, a third MOS transistor, a pull-up resistor R2 and a pull-down resistor R1;
The grid electrode of the first MOS tube is connected with the power output end on the server main board, the drain electrode of the first MOS tube is connected with the grid electrode of the third MOS tube, and the source electrode of the first MOS tube is grounded;
the grid electrode of the second MOS tube is connected with the drain electrode of the third MOS tube, the grid electrode of the second MOS tube is also connected with the first end of the pull-down resistor R1, the source electrode of the second MOS tube is connected with the source electrode of the third MOS tube, the source electrode of the second MOS tube is also connected with the first end of the pull-up resistor R2, the second end of the pull-up resistor R2 is connected with the drain electrode of the first MOS tube, and the drain electrode of the second MOS tube is connected with the output end of the first voltage reduction module; the second end of the pull-down resistor R1 is grounded;
the drain electrode of the third MOS tube is connected with the power output end on the server main board and the first end of the pull-down resistor R1 respectively, the source electrode of the third MOS tube is connected with the power supply input end of the BMC, the grid electrode of the third MOS tube is connected with the drain electrode of the first MOS tube, the grid electrode of the third MOS tube is also connected with the second end of the pull-up resistor R2, and the source electrode of the third MOS tube is also connected with the first end of the pull-up resistor R2.
In a second aspect, an embodiment of the present application provides a power supply method of a baseboard management controller BMC, which is applied to a power supply device, where the power supply device is disposed in a server, a first input end of the power supply device is connected with an output end of a peripheral power supply device, an output end of the power supply device is connected with a power input end of the BMC, and the power input end of the BMC is also connected with a power output end of a motherboard of the server; the method comprises the following steps:
Under the condition that the power failure of the server main board is determined, providing electric energy for the BMC through power supply peripheral equipment; the server motherboard is used for providing power for the BMC.
Therefore, by adopting the embodiment of the application, the power supply device can provide electric energy for the BMC through the power supply peripheral equipment under the condition that the power of the server main board is off, so that the stable work of the BMC is ensured.
In an alternative embodiment, before determining that the server motherboard is powered down, the method further comprises:
a first request message is sent to the power supply peripheral equipment, and the first request message is used for acquiring power supply configuration parameters of the power supply peripheral equipment;
receiving power supply configuration parameters from power supply peripheral equipment;
determining a first voltage from the power configuration parameters based on the operating voltage of the BMC;
sending a second request message to the power supply peripheral equipment, wherein the second request message is used for requesting to adjust the output voltage of the power supply peripheral equipment to a first voltage;
first information from the power supply peripheral device is received, wherein the first information is used for indicating that the voltage output by the power supply peripheral device is regulated to be a first voltage.
In this embodiment, the power supply device may communicate with the power supply peripheral device to negotiate the output voltage of the power supply peripheral device, so that, in the case that the server motherboard is powered off, power is provided for the BMC based on the output voltage of the power supply peripheral device.
In an alternative embodiment, providing power to the BMC by powering a peripheral device includes:
receiving a first voltage signal output by power supply peripheral equipment;
step-down processing is carried out on the first voltage corresponding to the first voltage signal to obtain a second voltage, wherein the second voltage is the working voltage of the BMC;
based on the second voltage, power is provided to the BMC.
Therefore, in this embodiment, the power supply device may adjust the corresponding first voltage of the first voltage signal output by the power supply peripheral device to the working voltage of the BMC, so as to provide electric energy for the BMC based on the adjusted voltage, so as to ensure stable operation of the BMC.
In an alternative embodiment, before sending the first request message to the powered peripheral device, the method further comprises:
establishing connection with power supply peripheral equipment; the power supply peripheral equipment is peripheral equipment supporting USB power supply.
In an alternative embodiment, the method further comprises:
and under the condition that the server main board is not powered off, providing electric energy for the BMC through the server main board.
In this embodiment, when the server motherboard is not powered off, the power supply device may preferably select the server motherboard to supply power to the BMC, so as to avoid a conflict caused by the simultaneous power supply of the server motherboard and the power supply peripheral device to the BMC.
In an alternative embodiment, providing power to the BMC through the server motherboard includes:
receiving a third voltage signal output from a server motherboard;
providing electric energy for the BMC based on a third voltage corresponding to the third voltage signal; the third voltage corresponding to the third voltage signal is the working voltage of the BMC.
In a third aspect, an embodiment of the present application provides a server, where a power supply device, a server motherboard, a power supply unit PSU, a Type-C connector, and a baseboard management controller BMC as described in the first aspect are disposed; the power output end of the server main board is electrically connected with the power supply input end of the BMC;
the power input end of the server main board is electrically connected with the output end of the power supply unit PSU;
one end of the Type-C connector is electrically connected with a first input end of the power supply device, and the other end of the Type-C connector is used for being connected with an output end of power supply peripheral equipment.
In an alternative embodiment, a second voltage reducing module is arranged on the server main board, and the input end of the second voltage reducing module is electrically connected with the output end of the PSU; the output end of the second voltage reduction module is electrically connected with the power input end of the BMC.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program comprising program instructions which when executed by a server node implement the method of the first aspect described above.
In a fifth aspect, the application also provides a computer program product which, when executed by a server node, implements the method of the first aspect described above.
Drawings
Fig. 1 is a schematic diagram of a BMC power supply system according to an embodiment of the present application;
fig. 2 is a schematic connection diagram of a fast charging protocol module in a power supply device and a fast charging protocol module in a power supply peripheral device according to an embodiment of the present application;
fig. 3 is a schematic connection diagram of a fast-charging protocol module in another power supply device and a fast-charging protocol module in a power supply peripheral device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a DC-DC step-down module according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a power switching circuit according to an embodiment of the present application;
fig. 6 is a flowchart of a power supply method of a baseboard management control BMC according to an embodiment of the present application;
fig. 7 is a flowchart of another power supply method of a baseboard management controller BMC according to an embodiment of the present application;
FIG. 8 is a flowchart of a method for determining an output voltage of a powered peripheral device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a power supply device of a baseboard management controller BMC according to an embodiment of the present application.
Detailed Description
The following describes a power supply method of the baseboard management controller BMC provided by the embodiment of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic diagram of a BMC power supply system according to an embodiment of the present application. As shown in fig. 1, the system includes a power-supplying peripheral device 101 and a server 102. The server 102 includes a power supply device 1021, a server motherboard 1022, and a Baseboard Management Controller (BMC) 1023. As shown in fig. 1, the power supply device 1021 is electrically connected to a Baseboard Management Controller (BMC) 1023, and the power supply device 1021 is also electrically connected to a power supply peripheral device 101 and a server motherboard 1022, respectively. The BMC can ensure that the server is in a normal running state by monitoring the power supply, the temperature and the like of the server. In the case where the server motherboard 1022 is powered off, the power supply device 1021 may provide power for the Baseboard Management Controller (BMC) 1023 through the power supply peripheral device 101, so as to ensure stable operation of the BMC.
Optionally, the power supply device 1021 may include: the device comprises a fast charging protocol module, a first voltage reduction module and a power supply switching module. The power supply switching module comprises a second input end and a third input end. The input end of the fast charging protocol module is electrically connected with the output end of the power supply peripheral equipment; the output end of the fast charge protocol module is electrically connected with the input end of the first voltage reduction module; the output end of the first voltage reduction module is electrically connected with the third input end of the power supply switching module; the second input end of the power supply switching module is electrically connected with the output end of the second voltage reduction module on the server main board, and the output end of the power supply switching module is electrically connected with the power supply input end of the BMC.
Specifically, the power supply device 1021 may be disposed on a circuit board separate from the server main board 1022, and the power supply device 1021 may be disposed on the server main board 1022.
The fast charging protocol module, the first step-down module and the power supply switching module are described below.
(1) Quick charge protocol module
The fast charging protocol module is a chip integrating the fast charging protocol. Alternatively, the chip integrated with the fast charging protocol may be a chip integrated with a Power Delivery (PD) fast charging protocol, a chip integrated with a fast charging (QC) fast charging protocol, or a chip integrated with multiple fast charging protocols (for example, a chip integrated with a PD fast charging protocol and a QC fast charging protocol), which is not limited herein. The fast charging protocol module is used for establishing connection with the power supply peripheral equipment so as to determine the output voltage of the power supply peripheral equipment as a first voltage; the first voltage is selected from power supply configuration parameters of the power supply peripheral equipment based on the working voltage of the BMC.
Referring to fig. 2, fig. 2 is a schematic connection diagram of a fast charging protocol module in a power supply device and a fast charging protocol module in a power supply peripheral device according to an embodiment of the present application. As shown in fig. 2, the fast charging protocol module is a chip integrating the PD fast charging protocol, that is, the universal serial bus power supply (Universal Serial Bus Power Delivery, USB-PD) protocol module in fig. 2. The USB-PD protocol is a power transmission protocol of USB and is communicated through configuration channel pins (Configuration channel, CC) of Type-C, wherein Type-C is a form of USB interface, and the USB interface can be inserted into power supply peripheral equipment without separating front and back sides. After the power supply device and the power supply peripheral device establish electrical connection, PD fast charging protocol communication may be performed on Type-CPD protocol channel 1 (Configuration channel, CC 1) and/or CC2 lines to select a power transmission specification, i.e., determine that an output voltage of the power supply peripheral device is the first voltage.
In fig. 2, a Logic & CC pin detection & PD communication module (Logic & CC pin detection & PD communication) 202 is connected to a Logic & CC pin detection & PD communication module 203 through CC1 and CC2, and the Logic & CC pin detection & PD communication module 202 is configured to communicate with the Logic & CC pin detection & PD communication module 203 in a PD fast charging protocol module in a power supply apparatus to negotiate an output voltage of the power supply peripheral device. For example, the negotiation determines that the output voltage of the powered peripheral device is the first voltage.
The voltage regulation module (voltage regulator) 201 has a first terminal connected to the input power supply terminal, a second terminal connected to the bus Control (Vbus Control) terminal, and a third terminal connected to the bus switch (Vbus ON/OFF). The voltage adjusting module 201 is configured to adjust the voltage input by the input power supply terminal so that the output voltage is the first voltage reported by the Vbus Control terminal.
After the power supply device and the power supply peripheral device negotiate to determine that the output voltage of the power supply peripheral device is the first voltage, a bus Control (Vbus Control) terminal in the power supply peripheral device may report the output voltage to the voltage regulation module (voltage regulator) 201 as the first voltage. At this time, the voltage adjusting module may adjust the voltage input from the input power supply terminal to the first voltage. In the case where the bus switch (Vbus ON/OFF) is turned ON, the first voltage of the output of the power supply peripheral device may be transmitted to the sink through a Type-C connector (Type-C cable), and the sink may be an input terminal of the first voltage step-down module in the power supply 1021. That is, the USB-PD Sink of the USB-PD protocol module of the power supply device in fig. 2 is connected to the input end of the first step-down module of the power supply device.
Optionally, the step of determining that the output voltage of the power supply peripheral device is the first voltage by the power supply device using PD fast charging protocol communication may be referred to the description in step S801 to step S806, which will not be described herein.
Referring to fig. 3, fig. 3 is a schematic connection diagram of a fast charging protocol module in another power supply device and a fast charging protocol module in a power supply peripheral device according to an embodiment of the present application. As shown in fig. 3, the fast charge protocol module is a chip integrating the PD fast charge protocol and the QC fast charge protocol.
In fig. 3, a Logic & CC pin detection & PD communication module (Logic & CC pin detection & PD communication) 302 is connected to a Logic & CC pin detection & PD communication module 303 through CC1 and CC2, and the Logic & CC pin detection & PD communication module 302 is configured to communicate with the Logic & CC pin detection & PD communication module 303 in a PD fast charging protocol module in a power supply apparatus to negotiate an output voltage of a power supply peripheral device.
The voltage regulating module (voltage regulator) 301 has a first terminal connected to the input power supply terminal, a second terminal connected to the bus Control (Vbus Control) terminal, and a third terminal connected to the bus switch (Vbus ON/OFF). The voltage adjusting module 301 is configured to adjust a voltage input by the input power supply terminal so that an output voltage thereof is a first voltage reported by the Vbus Control terminal.
The Logic & D+/D-pin detection & QC communication module (Logic & D+/D-pin detection & QC communication) 304 is connected with the Logic & D+/D-pin detection & QC communication module 305 through a D+ and D-pin, and the Logic & D+/D-pin detection & QC communication module 304 is used for communicating with the Logic & D+/D-pin detection & QC communication module 305 in the QC fast charging protocol module in the power supply device so as to determine the output voltage of the power supply peripheral equipment.
The power supply device can send voltage signals to power supply peripheral equipment through a USB data communication interface D+ and D-based on the working voltage of the BMC, and the power supply peripheral equipment correspondingly receives the voltage signals from the power supply device; the power supply peripheral equipment decodes the voltage signal through a built-in USB decoding chip, and determines the output voltage of the power supply peripheral equipment. After the power supply device and the power supply peripheral equipment are electrically connected, QC quick charge protocol communication can carry out QC protocol handshake on D+ and/or D-lines; after the handshake is successful, the power supply device can adjust the voltages on the D+ line and the D-line; the power peripheral detects voltages on the D+ and D-lines and determines its output voltage (i.e., determines the output voltage of the power peripheral (or referred to as USB voltage (Vbus)) based on the detected voltages on the D+ and D-lines and a voltage relationship table indicating a correspondence between the voltages on the D+ and D-lines detected by the power peripheral and its output voltage.
Alternatively, the voltage relationship table may be as shown in table 1 below.
TABLE 1
D+ D- Output voltage
3.3V 3.3V 20V
0.6V 0.6V 12V
3.3V 0.6V 9V
0.6V 0V 5V
(2) First step-down module
The first step-down module is, for example, a DC-DC converter step-down module (DC-DC step-down module), which is a circuit module that converts one voltage value into another voltage value. Alternatively, the function of the DC-DC Buck module may be implemented by a Buck converter, a sepic converter, or the like. In the power supply device 1021, the DC-DC voltage reduction module is configured to perform voltage reduction processing on a first voltage (i.e., vbus) output by a power supply peripheral device, so as to obtain a second voltage (denoted as Type C3V 3), where the second voltage is a working voltage of the BMC.
Referring to fig. 4, fig. 4 is a schematic diagram of a DC-DC voltage reducing module according to an embodiment of the application. As shown in fig. 4, the input of the DC-DC step-down module is a first voltage output by the power supply peripheral device, i.e., vbus; the output is the aforementioned second voltage, i.e., type C3V 3. Alternatively, the value of Vbus may be 5V, 9V, 12V, 20V, or the like. Type C voltage is 3.3V of the operating voltage of BMC. That is, the DC-DC buck module may adjust the high voltage of 5V, 9V, 12V, or 20V provided by the Vbus link in FIG. 2 to the BMC's operating voltage (3.3V).
(3) Power supply switching module
The power supply switching module can be a power supply switching circuit and is used for providing electric energy for the BMC through power supply peripheral equipment under the condition that the server main board is powered off; and under the condition that the server main board is not powered off, providing electric energy for the BMC through the server main board.
Optionally, the power supply switching circuit module may include a first Metal-Oxide-Semiconductor (MOS) transistor, a second MOS transistor, a third MOS transistor, a pull-up resistor R2, and a pull-down resistor R1.
The grid electrode of the first MOS tube is connected with the power supply output end (namely the output end of the second voltage reducing module) on the server main board, the drain electrode of the first MOS tube is connected with the grid electrode of the third MOS tube, and the source electrode of the first MOS tube is grounded;
the grid electrode of the second MOS tube is connected with the drain electrode of the third MOS tube, the grid electrode of the second MOS tube is also connected with the first end of the pull-down resistor R1, the source electrode of the second MOS tube and the source electrode of the third MOS tube are both connected with the power input end of the BMC, the source electrode of the second MOS tube is also connected with the first end of the pull-up resistor R2, and the second end of the pull-up resistor R2 is connected with the drain electrode of the first MOS tube and the grid electrode of the third MOS tube; the drain electrode of the second MOS tube is connected with the output end of the first voltage reduction module; the second end of the pull-down resistor R1 is grounded;
The drain electrode of the third MOS tube is connected with the power output end on the server main board and the first end of the pull-down resistor R1 respectively, the source electrode of the third MOS tube is connected with the power supply input end of the BMC, the grid electrode of the third MOS tube is connected with the drain electrode of the first MOS tube, the grid electrode of the third MOS tube is also connected with the second end of the pull-up resistor R2, and the source electrode of the third MOS tube is also connected with the first end of the pull-up resistor R2;
optionally, the first MOS transistor is an N-type MOS transistor (referred to as an NMOS transistor), and the second MOS transistor and the third MOS transistor are P-type MOS transistors (referred to as PMOS transistors). If the voltage between the grid electrode and the source electrode of the first MOS tube is smaller than the conducting voltage of the first MOS tube, the first MOS tube is cut off.
When the first MOS tube is cut off, the second MOS tube is conducted, and the third MOS tube is cut off, the electric energy of the BMC is provided by power supply peripheral equipment, specifically, after the first voltage output by the power supply peripheral equipment is input to the DC-DC converter step-down module, the second voltage is output and input to the power input end of the BMC; under the condition that the second MOS tube is cut off and the third MOS tube is conducted, the electric energy of the BMC is provided by a server main board, specifically, after the third voltage output by the main board is input to the DC-DC converter step-down module, the fourth voltage is output and input to the power input end of the BMC.
The power supply switching circuit is described below with reference to fig. 5. Referring to fig. 5, fig. 5 is a schematic diagram of a power supply switching circuit according to an embodiment of the application. As shown in fig. 5, the motherboard 3V3 is the fourth voltage; type C3V 3 is the second voltage; q1 is the first MOS transistor, namely an NMOS transistor; q2 is the second MOS tube, namely a PMOS tube; q3 is the third MOS transistor, namely the PMOS transistor. As shown in fig. 5, when the main board 3v3=3.3v, since the voltage difference between the gate and the source of Q1 is larger than the on voltage of Q1, Q1 is turned on, the gate voltage of Q3 is pulled down to 0, and thus Q3 is turned on, at this time, the voltage between the gate and the source of Q2 is the on voltage drop of Q3, which is about several tens millivolts (mV), i.e., V2 GS >0, so Q2 is off. The external Type C3V 3 power is disconnected, and at this time, the power of the BMC is provided by the server main board.
When the main board 3V3 is turned off, since the voltage between the gate and the source of Q1 is smaller than the on-voltage of Q1,thus Q1 is off; the gate of Q2 is pulled down to low level by pull-down resistor R1, at this time, V2 GS <0, so Q2 is on; at this time, one end of the pull-up resistor R2 connected with Q3 is at high level, the gate of Q3 is pulled up to high level, V3 GS >0, thus, Q3 is off. With Q1 and Q3 off and Q2 on, the BMC power is supplied by Type C3V 3.
Optionally, the server 102 further includes a power supply unit 1024, and a second voltage reduction module is further disposed on the server motherboard 1022, where an input end of the second voltage reduction module is electrically connected to an output end of the PSU; the output end of the second voltage reduction module is electrically connected with the power supply input end of the BMC through the power supply switching module; the second voltage reduction module is used for carrying out voltage reduction processing on the voltage output by the PSU to obtain a third voltage, and the third voltage is the working voltage of the BMC.
Referring to fig. 6, fig. 6 is a flowchart illustrating a power supply method of a baseboard management control BMC according to an embodiment of the present application. As shown in fig. 6, the method may be performed by a power supply device (e.g., the power supply device 1021 described above), and the method may include, but is not limited to, the following steps:
s601, under the condition that the power failure of the server main board is determined, power is supplied to the BMC through power supply peripheral equipment.
The server main board is used for providing electric energy for the BMC.
In an alternative embodiment, the voltage of the server motherboard is provided by a power supply unit (Power Supply Unit, PSU) in the server. Wherein the PSU module is used for converting 220V or 110V ac power input into the server into 12V (volt, V) dc power used inside the server.
In an alternative embodiment, the power supply device provides power for the BMC through the power supply peripheral device, and may include: receiving a first voltage signal output by power supply peripheral equipment; the first voltage reducing module is used for reducing the first voltage corresponding to the first voltage signal to obtain a second voltage, wherein the second voltage is the working voltage of the BMC; based on the second voltage, power is provided to the BMC. Alternatively, the first buck module may be a DC-DC buck module.
Therefore, in the embodiment of the application, the power supply device can supply electric energy for the BMC through the power supply peripheral equipment under the condition that the server main board is powered off, so that the stable work of the BMC is ensured.
Referring to fig. 7, fig. 7 is a flowchart illustrating a power supply method of a baseboard management controller BMC according to another embodiment of the application. The difference between the method and the method is that in the method of supplying power to the BMC shown in fig. 6, the server motherboard is used to supply power to the BMC when the server motherboard is not powered off. As shown in fig. 7, the BMC power supply method may include, but is not limited to, the following steps:
s701, the power supply device determines whether the server main board is powered off, if yes, step S702a is executed; if not, step S702b is performed.
S702a, the power supply device receives a first voltage signal output by power supply peripheral equipment.
In an alternative embodiment, the power supply apparatus further performs steps S703 to S704 described below after performing step S702 a.
S703, the power supply device steps down the first voltage corresponding to the first voltage signal to obtain a second voltage, wherein the second voltage is the working voltage of the BMC.
Optionally, the power supply device may perform step-down processing on the first voltage by using the first step-down module to obtain the second voltage. Alternatively, the first buck module may be a DC-DC buck module. Illustratively, the DC-DC buck module may be a buck converter, a sepic converter, or the like. Optionally, the description of the DC-DC step-down module may be referred to in the foregoing description, and will not be repeated here.
For example, assuming that the first voltage is 5V and the operation voltage of the bmc is 3.3V, the power supply device may adjust the voltage of 5V to 3.3V by the DC-DC step-down module.
And S704, the power supply device supplies power to the BMC based on the second voltage.
S702b, the power supply device receives a third voltage signal output from the server motherboard.
And S705, the power supply device provides electric energy for the BMC based on a third voltage corresponding to the third voltage signal.
The third voltage corresponding to the third voltage signal is the working voltage of the BMC. The third voltage is obtained by performing a step-down process on the input voltage of the server motherboard by a step-down module (i.e., the aforementioned second step-down module) in the server motherboard.
Therefore, by adopting the embodiment of the application, the BMC can be provided with electric energy through the power supply peripheral equipment under the condition that the power failure of the server main board is detected; under the condition that the server main board is detected not to be powered off, the server main board is used for providing electric energy for the BMC preferentially, so that normal work of the BMC can be guaranteed, and conflicts generated when the server main board and the power supply peripheral equipment simultaneously provide electric energy for the BMC can be avoided.
In an alternative embodiment, in the BMC power supply method shown in fig. 6 and 7, the power supply device may further determine a first voltage for supplying the output of the peripheral device. Referring to fig. 8, fig. 8 is a flowchart of a method for determining an output voltage of a power supply peripheral device according to an embodiment of the present application. As shown in fig. 8, the method of determining the output voltage of the powered peripheral device may include, but is not limited to, the steps of:
s801, the power supply device establishes connection with power supply peripheral equipment.
Wherein the powered peripheral device is a peripheral device supporting universal serial bus (Universal Serial Bus, USB) power. Alternatively, the power supply peripheral device may be a portable energy storage device, such as a charger, a notebook computer, a mobile phone, or the like.
Optionally, the connection between the power supply device and the power supply peripheral device is established after authentication is performed by the fast charging protocol module in the power supply device and the fast charging protocol module in the power supply peripheral device. Alternatively, the description of the fast charging protocol module in the power supply device may be found in the following description.
S802, the power supply device sends a first request message to the power supply peripheral equipment, and correspondingly, the power supply peripheral equipment receives the first request message from the power supply device, wherein the first request message is used for obtaining power supply configuration parameters of the power supply peripheral equipment.
Optionally, the power supply configuration parameters are different USB voltage and current data. For example, the power supply configuration parameters include a USB voltage of 5V, a USB voltage of 9V, a USB voltage of 12V, a USB voltage of 20V.
S803, the power supply peripheral equipment sends power supply configuration parameters to the power supply device, and correspondingly, the power supply device receives the power supply configuration parameters from the power supply peripheral equipment.
S804, the power supply device determines a first voltage from the power supply configuration parameters based on the working voltage of the BMC.
S805, the power supply device sends a second request message to the power supply peripheral equipment, and correspondingly, the power supply peripheral equipment receives the second request message, wherein the second request message is used for requesting to adjust the output voltage of the power supply peripheral equipment to be the first voltage.
Alternatively, the output voltage of the powered peripheral device may also be referred to as a USB voltage.
For example, assuming that the power supply configuration parameter of the power supply peripheral device received by the power supply apparatus includes a USB voltage of 5V, or a USB voltage of 9V, or a USB voltage of 12V, or a USB voltage of 20V, or the like, the operation voltage of the BMC is 3.3V, the power supply apparatus may determine that the first voltage is 5V based on the above power supply configuration parameter, and the power supply apparatus may transmit a second request message to the power supply peripheral device requesting to adjust the output voltage of the power supply peripheral device to 5V, that is, a USB voltage of 5V.
S806, the power supply peripheral equipment responds to the second request message and adjusts the output voltage of the power supply peripheral equipment to the first voltage.
Assuming that the output voltage of the power supply peripheral device is 9V, the output voltage thereof may be adjusted to 5V after receiving the second request message from the power supply device.
Optionally, during the output voltage variation of the power supply peripheral device, the power supply device may control the current consumption value thereof to be less than or equal to the first preset current value.
Alternatively, the powered peripheral device may adjust its output voltage according to a predefined voltage adjustment speed. Optionally, the power supply peripheral device may adjust its output voltage by increasing the output voltage or by decreasing the output voltage.
S807, the power supply peripheral equipment sends first information to the power supply device, and correspondingly, the power supply device receives the first information from the power supply peripheral equipment, wherein the first information is used for indicating that the output voltage of the power supply peripheral equipment is adjusted to be the first voltage.
Alternatively, the power supply apparatus may transmit the first information to the power supply device after the output voltage reaches the steady state.
Optionally, after receiving the first information, the power supply device may control its current consumption value to be greater than or equal to a second preset current value, where the second preset current value is greater than the first preset current value. That is, the power supply device may increase its current consumption after receiving the first information.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a power supply device of a baseboard management controller BMC according to an embodiment of the application. As shown in fig. 9, the apparatus may include a determination unit 901, a power supply unit 902, and a communication unit 903.
In an alternative embodiment, the power supply device of the BMC may be used to perform the operations in the BMC power supply method, for example:
A determining unit 901, configured to determine whether the server motherboard is powered off;
the power supply unit 902 is configured to provide power for the BMC through the power supply peripheral device when it is determined that the server motherboard is powered off; the server motherboard is used for providing power for the BMC.
In an alternative embodiment, before determining that the server motherboard is powered down, the determining unit 901 is configured to:
a first request message is sent to the power supply peripheral equipment, and the first request message is used for acquiring power supply configuration parameters of the power supply peripheral equipment;
receiving power supply configuration parameters from power supply peripheral equipment;
determining a first voltage from the power configuration parameters based on the operating voltage of the BMC;
sending a second request message to the power supply peripheral equipment, wherein the second request message is used for requesting to adjust the output voltage of the power supply peripheral equipment to a first voltage;
first information from the power supply peripheral device is received, wherein the first information is used for indicating that the voltage output by the power supply peripheral device is regulated to be a first voltage.
In an alternative embodiment, the power supply unit 902 is specifically configured to, when configured to provide power to the BMC through a power supply peripheral device:
receiving a first voltage signal output by power supply peripheral equipment;
Step-down processing is carried out on the first voltage corresponding to the first voltage signal to obtain a second voltage, wherein the second voltage is the working voltage of the BMC;
based on the second voltage, power is provided to the BMC.
In an alternative embodiment, before the communication unit 903 is configured to send the first request message to the powered peripheral device, a connection with the powered peripheral device is also established; the power supply peripheral equipment is peripheral equipment supporting Universal Serial Bus (USB) power supply.
In an alternative embodiment, the power supply unit 902 is further configured to:
and under the condition that the server main board is not powered off, providing electric energy for the BMC through the server main board.
In an alternative embodiment, the power supply unit 902 is specifically configured to, when determining that the server motherboard is not powered off, provide power to the BMC through the server motherboard:
receiving a third voltage signal output from a server motherboard; the third voltage corresponding to the third voltage signal is the working voltage of the BMC; the third voltage signal is generated by a second voltage-reducing module on the motherboard, specifically, the motherboard outputs a fourth voltage (for example, 12 v) to the second voltage-reducing module, and the second voltage-reducing module adjusts the fourth voltage to a third voltage (for example, 3.3 v).
Based on the third voltage, power is provided to the BMC.
It may be understood that the specific implementation and the beneficial effects that can be achieved of each unit in the BMC power supply device provided by the embodiment of the present application may refer to the description of the foregoing related BMC power supply method embodiments, which is not repeated herein.
Those of skill in the art will further appreciate that the various illustrative logical blocks (illustrative logical block) and steps (step) described in connection with the embodiments of the present application may be implemented by electronic hardware, computer software, or combinations of both. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Those skilled in the art may implement the functionality in a variety of ways for each particular application, but such implementation should not be construed as beyond the scope of the embodiments of the present application.
The present application also provides a computer readable storage medium having stored thereon a computer program comprising program instructions which when executed by a computer perform the functions of any of the method embodiments described above.
The computer readable storage medium includes but is not limited to flash memory, hard disk, solid state disk.
The application also provides a computer program product which, when executed by a computer, implements the functions of any of the method embodiments described above.
The described aspects of the application may be implemented in various ways. For example, these techniques may be implemented in hardware, software, or a combination of hardware. For a hardware implementation, the processing units used to perform these techniques at the relevant apparatus may be implemented in one or more general purpose processors, digital signal processors (digital signal processor, DSPs), digital signal processing devices, application specific integrated circuits (application specific integrated circuit, ASICs), programmable logic devices, field programmable gate arrays (field programmable gate array, FPGAs), or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combinations thereof. A general purpose processor may be a microprocessor, but in the alternative, the general purpose processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor, or any other similar configuration.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The apparatus or computing device according to embodiments of the present application may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. While the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another.
Elements referred to in the singular are intended to be used in the present disclosure as "one or more" rather than "one and only one" unless specifically stated otherwise. In the present application, "at least one" is intended to mean "one or more" and "a plurality" is intended to mean "two or more" unless specifically indicated.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: there are three cases where a alone exists, where a may be singular or plural, and where B may be singular or plural, both a and B exist alone.
Those skilled in the art will understand that, for convenience and brevity, the specific working process of the system, apparatus and unit described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The same or similar parts may be referred to each other in the various embodiments of the application. In the embodiments of the present application, and the respective implementation/implementation methods in the embodiments, if there is no specific description and logic conflict, terms and/or descriptions between different embodiments, and between the respective implementation/implementation methods in the embodiments, may be consistent and may refer to each other, and technical features in the different embodiments, and the respective implementation/implementation methods in the embodiments, may be combined to form a new embodiment, implementation, or implementation method according to their inherent logic relationship. The above embodiments of the present application do not limit the scope of the present application.

Claims (9)

1. A power supply device of a baseboard management controller BMC, wherein the power supply device is disposed in a server, and the server includes: a server motherboard and a baseboard management controller BMC;
The output end of the power supply device is electrically connected with the power input end of the BMC; the first input end of the power supply device is used for being electrically connected with the output end of the power supply peripheral equipment;
the power input end of the BMC is also connected with the power output end of the server main board;
the power supply device is used for providing electric energy for the BMC through the power supply peripheral equipment under the condition that the server main board is powered off.
2. The power supply apparatus of claim 1, wherein the power supply apparatus comprises a fast charge protocol module, a first buck module, and a power supply switching module; the power supply switching module further comprises a second input end and a third input end;
the input end of the fast charging protocol module is electrically connected with the output end of the power supply peripheral equipment, and the output end of the fast charging protocol module is electrically connected with the input end of the first voltage reduction module; the output end of the first voltage reduction module is electrically connected with the third input end of the power supply switching module; the second input end of the power supply switching module is electrically connected with the power supply output end on the main board of the server, and the output end of the power supply switching module is electrically connected with the power supply input end of the BMC;
The fast charging protocol module is used for establishing communication connection between the power supply device and the power supply peripheral equipment so as to determine that the output voltage of the power supply peripheral equipment is a first voltage; the power supply peripheral equipment is used for providing electric energy for the BMC;
the first voltage reducing module is used for reducing the first voltage to obtain a second voltage; the second voltage is the working voltage of the BMC;
the power supply switching module is used for providing electric energy for the BMC through the power supply peripheral equipment under the condition that the server main board is powered off; or under the condition that the server main board is not powered off, providing electric energy for the BMC through the server main board.
3. The power supply device according to claim 1, wherein the server further comprises a power supply unit PSU, a second voltage reduction module is arranged on the server main board, and an input end of the second voltage reduction module is electrically connected with an output end of the PSU; the output end of the second voltage reduction module is connected with the second input end of the power supply switching module; the output end of the second voltage reduction module is a power supply output end on the server main board;
The second voltage reduction module is used for carrying out voltage reduction processing on the voltage output by the PSU to obtain a third voltage, wherein the third voltage is the working voltage of the BMC.
4. The power supply device according to claim 2 or 3, wherein the power supply switching module comprises a first MOS transistor, a second MOS transistor, a third MOS transistor, a pull-up resistor R2, and a pull-down resistor R1;
the grid electrode of the first MOS tube is connected with the power output end on the server main board, the drain electrode of the first MOS tube is connected with the grid electrode of the third MOS tube, and the source electrode of the first MOS tube is grounded;
the grid electrode of the second MOS tube is connected with the drain electrode of the third MOS tube, the grid electrode of the second MOS tube is also connected with the first end of the pull-down resistor R1, the source electrode of the second MOS tube is connected with the source electrode of the third MOS tube, the source electrode of the second MOS tube is also connected with the first end of the pull-up resistor R2, the second end of the pull-up resistor R2 is connected with the drain electrode of the first MOS tube, and the drain electrode of the second MOS tube is connected with the output end of the first voltage reduction module; the second end of the pull-down resistor R1 is grounded;
the drain electrode of the third MOS tube is connected with the power output end on the server main board and the first end of the pull-down resistor R1 respectively, the source electrode of the third MOS tube is connected with the power supply input end of the BMC, the grid electrode of the third MOS tube is connected with the drain electrode of the first MOS tube, the grid electrode of the third MOS tube is also connected with the second end of the pull-up resistor R2, and the source electrode of the third MOS tube is also connected with the first end of the pull-up resistor R2.
5. The power supply method of the BMC is characterized by being applied to a power supply device, wherein the power supply device is arranged in a server, a first input end of the power supply device is connected with an output end of peripheral power supply equipment, an output end of the power supply device is connected with a power input end of the BMC, and a power input end of the BMC is also connected with a power output end of a main board of the server; the method comprises the following steps:
under the condition that the power failure of the server main board is determined, power is supplied to the BMC through power supply peripheral equipment; the server main board is used for providing electric energy for the BMC under the condition that the server main board is not powered off.
6. The method of claim 5, wherein prior to determining that the server motherboard is powered down, the method further comprises:
a first request message is sent to the power supply peripheral equipment, and the first request message is used for acquiring power supply configuration parameters of the power supply peripheral equipment;
receiving power supply configuration parameters from the power supply peripheral equipment;
determining a first voltage from the power configuration parameters based on an operating voltage of the BMC;
sending a second request message to the power supply peripheral equipment, wherein the second request message is used for requesting to adjust the output voltage of the power supply peripheral equipment to a first voltage;
And receiving first information from the power supply peripheral equipment, wherein the first information is used for indicating that the voltage output by the power supply peripheral equipment is regulated to be the first voltage.
7. The method of claim 5 or 6, wherein the providing power to the BMC through the powered peripheral device comprises:
receiving a first voltage signal output by the power supply peripheral equipment;
step-down processing is carried out on the first voltage corresponding to the first voltage signal to obtain a second voltage, wherein the second voltage is the working voltage of the BMC;
and providing power to the BMC based on the second voltage.
8. The method of claim 6, wherein prior to the sending the first request message to the powered peripheral device, the method further comprises:
establishing connection with the power supply peripheral equipment; the power supply peripheral equipment is peripheral equipment supporting Universal Serial Bus (USB) power supply.
9. A server, wherein the power supply device, the server main board, the power supply unit PSU, the Type-C connector and the baseboard management controller BMC according to any one of claims 1 to 4 are provided in the server;
The power output end of the server main board is electrically connected with the power input end of the BMC;
the power input end of the server main board is electrically connected with the output end of the power supply unit PSU;
one end of the Type-C connector is electrically connected with the first input end of the power supply device, and the other end of the Type-C connector is used for being connected with the output end of the power supply peripheral equipment.
CN202310427703.1A 2023-04-19 2023-04-19 Power supply device and method for Baseboard Management Controller (BMC) Pending CN116719399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310427703.1A CN116719399A (en) 2023-04-19 2023-04-19 Power supply device and method for Baseboard Management Controller (BMC)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310427703.1A CN116719399A (en) 2023-04-19 2023-04-19 Power supply device and method for Baseboard Management Controller (BMC)

Publications (1)

Publication Number Publication Date
CN116719399A true CN116719399A (en) 2023-09-08

Family

ID=87864910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310427703.1A Pending CN116719399A (en) 2023-04-19 2023-04-19 Power supply device and method for Baseboard Management Controller (BMC)

Country Status (1)

Country Link
CN (1) CN116719399A (en)

Similar Documents

Publication Publication Date Title
KR102168986B1 (en) Power supply device and its control circuit, power receiving device and its control circuit, electronic equipment and charging adapter using the same, and abnormality detection method
CN113031740B (en) Port controller with power contract negotiation capability
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
TWI497272B (en) Usb hub for supplying power and method thereof
JP5903401B2 (en) Power distribution in the cable
US10574073B2 (en) Electronic device and method for controlling power supply
US9634502B2 (en) Fast battery charging through digital feedback
US20110016341A1 (en) Continuous Monitoring of a USB Client for BCS Charging Capacity
CN110649694B (en) NCSI network card power supply system
CN108886261B (en) Adjusting connection and disconnection of charging ports
US20170005495A1 (en) Method and apparatus for charging electronic device with usb connection
US10263444B2 (en) Two way charging-discharging circuit structure
CN112671084A (en) USB device and operation method thereof
CN113410897A (en) Battery power transmission system
KR20140126491A (en) power supply circuit and method for controlling thereof
US9742131B2 (en) Power transfer systems
TWI806769B (en) Power delivery device and control method of power supply path
CN116719399A (en) Power supply device and method for Baseboard Management Controller (BMC)
CN107844186B (en) Power supply system
CN219592141U (en) Charging device
TWI449025B (en) Power distribution inside cable
CN118017311A (en) USB hub and operation method thereof

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