Active short circuit ratio identification method embedded kalman filter
By employing an active short-circuit ratio identification method embedded with Kalman filtering, and utilizing single-frequency disturbances injected into the grid-connected converter and sliding discrete Fourier transform, combined with Kalman filtering, the problem of insufficient response information and stability in short-circuit ratio identification in new energy grid-connected systems is solved, and stable online identification of the equivalent impedance of the external power grid is achieved.
Patent Information
- Application Number
- CN202611629448.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-21
- Publication Date
- 2026-11-20
AI Technical Summary
Existing short-circuit ratio identification methods in renewable energy grid-connected systems suffer from insufficient response information and instability issues due to errors. They are difficult to achieve stable online identification of the equivalent impedance and short-circuit ratio of the external power grid, especially when renewable energy grid-connected devices have difficulty obtaining real-time topology and remote operation information of the external power grid.
An active short-circuit ratio identification method with embedded Kalman filtering is adopted. By injecting a single-frequency disturbance of the target frequency into the grid-connected converter, combined with sliding discrete Fourier transform and Kalman filtering, voltage and current phasor parameters are extracted, a state-space model is constructed, prediction correction recursion is performed, the equivalent impedance is reconstructed, and the short-circuit ratio is calculated.
It enables stable online identification of the equivalent impedance and short-circuit ratio of the external power grid using local voltage and current information without requiring real-time topology and remote information of the external power grid, thus reducing the impact of non-target components and random fluctuations in the response signal on the impedance ratio calculation.
Smart Images

