System power consumption monitoring circuit and server

By designing the system power consumption monitoring circuit of the acquisition unit and the current mirror unit in the server, the complexity and delay problems of power consumption monitoring under the multi-node architecture are solved, real-time power consumption adjustment and cost savings are achieved.

CN119127613APending Publication Date: 2024-12-13INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411252457.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the multi-node architecture, the system power consumption monitoring and processing system is complicated, increasing production costs, and due to the communication delay between nodes, some nodes are lagging behind the acquisition of the power consumption information of the entire machine, which cannot be adjusted in real time.

Method used

Design a system power consumption monitoring circuit, including a collection unit, a current mirror unit and a power consumption monitoring unit, through the same set of acquisition unit and current mirror unit, the power monitoring of multiple nodes can be realized, and each node can obtain the power consumption information of the entire machine simultaneously to avoid Inter-node communication delay.

Benefits of technology

It simplifies the internal structure of the server, reduces the space and layout cost of the system power consumption monitoring circuit, ensures that each node can adjust its own power consumption in real time, and avoids server overload and downtime caused by information lag.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127613A_ABST
    Figure CN119127613A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of servers, in particular to a system power consumption monitoring circuit and a server. The system power consumption monitoring circuit comprises an acquisition unit, a current mirror unit and a power consumption monitoring unit. Wherein the input end of the acquisition unit is used for being connected with a server power supply, the current mirror unit comprises an input control device and at least two mirror image control devices, and an input pin and a control pin of the input control device are electrically connected with the output end of the acquisition unit. And control pins of the mirror image control device are electrically connected with control pins of the input control device. And an output pin of the input control device is electrically connected with a mirror image backflow pin of the mirror image control device and a recovery end of a server power supply. The number of the power consumption monitoring units is at least two, the power consumption monitoring units are arranged corresponding to the server nodes, and the collecting ends of the power consumption monitoring units are electrically connected with the mirror image output pins of the mirror image control device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a system power consumption monitoring circuit and a server. Background Art

[0002] As the computing power of the server increases, the power consumption of the entire server will also increase. In order to ensure that the server can run normally and smoothly when the power consumption reaches its peak, the existing server will add a system power consumption monitoring and processing system to adjust the power consumption in the server in real time. The existing system power consumption monitoring and processing systems are all integrated on the motherboard of the server. When this server architecture faces the requirements of a server architecture with more than two nodes, it is usually necessary to deploy a system power consumption monitoring and processing system at each node. This makes the server architecture complicated and increases the production cost of the server. At the same time, since the transmission of the power consumption information of the whole machine between different nodes depends on the mutual communication of the system power consumption monitoring and processing systems on the nodes, there are always some nodes in the server that lag in obtaining power consumption information, and it is impossible to make real-time responses and adjustments to the power consumption information of the whole machine. Summary of the invention

[0003] The embodiment of the present invention proposes a system power consumption monitoring circuit and a server to overcome the above problems.

[0004] The embodiment of the present invention provides a system power consumption monitoring circuit. The system power consumption monitoring circuit of the embodiment of the present invention is applicable to a server architecture with at least two nodes, and specifically includes a collection unit, a current mirror unit and a power consumption monitoring unit;

[0005] The acquisition unit is used to collect the current signal of the entire server;

[0006] The current mirror unit comprises an input control device and at least two mirror control devices;

[0007] The input pin and the control pin of the input control device are electrically connected to the output end of the acquisition unit; the current signal flows from the acquisition unit to the input control device, and the input control device transmits the current signal back to the server power supply;

[0008] The control pins of the mirror control device are electrically connected to the control pins of the input control device; the mirror return pin of the mirror control device is electrically connected to the recovery end of the server power supply; the mirror output pin of the mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0009] There are at least two power consumption monitoring units, which are arranged in one-to-one correspondence with the nodes.

[0010] Optionally, the acquisition unit includes an operational amplifier acquisition module and a switch module;

[0011] The in-phase input terminal of the operational amplifier acquisition module is used to be electrically connected to the load sharing bus of the server power supply, the inverting input terminal of the operational amplifier acquisition module is used to be electrically connected to the management unit of the server power supply, and the output terminal of the operational amplifier acquisition module is electrically connected to the control pin of the switch module;

[0012] The input pin of the switch module is connected to the inverting input terminal of the operational amplifier acquisition module, and the output pin of the switch module is simultaneously connected to the input pin and the control pin of the input control device.

[0013] Optionally, the system power consumption monitoring circuit further includes at least two on-off modules;

[0014] The input pin of the on-off module is electrically connected to the mirror output pin of the mirror control device, and the output pin of the on-off module is electrically connected to the collection end of the power consumption monitoring unit.

[0015] Optionally, the system power consumption monitoring circuit further includes an identification control module; an output end of the identification control module is electrically connected to a control pin of the on-off module.

