Power supply test method and system

By constructing a power supply response model through load transition mechanism and power supply adaptability clustering algorithm, the problems of power consumption fluctuation reflection and adaptive power supply configuration in power supply testing are solved, and more comprehensive power supply testing results are achieved.

CN120892841APending Publication Date: 2025-11-04ENNOCONN SUZHOU TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511011263.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-22
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

Existing power supply testing methods cannot reflect the power consumption fluctuations of different components in a product under different tasks, cannot build adaptive power supply configurations, lack intelligent analysis and fine classification capabilities, and cannot identify response performance during the power supply process.

Method used

Power supply demand is simulated through load transition mechanism. Power supply response model is constructed using load transition optimization algorithm and power supply adaptability clustering algorithm. Power supply demand simulation and adaptability testing are carried out, including load status acquisition, power supply configuration set construction and cluster center iterative verification.

Benefits of technology

It improves the fit to the actual power supply requirements of components, identifies unstable or inefficient power supply schemes, ensures that the test covers the power supply threshold of all components, and improves the comprehensiveness and reliability of power supply testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120892841A_ABST
    Figure CN120892841A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power supply testing, in particular to a power supply testing system and method. Comprising the following steps: performing power supply demand simulation based on a load transition mechanism: performing deep analysis on a correlation relationship among components of a load by using demand analysis, and performing power supply demand simulation according to a deep analysis result; and constructing a power supply response state set based on the power supply demand simulation result and in combination with the load response characteristics, and carrying out the adaptability test of the power supply behavior through a power supply adaptability clustering algorithm according to the distribution characteristics of the load states under different configurations. According to the method, the instantaneous peak value, the stable power consumption and the load transition characteristics are extracted, the power supply response model is constructed in combination with the load state, and the fitting degree of the real power supply demand of each component is improved; and through a multi-round clustering center iteration verification and adjustment mechanism, it is ensured that the test covers the power supply threshold of all components, and the comprehensiveness and reliability of the power supply test are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power supply testing technology, and more specifically to a power supply testing system and method. Background Technology

[0002] With the rapid development of technology, electronic products are being used more and more widely. Therefore, testing the power supplies of electronic products has become particularly important. However, at present, testing the power supplies of electronic products still faces the following challenges:

[0003] In actual operation, different components in the product (such as the core cluster, L3 cache, and PCIe controller) exhibit significant power consumption fluctuations under different tasks, and traditional testing methods cannot reflect this dynamic transition characteristic.

[0004] Existing methods are unable to construct an adaptive power supply configuration set from the perspective of supply and demand matching, resulting in redundant test configurations or omission of key scenarios;

[0005] It is unable to perform clustering and dynamic feedback on the response performance during power supply testing, and lacks intelligent analysis and fine classification capabilities. Summary of the Invention

[0006] In view of the above-mentioned problems, the present invention is proposed.

