A method and system for powering a device
By using a dual-power supply method, combining the power supply of the second adapter card and the first adapter card, the problem of insufficient power of the standard adapter card is solved, enabling adaptation to high-power devices, reducing hardware design costs and improving reusability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LENOVO (BEIJING) LTD
- Filing Date
- 2026-03-27
- Publication Date
- 2026-08-04
AI Technical Summary
In existing equipment power supply methods, standard adapter cards can only provide low power, which means that when connecting high-power devices, it is necessary to design a special adapter card or add an extra power supply connector, which increases hardware design costs and has poor reusability.
After the system is powered on, the configuration information of the first and second adapter cards is determined. Dual power supply is achieved by using the second power supply unit of the second adapter card and the first power supply unit of the first adapter card. The first power supply unit supplies power through the PCIe slot, and the second power supply unit supplies power through the cable, thus meeting the needs of high-power devices.
It reduces server hardware design costs, improves the hardware reusability of the adapter card, and can adapt to standard network cards and high-power devices without the need to redesign dedicated adapter cards for high-power devices.
Smart Images

Figure CN122507253A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a device power supply method and system. Background Technology
[0002] Currently, servers often require the configuration of various types of devices to meet different computing needs. In current device power supply methods, standard adapter cards typically only provide low power through PCIe slots. When connecting high-power PCIe cards, dedicated adapter cards or additional power connectors are needed, increasing hardware design costs and reducing adapter card reusability. Therefore, current device power supply methods suffer from high hardware design costs and poor adapter card reusability. Summary of the Invention
[0003] This application provides a device power supply method and system.
[0004] This application provides a device power supply method, the method comprising: after the system is powered on, determining the configuration information of a first adapter card and a second adapter card; the first adapter card is connected to a first device; the second device is connected to the second adapter card; the rated power supply capacity of the first adapter card is less than the rated power supply capacity of the second adapter card; the power consumption of the first device is greater than the rated power supply capacity of the first adapter card; in response to the configuration information satisfying the set power supply conditions, power is supplied to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card, so that the first device is in a dual-power supply state; the first power supply unit supplies power to the PCIe power supply interface of the first device through a PCIe high-speed serial computer expansion bus standard slot, and the second power supply unit supplies power to the power connector of the first device through a cable.
[0005] According to one embodiment of this application, the method further includes: when the second power supply unit supplies power to the power connector of the first device, the second power supply unit simultaneously supplies power to the second device; the third power supply unit on the second adapter card supplies power to the PCIe power supply interface of the second device through the PCIe slot, and the second power supply unit supplies power to the power connector of the second device through a cable.
[0006] According to one embodiment of this application, the method further includes: determining the device type of the first device connected to the first adapter card based on the configuration information of the first adapter card and the second adapter card.
[0007] According to one embodiment of this application, supplying power to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card includes: in response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, supplying power to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card.
[0008] According to one embodiment of this application, the method further includes: in response to the device type characterization of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, determining the first power consumption information corresponding to the first device directly from the first device via the bus; and determining the fourth power consumption information corresponding to the second device based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card.
[0009] According to one embodiment of this application, determining the fourth power consumption information corresponding to the second device based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card includes: acquiring the second power consumption information monitored by the first adapter card and the third power consumption information monitored by the second adapter card; subtracting the first power consumption information from the second power consumption information to obtain the fifth power consumption information; and subtracting the third power consumption information from the fifth power consumption information to obtain the fourth power consumption information.
[0010] According to one embodiment of this application, the method further includes: configuring an overcurrent protection voltage value of the second adapter card based on the resistance value of a resistor on a first circuit, in response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card; configuring an overcurrent protection voltage value of the second adapter card based on the resistance value of a resistor on a second circuit, in response to the device type of the first device indicating that the power consumption of the first device does not exceed the rated power supply capacity of the first adapter card; one end of the first circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to a control chip; one end of the second circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to the control chip; the first circuit and the second circuit are respectively connected to the second adapter card, and the resistance value of the resistor on the second circuit is less than the resistance value of the resistor on the first circuit; the resistance value of the resistor on the first circuit is associated with the power consumption of the second device and the first device, and the resistance value of the resistor on the second circuit is associated with the power consumption of the second device.
[0011] This application also provides a device power supply system, the system comprising: a control chip connected to a first adapter card and a second adapter card respectively; the first adapter card is used to connect to a first device, and the second adapter card is used to connect to a second device; the rated power supply capacity of the first adapter card is less than the rated power supply capacity of the second adapter card; the power consumption of the first device is greater than the rated power supply capacity of the first adapter card; the first adapter card includes a first power supply unit; the output terminal of the first power supply unit can be connected to the PCIe power supply interface of the first device through a PCIe slot for powering the first device; the second adapter card includes a second power supply unit, the output terminal of the second power supply unit can be connected to the power connector of the first device through a cable for powering the first device.
[0012] According to one embodiment of this application, the second adapter card further includes a third power supply unit; the output of the third power supply unit is connected to the PCIe power supply interface of the second device through a PCIe slot; the output of the second power supply unit can also be connected to the power connector of the second device through a cable.
[0013] According to one embodiment of this application, the control chip is configured to, in response to a device type characterization of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, directly determine first power consumption information corresponding to the first device from the first device via a bus; and, based on the first power consumption information, second power consumption information monitored by the first adapter card, and third power consumption information monitored by the second adapter card, determine fourth power consumption information corresponding to the second device; the system further includes: a first circuit and a second circuit, one end of the first circuit being connected to the power consumption monitoring unit of the second device, and the other end being connected to the control chip; one end of the second circuit being connected to the power consumption monitoring unit of the second device, and the other end being connected to the control chip; the resistance value of the resistor on the first circuit is associated with the power consumption of the first device and the second device, and the resistance value of the resistor on the second circuit is associated with the power consumption of the second device. Attached Figure Description
[0014] The above and other objects, features, and advantages of exemplary embodiments of this application will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of this application are illustrated in the drawings by way of example and not limitation, in which:
[0015] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
[0016] Figure 1 This application illustrates a schematic flowchart of the device power supply method provided in an embodiment. Figure 1 ; Figure 2 This application illustrates a schematic flowchart of the device power supply method provided in an embodiment. Figure 2 ; Figure 3 This application illustrates an application scenario of the device power supply method provided in the embodiments of this application. Figure 1 ; Figure 4 This application illustrates an application scenario of the device power supply method provided in the embodiments of this application. Figure 2 ; Figure 5 This application illustrates an application scenario of the device power supply method provided in the embodiments of this application. Figure 3 ; Figure 6 This application illustrates an application scenario of the device power supply method provided in the embodiments of this application. Figure 4 ; Figure 7 This illustration shows an optional schematic diagram of a device power supply system provided in an embodiment of this application; Figure 8 A schematic diagram of the composition structure of the electronic device provided in the embodiments of this application is shown. Detailed Implementation
[0017] To make the objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0019] In the following description, the terms "first" and "second" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first" and "second" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0021] The processing flow of the device power supply method provided in the embodiments of this application will be described. See [link to relevant documentation]. Figure 1 , Figure 1 This is a schematic diagram of the processing flow of the device power supply method provided in the embodiments of this application. Figure 1 , will combine Figure 1 Steps S101-S102 shown will be explained.
[0022] Step S101: After the system is powered on, the configuration information of the first adapter card and the second adapter card is determined; the first adapter card is connected to the first device; the second device is connected to the second adapter card; the rated power supply capacity of the first adapter card is less than the rated power supply capacity of the second adapter card; the power consumption of the first device is greater than the rated power supply capacity of the first adapter card.
[0023] In some embodiments, the first adapter card may include a standard Riser card. The second adapter card may include a GPU Riser card. The rated power of the standard Riser card may be 75W, and the rated power of the GPU Riser card may be greater than 75W. The first and second devices may include a DPU (Data Processing Unit) and a GPU (Graphics Processing Unit). The first and second devices may also include other devices with power consumption exceeding 75W of the standard Riser card, which is not limited in this application embodiment. Configuration information may include: the ID information of the PCIe (Peripheral Component Interconnect Express) device, power consumption level identifier, and Riser card type identification code. The configuration information can be used to determine the type and power consumption of the device connected to the adapter card. Rated power supply capability may include: the output power supported by the adapter card (e.g., 75W).
[0024] In step S102, in response to the configuration information meeting the set power supply conditions, power is supplied to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card, so that the first device is in a dual-power supply state; the first power supply unit supplies power to the PCIe power supply interface of the first device through the PCIe high-speed serial computer expansion bus standard slot, and the second power supply unit supplies power to the power connector of the first device through a cable.
[0025] In some embodiments, the power supply conditions may include: the power consumption of the first device exceeds the rated power supply capacity of the first adapter card. The first power supply unit may include: a power supply circuit for the PCIe slot on a standard Riser card. The first power supply unit can provide a rated power of 75W to the first device through the PCIe slot. The second power supply unit may include: a power supply circuit for the power output connector on the GPU Riser card. The second power supply unit can provide power exceeding the rated power of 75W to both the first and second devices via a cable. Dual-power supply mode can be an operating state where the first device simultaneously draws power from the PCIe slot of the first adapter card and the power output connector of the second adapter card. The PCIe slot may be installed on the first adapter card. The PCIe power supply interface may be installed on the first device. The PCIe power supply interface can be used to: receive power from the PCIe slot. The cable may include: a splitter cable. The cable can connect the power output connector of the GPU Riser card to the power connectors of both the first and second devices simultaneously. The power connector may include: a 6-pin or 8-pin power connector.
[0026] As an example, after the system powers on, the control chip determines the configuration information and identifies the first adapter card as a standard Riser card with a rated power supply capacity of 75W and connected to a DPU device with a power consumption of 150W, i.e., the first device. Simultaneously, it identifies the second adapter card as a GPU Riser card and connected to a GPU with a power consumption of 150W, i.e., the second device. The control chip determines that the configuration information meets the set power supply conditions. At this point, the first device enters a dual-power supply state. The first power supply unit of the first adapter card provides 75W of power to the PCIe power interface of the first device through the PCIe slot, while the second power supply unit of the second adapter card provides an additional 75W of power to the power connector of the first device through a 1-to-2 splitter cable. Both power supply circuits together meet the power consumption of the DPU.
[0027] The method in this application embodiment, through a dual-power supply circuit, enables a first adapter card with a smaller rated power supply capacity to support the operation of a high-power first device by means of the power supply capacity of a second adapter card, without being limited by the power of a single adapter card. Without changing the hardware design of the first adapter card, the same set of adapter cards can be adapted to various devices such as standard network cards and high-power DPUs, reducing the server hardware design cost. It eliminates the need to redesign dedicated adapter cards for high-power devices and improves the hardware reusability of the adapter cards.
[0028] In some embodiments, the device power supply method may further include: when the second power supply unit supplies power to the power connector of the first device, the second power supply unit simultaneously supplies power to the second device; the third power supply unit on the second adapter card supplies power to the PCIe power supply interface of the second device through the PCIe slot, and the second power supply unit supplies power to the power connector of the second device through a cable.
[0029] In this embodiment, the third power supply unit may include a power supply circuit for the PCIe slot on the GPU Riser card. The third power supply unit can provide a rated power of 75W to the second device through the PCIe slot.
[0030] As an example, after the system powers on, the control chip determines the configuration information and identifies the first adapter card as a standard Riser card with a rated power supply capacity of 75W, connected to a DPU device with a power consumption of 150W, i.e., the first device. Simultaneously, it identifies the second adapter card as a GPU Riser card, connected to a GPU with a power consumption of 150W, i.e., the second device. With the first device in dual-power supply mode, the second power supply unit simultaneously supplies power to both the first and second devices. At the same time, the third power supply unit on the second adapter card provides 75W of power to the PCIe power interface of the second device through the PCIe slot, and the second power supply unit provides 75W of power to the power connector of the second device through a cable. The power supply circuits together meet the power consumption requirements of both the DPU and the GPU.
[0031] The method in this application embodiment achieves power distribution of the second power supply unit through a one-to-two cable, enabling the power output of the second adapter card to simultaneously meet the power consumption of the first and second devices. This achieves power resource reuse, avoids the waste of resources caused by independently configuring a high-power power supply channel for a single high-power device, and improves the utilization efficiency of power resources. Without changing the hardware design of the first adapter card, the same adapter card can be adapted to various devices such as standard network cards and high-power DPUs, reducing server hardware design costs. It eliminates the need to redesign dedicated adapter cards for high-power devices and improves the hardware reusability of the adapter card.
[0032] In some embodiments, the device power supply method further includes: determining the device type of the first device connected to the first adapter card based on the configuration information of the first adapter card and the second adapter card.
[0033] In this embodiment, the device type may include: a standard PCIe device, a DPU device, or a GPU device. Other device types may also be included; this application embodiment does not limit the specific device type. The device type can be used by the control chip to determine whether the device power consumption exceeds the rated power supply capacity of the first adapter card. The control chip may include a BMC (Baseboard Management Controller) or an FPGA (Field Programmable Gate Array). Other control chips may also be included; this application embodiment does not limit the specific control chip.
[0034] As an example, after the system powers on, the FPGA first identifies the configuration information of the first and second adapter cards via the I2C (Inter-Integrated Circuit) bus or DPU Present (DPU in place). Reading the configuration information of the first adapter card, it identifies it as a standard Riser card and determines that the first device connected to the first adapter card is a DPU type device. Reading the configuration information of the second adapter card, it identifies the first adapter card as a GPU Riser card and determines that the second device connected to the second adapter card is a GPU type device. In this scheme, "GPU type device" refers not only to a GPU but also to expansion card devices capable of large-scale computing.
[0035] The method in this application embodiment, by identifying the type of device connected to the first adapter card, enables the system to accurately distinguish between standard PCIe devices and high-power DPU devices, achieving compatibility with different types of devices. Without changing the hardware design of the first adapter card, the same adapter card can be adapted to various devices such as standard network cards and high-power DPUs, reducing server hardware design costs. It eliminates the need to redesign dedicated adapter cards for high-power devices, thus improving the hardware reusability of the adapter card.
[0036] In some embodiments, supplying power to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card in step S102 may include: in response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, supplying power to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card.
[0037] As an example, in response to the device type of the first device being identified as a DPU and the power consumption of the first device exceeding the rated power supply capacity of the first adapter card of 75W, the control chip sends a signal to the second adapter card to activate the output of the second power supply unit. The second power supply unit supplies power to the power connector of the first device through a cable, while the first power supply unit supplies power to the PCIe power supply interface of the first device through the PCIe slot, so that the first device is in a dual-power supply state.
[0038] If the control chip identifies the first device as a standard network card with a power consumption of 25W, which does not exceed the 75W rated power supply capacity of the first adapter card, then power will be supplied to the first device only through the first power supply unit of the first adapter card.
[0039] The method in this application embodiment controls the activation of dual power supply by comparing the device power consumption with the rated power supply capacity. The system can maintain single power supply when connecting standard devices, and only use dual power supply when connecting high-power devices. This achieves compatibility with different types of devices. Without changing the hardware design of the first adapter card, the same adapter card can be adapted to various devices such as standard network cards and high-power DPUs, reducing the server hardware design cost. It eliminates the need to redesign a dedicated adapter card for high-power devices and improves the hardware reusability of the adapter card.
[0040] In some embodiments, the processing flow of the power supply method for the device is illustrated. Figure 2 ,like Figure 2 As shown, the device power supply method may also include: Step S201: In response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, the first power consumption information corresponding to the first device is determined directly from the first device via the bus.
[0041] Step S202: Based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card, determine the fourth power consumption information corresponding to the second device.
[0042] In this embodiment, the bus may include an I2C bus. The bus may be a communication link between the control chip and the first device. The first power consumption information may include the actual power consumption value of the first device. The second power consumption information may include the power consumption value monitored by the power consumption monitoring unit on the first adapter card. The power consumption monitoring unit on the first adapter card is connected to the PCIe slot. The third power consumption information may include the power consumption value monitored by the power consumption monitoring unit on the second adapter card. The power consumption monitoring unit on the second adapter card is connected to both the PCIe slot and the power output connector. The fourth power consumption information may include the calculated actual power consumption value of the second device. The power consumption monitoring unit may include an EFUSE (Electronic Fuse) chip. The power consumption monitoring unit can monitor the current value of the power supply path in real time and convert it into power consumption information.
[0043] In some embodiments, determining the fourth power consumption information corresponding to the second device based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card in step S202 may include: obtaining the second power consumption information monitored by the first adapter card and the third power consumption information monitored by the second adapter card; subtracting the first power consumption information from the second power consumption information to obtain the fifth power consumption information; and subtracting the third power consumption information from the fifth power consumption information to obtain the fourth power consumption information.
[0044] As an example, after the system powers on, the control chip first identifies the first device as a DPU, and its device type indicates that its power consumption exceeds the rated power supply capacity of the first adapter card (75W). The control chip directly reads the power consumption level identifier stored in the first device via the I2C bus, determining the first power consumption information to be 150W. Simultaneously, the control chip acquires the second power consumption information (75W) monitored by the power consumption monitoring unit on the first adapter card, and the third power consumption information (225W) monitored by the power consumption monitoring unit on the second adapter card via the power output connector. Then, it subtracts the first power consumption information (150W) from the second power consumption information (75W) to obtain the fifth power consumption information (75W). Finally, it subtracts the third power consumption information (225W) from the fifth power consumption information (75W) to determine the fourth power consumption information corresponding to the second device as 150W.
[0045] The method in this application embodiment directly obtains the power consumption of the first device through the bus and calculates the difference by combining the monitoring data of the two adapter cards. The system can accurately determine the actual power consumption of the connected device, realize compatibility with different types of devices, and enable the same set of adapter cards to adapt to various devices such as standard network cards and high-power DPUs without changing the hardware design of the first adapter card. There is no need to add an additional power consumption calculation chip, which reduces the server hardware design cost. There is no need to redesign a dedicated adapter card for high-power devices, which improves the hardware reusability of the adapter card.
[0046] In some embodiments, the device power supply method further includes: configuring an overcurrent protection voltage value of a second adapter card based on the resistance value of a resistor on a first circuit, in response to a device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card; and configuring an overcurrent protection voltage value of the second adapter card based on the resistance value of a resistor on a second circuit, in response to a device type of the first device indicating that the power consumption of the first device does not exceed the rated power supply capacity of the first adapter card.
[0047] In this embodiment, one end of the first circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to the control chip; one end of the second circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to the control chip; the first circuit and the second circuit are respectively connected to the second adapter card; the resistance value of the resistor on the second circuit is less than the resistance value of the resistor on the first circuit; the resistance value of the resistor on the first circuit is related to the power consumption of the second device and the first device, and the resistance value of the resistor on the second circuit is related to the power consumption of the second device.
[0048] The first circuit may include a voltage divider branch consisting of resistors with larger resistance values. This first circuit can be used to generate a higher OCREF (Over Current Reference) voltage to set a higher overcurrent protection voltage value. The second circuit may include a voltage divider branch consisting of resistors with smaller resistance values. This second circuit can be used to generate a lower OCREF voltage to set a lower overcurrent protection voltage value. The resistance value is related to the voltage at the OCREF pin of the EFUSE chip and is used to set the overcurrent protection voltage value. A larger resistance value corresponds to a higher overcurrent protection voltage value. A higher overcurrent protection voltage value allows a larger current to pass through.
[0049] As an example, after the system is powered on, the control chip first identifies the first device as a DPU and the device type indicates that the power consumption exceeds the rated power supply capacity of the first adapter card of 75W. The control chip outputs a first level signal through its GPIO interface, turns on the first circuit and disconnects the second circuit, so that the resistor voltage divider branch with a large resistance value on the first circuit is connected to the OCREF pin of the EFUSE chip on the second adapter card, thereby configuring a higher overcurrent protection voltage value to match the power consumption of the first device and the second device. When the control chip recognizes that the first device is a regular network card and the power consumption of the device type does not exceed the rated power supply capacity of the first adapter card of 75W, the control chip outputs a second level signal, turns on the second circuit and disconnects the first circuit, so that the resistor divider branch with a smaller resistance value on the second circuit is connected to the OCREF pin of the EFUSE chip, thereby configuring a lower overcurrent protection voltage value to match only the power consumption of the second device.
[0050] The method in this application embodiment dynamically configures the overcurrent protection voltage value by switching voltage divider resistors with different resistance values. The system can adjust the overcurrent protection voltage value according to the power consumption of the first device, ensuring the safety of power supply. It achieves near-matching between overcurrent protection and device power consumption and realizes compatibility with different types of devices. Without changing the hardware design of the first adapter card, the same adapter card can be adapted to various devices such as standard network cards and high-power DPUs. There is no need to add additional overcurrent protection devices, which reduces the server hardware design cost. There is no need to redesign a dedicated adapter card for high-power devices, which improves the hardware reusability of the adapter card.
[0051] refer to Figure 3 The application scenario diagram of the device power supply method provided in this application embodiment is applied to the device power supply architecture of a server.
[0052] Standard Adapter Link: The motherboard / power distribution board (MB / PDB) supplies power to the standard adapter (Standard RISER) through the gold fingers (GF). The current passes through the PCIe slot and the EFUSE chip, and then supplies power to the connected high-power DPU through the PCIe slot (PCIE SLOT).
[0053] GPU Adapter Link: The motherboard / power distribution board (MB / PDB) supplies power to the GPU Adapter (GPURISER) via the gold fingers (GF). At the same time, the MB / PDB provides high-power input to the power input connector (PWR CONN IN) of the GPU Adapter via the cable. After passing through the EFUSE chip, it is split into two paths: one path flows to the PCIe slot to supply power to the high-power GPU, and the other path connects to the power connector of the high-power DPU via the power output connector (PWR CONN OUT) and the cable.
[0054] Power Supply Feasibility Analysis: By reusing the GPU RISER's PWR CONN OUT at the physical layer and powering the DPU mounted on the Standard RISE via a 1-to-2 splitter cable, the DPU can simultaneously draw power from both the Standard RISE's PCIe slot and the GPU RISER's cable. Although the two power supplies pass through the EFUSE chips on each adapter board at the single-board level, they share the same 12V VIN (Voltage Input) power input at the MB / PDB level. Therefore, the two EFUSE chips can be used in parallel.
[0055] refer to Figure 4 The application scenario diagram of the device power supply method provided in this application embodiment is applied to the acquisition of device power consumption in a device power supply system.
[0056] After the system is powered on by AC (Alternating Current), the BMC / FPGA first performs an initialization scan to identify the configuration information of the GPU adapter card and standard adapter card installed on the motherboard. The GPU adapter card can connect to the GPU, while the standard adapter card can connect to the DPU or standard PCIe devices.
[0057] The BMC / FPGA determines whether the connected device is a standard PCIe device or a high-power PCIe device (DPU) by querying the identification information of the device connected to the standard adapter card. If the identification result is a standard PCIe device with a power consumption not exceeding 75W MAX, the BMC reads the power consumption information stored in the EFUSE chip on the standard adapter card as the actual power consumption information of the DPU. Simultaneously, the BMC reads the power consumption information stored in the EFUSE chip on the GPU adapter card as the actual power consumption information of the GPU.
[0058] If the identification result is a DPU device with a power consumption greater than 75W MAX, BMC directly accesses the DPU device through the SLOT I2C bus to read and store the DPU power consumption information as the actual power consumption information of the standard adapter card. Based on the DPU power consumption information and the power consumption information stored in the EFUSE chip on the standard adapter card and the GPU adapter card, the actual power consumption information of the GPU is calculated by the difference.
[0059] refer to Figure 5 The application scenario diagram of the device power supply method provided in this application embodiment is applied to the overcurrent protection of the device power supply method.
[0060] After the system is powered on by AC (Alternating Current), the control chip (CONTROL IC) first identifies the device type of the device connected to the first adapter card. When it is identified that the connected device is a DPU and its power consumption exceeds the rated power supply capacity of the first adapter card, the control chip configures its IO1 pin to a high impedance state (floating) and configures its IO2 pin to output a low level (ground). At this time, the PVCC (power supply voltage) reference forms a voltage divider branch through resistors R1 and R2. The OCREF pin of the EFUSE chip obtains the voltage divided by the resistance values of R1 and R2 and sets a higher overcurrent protection voltage value to match the power consumption of the first and second devices.
[0061] When the connected device is identified as a standard PCIe device and its power consumption does not exceed the rated power supply capacity, the control chip configures IO1 pin to output a low level (ground) and IO2 pin to a high impedance state (floating). At this time, the OCREF pin is directly pulled low through IO1 pin, setting a lower overcurrent protection voltage value to match only the power consumption of the second device. By switching the conduction states of IO1 and IO2, the OCP (Over Current Protection) voltage value of the EFUSE chip can be configured.
[0062] refer to Figure 6 The application scenario diagram of the device power supply method provided in this application embodiment is applied to the setting of overcurrent protection in the device power supply method.
[0063] After the system AC is powered on, the BMC / FPGA first performs an initialization scan to identify the configuration information of the GPU adapter card and standard adapter card installed on the motherboard. The GPU adapter card can connect to the GPU, while the standard adapter card can connect to the DPU or standard PCIe devices.
[0064] BMC / FPGA determines whether the connected device is a standard PCIe device or a high-power PCIe device (DPU) by querying the identification information of the device connected to the standard adapter card.
[0065] If the identification result is a standard PCIe device and its power consumption does not exceed 75W MAX, the BMC will pull the IO1 pin low to ground and leave the IO2 pin floating. At this time, the OCREF pin of the EFUSE chip on the GPU adapter card will be pulled low, and the OCP point will be set to the lower overcurrent protection voltage value corresponding to the original GPU power consumption.
[0066] If the identification result is a DPU device and its power consumption is greater than 75W MAX, the BMC will leave the IO1 pin floating, and at the same time make the IO2 pin form a voltage divider branch through the internal pull-down resistor of the BMC and the board-level pull-up resistor. The EFUSE chip OCREF pin obtains the voltage after voltage division, and the OCP point is set to the higher overcurrent protection voltage value corresponding to the sum of the power consumption of the GPU and DPU.
[0067] The exemplary structure of the components included in the device power supply system 90 provided in the embodiments of this application will be further described below. In some embodiments, such as Figure 7As shown, the control chip 901 is connected to the first adapter card 902 and the second adapter card 903 respectively; the first adapter card 902 is used to connect to the first device, and the second adapter card 903 is used to connect to the second device; the rated power supply capacity of the first adapter card 902 is less than the rated power supply capacity of the second adapter card 903; the power consumption of the first device is greater than the rated power supply capacity of the first adapter card 902; the first adapter card 902 includes a first power supply unit 9021; the output end of the first power supply unit 9021 can be connected to the PCIe power supply interface of the first device through a PCIe slot to supply power to the first device; the second adapter card 903 includes a second power supply unit 9031, the output end of the second power supply unit 9031 can be connected to the power connector of the first device through a cable to supply power to the first device.
[0068] In some embodiments, the second adapter card 903 further includes a third power supply unit 9032; the output of the third power supply unit 9032 is connected to the PCIe power supply interface of the second device through a PCIe slot; the output of the second power supply unit 9031 can also be connected to the power connector of the second device through a cable.
[0069] In some embodiments, the control chip 901 is configured to, in response to the device type characterization of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card 902, directly determine the first power consumption information corresponding to the first device from the first device via the bus; and determine the fourth power consumption information corresponding to the second device based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card. In some embodiments, the device power supply system 90 further includes: a first circuit and a second circuit, one end of the first circuit being connected to the power consumption monitoring unit of the second device and the other end being connected to the control chip 901; one end of the second circuit being connected to the power consumption monitoring unit of the second device and the other end being connected to the control chip 901; the resistance value of the resistor on the first circuit is associated with the power consumption of the first device and the second device, and the resistance value of the resistor on the second circuit is associated with the power consumption of the second device.
[0070] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment above, and has similar beneficial effects as the method embodiment, therefore it will not be repeated. For any technical details not covered in the device power supply apparatus provided in this application embodiment, please refer to... Figures 1 to 6 The meaning is understood in accordance with the description of any of the accompanying drawings.
[0071] According to embodiments of this application, this application also provides an electronic device and a non-transitory computer-readable storage medium.
[0072] Figure 8A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of this application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.
[0073] like Figure 8 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. The RAM 803 may also store various programs and data required for the operation of the electronic device 800. The computing unit 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0074] Multiple components in electronic device 800 are connected to I / O interface 805, including: input unit 806, such as keyboard, mouse, etc.; output unit 807, such as various types of displays, speakers, etc.; storage unit 808, such as disk, optical disk, etc.; and communication unit 809, such as network card, modem, wireless transceiver, etc. Communication unit 809 allows electronic device 800 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0075] The computing unit 801 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above, such as the device power supply method. For example, in some embodiments, the device power supply method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the device power supply method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the device power supply method by any other suitable means (e.g., by means of firmware).
[0076] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0077] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller powered by a general-purpose computer, special-purpose computer, or other programmable device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0078] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0079] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0080] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0081] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0082] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.
[0083] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0084] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for supplying power to a device, the method comprising: After the system is powered on, the configuration information of the first and second adapter cards is determined; The first adapter card is connected to the first device; The second device is connected to the second adapter card; The rated power supply capacity of the first adapter card is less than that of the second adapter card; the power consumption of the first device is greater than that of the first adapter card. In response to the configuration information meeting the set power supply conditions, power is supplied to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card, so that the first device is in a dual-power supply state; The first power supply unit supplies power to the PCIe power interface of the first device through the PCIe high-speed serial computer expansion bus standard slot, and the second power supply unit supplies power to the power connector of the first device through a cable.
2. The method according to claim 1, further comprising: When the second power supply unit supplies power to the power connector of the first device, it also supplies power to the second device simultaneously through the second power supply unit; The third power supply unit on the second adapter card supplies power to the PCIe power supply interface of the second device through the PCIe slot, and the second power supply unit supplies power to the power connector of the second device through a cable.
3. The method according to claim 1, further comprising: Based on the configuration information of the first adapter card and the second adapter card, the device type of the first device connected to the first adapter card is determined.
4. The method according to claim 1, wherein supplying power to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card comprises: In response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, power is supplied to the first device through the second power supply unit of the second adapter card and the first power supply unit of the first adapter card.
5. The method according to claim 1, further comprising: In response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, the first power consumption information corresponding to the first device is determined directly from the first device via the bus; Based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card, the fourth power consumption information corresponding to the second device is determined.
6. The method according to claim 5, wherein determining the fourth power consumption information corresponding to the second device based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card includes: Obtain the second power consumption information monitored by the first adapter card and the third power consumption information monitored by the second adapter card; The first power consumption information is subtracted from the second power consumption information to obtain the fifth power consumption information; The fourth power consumption information is obtained by subtracting the third power consumption information from the fifth power consumption information.
7. The method according to claim 1, further comprising: In response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card, the overcurrent protection voltage value of the second adapter card is configured based on the resistance value of the resistor on the first circuit. In response to the device type of the first device indicating that the power consumption of the first device does not exceed the rated power supply capacity of the first adapter card, the overcurrent protection voltage value of the second adapter card is configured based on the resistance value of the resistor on the second circuit. One end of the first circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to the control chip; one end of the second circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to the control chip. The first circuit and the second circuit are respectively connected to the second adapter card, and the resistance value of the resistor in the second circuit is less than the resistance value of the resistor in the first circuit. The resistance value of the resistor on the first circuit is related to the power consumption of the second device and the first device, and the resistance value of the resistor on the second circuit is related to the power consumption of the second device.
8. A power supply system for a device, the system comprising: The control chip is connected to the first adapter card and the second adapter card respectively; The first adapter card is used to connect to the first device, and the second adapter card is used to connect to the second device; The rated power supply capacity of the first adapter card is less than that of the second adapter card; The power consumption of the first device is greater than the rated power supply capacity of the first adapter card; The first adapter card includes a first power supply unit; The output of the first power supply unit can be connected to the PCIe power supply interface of the first device via a PCIe slot to supply power to the first device. The second adapter card includes a second power supply unit, the output of which can be connected to the power connector of the first device via a cable to supply power to the first device.
9. The system according to claim 8, wherein the second adapter card further comprises a third power supply unit; the output end of the third power supply unit is connected to the PCIe power supply interface of the second device via a PCIe slot; the output end of the second power supply unit can also be connected to the power connector of the second device via a cable.
10. The system according to claim 8, The control chip is used to determine the first power consumption information corresponding to the first device directly from the first device via the bus in response to the device type of the first device indicating that the power consumption of the first device exceeds the rated power supply capacity of the first adapter card. Based on the first power consumption information, the second power consumption information monitored by the first adapter card, and the third power consumption information monitored by the second adapter card, the fourth power consumption information corresponding to the second device is determined. The system further includes: a first circuit and a second circuit, one end of the first circuit being connected to the power consumption monitoring unit of the second device, and the other end being connected to the control chip; One end of the second circuit is connected to the power consumption monitoring unit of the second device, and the other end is connected to the control chip; The resistance value of the resistor in the first circuit is related to the power consumption of the first device and the second device, and the resistance value of the resistor in the second circuit is related to the power consumption of the second device.