[0016] Optionally, the power consumption monitoring unit includes a voltage collection terminal, a current collection terminal and a sampling resistor;

[0017] The current collection terminal is electrically connected to the mirror output pin of the mirror control device;

[0018] The input end of the sampling resistor is electrically connected to the current collection end and the mirror output pin of the mirror control device respectively, and the output end is electrically connected to the voltage collection end.

[0019] Optionally, the power consumption monitoring unit includes a voltage collection terminal and a current collection terminal, and the collection unit includes a voltage collection unit;

[0020] The current collection terminal is electrically connected to the mirror output pin of the mirror control device;

[0021] The voltage collection terminal is electrically connected to the output terminal of the voltage collection unit.

[0022] Optionally, the input control device and the mirror control device are triodes;

[0023] The mirror control device is provided with n corresponding server nodes, specifically including the first mirror control device to the nth mirror control device and n≥2;

[0024] The collector and base of the input control device are electrically connected to the output end of the acquisition unit;

[0025] The base of the first mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the first mirror control device and the recovery end of the server power supply; the collector of the first mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0026] The base of the second mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the second mirror control device and the recovery end of the server power supply; the collector of the second mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0027] The base of the third mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the third mirror control device and the recovery end of the server power supply; the collector of the third mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0028] The base of the nth mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the nth mirror control device and the recovery end of the server power supply; the collector of the nth mirror control device is electrically connected to the collection end of the power consumption monitoring unit.

[0029] Optionally, the system power consumption monitoring circuit further includes a pull-down resistor.

[0030] The input end of the pull-down resistor is electrically connected to the collector of the mirror control device, and the output end of the pull-down resistor is grounded.

[0031] An embodiment of the present invention further provides a server, the server comprising the system power consumption monitoring circuit as described above;

[0032] The server also includes a substrate, a mainboard, and a server power supply;

[0033] The substrate is integrated with a collection unit and a current mirror unit; the server power supply is connected to the substrate;

[0034] At least two main boards are provided, and each main board is integrated with a power consumption monitoring unit.

[0035] Optionally, the acquisition unit on the substrate is electrically connected to the power consumption monitoring unit on the mainboard via a connector.

[0036] Optionally, the acquisition unit includes an operational amplifier acquisition module and a switch module;

[0037] The in-phase input terminal of the operational amplifier acquisition module is used to be electrically connected to the load sharing bus of the server power supply, the inverting input terminal of the operational amplifier acquisition module is used to be electrically connected to the management unit of the server power supply, and the output terminal of the operational amplifier acquisition module is electrically connected to the control pin of the switch module;

[0038] The input pin of the switch module is connected to the inverting input terminal of the operational amplifier acquisition module, and the output pin of the switch module is simultaneously connected to the input pin and the control pin of the input control device.

[0039] Optionally, the system power consumption monitoring circuit further includes at least two on-off modules;

[0040] The input pin of the on-off module is electrically connected to the mirror output pin of the mirror control device, and the output pin of the on-off module is electrically connected to the collection end of the power consumption monitoring unit.

[0041] Optionally, the system power consumption monitoring circuit further includes an identification control module; an output end of the identification control module is electrically connected to a control pin of the on-off module.

[0042] Optionally, the power consumption monitoring unit includes a voltage collection terminal, a current collection terminal and a sampling resistor;

[0043] The current collection terminal is electrically connected to the mirror output pin of the mirror control device;

[0044] The input end of the sampling resistor is electrically connected to the current collection end and the mirror output pin of the mirror control device respectively, and the output end is electrically connected to the voltage collection end.

[0045] Optionally, the power consumption monitoring unit includes a voltage collection terminal and a current collection terminal, and the collection unit includes a voltage collection unit;

[0046] The current collection terminal is electrically connected to the mirror output pin of the mirror control device;

[0047] The voltage collection terminal is electrically connected to the output terminal of the voltage collection unit.

[0048] Optionally, the input control device and the mirror control device are triodes;

[0049] The mirror control device is provided with n corresponding server nodes, specifically including the first mirror control device to the nth mirror control device and n≥2;

[0050] The collector and base of the input control device are electrically connected to the output end of the acquisition unit;

[0051] The base of the first mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the first mirror control device and the recovery end of the server power supply; the collector of the first mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0052] The base of the second mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the second mirror control device and the recovery end of the server power supply; the collector of the second mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0053] The base of the third mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the third mirror control device and the recovery end of the server power supply; the collector of the third mirror control device is electrically connected to the collection end of the power consumption monitoring unit;

[0054] The base of the nth mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the nth mirror control device and the recovery end of the server power supply; the collector of the nth mirror control device is electrically connected to the collection end of the power consumption monitoring unit.

[0055] Optionally, the system power consumption monitoring circuit further includes a pull-down resistor.

[0056] The input end of the pull-down resistor is electrically connected to the collector of the mirror control device, and the output end of the pull-down resistor is grounded.