[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a power supply testing method, comprising the following steps,

[0008] Power supply demand simulation based on load transition mechanisms utilizes demand analysis to conduct in-depth analysis of the interrelationships between various load components, and then simulates power supply demand based on the results of this in-depth analysis. Specifically:

[0009] Under the dynamic power consumption monitoring architecture, load status is collected, and the instantaneous peak characteristics, steady-state power consumption characteristics, and load transition correlation characteristics of each component are extracted. Based on the correlation strength of the power consumption characteristics of different components, an adaptive simulation of power demand is performed using a load transition optimization algorithm. This also includes...

[0010] Construct the load characteristic matrix corresponding to each component, calculate the average power consumption and fluctuation range of each component, determine the power supply response threshold of each component, and construct the initial power supply configuration set.

[0011] Based on the initial power supply configuration set, calculate the load state set covered by each power supply configuration, determine the second-generation power supply configuration set based on the power supply response judgment results of each component, and perform power supply demand simulation.

[0012] Furthermore, based on the simulation results of power demand and combined with the load response characteristics, a power supply response state set is constructed, and according to the distribution characteristics of load states under different configurations, the adaptability test of power supply behavior is carried out through a power supply adaptability clustering algorithm.

[0013] In a preferred embodiment of the power supply testing method of the present invention, the load status acquisition is specifically as follows:

[0014] The load status monitoring period is set to T, the sampling time interval is Δt, and the number of sampling points is N = T / Δt, where N represents the total number of sampling points;

[0015] Based on the set sampling points and monitoring period, power consumption is collected from each component inside the power supply, and the collected power consumption is constructed into a power consumption sequence. Then, we have...

[0016] P k ={p k (t1),p k (t2),...,p k (t N )}

[0017] Where, p k (t1) represents the power consumption monitored by the k-th component at the first sampling point, p k (t N P represents the power consumption monitored by the k-th component at the N-th sampling point, where k represents the component serial number index within the power supply, N represents the total number of sampling points, and P k This represents the power consumption of the k-th component during the monitoring period.

[0018] As a preferred embodiment of the power supply testing method of the present invention, the adaptive simulation of power supply demand using the load transition optimization algorithm is as follows:

[0019] A load feature matrix is ​​constructed based on the extracted instantaneous peak features, stable power consumption features, and load transition correlation features;

[0020] Based on the constructed load characteristic matrix, the average power consumption and fluctuation range of each component are calculated;

[0021] Based on the calculated average power consumption and fluctuation range, the power supply response threshold is determined by a correction coefficient, and an initial power supply configuration set is constructed.

[0022] Based on the initial power supply configuration set, collect actual load behavior data and construct a corresponding state set;

[0023] Based on the load states in the load state set, a new power supply configuration set is determined by a judgment function;

[0024] The second-generation power supply configuration set is determined based on the power supply response judgment results of each component in the load state set;

[0025] Based on the determined set of second-generation power supply configurations, power demand simulation is performed.

[0026] In a preferred embodiment of the power supply testing method of the present invention, the construction of the initial power supply configuration set is specifically as follows:

[0027] Based on the calculated average power consumption and fluctuation range, the power supply response threshold is determined using a correction coefficient. Therefore,

[0028] θ k =α·μ k +β·δ k

[0029] Where α and β represent correction coefficients, μ k δ represents the average power consumption corresponding to the k-th component. k θ represents the fluctuation amplitude corresponding to the k-th component. k This represents the power supply response threshold corresponding to the k-th component, used to construct the initial power supply configuration set, specifically:

[0030] Based on the calculated power supply response threshold for each component, an initial power supply configuration set is constructed in ascending order of the power supply response threshold.

[0031] In a preferred embodiment of the power supply testing method of the present invention, the load states in the load state set are specifically determined as follows:

[0032] Based on the power supply response threshold corresponding to each component, and by checking the component power consumption corresponding to the load state, it is determined whether the load states in the load state set meet the power supply response requirements of each component. Therefore,

[0033] If the power consumption of the component corresponding to each load state in the load state set exceeds the power supply response threshold of the component, it means that the load state in the current load state set meets the power supply response of the component.

[0034] If the power consumption of the component corresponding to each load state in the load state set is lower than the power supply response threshold of the component, it means that the load state in the current load state set cannot meet the power supply response of the component.

[0035] In a preferred embodiment of the power supply testing method described in this invention, the determination of the second-generation power supply configuration set is specifically as follows:

[0036] By filtering out all load states that can meet the power supply response requirements of each component from the load state set, and then recombining the filtered load states to construct a power supply configuration state set for each component, we have:

[0037]

[0038] Where S represents the constructed load state set, f represents the power supply response judgment function, and θ k S represents the power supply response threshold corresponding to the k-th component. j This represents the load states selected from the set of load states that can satisfy the power supply response of the component. This represents the set of power supply configuration states for each component, which is formed by recombining the load states that can meet the power supply response of the component after being selected from the load state set. This constitutes a defined second-generation power supply configuration set.

[0039] In a preferred embodiment of the power supply testing method described in this invention, the power supply demand simulation is as follows:

[0040] For any k-th component, calculate the difference between all load states in the second-generation power supply configuration set and the power supply response threshold of the k-th component, select the load state corresponding to the minimum difference as the optimal power supply state of the k-th component, remove the selected optimal power supply state from the second-generation power supply configuration set, and simultaneously complete the power supply demand simulation matching between the removed optimal power supply state and the k-th component.

[0041] Based on the matching mechanism between the k-th component and its optimal power supply state, the power supply demand simulation matching of other components is realized in turn until all components have completed the power supply demand simulation matching. The load state matched by all components is the power supply demand simulation result.

[0042] In a preferred embodiment of the power supply testing method of the present invention, the power supply behavior adaptability test using a power supply adaptability clustering algorithm is specifically as follows:

[0043] Based on the power demand simulation results, the power demand simulation matching results of each component are used as a power supply configuration, and a response feature matrix is ​​constructed.

[0044] The mean and standard deviation of the indicators under different power supply configurations are calculated based on the constructed response feature matrix, and the initial cluster center set is determined based on the calculation results.

[0045] For each cluster center in the initial clustering and the set adaptive clustering radius, the coverage of the cluster centers is verified. Based on the verification results, the cluster centers are iterated to determine the second-generation cluster center set.

[0046] Power supply testing was conducted based on the second-generation cluster center set.

[0047] In a preferred embodiment of the power supply testing method of the present invention, the step of iterating the cluster centers based on the verification results is as follows:

[0048] Based on the cluster center and the adapted cluster radius, verify the power supply configuration under the current cluster center and the adapted cluster radius, and the power supply requirements of all components. If the power supply configuration under the current cluster center and the adapted cluster radius cannot meet the power supply requirements of some components, then adjust the position of the cluster center until the power supply configuration under the adapted cluster radius of the adjusted cluster center can meet the power supply requirements of all components. Then, construct a second-generation cluster center set from all the adjusted cluster centers.

[0049] As a preferred embodiment of the power supply testing system of the present invention, it includes: a power supply demand simulation module and a power supply testing module; the power supply demand simulation module is used to simulate the power supply demand of each component in the power supply; the power supply testing module performs power supply testing based on the power supply demand simulation results.

[0050] The beneficial effects of this invention are:

[0051] This invention improves the fit to the actual power supply requirements of each component by extracting instantaneous peak values, stable power consumption, and load transition characteristics, and combining them with load conditions to construct a power supply response model.

[0052] Power supply adaptability clustering algorithm is used to analyze the response of power supply configuration and effectively identify unstable or inefficient power supply schemes;

[0053] Through a multi-round cluster center iterative verification and adjustment mechanism, the test ensures that the power supply threshold of all components is covered, thereby improving the comprehensiveness and reliability of power supply testing. Attached Figure Description

[0054] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0055] Figure 1 This is a schematic diagram of the overall method steps of a power supply testing method according to the present invention. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0057] Example 1

