Server power consumption monitoring system, server, method, device, medium and product

By using power supply busbars and power supply terminals in the server, and using signal lines to alternately distribute and collect current to calculate power consumption, the problems of large space occupation and insufficient real-time performance within the node are solved, and efficient server power consumption monitoring is achieved.

CN120973635BActive Publication Date: 2026-01-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511501477.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-21
Publication Date
2026-01-27
Estimated Expiration
2045-10-21

AI Technical Summary

Technical Problem

Existing technologies for server power consumption monitoring require a large number of circuit components, occupy too much space on the node's internal board, and lack real-time performance, making it difficult to meet the rapid monitoring needs of AI workloads.

Method used

Power is supplied to the nodes using power supply busbars and power supply terminals. Signal lines are alternately distributed and connected to the power supply busbars. The front-end current and back-end current of the nodes are directly collected, and the power supply current is calculated to obtain power consumption information, thus avoiding the need to set up additional power consumption detection loops in the nodes.

Benefits of technology

It saves layout space within nodes, improves real-time performance and compatibility with heterogeneous computing power, and meets the need for rapid monitoring of AI workloads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120973635B_ABST
    Figure CN120973635B_ABST
Patent Text Reader

Abstract

The application discloses a kind of server power consumption monitoring systems, server, method, equipment, medium and product, the server power consumption monitoring system includes power supply busbar, several power supply terminals and control unit, power supply terminal is connected power supply busbar and the corresponding node in server respectively, the current of power supply busbar is transmitted to the corresponding node, control unit is connected by several groups of signal lines and the other side of power supply busbar respectively, any two adjacent groups of signal lines are respectively and one power supply terminal corresponding arrangement, the connection position of signal line and power supply busbar and the connection position of power supply terminal and power supply busbar are alternately distributed along the length direction of power supply busbar, the power consumption monitoring of node can be completed outside node in the application, to complete the power consumption monitoring of whole cabinet server in turn, saves the layout space in node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of circuit design technology, and in particular to a server power consumption monitoring system, server, method, device, medium and product. Background Technology

[0002] Currently, rack-mount servers employ a centralized monitoring architecture based on a management motherboard, integrating various devices such as compute nodes, storage nodes, fan systems, and power modules within the rack. The management motherboard serves as the core of the rack's monitoring, employing a two-tier management system: the management motherboard acts as the primary management unit, connecting to N node mid-boards via an I2C bus; these node mid-boards act as secondary management units. The node mid-boards are then interconnected with the node baseboards, power supply boards, and fan control boards of each node via an I2C / IPMB bus. Each node mid-board contains power consumption monitoring chips, voltage detection loops, and current detection loops, monitoring power consumption within the board and transmitting this information to the node baseboard. The node baseboard collects the power consumption information within its node and transmits it to the management motherboard, thus completing the overall rack power consumption monitoring. In this solution, multiple power consumption monitoring chips and their corresponding circuits need to be placed within each node, resulting in excessively large surface area occupied by the power consumption monitoring loops within each node, which complicates board layout. Summary of the Invention

[0003] This application provides a server power consumption monitoring system, server, method, device, medium, and product to at least solve the technical problem in related technologies that server power consumption monitoring requires a large number of circuit components and occupies too much space on the node board.

[0004] This application provides a server power consumption monitoring system, including:

[0005] Power supply busbar;

[0006] Several power supply terminals, each of which is connected to the power supply busbar and the corresponding node in the server, to transmit the current of the power supply busbar to the corresponding node. The connection positions of different power supply terminals and the power supply busbar are spaced apart along the length of the power supply busbar.

[0007] The control unit is connected to the power supply busbar through several sets of signal lines. Any two adjacent sets of signal lines are respectively set to a power supply terminal. The connection positions of the signal lines and the power supply busbar and the connection positions of the power supply terminals and the power supply busbar are alternately distributed along the length of the power supply busbar. The control unit collects the front-end current and the back-end current of the corresponding node through two adjacent sets of signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and the back-end current, and calculates the power consumption information of the corresponding node based on the power supply current.

[0008] This application also provides a server, including any of the server power consumption monitoring systems described above.

[0009] This application also provides a server power consumption monitoring method, applicable to the design of any of the above-mentioned server power consumption monitoring systems, the method comprising:

[0010] The front-end current and back-end current of the corresponding node are collected by two adjacent sets of signal lines.

[0011] The supply current flowing through the corresponding node is calculated based on the front-end current and the back-end current.

[0012] The power consumption information of the corresponding node is calculated based on the supply current.

[0013] This application also provides an electronic device, including:

[0014] Memory, used to store computer programs;

[0015] The processor is used to implement the steps of the server power consumption monitoring method described above when executing computer programs.

[0016] This application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, it implements the steps of the server power consumption monitoring method described above.

[0017] This application also provides a computer program product, including computer instructions for causing a computer to perform the steps of the server power consumption monitoring method described above.