[0057] Compared with the prior art, the present invention has the following advantages:

[0058] The system power consumption monitoring circuit provided by the embodiment of the present invention includes a collection unit, a current mirror unit and a power consumption monitoring unit. The collection unit is used to collect the current signal of the whole server, and the current mirror unit transmits the current signal input by the collection unit to each power consumption monitoring unit of the node. The above structure realizes power monitoring on multiple nodes through the same set of collection units and current mirror units. Compared with setting the system power consumption monitoring circuit on each node, such a structure is more streamlined, so it can effectively save the space occupied by the system power consumption monitoring circuit inside the server, and reduce the layout cost of the system power consumption monitoring circuit. In addition, since each node can synchronously obtain the whole machine power consumption information through the power consumption monitoring unit, it is no longer necessary to rely on inter-node communication to transmit the whole machine power consumption information, so there is no situation where the node obtains the whole machine power consumption information behind. In this way, it is convenient for each node to make real-time adjustments to its own power consumption according to the whole machine power consumption, avoiding the situation where the adjustment is not timely and the server is overloaded and shut down due to the fact that some server nodes obtain the whole machine power consumption information behind. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0060] Figure 1 The system power consumption monitoring circuit of the present invention;

[0061] Figure 2 It is the logic block diagram of the server's overall power consumption management;

[0062] Figure 3 It is the hardware architecture of the server described in the present invention. DETAILED DESCRIPTION

[0063] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0064] The embodiment of the present invention provides a system power consumption monitoring circuit to assist in the management of the power consumption of the entire machine on the server. In the present invention, the system power consumption monitoring circuit is applicable to a server architecture having at least two nodes, and at least includes a collection unit 100, a current mirror unit 200, and power consumption monitoring units Pu1, Pu2...Pun (n≥2). The server where the system power consumption monitoring circuit is located includes at least two nodes NODE1, NODE2...NODEn (n≥2), and the power consumption monitoring unit Pun is arranged in the node NODEn of the server, so the number of Pun and the server node NODEn is consistent and one-to-one corresponding.

[0065] For reference Figure 1 As shown, the acquisition unit can collect the current signal of the entire server.

[0066] The current mirror unit 200 includes an input control device Q1 and mirror control devices Q2, Q3, ..., Qn (n≥2). The input pin of the input control device Q1 is electrically connected to the output end of the acquisition unit 100 so that the current signal collected by the acquisition unit 100 can flow into the input control device Q1.

[0067] The control pin of the input control device Q1 is also electrically connected to the output end of the acquisition unit 100, and the control pins of the mirror control devices Q2, Q3...Qn (n≥2) are all electrically connected to the control pin of the input control device Q1. At this time, the input control device Q1 and the mirror control devices Q2, Q3...Qn each form a complete current mirror circuit. Under the action of the current mirror effect, the mirror output pins of the mirror control devices Q2, Q3...Qn can output a mirror current signal with the same magnitude as the current signal flowing into the input pin of the input control device Q1.

[0068] The output pin of the input control device Q1 is electrically connected to the mirror return pin of the mirror control device Qn and the input end of the server power supply PSU to ensure that the entire current mirror unit is in the required voltage environment and can output a constant current mirror current signal to the outside.

[0069] The acquisition ends of the power consumption monitoring units Pu1, Pu2, ... Pun are respectively electrically connected to the mirror output pins of the mirror control device Qn to obtain the current signal and the voltage signal of the server power supply PSU.

[0070] In this embodiment, optionally, the acquisition unit 100 may include an operational amplifier acquisition module U1 and a switch module PQ1. Since the server power supply PSU of existing servers mostly adopts a redundant design, there is a load sharing bus Ishare between the redundant server power supply PSUs. Therefore, the in-phase input end of the operational amplifier acquisition module U1 is electrically connected to the load sharing bus Ishare of the server power supply PSU to read the load sharing bus signal, and the inverting input end of the operational amplifier acquisition module U1 is electrically connected to the management unit of the server power supply PSU to read the in-place signal. The output end of the operational amplifier acquisition module U1 is electrically connected to the control pin of the switch module PQ1.

[0071] The input pin of the switch module PQ1 is electrically connected to the inverting input terminal of the operational amplifier acquisition module U1, and the output pin of the switch module PQ1 is simultaneously connected to the input pin and the control pin of the input control device Q1. After reading the load sharing bus signal and the in-position signal of the server power supply PSU, the operational amplifier acquisition module U1 calculates the voltage signal and current signal of the server power supply PSU, and transmits the current signal to the current mirror unit 200 through PQ1.

