CN118376952A - Power performance test method and system - Google Patents
Power performance test method and system Download PDFInfo
- Publication number
- CN118376952A CN118376952A CN202410816337.3A CN202410816337A CN118376952A CN 118376952 A CN118376952 A CN 118376952A CN 202410816337 A CN202410816337 A CN 202410816337A CN 118376952 A CN118376952 A CN 118376952A
- Authority
- CN
- China
- Prior art keywords
- sequence
- power
- elements
- value
- contrast ratio
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000011056 performance test Methods 0.000 title claims abstract description 22
- 238000012360 testing method Methods 0.000 claims abstract description 25
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 20
- 238000009826 distribution Methods 0.000 claims abstract description 18
- 230000002776 aggregation Effects 0.000 claims abstract description 14
- 238000004220 aggregation Methods 0.000 claims abstract description 14
- 238000007667 floating Methods 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 13
- 230000006870 function Effects 0.000 claims description 10
- 230000003044 adaptive effect Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005070 sampling Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000306 component Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/40—Testing power supplies
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R21/00—Arrangements for measuring electric power or power factor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Power Engineering (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention relates to the technical field of power performance testing, in particular to a power performance testing method and system, wherein the method comprises the following steps: obtaining each power sequence of the power supply, obtaining a buoyancy variable of each power sequence according to extremum distribution of the power sequence, obtaining adjacent gradient contrast ratio between adjacent elements in the buoyancy variable sequence according to differences of adjacent elements in the buoyancy variable sequence, obtaining a left absolute difference value sequence and aggregation weight of each element, obtaining self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence according to the aggregation weight and distribution of the elements in the left absolute difference value sequence, and calculating the maximum power of the power supply by combining the self-adaptive neighborhood radius and a DBSCAN algorithm to finish the power supply performance test. The invention aims to improve the accuracy and efficiency of the power performance test and save the time of the power performance test.
Description
Technical Field
The invention relates to the technical field of power performance testing, in particular to a power performance testing method and system.
Background
With rapid development and wide application of computer technology, the modern society has an increasing degree of dependence on computer systems, and computers play an irreplaceable role in various fields such as offices, scientific research, education, entertainment, industrial production, urban management and the like. Therefore, ensuring stable and safe operation of the computer system is particularly critical. In computer hardware systems, the power supply serves as a core component for providing energy, and the performance quality of the power supply is directly related to the stability and durability of the whole system. The power test of the power supply is a core measure for guaranteeing the safe operation of the system. Since the components inside the computer require constant and stable voltage and current supply, any fluctuation or deficiency in the power supply may cause problems such as hardware failure, data loss, and even hardware damage. The power requirement of the test computer is conducive to selecting proper power equipment, for example, a high-efficiency energy-saving power supply device is selected, so that the sufficient and stable electric energy supply for the computer can be ensured, the energy consumption can be effectively reduced, and the development trend of current green energy conservation is met.
At present, the test on the performance of a computer power supply is mainly a power test, and the output power, the efficiency and the stability of the power supply under different loads are measured. The maximum output power of the power supply is determined by identifying an abnormal state. The DBSCAN algorithm is used as an algorithm for anomaly detection and can be used for detecting the anomaly power of a power supply, but the error in power supply power detection is easily caused by too small or too large neighborhood radius fixed by the DBSCAN algorithm, so that the test is repeated, the power supply performance test efficiency is influenced, and the test time is wasted.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide a power performance testing method and system, and the adopted technical scheme is as follows:
In a first aspect, an embodiment of the present invention provides a power performance testing method, including the steps of:
Acquiring the minimum power of the power supply for maintaining work; sequentially increasing the minimum power by 1% by taking the minimum power as a starting point to obtain each superposition power; setting the minimum holding time, taking the minimum power and each superposition power as power supply power respectively, and sampling the power supply power in the minimum holding time to form a power sequence; obtaining extreme value deflection degree of each power sequence according to extreme value distribution in the power sequence;
Obtaining the unit extremum degree of each power sequence according to the extremum deviation degree and the fluctuation amplitude of the elements in the power sequence; obtaining the floatability variable of each power sequence according to the unit extremum and the distribution characteristics of elements in the power sequence; taking the floating variable of all the power sequences as a floating variable sequence; obtaining adjacent gradient contrast ratio between adjacent elements in the floating variable sequence according to the difference of the adjacent elements in the floating variable sequence; taking the adjacent gradient contrast ratio between all adjacent elements as an adjacent gradient contrast ratio sequence;
Acquiring a left absolute difference sequence of adjacent gradient contrast ratio sequences; obtaining the aggregation weight of each element in the left absolute difference sequence according to the importance degree of each element in the left absolute difference sequence; obtaining the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence according to the distribution of elements in the aggregation weight and the left absolute difference sequence; and (3) completing the power performance test by combining the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence and a DBSCAN algorithm.
Preferably, the obtaining the extremum deviation degree of each power sequence according to the extremum distribution in the power sequence includes:
Calculating maximum values and minimum values of all power sequences, taking all maximum values as the maximum sequences, taking all minimum values as the minimum sequences, calculating the difference value between the median of the maximum sequences and the median of the minimum sequences, marking the difference value as a first difference value, calculating the difference value between the average value of all elements of the maximum sequences and the average value of all elements of the minimum sequences, marking the difference value as a second difference value, and taking the ratio of the first difference value to the second difference value as the extreme value deflection degree of each power sequence.
Preferably, the unit extremum degree of each power sequence is obtained according to the extremum deviation degree and the fluctuation amplitude of the elements in the power sequence, and the expression is:
,
in the method, in the process of the invention, Representing the unit extremum of the power sequence,Represents the j+1st extremum in the power sequence,Represents the j-th extremum in the power sequence, m represents the number of extremum in the power sequence, n represents the number of elements contained in the power sequence,Representing the extreme bias of the power sequence,The expression "adjustment factor" is used to indicate,An exponential function based on a natural constant is represented.
Preferably, the obtaining the floatability variable of each power sequence according to the unit extremum degree and the distribution characteristics of the elements in the power sequence includes:
And calculating the absolute value of the difference value of the mean value of each element and all elements in each power sequence, and taking the product of the mean value of all the absolute value of the difference value and the unit extremum degree as the floatability variable of each power sequence.
Preferably, the adjacent gradient contrast ratio between adjacent elements in the floating variable sequence is obtained according to the difference between the adjacent elements in the floating variable sequence, and the expression is:
,
in the method, in the process of the invention, Represents the adjacent gradient contrast ratio between the kth element and the (k+1) th element in the sequence of buoyancy variables,A window sequence representing the kth element in the sequence of buoyancy variables,A window sequence representing the k +1 element in the sequence of buoyancy variables,A b-th value in a window sequence representing a k+1th element in the sequence of buoyancy variables,A b-th numerical value in the window sequence representing a k-th element in the sequence of buoyancy variables, L representing the length of the window sequence,Representing a computed sequenceAnd sequenceIs a DTW distance of (c).
Preferably, the acquiring a left absolute difference sequence of adjacent gradient contrast ratio sequences includes:
And calculating the absolute value of the difference between each element in the adjacent gradient contrast ratio sequence and the adjacent next element, wherein the absolute value of the difference is each element in the left absolute difference sequence.
Preferably, the obtaining the aggregate weight of each element in the left absolute difference sequence according to the importance degree of each element in the left absolute difference sequence includes:
And taking the opposite number of each element in the left absolute difference sequence as an index of an exponential function taking a natural constant as a base, and taking the ratio of the calculated result of the exponential function to the sum value of the calculated results of all the exponential functions as the aggregation weight of each element in the left absolute difference sequence.
Preferably, the adaptive neighborhood radius of the adjacent gradient contrast ratio sequence is obtained according to the aggregation weight and the distribution of elements in the left absolute difference sequence, and the expression is:
,
Where D represents the adaptive neighborhood radius of the adjacent gradient contrast ratio sequence, Representing the mode of all elements in the left absolute difference sequence,Representing the mean of all elements in the left absolute difference sequence,Represents the I-th element in the left absolute difference sequence,The aggregation weight of the I-th element in the left absolute difference sequence is represented, and N represents the number of all elements in the left absolute difference sequence.
Preferably, the self-adaptive neighborhood radius and DBSCAN algorithm combined with the adjacent gradient contrast ratio sequence completes the power performance test, comprising:
and taking the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence as the neighborhood radius of the DBSCAN algorithm, utilizing the improved DBSCAN algorithm to cluster all elements in the adjacent gradient contrast ratio sequence, if the number of the cluster clusters is larger than 1, calculating the average value of the superposition power corresponding to all the elements of each cluster, taking the maximum value of the superposition power corresponding to all the elements in the cluster with the minimum average value as the maximum power of a power supply, if the number of the cluster clusters is 1, continuing to increase one superposition power by adopting a calculation method which is the same as the superposition power on the basis of the original superposition power, and repeating the clustering process until the number of the cluster clusters is not 1.
In a second aspect, an embodiment of the present invention further provides a power performance testing system, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program to implement the steps of any one of the methods described above.
The invention has at least the following beneficial effects:
According to the invention, each power sequence of the power supply is obtained, the fluctuation variable of each power sequence is obtained according to the extremum distribution of each power sequence, the fluctuation change of the power supply power is reflected, the working state of the power supply is represented more accurately, the adjacent gradient contrast ratio between adjacent elements in the buoyancy variable sequence is constructed according to the buoyancy variable sequence, the change trend of each element in the buoyancy variable sequence is reflected, the quality of the power supply performance is observed in time, the self-adaptive neighborhood radius is constructed according to the adjacent gradient contrast ratio sequence, the DBSCAN algorithm is combined, the problem that the repeated time waste of the power supply performance test is caused by the occurrence of cluster errors due to the overlarge or the overlarge neighborhood radius is avoided, the precision and the efficiency of the power supply performance test are improved, and the time of the power supply performance test is saved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of steps of a power performance testing method according to an embodiment of the present invention;
FIG. 2 is a flow chart for power performance test index acquisition;
Fig. 3 is a load waveform diagram.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following detailed description refers to specific implementation, structure, characteristics and effects of a power performance testing method and system according to the invention with reference to the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following specifically describes a specific scheme of a power performance testing method and system provided by the invention with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of steps of a power performance testing method according to an embodiment of the invention is shown, the method includes the following steps:
step S001, obtaining the minimum power and each superposition power of the computer power supply.
In this embodiment, the computer power supply is first supplied with power from 0 until the computer can start normal operation, the power supply obtained at this time is taken as the lowest power of the power supply, 1% of the lowest power is sequentially added as each superimposed power with the lowest power as the starting point, for example, the lowest power is 1W, each superimposed power is obtained as 1.01, 1.02, 1.03, etc., the lowest power and all the superimposed powers are taken as the power increasing steps of the power supply, the number of superimposed powers in this embodiment is 50, the practitioner can set himself according to the actual situation, this embodiment is not limited to this, and the minimum holding time is setIn the present embodimentThe practitioner can set the power supply according to the actual situation, the embodiment does not limit the power supply, and the minimum power and each superposition power are respectively used as the power supply power, and the duration isIn the followingSampling the output power of the power supply in a time period, and setting a sampling intervalThe embodiment can set the sampling interval by itself according to the actual situation, and the embodiment is not limited to this, and it should be noted that the embodiment mainly analyzes the power fluctuation situation of the power supply.
Step S002, each power sequence of the power supply is obtained, the floatability variable of each power sequence is obtained according to the extremum distribution of each power sequence, the adjacent gradient contrast ratio between adjacent elements is obtained according to the difference of the adjacent elements in the floatability variable sequence, the left absolute difference value sequence of the adjacent gradient contrast ratio sequence is obtained, and the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence is obtained according to the left absolute difference value sequence.
Specifically, in this embodiment, each power sequence of the power supply is first obtained, a floatability variable of each power sequence is obtained according to extremum distribution of the power sequence, adjacent gradient contrast ratio between adjacent elements in the floatability variable sequence is obtained according to difference of adjacent elements in the floatability variable sequence, a left absolute difference sequence and aggregation weight of each element are obtained, an adaptive neighborhood radius of the adjacent gradient contrast ratio sequence is obtained according to the aggregation weight and distribution of elements in the left absolute difference sequence, maximum power of the power supply is calculated by combining the adaptive neighborhood radius and a DBSCAN algorithm, power performance test is completed, and a specific power performance test index obtaining flow chart is shown in fig. 2. The construction process of the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence specifically comprises the following steps:
when the load of the computer system changes, the output power of the power supply fluctuates. The magnitude of the output power fluctuation of the computer power supply reflects the stability of the power supply. Stable power supply output power is important for proper operation of the computer system, and excessive power fluctuations may cause the computer system to be unstable or even crashed. The load waveform diagram of the constructed power supply is shown in FIG. 3, at each minimum hold time In, sampling the output power of the power supply, and keeping each minimum holding timeAll output powers of the internal samples are arranged in ascending order of time as respective power sequences.
The extremum has important significance for evaluating the stability, transient response capability and potential fault early warning of the power supply, so that the maximum value and the minimum value in each power sequence are calculated for each power sequence, all the maximum values are used as the maximum sequences, all the minimum values are used as the minimum sequences, the calculation method of the extremum is the prior known technology, the detailed description is omitted, the floatability variable of each power sequence is constructed, and the expression is as follows:
,
,
,
in the method, in the process of the invention, Representing the extreme deviation of the power series,Represents the median of the maximum sequence VX of the power series,Represents the median of the very small sequence VN of power series,Representing the average of all elements in the maximum sequence VX of the power series,Representing the average of all elements in the very small sequence VN of the power series, willThe first difference value is noted as a first difference value,Marking as a second difference;
in the method, in the process of the invention, Representing the unit extremum of the power sequence,Represents the j+1st extremum in the power sequence,Represents the j-th extremum in the power sequence, m represents the number of extremum in the power sequence, n represents the number of elements contained in the power sequence,Representing the extreme bias of the power sequence,The expression "adjustment factor" is used to indicate,Representing an exponential function based on natural constants, in this embodimentThe practitioner can set himself according to the actual situation, and the embodiment is not limited to this;
A floating variable representing the power sequence, Representing an ith element in the power sequence; representing the average of all elements in the power sequence.
When the power sequence fluctuates more, the difference between the median of the maximum sequence and the median of the minimum sequenceThe greater the value of (c) will be reflecting the degree of deviation of the extremes in the power sequence. If Eb is closer to 1, the difference between the median of the maximum sequence and the minimum sequence is similar to the difference between the mean, and the extremum is more evenly distributed in the power sequence; when the intensity of the power change is stronger, the difference between the adjacent extreme values is larger, so that the unit extreme value degree of the power sequenceThe larger the value of (c), the larger the fluctuation that the power sequence produces,The larger the value of (c) is, the larger the fluctuation of the power sequence is, and the larger the floatability variable of the power sequence is.
Each power sequence corresponds to one superposition power, and the floating variable of each power sequence is arranged according to the ascending order of the corresponding superposition power to be used as a floating variable sequence Fvs.
When the computer power supply does not reach the maximum output power, the power supply can keep stable output voltage and can stably output in a short time as the load power is increased in the rated range, so that voltage fluctuation caused by abrupt load change is small. The difference in ripple conditions between adjacent two load powers is also relatively small. Therefore, for each element in the floating variable sequence, a local window is constructed, the length of the local window is L, and L is an odd number, specifically taking each element as the center, taking the left sideElement, right side fetchElements which are not available at both ends of the sequence of floating variablesThe positions of the elements are taken backwards or forwards by taking each element of the positions as a starting point or an ending pointThe elements. In the present embodimentThe embodiment can be set by an operator according to the actual situation, and the embodiment does not limit the situation, and takes all elements in the local window of each element as the window sequence of each element, so as to construct the adjacent gradient contrast ratio between adjacent elements in the floating variable sequence, and the expression is as follows:
,
in the method, in the process of the invention, Represents the adjacent gradient contrast ratio between the kth element and the (k+1) th element in the sequence of buoyancy variables,A window sequence representing the kth element in the sequence of buoyancy variables,A window sequence representing the k +1 element in the sequence of buoyancy variables,A b-th value in a window sequence representing a k+1th element in the sequence of buoyancy variables,A b-th numerical value in the window sequence representing a k-th element in the sequence of buoyancy variables, L representing the length of the window sequence,Representing a computed sequenceAnd sequenceIs a DTW distance of (c). The calculation of the DTW distance is known in the prior art, and the detailed description of this embodiment is omitted here.
When the superposition power of the kth element and the (k+1) th element in the floatability variable sequence does not exceed the maximum power of the power supply, the smaller the DTW distance between the kth element and the window sequence of the (k+1) th element is, the difference of the elements in the window sequenceThe smaller the adjacent gradient contrast ratio between the kth element and the k+1th element.
The adjacent gradient contrast ratio between all adjacent elements in the floating variable sequence is used as an adjacent gradient contrast ratio sequence Agcs, and the left absolute difference sequence of the adjacent gradient contrast ratio sequence is calculated by the specific calculation mode,Represents the I-th element in the left absolute difference sequence,Represents the I-th element in the adjacent gradient contrast ratio sequence,Representing the i+1th element in the adjacent gradient contrast ratio sequence, thereby constructing an adaptive neighborhood radius for the adjacent gradient contrast ratio sequence, expressed as:
,
,
in the method, in the process of the invention, Representing the aggregate weight of the I-th element in the left absolute difference sequence,Represents the I-th element in the left absolute difference sequence,An exponential function based on a natural constant is represented, and N represents the number of all elements in the left absolute difference sequence;
D represents the adaptive neighborhood radius of the adjacent gradient contrast ratio sequence, Representing the mode of all elements in the left absolute difference sequence,Representing the mean of all elements in the left absolute difference sequence,Represents the I-th element in the left absolute difference sequence,The aggregation weight of the I-th element in the left absolute difference sequence is represented, and N represents the number of all elements in the left absolute difference sequence.
When the element phase difference in the adjacent gradient contrast ratio sequence Agcs is smaller, the element phase difference in the left absolute difference sequence is smaller, which indicates that the corresponding superposition power is within the maximum power of the power supply, and the method adoptsCalculating aggregate weights, elements in the left absolute difference sequenceThe larger the resulting aggregate weightThe smaller the adaptation neighborhood radius D should be calculated the smaller.
The neighborhood radius of the DBSCAN algorithm is improved through the self-adaptive neighborhood radius D, the adjacent gradient contrast ratio sequence Agcs is used as the output of the improved DBSCAN algorithm, the minimum number MinPts in the embodiment is 2, an implementer can set the minimum number MinPts according to actual conditions, the implementation is not limited to the minimum number MinPts, and the output result is K clustering clusters. The DBSCAN algorithm is a known technology, and the embodiment is not described in detail here.
And step S003, obtaining the maximum power of the power supply according to the clustering result, and completing the power supply performance test.
The output of the DBSCAN algorithm is each cluster, if the number K of the clusters is larger than 1, the average value of the superposition power corresponding to all elements of each cluster is calculated, the maximum value of the superposition power corresponding to all elements in the cluster with the smallest average value is used as the maximum power of the power supply, if the number of the clusters is 1, in a power increase step of the power supply, the superposition power is continuously obtained by increasing 1% of the minimum power on the basis of the original superposition power, the superposition power is added into the power increase step of the power supply, the self-adaptive neighborhood radius D is recalculated, the clustering result is calculated by the DBSCAN algorithm, the clustering process is repeated until the number of the clusters is not 1, the maximum power of the power supply is obtained by the method, and the larger the maximum power is the better the performance of the power supply is represented.
Based on the same inventive concept as the above method, the embodiment of the invention further provides a power performance test system, which comprises a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of any one of the above power performance test methods.
In summary, the embodiment of the invention combines the DBSCAN algorithm by constructing the self-adaptive neighborhood radius, thereby avoiding the problem of repeated time waste of the power performance test caused by cluster errors due to overlarge or undersize neighborhood radius, improving the precision and efficiency of the power performance test and saving the time of the power performance test.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this specification. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
The foregoing description of the preferred embodiments of the present invention is not intended to be limiting, but rather, any modifications, equivalents, improvements, etc. that fall within the principles of the present invention are intended to be included within the scope of the present invention.
Claims (10)
1. A method for testing the performance of a power supply, the method comprising the steps of:
Acquiring the minimum power of the power supply for maintaining work; sequentially increasing the minimum power by 1% by taking the minimum power as a starting point to obtain each superposition power; setting the minimum holding time, taking the minimum power and each superposition power as power supply power respectively, and sampling the power supply power in the minimum holding time to form a power sequence; obtaining extreme value deflection degree of each power sequence according to extreme value distribution in the power sequence;
Obtaining the unit extremum degree of each power sequence according to the extremum deviation degree and the fluctuation amplitude of the elements in the power sequence; obtaining the floatability variable of each power sequence according to the unit extremum and the distribution characteristics of elements in the power sequence; taking the floating variable of all the power sequences as a floating variable sequence; obtaining adjacent gradient contrast ratio between adjacent elements in the floating variable sequence according to the difference of the adjacent elements in the floating variable sequence; taking the adjacent gradient contrast ratio between all adjacent elements as an adjacent gradient contrast ratio sequence;
Acquiring a left absolute difference sequence of adjacent gradient contrast ratio sequences; obtaining the aggregation weight of each element in the left absolute difference sequence according to the importance degree of each element in the left absolute difference sequence; obtaining the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence according to the distribution of elements in the aggregation weight and the left absolute difference sequence; and (3) completing the power performance test by combining the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence and a DBSCAN algorithm.
2. The method for testing the performance of a power supply according to claim 1, wherein the obtaining the extremum bias of each power sequence according to the extremum distribution in the power sequence comprises:
Calculating maximum values and minimum values of all power sequences, taking all maximum values as the maximum sequences, taking all minimum values as the minimum sequences, calculating the difference value between the median of the maximum sequences and the median of the minimum sequences, marking the difference value as a first difference value, calculating the difference value between the average value of all elements of the maximum sequences and the average value of all elements of the minimum sequences, marking the difference value as a second difference value, and taking the ratio of the first difference value to the second difference value as the extreme value deflection degree of each power sequence.
3. The method for testing the performance of a power supply according to claim 1, wherein the unit extremum of each power sequence is obtained according to the extremum deviation and the fluctuation amplitude of the elements in the power sequence, and the expression is:
,
in the method, in the process of the invention, Representing the unit extremum of the power sequence,Represents the j+1st extremum in the power sequence,Represents the j-th extremum in the power sequence, m represents the number of extremum in the power sequence, n represents the number of elements contained in the power sequence,Representing the extreme bias of the power sequence,The expression "adjustment factor" is used to indicate,An exponential function based on a natural constant is represented.
4. The method for testing the power performance according to claim 1, wherein the obtaining the floatability variable of each power sequence according to the unit extremum and the distribution characteristics of the elements in the power sequence comprises:
And calculating the absolute value of the difference value of the mean value of each element and all elements in each power sequence, and taking the product of the mean value of all the absolute value of the difference value and the unit extremum degree as the floatability variable of each power sequence.
5. The method for testing the power performance according to claim 1, wherein the adjacent gradient contrast ratio between adjacent elements in the floating variable sequence is obtained according to the difference between the adjacent elements in the floating variable sequence, and the expression is:
,
in the method, in the process of the invention, Represents the adjacent gradient contrast ratio between the kth element and the (k+1) th element in the sequence of buoyancy variables,A window sequence representing the kth element in the sequence of buoyancy variables,A window sequence representing the k +1 element in the sequence of buoyancy variables,A b-th value in a window sequence representing a k+1th element in the sequence of buoyancy variables,A b-th numerical value in the window sequence representing a k-th element in the sequence of buoyancy variables, L representing the length of the window sequence,Representing a computed sequenceAnd sequenceIs a DTW distance of (c).
6. The method of claim 1, wherein the obtaining a left absolute difference sequence of adjacent gradient contrast ratio sequences comprises:
And calculating the absolute value of the difference between each element in the adjacent gradient contrast ratio sequence and the adjacent next element, wherein the absolute value of the difference is each element in the left absolute difference sequence.
7. The method for testing the power performance according to claim 1, wherein the step of obtaining the aggregate weight of each element in the left absolute difference sequence according to the importance level of each element in the left absolute difference sequence comprises the steps of:
And taking the opposite number of each element in the left absolute difference sequence as an index of an exponential function taking a natural constant as a base, and taking the ratio of the calculated result of the exponential function to the sum value of the calculated results of all the exponential functions as the aggregation weight of each element in the left absolute difference sequence.
8. The method for testing the power performance according to claim 1, wherein the adaptive neighborhood radius of the adjacent gradient contrast ratio sequence is obtained according to the distribution of the elements in the aggregate weight and the left absolute difference sequence, and the expression is:
,
Where D represents the adaptive neighborhood radius of the adjacent gradient contrast ratio sequence, Representing the mode of all elements in the left absolute difference sequence,Representing the mean of all elements in the left absolute difference sequence,Represents the I-th element in the left absolute difference sequence,The aggregation weight of the I-th element in the left absolute difference sequence is represented, and N represents the number of all elements in the left absolute difference sequence.
9. The method of claim 1, wherein the combining the adaptive neighborhood radius and DBSCAN algorithm of the adjacent gradient contrast ratio sequence performs the power performance test, comprising:
and taking the self-adaptive neighborhood radius of the adjacent gradient contrast ratio sequence as the neighborhood radius of the DBSCAN algorithm, utilizing the improved DBSCAN algorithm to cluster all elements in the adjacent gradient contrast ratio sequence, if the number of the cluster clusters is larger than 1, calculating the average value of the superposition power corresponding to all the elements of each cluster, taking the maximum value of the superposition power corresponding to all the elements in the cluster with the minimum average value as the maximum power of a power supply, if the number of the cluster clusters is 1, continuing to increase one superposition power by adopting a calculation method which is the same as the superposition power on the basis of the original superposition power, and repeating the clustering process until the number of the cluster clusters is not 1.
10. A power performance testing system comprising a memory, a processor and a computer program stored in the memory and running on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1-9 when the computer program is executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410816337.3A CN118376952B (en) | 2024-06-24 | 2024-06-24 | Power performance test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410816337.3A CN118376952B (en) | 2024-06-24 | 2024-06-24 | Power performance test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118376952A true CN118376952A (en) | 2024-07-23 |
CN118376952B CN118376952B (en) | 2024-08-23 |
Family
ID=91902448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410816337.3A Active CN118376952B (en) | 2024-06-24 | 2024-06-24 | Power performance test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118376952B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3969734B1 (en) * | 2006-09-15 | 2007-09-05 | 株式会社パワーシステム | Capacitor power supply life estimation evaluation system |
JP2020195269A (en) * | 2019-05-30 | 2020-12-03 | ダイヤモンド電機株式会社 | Detection device, detection method, control program and distributed generation system |
CN115825797A (en) * | 2022-11-18 | 2023-03-21 | 苏州浪潮智能科技有限公司 | Power supply performance test method and related assembly |
CN117193502A (en) * | 2023-11-06 | 2023-12-08 | 惠州市鑫晖源科技有限公司 | E-bidding host power state analysis method based on machine learning |
CN118152967A (en) * | 2024-05-09 | 2024-06-07 | 深圳市安科讯实业有限公司 | Multi-output interface inverter power performance monitoring method and system |
-
2024
- 2024-06-24 CN CN202410816337.3A patent/CN118376952B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3969734B1 (en) * | 2006-09-15 | 2007-09-05 | 株式会社パワーシステム | Capacitor power supply life estimation evaluation system |
JP2020195269A (en) * | 2019-05-30 | 2020-12-03 | ダイヤモンド電機株式会社 | Detection device, detection method, control program and distributed generation system |
CN115825797A (en) * | 2022-11-18 | 2023-03-21 | 苏州浪潮智能科技有限公司 | Power supply performance test method and related assembly |
CN117193502A (en) * | 2023-11-06 | 2023-12-08 | 惠州市鑫晖源科技有限公司 | E-bidding host power state analysis method based on machine learning |
CN118152967A (en) * | 2024-05-09 | 2024-06-07 | 深圳市安科讯实业有限公司 | Multi-output interface inverter power performance monitoring method and system |
Non-Patent Citations (1)
Title |
---|
宋梦琪;陶顺;陈鹏伟;: "基于主动配电网运行特性的电压质量评估", 电力建设, no. 12, 1 December 2016 (2016-12-01) * |
Also Published As
Publication number | Publication date |
---|---|
CN118376952B (en) | 2024-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108155648B (en) | A State Estimation Method Based on Adaptive H-Infinite Extended Kalman Filter | |
CN105893757B (en) | Comprehensive evaluation method for severity of voltage sag | |
CN118070477B (en) | Simulation credibility assessment method for electric propulsion system | |
CN109298351A (en) | A kind of new energy on-vehicle battery remaining life estimation method based on model learning | |
CN113687684B (en) | Photovoltaic MPPT control method, system, medium and equipment introducing improved step size factor | |
CN112580284A (en) | Hybrid capacitor equivalent circuit model and online parameter identification method | |
CN112798961A (en) | A method for predicting the remaining service life of electric vehicle power battery | |
CN107025609A (en) | Electrical Power System Dynamic method for estimating state based on singular value decomposition CDKF | |
CN114897028A (en) | Numerical control machining surface roughness prediction method and device | |
US7363208B2 (en) | Power consumption estimation | |
CN111884195A (en) | Method and system for optimizing droop control margin of direct-current power grid in consideration of probability power flow | |
CN116776464B (en) | A method and system for generating type line pedigree of container ships directly connecting rivers and seas on specific routes | |
CN118376952B (en) | Power performance test method and system | |
CN109239605B (en) | A method for estimating SOC of lithium iron phosphate power battery | |
CN119519133A (en) | Intelligent monitoring method and system for power distribution network based on data center and edge computing | |
CN118966568A (en) | Building energy consumption prediction method and device based on meta-strategy reinforcement learning | |
CN101505109A (en) | Inverter electric power with instant voltage and current dual loop digital control | |
CN112115568A (en) | Improved coupling least square power transmission line parameter identification method based on PMU measurement | |
CN113918870B (en) | Harmonic responsibility estimation method and system for multiple harmonic sources based on linear dynamic clustering | |
CN110310033B (en) | Transient Stability Evaluation Method and System Based on Minkowski Distance of Power Flow Vectors | |
CN118332474B (en) | A method and system for early warning of power grid equipment damage | |
CN116720386B (en) | Method and system for measuring technical efficiency and full-element energy efficiency | |
Gu et al. | Physics-based battery SOC estimation: A joint Data-driven and window-varying adaptive extended Kalman filter approach | |
CN115575751A (en) | Multi-harmonic source responsibility division method and system based on complex correlation coefficient | |
CN118554761A (en) | Dynamic response optimization method, device, computer equipment, storage medium and product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |