A power detection method, device, apparatus and computer readable storage medium
By acquiring and storing various load data from the server, voltage error and PSU conversion efficiency are determined, solving the problem of insufficient server power detection accuracy, achieving more precise power control, eliminating safety hazards, and enhancing product competitiveness.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR BUSINESS MACHINE CO LTD
- Filing Date
- 2022-10-26
- Publication Date
- 2026-07-21
AI Technical Summary
In existing technologies, server power detection lacks accuracy, resulting in large deviations in power consumption limits and potential safety hazards such as rack power outages or circuit damage.
By acquiring the motherboard input power, actual supply voltage, sampling resistor voltage difference, and PSU input and output power under various loads, the voltage error, sampling resistor, and PSU conversion efficiency are determined and stored in the BMC's FLASH, which is used to accurately calculate the PSU input power under the target load.
It improves the accuracy of power detection, controls power deviation within 8W, eliminates safety hazards, and enhances the accuracy of overall power consumption limits and product competitiveness.
Smart Images

Figure CN115599633B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to a power detection method, apparatus, device, and computer-readable storage medium. Background Technology
[0002] In the server or computer industry, power limiting functionality is typically used to control overall system power consumption, ensuring that certain users can achieve the maximum power consumption limit for the server when there are specific requirements. Currently, this is mainly achieved by detecting the overall system power consumption and comparing it with the limit value to ensure that the overall system power consumption is within a reasonable range.
[0003] The motherboard's power supply typically uses a Power Supply Unit (PSU) for voltage conversion. However, the PSU's conversion efficiency is not constant; it varies with output power, and different PSUs may also have different efficiencies. Power sampling calculates current consumption by sampling the voltage drop across a high-precision resistor. This method is susceptible to errors due to variations in individual resistors or their substitutes, compounded by potential bias voltages, Vref (Voltage Reference) voltage, or fixed deviations in individual resistor samples generated by the ADC (Analog-to-Digital Converter), leading to significant power deviations. The uncertainty in PSU conversion efficiency and the presence of factors causing power deviations reduce the accuracy of power calculations, causing the machine to exceed power limits or fail to reach target power consumption. In actual testing, deviations exceeding 35W, and even 50W or more, occurred when the power limit was set for a machine around 700W. Such power limit deviations can lead to rack power outages or circuit damage, posing safety hazards to the customer's production environment. Therefore, a power detection method is needed to address the problems in existing technologies. Summary of the Invention
[0004] The purpose of this application is to provide a power detection method, apparatus, device, and computer-readable storage medium to improve the accuracy of power detection.
[0005] To achieve the above objectives, this application provides a power detection method, comprising:
[0006] Obtain the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads;
[0007] Based on the motherboard input power, actual motherboard power supply voltage, and sampling resistor voltage difference under the various load conditions, determine the voltage error and sampling resistor; based on the PSU input power and PSU output power under the various load conditions, determine the PSU conversion efficiency.
[0008] Obtain the voltage difference across the sampling resistor and the actual motherboard power supply voltage under the target load;
[0009] Based on the determined voltage error, the sampling resistor and the PSU conversion efficiency, and the obtained voltage difference of the sampling resistor and the actual motherboard power supply voltage, the PSU input power under the target load is determined.
[0010] Optionally, after determining the voltage error and sampling resistor based on the motherboard input power, actual motherboard power supply voltage, and sampling resistor voltage difference under the various loads, and determining the PSU conversion efficiency based on the PSU input power and PSU output power under the various loads, the method further includes:
[0011] The determined voltage error, the sampling resistor, and the PSU conversion efficiency are stored in the BMC's FLASH.
[0012] Optionally, obtaining the motherboard input power, actual motherboard supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads includes:
[0013] The system obtains the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads, including by running stress testing software to obtain various loads.
[0014] Optionally, determining the voltage error and sampling resistor based on the motherboard input power under the various loads, the actual motherboard supply voltage, and the voltage difference of the sampling resistor includes:
[0015] The voltage error and sampling resistance are determined by averaging multiple sets of voltage errors and sampling resistances obtained from two sets of data under adjacent loads.
[0016] Optionally, determining the PSU conversion efficiency based on the PSU input power and PSU output power under the various loads includes:
[0017] Based on the motherboard input power and PSU conversion efficiency under each load, a PSU conversion efficiency curve related to the PSU input power is fitted to determine the PSU conversion efficiency.
[0018] To achieve the above objectives, this application also provides a power detection device, comprising:
[0019] The first data acquisition module is used to acquire the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power and PSU output power under various loads;
[0020] The parameter determination module is used to determine the voltage error and sampling resistor based on the motherboard input power, actual motherboard power supply voltage, and sampling resistor voltage difference under the various loads; and to determine the PSU conversion efficiency based on the PSU input power and PSU output power under the various loads.
[0021] The second data acquisition module is used to acquire the sampling resistor voltage difference and the actual motherboard power supply voltage under the target load.
[0022] The power determination module is used to determine the PSU input power under the target load based on the determined voltage error, the conversion efficiency of the sampling resistor and the PSU, and the obtained voltage difference of the sampling resistor and the actual motherboard power supply voltage.
[0023] Optionally, the power detection device further includes:
[0024] The data storage module is used to store the determined voltage error, the sampling resistor, and the PSU conversion efficiency into the BMC's FLASH.
[0025] Optionally, the first data acquisition module is specifically used to acquire the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads, wherein the various loads are obtained by running stress testing software.
[0026] To achieve the above objectives, this application also provides a power detection device, comprising:
[0027] Memory, used to store computer programs;
[0028] A processor for executing the computer program to implement the steps of the power detection method as described above.
[0029] To achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the power detection method as described above.
[0030] This application provides a power detection method, comprising: acquiring motherboard input power, actual motherboard supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads; determining voltage error and sampling resistor based on the motherboard input power, actual motherboard supply voltage, and sampling resistor voltage difference under the various loads; determining PSU conversion efficiency based on the PSU input power and PSU output power under the various loads; acquiring sampling resistor voltage difference and actual motherboard supply voltage under a target load; and determining the PSU input power under the target load based on the determined voltage error, the sampling resistor, the PSU conversion efficiency, and the acquired sampling resistor voltage difference and actual motherboard supply voltage.
[0031] Clearly, this application, by acquiring the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads, determines more accurate sampling resistors, voltage errors, and PSU conversion efficiency. Compared to existing technologies where measured power consumption limits for machines around 700W show deviations exceeding 35W or even 50W, this application achieves measured power deviations within 8W. Without increasing costs, it significantly improves the accuracy of power detection, enhances overall power consumption limiting precision, better meets customer power consumption requirements, improves product competitiveness, and eliminates the safety hazards to racks or server rooms caused by excessive power consumption due to low power control accuracy. This application also provides a power detection device, equipment, and computer-readable storage medium, possessing the aforementioned beneficial effects. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0033] Figure 1 A flowchart of a power detection method provided in an embodiment of this application;
[0034] Figure 2 A schematic flowchart of another power detection method provided in an embodiment of this application;
[0035] Figure 3 This is a structural block diagram of a power detection device provided in an embodiment of this application. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0037] Power consumption is primarily monitored by measuring the voltage flowing through the sensing resistor and then converting it into the current consumed by the entire system. This allows calculation of the board's power consumption based on the current and actual voltage values: Pin = U * I (voltage * current). Since the motherboard's power supply typically uses a PSU for voltage conversion, the actual input power Pin = Ppsuout = Ppsuin * η (output power / conversion efficiency). The PSU itself has power detection capabilities and undergoes power calibration before leaving the factory, allowing it to accurately detect its input and output power, voltage, and current. However, due to its relatively low detection rate and motherboard topology, the CPU (Central Processing Unit) cannot quickly and directly obtain this information; an additional power detection circuit is needed for the CPU to obtain it quickly and accurately. However, the parameters obtained from the PSU can be used to calibrate the detection accuracy. PSU conversion efficiency is not a constant value; it varies with output power. For example, an 800W PSU with a 220V input and a 12V 100W output has a 90% conversion efficiency, while its efficiency is 95% with a 12V 400W output. Furthermore, different PSUs may have different conversion efficiencies. During power sampling, the voltage is sampled via an ADC, and the accuracy of power calculation depends on the accuracy of the ADC and the precision resistor. To prevent voltage drop or power consumption caused by the sampling resistor, the sampling resistor typically has a small resistance value but a large current flow. Therefore, small differences in individual components or substitute materials can lead to significant power deviations. Combined with potential bias voltages, Vref voltages, or fixed deviations in ADC sampling, this can cause the device to exceed power consumption limits or fail to reach the target power consumption. Therefore, this application provides a power detection method that improves the accuracy of power detection by obtaining more accurate sampling resistor values, voltage errors, and PSU conversion efficiency.
[0038] Please refer to Figure 1 , Figure 1 A flowchart of a power detection method provided in this application embodiment, the method may include:
[0039] S101: Obtains motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads.
[0040] This embodiment does not limit the specific methods for obtaining the motherboard input power, actual motherboard supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power. The corresponding parameters can be obtained through appropriate detection devices, which may include: a motherboard input power detection device, an actual motherboard supply voltage detection device, a sampling resistor voltage difference detection device, a PSU input power detection device, and a PSU output power detection device. Furthermore, since the motherboard power supply is generally converted via a PSU, the motherboard input power and actual motherboard supply voltage can be obtained through the PSU; therefore, the motherboard input power detection device and the actual motherboard supply voltage detection device can be PSUs. Since the sampling resistor voltage difference can be obtained through an ADC, the sampling resistor voltage difference detection device can be an ADC. This embodiment does not limit the specific method of load adjustment; for example, multiple loads can be obtained by running stress testing software, or the machine can be directly connected to different loads. To shorten the load adjustment time and improve work efficiency, this embodiment can choose to obtain multiple loads by running stress testing software. This embodiment does not limit the number of loads; the larger the load, the more data sets are collected, and the higher the accuracy of the voltage error, sampling resistor, and PSU conversion efficiency determined based on the collected data sets.
[0041] S102: Determine the voltage error and sampling resistor based on the motherboard input power, actual motherboard power supply voltage, and sampling resistor voltage difference under the various loads; determine the PSU conversion efficiency based on the PSU input power and PSU output power under the various loads.
[0042] It should be noted that the sampling resistor includes the multiplier deviation caused by individual resistor differences and ADC Vref; the voltage error includes constant-level differences caused by ADC fixed bias differences or individual differences; for the PSU, due to its characteristics, the conversion efficiency varies with different Ppsuout values. Considering the power deviation caused by individual resistor differences, bias voltage, Vref voltage, or individual fixed deviations, more accurate sampling resistor, voltage error, and PSU conversion efficiency are needed to ensure the accuracy of power detection. This embodiment does not limit the specific method for determining voltage error and sampling error. Appropriate numerical analysis methods can be selected according to the actual situation. For example, the voltage error and sampling resistance can be determined by averaging multiple sets of voltage errors and sampling resistors obtained from two sets of data under adjacent loads. This embodiment does not limit the specific method for determining PSU conversion efficiency. Appropriate numerical analysis methods can be selected according to the actual situation. For example, the PSU conversion efficiency can be determined by fitting a PSU conversion efficiency curve related to the PSU input power based on the motherboard input power and PSU conversion efficiency under each load. This embodiment does not limit the subsequent operations of determining the voltage error, sampling resistor, and PSU conversion efficiency. For example, it may be to execute steps S103 to S104; or it may be to store the determined voltage error, sampling resistor, and PSU conversion efficiency in the FLASH of the BMC (Baseboard Management Controller). When power detection is required, the voltage error, sampling resistor, and PSU conversion efficiency stored in the FLASH of the BMC are obtained before executing steps S103 to S104.
[0043] S103: Obtain the sampling resistor voltage difference and the actual motherboard power supply voltage under the target load.
[0044] This embodiment does not limit the specific method for obtaining the sampling resistor voltage difference under the target load; the sampling resistor voltage difference under the target load can be obtained through a sampling resistor voltage difference detection device. Furthermore, since the sampling resistor voltage difference can be obtained through an ADC, this sampling resistor voltage difference detection device can be an ADC. This embodiment does not limit the specific method for obtaining the actual motherboard power supply voltage under the target load; the actual motherboard power supply voltage under the target load can be obtained through an actual motherboard power supply voltage detection device. Furthermore, since the actual motherboard power supply voltage can be obtained through a PSU, this actual motherboard power supply voltage detection device can be a PSU.
[0045] S104: Determine the PSU input power under the target load based on the determined voltage error, the conversion efficiency of the sampling resistor and the PSU, and the obtained voltage difference of the sampling resistor and the actual motherboard power supply voltage.
[0046] It should be noted that the motherboard input current is determined based on the voltage error, the sampling resistor Rn, and the actual voltage difference obtained from the sampling resistor; the motherboard input power is determined based on the motherboard input current and the actual motherboard power supply voltage obtained through the PSU; and the PSU input power is determined based on the motherboard input power and the PSU conversion efficiency.
[0047] Based on the above embodiments, this application obtains the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads to determine more accurate sampling resistors, voltage errors, and PSU conversion efficiency. Compared with the prior art, the deviation value of the measured power consumption limit of a machine of about 700W will exceed 35W or even more than 50W. The measured power deviation of this application can reach within 8W. Without increasing costs, it greatly improves the accuracy of power detection, improves the accuracy of the overall power consumption limit, better meets the customer's power consumption requirements, improves product competitiveness, and eliminates the problem of machine over-power consumption caused by low power control accuracy, which may lead to safety hazards in the rack or computer room.
[0048] The power detection process described above is illustrated below with specific examples. Please refer to them. Figure 2 , Figure 2 The following is a flowchart illustrating a power detection method provided in an embodiment of this application.
[0049] 1. Original calculation method for detection power:
[0050] Pin=Iin x Uin=Urn / Rn x Uin
[0051] Where Urn is the voltage difference across the sampling resistor obtained by the ADC, Rn is the resistance value of the sampling resistor, and Uin is the actual power supply voltage of the motherboard.
[0052] Considering individual resistor differences, bias voltage, Vref voltage, or individual fixed deviations, the actual voltage sampled by the sampling resistor is:
[0053] Urn=Rn x Iin+δn
[0054] Rn includes the multiplier deviation caused by individual resistance differences and ADC Vref; δn is the voltage error, which includes constant-level differences caused by ADC fixed bias differences or individual differences.
[0055] The equivalent power consumption of the entire machine is as follows:
[0056] Pin=Iin x Uin=(Urn-δn) / Rn x Uin
[0057] For the actual power value to be controlled by the entire machine, Ppsuin, since the PSU has a conversion efficiency η, the input power of the PSU, and the actual power limit of the entire machine in the software, are:
[0058] Pin = Ppsuout = Ppsuin * η
[0059] Run stress testing software to adjust the load, obtain Pin and Uin through PSU, and obtain Urn through ADC to obtain Pin / Uin / Urn parameters under various loads. k / Uin k / Urn k (k = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10); Ppsuin / Ppsuout parameter Ppsi k / Ppso k (k = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
[0060] 2. Calculate δn and Rn between adjacent sets of data to obtain 9 sets of δn. k (k = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10) and Rn k (k=1,2,3,4,5,6,7,8,9,10), take the average value, i.e. δn and Rn; based on the power value Pin and efficiency value η under each load, fit a power efficiency curve η=η(Pin);
[0061] 3. Store δn, Rn, and the fitted curve η(Pin) value into the BMC's FLASH memory;
[0062] 4. When the CPU powers on, it acquires δn, Rn, and η(Pin). These parameters are used in power detection to obtain accurate power values. Power differences between different motherboards caused by variations in individual boards or individual differences in the ADC and sampling resistors are eliminated through calibration during pre-shipment aging tests or FCT tests.
[0063] The following describes a power detection device, apparatus, and computer-readable storage medium provided in the embodiments of this application. The power detection device, apparatus, and computer-readable storage medium described below can be referred to in correspondence with the power detection method described above.
[0064] Please refer to Figure 3 , Figure 3 This application provides a structural block diagram of a power detection device, which may include:
[0065] The first data acquisition module 100 is used to acquire the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power and PSU output power under various loads;
[0066] The parameter determination module 200 is used to determine the voltage error and sampling resistor based on the motherboard input power, actual motherboard power supply voltage and sampling resistor voltage difference under the various loads; and to determine the PSU conversion efficiency based on the PSU input power and PSU output power under the various loads.
[0067] The second data acquisition module 300 is used to acquire the sampling resistor voltage difference and the actual motherboard power supply voltage under the target load.
[0068] The power module 400 is used to determine the PSU input power under the target load based on the determined voltage error, the sampling resistor and the PSU conversion efficiency, and the obtained voltage difference of the sampling resistor and the actual motherboard power supply voltage.
[0069] Based on the above embodiments, this application obtains the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads to determine more accurate sampling resistors, voltage errors, and PSU conversion efficiency. Compared with the prior art, the deviation value of the measured power consumption limit of a machine of about 700W will exceed 35W or even more than 50W. The measured power deviation of this application can reach within 8W. Without increasing costs, it greatly improves the accuracy of power detection, improves the accuracy of the overall power consumption limit, better meets the customer's power consumption requirements, improves product competitiveness, and eliminates the problem of machine over-power consumption caused by low power control accuracy, which may lead to safety hazards in the rack or computer room.
[0070] Based on the above embodiments, the power detection device may further include:
[0071] The data storage module is used to store the determined voltage error, the sampling resistor, and the PSU conversion efficiency into the BMC's FLASH.
[0072] Based on the above embodiments, the first data acquisition module 100 is specifically used to acquire the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power and PSU output power under various loads, wherein various loads are obtained by running stress testing software.
[0073] Based on the above embodiments, the parameter determination module 200 is specifically used to determine the voltage error and sampling resistance by averaging multiple sets of voltage errors and sampling resistances obtained from two sets of data under adjacent loads.
[0074] Based on the above embodiments, the parameter determination module 200 is specifically used to fit a PSU conversion efficiency curve related to the PSU input power based on the motherboard input power and PSU conversion efficiency under each load, and to determine the PSU conversion efficiency.
[0075] Based on the above embodiments, this application also provides a power detection device, including: a memory and a processor, wherein the memory is used to store a computer program; the processor is used to execute the computer program to implement the steps of the power detection method described in the above embodiments. Of course, the power detection device may also include various necessary network interfaces, power supplies, and other components.
[0076] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power detection method described in the above embodiments. The storage medium may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0077] This document uses specific examples to illustrate the principles and implementation methods of this application, and the various embodiments are progressively related. Each embodiment focuses on the differences from other embodiments, and similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, please refer to the corresponding method section description. The above description of the embodiments is only for the purpose of helping to understand the method and core ideas of this application. For those skilled in the art, several improvements and modifications can be made to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
[0078] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
Claims
1. A power detection method, characterized in that, include: Obtain the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads; Based on the motherboard input power, actual motherboard power supply voltage, and sampling resistor voltage difference under the various load conditions, determine the voltage error and sampling resistor; based on the PSU input power and PSU output power under the various load conditions, determine the PSU conversion efficiency. Obtain the voltage difference across the sampling resistor and the actual motherboard power supply voltage under the target load; Based on the determined voltage error, the sampling resistor and the PSU conversion efficiency, and the obtained voltage difference of the sampling resistor and the actual motherboard power supply voltage, the PSU input power under the target load is determined; The PSU conversion efficiency is determined based on the PSU input power and PSU output power under the various load conditions, including: Based on the motherboard input power and PSU conversion efficiency under each load, a PSU conversion efficiency curve related to the PSU input power is fitted to determine the PSU conversion efficiency.
2. The power detection method according to claim 1, characterized in that, The voltage error and sampling resistor are determined based on the motherboard input power under various loads, the actual motherboard power supply voltage, and the voltage difference of the sampling resistor. After determining the PSU conversion efficiency based on the PSU input power and PSU output power under the various load conditions, the process further includes: The determined voltage error, the sampling resistor, and the PSU conversion efficiency are stored in the BMC's FLASH.
3. The power detection method according to claim 1, characterized in that, The acquisition of motherboard input power, actual motherboard supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads includes: The system obtains the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads, including by running stress testing software to obtain various loads.
4. The power detection method according to any one of claims 1 to 3, characterized in that, Based on the motherboard input power under various load conditions, the actual motherboard supply voltage, and the voltage difference of the sampling resistor, the voltage error and the sampling resistor are determined, including: The voltage error and sampling resistance are determined by averaging multiple sets of voltage errors and sampling resistances obtained from two sets of data under adjacent loads.
5. A power detection device, characterized in that, include: The first data acquisition module is used to acquire the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power and PSU output power under various loads; The parameter determination module is used to determine the voltage error and sampling resistor based on the motherboard input power, actual motherboard power supply voltage, and sampling resistor voltage difference under the various loads; and to determine the PSU conversion efficiency based on the PSU input power and PSU output power under the various loads. The second data acquisition module is used to acquire the sampling resistor voltage difference and the actual motherboard power supply voltage under the target load. The power determination module is used to determine the PSU input power under the target load based on the determined voltage error, the conversion efficiency of the sampling resistor and the PSU, and the obtained voltage difference of the sampling resistor and the actual motherboard power supply voltage. The parameter determination module is used to fit a PSU conversion efficiency curve related to the PSU input power based on the motherboard input power and PSU conversion efficiency under each load, and to determine the PSU conversion efficiency.
6. The power detection device according to claim 5, characterized in that, Also includes: The data storage module is used to store the determined voltage error, the sampling resistor, and the PSU conversion efficiency into the BMC's FLASH.
7. The power detection device according to claim 5, characterized in that, The first data acquisition module is specifically used to acquire the motherboard input power, actual motherboard power supply voltage, sampling resistor voltage difference, PSU input power, and PSU output power under various loads. Among these, various loads are obtained by running stress testing software.
8. A power detection device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the power detection method as described in any one of claims 1 to 4 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the power detection method as described in any one of claims 1 to 4.