[0072] In this embodiment, optionally, at least two on-off modules NQ1, NQ2...NQn (n≥2) can be added to the system power consumption monitoring circuit; the input pins of the on-off modules NQ1, NQ2...NQn are electrically connected to the mirror output pins of the mirror control device Qn, and the output pins of the on-off module NQn are electrically connected to the acquisition end of the power consumption monitoring unit to control the on-off connection between the current mirror unit 200 and the power consumption monitoring unit Pun. When any server node NODEn needs to be replaced or maintained, the corresponding on-off module NQn can be used to disconnect the power consumption monitoring unit Pun from the current mirror unit 200 to prevent damage to the power consumption monitoring unit Pun caused by hot plugging.

[0073] In this embodiment, the system power consumption monitoring circuit may also include an identification control module M1. The output end of the identification control module M1 is simultaneously connected to the control pins of all the on-off modules NQ1, NQ2...NQn. When the node is connected to the server, the identification control module M1 can detect and identify the identity code of the node NODEn. After identifying the identity code of the node NODEn, the identification control module M1 can control the corresponding on-off module NQn to connect the mirror transistor Qn and the power consumption monitoring unit Pun on the node. Such an architecture realizes the cold insertion of the node NODEn and reduces the risk of damage during hot plugging of the node.

[0074] In this embodiment, the power consumption monitoring unit Pun can include a voltage acquisition terminal Vsys, a current acquisition terminal Isys and sampling resistors R21, R22...R2n (n≥2). The current acquisition terminal Isys is electrically connected to the mirror output pin of the mirror control device Qn, the input end of the sampling resistor R2n is electrically connected to the current acquisition terminal Isys and the mirror output pin of the mirror control device Qn, respectively, and the output end is electrically connected to the voltage acquisition terminal Vsys, so as to convert the current signal into a voltage signal. After obtaining the voltage signal and current signal of the server power supply PSU, the power consumption monitoring unit calculates the total load signal of the current server. The processor unit A of the current node can obtain the current power consumption of the whole machine by accessing the power consumption monitoring unit. Such a setting can also make the voltage value of the current acquisition terminal Isys less than the withstand voltage value before the mirror control device Qn is turned on, thereby ensuring the safety and reliability of node hot plugging.

[0075] In another embodiment, the aforementioned current acquisition terminal Isys can also be electrically connected to the mirror output pin of the mirror control device Qn. The acquisition unit 100 includes a voltage acquisition unit, and the aforementioned voltage acquisition terminal Vsys is electrically connected to the output terminal of the voltage acquisition unit to obtain the voltage signal of the server power supply PSU. The output terminal of the voltage acquisition unit can be directly connected to the voltage acquisition terminal Vsys to transmit the voltage signal, or it can be electrically connected to the voltage acquisition terminal Vsys through a transmission circuit. The structure of the transmission circuit can refer to the structure of the aforementioned current mirror unit 200, which will not be repeated here. Through the transmission circuit, the voltage signal collected by the voltage acquisition unit is converted into a current signal for transmission, and after being converted into a voltage signal near the power consumption monitoring unit Pun, it flows into the voltage acquisition terminal Vsys.

[0076] In this embodiment, preferably, the input control device Q1 and the mirror control device Qn can be triodes. The structure of the system power consumption monitoring circuit in this embodiment is specifically described below based on a server with three nodes.

[0077] A system power consumption monitoring circuit includes a collection unit 100, a current mirror unit 200, and power consumption monitoring units Pu1, Pu2, and Pu3. The server where the system power consumption monitoring circuit is located has three nodes, namely NODE1, NODE2, and NODE3, and the power consumption monitoring units Pun are arranged in the nodes of the server one by one.

[0078] Wherein, the acquisition unit 100 includes an operational amplifier acquisition module U1 and a switch module PQ1. The in-phase input terminal of the operational amplifier acquisition module U1 is electrically connected to the load sharing bus Ishare of the server power supply PSU to read the load sharing bus signal, and the inverting input terminal of the operational amplifier acquisition module U1 is electrically connected to the management unit of the server power supply PSU to read the in-place signal. The switch module PQ1 specifically adopts a field effect transistor, and the output terminal of the operational amplifier acquisition module U1 is electrically connected to the gate of the switch module PQ1. The source of the switch module PQ1 is electrically connected to the inverting input terminal of the operational amplifier acquisition module U1, and the drain of the switch module PQ1 is simultaneously connected to the input pin and the control pin of the input control device Q1. After reading the load sharing bus signal and the in-place signal of the server power supply PSU, the operational amplifier acquisition module U1 calculates the voltage signal and the current signal of the server power supply PSU, and transmits the current signal to the current mirror unit 200 through PQ1.

[0079] The current mirror unit 200 includes an input control device Q1 and mirror control devices Q2, Q3, and Q4. The mirror control devices Q2, Q3, and Q4 are respectively set corresponding to nodes NODE1, NODE2, and NODE3. The collector and base of the input control device Q1 are electrically connected to the drain of the switch module PQ1, and the bases of the mirror control devices Q2, Q3, and Q4 are electrically connected to the base of the input control device Q1. The emitter of the input control device Q1 and the emitters of the mirror control devices Q2, Q3, and Q4 are electrically connected to the input end of the server power supply at the same time. In other words, the input control device Q1 and the mirror control device Q2, the input control device Q1 and the mirror control device Q3, and the input control device Q1 and the mirror control device Q4 each constitute a complete current mirror circuit based on a triode. And the branches where the mirror control devices Q2, Q3, and Q4 are located have current signals of the same magnitude as the current signals on the branch where the input control device Q1 is located.