[0018] In this application, several sets of signal lines are directly connected to the control unit, and the connection positions of the signal lines and the power supply busbar are alternately distributed along the length of the power supply busbar. Thus, the control unit collects the front-end current and back-end current of the corresponding node through the signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and back-end current, and calculates the power consumption information of the corresponding node based on the power supply current. This enables power consumption monitoring of the node outside the node, thereby enabling power consumption monitoring of the entire rack server and saving layout space within the node. Attached Figure Description

[0019] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of the server power consumption monitoring system in an embodiment of this application;

[0021] Figure 2This is a top view of the power supply busbar in an embodiment of this application;

[0022] Figure 3 This is a wiring diagram of the power supply busbar in an embodiment of this application;

[0023] Figure 4 This is a flowchart of the server power consumption monitoring method in the embodiments of this application;

[0024] Figure 5 This is a schematic diagram of the structure of the electronic device in the embodiments of this application. Detailed Implementation

[0025] The technical solutions of 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 of ordinary skill in the art without creative effort are within the protection scope of this application.

[0026] It should be noted that the terms "length," "upper," "lower," etc., indicating orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. The terms "installed," "connected," and "linked" should be interpreted broadly, for example, they can be fixed connections, detachable connections, or integral connections; they can be mechanical connections or electrical connections; they can be direct connections or indirect connections through an intermediate medium; they can be internal connections between two elements. "Equal" includes absolute equality and approximate equality, wherein an acceptable deviation range for approximate equality is, for example, the difference between two equal elements being less than or equal to 5% of either one. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0027] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0028] Currently, AI rack-mount servers integrate various devices such as compute nodes, storage nodes, fan systems, and power modules within the rack. The dense deployment of high-power chips has drastically increased the power density of a single data center rack. The related technology employs a two-tier management system, which has two main technical drawbacks: First, it occupies excessive space on the node boards: multiple power monitoring chips and their corresponding circuits need to be placed within each node, causing difficulties in board layout. Second, it lacks real-time performance: the configuration comparison cycle is long, and the Baseboard Management Controller (BMC) on the node's baseboard aggregates and integrates node power consumption information before transmitting it to the Rack Management Controller (RMC) on the management motherboard, which is insufficient to meet the rapid monitoring needs of AI workloads.

[0029] To address at least one drawback of the aforementioned technologies, embodiments of this application provide a server power consumption monitoring system, primarily applied to node power consumption monitoring of AI rack-mount servers, such as... Figure 1 and Figure 2 As shown, the server power consumption monitoring system of this application embodiment includes:

[0030] Power supply busbar;

[0031] Several power clips are provided, each of which is connected to the power busbar and the corresponding node in the server to transmit the current from the power busbar to the corresponding node. The connection positions of different power clips and the power busbar are spaced apart along the length of the power busbar.

[0032] The control unit is connected to the power supply busbar through several sets of signal lines. Any two adjacent sets of signal lines are respectively set to a power supply terminal. The connection positions of the signal lines and the power supply busbar and the connection positions of the power supply terminals and the power supply busbar are alternately distributed along the length of the power supply busbar. The control unit collects the front-end current and the back-end current of the corresponding node through two adjacent sets of signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and the back-end current, and calculates the power consumption information of the corresponding node based on the power supply current.

[0033] Specifically, the power supply busbar is a conductive busbar used for centralized power supply to provide power to each node in the server. The power supply busbar is made of a conductive material with low resistance; for example, if the power supply busbar is made of copper, then copper busbars are used to supply power to each node.

[0034] In a server rack, the power supply busbar is typically long and narrow. It is connected to an external power source, which provides current input to the busbar, which then supplies power to each node.

[0035] Each power supply terminal is configured with a corresponding node. The power supply terminal includes a grounding terminal and a power supply terminal. The power supply terminal is connected to the positive terminal of the power supply busbar, and the grounding terminal is connected to the negative terminal of the power supply busbar, thereby drawing power from the power supply busbar to power the corresponding node. Nodes specifically include computing nodes, switching nodes, and other terminals, and the nodes are distributed within the server rack.

[0036] Several nodes are sequentially inserted into the power supply busbar along its length, meaning that several nodes are interconnected with the power supply busbar through corresponding power supply terminals. This allows the connection positions of different power supply terminals and the power supply busbar to be spaced apart along the length of the power supply busbar, so that different nodes can draw power from different positions on the power supply busbar, avoiding interference between different nodes.

[0037] The control unit is the core component responsible for collecting and calculating node power consumption, such as the rack management controller (RMC).

[0038] The control unit is connected to the other side of the power supply busbar via several sets of signal lines. The connection points of the signal lines and the power supply terminals to the power supply busbar can be located on adjacent sides of the power supply busbar, or on opposite sides of the power supply busbar. It should be understood that wiring is relatively convenient when the signal lines and power supply terminals are located on opposite sides of the power supply busbar.

[0039] Along the length of the power supply busbar, signal lines and power supply terminals are alternately connected to the busbar, with one more group of signal lines than power supply terminals. This results in a group of signal lines on both the upper and lower sides of each power supply terminal. These two groups of signal lines correspond to the power supply terminals, and the front-end and rear-end currents of the corresponding nodes can be calculated based on the data collected from these two groups of signals. The front-end current refers to the current in the upper power supply busbar of the node, i.e., the current before it enters the corresponding server node; the rear-end current refers to the current in the lower power supply busbar of the node, i.e., the current after it flows out of the corresponding server node.