[0058] Reference Figure 1 The first embodiment of the present invention provides a power supply testing method, comprising the following steps:

[0059] S1: Simulate power supply demand based on demand analysis mechanism.

[0060] Specifically, the power supply demand simulation based on the load transition mechanism utilizes demand analysis to perform in-depth analysis of the correlation between various components of the load, and simulates the power supply demand based on the results of the in-depth analysis. The specific implementation is as follows:

[0061] Under the dynamic power consumption monitoring architecture, load status is collected, and the instantaneous peak characteristics, steady-state power consumption characteristics, and load transition correlation characteristics of each component are extracted. Then, we have...

[0062] The load status monitoring period is set to T, the sampling time interval is Δt, and the number of sampling points is N = T / Δt, where N represents the total number of sampling points;

[0063] Based on the set sampling points and monitoring period, power consumption is collected from each component inside the power supply, and the collected power consumption is constructed into a power consumption sequence. Then, we have...

[0064] P k ={p k (t1),p k (t2),...,p k (t N )}

[0065] Where, p k (t1) represents the power consumption monitored by the k-th component at the first sampling point, p k (t N P represents the power consumption monitored by the k-th component at the N-th sampling point, where k represents the component serial number index within the power supply, N represents the total number of sampling points, and P k This represents the power consumption of the k-th component during the monitoring period.

[0066] Based on the monitored components, relevant features are extracted, specifically as follows:

[0067] Instantaneous peak characteristics are based on monitored power consumption, capturing the power response capability of a component to sudden loads within an instantaneous time window. Therefore,

[0068] For each sampling point in the power consumption monitoring cycle, the difference between the maximum and minimum power consumption values ​​over the entire monitoring cycle is calculated. Then, we have...

[0069] Δp k (t)=p k (t max )-p k (t min )

[0070] Where, p k (t max p represents the maximum power consumption during the power consumption monitoring period. k (t min ) represents the minimum power consumption during the power consumption monitoring period, Δp k (t) represents the range within the calculated power consumption monitoring period;

[0071] Based on the calculated range, the rate of change of power consumption per unit time is calculated, and then we have:

[0072]

[0073] Where, Δp k (t) represents the range within the calculated power consumption monitoring range, Δt represents the set sampling time interval, and Δp R (t) represents the calculated rate of change of power consumption per unit time, which is the instantaneous peak feature F extracted from the current component. k,inst .

[0074] Steady-state power consumption characteristics are extracted based on power consumption under stable operating conditions, specifically:

[0075] Based on the monitored power consumption sequence data, the power consumption of the component under stable operating conditions is selected, then...

[0076] By selecting the middle 50% of the power consumption sequence data within the entire monitoring period, and filtering the power consumption under stable operating conditions based on the maximum power consumption within the monitoring period, we can obtain the following:

[0077] If the selected power consumption sequence data contains data that satisfies the formula This indicates the power consumption at the current time point, which is the power consumption of the component under stable operating conditions. The power consumption is filtered sequentially until the power consumption of all components under stable operating conditions in the selected power consumption sequence is filtered out.

[0078] Based on the power consumption under the selected stable operating conditions, the standard deviation of the power consumption under stable operating conditions is calculated, and the calculated standard deviation is used as the stable power consumption feature F extracted from the current component.k,stable .

[0079] Load transition correlation features are extracted through the power consumption coupling relationship between multiple components, specifically:

[0080] By calculating the power consumption offset corresponding to the component, and combining the calculated power consumption offset with the power consumption change slope of adjacent sampling points, the power consumption offset is multiplied by the power consumption change slope of adjacent sampling points. Finally, the product is used as the load transition correlation feature F extracted for the current component. k,leap .

[0081] Based on the correlation strength of the power consumption characteristics of different components, an adaptive simulation of power supply demand is performed using a load transition optimization algorithm, specifically:

[0082] Based on the extracted instantaneous peak power characteristics, stable power consumption characteristics, and load transition correlation characteristics, a load feature matrix corresponding to each component is constructed. Then, based on the constructed load feature matrix, the average power consumption and fluctuation amplitude of each component are calculated, and the power supply response threshold for each component is determined. Finally, an initial power supply configuration set is constructed.

[0083] A load feature matrix F is constructed based on the extracted instantaneous peak characteristics, stable power consumption characteristics, and load transition correlation characteristics. k =[F k,inst ,F k,stable ,F k,leap ], where F k F represents the load characteristic matrix corresponding to the k-th component. k,inst F represents the instantaneous peak characteristic corresponding to the k-th component. k,stable F represents the stable power consumption characteristic corresponding to the k-th component. k,leap This represents the load transition correlation feature corresponding to the k-th component;

[0084] Based on the constructed load characteristic matrix, the average power consumption and fluctuation range of each component are calculated, and then we have:

[0085] For the k-th component, the mean power consumption is the mean of the stable power consumption eigenvalues ​​in the load characteristic matrix, then we have:

[0086]

[0087] Where N′ represents the total number of sampling points when constructing the stable power consumption characteristics, μ k F represents the average power consumption corresponding to the k-th component. k,stable This represents the stable power consumption characteristic corresponding to the k-th component;

[0088] The fluctuation range is determined based on the combined characteristics of the average power consumption and the instantaneous peak value, thus, we have,

[0089] δ k =F k,inst -μ k

[0090] Where, μ k F represents the average power consumption of the k-th component. k,inst δ represents the instantaneous peak characteristic corresponding to the k-th component. k This represents the fluctuation amplitude corresponding to the k-th component.

[0091] Based on the calculated average power consumption and fluctuation range, the power supply response threshold is determined using a correction coefficient. Therefore,

[0092] θ k =α·μ k +β·δ k

[0093] Where α and β represent correction coefficients, which are set by the implementers according to the actual application scenario, μ k δ represents the average power consumption corresponding to the k-th component. k θ represents the fluctuation amplitude corresponding to the k-th component. k This represents the power supply response threshold corresponding to the k-th component, used to construct the initial power supply configuration set, specifically:

[0094] Based on the calculated power supply response threshold for each component, an initial power supply configuration set is constructed in ascending order of the power supply response threshold.

[0095] For the initial power supply configuration set, calculate the load state set covered by each power supply configuration, update the power supply configuration parameters, and then determine the new power supply configuration set, which is the second-generation power supply configuration set, specifically:

[0096] Based on the constructed initial power supply configuration set, actual load behavior data is collected and constructed into a corresponding state set, then we have,

[0097] S = {S1,S2,...,S} M}

[0098] Where S1 represents the first load state, S M Let S represent the Mth load state, where each load state represents the power consumption of each component under that load state. Let S represent the set of load states constructed, and M represent the total number of load states in the set of load states.

[0099] Based on the load states in the load state set, a new power supply configuration set is determined using a decision function, specifically:

[0100] Based on the power supply response threshold corresponding to each component, and by checking the component power consumption corresponding to the load state, it is determined whether the load states in the load state set meet the power supply response requirements of each component. Therefore,

[0101] If the power consumption of the component corresponding to each load state in the load state set exceeds the power supply response threshold of the component, it means that the load state in the current load state set meets the power supply response of the component.

[0102] If the power consumption of the component corresponding to each load state in the load state set is lower than the power supply response threshold of the component, it means that the load state in the current load state set cannot meet the power supply response of the component.

[0103] Based on the power supply response judgment results of each component in the load state set, the second-generation power supply configuration set is determined, then we have:

[0104] By filtering out all load states that can meet the power supply response requirements of each component from the load state set, and then recombining the filtered load states to construct a power supply configuration state set for each component, we have:

[0105]

[0106] Where S represents the constructed load state set, f represents the power supply response judgment function, and a value of 1 indicates that the load states in the current load state set meet the power supply response of the component, θ k S represents the power supply response threshold corresponding to the k-th component. j This represents the load states selected from the set of load states that can satisfy the power supply response of the component. This represents the set of power supply configuration states for each component, which is formed by recombining the load states that can meet the power supply response of the component after being selected from the load state set. This constitutes a defined second-generation power supply configuration set.

[0107] Furthermore, based on the determined set of second-generation power supply configurations, power demand simulation is performed, as follows:

[0108] For any k-th component, calculate the difference between all load states in the second-generation power supply configuration set and the power supply response threshold of the k-th component, select the load state corresponding to the minimum difference as the optimal power supply state of the k-th component, remove the selected optimal power supply state from the second-generation power supply configuration set, and simultaneously complete the power supply demand simulation matching between the removed optimal power supply state and the k-th component.

[0109] Based on the matching mechanism between the k-th component and its optimal power supply state, the power supply demand simulation matching of other components is realized in turn until all components have completed the power supply demand simulation matching. The load state matched by all components is the power supply demand simulation result.

[0110] S2: Power supply testing based on power demand simulation results.

[0111] Specifically, the power supply testing based on power demand simulation results is based on the power demand simulation results, combined with load response characteristics, to construct a power supply response state set. Then, according to the distribution characteristics of load states under different configurations, a power supply adaptability clustering algorithm is used to test the adaptability of power supply behavior. The specific implementation is as follows:

[0112] Based on the power demand simulation results, the power demand simulation matching results for each component are used as a power supply configuration, and a response feature matrix is ​​constructed. Then, we have...

[0113]

[0114] Where, r m,n This represents the nth test indicator data in the mth power supply configuration. The corresponding test indicator data is collected by the implementer and includes load recovery time, voltage stabilization time, and peak response delay time. m represents the number of power supply configurations, n represents the number of test indicators, which are set by the implementer according to the actual application scenario, and R represents the constructed response feature matrix.

[0115] Based on the constructed response feature matrix, the mean and standard deviation of the indicators under different power supply configurations are calculated, and the initial cluster center set is determined according to the calculation results, specifically:

[0116]

[0117] Where, μ n σ represents the mean of the nth indicator. n The standard deviation of the nth indicator is represented by m, where m represents the number of power supply configurations and n represents the number of test indicators.

[0118] Based on the calculation results, the initial set of cluster centers is determined, then we have:

[0119] Set the power supply configuration to fit the clustering radius of each test metric as r′ n And based on the calculation results, the initial set of cluster centers is determined, then we have,

[0120]

[0121] in, This indicates the cluster center of the first test metric. Z represents the cluster center of the nth test metric. (0) This indicates the determination of the initial set of cluster centers for power supply testing. The specific testing process is as follows:

[0122] Power supply testing based on an initial set of cluster centers involves iterating through the cluster centers and performing power supply tests based on the iteration results, as detailed below:

[0123] For each initial cluster center and the set adaptive cluster radius, the coverage of the cluster centers is verified. The process is iterated based on the verification results, specifically as follows:

[0124] Based on the cluster center and the adapted cluster radius, verify the power supply configuration under the current cluster center and the adapted cluster radius, and the power supply requirements of all components. If the power supply configuration under the current cluster center and the adapted cluster radius cannot meet the power supply requirements of some components, then adjust the position of the cluster center until the power supply configuration under the adapted cluster radius of the adjusted cluster center can meet the power supply requirements of all components. Then, construct a second-generation cluster center set from all the adjusted cluster centers.

[0125] It should be noted that in the process of determining the second-generation cluster center set, the power supply requirements of the components are judged by locating the cluster centers and, based on the effect of the adaptive cluster radius, detecting whether the power supply configuration of the located cluster centers under the effect of the adaptive cluster radius can meet the power supply requirement threshold of the components. If the power supply requirement threshold of the components can be met, it means that the power supply requirements of the components can be met; otherwise, it means that the power supply requirements of the components cannot be met.

[0126] It should be noted that the power supply configuration corresponding to the second-generation cluster center set is the standard result of power distribution to each component and the standard configuration for power supply testing. If the power supply configuration deviates from the standard configuration, it means that the power supply test fails; otherwise, it means that the power supply test passes.

[0127] Example 2

[0128] A second embodiment of the present invention provides a power supply testing system, a power supply demand simulation module, and a power supply testing module; the power supply demand simulation module is used to simulate the power supply demand of various components in the power supply; the power supply testing module performs power supply testing based on the power supply demand simulation results.

[0129] Furthermore, the power demand simulation module collects power consumption data of each component in real time, extracts instantaneous peak power consumption, steady-state power consumption and load transition characteristics, and constructs a component behavior matrix for power supply evaluation. It calculates the power supply threshold of each component based on the average power consumption and fluctuation amplitude, constructs an initial and second-generation power supply configuration set based on the power supply response threshold, and finally completes the optimal power supply state matching for each component based on the power supply response function, and outputs the power supply simulation results.

[0130] The power supply testing module constructs a response behavior matrix for each component based on the power supply simulation results. It then performs power supply configuration coverage and adjustment by determining the cluster centers and adapting the cluster radii. Next, it iteratively optimizes the determined cluster centers to complete the determination of the second-generation cluster centers. Finally, it performs power supply testing based on the second-generation cluster centers.

[0131] Furthermore, if the aforementioned function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0133] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0134] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions will not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for testing a power supply, characterized in that: Includes the following steps, Power supply demand simulation based on load transition mechanisms utilizes demand analysis to conduct in-depth analysis of the interrelationships between various load components, and then simulates power supply demand based on the results of this in-depth analysis. Specifically: Under the dynamic power consumption monitoring architecture, load status is collected, and the instantaneous peak characteristics, steady-state power consumption characteristics, and load transition correlation characteristics of each component are extracted. Based on the correlation strength of the power consumption characteristics of different components, an adaptive simulation of power demand is performed using a load transition optimization algorithm. This also includes... Construct the load characteristic matrix corresponding to each component, calculate the average power consumption and fluctuation range of each component, determine the power supply response threshold of each component, and construct the initial power supply configuration set. Based on the initial power supply configuration set, calculate the load state set covered by each power supply configuration, determine the second-generation power supply configuration set based on the power supply response judgment results of each component, and perform power supply demand simulation. Furthermore, based on the simulation results of power demand and combined with the load response characteristics, a power supply response state set is constructed, and according to the distribution characteristics of load states under different configurations, the adaptability test of power supply behavior is carried out through a power supply adaptability clustering algorithm.