[0080] The acquisition ends of the power consumption monitoring units Pu1, Pu2, and Pu3 are electrically connected to the emitters of the mirror control devices Q2, Q3, and Q4, respectively, to obtain the current signal and voltage signal of the server power supply PSU. After obtaining the current signal and voltage signal, the power consumption monitoring units Pu1, Pu2, and Pu3 respectively operate on the voltage signal and the current signal to obtain the power consumption of the entire server and exchange the power consumption information of the entire server with the node control module on the same node.

[0081] The system power consumption monitoring circuit has three on-off modules NQ1, NQ2, and NQ3. In this embodiment, the on-off modules NQ1, NQ2, and NQ3 also use field effect transistors. The sources of the on-off modules NQ1, NQ2, and NQ3 are electrically connected to the collectors of the mirror control devices Q2, Q3, and Q4, respectively, and the drains of the on-off modules NQ1, NQ2, and NQ3 are electrically connected to the acquisition ends of the power consumption monitoring units Pu1, Pu2, and Pu3, respectively. When it is necessary to replace or maintain any one or more of the server nodes NODE1, NODE2, and NODE3, the corresponding on-off modules NQ1, NQ2, and NQ3 can be used to disconnect the connection between the corresponding power consumption monitoring unit Pun and the current mirror unit 200 to prevent damage to the power consumption monitoring unit Pun caused by live plugging and unplugging. The gates of the three on-off modules NQ1, NQ2, and NQ3 can be connected to an identification control module M1 at the same time. The identification control module M1 can adopt an existing programmable control structure. After any one or several of the server nodes NODE1, NODE2, and NODE3 are actually inserted into the server, the identification control module M1 detects the presence of the node through the node's own identity ID, and then actively turns on the monitoring end field effect transistor. At this time, the voltage signal and current signal are connected to the corresponding node monitoring module.

[0082] For reference Figure 2 As shown, in this embodiment, the node control module may be a processor unit A included in the node. The acquisition unit 100 and the current mirror unit 200 together constitute Figure 2 The power consumption monitoring circuit shown in the figure can use an existing regulating controller as the power consumption monitoring unit. After the power consumption monitoring circuit obtains the current signal and voltage signal of the server power supply PSU, the current signal and the voltage signal are transmitted to the regulating controller. The regulating controller can calculate and process the current signal and the voltage signal and cache the calculation results. The processor unit A on the node can obtain the power consumption information of the whole machine from the regulating controller through the path, and compare the power consumption information of the whole machine with the specified power limit value defined by the controller B of the node, and then perform the power consumption management of the whole machine. Once the processor unit A detects that the power consumption of the whole machine reaches the threshold value, the processor unit A will adjust the relevant configuration in the node where it is located, such as adjusting its own operating frequency, so as to reduce the power consumption of the whole machine and reduce the power supply pressure of the PSU. At the same time, under such an architecture, the processor unit A on the node can directly obtain the power consumption information of the whole machine from the regulating controller, and the information acquisition link is short, so it can have a faster response speed when responding to the peak power consumption of the whole machine.

[0083] It should be noted that the aforementioned server has three nodes, which is only a specific example for the convenience of explanation. The system power consumption monitoring circuit described in the present invention is applicable to a server with at least two nodes, such as a dual-node server, a four-node server, a five-node server or even a server with more nodes. On this basis, the acquisition unit 100, the current mirror unit 200 and the power consumption monitoring unit described in the embodiment of the present invention can be appropriately adjusted according to the specific number of nodes of the server. For example, in a dual-node server, the current mirror unit 200 can include an input control device Q1 and two mirror control devices Q2 and Q3, and the power consumption monitoring unit is also provided with two corresponding server nodes. In order to save space, servers with other numbers of nodes will not be described here.

[0084] Of course, in the embodiment of the present invention, it is also possible to consider using a field effect tube to form the current mirror unit 200. Specifically, the current mirror circuit can include an input field effect tube and two or more mirror field effect tubes. The drain and gate of the input field effect tube are electrically connected to the input end of the acquisition unit 100, and the gate of the mirror field effect tube is electrically connected to the gate of the input field effect tube. The source of the mirror field effect tube is connected to the source point of the input field effect tube at the input end of the server power supply PSU, and the drain of the mirror field effect tube is used to be electrically connected to the power consumption monitoring unit.