[0040] In one example, the current direction of the power supply busbar is from top to bottom. For ease of description, the signal lines are ordered from top to bottom and labeled as signal line SENSE 1, signal line SENSE 2, signal line SENSE 3, ..., signal line SENSE N, signal line SENSE N+1. The nodes are ordered from top to bottom and labeled as node 1, node 2, node 3, ..., node N. Then, the two sets of signal lines corresponding to the power supply terminal of node 1 are signal line SENSE 1 and signal line SENSE 2, the two sets of signal lines corresponding to the power supply terminal of node 2 are signal line SENSE 2 and signal line SENSE 3, and so on.

[0041] like Figure 3As shown, taking node 1 as an example, since the connection points of signal lines SENSE 1 and SENSE 2 to the power supply busbar are located at the upper and lower ends of the power supply terminal of node 1, the front-end current of node 1 can be obtained through signal line SENSE 1, and the back-end current of node 1 can be obtained through signal line SENSE 2. The current difference obtained by subtracting the back-end current from the front-end current is the power supply current flowing through node 1. Multiplying the power supply current by the voltage of node 1 yields the power consumption information of node 1. The voltage of node 1 can be the node monitoring voltage provided by the power consumption monitoring module within the node, or it can be the voltage directly obtained from signal line SENSE 1. Using the node monitoring voltage provided by the power consumption monitoring module yields more accurate results, but it requires adding voltage monitoring loops for each node, occupying some node wiring. Directly using the voltage obtained from signal line SENSE 1 eliminates the need for additional voltage monitoring loops, but the accuracy is slightly lower. Those skilled in the art can choose the appropriate voltage acquisition scheme based on the actual situation.

[0042] Extending this model, we can see that to calculate the power consumption information of N nodes, we need to draw N+1 sets of signal lines from the power supply busbar of the entire cabinet. All signal lines are connected to the control unit. The current of the Nth set of signal lines minus the current of the N+1th set of signal lines can be used to obtain the current information of the Nth set of nodes. Multiplying this by the voltage information can be used to obtain the power consumption information of the Nth set of nodes. By analogy, we can obtain the power consumption information of all nodes, and summing them up will give us the power consumption information of the entire cabinet.

[0043] Based on the above analysis, the embodiments of this application, by using power supply busbars and power supply terminals to power the nodes, can directly collect the front-end current and back-end current of the nodes from the power supply busbars using signal lines, avoiding the need to set up additional power consumption detection loops within the nodes. This solves the problems of insufficient heterogeneous computing power compatibility and real-time defects caused by the excessively large surface area occupied by the power consumption monitoring loops within the nodes.

[0044] The server power consumption monitoring system of this application embodiment is directly connected to the control unit through several sets of signal lines. The connection positions of the signal lines and the power supply busbar are alternately distributed along the length of the power supply busbar. Thus, the control unit collects the front-end current and back-end current of the corresponding node through the signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and back-end current, and calculates the power consumption information of the corresponding node based on the power supply current. It can complete the power consumption monitoring of the node outside the node, and thus complete the power consumption monitoring of the entire rack server, saving the layout space inside the node.

[0045] In some alternative embodiments, any set of signal lines includes a first signal line and a second signal line that are respectively connected to the control unit. In the same set of signal lines, the connection positions of the first signal line and the power supply busbar and the connection positions of the second signal line and the power supply busbar are different in the length direction of the power supply busbar.

[0046] Specifically, each group of signal lines includes two signal lines, namely a first signal line and a second signal line. For example, the first group of signal lines SENSE 1 includes the first signal line SENSE 1-1 and the second signal line SENSE 1-2, the second group of signal lines SENSE 2 includes the first signal line SENSE 2-1 and the second signal line SENSE 2-2, and so on.

[0047] Because the connection positions of the first signal line and the power supply busbar, and the connection positions of the second signal line and the power supply busbar in each group of signal lines are different along the length of the power supply busbar, a small impedance with a resistance value of R will exist between the first and second signal lines. Current flowing through this impedance will generate a small voltage drop, i.e., the voltage difference between the first and second signal lines. The resistance value between the first and second signal lines can be calculated based on the distance between the first and second signal lines on the power supply busbar and the parameters of the power supply busbar, or it can be obtained through pre-detection. Specifically, the resistance value between the first and second signal lines of the power supply busbar in each group of signal lines can be pre-measured before the power supply busbar is powered on.

[0048] In one example, the current direction of the power supply busbar is from top to bottom. The signal lines are sorted from top to bottom. Taking node 1 as an example, in the first group of signal lines SENSE 1, the voltage sampled by the first signal line SENSE 1-1 is the first voltage V1, and the voltage sampled by the second signal line SENSE 1-2 is the second voltage V2. According to the formula I=U / R=(V1-V2) / R, the current flowing through the first group of signal lines SENSE 1 can be calculated, which is the front-end current of node 1.

