Resonance detection method and system for new energy power generation
By constructing resonant feature vectors and change vectors, and combining them with clustering algorithm optimization, the optimal cluster center is used to analyze the harmonic change trend and calculate the resonant growth rate characteristic value. This solves the problem of inaccurate detection of resonant frequency changes in traditional detection methods, and enables precise location and early warning of resonant risks in new energy power generation systems.
Patent Information
- Application Number
- CN202511275760.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-08
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-09-08
AI Technical Summary
Traditional methods are difficult to accurately detect the resonant frequency changes in multi-inverter grid-connected systems, resulting in insufficient accuracy and reliability in detecting resonance risks in new energy power generation systems, and a tendency for strong resonance phenomena to occur.
By acquiring real-time current data from power generation nodes, constructing resonance feature vectors and change vectors, and combining clustering algorithms to optimize and determine the optimal cluster centers, analyzing harmonic variation trends, and calculating resonance growth rate characteristic values, accurate detection of resonance risks can be achieved.
It significantly improves the accuracy and reliability of resonance risk location, and can quickly and accurately identify and warn of potential resonance risks in multi-inverter grid-connected systems.
Smart Images

Figure CN120971809A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power generation resonance detection, in particular to a resonance detection method and system for new energy power generation. BACKGROUND
[0002] In the process of new energy power generation, grid-connected inverters are used to convert the electrical energy generated by renewable energy into electrical energy that meets the requirements of the power grid, and then deliver it to the power grid. With the rapid development of new energy power generation, a large number of grid-connected inverters are connected to the power grid, forming a multi-inverter grid-connected system. The mutual coupling and interference between inverters through the power grid can cause a single grid-connected inverter that can work stably to become unstable after being connected in parallel with multiple inverters, and the grid-connected current of the grid-connected inverter can resonate. Resonance problems can seriously affect the reliability of the operation of the multi-inverter grid-connected system and the power quality of the power supply. Therefore, for the multi-inverter grid-connected system of new energy power generation, resonance detection is a key link to realize the safe and efficient operation of the multi-inverter grid-connected system.
[0003] The traditional method assumes that the resonance frequency is basically unchanged, and detects the resonance risk by injecting a current of a specific frequency. However, in practice, the resonance frequency of the multi-inverter grid-connected system changes with the operating conditions of each grid-connected inverter, and due to the instability of new energy power generation, the resonance frequency changes frequently. Therefore, it is difficult to accurately detect the resonance state of different power generation nodes using the traditional method; at the same time, the interaction between multiple inverters through the power grid can exacerbate the occurrence of resonance phenomenon, and strong resonance can easily occur in a short period of time. Therefore, only considering the change of the resonance state of a single power generation node reduces the accuracy and reliability of the resonance risk detection of new energy power generation. SUMMARY
[0004] To solve the above technical problems, the purpose of the present application is to provide a resonance detection method and system for new energy power generation, and the technical solution adopted is as follows: In a first aspect, the present application provides a resonance detection method for new energy power generation, which comprises the following steps: Real-time acquisition of current data of each power generation node within a preset time length before each time, and composition of current signals of each power generation node at each time, acquisition of fundamental wave and all harmonics of the current signals; Based on the effective value of the fundamental wave and all harmonic amplitudes of the current signals at each power generation node at each time, and the fluctuation degree of the current signals corresponding to each harmonic, the harmonic distortion rate of each power generation node at each time is determined to determine the first resonance value of each power generation node at each time, and the difference between the effective value of all harmonic amplitudes of the current signals of each power generation node between each time and the previous time is combined to construct the resonance feature vector and resonance change vector of each power generation node at each time. The difference between each power generation node and each cluster center at each moment is determined based on the difference between the resonance characteristic vectors of all power generation nodes at each moment, and the feature weight between each power generation node and each cluster center at each moment is determined based on the distance between each power generation node and each cluster center and the distance between all cluster centers and the difference between the first resonance values between each power generation node and each cluster center, and the objective function of the clustering algorithm is determined by combining the difference between the resonance change vectors between each power generation node and each cluster center at each moment and the difference between the first resonance values and the degree to which each power generation node belongs to each cluster center, so as to obtain the optimal cluster center through iterative optimization of the clustering algorithm. The change trend of the harmonic corresponding current signal of each power generation node and each optimal cluster center at the current moment is analyzed respectively, and the resonance speedup characteristic value of each harmonic of each power generation node at the current moment is determined by combining the degree to which each power generation node belongs to each optimal cluster center, so as to determine the resonance risk characteristic value for the resonance detection of the power generation node at the current moment.
[0005] Preferably, the expression of the harmonic distortion rate of each power generation node at each moment is: ; in the formula, indicates the harmonic distortion rate of the jth power generation node at the i moment; , indicate the effective value of the fundamental amplitude and the effective value of the amplitude of the hth harmonic in the current signal of the jth power generation node at the i moment, respectively; indicates the dispersion degree of all current data in the hth harmonic corresponding current signal of the jth power generation node at the i moment; indicates the number of all harmonics in the current signal of the power generation node at the i moment.
[0006] Preferably, the first resonance value of each power generation node at each moment is the average of the harmonic distortion rates of each power generation node at all moments within a preset period before each moment.
[0007] Preferably, the determination method of the resonance change vector of each power generation node at each moment is: The overall difference between all harmonic amplitude effective values of each power generation node between each moment and the previous moment is recorded as the second resonance value of each power generation node at each moment; The first resonance value of each power generation node at each moment and the second resonance value of the corresponding power generation node at all moments within a preset period before each moment are combined to form the resonance characteristic vector of each power generation node at each moment; The second resonance values of each power generation node at all moments within a preset period before each moment are combined to form the resonance change vector of each power generation node at each moment.
[0008] Preferably, the expression of the feature weight between each power generation node and each cluster center at each time point is: ; denotes the feature weight between the mth power generation node and the nth cluster center at time t; denotes the distance between the mth power generation node and the nth cluster center at time t; denotes the maximum distance between all cluster centers at time t; denotes the difference between the first resonance value between the mth power generation node and the nth cluster center at time t; norm[ ] denotes a normalization function; is a preset value.
[0009] Preferably, the determination method of the objective function of the clustering algorithm is: the objective function with respect to time t is expressed as: ; in the formula, denotes the degree to which the mth power generation node belongs to the nth cluster center at time t; denotes the norm of the resonance change vector between the mth power generation node and the nth cluster center at time t; denotes the feature weight between the mth power generation node and the nth cluster center at time t; denotes the difference between the first resonance value between the mth power generation node and the nth cluster center at time t; denotes the number of all power generation nodes; denotes the number of all cluster centers; denotes a preset fuzzy index.
[0010] Preferably, the optimal cluster center obtained by iterative optimization of the clustering algorithm comprises: a preset number of power generation nodes are randomly selected from all power generation nodes as initial cluster centers, and all initial cluster centers are taken as inputs of the fuzzy C-means clustering algorithm, wherein J(t) is taken as the objective function of the fuzzy C-means clustering algorithm, the difference between the resonance feature vectors of the power generation nodes is taken as the metric distance of the fuzzy C-means clustering algorithm, and the cluster center corresponding to the minimum value of the objective function is taken as the optimal cluster center.
[0011] Preferably, the determination method of the resonance speedup characteristic value of each harmonic of each power generation node at the current time point is: all current data in the current signal corresponding to each harmonic of each power generation node and each optimal cluster center are fitted respectively, and fitted straight lines of each harmonic of each power generation node and each optimal cluster center are obtained respectively; The product of the degree to which each power generation node belongs to each optimal cluster center at the current time and the slope of the fitting straight line of each harmonic of the corresponding optimal cluster center is calculated, and the product is denoted as the comprehensive product between each power generation node and each optimal cluster center at each harmonic. The accumulation result of the comprehensive product between each power generation node and all optimal cluster centers at each harmonic at the current time is calculated, and the sum of the slope of the fitting straight line of each harmonic of each power generation node at the current time and the corresponding accumulation result is taken as the resonance speedup characteristic value of each harmonic of each power generation node at the current time.
[0012] Preferably, the resonance risk characteristic value is used for resonance detection of the power generation node at the current time, and the resonance detection comprises the following steps. If the resonance speedup characteristic value of the zth harmonic of the qth power generation node at the current time is less than or equal to 0, the resonance risk characteristic value of the zth harmonic of the qth power generation node at the current time is set to 0, otherwise, the difference between the preset harmonic current allowable value of the zth harmonic of the qth power generation node and the effective value of the zth harmonic amplitude of the qth power generation node is calculated, and the ratio of the resonance speedup characteristic value of the zth harmonic of the qth power generation node to the difference is taken as the resonance risk characteristic value of the zth harmonic of the qth power generation node at the current time. If the effective value of all harmonic amplitudes of the qth power generation node at the current time is less than the corresponding preset harmonic current allowable value, and the resonance risk characteristic value of all harmonics of the qth power generation node does not exceed the preset resonance risk threshold value, the qth power generation node at the current time does not have resonance risk, otherwise, the qth power generation node at the current time has resonance risk, and all power generation nodes are traversed to perform resonance detection.
[0013] In a second aspect, the embodiments of the present application further provide a resonance detection system for new energy power generation, which comprises a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of the resonance detection method for new energy power generation.
[0014] The present application has at least the following beneficial effects: The application combines the overall resonance risk of the node in the preset period, i.e., the first resonance value, with the instantaneous change degree of the harmonic form, i.e., the second resonance value, to realize the quantification and trend evaluation of the resonance risk state of the new energy power generation node, which helps to filter out the misjudgment caused by accidental fluctuations; further, the application constructs an innovative objective function that simultaneously fuses the node behavior mode similarity and the risk level closeness, accurately divides the power generation nodes with similar and close risks into the same group, which not only overcomes the defects of the traditional clustering that ignores the absolute value difference of the risk, effectively eliminates the interference of accidental fluctuations of a single node, but also accurately identifies the power generation node clustering cluster that "clusters" and risks synchronously and rapidly rises, thereby significantly improving the accuracy of resonance risk positioning and the reliability of early warning; further, the application analyzes the harmonic change trend of the power generation node and the cluster center to which the power generation node belongs, calculates the accurate resonance speedup characteristic value, and combines the harmonic over-standard risk distance to finally calculate the resonance risk characteristic value that can quantify the resonance risk possibility, thereby realizing the rapid and accurate detection and early warning of the potential resonance risk of the multi-inverter grid-connected system, and improving the accuracy and reliability of resonance risk positioning. BRIEF DESCRIPTION OF DRAWINGS
[0015] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without any creative effort.
[0016] Figure 1 The step flow chart of the resonance detection method for new energy power generation provided by an embodiment of the present application; Figure 2 The resonance risk detection process schematic diagram provided by an embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to further illustrate the technical means and effects adopted by the present application to achieve the predetermined invention purposes, the specific embodiments, structures, features and effects of the resonance detection method and detection system for new energy power generation according to the present application are described in detail as follows by combining with the drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.
[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs.
[0019] The specific scheme of the resonance detection method and system for new energy power generation provided in the present application will be specifically described below in combination with the drawings.
[0020] Please refer to Figure 1 which shows the step flowchart of the resonance detection method for new energy power generation provided in an embodiment of the present application, and the method comprises the following steps: Step S1: Real-time acquisition of current data of each power generation node within a preset time length before each time, and composition of current signals at each time, acquisition of fundamental wave and all harmonics of the current signals.
[0021] In the present embodiment, the nominal voltage of the grid of the multi-inverter grid-connected system is 0.38 kV, the reference short-circuit capacity is 10 MVA, the power frequency is 50 Hz, and there are 500 power generation nodes. At the grid side, the current data of each power generation node is acquired in real time through a current sensor, and the current data of all times within a preset time length before each time is composed to form the current signal of each power generation node at each time, wherein the value of the preset time length is artificially set, and in the present embodiment, the value of the preset time length is 100 ms, and the sampling frequency is 10 kHz. In actual application, as other implementation manners, the implementer can also set it by himself according to the specific circumstances, and the present embodiment does not make special limitation.
[0022] Further, the current signal of each power generation node at each time is taken as the input of the Fourier transform algorithm, and the fundamental wave and all harmonics of each power generation node current signal are outputted; and the fundamental wave and all harmonics are inversely transformed by the Fourier transform algorithm to obtain the corresponding part of the fundamental wave and all harmonics in the current signal.
[0023] Among them, the Fourier transform algorithm is a known technology, and the specific process of acquiring the fundamental wave and harmonics of the time domain signal will not be repeated.
[0024] Step S2: Through dynamic analysis of the current state, change trend and mutual correlation of each node harmonic, the nodes with similar behaviors are clustered, and based on this, the deterioration speed of each node harmonic is evaluated to perform resonance detection on the power generation nodes.
[0025] The new energy generation is strong and weak, which leads to the size of harmonic current constantly jumping. The simple instantaneous change at a single moment may have contingency and cannot represent the real risk state of the power generation node. For example, a high harmonic peak may disappear soon, but it may be misjudged as a serious problem. Therefore, in order to avoid the misjudgment caused by the instantaneous accidental harmonic peak, the embodiment analyzes the current state, change trend and correlation of each node harmonic, clusters the nodes with similar behaviors, and evaluates the deterioration speed of each node harmonic based on this, so as to detect the resonance of the power generation node, so that the evaluation of the resonance state of the power generation node is more accurate. The resonance risk detection process provided by the embodiment is shown in the schematic diagram of Figure 2 The specific process of detecting the resonance of the power generation node is as follows: S2.1: Based on the effective value of the fundamental wave and all harmonic amplitudes of the current signal at each power generation node at each moment, and the fluctuation degree of the current signal corresponding to each harmonic, the harmonic distortion rate of each power generation node at each moment is determined to determine the first resonance value of each power generation node at each moment, and the difference between the effective value of all harmonic amplitudes of the current signal of each power generation node between each moment and the previous moment is combined to construct the resonance feature vector and the resonance change vector of each power generation node at each moment.
[0026] Firstly, in the embodiment, based on the effective value of the fundamental wave and all harmonic amplitudes of the current signal at each power generation node at each moment, and the fluctuation degree of the current signal corresponding to each harmonic, the harmonic distortion rate of each power generation node at each moment is determined to determine the first resonance value of each power generation node at each moment, to filter the misjudgment of harmonic data accidental fluctuation on harmonic risk. Specifically, As an implementation manner, in the embodiment, the expression of the harmonic distortion rate of the jth power generation node at the ith moment is ; in the formula, , respectively represent the effective value of the fundamental wave amplitude, the effective value of the amplitude of the hth harmonic in the current signal of the jth power generation node at the ith moment; represents the dispersion degree of all current data in the current signal corresponding to the hth harmonic of the jth power generation node at the ith moment; represents the number of all harmonics in the current signal of the power generation node at the ith moment.
[0027] It should be noted that there are many ways to measure the dispersion degree of a set of data. In the embodiment, the coefficient of variation of all current data in the hth harmonic current signal of the jth power generation node at time i is taken as the dispersion degree of all current data in the hth harmonic current signal of the jth power generation node at time i. In actual application, as an alternative, the implementer can also use other methods such as variance or standard deviation to measure the dispersion degree of data according to the specific circumstances. The selection of the method for measuring the dispersion degree of data is not particularly limited in the embodiment.
[0028] The calculation method of the harmonic amplitude effective value and the calculation method of the coefficient of variation are both known technologies, and the specific calculation processes are not described in detail.
[0029] It should be further noted that only the fundamental wave and all harmonics before the 20th harmonic are calculated and analyzed in the embodiment, and the 20th harmonic is not included.
[0030] According to the harmonic distortion rate of each power generation node at each time, it can be understood that the harmonic distortion rate is used to represent the severity of power quality and harmonic pollution of the power generation node. If the fundamental wave amplitude effective value of the jth power generation node is smaller, it means that the power generation of the jth power generation node is smaller, and the power generation node is in a weak working state. At this time, even a small harmonic current will be amplified, and the probability of the current power generation node being disturbed by the harmonic is greater, so the corresponding harmonic distortion rate is greater. At the same time, if the ratio of the effective value of the amplitude of the hth harmonic of the jth power generation node to the dispersion degree of the corresponding current data is greater, it means that there is a greater possibility of stable and serious harmonic pollution problem in the jth power generation node, so the corresponding harmonic distortion rate is greater. On the contrary, if the fundamental wave amplitude effective value of the jth power generation node is greater, it means that the power generation of the jth power generation node is greater, and the power generation node is in a strong working state. At this time, the inhibition ability of the power generation node to the harmonic current mutation is stronger, and even if there is a certain amount of harmonic current, its relative influence will be weakened, and the probability of the current power generation node being disturbed by the harmonic is smaller, so the corresponding harmonic distortion rate is smaller. At the same time, if the ratio of the effective value of the amplitude of the hth harmonic of the jth power generation node to the dispersion degree of the corresponding current data is smaller, it means that the harmonic energy in the jth power generation node is lower, or the harmonic component is very unstable and has strong randomness, and the possibility of stable and serious harmonic pollution problem is smaller, so the corresponding harmonic distortion rate is smaller.
[0031] Further, in the embodiment, the average of the harmonic distortion rates of all times of each power generation node within a preset time period before each time is taken as the first resonance value of each power generation node at each time, which is used to represent the overall resonance state and severity of the power generation node within the preset time period. The greater the first resonance value of the current power generation node, the higher the resonance risk of the current power generation node.
[0032] It should be noted that the preset time period length is artificially set, and in the embodiment, the preset time period length is 3s. In actual application, as another implementation manner, the implementer can set it by himself according to the specific situation, and the embodiment does not have special limitation.
[0033] Further, based on the first resonance value of each power generation node at each time, and in combination with the difference between the RMS of all harmonic amplitudes of each power generation node between each time and the previous time, the resonance feature vector and the resonance change vector of each power generation node at each time are constructed to quantify the harmonic state and dynamic change trend of each node, and to provide a multi-dimensional data basis for subsequent accurate identification of the behavior similar power generation node group and accurate assessment of the development speed, specifically: In the embodiment, the overall difference between the RMS of all harmonic amplitudes of each power generation node between each time and the previous time is recorded as the second resonance value of each power generation node at each time, which is used to represent the similarity and change intensity of the harmonic energy distribution of a node at different times. If the second resonance value of the current power generation node is larger, it means that the change of the harmonic form of the current power generation node current signal is more intense, indicating that the resonance risk may be rapidly evolving. On the contrary, if the second resonance value of the current power generation node is smaller, it means that the change of the harmonic form of the current power generation node current signal is more gentle, indicating that the operation state of the power generation node is relatively stable, and the resonance risk is low or slow.
[0034] The first resonance value of each power generation node at each time and the second resonance value of the corresponding power generation node at all times within the preset time period before each time are combined to form the resonance feature vector of each power generation node at each time. The second resonance value of each power generation node at all times within the preset time period before each time is combined to form the resonance change vector of each power generation node at each time.
[0035] At this point, by constructing the dynamic resonance feature vector and change vector, the embodiment combines the overall resonance risk of the node within the preset time period, i.e. the first resonance value, with the instantaneous change intensity of the harmonic form, i.e. the second resonance value, to realize the quantification and trend assessment of the resonance risk state of the new energy power generation node, which helps to filter out the false judgment caused by accidental fluctuations in data.
[0036] S2.2: based on the difference between the resonance feature vectors of all power generation nodes at each time, clustering all power generation nodes, determining the feature weight between each power generation node and each cluster center at each time based on the distance between each power generation node and each cluster center and the distance between all cluster centers, and the difference between the first resonance values between each power generation node and each cluster center, and combining the difference between the resonance change vectors between each power generation node and each cluster center at each time and the difference between the first resonance values, and the degree to which each power generation node belongs to each cluster center, determining the objective function of the clustering algorithm to obtain the optimal cluster center through iterative optimization of the clustering algorithm.
[0037] In order to more accurately evaluate the resonance risk of the power generation node, the embodiment is used to exclude the problem that the resonance is misjudged due to the contingency of a single power generation node, and the contingency problem is solved through clustering analysis of the power generation node. The traditional clustering method usually only divides the power generation nodes into groups based on the difference between the feature vectors of the power generation nodes. However, in a huge power grid, a power generation node with a very high harmonic distortion rate and a power generation node with a very low harmonic distortion rate have completely the same harmonic change trend, but their risk levels are very different.
[0038] Therefore, in order to more accurately cluster the power generation nodes and thus evaluate the resonance risk of the power generation nodes, the embodiment is used to cluster all power generation nodes based on the difference between the resonance feature vectors of all power generation nodes at each time, determine the feature weight between each power generation node and each cluster center at each time based on the distance between each power generation node and each cluster center and the distance between all cluster centers, and the difference between the first resonance values between each power generation node and each cluster center, and combine the difference between the resonance change vectors between each power generation node and each cluster center at each time and the difference between the first resonance values, and the degree to which each power generation node belongs to each cluster center, determine the objective function of the clustering algorithm to obtain the optimal cluster center through iterative optimization of the clustering algorithm, and the specific process is as follows. Firstly, the embodiment is used to cluster all power generation nodes based on the difference between the resonance feature vectors of all power generation nodes at each time, and determine the feature weight between each power generation node and each cluster center at each time based on the distance between each power generation node and each cluster center and the distance between all cluster centers, and the difference between the first resonance values between each power generation node and each cluster center, and the specific process is as follows. As a specific implementation, in the embodiment, the expression of the feature weight between the mth power generation node and the nth cluster center at time t is as follows. ; represents the distance between the mth power generation node and the nth cluster center at time t; represents the maximum value of the distance between all cluster centers at time t; represents the difference between the first resonance value between the mth power generation node and the nth cluster center at time t; norm[ ] represents a normalization function; is a preset value.
[0039] It should be noted that there are many methods for measuring the difference between data. In the embodiment, the absolute value of the difference between the first resonance value between the mth power generation node and the nth cluster center at time t is taken as the difference between the first resonance value between the mth power generation node and the nth cluster center at time t. In actual application, as an alternative, the implementer can also use the square of the difference or other methods for measuring the difference between data. The selection of the method for measuring the difference between data is not particularly limited in the embodiment.
[0040] It should be understood that, is a preset value, which is set by human beings. In the embodiment, the value of is 5. The value of 5 is used to effectively amplify the significant risk level difference of the finger's attention, and to smooth out the negligible small fluctuations. In actual application, the implementer can set it by himself according to the specific circumstances, and the embodiment does not make special limitation.
[0041] It should be noted that, except for special description, the method of taking the absolute value of the difference is used in the embodiment to measure the difference between data.
[0042] According to the feature weight between each power generation node and each cluster center at each time, it can be understood that the feature weight reflects the tendency of the power generation node to allocate the proportion of each cluster center in the clustering process. If the proportion of the distance between the mth power generation node and the nth cluster center among the maximum value of the distance between all cluster centers at time t is larger, that is, larger, it means that the similarity between the mth power generation node and the nth cluster center in the static resonance feature is low, so the corresponding feature weight is larger. At the same time, if the difference between the first resonance value between the mth power generation node and the nth cluster center at time t is larger, it means that the difference between the mth power generation node and the nth cluster center in the harmonic change trend at time t is larger, that is, the trend is not consistent, which means that the mth power generation node and the nth cluster center should not be classified into one category, and the corresponding feature weight is larger. On the contrary, if the proportion of the distance between the mth power generation node and the nth cluster center among the maximum value of the distance between all cluster centers at time t is smaller, that is, The smaller, the higher the similarity of the mth power generation node to the nth cluster center on the static resonance characteristic, and thus the smaller the corresponding feature weight. At the same time, if the difference between the first resonance value between the mth power generation node and the nth cluster center at time t is smaller, the difference between the mth power generation node and the nth cluster center in the harmonic change trend at time t is smaller, that is, the trend is more similar, which means that the mth power generation node and the nth cluster center should be classified into the same class, and the corresponding feature weight is smaller.
[0043] Further, the feature weight between each power generation node and each cluster center at each time in the embodiment, in combination with the difference between the resonance change vectors and the difference between the first resonance values between each power generation node and each cluster center at each time, and the degree of each power generation node belonging to each cluster center, determines the objective function of the clustering algorithm to obtain the optimal cluster center by iterative optimization of the clustering algorithm, specifically: In the embodiment, the objective function with respect to time t is expressed as: ; in the formula, degree of the mth power generation node belonging to the nth cluster center at time t; norm of the resonance change vector between the mth power generation node and the nth cluster center at time t; feature weight between the mth power generation node and the nth cluster center at time t; difference between the first resonance value between the mth power generation node and the nth cluster center at time t; number of all power generation nodes; number of all cluster centers; preset fuzzy index.
[0044] It should be noted that the value of the preset fuzzy index in the embodiment is artificially set, and the value of the preset fuzzy index in the embodiment is 1.5. In actual application, the implementer can also set it by himself according to the specific situation, and the embodiment does not make special limitation.
[0045] It should be noted that the degree of the power generation node belonging to the cluster center, that is, the membership degree, can be obtained by the fuzzy C-means clustering algorithm, and the specific calculation process is not described again.
[0046] It should be noted that the value of the number of cluster clusters in the embodiment is the same as the value of the preset number, which is 20, that is, the number of cluster centers is always 20 in the entire clustering process. In actual application, as other implementation manners, the implementer can also set it by himself according to the specific situation, and the embodiment does not make special limitation.
[0047] It should be further explained that the norm of the resonance change vector between the mth power generation node and the nth cluster center at time t in this embodiment is the L2 norm. In actual application, the implementer can also use the L1 norm or other methods for measuring the difference between vectors according to specific circumstances, and this embodiment does not make special limitations.
[0048] The calculation method of the L2 norm is a known technology, and the specific calculation process will not be described again.
[0049] According to the target function J(t), it can be understood that the reason why the target function is set in this way is that the resonance risk is often not a problem of a single power generation node, but a result of interaction of a group of power generation nodes with similar behavior patterns and similar resonance risk levels. Therefore, in the target function design process, the norm of the resonance change vector between the mth power generation node and the nth cluster center at time t is based on the degree to which the mth power generation node belongs to the nth cluster center at time t to ensure that the behavior patterns of the power generation nodes in the group are similar. The smaller the norm, the more similar the harmonic change between the mth power generation node and the nth cluster center, and the more it should be divided into a group. At the same time, to ensure that the risk levels of all power generation nodes in the same cluster are on the same echelon. Through double-constraint clustering, the power generation nodes that are in a group and have a rapidly rising group risk are accurately identified.
[0050] Further, the embodiment randomly selects a preset number of power generation nodes from all power generation nodes as initial cluster centers, takes all initial cluster centers as the input of the fuzzy C-means clustering algorithm, takes J(t) as the target function of the fuzzy C-means clustering algorithm, takes the difference between the resonance feature vectors of the power generation nodes as the metric distance of the fuzzy C-means clustering algorithm, and takes the cluster center corresponding to the minimum value of the target function as the optimal cluster center.
[0051] It should be noted that in this embodiment, the difference between the resonance feature vectors of the power generation nodes is taken as the metric distance of the fuzzy C-means clustering algorithm, which actually takes the Euclidean distance between the resonance feature vectors of the power generation nodes as the metric distance of the fuzzy C-means clustering algorithm.
[0052] The calculation method of the Euclidean distance and the fuzzy C-means clustering algorithm are known technologies, and the specific calculation process of the Euclidean distance and the specific process of clustering the power generation nodes using the fuzzy C-means clustering will not be described again.
[0053] So far, the embodiment accurately divides the power generation nodes with similar and similar risks into the same group by constructing an innovative objective function that simultaneously fuses the node behavior pattern similarity and the risk level closeness. The method not only overcomes the defects of traditional clustering ignoring the absolute value difference of risk, effectively eliminates the interference of accidental fluctuations of a single node, but also accurately identifies the power generation node clustering cluster that "clusters" and risks synchronously and rapidly rises, thereby significantly improving the accuracy of resonance risk positioning and the reliability of early warning.
[0054] S2.3: respectively analyze the change trend of the harmonic corresponding current signal of each power generation node and each optimal clustering center at the current moment, and determine the resonance speedup characteristic value of each harmonic of each power generation node at the current moment in combination with the degree to which each power generation node belongs to each optimal clustering center, to determine the resonance risk characteristic value for resonance detection of the power generation node at the current moment.
[0055] Based on the optimal clustering center obtained in S2.2, the embodiment further determines the resonance speedup characteristic value of each harmonic of each power generation node at the current moment by respectively analyzing the change trend of the harmonic corresponding current signal of each power generation node and each optimal clustering center at the current moment, and in combination with the degree to which each power generation node belongs to each optimal clustering center, to determine the resonance risk characteristic value for resonance detection of the power generation node at the current moment, and the specific process is as follows: In the embodiment, all current data in the harmonic corresponding current signal of each power generation node and each optimal clustering center at the current moment are fitted respectively to obtain the fitting straight line of each harmonic of each power generation node and each harmonic of each optimal clustering center. It should be noted that there are many commonly used fitting methods, and in the embodiment, the least squares method is used to fit all current data in the harmonic corresponding current signal. In actual application, as other implementation manners, the implementer can also use other fitting methods such as polynomial fitting algorithm according to the specific situation, and the selection of the fitting algorithm is not specially limited in the embodiment.
[0056] Among them, the least squares method is a known technology, and the specific process of using it to fit the current data will not be repeated.
[0057] Further, the embodiment calculates the product of the degree to which each power generation node belongs to each optimal clustering center at the current moment and the slope of the fitting straight line of each harmonic of the corresponding optimal clustering center, which is recorded as the comprehensive product between each power generation node and each optimal clustering center at each harmonic. Further, the sum of the fitting straight line slope of each harmonic of each power generation node at the current time and the corresponding accumulated result of the comprehensive product of each power generation node and all optimal cluster centers at each harmonic is taken as the resonance speed-up characteristic value of each harmonic of each power generation node at the current time.
[0058] According to the resonance speed-up characteristic value of each harmonic of each power generation node at the current time, it can be understood that the resonance speed-up characteristic value quantifies the speed and trend of the harmonic pollution and deterioration of the power generation node, and is used to represent the dynamic intensity of the resonance risk development. If the resonance speed-up characteristic value of the current power generation node is larger, it means that the harmonic problem of the current power generation node is deteriorating at a faster speed. Conversely, if the resonance speed-up characteristic value of the current power generation node is smaller, it means that the harmonic problem of the current power generation node is deteriorating at a slower speed, or even tends to be stable or is being alleviated, indicating that the resonance risk is in a controllable or weakened state.
[0059] Further, based on the resonance speed-up characteristic value, the resonance risk characteristic value is determined to detect the resonance of the power generation node at the current time, specifically: If the resonance speed-up characteristic value of the z-th harmonic of the q-th power generation node at the current time is less than or equal to 0, the resonance risk characteristic value of the z-th harmonic of the q-th power generation node at the current time is set to 0, otherwise, the difference between the preset harmonic current allowable value of the z-th harmonic of the q-th power generation node and the effective value of the z-th harmonic amplitude of the q-th power generation node is calculated, and the ratio of the resonance speed-up characteristic value of the z-th harmonic of the q-th power generation node to the difference is taken as the resonance risk characteristic value of the z-th harmonic of the q-th power generation node at the current time.
[0060] It should be noted that the resonance risk characteristic value quantifies the possibility of the existence of harmonic risk of the power generation node. If the difference between the preset harmonic current allowable value of the z-th harmonic of the q-th power generation node and the effective value of the corresponding harmonic amplitude is smaller, and the resonance speed-up characteristic value is larger, it means that the possibility of the existence of resonance risk of the q-th power generation node is larger, and the corresponding resonance risk characteristic value is larger. Conversely, if the difference between the preset harmonic current allowable value of the z-th harmonic of the q-th power generation node and the effective value of the corresponding harmonic amplitude is larger, and the resonance speed-up characteristic value is smaller, it means that the possibility of the existence of resonance risk of the q-th power generation node is smaller, and the corresponding resonance risk characteristic value is smaller.
[0061] If the effective values of all harmonic amplitudes of the q-th power generation node at the current time are all smaller than the corresponding preset harmonic current allowable values, and the resonance risk characteristic values of all harmonics of the q-th power generation node do not exceed the preset resonance risk threshold value, the q-th power generation node at the current time does not have resonance risk, otherwise, the q-th power generation node at the current time has resonance risk, and all power generation nodes are detected for resonance.
[0062] It should be noted that the preset harmonic current allowable value can refer to the harmonic current allowable value of each harmonic in the GB / T 14549-93 standard, and the preset harmonic current allowable value in the embodiment will not be listed one by one.
[0063] It should be noted that the preset resonance risk threshold value in the embodiment is artificially set, and the preset resonance risk threshold value in the embodiment is 10. In actual application, as other implementation manners, the implementer can also set it by himself according to the specific situation, and the embodiment does not have special restrictions.
[0064] So far, by analyzing the harmonic change trend of the power generation node and the cluster center to which it belongs, the precise resonance speed characteristic value is calculated, and the resonance risk characteristic value that can quantify the resonance risk possibility is finally calculated by combining the harmonic over-standard risk distance, so as to realize the rapid and accurate detection and early warning of the potential resonance risk of the multi-inverter grid-connected system, and improve the accuracy and reliability of resonance risk positioning.
[0065] Based on the same inventive concept as the above method, the embodiments of the present application also provide a resonance detection system for new energy power generation, which comprises a memory, a processor and a computer program stored in the memory and running on the processor. The processor executes the computer program to realize the steps of any one of the above resonance detection methods for new energy power generation.
[0066] It should be noted that the above sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And the above describes the specific embodiments of the present application. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-task processing and parallel processing are also possible or can be advantageous.
[0067] Each embodiment in the present specification is described in a progressive manner, and the same or similar parts between each embodiment can be referred to each other. Each embodiment mainly describes the difference from other embodiments.
[0068] The above is only the preferred embodiment of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A resonance detection method for new energy power generation, characterized in that, The method includes the following steps: The current data of each power generation node within a preset time period before each moment is acquired in real time, and the current signal of each power generation node at each moment is composed, and the fundamental frequency and all subharmonics of the current signal are acquired. Based on the effective values of the fundamental wave and all subharmonic amplitudes of the current signal at each power generation node at each time point, and the fluctuation degree of the current signal corresponding to each subharmonic, the harmonic distortion rate of each power generation node at each time point is determined to determine the first resonance value of each power generation node at each time point. In combination with the difference of the effective values of all subharmonic amplitudes in the current signal of each power generation node between each time point and the previous time point, the resonance characteristic vector and resonance change vector of each power generation node at each time point are constructed. Based on the differences in the resonant feature vectors among all power generation nodes at each time point, all power generation nodes are clustered. Based on the distance between each power generation node and each cluster center, the distance between all cluster centers, and the difference in the first resonance value between each power generation node and each cluster center, the feature weight between each power generation node and each cluster center at each time point is determined. Combining the differences in the resonant change vectors and the first resonance values between each power generation node and each cluster center at each time point, as well as the degree to which each power generation node belongs to each cluster center, the objective function of the clustering algorithm is determined, so as to iteratively optimize the clustering algorithm to obtain the optimal cluster center. The changing trends of the harmonic current signals of each power generation node and each optimal cluster center at the current moment are analyzed separately. Combined with the degree to which each power generation node belongs to each optimal cluster center, the characteristic value of the resonant growth rate of each harmonic of each power generation node at the current moment is determined. In order to determine the characteristic value of the resonant risk, the resonant detection of the power generation node at the current moment is carried out.
2. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The expression for the harmonic distortion rate of each power generation node at each time point is: In the formula, Let represent the harmonic distortion rate of the j-th generating node at time i; , These represent the effective values of the fundamental amplitude and the effective values of the h-th harmonic amplitude in the current signal of the j-th generating node at time i, respectively. This indicates the degree of dispersion of all current data in the current signal corresponding to the h-th harmonic of the j-th generation node at time i. This represents the number of all harmonics in the current signal of the generating node at time i.
3. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The first resonance value of each power generation node at each time point is the average harmonic distortion rate of each power generation node at all times within a preset time period prior to each time point.
4. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The method for determining the resonance change vector of each power generation node at each time point is as follows: The total difference between the effective values of all subharmonic amplitudes of each power generation node at each time point and the previous time point is denoted as the second resonance value of each power generation node at each time point. The first resonance value of each power generation node at each time point and the second resonance value of the corresponding power generation node at all times within the preset time period before each time point are used to form the resonance feature vector of each power generation node at each time point. The second resonance value of each power generation node at all times within the preset time period before each time is used to form the resonance change vector of each power generation node at each time.
5. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The expression for the feature weights between each power generation node and each cluster center at each time point is: ; This represents the feature weight between the m-th power generation node and the n-th cluster center at time t; This represents the distance between the m-th power generation node and the n-th cluster center at time t; This represents the maximum distance between all cluster centers at time t; The difference between the first resonance value of the m-th power generation node and the n-th cluster center at time t is represented by norm[ ], which represents the normalization function. This is a preset value.
6. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The method for determining the objective function of the clustering algorithm is as follows: Objective function with respect to time t The expression is: In the formula, This indicates the degree to which the m-th power generation node belongs to the n-th cluster center at time t; The norm of the resonant change vector between the m-th power generation node and the n-th cluster center at time t is denoted by t. This represents the feature weight between the m-th power generation node and the n-th cluster center at time t; This represents the difference in the first resonance value between the m-th power generation node and the n-th cluster center at time t; This indicates the total number of all power generation nodes; This represents the number of all cluster centers; This indicates the preset fuzzy index.
7. The resonance detection method for new energy power generation as described in claim 6, characterized in that, The iterative optimization of the clustering algorithm to obtain the optimal cluster centers includes: A predetermined number of power generation nodes are randomly selected from all power generation nodes as initial cluster centers. All initial cluster centers are used as inputs to the fuzzy C-means clustering algorithm. J(t) is used as the objective function of the fuzzy C-means clustering algorithm, the difference in the resonant feature vectors between power generation nodes is used as the distance metric of the fuzzy C-means clustering algorithm, and the cluster center corresponding to the minimum value of the objective function is used as the optimal cluster center.
8. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The method for determining the characteristic value of the resonant growth rate of each harmonic at each power generation node at the current moment is as follows: Fit all current data in the current signals corresponding to each harmonic of each power generation node and each optimal cluster center at the current time, and obtain the fitting straight lines for each harmonic of each power generation node and each harmonic of each optimal cluster center. Calculate the product of the degree to which each power generation node belongs to each optimal cluster center at the current time and the slope of the fitting line of each harmonic of the corresponding optimal cluster center. This product is recorded as the comprehensive product of each power generation node and each optimal cluster center on each harmonic. Calculate the cumulative result of the comprehensive product of each power generation node and all optimal cluster centers on each harmonic at the current time. Take the slope of the fitted straight line of each harmonic of each power generation node at the current time and the sum of the corresponding cumulative results as the characteristic value of the resonant growth rate of each harmonic of each power generation node at the current time.
9. The resonance detection method for new energy power generation as described in claim 1, characterized in that, The determination of resonance risk characteristic values for resonance detection of the power generation node at the current moment includes: If the resonant growth rate characteristic value of the z-th harmonic of the q-th power generation node at the current time is less than or equal to 0, then the resonant risk characteristic value of the z-th harmonic of the q-th power generation node at the current time is set to 0. Otherwise, the difference between the preset allowable value of the harmonic current of the z-th harmonic of the q-th power generation node and the effective value of the amplitude of the z-th harmonic of the q-th power generation node is calculated, and the ratio of the resonant growth rate characteristic value of the z-th harmonic of the q-th power generation node to the difference is taken as the resonant risk characteristic value of the z-th harmonic of the q-th power generation node at the current time. If, at the current moment, the effective values of the amplitudes of all harmonics of the q-th power generation node are less than their respective preset harmonic current allowable values, and the resonance risk characteristic values of all harmonics of the q-th power generation node do not exceed the preset resonance risk threshold, then the q-th power generation node does not have resonance risk at the current moment; otherwise, the q-th power generation node has resonance risk at the current moment. Traverse all power generation nodes and perform resonance detection on all power generation nodes.
10. A resonance detection system for new energy power generation, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the resonance detection method for new energy power generation as described in any one of claims 1-9.
Citation Information
Patent Citations
Long-line wind farm grid-connected resonance information extraction method
CN105676022A
High-voltage parallel capacitor bank switching method
CN115347579A
Wide-frequency-range resonance detection method for power system
CN118962236A
Wind power plant synchronous resonance suppression method and system
CN119275867A
Power system load type intelligent identification method, system and equipment
CN119474941A