[0085] In addition, in this embodiment, the collector of each mirror control device Qn is individually connected to a pull-down resistor R11, R12, ... R1n to prevent the existence of a suspended branch in the current mirror unit 200 after the mirror control device Qn is disconnected from the power consumption monitoring unit Pun. In this way, after disconnecting any node NODEn, the mirror control device Qn on the node NODEn will not be suspended, and will not affect the current on the branch where other mirror control devices Qn are located. The current on the branch where other mirror control devices Qn are located is still consistent with the current on the branch where the input control device Q1 is located. Therefore, such a design can ensure that when a certain node NODEn is hot-swapped, the system power consumption monitoring circuits on other nodes can still work normally and will not be affected by the disconnection of the node.

[0086] The embodiment of the present invention further provides a server, which includes a substrate 10, a mainboard 20, and a server power supply. In this embodiment, the server power supply is the aforementioned server power supply PSU, which is connected to the substrate 10 and provides power to the substrate 10 and the mainboard 20.

[0087] The acquisition unit 100 and the current mirror unit 200 as described above are integrated on the substrate 10. There are at least two mainboards 20, and each mainboard 20 is integrated with a complete server node. The node includes the power consumption monitoring unit and the node control module as described above, wherein the acquisition end of the power consumption monitoring unit is connected to the current mirror unit 200 on the substrate 10 to obtain voltage signals and current signals; the power consumption monitoring unit calculates the power consumption of the server according to the obtained voltage signals and current signals and exchanges the power consumption information of the server with the node control module of the same node.

[0088] The following describes the server of the present invention in detail based on a case with three nodes.

[0089] A server, whose structure can refer to Figure 3 As shown, it includes three main boards 20 and a substrate 10, and the server power supply is connected to the substrate 10. The substrate 10 is integrated with a collection unit 100 and a current mirror unit 200. There are at least two main boards 20, and each main board 20 is integrated with a complete server node. Each node has a power consumption monitoring unit and a node control module, and the collection end of the power consumption monitoring unit is connected to the current mirror unit 200 on the substrate 10 to obtain voltage signals and current signals. The power consumption monitoring unit calculates the power consumption of the entire server based on the obtained voltage signal and current signal and exchanges the power consumption information of the entire server with the node control module of the same node.

[0090] The acquisition unit 100 is used to obtain the current signal and the voltage signal of the server power supply PSU.

[0091] The current mirror unit 200 includes an input control device Q1 and mirror control devices Q2, Q3, and Q4. The input pin and control pin of the input control device Q1 are electrically connected to the output end of the acquisition unit 100, and the control pins of the mirror control devices Q2, Q3, and Q4 are electrically connected to the control pin of the input control device Q1. The output pin of the input control device Q1 is electrically connected to the mirror return pin of the mirror control device Qn and the recovery end of the server power supply. In other words, the input control device Q1 and the mirror control device Q2, the input control device Q1 and the mirror control device Q3...the input control device Q1 and the mirror control device Qn each constitute a complete current mirror circuit. And each branch where the mirror control device Qn is located has the current of the acquisition unit 100 input to the current mirror unit 200.

[0092] The acquisition ends of the power consumption monitoring units Pu1, Pu2, and Pu3 are electrically connected to the mirror output pins of the mirror control devices Q2, Q3, and Q4, respectively, to obtain the current signal and the voltage signal of the server power supply PSU.

[0093] The acquisition unit 100 includes an operational amplifier acquisition module U1 and a switch module PQ1. The server power supply PSU of the server is mostly designed in a redundant manner, and a load sharing bus Ishare is provided between the redundant server power supply PSUs. The in-phase input terminal of the operational amplifier acquisition module U1 is electrically connected to the load sharing bus Ishare of the server power supply PSU to read the load sharing bus signal, and the inverting input terminal of the operational amplifier acquisition module U1 is electrically connected to the management unit of the server power supply PSU to read the in-place signal. The output terminal of the operational amplifier acquisition module U1 is electrically connected to the control pin of the switch module PQ1.

[0094] The input pin of the switch module PQ1 is electrically connected to the inverting input terminal of the operational amplifier acquisition module U1, and the output pin of the switch module PQ1 is simultaneously connected to the input pin and the control pin of the input control device Q1. After reading the load sharing bus signal and the in-position signal of the server power supply PSU, the operational amplifier acquisition module U1 calculates and controls the current signal to be transmitted into the current mirror unit 200 through PQ1.