[0049] Similarly, by calculating the third voltage V3 sampled by the first signal line SENSE 2-1 and the fourth voltage V4 sampled by the second signal line SENSE 2-2 in the second group of signal lines SENSE 2, the current flowing through the second group of signal lines SENSE 2, i.e. the downstream current of node 1, can be calculated.

[0050] The current difference flowing through the first group of signal lines SENSE 1 and the second group of signal lines SENSE 2 can be calculated, which is the power supply current of node 1.

[0051] The calculation method for the power supply current of other nodes is the same as that for node 1, and will not be repeated here.

[0052] In this embodiment, the signal lines are further refined. Each group of signal lines includes a first signal line and a second signal line, and their connection points to the power supply busbar are located at the current input terminals of the corresponding power supply terminals. Furthermore, their connection positions differ along the length of the power supply busbar. This design allows the calculation of the front-end and rear-end currents of the corresponding node using the voltage difference between the first and second signal lines, thereby obtaining the node's power supply current. This scheme requires only a few signal lines and eliminates the need for excessive monitoring loops and detection components, significantly reducing the space required for wiring.

[0053] In some alternative embodiments, in any two sets of signal lines, the connection positions of the first signal line and the power supply busbar and the connection positions of the second signal line and the power supply busbar are at the same distance along the length direction of the power supply busbar.

[0054] Specifically, within the same group of signal lines, the resistance value between the first signal line and the second signal line can be calculated based on the distance between the first and second signal lines on the power supply busbar and the power supply busbar parameters provided by the manufacturer, or obtained through pre-testing. The resistance value between the first and second signal lines is related to the distance between their connection points on the power supply busbar; the greater the distance, the greater the resistance value, and if the distance is the same, the corresponding resistance values ​​are also the same.

[0055] Therefore, by ensuring that the connection points of the first signal line and the power supply busbar, and the connection points of the second signal line and the power supply busbar in any two sets of signal lines are at the same distance along the length of the power supply busbar, the front-end current and back-end current of different nodes can be calculated using the same resistance value, simplifying the process of obtaining the resistance values ​​between different signal lines. For example, it is only necessary to pre-measure the resistance value R of the first and second signal lines in any set of signal lines, and then use that resistance value R as the resistance value of the first and second signal lines in each set of signal lines.

[0056] In this embodiment, it is specified that in any two sets of signal lines, the first signal line and the second signal line are equidistant from the power supply busbar in the longitudinal direction. This uniform distribution avoids the need to pre-measure the resistance values ​​of each set of signal lines, which helps to simplify wiring design and signal processing logic and improve the design efficiency of the server power consumption monitoring system.

[0057] In some optional embodiments, the server power consumption monitoring system further includes a management motherboard, and the control unit includes a rack management controller (RMC). The RMC is mounted on the management motherboard and connected to the power supply busbar via signal lines. The RMC collects the front-end current and back-end current of the corresponding node through two adjacent sets of signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and back-end current, and calculates the power consumption information of the corresponding node based on the power supply current.

[0058] Specifically, the management motherboard is a hardware platform that integrates the rack management controller (RMC). It is the core circuit board in the server used for centralized management and control of server hardware resources. It provides various interfaces and functions to coordinate the work of various server components.

[0059] The Rack Management Controller (RMC) is the central monitoring unit for all nodes of the server rack. It is an embedded microcontroller, usually integrated on the server motherboard, used for remote monitoring and management of server hardware, such as monitoring temperature, voltage, fan speed, etc. Here, it is used to collect current and calculate power consumption.

[0060] This application embodiment employs a rack management controller (RMC) to directly monitor the power consumption of each node. The RMC is connected to various signal lines via different pins to acquire the current collected from each signal line, thus obtaining the front-end current and back-end current of the corresponding node. The difference between the front-end and back-end currents is further calculated to obtain the supply current. Based on this supply current and the voltage information provided by each signal line, the power consumption information of the corresponding node can be further calculated, thereby achieving monitoring of the server node's power consumption.

[0061] In this embodiment, a management motherboard is introduced, and the rack management controller (RMC) is mounted on the management motherboard. Power consumption monitoring is achieved by connecting the RMC to the power supply busbar via signal lines. This design integrates management functions. The RMC can centrally process power consumption information from multiple nodes, facilitating the management and analysis of the overall server power consumption. Simultaneously, it utilizes the resources of the management motherboard, improving system integration and processing capabilities. Furthermore, since the management motherboard directly monitors the power consumption of each node, there is no need to set up additional power consumption monitoring loops within each node, reducing the number of components within the nodes.

[0062] In some optional embodiments, the server power consumption monitoring system further includes a management motherboard and several node substrates. The control unit includes a rack management controller (RMC) and a substrate management controller (BMC). The substrate management controller (BMC) is mounted on the node substrates, and the rack management controller (RMC) is mounted on the management motherboard. The substrate management controller (BMC) is connected to the power supply busbar via signal lines. The substrate management controller (BMC) and the rack management controller (RMC) are connected. The substrate management controller (BMC) collects the front-end current and back-end current of the corresponding node through two adjacent sets of signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and back-end current, calculates the power consumption information of the corresponding node based on the power supply current, and sends the power consumption information to the rack management controller (RMC).