2. The power supply testing method according to claim 1, characterized in that, The load status acquisition is specifically as follows: The load status monitoring period is set to T, the sampling time interval is Δt, and the number of sampling points is N = T / Δt, where N represents the total number of sampling points; Based on the set sampling points and monitoring period, power consumption is collected from each component inside the power supply, and the collected power consumption is constructed into a power consumption sequence. Then, we have... P k ={p k (t1),p k (t2),...,p k (t N )} Where, p k (t1) represents the power consumption monitored by the k-th component at the first sampling point, p k (t N P represents the power consumption monitored by the k-th component at the N-th sampling point, where k represents the component serial number index within the power supply, N represents the total number of sampling points, and P k This represents the power consumption of the k-th component during the monitoring period.

3. The power supply testing method according to claim 2, characterized in that, The adaptive simulation of power demand using the load transition optimization algorithm is as follows: A load feature matrix is ​​constructed based on the extracted instantaneous peak features, stable power consumption features, and load transition correlation features; Based on the constructed load characteristic matrix, the average power consumption and fluctuation range of each component are calculated; Based on the calculated average power consumption and fluctuation range, the power supply response threshold is determined by a correction coefficient, and an initial power supply configuration set is constructed. Based on the initial power supply configuration set, collect actual load behavior data and construct a corresponding state set; Based on the load states in the load state set, a new power supply configuration set is determined by a judgment function; The second-generation power supply configuration set is determined based on the power supply response judgment results of each component in the load state set; Based on the determined set of second-generation power supply configurations, power demand simulation is performed.

4. The power supply testing method according to claim 3, characterized in that, The specific steps for constructing the initial power supply configuration set are as follows: Based on the calculated average power consumption and fluctuation range, the power supply response threshold is determined using a correction coefficient. Therefore, i k =a·m k +b·d k Where α and β represent correction coefficients, μ k δ represents the average power consumption corresponding to the k-th component. k θ represents the fluctuation amplitude corresponding to the k-th component. k This represents the power supply response threshold corresponding to the k-th component, used to construct the initial power supply configuration set, specifically: Based on the calculated power supply response threshold for each component, an initial power supply configuration set is constructed in ascending order of the power supply response threshold.

5. The power supply testing method according to claim 4, characterized in that, The specific determination of the load status in the load status set is as follows: Based on the power supply response threshold corresponding to each component, and by checking the component power consumption corresponding to the load state, it is determined whether the load states in the load state set meet the power supply response requirements of each component. Therefore, If the power consumption of the component corresponding to each load state in the load state set exceeds the power supply response threshold of the component, it means that the load state in the current load state set meets the power supply response of the component. If the power consumption of the component corresponding to each load state in the load state set is lower than the power supply response threshold of the component, it means that the load state in the current load state set cannot meet the power supply response of the component.

6. The power supply testing method according to claim 5, characterized in that, The specific details for determining the second-generation power supply configuration set are as follows: By filtering out all load states that can meet the power supply response requirements of each component from the load state set, and then recombining the filtered load states to construct a power supply configuration state set for each component, we have: Where S represents the constructed load state set, f represents the power supply response judgment function, and θ k S represents the power supply response threshold corresponding to the k-th component. j This represents the load states selected from the set of load states that can satisfy the power supply response of the component. This represents the set of power supply configuration states for each component, which is formed by recombining the load states that can meet the power supply response of the component after being selected from the load state set. This constitutes a defined second-generation power supply configuration set.

7. The power supply testing method according to claim 6, characterized in that, The power demand simulation is as follows: For any k-th component, calculate the difference between all load states in the second-generation power supply configuration set and the power supply response threshold of the k-th component, select the load state corresponding to the minimum difference as the optimal power supply state of the k-th component, remove the selected optimal power supply state from the second-generation power supply configuration set, and simultaneously complete the power supply demand simulation matching between the removed optimal power supply state and the k-th component. Based on the matching mechanism between the k-th component and its optimal power supply state, the power supply demand simulation matching of other components is realized in turn until all components have completed the power supply demand simulation matching. The load state matched by all components is the power supply demand simulation result.

8. The power supply testing method according to claim 7, characterized in that, The power supply behavior adaptability test using the power supply adaptability clustering algorithm is as follows: Based on the power demand simulation results, the power demand simulation matching results of each component are used as a power supply configuration, and a response feature matrix is ​​constructed. The mean and standard deviation of the indicators under different power supply configurations are calculated based on the constructed response feature matrix, and the initial cluster center set is determined based on the calculation results. For each cluster center in the initial clustering and the set adaptive clustering radius, the coverage of the cluster centers is verified. Based on the verification results, the cluster centers are iterated to determine the second-generation cluster center set. Power supply testing was conducted based on the second-generation cluster center set.

9. A power supply testing method according to claim 8, characterized in that, The specific steps for iterating the cluster centers based on the verification results are as follows: Based on the cluster center and the adapted cluster radius, verify the power supply configuration under the current cluster center and the adapted cluster radius, and the power supply requirements of all components. If the power supply configuration under the current cluster center and the adapted cluster radius cannot meet the power supply requirements of some components, then adjust the position of the cluster center until the power supply configuration under the adapted cluster radius of the adjusted cluster center can meet the power supply requirements of all components. Then, construct a second-generation cluster center set from all the adjusted cluster centers.

10. A power supply testing system, applied to the power supply testing method according to claims 1-9, characterized in that, This includes a power demand simulation module and a power supply testing module; The power demand simulation module is used to simulate the power demand of each component in the power supply. The power supply testing module performs power supply tests based on the simulated power supply demand results.

Citation Information

Cited By

  • Portable green building data acquisition and diagnosis device

    CN121878361A

  • A portable green building data acquisition diagnosis device

    CN121878361B