CN117648554A - Intelligent data acquisition method for photovoltaic multifunctional circuit breaker - Google Patents
Intelligent data acquisition method for photovoltaic multifunctional circuit breaker Download PDFInfo
- Publication number
- CN117648554A CN117648554A CN202410114972.7A CN202410114972A CN117648554A CN 117648554 A CN117648554 A CN 117648554A CN 202410114972 A CN202410114972 A CN 202410114972A CN 117648554 A CN117648554 A CN 117648554A
- Authority
- CN
- China
- Prior art keywords
- current
- data
- value
- moment
- acquiring
- 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 28
- 238000005070 sampling Methods 0.000 claims abstract description 36
- 238000007499 fusion processing Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000000556 factor analysis Methods 0.000 claims abstract description 9
- 238000010606 normalization Methods 0.000 claims description 15
- 230000007787 long-term memory Effects 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 7
- 230000006403 short-term memory Effects 0.000 claims description 6
- 238000013480 data collection Methods 0.000 claims description 5
- 230000010485 coping Effects 0.000 abstract description 3
- 230000009471 action Effects 0.000 description 11
- 238000010248 power generation Methods 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005286 illumination Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000005452 bending Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012854 evaluation process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H1/00—Details of emergency protective circuit arrangements
- H02H1/0092—Details of emergency protective circuit arrangements concerning the data processing means, e.g. expert systems, neural networks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/0092—Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring current only
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/10—Pre-processing; Data cleansing
- G06F18/15—Statistical pre-processing, e.g. techniques for normalisation or restoring missing data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
- G06F18/24133—Distances to prototypes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/2433—Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H1/00—Details of emergency protective circuit arrangements
- H02H1/0007—Details of emergency protective circuit arrangements concerning the detecting means
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/08—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current
- H02H3/087—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current for dc applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2123/00—Data types
- G06F2123/02—Data types in the time domain, e.g. time-series data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Probability & Statistics with Applications (AREA)
- Photovoltaic Devices (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of data processing, in particular to an intelligent data acquisition method for a photovoltaic multifunctional breaker, which comprises the steps of acquiring historical current time sequence data and current prediction time sequence data to form a current time sequence; acquiring a data local distance selection factor at the current moment, and acquiring a K distance neighborhood when performing COF outlier factor analysis on a current predicted value at the current moment according to the data local distance selection factor; according to the current data in the K distance neighborhood of the current moment, a weight factor of a current predicted value of the current moment is obtained, fusion processing is carried out on a current sampling value and the current predicted value of the current moment according to the weight factor, a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment is obtained, and the capability of the photovoltaic multifunctional breaker for coping with instantaneous peak current is improved.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to an intelligent data acquisition method for a photovoltaic multifunctional breaker.
Background
In photovoltaic power generation, current fluctuation of a direct current power generation end can directly influence power supply quality of a power grid, and when events such as overhigh current, electric leakage, circuit breaking, power failure of the power grid and the like occur, a circuit breaker needs to act in time to cut off power supply so as to protect the whole power supply module and operators. The multifunctional photovoltaic circuit breaker can be used for setting the action threshold value of the trigger circuit breaker according to the theoretical maximum value of the actual working load in the existing photovoltaic power generation, and can use a modularization technology to add the circuit breaker function according to the actual required scene, so that the problem that the traditional circuit breaker cannot flexibly judge the action threshold value by using single data is solved, and the multifunctional photovoltaic circuit breaker can act on faults including current, voltage and comprehensive load at the same time to protect equipment safety.
In practical application, factors influencing the direct current end of photovoltaic power generation are many, and the working efficiency of the photovoltaic panel of the photovoltaic power generation is influenced by illumination intensity, temperature, shadow shielding and the like. The problem that the voltage of light Fu Bangong is increased due to temperature dip, the current is increased due to suddenly-increased illumination intensity, the current is too high due to equipment short circuit, the current is unstable due to large fine-grained cloud layer floating and the like can be generated at an unavoidable direct current generating end in the photovoltaic grid-connected power generation, the special sensitivity of the photovoltaic multifunctional circuit breaker can well trigger actions to break a circuit to protect equipment, but due to the fact that some accidental instant fluctuation can trigger the photovoltaic multifunctional circuit breaker to work, difficulties are caused to stable operation and maintenance of the equipment, for example: the phenomenon that the current suddenly rises to be above the threshold value and then falls back is generated under the conditions including but not limited to shielding of fine cloud layers, current noise and the like, and the phenomenon also triggers the photovoltaic multifunctional breaker to work.
Therefore, how to improve the judging capability of the photovoltaic multi-functional circuit breaker to the instantaneous peak current so as to reduce the misjudgment of the photovoltaic multi-functional circuit breaker is a problem to be solved.
Disclosure of Invention
In view of the above, the embodiment of the invention provides an intelligent data acquisition method for a photovoltaic multifunctional breaker, so as to solve the problem of how to improve the judging capability of the photovoltaic multifunctional breaker on the instantaneous peak current and reduce the misjudgment of the photovoltaic multifunctional breaker.
The embodiment of the invention provides an intelligent data acquisition method for a photovoltaic multifunctional breaker, which comprises the following steps of:
acquiring historical current time sequence data of a photovoltaic panel direct current output end before the current moment and current prediction time sequence data in a preset future time period including the current moment, and forming a current time sequence by the historical current time sequence data and the current prediction time sequence data;
acquiring a data local distance selection factor of the current moment according to the current data difference at two sides of the current predicted value corresponding to the current moment in the current time sequence, and acquiring a K distance neighborhood when performing COF outlier factor analysis on the current predicted value of the current moment according to the data local distance selection factor;
and acquiring a weight factor of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring a current sampling value at the current moment, and carrying out fusion processing on the current sampling value at the current moment and the current predicted value according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment.
Further, the obtaining the local distance selection factor of the current time according to the current data difference at two sides of the current predicted value corresponding to the current time in the current time sequence includes:
taking a current predicted value corresponding to the current moment in the current time sequence as target data, and forming a first preset number of historical current values before the target data into a local data set of the target data in the current time sequence;
and acquiring the data local distance selection factor at the current moment according to the current data difference at two sides of each historical current value in the local data set of the target data and the distance between the current data and the target data.
Further, the obtaining the local distance selection factor of the current time according to the current data difference at two sides of each historical current value in the local data set of the target data and the distance between the current data and the target data includes:
selecting a second preset number of current data to form a first subsequence on the left side of the historical current value, and selecting a second preset number of current data to form a second subsequence on the right side of the historical current value, wherein the historical current value is taken as a center in the current time sequence, so as to obtain the similarity between the first subsequence and the second subsequence;
acquiring all neighborhood current data in an initial K-distance neighborhood of the historical current value in the current time sequence, respectively calculating the absolute value of a difference value between a current sampling value and a current prediction value of each neighborhood current data to obtain the sum of the absolute value of the difference value, obtaining the product between the sum of the absolute value of the difference value and the similarity degree, carrying out normalization processing on the product to obtain a corresponding normalization value, obtaining the distance between the historical current value and the target data, and obtaining the difference characteristic value of the historical current value according to the distance and the normalization value;
taking the product of the difference characteristic values of all the historical current values in the local set data of the target data as a data local distance selection factor at the current moment.
Further, the obtaining, according to the data local distance selection factor, a K-distance neighborhood when performing COF outlier analysis on the current predicted value at the current moment includes:
and obtaining the product between the initial K distance neighborhood and the data local distance selection factor as the K distance neighborhood when the COF outlier analysis is carried out on the current predicted value at the current moment.
Further, the obtaining the weight factor of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment includes:
and acquiring a COF value of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring an absolute value of a difference between the COF value and a constant 1, and carrying out normalization processing, wherein the obtained normalized value is used as a weight factor of the current predicted value at the current moment.
Further, the fusing processing is performed on the current sampling value and the current prediction value at the current moment according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment, including:
and respectively acquiring weight coefficients of the current sampling value and the current predicted value at the current moment according to the weight factors, and carrying out weighted summation on the current sampling value and the current predicted value at the current moment according to the weight coefficients, wherein an obtained weighted summation result is used as a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment.
Further, the method for acquiring current prediction time sequence data in the preset future time period including the current moment includes:
and acquiring a trained LSTM long-term and short-term memory network model, and respectively acquiring current predicted values of the current moment and each moment after the current moment by utilizing the trained LSTM long-term and short-term memory network model to acquire current predicted time sequence data in a preset future period.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the method comprises the steps of obtaining historical current time sequence data of a photovoltaic panel direct-current output end before the current moment and current prediction time sequence data in a preset future time period including the current moment, and forming a current time sequence by the historical current time sequence data and the current prediction time sequence data; acquiring a data local distance selection factor of the current moment according to the current data difference at two sides of the current predicted value corresponding to the current moment in the current time sequence, and acquiring a K distance neighborhood when performing COF outlier factor analysis on the current predicted value of the current moment according to the data local distance selection factor; and acquiring a weight factor of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring a current sampling value at the current moment, and carrying out fusion processing on the current sampling value at the current moment and the current predicted value according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment. The current value conforming to the actual situation at the current moment is obtained by collecting historical current time sequence data and current prediction time sequence data at the current moment and carrying out fusion processing on the current sampling value and the current prediction value at the current moment, namely, the current value is used for judging whether the photovoltaic multifunctional circuit breaker needs to make a judgment basis for cutting off power supply action, the capability of the photovoltaic multifunctional circuit breaker for coping with instantaneous peak current is improved, the occurrence of misoperation of the photovoltaic multifunctional circuit breaker is reduced, the anti-interference capability is increased while the original working performance is maintained, and the stability of the whole system is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for intelligent data acquisition for a photovoltaic multifunctional breaker according to an embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure.
It should be noted that the terms "first," "second," and the like in the description of the present disclosure and the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects as disclosed herein.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
The invention aims at the specific scene: in grid-connected photovoltaic power generation using a photovoltaic multifunctional breaker to participate in work, the photovoltaic multifunctional breaker needs to be added at a direct-current output end of a photovoltaic panel to ensure equipment safety, wherein the photovoltaic multifunctional breaker meets the stable and efficient working requirements in practical application in a threshold triggering mode. However, since the current output of the photovoltaic panel is greatly influenced by external environment in the operation process of the photovoltaic panel, the current of the photovoltaic panel often fluctuates and possibly exceeds the theoretical maximum value of the photovoltaic panel, the photovoltaic multifunctional circuit breaker usually takes the theoretical maximum value of the photovoltaic panel as the threshold value, and when the output current of the photovoltaic panel exceeds the threshold value due to the environmental fluctuation, the photovoltaic multifunctional circuit breaker triggers the circuit breaking action, so that the current fluctuation caused by the environmental influence can cause an instant current to exceed the threshold value set by the photovoltaic multifunctional circuit breaker, thereby causing the problem of misoperation of the photovoltaic multifunctional circuit breaker to break the circuit.
Referring to fig. 1, a method flowchart of an intelligent data collection method for a photovoltaic multifunctional circuit breaker according to an embodiment of the present invention is shown in fig. 1, where the intelligent data collection method may include:
step S101, historical current time sequence data of a photovoltaic panel direct current output end before the current moment and current prediction time sequence data in a preset future time period including the current moment are obtained, and the historical current time sequence data and the current prediction time sequence data form a current time sequence.
In the direct current power generation process of the photovoltaic panel, current data of a direct current output end of the photovoltaic panel can be acquired in real time through a data acquisition module of the photovoltaic multifunctional circuit breaker. The sampling frequency of the current data is not limited, and an implementer can set according to a real-time scene, and preferably, the sampling frequency in the embodiment of the invention is 1 second.
Based on the above sampling manner, the historical current time sequence data collected by the photovoltaic panel direct current output end in the historical period before the current time t can be obtained, so that the current prediction time sequence data in the preset future period including the current time is obtained through the time sequence data prediction model, and preferably, in the embodiment of the invention, the length of the current prediction time sequence data is 50. The method for acquiring the current prediction time sequence data in the preset future time period including the current moment comprises the following steps: and acquiring a trained LSTM long-term and short-term memory network model, and respectively acquiring current predicted values of the current moment and each moment after the current moment by utilizing the trained LSTM long-term and short-term memory network model to acquire current predicted time sequence data in a preset future period.
It should be noted that, training the LSTM long-term memory network model according to the historical current time sequence data belongs to a known technology, and will not be described herein.
Further, the historical current time sequence data and the current prediction time sequence data are formed into a current time sequence, wherein in the current time sequence, current data before the current time belongs to a historical current value, current data after the current time and including the current time belongs to a current prediction value, and the current prediction value corresponding to the current time t in the current time sequence is recorded as。
Step S102, according to the current data difference at two sides of the current predicted value corresponding to the current moment in the current time sequence, acquiring a data local distance selection factor at the current moment, and according to the data local distance selection factor, acquiring a K distance neighborhood when performing COF outlier analysis on the current predicted value at the current moment.
In the process of data acquisition, current fluctuation conditions caused by the environment exist, and the environment state cannot be accurately adapted under different fluctuation conditions, so that in order to better avoid misjudgment of the photovoltaic multifunctional circuit breaker, a current predicted value corresponding to the current moment is requiredAnd current sampling value->And carrying out numerical fusion processing to serve as a judgment basis of the photovoltaic multifunctional circuit breaker at the current moment.
Therefore, when the current predicted value corresponding to the current time t is obtainedAfterwards, the current prediction value corresponding to the current time t is +.>When the current predicted value +.>When a stable current value change is presented in the current sequence, the reference predicted current value is more prone to a higher degree, and when the current predicted value in the current sequence is +.>When the local neighborhood is present as unstable current value change, the reference predicted current value tends to be lower, so the current predicted value corresponding to the current moment is +.>And current sampling value->In the numerical fusion process, the current predicted value is required to be +.>The local stability of the presentation is measured and fusion weights are obtained based on the measurement.
In the embodiment of the invention, the COF outlier factor of the current predicted value is obtained to obtain the current predicted valueThe degree of local stability presented is measured, in the sense that the current prediction value +.>In the COF outlier of (2), since the COF outlier is obtained by the selection of a fixed K-distance neighborhood (K-distance neighborhood is the current predictor selected in the current timing sequence)Recent K pieces of current data), therefore, in the current timing sequence, the current predicted value at the current time is +.>When the COF outlier is obtained, the current prediction value +.>The selection of the K-distance neighborhood needs to be made in its left historical current value and right current prediction value. When the left historical current value and the right current predicted value are in similar fluctuation states, the current predicted value can be improved by selecting a smaller K distance neighborhood>On the contrary, when the historical current value on the left side and the current predicted value on the right side are in larger fluctuation difference, the selection of a larger K distance neighborhood can ensure that more current data with higher fluctuation can be covered when the COF outlier factor is acquired, so that the acquired current predicted value is improved>Accuracy of COF outlier factor(s). Therefore, firstly, according to the current data difference at two sides of the current predicted value corresponding to the current moment in the current time sequence, a data local distance selection factor at the current moment is obtained, and then, according to the data local distance selection factor, a K distance neighborhood when COF outlier factor analysis is carried out on the current predicted value at the current moment is obtained.
Preferably, the obtaining the local distance selection factor of the current time according to the current data difference at two sides of the current predicted value corresponding to the current time in the current time sequence includes:
(1) And taking the current predicted value corresponding to the current moment in the current time sequence as target data, and forming a local data set of the target data by a first preset number of historical current values before the target data in the current time sequence.
Specifically, an initial K distance neighborhood when acquiring the COF outlier factor is set to 20, and then a current prediction value corresponding to the current moment is formed by a historical current value after the 20 th historical current value in the current time sequenceIs described herein). Worth of itIt is noted that the invention does not limit the initial K-distance neighborhood, and the implementer can set according to implementation scenes.
(2) And acquiring the data local distance selection factor at the current moment according to the current data difference at two sides of each historical current value in the local data set of the target data and the distance between the current data and the target data.
Specifically, for any historical current value in the local data set, selecting a second preset number of current data to form a first subsequence on the left side of the historical current value in the current time sequence by taking the historical current value as the center, selecting the second preset number of current data to form a second subsequence on the right side of the historical current value, and obtaining the similarity between the first subsequence and the second subsequence;
acquiring all neighborhood current data in an initial K-distance neighborhood of the historical current value in the current time sequence, respectively calculating the absolute value of a difference value between a current sampling value and a current prediction value of each neighborhood current data to obtain the sum of the absolute value of the difference value, obtaining the product between the sum of the absolute value of the difference value and the similarity degree, carrying out normalization processing on the product to obtain a corresponding normalization value, obtaining the distance between the historical current value and the target data, and obtaining the difference characteristic value of the historical current value according to the distance and the normalization value;
taking the product of the difference characteristic values of all the historical current values in the local set data of the target data as a data local distance selection factor at the current moment.
In one embodiment, the second predetermined number is set toK refers to an initial K distance neighborhood, and the calculation expression of the data local distance selection factor at the current time t is as follows:
wherein,a data local distance selection factor representing the current time t, M representing the data quantity in the local data set of the current prediction value corresponding to the current time t,/a>Representing the distance between the xth historical current value in the local data set and the current prediction value corresponding to the current time t,/for>Representing normalization processing->An initial K-distance neighborhood representing the xth historical current value in the local data set,/and->Current prediction value of the (q) th neighborhood current data in the initial K-distance neighborhood representing the (x) th historical current value,/v>Current sample value of the current data of the q-th neighborhood in the initial K-distance neighborhood representing the xth historical current value, ||represents absolute value sign, |in +.>Representing a dynamic time warping algorithm, +.>Left side of the x-th historical current value in the local data set>The individual current data form a first sub-sequence, < >>Right side representing the x-th historical current value in the local data set +.>The current data constitutes a second sub-sequence.
When the weather changes, the fluctuation condition of the current has continuous fluctuation increasing or decreasing conditions, namely the current is stable to fluctuation and fluctuation to stable conditions, so that in the process of evaluating the data local distance selection factor at the current time t, the continuous change of the initial K distance neighborhood evaluation is required to be evaluated, and therefore, the data local distance selection factor is acquired by a continuous multiplication mode in the formula; after obtaining a trained LSTM long-term memory network model, evaluating the prediction reliability of a local range through the difference between the current predicted value and the current sampling value in the initial K-distance neighborhood of each historical current value in the local data set of the current predicted value corresponding to the current time t, wherein the greater the prediction and actual difference is, the lower the reliability of prediction information is in the evaluation process of the data local distance selection factor of the current predicted value corresponding to the current time t, and then the two lengths of the current time t areIs a subsequence of (first and second subsequence)>And (3) carrying out distance optimization on the similarity degree of the real data and the predicted data obtained by calculating the dynamic bending distance, so as to ensure that the evaluation difference between the two subsequences is increased when the prediction reliability is low, and further, carrying out accurate optimization on the selection of the subsequent K-distance neighborhood.
Wherein between the first subsequence and the second subsequenceThe dynamic bending distance illustrates how the ripple condition of the two sub-sequences requires a reduction in the amount of data points in the subsequent calculation of the average connection distance in the ripple plateau current data, so that its characteristics can also be highlighted in the plateau ripple curve.
Preferably, the obtaining the K-distance neighborhood when performing COF outlier analysis on the current predicted value at the current moment according to the data local distance selection factor includes:
and obtaining the product between the initial K distance neighborhood and the data local distance selection factor as the K distance neighborhood when the COF outlier analysis is carried out on the current predicted value at the current moment.
In one embodiment, the local distance selection factor of the data at the current time t is obtainedThereafter, by calculating the expression +.>Obtaining a K distance neighborhood when performing COF outlier factor analysis on current predicted value at current time t。
So far, according to the current data difference in the current time sequence, the K distance neighborhood when the current predicted value at the current time t is subjected to COF outlier factor analysis is obtained。
Step S103, obtaining a weight factor of a current predicted value at the current moment according to current data in the K-distance neighborhood at the current moment, obtaining a current sampling value at the current moment, and carrying out fusion processing on the current sampling value at the current moment and the current predicted value according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment.
K distance neighborhood when COF outlier factor analysis is carried out on current predicted value of current time tThen, the weight factor of the current predicted value at the current moment can be obtained according to the current data in the K-distance neighborhood at the current momentThe method for acquiring the weight factors comprises the following steps: and acquiring a COF value of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring an absolute value of a difference between the COF value and a constant 1, and carrying out normalization processing, wherein the obtained normalized value is used as a weight factor of the current predicted value at the current moment.
In one embodiment, the calculation expression of the weighting factor of the current prediction value at the present time t is:
wherein,weight factor representing current prediction value at present instant t,/->The normalization function is represented as a function of the normalization,current prediction value +.>And 1 represents a constant, || represents an absolute value symbol.
It should be noted that, because the problem to be solved by the embodiment of the invention is that the instantaneous abnormal current output in the working of the photovoltaic panel causes the photovoltaic multifunctional breaker to perform the power-off action, the invention has the following advantages thatWhen higher, the local distance selection factor is reduced according to the data>The value, the weight factor which keeps the detail characteristic is obtained through the calculation of the average connection distance, if the instantaneous current peak value appears at the current time t, the weight factor can deviate to the predicted value, and the fluctuation exists in the real sampling value or the predicted value and the real value existWhen the value shift is large, the similarity is low, and the local distance selection factor is increased according to the data>The value is in this case more biased towards the true value so that the current is more believing the predicted value at a steady output and the true value at a fluctuating time, without impairing the response to a sustained over-threshold current while avoiding the effects of the instantaneous fluctuating current produced by the circuit.
Furthermore, the embodiment of the invention aims to bias to the predicted value to eliminate the influence of the peak when the instantaneous peak appears in the output current of the photovoltaic panel under the steady state under the action of the weight factor, and bias to the true value when the actual frequent fluctuation appears in the output current of the photovoltaic panel, so that the photovoltaic multifunctional circuit breaker can cope with the possible overcurrent phenomenon, such as the phenomenon that equipment short circuit happens suddenly when the current is relatively steady, and the photovoltaic multifunctional circuit breaker can still accurately trigger the action because the short circuit current is much higher than the current peak value generated by noise or illumination influence, therefore, the current sampling value and the current predicted value at the current moment are fused according to the weight factor to obtain the target current value for threshold judgment of the photovoltaic multifunctional circuit breaker at the current moment.
Preferably, according to the weight factor, fusion processing is performed on the current sampling value and the current prediction value at the current moment to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment, including:
and respectively acquiring weight coefficients of the current sampling value and the current predicted value at the current moment according to the weight factors, and carrying out weighted summation on the current sampling value and the current predicted value at the current moment according to the weight coefficients, wherein an obtained weighted summation result is used as a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment.
In one embodiment, firstly, a current sampling value at the current time t, that is, a current value of a photovoltaic panel direct current output end is collected, and a calculation expression of a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current time is as follows:
wherein,target current value representing current time for threshold value judgment of photovoltaic multifunctional breaker, < ->Weight factor representing the current time t +.>Representing the current sampling value (i.e. the actually acquired current data) at the present moment +.>The current predicted value at the present time t is indicated.
When a weight factor of the current time t is obtained, a current sampling value and a current prediction value are weighted and fused through the weight factor, so that a target current value for threshold judgment of the photovoltaic multifunctional breaker is obtained。
After the target current value at the current time t is obtained, the current value can be used as a judgment basis of the photovoltaic multifunctional circuit breaker at the current time, if the target current value is judged to be higher than a threshold value, the action of opening the circuit is triggered, and the resistance of the photovoltaic multifunctional circuit breaker to triggering by abnormal signals generated by the change of the illumination environment is enhanced while the basic working requirement of the photovoltaic multifunctional circuit breaker is not influenced. When the photovoltaic multifunctional breaker triggers the action of breaking the circuit because the current exceeds the threshold value, the photovoltaic multifunctional breaker can provide maintenance personnel with current data outlier information including current data fluctuation conditions and when the photovoltaic multifunctional breaker is triggered to act, and the current data outlier information is used for judging whether frequent current fluctuation is caused by unstable equipment or environment or over-current problem is caused by equipment short circuit, so that the maintenance personnel can conveniently adjust equipment and parameters in time.
In summary, the embodiment of the invention obtains the historical current time sequence data of the photovoltaic panel direct current output end before the current moment and the current prediction time sequence data in the preset future time period including the current moment, and forms the current time sequence by the historical current time sequence data and the current prediction time sequence data; obtaining a data local distance selection factor at the current moment according to current data differences at two sides of a current predicted value corresponding to the current moment in a current time sequence, and obtaining a K distance neighborhood when performing COF outlier factor analysis on the current predicted value at the current moment according to the data local distance selection factor; and acquiring a weight factor of a current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring a current sampling value at the current moment, and carrying out fusion processing on the current sampling value at the current moment and the current predicted value according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment. The current value conforming to the actual situation at the current moment is obtained by collecting historical current time sequence data and current prediction time sequence data at the current moment and carrying out fusion processing on the current sampling value and the current prediction value at the current moment, namely, the current value is used for judging whether the photovoltaic multifunctional circuit breaker needs to make a judgment basis for cutting off power supply action, the capability of the photovoltaic multifunctional circuit breaker for coping with instantaneous peak current is improved, the occurrence of misoperation of the photovoltaic multifunctional circuit breaker is reduced, the anti-interference capability is increased while the original working performance is maintained, and the stability of the whole system is improved.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (7)
1. The intelligent data acquisition method for the photovoltaic multifunctional circuit breaker is characterized by comprising the following steps of:
acquiring historical current time sequence data of a photovoltaic panel direct current output end before the current moment and current prediction time sequence data in a preset future time period including the current moment, and forming a current time sequence by the historical current time sequence data and the current prediction time sequence data;
acquiring a data local distance selection factor of the current moment according to the current data difference at two sides of the current predicted value corresponding to the current moment in the current time sequence, and acquiring a K distance neighborhood when performing COF outlier factor analysis on the current predicted value of the current moment according to the data local distance selection factor;
and acquiring a weight factor of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring a current sampling value at the current moment, and carrying out fusion processing on the current sampling value at the current moment and the current predicted value according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment.
2. The intelligent data acquisition method for a photovoltaic multifunctional circuit breaker according to claim 1, wherein the acquiring the local distance selection factor of the current time according to the current data difference at two sides of the current predicted value corresponding to the current time in the current time sequence comprises:
taking a current predicted value corresponding to the current moment in the current time sequence as target data, and forming a first preset number of historical current values before the target data into a local data set of the target data in the current time sequence;
and acquiring the data local distance selection factor at the current moment according to the current data difference at two sides of each historical current value in the local data set of the target data and the distance between the current data and the target data.
3. The intelligent data collection method for a photovoltaic multi-functional circuit breaker according to claim 2, wherein the obtaining the local distance selection factor of the current time according to the current data difference on two sides of each historical current value in the local data set of the target data and the distance between the current data and the target data comprises:
selecting a second preset number of current data to form a first subsequence on the left side of the historical current value, and selecting a second preset number of current data to form a second subsequence on the right side of the historical current value, wherein the historical current value is taken as a center in the current time sequence, so as to obtain the similarity between the first subsequence and the second subsequence;
acquiring all neighborhood current data in an initial K-distance neighborhood of the historical current value in the current time sequence, respectively calculating the absolute value of a difference value between a current sampling value and a current prediction value of each neighborhood current data to obtain the sum of the absolute value of the difference value, obtaining the product between the sum of the absolute value of the difference value and the similarity degree, carrying out normalization processing on the product to obtain a corresponding normalization value, obtaining the distance between the historical current value and the target data, and obtaining the difference characteristic value of the historical current value according to the distance and the normalization value;
taking the product of the difference characteristic values of all the historical current values in the local set data of the target data as a data local distance selection factor at the current moment.
4. The intelligent data collection method for a photovoltaic multifunctional circuit breaker according to claim 3, wherein the obtaining, according to the data local distance selection factor, a K-distance neighborhood when performing COF outlier analysis on the current predicted value at the current moment comprises:
and obtaining the product between the initial K distance neighborhood and the data local distance selection factor as the K distance neighborhood when the COF outlier analysis is carried out on the current predicted value at the current moment.
5. The intelligent data acquisition method for a photovoltaic multifunctional circuit breaker according to claim 1, wherein the acquiring the weight factor of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment comprises:
and acquiring a COF value of the current predicted value at the current moment according to the current data in the K-distance neighborhood at the current moment, acquiring an absolute value of a difference between the COF value and a constant 1, and carrying out normalization processing, wherein the obtained normalized value is used as a weight factor of the current predicted value at the current moment.
6. The intelligent data collection method for a photovoltaic multifunctional breaker according to claim 1, wherein the fusing processing is performed on the current sampling value and the current prediction value at the current moment according to the weight factor to obtain a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment, and the method comprises the following steps:
and respectively acquiring weight coefficients of the current sampling value and the current predicted value at the current moment according to the weight factors, and carrying out weighted summation on the current sampling value and the current predicted value at the current moment according to the weight coefficients, wherein an obtained weighted summation result is used as a target current value for threshold judgment of the photovoltaic multifunctional breaker at the current moment.
7. The intelligent data acquisition method for a photovoltaic multi-function circuit breaker according to claim 1, wherein the acquisition method of current prediction time series data in a preset future period including the current moment comprises the following steps:
and acquiring a trained LSTM long-term and short-term memory network model, and respectively acquiring current predicted values of the current moment and each moment after the current moment by utilizing the trained LSTM long-term and short-term memory network model to acquire current predicted time sequence data in a preset future period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410114972.7A CN117648554B (en) | 2024-01-29 | 2024-01-29 | Intelligent data acquisition method for photovoltaic multifunctional circuit breaker |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410114972.7A CN117648554B (en) | 2024-01-29 | 2024-01-29 | Intelligent data acquisition method for photovoltaic multifunctional circuit breaker |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117648554A true CN117648554A (en) | 2024-03-05 |
CN117648554B CN117648554B (en) | 2024-04-26 |
Family
ID=90049849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410114972.7A Active CN117648554B (en) | 2024-01-29 | 2024-01-29 | Intelligent data acquisition method for photovoltaic multifunctional circuit breaker |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117648554B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117970182A (en) * | 2024-03-28 | 2024-05-03 | 国网山东省电力公司曲阜市供电公司 | Electric leakage early warning method and system based on DTW algorithm |
CN118245957A (en) * | 2024-05-28 | 2024-06-25 | 山东德源电力科技股份有限公司 | Electric energy meter system based on cloud edge cooperation |
CN118539378A (en) * | 2024-07-26 | 2024-08-23 | 浙江亿腾电气科技有限公司 | Intelligent circuit breaker, method and control equipment for solar photovoltaic power station |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799616A (en) * | 2012-06-14 | 2012-11-28 | 北京大学 | Outlier point detection method in large-scale social network |
US20220200959A1 (en) * | 2019-08-30 | 2022-06-23 | Ahp-Tech Inc. | Data collection system for effectively processing big data |
CN115933787A (en) * | 2023-03-14 | 2023-04-07 | 西安英图克环境科技有限公司 | Indoor multi-terminal intelligent control system based on indoor environment monitoring |
CN116013087A (en) * | 2023-03-27 | 2023-04-25 | 东莞市城建规划设计院 | Traffic flow statistical method based on urban moving vehicle detection |
CN116609651A (en) * | 2023-07-20 | 2023-08-18 | 山东德源电力科技股份有限公司 | Detection method of multifunctional circuit breaker for photovoltaic |
CN116794385A (en) * | 2023-08-21 | 2023-09-22 | 山东德源电力科技股份有限公司 | High-voltage current monitoring method based on multidimensional data analysis |
CN116845878A (en) * | 2023-07-10 | 2023-10-03 | 杭州齐智能源科技股份有限公司 | Electric load prediction method for micro-grid |
-
2024
- 2024-01-29 CN CN202410114972.7A patent/CN117648554B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102799616A (en) * | 2012-06-14 | 2012-11-28 | 北京大学 | Outlier point detection method in large-scale social network |
US20220200959A1 (en) * | 2019-08-30 | 2022-06-23 | Ahp-Tech Inc. | Data collection system for effectively processing big data |
CN115933787A (en) * | 2023-03-14 | 2023-04-07 | 西安英图克环境科技有限公司 | Indoor multi-terminal intelligent control system based on indoor environment monitoring |
CN116013087A (en) * | 2023-03-27 | 2023-04-25 | 东莞市城建规划设计院 | Traffic flow statistical method based on urban moving vehicle detection |
CN116845878A (en) * | 2023-07-10 | 2023-10-03 | 杭州齐智能源科技股份有限公司 | Electric load prediction method for micro-grid |
CN116609651A (en) * | 2023-07-20 | 2023-08-18 | 山东德源电力科技股份有限公司 | Detection method of multifunctional circuit breaker for photovoltaic |
CN116794385A (en) * | 2023-08-21 | 2023-09-22 | 山东德源电力科技股份有限公司 | High-voltage current monitoring method based on multidimensional data analysis |
Non-Patent Citations (8)
Title |
---|
HE XU ET AL.: "Outlier detection algorithm based on k-nearest neighbors-local outlier factor", 《JOURNAL OF ALGORITHMS & COMPUTATIONAL TECHNOLOGY》, vol. 16, 15 March 2022 (2022-03-15), pages 1 - 12 * |
TUNG KIEU ET AL.: "Outlier Detection for Multidimensional Time Series Using Deep Neural Networks", 《2018 19TH IEEE INTERNATIONAL CONFERENCE ON MOBILE DATA MANAGEMENT (MDM)》, 16 July 2018 (2018-07-16), pages 125 - 134 * |
俞娜燕等: "基于SVR-UKF的光伏电站功率预测", 《自动化与仪器仪表》, no. 04, 25 April 2020 (2020-04-25), pages 73 - 77 * |
凌莉等: "融合孤立森林和局部离群因子的离群点检测方法", 《计算机应用与软件》, vol. 39, no. 12, 31 December 2022 (2022-12-31), pages 278 - 283 * |
孔翎超等: "离群点检测算法综述", 《计算机科学》, 9 January 2024 (2024-01-09), pages 1 - 17 * |
朱润泽等: "基于LSTM神经网络的光伏系统功率预测", 《电力科技与环保》, vol. 39, no. 03, 15 June 2023 (2023-06-15), pages 201 - 206 * |
梁波等: "智能物联断路器在智慧台区建设中的应用", 《大众用电》, vol. 35, no. 11, 5 November 2020 (2020-11-05), pages 23 - 26 * |
赵博超等: "基于改进VMD-XGBoost-BILSTM组合模型的光伏发电异常检测方法", 《计算机工程》, 26 June 2023 (2023-06-26), pages 1 - 13 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117970182A (en) * | 2024-03-28 | 2024-05-03 | 国网山东省电力公司曲阜市供电公司 | Electric leakage early warning method and system based on DTW algorithm |
CN118245957A (en) * | 2024-05-28 | 2024-06-25 | 山东德源电力科技股份有限公司 | Electric energy meter system based on cloud edge cooperation |
CN118539378A (en) * | 2024-07-26 | 2024-08-23 | 浙江亿腾电气科技有限公司 | Intelligent circuit breaker, method and control equipment for solar photovoltaic power station |
Also Published As
Publication number | Publication date |
---|---|
CN117648554B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117648554B (en) | Intelligent data acquisition method for photovoltaic multifunctional circuit breaker | |
Larsson | Flicker emission of wind turbines during continuous operation | |
JP5600570B2 (en) | Photovoltaic power generation prediction device, solar power generation amount prediction method, system voltage control device, system voltage control method | |
WO2020015277A1 (en) | Arc light fault identifying device and method based on panoramic information | |
JP7289995B2 (en) | Method and apparatus for recognizing operating state of photovoltaic string and storage medium | |
CN113609637B (en) | Multi-disaster power distribution network elasticity assessment method considering fault linkage | |
CN112653393B (en) | Control method and device for photovoltaic system IV diagnosis | |
CN117332215B (en) | High-low voltage power distribution cabinet abnormal fault information remote monitoring system | |
CN117056813B (en) | Detection method for intelligent circuit breaker data acquisition | |
CN118432000B (en) | High-voltage isolation protection method and system | |
Iqbal et al. | Real-time event detection based on Weibull distribution using synchrophasor measurements for enhanced situational awareness | |
CN111894814A (en) | Fault processing system and method for power generation system | |
Liu et al. | Real-world PV Module Degradation across Climate Zones Determined from Suns-V oc, Loss Factors and IV Steps Analysis of Eight Years of IV, P mp Time-series Datastreams | |
CN111864709A (en) | Overload protection method, control method and device and wind power converter | |
CN115144745B (en) | Detection system is used in column switch production | |
Sabri et al. | Battery internal fault monitoring based on anomaly detection algorithm | |
CN116048182A (en) | Photovoltaic module flexible power point tracking method, device, equipment, medium and system | |
CN118759302B (en) | Multi-source data-based blade lightning protection conduction test system and method | |
CN118157332B (en) | Power supply equipment operation data acquisition and analysis method based on wireless communication technology | |
CN117833824B (en) | Performance analysis method, device and equipment of photovoltaic inverter and storage medium | |
CN115358639B (en) | Offshore wind power operation risk analysis system based on data analysis | |
CN117590160B (en) | Method and system for monitoring transmission state of wind power plant current collection circuit | |
CN115825664A (en) | Linear load electrical anomaly detection method based on convolution model | |
CN109449924B (en) | Method and device for discriminating conversion of hydraulic power plant speed regulator to large and small network working conditions | |
CN118381464A (en) | Equipment abnormality detection method and photovoltaic power generation equipment detection system |
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 |