[0063] Specifically, a node substrate is the circuit board for each individual node in a server, carrying the node's hardware components, such as power supply blocks, power monitoring chips, and related controllers.

[0064] The Baseboard Management Controller (BMC) is used for local monitoring and management of the node, collecting node-related data and sending it to the Rack Management Controller.

[0065] This application embodiment uses a rack management controller (RMC) as the monitoring core, and a baseboard management controller (BMC) responsible for monitoring the power consumption information of the corresponding nodes and transmitting it to the RMC for aggregation. Each node is configured with one baseboard management controller (BMC). Any two adjacent sets of signal lines are respectively set to correspond to a power supply terminal of a node. Each BMC is connected to the two sets of signal lines corresponding to the power supply terminal, thereby acquiring the current collected from the two sets of signal lines, i.e., obtaining the front-end current and back-end current of the corresponding node. The current difference between the front-end current and the back-end current is further calculated to obtain the supply current. Based on this supply current and the voltage information provided within the node baseboard, the power consumption information of the corresponding node can be further calculated, thus achieving monitoring of server node power consumption. More accurate voltage information is obtained within the node baseboard through a power supply brick or power monitoring chip.

[0066] In this embodiment, in addition to the management motherboard, several node substrates are also provided. The control unit includes a rack management controller (RMC) and a substrate management controller (BMC). The nodes and BMCs are mounted on the node substrates. The BMCs first collect and calculate node power consumption information and then send it to the RMCs. This hierarchical monitoring design allows the BMCs to process node information locally, reducing data transmission volume and improving response speed. The RMCs manage and coordinate from an overall perspective, improving the efficiency and flexibility of the system's server power consumption monitoring. Furthermore, the node substrates can obtain more accurate voltage information through power bricks or power monitoring chips, making the power consumption monitoring results more accurate.

[0067] In some alternative embodiments, the server power consumption monitoring system further includes a power centralization module, which is connected to the upper and / or lower ends of the power supply busbar.

[0068] Specifically, the power centralized module adopts a power shelf, which is the core module in the server power architecture. It is designed for data centers and large servers and is responsible for centralized management and distribution of power.

[0069] The power supply to the entire cabinet's power busbar is provided by a centralized power supply module. This module can be located at the top, bottom, or both ends of the power busbar. Those skilled in the art can configure the connection method of the centralized power supply module according to the actual situation.

[0070] In this embodiment, by setting a centralized power supply module to supply power to the power supply bus, and the power supply bus to supply power to each node, the power supply can be centrally managed and distributed, improving the stability and reliability of the power supply, and facilitating unified monitoring and maintenance of the server power supply.

[0071] This application also provides a server, including the server power consumption monitoring system as described in any of the above embodiments. In a specific application, the server is an AI rack server.

[0072] This application also provides a server power consumption monitoring method, applicable to the server power consumption monitoring system in any of the above embodiments. This server power consumption monitoring method can be executed directly in the rack management controller (RMC) to obtain power consumption information for each node, or it can be executed by each baseboard management controller (BMC) to obtain the power consumption information of the corresponding node and then transmitted to the RMC for aggregation.

[0073] like Figure 4 As shown, the server power consumption monitoring method includes:

[0074] Step S401: Acquire the front-end current and back-end current of the corresponding node through two adjacent sets of signal lines;

[0075] Step S402: Calculate the power supply current flowing through the corresponding node based on the front-end current and the back-end current;

[0076] Step S403: Calculate the power consumption information of the corresponding node based on the power supply current.

[0077] Specifically, the front-end current refers to the current on the power supply bus before it enters the corresponding node of the server, and the back-end current refers to the current on the power supply bus after it flows through the corresponding node of the server. In one example, the current direction of the power supply bus is from top to bottom, so the current in the power supply bus at the upper end of the node is the front-end current, and the current in the power supply bus at the lower end of the node is the back-end current.

[0078] In one example, the current direction of the power supply busbar is from top to bottom. For ease of description, the signal lines are ordered from top to bottom and labeled as signal line SENSE 1, signal line SENSE 2, signal line SENSE 3, ..., signal line SENSE N, signal line SENSE N+1. The nodes are ordered from top to bottom and labeled as node 1, node 2, node 3, ..., node N. Then, the two sets of signal lines corresponding to the power supply terminal of node 1 are signal line SENSE 1 and signal line SENSE 2, the two sets of signal lines corresponding to the power supply terminal of node 2 are signal line SENSE 2 and signal line SENSE 3, and so on.

[0079] Taking node 1 as an example, since the connection points of signal lines SENSE 1 and SENSE 2 to the power supply busbar are located at the upper and lower ends of the power supply terminal of node 1, respectively, the front-end current of node 1 can be obtained through signal line SENSE 1, and the back-end current of node 1 can be obtained through signal line SENSE 2. The acquisition of the front-end and back-end currents of other nodes is similar to that of node 1. For example, the front-end current of node 2 can be obtained through signal line SENSE 2, and the back-end current of node 2 can be obtained through signal line SENSE 3.