[0095] The system power consumption monitoring circuit has three on-off modules NQ1, NQ2, and NQ3. In this embodiment, the on-off modules NQ1, NQ2, and NQ3 also use field effect tubes. The source electrodes of the on-off modules NQ1, NQ2, and NQ3 are electrically connected to the mirror output pins of the mirror control devices Q2, Q3, and Q4, respectively, and the drain electrodes of the on-off modules NQ1, NQ2, and NQ3 are electrically connected to the acquisition ends of the power consumption monitoring units Pu1, Pu2, and Pu3, respectively. The gates of the three on-off modules NQ1, NQ2, and NQ3 can be connected to an identification control module M1 at the same time. The identification control module M1 can adopt an existing programmable control structure. When any one or several motherboards 20 are actually connected to the substrate 10 of the server, the identification control module M1 can automatically identify the identity ID of the motherboard 20. After detecting that the motherboard 20 is in place, the identification control module M1 will actively turn on the monitoring end field effect tube, and at this time the voltage signal and the current signal are connected to the corresponding node monitoring module. The on / off modules NQ1, NQ2, NQ3 and the corresponding identification control module M1 are all integrated on the base plate 10 of the server, which saves space on the main board 20 and also effectively reduces the production cost of the server.

[0096] Pull-down resistors R11, R12, and R13 are connected to the mirror output pins of the mirror control devices Q2, Q3, and Q4 to prevent the existence of a suspended branch in the current mirror unit 200 after the mirror control devices Q2, Q3, and Q4 are disconnected from the power consumption monitoring units Pu1, Pu2, and Pu3. In this way, after disconnecting any motherboard 20, the mirror control device corresponding to the motherboard 20 will not be suspended, and it will not affect the current on the branch where other mirror control devices are located. The current on the branch where other mirror control devices are located is still consistent with the current on the branch where the input control device Q1 is located. In this way, it can be ensured that when a motherboard 20 is hot-plugged, the system power consumption monitoring circuits on other nodes can still work normally and will not be affected by the disconnection of the motherboard 20.

[0097] At the same time, the power consumption monitoring units Pu1, Pu2, and Pu3 can all include a voltage acquisition terminal Vsys, a current acquisition terminal Isys, and sampling resistors R21, R22, and R23. The current acquisition terminal Isys is electrically connected to the mirror output pins of the mirror control devices Q2, Q3, and Q4 to obtain the current signal of the server power supply PSU, and one end of the sampling resistors R21, R22, and R23 is electrically connected to the current acquisition terminal Isys and the mirror output pins of the mirror control devices Q2, Q3, and Q4, respectively, and the other end is electrically connected to the voltage acquisition terminal Vsys. Alternatively, the acquisition unit 100 can also include a voltage acquisition unit 100, and the aforementioned voltage acquisition terminal Vsys is electrically connected to the output end of the voltage acquisition unit 100 to obtain the voltage signal of the server power supply PSU.

[0098] The substrate 10 and the main board 20 are preferably electrically connected via a connector. That is, the acquisition unit 100 on the substrate 10 and the power consumption monitoring unit on the main board 20 are electrically connected and pluggable via a connector.

[0099] It should be noted that the server has three nodes, which is only a specific example for the convenience of description. The server described in the present invention may also have multiple nodes, such as a dual-node server, a four-node server, a five-node server or even a server with more nodes.

[0100] The above structure realizes power monitoring on multiple nodes of the server through the same set of acquisition units 100 and current mirror units 200. It is not difficult to find out by comparing the system power consumption monitoring circuit based on a single node setting. When facing a multi-node usage scenario, the system power consumption monitoring circuit based on a single node setting usually needs to set up a set of system power consumption monitoring circuits on each node, which will inevitably lead to a certain position being reserved on the motherboard 20 of each server to arrange the system power consumption monitoring circuit, thereby resulting in a waste of internal space of the server. The system power consumption monitoring circuit described in the embodiment of the present invention (i.e. Figure 1The system power consumption monitoring circuit shown in the figure transmits the load signal of the whole machine load to each node through the same set of acquisition unit 100 and current mirror unit 200. Only a power detection module needs to be arranged on each node (i.e., each mainboard 20). Such a structure is more streamlined, thus effectively saving the space occupied by the system power consumption monitoring circuit inside the server, and reducing the layout cost of the system power consumption monitoring circuit.

[0101] In addition, if a system power consumption monitoring circuit is set on each node, the nodes need to rely on inter-board communication to communicate the load of the whole machine, which will inevitably cause some nodes to lag behind in obtaining the information of the whole machine power consumption and make it difficult to respond in time. In the system power consumption monitoring circuit described in the embodiment of the present invention, each node can synchronously obtain the whole machine power consumption information through the power consumption monitoring unit, and no longer need to rely on inter-node communication to transmit the whole machine power consumption information, so there is no situation where the node lags behind in obtaining the whole machine power consumption information. This makes it convenient for each node to make real-time adjustments to its own power consumption according to the whole machine power consumption, avoiding the situation where some server nodes lag behind in obtaining the whole machine power consumption information, resulting in untimely adjustments and server overload and downtime.

[0102] In addition, the system power consumption monitoring circuit in the embodiment of the present invention is also designed with a hot-swap function. In this way, when any one or several nodes are disconnected, the remaining nodes can continue to work without being affected. This can ensure that the server can work without stopping during upgrades and repairs, thereby improving the efficiency and convenience of server upgrades and repairs; on the other hand, it can also reduce the impact of a single node damage on the entire server, and prevent the entire server system power consumption monitoring circuit from being disrupted due to a single node damage.

[0103] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0104] It should be noted that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the scope of protection of the present invention. Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0105] The above is a detailed introduction to a system power consumption monitoring circuit and a server provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the structure of the present invention and its core ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A system power consumption monitoring circuit, characterized in that: The system power consumption monitoring circuit is used in a server architecture having at least two nodes, and includes a collection unit, a current mirror unit, and a power consumption monitoring unit; The acquisition unit is used to collect the current signal of the entire server; The current mirror unit comprises an input control device and at least two mirror control devices; The input pin and the control pin of the input control device are electrically connected to the output end of the acquisition unit; the current signal flows from the acquisition unit to the input control device, and the input control device transmits the current signal back to the server power supply; The control pins of the mirror control device are electrically connected to the control pins of the input control device; the mirror return pin of the mirror control device is electrically connected to the recovery end of the server power supply; the mirror output pin of the mirror control device is electrically connected to the collection end of the power consumption monitoring unit; There are at least two power consumption monitoring units, which are arranged in one-to-one correspondence with the nodes.

