A server system power consumption test circuit, test method and medium
By designing M first voltage acquisition circuits, N second voltage acquisition circuits, and a system voltage acquisition circuit in the server system, and combining them with a control unit, the problems of low power consumption testing accuracy and poor applicability in server systems are solved, achieving high-precision power consumption monitoring and management.
Patent Information
- Application Number
- CN202411687757.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2044-11-22
AI Technical Summary
Existing server system power consumption testing has low accuracy and poor applicability, especially due to CRPS power supply incompatibility and insufficient Ishare pin precision, making it impossible to effectively monitor and manage the overall power consumption of the server.
A server system power consumption test circuit was designed, including M first voltage acquisition circuits, N second voltage acquisition circuits, and a system voltage acquisition circuit. By designing different voltage acquisition circuits for different power-consuming components and combining them with the control unit, high-precision power consumption testing can be achieved using existing circuit components on the board.
High-precision server system power consumption testing was achieved without significantly altering the board layout. It is widely adaptable, low-cost, and does not affect the overall board layout and cabling.
Smart Images

Figure CN119597558B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of server power consumption testing, and in particular to a server system power consumption testing circuit, a testing method and a medium. BACKGROUND
[0002] With the performance improvement of various components such as CPU, GPU, smart network card, etc., the power consumption is also increasing, and the system power consumption of the server is also increasing. Due to the increase of power consumption, especially the instantaneous power consumption, a more accurate and faster power consumption reading method is needed to better monitor and manage the server system power consumption, evaluate the overall performance of the server, and prevent the system from being powered off due to high instantaneous power consumption. The system power consumption can be determined by collecting system voltage information and system current information. The system current information can be collected through the Ishare function pin of the server power supply. The voltage of the Ishare pin is proportional to the output current, but the accuracy is poor. The system current information can also be collected through the current detection function pin of the server power supply, but only the server power supply that meets the new specification will have the current monitoring function pin. Currently, the commonly used server power supply cannot be compatible, and the applicability is poor. SUMMARY
[0003] The embodiments of the present application provide a server system power consumption testing circuit, a testing method and a medium to solve the problems of low testing accuracy and poor applicability of the server system power consumption testing.
[0004] In a first aspect, the embodiments of the present application provide a server system power consumption testing circuit, comprising:
[0005] M first voltage acquisition circuits, for each first voltage acquisition circuit, the first voltage acquisition circuit is electrically connected with the server power supply, the power input end of the first power consumption component and the first input end of the control unit respectively, the first voltage acquisition circuit is used for acquiring the branch current passing through the first power consumption component, and outputting the first voltage of the power supply end of the first power consumption component based on the branch current, wherein M is a positive integer greater than or equal to 1;
[0006] N second voltage acquisition circuits, for each second voltage acquisition circuit, the second voltage acquisition circuit is electrically connected with the server power supply, the power input end of the second power consumption component and the first input end of the control unit respectively, the second voltage acquisition circuit is used for acquiring the second voltage of the power input end of the second power consumption component, wherein N is a positive integer greater than or equal to 1;
[0007] A system voltage acquisition circuit is electrically connected with the server power supply and the second input end of the control unit respectively, and is used for acquiring the system voltage of the server;
[0008] The control unit is configured to determine the system power consumption of the server according to the input first voltage, the second voltage and the system voltage.
[0009] Based on the above scheme, the voltage acquisition circuit acquires the voltage by designing the first voltage acquisition circuit for the first power component and the second voltage acquisition circuit for the second power component. Further, the first voltage, the second voltage and the system voltage are used to test the system power consumption of the server. The test circuit uses different voltage acquisition circuits for different power components, can realize high-precision measurement of system power consumption, and has wide adaptability.
[0010] In a possible implementation, the first voltage acquisition circuit includes a first resistor and at least one electronic fuse.
[0011] For each electronic fuse, the input end of the electronic fuse is electrically connected with the server power supply, and the output end of the electronic fuse is electrically connected with the first end of the first resistor.
[0012] The first end of the first resistor is electrically connected with the power input end of the first power component, and the second end of the first resistor is electrically connected with the first input end of the control unit.
[0013] Based on the above scheme, the test circuit uses the existing electronic fuse on the mainboard, and only needs to add a small amount of resistor and circuit element to realize the voltage acquisition of the first power component. In addition, the electronic fuse has high precision and can meet the precision requirement of system power consumption test, so the test precision is high.
[0014] In a possible implementation, the second voltage acquisition circuit includes a second resistor, a voltage amplifier and a third resistor.
[0015] The first end of the second resistor is electrically connected with the server power supply, and the second end of the second resistor is electrically connected with the input end of the voltage amplifier. The input end of the voltage amplifier is electrically connected with the power input end of the second power component, and the output end of the voltage amplifier is electrically connected with the first end of the third resistor.
[0016] The second end of the third resistor is electrically connected with the first input end of the control unit.
[0017] Based on the above scheme, for the second power component without electronic fuse protection, only a small amount of resistor and circuit element needs to be added to realize the voltage acquisition of the second power component, and the cost is low. Secondly, the newly added device in the test circuit has small packaging, low requirement for the placement position and small occupation of the card area, and will not affect the overall layout and wiring of the card.
[0018] In a possible implementation, the system voltage acquisition circuit includes a fourth resistor.
[0019] The first end of the fourth resistor is electrically connected with the server power supply, and the second end of the fourth resistor is electrically connected with the second input end of the control unit.
[0020] In a possible implementation, the test circuit further comprises an operational amplifier unit.
[0021] The input end of the operational amplifier unit is electrically connected with the output end of each first voltage acquisition circuit and the output end of each second voltage acquisition circuit, and the output end of the operational amplifier unit is electrically connected with the first input end of the control unit.
[0022] The operational amplifier unit is configured to amplify the first voltage and the second voltage and output the amplified voltage to the first input end of the control unit.
[0023] Based on the above scheme, by arranging the operational amplifier unit before the multi-phase controller of the power supply, the first voltage and the second voltage can be amplified, so that the obtained voltage is easier to be detected, and the detection accuracy is improved.
[0024] In a possible implementation, the operational amplifier unit comprises a fifth resistor, a sixth resistor and an operational amplifier.
[0025] The first input end of the operational amplifier is electrically connected with the output end of each first voltage acquisition circuit and the output end of each second voltage acquisition circuit, the second input end of the operational amplifier is electrically connected with the first end of the fifth resistor and the first end of the sixth resistor, and the output end of the operational amplifier is electrically connected with the second end of the sixth resistor and the first input end of the control unit.
[0026] The second end of the fifth resistor is electrically connected with the power supply end of the operational amplifier.
[0027] In a possible implementation, the ratio of the first resistor in the first target voltage acquisition circuit to the first resistor in the second target voltage acquisition circuit is equal to the ratio of the number of electronic fuses in the second target voltage acquisition circuit to the number of electronic fuses in the first target voltage acquisition circuit.
[0028] The first target voltage acquisition circuit and the second target voltage acquisition circuit are any two of the M first voltage acquisition circuits.
[0029] Based on the above scheme, the corresponding relationship of the voltage and the current in different first voltage acquisition circuits can be the same, and the calculation is facilitated.
[0030] In a possible implementation, the resistance value of the third resistor is calculated in the following manner:
[0031] calculating a first product of a resistance value of a target first resistor, a resistance value of the second resistor, an amplification of the voltage amplifier, and a number of target electronic fuses, and calculating a second product of a resistance value of a ground resistance of the target electronic fuse and a current scaling ratio of the target electronic fuse;
[0032] taking a ratio of the first product and the second product as a resistance value of the third resistor;
[0033] The target first resistor and the target electronic fuse are a first resistor and an electronic fuse in any one of the M first voltage acquisition circuits.
[0034] Based on the above scheme, when the third resistance value meets the above condition, the corresponding relationship between the voltage and the current in the first voltage acquisition circuit and the second voltage acquisition circuit is the same, and then the system current is determined based on the corresponding relationship between the voltage and the current, the first voltage, and the second voltage after the first voltage and the second voltage are determined, and the test of the server system power consumption is realized.
[0035] In a possible implementation, the control unit, when determining the system power consumption of the server according to the input first voltage, second voltage, and system voltage, is specifically configured to:
[0036] determine a sum of the first voltages collected by the M first voltage acquisition circuits and a sum of the second voltages collected by the N second voltage acquisition circuits;
[0037] determine a first current corresponding to the sum of the first voltages and a second current corresponding to the sum of the second voltages based on the configured corresponding relationship between the voltage and the current;
[0038] determine the system power consumption of the server according to the first current, the second current, and the system voltage.
[0039] In a second aspect, the embodiments of the present application provide a server system power consumption test method, applied to the test circuit of the first aspect and different implementation manners of the first aspect, and the test method comprises:
[0040] For M first voltage acquisition circuits, a branch current between a server power supply and a power input end of a first power consuming component collected by a first voltage acquisition circuit is obtained, and a first voltage of the power supply end of the first power consuming component is output based on the branch current;
[0041] For N second voltage acquisition circuits, a second voltage of a power input end of a second power consuming component collected by a second voltage acquisition circuit is obtained;
[0042] The acquisition system voltage acquisition circuit is electrically connected with the server power supply and the second input end of the control unit respectively, and is configured to acquire the system voltage of the server.
[0043] The system power consumption of the server is determined according to the first voltage acquired by the M first voltage acquisition circuits, the second voltage acquired by the N second voltage acquisition circuits and the system voltage.
[0044] In a possible implementation, the determination of the system power consumption of the server according to the first voltage acquired by the M first voltage acquisition circuits, the second voltage acquired by the N second voltage acquisition circuits and the system voltage comprises:
[0045] The sum of the first voltage acquired by the M first voltage acquisition circuits and the sum of the second voltage acquired by the N second voltage acquisition circuits are determined.
[0046] The first current corresponding to the sum of the first voltage and the second current corresponding to the sum of the second voltage are determined based on the configured correspondence between voltage and current.
[0047] The system power consumption of the server is determined according to the first current, the second current and the system voltage.
[0048] In a possible implementation, the configured correspondence between voltage and current is determined in the following manner:
[0049] The first voltage and current correspondence of the first voltage acquisition circuit and the second voltage and current correspondence of the second voltage acquisition circuit are determined.
[0050] The voltage and current correspondence when the first voltage and current correspondence and the second voltage and current correspondence are equal is taken as the configured correspondence between voltage and current.
[0051] In a third aspect, the embodiments of the present application provide a computer readable storage medium, which includes computer instructions, and when the computer instructions are executed by a computer, the method of the first aspect and different implementation manners of the first aspect is implemented.
[0052] In addition, the technical effects brought by any one of the implementation manners of the second aspect to the fourth aspect can refer to the technical effects brought by the first aspect and different implementation manners of the first aspect, which will not be described herein. BRIEF DESCRIPTION OF DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0054] Figure 1 A schematic diagram of a test circuit for server system power consumption is provided for the embodiments of the present application.
[0055] Figure 2 Another schematic diagram of a test circuit for server system power consumption is provided for the embodiments of the present application.
[0056] Figure 3 Still another schematic diagram of a test circuit for server system power consumption is provided for the embodiments of the present application.
[0057] Figure 4 A schematic diagram of a test method flow for server system power consumption is provided for the embodiments of the present application.
[0058] Figure 5 A schematic diagram of an execution device is provided for the embodiments of the present application. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations.
[0060] Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of the present application.
[0061] It should be noted that the relational terms, such as first and second, and the like, are used solely to distinguish one from another entity or action, without necessarily requiring or implying any actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without more limitations, an element preceded by "comprises... " does not exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the recited element.
[0062] In order to facilitate the understanding of the scheme proposed in the present application, the technical terms involved in the present application are explained below.
[0063] Server system power (PSYS) generally refers to the overall power consumption of a server, including the power consumption of various power components (such as processors, memories, storage, network interfaces, disks, etc.) and the loss in the transmission process. Server system power can be used to monitor and manage the energy efficiency of the server to ensure the operation of the system.
[0064] Programmable electronic fuse (Efuse), also known as electronic fuse, is a programmable circuit protection device to prevent damage to the circuit caused by excessive current, voltage and other abnormal conditions. When overcurrent or overvoltage occurs in the circuit, eFuse will detect these abnormalities through internal sensors and trigger a disconnect action to quickly cut off the power supply to avoid overload damage. Unlike traditional fuses, electronic fuses can self-disconnect and repair through electronic control when a fault occurs, without the need to replace physical components.
[0065] Common redundant power supply (CRPS) is a standardized design of server power supply, mainly serving servers, network devices and other high-reliability devices to improve system availability and fault tolerance. The introduction of CRPS helps to avoid the risk of system downtime caused by single power failure, and is an important technical means to improve device reliability and stability.
[0066] With the performance improvement of various components such as CPU, GPU, smart network card, etc., the power consumption is also increasing, and the system power consumption of the server is also increasing. Due to the increase in power consumption, especially instantaneous power consumption, a more accurate and faster power consumption reading method is needed to better monitor and manage the overall power consumption of the server, evaluate the overall performance of the server, and prevent system power failure caused by excessive instantaneous power consumption.
[0067] In order to improve the power consumption monitoring accuracy and the power consumption reading rate, the system current signal and the voltage signal are collected through a power supply multiphase controller for a central processing unit (CPU), the system power consumption is equal to the product of the system voltage and the system current, the system power consumption information is transmitted to the CPU through a serial voltage identification (SVID) protocol, and thus the CPU obtains the PSYS information. The method of obtaining the power consumption information through the SVID bus is faster than the traditional method of obtaining the power consumption through a power management bus (PMBUS), the CPU can adjust the power consumption at a faster speed, and the target of controlling the system power consumption is achieved. If the PSYS power consumption is lower than the maximum output power consumption of the CRPS, the CPU can continue to increase the frequency and increase the power consumption to improve the performance; if the PSYS power consumption exceeds the maximum output power consumption of the CRPS, the CPU reduces the frequency and reduces the CPU power consumption to reduce the performance, so as to avoid the system power failure and shutdown caused by the over-current protection triggered by the CRPS power supply.
[0068] The PSYS power consumption can be determined by collecting the system voltage information and the system current information. The system voltage information is relatively easy to obtain, and the voltage signal is connected to the voltage collection pin of the power supply multiphase controller at the input end of the board card. The system current signal is relatively difficult to obtain, and there are currently two methods:
[0069] The first method is to use the Ishare function pin of the CRPS power supply. The Ishare pin is usually used as the current sharing bus of the CRPS, and the voltage of the Ishare pin is proportional to the output current. The Ishare signal is converted into a voltage signal and transmitted to the power supply multiphase controller, so that the CPU obtains the PSYS information. However, the Ishare is a current sharing bus among multiple CRPS, and its function is to share the current signal among the CRPS to achieve current sharing. However, its accuracy is poor and cannot meet the accuracy requirements of PSYS. In addition, the conversion ratio of the Ishare pin voltage and current is different for different power CRPS. A server needs to support different power CRPS, which requires different parameters to be designed on the board card to match different CRPS, which brings great difficulty to design and test, and further reduces the accuracy of power consumption monitoring.
[0070] The second method is to use the current monitoring function pin of the CRPS, the pin voltage is proportional to the output current, connect this pin to the multi-phase controller of the power supply, and the CPU can obtain the PSYS information. However, only the CRPS meeting the new specification has the current monitoring function pin, and the currently common CRPS power supply cannot be designed compatibly, and the applicability is poor.
[0071] Based on the above problems, the embodiments of the present application provide a server system voltage test circuit, a test method and a medium. The test circuit includes M first voltage acquisition circuits, N second voltage acquisition circuits, a system voltage acquisition circuit and a control unit. Each first voltage acquisition circuit is electrically connected with a server power supply, a power input end of a first power consuming component and a first input end of the control unit, respectively, for acquiring a branch current between the server power supply and the power input end of the first power consuming component, and outputting a first voltage of the power input end of the first power consuming component based on the branch current. Each second voltage acquisition circuit is electrically connected with the server power supply, a power input end of a second power consuming component and a first input end of the control unit, respectively, for acquiring a second voltage of the power input end of the second power consuming component. The first power consuming component is a power consuming component with electronic fuse protection, and the second power consuming component is a power consuming component without electronic fuse protection. The system voltage acquisition circuit is electrically connected with the server power supply and a second input end of the control unit, respectively, for acquiring a system voltage of the server. Further, the control unit determines the system power consumption of the server according to the input first voltage, second voltage and system voltage. Specifically, the system current corresponding to the first voltage and the second voltage can be determined through the relationship between voltage and current, and then the system power consumption of the server is determined through the system current and the system voltage. Through the above method, the voltage acquisition circuit is designed for the first power consuming component and the second power consuming component to acquire the voltage, and then the system current is determined based on the corresponding relationship between voltage and current. The test circuit uses the existing circuit elements on the board card, has less changes to the board card, and has high test precision.
[0072] The server system voltage test circuit proposed in the embodiments of the present application will be described in detail below. The test circuit includes M first voltage acquisition circuits, N second voltage acquisition circuits, a system voltage acquisition circuit and a control unit. Referring to Figure 1 , Figure 1 A schematic diagram of a server system voltage test circuit provided by the embodiments of the present application is shown. Taking M equal to 3 and N equal to 2 as an example, the test circuit includes a first voltage acquisition circuit 110, a first voltage acquisition circuit 120, a first voltage acquisition circuit 130, a second voltage acquisition circuit 210, a second voltage acquisition circuit 220, a system voltage acquisition circuit 300 and a control unit 400.
[0073] In some embodiments, for each first voltage acquisition circuit, the first voltage acquisition circuit is electrically connected with the server power supply, the power input end of the first power-consuming component, and the first input end of the control unit respectively. The first voltage acquisition circuit is configured to acquire a branch current between the server power supply and the power input end of the first power-consuming component, and output a first voltage of the power input end of the first power-consuming component based on the branch current.
[0074] For example, the first voltage acquisition circuit 110 is electrically connected with the server power supply 500, the power input end of the first power-consuming component 11, and the first input end of the control unit 400 respectively. The first voltage acquisition circuit 110 is configured to acquire a branch current through the first power-consuming component 11, and output a first voltage of the power input end of the first power-consuming component 11 based on the branch current. The first voltage acquisition circuit 120 is electrically connected with the server power supply 500, the power input end of the first power-consuming component 12, and the first input end of the control unit 400 respectively. The first voltage acquisition circuit 120 is configured to acquire a branch current between the server power supply 500 and the power input end of the first power-consuming component 12, and output a first voltage of the power input end of the first power-consuming component 12 based on the branch current. The first voltage acquisition circuit 130 is electrically connected with the server power supply 500, the power input end of the first power-consuming component 13, and the first input end of the control unit 400 respectively. The first voltage acquisition circuit 130 is configured to acquire a branch current between the server power supply 500 and the power input end of the first power-consuming component 13, and output a first voltage of the power input end of the first power-consuming component 13 based on the branch current.
[0075] In some embodiments, for each second voltage acquisition circuit, the second voltage acquisition circuit is electrically connected with the server power supply, the power input end of the second power-consuming component, and the first input end of the control unit respectively. The second voltage acquisition circuit is configured to acquire a second voltage of the power input end of the second power-consuming component.
[0076] For example, the second voltage acquisition circuit 210 is electrically connected with the server power supply 500, the power input end of the second power-consuming component 21, and the first input end of the control unit 400 respectively. The second voltage acquisition circuit 210 is configured to acquire a second voltage of the power input end of the second power-consuming component 21. The second voltage acquisition circuit 220 is electrically connected with the server power supply 500, the power input end of the second power-consuming component 22, and the first input end of the control unit 400 respectively. The second voltage acquisition circuit 220 is configured to acquire a second voltage of the power input end of the second power-consuming component 22.
[0077] The system voltage acquisition circuit 300 is electrically connected with the server power supply 500 and the second input end of the control unit 400 respectively, and is configured to acquire a system voltage of the server.
[0078] The control unit 400 is configured to determine the system power consumption of the server according to the input first voltage, second voltage and system voltage.
[0079] In some embodiments, the first voltage acquisition circuit includes a first resistor and at least one electronic fuse. For each electronic fuse, an input end of the electronic fuse is electrically connected to the server power supply, and an output end of the electronic fuse is electrically connected to a first end of the first resistor; a second end of the first resistor is electrically connected to a power input end of the first power-consuming component and a first input end of the control unit.
[0080] As an example, the first voltage acquisition circuit 110 includes a first resistor R111, an electronic fuse 112 and an electronic fuse 113. The electronic fuse 112 and the electronic fuse 113 are connected in parallel, and the ground resistance and the current monitoring pin current scaling ratio of the electronic fuse 112 and the electronic fuse 113 are the same. An input end of the electronic fuse 112 is electrically connected to the server power supply 500, and an output end of the electronic fuse 112 is electrically connected to a first end of the first resistor R111. An input end of the electronic fuse 113 is electrically connected to the server power supply 500, and an output end of the electronic fuse 113 is electrically connected to the first end of the first resistor R111. The first end of the first resistor R111 is electrically connected to a power input end of the first power-consuming component 11, and the second end of the first resistor R111 is electrically connected to a first input end of the control unit 400.
[0081] Similarly, the number of electronic fuses in the first voltage acquisition circuit 120 and the first voltage acquisition circuit 130 can be the same as or different from the number of electronic fuses in the first voltage acquisition circuit 110. Taking the first voltage acquisition circuit 120 including a first resistor R121, an electronic fuse 122 and an electronic fuse 123 as an example. The electronic fuse 122 and the electronic fuse 123 are connected in parallel. An input end of the electronic fuse 122 is electrically connected to the server power supply 500, and an output end of the electronic fuse 122 is electrically connected to a first end of the first resistor R121. An input end of the electronic fuse 123 is electrically connected to the server power supply 500, and an output end of the electronic fuse 123 is electrically connected to the first end of the first resistor R121. The first end of the first resistor R121 is electrically connected to a power input end of the first power-consuming component 12, and the second end of the first resistor R121 is electrically connected to a first input end of the control unit 400.
[0082] Taking the first voltage acquisition circuit 130 including a first resistor R131 and an electronic fuse 132 as an example. An input end of the electronic fuse 132 is electrically connected to the server power supply 500, and an output end of the electronic fuse 132 is electrically connected to a first end of the first resistor R131. The first end of the first resistor R131 and a power input end of the first power-consuming component 13 are electrically connected, and the second end of the first resistor R131 is electrically connected to a first input end of the control unit 400.
[0083] In some embodiments, the second voltage acquisition circuit comprises a second resistor, a voltage amplifier and a third resistor. A first end of the second resistor is electrically connected with the server power supply, and a second end of the second resistor is electrically connected with an input end of the voltage amplifier; the input end of the voltage amplifier is electrically connected with a power input end of the second power-consuming component, and an output end of the voltage amplifier is electrically connected with a first end of the third resistor; a second end of the third resistor is electrically connected with the first input end of the control unit.
[0084] As an example, the second voltage acquisition circuit 210 comprises a second resistor R211, a voltage amplifier 212 and a third resistor R213. A first end of the second resistor R211 is electrically connected with the server power supply 500, and a second end of the second resistor R211 is electrically connected with an input end of the voltage amplifier 212; the input end of the voltage amplifier 212 is electrically connected with a power input end of the second power-consuming component 21, and an output end of the voltage amplifier 212 is electrically connected with a first end of the third resistor R213; a second end of the third resistor R213 is electrically connected with the first input end of the control unit 400. The second voltage acquisition circuit 220 comprises a second resistor R221, a voltage amplifier 222 and a third resistor R223. A first end of the second resistor R221 is electrically connected with the server power supply 500, and a second end of the second resistor R221 is electrically connected with an input end of the voltage amplifier 222; the input end of the voltage amplifier 222 is electrically connected with a power input end of the second power-consuming component 22, and an output end of the voltage amplifier 222 is electrically connected with a first end of the third resistor R223; a second end of the third resistor R223 is electrically connected with the first input end of the control unit 400.
[0085] In some embodiments, the system voltage acquisition circuit 300 comprises a fourth resistor R301, a first end of the fourth resistor R301 is electrically connected with the server power supply 500, and a second end of the fourth resistor R301 is electrically connected with the second input end of the control unit 400.
[0086] In some embodiments, the control unit 400 comprises a power multiphase controller 401 and a central processing unit CPU 402, a first input end of the power multiphase controller 401 is electrically connected with the output end of each first voltage acquisition circuit and the output end of each second voltage acquisition circuit, and a second input end of the power multiphase controller 401 is electrically connected with the second end of the fourth resistor. The power multiphase controller 401 transmits data with the central processing unit CPU 402 through the SVID protocol. The power multiphase controller 401 is configured to determine the server system power consumption according to the input first voltage, second voltage and system voltage. Further, the power multiphase controller 401 transmits the server system power consumption to the central processing unit CPU 402 through the SVID protocol.
[0087] In some embodiments, the test circuit further comprises an operational amplification unit. An input terminal of the operational amplification unit is electrically connected to an output terminal of each of the first voltage acquisition circuits and an output terminal of each of the second voltage acquisition circuits, and an output terminal of the operational amplification unit is electrically connected to a first input terminal of the control unit. The operational amplification unit is configured to amplify the first voltage and the second voltage and output the amplified voltage to the first input terminal of the control unit.
[0088] Referring to Figure 2 As shown, an input terminal of the operational amplification unit 600 in the test circuit is electrically connected to an output terminal of the first voltage acquisition circuit 110, an output terminal of the first voltage acquisition circuit 120, an output terminal of the first voltage acquisition circuit 130, an output terminal of the second voltage acquisition circuit 210, and an output terminal of the second voltage acquisition circuit 220, and an output terminal of the operational amplification unit 600 is electrically connected to a first input terminal of the control unit 400.
[0089] In some embodiments, the operational amplification unit 600 comprises a fifth resistor R601, a sixth resistor R602, and an operational amplifier 603. A first input terminal of the operational amplifier 603 is electrically connected to an output terminal of each of the first voltage acquisition circuits and an output terminal of each of the second voltage acquisition circuits. For example, the first input terminal of the operational amplifier 603 is electrically connected to an output terminal of the first voltage acquisition circuit 110, an output terminal of the first voltage acquisition circuit 120, an output terminal of the first voltage acquisition circuit 130, an output terminal of the second voltage acquisition circuit 210, and an output terminal of the second voltage acquisition circuit 220. A second input terminal of the operational amplifier 603 is electrically connected to a first terminal of the fifth resistor R601 and a first terminal of the sixth resistor R602, and an output terminal of the operational amplifier 603 is electrically connected to a second terminal of the sixth resistor R602 and the first input terminal of the control unit 400. A second terminal of the fifth resistor R601 is electrically connected to a power terminal of the operational amplifier 603.
[0090] In some embodiments, a ratio of the first resistor in the first target voltage acquisition circuit to the first resistor in the second target voltage acquisition circuit is equal to a ratio of a number of the electronic fuses in the second target voltage acquisition circuit to a number of the electronic fuses in the first target voltage acquisition circuit. The first target voltage acquisition circuit and the second target voltage acquisition circuit are any two of the M first voltage acquisition circuits.
[0091] As an example, taking the first target voltage acquisition circuit as the first voltage acquisition circuit 110 and the second target voltage acquisition circuit as the first voltage acquisition circuit 130, the ratio of the first resistor R111 in the first voltage acquisition circuit 110 to the first resistor R131 in the first voltage acquisition circuit 130 is equal to the ratio of the number of electronic fuses in the first voltage acquisition circuit 130 to the number of electronic fuses in the first voltage acquisition circuit 110. For example, R11 / R13 = N3 / N1, where R11 represents the resistance value of the first resistor R111, R13 represents the resistance value of the first resistor R131, N3 represents the number of electronic fuses in the first voltage acquisition circuit 130, and N1 represents the number of electronic fuses in the first voltage acquisition circuit 110. Based on the above example, the first voltage acquisition circuit 130 includes one electronic fuse 132, and the first voltage acquisition circuit 110 includes two electronic fuses (electronic fuse 112 and electronic fuse 113), so R11 / R13=1 / 2.
[0092] In some embodiments, the resistance value of the third resistor is calculated by: calculating a first product of the resistance value of the target first resistor, the resistance value of the second resistor, the amplification factor of the voltage amplifier, and the number of target electronic fuses, and calculating a second product of the grounding resistance of the target electronic fuse and the current scaling factor of the target electronic fuse; and taking the ratio of the first product to the second product as the resistance value of the third resistor.
[0093] Among them, the target first resistor and the target electronic fuse are the first resistor and electronic fuse in any one of the M first voltage acquisition circuits.
[0094] Taking the target first resistor and the target electronic fuse as the first resistor and electronic fuse in the first voltage acquisition circuit 110 as an example, R3 = (R11 × R2 × Tamplifier × N1) / (Rground × Tscaling), where R11 represents the resistance value of the first resistor R111 in the first voltage acquisition circuit 110, R2 represents the resistance value of the second resistor, Tamplifier represents the amplification factor of the voltage amplifier, N1 represents the number of electronic fuses in the first voltage acquisition circuit 110, Rground represents the grounding resistance value of the electronic fuse, and Tscaling represents the current scaling ratio of the electronic fuse in the first voltage acquisition circuit 110.
[0095] In some embodiments, the correspondence between the configured voltage and current can be determined in the following manner:
[0096] Determine the first voltage and current correspondence of the first voltage acquisition circuit, and the second voltage and current correspondence of the second voltage acquisition circuit;
[0097] The voltage and current corresponding relationship when the first voltage and current corresponding relationship and the second voltage and current corresponding relationship are equal is taken as the configured voltage and current corresponding relationship.
[0098] Specifically, for the M first voltage acquisition circuits, it is assumed that the first first voltage acquisition circuit includes a Efuse, and the corresponding first resistance is R11; the second first voltage acquisition circuit includes b Efuses, and the corresponding first resistance is R12; and so on; and the voltage and current corresponding relationship in the first voltage acquisition circuit is represented as: X=(R12 / / R13 / / R14... / / Rm) / R11 K / a, wherein R12 / / R13 / / R14... / / Rm is used to represent the parallel value of the first resistances in the other first voltage acquisition circuits except the first first voltage acquisition circuit; and K is the current monitoring pin current scaling ratio of the Efuse chip, and is generally 10uA / A.
[0099] For the N second voltage acquisition circuits, it is assumed that the second resistance in the first second voltage acquisition circuit is represented as Rd, and the corresponding resistance is RD; the second resistance in the second second voltage acquisition circuit is represented as Re, and the corresponding resistance is RE; and so on; and the voltage and current corresponding relationship in the second voltage acquisition circuit is represented as Y=(RE / / RF...) / RD B, wherein RE / / RF... represents the parallel value of the second resistances in the other second voltage acquisition circuits except the first second voltage acquisition circuit, and B is the amplification multiple of the voltage amplifier in the first second voltage acquisition circuit.
[0100] When X=Y, that is, the voltage and current corresponding relationship of the M first voltage acquisition circuits and the N second voltage acquisition circuits are respectively the same. Further, the configured voltage and current corresponding relationship in the multi-phase power supply controller can be represented as: Z=X C, C is the amplification multiple of the operational amplifier.
[0101] Embodiments of the application provide a test circuit for server system power consumption, which is low in cost and high in monitoring precision without making great adjustment to the layout of a board card. Figure 3 As shown in the figure, it is a circuit schematic diagram of the test circuit, takes an electronic fuse as the Efuse, takes a precision resistor as the second resistance, and takes a power supply multi-phase controller and a central processing unit as the control unit, and the specific content of the test circuit is described in detail below.
[0102] According to the type of the power consumption components in the server system and the system power supply topology, the power consumption components in the server system are classified, and some of the power consumption components need to be placed with Efuse at the input end, and this part can directly use the existing circuit on the board, without additional Efuse; another part of the power consumption components does not need to be placed with Efuse at the input end, and this part needs to be placed with a precision resistor at the power supply inlet of the power consumption component, and the power consumption is monitored through the precision resistor.
[0103] Specifically, the distributed Efuse protection scheme used on the mainboard, the number of each group of Efuse may be one or more in parallel, and the number is determined according to the load current size. Figure 3 For example, there are three groups of Efuse chips in the system, and the number of Efuse chips used in each group is a, b, and c, respectively. The current monitoring pin current scaling ratio of each Efuse chip is the same, and the current monitoring pin resistance to ground is the same. As an example, the current monitoring pin current scaling ratio of the Efuse chip is 10uA / A, and the current monitoring pin resistance to ground of each chip is set to 2Kohm. After the parallel design of the three groups of Efuse chips, the current monitoring pin voltage and current relationship is respectively: 20 / a mV / A, 20 / b mV / A, and 20 / c mV / A.
[0104] For the power consumption components on the mainboard that do not use Efuse chips, a precision resistor can be placed at the input end of the power supply inlet, the voltage difference across the precision resistor is collected, and the current flowing through the precision resistor is I=voltage difference V / precision resistor resistance Rd. In some scenarios, in order to reduce the loss on the precision resistor, a resistor with small resistance value can be selected, at this time the signal (current scaling ratio) collected on the resistor is very small, and needs to be amplified. The voltage difference on the precision resistor is transmitted to the voltage amplifier PU1. The voltage amplifier is a fixed amplification ratio voltage amplifier, as an example, a 50 times chip can be selected. Therefore, the voltage and current relationship corresponding to the precision resistor is: Rd 50 mV / A;
[0105] At the input end of the board, the voltage signal is collected and connected to the power supply multiphase controller through R_7 to obtain the system voltage signal.
[0106] In some embodiments, the signal output by each group of Efuse and precision resistor has a different voltage and current ratio, so these signals cannot be directly connected together. A resistor with a large resistance value needs to be connected in series on each group of signals. According to the signal size, the resistance value is set in inverse proportion, that is, R_1 / R_2 / R_3 needs to be set as: the inverse proportion of the current monitoring pin voltage and current relationship, and the setting proportion is: R_1 a=R_2 b=R_3 c;PU1 back-end series resistance value R4 value is also set in the opposite proportion, that is: R_1 / (20 / a)=R_4 / (Rd 50); R_1 / R_2 / R_3 / R_4 resistance value is selected, that is, the voltage signal (i.e. the voltage form of the current signal when calculating the power) of each part is matched, each group of signals is connected together, and the voltage signal is accumulated. At this time, the same current is applied to any part, and the output voltage is the same.
[0107] Further, after each group of signals is connected together, the voltage and current signal ratio Gain is very low. The more the Efuse or precision resistance groups, the smaller the Gain. If the Gain is too small, the voltage delivered to the power supply controller will be relatively low. Too low voltage signal will also affect the monitoring accuracy, so the Gain can be amplified. PU2 is an operational amplifier, and the amplification factor is: R_6 / R_5+1. After amplification, the Gain of the signal is output to the power supply multiphase controller, and the power supply controller obtains the system voltage signal information used to represent the system current. Further, the power supply controller determines the system current according to the corresponding relationship between the voltage and the current.
[0108] The power supply controller obtains the system voltage and system current information. The power supply controller and the central controller CPU are connected through the serial voltage identification protocol SVID bus. Through the SVID protocol, the CPU obtains the current system power consumption information and the system CRPS output capability information. The CPU can adjust its own power consumption according to the information, and perform CPU power consumption dynamic adjustment.
[0109] Through the above test circuit, using the existing Efuse scheme on the mainboard, a small amount of precision resistance and circuit elements need to be added to realize the test of the server system power consumption, which has low cost. Secondly, the newly added devices in the test circuit of the application have small package, low requirement for placement position, and small occupation of board area, which will not affect the overall layout and wiring of the board. In addition, the precision of the Efuse chip and the precision resistance is high. In addition to the influence of wiring on the precision, the precision of the power supply controller in converting the analog signal into a digital signal and the precision in reading the system power consumption can meet the precision requirement of the system power consumption test, and the test precision is high.
[0110] Based on the same technical concept, the embodiment of the application provides a test method applied to the test circuit described above, as shown in Figure 4 The test method comprises the following steps:
[0111] S401, for M first voltage acquisition circuits, acquiring a branch current between a server power supply and a power input end of a first power-consuming component acquired by the first voltage acquisition circuit, and outputting a first voltage of the power supply end of the first power-consuming component based on the branch current;
[0112] S402, for N second voltage acquisition circuits, acquiring the second voltage of the power input end of the second power consumer collected by the second acquisition voltage acquisition circuit;
[0113] S403, acquiring a system voltage acquisition circuit electrically connected to the second input end of the server power supply and the control unit respectively, for collecting the system voltage of the server;
[0114] S404, determining the system power consumption of the server according to the first voltage collected by the M first voltage acquisition circuits, the second voltage collected by the N second voltage acquisition circuits, and the system voltage.
[0115] In some embodiments, when determining the system power consumption of the server according to the first voltage collected by the M first voltage acquisition circuits, the second voltage collected by the N second voltage acquisition circuits, and the system voltage, the following method is used: determining the sum of the first voltage collected by the M first voltage acquisition circuits and the sum of the second voltage collected by the N second voltage acquisition circuits; determining the first current corresponding to the sum of the first voltage and the second current corresponding to the sum of the second voltage based on the configured voltage and current correspondence; and determining the system power consumption of the server according to the first current, the second current, and the system voltage.
[0116] In some scenarios, the sum of the first voltage and the sum of the second voltage can be added to obtain the total voltage, and then based on the correspondence between the voltage and the current, the system current corresponding to the total voltage is determined, and then the system power consumption of the server is determined through the system current and the system voltage.
[0117] In some embodiments, the configured voltage and current correspondence is determined as follows:
[0118] determining the first voltage and current correspondence of the first voltage acquisition circuit and the second voltage and current correspondence of the second voltage acquisition circuit;
[0119] the voltage and current correspondence when the first voltage and current correspondence and the second voltage and current correspondence are equal is taken as the configured voltage and current correspondence.
[0120] Specifically, for the M first voltage acquisition circuits, it is assumed that the first first voltage acquisition circuit includes a Efuse, and the corresponding first resistance is R11; the second first voltage acquisition circuit includes b Efuses, and the corresponding first resistance is R12; and so on; then the correspondence between the voltage and the current in the first voltage acquisition circuit is represented as: X=(R12 / / R13 / / R14... / / Rm) / R11 K / a, where R12 / / R13 / / R14... / / Rm is used to represent the parallel value of the first resistor in the other first voltage acquisition circuits besides the first first voltage acquisition circuit; K is the basic voltage-current correspondence of the Efuse chip, which is generally 10uA / A.
[0121] For N second voltage acquisition circuits, assuming the second resistor in the first second voltage acquisition circuit is denoted as Rd, and the corresponding resistance is RD; the second resistor in the second second voltage acquisition circuit is denoted as Re, and the corresponding resistance is RE, and so on; then the relationship between voltage and current in the second voltage acquisition circuit is expressed as Y = (RE / / RF...) / RD B, where RE / / RF... represents the parallel value of the second resistor in the other second voltage acquisition circuits besides the first second voltage acquisition circuit, and B is the amplification factor of the voltage amplifier in the first second voltage acquisition circuit;
[0122] When X=Y, the voltage and current correspondences are identical for the M first voltage acquisition circuits and the N second voltage acquisition circuits. Furthermore, the voltage and current correspondence configured in the multi-phase power controller can be expressed as: Z=X C, where C is the amplification factor of the operational amplifier.
[0123] Based on the same technical concept, this application provides an execution device 500, please refer to... Figure 5 The device 500 can perform any step of the server system power consumption testing method described above; to avoid repetition, it will not be repeated here. The device 500 includes a memory 501 and a processor 502.
[0124] The memory 501 is used to store program instructions;
[0125] The processor 502 is used to call the program instructions stored in the memory and execute the above-mentioned server system power consumption test method according to the obtained program.
[0126] In the embodiments of this application, the processor 502 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, capable of implementing or executing the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules in the processor.
[0127] The memory 501 can be used to store non-volatile software programs, non-volatile computer executable programs and modules as a non-volatile computer readable storage medium. The memory 501 can include at least one type of storage medium, for example, can include flash memory, hard disk, multimedia card, card type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, etc. The memory 501 is any other medium capable of carrying or storing desired program codes in the form of instructions or data structures and capable of being accessed by a computer, but is not limited thereto. The memory 501 in the embodiments of the present application can also be a circuit or any other device capable of realizing a storage function, used to store program instructions and / or data.
[0128] Based on the same technical concept, the embodiments of the present application provide a computer readable storage medium, including computer program instructions, when the computer program instructions run on a computer, make the computer execute the server system power consumption test method as discussed above. Since the above computer readable storage medium solves the problem by the same principle as the server system power consumption test method, the implementation of the above computer readable storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0129] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0130] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks. Figure 1 one or more flow or blocks.
[0131] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flow or blocks. Figure 1 one or more flow or blocks.
[0132] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks. Figure 1 one or more flow or blocks.
[0133] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A server system power consumption test circuit, characterized in that, include: There are M first voltage acquisition circuits. Each first voltage acquisition circuit is electrically connected to the server power supply, the power input terminal of the first power-consuming component, and the first input terminal of the control unit. Each first voltage acquisition circuit is used to acquire the branch current passing through the first power-consuming component and output a first voltage at the power supply terminal of the first power-consuming component based on the branch current. Here, M is a positive integer greater than or equal to 1. Each first voltage acquisition circuit includes a first resistor and at least one electronic fuse. The ratio of the first resistor of the first target voltage acquisition circuit to the first resistor of the second target voltage acquisition circuit is equal to the ratio of the number of electronic fuses in the second target voltage acquisition circuit to the number of electronic fuses in the first target voltage acquisition circuit. The first target voltage acquisition circuit and the second target voltage acquisition circuit are any two of the M first voltage acquisition circuits. There are N second voltage acquisition circuits. Each second voltage acquisition circuit is electrically connected to the server power supply, the power input terminal of the second electrical component, and the first input terminal of the control unit. The second voltage acquisition circuit is used to acquire the second voltage at the power input terminal of the second electrical component. N is a positive integer greater than or equal to 1. Each second voltage acquisition circuit includes a second resistor, a voltage amplifier, and a third resistor. The resistance value of the third resistor is calculated as follows: the resistance value of the target first resistor, the resistance value of the second resistor, the amplification factor of the voltage amplifier, and the number of target electronic fuses are multiplied by a first product; the grounding resistance of the target electronic fuse is multiplied by a second product of the current scaling factor of the target electronic fuse. The ratio of the first product to the second product is taken as the resistance value of the third resistor. The target first resistor and the target electronic fuse are the first resistor and electronic fuse in any one of the M first voltage acquisition circuits. The first electrical component is an electrical component protected by an electronic fuse, and the second electrical component is an electrical component without electronic fuse protection. The system voltage acquisition circuit is electrically connected to the second input terminal of the server power supply and the control unit, respectively, and is used to acquire the system voltage of the server. The control unit is used to determine the system power consumption of the server based on the input first voltage, second voltage, and system voltage.
2. The test circuit as described in claim 1, characterized in that, For each electronic fuse, the input terminal of the electronic fuse is electrically connected to the server power supply, and the output terminal of the electronic fuse is electrically connected to the first terminal of the first resistor; The first end of the first resistor is electrically connected to the power input terminal of the first electrical component, and the second end of the first resistor is electrically connected to the first input terminal of the control unit.
3. The test circuit as described in claim 2, characterized in that, The first end of the second resistor is electrically connected to the server power supply, and the second end of the second resistor is electrically connected to the input terminal of the voltage amplifier. The input terminal of the voltage amplifier is electrically connected to the power input terminal of the second electrical component, and the output terminal of the voltage amplifier is electrically connected to the first terminal of the third resistor. The second end of the third resistor is electrically connected to the first input end of the control unit.
4. The test circuit as described in claim 1, characterized in that, The system voltage acquisition circuit includes a fourth resistor; The first end of the fourth resistor is electrically connected to the server power supply, and the second end of the fourth resistor is electrically connected to the second input terminal of the control unit.
5. The test circuit as described in claim 1, characterized in that, The test circuit also includes an operational amplifier unit; The input terminal of the operational amplifier unit is electrically connected to the output terminal of each first voltage acquisition circuit and the output terminal of each second voltage acquisition circuit, and the output terminal of the operational amplifier unit is electrically connected to the first input terminal of the control unit. The operational amplifier unit is used to amplify the first voltage and the second voltage, and output the amplified voltage to the first input terminal of the control unit.
6. The test circuit as described in claim 5, characterized in that, The operational amplifier unit includes a fifth resistor, a sixth resistor, and an operational amplifier; The first input terminal of the operational amplifier is electrically connected to the output terminal of each first voltage acquisition circuit and the output terminal of each second voltage acquisition circuit; the second input terminal of the operational amplifier is electrically connected to the first terminal of the fifth resistor and the first terminal of the sixth resistor; and the output terminal of the operational amplifier is electrically connected to the second terminal of the sixth resistor and the first input terminal of the control unit. The second end of the fifth resistor is electrically connected to the power supply terminal of the operational amplifier.
7. The test circuit as described in claim 1, characterized in that, When determining the system power consumption of the server based on the input first voltage, second voltage, and system voltage, the control unit is specifically used for: The sum of the first voltages acquired by the M first voltage acquisition circuits and the sum of the second voltages acquired by the N second voltage acquisition circuits are determined. Based on the configured correspondence between voltage and current, determine the first current corresponding to the sum of the first voltages and the second current corresponding to the sum of the second voltages; The system power consumption of the server is determined based on the first current, the second current, and the system voltage.
8. A method for testing the power consumption of a server system, applied to the test circuit described in any one of claims 1-7, characterized in that, The testing method includes: For M first voltage acquisition circuits, the branch current between the server power supply and the power input terminal of the first power-consuming component is acquired by the first voltage acquisition circuit, and the first voltage of the power supply terminal of the first power-consuming component is output based on the branch current. For N second voltage acquisition circuits, obtain the second voltage at the power input terminal of the second electrical component acquired by the second voltage acquisition circuit; A system voltage acquisition circuit is electrically connected to the second input terminal of the server power supply and the control unit, respectively, and is used to acquire the system voltage of the server. The system power consumption of the server is determined based on the first voltage collected by the M first voltage acquisition circuits, the second voltage collected by the N second voltage acquisition circuits, and the system voltage.
9. The method as described in claim 8, characterized in that, The step of determining the system power consumption of the server based on the first voltages acquired by the M first voltage acquisition circuits, the second voltages acquired by the N second voltage acquisition circuits, and the system voltage includes: The sum of the first voltages acquired by the M first voltage acquisition circuits and the sum of the second voltages acquired by the N second voltage acquisition circuits are determined. Based on the configured correspondence between voltage and current, determine the first current corresponding to the sum of the first voltages and the second current corresponding to the sum of the second voltages; The system power consumption of the server is determined based on the first current, the second current, and the system voltage.
10. The method as described in claim 9, characterized in that, The correspondence between the configured voltage and current is determined in the following way: Determine the first voltage and current correspondence of the first voltage acquisition circuit, and the second voltage and current correspondence of the second voltage acquisition circuit; The voltage and current correspondence when the first voltage and current correspondence is equal to the second voltage and current correspondence is used as the configured voltage and current correspondence.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when executed by a computer, implement the method as described in any one of claims 8-10.
Citation Information
Patent Citations
Server power consumption monitoring method, device and system, electronic equipment and storage medium
CN117076261A
Power consumption detection circuit and power supply system
CN118393218A