[0080] The power supply current of a node is the current flowing from the power supply busbar to the node.

[0081] When power supply is provided to nodes using power supply busbars and power supply terminals, the front-end current of each node is the sum of the back-end current and the supply current. Therefore, after obtaining the front-end current and back-end current of a node, the supply current of the corresponding node can be obtained based on the current difference between the front-end current and the back-end current.

[0082] After obtaining the node's supply current, the node's power consumption can be calculated by combining it with the node's voltage. The node voltage can be the node monitoring voltage provided by the power consumption monitoring module within the node, or it can be the voltage directly collected from the signal line. Using the node monitoring voltage provided by the power consumption monitoring module yields more accurate results, but it requires adding voltage monitoring loops to each node, occupying some node wiring. Using the voltage directly collected from the signal line eliminates the need for additional voltage monitoring loops, but the accuracy is slightly lower.

[0083] The server power consumption monitoring system of this application embodiment uses a power supply bus and power supply terminals to power the nodes. It can directly collect the front-end current and back-end current of the nodes from the power supply bus using signal lines, avoiding the need to set up additional power consumption detection loops in the nodes. This solves the problems of insufficient heterogeneous computing power compatibility and real-time defects caused by the excessive space occupied by the power consumption monitoring loops in the nodes.

[0084] By collecting the front-end and back-end currents of the corresponding nodes through signal lines, the power supply current flowing through the corresponding nodes is calculated based on the front-end and back-end currents, and the power consumption information of the corresponding nodes is calculated based on the power supply current. This enables power consumption monitoring of nodes outside the nodes, thereby enabling power consumption monitoring of the entire rack server and saving layout space within the nodes.

[0085] In some embodiments, step S401, acquiring the front-end current and back-end current of the corresponding node through two adjacent sets of signal lines, includes:

[0086] Step S4011: Obtain the first voltage collected by the first signal line and the second voltage collected by the second signal line in the target signal line corresponding to any node; calculate the first voltage difference between the first voltage and the second voltage; divide the first voltage difference by the first preset resistance value to obtain the front-end current of the node.

[0087] Step S4012: Obtain the third voltage collected by the first signal line and the fourth voltage collected by the second signal line in the next signal line of the target signal line, calculate the second voltage difference between the third voltage and the fourth voltage, divide the second voltage difference by the second preset resistance value to obtain the back-end current of the node, wherein the next signal line of the target signal line is the signal line whose sequence number is greater than the sequence number of the target signal line and is adjacent to the target signal line in the current input direction of the power supply bus.

[0088] Specifically, the first voltage and the second voltage are the voltages acquired through the first and second signal lines in a set of target signal lines, respectively. Since the connection positions of the first signal line and the power supply busbar and the connection positions of the second signal line and the power supply busbar in each set of signal lines are different along the length of the power supply busbar, there will be a small impedance between the first signal line and the second signal line, with a resistance value of R. The current flowing through this impedance will generate a small voltage drop, that is, the voltage difference between the first signal line and the second signal line. This voltage difference, i.e., the first voltage difference, is obtained by subtracting the second voltage from the first voltage.

[0089] The third voltage and the fourth voltage are the voltages obtained from the first and second signal lines of the next group of signal lines of the target signal line. The second voltage difference between the first and second signal lines in the next group of signal lines of the target signal line is obtained by subtracting the fourth voltage from the third voltage.

[0090] Because the connection positions of the first signal line and the power supply busbar, and the connection positions of the second signal line and the power supply busbar in each group of signal lines are different along the length of the power supply busbar, there will be a slight impedance between the first and second signal lines, with a resistance value of R. The first preset resistance is the resistance between the first and second signal lines in the target signal line, and the second preset resistance is the resistance between the first and second signal lines of the next signal line in the target signal line. The first and second preset resistances can be calculated based on the distance between the first and second signal lines on the power supply busbar and the parameters of the power supply busbar, or obtained through pre-detection. Specifically, the resistance value between the first and second signal lines in each group of signal lines can be pre-measured before the power supply busbar is powered on.

[0091] In one example, each group of signal lines includes two signal lines: a first signal line and a second signal line. For instance, the first group of signal lines SENSE 1 includes the first signal line SENSE 1-1 and the second signal line SENSE 1-2, the second group of signal lines SENSE 2 includes the first signal line SENSE 2-1 and the second signal line SENSE 2-2, and so on.

[0092] When the current direction of the power supply busbar is from top to bottom, the signal lines are sorted from top to bottom, and the target signal line corresponding to the node has the same sequence number as the node. For example, the target signal line corresponding to node 1 is signal line SENSE 1, which includes the first signal line SENSE 1-1 and the second signal line SENSE 1-2. The voltage sampled by the first signal line SENSE 1-1 is the first voltage V1, and the voltage sampled by the second signal line SENSE 1-2 is the second voltage V2. According to the current calculation formula I=U / R=(V1-V2) / R, after obtaining the first preset resistance between the first signal line SENSE 1-1 and the second signal line SENSE 1-2, it is substituted into the current calculation formula to calculate the current flowing through the first group of signal lines SENSE 1, that is, the front-end current of node 1.