2. The system power consumption monitoring circuit according to claim 1, characterized in that: The acquisition unit includes an operational amplifier acquisition module and a switch module; The in-phase input terminal of the operational amplifier acquisition module is used to be electrically connected to the load sharing bus of the server power supply, the inverting input terminal of the operational amplifier acquisition module is used to be electrically connected to the management unit of the server power supply, and the output terminal of the operational amplifier acquisition module is electrically connected to the control pin of the switch module; The input pin of the switch module is connected to the inverting input terminal of the operational amplifier acquisition module, and the output pin of the switch module is simultaneously connected to the input pin and the control pin of the input control device.

3. The system power consumption monitoring circuit according to claim 1, characterized in that: The system power consumption monitoring circuit also includes at least two on-off modules; The input pin of the on-off module is electrically connected to the mirror output pin of the mirror control device, and the output pin of the on-off module is electrically connected to the collection end of the power consumption monitoring unit.

4. The system power consumption monitoring circuit according to claim 3, characterized in that: The system power consumption monitoring circuit also includes an identification control module; the output end of the identification control module is electrically connected to the control pin of the on-off module.

5. The system power consumption monitoring circuit according to claim 1, characterized in that: The power consumption monitoring unit includes a voltage collection terminal, a current collection terminal and a sampling resistor; The current collection terminal is electrically connected to the mirror output pin of the mirror control device; The input end of the sampling resistor is electrically connected to the current collection end and the mirror output pin of the mirror control device respectively, and the output end is electrically connected to the voltage collection end.

6. The system power consumption monitoring circuit according to claim 1, characterized in that: The power consumption monitoring unit includes a voltage collection terminal and a current collection terminal, and the collection unit includes a voltage collection unit; The current collection terminal is electrically connected to the mirror output pin of the mirror control device; The voltage collection terminal is electrically connected to the output terminal of the voltage collection unit.

7. The system power consumption monitoring circuit according to any one of claims 1 to 6, characterized in that: The input control device and the mirror control device are triodes; The mirror control device is provided with n corresponding server nodes, specifically including the first mirror control device to the nth mirror control device and n≥2; The collector and base of the input control device are electrically connected to the output end of the acquisition unit; The base of the first mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the first mirror control device and the recovery end of the server power supply; the collector of the first mirror control device is electrically connected to the collection end of the power consumption monitoring unit; The base of the second mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the second mirror control device and the recovery end of the server power supply; the collector of the second mirror control device is electrically connected to the collection end of the power consumption monitoring unit; The base of the third mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the third mirror control device and the recovery end of the server power supply; the collector of the third mirror control device is electrically connected to the collection end of the power consumption monitoring unit; The base of the nth mirror control device is electrically connected to the base of the input control device respectively; the emitter of the input control device is electrically connected to the emitter of the nth mirror control device and the recovery end of the server power supply; the collector of the nth mirror control device is electrically connected to the collection end of the power consumption monitoring unit.

8. The system power consumption monitoring circuit according to claim 7, characterized in that: The system power consumption monitoring circuit also includes a pull-down resistor. The input end of the pull-down resistor is electrically connected to the collector of the mirror control device, and the output end of the pull-down resistor is grounded.

9. A server, characterized in that: The server comprises the system power consumption monitoring circuit according to any one of claims 1 to 8; The server also includes a substrate, a mainboard, and a server power supply; The substrate is integrated with a collection unit and a current mirror unit; the server power supply is connected to the substrate; At least two main boards are provided, and each main board is integrated with a power consumption monitoring unit.

10. The server according to claim 9, characterized in that The acquisition unit on the substrate is electrically connected to the power consumption monitoring unit on the main board via a connector.