Figure CN123136185A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of new energy grid-connected systems, and in particular to an active short-circuit ratio identification method embedded with Kalman filtering. Background Technology
[0002] As the scale of new energy power generation devices connected to the power system continues to expand, the interaction between new energy grid-connected devices and the AC power grid is gradually increasing. For new energy grid-connected systems connected to the power grid via electrical equipment such as transformers and transmission lines, the external power grid at the point of common coupling (PCC) can usually be equivalent to an electrical network composed of voltage sources and equivalent impedances. The equivalent impedance of the power grid can reflect the electrical characteristics of the AC system at the point of common coupling. The short-circuit ratio (SCR), as an important indicator characterizing the strength of the AC power grid, can be used to analyze the operating characteristics of new energy grid-connected systems and the adaptation of control parameters.
[0003] Existing short-circuit ratio identification methods typically include passive identification methods based on operating state information and active identification methods based on external excitation. Passive identification methods mainly utilize the voltage and current changes that naturally occur during the operation of the grid-connected system to obtain equivalent grid parameters by analyzing the disturbance response relationship. This type of method does not require additional excitation, but its identification process depends on the system operating state and the available disturbance information. When the operating state is relatively stable, the response information available for parameter identification may be insufficient. Active identification methods apply external excitation to the grid-connected system and analyze the equivalent parameters of the grid based on the system response characteristics. This type of method can improve the availability of the response information required for parameter identification at the grid connection point. However, in the actual operation environment of new energy grid connection, the voltage and current signals at the grid connection point usually contain fundamental components, background harmonics, disturbance components generated by the control process, and measurement errors, which makes the response information used for parameter identification contain a variety of non-target components. At the same time, the equivalent impedance of the grid and the short-circuit ratio usually need to be calculated based on the relationship between voltage and current responses, and errors in the response information may affect the stability of the final identification results.
[0004] Since it is usually difficult for new energy grid-connected devices to directly obtain real-time topology, short-circuit capacity and remote operation information of the external power grid, there is an urgent need for a stable online identification method for the equivalent impedance and short-circuit ratio of the external power grid using only the local voltage and current information available at the grid connection point PCC. Summary of the Invention
[0005] This invention provides an active short-circuit ratio identification method embedded with Kalman filtering, which can effectively solve the problems in the background technology. The technical solution adopted by this invention is as follows: Active short-circuit ratio identification methods embedded with Kalman filtering include: Under the preset disturbance amplitude constraint, a single-frequency disturbance with a target frequency is injected through the control link of the grid-connected converter. The target frequency does not coincide with the fundamental frequency and background harmonic frequency at the grid connection point PCC. The local voltage and current generated by the PCC in response to the single-frequency disturbance are collected. The voltage and current are recursively processed using sliding discrete Fourier transform to extract the voltage phasor parameters and current phasor parameters at the target frequency. A state-space model of the target frequency phasor parameters is constructed, wherein the state vector of the Kalman filter includes state dimensions corresponding to the voltage phasor parameters and the current phasor parameters. The measurement input of the Kalman filter consists of the voltage phasor parameters and the current phasor parameters extracted by the sliding discrete Fourier transform. Based on the state-space model, the prediction correction recursion of the Kalman filter is performed to obtain the filtered voltage phasor parameters and the current phasor parameters. Based on the filtered voltage phasor parameters and current phasor parameters, the corresponding voltage phasor and current phasor are reconstructed, and the equivalent impedance of the PCC external power grid is calculated based on the phasor relationship between the voltage phasor and current phasor. The impedance reference is determined based on the system voltage reference and capacity reference. The equivalent resistance and equivalent inductance of the external power grid of the PCC are determined according to the equivalent impedance. The equivalent impedance of the external power grid is determined based on the equivalent resistance, the equivalent inductance and the fundamental frequency of the PCC. The equivalent impedance of the external power grid is converted into per-unit impedance. The short-circuit ratio of the PCC is determined according to the reciprocal of the per-unit impedance.
[0006] Furthermore, the voltage phasor parameters include voltage phasor amplitude and voltage phase angle, and the current phasor parameters include current phasor amplitude and current phase angle.
[0007] Further, the injection of a single-frequency disturbance with a target frequency through the control link of the grid-connected converter under a preset disturbance amplitude constraint includes: The disturbance current component at the target frequency is obtained, the disturbance current component is compared with a given disturbance reference value, and the deviation between the two is input to a PI controller for adjustment to generate a disturbance amplitude command. The single-frequency disturbance is formed according to the disturbance amplitude command.
[0008] Furthermore, before obtaining the disturbance current component at the target frequency, the voltage phase angle of the PCC is obtained through a phase-locked loop, and the current is transformed according to the voltage phase angle.
[0009] Further, the step of forming the single-frequency disturbance according to the disturbance amplitude command includes: The disturbance amplitude command is multiplied by the three-phase sinusoidal basis function to form a three-phase symmetrical disturbance voltage signal, and the three-phase symmetrical disturbance voltage signal is superimposed with the fundamental modulation signal and applied to the modulation stage of the grid-connected converter.
[0010] Furthermore, the single-frequency disturbance is superimposed on the current reference side of the grid-connected converter.
[0011] Furthermore, the recursive processing of the voltage and current using the sliding discrete Fourier transform includes: For the respective sampling sequences of voltage and current, based on a sliding window containing a preset number of sampling points, when a new sampling value is obtained, the target frequency spectrum value at the previous sampling moment is recursively updated according to the difference between the new sampling value and the earliest sampling value that was moved out of the sliding window and the rotation factor corresponding to the target frequency, and the voltage phasor parameter and the current phasor parameter are determined according to the updated target frequency spectrum value.
[0012] Furthermore, the state-space model includes a state transition matrix and a measurement matrix, both of which are identity matrices.
[0013] Furthermore, the state-space model also includes process noise and measurement noise, both of which are Gaussian noise with zero mean, and each has a process noise covariance matrix and a measurement noise covariance matrix, respectively.
[0014] Furthermore, the prediction correction recursion of the Kalman filter includes: Based on the state estimate and covariance estimate of the previous sampling time, obtain the state prediction and covariance prediction of the current sampling time; The Kalman gain is determined based on the predicted covariance value and the measurement noise covariance matrix. Based on the Kalman gain and the residual between the current measurement input corresponding to the sliding discrete Fourier transform and the state prediction value, the state prediction value is corrected to obtain the state estimate value at the current sampling time, and the covariance prediction value is updated to obtain the covariance estimate value at the current sampling time.
[0015] Furthermore, the corresponding voltage phasor and current phasor are reconstructed based on the filtered voltage phasor parameters and current phasor parameters, and the equivalent resistance and equivalent inductance of the external power grid of the PCC are determined based on the phasor ratio of the voltage phasor and current phasor and the target frequency.
[0016] Furthermore, the single-frequency disturbance is injected within a preset start / stop window.
[0017] The technical solution of this invention can achieve the following technical effects: This invention obtains the PCC response under active disturbance conditions and performs recursive extraction and state estimation of the voltage and current phasor parameters at the target frequency, making the input data participating in the equivalent impedance calculation more stable; since the impedance calculation is based on the relationship between voltage phasors and current phasors, fluctuations in the input phasor parameters will directly affect the impedance identification results; this invention performs state estimation of phasor parameters before impedance calculation, reducing the impact of phasor fluctuations on the short-circuit ratio identification results further transmitted through impedance calculation.
[0018] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of the overall structure of the active short-circuit ratio identification method embedded with Kalman filtering in this invention; Figure 2 This is a schematic diagram of the Thevenin equivalent model of the external power grid of the PCC in this invention; Figure 3 This is a schematic diagram of the modulation-side single-frequency disturbance injection structure based on amplitude closed-loop control according to the present invention; Figure 4 This is a schematic diagram illustrating the recursive principle of the target frequency sliding discrete Fourier transform of the present invention. Figure 5 This is a schematic diagram of the topology of a new energy grid-connected system in a simulation embodiment of the present invention; Figure 6 This is a diagram showing the short-circuit ratio identification results in a simulation embodiment of the present invention when Kalman filtering is not used; Figure 7 This is a diagram showing the short-circuit ratio identification results when using Kalman filtering in a simulation embodiment of the present invention. Detailed Implementation
[0021] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0022] 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 this invention pertains. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0023] The active short-circuit ratio identification method embedded in Kalman filtering of the present invention specifically includes the following steps: Step S100: Under the preset disturbance amplitude constraint, a single-frequency disturbance with a target frequency is injected through the control link of the grid-connected converter. The target frequency does not coincide with the fundamental frequency and background harmonic frequency at the grid connection point PCC. The local voltage and current generated by the PCC in response to the single-frequency disturbance are collected. Step S200: The voltage and current are recursively processed by the sliding discrete Fourier transform to extract the voltage phasor parameters and current phasor parameters at the target frequency; Step S300: Construct a state space model of the target frequency phasor parameters, wherein the state vector of the Kalman filter includes state dimensions corresponding to the voltage phasor parameters and the current phasor parameters, the measurement input of the Kalman filter consists of the voltage phasor parameters and the current phasor parameters extracted by the sliding discrete Fourier transform, and the prediction correction recursion of the Kalman filter is performed based on the state space model to obtain the filtered voltage phasor parameters and the current phasor parameters. Step S400: Reconstruct the corresponding voltage phasor and current phasor based on the filtered voltage phasor parameters and current phasor parameters, and calculate the equivalent impedance of the external power grid of the PCC based on the phasor relationship of the voltage phasor and current phasor. Step S500: Determine the impedance reference based on the system voltage reference and capacity reference; determine the equivalent resistance and equivalent inductance of the external power grid of the PCC according to the equivalent impedance; determine the equivalent impedance of the external power grid based on the equivalent resistance, the equivalent inductance and the fundamental frequency of the PCC; convert the equivalent impedance of the external power grid into per-unit impedance; and determine the short-circuit ratio of the PCC according to the reciprocal of the per-unit impedance.
[0024] like Figure 1 As shown in the figure, this embodiment illustrates the data flow of active identification from the system side: the grid-connected converter applies a disturbance to the PCC, and the voltage and current are synchronously collected at the PCC. The sampled signal is extracted and then enters the impedance identification. In this embodiment, the signal extraction specifically includes the sliding discrete Fourier transform recursion in step S200 and the Kalman filter state estimation in step S300. The impedance identification specifically includes the equivalent impedance calculation in step S400 and the short-circuit ratio calculation in step S500.
[0025] In this embodiment, by combining constrained active perturbation, target frequency recursive extraction, and phasor state estimation, impedance identification information in the local voltage and current response at the grid connection point can be effectively extracted within the target frequency range. Furthermore, phasor parameter stabilization is performed before impedance calculation, thereby reducing the impact of non-target components and random fluctuations in the response signal on impedance ratio calculation. Based on the above combined processing, this method can achieve stable online identification of the equivalent impedance and short-circuit ratio of the external power grid using only the local voltage and current information of the PCC without needing to obtain real-time topology and remote operation information of the external power grid.
[0026] In a specific implementation, as one example, this embodiment addresses two types of constraints that exist when relying solely on the local voltage and current of the grid-connected PCC for grid equivalent impedance identification: First, natural disturbances during steady-state operation of the grid-connected system do not have definite frequencies and amplitudes, making it difficult to continuously provide voltage and current responses of the same frequency that can be used for impedance identification; Second, if a fixed-amplitude open-loop disturbance is used in the grid-connected converter control link, the target frequency current component formed after the disturbance is transmitted through the control loop and the external power grid will change with the operating conditions, making it difficult to simultaneously consider both the observability of the disturbance response and the disturbance amplitude constraint. Based on this, this embodiment sets up a single-frequency disturbance injection channel in the existing control link of the grid-connected converter, using the disturbance current component at the target frequency as the amplitude feedback quantity, adjusting the disturbance amplitude through a closed-loop PI controller, and completing the disturbance injection and PCC local response acquisition within the preset disturbance amplitude constraint and preset start / stop time window, as detailed below: Step S110: Determine the target frequency, disturbance amplitude constraint, and disturbance start / stop window for the single-frequency disturbance. The target frequency is selected from the frequency range that the grid-connected converter control and sampling system can handle, avoiding the fundamental frequency at the PCC and the existing main background harmonic frequencies, so that the response component at the target frequency after injection can be distinguished from the fundamental component and the background harmonic components. The disturbance amplitude constraint is used to limit the disturbance amplitude command generated by the subsequent PI controller. The constraint at least satisfies that the modulation command of the grid-connected converter after superimposed disturbance is within the predetermined modulation allowable range, and that the PCC voltage and grid current do not exceed the operating limits set by the device during the disturbance injection period. The disturbance start / stop window is used to specify the time interval for the single-frequency disturbance to enter and exit the control link. Outside the start / stop window, the single-frequency disturbance used for this identification is not applied to the grid-connected converter. Through the above settings, the selection conditions of the target frequency, the disturbance intensity boundary, and the disturbance duration interval are determined before injection, and the subsequent amplitude closed loop is only adjusted within the boundaries.
[0027] Step S120: Obtain the PCC voltage phase angle and establish a coordinate reference for the disturbance current feedback quantity; sample the three-phase voltage of the PCC and obtain the PCC voltage phase angle from the original phase-locked loop of the grid-connected converter; perform coordinate transformation on the collected three-phase grid-connected current according to the PCC voltage phase angle so that the current quantity and the PCC fundamental voltage adopt the same phase reference; after completing the coordinate transformation, send the corresponding current quantity into the disturbance signal extraction stage to obtain the disturbance current component at the target frequency; this disturbance current component is used as the feedback quantity of the disturbance amplitude closed loop in this step, and its purpose is to constrain the actual injection intensity, and it does not replace the extraction of the target frequency voltage phasor and current phasor used for the grid equivalent impedance calculation in step S200; the phase-locked loop provides a unified phase reference, which can keep the current feedback quantity in the amplitude closed loop consistent with the existing synchronous control coordinates of the grid-connected converter.
[0028] Step S130: Generate a disturbance amplitude command based on the disturbance current component at the target frequency; the disturbance signal extraction stage obtains the disturbance current component at the target frequency from the current quantity after coordinate transformation, and compares the disturbance current component with a pre-given disturbance reference value; the disturbance reference value and the feedback disturbance current component use the same amplitude definition and dimension; the deviation between the two is input to the PI controller, and the PI controller generates a disturbance amplitude command based on the current deviation and the cumulative deviation; then, the PI controller output is limited according to the disturbance amplitude constraint determined in step S110. When the PI controller output does not reach the constraint boundary, the PI controller output is used as the disturbance amplitude command; when the PI controller output exceeds the constraint boundary, the corresponding boundary value is used as the actual disturbance amplitude command; after this processing, the given disturbance reference value determines the control target of the current response at the target frequency, and the disturbance amplitude constraint determines the maximum disturbance intensity that can be applied to the grid-connected converter. The roles of the two in the control link are distinct.
[0029] Step S140: Generate a three-phase symmetrical disturbance voltage signal according to the disturbance amplitude command; construct a three-phase sinusoidal basis function with a frequency equal to the target frequency and a phase difference of 120° between the three phases, and multiply the disturbance amplitude command obtained in step S130 by the sinusoidal basis function of the corresponding phase to obtain the three-phase disturbance voltage command; the three-phase disturbance voltage command uses the same amplitude command and maintains the three-phase symmetrical relationship, and its frequency is limited by the target frequency determined in step S110; when the disturbance starts, the three-phase sinusoidal basis function is continuously updated according to the same target frequency; when the disturbance stops, the disturbance amplitude command is set to zero or the disturbance channel is exited, so that the disturbance voltage signal is removed from the grid-connected converter control link; thus, the frequency of the disturbance is determined by the sinusoidal basis function, and the actual amplitude of the disturbance is determined by the closed-loop adjustment result of step S130.
[0030] Step S150: The three-phase symmetrical disturbance voltage signal is superimposed onto the modulation stage of the grid-connected converter and amplitude closed-loop is executed; the three-phase symmetrical disturbance voltage signal formed in step S140 is superimposed phase by phase with the original fundamental modulation signal of the grid-connected converter, and the superposition result is used as the input of the modulation stage, and the corresponding power device drive signal is formed by the original modulation algorithm; during the disturbance injection period, the voltage and current response corresponding to the target frequency is generated at the PCC, and steps S120 to S130 continuously obtain the target frequency disturbance current feedback and update the disturbance amplitude command; when the actual disturbance current When the component is lower than the given disturbance reference value, the PI controller adjusts the disturbance amplitude command within the allowable range of the disturbance amplitude constraint; when the actual disturbance current component is higher than the given disturbance reference value, the PI controller adjusts the disturbance amplitude command in the opposite direction; therefore, when the equivalent impedance of the external power grid or the control transmission characteristics of the grid-connected converter change, the disturbance voltage command can be corrected based on the local disturbance current feedback, instead of always maintaining a preset fixed open-loop amplitude; this injection method utilizes the original control and modulation capabilities of the grid-connected converter and does not require changes to the main circuit topology of the grid-connected converter.
[0031] Step S160: Acquire the local voltage and current generated by the PCC in response to the single-frequency disturbance; within the disturbance start-stop time window, synchronously sample the three-phase voltage and three-phase grid-connected current of the PCC, so that the voltage and current data at the same sampling time adopt a consistent time base, and save the sampling sequence corresponding to this disturbance injection; the acquired signal is allowed to contain fundamental components, background harmonics, non-target frequency components formed by the control modulation process, and measurement noise at the same time. This step does not directly calculate the equivalent impedance of the grid based on the original sampled values, but provides the sampling sequence to step S200 to extract voltage phasor parameters and current phasor parameters at the target frequency; wherein, the voltage phasor parameters include voltage phasor amplitude and voltage phase angle, and the current phasor parameters include current phasor amplitude and current phase angle; since this step only calls the local measurement of the PCC, it does not require the real-time topology, short-circuit capacity, or remote measurement data of the external power grid, and can be implemented together with the data acquisition link of the local controller of the grid-connected converter.
[0032] Step S170: When the disturbance stopping condition is met, the current injection ends and response data is output to the subsequent identification steps; the disturbance stopping condition is based on the start / stop time window set in step S110; after the stopping time is reached, the single-frequency disturbance on the modulation side is removed and the original fundamental frequency control link of the grid-connected converter is retained; if the PI controller output reaches the disturbance amplitude constraint boundary during the disturbance injection period but the target frequency disturbance current component still does not reach the given disturbance reference value, the amplitude constraint boundary is maintained and the disturbance amplitude is no longer increased, with the disturbance amplitude constraint taking priority over the disturbance reference value tracking; after the injection is completed, the PCC voltage and current sequence collected within the start / stop time window is sent to step S200 for target frequency phasor parameter extraction; through this processing, local response data corresponding to the known target frequency can be obtained under the condition that the disturbance intensity boundary is not broken.
[0033] In another embodiment, the single-frequency disturbance is not superimposed on the modulation side of the grid-connected converter, but on the current reference side of the grid-connected converter. This embodiment still uses the target frequency, disturbance amplitude constraint, and start / stop time window determined in step S110, and uses the grid-connected converter current control loop to make the target frequency disturbance affect the grid current. The acquisition method of PCC local voltage and current and the subsequent extraction method of target frequency phasor parameters remain unchanged. For current reference side injection, the disturbance command entry point is moved from the modulation wave generation stage to the current reference setting stage. Whether to use this injection position can be determined according to the interface conditions of the existing control software of the grid-connected converter. Both injection positions utilize the original power conversion main circuit to form the PCC target frequency response, without requiring the addition of external disturbance hardware as a prerequisite for implementation.
[0034] like Figure 3 As shown, the disturbance injection channel is set in the existing control link of the grid-connected converter; the phase angle of the PCC voltage is obtained through the phase-locked loop, the target frequency disturbance current component is extracted after the sampling current is transformed by coordinate transformation, and compared with the disturbance reference value. The deviation is used by the PI controller to form a disturbance amplitude command; the disturbance amplitude command is multiplied by the three-phase sinusoidal basis functions with a phase difference of 120° to form a three-phase symmetrical disturbance voltage, which is then superimposed on the original modulation signal of the grid-connected converter.
[0035] In step S100 of this embodiment, the target frequency of the single-frequency disturbance is offset from the fundamental frequency of the PCC and the main background harmonic frequencies, so that the single-frequency extraction has a definite target frequency point; the target frequency disturbance current component and the given disturbance reference value form an amplitude closed loop, so that the disturbance command can be adjusted according to the actual response; the disturbance amplitude constraint limits the output of the PI controller, so that the reference value tracking does not exceed the pre-defined injection boundary; the three-phase symmetrical disturbance voltage and the fundamental modulation signal are superimposed in the control software, so that the active excitation can be realized by relying on the existing modulation link of the grid-connected converter.
[0036] In a specific implementation, as one example, step S100 collects the PCC voltage and grid-connected current within a preset disturbance start / stop time window; in addition to the target frequency response, the voltage and current may also include the fundamental component, background harmonics, non-target frequency components formed by the control modulation process, and measurement noise; step S200 sets a fixed-length sliding window for the voltage and current sampling sequence obtained in step S100, and uses a sliding discrete Fourier transform to recursively extract the voltage phasor parameters and current phasor parameters at the target frequency; adjacent sliding windows differ only by one newly entered sample and one removed sample. After obtaining the orthogonal component of the target frequency in the first complete window, subsequent windows update the target frequency calculation value of the previous window based on the difference between the newly entered sample and the removed sample and the rotation factor corresponding to the target frequency, as follows: Step S210: Receive the PCC voltage and current sampling sequence and determine the sliding window and frequency parameters; let the sampling frequency be f. s The fundamental frequency of the PCC is f g The fundamental period of the PCC is T, the sampling time interval is τ, and the sliding window contains N consecutive sampling points; where T = 1 / f g τ=1 / f s In this embodiment, one PCC fundamental period is used as the sliding window, and the number of sampling points N in the window is determined by the following formula:
[0037] In the formula, f s f is the sampling frequency, in Hz; g τ is the fundamental frequency of the PCC, in Hz; T is the period of the PCC fundamental frequency, in seconds; τ is the sampling time interval, in seconds; N is the number of sampling points contained in a sliding window, N is a positive integer; ω represents the angular frequency of the PCC fundamental frequency, ω=2πf g Let j represent the target frequency index, where j is a positive integer greater than 1. The target angular frequency is jω, and the corresponding target frequency is jf. g j is selected according to the target frequency determined in step S100, and jf is made g It does not coincide with the fundamental frequency of the PCC or the background harmonic frequency that already exists at the PCC; from Nτ=T, we can get jωNτ=2πj, so that the newly entered sample and the removed sample, which are N sampling points apart, have the same sine and cosine rotation factors at the target frequency.
[0038] Step S220: Establish the first complete sliding window and initialize the target frequency orthogonal component; write the sampled data into a sliding window of length N in the order of sampling; after the window obtains N valid sampling points, the first complete window is formed, denoted by k=0, and the sample index is i=0, 1, ..., N-1; for any voltage sampling sequence or current sampling sequence x(iτ) to be processed, calculate the cosine orthogonal component A of the target frequency according to the N-point discrete Fourier relation. j,0 Orthogonal component B of the sine wave j,0 :
[0039] In the formula, x(iτ) is the voltage or current sample value at the i-th sampling time; i is the discrete sampling index within the first complete window; A j,0 B represents the cosine orthogonal component of the first complete window at the target frequency jω; j,0 The first complete window is the sinusoidal orthogonal component at the target frequency jω; the subscript j represents the target frequency index, and the subscript 0 represents the first complete window; the PCC voltage sampling sequence and the PCC current sampling sequence perform the above initialization calculations respectively, and use the same N, τ, ω and j.
[0040] Step S230: Recursively update the target frequency orthogonal components based on the newly entered and removed samples; let N c This is the sampling index corresponding to the newly entered sample value in the sliding window; after the first complete window is formed, N is used in the first recursion. c =N, and thereafter, for each new synchronization sample value obtained, N... c Increase by 1; the number of new samples entering the current window is x(N) c τ), the earliest sample moved out of the previous window is x(N) c τ-Nτ); where k represents the recursive index of the currently active sliding window, k=N c -N+1; Since jωNτ=2πj, the rotation factor of the newly entered sample and the removed sample is the same at the target frequency, and the orthogonal components of the target frequency are updated recursively according to the following formula:
[0041] In the formula, A j,k and B j,k These are the cosine orthogonal component and the sine orthogonal component of the k-th sliding window at the target frequency jω, respectively; A j,k-1 and B j,k-1 These are the cosine orthogonal components and sine orthogonal components corresponding to the previous sliding window, respectively; x(N) c τ) represents the currently newly entered sample; x(N) c τ-Nτ) represents the earliest sample currently removed; N cThe sampling index of the newly entered sample; k is the recursive index of the sliding window; cos(jωN) c τ) and sin(jωN c τ) are the cosine rotation factor and sine rotation factor corresponding to the current target frequency, respectively; component A uses the cosine rotation factor, and component B uses the sine rotation factor.
[0042] Step S240: Perform the recursive update of step S230 on the PCC voltage sampling sequence and the grid-connected current sampling sequence respectively; the two types of sampling sequences use the same sampling frequency, sliding window length, sampling index and target frequency, so that the voltage quadrature component and current quadrature component corresponding to the same recursive number k come from the sampling window of the same time range; each time a new set of synchronous voltage and current sampling values is obtained, they are added to the corresponding sliding window respectively, and the earliest sampling value of each window is removed respectively.
[0043] Step S250: Determine the phasor amplitude and phase angle based on the target frequency quadrature components of the current sliding window; for voltage sampling sequences or current sampling sequences, obtain A in the k-th sliding window. j,k and B j,k Then, calculate the amplitude and phase angle of the target frequency component according to the following formula:
[0044] In the formula, F j,k Φ is the amplitude of the component at the target frequency jω of the k-th sliding window; j,k Let A be the phase angle of the k-th sliding window at the target frequency jω; j,k and B j,k These are the cosine quadrature components and sine quadrature components under the same sliding window and the same target frequency; when calculating the phase angle, A is used... j,k and B j,k Quadrant determination is performed based on the sign of A; when A j,k When =0, B is not executed directly. j,k / A j,k The division operation, and according to B j,k The sign of A determines the phase angle; when A j,k =0 and B j,k When = 0, the sliding window does not output a valid phase angle; the amplitude and phase angle calculated from the PCC voltage sampling sequence are denoted as V. mag,k and V ang,k The amplitude and phase angle calculated from the grid-connected current sampling sequence are denoted as I. mag,k and I ang,k .
[0045] Step S260: Continuously recursively calculate and output the target frequency phasor parameters within the disturbance start / stop window; after the first complete window is initialized, for each new set of synchronous voltage and current sample values obtained, update the corresponding target frequency quadrature components according to step S230, and calculate the voltage phasor amplitude, voltage phase angle, current phasor amplitude, and current phase angle of the current sliding window according to step S250; each recursion only processes newly entered samples, removed samples, and the rotation factor corresponding to the target frequency, without re-performing the complete weighted summation of the N-1 sample points shared by adjacent windows, and without calculating the complete spectrum of non-target frequencies; the resulting V mag,k V ang,k I mag,k and I ang,k As the measurement input for the Kalman filter in step S300.
[0046] like Figure 4 As shown, the sliding discrete Fourier transform uses a delay chain of length N to store continuous samples within the sliding window. Every time the window moves forward by one sampling time, a new sample is written and the earliest sample is moved out. In this embodiment, the complete discrete Fourier transform is not re-executed for all frequencies. Instead, the orthogonal components of the target frequency are recursively updated using the difference between the newly entered sample and the moved-out sample and the rotation factor corresponding to the target frequency. This is specifically implemented by steps S220 to S260.
[0047] In step S200 of this embodiment, the first complete sliding window is used to determine the initial value of the target frequency quadrature component. Subsequent sliding windows use the difference between the newly entered sample and the removed sample to recursively update the same target frequency quadrature component, and obtain the voltage phasor amplitude, voltage phase angle, current phasor amplitude and current phase angle accordingly. The N-1 sampling points shared by adjacent windows do not need to be fully summed repeatedly, and the recursive result corresponds to the state quantity definition in step S300. In a specific implementation, as one example, step S200 continuously outputs the voltage phasor amplitude, voltage phase angle, current phasor amplitude, and current phase angle at the target frequency, and uses the corresponding parameters as the measurement input for step S300. Due to the influence of finite sliding windows, background harmonics, control modulation processes, and measurement noise, the phasor parameters of adjacent sliding windows may still exhibit random fluctuations or local abrupt changes. If the measurement parameters are directly used for subsequent phasor relationship calculations, the measurement fluctuations will enter the equivalent impedance calculation along with the voltage and current parameters. In this embodiment, a Kalman filter state estimation is set between the extraction of target frequency phasor parameters and the calculation of the equivalent impedance of the external power grid. The four target frequency phasor parameters constitute the state variables, and the corresponding parameters output in step S200 constitute the measurement inputs. The filtered voltage phasor parameters and current phasor parameters are obtained through state prediction, Kalman gain calculation, and state correction, as detailed below: Step S310: Receive the target frequency phasor parameters output in step S200 and construct a measurement vector; let k represent the phasor output time corresponding to the kth effective sliding window, and input the V obtained in step S200 at that time. mag,k V ang,k I mag,k and I ang,k The measurement vector z is formed in the order of voltage phasor amplitude, voltage phase angle, current phasor amplitude, and current phase angle. k :
[0048] In the formula, z k V is the measurement vector at the output time of the k-th phasor; mag,k The voltage phasor amplitude output in step S200; V ang,k The voltage phase angle output in step S200; I mag,k The current phasor amplitude output in step S200; I ang,k The current phase angle output in step S200; the superscript T indicates vector transpose; the state vector x of the Kalman filter. k The four state dimensions are set in the same order as the measurement vector, corresponding to the voltage phasor amplitude, voltage phase angle, current phasor amplitude, and current phase angle to be estimated at the target frequency.
[0049] Step S320: Construct a discrete state-space model of the target frequency phasor parameters; the target frequency phasors corresponding to adjacent sliding windows establish a transition relationship according to the state at adjacent time points during continuous operation. The measurement vector is obtained from the same state through the measurement relationship. The state transition equation and the measurement equation are as follows:
[0050] In the formula, x k and x k+1 These are the state vectors at the output times of the k-th and (k+1)-th phasors, respectively; z k+1 The measurement vector obtained in step S200 is the output vector of the (k+1)th phasor; F is the state transition matrix; H is the measurement matrix; w k v represents the process noise corresponding to the k-th state transition process; k The measurement noise corresponds to the (k+1)th measurement time; the target frequency phasor is processed as a slowly changing state between adjacent sliding windows, and the four state quantities correspond to the four measurement parameters in step S200 item by item. In this embodiment, F and H are both set as fourth-order identity matrices:
[0051] In the formula, I4 is a fourth-order identity matrix; both process noise and measurement noise are modeled as Gaussian noise with a mean of zero.
[0052] In the formula, Q k R is the process noise covariance matrix corresponding to the k-th state transition process; k Let Q be the measurement noise covariance matrix corresponding to the (k+1)th measurement time; both are 4×4 matrices that match the four-dimensional state vector; k R is used to characterize the uncertainty of state changes between adjacent windows. k Used to characterize the uncertainty of SDFT measurement parameters; when performing Kalman gain calculation, it makes the measurement prediction covariance formed by H and the covariance prediction value and R... k The sum is reversible.
[0053] Step S330: Initialize state estimation and covariance estimation; Step S200: When the first set of effective target frequency phasor parameters is output, the corresponding measurement vector is used as the initial state estimate, and the fourth-order initial covariance matrix P0 is set:
[0054] In the formula, This represents the initial state estimate, and z0 is the first valid measurement vector; P0 represents the initial covariance estimate, where P0 is the preset initial estimation error covariance matrix; P0, Q k and R k The dimensions are consistent with the dimensions of the state vector; this embodiment does not impose a fixed limit on its specific value, but sets it according to the noise level of the grid-connected converter measurement link and phasor output for subsequent recursion.
[0055] Step S340: Perform state prediction based on the state estimate and covariance estimate of the previous phasor output time; after the correction is completed at the k-th phasor output time, predict the state and covariance at the (k+1)-th phasor output time, as follows:
[0056]
[0057] In the formula, This represents the state prediction value at the (k+1)th phasor output time. This represents the predicted covariance value at the (k+1)th phasor output time. This is the state estimate at the output time of the k-th phasor; Let F be the covariance estimate at the output time of the k-th phasor; the transpose of F is denoted as Fk. T Q k The process noise covariance is added to the covariance prediction; since the mean of the process noise is zero, the state prediction value is determined by the previous state estimate through the state transition matrix.
[0058] Step S350: Determine the Kalman gain and measurement residual based on the covariance prediction value and the current measurement input; after obtaining the measurement vector at the (k+1)th phasor output time, calculate the Kalman gain according to the following formula:
[0059] In the formula, K k+1 H is the Kalman gain matrix at the (k+1)th phasor output time; T This is the transpose of the measurement matrix H; the superscript -1 indicates matrix inversion; then the measurement residual is determined by the difference between the current measurement vector and the predicted measurement corresponding to the state prediction value:
[0060] In the formula, r k+1 The measurement residual at the (k+1)th phasor output time; z k+1 The measurement vector is composed of the current output of step S200; the product of H and the state prediction value is the corresponding predicted measurement; the Kalman gain is determined by the covariance prediction value and the measurement noise covariance, so that the measurement residual enters the state correction according to the current gain.
[0061] Step S360: Correct the state prediction value based on the Kalman gain and measurement residual, and update the covariance estimate; the state estimate and covariance estimate are updated respectively according to the following formulas:
[0062]
[0063] In the formula, This is the state estimate after correction at the (k+1)th phasor output time; Ik+1 is the covariance estimate corrected at the output time of the phasor; I4 is the fourth-order identity matrix; the deviation between the current measurement and the state prediction is expressed as K. k+1 After weighting, the predicted state value is added. The measurement mutation in a single sliding window does not directly replace the state estimate of the previous time step, but participates in the current state update according to the Kalman gain.
[0064] Step S370: Output the filtered target frequency phasor parameters and proceed to the next time step for recursion; expand the state estimation vector at the (k+1)th phasor output time according to the four state dimensions as follows:
[0065] In the formula, and These are the filtered voltage phasor magnitude and voltage phase angle, respectively. and These are the filtered current phasor amplitude and current phase angle, respectively. The four filtered parameters are used as inputs for step S400 to reconstruct the voltage phasor, current phasor, and calculate the equivalent impedance of the external power grid. At the same time, the current state estimate and covariance estimate are retained as the recursive initial values for steps S340 to S360 at the next phasor output time.
[0066] In this embodiment, the four target frequency phasor parameters output in step S200 are used as Kalman filter measurement inputs. The unit state transition matrix and unit measurement matrix make the state dimension correspond to the measurement dimension item by item. In the prediction stage, the state estimate and covariance estimate of the previous moment are retained. In the correction stage, the state is updated according to the current measurement residual and Kalman gain. Thus, the random fluctuations and local mutations in the SDFT measurement are recursively corrected before entering step S400. The filter output maintains the same parameter form as the voltage phasor amplitude, voltage phase angle, current phasor amplitude, and current phase angle.
[0067] In a specific implementation, as one example, step S300 outputs the filtered target frequency voltage phasor amplitude, voltage phase angle, current phasor amplitude, and current phase angle; step S400 recovers the PCC target frequency voltage phasor and current phasor using the parameters; the target frequency determined in step S100 avoids the PCC fundamental frequency and major background harmonic frequencies, and at this frequency, the same-frequency component of the external Thevenin equivalent voltage is treated as zero. The PCC target frequency voltage response is determined by the phasor relationship between the external grid equivalent impedance and the target frequency current response; the voltage phasor and current phasor are reconstructed based on the filtered amplitude and phase angle, and the PCC external grid equivalent impedance is determined by the phasor ratio of the two. The equivalent resistance and equivalent inductance are determined based on the real part, imaginary part, and target angular frequency of the equivalent impedance, as detailed below: Step S410: Receive the filtered target frequency phasor parameters output in step S300 and determine the impedance calculation frequency; let k represent the current effective filter output time, and the impedance calculation uses the target angular frequency ω corresponding to the single-frequency perturbation injected in step S100. inj The target angular frequency is consistent with the target frequency processed in steps S200 and S300.
[0068] Step S420: Reconstruct the target frequency voltage phasor and current phasor of the PCC based on the filtered phasor magnitude and phase angle; the voltage phasor and current phasor at the k-th filtered output time are as follows:
[0069]
[0070] In the formula, V pcc,k I is the PCC target frequency voltage phasor reconstructed at the k-th filter output time. pcc,kThe target frequency current phasor of the PCC is reconstructed at the k-th filter output time; the four parameters on the right side of the formula are, in order, the amplitude of the filtered voltage phasor, the voltage phase angle, the amplitude of the current phasor, and the current phase angle output in step S300; the symbol ∠ represents the amplitude-phase angle representation of the phasor; the voltage phasor and the current phasor use the same target frequency and correspond to the same filter output time k.
[0071] Step S430: Determine the equivalent impedance of the external power grid based on the voltage phasor and current phasor at the target frequency of the PCC; according to the Thevenin equivalent relationship at the PCC, the equivalent impedance of the external power grid at the k-th filter output time satisfies:
[0072] In the formula, Z g,k V represents the equivalent impedance of the external power grid of the PCC at the k-th filter output time. g (ω inj The external Thevenin equivalent voltage is represented by the voltage phasor component at the target angular frequency; the meanings of the other parameters are the same as before; since the target frequency avoids the PCC fundamental frequency and the main background harmonic frequency according to the frequency selection condition in step S100, the target frequency equivalent model in this embodiment takes:
[0073] Under the above conditions, the identification value of the equivalent impedance of the external power grid is determined by the following formula:
[0074] In the formula, the equivalent impedance identification value corresponds to the equivalent impedance of the external power grid of the PCC at the k-th filter output time; V pcc,k and I pcc,k These are the PCC target frequency voltage phasor and current phasor reconstructed in step S420, respectively; after obtaining the effective target frequency voltage phasor and current phasor, the above phasor ratio calculation is performed.
[0075] Step S440: Determine the equivalent resistance and equivalent inductance of the external power grid based on the real and imaginary parts of the equivalent impedance; when the external power grid is represented by the series resistance-inductance equivalent parameters, the real part of the impedance at the target frequency corresponds to the equivalent resistance, and the ratio of the imaginary part of the impedance to the target angular frequency corresponds to the equivalent inductance, respectively:
[0076]
[0077] In the formula, the parameter obtained from the first formula is the equivalent resistance identification value of the external power grid at the k-th filter output time, in Ω; the parameter obtained from the second formula is the corresponding equivalent inductance identification value of the external power grid, in H; Re{·} and Im{·} represent taking the real and imaginary parts of the complex number, respectively; ω injThe target angular frequency.
[0078] Step S450: Output the equivalent impedance, equivalent resistance, and equivalent inductance of the external power grid at the current filter output moment; after obtaining the effective equivalent impedance calculation result, save the equivalent parameters of the external power grid corresponding to the current target frequency response, and provide the equivalent impedance calculation result to step S500; after the next set of filtered voltage and current phasor parameters arrive, update the equivalent parameters at the corresponding moment according to steps S410 to S440; this step only uses the local voltage and current phasors of the PCC and the known target frequency, and does not call the real-time topology, short-circuit capacity, or remote measurement data of the external power grid.
[0079] like Figure 2 As shown, when viewed from the PCC to the external power grid, the external network of the PCC can be equivalently represented as a Thevenin voltage source G on the power grid side connected to a series equivalent impedance. The series equivalent impedance is composed of the reactance corresponding to the equivalent resistance and the equivalent inductance. Step S430 uses the relationship between the PCC voltage phasor and the current phasor at the target frequency to determine the equivalent impedance. Step S440 further obtains the equivalent resistance and equivalent inductance based on the real part, imaginary part and target angular frequency of the equivalent impedance.
[0080] With the above settings, the ratio of the PCC filter voltage phasor to the current phasor is used to determine the equivalent impedance of the external power grid, and the equivalent resistance and equivalent inductance are obtained from the real part, imaginary part and target angular frequency of the equivalent impedance. The results are then used in step S500.
[0081] In a specific implementation, as one example, step S400 outputs the PCC external power grid equivalent impedance identification value, equivalent resistance identification value, and equivalent inductance identification value corresponding to the current effective filter output time; the single-frequency disturbance target frequency selected in step S100 avoids the PCC fundamental frequency. Therefore, the equivalent impedance obtained in step S400 corresponds to the target disturbance frequency, and the impedance magnitude at that frequency is not directly used as the fundamental equivalent impedance for short-circuit ratio calculation; in this embodiment, under the series resistance-inductance equivalent model used in step S400, the identified equivalent resistance and equivalent inductance are used to determine the nominal value of the external power grid equivalent impedance for short-circuit ratio calculation according to the PCC fundamental frequency, and then converted to per-unit impedance based on the system voltage reference and capacity reference, and the PCC short-circuit ratio is determined according to the reciprocal of the per-unit impedance; the equivalent parameters are formed by the single-frequency disturbance response within the preset start-stop time window, as follows: Step S510: Determine the system voltage reference and capacity reference used for short-circuit ratio calculation, and determine the impedance reference accordingly; Indicates the system voltage reference, in This represents the baseline for the grid-connected capacity of new energy systems, based on... To represent the impedance reference, the three conditions must be met:
[0082] In the formula, As the system voltage reference; This serves as a baseline for the access capacity of new energy grid-connected systems. As an impedance reference; and The same system reference and corresponding voltage level are used; in one embodiment using a three-phase system reference, The effective value of the line voltage corresponding to the voltage level of PCC is used as the reference. Using a three-phase capacity reference, so that by The obtained impedance reference is consistent with the nominal value of the external power grid impedance obtained in step S400 under the system reference.
[0083] Step S520: Determine the nominal value of the external power grid equivalent impedance at the PCC fundamental frequency based on the equivalent resistance identification value and equivalent inductance identification value obtained in step S400; use the PCC fundamental frequency defined in step S200. and PCC fundamental angular frequency ,in Under the series resistance-inductance equivalent model used in step S400, the first... The nominal value of the fundamental equivalent impedance at each effective impedance output moment is determined by the following formula:
[0084] In the formula, and Step S400 is respectively in the first The equivalent resistance and equivalent inductance of the external power grid are obtained at each effective impedance output moment. This is the fundamental angular frequency of the PCC. The external power grid equivalent impedance, determined by the equivalent resistance and equivalent inductance at the fundamental frequency of the PCC, has a nominal value, in units of . The conversion uses the series resistance-inductance parameters determined in step S400 to form the fundamental frequency impedance, without re-performing the target frequency phasor extraction or impedance identification.
[0085] Step S530: Convert the nominal value of the external power grid equivalent impedance at the PCC fundamental frequency to the per-unit impedance; Indicates the first The per-unit value of the equivalent impedance of the power grid at each effective impedance output moment is:
[0086] In the formula, This is the dimensionless per-unit value of the equivalent impedance of the power grid; The nominal value of the equivalent impedance of the external power grid at the fundamental frequency of the PCC obtained in step S520; The impedance reference determined in step S510 is used; through conversion, the equivalent impedance of the power grid used for short-circuit ratio calculation adopts the same per-unit reference as the system voltage reference and capacity reference.
[0087] Step S540: Determine the PCC short-circuit ratio based on the reciprocal of the per-unit value of the equivalent impedance of the power grid; Indicates the first The short-circuit ratio corresponding to the effective impedance output moment is then:
[0088] In the formula, For the first The PCC short-circuit ratio at each effective impedance output moment is a dimensionless quantity. The corresponding per-unit value of the equivalent impedance of the power grid is used. After the system voltage reference and capacity reference are determined, the short-circuit ratio is obtained by taking the reciprocal of the equivalent impedance of the external power grid at the fundamental frequency of the PCC after standardization. The real-time short-circuit capacity of the external power grid is not used as the direct measurement input for this step.
[0089] Step S550: The short-circuit ratio calculation is correlated with the preset start-stop time window of the single-frequency disturbance; Step S100: The single-frequency disturbance is injected within the preset start-stop time window and the PCC response is collected; Steps S200 to S400: The target frequency phasor parameters, the filtered phasor parameters, and the identification values of the equivalent resistance and equivalent inductance of the external power grid are formed sequentially based on the response; Step S500: The effective equivalent parameters formed by the active identification link are used to perform the reference conversion and short-circuit ratio calculation of Steps S510 to S540; Outside the preset start-stop time window, the single-frequency disturbance used for this identification is not applied to the grid-connected converter due to the execution of Step S500.
[0090] Step S560: Output the PCC short-circuit ratio corresponding to the current effective impedance result; when a new effective equivalent resistance identification value and equivalent inductance identification value are formed in step S400, update the corresponding fundamental equivalent impedance nominal value, per-unit impedance and short-circuit ratio according to the same PCC fundamental frequency, system voltage reference, capacity reference and impedance reference, so that the short-circuit ratio at different effective impedance output times adopts the same frequency reference and per-unit reference.
[0091] With the above settings, the equivalent resistance and equivalent inductance identified in step S400 at the target disturbance frequency are first used to determine the nominal value of the external power grid equivalent impedance at the PCC fundamental frequency, and then the impedance is converted into the per-unit impedance under the unified system reference. The PCC short-circuit ratio is obtained from the reciprocal of the per-unit impedance. Thus, the impedance frequency reference used for short-circuit ratio calculation corresponds to the PCC fundamental frequency, avoiding the direct use of the impedance magnitude at non-fundamental target disturbance frequency as the denominator for short-circuit ratio calculation.
[0092] As a further simulation example, it can be built based on MATLAB / Simulink. Figure 5 The new energy grid-connected system shown includes, in sequence, a grid-connected inverter, a PCC, a box-type transformer, a 35kV collector line, a main transformer, a 220kV transmission line, and an upstream power grid. In this embodiment, the system's base capacity Sb = 2.5MVA is taken. Under the condition of known equivalent parameters of the line and transformer, the reference short-circuit ratio is obtained, and the active short-circuit ratio identification program is started at t = 0.5s to verify the online identification process from steps S100 to S500.
[0093] To compare the identification stability before and after Kalman filtering, two processing methods are set up: the first method directly uses the target frequency voltage and current phasors extracted by the sliding discrete Fourier transform to calculate the equivalent impedance and short-circuit ratio; the second method embeds Kalman filtering after the output of the sliding discrete Fourier transform according to step S300, and then executes steps S400 and S500.
[0094] like Figure 6 As shown, when only the sliding discrete Fourier transform is used, after the active disturbance is started at 0.5s, the short-circuit ratio estimate can converge to the vicinity of the reference value after a short transition. However, there are still obvious periodic ripples and local spikes in the steady state stage, indicating that the phasor fluctuations formed by the finite sliding window, background harmonics and measurement noise will be further transmitted to the short-circuit ratio identification result through the calculation of the impedance ratio and the reciprocal of the per-unit impedance.
[0095] like Figure 7 As shown, under the same start-up time and active disturbance conditions, the short-circuit ratio estimate after embedding Kalman filtering can also converge quickly to near the reference value, and the steady-state fluctuation amplitude is reduced and local spikes are suppressed. This shows that the prediction-correction recursion in step S300 can reduce the influence of abnormal phasor measurements on the final SCR result before entering the impedance calculation, while basically maintaining the dynamic response speed of active identification.
[0096] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of the application as defined herein, and are to be considered as covering any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from its scope. Thus, if such modifications and modifications fall within the scope of this application and its equivalents, this application intends to include such modifications and modifications.
Claims
1. An active short-circuit ratio identification method embedded with Kalman filtering, characterized in that, include: Under the preset disturbance amplitude constraint, a single-frequency disturbance with a target frequency is injected through the control link of the grid-connected converter. The target frequency does not coincide with the fundamental frequency and background harmonic frequency at the grid connection point PCC. The local voltage and current generated by the PCC in response to the single-frequency disturbance are collected. The voltage and current are recursively processed using sliding discrete Fourier transform to extract the voltage phasor parameters and current phasor parameters at the target frequency. A state-space model of the target frequency phasor parameters is constructed, wherein the state vector of the Kalman filter includes state dimensions corresponding to the voltage phasor parameters and the current phasor parameters. The measurement input of the Kalman filter consists of the voltage phasor parameters and the current phasor parameters extracted by the sliding discrete Fourier transform. Based on the state-space model, the prediction correction recursion of the Kalman filter is performed to obtain the filtered voltage phasor parameters and the current phasor parameters. Based on the filtered voltage phasor parameters and current phasor parameters, the corresponding voltage phasor and current phasor are reconstructed, and the equivalent impedance of the PCC external power grid is calculated based on the phasor relationship between the voltage phasor and current phasor. The impedance reference is determined based on the system voltage reference and capacity reference. The equivalent resistance and equivalent inductance of the external power grid of the PCC are determined according to the equivalent impedance. The equivalent impedance of the external power grid is determined based on the equivalent resistance, the equivalent inductance and the fundamental frequency of the PCC. The equivalent impedance of the external power grid is converted into per-unit impedance. The short-circuit ratio of the PCC is determined according to the reciprocal of the per-unit impedance.
2. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 1, characterized in that, The voltage phasor parameters include voltage phasor amplitude and voltage phase angle, and the current phasor parameters include current phasor amplitude and current phase angle.
3. The active short-circuit ratio identification method with embedded Kalman filtering according to claim 2, characterized in that, The injection of a single-frequency disturbance with a target frequency through the control link of the grid-connected converter under a preset disturbance amplitude constraint includes: The disturbance current component at the target frequency is obtained, the disturbance current component is compared with a given disturbance reference value, and the deviation between the two is input to a PI controller for adjustment to generate a disturbance amplitude command. The single-frequency disturbance is formed according to the disturbance amplitude command.
4. The active short-circuit ratio identification method with embedded Kalman filtering according to claim 3, characterized in that, Before obtaining the disturbance current component at the target frequency, the voltage phase angle of the PCC is obtained through a phase-locked loop, and the current is transformed according to the voltage phase angle.
5. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 4, characterized in that, The single-frequency disturbance is formed according to the disturbance amplitude command, including: The disturbance amplitude command is multiplied by the three-phase sinusoidal basis function to form a three-phase symmetrical disturbance voltage signal, and the three-phase symmetrical disturbance voltage signal is superimposed with the fundamental modulation signal and applied to the modulation stage of the grid-connected converter.
6. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 1, characterized in that, The single-frequency disturbance is superimposed on the current reference side of the grid-connected converter.
7. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 2, characterized in that, The recursive processing of the voltage and current using the sliding discrete Fourier transform includes: For the respective sampling sequences of voltage and current, based on a sliding window containing a preset number of sampling points, when a new sampling value is obtained, the target frequency spectrum value at the previous sampling moment is recursively updated according to the difference between the new sampling value and the earliest sampling value that was moved out of the sliding window and the rotation factor corresponding to the target frequency, and the voltage phasor parameter and the current phasor parameter are determined according to the updated target frequency spectrum value.
8. The active short-circuit ratio identification method with embedded Kalman filtering according to claim 1, characterized in that, The state-space model includes a state transition matrix and a measurement matrix, both of which are identity matrices.
9. The active short-circuit ratio identification method with embedded Kalman filtering according to claim 8, characterized in that, The state-space model also includes process noise and measurement noise, both of which are Gaussian noise with zero mean, and each has a process noise covariance matrix and a measurement noise covariance matrix, respectively.
10. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 9, characterized in that, The Kalman filter prediction correction recursion includes: Based on the state estimate and covariance estimate of the previous sampling time, obtain the state prediction and covariance prediction of the current sampling time; The Kalman gain is determined based on the predicted covariance value and the measurement noise covariance matrix. Based on the Kalman gain and the residual between the current measurement input corresponding to the sliding discrete Fourier transform and the state prediction value, the state prediction value is corrected to obtain the state estimate value at the current sampling time, and the covariance prediction value is updated to obtain the covariance estimate value at the current sampling time.
11. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 1, characterized in that, Based on the filtered voltage phasor parameters and current phasor parameters, the corresponding voltage phasor and current phasor are reconstructed, and based on the phasor ratio of the voltage phasor and current phasor and the target frequency, the equivalent resistance and equivalent inductance of the external power grid of the PCC are determined.
12. The active short-circuit ratio identification method embedded with Kalman filtering according to claim 1, characterized in that, The single-frequency disturbance is injected within a preset start / stop time window.