[0093] For node 1, the next signal line after the target signal line is signal line SENSE 2, which includes the first signal line SENSE2-1 and the second signal line SENSE 2-2. By calculating the third voltage V3 sampled by the first signal line SENSE 2-1 and the fourth voltage V4 sampled by the second signal line SENSE 2-2, and obtaining the second preset resistance between the first signal line SENSE 2-1 and the second signal line SENSE 2-2, the current flowing through the second group of signal lines SENSE 2 can be calculated, which is the downstream current of node 1.

[0094] It should be understood that the resistance value between the first signal line and the second signal line is related to the distance between their connection points on the power supply busbar; the greater the distance, the greater the resistance value, and if the distance is the same, the corresponding resistance values ​​are also the same. Therefore, when the distance between the connection points of the first signal line and the power supply busbar and the connection points of the second signal line and the power supply busbar in any two sets of signal lines is the same along the length of the power supply busbar, the resistance values ​​of the first preset resistor and the second preset resistor are the same. When testing the resistance value in advance, it is only necessary to test the resistance value between one set of signal lines.

[0095] In this embodiment, the difference between the voltages of the target signal line and the first and second signal lines in the next signal line is calculated and divided by the corresponding preset resistance value to obtain the front-end current and the back-end current. This lays the foundation for the power supply current and power consumption information of the subsequent calculation node. This scheme only requires setting up a few signal lines and does not require too many monitoring loops and detection components, which greatly reduces the space required for wiring.

[0096] In some embodiments, step S402, calculating the supply current flowing through the corresponding node based on the front-end current and the back-end current, includes:

[0097] Step S4021: Subtract the back-end current from the front-end current to obtain the power supply current flowing through the corresponding node.

[0098] Specifically, when power supply busbars and power supply terminals are used to supply power to nodes, the front-end current of each node is split into the back-end current and the supply current. That is, the front-end current of each node is the sum of the back-end current and the supply current. Therefore, after obtaining the front-end current and the back-end current of the node, the supply current of the corresponding node can be obtained by subtracting the back-end current from the front-end current.

[0099] This embodiment clarifies a method for calculating the node supply current based on the front-end current and the back-end current, namely, subtracting the back-end current from the front-end current. This simple calculation method is easy to implement and can quickly and accurately obtain the node supply current, providing crucial data for subsequent power consumption calculations and improving the efficiency and accuracy of the entire power consumption monitoring method.

[0100] In some embodiments, step S403, calculating the power consumption information of the corresponding node based on the supply current, includes:

[0101] Step a1: Multiply the supply current by the first voltage to obtain the power consumption information of the corresponding node.

[0102] Specifically, the first voltage is the voltage sampled from the first signal line in the target signal line. For example, the first voltage for node 1 is the voltage sampled from the first signal line SENSE 1-1. Since the first signal line in the target signal line is close to the corresponding node, the voltage sampled from the first signal line in the target signal line can be used as the node voltage. Multiplying the supply current by the first voltage yields the power consumption information of the corresponding node.

[0103] In this embodiment, the voltage of the power supply busbar collected by the signal line is directly multiplied by the measured power supply current. There is no need to set up an additional power consumption monitoring loop inside the node to detect the voltage, which reduces the space required for internal wiring of the node. Moreover, each signal line can be directly connected to the rack management controller (RMC) for direct monitoring, which significantly shortens the power consumption calculation cycle and meets the response requirements of AI load for millisecond-level monitoring.

[0104] In some embodiments, step S403, calculating the power consumption information of the corresponding node based on the supply current, includes:

[0105] Step b1: Obtain the node monitoring voltage provided by the power consumption monitoring module within the node;

[0106] Step b2: Multiply the supply current by the node monitoring voltage to obtain the power consumption information of the corresponding node.

[0107] Specifically, in this approach, a corresponding node substrate and a substrate management controller (BMC) need to be set up on each node side. The substrate management controller (BMC) obtains the accurate node monitoring voltage through the power consumption monitoring module, and multiplies the node monitoring voltage by the supply current to obtain the power consumption information of the corresponding node.

[0108] In this embodiment, the actual operating voltage is collected in real time by the BMC within the node, and the power consumption is calculated in combination with the supply current, resulting in a more accurate power calculation result.

[0109] Embodiments of this application also provide an electronic device, such as... Figure 5 As shown, the system includes a memory 10 and a processor 20. The memory 10 stores a computer program, and the processor 20 is configured to run the computer program to perform the steps in any of the above-described server power consumption monitoring method embodiments.

[0110] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described server power consumption monitoring method embodiments when running.

[0111] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0112] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described server power consumption monitoring method embodiments.

[0113] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described server power consumption monitoring method embodiments.

[0114] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0115] The foregoing has provided a detailed description of a server power consumption monitoring system, server, method, device, medium, and product provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only intended to help understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A server power consumption monitoring system, characterized in that, include: Power supply busbar; A plurality of power supply terminals, each of which is connected to the power supply busbar and a corresponding node in the server, to transmit the current of the power supply busbar to the corresponding node. The connection positions of different power supply terminals and the power supply busbar are spaced apart along the length of the power supply busbar. The control unit is connected to the power supply busbar via several sets of signal lines. Any two adjacent sets of signal lines are respectively set to correspond to a power supply terminal. The connection positions of the signal lines and the power supply busbar and the connection positions of the power supply terminal and the power supply busbar are alternately distributed along the length direction of the power supply busbar. The control unit collects the front-end current and the back-end current of the corresponding node through two adjacent sets of signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and the back-end current, and calculates the power consumption information of the corresponding node based on the power supply current. The server power consumption monitoring system also includes a management motherboard. The control unit includes a rack management controller, which is mounted on the management motherboard. The rack management controller is connected to each set of signal lines through different pins. The rack management controller is connected to the power supply busbar through the signal lines. The rack management controller collects the front-end current and back-end current of the corresponding node through two adjacent sets of signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and back-end current, and calculates the power consumption information of the corresponding node based on the power supply current.

2. The server power consumption monitoring system according to claim 1, characterized in that, Each group of signal lines includes a first signal line and a second signal line that are respectively connected to the control unit. In the same group of signal lines, the connection positions of the first signal line and the power supply busbar and the connection positions of the second signal line and the power supply busbar are not the same in the length direction of the power supply busbar.

3. The server power consumption monitoring system according to claim 2, characterized in that, In any two sets of signal lines, the connection positions of the first signal line and the power supply busbar, and the connection positions of the second signal line and the power supply busbar, are at the same distance along the length direction of the power supply busbar.

4. The server power consumption monitoring system according to claim 1, characterized in that, The server power consumption monitoring system also includes several node substrates, and the control unit also includes a substrate management controller. The substrate management controller is mounted on the node substrate, and the rack management controller is mounted on the management motherboard. The substrate management controller is connected to the power supply busbar via the signal lines. The substrate management controller and the rack management controller are connected. The substrate management controller collects the front-end current and back-end current of the corresponding node through two adjacent sets of the signal lines, calculates the power supply current flowing through the corresponding node based on the front-end current and back-end current, calculates the power consumption information of the corresponding node based on the power supply current, and sends the power consumption information to the rack management controller.

5. The server power consumption monitoring system according to claim 1, characterized in that, The server power consumption monitoring system also includes a power centralized module, which is connected to the upper and / or lower ends of the power supply busbar.

6. A server, characterized in that, Includes the server power consumption monitoring system as described in any one of claims 1 to 5.

7. A method for monitoring server power consumption, characterized in that, The system is applied to the server power consumption monitoring system as described in any one of claims 1 to 5, comprising: The front-end current and back-end current of the corresponding node are collected by two adjacent sets of signal lines; The supply current flowing through the corresponding node is calculated based on the front-end current and the back-end current. The power consumption information of the corresponding node is calculated based on the power supply current.

8. The server power consumption monitoring method according to claim 7, characterized in that, The step of acquiring the front-end current and back-end current of the corresponding node through two adjacent sets of signal lines includes: Obtain the first voltage from the first signal line and the second voltage from the second signal line in the target signal line corresponding to any node, calculate the first voltage difference between the first voltage and the second voltage, and divide the first voltage difference by the first preset resistance value to obtain the front-end current of the node. The third voltage collected by the first signal line and the fourth voltage collected by the second signal line in the next signal line of the target signal line are obtained. The second voltage difference between the third voltage and the fourth voltage is calculated. The second voltage difference is divided by the second preset resistance value to obtain the back-end current of the node. The next signal line of the target signal line is the signal line whose sequence number is greater than that of the target signal line and is adjacent to the target signal line in the current input direction of the power supply bus.

9. The server power consumption monitoring method according to claim 7, characterized in that, The calculation of the supply current flowing through the corresponding node based on the front-end current and the back-end current includes: The power supply current flowing through the corresponding node is obtained by subtracting the back-end current from the front-end current.

10. The server power consumption monitoring method according to claim 8, characterized in that, The calculation of the power consumption information of the corresponding node based on the supply current includes: Multiplying the supply current by the first voltage yields the power consumption information of the corresponding node.

11. The server power consumption monitoring method according to claim 7, characterized in that, The calculation of the power consumption information of the corresponding node based on the supply current includes: Obtain the node monitoring voltage provided by the power consumption monitoring module within the node; The power consumption information of the corresponding node is obtained by multiplying the supply current by the node monitoring voltage.

12. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the server power consumption monitoring method as described in any one of claims 7 to 11 when executing the computer program.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, it implements the steps of the server power consumption monitoring method as described in any one of claims 7 to 11.

14. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the steps of the server power consumption monitoring method as described in any one of claims 7 to 11.

Citation Information

Patent Citations

  • A system for preventing power-down of a high-density server and system construction method

    CN109542202A

  • Method and system for monitoring power consumption of server component

    CN111966563A